aws-sdk 2.1402.0 → 2.1403.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.
@@ -389,11 +389,11 @@ declare namespace ChimeSDKIdentity {
389
389
  /**
390
390
  * The ARN of the AppInstanceUser.
391
391
  */
392
- AppInstanceUserArn?: SensitiveChimeArn;
392
+ AppInstanceUserArn?: ChimeArn;
393
393
  /**
394
394
  * The unique identifier of the AppInstanceUserEndpoint.
395
395
  */
396
- EndpointId?: SensitiveString64;
396
+ EndpointId?: String64;
397
397
  /**
398
398
  * The name of the AppInstanceUserEndpoint.
399
399
  */
@@ -431,11 +431,11 @@ declare namespace ChimeSDKIdentity {
431
431
  /**
432
432
  * The ARN of the AppInstanceUser.
433
433
  */
434
- AppInstanceUserArn?: SensitiveChimeArn;
434
+ AppInstanceUserArn?: ChimeArn;
435
435
  /**
436
436
  * The unique identifier of the AppInstanceUserEndpoint.
437
437
  */
438
- EndpointId?: SensitiveString64;
438
+ EndpointId?: String64;
439
439
  /**
440
440
  * The name of the AppInstanceUserEndpoint.
441
441
  */
@@ -628,11 +628,11 @@ declare namespace ChimeSDKIdentity {
628
628
  /**
629
629
  * The ARN of the AppInstanceUser.
630
630
  */
631
- AppInstanceUserArn: SensitiveChimeArn;
631
+ AppInstanceUserArn: ChimeArn;
632
632
  /**
633
633
  * The unique identifier of the AppInstanceUserEndpoint.
634
634
  */
635
- EndpointId: SensitiveString64;
635
+ EndpointId: String64;
636
636
  }
637
637
  export interface DescribeAppInstanceAdminRequest {
638
638
  /**
@@ -678,11 +678,11 @@ declare namespace ChimeSDKIdentity {
678
678
  /**
679
679
  * The ARN of the AppInstanceUser.
680
680
  */
681
- AppInstanceUserArn: SensitiveString1600;
681
+ AppInstanceUserArn: String1600;
682
682
  /**
683
683
  * The unique identifier of the AppInstanceUserEndpoint.
684
684
  */
685
- EndpointId: SensitiveString64;
685
+ EndpointId: String64;
686
686
  }
687
687
  export interface DescribeAppInstanceUserEndpointResponse {
688
688
  /**
@@ -762,12 +762,26 @@ declare namespace ChimeSDKIdentity {
762
762
  */
763
763
  Name?: ResourceName;
764
764
  }
765
+ export interface InvokedBy {
766
+ /**
767
+ * 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.
768
+ */
769
+ StandardMessages: StandardMessages;
770
+ /**
771
+ * 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.
772
+ */
773
+ TargetedMessages: TargetedMessages;
774
+ }
765
775
  export type LexBotAliasArn = string;
766
776
  export interface LexConfiguration {
767
777
  /**
768
- * Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
778
+ * Deprecated. Use InvokedBy instead. Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
769
779
  */
770
- RespondsTo: RespondsTo;
780
+ RespondsTo?: RespondsTo;
781
+ /**
782
+ * Specifies the type of message that triggers a bot.
783
+ */
784
+ InvokedBy?: InvokedBy;
771
785
  /**
772
786
  * The ARN of the Amazon Lex V2 bot's alias. The ARN uses this format: arn:aws:lex:REGION:ACCOUNT:bot-alias/MYBOTID/MYBOTALIAS
773
787
  */
@@ -1001,19 +1015,21 @@ declare namespace ChimeSDKIdentity {
1001
1015
  /**
1002
1016
  * The ARN of the AppInstanceUser.
1003
1017
  */
1004
- AppInstanceUserArn?: SensitiveChimeArn;
1018
+ AppInstanceUserArn?: ChimeArn;
1005
1019
  /**
1006
1020
  * The unique identifier of the AppInstanceUserEndpoint.
1007
1021
  */
1008
- EndpointId?: SensitiveString64;
1022
+ EndpointId?: String64;
1009
1023
  }
1010
1024
  export type ResourceName = string;
1011
1025
  export type RespondsTo = "STANDARD_MESSAGES"|string;
1012
1026
  export type RetentionDays = number;
1013
1027
  export type SensitiveChimeArn = string;
1014
1028
  export type SensitiveString1600 = string;
1015
- export type SensitiveString64 = string;
1029
+ export type StandardMessages = "AUTO"|"ALL"|"MENTIONS"|"NONE"|string;
1016
1030
  export type String = string;
1031
+ export type String1600 = string;
1032
+ export type String64 = string;
1017
1033
  export interface Tag {
1018
1034
  /**
1019
1035
  * The key in a tag.
@@ -1038,6 +1054,7 @@ declare namespace ChimeSDKIdentity {
1038
1054
  Tags: TagList;
1039
1055
  }
1040
1056
  export type TagValue = string;
1057
+ export type TargetedMessages = "ALL"|"NONE"|string;
1041
1058
  export type Timestamp = Date;
1042
1059
  export interface UntagResourceRequest {
1043
1060
  /**
@@ -1062,6 +1079,10 @@ declare namespace ChimeSDKIdentity {
1062
1079
  * The metadata of the AppInstanceBot.
1063
1080
  */
1064
1081
  Metadata: Metadata;
1082
+ /**
1083
+ * The configuration for the bot update.
1084
+ */
1085
+ Configuration?: Configuration;
1065
1086
  }
1066
1087
  export interface UpdateAppInstanceBotResponse {
1067
1088
  /**
@@ -1093,11 +1114,11 @@ declare namespace ChimeSDKIdentity {
1093
1114
  /**
1094
1115
  * The ARN of the AppInstanceUser.
1095
1116
  */
1096
- AppInstanceUserArn: SensitiveChimeArn;
1117
+ AppInstanceUserArn: ChimeArn;
1097
1118
  /**
1098
1119
  * The unique identifier of the AppInstanceUserEndpoint.
1099
1120
  */
1100
- EndpointId: SensitiveString64;
1121
+ EndpointId: String64;
1101
1122
  /**
1102
1123
  * The name of the AppInstanceUserEndpoint.
1103
1124
  */
@@ -1111,11 +1132,11 @@ declare namespace ChimeSDKIdentity {
1111
1132
  /**
1112
1133
  * The ARN of the AppInstanceUser.
1113
1134
  */
1114
- AppInstanceUserArn?: SensitiveChimeArn;
1135
+ AppInstanceUserArn?: ChimeArn;
1115
1136
  /**
1116
1137
  * The unique identifier of the AppInstanceUserEndpoint.
1117
1138
  */
1118
- EndpointId?: SensitiveString64;
1139
+ EndpointId?: String64;
1119
1140
  }
1120
1141
  export interface UpdateAppInstanceUserRequest {
1121
1142
  /**
@@ -28,11 +28,11 @@ declare class ChimeSDKMessaging extends Service {
28
28
  */
29
29
  batchCreateChannelMembership(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.BatchCreateChannelMembershipResponse) => void): Request<ChimeSDKMessaging.Types.BatchCreateChannelMembershipResponse, AWSError>;
30
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
31
+ * Calls back Amazon 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
32
  */
33
33
  channelFlowCallback(params: ChimeSDKMessaging.Types.ChannelFlowCallbackRequest, callback?: (err: AWSError, data: ChimeSDKMessaging.Types.ChannelFlowCallbackResponse) => void): Request<ChimeSDKMessaging.Types.ChannelFlowCallbackResponse, AWSError>;
34
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
35
+ * Calls back Amazon 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
36
  */
37
37
  channelFlowCallback(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.ChannelFlowCallbackResponse) => void): Request<ChimeSDKMessaging.Types.ChannelFlowCallbackResponse, AWSError>;
38
38
  /**
@@ -52,11 +52,11 @@ declare class ChimeSDKMessaging extends Service {
52
52
  */
53
53
  createChannelBan(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.CreateChannelBanResponse) => void): Request<ChimeSDKMessaging.Types.CreateChannelBanResponse, AWSError>;
54
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.
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
56
  */
57
57
  createChannelFlow(params: ChimeSDKMessaging.Types.CreateChannelFlowRequest, callback?: (err: AWSError, data: ChimeSDKMessaging.Types.CreateChannelFlowResponse) => void): Request<ChimeSDKMessaging.Types.CreateChannelFlowResponse, AWSError>;
58
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.
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
60
  */
61
61
  createChannelFlow(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.CreateChannelFlowResponse) => void): Request<ChimeSDKMessaging.Types.CreateChannelFlowResponse, AWSError>;
62
62
  /**
@@ -196,11 +196,11 @@ declare class ChimeSDKMessaging extends Service {
196
196
  */
197
197
  disassociateChannelFlow(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
198
198
  /**
199
- * Gets the membership preferences of an AppInstanceUser or AppInstanceBot for the specified channel. A user or a bot must be a member of the channel and own the membership to be able to retrieve membership preferences. Users or bots in the AppInstanceAdmin and channel moderator roles can't retrieve preferences for other users or bots. Banned users or bots can't retrieve membership preferences for the channel from which they are banned. The x-amz-chime-bearer request header is mandatory. Use the ARN of the AppInstanceUser or AppInstanceBot that makes the API call as the value in the header.
199
+ * Gets the membership preferences of an AppInstanceUser or AppInstanceBot for the specified channel. A user or a bot must be a member of the channel and own the membership in order to retrieve membership preferences. Users or bots in the AppInstanceAdmin and channel moderator roles can't retrieve preferences for other users or bots. Banned users or bots can't retrieve membership preferences for the channel from which they are banned. The x-amz-chime-bearer request header is mandatory. Use the ARN of the AppInstanceUser or AppInstanceBot that makes the API call as the value in the header.
200
200
  */
201
201
  getChannelMembershipPreferences(params: ChimeSDKMessaging.Types.GetChannelMembershipPreferencesRequest, callback?: (err: AWSError, data: ChimeSDKMessaging.Types.GetChannelMembershipPreferencesResponse) => void): Request<ChimeSDKMessaging.Types.GetChannelMembershipPreferencesResponse, AWSError>;
202
202
  /**
203
- * Gets the membership preferences of an AppInstanceUser or AppInstanceBot for the specified channel. A user or a bot must be a member of the channel and own the membership to be able to retrieve membership preferences. Users or bots in the AppInstanceAdmin and channel moderator roles can't retrieve preferences for other users or bots. Banned users or bots can't retrieve membership preferences for the channel from which they are banned. The x-amz-chime-bearer request header is mandatory. Use the ARN of the AppInstanceUser or AppInstanceBot that makes the API call as the value in the header.
203
+ * Gets the membership preferences of an AppInstanceUser or AppInstanceBot for the specified channel. A user or a bot must be a member of the channel and own the membership in order to retrieve membership preferences. Users or bots in the AppInstanceAdmin and channel moderator roles can't retrieve preferences for other users or bots. Banned users or bots can't retrieve membership preferences for the channel from which they are banned. The x-amz-chime-bearer request header is mandatory. Use the ARN of the AppInstanceUser or AppInstanceBot that makes the API call as the value in the header.
204
204
  */
205
205
  getChannelMembershipPreferences(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.GetChannelMembershipPreferencesResponse) => void): Request<ChimeSDKMessaging.Types.GetChannelMembershipPreferencesResponse, AWSError>;
206
206
  /**
@@ -212,11 +212,11 @@ declare class ChimeSDKMessaging extends Service {
212
212
  */
213
213
  getChannelMessage(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.GetChannelMessageResponse) => void): Request<ChimeSDKMessaging.Types.GetChannelMessageResponse, AWSError>;
