File: types.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.24.1-2~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 554,032 kB
  • sloc: java: 15,941; makefile: 419; sh: 175
file content (393 lines) | stat: -rw-r--r-- 10,762 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

import (
	smithydocument "github.com/aws/smithy-go/document"
	"time"
)

// The details of an AppInstance , an instance of an Amazon Chime SDK messaging
// application.
type AppInstance struct {

	// The ARN of the messaging instance.
	AppInstanceArn *string

	// The time at which an AppInstance was created. In epoch milliseconds.
	CreatedTimestamp *time.Time

	// The time an AppInstance was last updated. In epoch milliseconds.
	LastUpdatedTimestamp *time.Time

	// The metadata of an AppInstance .
	Metadata *string

	// The name of an AppInstance .
	Name *string

	noSmithyDocumentSerde
}

// The name and ARN of the admin for the AppInstance .
type AppInstanceAdmin struct {

	// The AppInstanceAdmin data.
	Admin *Identity

	// The ARN of the AppInstance for which the user is an administrator.
	AppInstanceArn *string

	// The time at which an administrator was created.
	CreatedTimestamp *time.Time

	noSmithyDocumentSerde
}

// Summary of the details of an AppInstanceAdmin .
type AppInstanceAdminSummary struct {

	// The details of the AppInstanceAdmin .
	Admin *Identity

	noSmithyDocumentSerde
}

// An Amazon Lex V2 chat bot created under an AppInstance .
type AppInstanceBot struct {

	// The ARN of the AppInstanceBot.
	AppInstanceBotArn *string

	// The data processing instructions for an AppInstanceBot.
	Configuration *Configuration

	// The time at which the AppInstanceBot was created.
	CreatedTimestamp *time.Time

	// The time at which the AppInstanceBot was last updated.
	LastUpdatedTimestamp *time.Time

	// The metadata for an AppInstanceBot.
	Metadata *string

	// The name of the AppInstanceBot.
	Name *string

	noSmithyDocumentSerde
}

// High-level information about an AppInstanceBot.
type AppInstanceBotSummary struct {

	// The ARN of the AppInstanceBot.
	AppInstanceBotArn *string

	// The metadata of the AppInstanceBot.
	Metadata *string

	// The name of the AppInstanceBox.
	Name *string

	noSmithyDocumentSerde
}

// The details of the data-retention settings for an AppInstance .
type AppInstanceRetentionSettings struct {

	// The length of time in days to retain the messages in a channel.
	ChannelRetentionSettings *ChannelRetentionSettings

	noSmithyDocumentSerde
}

// Summary of the data for an AppInstance .
type AppInstanceSummary struct {

	// The AppInstance ARN.
	AppInstanceArn *string

	// The metadata of the AppInstance .
	Metadata *string

	// The name of the AppInstance .
	Name *string

	noSmithyDocumentSerde
}

// The details of an AppInstanceUser .
type AppInstanceUser struct {

	// The ARN of the AppInstanceUser .
	AppInstanceUserArn *string

	// The time at which the AppInstanceUser was created.
	CreatedTimestamp *time.Time

	// The interval after which an AppInstanceUser is automatically deleted.
	ExpirationSettings *ExpirationSettings

	// The time at which the AppInstanceUser was last updated.
	LastUpdatedTimestamp *time.Time

	// The metadata of the AppInstanceUser .
	Metadata *string

	// The name of the AppInstanceUser .
	Name *string

	noSmithyDocumentSerde
}

// An endpoint under an Amazon Chime AppInstanceUser that receives messages for a
// user. For push notifications, the endpoint is a mobile device used to receive
// mobile push notifications for a user.
type AppInstanceUserEndpoint struct {

	// Boolean that controls whether the AppInstanceUserEndpoint is opted in to
	// receive messages. ALL indicates the endpoint will receive all messages. NONE
	// indicates the endpoint will receive no messages.
	AllowMessages AllowMessages

	// The ARN of the AppInstanceUser .
	AppInstanceUserArn *string

	// The time at which an AppInstanceUserEndpoint was created.
	CreatedTimestamp *time.Time

	// The attributes of an Endpoint .
	EndpointAttributes *EndpointAttributes

	// The unique identifier of the AppInstanceUserEndpoint .
	EndpointId *string

	// A read-only field that represents the state of an AppInstanceUserEndpoint .
	// Supported values:
	//   - ACTIVE : The AppInstanceUserEndpoint is active and able to receive messages.
	//   When ACTIVE , the EndpointStatusReason remains empty.
	//   - INACTIVE : The AppInstanceUserEndpoint is inactive and can't receive
	//   message. When INACTIVE , the corresponding reason will be conveyed through
	//   EndpointStatusReason .
	//   - INVALID_DEVICE_TOKEN indicates that an AppInstanceUserEndpoint is INACTIVE
	//   due to invalid device token
	//   - INVALID_PINPOINT_ARN indicates that an AppInstanceUserEndpoint is INACTIVE
	//   due to an invalid pinpoint ARN that was input through the ResourceArn field.
	EndpointState *EndpointState

	// The time at which an AppInstanceUserEndpoint was last updated.
	LastUpdatedTimestamp *time.Time

	// The name of the AppInstanceUserEndpoint .
	Name *string

	// The ARN of the resource to which the endpoint belongs.
	ResourceArn *string

	// The type of the AppInstanceUserEndpoint .
	Type AppInstanceUserEndpointType

	noSmithyDocumentSerde
}

