aws-sdk 2.1008.0 → 2.1012.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/CHANGELOG.md +21 -1
  2. package/README.md +1 -1
  3. package/apis/appflow-2020-08-23.min.json +43 -37
  4. package/apis/chime-sdk-messaging-2021-05-15.min.json +601 -88
  5. package/apis/chime-sdk-messaging-2021-05-15.paginators.json +10 -0
  6. package/apis/dataexchange-2017-07-25.min.json +65 -13
  7. package/apis/directconnect-2012-10-25.min.json +119 -35
  8. package/apis/glue-2017-03-31.min.json +341 -339
  9. package/apis/ivs-2020-07-14.min.json +127 -100
  10. package/apis/ivs-2020-07-14.paginators.json +4 -14
  11. package/apis/mediaconvert-2017-08-29.min.json +137 -134
  12. package/apis/mediapackage-2017-10-12.min.json +4 -0
  13. package/apis/mediapackage-vod-2018-11-07.min.json +4 -0
  14. package/apis/metadata.json +3 -0
  15. package/apis/panorama-2019-07-24.examples.json +5 -0
  16. package/apis/panorama-2019-07-24.min.json +1622 -0
  17. package/apis/panorama-2019-07-24.paginators.json +49 -0
  18. package/apis/quicksight-2018-04-01.min.json +237 -159
  19. package/apis/securityhub-2018-10-26.min.json +282 -137
  20. package/apis/securityhub-2018-10-26.paginators.json +6 -0
  21. package/clients/all.d.ts +1 -0
  22. package/clients/all.js +2 -1
  23. package/clients/appflow.d.ts +8 -0
  24. package/clients/chimesdkmessaging.d.ts +475 -2
  25. package/clients/dataexchange.d.ts +110 -20
  26. package/clients/directconnect.d.ts +186 -49
  27. package/clients/efs.d.ts +10 -10
  28. package/clients/glue.d.ts +11 -2
  29. package/clients/ivs.d.ts +158 -133
  30. package/clients/mediaconvert.d.ts +57 -58
  31. package/clients/mediapackage.d.ts +4 -0
  32. package/clients/mediapackagevod.d.ts +4 -0
  33. package/clients/panorama.d.ts +1926 -0
  34. package/clients/panorama.js +18 -0
  35. package/clients/quicksight.d.ts +158 -75
  36. package/clients/securityhub.d.ts +161 -2
  37. package/dist/aws-sdk-core-react-native.js +2 -2
  38. package/dist/aws-sdk-react-native.js +55 -18
  39. package/dist/aws-sdk.js +125 -38
  40. package/dist/aws-sdk.min.js +68 -68
  41. package/lib/config_service_placeholders.d.ts +2 -0
  42. package/lib/core.js +1 -1
  43. package/package.json +1 -1
