1{ 2 "version":"2.0", 3 "metadata":{ 4 "apiVersion":"2021-05-15", 5 "endpointPrefix":"messaging-chime", 6 "protocol":"rest-json", 7 "serviceFullName":"Amazon Chime SDK Messaging", 8 "serviceId":"Chime SDK Messaging", 9 "signatureVersion":"v4", 10 "signingName":"chime", 11 "uid":"chime-sdk-messaging-2021-05-15" 12 }, 13 "operations":{ 14 "AssociateChannelFlow":{ 15 "name":"AssociateChannelFlow", 16 "http":{ 17 "method":"PUT", 18 "requestUri":"/channels/{channelArn}/channel-flow", 19 "responseCode":200 20 }, 21 "input":{"shape":"AssociateChannelFlowRequest"}, 22 "errors":[ 23 {"shape":"BadRequestException"}, 24 {"shape":"ForbiddenException"}, 25 {"shape":"NotFoundException"}, 26 {"shape":"UnauthorizedClientException"}, 27 {"shape":"ConflictException"}, 28 {"shape":"ThrottledClientException"}, 29 {"shape":"ServiceUnavailableException"}, 30 {"shape":"ServiceFailureException"} 31 ], 32 "documentation":"<p>Associates a channel flow with a channel. Once associated, all messages to that channel go through channel flow processors. To stop processing, use the <code>DisassociateChannelFlow</code> API.</p> <note> <p>Only administrators or channel moderators can associate a channel flow. The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>" 33 }, 34 "BatchCreateChannelMembership":{ 35 "name":"BatchCreateChannelMembership", 36 "http":{ 37 "method":"POST", 38 "requestUri":"/channels/{channelArn}/memberships?operation=batch-create", 39 "responseCode":200 40 }, 41 "input":{"shape":"BatchCreateChannelMembershipRequest"}, 42 "output":{"shape":"BatchCreateChannelMembershipResponse"}, 43 "errors":[ 44 {"shape":"ServiceFailureException"}, 45 {"shape":"ServiceUnavailableException"}, 46 {"shape":"UnauthorizedClientException"}, 47 {"shape":"BadRequestException"}, 48 {"shape":"NotFoundException"}, 49 {"shape":"ForbiddenException"}, 50 {"shape":"ThrottledClientException"}, 51 {"shape":"ResourceLimitExceededException"} 52 ], 53 "documentation":"<p>Adds a specified number of users and bots to a channel. </p>" 54 }, 55 "ChannelFlowCallback":{ 56 "name":"ChannelFlowCallback", 57 "http":{ 58 "method":"POST", 59 "requestUri":"/channels/{channelArn}?operation=channel-flow-callback", 60 "responseCode":200 61 }, 62 "input":{"shape":"ChannelFlowCallbackRequest"}, 63 "output":{"shape":"ChannelFlowCallbackResponse"}, 64 "errors":[ 65 {"shape":"BadRequestException"}, 66 {"shape":"ForbiddenException"}, 67 {"shape":"UnauthorizedClientException"}, 68 {"shape":"ConflictException"}, 69 {"shape":"ThrottledClientException"}, 70 {"shape":"ServiceUnavailableException"}, 71 {"shape":"ServiceFailureException"} 72 ], 73 "documentation":"<p>Calls back Amazon Chime SDK messaging with a processing response message. This should be invoked from the processor Lambda. This is a developer API.</p> <p>You can return one of the following processing responses:</p> <ul> <li> <p>Update message content or metadata</p> </li> <li> <p>Deny a message</p> </li> <li> <p>Make no changes to the message</p> </li> </ul>" 74 }, 75 "CreateChannel":{ 76 "name":"CreateChannel", 77 "http":{ 78 "method":"POST", 79 "requestUri":"/channels", 80 "responseCode":201 81 }, 82 "input":{"shape":"CreateChannelRequest"}, 83 "output":{"shape":"CreateChannelResponse"}, 84 "errors":[ 85 {"shape":"BadRequestException"}, 86 {"shape":"ForbiddenException"}, 87 {"shape":"UnauthorizedClientException"}, 88 {"shape":"ConflictException"}, 89 {"shape":"ResourceLimitExceededException"}, 90 {"shape":"ThrottledClientException"}, 91 {"shape":"ServiceUnavailableException"}, 92 {"shape":"ServiceFailureException"} 93 ], 94 "documentation":"<p>Creates a channel to which you can add users and send messages.</p> <p> <b>Restriction</b>: You can't change a channel's privacy.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>" 95 }, 96 "CreateChannelBan":{ 97 "name":"CreateChannelBan", 98 "http":{ 99 "method":"POST", 100 "requestUri":"/channels/{channelArn}/bans", 101 "responseCode":201 102 }, 103 "input":{"shape":"CreateChannelBanRequest"}, 104 "output":{"shape":"CreateChannelBanResponse"}, 105 "errors":[ 106 {"shape":"BadRequestException"}, 107 {"shape":"ForbiddenException"}, 108 {"shape":"UnauthorizedClientException"}, 109 {"shape":"ConflictException"}, 110 {"shape":"ResourceLimitExceededException"}, 111 {"shape":"ThrottledClientException"}, 112 {"shape":"ServiceUnavailableException"}, 113 {"shape":"ServiceFailureException"} 114 ], 115 "documentation":"<p>Permanently bans a member from a channel. Moderators can't add banned members to a channel. To undo a ban, you first have to <code>DeleteChannelBan</code>, and then <code>CreateChannelMembership</code>. Bans are cleaned up when you delete users or channels.</p> <p>If you ban a user who is already part of a channel, that user is automatically kicked from the channel.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>" 116 }, 117 "CreateChannelFlow":{ 118 "name":"CreateChannelFlow", 119 "http":{ 120 "method":"POST", 121 "requestUri":"/channel-flows", 122 "responseCode":201 123 }, 124 "input":{"shape":"CreateChannelFlowRequest"}, 125 "output":{"shape":"CreateChannelFlowResponse"}, 126 "errors":[ 127 {"shape":"BadRequestException"}, 128 {"shape":"ForbiddenException"}, 129 {"shape":"UnauthorizedClientException"}, 130 {"shape":"ConflictException"}, 131 {"shape":"ResourceLimitExceededException"}, 132 {"shape":"ThrottledClientException"}, 133 {"shape":"ServiceUnavailableException"}, 134 {"shape":"ServiceFailureException"} 135 ], 136 "documentation":"<p>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.</p> <p>Channel flows process the following items:</p> <ol> <li> <p>New and updated messages</p> </li> <li> <p>Persistent and non-persistent messages</p> </li> <li> <p>The Standard message type</p> </li> </ol> <note> <p>Channel flows don't process Control or System messages. For more information about the message types provided by Chime SDK messaging, refer to <a href=\"https://docs.aws.amazon.com/chime/latest/dg/using-the-messaging-sdk.html#msg-types\">Message types</a> in the <i>Amazon Chime developer guide</i>.</p> </note>" 137 }, 138 "CreateChannelMembership":{ 139 "name":"CreateChannelMembership", 140 "http":{ 141 "method":"POST", 142 "requestUri":"/channels/{channelArn}/memberships", 143 "responseCode":201 144 }, 145 "input":{"shape":"CreateChannelMembershipRequest"}, 146 "output":{"shape":"CreateChannelMembershipResponse"}, 147 "errors":[ 148 {"shape":"BadRequestException"}, 149 {"shape":"NotFoundException"}, 150 {"shape":"ForbiddenException"}, 151 {"shape":"UnauthorizedClientException"}, 152 {"shape":"ConflictException"}, 153 {"shape":"ResourceLimitExceededException"}, 154 {"shape":"ThrottledClientException"}, 155 {"shape":"ServiceUnavailableException"}, 156 {"shape":"ServiceFailureException"} 157 ], 158 "documentation":"<p>Adds a member to a channel. The <code>InvitedBy</code> field in <code>ChannelMembership</code> is derived from the request header. A channel member can:</p> <ul> <li> <p>List messages</p> </li> <li> <p>Send messages</p> </li> <li> <p>Receive messages</p> </li> <li> <p>Edit their own messages</p> </li> <li> <p>Leave the channel</p> </li> </ul> <p>Privacy settings impact this action as follows:</p> <ul> <li> <p>Public Channels: You do not need to be a member to list messages, but you must be a member to send messages.</p> </li> <li> <p>Private Channels: You must be a member to list or send messages.</p> </li> </ul> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUserArn</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>" 159 }, 160 "CreateChannelModerator":{ 161 "name":"CreateChannelModerator", 162 "http":{ 163 "method":"POST", 164 "requestUri":"/channels/{channelArn}/moderators", 165 "responseCode":201 166 }, 167 "input":{"shape":"CreateChannelModeratorRequest"}, 168 "output":{"shape":"CreateChannelModeratorResponse"}, 169 "errors":[ 170 {"shape":"BadRequestException"}, 171 {"shape":"ForbiddenException"}, 172 {"shape":"UnauthorizedClientException"}, 173 {"shape":"ConflictException"}, 174 {"shape":"ResourceLimitExceededException"}, 175 {"shape":"ThrottledClientException"}, 176 {"shape":"ServiceUnavailableException"}, 177 {"shape":"ServiceFailureException"} 178 ], 179 "documentation":"<p>Creates a new <code>ChannelModerator</code>. A channel moderator can:</p> <ul> <li> <p>Add and remove other members of the channel.</p> </li> <li> <p>Add and remove other moderators of the channel.</p> </li> <li> <p>Add and remove user bans for the channel.</p> </li> <li> <p>Redact messages in the channel.</p> </li> <li> <p>List messages in the channel.</p> </li> </ul> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code>of the user that makes the API call as the value in the header.</p> </note>" 180 }, 181 "DeleteChannel":{ 182 "name":"DeleteChannel", 183 "http":{ 184 "method":"DELETE", 185 "requestUri":"/channels/{channelArn}", 186 "responseCode":204 187 }, 188 "input":{"shape":"DeleteChannelRequest"}, 189 "errors":[ 190 {"shape":"BadRequestException"}, 191 {"shape":"ForbiddenException"}, 192 {"shape":"ConflictException"}, 193 {"shape":"UnauthorizedClientException"}, 194 {"shape":"ThrottledClientException"}, 195 {"shape":"ServiceUnavailableException"}, 196 {"shape":"ServiceFailureException"} 197 ], 198 "documentation":"<p>Immediately makes a channel and its memberships inaccessible and marks them for deletion. This is an irreversible process.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUserArn</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>" 199 }, 200 "DeleteChannelBan":{ 201 "name":"DeleteChannelBan", 202 "http":{ 203 "method":"DELETE", 204 "requestUri":"/channels/{channelArn}/bans/{memberArn}", 205 "responseCode":204 206 }, 207 "input":{"shape":"DeleteChannelBanRequest"}, 208 "errors":[ 209 {"shape":"BadRequestException"}, 210 {"shape":"ForbiddenException"}, 211 {"shape":"UnauthorizedClientException"}, 212 {"shape":"ThrottledClientException"}, 213 {"shape":"ServiceUnavailableException"}, 214 {"shape":"ServiceFailureException"} 215 ], 216 "documentation":"<p>Removes a member from a channel's ban list.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>" 217 }, 218 "DeleteChannelFlow":{ 219 "name":"DeleteChannelFlow", 220 "http":{ 221 "method":"DELETE", 222 "requestUri":"/channel-flows/{channelFlowArn}", 223 "responseCode":204 224 }, 225 "input":{"shape":"DeleteChannelFlowRequest"}, 226 "errors":[ 227 {"shape":"BadRequestException"}, 228 {"shape":"ForbiddenException"}, 229 {"shape":"UnauthorizedClientException"}, 230 {"shape":"ThrottledClientException"}, 231 {"shape":"ConflictException"}, 232 {"shape":"ServiceUnavailableException"}, 233 {"shape":"ServiceFailureException"} 234 ], 235 "documentation":"<p>Deletes a channel flow, an irreversible process. This is a developer API.</p> <note> <p> 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 <code>ListChannelsAssociatedWithChannelFlow</code> API. Use the <code>DisassociateChannelFlow</code> API to disassociate a channel flow from all channels. </p> </note>" 236 }, 237 "DeleteChannelMembership":{ 238 "name":"DeleteChannelMembership", 239 "http":{ 240 "method":"DELETE", 241 "requestUri":"/channels/{channelArn}/memberships/{memberArn}", 242 "responseCode":204 243 }, 244 "input":{"shape":"DeleteChannelMembershipRequest"}, 245 "errors":[ 246 {"shape":"BadRequestException"}, 247 {"shape":"ForbiddenException"}, 248 {"shape":"UnauthorizedClientException"}, 249 {"shape":"ConflictException"}, 250 {"shape":"ThrottledClientException"}, 251 {"shape":"ServiceUnavailableException"}, 252 {"shape":"ServiceFailureException"} 253 ], 254 "documentation":"<p>Removes a member from a channel.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>" 255 }, 256 "DeleteChannelMessage":{ 257 "name":"DeleteChannelMessage", 258 "http":{ 259 "method":"DELETE", 260 "requestUri":"/channels/{channelArn}/messages/{messageId}", 261 "responseCode":204 262 }, 263 "input":{"shape":"DeleteChannelMessageRequest"}, 264 "errors":[ 265 {"shape":"BadRequestException"}, 266 {"shape":"ForbiddenException"}, 267 {"shape":"UnauthorizedClientException"}, 268 {"shape":"ThrottledClientException"}, 269 {"shape":"ServiceUnavailableException"}, 270 {"shape":"ServiceFailureException"} 271 ], 272 "documentation":"<p>Deletes a channel message. Only admins can perform this action. Deletion makes messages inaccessible immediately. A background process deletes any revisions created by <code>UpdateChannelMessage</code>.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>" 273 }, 274 "DeleteChannelModerator":{ 275 "name":"DeleteChannelModerator", 276 "http":{ 277 "method":"DELETE", 278 "requestUri":"/channels/{channelArn}/moderators/{channelModeratorArn}", 279 "responseCode":204 280 }, 281 "input":{"shape":"DeleteChannelModeratorRequest"}, 282 "errors":[ 283 {"shape":"BadRequestException"}, 284 {"shape":"ForbiddenException"}, 285 {"shape":"UnauthorizedClientException"}, 286 {"shape":"ThrottledClientException"}, 287 {"shape":"ServiceUnavailableException"}, 288 {"shape":"ServiceFailureException"} 289 ], 290 "documentation":"<p>Deletes a channel moderator.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>" 291 }, 292 "DeleteMessagingStreamingConfigurations":{ 293 "name":"DeleteMessagingStreamingConfigurations", 294 "http":{ 295 "method":"DELETE", 296 "requestUri":"/app-instances/{appInstanceArn}/streaming-configurations", 297 "responseCode":204 298 }, 299 "input":{"shape":"DeleteMessagingStreamingConfigurationsRequest"}, 300 "errors":[ 301 {"shape":"BadRequestException"}, 302 {"shape":"ForbiddenException"}, 303 {"shape":"UnauthorizedClientException"}, 304 {"shape":"ThrottledClientException"}, 305 {"shape":"ServiceUnavailableException"}, 306 {"shape":"ServiceFailureException"} 307 ], 308 "documentation":"<p>Deletes the streaming configurations for an <code>AppInstance</code>. For more information, see <a href=\"https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html\">Streaming messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>.</p>" 309 }, 310 "DescribeChannel":{ 311 "name":"DescribeChannel", 312 "http":{ 313 "method":"GET", 314 "requestUri":"/channels/{channelArn}", 315 "responseCode":200 316 }, 317 "input":{"shape":"DescribeChannelRequest"}, 318 "output":{"shape":"DescribeChannelResponse"}, 319 "errors":[ 320 {"shape":"BadRequestException"}, 321 {"shape":"ForbiddenException"}, 322 {"shape":"UnauthorizedClientException"}, 323 {"shape":"ThrottledClientException"}, 324 {"shape":"ServiceUnavailableException"}, 325 {"shape":"ServiceFailureException"} 326 ], 327 "documentation":"<p>Returns the full details of a channel in an Amazon Chime <code>AppInstance</code>.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>" 328 }, 329 "DescribeChannelBan":{ 330 "name":"DescribeChannelBan", 331 "http":{ 332 "method":"GET", 333 "requestUri":"/channels/{channelArn}/bans/{memberArn}", 334 "responseCode":200 335 }, 336 "input":{"shape":"DescribeChannelBanRequest"}, 337 "output":{"shape":"DescribeChannelBanResponse"}, 338 "errors":[ 339 {"shape":"BadRequestException"}, 340 {"shape":"ForbiddenException"}, 341 {"shape":"NotFoundException"}, 342 {"shape":"UnauthorizedClientException"}, 343 {"shape":"ThrottledClientException"}, 344 {"shape":"ServiceUnavailableException"}, 345 {"shape":"ServiceFailureException"} 346 ], 347 "documentation":"<p>Returns the full details of a channel ban.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>" 348 }, 349 "DescribeChannelFlow":{ 350 "name":"DescribeChannelFlow", 351 "http":{ 352 "method":"GET", 353 "requestUri":"/channel-flows/{channelFlowArn}", 354 "responseCode":200 355 }, 356 "input":{"shape":"DescribeChannelFlowRequest"}, 357 "output":{"shape":"DescribeChannelFlowResponse"}, 358 "errors":[ 359 {"shape":"BadRequestException"}, 360 {"shape":"ForbiddenException"}, 361 {"shape":"UnauthorizedClientException"}, 362 {"shape":"ThrottledClientException"}, 363 {"shape":"ServiceUnavailableException"}, 364 {"shape":"ServiceFailureException"} 365 ], 366 "documentation":"<p>Returns the full details of a channel flow in an Amazon Chime <code>AppInstance</code>. This is a developer API.</p>" 367 }, 368 "DescribeChannelMembership":{ 369 "name":"DescribeChannelMembership", 370 "http":{ 371 "method":"GET", 372 "requestUri":"/channels/{channelArn}/memberships/{memberArn}", 373 "responseCode":200 374 }, 375 "input":{"shape":"DescribeChannelMembershipRequest"}, 376 "output":{"shape":"DescribeChannelMembershipResponse"}, 377 "errors":[ 378 {"shape":"BadRequestException"}, 379 {"shape":"ForbiddenException"}, 380 {"shape":"NotFoundException"}, 381 {"shape":"UnauthorizedClientException"}, 382 {"shape":"ThrottledClientException"}, 383 {"shape":"ServiceUnavailableException"}, 384 {"shape":"ServiceFailureException"} 385 ], 386 "documentation":"<p>Returns the full details of a user's channel membership.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>" 387 }, 388 "DescribeChannelMembershipForAppInstanceUser":{ 389 "name":"DescribeChannelMembershipForAppInstanceUser", 390 "http":{ 391 "method":"GET", 392 "requestUri":"/channels/{channelArn}?scope=app-instance-user-membership", 393 "responseCode":200 394 }, 395 "input":{"shape":"DescribeChannelMembershipForAppInstanceUserRequest"}, 396 "output":{"shape":"DescribeChannelMembershipForAppInstanceUserResponse"}, 397 "errors":[ 398 {"shape":"BadRequestException"}, 399 {"shape":"ForbiddenException"}, 400 {"shape":"UnauthorizedClientException"}, 401 {"shape":"ThrottledClientException"}, 402 {"shape":"ServiceUnavailableException"}, 403 {"shape":"ServiceFailureException"} 404 ], 405 "documentation":"<p> Returns the details of a channel based on the membership of the specified <code>AppInstanceUser</code> or <code>AppInstanceBot</code>.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>" 406 }, 407 "DescribeChannelModeratedByAppInstanceUser":{ 408 "name":"DescribeChannelModeratedByAppInstanceUser", 409 "http":{ 410 "method":"GET", 411 "requestUri":"/channels/{channelArn}?scope=app-instance-user-moderated-channel", 412 "responseCode":200 413 }, 414 "input":{"shape":"DescribeChannelModeratedByAppInstanceUserRequest"}, 415 "output":{"shape":"DescribeChannelModeratedByAppInstanceUserResponse"}, 416 "errors":[ 417 {"shape":"BadRequestException"}, 418 {"shape":"ForbiddenException"}, 419 {"shape":"UnauthorizedClientException"}, 420 {"shape":"ThrottledClientException"}, 421 {"shape":"ServiceUnavailableException"}, 422 {"shape":"ServiceFailureException"} 423 ], 424 "documentation":"<p>Returns the full details of a channel moderated by the specified <code>AppInstanceUser</code> or <code>AppInstanceBot</code>.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>" 425 }, 426 "DescribeChannelModerator":{ 427 "name":"DescribeChannelModerator", 428 "http":{ 429 "method":"GET", 430 "requestUri":"/channels/{channelArn}/moderators/{channelModeratorArn}", 431 "responseCode":200 432 }, 433 "input":{"shape":"DescribeChannelModeratorRequest"}, 434 "output":{"shape":"DescribeChannelModeratorResponse"}, 435 "errors":[ 436 {"shape":"BadRequestException"}, 437 {"shape":"ForbiddenException"}, 438 {"shape":"NotFoundException"}, 439 {"shape":"UnauthorizedClientException"}, 440 {"shape":"ThrottledClientException"}, 441 {"shape":"ServiceUnavailableException"}, 442 {"shape":"ServiceFailureException"} 443 ], 444 "documentation":"<p>Returns the full details of a single ChannelModerator.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>" 445 }, 446 "DisassociateChannelFlow":{ 447 "name":"DisassociateChannelFlow", 448 "http":{ 449 "method":"DELETE", 450 "requestUri":"/channels/{channelArn}/channel-flow/{channelFlowArn}", 451 "responseCode":204 452 }, 453 "input":{"shape":"DisassociateChannelFlowRequest"}, 454 "errors":[ 455 {"shape":"BadRequestException"}, 456 {"shape":"ForbiddenException"}, 457 {"shape":"NotFoundException"}, 458 {"shape":"UnauthorizedClientException"}, 459 {"shape":"ConflictException"}, 460 {"shape":"ThrottledClientException"}, 461 {"shape":"ServiceUnavailableException"}, 462 {"shape":"ServiceFailureException"} 463 ], 464 "documentation":"<p>Disassociates a channel flow from all its channels. Once disassociated, all messages to that channel stop going through the channel flow processor.</p> <note> <p>Only administrators or channel moderators can disassociate a channel flow.</p> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>" 465 }, 466 "GetChannelMembershipPreferences":{ 467 "name":"GetChannelMembershipPreferences", 468 "http":{ 469 "method":"GET", 470 "requestUri":"/channels/{channelArn}/memberships/{memberArn}/preferences", 471 "responseCode":200 472 }, 473 "input":{"shape":"GetChannelMembershipPreferencesRequest"}, 474 "output":{"shape":"GetChannelMembershipPreferencesResponse"}, 475 "errors":[ 476 {"shape":"BadRequestException"}, 477 {"shape":"UnauthorizedClientException"}, 478 {"shape":"ForbiddenException"}, 479 {"shape":"ThrottledClientException"}, 480 {"shape":"ServiceUnavailableException"}, 481 {"shape":"ServiceFailureException"} 482 ], 483 "documentation":"<p>Gets the membership preferences of an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> 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 <code>AppInstanceAdmin</code> 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.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>" 484 }, 485 "GetChannelMessage":{ 486 "name":"GetChannelMessage", 487 "http":{ 488 "method":"GET", 489 "requestUri":"/channels/{channelArn}/messages/{messageId}", 490 "responseCode":200 491 }, 492 "input":{"shape":"GetChannelMessageRequest"}, 493 "output":{"shape":"GetChannelMessageResponse"}, 494 "errors":[ 495 {"shape":"BadRequestException"}, 496 {"shape":"ForbiddenException"}, 497 {"shape":"NotFoundException"}, 498 {"shape":"UnauthorizedClientException"}, 499 {"shape":"ThrottledClientException"}, 500 {"shape":"ServiceUnavailableException"}, 501 {"shape":"ServiceFailureException"} 502 ], 503 "documentation":"<p>Gets the full details of a channel message.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>" 504 }, 505 "GetChannelMessageStatus":{ 506 "name":"GetChannelMessageStatus", 507 "http":{ 508 "method":"GET", 509 "requestUri":"/channels/{channelArn}/messages/{messageId}?scope=message-status", 510 "responseCode":200 511 }, 512 "input":{"shape":"GetChannelMessageStatusRequest"}, 513 "output":{"shape":"GetChannelMessageStatusResponse"}, 514 "errors":[ 515 {"shape":"BadRequestException"}, 516 {"shape":"ForbiddenException"}, 517 {"shape":"UnauthorizedClientException"}, 518 {"shape":"ThrottledClientException"}, 519 {"shape":"ServiceUnavailableException"}, 520 {"shape":"ServiceFailureException"} 521 ], 522 "documentation":"<p>Gets message status for a specified <code>messageId</code>. 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. </p> <p>Messages can have any one of these statuses.</p> <dl> <dt>SENT</dt> <dd> <p>Message processed successfully</p> </dd> <dt>PENDING</dt> <dd> <p>Ongoing processing</p> </dd> <dt>FAILED</dt> <dd> <p>Processing failed</p> </dd> <dt>DENIED</dt> <dd> <p>Message denied by the processor</p> </dd> </dl> <note> <ul> <li> <p>This API does not return statuses for denied messages, because we don't store them once the processor denies them. </p> </li> <li> <p>Only the message sender can invoke this API.</p> </li> <li> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </li> </ul> </note>" 523 }, 524 "GetMessagingSessionEndpoint":{ 525 "name":"GetMessagingSessionEndpoint", 526 "http":{ 527 "method":"GET", 528 "requestUri":"/endpoints/messaging-session", 529 "responseCode":200 530 }, 531 "input":{"shape":"GetMessagingSessionEndpointRequest"}, 532 "output":{"shape":"GetMessagingSessionEndpointResponse"}, 533 "errors":[ 534 {"shape":"UnauthorizedClientException"}, 535 {"shape":"ForbiddenException"}, 536 {"shape":"ThrottledClientException"}, 537 {"shape":"ServiceUnavailableException"}, 538 {"shape":"ServiceFailureException"} 539 ], 540 "documentation":"<p>The details of the endpoint for the messaging session.</p>" 541 }, 542 "GetMessagingStreamingConfigurations":{ 543 "name":"GetMessagingStreamingConfigurations", 544 "http":{ 545 "method":"GET", 546 "requestUri":"/app-instances/{appInstanceArn}/streaming-configurations", 547 "responseCode":200 548 }, 549 "input":{"shape":"GetMessagingStreamingConfigurationsRequest"}, 550 "output":{"shape":"GetMessagingStreamingConfigurationsResponse"}, 551 "errors":[ 552 {"shape":"BadRequestException"}, 553 {"shape":"ForbiddenException"}, 554 {"shape":"NotFoundException"}, 555 {"shape":"UnauthorizedClientException"}, 556 {"shape":"ThrottledClientException"}, 557 {"shape":"ServiceUnavailableException"}, 558 {"shape":"ServiceFailureException"} 559 ], 560 "documentation":"<p>Retrieves the data streaming configuration for an <code>AppInstance</code>. For more information, see <a href=\"https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html\">Streaming messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>.</p>" 561 }, 562 "ListChannelBans":{ 563 "name":"ListChannelBans", 564 "http":{ 565 "method":"GET", 566 "requestUri":"/channels/{channelArn}/bans", 567 "responseCode":200 568 }, 569 "input":{"shape":"ListChannelBansRequest"}, 570 "output":{"shape":"ListChannelBansResponse"}, 571 "errors":[ 572 {"shape":"BadRequestException"}, 573 {"shape":"ForbiddenException"}, 574 {"shape":"UnauthorizedClientException"}, 575 {"shape":"ThrottledClientException"}, 576 {"shape":"ServiceUnavailableException"}, 577 {"shape":"ServiceFailureException"} 578 ], 579 "documentation":"<p>Lists all the users and bots banned from a particular channel.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>" 580 }, 581 "ListChannelFlows":{ 582 "name":"ListChannelFlows", 583 "http":{ 584 "method":"GET", 585 "requestUri":"/channel-flows", 586 "responseCode":200 587 }, 588 "input":{"shape":"ListChannelFlowsRequest"}, 589 "output":{"shape":"ListChannelFlowsResponse"}, 590 "errors":[ 591 {"shape":"BadRequestException"}, 592 {"shape":"ForbiddenException"}, 593 {"shape":"UnauthorizedClientException"}, 594 {"shape":"ThrottledClientException"}, 595 {"shape":"ServiceUnavailableException"}, 596 {"shape":"ServiceFailureException"} 597 ], 598 "documentation":"<p>Returns a paginated lists of all the channel flows created under a single Chime. This is a developer API.</p>" 599 }, 600 "ListChannelMemberships":{ 601 "name":"ListChannelMemberships", 602 "http":{ 603 "method":"GET", 604 "requestUri":"/channels/{channelArn}/memberships", 605 "responseCode":200 606 }, 607 "input":{"shape":"ListChannelMembershipsRequest"}, 608 "output":{"shape":"ListChannelMembershipsResponse"}, 609 "errors":[ 610 {"shape":"BadRequestException"}, 611 {"shape":"ForbiddenException"}, 612 {"shape":"UnauthorizedClientException"}, 613 {"shape":"ThrottledClientException"}, 614 {"shape":"ServiceUnavailableException"}, 615 {"shape":"ServiceFailureException"} 616 ], 617 "documentation":"<p>Lists all channel memberships in a channel.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note> <p>If you want to list the channels to which a specific app instance user belongs, see the <a href=\"https://docs.aws.amazon.com/chime/latest/APIReference/API_messaging-chime_ListChannelMembershipsForAppInstanceUser.html\">ListChannelMembershipsForAppInstanceUser</a> API.</p>" 618 }, 619 "ListChannelMembershipsForAppInstanceUser":{ 620 "name":"ListChannelMembershipsForAppInstanceUser", 621 "http":{ 622 "method":"GET", 623 "requestUri":"/channels?scope=app-instance-user-memberships", 624 "responseCode":200 625 }, 626 "input":{"shape":"ListChannelMembershipsForAppInstanceUserRequest"}, 627 "output":{"shape":"ListChannelMembershipsForAppInstanceUserResponse"}, 628 "errors":[ 629 {"shape":"BadRequestException"}, 630 {"shape":"ForbiddenException"}, 631 {"shape":"UnauthorizedClientException"}, 632 {"shape":"ThrottledClientException"}, 633 {"shape":"ServiceUnavailableException"}, 634 {"shape":"ServiceFailureException"} 635 ], 636 "documentation":"<p> Lists all channels that an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> is a part of. Only an <code>AppInstanceAdmin</code> can call the API with a user ARN that is not their own. </p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>" 637 }, 638 "ListChannelMessages":{ 639 "name":"ListChannelMessages", 640 "http":{ 641 "method":"GET", 642 "requestUri":"/channels/{channelArn}/messages", 643 "responseCode":200 644 }, 645 "input":{"shape":"ListChannelMessagesRequest"}, 646 "output":{"shape":"ListChannelMessagesResponse"}, 647 "errors":[ 648 {"shape":"BadRequestException"}, 649 {"shape":"ForbiddenException"}, 650 {"shape":"UnauthorizedClientException"}, 651 {"shape":"ThrottledClientException"}, 652 {"shape":"ServiceUnavailableException"}, 653 {"shape":"ServiceFailureException"} 654 ], 655 "documentation":"<p>List all the messages in a channel. Returns a paginated list of <code>ChannelMessages</code>. By default, sorted by creation timestamp in descending order.</p> <note> <p>Redacted messages appear in the results as empty, since they are only redacted, not deleted. Deleted messages do not appear in the results. This action always returns the latest version of an edited message.</p> <p>Also, the <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>" 656 }, 657 "ListChannelModerators":{ 658 "name":"ListChannelModerators", 659 "http":{ 660 "method":"GET", 661 "requestUri":"/channels/{channelArn}/moderators", 662 "responseCode":200 663 }, 664 "input":{"shape":"ListChannelModeratorsRequest"}, 665 "output":{"shape":"ListChannelModeratorsResponse"}, 666 "errors":[ 667 {"shape":"BadRequestException"}, 668 {"shape":"ForbiddenException"}, 669 {"shape":"UnauthorizedClientException"}, 670 {"shape":"ThrottledClientException"}, 671 {"shape":"ServiceUnavailableException"}, 672 {"shape":"ServiceFailureException"} 673 ], 674 "documentation":"<p>Lists all the moderators for a channel.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>" 675 }, 676 "ListChannels":{ 677 "name":"ListChannels", 678 "http":{ 679 "method":"GET", 680 "requestUri":"/channels", 681 "responseCode":200 682 }, 683 "input":{"shape":"ListChannelsRequest"}, 684 "output":{"shape":"ListChannelsResponse"}, 685 "errors":[ 686 {"shape":"BadRequestException"}, 687 {"shape":"ForbiddenException"}, 688 {"shape":"UnauthorizedClientException"}, 689 {"shape":"ThrottledClientException"}, 690 {"shape":"ServiceUnavailableException"}, 691 {"shape":"ServiceFailureException"} 692 ], 693 "documentation":"<p>Lists all Channels created under a single Chime App as a paginated list. You can specify filters to narrow results.</p> <p class=\"title\"> <b>Functionality & restrictions</b> </p> <ul> <li> <p>Use privacy = <code>PUBLIC</code> to retrieve all public channels in the account.</p> </li> <li> <p>Only an <code>AppInstanceAdmin</code> can set privacy = <code>PRIVATE</code> to list the private channels in an account.</p> </li> </ul> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>" 694 }, 695 "ListChannelsAssociatedWithChannelFlow":{ 696 "name":"ListChannelsAssociatedWithChannelFlow", 697 "http":{ 698 "method":"GET", 699 "requestUri":"/channels?scope=channel-flow-associations", 700 "responseCode":200 701 }, 702 "input":{"shape":"ListChannelsAssociatedWithChannelFlowRequest"}, 703 "output":{"shape":"ListChannelsAssociatedWithChannelFlowResponse"}, 704 "errors":[ 705 {"shape":"BadRequestException"}, 706 {"shape":"ForbiddenException"}, 707 {"shape":"UnauthorizedClientException"}, 708 {"shape":"ThrottledClientException"}, 709 {"shape":"ServiceUnavailableException"}, 710 {"shape":"ServiceFailureException"} 711 ], 712 "documentation":"<p>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.</p>" 713 }, 714 "ListChannelsModeratedByAppInstanceUser":{ 715 "name":"ListChannelsModeratedByAppInstanceUser", 716 "http":{ 717 "method":"GET", 718 "requestUri":"/channels?scope=app-instance-user-moderated-channels", 719 "responseCode":200 720 }, 721 "input":{"shape":"ListChannelsModeratedByAppInstanceUserRequest"}, 722 "output":{"shape":"ListChannelsModeratedByAppInstanceUserResponse"}, 723 "errors":[ 724 {"shape":"BadRequestException"}, 725 {"shape":"ForbiddenException"}, 726 {"shape":"UnauthorizedClientException"}, 727 {"shape":"ThrottledClientException"}, 728 {"shape":"ServiceUnavailableException"}, 729 {"shape":"ServiceFailureException"} 730 ], 731 "documentation":"<p>A list of the channels moderated by an <code>AppInstanceUser</code>.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>" 732 }, 733 "ListSubChannels":{ 734 "name":"ListSubChannels", 735 "http":{ 736 "method":"GET", 737 "requestUri":"/channels/{channelArn}/subchannels", 738 "responseCode":200 739 }, 740 "input":{"shape":"ListSubChannelsRequest"}, 741 "output":{"shape":"ListSubChannelsResponse"}, 742 "errors":[ 743 {"shape":"BadRequestException"}, 744 {"shape":"ForbiddenException"}, 745 {"shape":"UnauthorizedClientException"}, 746 {"shape":"ThrottledClientException"}, 747 {"shape":"ServiceUnavailableException"}, 748 {"shape":"ServiceFailureException"} 749 ], 750 "documentation":"<p>Lists all the SubChannels in an elastic channel when given a channel ID. Available only to the app instance admins and channel moderators of elastic channels.</p>" 751 }, 752 "ListTagsForResource":{ 753 "name":"ListTagsForResource", 754 "http":{ 755 "method":"GET", 756 "requestUri":"/tags", 757 "responseCode":200 758 }, 759 "input":{"shape":"ListTagsForResourceRequest"}, 760 "output":{"shape":"ListTagsForResourceResponse"}, 761 "errors":[ 762 {"shape":"BadRequestException"}, 763 {"shape":"ForbiddenException"}, 764 {"shape":"UnauthorizedClientException"}, 765 {"shape":"ThrottledClientException"}, 766 {"shape":"ServiceUnavailableException"}, 767 {"shape":"ServiceFailureException"} 768 ], 769 "documentation":"<p>Lists the tags applied to an Amazon Chime SDK messaging resource.</p>" 770 }, 771 "PutChannelExpirationSettings":{ 772 "name":"PutChannelExpirationSettings", 773 "http":{ 774 "method":"PUT", 775 "requestUri":"/channels/{channelArn}/expiration-settings", 776 "responseCode":200 777 }, 778 "input":{"shape":"PutChannelExpirationSettingsRequest"}, 779 "output":{"shape":"PutChannelExpirationSettingsResponse"}, 780 "errors":[ 781 {"shape":"BadRequestException"}, 782 {"shape":"ForbiddenException"}, 783 {"shape":"ConflictException"}, 784 {"shape":"UnauthorizedClientException"}, 785 {"shape":"ThrottledClientException"}, 786 {"shape":"ServiceUnavailableException"}, 787 {"shape":"ServiceFailureException"} 788 ], 789 "documentation":"<p>Sets the number of days before the channel is automatically deleted.</p> <note> <ul> <li> <p>A background process deletes expired channels within 6 hours of expiration. Actual deletion times may vary.</p> </li> <li> <p>Expired channels that have not yet been deleted appear as active, and you can update their expiration settings. The system honors the new settings.</p> </li> <li> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </li> </ul> </note>" 790 }, 791 "PutChannelMembershipPreferences":{ 792 "name":"PutChannelMembershipPreferences", 793 "http":{ 794 "method":"PUT", 795 "requestUri":"/channels/{channelArn}/memberships/{memberArn}/preferences", 796 "responseCode":200 797 }, 798 "input":{"shape":"PutChannelMembershipPreferencesRequest"}, 799 "output":{"shape":"PutChannelMembershipPreferencesResponse"}, 800 "errors":[ 801 {"shape":"BadRequestException"}, 802 {"shape":"ConflictException"}, 803 {"shape":"UnauthorizedClientException"}, 804 {"shape":"ForbiddenException"}, 805 {"shape":"ThrottledClientException"}, 806 {"shape":"ServiceUnavailableException"}, 807 {"shape":"ServiceFailureException"} 808 ], 809 "documentation":"<p>Sets the membership preferences of an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> 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 <code>AppInstanceAdmin</code> 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.</p> <note> <p>The x-amz-chime-bearer request header is mandatory. Use the ARN of an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>" 810 }, 811 "PutMessagingStreamingConfigurations":{ 812 "name":"PutMessagingStreamingConfigurations", 813 "http":{ 814 "method":"PUT", 815 "requestUri":"/app-instances/{appInstanceArn}/streaming-configurations", 816 "responseCode":200 817 }, 818 "input":{"shape":"PutMessagingStreamingConfigurationsRequest"}, 819 "output":{"shape":"PutMessagingStreamingConfigurationsResponse"}, 820 "errors":[ 821 {"shape":"NotFoundException"}, 822 {"shape":"BadRequestException"}, 823 {"shape":"ForbiddenException"}, 824 {"shape":"UnauthorizedClientException"}, 825 {"shape":"ThrottledClientException"}, 826 {"shape":"ConflictException"}, 827 {"shape":"ServiceUnavailableException"}, 828 {"shape":"ServiceFailureException"} 829 ], 830 "documentation":"<p>Sets the data streaming configuration for an <code>AppInstance</code>. For more information, see <a href=\"https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html\">Streaming messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>.</p>" 831 }, 832 "RedactChannelMessage":{ 833 "name":"RedactChannelMessage", 834 "http":{ 835 "method":"POST", 836 "requestUri":"/channels/{channelArn}/messages/{messageId}?operation=redact", 837 "responseCode":200 838 }, 839 "input":{"shape":"RedactChannelMessageRequest"}, 840 "output":{"shape":"RedactChannelMessageResponse"}, 841 "errors":[ 842 {"shape":"BadRequestException"}, 843 {"shape":"ForbiddenException"}, 844 {"shape":"ConflictException"}, 845 {"shape":"UnauthorizedClientException"}, 846 {"shape":"ThrottledClientException"}, 847 {"shape":"ServiceUnavailableException"}, 848 {"shape":"ServiceFailureException"} 849 ], 850 "documentation":"<p>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.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>" 851 }, 852 "SearchChannels":{ 853 "name":"SearchChannels", 854 "http":{ 855 "method":"POST", 856 "requestUri":"/channels?operation=search", 857 "responseCode":200 858 }, 859 "input":{"shape":"SearchChannelsRequest"}, 860 "output":{"shape":"SearchChannelsResponse"}, 861 "errors":[ 862 {"shape":"BadRequestException"}, 863 {"shape":"ForbiddenException"}, 864 {"shape":"UnauthorizedClientException"}, 865 {"shape":"ThrottledClientException"}, 866 {"shape":"ServiceUnavailableException"}, 867 {"shape":"ServiceFailureException"} 868 ], 869 "documentation":"<p>Allows the <code>ChimeBearer</code> to search channels by channel members. Users or bots can search across the channels that they belong to. Users in the <code>AppInstanceAdmin</code> role can search across all channels.</p> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p>" 870 }, 871 "SendChannelMessage":{ 872 "name":"SendChannelMessage", 873 "http":{ 874 "method":"POST", 875 "requestUri":"/channels/{channelArn}/messages", 876 "responseCode":201 877 }, 878 "input":{"shape":"SendChannelMessageRequest"}, 879 "output":{"shape":"SendChannelMessageResponse"}, 880 "errors":[ 881 {"shape":"BadRequestException"}, 882 {"shape":"ConflictException"}, 883 {"shape":"ForbiddenException"}, 884 {"shape":"UnauthorizedClientException"}, 885 {"shape":"ThrottledClientException"}, 886 {"shape":"ServiceUnavailableException"}, 887 {"shape":"ServiceFailureException"} 888 ], 889 "documentation":"<p>Sends a message to a particular channel that the member is a part of.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> <p>Also, <code>STANDARD</code> 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.</p> <p> <code>CONTROL</code> messages are limited to 30 bytes and do not contain metadata.</p> </note>" 890 }, 891 "TagResource":{ 892 "name":"TagResource", 893 "http":{ 894 "method":"POST", 895 "requestUri":"/tags?operation=tag-resource", 896 "responseCode":204 897 }, 898 "input":{"shape":"TagResourceRequest"}, 899 "errors":[ 900 {"shape":"BadRequestException"}, 901 {"shape":"ForbiddenException"}, 902 {"shape":"UnauthorizedClientException"}, 903 {"shape":"ResourceLimitExceededException"}, 904 {"shape":"ThrottledClientException"}, 905 {"shape":"ServiceUnavailableException"}, 906 {"shape":"ServiceFailureException"} 907 ], 908 "documentation":"<p>Applies the specified tags to the specified Amazon Chime SDK messaging resource.</p>" 909 }, 910 "UntagResource":{ 911 "name":"UntagResource", 912 "http":{ 913 "method":"POST", 914 "requestUri":"/tags?operation=untag-resource", 915 "responseCode":204 916 }, 917 "input":{"shape":"UntagResourceRequest"}, 918 "errors":[ 919 {"shape":"BadRequestException"}, 920 {"shape":"ForbiddenException"}, 921 {"shape":"UnauthorizedClientException"}, 922 {"shape":"ThrottledClientException"}, 923 {"shape":"ServiceUnavailableException"}, 924 {"shape":"ServiceFailureException"} 925 ], 926 "documentation":"<p>Removes the specified tags from the specified Amazon Chime SDK messaging resource.</p>" 927 }, 928 "UpdateChannel":{ 929 "name":"UpdateChannel", 930 "http":{ 931 "method":"PUT", 932 "requestUri":"/channels/{channelArn}", 933 "responseCode":200 934 }, 935 "input":{"shape":"UpdateChannelRequest"}, 936 "output":{"shape":"UpdateChannelResponse"}, 937 "errors":[ 938 {"shape":"BadRequestException"}, 939 {"shape":"ForbiddenException"}, 940 {"shape":"ConflictException"}, 941 {"shape":"UnauthorizedClientException"}, 942 {"shape":"ThrottledClientException"}, 943 {"shape":"ServiceUnavailableException"}, 944 {"shape":"ServiceFailureException"} 945 ], 946 "documentation":"<p>Update a channel's attributes.</p> <p> <b>Restriction</b>: You can't change a channel's privacy. </p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>" 947 }, 948 "UpdateChannelFlow":{ 949 "name":"UpdateChannelFlow", 950 "http":{ 951 "method":"PUT", 952 "requestUri":"/channel-flows/{channelFlowArn}", 953 "responseCode":200 954 }, 955 "input":{"shape":"UpdateChannelFlowRequest"}, 956 "output":{"shape":"UpdateChannelFlowResponse"}, 957 "errors":[ 958 {"shape":"BadRequestException"}, 959 {"shape":"ForbiddenException"}, 960 {"shape":"UnauthorizedClientException"}, 961 {"shape":"ConflictException"}, 962 {"shape":"ThrottledClientException"}, 963 {"shape":"ServiceUnavailableException"}, 964 {"shape":"ServiceFailureException"} 965 ], 966 "documentation":"<p>Updates channel flow attributes. This is a developer API.</p>" 967 }, 968 "UpdateChannelMessage":{ 969 "name":"UpdateChannelMessage", 970 "http":{ 971 "method":"PUT", 972 "requestUri":"/channels/{channelArn}/messages/{messageId}", 973 "responseCode":200 974 }, 975 "input":{"shape":"UpdateChannelMessageRequest"}, 976 "output":{"shape":"UpdateChannelMessageResponse"}, 977 "errors":[ 978 {"shape":"BadRequestException"}, 979 {"shape":"ConflictException"}, 980 {"shape":"ForbiddenException"}, 981 {"shape":"UnauthorizedClientException"}, 982 {"shape":"ThrottledClientException"}, 983 {"shape":"ServiceUnavailableException"}, 984 {"shape":"ServiceFailureException"} 985 ], 986 "documentation":"<p>Updates the content of a message.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>" 987 }, 988 "UpdateChannelReadMarker":{ 989 "name":"UpdateChannelReadMarker", 990 "http":{ 991 "method":"PUT", 992 "requestUri":"/channels/{channelArn}/readMarker", 993 "responseCode":200 994 }, 995 "input":{"shape":"UpdateChannelReadMarkerRequest"}, 996 "output":{"shape":"UpdateChannelReadMarkerResponse"}, 997 "errors":[ 998 {"shape":"BadRequestException"}, 999 {"shape":"ForbiddenException"}, 1000 {"shape":"ConflictException"}, 1001 {"shape":"UnauthorizedClientException"}, 1002 {"shape":"ThrottledClientException"}, 1003 {"shape":"ServiceUnavailableException"}, 1004 {"shape":"ServiceFailureException"} 1005 ], 1006 "documentation":"<p>The details of the time when a user last read messages in a channel.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>" 1007 } 1008 }, 1009 "shapes":{ 1010 "AllowNotifications":{ 1011 "type":"string", 1012 "enum":[ 1013 "ALL", 1014 "NONE", 1015 "FILTERED" 1016 ] 1017 }, 1018 "AppInstanceUserMembershipSummary":{ 1019 "type":"structure", 1020 "members":{ 1021 "Type":{ 1022 "shape":"ChannelMembershipType", 1023 "documentation":"<p>The type of <code>ChannelMembership</code>.</p>" 1024 }, 1025 "ReadMarkerTimestamp":{ 1026 "shape":"Timestamp", 1027 "documentation":"<p>The time at which an <code>AppInstanceUser</code> last marked a channel as read.</p>" 1028 }, 1029 "SubChannelId":{ 1030 "shape":"SubChannelId", 1031 "documentation":"<p>The ID of the SubChannel that the <code>AppInstanceUser</code> is a member of.</p>" 1032 } 1033 }, 1034 "documentation":"<p>Summary of the membership details of an <code>AppInstanceUser</code>.</p>" 1035 }, 1036 "AssociateChannelFlowRequest":{ 1037 "type":"structure", 1038 "required":[ 1039 "ChannelArn", 1040 "ChannelFlowArn", 1041 "ChimeBearer" 1042 ], 1043 "members":{ 1044 "ChannelArn":{ 1045 "shape":"ChimeArn", 1046 "documentation":"<p>The ARN of the channel.</p>", 1047 "location":"uri", 1048 "locationName":"channelArn" 1049 }, 1050 "ChannelFlowArn":{ 1051 "shape":"ChimeArn", 1052 "documentation":"<p>The ARN of the channel flow.</p>" 1053 }, 1054 "ChimeBearer":{ 1055 "shape":"ChimeArn", 1056 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user making the API call.</p>", 1057 "location":"header", 1058 "locationName":"x-amz-chime-bearer" 1059 } 1060 } 1061 }, 1062 "BadRequestException":{ 1063 "type":"structure", 1064 "members":{ 1065 "Code":{"shape":"ErrorCode"}, 1066 "Message":{"shape":"String"} 1067 }, 1068 "documentation":"<p>The input parameters don't match the service's restrictions.</p>", 1069 "error":{"httpStatusCode":400}, 1070 "exception":true 1071 }, 1072 "BatchChannelMemberships":{ 1073 "type":"structure", 1074 "members":{ 1075 "InvitedBy":{ 1076 "shape":"Identity", 1077 "documentation":"<p>The identifier of the member who invited another member.</p>" 1078 }, 1079 "Type":{ 1080 "shape":"ChannelMembershipType", 1081 "documentation":"<p>The membership types set for the channel members.</p>" 1082 }, 1083 "Members":{ 1084 "shape":"Members", 1085 "documentation":"<p>The users successfully added to the request.</p>" 1086 }, 1087 "ChannelArn":{ 1088 "shape":"ChimeArn", 1089 "documentation":"<p>The ARN of the channel to which you're adding members.</p>" 1090 }, 1091 "SubChannelId":{ 1092 "shape":"SubChannelId", 1093 "documentation":"<p>The ID of the SubChannel.</p>" 1094 } 1095 }, 1096 "documentation":"<p>The membership information, including member ARNs, the channel ARN, and membership types.</p>" 1097 }, 1098 "BatchCreateChannelMembershipError":{ 1099 "type":"structure", 1100 "members":{ 1101 "MemberArn":{ 1102 "shape":"ChimeArn", 1103 "documentation":"<p>The <code>AppInstanceUserArn</code> of the member that the service couldn't add.</p>" 1104 }, 1105 "ErrorCode":{ 1106 "shape":"ErrorCode", 1107 "documentation":"<p>The error code.</p>" 1108 }, 1109 "ErrorMessage":{ 1110 "shape":"String", 1111 "documentation":"<p>The error message.</p>" 1112 } 1113 }, 1114 "documentation":"<p>A list of failed member ARNs, error codes, and error messages.</p>" 1115 }, 1116 "BatchCreateChannelMembershipErrors":{ 1117 "type":"list", 1118 "member":{"shape":"BatchCreateChannelMembershipError"} 1119 }, 1120 "BatchCreateChannelMembershipRequest":{ 1121 "type":"structure", 1122 "required":[ 1123 "ChannelArn", 1124 "MemberArns", 1125 "ChimeBearer" 1126 ], 1127 "members":{ 1128 "ChannelArn":{ 1129 "shape":"ChimeArn", 1130 "documentation":"<p>The ARN of the channel to which you're adding users or bots.</p>", 1131 "location":"uri", 1132 "locationName":"channelArn" 1133 }, 1134 "Type":{ 1135 "shape":"ChannelMembershipType", 1136 "documentation":"<p>The membership type of a user, <code>DEFAULT</code> or <code>HIDDEN</code>. Default members are always returned as part of <code>ListChannelMemberships</code>. Hidden members are only returned if the type filter in <code>ListChannelMemberships</code> equals <code>HIDDEN</code>. Otherwise hidden members are not returned. This is only supported by moderators.</p>" 1137 }, 1138 "MemberArns":{ 1139 "shape":"MemberArns", 1140 "documentation":"<p>The ARNs of the members you want to add to the channel. Only <code>AppInstanceUsers</code> and <code>AppInstanceBots</code> can be added as a channel member.</p>" 1141 }, 1142 "ChimeBearer":{ 1143 "shape":"ChimeArn", 1144 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 1145 "location":"header", 1146 "locationName":"x-amz-chime-bearer" 1147 }, 1148 "SubChannelId":{ 1149 "shape":"SubChannelId", 1150 "documentation":"<p>The ID of the SubChannel in the request. </p> <note> <p>Only required when creating membership in a SubChannel for a moderator in an elastic channel.</p> </note>" 1151 } 1152 } 1153 }, 1154 "BatchCreateChannelMembershipResponse":{ 1155 "type":"structure", 1156 "members":{ 1157 "BatchChannelMemberships":{ 1158 "shape":"BatchChannelMemberships", 1159 "documentation":"<p>The list of channel memberships in the response.</p>" 1160 }, 1161 "Errors":{ 1162 "shape":"BatchCreateChannelMembershipErrors", 1163 "documentation":"<p>If the action fails for one or more of the memberships in the request, a list of the memberships is returned, along with error codes and error messages.</p>" 1164 } 1165 } 1166 }, 1167 "CallbackIdType":{ 1168 "type":"string", 1169 "max":64, 1170 "min":32 1171 }, 1172 "Channel":{ 1173 "type":"structure", 1174 "members":{ 1175 "Name":{ 1176 "shape":"NonEmptyResourceName", 1177 "documentation":"<p>The name of a channel.</p>" 1178 }, 1179 "ChannelArn":{ 1180 "shape":"ChimeArn", 1181 "documentation":"<p>The ARN of a channel.</p>" 1182 }, 1183 "Mode":{ 1184 "shape":"ChannelMode", 1185 "documentation":"<p>The mode of the channel.</p>" 1186 }, 1187 "Privacy":{ 1188 "shape":"ChannelPrivacy", 1189 "documentation":"<p>The channel's privacy setting.</p>" 1190 }, 1191 "Metadata":{ 1192 "shape":"Metadata", 1193 "documentation":"<p>The channel's metadata.</p>" 1194 }, 1195 "CreatedBy":{ 1196 "shape":"Identity", 1197 "documentation":"<p>The <code>AppInstanceUser</code> who created the channel.</p>" 1198 }, 1199 "CreatedTimestamp":{ 1200 "shape":"Timestamp", 1201 "documentation":"<p>The time at which the <code>AppInstanceUser</code> created the channel.</p>" 1202 }, 1203 "LastMessageTimestamp":{ 1204 "shape":"Timestamp", 1205 "documentation":"<p>The time at which a member sent the last message in the channel.</p>" 1206 }, 1207 "LastUpdatedTimestamp":{ 1208 "shape":"Timestamp", 1209 "documentation":"<p>The time at which a channel was last updated.</p>" 1210 }, 1211 "ChannelFlowArn":{ 1212 "shape":"ChimeArn", 1213 "documentation":"<p>The ARN of the channel flow.</p>" 1214 }, 1215 "ElasticChannelConfiguration":{ 1216 "shape":"ElasticChannelConfiguration", 1217 "documentation":"<p>The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million members.</p>" 1218 }, 1219 "ExpirationSettings":{ 1220 "shape":"ExpirationSettings", 1221 "documentation":"<p>Settings that control when a channel expires.</p>" 1222 } 1223 }, 1224 "documentation":"<p>The details of a channel.</p>" 1225 }, 1226 "ChannelAssociatedWithFlowSummary":{ 1227 "type":"structure", 1228 "members":{ 1229 "Name":{ 1230 "shape":"NonEmptyResourceName", 1231 "documentation":"<p>The name of the channel flow.</p>" 1232 }, 1233 "ChannelArn":{ 1234 "shape":"ChimeArn", 1235 "documentation":"<p>The ARN of the channel.</p>" 1236 }, 1237 "Mode":{ 1238 "shape":"ChannelMode", 1239 "documentation":"<p>The mode of the channel.</p>" 1240 }, 1241 "Privacy":{ 1242 "shape":"ChannelPrivacy", 1243 "documentation":"<p>The channel's privacy setting.</p>" 1244 }, 1245 "Metadata":{ 1246 "shape":"Metadata", 1247 "documentation":"<p>The channel's metadata.</p>" 1248 } 1249 }, 1250 "documentation":"<p>Summary of details of a channel associated with channel flow.</p>" 1251 }, 1252 "ChannelAssociatedWithFlowSummaryList":{ 1253 "type":"list", 1254 "member":{"shape":"ChannelAssociatedWithFlowSummary"} 1255 }, 1256 "ChannelBan":{ 1257 "type":"structure", 1258 "members":{ 1259 "Member":{ 1260 "shape":"Identity", 1261 "documentation":"<p>The member being banned from the channel.</p>" 1262 }, 1263 "ChannelArn":{ 1264 "shape":"ChimeArn", 1265 "documentation":"<p>The ARN of the channel from which a member is being banned.</p>" 1266 }, 1267 "CreatedTimestamp":{ 1268 "shape":"Timestamp", 1269 "documentation":"<p>The time at which the ban was created.</p>" 1270 }, 1271 "CreatedBy":{ 1272 "shape":"Identity", 1273 "documentation":"<p>The <code>AppInstanceUser</code> who created the ban.</p>" 1274 } 1275 }, 1276 "documentation":"<p>The details of a channel ban.</p>" 1277 }, 1278 "ChannelBanSummary":{ 1279 "type":"structure", 1280 "members":{ 1281 "Member":{ 1282 "shape":"Identity", 1283 "documentation":"<p>The member being banned from a channel.</p>" 1284 } 1285 }, 1286 "documentation":"<p>Summary of the details of a <code>ChannelBan</code>.</p>" 1287 }, 1288 "ChannelBanSummaryList":{ 1289 "type":"list", 1290 "member":{"shape":"ChannelBanSummary"} 1291 }, 1292 "ChannelFlow":{ 1293 "type":"structure", 1294 "members":{ 1295 "ChannelFlowArn":{ 1296 "shape":"ChimeArn", 1297 "documentation":"<p>The ARN of the channel flow.</p>" 1298 }, 1299 "Processors":{ 1300 "shape":"ProcessorList", 1301 "documentation":"<p>Information about the processor Lambda functions.</p>" 1302 }, 1303 "Name":{ 1304 "shape":"NonEmptyResourceName", 1305 "documentation":"<p>The name of the channel flow.</p>" 1306 }, 1307 "CreatedTimestamp":{ 1308 "shape":"Timestamp", 1309 "documentation":"<p>The time at which the channel flow was created.</p>" 1310 }, 1311 "LastUpdatedTimestamp":{ 1312 "shape":"Timestamp", 1313 "documentation":"<p>The time at which a channel flow was updated.</p>" 1314 } 1315 }, 1316 "documentation":"<p>The details of a channel flow.</p>" 1317 }, 1318 "ChannelFlowCallbackRequest":{ 1319 "type":"structure", 1320 "required":[ 1321 "CallbackId", 1322 "ChannelArn", 1323 "ChannelMessage" 1324 ], 1325 "members":{ 1326 "CallbackId":{ 1327 "shape":"CallbackIdType", 1328 "documentation":"<p>The identifier passed to the processor by the service when invoked. Use the identifier to call back the service.</p>", 1329 "idempotencyToken":true 1330 }, 1331 "ChannelArn":{ 1332 "shape":"ChimeArn", 1333 "documentation":"<p>The ARN of the channel.</p>", 1334 "location":"uri", 1335 "locationName":"channelArn" 1336 }, 1337 "DeleteResource":{ 1338 "shape":"NonNullableBoolean", 1339 "documentation":"<p>When a processor determines that a message needs to be <code>DENIED</code>, pass this parameter with a value of true.</p>" 1340 }, 1341 "ChannelMessage":{ 1342 "shape":"ChannelMessageCallback", 1343 "documentation":"<p>Stores information about the processed message.</p>" 1344 } 1345 } 1346 }, 1347 "ChannelFlowCallbackResponse":{ 1348 "type":"structure", 1349 "members":{ 1350 "ChannelArn":{ 1351 "shape":"ChimeArn", 1352 "documentation":"<p>The ARN of the channel.</p>" 1353 }, 1354 "CallbackId":{ 1355 "shape":"CallbackIdType", 1356 "documentation":"<p>The call back ID passed in the request.</p>" 1357 } 1358 } 1359 }, 1360 "ChannelFlowExecutionOrder":{ 1361 "type":"integer", 1362 "max":3, 1363 "min":1 1364 }, 1365 "ChannelFlowSummary":{ 1366 "type":"structure", 1367 "members":{ 1368 "ChannelFlowArn":{ 1369 "shape":"ChimeArn", 1370 "documentation":"<p>The ARN of the channel flow.</p>" 1371 }, 1372 "Name":{ 1373 "shape":"NonEmptyResourceName", 1374 "documentation":"<p>The name of the channel flow.</p>" 1375 }, 1376 "Processors":{ 1377 "shape":"ProcessorList", 1378 "documentation":"<p>Information about the processor Lambda functions.</p>" 1379 } 1380 }, 1381 "documentation":"<p>Summary of details of a channel flow.</p>" 1382 }, 1383 "ChannelFlowSummaryList":{ 1384 "type":"list", 1385 "member":{"shape":"ChannelFlowSummary"} 1386 }, 1387 "ChannelId":{ 1388 "type":"string", 1389 "max":64, 1390 "min":1, 1391 "pattern":"[A-Za-z0-9]([A-Za-z0-9\\:\\-\\_\\.\\@]{0,62}[A-Za-z0-9])?", 1392 "sensitive":true 1393 }, 1394 "ChannelMemberArns":{ 1395 "type":"list", 1396 "member":{"shape":"ChimeArn"}, 1397 "max":10, 1398 "min":1 1399 }, 1400 "ChannelMembership":{ 1401 "type":"structure", 1402 "members":{ 1403 "InvitedBy":{ 1404 "shape":"Identity", 1405 "documentation":"<p>The identifier of the member who invited another member.</p>" 1406 }, 1407 "Type":{ 1408 "shape":"ChannelMembershipType", 1409 "documentation":"<p>The membership type set for the channel member.</p>" 1410 }, 1411 "Member":{ 1412 "shape":"Identity", 1413 "documentation":"<p>The data of the channel member.</p>" 1414 }, 1415 "ChannelArn":{ 1416 "shape":"ChimeArn", 1417 "documentation":"<p>The ARN of the member's channel.</p>" 1418 }, 1419 "CreatedTimestamp":{ 1420 "shape":"Timestamp", 1421 "documentation":"<p>The time at which the channel membership was created.</p>" 1422 }, 1423 "LastUpdatedTimestamp":{ 1424 "shape":"Timestamp", 1425 "documentation":"<p>The time at which a channel membership was last updated.</p>" 1426 }, 1427 "SubChannelId":{ 1428 "shape":"SubChannelId", 1429 "documentation":"<p>The ID of the SubChannel that a user belongs to.</p>" 1430 } 1431 }, 1432 "documentation":"<p>The details of a channel member.</p>" 1433 }, 1434 "ChannelMembershipForAppInstanceUserSummary":{ 1435 "type":"structure", 1436 "members":{ 1437 "ChannelSummary":{ 1438 "shape":"ChannelSummary", 1439 "documentation":"<p>Returns the channel data for an <code>AppInstance</code>.</p>" 1440 }, 1441 "AppInstanceUserMembershipSummary":{ 1442 "shape":"AppInstanceUserMembershipSummary", 1443 "documentation":"<p>Returns the channel membership data for an <code>AppInstance</code>.</p>" 1444 } 1445 }, 1446 "documentation":"<p>Summary of the channel membership details of an <code>AppInstanceUser</code>.</p>" 1447 }, 1448 "ChannelMembershipForAppInstanceUserSummaryList":{ 1449 "type":"list", 1450 "member":{"shape":"ChannelMembershipForAppInstanceUserSummary"} 1451 }, 1452 "ChannelMembershipPreferences":{ 1453 "type":"structure", 1454 "members":{ 1455 "PushNotifications":{ 1456 "shape":"PushNotificationPreferences", 1457 "documentation":"<p>The push notification configuration of a message.</p>" 1458 } 1459 }, 1460 "documentation":"<p>The channel membership preferences for an <code>AppInstanceUser</code>.</p>" 1461 }, 1462 "ChannelMembershipSummary":{ 1463 "type":"structure", 1464 "members":{ 1465 "Member":{ 1466 "shape":"Identity", 1467 "documentation":"<p>A member's summary data.</p>" 1468 } 1469 }, 1470 "documentation":"<p>Summary of the details of a <code>ChannelMembership</code>.</p>" 1471 }, 1472 "ChannelMembershipSummaryList":{ 1473 "type":"list", 1474 "member":{"shape":"ChannelMembershipSummary"} 1475 }, 1476 "ChannelMembershipType":{ 1477 "type":"string", 1478 "enum":[ 1479 "DEFAULT", 1480 "HIDDEN" 1481 ] 1482 }, 1483 "ChannelMessage":{ 1484 "type":"structure", 1485 "members":{ 1486 "ChannelArn":{ 1487 "shape":"ChimeArn", 1488 "documentation":"<p>The ARN of the channel.</p>" 1489 }, 1490 "MessageId":{ 1491 "shape":"MessageId", 1492 "documentation":"<p>The ID of a message.</p>" 1493 }, 1494 "Content":{ 1495 "shape":"Content", 1496 "documentation":"<p>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 <a href=\"https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html\">Processing responses from an AppInstanceBot</a> in the <i>Amazon Chime SDK Messaging Developer Guide</i>.</p>" 1497 }, 1498 "Metadata":{ 1499 "shape":"Metadata", 1500 "documentation":"<p>The message metadata.</p>" 1501 }, 1502 "Type":{ 1503 "shape":"ChannelMessageType", 1504 "documentation":"<p>The message type.</p>" 1505 }, 1506 "CreatedTimestamp":{ 1507 "shape":"Timestamp", 1508 "documentation":"<p>The time at which the message was created.</p>" 1509 }, 1510 "LastEditedTimestamp":{ 1511 "shape":"Timestamp", 1512 "documentation":"<p>The time at which a message was edited.</p>" 1513 }, 1514 "LastUpdatedTimestamp":{ 1515 "shape":"Timestamp", 1516 "documentation":"<p>The time at which a message was updated.</p>" 1517 }, 1518 "Sender":{ 1519 "shape":"Identity", 1520 "documentation":"<p>The message sender.</p>" 1521 }, 1522 "Redacted":{ 1523 "shape":"NonNullableBoolean", 1524 "documentation":"<p>Hides the content of a message.</p>" 1525 }, 1526 "Persistence":{ 1527 "shape":"ChannelMessagePersistenceType", 1528 "documentation":"<p>The persistence setting for a channel message.</p>" 1529 }, 1530 "Status":{ 1531 "shape":"ChannelMessageStatusStructure", 1532 "documentation":"<p>The status of the channel message.</p>" 1533 }, 1534 "MessageAttributes":{ 1535 "shape":"MessageAttributeMap", 1536 "documentation":"<p>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 <a href=\"https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html\">Processing responses from an AppInstanceBot</a> in the <i>Amazon Chime SDK Messaging Developer Guide</i>.</p>" 1537 }, 1538 "SubChannelId":{ 1539 "shape":"SubChannelId", 1540 "documentation":"<p>The ID of the SubChannel.</p>" 1541 }, 1542 "ContentType":{ 1543 "shape":"ContentType", 1544 "documentation":"<p>The content type of the channel message. For Amazon Lex V2 bot responses, the content type is <code>application/amz-chime-lex-msgs</code> for success responses and <code>application/amz-chime-lex-error</code> for failure responses. For more information, refer to <a href=\"https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html\">Processing responses from an AppInstanceBot</a> in the <i>Amazon Chime SDK Messaging Developer Guide</i>.</p>" 1545 }, 1546 "Target":{ 1547 "shape":"TargetList", 1548 "documentation":"<p>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.</p>" 1549 } 1550 }, 1551 "documentation":"<p>The details of a message in a channel.</p>" 1552 }, 1553 "ChannelMessageCallback":{ 1554 "type":"structure", 1555 "required":["MessageId"], 1556 "members":{ 1557 "MessageId":{ 1558 "shape":"MessageId", 1559 "documentation":"<p>The message ID.</p>" 1560 }, 1561 "Content":{ 1562 "shape":"NonEmptyContent", 1563 "documentation":"<p>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 <a href=\"https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html\">Processing responses from an AppInstanceBot</a> in the <i>Amazon Chime SDK Messaging Developer Guide</i>.</p>" 1564 }, 1565 "Metadata":{ 1566 "shape":"Metadata", 1567 "documentation":"<p>The message metadata.</p>" 1568 }, 1569 "PushNotification":{ 1570 "shape":"PushNotificationConfiguration", 1571 "documentation":"<p>The push notification configuration of the message.</p>" 1572 }, 1573 "MessageAttributes":{ 1574 "shape":"MessageAttributeMap", 1575 "documentation":"<p>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 <a href=\"https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html\">Processing responses from an AppInstanceBot</a> in the <i>Amazon Chime SDK Messaging Developer Guide</i>.</p>" 1576 }, 1577 "SubChannelId":{ 1578 "shape":"SubChannelId", 1579 "documentation":"<p>The ID of the SubChannel.</p>" 1580 }, 1581 "ContentType":{ 1582 "shape":"ContentType", 1583 "documentation":"<p>The content type of the call-back message. For Amazon Lex V2 bot responses, the content type is <code>application/amz-chime-lex-msgs</code> for success responses and <code>application/amz-chime-lex-error</code> for failure responses. For more information, refer to <a href=\"https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html\">Processing responses from an AppInstanceBot</a> in the <i>Amazon Chime SDK Messaging Developer Guide</i>.</p>" 1584 } 1585 }, 1586 "documentation":"<p>Stores information about a callback.</p>" 1587 }, 1588 "ChannelMessagePersistenceType":{ 1589 "type":"string", 1590 "enum":[ 1591 "PERSISTENT", 1592 "NON_PERSISTENT" 1593 ] 1594 }, 1595 "ChannelMessageStatus":{ 1596 "type":"string", 1597 "enum":[ 1598 "SENT", 1599 "PENDING", 1600 "FAILED", 1601 "DENIED" 1602 ] 1603 }, 1604 "ChannelMessageStatusStructure":{ 1605 "type":"structure", 1606 "members":{ 1607 "Value":{ 1608 "shape":"ChannelMessageStatus", 1609 "documentation":"<p>The message status value.</p>" 1610 }, 1611 "Detail":{ 1612 "shape":"StatusDetail", 1613 "documentation":"<p>Contains more details about the message status.</p>" 1614 } 1615 }, 1616 "documentation":"<p>Stores information about a message status.</p>" 1617 }, 1618 "ChannelMessageSummary":{ 1619 "type":"structure", 1620 "members":{ 1621 "MessageId":{ 1622 "shape":"MessageId", 1623 "documentation":"<p>The ID of the message.</p>" 1624 }, 1625 "Content":{ 1626 "shape":"Content", 1627 "documentation":"<p>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 <a href=\"https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html\">Processing responses from an AppInstanceBot</a> in the <i>Amazon Chime SDK Messaging Developer Guide</i>.</p>" 1628 }, 1629 "Metadata":{ 1630 "shape":"Metadata", 1631 "documentation":"<p>The metadata of the message.</p>" 1632 }, 1633 "Type":{ 1634 "shape":"ChannelMessageType", 1635 "documentation":"<p>The type of message.</p>" 1636 }, 1637 "CreatedTimestamp":{ 1638 "shape":"Timestamp", 1639 "documentation":"<p>The time at which the message summary was created.</p>" 1640 }, 1641 "LastUpdatedTimestamp":{ 1642 "shape":"Timestamp", 1643 "documentation":"<p>The time at which a message was last updated.</p>" 1644 }, 1645 "LastEditedTimestamp":{ 1646 "shape":"Timestamp", 1647 "documentation":"<p>The time at which a message was last edited.</p>" 1648 }, 1649 "Sender":{ 1650 "shape":"Identity", 1651 "documentation":"<p>The message sender.</p>" 1652 }, 1653 "Redacted":{ 1654 "shape":"NonNullableBoolean", 1655 "documentation":"<p>Indicates whether a message was redacted.</p>" 1656 }, 1657 "Status":{ 1658 "shape":"ChannelMessageStatusStructure", 1659 "documentation":"<p>The message status. The status value is <code>SENT</code> for messages sent to a channel without a channel flow. For channels associated with channel flow, the value determines the processing stage.</p>" 1660 }, 1661 "MessageAttributes":{ 1662 "shape":"MessageAttributeMap", 1663 "documentation":"<p>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 <a href=\"https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html\">Processing responses from an AppInstanceBot</a> in the <i>Amazon Chime SDK Messaging Developer Guide</i>.</p>" 1664 }, 1665 "ContentType":{ 1666 "shape":"ContentType", 1667 "documentation":"<p>The content type of the channel message listed in the summary. For Amazon Lex V2 bot responses, the content type is <code>application/amz-chime-lex-msgs</code> for success responses and <code>application/amz-chime-lex-error</code> for failure responses. For more information, refer to <a href=\"https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html\">Processing responses from an AppInstanceBot</a> in the <i>Amazon Chime SDK Messaging Developer Guide</i>.</p>" 1668 }, 1669 "Target":{ 1670 "shape":"TargetList", 1671 "documentation":"<p>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.</p>" 1672 } 1673 }, 1674 "documentation":"<p>Summary of the messages in a <code>Channel</code>.</p>" 1675 }, 1676 "ChannelMessageSummaryList":{ 1677 "type":"list", 1678 "member":{"shape":"ChannelMessageSummary"} 1679 }, 1680 "ChannelMessageType":{ 1681 "type":"string", 1682 "enum":[ 1683 "STANDARD", 1684 "CONTROL" 1685 ] 1686 }, 1687 "ChannelMode":{ 1688 "type":"string", 1689 "enum":[ 1690 "UNRESTRICTED", 1691 "RESTRICTED" 1692 ] 1693 }, 1694 "ChannelModeratedByAppInstanceUserSummary":{ 1695 "type":"structure", 1696 "members":{ 1697 "ChannelSummary":{ 1698 "shape":"ChannelSummary", 1699 "documentation":"<p>Summary of the details of a <code>Channel</code>.</p>" 1700 } 1701 }, 1702 "documentation":"<p>Summary of the details of a moderated channel.</p>" 1703 }, 1704 "ChannelModeratedByAppInstanceUserSummaryList":{ 1705 "type":"list", 1706 "member":{"shape":"ChannelModeratedByAppInstanceUserSummary"} 1707 }, 1708 "ChannelModerator":{ 1709 "type":"structure", 1710 "members":{ 1711 "Moderator":{ 1712 "shape":"Identity", 1713 "documentation":"<p>The moderator's data.</p>" 1714 }, 1715 "ChannelArn":{ 1716 "shape":"ChimeArn", 1717 "documentation":"<p>The ARN of the moderator's channel.</p>" 1718 }, 1719 "CreatedTimestamp":{ 1720 "shape":"Timestamp", 1721 "documentation":"<p>The time at which the moderator was created.</p>" 1722 }, 1723 "CreatedBy":{ 1724 "shape":"Identity", 1725 "documentation":"<p>The <code>AppInstanceUser</code> who created the moderator.</p>" 1726 } 1727 }, 1728 "documentation":"<p>The details of a channel moderator.</p>" 1729 }, 1730 "ChannelModeratorArns":{ 1731 "type":"list", 1732 "member":{"shape":"ChimeArn"}, 1733 "max":10, 1734 "min":1 1735 }, 1736 "ChannelModeratorSummary":{ 1737 "type":"structure", 1738 "members":{ 1739 "Moderator":{ 1740 "shape":"Identity", 1741 "documentation":"<p>The data for a moderator.</p>" 1742 } 1743 }, 1744 "documentation":"<p>Summary of the details of a <code>ChannelModerator</code>.</p>" 1745 }, 1746 "ChannelModeratorSummaryList":{ 1747 "type":"list", 1748 "member":{"shape":"ChannelModeratorSummary"} 1749 }, 1750 "ChannelPrivacy":{ 1751 "type":"string", 1752 "enum":[ 1753 "PUBLIC", 1754 "PRIVATE" 1755 ] 1756 }, 1757 "ChannelSummary":{ 1758 "type":"structure", 1759 "members":{ 1760 "Name":{ 1761 "shape":"NonEmptyResourceName", 1762 "documentation":"<p>The name of the channel.</p>" 1763 }, 1764 "ChannelArn":{ 1765 "shape":"ChimeArn", 1766 "documentation":"<p>The ARN of the channel.</p>" 1767 }, 1768 "Mode":{ 1769 "shape":"ChannelMode", 1770 "documentation":"<p>The mode of the channel.</p>" 1771 }, 1772 "Privacy":{ 1773 "shape":"ChannelPrivacy", 1774 "documentation":"<p>The privacy setting of the channel.</p>" 1775 }, 1776 "Metadata":{ 1777 "shape":"Metadata", 1778 "documentation":"<p>The metadata of the channel.</p>" 1779 }, 1780 "LastMessageTimestamp":{ 1781 "shape":"Timestamp", 1782 "documentation":"<p>The time at which the last persistent message visible to the caller in a channel was sent.</p>" 1783 } 1784 }, 1785 "documentation":"<p>Summary of the details of a <code>Channel</code>.</p>" 1786 }, 1787 "ChannelSummaryList":{ 1788 "type":"list", 1789 "member":{"shape":"ChannelSummary"} 1790 }, 1791 "ChimeArn":{ 1792 "type":"string", 1793 "max":1600, 1794 "min":5, 1795 "pattern":"arn:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[^/].{0,1023}" 1796 }, 1797 "ClientRequestToken":{ 1798 "type":"string", 1799 "max":64, 1800 "min":2, 1801 "pattern":"[-_a-zA-Z0-9]*", 1802 "sensitive":true 1803 }, 1804 "ConflictException":{ 1805 "type":"structure", 1806 "members":{ 1807 "Code":{"shape":"ErrorCode"}, 1808 "Message":{"shape":"String"} 1809 }, 1810 "documentation":"<p>The request could not be processed because of conflict in the current state of the resource.</p>", 1811 "error":{"httpStatusCode":409}, 1812 "exception":true 1813 }, 1814 "Content":{ 1815 "type":"string", 1816 "max":4096, 1817 "min":0, 1818 "pattern":"[\\s\\S]*", 1819 "sensitive":true 1820 }, 1821 "ContentType":{ 1822 "type":"string", 1823 "max":45, 1824 "min":0, 1825 "pattern":"[\\s\\S]*", 1826 "sensitive":true 1827 }, 1828 "CreateChannelBanRequest":{ 1829 "type":"structure", 1830 "required":[ 1831 "ChannelArn", 1832 "MemberArn", 1833 "ChimeBearer" 1834 ], 1835 "members":{ 1836 "ChannelArn":{ 1837 "shape":"ChimeArn", 1838 "documentation":"<p>The ARN of the ban request.</p>", 1839 "location":"uri", 1840 "locationName":"channelArn" 1841 }, 1842 "MemberArn":{ 1843 "shape":"ChimeArn", 1844 "documentation":"<p>The <code>AppInstanceUserArn</code> of the member being banned.</p>" 1845 }, 1846 "ChimeBearer":{ 1847 "shape":"ChimeArn", 1848 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 1849 "location":"header", 1850 "locationName":"x-amz-chime-bearer" 1851 } 1852 } 1853 }, 1854 "CreateChannelBanResponse":{ 1855 "type":"structure", 1856 "members":{ 1857 "ChannelArn":{ 1858 "shape":"ChimeArn", 1859 "documentation":"<p>The ARN of the response to the ban request.</p>" 1860 }, 1861 "Member":{ 1862 "shape":"Identity", 1863 "documentation":"<p>The <code>ChannelArn</code> and <code>BannedIdentity</code> of the member in the ban response.</p>" 1864 } 1865 } 1866 }, 1867 "CreateChannelFlowRequest":{ 1868 "type":"structure", 1869 "required":[ 1870 "AppInstanceArn", 1871 "Processors", 1872 "Name", 1873 "ClientRequestToken" 1874 ], 1875 "members":{ 1876 "AppInstanceArn":{ 1877 "shape":"ChimeArn", 1878 "documentation":"<p>The ARN of the channel flow request.</p>" 1879 }, 1880 "Processors":{ 1881 "shape":"ProcessorList", 1882 "documentation":"<p>Information about the processor Lambda functions.</p>" 1883 }, 1884 "Name":{ 1885 "shape":"NonEmptyResourceName", 1886 "documentation":"<p>The name of the channel flow.</p>" 1887 }, 1888 "Tags":{ 1889 "shape":"TagList", 1890 "documentation":"<p>The tags for the creation request.</p>" 1891 }, 1892 "ClientRequestToken":{ 1893 "shape":"ClientRequestToken", 1894 "documentation":"<p>The client token for the request. An Idempotency token.</p>", 1895 "idempotencyToken":true 1896 } 1897 } 1898 }, 1899 "CreateChannelFlowResponse":{ 1900 "type":"structure", 1901 "members":{ 1902 "ChannelFlowArn":{ 1903 "shape":"ChimeArn", 1904 "documentation":"<p>The ARN of the channel flow.</p>" 1905 } 1906 } 1907 }, 1908 "CreateChannelMembershipRequest":{ 1909 "type":"structure", 1910 "required":[ 1911 "ChannelArn", 1912 "MemberArn", 1913 "Type", 1914 "ChimeBearer" 1915 ], 1916 "members":{ 1917 "ChannelArn":{ 1918 "shape":"ChimeArn", 1919 "documentation":"<p>The ARN of the channel to which you're adding users.</p>", 1920 "location":"uri", 1921 "locationName":"channelArn" 1922 }, 1923 "MemberArn":{ 1924 "shape":"ChimeArn", 1925 "documentation":"<p>The <code>AppInstanceUserArn</code> of the member you want to add to the channel.</p>" 1926 }, 1927 "Type":{ 1928 "shape":"ChannelMembershipType", 1929 "documentation":"<p>The membership type of a user, <code>DEFAULT</code> or <code>HIDDEN</code>. Default members are always returned as part of <code>ListChannelMemberships</code>. Hidden members are only returned if the type filter in <code>ListChannelMemberships</code> equals <code>HIDDEN</code>. Otherwise hidden members are not returned. This is only supported by moderators.</p>" 1930 }, 1931 "ChimeBearer":{ 1932 "shape":"ChimeArn", 1933 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 1934 "location":"header", 1935 "locationName":"x-amz-chime-bearer" 1936 }, 1937 "SubChannelId":{ 1938 "shape":"SubChannelId", 1939 "documentation":"<p>The ID of the SubChannel in the request.</p> <note> <p>Only required when creating membership in a SubChannel for a moderator in an elastic channel.</p> </note>" 1940 } 1941 } 1942 }, 1943 "CreateChannelMembershipResponse":{ 1944 "type":"structure", 1945 "members":{ 1946 "ChannelArn":{ 1947 "shape":"ChimeArn", 1948 "documentation":"<p>The ARN of the channel.</p>" 1949 }, 1950 "Member":{ 1951 "shape":"Identity", 1952 "documentation":"<p>The ARN and metadata of the member being added.</p>" 1953 }, 1954 "SubChannelId":{ 1955 "shape":"SubChannelId", 1956 "documentation":"<p>The ID of the SubChannel in the response.</p>" 1957 } 1958 } 1959 }, 1960 "CreateChannelModeratorRequest":{ 1961 "type":"structure", 1962 "required":[ 1963 "ChannelArn", 1964 "ChannelModeratorArn", 1965 "ChimeBearer" 1966 ], 1967 "members":{ 1968 "ChannelArn":{ 1969 "shape":"ChimeArn", 1970 "documentation":"<p>The ARN of the channel.</p>", 1971 "location":"uri", 1972 "locationName":"channelArn" 1973 }, 1974 "ChannelModeratorArn":{ 1975 "shape":"ChimeArn", 1976 "documentation":"<p>The <code>AppInstanceUserArn</code> of the moderator.</p>" 1977 }, 1978 "ChimeBearer":{ 1979 "shape":"ChimeArn", 1980 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 1981 "location":"header", 1982 "locationName":"x-amz-chime-bearer" 1983 } 1984 } 1985 }, 1986 "CreateChannelModeratorResponse":{ 1987 "type":"structure", 1988 "members":{ 1989 "ChannelArn":{ 1990 "shape":"ChimeArn", 1991 "documentation":"<p>The ARN of the channel.</p>" 1992 }, 1993 "ChannelModerator":{ 1994 "shape":"Identity", 1995 "documentation":"<p>The ARNs of the channel and the moderator.</p>" 1996 } 1997 } 1998 }, 1999 "CreateChannelRequest":{ 2000 "type":"structure", 2001 "required":[ 2002 "AppInstanceArn", 2003 "Name", 2004 "ClientRequestToken", 2005 "ChimeBearer" 2006 ], 2007 "members":{ 2008 "AppInstanceArn":{ 2009 "shape":"ChimeArn", 2010 "documentation":"<p>The ARN of the channel request.</p>" 2011 }, 2012 "Name":{ 2013 "shape":"NonEmptyResourceName", 2014 "documentation":"<p>The name of the channel.</p>" 2015 }, 2016 "Mode":{ 2017 "shape":"ChannelMode", 2018 "documentation":"<p>The channel mode: <code>UNRESTRICTED</code> or <code>RESTRICTED</code>. Administrators, moderators, and channel members can add themselves and other members to unrestricted channels. Only administrators and moderators can add members to restricted channels.</p>" 2019 }, 2020 "Privacy":{ 2021 "shape":"ChannelPrivacy", 2022 "documentation":"<p>The channel's privacy level: <code>PUBLIC</code> or <code>PRIVATE</code>. Private channels aren't discoverable by users outside the channel. Public channels are discoverable by anyone in the <code>AppInstance</code>.</p>" 2023 }, 2024 "Metadata":{ 2025 "shape":"Metadata", 2026 "documentation":"<p>The metadata of the creation request. Limited to 1KB and UTF-8.</p>" 2027 }, 2028 "ClientRequestToken":{ 2029 "shape":"ClientRequestToken", 2030 "documentation":"<p>The client token for the request. An <code>Idempotency</code> token.</p>", 2031 "idempotencyToken":true 2032 }, 2033 "Tags":{ 2034 "shape":"TagList", 2035 "documentation":"<p>The tags for the creation request.</p>" 2036 }, 2037 "ChimeBearer":{ 2038 "shape":"ChimeArn", 2039 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 2040 "location":"header", 2041 "locationName":"x-amz-chime-bearer" 2042 }, 2043 "ChannelId":{ 2044 "shape":"ChannelId", 2045 "documentation":"<p>The ID of the channel in the request.</p>" 2046 }, 2047 "MemberArns":{ 2048 "shape":"ChannelMemberArns", 2049 "documentation":"<p>The ARNs of the channel members in the request.</p>" 2050 }, 2051 "ModeratorArns":{ 2052 "shape":"ChannelModeratorArns", 2053 "documentation":"<p>The ARNs of the channel moderators in the request.</p>" 2054 }, 2055 "ElasticChannelConfiguration":{ 2056 "shape":"ElasticChannelConfiguration", 2057 "documentation":"<p>The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million users, excluding moderators.</p>" 2058 }, 2059 "ExpirationSettings":{ 2060 "shape":"ExpirationSettings", 2061 "documentation":"<p>Settings that control the interval after which the channel is automatically deleted.</p>" 2062 } 2063 } 2064 }, 2065 "CreateChannelResponse":{ 2066 "type":"structure", 2067 "members":{ 2068 "ChannelArn":{ 2069 "shape":"ChimeArn", 2070 "documentation":"<p>The ARN of the channel.</p>" 2071 } 2072 } 2073 }, 2074 "DeleteChannelBanRequest":{ 2075 "type":"structure", 2076 "required":[ 2077 "ChannelArn", 2078 "MemberArn", 2079 "ChimeBearer" 2080 ], 2081 "members":{ 2082 "ChannelArn":{ 2083 "shape":"ChimeArn", 2084 "documentation":"<p>The ARN of the channel from which the <code>AppInstanceUser</code> was banned.</p>", 2085 "location":"uri", 2086 "locationName":"channelArn" 2087 }, 2088 "MemberArn":{ 2089 "shape":"ChimeArn", 2090 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> that you want to reinstate.</p>", 2091 "location":"uri", 2092 "locationName":"memberArn" 2093 }, 2094 "ChimeBearer":{ 2095 "shape":"ChimeArn", 2096 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 2097 "location":"header", 2098 "locationName":"x-amz-chime-bearer" 2099 } 2100 } 2101 }, 2102 "DeleteChannelFlowRequest":{ 2103 "type":"structure", 2104 "required":["ChannelFlowArn"], 2105 "members":{ 2106 "ChannelFlowArn":{ 2107 "shape":"ChimeArn", 2108 "documentation":"<p>The ARN of the channel flow.</p>", 2109 "location":"uri", 2110 "locationName":"channelFlowArn" 2111 } 2112 } 2113 }, 2114 "DeleteChannelMembershipRequest":{ 2115 "type":"structure", 2116 "required":[ 2117 "ChannelArn", 2118 "MemberArn", 2119 "ChimeBearer" 2120 ], 2121 "members":{ 2122 "ChannelArn":{ 2123 "shape":"ChimeArn", 2124 "documentation":"<p>The ARN of the channel from which you want to remove the user.</p>", 2125 "location":"uri", 2126 "locationName":"channelArn" 2127 }, 2128 "MemberArn":{ 2129 "shape":"ChimeArn", 2130 "documentation":"<p>The <code>AppInstanceUserArn</code> of the member that you're removing from the channel.</p>", 2131 "location":"uri", 2132 "locationName":"memberArn" 2133 }, 2134 "ChimeBearer":{ 2135 "shape":"ChimeArn", 2136 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 2137 "location":"header", 2138 "locationName":"x-amz-chime-bearer" 2139 }, 2140 "SubChannelId":{ 2141 "shape":"SubChannelId", 2142 "documentation":"<p>The ID of the SubChannel in the request.</p> <note> <p>Only for use by moderators.</p> </note>", 2143 "location":"querystring", 2144 "locationName":"sub-channel-id" 2145 } 2146 } 2147 }, 2148 "DeleteChannelMessageRequest":{ 2149 "type":"structure", 2150 "required":[ 2151 "ChannelArn", 2152 "MessageId", 2153 "ChimeBearer" 2154 ], 2155 "members":{ 2156 "ChannelArn":{ 2157 "shape":"ChimeArn", 2158 "documentation":"<p>The ARN of the channel.</p>", 2159 "location":"uri", 2160 "locationName":"channelArn" 2161 }, 2162 "MessageId":{ 2163 "shape":"MessageId", 2164 "documentation":"<p>The ID of the message being deleted.</p>", 2165 "location":"uri", 2166 "locationName":"messageId" 2167 }, 2168 "ChimeBearer":{ 2169 "shape":"ChimeArn", 2170 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 2171 "location":"header", 2172 "locationName":"x-amz-chime-bearer" 2173 }, 2174 "SubChannelId":{ 2175 "shape":"SubChannelId", 2176 "documentation":"<p>The ID of the SubChannel in the request.</p> <note> <p>Only required when deleting messages in a SubChannel that the user belongs to.</p> </note>", 2177 "location":"querystring", 2178 "locationName":"sub-channel-id" 2179 } 2180 } 2181 }, 2182 "DeleteChannelModeratorRequest":{ 2183 "type":"structure", 2184 "required":[ 2185 "ChannelArn", 2186 "ChannelModeratorArn", 2187 "ChimeBearer" 2188 ], 2189 "members":{ 2190 "ChannelArn":{ 2191 "shape":"ChimeArn", 2192 "documentation":"<p>The ARN of the channel.</p>", 2193 "location":"uri", 2194 "locationName":"channelArn" 2195 }, 2196 "ChannelModeratorArn":{ 2197 "shape":"ChimeArn", 2198 "documentation":"<p>The <code>AppInstanceUserArn</code> of the moderator being deleted.</p>", 2199 "location":"uri", 2200 "locationName":"channelModeratorArn" 2201 }, 2202 "ChimeBearer":{ 2203 "shape":"ChimeArn", 2204 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 2205 "location":"header", 2206 "locationName":"x-amz-chime-bearer" 2207 } 2208 } 2209 }, 2210 "DeleteChannelRequest":{ 2211 "type":"structure", 2212 "required":[ 2213 "ChannelArn", 2214 "ChimeBearer" 2215 ], 2216 "members":{ 2217 "ChannelArn":{ 2218 "shape":"ChimeArn", 2219 "documentation":"<p>The ARN of the channel being deleted.</p>", 2220 "location":"uri", 2221 "locationName":"channelArn" 2222 }, 2223 "ChimeBearer":{ 2224 "shape":"ChimeArn", 2225 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 2226 "location":"header", 2227 "locationName":"x-amz-chime-bearer" 2228 } 2229 } 2230 }, 2231 "DeleteMessagingStreamingConfigurationsRequest":{ 2232 "type":"structure", 2233 "required":["AppInstanceArn"], 2234 "members":{ 2235 "AppInstanceArn":{ 2236 "shape":"ChimeArn", 2237 "documentation":"<p>The ARN of the streaming configurations being deleted.</p>", 2238 "location":"uri", 2239 "locationName":"appInstanceArn" 2240 } 2241 } 2242 }, 2243 "DescribeChannelBanRequest":{ 2244 "type":"structure", 2245 "required":[ 2246 "ChannelArn", 2247 "MemberArn", 2248 "ChimeBearer" 2249 ], 2250 "members":{ 2251 "ChannelArn":{ 2252 "shape":"ChimeArn", 2253 "documentation":"<p>The ARN of the channel from which the user is banned.</p>", 2254 "location":"uri", 2255 "locationName":"channelArn" 2256 }, 2257 "MemberArn":{ 2258 "shape":"ChimeArn", 2259 "documentation":"<p>The <code>AppInstanceUserArn</code> of the member being banned.</p>", 2260 "location":"uri", 2261 "locationName":"memberArn" 2262 }, 2263 "ChimeBearer":{ 2264 "shape":"ChimeArn", 2265 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 2266 "location":"header", 2267 "locationName":"x-amz-chime-bearer" 2268 } 2269 } 2270 }, 2271 "DescribeChannelBanResponse":{ 2272 "type":"structure", 2273 "members":{ 2274 "ChannelBan":{ 2275 "shape":"ChannelBan", 2276 "documentation":"<p>The details of the ban.</p>" 2277 } 2278 } 2279 }, 2280 "DescribeChannelFlowRequest":{ 2281 "type":"structure", 2282 "required":["ChannelFlowArn"], 2283 "members":{ 2284 "ChannelFlowArn":{ 2285 "shape":"ChimeArn", 2286 "documentation":"<p>The ARN of the channel flow.</p>", 2287 "location":"uri", 2288 "locationName":"channelFlowArn" 2289 } 2290 } 2291 }, 2292 "DescribeChannelFlowResponse":{ 2293 "type":"structure", 2294 "members":{ 2295 "ChannelFlow":{ 2296 "shape":"ChannelFlow", 2297 "documentation":"<p>The channel flow details.</p>" 2298 } 2299 } 2300 }, 2301 "DescribeChannelMembershipForAppInstanceUserRequest":{ 2302 "type":"structure", 2303 "required":[ 2304 "ChannelArn", 2305 "AppInstanceUserArn", 2306 "ChimeBearer" 2307 ], 2308 "members":{ 2309 "ChannelArn":{ 2310 "shape":"ChimeArn", 2311 "documentation":"<p>The ARN of the channel to which the user belongs.</p>", 2312 "location":"uri", 2313 "locationName":"channelArn" 2314 }, 2315 "AppInstanceUserArn":{ 2316 "shape":"ChimeArn", 2317 "documentation":"<p>The ARN of the user or bot in a channel.</p>", 2318 "location":"querystring", 2319 "locationName":"app-instance-user-arn" 2320 }, 2321 "ChimeBearer":{ 2322 "shape":"ChimeArn", 2323 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 2324 "location":"header", 2325 "locationName":"x-amz-chime-bearer" 2326 } 2327 } 2328 }, 2329 "DescribeChannelMembershipForAppInstanceUserResponse":{ 2330 "type":"structure", 2331 "members":{ 2332 "ChannelMembership":{ 2333 "shape":"ChannelMembershipForAppInstanceUserSummary", 2334 "documentation":"<p>The channel to which a user belongs.</p>" 2335 } 2336 } 2337 }, 2338 "DescribeChannelMembershipRequest":{ 2339 "type":"structure", 2340 "required":[ 2341 "ChannelArn", 2342 "MemberArn", 2343 "ChimeBearer" 2344 ], 2345 "members":{ 2346 "ChannelArn":{ 2347 "shape":"ChimeArn", 2348 "documentation":"<p>The ARN of the channel.</p>", 2349 "location":"uri", 2350 "locationName":"channelArn" 2351 }, 2352 "MemberArn":{ 2353 "shape":"ChimeArn", 2354 "documentation":"<p>The <code>AppInstanceUserArn</code> of the member.</p>", 2355 "location":"uri", 2356 "locationName":"memberArn" 2357 }, 2358 "ChimeBearer":{ 2359 "shape":"ChimeArn", 2360 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 2361 "location":"header", 2362 "locationName":"x-amz-chime-bearer" 2363 }, 2364 "SubChannelId":{ 2365 "shape":"SubChannelId", 2366 "documentation":"<p>The ID of the SubChannel in the request. The response contains an <code>ElasticChannelConfiguration</code> object.</p> <note> <p>Only required to get a user’s SubChannel membership details.</p> </note>", 2367 "location":"querystring", 2368 "locationName":"sub-channel-id" 2369 } 2370 } 2371 }, 2372 "DescribeChannelMembershipResponse":{ 2373 "type":"structure", 2374 "members":{ 2375 "ChannelMembership":{ 2376 "shape":"ChannelMembership", 2377 "documentation":"<p>The details of the membership.</p>" 2378 } 2379 } 2380 }, 2381 "DescribeChannelModeratedByAppInstanceUserRequest":{ 2382 "type":"structure", 2383 "required":[ 2384 "ChannelArn", 2385 "AppInstanceUserArn", 2386 "ChimeBearer" 2387 ], 2388 "members":{ 2389 "ChannelArn":{ 2390 "shape":"ChimeArn", 2391 "documentation":"<p>The ARN of the moderated channel.</p>", 2392 "location":"uri", 2393 "locationName":"channelArn" 2394 }, 2395 "AppInstanceUserArn":{ 2396 "shape":"ChimeArn", 2397 "documentation":"<p>The ARN of the user or bot in the moderated channel.</p>", 2398 "location":"querystring", 2399 "locationName":"app-instance-user-arn" 2400 }, 2401 "ChimeBearer":{ 2402 "shape":"ChimeArn", 2403 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 2404 "location":"header", 2405 "locationName":"x-amz-chime-bearer" 2406 } 2407 } 2408 }, 2409 "DescribeChannelModeratedByAppInstanceUserResponse":{ 2410 "type":"structure", 2411 "members":{ 2412 "Channel":{ 2413 "shape":"ChannelModeratedByAppInstanceUserSummary", 2414 "documentation":"<p>The moderated channel.</p>" 2415 } 2416 } 2417 }, 2418 "DescribeChannelModeratorRequest":{ 2419 "type":"structure", 2420 "required":[ 2421 "ChannelArn", 2422 "ChannelModeratorArn", 2423 "ChimeBearer" 2424 ], 2425 "members":{ 2426 "ChannelArn":{ 2427 "shape":"ChimeArn", 2428 "documentation":"<p>The ARN of the channel.</p>", 2429 "location":"uri", 2430 "locationName":"channelArn" 2431 }, 2432 "ChannelModeratorArn":{ 2433 "shape":"ChimeArn", 2434 "documentation":"<p>The <code>AppInstanceUserArn</code> of the channel moderator.</p>", 2435 "location":"uri", 2436 "locationName":"channelModeratorArn" 2437 }, 2438 "ChimeBearer":{ 2439 "shape":"ChimeArn", 2440 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 2441 "location":"header", 2442 "locationName":"x-amz-chime-bearer" 2443 } 2444 } 2445 }, 2446 "DescribeChannelModeratorResponse":{ 2447 "type":"structure", 2448 "members":{ 2449 "ChannelModerator":{ 2450 "shape":"ChannelModerator", 2451 "documentation":"<p>The details of the channel moderator.</p>" 2452 } 2453 } 2454 }, 2455 "DescribeChannelRequest":{ 2456 "type":"structure", 2457 "required":[ 2458 "ChannelArn", 2459 "ChimeBearer" 2460 ], 2461 "members":{ 2462 "ChannelArn":{ 2463 "shape":"ChimeArn", 2464 "documentation":"<p>The ARN of the channel.</p>", 2465 "location":"uri", 2466 "locationName":"channelArn" 2467 }, 2468 "ChimeBearer":{ 2469 "shape":"ChimeArn", 2470 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 2471 "location":"header", 2472 "locationName":"x-amz-chime-bearer" 2473 } 2474 } 2475 }, 2476 "DescribeChannelResponse":{ 2477 "type":"structure", 2478 "members":{ 2479 "Channel":{ 2480 "shape":"Channel", 2481 "documentation":"<p>The channel details.</p>" 2482 } 2483 } 2484 }, 2485 "DisassociateChannelFlowRequest":{ 2486 "type":"structure", 2487 "required":[ 2488 "ChannelArn", 2489 "ChannelFlowArn", 2490 "ChimeBearer" 2491 ], 2492 "members":{ 2493 "ChannelArn":{ 2494 "shape":"ChimeArn", 2495 "documentation":"<p>The ARN of the channel.</p>", 2496 "location":"uri", 2497 "locationName":"channelArn" 2498 }, 2499 "ChannelFlowArn":{ 2500 "shape":"ChimeArn", 2501 "documentation":"<p>The ARN of the channel flow.</p>", 2502 "location":"uri", 2503 "locationName":"channelFlowArn" 2504 }, 2505 "ChimeBearer":{ 2506 "shape":"ChimeArn", 2507 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user making the API call.</p>", 2508 "location":"header", 2509 "locationName":"x-amz-chime-bearer" 2510 } 2511 } 2512 }, 2513 "ElasticChannelConfiguration":{ 2514 "type":"structure", 2515 "required":[ 2516 "MaximumSubChannels", 2517 "TargetMembershipsPerSubChannel", 2518 "MinimumMembershipPercentage" 2519 ], 2520 "members":{ 2521 "MaximumSubChannels":{ 2522 "shape":"MaximumSubChannels", 2523 "documentation":"<p>The maximum number of SubChannels that you want to allow in the elastic channel.</p>" 2524 }, 2525 "TargetMembershipsPerSubChannel":{ 2526 "shape":"TargetMembershipsPerSubChannel", 2527 "documentation":"<p>The maximum number of members allowed in a SubChannel.</p>" 2528 }, 2529 "MinimumMembershipPercentage":{ 2530 "shape":"MinimumMembershipPercentage", 2531 "documentation":"<p>The minimum allowed percentage of TargetMembershipsPerSubChannel users. Ceil of the calculated value is used in balancing members among SubChannels of the elastic channel.</p>" 2532 } 2533 }, 2534 "documentation":"<p>The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million members.</p>" 2535 }, 2536 "ErrorCode":{ 2537 "type":"string", 2538 "enum":[ 2539 "BadRequest", 2540 "Conflict", 2541 "Forbidden", 2542 "NotFound", 2543 "PreconditionFailed", 2544 "ResourceLimitExceeded", 2545 "ServiceFailure", 2546 "AccessDenied", 2547 "ServiceUnavailable", 2548 "Throttled", 2549 "Throttling", 2550 "Unauthorized", 2551 "Unprocessable", 2552 "VoiceConnectorGroupAssociationsExist", 2553 "PhoneNumberAssociationsExist" 2554 ] 2555 }, 2556 "ExpirationCriterion":{ 2557 "type":"string", 2558 "enum":[ 2559 "CREATED_TIMESTAMP", 2560 "LAST_MESSAGE_TIMESTAMP" 2561 ] 2562 }, 2563 "ExpirationDays":{ 2564 "type":"integer", 2565 "max":5475, 2566 "min":1 2567 }, 2568 "ExpirationSettings":{ 2569 "type":"structure", 2570 "required":[ 2571 "ExpirationDays", 2572 "ExpirationCriterion" 2573 ], 2574 "members":{ 2575 "ExpirationDays":{ 2576 "shape":"ExpirationDays", 2577 "documentation":"<p>The period in days after which the system automatically deletes a channel.</p>" 2578 }, 2579 "ExpirationCriterion":{ 2580 "shape":"ExpirationCriterion", 2581 "documentation":"<p>The conditions that must be met for a channel to expire.</p>" 2582 } 2583 }, 2584 "documentation":"<p>Settings that control the interval after which a channel is deleted.</p>" 2585 }, 2586 "FallbackAction":{ 2587 "type":"string", 2588 "enum":[ 2589 "CONTINUE", 2590 "ABORT" 2591 ] 2592 }, 2593 "FilterRule":{ 2594 "type":"string", 2595 "min":1, 2596 "pattern":"[\\s\\S]*", 2597 "sensitive":true 2598 }, 2599 "ForbiddenException":{ 2600 "type":"structure", 2601 "members":{ 2602 "Code":{"shape":"ErrorCode"}, 2603 "Message":{"shape":"String"} 2604 }, 2605 "documentation":"<p>The client is permanently forbidden from making the request.</p>", 2606 "error":{"httpStatusCode":403}, 2607 "exception":true 2608 }, 2609 "GetChannelMembershipPreferencesRequest":{ 2610 "type":"structure", 2611 "required":[ 2612 "ChannelArn", 2613 "MemberArn", 2614 "ChimeBearer" 2615 ], 2616 "members":{ 2617 "ChannelArn":{ 2618 "shape":"ChimeArn", 2619 "documentation":"<p>The ARN of the channel.</p>", 2620 "location":"uri", 2621 "locationName":"channelArn" 2622 }, 2623 "MemberArn":{ 2624 "shape":"ChimeArn", 2625 "documentation":"<p>The <code>AppInstanceUserArn</code> of the member retrieving the preferences.</p>", 2626 "location":"uri", 2627 "locationName":"memberArn" 2628 }, 2629 "ChimeBearer":{ 2630 "shape":"ChimeArn", 2631 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 2632 "location":"header", 2633 "locationName":"x-amz-chime-bearer" 2634 } 2635 } 2636 }, 2637 "GetChannelMembershipPreferencesResponse":{ 2638 "type":"structure", 2639 "members":{ 2640 "ChannelArn":{ 2641 "shape":"ChimeArn", 2642 "documentation":"<p>The ARN of the channel.</p>" 2643 }, 2644 "Member":{ 2645 "shape":"Identity", 2646 "documentation":"<p>The details of a user.</p>" 2647 }, 2648 "Preferences":{ 2649 "shape":"ChannelMembershipPreferences", 2650 "documentation":"<p>The channel membership preferences for an <code>AppInstanceUser</code> .</p>" 2651 } 2652 } 2653 }, 2654 "GetChannelMessageRequest":{ 2655 "type":"structure", 2656 "required":[ 2657 "ChannelArn", 2658 "MessageId", 2659 "ChimeBearer" 2660 ], 2661 "members":{ 2662 "ChannelArn":{ 2663 "shape":"ChimeArn", 2664 "documentation":"<p>The ARN of the channel.</p>", 2665 "location":"uri", 2666 "locationName":"channelArn" 2667 }, 2668 "MessageId":{ 2669 "shape":"MessageId", 2670 "documentation":"<p>The ID of the message.</p>", 2671 "location":"uri", 2672 "locationName":"messageId" 2673 }, 2674 "ChimeBearer":{ 2675 "shape":"ChimeArn", 2676 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 2677 "location":"header", 2678 "locationName":"x-amz-chime-bearer" 2679 }, 2680 "SubChannelId":{ 2681 "shape":"SubChannelId", 2682 "documentation":"<p>The ID of the SubChannel in the request.</p> <note> <p>Only required when getting messages in a SubChannel that the user belongs to.</p> </note>", 2683 "location":"querystring", 2684 "locationName":"sub-channel-id" 2685 } 2686 } 2687 }, 2688 "GetChannelMessageResponse":{ 2689 "type":"structure", 2690 "members":{ 2691 "ChannelMessage":{ 2692 "shape":"ChannelMessage", 2693 "documentation":"<p>The details of and content in the message.</p>" 2694 } 2695 } 2696 }, 2697 "GetChannelMessageStatusRequest":{ 2698 "type":"structure", 2699 "required":[ 2700 "ChannelArn", 2701 "MessageId", 2702 "ChimeBearer" 2703 ], 2704 "members":{ 2705 "ChannelArn":{ 2706 "shape":"ChimeArn", 2707 "documentation":"<p>The ARN of the channel</p>", 2708 "location":"uri", 2709 "locationName":"channelArn" 2710 }, 2711 "MessageId":{ 2712 "shape":"MessageId", 2713 "documentation":"<p>The ID of the message.</p>", 2714 "location":"uri", 2715 "locationName":"messageId" 2716 }, 2717 "ChimeBearer":{ 2718 "shape":"ChimeArn", 2719 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user making the API call.</p>", 2720 "location":"header", 2721 "locationName":"x-amz-chime-bearer" 2722 }, 2723 "SubChannelId":{ 2724 "shape":"SubChannelId", 2725 "documentation":"<p>The ID of the SubChannel in the request.</p> <note> <p>Only required when getting message status in a SubChannel that the user belongs to.</p> </note>", 2726 "location":"querystring", 2727 "locationName":"sub-channel-id" 2728 } 2729 } 2730 }, 2731 "GetChannelMessageStatusResponse":{ 2732 "type":"structure", 2733 "members":{ 2734 "Status":{ 2735 "shape":"ChannelMessageStatusStructure", 2736 "documentation":"<p>The message status and details.</p>" 2737 } 2738 } 2739 }, 2740 "GetMessagingSessionEndpointRequest":{ 2741 "type":"structure", 2742 "members":{ 2743 } 2744 }, 2745 "GetMessagingSessionEndpointResponse":{ 2746 "type":"structure", 2747 "members":{ 2748 "Endpoint":{ 2749 "shape":"MessagingSessionEndpoint", 2750 "documentation":"<p>The endpoint returned in the response.</p>" 2751 } 2752 } 2753 }, 2754 "GetMessagingStreamingConfigurationsRequest":{ 2755 "type":"structure", 2756 "required":["AppInstanceArn"], 2757 "members":{ 2758 "AppInstanceArn":{ 2759 "shape":"ChimeArn", 2760 "documentation":"<p>The ARN of the streaming configurations.</p>", 2761 "location":"uri", 2762 "locationName":"appInstanceArn" 2763 } 2764 } 2765 }, 2766 "GetMessagingStreamingConfigurationsResponse":{ 2767 "type":"structure", 2768 "members":{ 2769 "StreamingConfigurations":{ 2770 "shape":"StreamingConfigurationList", 2771 "documentation":"<p>The streaming settings.</p>" 2772 } 2773 } 2774 }, 2775 "Identity":{ 2776 "type":"structure", 2777 "members":{ 2778 "Arn":{ 2779 "shape":"ChimeArn", 2780 "documentation":"<p>The ARN in an Identity.</p>" 2781 }, 2782 "Name":{ 2783 "shape":"ResourceName", 2784 "documentation":"<p>The name in an Identity.</p>" 2785 } 2786 }, 2787 "documentation":"<p>The details of a user or bot.</p>" 2788 }, 2789 "InvocationType":{ 2790 "type":"string", 2791 "enum":["ASYNC"] 2792 }, 2793 "LambdaConfiguration":{ 2794 "type":"structure", 2795 "required":[ 2796 "ResourceArn", 2797 "InvocationType" 2798 ], 2799 "members":{ 2800 "ResourceArn":{ 2801 "shape":"LambdaFunctionArn", 2802 "documentation":"<p>The ARN of the Lambda message processing function.</p>" 2803 }, 2804 "InvocationType":{ 2805 "shape":"InvocationType", 2806 "documentation":"<p>Controls how the Lambda function is invoked.</p>" 2807 } 2808 }, 2809 "documentation":"<p>Stores metadata about a Lambda processor.</p>" 2810 }, 2811 "LambdaFunctionArn":{ 2812 "type":"string", 2813 "max":2048, 2814 "min":15, 2815 "pattern":"arn:aws:lambda:[a-z]{2}-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9\\-_\\.]+(:(\\$LATEST|[a-zA-Z0-9\\-_]+))?" 2816 }, 2817 "ListChannelBansRequest":{ 2818 "type":"structure", 2819 "required":[ 2820 "ChannelArn", 2821 "ChimeBearer" 2822 ], 2823 "members":{ 2824 "ChannelArn":{ 2825 "shape":"ChimeArn", 2826 "documentation":"<p>The ARN of the channel.</p>", 2827 "location":"uri", 2828 "locationName":"channelArn" 2829 }, 2830 "MaxResults":{ 2831 "shape":"MaxResults", 2832 "documentation":"<p>The maximum number of bans that you want returned.</p>", 2833 "location":"querystring", 2834 "locationName":"max-results" 2835 }, 2836 "NextToken":{ 2837 "shape":"NextToken", 2838 "documentation":"<p>The token passed by previous API calls until all requested bans are returned.</p>", 2839 "location":"querystring", 2840 "locationName":"next-token" 2841 }, 2842 "ChimeBearer":{ 2843 "shape":"ChimeArn", 2844 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 2845 "location":"header", 2846 "locationName":"x-amz-chime-bearer" 2847 } 2848 } 2849 }, 2850 "ListChannelBansResponse":{ 2851 "type":"structure", 2852 "members":{ 2853 "ChannelArn":{ 2854 "shape":"ChimeArn", 2855 "documentation":"<p>The ARN of the channel.</p>" 2856 }, 2857 "NextToken":{ 2858 "shape":"NextToken", 2859 "documentation":"<p>The token passed by previous API calls until all requested bans are returned.</p>" 2860 }, 2861 "ChannelBans":{ 2862 "shape":"ChannelBanSummaryList", 2863 "documentation":"<p>The information for each requested ban.</p>" 2864 } 2865 } 2866 }, 2867 "ListChannelFlowsRequest":{ 2868 "type":"structure", 2869 "required":["AppInstanceArn"], 2870 "members":{ 2871 "AppInstanceArn":{ 2872 "shape":"ChimeArn", 2873 "documentation":"<p>The ARN of the app instance.</p>", 2874 "location":"querystring", 2875 "locationName":"app-instance-arn" 2876 }, 2877 "MaxResults":{ 2878 "shape":"MaxResults", 2879 "documentation":"<p>The maximum number of channel flows that you want to return.</p>", 2880 "location":"querystring", 2881 "locationName":"max-results" 2882 }, 2883 "NextToken":{ 2884 "shape":"NextToken", 2885 "documentation":"<p>The token passed by previous API calls until all requested channel flows are returned.</p>", 2886 "location":"querystring", 2887 "locationName":"next-token" 2888 } 2889 } 2890 }, 2891 "ListChannelFlowsResponse":{ 2892 "type":"structure", 2893 "members":{ 2894 "ChannelFlows":{ 2895 "shape":"ChannelFlowSummaryList", 2896 "documentation":"<p>The information about each channel flow.</p>" 2897 }, 2898 "NextToken":{ 2899 "shape":"NextToken", 2900 "documentation":"<p>The token passed by previous API calls until all requested channels are returned.</p>" 2901 } 2902 } 2903 }, 2904 "ListChannelMembershipsForAppInstanceUserRequest":{ 2905 "type":"structure", 2906 "required":["ChimeBearer"], 2907 "members":{ 2908 "AppInstanceUserArn":{ 2909 "shape":"ChimeArn", 2910 "documentation":"<p>The ARN of the user or bot.</p>", 2911 "location":"querystring", 2912 "locationName":"app-instance-user-arn" 2913 }, 2914 "MaxResults":{ 2915 "shape":"MaxResults", 2916 "documentation":"<p>The maximum number of users that you want returned.</p>", 2917 "location":"querystring", 2918 "locationName":"max-results" 2919 }, 2920 "NextToken":{ 2921 "shape":"NextToken", 2922 "documentation":"<p>The token returned from previous API requests until the number of channel memberships is reached.</p>", 2923 "location":"querystring", 2924 "locationName":"next-token" 2925 }, 2926 "ChimeBearer":{ 2927 "shape":"ChimeArn", 2928 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 2929 "location":"header", 2930 "locationName":"x-amz-chime-bearer" 2931 } 2932 } 2933 }, 2934 "ListChannelMembershipsForAppInstanceUserResponse":{ 2935 "type":"structure", 2936 "members":{ 2937 "ChannelMemberships":{ 2938 "shape":"ChannelMembershipForAppInstanceUserSummaryList", 2939 "documentation":"<p>The information for the requested channel memberships.</p>" 2940 }, 2941 "NextToken":{ 2942 "shape":"NextToken", 2943 "documentation":"<p>The token passed by previous API calls until all requested users are returned.</p>" 2944 } 2945 } 2946 }, 2947 "ListChannelMembershipsRequest":{ 2948 "type":"structure", 2949 "required":[ 2950 "ChannelArn", 2951 "ChimeBearer" 2952 ], 2953 "members":{ 2954 "ChannelArn":{ 2955 "shape":"ChimeArn", 2956 "documentation":"<p>The maximum number of channel memberships that you want returned.</p>", 2957 "location":"uri", 2958 "locationName":"channelArn" 2959 }, 2960 "Type":{ 2961 "shape":"ChannelMembershipType", 2962 "documentation":"<p>The membership type of a user, <code>DEFAULT</code> or <code>HIDDEN</code>. Default members are returned as part of <code>ListChannelMemberships</code> if no type is specified. Hidden members are only returned if the type filter in <code>ListChannelMemberships</code> equals <code>HIDDEN</code>.</p>", 2963 "location":"querystring", 2964 "locationName":"type" 2965 }, 2966 "MaxResults":{ 2967 "shape":"MaxResults", 2968 "documentation":"<p>The maximum number of channel memberships that you want returned.</p>", 2969 "location":"querystring", 2970 "locationName":"max-results" 2971 }, 2972 "NextToken":{ 2973 "shape":"NextToken", 2974 "documentation":"<p>The token passed by previous API calls until all requested channel memberships are returned.</p>", 2975 "location":"querystring", 2976 "locationName":"next-token" 2977 }, 2978 "ChimeBearer":{ 2979 "shape":"ChimeArn", 2980 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 2981 "location":"header", 2982 "locationName":"x-amz-chime-bearer" 2983 }, 2984 "SubChannelId":{ 2985 "shape":"SubChannelId", 2986 "documentation":"<p>The ID of the SubChannel in the request.</p> <note> <p>Only required when listing a user's memberships in a particular sub-channel of an elastic channel.</p> </note>", 2987 "location":"querystring", 2988 "locationName":"sub-channel-id" 2989 } 2990 } 2991 }, 2992 "ListChannelMembershipsResponse":{ 2993 "type":"structure", 2994 "members":{ 2995 "ChannelArn":{ 2996 "shape":"ChimeArn", 2997 "documentation":"<p>The ARN of the channel.</p>" 2998 }, 2999 "ChannelMemberships":{ 3000 "shape":"ChannelMembershipSummaryList", 3001 "documentation":"<p>The information for the requested channel memberships.</p>" 3002 }, 3003 "NextToken":{ 3004 "shape":"NextToken", 3005 "documentation":"<p>The token passed by previous API calls until all requested channel memberships are returned.</p>" 3006 } 3007 } 3008 }, 3009 "ListChannelMessagesRequest":{ 3010 "type":"structure", 3011 "required":[ 3012 "ChannelArn", 3013 "ChimeBearer" 3014 ], 3015 "members":{ 3016 "ChannelArn":{ 3017 "shape":"ChimeArn", 3018 "documentation":"<p>The ARN of the channel.</p>", 3019 "location":"uri", 3020 "locationName":"channelArn" 3021 }, 3022 "SortOrder":{ 3023 "shape":"SortOrder", 3024 "documentation":"<p>The order in which you want messages sorted. Default is Descending, based on time created.</p>", 3025 "location":"querystring", 3026 "locationName":"sort-order" 3027 }, 3028 "NotBefore":{ 3029 "shape":"Timestamp", 3030 "documentation":"<p>The initial or starting time stamp for your requested messages.</p>", 3031 "location":"querystring", 3032 "locationName":"not-before" 3033 }, 3034 "NotAfter":{ 3035 "shape":"Timestamp", 3036 "documentation":"<p>The final or ending time stamp for your requested messages.</p>", 3037 "location":"querystring", 3038 "locationName":"not-after" 3039 }, 3040 "MaxResults":{ 3041 "shape":"MaxResults", 3042 "documentation":"<p>The maximum number of messages that you want returned.</p>", 3043 "location":"querystring", 3044 "locationName":"max-results" 3045 }, 3046 "NextToken":{ 3047 "shape":"NextToken", 3048 "documentation":"<p>The token passed by previous API calls until all requested messages are returned.</p>", 3049 "location":"querystring", 3050 "locationName":"next-token" 3051 }, 3052 "ChimeBearer":{ 3053 "shape":"ChimeArn", 3054 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 3055 "location":"header", 3056 "locationName":"x-amz-chime-bearer" 3057 }, 3058 "SubChannelId":{ 3059 "shape":"SubChannelId", 3060 "documentation":"<p>The ID of the SubChannel in the request.</p> <note> <p>Only required when listing the messages in a SubChannel that the user belongs to.</p> </note>", 3061 "location":"querystring", 3062 "locationName":"sub-channel-id" 3063 } 3064 } 3065 }, 3066 "ListChannelMessagesResponse":{ 3067 "type":"structure", 3068 "members":{ 3069 "ChannelArn":{ 3070 "shape":"ChimeArn", 3071 "documentation":"<p>The ARN of the channel containing the requested messages.</p>" 3072 }, 3073 "NextToken":{ 3074 "shape":"NextToken", 3075 "documentation":"<p>The token passed by previous API calls until all requested messages are returned.</p>" 3076 }, 3077 "ChannelMessages":{ 3078 "shape":"ChannelMessageSummaryList", 3079 "documentation":"<p>The information about, and content of, each requested message.</p>" 3080 }, 3081 "SubChannelId":{ 3082 "shape":"SubChannelId", 3083 "documentation":"<p>The ID of the SubChannel in the response.</p>" 3084 } 3085 } 3086 }, 3087 "ListChannelModeratorsRequest":{ 3088 "type":"structure", 3089 "required":[ 3090 "ChannelArn", 3091 "ChimeBearer" 3092 ], 3093 "members":{ 3094 "ChannelArn":{ 3095 "shape":"ChimeArn", 3096 "documentation":"<p>The ARN of the channel.</p>", 3097 "location":"uri", 3098 "locationName":"channelArn" 3099 }, 3100 "MaxResults":{ 3101 "shape":"MaxResults", 3102 "documentation":"<p>The maximum number of moderators that you want returned.</p>", 3103 "location":"querystring", 3104 "locationName":"max-results" 3105 }, 3106 "NextToken":{ 3107 "shape":"NextToken", 3108 "documentation":"<p>The token passed by previous API calls until all requested moderators are returned.</p>", 3109 "location":"querystring", 3110 "locationName":"next-token" 3111 }, 3112 "ChimeBearer":{ 3113 "shape":"ChimeArn", 3114 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 3115 "location":"header", 3116 "locationName":"x-amz-chime-bearer" 3117 } 3118 } 3119 }, 3120 "ListChannelModeratorsResponse":{ 3121 "type":"structure", 3122 "members":{ 3123 "ChannelArn":{ 3124 "shape":"ChimeArn", 3125 "documentation":"<p>The ARN of the channel.</p>" 3126 }, 3127 "NextToken":{ 3128 "shape":"NextToken", 3129 "documentation":"<p>The token passed by previous API calls until all requested moderators are returned.</p>" 3130 }, 3131 "ChannelModerators":{ 3132 "shape":"ChannelModeratorSummaryList", 3133 "documentation":"<p>The information about and names of each moderator.</p>" 3134 } 3135 } 3136 }, 3137 "ListChannelsAssociatedWithChannelFlowRequest":{ 3138 "type":"structure", 3139 "required":["ChannelFlowArn"], 3140 "members":{ 3141 "ChannelFlowArn":{ 3142 "shape":"ChimeArn", 3143 "documentation":"<p>The ARN of the channel flow.</p>", 3144 "location":"querystring", 3145 "locationName":"channel-flow-arn" 3146 }, 3147 "MaxResults":{ 3148 "shape":"MaxResults", 3149 "documentation":"<p>The maximum number of channels that you want to return.</p>", 3150 "location":"querystring", 3151 "locationName":"max-results" 3152 }, 3153 "NextToken":{ 3154 "shape":"NextToken", 3155 "documentation":"<p>The token passed by previous API calls until all requested channels are returned.</p>", 3156 "location":"querystring", 3157 "locationName":"next-token" 3158 } 3159 } 3160 }, 3161 "ListChannelsAssociatedWithChannelFlowResponse":{ 3162 "type":"structure", 3163 "members":{ 3164 "Channels":{ 3165 "shape":"ChannelAssociatedWithFlowSummaryList", 3166 "documentation":"<p>The information about each channel.</p>" 3167 }, 3168 "NextToken":{ 3169 "shape":"NextToken", 3170 "documentation":"<p>The token passed by previous API calls until all requested channels are returned.</p>" 3171 } 3172 } 3173 }, 3174 "ListChannelsModeratedByAppInstanceUserRequest":{ 3175 "type":"structure", 3176 "required":["ChimeBearer"], 3177 "members":{ 3178 "AppInstanceUserArn":{ 3179 "shape":"ChimeArn", 3180 "documentation":"<p>The ARN of the user or bot in the moderated channel.</p>", 3181 "location":"querystring", 3182 "locationName":"app-instance-user-arn" 3183 }, 3184 "MaxResults":{ 3185 "shape":"MaxResults", 3186 "documentation":"<p>The maximum number of channels in the request.</p>", 3187 "location":"querystring", 3188 "locationName":"max-results" 3189 }, 3190 "NextToken":{ 3191 "shape":"NextToken", 3192 "documentation":"<p>The token returned from previous API requests until the number of channels moderated by the user is reached.</p>", 3193 "location":"querystring", 3194 "locationName":"next-token" 3195 }, 3196 "ChimeBearer":{ 3197 "shape":"ChimeArn", 3198 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 3199 "location":"header", 3200 "locationName":"x-amz-chime-bearer" 3201 } 3202 } 3203 }, 3204 "ListChannelsModeratedByAppInstanceUserResponse":{ 3205 "type":"structure", 3206 "members":{ 3207 "Channels":{ 3208 "shape":"ChannelModeratedByAppInstanceUserSummaryList", 3209 "documentation":"<p>The moderated channels in the request.</p>" 3210 }, 3211 "NextToken":{ 3212 "shape":"NextToken", 3213 "documentation":"<p>The token returned from previous API requests until the number of channels moderated by the user is reached.</p>" 3214 } 3215 } 3216 }, 3217 "ListChannelsRequest":{ 3218 "type":"structure", 3219 "required":[ 3220 "AppInstanceArn", 3221 "ChimeBearer" 3222 ], 3223 "members":{ 3224 "AppInstanceArn":{ 3225 "shape":"ChimeArn", 3226 "documentation":"<p>The ARN of the <code>AppInstance</code>.</p>", 3227 "location":"querystring", 3228 "locationName":"app-instance-arn" 3229 }, 3230 "Privacy":{ 3231 "shape":"ChannelPrivacy", 3232 "documentation":"<p>The privacy setting. <code>PUBLIC</code> retrieves all the public channels. <code>PRIVATE</code> retrieves private channels. Only an <code>AppInstanceAdmin</code> can retrieve private channels. </p>", 3233 "location":"querystring", 3234 "locationName":"privacy" 3235 }, 3236 "MaxResults":{ 3237 "shape":"MaxResults", 3238 "documentation":"<p>The maximum number of channels that you want to return.</p>", 3239 "location":"querystring", 3240 "locationName":"max-results" 3241 }, 3242 "NextToken":{ 3243 "shape":"NextToken", 3244 "documentation":"<p>The token passed by previous API calls until all requested channels are returned.</p>", 3245 "location":"querystring", 3246 "locationName":"next-token" 3247 }, 3248 "ChimeBearer":{ 3249 "shape":"ChimeArn", 3250 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 3251 "location":"header", 3252 "locationName":"x-amz-chime-bearer" 3253 } 3254 } 3255 }, 3256 "ListChannelsResponse":{ 3257 "type":"structure", 3258 "members":{ 3259 "Channels":{ 3260 "shape":"ChannelSummaryList", 3261 "documentation":"<p>The information about each channel.</p>" 3262 }, 3263 "NextToken":{ 3264 "shape":"NextToken", 3265 "documentation":"<p>The token returned from previous API requests until the number of channels is reached.</p>" 3266 } 3267 } 3268 }, 3269 "ListSubChannelsRequest":{ 3270 "type":"structure", 3271 "required":[ 3272 "ChannelArn", 3273 "ChimeBearer" 3274 ], 3275 "members":{ 3276 "ChannelArn":{ 3277 "shape":"ChimeArn", 3278 "documentation":"<p>The ARN of elastic channel.</p>", 3279 "location":"uri", 3280 "locationName":"channelArn" 3281 }, 3282 "ChimeBearer":{ 3283 "shape":"ChimeArn", 3284 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user making the API call.</p>", 3285 "location":"header", 3286 "locationName":"x-amz-chime-bearer" 3287 }, 3288 "MaxResults":{ 3289 "shape":"MaxResults", 3290 "documentation":"<p>The maximum number of sub-channels that you want to return.</p>", 3291 "location":"querystring", 3292 "locationName":"max-results" 3293 }, 3294 "NextToken":{ 3295 "shape":"NextToken", 3296 "documentation":"<p>The token passed by previous API calls until all requested sub-channels are returned.</p>", 3297 "location":"querystring", 3298 "locationName":"next-token" 3299 } 3300 } 3301 }, 3302 "ListSubChannelsResponse":{ 3303 "type":"structure", 3304 "members":{ 3305 "ChannelArn":{ 3306 "shape":"ChimeArn", 3307 "documentation":"<p>The ARN of elastic channel.</p>" 3308 }, 3309 "SubChannels":{ 3310 "shape":"SubChannelSummaryList", 3311 "documentation":"<p>The information about each sub-channel.</p>" 3312 }, 3313 "NextToken":{ 3314 "shape":"NextToken", 3315 "documentation":"<p>The token passed by previous API calls until all requested sub-channels are returned.</p>" 3316 } 3317 } 3318 }, 3319 "ListTagsForResourceRequest":{ 3320 "type":"structure", 3321 "required":["ResourceARN"], 3322 "members":{ 3323 "ResourceARN":{ 3324 "shape":"ChimeArn", 3325 "documentation":"<p>The ARN of the resource.</p>", 3326 "location":"querystring", 3327 "locationName":"arn" 3328 } 3329 } 3330 }, 3331 "ListTagsForResourceResponse":{ 3332 "type":"structure", 3333 "members":{ 3334 "Tags":{ 3335 "shape":"TagList", 3336 "documentation":"<p>The tag key-value pairs.</p>" 3337 } 3338 } 3339 }, 3340 "MaxResults":{ 3341 "type":"integer", 3342 "max":50, 3343 "min":1 3344 }, 3345 "MaximumSubChannels":{ 3346 "type":"integer", 3347 "min":2 3348 }, 3349 "MemberArns":{ 3350 "type":"list", 3351 "member":{"shape":"ChimeArn"}, 3352 "max":100, 3353 "min":1 3354 }, 3355 "Members":{ 3356 "type":"list", 3357 "member":{"shape":"Identity"} 3358 }, 3359 "MembershipCount":{"type":"integer"}, 3360 "MessageAttributeMap":{ 3361 "type":"map", 3362 "key":{"shape":"MessageAttributeName"}, 3363 "value":{"shape":"MessageAttributeValue"} 3364 }, 3365 "MessageAttributeName":{ 3366 "type":"string", 3367 "max":64, 3368 "min":1, 3369 "pattern":"[\\s\\S]*", 3370 "sensitive":true 3371 }, 3372 "MessageAttributeStringValue":{ 3373 "type":"string", 3374 "max":512, 3375 "min":1, 3376 "pattern":"[\\s\\S]*", 3377 "sensitive":true 3378 }, 3379 "MessageAttributeStringValues":{ 3380 "type":"list", 3381 "member":{"shape":"MessageAttributeStringValue"} 3382 }, 3383 "MessageAttributeValue":{ 3384 "type":"structure", 3385 "members":{ 3386 "StringValues":{ 3387 "shape":"MessageAttributeStringValues", 3388 "documentation":"<p>The strings in a message attribute value.</p>" 3389 } 3390 }, 3391 "documentation":"<p>A list of message attribute values.</p>" 3392 }, 3393 "MessageId":{ 3394 "type":"string", 3395 "max":128, 3396 "min":1, 3397 "pattern":"[-_a-zA-Z0-9]*" 3398 }, 3399 "MessagingDataType":{ 3400 "type":"string", 3401 "enum":[ 3402 "Channel", 3403 "ChannelMessage" 3404 ] 3405 }, 3406 "MessagingSessionEndpoint":{ 3407 "type":"structure", 3408 "members":{ 3409 "Url":{ 3410 "shape":"UrlType", 3411 "documentation":"<p>The endpoint to which you establish a websocket connection.</p>" 3412 } 3413 }, 3414 "documentation":"<p>The websocket endpoint used to connect to Amazon Chime SDK messaging.</p>" 3415 }, 3416 "Metadata":{ 3417 "type":"string", 3418 "max":1024, 3419 "min":0, 3420 "pattern":".*", 3421 "sensitive":true 3422 }, 3423 "MinimumMembershipPercentage":{ 3424 "type":"integer", 3425 "max":40, 3426 "min":1 3427 }, 3428 "NextToken":{ 3429 "type":"string", 3430 "max":2048, 3431 "min":0, 3432 "pattern":".*", 3433 "sensitive":true 3434 }, 3435 "NonEmptyContent":{ 3436 "type":"string", 3437 "min":1, 3438 "pattern":"[\\s\\S]*", 3439 "sensitive":true 3440 }, 3441 "NonEmptyResourceName":{ 3442 "type":"string", 3443 "max":256, 3444 "min":1, 3445 "pattern":"[\\u0009\\u000A\\u000D\\u0020-\\u007E\\u0085\\u00A0-\\uD7FF\\uE000-\\uFFFD\\u10000-\\u10FFFF]*", 3446 "sensitive":true 3447 }, 3448 "NonNullableBoolean":{"type":"boolean"}, 3449 "NotFoundException":{ 3450 "type":"structure", 3451 "members":{ 3452 "Code":{"shape":"ErrorCode"}, 3453 "Message":{"shape":"String"} 3454 }, 3455 "documentation":"<p>One or more of the resources in the request does not exist in the system.</p>", 3456 "error":{"httpStatusCode":404}, 3457 "exception":true 3458 }, 3459 "Processor":{ 3460 "type":"structure", 3461 "required":[ 3462 "Name", 3463 "Configuration", 3464 "ExecutionOrder", 3465 "FallbackAction" 3466 ], 3467 "members":{ 3468 "Name":{ 3469 "shape":"NonEmptyResourceName", 3470 "documentation":"<p>The name of the channel flow.</p>" 3471 }, 3472 "Configuration":{ 3473 "shape":"ProcessorConfiguration", 3474 "documentation":"<p>The information about the type of processor and its identifier.</p>" 3475 }, 3476 "ExecutionOrder":{ 3477 "shape":"ChannelFlowExecutionOrder", 3478 "documentation":"<p>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.</p>" 3479 }, 3480 "FallbackAction":{ 3481 "shape":"FallbackAction", 3482 "documentation":"<p>Determines whether to continue with message processing or stop it in cases where communication with a processor fails. If a processor has a fallback action of <code>ABORT</code> and communication with it fails, the processor sets the message status to <code>FAILED</code> and does not send the message to any recipients. Note that if the last processor in the channel flow sequence has a fallback action of <code>CONTINUE</code> and communication with the processor fails, then the message is considered processed and sent to recipients of the channel.</p>" 3483 } 3484 }, 3485 "documentation":"<p>The information about a processor in a channel flow.</p>" 3486 }, 3487 "ProcessorConfiguration":{ 3488 "type":"structure", 3489 "required":["Lambda"], 3490 "members":{ 3491 "Lambda":{ 3492 "shape":"LambdaConfiguration", 3493 "documentation":"<p>Indicates that the processor is of type Lambda.</p>" 3494 } 3495 }, 3496 "documentation":"<p>A processor's metadata.</p>" 3497 }, 3498 "ProcessorList":{ 3499 "type":"list", 3500 "member":{"shape":"Processor"}, 3501 "max":3, 3502 "min":1 3503 }, 3504 "PushNotificationBody":{ 3505 "type":"string", 3506 "max":150, 3507 "min":1, 3508 "pattern":"[\\s\\S]*", 3509 "sensitive":true 3510 }, 3511 "PushNotificationConfiguration":{ 3512 "type":"structure", 3513 "members":{ 3514 "Title":{ 3515 "shape":"PushNotificationTitle", 3516 "documentation":"<p>The title of the push notification.</p>" 3517 }, 3518 "Body":{ 3519 "shape":"PushNotificationBody", 3520 "documentation":"<p>The body of the push notification.</p>" 3521 }, 3522 "Type":{ 3523 "shape":"PushNotificationType", 3524 "documentation":"<p>Enum value that indicates the type of the push notification for a message. <code>DEFAULT</code>: Normal mobile push notification. <code>VOIP</code>: VOIP mobile push notification.</p>" 3525 } 3526 }, 3527 "documentation":"<p>The push notification configuration of the message.</p>" 3528 }, 3529 "PushNotificationPreferences":{ 3530 "type":"structure", 3531 "required":["AllowNotifications"], 3532 "members":{ 3533 "AllowNotifications":{ 3534 "shape":"AllowNotifications", 3535 "documentation":"<p>Enum value that indicates which push notifications to send to the requested member of a channel. <code>ALL</code> sends all push notifications, <code>NONE</code> sends no push notifications, <code>FILTERED</code> sends only filtered push notifications. </p>" 3536 }, 3537 "FilterRule":{ 3538 "shape":"FilterRule", 3539 "documentation":"<p>The simple JSON object used to send a subset of a push notification to the requested member.</p>" 3540 } 3541 }, 3542 "documentation":"<p>The channel membership preferences for push notification.</p>" 3543 }, 3544 "PushNotificationTitle":{ 3545 "type":"string", 3546 "max":50, 3547 "min":1, 3548 "pattern":".*", 3549 "sensitive":true 3550 }, 3551 "PushNotificationType":{ 3552 "type":"string", 3553 "enum":[ 3554 "DEFAULT", 3555 "VOIP" 3556 ] 3557 }, 3558 "PutChannelExpirationSettingsRequest":{ 3559 "type":"structure", 3560 "required":["ChannelArn"], 3561 "members":{ 3562 "ChannelArn":{ 3563 "shape":"ChimeArn", 3564 "documentation":"<p>The ARN of the channel.</p>", 3565 "location":"uri", 3566 "locationName":"channelArn" 3567 }, 3568 "ChimeBearer":{ 3569 "shape":"ChimeArn", 3570 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 3571 "location":"header", 3572 "locationName":"x-amz-chime-bearer" 3573 }, 3574 "ExpirationSettings":{ 3575 "shape":"ExpirationSettings", 3576 "documentation":"<p>Settings that control the interval after which a channel is deleted.</p>" 3577 } 3578 } 3579 }, 3580 "PutChannelExpirationSettingsResponse":{ 3581 "type":"structure", 3582 "members":{ 3583 "ChannelArn":{ 3584 "shape":"ChimeArn", 3585 "documentation":"<p>The channel ARN.</p>" 3586 }, 3587 "ExpirationSettings":{ 3588 "shape":"ExpirationSettings", 3589 "documentation":"<p>Settings that control the interval after which a channel is deleted.</p>" 3590 } 3591 } 3592 }, 3593 "PutChannelMembershipPreferencesRequest":{ 3594 "type":"structure", 3595 "required":[ 3596 "ChannelArn", 3597 "MemberArn", 3598 "ChimeBearer", 3599 "Preferences" 3600 ], 3601 "members":{ 3602 "ChannelArn":{ 3603 "shape":"ChimeArn", 3604 "documentation":"<p>The ARN of the channel.</p>", 3605 "location":"uri", 3606 "locationName":"channelArn" 3607 }, 3608 "MemberArn":{ 3609 "shape":"ChimeArn", 3610 "documentation":"<p>The ARN of the member setting the preferences.</p>", 3611 "location":"uri", 3612 "locationName":"memberArn" 3613 }, 3614 "ChimeBearer":{ 3615 "shape":"ChimeArn", 3616 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 3617 "location":"header", 3618 "locationName":"x-amz-chime-bearer" 3619 }, 3620 "Preferences":{ 3621 "shape":"ChannelMembershipPreferences", 3622 "documentation":"<p>The channel membership preferences of an <code>AppInstanceUser</code> .</p>" 3623 } 3624 } 3625 }, 3626 "PutChannelMembershipPreferencesResponse":{ 3627 "type":"structure", 3628 "members":{ 3629 "ChannelArn":{ 3630 "shape":"ChimeArn", 3631 "documentation":"<p>The ARN of the channel.</p>" 3632 }, 3633 "Member":{ 3634 "shape":"Identity", 3635 "documentation":"<p>The details of a user.</p>" 3636 }, 3637 "Preferences":{ 3638 "shape":"ChannelMembershipPreferences", 3639 "documentation":"<p>The ARN and metadata of the member being added.</p>" 3640 } 3641 } 3642 }, 3643 "PutMessagingStreamingConfigurationsRequest":{ 3644 "type":"structure", 3645 "required":[ 3646 "AppInstanceArn", 3647 "StreamingConfigurations" 3648 ], 3649 "members":{ 3650 "AppInstanceArn":{ 3651 "shape":"ChimeArn", 3652 "documentation":"<p>The ARN of the streaming configuration.</p>", 3653 "location":"uri", 3654 "locationName":"appInstanceArn" 3655 }, 3656 "StreamingConfigurations":{ 3657 "shape":"StreamingConfigurationList", 3658 "documentation":"<p>The streaming configurations.</p>" 3659 } 3660 } 3661 }, 3662 "PutMessagingStreamingConfigurationsResponse":{ 3663 "type":"structure", 3664 "members":{ 3665 "StreamingConfigurations":{ 3666 "shape":"StreamingConfigurationList", 3667 "documentation":"<p>The requested streaming configurations.</p>" 3668 } 3669 } 3670 }, 3671 "RedactChannelMessageRequest":{ 3672 "type":"structure", 3673 "required":[ 3674 "ChannelArn", 3675 "MessageId", 3676 "ChimeBearer" 3677 ], 3678 "members":{ 3679 "ChannelArn":{ 3680 "shape":"ChimeArn", 3681 "documentation":"<p>The ARN of the channel containing the messages that you want to redact.</p>", 3682 "location":"uri", 3683 "locationName":"channelArn" 3684 }, 3685 "MessageId":{ 3686 "shape":"MessageId", 3687 "documentation":"<p>The ID of the message being redacted.</p>", 3688 "location":"uri", 3689 "locationName":"messageId" 3690 }, 3691 "ChimeBearer":{ 3692 "shape":"ChimeArn", 3693 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 3694 "location":"header", 3695 "locationName":"x-amz-chime-bearer" 3696 }, 3697 "SubChannelId":{ 3698 "shape":"SubChannelId", 3699 "documentation":"<p>The ID of the SubChannel in the request.</p>" 3700 } 3701 } 3702 }, 3703 "RedactChannelMessageResponse":{ 3704 "type":"structure", 3705 "members":{ 3706 "ChannelArn":{ 3707 "shape":"ChimeArn", 3708 "documentation":"<p>The ARN of the channel containing the messages that you want to redact.</p>" 3709 }, 3710 "MessageId":{ 3711 "shape":"MessageId", 3712 "documentation":"<p>The ID of the message being redacted.</p>" 3713 }, 3714 "SubChannelId":{ 3715 "shape":"SubChannelId", 3716 "documentation":"<p>The ID of the SubChannel in the response.</p> <note> <p>Only required when redacting messages in a SubChannel that the user belongs to.</p> </note>" 3717 } 3718 } 3719 }, 3720 "ResourceLimitExceededException":{ 3721 "type":"structure", 3722 "members":{ 3723 "Code":{"shape":"ErrorCode"}, 3724 "Message":{"shape":"String"} 3725 }, 3726 "documentation":"<p>The request exceeds the resource limit.</p>", 3727 "error":{"httpStatusCode":400}, 3728 "exception":true 3729 }, 3730 "ResourceName":{ 3731 "type":"string", 3732 "max":256, 3733 "min":0, 3734 "pattern":"[\\u0009\\u000A\\u000D\\u0020-\\u007E\\u0085\\u00A0-\\uD7FF\\uE000-\\uFFFD\\u10000-\\u10FFFF]*", 3735 "sensitive":true 3736 }, 3737 "SearchChannelsRequest":{ 3738 "type":"structure", 3739 "required":["Fields"], 3740 "members":{ 3741 "ChimeBearer":{ 3742 "shape":"ChimeArn", 3743 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user making the API call.</p>", 3744 "location":"header", 3745 "locationName":"x-amz-chime-bearer" 3746 }, 3747 "Fields":{ 3748 "shape":"SearchFields", 3749 "documentation":"<p>A list of the <code>Field</code> objects in the channel being searched.</p>" 3750 }, 3751 "MaxResults":{ 3752 "shape":"MaxResults", 3753 "documentation":"<p>The maximum number of channels that you want returned.</p>", 3754 "location":"querystring", 3755 "locationName":"max-results" 3756 }, 3757 "NextToken":{ 3758 "shape":"NextToken", 3759 "documentation":"<p>The token returned from previous API requests until the number of channels is reached.</p>", 3760 "location":"querystring", 3761 "locationName":"next-token" 3762 } 3763 } 3764 }, 3765 "SearchChannelsResponse":{ 3766 "type":"structure", 3767 "members":{ 3768 "Channels":{ 3769 "shape":"ChannelSummaryList", 3770 "documentation":"<p>A list of the channels in the request.</p>" 3771 }, 3772 "NextToken":{ 3773 "shape":"NextToken", 3774 "documentation":"<p>The token returned from previous API responses until the number of channels is reached.</p>" 3775 } 3776 } 3777 }, 3778 "SearchField":{ 3779 "type":"structure", 3780 "required":[ 3781 "Key", 3782 "Values", 3783 "Operator" 3784 ], 3785 "members":{ 3786 "Key":{ 3787 "shape":"SearchFieldKey", 3788 "documentation":"<p>An <code>enum</code> value that indicates the key to search the channel on. <code>MEMBERS</code> allows you to search channels based on memberships. You can use it with the <code>EQUALS</code> operator to get channels whose memberships are equal to the specified values, and with the <code>INCLUDES</code> operator to get channels whose memberships include the specified values.</p>" 3789 }, 3790 "Values":{ 3791 "shape":"SearchFieldValues", 3792 "documentation":"<p>The values that you want to search for, a list of strings. The values must be <code>AppInstanceUserArns</code> specified as a list of strings.</p> <note> <p>This operation isn't supported for <code>AppInstanceUsers</code> with large number of memberships.</p> </note>" 3793 }, 3794 "Operator":{ 3795 "shape":"SearchFieldOperator", 3796 "documentation":"<p>The operator used to compare field values, currently <code>EQUALS</code> or <code>INCLUDES</code>. Use the <code>EQUALS</code> operator to find channels whose memberships equal the specified values. Use the <code>INCLUDES</code> operator to find channels whose memberships include the specified values.</p>" 3797 } 3798 }, 3799 "documentation":"<p>A <code>Field</code> of the channel that you want to search.</p>" 3800 }, 3801 "SearchFieldKey":{ 3802 "type":"string", 3803 "enum":["MEMBERS"] 3804 }, 3805 "SearchFieldOperator":{ 3806 "type":"string", 3807 "enum":[ 3808 "EQUALS", 3809 "INCLUDES" 3810 ] 3811 }, 3812 "SearchFieldValue":{ 3813 "type":"string", 3814 "max":512, 3815 "min":1, 3816 "pattern":"[\\s\\S]*" 3817 }, 3818 "SearchFieldValues":{ 3819 "type":"list", 3820 "member":{"shape":"SearchFieldValue"}, 3821 "max":20, 3822 "min":1 3823 }, 3824 "SearchFields":{ 3825 "type":"list", 3826 "member":{"shape":"SearchField"}, 3827 "max":20, 3828 "min":1 3829 }, 3830 "SendChannelMessageRequest":{ 3831 "type":"structure", 3832 "required":[ 3833 "ChannelArn", 3834 "Content", 3835 "Type", 3836 "Persistence", 3837 "ClientRequestToken", 3838 "ChimeBearer" 3839 ], 3840 "members":{ 3841 "ChannelArn":{ 3842 "shape":"ChimeArn", 3843 "documentation":"<p>The ARN of the channel.</p>", 3844 "location":"uri", 3845 "locationName":"channelArn" 3846 }, 3847 "Content":{ 3848 "shape":"NonEmptyContent", 3849 "documentation":"<p>The content of the channel message.</p>" 3850 }, 3851 "Type":{ 3852 "shape":"ChannelMessageType", 3853 "documentation":"<p>The type of message, <code>STANDARD</code> or <code>CONTROL</code>.</p> <p> <code>STANDARD</code> 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.</p> <p> <code>CONTROL</code> messages are limited to 30 bytes and do not contain metadata.</p>" 3854 }, 3855 "Persistence":{ 3856 "shape":"ChannelMessagePersistenceType", 3857 "documentation":"<p>Boolean that controls whether the message is persisted on the back end. Required.</p>" 3858 }, 3859 "Metadata":{ 3860 "shape":"Metadata", 3861 "documentation":"<p>The optional metadata for each message.</p>" 3862 }, 3863 "ClientRequestToken":{ 3864 "shape":"ClientRequestToken", 3865 "documentation":"<p>The <code>Idempotency</code> token for each client request.</p>", 3866 "idempotencyToken":true 3867 }, 3868 "ChimeBearer":{ 3869 "shape":"ChimeArn", 3870 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 3871 "location":"header", 3872 "locationName":"x-amz-chime-bearer" 3873 }, 3874 "PushNotification":{ 3875 "shape":"PushNotificationConfiguration", 3876 "documentation":"<p>The push notification configuration of the message.</p>" 3877 }, 3878 "MessageAttributes":{ 3879 "shape":"MessageAttributeMap", 3880 "documentation":"<p>The attributes for the message, used for message filtering along with a <code>FilterRule</code> defined in the <code>PushNotificationPreferences</code>.</p>" 3881 }, 3882 "SubChannelId":{ 3883 "shape":"SubChannelId", 3884 "documentation":"<p>The ID of the SubChannel in the request.</p>" 3885 }, 3886 "ContentType":{ 3887 "shape":"ContentType", 3888 "documentation":"<p>The content type of the channel message.</p>" 3889 }, 3890 "Target":{ 3891 "shape":"TargetList", 3892 "documentation":"<p>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. </p>" 3893 } 3894 } 3895 }, 3896 "SendChannelMessageResponse":{ 3897 "type":"structure", 3898 "members":{ 3899 "ChannelArn":{ 3900 "shape":"ChimeArn", 3901 "documentation":"<p>The ARN of the channel.</p>" 3902 }, 3903 "MessageId":{ 3904 "shape":"MessageId", 3905 "documentation":"<p>The ID string assigned to each message.</p>" 3906 }, 3907 "Status":{ 3908 "shape":"ChannelMessageStatusStructure", 3909 "documentation":"<p>The status of the channel message.</p>" 3910 }, 3911 "SubChannelId":{ 3912 "shape":"SubChannelId", 3913 "documentation":"<p>The ID of the SubChannel in the response.</p>" 3914 } 3915 } 3916 }, 3917 "ServiceFailureException":{ 3918 "type":"structure", 3919 "members":{ 3920 "Code":{"shape":"ErrorCode"}, 3921 "Message":{"shape":"String"} 3922 }, 3923 "documentation":"<p>The service encountered an unexpected error.</p>", 3924 "error":{"httpStatusCode":500}, 3925 "exception":true, 3926 "fault":true 3927 }, 3928 "ServiceUnavailableException":{ 3929 "type":"structure", 3930 "members":{ 3931 "Code":{"shape":"ErrorCode"}, 3932 "Message":{"shape":"String"} 3933 }, 3934 "documentation":"<p>The service is currently unavailable.</p>", 3935 "error":{"httpStatusCode":503}, 3936 "exception":true, 3937 "fault":true 3938 }, 3939 "SortOrder":{ 3940 "type":"string", 3941 "enum":[ 3942 "ASCENDING", 3943 "DESCENDING" 3944 ] 3945 }, 3946 "StatusDetail":{ 3947 "type":"string", 3948 "max":256, 3949 "min":0, 3950 "pattern":"[\\s\\S]*" 3951 }, 3952 "StreamingConfiguration":{ 3953 "type":"structure", 3954 "required":[ 3955 "DataType", 3956 "ResourceArn" 3957 ], 3958 "members":{ 3959 "DataType":{ 3960 "shape":"MessagingDataType", 3961 "documentation":"<p>The data type of the configuration.</p>" 3962 }, 3963 "ResourceArn":{ 3964 "shape":"ChimeArn", 3965 "documentation":"<p>The ARN of the resource in the configuration. </p>" 3966 } 3967 }, 3968 "documentation":"<p>The configuration for connecting a messaging stream to Amazon Kinesis.</p>" 3969 }, 3970 "StreamingConfigurationList":{ 3971 "type":"list", 3972 "member":{"shape":"StreamingConfiguration"}, 3973 "max":2, 3974 "min":1 3975 }, 3976 "String":{"type":"string"}, 3977 "SubChannelId":{ 3978 "type":"string", 3979 "max":128, 3980 "min":1, 3981 "pattern":"[-_a-zA-Z0-9]*" 3982 }, 3983 "SubChannelSummary":{ 3984 "type":"structure", 3985 "members":{ 3986 "SubChannelId":{ 3987 "shape":"SubChannelId", 3988 "documentation":"<p>The unique ID of a SubChannel.</p>" 3989 }, 3990 "MembershipCount":{ 3991 "shape":"MembershipCount", 3992 "documentation":"<p>The number of members in a SubChannel.</p>" 3993 } 3994 }, 3995 "documentation":"<p>Summary of the sub-channels associated with the elastic channel.</p>" 3996 }, 3997 "SubChannelSummaryList":{ 3998 "type":"list", 3999 "member":{"shape":"SubChannelSummary"} 4000 }, 4001 "Tag":{ 4002 "type":"structure", 4003 "required":[ 4004 "Key", 4005 "Value" 4006 ], 4007 "members":{ 4008 "Key":{ 4009 "shape":"TagKey", 4010 "documentation":"<p>The key in a tag.</p>" 4011 }, 4012 "Value":{ 4013 "shape":"TagValue", 4014 "documentation":"<p>The value in a tag.</p>" 4015 } 4016 }, 4017 "documentation":"<p>A tag object containing a key-value pair.</p>" 4018 }, 4019 "TagKey":{ 4020 "type":"string", 4021 "max":128, 4022 "min":1, 4023 "sensitive":true 4024 }, 4025 "TagKeyList":{ 4026 "type":"list", 4027 "member":{"shape":"TagKey"}, 4028 "max":50, 4029 "min":1 4030 }, 4031 "TagList":{ 4032 "type":"list", 4033 "member":{"shape":"Tag"}, 4034 "max":50, 4035 "min":1 4036 }, 4037 "TagResourceRequest":{ 4038 "type":"structure", 4039 "required":[ 4040 "ResourceARN", 4041 "Tags" 4042 ], 4043 "members":{ 4044 "ResourceARN":{ 4045 "shape":"ChimeArn", 4046 "documentation":"<p>The resource ARN.</p>" 4047 }, 4048 "Tags":{ 4049 "shape":"TagList", 4050 "documentation":"<p>The tag key-value pairs.</p>" 4051 } 4052 } 4053 }, 4054 "TagValue":{ 4055 "type":"string", 4056 "max":256, 4057 "min":1, 4058 "sensitive":true 4059 }, 4060 "Target":{ 4061 "type":"structure", 4062 "members":{ 4063 "MemberArn":{ 4064 "shape":"ChimeArn", 4065 "documentation":"<p>The ARN of the target channel member.</p>" 4066 } 4067 }, 4068 "documentation":"<p>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.</p>" 4069 }, 4070 "TargetList":{ 4071 "type":"list", 4072 "member":{"shape":"Target"}, 4073 "max":1, 4074 "min":1 4075 }, 4076 "TargetMembershipsPerSubChannel":{ 4077 "type":"integer", 4078 "min":2 4079 }, 4080 "ThrottledClientException":{ 4081 "type":"structure", 4082 "members":{ 4083 "Code":{"shape":"ErrorCode"}, 4084 "Message":{"shape":"String"} 4085 }, 4086 "documentation":"<p>The client exceeded its request rate limit.</p>", 4087 "error":{"httpStatusCode":429}, 4088 "exception":true 4089 }, 4090 "Timestamp":{"type":"timestamp"}, 4091 "UnauthorizedClientException":{ 4092 "type":"structure", 4093 "members":{ 4094 "Code":{"shape":"ErrorCode"}, 4095 "Message":{"shape":"String"} 4096 }, 4097 "documentation":"<p>The client is not currently authorized to make the request.</p>", 4098 "error":{"httpStatusCode":401}, 4099 "exception":true 4100 }, 4101 "UntagResourceRequest":{ 4102 "type":"structure", 4103 "required":[ 4104 "ResourceARN", 4105 "TagKeys" 4106 ], 4107 "members":{ 4108 "ResourceARN":{ 4109 "shape":"ChimeArn", 4110 "documentation":"<p>The resource ARN.</p>" 4111 }, 4112 "TagKeys":{ 4113 "shape":"TagKeyList", 4114 "documentation":"<p>The tag keys.</p>" 4115 } 4116 } 4117 }, 4118 "UpdateChannelFlowRequest":{ 4119 "type":"structure", 4120 "required":[ 4121 "ChannelFlowArn", 4122 "Processors", 4123 "Name" 4124 ], 4125 "members":{ 4126 "ChannelFlowArn":{ 4127 "shape":"ChimeArn", 4128 "documentation":"<p>The ARN of the channel flow.</p>", 4129 "location":"uri", 4130 "locationName":"channelFlowArn" 4131 }, 4132 "Processors":{ 4133 "shape":"ProcessorList", 4134 "documentation":"<p>Information about the processor Lambda functions </p>" 4135 }, 4136 "Name":{ 4137 "shape":"NonEmptyResourceName", 4138 "documentation":"<p>The name of the channel flow.</p>" 4139 } 4140 } 4141 }, 4142 "UpdateChannelFlowResponse":{ 4143 "type":"structure", 4144 "members":{ 4145 "ChannelFlowArn":{ 4146 "shape":"ChimeArn", 4147 "documentation":"<p>The ARN of the channel flow.</p>" 4148 } 4149 } 4150 }, 4151 "UpdateChannelMessageRequest":{ 4152 "type":"structure", 4153 "required":[ 4154 "ChannelArn", 4155 "MessageId", 4156 "Content", 4157 "ChimeBearer" 4158 ], 4159 "members":{ 4160 "ChannelArn":{ 4161 "shape":"ChimeArn", 4162 "documentation":"<p>The ARN of the channel.</p>", 4163 "location":"uri", 4164 "locationName":"channelArn" 4165 }, 4166 "MessageId":{ 4167 "shape":"MessageId", 4168 "documentation":"<p>The ID string of the message being updated.</p>", 4169 "location":"uri", 4170 "locationName":"messageId" 4171 }, 4172 "Content":{ 4173 "shape":"NonEmptyContent", 4174 "documentation":"<p>The content of the channel message. </p>" 4175 }, 4176 "Metadata":{ 4177 "shape":"Metadata", 4178 "documentation":"<p>The metadata of the message being updated.</p>" 4179 }, 4180 "ChimeBearer":{ 4181 "shape":"ChimeArn", 4182 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 4183 "location":"header", 4184 "locationName":"x-amz-chime-bearer" 4185 }, 4186 "SubChannelId":{ 4187 "shape":"SubChannelId", 4188 "documentation":"<p>The ID of the SubChannel in the request.</p> <note> <p>Only required when updating messages in a SubChannel that the user belongs to.</p> </note>" 4189 }, 4190 "ContentType":{ 4191 "shape":"ContentType", 4192 "documentation":"<p>The content type of the channel message.</p>" 4193 } 4194 } 4195 }, 4196 "UpdateChannelMessageResponse":{ 4197 "type":"structure", 4198 "members":{ 4199 "ChannelArn":{ 4200 "shape":"ChimeArn", 4201 "documentation":"<p>The ARN of the channel.</p>" 4202 }, 4203 "MessageId":{ 4204 "shape":"MessageId", 4205 "documentation":"<p>The ID string of the message being updated.</p>" 4206 }, 4207 "Status":{ 4208 "shape":"ChannelMessageStatusStructure", 4209 "documentation":"<p>The status of the message update.</p>" 4210 }, 4211 "SubChannelId":{ 4212 "shape":"SubChannelId", 4213 "documentation":"<p>The ID of the SubChannel in the response.</p>" 4214 } 4215 } 4216 }, 4217 "UpdateChannelReadMarkerRequest":{ 4218 "type":"structure", 4219 "required":[ 4220 "ChannelArn", 4221 "ChimeBearer" 4222 ], 4223 "members":{ 4224 "ChannelArn":{ 4225 "shape":"ChimeArn", 4226 "documentation":"<p>The ARN of the channel.</p>", 4227 "location":"uri", 4228 "locationName":"channelArn" 4229 }, 4230 "ChimeBearer":{ 4231 "shape":"ChimeArn", 4232 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 4233 "location":"header", 4234 "locationName":"x-amz-chime-bearer" 4235 } 4236 } 4237 }, 4238 "UpdateChannelReadMarkerResponse":{ 4239 "type":"structure", 4240 "members":{ 4241 "ChannelArn":{ 4242 "shape":"ChimeArn", 4243 "documentation":"<p>The ARN of the channel.</p>" 4244 } 4245 } 4246 }, 4247 "UpdateChannelRequest":{ 4248 "type":"structure", 4249 "required":[ 4250 "ChannelArn", 4251 "ChimeBearer" 4252 ], 4253 "members":{ 4254 "ChannelArn":{ 4255 "shape":"ChimeArn", 4256 "documentation":"<p>The ARN of the channel.</p>", 4257 "location":"uri", 4258 "locationName":"channelArn" 4259 }, 4260 "Name":{ 4261 "shape":"NonEmptyResourceName", 4262 "documentation":"<p>The name of the channel.</p>" 4263 }, 4264 "Mode":{ 4265 "shape":"ChannelMode", 4266 "documentation":"<p>The mode of the update request.</p>" 4267 }, 4268 "Metadata":{ 4269 "shape":"Metadata", 4270 "documentation":"<p>The metadata for the update request.</p>" 4271 }, 4272 "ChimeBearer":{ 4273 "shape":"ChimeArn", 4274 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>", 4275 "location":"header", 4276 "locationName":"x-amz-chime-bearer" 4277 } 4278 } 4279 }, 4280 "UpdateChannelResponse":{ 4281 "type":"structure", 4282 "members":{ 4283 "ChannelArn":{ 4284 "shape":"ChimeArn", 4285 "documentation":"<p>The ARN of the channel.</p>" 4286 } 4287 } 4288 }, 4289 "UrlType":{ 4290 "type":"string", 4291 "max":4096 4292 } 4293 }, 4294 "documentation":"<p>The Amazon Chime SDK messaging APIs in this section allow software developers to send and receive messages in custom messaging applications. These APIs depend on the frameworks provided by the Amazon Chime SDK identity APIs. For more information about the messaging APIs, see <a href=\"https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Messaging.html\">Amazon Chime SDK messaging</a>.</p>" 4295} 4296