214
214
  /**
215
- * 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 ARN of the AppInstanceUser or AppInstanceBot that makes the API call as the value in the header.
215
+ * 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 Message 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 ARN of the AppInstanceUser or AppInstanceBot that makes the API call as the value in the header.
216
216
  */
217
217
  getChannelMessageStatus(params: ChimeSDKMessaging.Types.GetChannelMessageStatusRequest, callback?: (err: AWSError, data: ChimeSDKMessaging.Types.GetChannelMessageStatusResponse) => void): Request<ChimeSDKMessaging.Types.GetChannelMessageStatusResponse, AWSError>;
218
218
  /**
219
- * 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 ARN of the AppInstanceUser or AppInstanceBot that makes the API call as the value in the header.
219
+ * 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 Message 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 ARN of the AppInstanceUser or AppInstanceBot that makes the API call as the value in the header.
220
220
  */
221
221
  getChannelMessageStatus(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.GetChannelMessageStatusResponse) => void): Request<ChimeSDKMessaging.Types.GetChannelMessageStatusResponse, AWSError>;
222
222
  /**
@@ -260,11 +260,11 @@ declare class ChimeSDKMessaging extends Service {
260
260
  */
261
261
  listChannelMemberships(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.ListChannelMembershipsResponse) => void): Request<ChimeSDKMessaging.Types.ListChannelMembershipsResponse, AWSError>;