// Summary of the details of an AppInstanceUserEndpoint .
type AppInstanceUserEndpointSummary struct {

	// BBoolean that controls whether the AppInstanceUserEndpoint is opted in to
	// receive messages. ALL indicates the endpoint will receive all messages. NONE
	// indicates the endpoint will receive no messages.
	AllowMessages AllowMessages

	// The ARN of the AppInstanceUser .
	AppInstanceUserArn *string

	// The unique identifier of the AppInstanceUserEndpoint .
	EndpointId *string

	// A read-only field that represent the state of an AppInstanceUserEndpoint .
	EndpointState *EndpointState

	// The name of the AppInstanceUserEndpoint .
	Name *string

	// The type of the AppInstanceUserEndpoint .
	Type AppInstanceUserEndpointType

	noSmithyDocumentSerde
}

// Summary of the details of an AppInstanceUser .
type AppInstanceUserSummary struct {

	// The ARN of the AppInstanceUser .
	AppInstanceUserArn *string

	// The metadata of the AppInstanceUser .
	Metadata *string

	// The name of an AppInstanceUser .
	Name *string

	noSmithyDocumentSerde
}

// The details of the retention settings for a channel.
type ChannelRetentionSettings struct {

	// The time in days to retain the messages in a channel.
	RetentionDays *int32

	noSmithyDocumentSerde
}

// A structure that contains configuration data.
type Configuration struct {

	// The configuration for an Amazon Lex V2 bot.
	//
	// This member is required.
	Lex *LexConfiguration

	noSmithyDocumentSerde
}

// The attributes of an Endpoint .
type EndpointAttributes struct {

	// The device token for the GCM, APNS, and APNS_SANDBOX endpoint types.
	//
	// This member is required.
	DeviceToken *string

	// The VOIP device token for the APNS and APNS_SANDBOX endpoint types.
	VoipDeviceToken *string

	noSmithyDocumentSerde
}

// A read-only field that represents the state of an AppInstanceUserEndpoint .
// Supported values:
//   - ACTIVE : The AppInstanceUserEndpoint is active and able to receive messages.
//     When ACTIVE , the EndpointStatusReason remains empty.
//   - INACTIVE : The AppInstanceUserEndpoint is inactive and can't receive
//     message. When INACTIVE, the corresponding reason will be conveyed through
//     EndpointStatusReason.
//   - INVALID_DEVICE_TOKEN indicates that an AppInstanceUserEndpoint is INACTIVE
//     due to invalid device token
//   - INVALID_PINPOINT_ARN indicates that an AppInstanceUserEndpoint is INACTIVE
//     due to an invalid pinpoint ARN that was input through the ResourceArn field.
type EndpointState struct {

	// Enum that indicates the Status of an AppInstanceUserEndpoint .
	//
	// This member is required.
	Status EndpointStatus

	// The reason for the EndpointStatus .
	StatusReason EndpointStatusReason

	noSmithyDocumentSerde
}

// Determines the interval after which an AppInstanceUser is automatically deleted.
type ExpirationSettings struct {

	// Specifies the conditions under which an AppInstanceUser will expire.
	//
	// This member is required.
	ExpirationCriterion ExpirationCriterion

	// The period in days after which an AppInstanceUser will be automatically deleted.
	//
	// This member is required.
	ExpirationDays *int32

	noSmithyDocumentSerde
}

// The details of a user or bot.
type Identity struct {

	// The ARN in an Identity.
	Arn *string

	// The name in an Identity.
	Name *string

	noSmithyDocumentSerde
}

// Specifies the type of message that triggers a bot.
type InvokedBy struct {

	// Sets standard messages as the bot trigger. For standard messages:
	//   - ALL : The bot processes all standard messages.
	//   - AUTO : The bot responds to ALL messages when the channel has one other
	//   non-hidden member, and responds to MENTIONS when the channel has more than one
	//   other non-hidden member.
	//   - MENTIONS : The bot processes all standard messages that have a message
	//   attribute with CHIME.mentions and a value of the bot ARN.
	//   - NONE : The bot processes no standard messages.
	//
	// This member is required.
	StandardMessages StandardMessages

	// Sets targeted messages as the bot trigger. For targeted messages:
	//   - ALL : The bot processes all TargetedMessages sent to it. The bot then
	//   responds with a targeted message back to the sender.
	//   - NONE : The bot processes no targeted messages.
	//
	// This member is required.
	TargetedMessages TargetedMessages

	noSmithyDocumentSerde
}

// The configuration for an Amazon Lex V2 bot.
type LexConfiguration struct {

	// The ARN of the Amazon Lex V2 bot's alias. The ARN uses this format:
	// arn:aws:lex:REGION:ACCOUNT:bot-alias/MYBOTID/MYBOTALIAS
	//
	// This member is required.
	LexBotAliasArn *string

	// Identifies the Amazon Lex V2 bot's language and locale. The string must match
	// one of the supported locales in Amazon Lex V2. All of the intents, slot types,
	// and slots used in the bot must have the same locale. For more information, see
	// Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html)
	// in the Amazon Lex V2 Developer Guide.
	//
	// This member is required.
	LocaleId *string

	// Specifies the type of message that triggers a bot.
	InvokedBy *InvokedBy

	// Deprecated. Use InvokedBy instead. Determines whether the Amazon Lex V2 bot
	// responds to all standard messages. Control messages are not supported.
	RespondsTo RespondsTo

	// The name of the welcome intent configured in the Amazon Lex V2 bot.
	WelcomeIntent *string

	noSmithyDocumentSerde
}

// A tag object containing a key-value pair.
type Tag struct {

	// The key in a tag.
	//
	// This member is required.
	Key *string

	// The value in a tag.
	//
	// This member is required.
	Value *string

	noSmithyDocumentSerde
}

type noSmithyDocumentSerde = smithydocument.NoSerde