@@ -11,6 +11,14 @@ declare class ChimeSDKMessaging extends Service {
11
11
  */
12
12
  constructor(options?: ChimeSDKMessaging.Types.ClientConfiguration)
13
13
  config: Config & ChimeSDKMessaging.Types.ClientConfiguration;
14
+ /**
15
+ * Associates a channel flow with a channel. Once associated, all messages to that channel go through channel flow processors. To stop processing, use the DisassociateChannelFlow API. Only administrators or channel moderators can associate a channel flow. The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.
16
+ */
17
+ associateChannelFlow(params: ChimeSDKMessaging.Types.AssociateChannelFlowRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
18
+ /**
19
+ * Associates a channel flow with a channel. Once associated, all messages to that channel go through channel flow processors. To stop processing, use the DisassociateChannelFlow API. Only administrators or channel moderators can associate a channel flow. The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.
20
+ */
21
+ associateChannelFlow(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
14
22
  /**
15
23
  * Adds a specified number of users to a channel.
16
24
  */
@@ -19,6 +27,14 @@ declare class ChimeSDKMessaging extends Service {
19
27
  * Adds a specified number of users to a channel.
20
28
  */
21
29
  batchCreateChannelMembership(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.BatchCreateChannelMembershipResponse) => void): Request<ChimeSDKMessaging.Types.BatchCreateChannelMembershipResponse, AWSError>;
30
+ /**
31
+ * Calls back Chime SDK Messaging with a processing response message. This should be invoked from the processor Lambda. This is a developer API. You can return one of the following processing responses: Update message content or metadata Deny a message Make no changes to the message
32
+ */
33
+ channelFlowCallback(params: ChimeSDKMessaging.Types.ChannelFlowCallbackRequest, callback?: (err: AWSError, data: ChimeSDKMessaging.Types.ChannelFlowCallbackResponse) => void): Request<ChimeSDKMessaging.Types.ChannelFlowCallbackResponse, AWSError>;
34
+ /**
35
+ * Calls back Chime SDK Messaging with a processing response message. This should be invoked from the processor Lambda. This is a developer API. You can return one of the following processing responses: Update message content or metadata Deny a message Make no changes to the message
36
+ */
37
+ channelFlowCallback(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.ChannelFlowCallbackResponse) => void): Request<ChimeSDKMessaging.Types.ChannelFlowCallbackResponse, AWSError>;
22
38
  /**
23
39
  * Creates a channel to which you can add users and send messages. Restriction: You can't change a channel's privacy. The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.
24
40
  */
@@ -35,6 +51,14 @@ declare class ChimeSDKMessaging extends Service {
35
51
  * Permanently bans a member from a channel. Moderators can't add banned members to a channel. To undo a ban, you first have to DeleteChannelBan, and then CreateChannelMembership. Bans are cleaned up when you delete users or channels. If you ban a user who is already part of a channel, that user is automatically kicked from the channel. The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.
36
52
  */
37
53
  createChannelBan(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.CreateChannelBanResponse) => void): Request<ChimeSDKMessaging.Types.CreateChannelBanResponse, AWSError>;
54
+ /**
55
+ * Creates a channel flow, a container for processors. Processors are AWS Lambda functions that perform actions on chat messages, such as stripping out profanity. You can associate channel flows with channels, and the processors in the channel flow then take action on all messages sent to that channel. This is a developer API. Channel flows process the following items: New and updated messages Persistent and non-persistent messages The Standard message type Channel flows don't process Control or System messages. For more information about the message types provided by Chime SDK Messaging, refer to Message types in the Amazon Chime developer guide.
56
+ */
57
+ createChannelFlow(params: ChimeSDKMessaging.Types.CreateChannelFlowRequest, callback?: (err: AWSError, data: ChimeSDKMessaging.Types.CreateChannelFlowResponse) => void): Request<ChimeSDKMessaging.Types.CreateChannelFlowResponse, AWSError>;
58
+ /**
59
+ * Creates a channel flow, a container for processors. Processors are AWS Lambda functions that perform actions on chat messages, such as stripping out profanity. You can associate channel flows with channels, and the processors in the channel flow then take action on all messages sent to that channel. This is a developer API. Channel flows process the following items: New and updated messages Persistent and non-persistent messages The Standard message type Channel flows don't process Control or System messages. For more information about the message types provided by Chime SDK Messaging, refer to Message types in the Amazon Chime developer guide.
60
+ */
61
+ createChannelFlow(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.CreateChannelFlowResponse) => void): Request<ChimeSDKMessaging.Types.CreateChannelFlowResponse, AWSError>;
38
62
  /**
39
63
  * Adds a user to a channel. The InvitedBy response field is derived from the request header. A channel member can: List messages Send messages Receive messages Edit their own messages Leave the channel Privacy settings impact this action as follows: Public Channels: You do not need to be a member to list messages, but you must be a member to send messages. Private Channels: You must be a member to list or send messages. The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.
40
64
  */
@@ -67,6 +91,14 @@ declare class ChimeSDKMessaging extends Service {
67
91
  * Removes a user from a channel's ban list. The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.
68
92
  */
69
93
  deleteChannelBan(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
94
+ /**
95
+ * Deletes a channel flow, an irreversible process. This is a developer API. This API works only when the channel flow is not associated with any channel. To get a list of all channels that a channel flow is associated with, use the ListChannelsAssociatedWithChannelFlow API. Use the DisassociateChannelFlow API to disassociate a channel flow from all channels.
96
+ */
97
+ deleteChannelFlow(params: ChimeSDKMessaging.Types.DeleteChannelFlowRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
98
+ /**
99
+ * Deletes a channel flow, an irreversible process. This is a developer API. This API works only when the channel flow is not associated with any channel. To get a list of all channels that a channel flow is associated with, use the ListChannelsAssociatedWithChannelFlow API. Use the DisassociateChannelFlow API to disassociate a channel flow from all channels.
100
+ */
101
+ deleteChannelFlow(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
70
102
  /**
71
103
  * Removes a member from a channel. The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.
72
104
  */
@@ -107,6 +139,14 @@ declare class ChimeSDKMessaging extends Service {
107
139
  * Returns the full details of a channel ban. The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.
108
140
  */
109
141
  describeChannelBan(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.DescribeChannelBanResponse) => void): Request<ChimeSDKMessaging.Types.DescribeChannelBanResponse, AWSError>;
142
+ /**
143
+ * Returns the full details of a channel flow in an Amazon Chime AppInstance. This is a developer API.
144
+ */
145
+ describeChannelFlow(params: ChimeSDKMessaging.Types.DescribeChannelFlowRequest, callback?: (err: AWSError, data: ChimeSDKMessaging.Types.DescribeChannelFlowResponse) => void): Request<ChimeSDKMessaging.Types.DescribeChannelFlowResponse, AWSError>;
146
+ /**
147
+ * Returns the full details of a channel flow in an Amazon Chime AppInstance. This is a developer API.
148
+ */
149
+ describeChannelFlow(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.DescribeChannelFlowResponse) => void): Request<ChimeSDKMessaging.Types.DescribeChannelFlowResponse, AWSError>;
110
150
  /**
111
151
  * Returns the full details of a user's channel membership. The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.
112
152
  */
@@ -139,6 +179,14 @@ declare class ChimeSDKMessaging extends Service {
139
179
  * Returns the full details of a single ChannelModerator. The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.
140
180
  */
141
181
  describeChannelModerator(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.DescribeChannelModeratorResponse) => void): Request<ChimeSDKMessaging.Types.DescribeChannelModeratorResponse, AWSError>;
182
+ /**
183
+ * Disassociates a channel flow from all its channels. Once disassociated, all messages to that channel stop going through the channel flow processor. Only administrators or channel moderators can disassociate a channel flow. The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.
184
+ */
185
+ disassociateChannelFlow(params: ChimeSDKMessaging.Types.DisassociateChannelFlowRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
186
+ /**
187
+ * Disassociates a channel flow from all its channels. Once disassociated, all messages to that channel stop going through the channel flow processor. Only administrators or channel moderators can disassociate a channel flow. The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.
188
+ */
189
+ disassociateChannelFlow(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
142
190
  /**
143
191
  * Gets the full details of a channel message. The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.
144
192
  */
@@ -147,6 +195,14 @@ declare class ChimeSDKMessaging extends Service {
147
195
  * Gets the full details of a channel message. The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.
148
196
  */
149
197
  getChannelMessage(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.GetChannelMessageResponse) => void): Request<ChimeSDKMessaging.Types.GetChannelMessageResponse, AWSError>;
198
+ /**
199
+ * Gets message status for a specified messageId. Use this API to determine the intermediate status of messages going through channel flow processing. The API provides an alternative to retrieving message status if the event was not received because a client wasn't connected to a websocket. Messages can have any one of these statuses. SENT Message processed successfully PENDING Ongoing processing FAILED Processing failed DENIED Messasge denied by the processor This API does not return statuses for denied messages, because we don't store them once the processor denies them. Only the message sender can invoke this API. The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header
200
+ */
201
+ getChannelMessageStatus(params: ChimeSDKMessaging.Types.GetChannelMessageStatusRequest, callback?: (err: AWSError, data: ChimeSDKMessaging.Types.GetChannelMessageStatusResponse) => void): Request<ChimeSDKMessaging.Types.GetChannelMessageStatusResponse, AWSError>;
202
+ /**
203
+ * Gets message status for a specified messageId. Use this API to determine the intermediate status of messages going through channel flow processing. The API provides an alternative to retrieving message status if the event was not received because a client wasn't connected to a websocket. Messages can have any one of these statuses. SENT Message processed successfully PENDING Ongoing processing FAILED Processing failed DENIED Messasge denied by the processor This API does not return statuses for denied messages, because we don't store them once the processor denies them. Only the message sender can invoke this API. The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header
204
+ */
205
+ getChannelMessageStatus(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.GetChannelMessageStatusResponse) => void): Request<ChimeSDKMessaging.Types.GetChannelMessageStatusResponse, AWSError>;
150
206
  /**
151
207
  * The details of the endpoint for the messaging session.
152
208
  */
@@ -163,6 +219,14 @@ declare class ChimeSDKMessaging extends Service {
163
219
  * Lists all the users banned from a particular channel. The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.
164
220
  */
165
221
  listChannelBans(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.ListChannelBansResponse) => void): Request<ChimeSDKMessaging.Types.ListChannelBansResponse, AWSError>;
222
+ /**
223
+ * Returns a paginated lists of all the channel flows created under a single Chime. This is a developer API.
224
+ */
225
+ listChannelFlows(params: ChimeSDKMessaging.Types.ListChannelFlowsRequest, callback?: (err: AWSError, data: ChimeSDKMessaging.Types.ListChannelFlowsResponse) => void): Request<ChimeSDKMessaging.Types.ListChannelFlowsResponse, AWSError>;
226
+ /**
227
+ * Returns a paginated lists of all the channel flows created under a single Chime. This is a developer API.
228
+ */
229
+ listChannelFlows(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.ListChannelFlowsResponse) => void): Request<ChimeSDKMessaging.Types.ListChannelFlowsResponse, AWSError>;
166
230
  /**
167
231
  * Lists all channel memberships in a channel. The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.
168
232
  */
@@ -203,6 +267,14 @@ declare class ChimeSDKMessaging extends Service {
203
267
  * Lists all Channels created under a single Chime App as a paginated list. You can specify filters to narrow results. Functionality &amp; restrictions Use privacy = PUBLIC to retrieve all public channels in the account. Only an AppInstanceAdmin can set privacy = PRIVATE to list the private channels in an account. The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.
204
268
  */
205
269
  listChannels(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.ListChannelsResponse) => void): Request<ChimeSDKMessaging.Types.ListChannelsResponse, AWSError>;
270
+ /**
271
+ * Lists all channels associated with a specified channel flow. You can associate a channel flow with multiple channels, but you can only associate a channel with one channel flow. This is a developer API.
272
+ */
273
+ listChannelsAssociatedWithChannelFlow(params: ChimeSDKMessaging.Types.ListChannelsAssociatedWithChannelFlowRequest, callback?: (err: AWSError, data: ChimeSDKMessaging.Types.ListChannelsAssociatedWithChannelFlowResponse) => void): Request<ChimeSDKMessaging.Types.ListChannelsAssociatedWithChannelFlowResponse, AWSError>;
274
+ /**
275
+ * Lists all channels associated with a specified channel flow. You can associate a channel flow with multiple channels, but you can only associate a channel with one channel flow. This is a developer API.
276
+ */
277
+ listChannelsAssociatedWithChannelFlow(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.ListChannelsAssociatedWithChannelFlowResponse) => void): Request<ChimeSDKMessaging.Types.ListChannelsAssociatedWithChannelFlowResponse, AWSError>;
206
278
  /**
207
279
  * A list of the channels moderated by an AppInstanceUser. The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.
208
280
  */
@@ -211,6 +283,14 @@ declare class ChimeSDKMessaging extends Service {
211
283
  * A list of the channels moderated by an AppInstanceUser. The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.
212
284
  */
213
285
  listChannelsModeratedByAppInstanceUser(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.ListChannelsModeratedByAppInstanceUserResponse) => void): Request<ChimeSDKMessaging.Types.ListChannelsModeratedByAppInstanceUserResponse, AWSError>;
286
+ /**
287
+ * Lists the tags applied to an Amazon Chime SDK messaging resource.
288
+ */
289
+ listTagsForResource(params: ChimeSDKMessaging.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: ChimeSDKMessaging.Types.ListTagsForResourceResponse) => void): Request<ChimeSDKMessaging.Types.ListTagsForResourceResponse, AWSError>;
290
+ /**
291
+ * Lists the tags applied to an Amazon Chime SDK messaging resource.
292
+ */
293
+ listTagsForResource(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.ListTagsForResourceResponse) => void): Request<ChimeSDKMessaging.Types.ListTagsForResourceResponse, AWSError>;
214
294
  /**
215
295
  * Redacts message content, but not metadata. The message exists in the back end, but the action returns null content, and the state shows as redacted. The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.
216
296
  */
@@ -227,6 +307,22 @@ declare class ChimeSDKMessaging extends Service {
227
307
  * Sends a message to a particular channel that the member is a part of. The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header. Also, STANDARD messages can contain 4KB of data and the 1KB of metadata. CONTROL messages can contain 30 bytes of data and no metadata.
228
308
  */
229
309
  sendChannelMessage(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.SendChannelMessageResponse) => void): Request<ChimeSDKMessaging.Types.SendChannelMessageResponse, AWSError>;
310
+ /**
311
+ * Applies the specified tags to the specified Amazon Chime SDK messaging resource.
312
+ */
313
+ tagResource(params: ChimeSDKMessaging.Types.TagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
314
+ /**
315
+ * Applies the specified tags to the specified Amazon Chime SDK messaging resource.
316
+ */
317
+ tagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
318
+ /**
319
+ * Removes the specified tags from the specified Amazon Chime SDK messaging resource.
320
+ */
321
+ untagResource(params: ChimeSDKMessaging.Types.UntagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
322
+ /**
323
+ * Removes the specified tags from the specified Amazon Chime SDK messaging resource.
324
+ */
325
+ untagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
230
326
  /**
231
327
  * Update a channel's attributes. Restriction: You can't change a channel's privacy. The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.
232
328
  */
@@ -235,6 +331,14 @@ declare class ChimeSDKMessaging extends Service {
235
331
  * Update a channel's attributes. Restriction: You can't change a channel's privacy. The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.
236
332
  */
237
333
  updateChannel(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.UpdateChannelResponse) => void): Request<ChimeSDKMessaging.Types.UpdateChannelResponse, AWSError>;
334
+ /**
335
+ * Updates channel flow attributes. This is a developer API.
336
+ */
337
+ updateChannelFlow(params: ChimeSDKMessaging.Types.UpdateChannelFlowRequest, callback?: (err: AWSError, data: ChimeSDKMessaging.Types.UpdateChannelFlowResponse) => void): Request<ChimeSDKMessaging.Types.UpdateChannelFlowResponse, AWSError>;
338
+ /**
339
+ * Updates channel flow attributes. This is a developer API.
340
+ */
341
+ updateChannelFlow(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.UpdateChannelFlowResponse) => void): Request<ChimeSDKMessaging.Types.UpdateChannelFlowResponse, AWSError>;
238
342
  /**
239
343
  * Updates the content of a message. The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.
240
344
  */
@@ -263,6 +367,20 @@ declare namespace ChimeSDKMessaging {
263
367
  */
264
368
  ReadMarkerTimestamp?: Timestamp;
265
369
  }
370
+ export interface AssociateChannelFlowRequest {
371
+ /**
372
+ * The ARN of the channel.
373
+ */
374
+ ChannelArn: ChimeArn;
375
+ /**
376
+ * The ARN of the channel flow.
377
+ */
378
+ ChannelFlowArn: ChimeArn;
379
+ /**
380
+ * The AppInstanceUserArn of the user making the API call.
381
+ */
382
+ ChimeBearer: ChimeArn;
383
+ }
266
384
  export interface BatchChannelMemberships {
267
385
  /**
268
386
  * The identifier of the member who invited another member.
@@ -324,6 +442,7 @@ declare namespace ChimeSDKMessaging {
324
442
  */
325
443
  Errors?: BatchCreateChannelMembershipErrors;
326
444
  }
445
+ export type CallbackIdType = string;
327
446
  export interface Channel {
328
447
  /**
329
448
  * The name of a channel.
@@ -361,7 +480,34 @@ declare namespace ChimeSDKMessaging {
361
480
  * The time at which a channel was last updated.
362
481
  */
363
482
  LastUpdatedTimestamp?: Timestamp;
483
+ /**
484
+ * The ARN of the channel flow.
485
+ */
486
+ ChannelFlowArn?: ChimeArn;
487
+ }
488
+ export interface ChannelAssociatedWithFlowSummary {
489
+ /**
490
+ * The name of the channel flow.
491
+ */
492
+ Name?: NonEmptyResourceName;
493
+ /**
494
+ * The ARN of the channel.
495
+ */
496
+ ChannelArn?: ChimeArn;
497
+ /**
498
+ * The mode of the channel.
499
+ */
500
+ Mode?: ChannelMode;
501
+ /**
502
+ * The channel's privacy setting.
503
+ */
504
+ Privacy?: ChannelPrivacy;
505
+ /**
506
+ * The channel's metadata.
507
+ */
508
+ Metadata?: Metadata;
364
509
  }
510
+ export type ChannelAssociatedWithFlowSummaryList = ChannelAssociatedWithFlowSummary[];
365
511
  export interface ChannelBan {
366
512
  /**
367
513
  * The member being banned from the channel.
@@ -387,6 +533,72 @@ declare namespace ChimeSDKMessaging {
387
533
  Member?: Identity;
388
534
  }
389
535
  export type ChannelBanSummaryList = ChannelBanSummary[];
536
+ export interface ChannelFlow {
537
+ /**
538
+ * The ARN of the channel flow.
539
+ */
540
+ ChannelFlowArn?: ChimeArn;
541
+ /**
542
+ * Information about the processor Lambda functions.
543
+ */
544
+ Processors?: ProcessorList;
545
+ /**
546
+ * The name of the channel flow.
547
+ */
548
+ Name?: NonEmptyResourceName;
549
+ /**
550
+ * The time at which the channel flow was created.
551
+ */
552
+ CreatedTimestamp?: Timestamp;
553
+ /**
554
+ * The time at which a channel flow was updated.
555
+ */
556
+ LastUpdatedTimestamp?: Timestamp;
557
+ }
558
+ export interface ChannelFlowCallbackRequest {
559
+ /**
560
+ * The identifier passed to the processor by the service when invoked. Use the identifier to call back the service.
561
+ */
562
+ CallbackId: CallbackIdType;
563
+ /**
564
+ * The ARN of the channel.
565
+ */
566
+ ChannelArn: ChimeArn;
567
+ /**
568
+ * When a processor determines that a message needs to be DENIED, pass this parameter with a value of true.
569
+ */
570
+ DeleteResource?: NonNullableBoolean;
571
+ /**
572
+ * Stores information about the processed message.
573
+ */
574
+ ChannelMessage: ChannelMessageCallback;
575
+ }
576
+ export interface ChannelFlowCallbackResponse {
577
+ /**
578
+ * The ARN of the channel.
579
+ */
580
+ ChannelArn?: ChimeArn;
581
+ /**
582
+ * The call back ID passed in the request.
583
+ */
584
+ CallbackId?: CallbackIdType;
585
+ }
586
+ export type ChannelFlowExecutionOrder = number;
587
+ export interface ChannelFlowSummary {
588
+ /**
589
+ * The ARN of the channel flow.
590
+ */
591
+ ChannelFlowArn?: ChimeArn;
592
+ /**
593
+ * The name of the channel flow.
594
+ */
595
+ Name?: NonEmptyResourceName;
596
+ /**
597
+ * Information about the processor Lambda functions.
598
+ */
599
+ Processors?: ProcessorList;
600
+ }
601
+ export type ChannelFlowSummaryList = ChannelFlowSummary[];
390
602
  export interface ChannelMembership {
391
603
  /**
392
604
  * The identifier of the member who invited another member.
@@ -477,8 +689,37 @@ declare namespace ChimeSDKMessaging {
477
689
  * The persistence setting for a channel message.
478
690
  */
479
691
  Persistence?: ChannelMessagePersistenceType;
692
+ /**
693
+ * The status of the channel message.
694
+ */
695
+ Status?: ChannelMessageStatusStructure;
696
+ }
697
+ export interface ChannelMessageCallback {
698
+ /**
699
+ * The message ID.
700
+ */
701
+ MessageId: MessageId;
702
+ /**
703
+ * The message content.
704
+ */
705
+ Content?: NonEmptyContent;
706
+ /**
707
+ * The message metadata.
708
+ */
709
+ Metadata?: Metadata;
480
710
  }
481
711
  export type ChannelMessagePersistenceType = "PERSISTENT"|"NON_PERSISTENT"|string;
712
+ export type ChannelMessageStatus = "SENT"|"PENDING"|"FAILED"|"DENIED"|string;
713
+ export interface ChannelMessageStatusStructure {
714
+ /**
715
+ * The message status value.
716
+ */
717
+ Value?: ChannelMessageStatus;
718
+ /**
719
+ * Contains more details about the messasge status.
720
+ */
721
+ Detail?: StatusDetail;
722
+ }
482
723
  export interface ChannelMessageSummary {
483
724
  /**
484
725
  * The ID of the message.
@@ -516,6 +757,10 @@ declare namespace ChimeSDKMessaging {
516
757
  * Indicates whether a message was redacted.
517
758
  */
518
759
  Redacted?: NonNullableBoolean;
760
+ /**
761
+ * The message status. The status value is SENT for messages sent to a channel without a channel flow. For channels associated with channel flow, the value determines the processing stage.
762
+ */
763
+ Status?: ChannelMessageStatusStructure;
519
764
  }
520
765
  export type ChannelMessageSummaryList = ChannelMessageSummary[];
521
766
  export type ChannelMessageType = "STANDARD"|"CONTROL"|string;
@@ -607,6 +852,34 @@ declare namespace ChimeSDKMessaging {
607
852
  */
608
853
  Member?: Identity;
609
854
  }
855
+ export interface CreateChannelFlowRequest {
856
+ /**
857
+ * The ARN of the channel flow request.
858
+ */
859
+ AppInstanceArn: ChimeArn;
860
+ /**
861
+ * Information about the processor Lambda functions.
862
+ */
863
+ Processors: ProcessorList;
864
+ /**
865
+ * The name of the channel flow.
866
+ */
867
+ Name: NonEmptyResourceName;
868
+ /**
869
+ * The tags for the creation request.
870
+ */
871
+ Tags?: TagList;
872
+ /**
873
+ * The client token for the request. An Idempotency token.
874
+ */
875
+ ClientRequestToken: ClientRequestToken;
876
+ }
877
+ export interface CreateChannelFlowResponse {
878
+ /**
879
+ * The ARN of the channel flow.
880
+ */
881
+ ChannelFlowArn?: ChimeArn;
882
+ }
610
883
  export interface CreateChannelMembershipRequest {
611
884
  /**
612
885
  * The ARN of the channel to which you're adding users.
@@ -713,6 +986,12 @@ declare namespace ChimeSDKMessaging {
713
986
  */
714
987
  ChimeBearer: ChimeArn;
715
988
  }
989
+ export interface DeleteChannelFlowRequest {
990
+ /**
991
+ * The ARN of the channel flow.
992
+ */
993
+ ChannelFlowArn: ChimeArn;
994
+ }
716
995
  export interface DeleteChannelMembershipRequest {
717
996
  /**
718
997
  * The ARN of the channel from which you want to remove the user.
@@ -785,6 +1064,18 @@ declare namespace ChimeSDKMessaging {
785
1064
  */
786
1065
  ChannelBan?: ChannelBan;
787
1066
  }
1067
+ export interface DescribeChannelFlowRequest {
1068
+ /**
1069
+ * The ARN of the channel flow.
1070
+ */
1071
+ ChannelFlowArn: ChimeArn;
1072
+ }
1073
+ export interface DescribeChannelFlowResponse {
1074
+ /**
1075
+ * The channel flow details.
1076
+ */
1077
+ ChannelFlow?: ChannelFlow;
1078
+ }
788
1079
  export interface DescribeChannelMembershipForAppInstanceUserRequest {
789
1080
  /**
790
1081
  * The ARN of the channel to which the user belongs.
@@ -881,7 +1172,22 @@ declare namespace ChimeSDKMessaging {
881
1172
  */
882
1173
  Channel?: Channel;
883
1174
  }
1175
+ export interface DisassociateChannelFlowRequest {
1176
+ /**
1177
+ * The ARN of the channel.
1178
+ */
1179
+ ChannelArn: ChimeArn;
1180
+ /**
1181
+ * The ARN of the channel flow.
1182
+ */
1183
+ ChannelFlowArn: ChimeArn;
1184
+ /**
1185
+ * The AppInstanceUserArn of the user making the API call.
1186
+ */
1187
+ ChimeBearer: ChimeArn;
1188
+ }
884
1189
  export type ErrorCode = "BadRequest"|"Conflict"|"Forbidden"|"NotFound"|"PreconditionFailed"|"ResourceLimitExceeded"|"ServiceFailure"|"AccessDenied"|"ServiceUnavailable"|"Throttled"|"Throttling"|"Unauthorized"|"Unprocessable"|"VoiceConnectorGroupAssociationsExist"|"PhoneNumberAssociationsExist"|string;
1190
+ export type FallbackAction = "CONTINUE"|"ABORT"|string;
885
1191
  export interface GetChannelMessageRequest {
886
1192
  /**
887
1193
  * The ARN of the channel.
@@ -902,6 +1208,26 @@ declare namespace ChimeSDKMessaging {
902
1208
  */
903
1209
  ChannelMessage?: ChannelMessage;
904
1210
  }
1211
+ export interface GetChannelMessageStatusRequest {
1212
+ /**
1213
+ * The ARN of the channel
1214
+ */
1215
+ ChannelArn: ChimeArn;
1216
+ /**
1217
+ * The ID of the message.
1218
+ */
1219
+ MessageId: MessageId;
1220
+ /**
1221
+ * The AppInstanceUserArn of the user making the API call.
1222
+ */
1223
+ ChimeBearer: ChimeArn;
1224
+ }
1225
+ export interface GetChannelMessageStatusResponse {
1226
+ /**
1227
+ * The message status and details.
1228
+ */
1229
+ Status?: ChannelMessageStatusStructure;
1230
+ }
905
1231
  export interface GetMessagingSessionEndpointRequest {
906
1232
  }
907
1233
  export interface GetMessagingSessionEndpointResponse {
@@ -920,6 +1246,18 @@ declare namespace ChimeSDKMessaging {
920
1246
  */
921
1247
  Name?: ResourceName;
922
1248
  }
1249
+ export type InvocationType = "ASYNC"|string;
1250
+ export interface LambdaConfiguration {
1251
+ /**
1252
+ * The ARN of the Lambda message processing function.
1253
+ */
1254
+ ResourceArn: LambdaFunctionArn;
1255
+ /**
1256
+ * Controls how the Lambda function is invoked.
1257
+ */
1258
+ InvocationType: InvocationType;
1259
+ }
1260
+ export type LambdaFunctionArn = string;
923
1261
  export interface ListChannelBansRequest {
924
1262
  /**
925
1263
  * The ARN of the channel.
@@ -952,6 +1290,30 @@ declare namespace ChimeSDKMessaging {
952
1290
  */
953
1291
  ChannelBans?: ChannelBanSummaryList;
954
1292
  }
1293
+ export interface ListChannelFlowsRequest {
1294
+ /**
1295
+ * The ARN of the app instance.
1296
+ */
1297
+ AppInstanceArn: ChimeArn;
1298
+ /**
1299
+ * The maximum number of channel flows that you want to return.
1300
+ */
1301
+ MaxResults?: MaxResults;
1302
+ /**
1303
+ * The token passed by previous API calls until all requested channel flows are returned.
1304
+ */
1305
+ NextToken?: NextToken;
1306
+ }
1307
+ export interface ListChannelFlowsResponse {
1308
+ /**
1309
+ * The information about each channel flow.
1310
+ */
1311
+ ChannelFlows?: ChannelFlowSummaryList;
1312
+ /**
1313
+ * The token passed by previous API calls until all requested channels are returned.
1314
+ */
1315
+ NextToken?: NextToken;
1316
+ }
955
1317
  export interface ListChannelMembershipsForAppInstanceUserRequest {
956
1318
  /**
957
1319
  * The ARN of the AppInstanceUsers
@@ -1092,6 +1454,30 @@ declare namespace ChimeSDKMessaging {
1092
1454
  */
1093
1455
  ChannelModerators?: ChannelModeratorSummaryList;
1094
1456
  }
1457
+ export interface ListChannelsAssociatedWithChannelFlowRequest {
1458
+ /**
1459
+ * The ARN of the channel flow.
1460
+ */
1461
+ ChannelFlowArn: ChimeArn;
1462
+ /**
1463
+ * The maximum number of channels that you want to return.
1464
+ */
1465
+ MaxResults?: MaxResults;
1466
+ /**
1467
+ * The token passed by previous API calls until all requested channels are returned.
1468
+ */
1469
+ NextToken?: NextToken;
1470
+ }
1471
+ export interface ListChannelsAssociatedWithChannelFlowResponse {
1472
+ /**
1473
+ * The information about each channel.
1474
+ */
1475
+ Channels?: ChannelAssociatedWithFlowSummaryList;
1476
+ /**
1477
+ * The token passed by previous API calls until all requested channels are returned.
1478
+ */
1479
+ NextToken?: NextToken;
1480
+ }
1095
1481
  export interface ListChannelsModeratedByAppInstanceUserRequest {
1096
1482
  /**
1097
1483
  * The ARN of the user in the moderated channel.
@@ -1152,6 +1538,18 @@ declare namespace ChimeSDKMessaging {
1152
1538
  */
1153
1539
  NextToken?: NextToken;
1154
1540
  }
1541
+ export interface ListTagsForResourceRequest {
1542
+ /**
1543
+ * The ARN of the resource.
1544
+ */
1545
+ ResourceARN: ChimeArn;
1546
+ }
1547
+ export interface ListTagsForResourceResponse {
1548
+ /**
1549
+ * The tag key-value pairs.
1550
+ */
1551
+ Tags?: TagList;
1552
+ }
1155
1553
  export type MaxResults = number;
1156
1554
  export type MemberArns = ChimeArn[];
1157
1555
  export type Members = Identity[];
@@ -1167,6 +1565,31 @@ declare namespace ChimeSDKMessaging {
1167
1565
  export type NonEmptyContent = string;
1168
1566
  export type NonEmptyResourceName = string;
1169
1567
  export type NonNullableBoolean = boolean;
1568
+ export interface Processor {
1569
+ /**
1570
+ * The name of the channel flow.
1571
+ */
1572
+ Name: NonEmptyResourceName;
1573
+ /**
1574
+ * The information about the type of processor and its identifier.
1575
+ */
1576
+ Configuration: ProcessorConfiguration;
1577
+ /**
1578
+ * The sequence in which processors run. If you have multiple processors in a channel flow, message processing goes through each processor in the sequence. The value determines the sequence. At this point, we support only 1 processor within a flow.
1579
+ */
1580
+ ExecutionOrder: ChannelFlowExecutionOrder;
1581
+ /**
1582
+ * Determines whether to continue or stop processing if communication with processor fails. If the last processor in a channel flow sequence has a fallback action of CONTINUE, and communication with the processor fails, the message is considered processed and sent to the recipients in the channel.
1583
+ */
1584
+ FallbackAction: FallbackAction;
1585
+ }
1586
+ export interface ProcessorConfiguration {
1587
+ /**
1588
+ * Indicates that the processor is of type Lambda.
1589
+ */
1590
+ Lambda: LambdaConfiguration;
1591
+ }
1592
+ export type ProcessorList = Processor[];
1170
1593
  export interface RedactChannelMessageRequest {
1171
1594
  /**
1172
1595
  * The ARN of the channel containing the messages that you want to redact.
@@ -1231,23 +1654,69 @@ declare namespace ChimeSDKMessaging {
1231
1654
  * The ID string assigned to each message.
1232
1655
  */
1233
1656
  MessageId?: MessageId;
1657
+ /**
1658
+ * The status of the channel message.
1659
+ */
1660
+ Status?: ChannelMessageStatusStructure;
1234
1661
  }
1235
1662
  export type SortOrder = "ASCENDING"|"DESCENDING"|string;
1663
+ export type StatusDetail = string;
1236
1664
  export type String = string;
1237
1665
  export interface Tag {
1238
1666
  /**
1239
- * The key of the tag.
1667
+ * The key in a tag.
1240
1668
  */
1241
1669
  Key: TagKey;
1242
1670
  /**
1243
- * The value of the tag.
1671
+ * The value in a tag.
1244
1672
  */
1245
1673
  Value: TagValue;
1246
1674
  }
1247
1675
  export type TagKey = string;
1676
+ export type TagKeyList = TagKey[];
1248
1677
  export type TagList = Tag[];
1678
+ export interface TagResourceRequest {
1679
+ /**
1680
+ * The resource ARN.
1681
+ */
1682
+ ResourceARN: ChimeArn;
1683
+ /**
1684
+ * The tag key-value pairs.
1685
+ */
1686
+ Tags: TagList;
1687
+ }
1249
1688
  export type TagValue = string;
1250
1689
  export type Timestamp = Date;
1690
+ export interface UntagResourceRequest {
1691
+ /**
1692
+ * The resource ARN.
1693
+ */
1694
+ ResourceARN: ChimeArn;
1695
+ /**
1696
+ * The tag keys.
1697
+ */
1698
+ TagKeys: TagKeyList;
1699
+ }
1700
+ export interface UpdateChannelFlowRequest {
1701
+ /**
1702
+ * The ARN of the channel flow.
1703
+ */
1704
+ ChannelFlowArn: ChimeArn;
1705
+ /**
1706
+ * Information about the processor Lambda functions
1707
+ */
1708
+ Processors: ProcessorList;
1709
+ /**
1710
+ * The name of the channel flow.
1711
+ */
1712
+ Name: NonEmptyResourceName;
1713
+ }
1714
+ export interface UpdateChannelFlowResponse {
1715
+ /**
1716
+ * The ARN of the channel flow.
1717
+ */
1718
+ ChannelFlowArn?: ChimeArn;
1719
+ }
1251
1720
  export interface UpdateChannelMessageRequest {
1252
1721
  /**
1253
1722
  * The ARN of the channel.
@@ -1279,6 +1748,10 @@ declare namespace ChimeSDKMessaging {
1279
1748
  * The ID string of the message being updated.
1280
1749
  */
1281
1750
  MessageId?: MessageId;
1751
+ /**
1752
+ * The status of the message update.
1753
+ */
1754
+ Status?: ChannelMessageStatusStructure;
1282
1755
  }
1283
1756
  export interface UpdateChannelReadMarkerRequest {
1284
1757
  /**