262
262
  /**
263
- * Lists all channels that anr AppInstanceUser or AppInstanceBot is a part of. Only an AppInstanceAdmin can call the API with a user ARN that is not their own. The x-amz-chime-bearer request header is mandatory. Use the ARN of the AppInstanceUser or AppInstanceBot that makes the API call as the value in the header.
263
+ * Lists all channels that an AppInstanceUser or AppInstanceBot is a part of. Only an AppInstanceAdmin can call the API with a user ARN that is not their own. The x-amz-chime-bearer request header is mandatory. Use the ARN of the AppInstanceUser or AppInstanceBot that makes the API call as the value in the header.
264
264
  */
265
265
  listChannelMembershipsForAppInstanceUser(params: ChimeSDKMessaging.Types.ListChannelMembershipsForAppInstanceUserRequest, callback?: (err: AWSError, data: ChimeSDKMessaging.Types.ListChannelMembershipsForAppInstanceUserResponse) => void): Request<ChimeSDKMessaging.Types.ListChannelMembershipsForAppInstanceUserResponse, AWSError>;
266
266
  /**
267
- * Lists all channels that anr AppInstanceUser or AppInstanceBot is a part of. Only an AppInstanceAdmin can call the API with a user ARN that is not their own. The x-amz-chime-bearer request header is mandatory. Use the ARN of the AppInstanceUser or AppInstanceBot that makes the API call as the value in the header.
267
+ * Lists all channels that an AppInstanceUser or AppInstanceBot is a part of. Only an AppInstanceAdmin can call the API with a user ARN that is not their own. The x-amz-chime-bearer request header is mandatory. Use the ARN of the AppInstanceUser or AppInstanceBot that makes the API call as the value in the header.
268
268
  */
