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 <code>AppInstanceUserArn</code> of the user 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":"ForbiddenException"}, 49 {"shape":"ThrottledClientException"} 50 ], 51 "documentation":"<p>Adds a specified number of users to a channel. </p>" 52 }, 53 "ChannelFlowCallback":{ 54 "name":"ChannelFlowCallback", 55 "http":{ 56 "method":"POST", 57 "requestUri":"/channels/{channelArn}?operation=channel-flow-callback", 58 "responseCode":200 59 }, 60 "input":{"shape":"ChannelFlowCallbackRequest"}, 61 "output":{"shape":"ChannelFlowCallbackResponse"}, 62 "errors":[ 63 {"shape":"BadRequestException"}, 64 {"shape":"ForbiddenException"}, 65 {"shape":"UnauthorizedClientException"}, 66 {"shape":"ConflictException"}, 67 {"shape":"ThrottledClientException"}, 68 {"shape":"ServiceUnavailableException"}, 69 {"shape":"ServiceFailureException"} 70 ], 71 "documentation":"<p>Calls back 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>" 72 }, 73 "CreateChannel":{ 74 "name":"CreateChannel", 75 "http":{ 76 "method":"POST", 77 "requestUri":"/channels", 78 "responseCode":201 79 }, 80 "input":{"shape":"CreateChannelRequest"}, 81 "output":{"shape":"CreateChannelResponse"}, 82 "errors":[ 83 {"shape":"BadRequestException"}, 84 {"shape":"ForbiddenException"}, 85 {"shape":"UnauthorizedClientException"}, 86 {"shape":"ConflictException"}, 87 {"shape":"ResourceLimitExceededException"}, 88 {"shape":"ThrottledClientException"}, 89 {"shape":"ServiceUnavailableException"}, 90 {"shape":"ServiceFailureException"} 91 ], 92 "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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>" 93 }, 94 "CreateChannelBan":{ 95 "name":"CreateChannelBan", 96 "http":{ 97 "method":"POST", 98 "requestUri":"/channels/{channelArn}/bans", 99 "responseCode":201 100 }, 101 "input":{"shape":"CreateChannelBanRequest"}, 102 "output":{"shape":"CreateChannelBanResponse"}, 103 "errors":[ 104 {"shape":"BadRequestException"}, 105 {"shape":"ForbiddenException"}, 106 {"shape":"UnauthorizedClientException"}, 107 {"shape":"ConflictException"}, 108 {"shape":"ResourceLimitExceededException"}, 109 {"shape":"ThrottledClientException"}, 110 {"shape":"ServiceUnavailableException"}, 111 {"shape":"ServiceFailureException"} 112 ], 113 "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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>" 114 }, 115 "CreateChannelFlow":{ 116 "name":"CreateChannelFlow", 117 "http":{ 118 "method":"POST", 119 "requestUri":"/channel-flows", 120 "responseCode":201 121 }, 122 "input":{"shape":"CreateChannelFlowRequest"}, 123 "output":{"shape":"CreateChannelFlowResponse"}, 124 "errors":[ 125 {"shape":"BadRequestException"}, 126 {"shape":"ForbiddenException"}, 127 {"shape":"UnauthorizedClientException"}, 128 {"shape":"ConflictException"}, 129 {"shape":"ResourceLimitExceededException"}, 130 {"shape":"ThrottledClientException"}, 131 {"shape":"ServiceUnavailableException"}, 132 {"shape":"ServiceFailureException"} 133 ], 134 "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>" 135 }, 136 "CreateChannelMembership":{ 137 "name":"CreateChannelMembership", 138 "http":{ 139 "method":"POST", 140 "requestUri":"/channels/{channelArn}/memberships", 141 "responseCode":201 142 }, 143 "input":{"shape":"CreateChannelMembershipRequest"}, 144 "output":{"shape":"CreateChannelMembershipResponse"}, 145 "errors":[ 146 {"shape":"BadRequestException"}, 147 {"shape":"ForbiddenException"}, 148 {"shape":"UnauthorizedClientException"}, 149 {"shape":"ConflictException"}, 150 {"shape":"ResourceLimitExceededException"}, 151 {"shape":"ThrottledClientException"}, 152 {"shape":"ServiceUnavailableException"}, 153 {"shape":"ServiceFailureException"} 154 ], 155 "documentation":"<p>Adds a user to a channel. The <code>InvitedBy</code> response field 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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>" 156 }, 157 "CreateChannelModerator":{ 158 "name":"CreateChannelModerator", 159 "http":{ 160 "method":"POST", 161 "requestUri":"/channels/{channelArn}/moderators", 162 "responseCode":201 163 }, 164 "input":{"shape":"CreateChannelModeratorRequest"}, 165 "output":{"shape":"CreateChannelModeratorResponse"}, 166 "errors":[ 167 {"shape":"BadRequestException"}, 168 {"shape":"ForbiddenException"}, 169 {"shape":"UnauthorizedClientException"}, 170 {"shape":"ConflictException"}, 171 {"shape":"ResourceLimitExceededException"}, 172 {"shape":"ThrottledClientException"}, 173 {"shape":"ServiceUnavailableException"}, 174 {"shape":"ServiceFailureException"} 175 ], 176 "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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>" 177 }, 178 "DeleteChannel":{ 179 "name":"DeleteChannel", 180 "http":{ 181 "method":"DELETE", 182 "requestUri":"/channels/{channelArn}", 183 "responseCode":204 184 }, 185 "input":{"shape":"DeleteChannelRequest"}, 186 "errors":[ 187 {"shape":"BadRequestException"}, 188 {"shape":"ForbiddenException"}, 189 {"shape":"UnauthorizedClientException"}, 190 {"shape":"ThrottledClientException"}, 191 {"shape":"ServiceUnavailableException"}, 192 {"shape":"ServiceFailureException"} 193 ], 194 "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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>" 195 }, 196 "DeleteChannelBan":{ 197 "name":"DeleteChannelBan", 198 "http":{ 199 "method":"DELETE", 200 "requestUri":"/channels/{channelArn}/bans/{memberArn}", 201 "responseCode":204 202 }, 203 "input":{"shape":"DeleteChannelBanRequest"}, 204 "errors":[ 205 {"shape":"BadRequestException"}, 206 {"shape":"ForbiddenException"}, 207 {"shape":"UnauthorizedClientException"}, 208 {"shape":"ThrottledClientException"}, 209 {"shape":"ServiceUnavailableException"}, 210 {"shape":"ServiceFailureException"} 211 ], 212 "documentation":"<p>Removes a user from a channel's ban list.</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>" 213 }, 214 "DeleteChannelFlow":{ 215 "name":"DeleteChannelFlow", 216 "http":{ 217 "method":"DELETE", 218 "requestUri":"/channel-flows/{channelFlowArn}", 219 "responseCode":204 220 }, 221 "input":{"shape":"DeleteChannelFlowRequest"}, 222 "errors":[ 223 {"shape":"BadRequestException"}, 224 {"shape":"ForbiddenException"}, 225 {"shape":"UnauthorizedClientException"}, 226 {"shape":"ThrottledClientException"}, 227 {"shape":"ConflictException"}, 228 {"shape":"ServiceUnavailableException"}, 229 {"shape":"ServiceFailureException"} 230 ], 231 "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>" 232 }, 233 "DeleteChannelMembership":{ 234 "name":"DeleteChannelMembership", 235 "http":{ 236 "method":"DELETE", 237 "requestUri":"/channels/{channelArn}/memberships/{memberArn}", 238 "responseCode":204 239 }, 240 "input":{"shape":"DeleteChannelMembershipRequest"}, 241 "errors":[ 242 {"shape":"BadRequestException"}, 243 {"shape":"ForbiddenException"}, 244 {"shape":"UnauthorizedClientException"}, 245 {"shape":"ConflictException"}, 246 {"shape":"ThrottledClientException"}, 247 {"shape":"ServiceUnavailableException"}, 248 {"shape":"ServiceFailureException"} 249 ], 250 "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>" 251 }, 252 "DeleteChannelMessage":{ 253 "name":"DeleteChannelMessage", 254 "http":{ 255 "method":"DELETE", 256 "requestUri":"/channels/{channelArn}/messages/{messageId}", 257 "responseCode":204 258 }, 259 "input":{"shape":"DeleteChannelMessageRequest"}, 260 "errors":[ 261 {"shape":"BadRequestException"}, 262 {"shape":"ForbiddenException"}, 263 {"shape":"UnauthorizedClientException"}, 264 {"shape":"ThrottledClientException"}, 265 {"shape":"ServiceUnavailableException"}, 266 {"shape":"ServiceFailureException"} 267 ], 268 "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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>" 269 }, 270 "DeleteChannelModerator":{ 271 "name":"DeleteChannelModerator", 272 "http":{ 273 "method":"DELETE", 274 "requestUri":"/channels/{channelArn}/moderators/{channelModeratorArn}", 275 "responseCode":204 276 }, 277 "input":{"shape":"DeleteChannelModeratorRequest"}, 278 "errors":[ 279 {"shape":"BadRequestException"}, 280 {"shape":"ForbiddenException"}, 281 {"shape":"UnauthorizedClientException"}, 282 {"shape":"ThrottledClientException"}, 283 {"shape":"ServiceUnavailableException"}, 284 {"shape":"ServiceFailureException"} 285 ], 286 "documentation":"<p>Deletes a channel moderator.</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>" 287 }, 288 "DescribeChannel":{ 289 "name":"DescribeChannel", 290 "http":{ 291 "method":"GET", 292 "requestUri":"/channels/{channelArn}", 293 "responseCode":200 294 }, 295 "input":{"shape":"DescribeChannelRequest"}, 296 "output":{"shape":"DescribeChannelResponse"}, 297 "errors":[ 298 {"shape":"BadRequestException"}, 299 {"shape":"ForbiddenException"}, 300 {"shape":"UnauthorizedClientException"}, 301 {"shape":"ThrottledClientException"}, 302 {"shape":"ServiceUnavailableException"}, 303 {"shape":"ServiceFailureException"} 304 ], 305 "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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>" 306 }, 307 "DescribeChannelBan":{ 308 "name":"DescribeChannelBan", 309 "http":{ 310 "method":"GET", 311 "requestUri":"/channels/{channelArn}/bans/{memberArn}", 312 "responseCode":200 313 }, 314 "input":{"shape":"DescribeChannelBanRequest"}, 315 "output":{"shape":"DescribeChannelBanResponse"}, 316 "errors":[ 317 {"shape":"BadRequestException"}, 318 {"shape":"ForbiddenException"}, 319 {"shape":"NotFoundException"}, 320 {"shape":"UnauthorizedClientException"}, 321 {"shape":"ThrottledClientException"}, 322 {"shape":"ServiceUnavailableException"}, 323 {"shape":"ServiceFailureException"} 324 ], 325 "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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>" 326 }, 327 "DescribeChannelFlow":{ 328 "name":"DescribeChannelFlow", 329 "http":{ 330 "method":"GET", 331 "requestUri":"/channel-flows/{channelFlowArn}", 332 "responseCode":200 333 }, 334 "input":{"shape":"DescribeChannelFlowRequest"}, 335 "output":{"shape":"DescribeChannelFlowResponse"}, 336 "errors":[ 337 {"shape":"BadRequestException"}, 338 {"shape":"ForbiddenException"}, 339 {"shape":"UnauthorizedClientException"}, 340 {"shape":"ThrottledClientException"}, 341 {"shape":"ServiceUnavailableException"}, 342 {"shape":"ServiceFailureException"} 343 ], 344 "documentation":"<p>Returns the full details of a channel flow in an Amazon Chime <code>AppInstance</code>. This is a developer API.</p>" 345 }, 346 "DescribeChannelMembership":{ 347 "name":"DescribeChannelMembership", 348 "http":{ 349 "method":"GET", 350 "requestUri":"/channels/{channelArn}/memberships/{memberArn}", 351 "responseCode":200 352 }, 353 "input":{"shape":"DescribeChannelMembershipRequest"}, 354 "output":{"shape":"DescribeChannelMembershipResponse"}, 355 "errors":[ 356 {"shape":"BadRequestException"}, 357 {"shape":"ForbiddenException"}, 358 {"shape":"NotFoundException"}, 359 {"shape":"UnauthorizedClientException"}, 360 {"shape":"ThrottledClientException"}, 361 {"shape":"ServiceUnavailableException"}, 362 {"shape":"ServiceFailureException"} 363 ], 364 "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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>" 365 }, 366 "DescribeChannelMembershipForAppInstanceUser":{ 367 "name":"DescribeChannelMembershipForAppInstanceUser", 368 "http":{ 369 "method":"GET", 370 "requestUri":"/channels/{channelArn}?scope=app-instance-user-membership", 371 "responseCode":200 372 }, 373 "input":{"shape":"DescribeChannelMembershipForAppInstanceUserRequest"}, 374 "output":{"shape":"DescribeChannelMembershipForAppInstanceUserResponse"}, 375 "errors":[ 376 {"shape":"BadRequestException"}, 377 {"shape":"ForbiddenException"}, 378 {"shape":"UnauthorizedClientException"}, 379 {"shape":"ThrottledClientException"}, 380 {"shape":"ServiceUnavailableException"}, 381 {"shape":"ServiceFailureException"} 382 ], 383 "documentation":"<p> Returns the details of a channel based on the membership of the specified <code>AppInstanceUser</code>.</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>" 384 }, 385 "DescribeChannelModeratedByAppInstanceUser":{ 386 "name":"DescribeChannelModeratedByAppInstanceUser", 387 "http":{ 388 "method":"GET", 389 "requestUri":"/channels/{channelArn}?scope=app-instance-user-moderated-channel", 390 "responseCode":200 391 }, 392 "input":{"shape":"DescribeChannelModeratedByAppInstanceUserRequest"}, 393 "output":{"shape":"DescribeChannelModeratedByAppInstanceUserResponse"}, 394 "errors":[ 395 {"shape":"BadRequestException"}, 396 {"shape":"ForbiddenException"}, 397 {"shape":"UnauthorizedClientException"}, 398 {"shape":"ThrottledClientException"}, 399 {"shape":"ServiceUnavailableException"}, 400 {"shape":"ServiceFailureException"} 401 ], 402 "documentation":"<p>Returns the full details of a channel moderated by the specified <code>AppInstanceUser</code>.</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>" 403 }, 404 "DescribeChannelModerator":{ 405 "name":"DescribeChannelModerator", 406 "http":{ 407 "method":"GET", 408 "requestUri":"/channels/{channelArn}/moderators/{channelModeratorArn}", 409 "responseCode":200 410 }, 411 "input":{"shape":"DescribeChannelModeratorRequest"}, 412 "output":{"shape":"DescribeChannelModeratorResponse"}, 413 "errors":[ 414 {"shape":"BadRequestException"}, 415 {"shape":"ForbiddenException"}, 416 {"shape":"NotFoundException"}, 417 {"shape":"UnauthorizedClientException"}, 418 {"shape":"ThrottledClientException"}, 419 {"shape":"ServiceUnavailableException"}, 420 {"shape":"ServiceFailureException"} 421 ], 422 "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>" 423 }, 424 "DisassociateChannelFlow":{ 425 "name":"DisassociateChannelFlow", 426 "http":{ 427 "method":"DELETE", 428 "requestUri":"/channels/{channelArn}/channel-flow/{channelFlowArn}", 429 "responseCode":204 430 }, 431 "input":{"shape":"DisassociateChannelFlowRequest"}, 432 "errors":[ 433 {"shape":"BadRequestException"}, 434 {"shape":"ForbiddenException"}, 435 {"shape":"NotFoundException"}, 436 {"shape":"UnauthorizedClientException"}, 437 {"shape":"ConflictException"}, 438 {"shape":"ThrottledClientException"}, 439 {"shape":"ServiceUnavailableException"}, 440 {"shape":"ServiceFailureException"} 441 ], 442 "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. 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>" 443 }, 444 "GetChannelMessage":{ 445 "name":"GetChannelMessage", 446 "http":{ 447 "method":"GET", 448 "requestUri":"/channels/{channelArn}/messages/{messageId}", 449 "responseCode":200 450 }, 451 "input":{"shape":"GetChannelMessageRequest"}, 452 "output":{"shape":"GetChannelMessageResponse"}, 453 "errors":[ 454 {"shape":"BadRequestException"}, 455 {"shape":"ForbiddenException"}, 456 {"shape":"NotFoundException"}, 457 {"shape":"UnauthorizedClientException"}, 458 {"shape":"ThrottledClientException"}, 459 {"shape":"ServiceUnavailableException"}, 460 {"shape":"ServiceFailureException"} 461 ], 462 "documentation":"<p>Gets the full details of a channel message.</p> <note> <p>The x-amz-chime-bearer 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>" 463 }, 464 "GetChannelMessageStatus":{ 465 "name":"GetChannelMessageStatus", 466 "http":{ 467 "method":"GET", 468 "requestUri":"/channels/{channelArn}/messages/{messageId}?scope=message-status", 469 "responseCode":200 470 }, 471 "input":{"shape":"GetChannelMessageStatusRequest"}, 472 "output":{"shape":"GetChannelMessageStatusResponse"}, 473 "errors":[ 474 {"shape":"BadRequestException"}, 475 {"shape":"ForbiddenException"}, 476 {"shape":"UnauthorizedClientException"}, 477 {"shape":"ThrottledClientException"}, 478 {"shape":"ServiceUnavailableException"}, 479 {"shape":"ServiceFailureException"} 480 ], 481 "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>Messasge 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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header</p> </li> </ul> </note>" 482 }, 483 "GetMessagingSessionEndpoint":{ 484 "name":"GetMessagingSessionEndpoint", 485 "http":{ 486 "method":"GET", 487 "requestUri":"/endpoints/messaging-session", 488 "responseCode":200 489 }, 490 "input":{"shape":"GetMessagingSessionEndpointRequest"}, 491 "output":{"shape":"GetMessagingSessionEndpointResponse"}, 492 "errors":[ 493 {"shape":"UnauthorizedClientException"}, 494 {"shape":"ForbiddenException"}, 495 {"shape":"ThrottledClientException"}, 496 {"shape":"ServiceUnavailableException"}, 497 {"shape":"ServiceFailureException"} 498 ], 499 "documentation":"<p>The details of the endpoint for the messaging session.</p>" 500 }, 501 "ListChannelBans":{ 502 "name":"ListChannelBans", 503 "http":{ 504 "method":"GET", 505 "requestUri":"/channels/{channelArn}/bans", 506 "responseCode":200 507 }, 508 "input":{"shape":"ListChannelBansRequest"}, 509 "output":{"shape":"ListChannelBansResponse"}, 510 "errors":[ 511 {"shape":"BadRequestException"}, 512 {"shape":"ForbiddenException"}, 513 {"shape":"UnauthorizedClientException"}, 514 {"shape":"ThrottledClientException"}, 515 {"shape":"ServiceUnavailableException"}, 516 {"shape":"ServiceFailureException"} 517 ], 518 "documentation":"<p>Lists all the users banned from a particular 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>" 519 }, 520 "ListChannelFlows":{ 521 "name":"ListChannelFlows", 522 "http":{ 523 "method":"GET", 524 "requestUri":"/channel-flows", 525 "responseCode":200 526 }, 527 "input":{"shape":"ListChannelFlowsRequest"}, 528 "output":{"shape":"ListChannelFlowsResponse"}, 529 "errors":[ 530 {"shape":"BadRequestException"}, 531 {"shape":"ForbiddenException"}, 532 {"shape":"UnauthorizedClientException"}, 533 {"shape":"ThrottledClientException"}, 534 {"shape":"ServiceUnavailableException"}, 535 {"shape":"ServiceFailureException"} 536 ], 537 "documentation":"<p>Returns a paginated lists of all the channel flows created under a single Chime. This is a developer API.</p>" 538 }, 539 "ListChannelMemberships":{ 540 "name":"ListChannelMemberships", 541 "http":{ 542 "method":"GET", 543 "requestUri":"/channels/{channelArn}/memberships", 544 "responseCode":200 545 }, 546 "input":{"shape":"ListChannelMembershipsRequest"}, 547 "output":{"shape":"ListChannelMembershipsResponse"}, 548 "errors":[ 549 {"shape":"BadRequestException"}, 550 {"shape":"ForbiddenException"}, 551 {"shape":"UnauthorizedClientException"}, 552 {"shape":"ThrottledClientException"}, 553 {"shape":"ServiceUnavailableException"}, 554 {"shape":"ServiceFailureException"} 555 ], 556 "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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>" 557 }, 558 "ListChannelMembershipsForAppInstanceUser":{ 559 "name":"ListChannelMembershipsForAppInstanceUser", 560 "http":{ 561 "method":"GET", 562 "requestUri":"/channels?scope=app-instance-user-memberships", 563 "responseCode":200 564 }, 565 "input":{"shape":"ListChannelMembershipsForAppInstanceUserRequest"}, 566 "output":{"shape":"ListChannelMembershipsForAppInstanceUserResponse"}, 567 "errors":[ 568 {"shape":"BadRequestException"}, 569 {"shape":"ForbiddenException"}, 570 {"shape":"UnauthorizedClientException"}, 571 {"shape":"ThrottledClientException"}, 572 {"shape":"ServiceUnavailableException"}, 573 {"shape":"ServiceFailureException"} 574 ], 575 "documentation":"<p> Lists all channels that a particular <code>AppInstanceUser</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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>" 576 }, 577 "ListChannelMessages":{ 578 "name":"ListChannelMessages", 579 "http":{ 580 "method":"GET", 581 "requestUri":"/channels/{channelArn}/messages", 582 "responseCode":200 583 }, 584 "input":{"shape":"ListChannelMessagesRequest"}, 585 "output":{"shape":"ListChannelMessagesResponse"}, 586 "errors":[ 587 {"shape":"BadRequestException"}, 588 {"shape":"ForbiddenException"}, 589 {"shape":"UnauthorizedClientException"}, 590 {"shape":"ThrottledClientException"}, 591 {"shape":"ServiceUnavailableException"}, 592 {"shape":"ServiceFailureException"} 593 ], 594 "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 x-amz-chime-bearer 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>" 595 }, 596 "ListChannelModerators":{ 597 "name":"ListChannelModerators", 598 "http":{ 599 "method":"GET", 600 "requestUri":"/channels/{channelArn}/moderators", 601 "responseCode":200 602 }, 603 "input":{"shape":"ListChannelModeratorsRequest"}, 604 "output":{"shape":"ListChannelModeratorsResponse"}, 605 "errors":[ 606 {"shape":"BadRequestException"}, 607 {"shape":"ForbiddenException"}, 608 {"shape":"UnauthorizedClientException"}, 609 {"shape":"ThrottledClientException"}, 610 {"shape":"ServiceUnavailableException"}, 611 {"shape":"ServiceFailureException"} 612 ], 613 "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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>" 614 }, 615 "ListChannels":{ 616 "name":"ListChannels", 617 "http":{ 618 "method":"GET", 619 "requestUri":"/channels", 620 "responseCode":200 621 }, 622 "input":{"shape":"ListChannelsRequest"}, 623 "output":{"shape":"ListChannelsResponse"}, 624 "errors":[ 625 {"shape":"BadRequestException"}, 626 {"shape":"ForbiddenException"}, 627 {"shape":"UnauthorizedClientException"}, 628 {"shape":"ThrottledClientException"}, 629 {"shape":"ServiceUnavailableException"}, 630 {"shape":"ServiceFailureException"} 631 ], 632 "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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>" 633 }, 634 "ListChannelsAssociatedWithChannelFlow":{ 635 "name":"ListChannelsAssociatedWithChannelFlow", 636 "http":{ 637 "method":"GET", 638 "requestUri":"/channels?scope=channel-flow-associations", 639 "responseCode":200 640 }, 641 "input":{"shape":"ListChannelsAssociatedWithChannelFlowRequest"}, 642 "output":{"shape":"ListChannelsAssociatedWithChannelFlowResponse"}, 643 "errors":[ 644 {"shape":"BadRequestException"}, 645 {"shape":"ForbiddenException"}, 646 {"shape":"UnauthorizedClientException"}, 647 {"shape":"ThrottledClientException"}, 648 {"shape":"ServiceUnavailableException"}, 649 {"shape":"ServiceFailureException"} 650 ], 651 "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>" 652 }, 653 "ListChannelsModeratedByAppInstanceUser":{ 654 "name":"ListChannelsModeratedByAppInstanceUser", 655 "http":{ 656 "method":"GET", 657 "requestUri":"/channels?scope=app-instance-user-moderated-channels", 658 "responseCode":200 659 }, 660 "input":{"shape":"ListChannelsModeratedByAppInstanceUserRequest"}, 661 "output":{"shape":"ListChannelsModeratedByAppInstanceUserResponse"}, 662 "errors":[ 663 {"shape":"BadRequestException"}, 664 {"shape":"ForbiddenException"}, 665 {"shape":"UnauthorizedClientException"}, 666 {"shape":"ThrottledClientException"}, 667 {"shape":"ServiceUnavailableException"}, 668 {"shape":"ServiceFailureException"} 669 ], 670 "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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>" 671 }, 672 "ListTagsForResource":{ 673 "name":"ListTagsForResource", 674 "http":{ 675 "method":"GET", 676 "requestUri":"/tags", 677 "responseCode":200 678 }, 679 "input":{"shape":"ListTagsForResourceRequest"}, 680 "output":{"shape":"ListTagsForResourceResponse"}, 681 "errors":[ 682 {"shape":"BadRequestException"}, 683 {"shape":"ForbiddenException"}, 684 {"shape":"UnauthorizedClientException"}, 685 {"shape":"ThrottledClientException"}, 686 {"shape":"ServiceUnavailableException"}, 687 {"shape":"ServiceFailureException"} 688 ], 689 "documentation":"<p>Lists the tags applied to an Amazon Chime SDK messaging resource.</p>" 690 }, 691 "RedactChannelMessage":{ 692 "name":"RedactChannelMessage", 693 "http":{ 694 "method":"POST", 695 "requestUri":"/channels/{channelArn}/messages/{messageId}?operation=redact", 696 "responseCode":200 697 }, 698 "input":{"shape":"RedactChannelMessageRequest"}, 699 "output":{"shape":"RedactChannelMessageResponse"}, 700 "errors":[ 701 {"shape":"BadRequestException"}, 702 {"shape":"ForbiddenException"}, 703 {"shape":"UnauthorizedClientException"}, 704 {"shape":"ThrottledClientException"}, 705 {"shape":"ServiceUnavailableException"}, 706 {"shape":"ServiceFailureException"} 707 ], 708 "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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>" 709 }, 710 "SendChannelMessage":{ 711 "name":"SendChannelMessage", 712 "http":{ 713 "method":"POST", 714 "requestUri":"/channels/{channelArn}/messages", 715 "responseCode":201 716 }, 717 "input":{"shape":"SendChannelMessageRequest"}, 718 "output":{"shape":"SendChannelMessageResponse"}, 719 "errors":[ 720 {"shape":"BadRequestException"}, 721 {"shape":"ConflictException"}, 722 {"shape":"ForbiddenException"}, 723 {"shape":"UnauthorizedClientException"}, 724 {"shape":"ThrottledClientException"}, 725 {"shape":"ServiceUnavailableException"}, 726 {"shape":"ServiceFailureException"} 727 ], 728 "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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> <p>Also, <code>STANDARD</code> messages can contain 4KB of data and the 1KB of metadata. <code>CONTROL</code> messages can contain 30 bytes of data and no metadata.</p> </note>" 729 }, 730 "TagResource":{ 731 "name":"TagResource", 732 "http":{ 733 "method":"POST", 734 "requestUri":"/tags?operation=tag-resource", 735 "responseCode":204 736 }, 737 "input":{"shape":"TagResourceRequest"}, 738 "errors":[ 739 {"shape":"BadRequestException"}, 740 {"shape":"ForbiddenException"}, 741 {"shape":"UnauthorizedClientException"}, 742 {"shape":"ResourceLimitExceededException"}, 743 {"shape":"ThrottledClientException"}, 744 {"shape":"ServiceUnavailableException"}, 745 {"shape":"ServiceFailureException"} 746 ], 747 "documentation":"<p>Applies the specified tags to the specified Amazon Chime SDK messaging resource.</p>" 748 }, 749 "UntagResource":{ 750 "name":"UntagResource", 751 "http":{ 752 "method":"POST", 753 "requestUri":"/tags?operation=untag-resource", 754 "responseCode":204 755 }, 756 "input":{"shape":"UntagResourceRequest"}, 757 "errors":[ 758 {"shape":"BadRequestException"}, 759 {"shape":"ForbiddenException"}, 760 {"shape":"UnauthorizedClientException"}, 761 {"shape":"ThrottledClientException"}, 762 {"shape":"ServiceUnavailableException"}, 763 {"shape":"ServiceFailureException"} 764 ], 765 "documentation":"<p>Removes the specified tags from the specified Amazon Chime SDK messaging resource.</p>" 766 }, 767 "UpdateChannel":{ 768 "name":"UpdateChannel", 769 "http":{ 770 "method":"PUT", 771 "requestUri":"/channels/{channelArn}", 772 "responseCode":200 773 }, 774 "input":{"shape":"UpdateChannelRequest"}, 775 "output":{"shape":"UpdateChannelResponse"}, 776 "errors":[ 777 {"shape":"BadRequestException"}, 778 {"shape":"ForbiddenException"}, 779 {"shape":"ConflictException"}, 780 {"shape":"UnauthorizedClientException"}, 781 {"shape":"ThrottledClientException"}, 782 {"shape":"ServiceUnavailableException"}, 783 {"shape":"ServiceFailureException"} 784 ], 785 "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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>" 786 }, 787 "UpdateChannelFlow":{ 788 "name":"UpdateChannelFlow", 789 "http":{ 790 "method":"PUT", 791 "requestUri":"/channel-flows/{channelFlowArn}", 792 "responseCode":200 793 }, 794 "input":{"shape":"UpdateChannelFlowRequest"}, 795 "output":{"shape":"UpdateChannelFlowResponse"}, 796 "errors":[ 797 {"shape":"BadRequestException"}, 798 {"shape":"ForbiddenException"}, 799 {"shape":"UnauthorizedClientException"}, 800 {"shape":"ConflictException"}, 801 {"shape":"ThrottledClientException"}, 802 {"shape":"ServiceUnavailableException"}, 803 {"shape":"ServiceFailureException"} 804 ], 805 "documentation":"<p>Updates channel flow attributes. This is a developer API.</p>" 806 }, 807 "UpdateChannelMessage":{ 808 "name":"UpdateChannelMessage", 809 "http":{ 810 "method":"PUT", 811 "requestUri":"/channels/{channelArn}/messages/{messageId}", 812 "responseCode":200 813 }, 814 "input":{"shape":"UpdateChannelMessageRequest"}, 815 "output":{"shape":"UpdateChannelMessageResponse"}, 816 "errors":[ 817 {"shape":"BadRequestException"}, 818 {"shape":"ConflictException"}, 819 {"shape":"ForbiddenException"}, 820 {"shape":"UnauthorizedClientException"}, 821 {"shape":"ThrottledClientException"}, 822 {"shape":"ServiceUnavailableException"}, 823 {"shape":"ServiceFailureException"} 824 ], 825 "documentation":"<p>Updates the content of a message.</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>" 826 }, 827 "UpdateChannelReadMarker":{ 828 "name":"UpdateChannelReadMarker", 829 "http":{ 830 "method":"PUT", 831 "requestUri":"/channels/{channelArn}/readMarker", 832 "responseCode":200 833 }, 834 "input":{"shape":"UpdateChannelReadMarkerRequest"}, 835 "output":{"shape":"UpdateChannelReadMarkerResponse"}, 836 "errors":[ 837 {"shape":"BadRequestException"}, 838 {"shape":"ForbiddenException"}, 839 {"shape":"ConflictException"}, 840 {"shape":"UnauthorizedClientException"}, 841 {"shape":"ThrottledClientException"}, 842 {"shape":"ServiceUnavailableException"}, 843 {"shape":"ServiceFailureException"} 844 ], 845 "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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>" 846 } 847 }, 848 "shapes":{ 849 "AppInstanceUserMembershipSummary":{ 850 "type":"structure", 851 "members":{ 852 "Type":{ 853 "shape":"ChannelMembershipType", 854 "documentation":"<p>The type of <code>ChannelMembership</code>.</p>" 855 }, 856 "ReadMarkerTimestamp":{ 857 "shape":"Timestamp", 858 "documentation":"<p>The time at which a message was last read.</p>" 859 } 860 }, 861 "documentation":"<p>Summary of the membership details of an <code>AppInstanceUser</code>.</p>" 862 }, 863 "AssociateChannelFlowRequest":{ 864 "type":"structure", 865 "required":[ 866 "ChannelArn", 867 "ChannelFlowArn", 868 "ChimeBearer" 869 ], 870 "members":{ 871 "ChannelArn":{ 872 "shape":"ChimeArn", 873 "documentation":"<p>The ARN of the channel.</p>", 874 "location":"uri", 875 "locationName":"channelArn" 876 }, 877 "ChannelFlowArn":{ 878 "shape":"ChimeArn", 879 "documentation":"<p>The ARN of the channel flow.</p>" 880 }, 881 "ChimeBearer":{ 882 "shape":"ChimeArn", 883 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user making the API call.</p>", 884 "location":"header", 885 "locationName":"x-amz-chime-bearer" 886 } 887 } 888 }, 889 "BadRequestException":{ 890 "type":"structure", 891 "members":{ 892 "Code":{"shape":"ErrorCode"}, 893 "Message":{"shape":"String"} 894 }, 895 "documentation":"<p>The input parameters don't match the service's restrictions.</p>", 896 "error":{"httpStatusCode":400}, 897 "exception":true 898 }, 899 "BatchChannelMemberships":{ 900 "type":"structure", 901 "members":{ 902 "InvitedBy":{ 903 "shape":"Identity", 904 "documentation":"<p>The identifier of the member who invited another member.</p>" 905 }, 906 "Type":{ 907 "shape":"ChannelMembershipType", 908 "documentation":"<p>The membership types set for the channel users.</p>" 909 }, 910 "Members":{ 911 "shape":"Members", 912 "documentation":"<p>The users successfully added to the request.</p>" 913 }, 914 "ChannelArn":{ 915 "shape":"ChimeArn", 916 "documentation":"<p>The ARN of the channel to which you're adding users.</p>" 917 } 918 }, 919 "documentation":"<p>The membership information, including member ARNs, the channel ARN, and membership types.</p>" 920 }, 921 "BatchCreateChannelMembershipError":{ 922 "type":"structure", 923 "members":{ 924 "MemberArn":{ 925 "shape":"ChimeArn", 926 "documentation":"<p>The ARN of the member that the service couldn't add.</p>" 927 }, 928 "ErrorCode":{ 929 "shape":"ErrorCode", 930 "documentation":"<p>The error code.</p>" 931 }, 932 "ErrorMessage":{ 933 "shape":"String", 934 "documentation":"<p>The error message.</p>" 935 } 936 }, 937 "documentation":"<p>A list of failed member ARNs, error codes, and error messages.</p>" 938 }, 939 "BatchCreateChannelMembershipErrors":{ 940 "type":"list", 941 "member":{"shape":"BatchCreateChannelMembershipError"} 942 }, 943 "BatchCreateChannelMembershipRequest":{ 944 "type":"structure", 945 "required":[ 946 "ChannelArn", 947 "MemberArns", 948 "ChimeBearer" 949 ], 950 "members":{ 951 "ChannelArn":{ 952 "shape":"ChimeArn", 953 "documentation":"<p>The ARN of the channel to which you're adding users.</p>", 954 "location":"uri", 955 "locationName":"channelArn" 956 }, 957 "Type":{ 958 "shape":"ChannelMembershipType", 959 "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>" 960 }, 961 "MemberArns":{ 962 "shape":"MemberArns", 963 "documentation":"<p>The ARNs of the members you want to add to the channel.</p>" 964 }, 965 "ChimeBearer":{ 966 "shape":"ChimeArn", 967 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 968 "location":"header", 969 "locationName":"x-amz-chime-bearer" 970 } 971 } 972 }, 973 "BatchCreateChannelMembershipResponse":{ 974 "type":"structure", 975 "members":{ 976 "BatchChannelMemberships":{ 977 "shape":"BatchChannelMemberships", 978 "documentation":"<p>The list of channel memberships in the response.</p>" 979 }, 980 "Errors":{ 981 "shape":"BatchCreateChannelMembershipErrors", 982 "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>" 983 } 984 } 985 }, 986 "CallbackIdType":{ 987 "type":"string", 988 "max":64, 989 "min":32 990 }, 991 "Channel":{ 992 "type":"structure", 993 "members":{ 994 "Name":{ 995 "shape":"NonEmptyResourceName", 996 "documentation":"<p>The name of a channel.</p>" 997 }, 998 "ChannelArn":{ 999 "shape":"ChimeArn", 1000 "documentation":"<p>The ARN of a channel.</p>" 1001 }, 1002 "Mode":{ 1003 "shape":"ChannelMode", 1004 "documentation":"<p>The mode of the channel.</p>" 1005 }, 1006 "Privacy":{ 1007 "shape":"ChannelPrivacy", 1008 "documentation":"<p>The channel's privacy setting.</p>" 1009 }, 1010 "Metadata":{ 1011 "shape":"Metadata", 1012 "documentation":"<p>The channel's metadata.</p>" 1013 }, 1014 "CreatedBy":{ 1015 "shape":"Identity", 1016 "documentation":"<p>The <code>AppInstanceUser</code> who created the channel.</p>" 1017 }, 1018 "CreatedTimestamp":{ 1019 "shape":"Timestamp", 1020 "documentation":"<p>The time at which the <code>AppInstanceUser</code> created the channel.</p>" 1021 }, 1022 "LastMessageTimestamp":{ 1023 "shape":"Timestamp", 1024 "documentation":"<p>The time at which a member sent the last message in the channel.</p>" 1025 }, 1026 "LastUpdatedTimestamp":{ 1027 "shape":"Timestamp", 1028 "documentation":"<p>The time at which a channel was last updated.</p>" 1029 }, 1030 "ChannelFlowArn":{ 1031 "shape":"ChimeArn", 1032 "documentation":"<p>The ARN of the channel flow.</p>" 1033 } 1034 }, 1035 "documentation":"<p>The details of a channel.</p>" 1036 }, 1037 "ChannelAssociatedWithFlowSummary":{ 1038 "type":"structure", 1039 "members":{ 1040 "Name":{ 1041 "shape":"NonEmptyResourceName", 1042 "documentation":"<p>The name of the channel flow.</p>" 1043 }, 1044 "ChannelArn":{ 1045 "shape":"ChimeArn", 1046 "documentation":"<p>The ARN of the channel.</p>" 1047 }, 1048 "Mode":{ 1049 "shape":"ChannelMode", 1050 "documentation":"<p>The mode of the channel.</p>" 1051 }, 1052 "Privacy":{ 1053 "shape":"ChannelPrivacy", 1054 "documentation":"<p>The channel's privacy setting.</p>" 1055 }, 1056 "Metadata":{ 1057 "shape":"Metadata", 1058 "documentation":"<p>The channel's metadata.</p>" 1059 } 1060 }, 1061 "documentation":"<p>Summary of details of a channel associated with channel flow.</p>" 1062 }, 1063 "ChannelAssociatedWithFlowSummaryList":{ 1064 "type":"list", 1065 "member":{"shape":"ChannelAssociatedWithFlowSummary"} 1066 }, 1067 "ChannelBan":{ 1068 "type":"structure", 1069 "members":{ 1070 "Member":{ 1071 "shape":"Identity", 1072 "documentation":"<p>The member being banned from the channel.</p>" 1073 }, 1074 "ChannelArn":{ 1075 "shape":"ChimeArn", 1076 "documentation":"<p>The ARN of the channel from which a member is being banned.</p>" 1077 }, 1078 "CreatedTimestamp":{ 1079 "shape":"Timestamp", 1080 "documentation":"<p>The time at which the ban was created.</p>" 1081 }, 1082 "CreatedBy":{ 1083 "shape":"Identity", 1084 "documentation":"<p>The <code>AppInstanceUser</code> who created the ban.</p>" 1085 } 1086 }, 1087 "documentation":"<p>The details of a channel ban.</p>" 1088 }, 1089 "ChannelBanSummary":{ 1090 "type":"structure", 1091 "members":{ 1092 "Member":{ 1093 "shape":"Identity", 1094 "documentation":"<p>The member being banned from a channel.</p>" 1095 } 1096 }, 1097 "documentation":"<p>Summary of the details of a <code>ChannelBan</code>.</p>" 1098 }, 1099 "ChannelBanSummaryList":{ 1100 "type":"list", 1101 "member":{"shape":"ChannelBanSummary"} 1102 }, 1103 "ChannelFlow":{ 1104 "type":"structure", 1105 "members":{ 1106 "ChannelFlowArn":{ 1107 "shape":"ChimeArn", 1108 "documentation":"<p>The ARN of the channel flow.</p>" 1109 }, 1110 "Processors":{ 1111 "shape":"ProcessorList", 1112 "documentation":"<p>Information about the processor Lambda functions.</p>" 1113 }, 1114 "Name":{ 1115 "shape":"NonEmptyResourceName", 1116 "documentation":"<p>The name of the channel flow.</p>" 1117 }, 1118 "CreatedTimestamp":{ 1119 "shape":"Timestamp", 1120 "documentation":"<p>The time at which the channel flow was created.</p>" 1121 }, 1122 "LastUpdatedTimestamp":{ 1123 "shape":"Timestamp", 1124 "documentation":"<p>The time at which a channel flow was updated.</p>" 1125 } 1126 }, 1127 "documentation":"<p>The details of a channel flow.</p>" 1128 }, 1129 "ChannelFlowCallbackRequest":{ 1130 "type":"structure", 1131 "required":[ 1132 "CallbackId", 1133 "ChannelArn", 1134 "ChannelMessage" 1135 ], 1136 "members":{ 1137 "CallbackId":{ 1138 "shape":"CallbackIdType", 1139 "documentation":"<p>The identifier passed to the processor by the service when invoked. Use the identifier to call back the service.</p>", 1140 "idempotencyToken":true 1141 }, 1142 "ChannelArn":{ 1143 "shape":"ChimeArn", 1144 "documentation":"<p>The ARN of the channel.</p>", 1145 "location":"uri", 1146 "locationName":"channelArn" 1147 }, 1148 "DeleteResource":{ 1149 "shape":"NonNullableBoolean", 1150 "documentation":"<p>When a processor determines that a message needs to be <code>DENIED</code>, pass this parameter with a value of true.</p>" 1151 }, 1152 "ChannelMessage":{ 1153 "shape":"ChannelMessageCallback", 1154 "documentation":"<p>Stores information about the processed message.</p>" 1155 } 1156 } 1157 }, 1158 "ChannelFlowCallbackResponse":{ 1159 "type":"structure", 1160 "members":{ 1161 "ChannelArn":{ 1162 "shape":"ChimeArn", 1163 "documentation":"<p>The ARN of the channel.</p>" 1164 }, 1165 "CallbackId":{ 1166 "shape":"CallbackIdType", 1167 "documentation":"<p>The call back ID passed in the request.</p>" 1168 } 1169 } 1170 }, 1171 "ChannelFlowExecutionOrder":{ 1172 "type":"integer", 1173 "max":3, 1174 "min":1 1175 }, 1176 "ChannelFlowSummary":{ 1177 "type":"structure", 1178 "members":{ 1179 "ChannelFlowArn":{ 1180 "shape":"ChimeArn", 1181 "documentation":"<p>The ARN of the channel flow.</p>" 1182 }, 1183 "Name":{ 1184 "shape":"NonEmptyResourceName", 1185 "documentation":"<p>The name of the channel flow.</p>" 1186 }, 1187 "Processors":{ 1188 "shape":"ProcessorList", 1189 "documentation":"<p>Information about the processor Lambda functions.</p>" 1190 } 1191 }, 1192 "documentation":"<p>Summary of details of a channel flow.</p>" 1193 }, 1194 "ChannelFlowSummaryList":{ 1195 "type":"list", 1196 "member":{"shape":"ChannelFlowSummary"} 1197 }, 1198 "ChannelMembership":{ 1199 "type":"structure", 1200 "members":{ 1201 "InvitedBy":{ 1202 "shape":"Identity", 1203 "documentation":"<p>The identifier of the member who invited another member.</p>" 1204 }, 1205 "Type":{ 1206 "shape":"ChannelMembershipType", 1207 "documentation":"<p>The membership type set for the channel member.</p>" 1208 }, 1209 "Member":{ 1210 "shape":"Identity", 1211 "documentation":"<p>The data of the channel member.</p>" 1212 }, 1213 "ChannelArn":{ 1214 "shape":"ChimeArn", 1215 "documentation":"<p>The ARN of the member's channel.</p>" 1216 }, 1217 "CreatedTimestamp":{ 1218 "shape":"Timestamp", 1219 "documentation":"<p>The time at which the channel membership was created.</p>" 1220 }, 1221 "LastUpdatedTimestamp":{ 1222 "shape":"Timestamp", 1223 "documentation":"<p>The time at which a channel membership was last updated.</p>" 1224 } 1225 }, 1226 "documentation":"<p>The details of a channel member.</p>" 1227 }, 1228 "ChannelMembershipForAppInstanceUserSummary":{ 1229 "type":"structure", 1230 "members":{ 1231 "ChannelSummary":{ 1232 "shape":"ChannelSummary", 1233 "documentation":"<p>Returns the channel data for an <code>AppInstance</code>.</p>" 1234 }, 1235 "AppInstanceUserMembershipSummary":{ 1236 "shape":"AppInstanceUserMembershipSummary", 1237 "documentation":"<p>Returns the channel membership data for an <code>AppInstance</code>.</p>" 1238 } 1239 }, 1240 "documentation":"<p>Summary of the channel membership details of an <code>AppInstanceUser</code>.</p>" 1241 }, 1242 "ChannelMembershipForAppInstanceUserSummaryList":{ 1243 "type":"list", 1244 "member":{"shape":"ChannelMembershipForAppInstanceUserSummary"} 1245 }, 1246 "ChannelMembershipSummary":{ 1247 "type":"structure", 1248 "members":{ 1249 "Member":{ 1250 "shape":"Identity", 1251 "documentation":"<p>A member's summary data.</p>" 1252 } 1253 }, 1254 "documentation":"<p>Summary of the details of a <code>ChannelMembership</code>.</p>" 1255 }, 1256 "ChannelMembershipSummaryList":{ 1257 "type":"list", 1258 "member":{"shape":"ChannelMembershipSummary"} 1259 }, 1260 "ChannelMembershipType":{ 1261 "type":"string", 1262 "enum":[ 1263 "DEFAULT", 1264 "HIDDEN" 1265 ] 1266 }, 1267 "ChannelMessage":{ 1268 "type":"structure", 1269 "members":{ 1270 "ChannelArn":{ 1271 "shape":"ChimeArn", 1272 "documentation":"<p>The ARN of the channel.</p>" 1273 }, 1274 "MessageId":{ 1275 "shape":"MessageId", 1276 "documentation":"<p>The ID of a message.</p>" 1277 }, 1278 "Content":{ 1279 "shape":"Content", 1280 "documentation":"<p>The message content.</p>" 1281 }, 1282 "Metadata":{ 1283 "shape":"Metadata", 1284 "documentation":"<p>The message metadata.</p>" 1285 }, 1286 "Type":{ 1287 "shape":"ChannelMessageType", 1288 "documentation":"<p>The message type.</p>" 1289 }, 1290 "CreatedTimestamp":{ 1291 "shape":"Timestamp", 1292 "documentation":"<p>The time at which the message was created.</p>" 1293 }, 1294 "LastEditedTimestamp":{ 1295 "shape":"Timestamp", 1296 "documentation":"<p>The time at which a message was edited.</p>" 1297 }, 1298 "LastUpdatedTimestamp":{ 1299 "shape":"Timestamp", 1300 "documentation":"<p>The time at which a message was updated.</p>" 1301 }, 1302 "Sender":{ 1303 "shape":"Identity", 1304 "documentation":"<p>The message sender.</p>" 1305 }, 1306 "Redacted":{ 1307 "shape":"NonNullableBoolean", 1308 "documentation":"<p>Hides the content of a message.</p>" 1309 }, 1310 "Persistence":{ 1311 "shape":"ChannelMessagePersistenceType", 1312 "documentation":"<p>The persistence setting for a channel message.</p>" 1313 }, 1314 "Status":{ 1315 "shape":"ChannelMessageStatusStructure", 1316 "documentation":"<p>The status of the channel message.</p>" 1317 } 1318 }, 1319 "documentation":"<p>The details of a message in a channel.</p>" 1320 }, 1321 "ChannelMessageCallback":{ 1322 "type":"structure", 1323 "required":["MessageId"], 1324 "members":{ 1325 "MessageId":{ 1326 "shape":"MessageId", 1327 "documentation":"<p>The message ID.</p>" 1328 }, 1329 "Content":{ 1330 "shape":"NonEmptyContent", 1331 "documentation":"<p>The message content.</p>" 1332 }, 1333 "Metadata":{ 1334 "shape":"Metadata", 1335 "documentation":"<p>The message metadata.</p>" 1336 } 1337 }, 1338 "documentation":"<p>Stores information about a callback.</p>" 1339 }, 1340 "ChannelMessagePersistenceType":{ 1341 "type":"string", 1342 "enum":[ 1343 "PERSISTENT", 1344 "NON_PERSISTENT" 1345 ] 1346 }, 1347 "ChannelMessageStatus":{ 1348 "type":"string", 1349 "enum":[ 1350 "SENT", 1351 "PENDING", 1352 "FAILED", 1353 "DENIED" 1354 ] 1355 }, 1356 "ChannelMessageStatusStructure":{ 1357 "type":"structure", 1358 "members":{ 1359 "Value":{ 1360 "shape":"ChannelMessageStatus", 1361 "documentation":"<p>The message status value.</p>" 1362 }, 1363 "Detail":{ 1364 "shape":"StatusDetail", 1365 "documentation":"<p>Contains more details about the messasge status.</p>" 1366 } 1367 }, 1368 "documentation":"<p>Stores information about a message status.</p>" 1369 }, 1370 "ChannelMessageSummary":{ 1371 "type":"structure", 1372 "members":{ 1373 "MessageId":{ 1374 "shape":"MessageId", 1375 "documentation":"<p>The ID of the message.</p>" 1376 }, 1377 "Content":{ 1378 "shape":"Content", 1379 "documentation":"<p>The content of the message.</p>" 1380 }, 1381 "Metadata":{ 1382 "shape":"Metadata", 1383 "documentation":"<p>The metadata of the message.</p>" 1384 }, 1385 "Type":{ 1386 "shape":"ChannelMessageType", 1387 "documentation":"<p>The type of message.</p>" 1388 }, 1389 "CreatedTimestamp":{ 1390 "shape":"Timestamp", 1391 "documentation":"<p>The time at which the message summary was created.</p>" 1392 }, 1393 "LastUpdatedTimestamp":{ 1394 "shape":"Timestamp", 1395 "documentation":"<p>The time at which a message was last updated.</p>" 1396 }, 1397 "LastEditedTimestamp":{ 1398 "shape":"Timestamp", 1399 "documentation":"<p>The time at which a message was last edited.</p>" 1400 }, 1401 "Sender":{ 1402 "shape":"Identity", 1403 "documentation":"<p>The message sender.</p>" 1404 }, 1405 "Redacted":{ 1406 "shape":"NonNullableBoolean", 1407 "documentation":"<p>Indicates whether a message was redacted.</p>" 1408 }, 1409 "Status":{ 1410 "shape":"ChannelMessageStatusStructure", 1411 "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>" 1412 } 1413 }, 1414 "documentation":"<p>Summary of the messages in a <code>Channel</code>.</p>" 1415 }, 1416 "ChannelMessageSummaryList":{ 1417 "type":"list", 1418 "member":{"shape":"ChannelMessageSummary"} 1419 }, 1420 "ChannelMessageType":{ 1421 "type":"string", 1422 "enum":[ 1423 "STANDARD", 1424 "CONTROL" 1425 ] 1426 }, 1427 "ChannelMode":{ 1428 "type":"string", 1429 "enum":[ 1430 "UNRESTRICTED", 1431 "RESTRICTED" 1432 ] 1433 }, 1434 "ChannelModeratedByAppInstanceUserSummary":{ 1435 "type":"structure", 1436 "members":{ 1437 "ChannelSummary":{ 1438 "shape":"ChannelSummary", 1439 "documentation":"<p>Summary of the details of a <code>Channel</code>.</p>" 1440 } 1441 }, 1442 "documentation":"<p>Summary of the details of a moderated channel.</p>" 1443 }, 1444 "ChannelModeratedByAppInstanceUserSummaryList":{ 1445 "type":"list", 1446 "member":{"shape":"ChannelModeratedByAppInstanceUserSummary"} 1447 }, 1448 "ChannelModerator":{ 1449 "type":"structure", 1450 "members":{ 1451 "Moderator":{ 1452 "shape":"Identity", 1453 "documentation":"<p>The moderator's data.</p>" 1454 }, 1455 "ChannelArn":{ 1456 "shape":"ChimeArn", 1457 "documentation":"<p>The ARN of the moderator's channel.</p>" 1458 }, 1459 "CreatedTimestamp":{ 1460 "shape":"Timestamp", 1461 "documentation":"<p>The time at which the moderator was created.</p>" 1462 }, 1463 "CreatedBy":{ 1464 "shape":"Identity", 1465 "documentation":"<p>The <code>AppInstanceUser</code> who created the moderator.</p>" 1466 } 1467 }, 1468 "documentation":"<p>The details of a channel moderator.</p>" 1469 }, 1470 "ChannelModeratorSummary":{ 1471 "type":"structure", 1472 "members":{ 1473 "Moderator":{ 1474 "shape":"Identity", 1475 "documentation":"<p>The data for a moderator.</p>" 1476 } 1477 }, 1478 "documentation":"<p>Summary of the details of a <code>ChannelModerator</code>.</p>" 1479 }, 1480 "ChannelModeratorSummaryList":{ 1481 "type":"list", 1482 "member":{"shape":"ChannelModeratorSummary"} 1483 }, 1484 "ChannelPrivacy":{ 1485 "type":"string", 1486 "enum":[ 1487 "PUBLIC", 1488 "PRIVATE" 1489 ] 1490 }, 1491 "ChannelSummary":{ 1492 "type":"structure", 1493 "members":{ 1494 "Name":{ 1495 "shape":"NonEmptyResourceName", 1496 "documentation":"<p>The name of the channel.</p>" 1497 }, 1498 "ChannelArn":{ 1499 "shape":"ChimeArn", 1500 "documentation":"<p>The ARN of the channel.</p>" 1501 }, 1502 "Mode":{ 1503 "shape":"ChannelMode", 1504 "documentation":"<p>The mode of the channel.</p>" 1505 }, 1506 "Privacy":{ 1507 "shape":"ChannelPrivacy", 1508 "documentation":"<p>The privacy setting of the channel.</p>" 1509 }, 1510 "Metadata":{ 1511 "shape":"Metadata", 1512 "documentation":"<p>The metadata of the channel.</p>" 1513 }, 1514 "LastMessageTimestamp":{ 1515 "shape":"Timestamp", 1516 "documentation":"<p>The time at which the last message in a channel was sent.</p>" 1517 } 1518 }, 1519 "documentation":"<p>Summary of the details of a <code>Channel</code>.</p>" 1520 }, 1521 "ChannelSummaryList":{ 1522 "type":"list", 1523 "member":{"shape":"ChannelSummary"} 1524 }, 1525 "ChimeArn":{ 1526 "type":"string", 1527 "max":1600, 1528 "min":5, 1529 "pattern":"arn:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[^/].{0,1023}" 1530 }, 1531 "ClientRequestToken":{ 1532 "type":"string", 1533 "max":64, 1534 "min":2, 1535 "pattern":"[-_a-zA-Z0-9]*", 1536 "sensitive":true 1537 }, 1538 "ConflictException":{ 1539 "type":"structure", 1540 "members":{ 1541 "Code":{"shape":"ErrorCode"}, 1542 "Message":{"shape":"String"} 1543 }, 1544 "documentation":"<p>The request could not be processed because of conflict in the current state of the resource.</p>", 1545 "error":{"httpStatusCode":409}, 1546 "exception":true 1547 }, 1548 "Content":{ 1549 "type":"string", 1550 "max":4096, 1551 "min":0, 1552 "pattern":"[\\s\\S]*", 1553 "sensitive":true 1554 }, 1555 "CreateChannelBanRequest":{ 1556 "type":"structure", 1557 "required":[ 1558 "ChannelArn", 1559 "MemberArn", 1560 "ChimeBearer" 1561 ], 1562 "members":{ 1563 "ChannelArn":{ 1564 "shape":"ChimeArn", 1565 "documentation":"<p>The ARN of the ban request.</p>", 1566 "location":"uri", 1567 "locationName":"channelArn" 1568 }, 1569 "MemberArn":{ 1570 "shape":"ChimeArn", 1571 "documentation":"<p>The ARN of the member being banned.</p>" 1572 }, 1573 "ChimeBearer":{ 1574 "shape":"ChimeArn", 1575 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 1576 "location":"header", 1577 "locationName":"x-amz-chime-bearer" 1578 } 1579 } 1580 }, 1581 "CreateChannelBanResponse":{ 1582 "type":"structure", 1583 "members":{ 1584 "ChannelArn":{ 1585 "shape":"ChimeArn", 1586 "documentation":"<p>The ARN of the response to the ban request.</p>" 1587 }, 1588 "Member":{ 1589 "shape":"Identity", 1590 "documentation":"<p>The <code>ChannelArn</code> and <code>BannedIdentity</code> of the member in the ban response.</p>" 1591 } 1592 } 1593 }, 1594 "CreateChannelFlowRequest":{ 1595 "type":"structure", 1596 "required":[ 1597 "AppInstanceArn", 1598 "Processors", 1599 "Name", 1600 "ClientRequestToken" 1601 ], 1602 "members":{ 1603 "AppInstanceArn":{ 1604 "shape":"ChimeArn", 1605 "documentation":"<p>The ARN of the channel flow request.</p>" 1606 }, 1607 "Processors":{ 1608 "shape":"ProcessorList", 1609 "documentation":"<p>Information about the processor Lambda functions.</p>" 1610 }, 1611 "Name":{ 1612 "shape":"NonEmptyResourceName", 1613 "documentation":"<p>The name of the channel flow.</p>" 1614 }, 1615 "Tags":{ 1616 "shape":"TagList", 1617 "documentation":"<p>The tags for the creation request.</p>" 1618 }, 1619 "ClientRequestToken":{ 1620 "shape":"ClientRequestToken", 1621 "documentation":"<p>The client token for the request. An Idempotency token.</p>" 1622 } 1623 } 1624 }, 1625 "CreateChannelFlowResponse":{ 1626 "type":"structure", 1627 "members":{ 1628 "ChannelFlowArn":{ 1629 "shape":"ChimeArn", 1630 "documentation":"<p>The ARN of the channel flow.</p>" 1631 } 1632 } 1633 }, 1634 "CreateChannelMembershipRequest":{ 1635 "type":"structure", 1636 "required":[ 1637 "ChannelArn", 1638 "MemberArn", 1639 "Type", 1640 "ChimeBearer" 1641 ], 1642 "members":{ 1643 "ChannelArn":{ 1644 "shape":"ChimeArn", 1645 "documentation":"<p>The ARN of the channel to which you're adding users.</p>", 1646 "location":"uri", 1647 "locationName":"channelArn" 1648 }, 1649 "MemberArn":{ 1650 "shape":"ChimeArn", 1651 "documentation":"<p>The ARN of the member you want to add to the channel.</p>" 1652 }, 1653 "Type":{ 1654 "shape":"ChannelMembershipType", 1655 "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>" 1656 }, 1657 "ChimeBearer":{ 1658 "shape":"ChimeArn", 1659 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 1660 "location":"header", 1661 "locationName":"x-amz-chime-bearer" 1662 } 1663 } 1664 }, 1665 "CreateChannelMembershipResponse":{ 1666 "type":"structure", 1667 "members":{ 1668 "ChannelArn":{ 1669 "shape":"ChimeArn", 1670 "documentation":"<p>The ARN of the channel.</p>" 1671 }, 1672 "Member":{ 1673 "shape":"Identity", 1674 "documentation":"<p>The ARN and metadata of the member being added.</p>" 1675 } 1676 } 1677 }, 1678 "CreateChannelModeratorRequest":{ 1679 "type":"structure", 1680 "required":[ 1681 "ChannelArn", 1682 "ChannelModeratorArn", 1683 "ChimeBearer" 1684 ], 1685 "members":{ 1686 "ChannelArn":{ 1687 "shape":"ChimeArn", 1688 "documentation":"<p>The ARN of the channel.</p>", 1689 "location":"uri", 1690 "locationName":"channelArn" 1691 }, 1692 "ChannelModeratorArn":{ 1693 "shape":"ChimeArn", 1694 "documentation":"<p>The ARN of the moderator.</p>" 1695 }, 1696 "ChimeBearer":{ 1697 "shape":"ChimeArn", 1698 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 1699 "location":"header", 1700 "locationName":"x-amz-chime-bearer" 1701 } 1702 } 1703 }, 1704 "CreateChannelModeratorResponse":{ 1705 "type":"structure", 1706 "members":{ 1707 "ChannelArn":{ 1708 "shape":"ChimeArn", 1709 "documentation":"<p>The ARN of the channel.</p>" 1710 }, 1711 "ChannelModerator":{ 1712 "shape":"Identity", 1713 "documentation":"<p>The ARNs of the channel and the moderator.</p>" 1714 } 1715 } 1716 }, 1717 "CreateChannelRequest":{ 1718 "type":"structure", 1719 "required":[ 1720 "AppInstanceArn", 1721 "Name", 1722 "ClientRequestToken", 1723 "ChimeBearer" 1724 ], 1725 "members":{ 1726 "AppInstanceArn":{ 1727 "shape":"ChimeArn", 1728 "documentation":"<p>The ARN of the channel request.</p>" 1729 }, 1730 "Name":{ 1731 "shape":"NonEmptyResourceName", 1732 "documentation":"<p>The name of the channel.</p>" 1733 }, 1734 "Mode":{ 1735 "shape":"ChannelMode", 1736 "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>" 1737 }, 1738 "Privacy":{ 1739 "shape":"ChannelPrivacy", 1740 "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>" 1741 }, 1742 "Metadata":{ 1743 "shape":"Metadata", 1744 "documentation":"<p>The metadata of the creation request. Limited to 1KB and UTF-8.</p>" 1745 }, 1746 "ClientRequestToken":{ 1747 "shape":"ClientRequestToken", 1748 "documentation":"<p>The client token for the request. An <code>Idempotency</code> token.</p>", 1749 "idempotencyToken":true 1750 }, 1751 "Tags":{ 1752 "shape":"TagList", 1753 "documentation":"<p>The tags for the creation request.</p>" 1754 }, 1755 "ChimeBearer":{ 1756 "shape":"ChimeArn", 1757 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 1758 "location":"header", 1759 "locationName":"x-amz-chime-bearer" 1760 } 1761 } 1762 }, 1763 "CreateChannelResponse":{ 1764 "type":"structure", 1765 "members":{ 1766 "ChannelArn":{ 1767 "shape":"ChimeArn", 1768 "documentation":"<p>The ARN of the channel.</p>" 1769 } 1770 } 1771 }, 1772 "DeleteChannelBanRequest":{ 1773 "type":"structure", 1774 "required":[ 1775 "ChannelArn", 1776 "MemberArn", 1777 "ChimeBearer" 1778 ], 1779 "members":{ 1780 "ChannelArn":{ 1781 "shape":"ChimeArn", 1782 "documentation":"<p>The ARN of the channel from which the <code>AppInstanceUser</code> was banned.</p>", 1783 "location":"uri", 1784 "locationName":"channelArn" 1785 }, 1786 "MemberArn":{ 1787 "shape":"ChimeArn", 1788 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> that you want to reinstate.</p>", 1789 "location":"uri", 1790 "locationName":"memberArn" 1791 }, 1792 "ChimeBearer":{ 1793 "shape":"ChimeArn", 1794 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 1795 "location":"header", 1796 "locationName":"x-amz-chime-bearer" 1797 } 1798 } 1799 }, 1800 "DeleteChannelFlowRequest":{ 1801 "type":"structure", 1802 "required":["ChannelFlowArn"], 1803 "members":{ 1804 "ChannelFlowArn":{ 1805 "shape":"ChimeArn", 1806 "documentation":"<p>The ARN of the channel flow.</p>", 1807 "location":"uri", 1808 "locationName":"channelFlowArn" 1809 } 1810 } 1811 }, 1812 "DeleteChannelMembershipRequest":{ 1813 "type":"structure", 1814 "required":[ 1815 "ChannelArn", 1816 "MemberArn", 1817 "ChimeBearer" 1818 ], 1819 "members":{ 1820 "ChannelArn":{ 1821 "shape":"ChimeArn", 1822 "documentation":"<p>The ARN of the channel from which you want to remove the user.</p>", 1823 "location":"uri", 1824 "locationName":"channelArn" 1825 }, 1826 "MemberArn":{ 1827 "shape":"ChimeArn", 1828 "documentation":"<p>The ARN of the member that you're removing from the channel.</p>", 1829 "location":"uri", 1830 "locationName":"memberArn" 1831 }, 1832 "ChimeBearer":{ 1833 "shape":"ChimeArn", 1834 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 1835 "location":"header", 1836 "locationName":"x-amz-chime-bearer" 1837 } 1838 } 1839 }, 1840 "DeleteChannelMessageRequest":{ 1841 "type":"structure", 1842 "required":[ 1843 "ChannelArn", 1844 "MessageId", 1845 "ChimeBearer" 1846 ], 1847 "members":{ 1848 "ChannelArn":{ 1849 "shape":"ChimeArn", 1850 "documentation":"<p>The ARN of the channel.</p>", 1851 "location":"uri", 1852 "locationName":"channelArn" 1853 }, 1854 "MessageId":{ 1855 "shape":"MessageId", 1856 "documentation":"<p>The ID of the message being deleted.</p>", 1857 "location":"uri", 1858 "locationName":"messageId" 1859 }, 1860 "ChimeBearer":{ 1861 "shape":"ChimeArn", 1862 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 1863 "location":"header", 1864 "locationName":"x-amz-chime-bearer" 1865 } 1866 } 1867 }, 1868 "DeleteChannelModeratorRequest":{ 1869 "type":"structure", 1870 "required":[ 1871 "ChannelArn", 1872 "ChannelModeratorArn", 1873 "ChimeBearer" 1874 ], 1875 "members":{ 1876 "ChannelArn":{ 1877 "shape":"ChimeArn", 1878 "documentation":"<p>The ARN of the channel.</p>", 1879 "location":"uri", 1880 "locationName":"channelArn" 1881 }, 1882 "ChannelModeratorArn":{ 1883 "shape":"ChimeArn", 1884 "documentation":"<p>The ARN of the moderator being deleted.</p>", 1885 "location":"uri", 1886 "locationName":"channelModeratorArn" 1887 }, 1888 "ChimeBearer":{ 1889 "shape":"ChimeArn", 1890 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 1891 "location":"header", 1892 "locationName":"x-amz-chime-bearer" 1893 } 1894 } 1895 }, 1896 "DeleteChannelRequest":{ 1897 "type":"structure", 1898 "required":[ 1899 "ChannelArn", 1900 "ChimeBearer" 1901 ], 1902 "members":{ 1903 "ChannelArn":{ 1904 "shape":"ChimeArn", 1905 "documentation":"<p>The ARN of the channel being deleted.</p>", 1906 "location":"uri", 1907 "locationName":"channelArn" 1908 }, 1909 "ChimeBearer":{ 1910 "shape":"ChimeArn", 1911 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 1912 "location":"header", 1913 "locationName":"x-amz-chime-bearer" 1914 } 1915 } 1916 }, 1917 "DescribeChannelBanRequest":{ 1918 "type":"structure", 1919 "required":[ 1920 "ChannelArn", 1921 "MemberArn", 1922 "ChimeBearer" 1923 ], 1924 "members":{ 1925 "ChannelArn":{ 1926 "shape":"ChimeArn", 1927 "documentation":"<p>The ARN of the channel from which the user is banned.</p>", 1928 "location":"uri", 1929 "locationName":"channelArn" 1930 }, 1931 "MemberArn":{ 1932 "shape":"ChimeArn", 1933 "documentation":"<p>The ARN of the member being banned.</p>", 1934 "location":"uri", 1935 "locationName":"memberArn" 1936 }, 1937 "ChimeBearer":{ 1938 "shape":"ChimeArn", 1939 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 1940 "location":"header", 1941 "locationName":"x-amz-chime-bearer" 1942 } 1943 } 1944 }, 1945 "DescribeChannelBanResponse":{ 1946 "type":"structure", 1947 "members":{ 1948 "ChannelBan":{ 1949 "shape":"ChannelBan", 1950 "documentation":"<p>The details of the ban.</p>" 1951 } 1952 } 1953 }, 1954 "DescribeChannelFlowRequest":{ 1955 "type":"structure", 1956 "required":["ChannelFlowArn"], 1957 "members":{ 1958 "ChannelFlowArn":{ 1959 "shape":"ChimeArn", 1960 "documentation":"<p>The ARN of the channel flow.</p>", 1961 "location":"uri", 1962 "locationName":"channelFlowArn" 1963 } 1964 } 1965 }, 1966 "DescribeChannelFlowResponse":{ 1967 "type":"structure", 1968 "members":{ 1969 "ChannelFlow":{ 1970 "shape":"ChannelFlow", 1971 "documentation":"<p>The channel flow details.</p>" 1972 } 1973 } 1974 }, 1975 "DescribeChannelMembershipForAppInstanceUserRequest":{ 1976 "type":"structure", 1977 "required":[ 1978 "ChannelArn", 1979 "AppInstanceUserArn", 1980 "ChimeBearer" 1981 ], 1982 "members":{ 1983 "ChannelArn":{ 1984 "shape":"ChimeArn", 1985 "documentation":"<p>The ARN of the channel to which the user belongs.</p>", 1986 "location":"uri", 1987 "locationName":"channelArn" 1988 }, 1989 "AppInstanceUserArn":{ 1990 "shape":"ChimeArn", 1991 "documentation":"<p>The ARN of the user in a channel.</p>", 1992 "location":"querystring", 1993 "locationName":"app-instance-user-arn" 1994 }, 1995 "ChimeBearer":{ 1996 "shape":"ChimeArn", 1997 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 1998 "location":"header", 1999 "locationName":"x-amz-chime-bearer" 2000 } 2001 } 2002 }, 2003 "DescribeChannelMembershipForAppInstanceUserResponse":{ 2004 "type":"structure", 2005 "members":{ 2006 "ChannelMembership":{ 2007 "shape":"ChannelMembershipForAppInstanceUserSummary", 2008 "documentation":"<p>The channel to which a user belongs.</p>" 2009 } 2010 } 2011 }, 2012 "DescribeChannelMembershipRequest":{ 2013 "type":"structure", 2014 "required":[ 2015 "ChannelArn", 2016 "MemberArn", 2017 "ChimeBearer" 2018 ], 2019 "members":{ 2020 "ChannelArn":{ 2021 "shape":"ChimeArn", 2022 "documentation":"<p>The ARN of the channel.</p>", 2023 "location":"uri", 2024 "locationName":"channelArn" 2025 }, 2026 "MemberArn":{ 2027 "shape":"ChimeArn", 2028 "documentation":"<p>The ARN of the member.</p>", 2029 "location":"uri", 2030 "locationName":"memberArn" 2031 }, 2032 "ChimeBearer":{ 2033 "shape":"ChimeArn", 2034 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 2035 "location":"header", 2036 "locationName":"x-amz-chime-bearer" 2037 } 2038 } 2039 }, 2040 "DescribeChannelMembershipResponse":{ 2041 "type":"structure", 2042 "members":{ 2043 "ChannelMembership":{ 2044 "shape":"ChannelMembership", 2045 "documentation":"<p>The details of the membership.</p>" 2046 } 2047 } 2048 }, 2049 "DescribeChannelModeratedByAppInstanceUserRequest":{ 2050 "type":"structure", 2051 "required":[ 2052 "ChannelArn", 2053 "AppInstanceUserArn", 2054 "ChimeBearer" 2055 ], 2056 "members":{ 2057 "ChannelArn":{ 2058 "shape":"ChimeArn", 2059 "documentation":"<p>The ARN of the moderated channel.</p>", 2060 "location":"uri", 2061 "locationName":"channelArn" 2062 }, 2063 "AppInstanceUserArn":{ 2064 "shape":"ChimeArn", 2065 "documentation":"<p>The ARN of the <code>AppInstanceUser</code> in the moderated channel.</p>", 2066 "location":"querystring", 2067 "locationName":"app-instance-user-arn" 2068 }, 2069 "ChimeBearer":{ 2070 "shape":"ChimeArn", 2071 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 2072 "location":"header", 2073 "locationName":"x-amz-chime-bearer" 2074 } 2075 } 2076 }, 2077 "DescribeChannelModeratedByAppInstanceUserResponse":{ 2078 "type":"structure", 2079 "members":{ 2080 "Channel":{ 2081 "shape":"ChannelModeratedByAppInstanceUserSummary", 2082 "documentation":"<p>The moderated channel.</p>" 2083 } 2084 } 2085 }, 2086 "DescribeChannelModeratorRequest":{ 2087 "type":"structure", 2088 "required":[ 2089 "ChannelArn", 2090 "ChannelModeratorArn", 2091 "ChimeBearer" 2092 ], 2093 "members":{ 2094 "ChannelArn":{ 2095 "shape":"ChimeArn", 2096 "documentation":"<p>The ARN of the channel.</p>", 2097 "location":"uri", 2098 "locationName":"channelArn" 2099 }, 2100 "ChannelModeratorArn":{ 2101 "shape":"ChimeArn", 2102 "documentation":"<p>The ARN of the channel moderator.</p>", 2103 "location":"uri", 2104 "locationName":"channelModeratorArn" 2105 }, 2106 "ChimeBearer":{ 2107 "shape":"ChimeArn", 2108 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 2109 "location":"header", 2110 "locationName":"x-amz-chime-bearer" 2111 } 2112 } 2113 }, 2114 "DescribeChannelModeratorResponse":{ 2115 "type":"structure", 2116 "members":{ 2117 "ChannelModerator":{ 2118 "shape":"ChannelModerator", 2119 "documentation":"<p>The details of the channel moderator.</p>" 2120 } 2121 } 2122 }, 2123 "DescribeChannelRequest":{ 2124 "type":"structure", 2125 "required":[ 2126 "ChannelArn", 2127 "ChimeBearer" 2128 ], 2129 "members":{ 2130 "ChannelArn":{ 2131 "shape":"ChimeArn", 2132 "documentation":"<p>The ARN of the channel.</p>", 2133 "location":"uri", 2134 "locationName":"channelArn" 2135 }, 2136 "ChimeBearer":{ 2137 "shape":"ChimeArn", 2138 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 2139 "location":"header", 2140 "locationName":"x-amz-chime-bearer" 2141 } 2142 } 2143 }, 2144 "DescribeChannelResponse":{ 2145 "type":"structure", 2146 "members":{ 2147 "Channel":{ 2148 "shape":"Channel", 2149 "documentation":"<p>The channel details.</p>" 2150 } 2151 } 2152 }, 2153 "DisassociateChannelFlowRequest":{ 2154 "type":"structure", 2155 "required":[ 2156 "ChannelArn", 2157 "ChannelFlowArn", 2158 "ChimeBearer" 2159 ], 2160 "members":{ 2161 "ChannelArn":{ 2162 "shape":"ChimeArn", 2163 "documentation":"<p>The ARN of the channel.</p>", 2164 "location":"uri", 2165 "locationName":"channelArn" 2166 }, 2167 "ChannelFlowArn":{ 2168 "shape":"ChimeArn", 2169 "documentation":"<p>The ARN of the channel flow.</p>", 2170 "location":"uri", 2171 "locationName":"channelFlowArn" 2172 }, 2173 "ChimeBearer":{ 2174 "shape":"ChimeArn", 2175 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user making the API call.</p>", 2176 "location":"header", 2177 "locationName":"x-amz-chime-bearer" 2178 } 2179 } 2180 }, 2181 "ErrorCode":{ 2182 "type":"string", 2183 "enum":[ 2184 "BadRequest", 2185 "Conflict", 2186 "Forbidden", 2187 "NotFound", 2188 "PreconditionFailed", 2189 "ResourceLimitExceeded", 2190 "ServiceFailure", 2191 "AccessDenied", 2192 "ServiceUnavailable", 2193 "Throttled", 2194 "Throttling", 2195 "Unauthorized", 2196 "Unprocessable", 2197 "VoiceConnectorGroupAssociationsExist", 2198 "PhoneNumberAssociationsExist" 2199 ] 2200 }, 2201 "FallbackAction":{ 2202 "type":"string", 2203 "enum":[ 2204 "CONTINUE", 2205 "ABORT" 2206 ] 2207 }, 2208 "ForbiddenException":{ 2209 "type":"structure", 2210 "members":{ 2211 "Code":{"shape":"ErrorCode"}, 2212 "Message":{"shape":"String"} 2213 }, 2214 "documentation":"<p>The client is permanently forbidden from making the request.</p>", 2215 "error":{"httpStatusCode":403}, 2216 "exception":true 2217 }, 2218 "GetChannelMessageRequest":{ 2219 "type":"structure", 2220 "required":[ 2221 "ChannelArn", 2222 "MessageId", 2223 "ChimeBearer" 2224 ], 2225 "members":{ 2226 "ChannelArn":{ 2227 "shape":"ChimeArn", 2228 "documentation":"<p>The ARN of the channel.</p>", 2229 "location":"uri", 2230 "locationName":"channelArn" 2231 }, 2232 "MessageId":{ 2233 "shape":"MessageId", 2234 "documentation":"<p>The ID of the message.</p>", 2235 "location":"uri", 2236 "locationName":"messageId" 2237 }, 2238 "ChimeBearer":{ 2239 "shape":"ChimeArn", 2240 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 2241 "location":"header", 2242 "locationName":"x-amz-chime-bearer" 2243 } 2244 } 2245 }, 2246 "GetChannelMessageResponse":{ 2247 "type":"structure", 2248 "members":{ 2249 "ChannelMessage":{ 2250 "shape":"ChannelMessage", 2251 "documentation":"<p>The details of and content in the message.</p>" 2252 } 2253 } 2254 }, 2255 "GetChannelMessageStatusRequest":{ 2256 "type":"structure", 2257 "required":[ 2258 "ChannelArn", 2259 "MessageId", 2260 "ChimeBearer" 2261 ], 2262 "members":{ 2263 "ChannelArn":{ 2264 "shape":"ChimeArn", 2265 "documentation":"<p>The ARN of the channel</p>", 2266 "location":"uri", 2267 "locationName":"channelArn" 2268 }, 2269 "MessageId":{ 2270 "shape":"MessageId", 2271 "documentation":"<p>The ID of the message.</p>", 2272 "location":"uri", 2273 "locationName":"messageId" 2274 }, 2275 "ChimeBearer":{ 2276 "shape":"ChimeArn", 2277 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user making the API call.</p>", 2278 "location":"header", 2279 "locationName":"x-amz-chime-bearer" 2280 } 2281 } 2282 }, 2283 "GetChannelMessageStatusResponse":{ 2284 "type":"structure", 2285 "members":{ 2286 "Status":{ 2287 "shape":"ChannelMessageStatusStructure", 2288 "documentation":"<p>The message status and details.</p>" 2289 } 2290 } 2291 }, 2292 "GetMessagingSessionEndpointRequest":{ 2293 "type":"structure", 2294 "members":{ 2295 } 2296 }, 2297 "GetMessagingSessionEndpointResponse":{ 2298 "type":"structure", 2299 "members":{ 2300 "Endpoint":{ 2301 "shape":"MessagingSessionEndpoint", 2302 "documentation":"<p>The endpoint returned in the response.</p>" 2303 } 2304 } 2305 }, 2306 "Identity":{ 2307 "type":"structure", 2308 "members":{ 2309 "Arn":{ 2310 "shape":"ChimeArn", 2311 "documentation":"<p>The ARN in an Identity.</p>" 2312 }, 2313 "Name":{ 2314 "shape":"ResourceName", 2315 "documentation":"<p>The name in an Identity.</p>" 2316 } 2317 }, 2318 "documentation":"<p>The details of a user.</p>" 2319 }, 2320 "InvocationType":{ 2321 "type":"string", 2322 "enum":["ASYNC"] 2323 }, 2324 "LambdaConfiguration":{ 2325 "type":"structure", 2326 "required":[ 2327 "ResourceArn", 2328 "InvocationType" 2329 ], 2330 "members":{ 2331 "ResourceArn":{ 2332 "shape":"LambdaFunctionArn", 2333 "documentation":"<p>The ARN of the Lambda message processing function.</p>" 2334 }, 2335 "InvocationType":{ 2336 "shape":"InvocationType", 2337 "documentation":"<p>Controls how the Lambda function is invoked.</p>" 2338 } 2339 }, 2340 "documentation":"<p>Stores metadata about a Lambda processor.</p>" 2341 }, 2342 "LambdaFunctionArn":{ 2343 "type":"string", 2344 "max":2048, 2345 "min":15, 2346 "pattern":"arn:aws:lambda:[a-z]{2}-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9\\-_\\.]+(:(\\$LATEST|[a-zA-Z0-9\\-_]+))?" 2347 }, 2348 "ListChannelBansRequest":{ 2349 "type":"structure", 2350 "required":[ 2351 "ChannelArn", 2352 "ChimeBearer" 2353 ], 2354 "members":{ 2355 "ChannelArn":{ 2356 "shape":"ChimeArn", 2357 "documentation":"<p>The ARN of the channel.</p>", 2358 "location":"uri", 2359 "locationName":"channelArn" 2360 }, 2361 "MaxResults":{ 2362 "shape":"MaxResults", 2363 "documentation":"<p>The maximum number of bans that you want returned.</p>", 2364 "location":"querystring", 2365 "locationName":"max-results" 2366 }, 2367 "NextToken":{ 2368 "shape":"NextToken", 2369 "documentation":"<p>The token passed by previous API calls until all requested bans are returned.</p>", 2370 "location":"querystring", 2371 "locationName":"next-token" 2372 }, 2373 "ChimeBearer":{ 2374 "shape":"ChimeArn", 2375 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 2376 "location":"header", 2377 "locationName":"x-amz-chime-bearer" 2378 } 2379 } 2380 }, 2381 "ListChannelBansResponse":{ 2382 "type":"structure", 2383 "members":{ 2384 "ChannelArn":{ 2385 "shape":"ChimeArn", 2386 "documentation":"<p>The ARN of the channel.</p>" 2387 }, 2388 "NextToken":{ 2389 "shape":"NextToken", 2390 "documentation":"<p>The token passed by previous API calls until all requested bans are returned.</p>" 2391 }, 2392 "ChannelBans":{ 2393 "shape":"ChannelBanSummaryList", 2394 "documentation":"<p>The information for each requested ban.</p>" 2395 } 2396 } 2397 }, 2398 "ListChannelFlowsRequest":{ 2399 "type":"structure", 2400 "required":["AppInstanceArn"], 2401 "members":{ 2402 "AppInstanceArn":{ 2403 "shape":"ChimeArn", 2404 "documentation":"<p>The ARN of the app instance.</p>", 2405 "location":"querystring", 2406 "locationName":"app-instance-arn" 2407 }, 2408 "MaxResults":{ 2409 "shape":"MaxResults", 2410 "documentation":"<p>The maximum number of channel flows that you want to return.</p>", 2411 "location":"querystring", 2412 "locationName":"max-results" 2413 }, 2414 "NextToken":{ 2415 "shape":"NextToken", 2416 "documentation":"<p>The token passed by previous API calls until all requested channel flows are returned.</p>", 2417 "location":"querystring", 2418 "locationName":"next-token" 2419 } 2420 } 2421 }, 2422 "ListChannelFlowsResponse":{ 2423 "type":"structure", 2424 "members":{ 2425 "ChannelFlows":{ 2426 "shape":"ChannelFlowSummaryList", 2427 "documentation":"<p>The information about each channel flow.</p>" 2428 }, 2429 "NextToken":{ 2430 "shape":"NextToken", 2431 "documentation":"<p>The token passed by previous API calls until all requested channels are returned.</p>" 2432 } 2433 } 2434 }, 2435 "ListChannelMembershipsForAppInstanceUserRequest":{ 2436 "type":"structure", 2437 "required":["ChimeBearer"], 2438 "members":{ 2439 "AppInstanceUserArn":{ 2440 "shape":"ChimeArn", 2441 "documentation":"<p>The ARN of the <code>AppInstanceUser</code>s</p>", 2442 "location":"querystring", 2443 "locationName":"app-instance-user-arn" 2444 }, 2445 "MaxResults":{ 2446 "shape":"MaxResults", 2447 "documentation":"<p>The maximum number of users that you want returned.</p>", 2448 "location":"querystring", 2449 "locationName":"max-results" 2450 }, 2451 "NextToken":{ 2452 "shape":"NextToken", 2453 "documentation":"<p>The token returned from previous API requests until the number of channel memberships is reached.</p>", 2454 "location":"querystring", 2455 "locationName":"next-token" 2456 }, 2457 "ChimeBearer":{ 2458 "shape":"ChimeArn", 2459 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 2460 "location":"header", 2461 "locationName":"x-amz-chime-bearer" 2462 } 2463 } 2464 }, 2465 "ListChannelMembershipsForAppInstanceUserResponse":{ 2466 "type":"structure", 2467 "members":{ 2468 "ChannelMemberships":{ 2469 "shape":"ChannelMembershipForAppInstanceUserSummaryList", 2470 "documentation":"<p>The token passed by previous API calls until all requested users are returned.</p>" 2471 }, 2472 "NextToken":{ 2473 "shape":"NextToken", 2474 "documentation":"<p>The token passed by previous API calls until all requested users are returned.</p>" 2475 } 2476 } 2477 }, 2478 "ListChannelMembershipsRequest":{ 2479 "type":"structure", 2480 "required":[ 2481 "ChannelArn", 2482 "ChimeBearer" 2483 ], 2484 "members":{ 2485 "ChannelArn":{ 2486 "shape":"ChimeArn", 2487 "documentation":"<p>The maximum number of channel memberships that you want returned.</p>", 2488 "location":"uri", 2489 "locationName":"channelArn" 2490 }, 2491 "Type":{ 2492 "shape":"ChannelMembershipType", 2493 "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.</p>", 2494 "location":"querystring", 2495 "locationName":"type" 2496 }, 2497 "MaxResults":{ 2498 "shape":"MaxResults", 2499 "documentation":"<p>The maximum number of channel memberships that you want returned.</p>", 2500 "location":"querystring", 2501 "locationName":"max-results" 2502 }, 2503 "NextToken":{ 2504 "shape":"NextToken", 2505 "documentation":"<p>The token passed by previous API calls until all requested channel memberships are returned.</p>", 2506 "location":"querystring", 2507 "locationName":"next-token" 2508 }, 2509 "ChimeBearer":{ 2510 "shape":"ChimeArn", 2511 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 2512 "location":"header", 2513 "locationName":"x-amz-chime-bearer" 2514 } 2515 } 2516 }, 2517 "ListChannelMembershipsResponse":{ 2518 "type":"structure", 2519 "members":{ 2520 "ChannelArn":{ 2521 "shape":"ChimeArn", 2522 "documentation":"<p>The ARN of the channel.</p>" 2523 }, 2524 "ChannelMemberships":{ 2525 "shape":"ChannelMembershipSummaryList", 2526 "documentation":"<p>The information for the requested channel memberships.</p>" 2527 }, 2528 "NextToken":{ 2529 "shape":"NextToken", 2530 "documentation":"<p>The token passed by previous API calls until all requested channel memberships are returned.</p>" 2531 } 2532 } 2533 }, 2534 "ListChannelMessagesRequest":{ 2535 "type":"structure", 2536 "required":[ 2537 "ChannelArn", 2538 "ChimeBearer" 2539 ], 2540 "members":{ 2541 "ChannelArn":{ 2542 "shape":"ChimeArn", 2543 "documentation":"<p>The ARN of the channel.</p>", 2544 "location":"uri", 2545 "locationName":"channelArn" 2546 }, 2547 "SortOrder":{ 2548 "shape":"SortOrder", 2549 "documentation":"<p>The order in which you want messages sorted. Default is Descending, based on time created.</p>", 2550 "location":"querystring", 2551 "locationName":"sort-order" 2552 }, 2553 "NotBefore":{ 2554 "shape":"Timestamp", 2555 "documentation":"<p>The initial or starting time stamp for your requested messages.</p>", 2556 "location":"querystring", 2557 "locationName":"not-before" 2558 }, 2559 "NotAfter":{ 2560 "shape":"Timestamp", 2561 "documentation":"<p>The final or ending time stamp for your requested messages.</p>", 2562 "location":"querystring", 2563 "locationName":"not-after" 2564 }, 2565 "MaxResults":{ 2566 "shape":"MaxResults", 2567 "documentation":"<p>The maximum number of messages that you want returned.</p>", 2568 "location":"querystring", 2569 "locationName":"max-results" 2570 }, 2571 "NextToken":{ 2572 "shape":"NextToken", 2573 "documentation":"<p>The token passed by previous API calls until all requested messages are returned.</p>", 2574 "location":"querystring", 2575 "locationName":"next-token" 2576 }, 2577 "ChimeBearer":{ 2578 "shape":"ChimeArn", 2579 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 2580 "location":"header", 2581 "locationName":"x-amz-chime-bearer" 2582 } 2583 } 2584 }, 2585 "ListChannelMessagesResponse":{ 2586 "type":"structure", 2587 "members":{ 2588 "ChannelArn":{ 2589 "shape":"ChimeArn", 2590 "documentation":"<p>The ARN of the channel containing the requested messages.</p>" 2591 }, 2592 "NextToken":{ 2593 "shape":"NextToken", 2594 "documentation":"<p>The token passed by previous API calls until all requested messages are returned.</p>" 2595 }, 2596 "ChannelMessages":{ 2597 "shape":"ChannelMessageSummaryList", 2598 "documentation":"<p>The information about, and content of, each requested message.</p>" 2599 } 2600 } 2601 }, 2602 "ListChannelModeratorsRequest":{ 2603 "type":"structure", 2604 "required":[ 2605 "ChannelArn", 2606 "ChimeBearer" 2607 ], 2608 "members":{ 2609 "ChannelArn":{ 2610 "shape":"ChimeArn", 2611 "documentation":"<p>The ARN of the channel.</p>", 2612 "location":"uri", 2613 "locationName":"channelArn" 2614 }, 2615 "MaxResults":{ 2616 "shape":"MaxResults", 2617 "documentation":"<p>The maximum number of moderators that you want returned.</p>", 2618 "location":"querystring", 2619 "locationName":"max-results" 2620 }, 2621 "NextToken":{ 2622 "shape":"NextToken", 2623 "documentation":"<p>The token passed by previous API calls until all requested moderators are returned.</p>", 2624 "location":"querystring", 2625 "locationName":"next-token" 2626 }, 2627 "ChimeBearer":{ 2628 "shape":"ChimeArn", 2629 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 2630 "location":"header", 2631 "locationName":"x-amz-chime-bearer" 2632 } 2633 } 2634 }, 2635 "ListChannelModeratorsResponse":{ 2636 "type":"structure", 2637 "members":{ 2638 "ChannelArn":{ 2639 "shape":"ChimeArn", 2640 "documentation":"<p>The ARN of the channel.</p>" 2641 }, 2642 "NextToken":{ 2643 "shape":"NextToken", 2644 "documentation":"<p>The token passed by previous API calls until all requested moderators are returned.</p>" 2645 }, 2646 "ChannelModerators":{ 2647 "shape":"ChannelModeratorSummaryList", 2648 "documentation":"<p>The information about and names of each moderator.</p>" 2649 } 2650 } 2651 }, 2652 "ListChannelsAssociatedWithChannelFlowRequest":{ 2653 "type":"structure", 2654 "required":["ChannelFlowArn"], 2655 "members":{ 2656 "ChannelFlowArn":{ 2657 "shape":"ChimeArn", 2658 "documentation":"<p>The ARN of the channel flow.</p>", 2659 "location":"querystring", 2660 "locationName":"channel-flow-arn" 2661 }, 2662 "MaxResults":{ 2663 "shape":"MaxResults", 2664 "documentation":"<p>The maximum number of channels that you want to return.</p>", 2665 "location":"querystring", 2666 "locationName":"max-results" 2667 }, 2668 "NextToken":{ 2669 "shape":"NextToken", 2670 "documentation":"<p>The token passed by previous API calls until all requested channels are returned.</p>", 2671 "location":"querystring", 2672 "locationName":"next-token" 2673 } 2674 } 2675 }, 2676 "ListChannelsAssociatedWithChannelFlowResponse":{ 2677 "type":"structure", 2678 "members":{ 2679 "Channels":{ 2680 "shape":"ChannelAssociatedWithFlowSummaryList", 2681 "documentation":"<p>The information about each channel.</p>" 2682 }, 2683 "NextToken":{ 2684 "shape":"NextToken", 2685 "documentation":"<p>The token passed by previous API calls until all requested channels are returned.</p>" 2686 } 2687 } 2688 }, 2689 "ListChannelsModeratedByAppInstanceUserRequest":{ 2690 "type":"structure", 2691 "required":["ChimeBearer"], 2692 "members":{ 2693 "AppInstanceUserArn":{ 2694 "shape":"ChimeArn", 2695 "documentation":"<p>The ARN of the user in the moderated channel.</p>", 2696 "location":"querystring", 2697 "locationName":"app-instance-user-arn" 2698 }, 2699 "MaxResults":{ 2700 "shape":"MaxResults", 2701 "documentation":"<p>The maximum number of channels in the request.</p>", 2702 "location":"querystring", 2703 "locationName":"max-results" 2704 }, 2705 "NextToken":{ 2706 "shape":"NextToken", 2707 "documentation":"<p>The token returned from previous API requests until the number of channels moderated by the user is reached.</p>", 2708 "location":"querystring", 2709 "locationName":"next-token" 2710 }, 2711 "ChimeBearer":{ 2712 "shape":"ChimeArn", 2713 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 2714 "location":"header", 2715 "locationName":"x-amz-chime-bearer" 2716 } 2717 } 2718 }, 2719 "ListChannelsModeratedByAppInstanceUserResponse":{ 2720 "type":"structure", 2721 "members":{ 2722 "Channels":{ 2723 "shape":"ChannelModeratedByAppInstanceUserSummaryList", 2724 "documentation":"<p>The moderated channels in the request.</p>" 2725 }, 2726 "NextToken":{ 2727 "shape":"NextToken", 2728 "documentation":"<p>The token returned from previous API requests until the number of channels moderated by the user is reached.</p>" 2729 } 2730 } 2731 }, 2732 "ListChannelsRequest":{ 2733 "type":"structure", 2734 "required":[ 2735 "AppInstanceArn", 2736 "ChimeBearer" 2737 ], 2738 "members":{ 2739 "AppInstanceArn":{ 2740 "shape":"ChimeArn", 2741 "documentation":"<p>The ARN of the <code>AppInstance</code>.</p>", 2742 "location":"querystring", 2743 "locationName":"app-instance-arn" 2744 }, 2745 "Privacy":{ 2746 "shape":"ChannelPrivacy", 2747 "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>", 2748 "location":"querystring", 2749 "locationName":"privacy" 2750 }, 2751 "MaxResults":{ 2752 "shape":"MaxResults", 2753 "documentation":"<p>The maximum number of channels that you want to return.</p>", 2754 "location":"querystring", 2755 "locationName":"max-results" 2756 }, 2757 "NextToken":{ 2758 "shape":"NextToken", 2759 "documentation":"<p>The token passed by previous API calls until all requested channels are returned.</p>", 2760 "location":"querystring", 2761 "locationName":"next-token" 2762 }, 2763 "ChimeBearer":{ 2764 "shape":"ChimeArn", 2765 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 2766 "location":"header", 2767 "locationName":"x-amz-chime-bearer" 2768 } 2769 } 2770 }, 2771 "ListChannelsResponse":{ 2772 "type":"structure", 2773 "members":{ 2774 "Channels":{ 2775 "shape":"ChannelSummaryList", 2776 "documentation":"<p>The information about each channel.</p>" 2777 }, 2778 "NextToken":{ 2779 "shape":"NextToken", 2780 "documentation":"<p>The token returned from previous API requests until the number of channels is reached.</p>" 2781 } 2782 } 2783 }, 2784 "ListTagsForResourceRequest":{ 2785 "type":"structure", 2786 "required":["ResourceARN"], 2787 "members":{ 2788 "ResourceARN":{ 2789 "shape":"ChimeArn", 2790 "documentation":"<p>The ARN of the resource.</p>", 2791 "location":"querystring", 2792 "locationName":"arn" 2793 } 2794 } 2795 }, 2796 "ListTagsForResourceResponse":{ 2797 "type":"structure", 2798 "members":{ 2799 "Tags":{ 2800 "shape":"TagList", 2801 "documentation":"<p>The tag key-value pairs.</p>" 2802 } 2803 } 2804 }, 2805 "MaxResults":{ 2806 "type":"integer", 2807 "max":50, 2808 "min":1 2809 }, 2810 "MemberArns":{ 2811 "type":"list", 2812 "member":{"shape":"ChimeArn"}, 2813 "max":100, 2814 "min":1 2815 }, 2816 "Members":{ 2817 "type":"list", 2818 "member":{"shape":"Identity"} 2819 }, 2820 "MessageId":{ 2821 "type":"string", 2822 "max":128, 2823 "min":1, 2824 "pattern":"[-_a-zA-Z0-9]*" 2825 }, 2826 "MessagingSessionEndpoint":{ 2827 "type":"structure", 2828 "members":{ 2829 "Url":{ 2830 "shape":"UrlType", 2831 "documentation":"<p>The endpoint to which you establish a websocket connection.</p>" 2832 } 2833 }, 2834 "documentation":"<p>The websocket endpoint used to connect to Amazon Chime SDK messaging.</p>" 2835 }, 2836 "Metadata":{ 2837 "type":"string", 2838 "max":1024, 2839 "min":0, 2840 "pattern":".*", 2841 "sensitive":true 2842 }, 2843 "NextToken":{ 2844 "type":"string", 2845 "max":2048, 2846 "min":0, 2847 "pattern":".*", 2848 "sensitive":true 2849 }, 2850 "NonEmptyContent":{ 2851 "type":"string", 2852 "min":1, 2853 "pattern":"[\\s\\S]*", 2854 "sensitive":true 2855 }, 2856 "NonEmptyResourceName":{ 2857 "type":"string", 2858 "max":256, 2859 "min":1, 2860 "pattern":"[\\u0009\\u000A\\u000D\\u0020-\\u007E\\u0085\\u00A0-\\uD7FF\\uE000-\\uFFFD\\u10000-\\u10FFFF]*", 2861 "sensitive":true 2862 }, 2863 "NonNullableBoolean":{"type":"boolean"}, 2864 "NotFoundException":{ 2865 "type":"structure", 2866 "members":{ 2867 "Code":{"shape":"ErrorCode"}, 2868 "Message":{"shape":"String"} 2869 }, 2870 "documentation":"<p>One or more of the resources in the request does not exist in the system.</p>", 2871 "error":{"httpStatusCode":404}, 2872 "exception":true 2873 }, 2874 "Processor":{ 2875 "type":"structure", 2876 "required":[ 2877 "Name", 2878 "Configuration", 2879 "ExecutionOrder", 2880 "FallbackAction" 2881 ], 2882 "members":{ 2883 "Name":{ 2884 "shape":"NonEmptyResourceName", 2885 "documentation":"<p>The name of the channel flow.</p>" 2886 }, 2887 "Configuration":{ 2888 "shape":"ProcessorConfiguration", 2889 "documentation":"<p>The information about the type of processor and its identifier.</p>" 2890 }, 2891 "ExecutionOrder":{ 2892 "shape":"ChannelFlowExecutionOrder", 2893 "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>" 2894 }, 2895 "FallbackAction":{ 2896 "shape":"FallbackAction", 2897 "documentation":"<p>Determines whether to continue or stop processing if communication with processor fails. If the last processor in a channel flow sequence has a fallback action of CONTINUE, and communication with the processor fails, the message is considered processed and sent to the recipients in the channel.</p>" 2898 } 2899 }, 2900 "documentation":"<p>The information about a processor in a channel flow.</p>" 2901 }, 2902 "ProcessorConfiguration":{ 2903 "type":"structure", 2904 "required":["Lambda"], 2905 "members":{ 2906 "Lambda":{ 2907 "shape":"LambdaConfiguration", 2908 "documentation":"<p>Indicates that the processor is of type Lambda.</p>" 2909 } 2910 }, 2911 "documentation":"<p>A processor's metadata.</p>" 2912 }, 2913 "ProcessorList":{ 2914 "type":"list", 2915 "member":{"shape":"Processor"}, 2916 "max":3, 2917 "min":1 2918 }, 2919 "RedactChannelMessageRequest":{ 2920 "type":"structure", 2921 "required":[ 2922 "ChannelArn", 2923 "MessageId", 2924 "ChimeBearer" 2925 ], 2926 "members":{ 2927 "ChannelArn":{ 2928 "shape":"ChimeArn", 2929 "documentation":"<p>The ARN of the channel containing the messages that you want to redact.</p>", 2930 "location":"uri", 2931 "locationName":"channelArn" 2932 }, 2933 "MessageId":{ 2934 "shape":"MessageId", 2935 "documentation":"<p>The ID of the message being redacted.</p>", 2936 "location":"uri", 2937 "locationName":"messageId" 2938 }, 2939 "ChimeBearer":{ 2940 "shape":"ChimeArn", 2941 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 2942 "location":"header", 2943 "locationName":"x-amz-chime-bearer" 2944 } 2945 } 2946 }, 2947 "RedactChannelMessageResponse":{ 2948 "type":"structure", 2949 "members":{ 2950 "ChannelArn":{ 2951 "shape":"ChimeArn", 2952 "documentation":"<p>The ARN of the channel containing the messages that you want to redact.</p>" 2953 }, 2954 "MessageId":{ 2955 "shape":"MessageId", 2956 "documentation":"<p>The ID of the message being redacted.</p>" 2957 } 2958 } 2959 }, 2960 "ResourceLimitExceededException":{ 2961 "type":"structure", 2962 "members":{ 2963 "Code":{"shape":"ErrorCode"}, 2964 "Message":{"shape":"String"} 2965 }, 2966 "documentation":"<p>The request exceeds the resource limit.</p>", 2967 "error":{"httpStatusCode":400}, 2968 "exception":true 2969 }, 2970 "ResourceName":{ 2971 "type":"string", 2972 "max":256, 2973 "min":0, 2974 "pattern":"[\\u0009\\u000A\\u000D\\u0020-\\u007E\\u0085\\u00A0-\\uD7FF\\uE000-\\uFFFD\\u10000-\\u10FFFF]*", 2975 "sensitive":true 2976 }, 2977 "SendChannelMessageRequest":{ 2978 "type":"structure", 2979 "required":[ 2980 "ChannelArn", 2981 "Content", 2982 "Type", 2983 "Persistence", 2984 "ClientRequestToken", 2985 "ChimeBearer" 2986 ], 2987 "members":{ 2988 "ChannelArn":{ 2989 "shape":"ChimeArn", 2990 "documentation":"<p>The ARN of the channel.</p>", 2991 "location":"uri", 2992 "locationName":"channelArn" 2993 }, 2994 "Content":{ 2995 "shape":"NonEmptyContent", 2996 "documentation":"<p>The content of the message.</p>" 2997 }, 2998 "Type":{ 2999 "shape":"ChannelMessageType", 3000 "documentation":"<p>The type of message, <code>STANDARD</code> or <code>CONTROL</code>.</p>" 3001 }, 3002 "Persistence":{ 3003 "shape":"ChannelMessagePersistenceType", 3004 "documentation":"<p>Boolean that controls whether the message is persisted on the back end. Required.</p>" 3005 }, 3006 "Metadata":{ 3007 "shape":"Metadata", 3008 "documentation":"<p>The optional metadata for each message.</p>" 3009 }, 3010 "ClientRequestToken":{ 3011 "shape":"ClientRequestToken", 3012 "documentation":"<p>The <code>Idempotency</code> token for each client request.</p>", 3013 "idempotencyToken":true 3014 }, 3015 "ChimeBearer":{ 3016 "shape":"ChimeArn", 3017 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 3018 "location":"header", 3019 "locationName":"x-amz-chime-bearer" 3020 } 3021 } 3022 }, 3023 "SendChannelMessageResponse":{ 3024 "type":"structure", 3025 "members":{ 3026 "ChannelArn":{ 3027 "shape":"ChimeArn", 3028 "documentation":"<p>The ARN of the channel.</p>" 3029 }, 3030 "MessageId":{ 3031 "shape":"MessageId", 3032 "documentation":"<p>The ID string assigned to each message.</p>" 3033 }, 3034 "Status":{ 3035 "shape":"ChannelMessageStatusStructure", 3036 "documentation":"<p>The status of the channel message.</p>" 3037 } 3038 } 3039 }, 3040 "ServiceFailureException":{ 3041 "type":"structure", 3042 "members":{ 3043 "Code":{"shape":"ErrorCode"}, 3044 "Message":{"shape":"String"} 3045 }, 3046 "documentation":"<p>The service encountered an unexpected error.</p>", 3047 "error":{"httpStatusCode":500}, 3048 "exception":true, 3049 "fault":true 3050 }, 3051 "ServiceUnavailableException":{ 3052 "type":"structure", 3053 "members":{ 3054 "Code":{"shape":"ErrorCode"}, 3055 "Message":{"shape":"String"} 3056 }, 3057 "documentation":"<p>The service is currently unavailable.</p>", 3058 "error":{"httpStatusCode":503}, 3059 "exception":true, 3060 "fault":true 3061 }, 3062 "SortOrder":{ 3063 "type":"string", 3064 "enum":[ 3065 "ASCENDING", 3066 "DESCENDING" 3067 ] 3068 }, 3069 "StatusDetail":{ 3070 "type":"string", 3071 "max":256, 3072 "min":0, 3073 "pattern":"[\\s\\S]*" 3074 }, 3075 "String":{"type":"string"}, 3076 "Tag":{ 3077 "type":"structure", 3078 "required":[ 3079 "Key", 3080 "Value" 3081 ], 3082 "members":{ 3083 "Key":{ 3084 "shape":"TagKey", 3085 "documentation":"<p>The key in a tag.</p>" 3086 }, 3087 "Value":{ 3088 "shape":"TagValue", 3089 "documentation":"<p>The value in a tag.</p>" 3090 } 3091 }, 3092 "documentation":"<p>A tag object containing a key-value pair.</p>" 3093 }, 3094 "TagKey":{ 3095 "type":"string", 3096 "max":128, 3097 "min":1, 3098 "sensitive":true 3099 }, 3100 "TagKeyList":{ 3101 "type":"list", 3102 "member":{"shape":"TagKey"}, 3103 "max":50, 3104 "min":1 3105 }, 3106 "TagList":{ 3107 "type":"list", 3108 "member":{"shape":"Tag"}, 3109 "max":50, 3110 "min":1 3111 }, 3112 "TagResourceRequest":{ 3113 "type":"structure", 3114 "required":[ 3115 "ResourceARN", 3116 "Tags" 3117 ], 3118 "members":{ 3119 "ResourceARN":{ 3120 "shape":"ChimeArn", 3121 "documentation":"<p>The resource ARN.</p>" 3122 }, 3123 "Tags":{ 3124 "shape":"TagList", 3125 "documentation":"<p>The tag key-value pairs.</p>" 3126 } 3127 } 3128 }, 3129 "TagValue":{ 3130 "type":"string", 3131 "max":256, 3132 "min":1, 3133 "sensitive":true 3134 }, 3135 "ThrottledClientException":{ 3136 "type":"structure", 3137 "members":{ 3138 "Code":{"shape":"ErrorCode"}, 3139 "Message":{"shape":"String"} 3140 }, 3141 "documentation":"<p>The client exceeded its request rate limit.</p>", 3142 "error":{"httpStatusCode":429}, 3143 "exception":true 3144 }, 3145 "Timestamp":{"type":"timestamp"}, 3146 "UnauthorizedClientException":{ 3147 "type":"structure", 3148 "members":{ 3149 "Code":{"shape":"ErrorCode"}, 3150 "Message":{"shape":"String"} 3151 }, 3152 "documentation":"<p>The client is not currently authorized to make the request.</p>", 3153 "error":{"httpStatusCode":401}, 3154 "exception":true 3155 }, 3156 "UntagResourceRequest":{ 3157 "type":"structure", 3158 "required":[ 3159 "ResourceARN", 3160 "TagKeys" 3161 ], 3162 "members":{ 3163 "ResourceARN":{ 3164 "shape":"ChimeArn", 3165 "documentation":"<p>The resource ARN.</p>" 3166 }, 3167 "TagKeys":{ 3168 "shape":"TagKeyList", 3169 "documentation":"<p>The tag keys.</p>" 3170 } 3171 } 3172 }, 3173 "UpdateChannelFlowRequest":{ 3174 "type":"structure", 3175 "required":[ 3176 "ChannelFlowArn", 3177 "Processors", 3178 "Name" 3179 ], 3180 "members":{ 3181 "ChannelFlowArn":{ 3182 "shape":"ChimeArn", 3183 "documentation":"<p>The ARN of the channel flow.</p>", 3184 "location":"uri", 3185 "locationName":"channelFlowArn" 3186 }, 3187 "Processors":{ 3188 "shape":"ProcessorList", 3189 "documentation":"<p>Information about the processor Lambda functions </p>" 3190 }, 3191 "Name":{ 3192 "shape":"NonEmptyResourceName", 3193 "documentation":"<p>The name of the channel flow.</p>" 3194 } 3195 } 3196 }, 3197 "UpdateChannelFlowResponse":{ 3198 "type":"structure", 3199 "members":{ 3200 "ChannelFlowArn":{ 3201 "shape":"ChimeArn", 3202 "documentation":"<p>The ARN of the channel flow.</p>" 3203 } 3204 } 3205 }, 3206 "UpdateChannelMessageRequest":{ 3207 "type":"structure", 3208 "required":[ 3209 "ChannelArn", 3210 "MessageId", 3211 "ChimeBearer" 3212 ], 3213 "members":{ 3214 "ChannelArn":{ 3215 "shape":"ChimeArn", 3216 "documentation":"<p>The ARN of the channel.</p>", 3217 "location":"uri", 3218 "locationName":"channelArn" 3219 }, 3220 "MessageId":{ 3221 "shape":"MessageId", 3222 "documentation":"<p>The ID string of the message being updated.</p>", 3223 "location":"uri", 3224 "locationName":"messageId" 3225 }, 3226 "Content":{ 3227 "shape":"Content", 3228 "documentation":"<p>The content of the message being updated.</p>" 3229 }, 3230 "Metadata":{ 3231 "shape":"Metadata", 3232 "documentation":"<p>The metadata of the message being updated.</p>" 3233 }, 3234 "ChimeBearer":{ 3235 "shape":"ChimeArn", 3236 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 3237 "location":"header", 3238 "locationName":"x-amz-chime-bearer" 3239 } 3240 } 3241 }, 3242 "UpdateChannelMessageResponse":{ 3243 "type":"structure", 3244 "members":{ 3245 "ChannelArn":{ 3246 "shape":"ChimeArn", 3247 "documentation":"<p>The ARN of the channel.</p>" 3248 }, 3249 "MessageId":{ 3250 "shape":"MessageId", 3251 "documentation":"<p>The ID string of the message being updated.</p>" 3252 }, 3253 "Status":{ 3254 "shape":"ChannelMessageStatusStructure", 3255 "documentation":"<p>The status of the message update.</p>" 3256 } 3257 } 3258 }, 3259 "UpdateChannelReadMarkerRequest":{ 3260 "type":"structure", 3261 "required":[ 3262 "ChannelArn", 3263 "ChimeBearer" 3264 ], 3265 "members":{ 3266 "ChannelArn":{ 3267 "shape":"ChimeArn", 3268 "documentation":"<p>The ARN of the channel.</p>", 3269 "location":"uri", 3270 "locationName":"channelArn" 3271 }, 3272 "ChimeBearer":{ 3273 "shape":"ChimeArn", 3274 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 3275 "location":"header", 3276 "locationName":"x-amz-chime-bearer" 3277 } 3278 } 3279 }, 3280 "UpdateChannelReadMarkerResponse":{ 3281 "type":"structure", 3282 "members":{ 3283 "ChannelArn":{ 3284 "shape":"ChimeArn", 3285 "documentation":"<p>The ARN of the channel.</p>" 3286 } 3287 } 3288 }, 3289 "UpdateChannelRequest":{ 3290 "type":"structure", 3291 "required":[ 3292 "ChannelArn", 3293 "Name", 3294 "Mode", 3295 "ChimeBearer" 3296 ], 3297 "members":{ 3298 "ChannelArn":{ 3299 "shape":"ChimeArn", 3300 "documentation":"<p>The ARN of the channel.</p>", 3301 "location":"uri", 3302 "locationName":"channelArn" 3303 }, 3304 "Name":{ 3305 "shape":"NonEmptyResourceName", 3306 "documentation":"<p>The name of the channel.</p>" 3307 }, 3308 "Mode":{ 3309 "shape":"ChannelMode", 3310 "documentation":"<p>The mode of the update request.</p>" 3311 }, 3312 "Metadata":{ 3313 "shape":"Metadata", 3314 "documentation":"<p>The metadata for the update request.</p>" 3315 }, 3316 "ChimeBearer":{ 3317 "shape":"ChimeArn", 3318 "documentation":"<p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>", 3319 "location":"header", 3320 "locationName":"x-amz-chime-bearer" 3321 } 3322 } 3323 }, 3324 "UpdateChannelResponse":{ 3325 "type":"structure", 3326 "members":{ 3327 "ChannelArn":{ 3328 "shape":"ChimeArn", 3329 "documentation":"<p>The ARN of the channel.</p>" 3330 } 3331 } 3332 }, 3333 "UrlType":{ 3334 "type":"string", 3335 "max":4096 3336 } 3337 }, 3338 "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\">Amazon Chime SDK messaging</a> </p>" 3339} 3340