269
269
  listChannelMembershipsForAppInstanceUser(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.ListChannelMembershipsForAppInstanceUserResponse) => void): Request<ChimeSDKMessaging.Types.ListChannelMembershipsForAppInstanceUserResponse, AWSError>;
270
270
  /**
@@ -332,11 +332,11 @@ declare class ChimeSDKMessaging extends Service {
332
332
  */
333
333
  putChannelExpirationSettings(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.PutChannelExpirationSettingsResponse) => void): Request<ChimeSDKMessaging.Types.PutChannelExpirationSettingsResponse, AWSError>;
334
334
  /**
335
- * Sets the membership preferences of an AppInstanceUser or AppIntanceBot for the specified channel. The user or bot must be a member of the channel. Only the user or bot who owns the membership can set preferences. Users or bots in the AppInstanceAdmin and channel moderator roles can't set preferences for other users or users. Banned users or bots can't set membership preferences for the channel from which they are banned. The x-amz-chime-bearer request header is mandatory. Use the ARN of an AppInstanceUser or AppInstanceBot that makes the API call as the value in the header.
335
+ * Sets the membership preferences of an AppInstanceUser or AppInstanceBot for the specified channel. The user or bot must be a member of the channel. Only the user or bot who owns the membership can set preferences. Users or bots in the AppInstanceAdmin and channel moderator roles can't set preferences for other users. Banned users or bots can't set membership preferences for the channel from which they are banned. The x-amz-chime-bearer request header is mandatory. Use the ARN of an AppInstanceUser or AppInstanceBot that makes the API call as the value in the header.
336
336
  */
337
337
  putChannelMembershipPreferences(params: ChimeSDKMessaging.Types.PutChannelMembershipPreferencesRequest, callback?: (err: AWSError, data: ChimeSDKMessaging.Types.PutChannelMembershipPreferencesResponse) => void): Request<ChimeSDKMessaging.Types.PutChannelMembershipPreferencesResponse, AWSError>;
338
338
  /**
339
- * Sets the membership preferences of an AppInstanceUser or AppIntanceBot for the specified channel. The user or bot must be a member of the channel. Only the user or bot who owns the membership can set preferences. Users or bots in the AppInstanceAdmin and channel moderator roles can't set preferences for other users or users. Banned users or bots can't set membership preferences for the channel from which they are banned. The x-amz-chime-bearer request header is mandatory. Use the ARN of an AppInstanceUser or AppInstanceBot that makes the API call as the value in the header.
339
+ * Sets the membership preferences of an AppInstanceUser or AppInstanceBot for the specified channel. The user or bot must be a member of the channel. Only the user or bot who owns the membership can set preferences. Users or bots in the AppInstanceAdmin and channel moderator roles can't set preferences for other users. Banned users or bots can't set membership preferences for the channel from which they are banned. The x-amz-chime-bearer request header is mandatory. Use the ARN of an AppInstanceUser or AppInstanceBot that makes the API call as the value in the header.
340
340
  */
341
341
  putChannelMembershipPreferences(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.PutChannelMembershipPreferencesResponse) => void): Request<ChimeSDKMessaging.Types.PutChannelMembershipPreferencesResponse, AWSError>;
342
342
  /**
@@ -364,11 +364,11 @@ declare class ChimeSDKMessaging extends Service {
364
364
  */
365
365
  searchChannels(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.SearchChannelsResponse) => void): Request<ChimeSDKMessaging.Types.SearchChannelsResponse, AWSError>;
366
366
  /**
367
- * 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 ARN of the AppInstanceUser or AppInstanceBot 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.
367
+ * 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 ARN of the AppInstanceUser or AppInstanceBot that makes the API call as the value in the header. Also, STANDARD messages can be up to 4KB in size and contain metadata. Metadata is arbitrary, and you can use it in a variety of ways, such as containing a link to an attachment. CONTROL messages are limited to 30 bytes and do not contain metadata.
368
368
  */
369
369
  sendChannelMessage(params: ChimeSDKMessaging.Types.SendChannelMessageRequest, callback?: (err: AWSError, data: ChimeSDKMessaging.Types.SendChannelMessageResponse) => void): Request<ChimeSDKMessaging.Types.SendChannelMessageResponse, AWSError>;
370
370
  /**
371
- * 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 ARN of the AppInstanceUser or AppInstanceBot 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.
371
+ * 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 ARN of the AppInstanceUser or AppInstanceBot that makes the API call as the value in the header. Also, STANDARD messages can be up to 4KB in size and contain metadata. Metadata is arbitrary, and you can use it in a variety of ways, such as containing a link to an attachment. CONTROL messages are limited to 30 bytes and do not contain metadata.
372
372
  */
373
373
  sendChannelMessage(callback?: (err: AWSError, data: ChimeSDKMessaging.Types.SendChannelMessageResponse) => void): Request<ChimeSDKMessaging.Types.SendChannelMessageResponse, AWSError>;
374
374
  /**
@@ -751,7 +751,7 @@ declare namespace ChimeSDKMessaging {
751
751
  */
752
752
  MessageId?: MessageId;
753
753
  /**
754
- * The message content.
754
+ * The content of the channel message. For Amazon Lex V2 bot responses, this field holds a list of messages originating from the bot. For more information, refer to Processing responses from an AppInstanceBot in the Amazon Chime SDK Messaging Developer Guide.
755
755
  */
756
756
  Content?: Content;
757
757
  /**
@@ -791,7 +791,7 @@ declare namespace ChimeSDKMessaging {
791
791
  */
792
792
  Status?: ChannelMessageStatusStructure;
793
793
  /**
794
- * The attributes for the message, used for message filtering along with a FilterRule defined in the PushNotificationPreferences.
794
+ * The attributes for the channel message. For Amazon Lex V2 bot responses, the attributes are mapped to specific fields from the bot. For more information, refer to Processing responses from an AppInstanceBot in the Amazon Chime SDK Messaging Developer Guide.
795
795
  */
796
796
  MessageAttributes?: MessageAttributeMap;
797
797
  /**
@@ -799,9 +799,13 @@ declare namespace ChimeSDKMessaging {
799
799
  */
800
800
  SubChannelId?: SubChannelId;
801
801
  /**
802
- * The content type of the channel message.
802
+ * The content type of the channel message. For Amazon Lex V2 bot responses, the content type is application/amz-chime-lex-msgs for success responses and application/amz-chime-lex-error for failure responses. For more information, refer to Processing responses from an AppInstanceBot in the Amazon Chime SDK Messaging Developer Guide.
803
803
  */
804
804
  ContentType?: ContentType;
805
+ /**
806
+ * The target of a message, a sender, a user, or a bot. Only the target and the sender can view targeted messages. Only users who can see targeted messages can take actions on them. However, administrators can delete targeted messages that they can’t see.
807
+ */
808
+ Target?: TargetList;
805
809
  }
806
810
  export interface ChannelMessageCallback {
807
811
  /**
@@ -809,7 +813,7 @@ declare namespace ChimeSDKMessaging {
809
813
  */
810
814
  MessageId: MessageId;
811
815
  /**
812
- * The message content.
816
+ * The message content. For Amazon Lex V2 bot responses, this field holds a list of messages originating from the bot. For more information, refer to Processing responses from an AppInstanceBot in the Amazon Chime SDK Messaging Developer Guide.
813
817
  */
814
818
  Content?: NonEmptyContent;
815
819
  /**
@@ -821,7 +825,7 @@ declare namespace ChimeSDKMessaging {
821
825
  */
822
826
  PushNotification?: PushNotificationConfiguration;
823
827
  /**
824
- * The attributes for the message, used for message filtering along with a FilterRule defined in the PushNotificationPreferences.
828
+ * The attributes for the channel message. For Amazon Lex V2 bot responses, the attributes are mapped to specific fields from the bot. For more information, refer to Processing responses from an AppInstanceBot in the Amazon Chime SDK Messaging Developer Guide.
825
829
  */
826
830
  MessageAttributes?: MessageAttributeMap;
827
831
  /**
@@ -829,7 +833,7 @@ declare namespace ChimeSDKMessaging {
829
833
  */
830
834
  SubChannelId?: SubChannelId;
831
835
  /**
832
- * The content type of the call-back message.
836
+ * The content type of the call-back message. For Amazon Lex V2 bot responses, the content type is application/amz-chime-lex-msgs for success responses and application/amz-chime-lex-error for failure responses. For more information, refer to Processing responses from an AppInstanceBot in the Amazon Chime SDK Messaging Developer Guide.
833
837
  */
834
838
  ContentType?: ContentType;
835
839
  }
@@ -841,7 +845,7 @@ declare namespace ChimeSDKMessaging {
841
845
  */
842
846
  Value?: ChannelMessageStatus;
843
847
  /**
844
- * Contains more details about the messasge status.
848
+ * Contains more details about the message status.
845
849
  */
846
850
  Detail?: StatusDetail;
847
851
  }
@@ -851,7 +855,7 @@ declare namespace ChimeSDKMessaging {
851
855
  */
852
856
  MessageId?: MessageId;
853
857
  /**
854
- * The content of the message.
858
+ * The content of the channel message. For Amazon Lex V2 bot responses, this field holds a list of messages originating from the bot. For more information, refer to Processing responses from an AppInstanceBot in the Amazon Chime SDK Messaging Developer Guide.
855
859
  */
856
860
  Content?: Content;
857
861
  /**
@@ -887,13 +891,17 @@ declare namespace ChimeSDKMessaging {
887
891
  */
888
892
  Status?: ChannelMessageStatusStructure;
889
893
  /**
890
- * The message attribues listed in a the summary of a channel message.
894
+ * The attributes for the channel message. For Amazon Lex V2 bot responses, the attributes are mapped to specific fields from the bot. For more information, refer to Processing responses from an AppInstanceBot in the Amazon Chime SDK Messaging Developer Guide.
891
895
  */
892
896
  MessageAttributes?: MessageAttributeMap;
893
897
  /**
894
- * The content type of the channel messsage listed in the summary.
898
+ * The content type of the channel message listed in the summary. For Amazon Lex V2 bot responses, the content type is application/amz-chime-lex-msgs for success responses and application/amz-chime-lex-error for failure responses. For more information, refer to Processing responses from an AppInstanceBot in the Amazon Chime SDK Messaging Developer Guide.
895
899
  */
896
900
  ContentType?: ContentType;
901
+ /**
902
+ * The target of a message, a sender, a user, or a bot. Only the target and the sender can view targeted messages. Only users who can see targeted messages can take actions on them. However, administrators can delete targeted messages that they can’t see.
903
+ */
904
+ Target?: TargetList;
897
905
  }
898
906
  export type ChannelMessageSummaryList = ChannelMessageSummary[];
899
907
  export type ChannelMessageType = "STANDARD"|"CONTROL"|string;
@@ -954,7 +962,7 @@ declare namespace ChimeSDKMessaging {
954
962
  */
955
963
  Metadata?: Metadata;
956
964
  /**
957
- * The time at which the last persistent message in a channel was sent.
965
+ * The time at which the last persistent message visible to the caller in a channel was sent.
958
966
  */
959
967
  LastMessageTimestamp?: Timestamp;
960
968
  }
@@ -2089,11 +2097,11 @@ declare namespace ChimeSDKMessaging {
2089
2097
  */
2090
2098
  ChannelArn: ChimeArn;
2091
2099
  /**
2092
- * The content of the message.
2100
+ * The content of the channel message.
2093
2101
  */
2094
2102
  Content: NonEmptyContent;
2095
2103
  /**
2096
- * The type of message, STANDARD or CONTROL.
2104
+ * The type of message, STANDARD or CONTROL. STANDARD messages can be up to 4KB in size and contain metadata. Metadata is arbitrary, and you can use it in a variety of ways, such as containing a link to an attachment. CONTROL messages are limited to 30 bytes and do not contain metadata.
2097
2105
  */
2098
2106
  Type: ChannelMessageType;
2099
2107
  /**
@@ -2128,6 +2136,10 @@ declare namespace ChimeSDKMessaging {
2128
2136
  * The content type of the channel message.
2129
2137
  */
2130
2138
  ContentType?: ContentType;
2139
+ /**
2140
+ * The target of a message. Must be a member of the channel, such as another user, a bot, or the sender. Only the target and the sender can view targeted messages. Only users who can see targeted messages can take actions on them. However, administrators can delete targeted messages that they can’t see.
2141
+ */
2142
+ Target?: TargetList;
2131
2143
  }
2132
2144
  export interface SendChannelMessageResponse {
2133
2145
  /**
@@ -2197,6 +2209,13 @@ declare namespace ChimeSDKMessaging {
2197
2209
  Tags: TagList;
2198
2210
  }
2199
2211
  export type TagValue = string;
2212
+ export interface Target {
2213
+ /**
2214
+ * The ARN of the target channel member.
2215
+ */
2216
+ MemberArn?: ChimeArn;
2217
+ }
2218
+ export type TargetList = Target[];
2200
2219
  export type TargetMembershipsPerSubChannel = number;
2201
2220
  export type Timestamp = Date;
2202
2221
  export interface UntagResourceRequest {
@@ -2239,7 +2258,7 @@ declare namespace ChimeSDKMessaging {
2239
2258
  */
2240
2259
  MessageId: MessageId;
2241
2260
  /**
2242
- * The content of the message being updated.
2261
+ * The content of the channel message.
2243
2262
  */
2244
2263
  Content: NonEmptyContent;
2245
2264
  /**