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 "BatchCreateChannelMembership":{ 15 "name":"BatchCreateChannelMembership", 16 "http":{ 17 "method":"POST", 18 "requestUri":"/channels/{channelArn}/memberships?operation=batch-create", 19 "responseCode":200 20 }, 21 "input":{"shape":"BatchCreateChannelMembershipRequest"}, 22 "output":{"shape":"BatchCreateChannelMembershipResponse"}, 23 "errors":[ 24 {"shape":"ServiceFailureException"}, 25 {"shape":"ServiceUnavailableException"}, 26 {"shape":"UnauthorizedClientException"}, 27 {"shape":"BadRequestException"}, 28 {"shape":"ForbiddenException"}, 29 {"shape":"ThrottledClientException"} 30 ] 31 }, 32 "CreateChannel":{ 33 "name":"CreateChannel", 34 "http":{ 35 "method":"POST", 36 "requestUri":"/channels", 37 "responseCode":201 38 }, 39 "input":{"shape":"CreateChannelRequest"}, 40 "output":{"shape":"CreateChannelResponse"}, 41 "errors":[ 42 {"shape":"BadRequestException"}, 43 {"shape":"ForbiddenException"}, 44 {"shape":"UnauthorizedClientException"}, 45 {"shape":"ConflictException"}, 46 {"shape":"ResourceLimitExceededException"}, 47 {"shape":"ThrottledClientException"}, 48 {"shape":"ServiceUnavailableException"}, 49 {"shape":"ServiceFailureException"} 50 ] 51 }, 52 "CreateChannelBan":{ 53 "name":"CreateChannelBan", 54 "http":{ 55 "method":"POST", 56 "requestUri":"/channels/{channelArn}/bans", 57 "responseCode":201 58 }, 59 "input":{"shape":"CreateChannelBanRequest"}, 60 "output":{"shape":"CreateChannelBanResponse"}, 61 "errors":[ 62 {"shape":"BadRequestException"}, 63 {"shape":"ForbiddenException"}, 64 {"shape":"UnauthorizedClientException"}, 65 {"shape":"ConflictException"}, 66 {"shape":"ResourceLimitExceededException"}, 67 {"shape":"ThrottledClientException"}, 68 {"shape":"ServiceUnavailableException"}, 69 {"shape":"ServiceFailureException"} 70 ] 71 }, 72 "CreateChannelMembership":{ 73 "name":"CreateChannelMembership", 74 "http":{ 75 "method":"POST", 76 "requestUri":"/channels/{channelArn}/memberships", 77 "responseCode":201 78 }, 79 "input":{"shape":"CreateChannelMembershipRequest"}, 80 "output":{"shape":"CreateChannelMembershipResponse"}, 81 "errors":[ 82 {"shape":"BadRequestException"}, 83 {"shape":"ForbiddenException"}, 84 {"shape":"UnauthorizedClientException"}, 85 {"shape":"ConflictException"}, 86 {"shape":"ResourceLimitExceededException"}, 87 {"shape":"ThrottledClientException"}, 88 {"shape":"ServiceUnavailableException"}, 89 {"shape":"ServiceFailureException"} 90 ] 91 }, 92 "CreateChannelModerator":{ 93 "name":"CreateChannelModerator", 94 "http":{ 95 "method":"POST", 96 "requestUri":"/channels/{channelArn}/moderators", 97 "responseCode":201 98 }, 99 "input":{"shape":"CreateChannelModeratorRequest"}, 100 "output":{"shape":"CreateChannelModeratorResponse"}, 101 "errors":[ 102 {"shape":"BadRequestException"}, 103 {"shape":"ForbiddenException"}, 104 {"shape":"UnauthorizedClientException"}, 105 {"shape":"ConflictException"}, 106 {"shape":"ResourceLimitExceededException"}, 107 {"shape":"ThrottledClientException"}, 108 {"shape":"ServiceUnavailableException"}, 109 {"shape":"ServiceFailureException"} 110 ] 111 }, 112 "DeleteChannel":{ 113 "name":"DeleteChannel", 114 "http":{ 115 "method":"DELETE", 116 "requestUri":"/channels/{channelArn}", 117 "responseCode":204 118 }, 119 "input":{"shape":"DeleteChannelRequest"}, 120 "errors":[ 121 {"shape":"BadRequestException"}, 122 {"shape":"ForbiddenException"}, 123 {"shape":"UnauthorizedClientException"}, 124 {"shape":"ThrottledClientException"}, 125 {"shape":"ServiceUnavailableException"}, 126 {"shape":"ServiceFailureException"} 127 ] 128 }, 129 "DeleteChannelBan":{ 130 "name":"DeleteChannelBan", 131 "http":{ 132 "method":"DELETE", 133 "requestUri":"/channels/{channelArn}/bans/{memberArn}", 134 "responseCode":204 135 }, 136 "input":{"shape":"DeleteChannelBanRequest"}, 137 "errors":[ 138 {"shape":"BadRequestException"}, 139 {"shape":"ForbiddenException"}, 140 {"shape":"UnauthorizedClientException"}, 141 {"shape":"ThrottledClientException"}, 142 {"shape":"ServiceUnavailableException"}, 143 {"shape":"ServiceFailureException"} 144 ] 145 }, 146 "DeleteChannelMembership":{ 147 "name":"DeleteChannelMembership", 148 "http":{ 149 "method":"DELETE", 150 "requestUri":"/channels/{channelArn}/memberships/{memberArn}", 151 "responseCode":204 152 }, 153 "input":{"shape":"DeleteChannelMembershipRequest"}, 154 "errors":[ 155 {"shape":"BadRequestException"}, 156 {"shape":"ForbiddenException"}, 157 {"shape":"UnauthorizedClientException"}, 158 {"shape":"ConflictException"}, 159 {"shape":"ThrottledClientException"}, 160 {"shape":"ServiceUnavailableException"}, 161 {"shape":"ServiceFailureException"} 162 ] 163 }, 164 "DeleteChannelMessage":{ 165 "name":"DeleteChannelMessage", 166 "http":{ 167 "method":"DELETE", 168 "requestUri":"/channels/{channelArn}/messages/{messageId}", 169 "responseCode":204 170 }, 171 "input":{"shape":"DeleteChannelMessageRequest"}, 172 "errors":[ 173 {"shape":"BadRequestException"}, 174 {"shape":"ForbiddenException"}, 175 {"shape":"UnauthorizedClientException"}, 176 {"shape":"ThrottledClientException"}, 177 {"shape":"ServiceUnavailableException"}, 178 {"shape":"ServiceFailureException"} 179 ] 180 }, 181 "DeleteChannelModerator":{ 182 "name":"DeleteChannelModerator", 183 "http":{ 184 "method":"DELETE", 185 "requestUri":"/channels/{channelArn}/moderators/{channelModeratorArn}", 186 "responseCode":204 187 }, 188 "input":{"shape":"DeleteChannelModeratorRequest"}, 189 "errors":[ 190 {"shape":"BadRequestException"}, 191 {"shape":"ForbiddenException"}, 192 {"shape":"UnauthorizedClientException"}, 193 {"shape":"ThrottledClientException"}, 194 {"shape":"ServiceUnavailableException"}, 195 {"shape":"ServiceFailureException"} 196 ] 197 }, 198 "DescribeChannel":{ 199 "name":"DescribeChannel", 200 "http":{ 201 "method":"GET", 202 "requestUri":"/channels/{channelArn}", 203 "responseCode":200 204 }, 205 "input":{"shape":"DescribeChannelRequest"}, 206 "output":{"shape":"DescribeChannelResponse"}, 207 "errors":[ 208 {"shape":"BadRequestException"}, 209 {"shape":"ForbiddenException"}, 210 {"shape":"UnauthorizedClientException"}, 211 {"shape":"ThrottledClientException"}, 212 {"shape":"ServiceUnavailableException"}, 213 {"shape":"ServiceFailureException"} 214 ] 215 }, 216 "DescribeChannelBan":{ 217 "name":"DescribeChannelBan", 218 "http":{ 219 "method":"GET", 220 "requestUri":"/channels/{channelArn}/bans/{memberArn}", 221 "responseCode":200 222 }, 223 "input":{"shape":"DescribeChannelBanRequest"}, 224 "output":{"shape":"DescribeChannelBanResponse"}, 225 "errors":[ 226 {"shape":"BadRequestException"}, 227 {"shape":"ForbiddenException"}, 228 {"shape":"NotFoundException"}, 229 {"shape":"UnauthorizedClientException"}, 230 {"shape":"ThrottledClientException"}, 231 {"shape":"ServiceUnavailableException"}, 232 {"shape":"ServiceFailureException"} 233 ] 234 }, 235 "DescribeChannelMembership":{ 236 "name":"DescribeChannelMembership", 237 "http":{ 238 "method":"GET", 239 "requestUri":"/channels/{channelArn}/memberships/{memberArn}", 240 "responseCode":200 241 }, 242 "input":{"shape":"DescribeChannelMembershipRequest"}, 243 "output":{"shape":"DescribeChannelMembershipResponse"}, 244 "errors":[ 245 {"shape":"BadRequestException"}, 246 {"shape":"ForbiddenException"}, 247 {"shape":"NotFoundException"}, 248 {"shape":"UnauthorizedClientException"}, 249 {"shape":"ThrottledClientException"}, 250 {"shape":"ServiceUnavailableException"}, 251 {"shape":"ServiceFailureException"} 252 ] 253 }, 254 "DescribeChannelMembershipForAppInstanceUser":{ 255 "name":"DescribeChannelMembershipForAppInstanceUser", 256 "http":{ 257 "method":"GET", 258 "requestUri":"/channels/{channelArn}?scope=app-instance-user-membership", 259 "responseCode":200 260 }, 261 "input":{"shape":"DescribeChannelMembershipForAppInstanceUserRequest"}, 262 "output":{"shape":"DescribeChannelMembershipForAppInstanceUserResponse"}, 263 "errors":[ 264 {"shape":"BadRequestException"}, 265 {"shape":"ForbiddenException"}, 266 {"shape":"UnauthorizedClientException"}, 267 {"shape":"ThrottledClientException"}, 268 {"shape":"ServiceUnavailableException"}, 269 {"shape":"ServiceFailureException"} 270 ] 271 }, 272 "DescribeChannelModeratedByAppInstanceUser":{ 273 "name":"DescribeChannelModeratedByAppInstanceUser", 274 "http":{ 275 "method":"GET", 276 "requestUri":"/channels/{channelArn}?scope=app-instance-user-moderated-channel", 277 "responseCode":200 278 }, 279 "input":{"shape":"DescribeChannelModeratedByAppInstanceUserRequest"}, 280 "output":{"shape":"DescribeChannelModeratedByAppInstanceUserResponse"}, 281 "errors":[ 282 {"shape":"BadRequestException"}, 283 {"shape":"ForbiddenException"}, 284 {"shape":"UnauthorizedClientException"}, 285 {"shape":"ThrottledClientException"}, 286 {"shape":"ServiceUnavailableException"}, 287 {"shape":"ServiceFailureException"} 288 ] 289 }, 290 "DescribeChannelModerator":{ 291 "name":"DescribeChannelModerator", 292 "http":{ 293 "method":"GET", 294 "requestUri":"/channels/{channelArn}/moderators/{channelModeratorArn}", 295 "responseCode":200 296 }, 297 "input":{"shape":"DescribeChannelModeratorRequest"}, 298 "output":{"shape":"DescribeChannelModeratorResponse"}, 299 "errors":[ 300 {"shape":"BadRequestException"}, 301 {"shape":"ForbiddenException"}, 302 {"shape":"NotFoundException"}, 303 {"shape":"UnauthorizedClientException"}, 304 {"shape":"ThrottledClientException"}, 305 {"shape":"ServiceUnavailableException"}, 306 {"shape":"ServiceFailureException"} 307 ] 308 }, 309 "GetChannelMessage":{ 310 "name":"GetChannelMessage", 311 "http":{ 312 "method":"GET", 313 "requestUri":"/channels/{channelArn}/messages/{messageId}", 314 "responseCode":200 315 }, 316 "input":{"shape":"GetChannelMessageRequest"}, 317 "output":{"shape":"GetChannelMessageResponse"}, 318 "errors":[ 319 {"shape":"BadRequestException"}, 320 {"shape":"ForbiddenException"}, 321 {"shape":"NotFoundException"}, 322 {"shape":"UnauthorizedClientException"}, 323 {"shape":"ThrottledClientException"}, 324 {"shape":"ServiceUnavailableException"}, 325 {"shape":"ServiceFailureException"} 326 ] 327 }, 328 "GetMessagingSessionEndpoint":{ 329 "name":"GetMessagingSessionEndpoint", 330 "http":{ 331 "method":"GET", 332 "requestUri":"/endpoints/messaging-session", 333 "responseCode":200 334 }, 335 "input":{"shape":"GetMessagingSessionEndpointRequest"}, 336 "output":{"shape":"GetMessagingSessionEndpointResponse"}, 337 "errors":[ 338 {"shape":"UnauthorizedClientException"}, 339 {"shape":"ForbiddenException"}, 340 {"shape":"ThrottledClientException"}, 341 {"shape":"ServiceUnavailableException"}, 342 {"shape":"ServiceFailureException"} 343 ] 344 }, 345 "ListChannelBans":{ 346 "name":"ListChannelBans", 347 "http":{ 348 "method":"GET", 349 "requestUri":"/channels/{channelArn}/bans", 350 "responseCode":200 351 }, 352 "input":{"shape":"ListChannelBansRequest"}, 353 "output":{"shape":"ListChannelBansResponse"}, 354 "errors":[ 355 {"shape":"BadRequestException"}, 356 {"shape":"ForbiddenException"}, 357 {"shape":"UnauthorizedClientException"}, 358 {"shape":"ThrottledClientException"}, 359 {"shape":"ServiceUnavailableException"}, 360 {"shape":"ServiceFailureException"} 361 ] 362 }, 363 "ListChannelMemberships":{ 364 "name":"ListChannelMemberships", 365 "http":{ 366 "method":"GET", 367 "requestUri":"/channels/{channelArn}/memberships", 368 "responseCode":200 369 }, 370 "input":{"shape":"ListChannelMembershipsRequest"}, 371 "output":{"shape":"ListChannelMembershipsResponse"}, 372 "errors":[ 373 {"shape":"BadRequestException"}, 374 {"shape":"ForbiddenException"}, 375 {"shape":"UnauthorizedClientException"}, 376 {"shape":"ThrottledClientException"}, 377 {"shape":"ServiceUnavailableException"}, 378 {"shape":"ServiceFailureException"} 379 ] 380 }, 381 "ListChannelMembershipsForAppInstanceUser":{ 382 "name":"ListChannelMembershipsForAppInstanceUser", 383 "http":{ 384 "method":"GET", 385 "requestUri":"/channels?scope=app-instance-user-memberships", 386 "responseCode":200 387 }, 388 "input":{"shape":"ListChannelMembershipsForAppInstanceUserRequest"}, 389 "output":{"shape":"ListChannelMembershipsForAppInstanceUserResponse"}, 390 "errors":[ 391 {"shape":"BadRequestException"}, 392 {"shape":"ForbiddenException"}, 393 {"shape":"UnauthorizedClientException"}, 394 {"shape":"ThrottledClientException"}, 395 {"shape":"ServiceUnavailableException"}, 396 {"shape":"ServiceFailureException"} 397 ] 398 }, 399 "ListChannelMessages":{ 400 "name":"ListChannelMessages", 401 "http":{ 402 "method":"GET", 403 "requestUri":"/channels/{channelArn}/messages", 404 "responseCode":200 405 }, 406 "input":{"shape":"ListChannelMessagesRequest"}, 407 "output":{"shape":"ListChannelMessagesResponse"}, 408 "errors":[ 409 {"shape":"BadRequestException"}, 410 {"shape":"ForbiddenException"}, 411 {"shape":"UnauthorizedClientException"}, 412 {"shape":"ThrottledClientException"}, 413 {"shape":"ServiceUnavailableException"}, 414 {"shape":"ServiceFailureException"} 415 ] 416 }, 417 "ListChannelModerators":{ 418 "name":"ListChannelModerators", 419 "http":{ 420 "method":"GET", 421 "requestUri":"/channels/{channelArn}/moderators", 422 "responseCode":200 423 }, 424 "input":{"shape":"ListChannelModeratorsRequest"}, 425 "output":{"shape":"ListChannelModeratorsResponse"}, 426 "errors":[ 427 {"shape":"BadRequestException"}, 428 {"shape":"ForbiddenException"}, 429 {"shape":"UnauthorizedClientException"}, 430 {"shape":"ThrottledClientException"}, 431 {"shape":"ServiceUnavailableException"}, 432 {"shape":"ServiceFailureException"} 433 ] 434 }, 435 "ListChannels":{ 436 "name":"ListChannels", 437 "http":{ 438 "method":"GET", 439 "requestUri":"/channels", 440 "responseCode":200 441 }, 442 "input":{"shape":"ListChannelsRequest"}, 443 "output":{"shape":"ListChannelsResponse"}, 444 "errors":[ 445 {"shape":"BadRequestException"}, 446 {"shape":"ForbiddenException"}, 447 {"shape":"UnauthorizedClientException"}, 448 {"shape":"ThrottledClientException"}, 449 {"shape":"ServiceUnavailableException"}, 450 {"shape":"ServiceFailureException"} 451 ] 452 }, 453 "ListChannelsModeratedByAppInstanceUser":{ 454 "name":"ListChannelsModeratedByAppInstanceUser", 455 "http":{ 456 "method":"GET", 457 "requestUri":"/channels?scope=app-instance-user-moderated-channels", 458 "responseCode":200 459 }, 460 "input":{"shape":"ListChannelsModeratedByAppInstanceUserRequest"}, 461 "output":{"shape":"ListChannelsModeratedByAppInstanceUserResponse"}, 462 "errors":[ 463 {"shape":"BadRequestException"}, 464 {"shape":"ForbiddenException"}, 465 {"shape":"UnauthorizedClientException"}, 466 {"shape":"ThrottledClientException"}, 467 {"shape":"ServiceUnavailableException"}, 468 {"shape":"ServiceFailureException"} 469 ] 470 }, 471 "RedactChannelMessage":{ 472 "name":"RedactChannelMessage", 473 "http":{ 474 "method":"POST", 475 "requestUri":"/channels/{channelArn}/messages/{messageId}?operation=redact", 476 "responseCode":200 477 }, 478 "input":{"shape":"RedactChannelMessageRequest"}, 479 "output":{"shape":"RedactChannelMessageResponse"}, 480 "errors":[ 481 {"shape":"BadRequestException"}, 482 {"shape":"ForbiddenException"}, 483 {"shape":"UnauthorizedClientException"}, 484 {"shape":"ThrottledClientException"}, 485 {"shape":"ServiceUnavailableException"}, 486 {"shape":"ServiceFailureException"} 487 ] 488 }, 489 "SendChannelMessage":{ 490 "name":"SendChannelMessage", 491 "http":{ 492 "method":"POST", 493 "requestUri":"/channels/{channelArn}/messages", 494 "responseCode":201 495 }, 496 "input":{"shape":"SendChannelMessageRequest"}, 497 "output":{"shape":"SendChannelMessageResponse"}, 498 "errors":[ 499 {"shape":"BadRequestException"}, 500 {"shape":"ConflictException"}, 501 {"shape":"ForbiddenException"}, 502 {"shape":"UnauthorizedClientException"}, 503 {"shape":"ThrottledClientException"}, 504 {"shape":"ServiceUnavailableException"}, 505 {"shape":"ServiceFailureException"} 506 ] 507 }, 508 "UpdateChannel":{ 509 "name":"UpdateChannel", 510 "http":{ 511 "method":"PUT", 512 "requestUri":"/channels/{channelArn}", 513 "responseCode":200 514 }, 515 "input":{"shape":"UpdateChannelRequest"}, 516 "output":{"shape":"UpdateChannelResponse"}, 517 "errors":[ 518 {"shape":"BadRequestException"}, 519 {"shape":"ForbiddenException"}, 520 {"shape":"ConflictException"}, 521 {"shape":"UnauthorizedClientException"}, 522 {"shape":"ThrottledClientException"}, 523 {"shape":"ServiceUnavailableException"}, 524 {"shape":"ServiceFailureException"} 525 ] 526 }, 527 "UpdateChannelMessage":{ 528 "name":"UpdateChannelMessage", 529 "http":{ 530 "method":"PUT", 531 "requestUri":"/channels/{channelArn}/messages/{messageId}", 532 "responseCode":200 533 }, 534 "input":{"shape":"UpdateChannelMessageRequest"}, 535 "output":{"shape":"UpdateChannelMessageResponse"}, 536 "errors":[ 537 {"shape":"BadRequestException"}, 538 {"shape":"ConflictException"}, 539 {"shape":"ForbiddenException"}, 540 {"shape":"UnauthorizedClientException"}, 541 {"shape":"ThrottledClientException"}, 542 {"shape":"ServiceUnavailableException"}, 543 {"shape":"ServiceFailureException"} 544 ] 545 }, 546 "UpdateChannelReadMarker":{ 547 "name":"UpdateChannelReadMarker", 548 "http":{ 549 "method":"PUT", 550 "requestUri":"/channels/{channelArn}/readMarker", 551 "responseCode":200 552 }, 553 "input":{"shape":"UpdateChannelReadMarkerRequest"}, 554 "output":{"shape":"UpdateChannelReadMarkerResponse"}, 555 "errors":[ 556 {"shape":"BadRequestException"}, 557 {"shape":"ForbiddenException"}, 558 {"shape":"ConflictException"}, 559 {"shape":"UnauthorizedClientException"}, 560 {"shape":"ThrottledClientException"}, 561 {"shape":"ServiceUnavailableException"}, 562 {"shape":"ServiceFailureException"} 563 ] 564 } 565 }, 566 "shapes":{ 567 "AppInstanceUserMembershipSummary":{ 568 "type":"structure", 569 "members":{ 570 "Type":{"shape":"ChannelMembershipType"}, 571 "ReadMarkerTimestamp":{"shape":"Timestamp"} 572 } 573 }, 574 "BadRequestException":{ 575 "type":"structure", 576 "members":{ 577 "Code":{"shape":"ErrorCode"}, 578 "Message":{"shape":"String"} 579 }, 580 "error":{"httpStatusCode":400}, 581 "exception":true 582 }, 583 "BatchChannelMemberships":{ 584 "type":"structure", 585 "members":{ 586 "InvitedBy":{"shape":"Identity"}, 587 "Type":{"shape":"ChannelMembershipType"}, 588 "Members":{"shape":"Members"}, 589 "ChannelArn":{"shape":"ChimeArn"} 590 } 591 }, 592 "BatchCreateChannelMembershipError":{ 593 "type":"structure", 594 "members":{ 595 "MemberArn":{"shape":"ChimeArn"}, 596 "ErrorCode":{"shape":"ErrorCode"}, 597 "ErrorMessage":{"shape":"String"} 598 } 599 }, 600 "BatchCreateChannelMembershipErrors":{ 601 "type":"list", 602 "member":{"shape":"BatchCreateChannelMembershipError"} 603 }, 604 "BatchCreateChannelMembershipRequest":{ 605 "type":"structure", 606 "required":[ 607 "ChannelArn", 608 "MemberArns", 609 "ChimeBearer" 610 ], 611 "members":{ 612 "ChannelArn":{ 613 "shape":"ChimeArn", 614 "location":"uri", 615 "locationName":"channelArn" 616 }, 617 "Type":{"shape":"ChannelMembershipType"}, 618 "MemberArns":{"shape":"MemberArns"}, 619 "ChimeBearer":{ 620 "shape":"ChimeArn", 621 "location":"header", 622 "locationName":"x-amz-chime-bearer" 623 } 624 } 625 }, 626 "BatchCreateChannelMembershipResponse":{ 627 "type":"structure", 628 "members":{ 629 "BatchChannelMemberships":{"shape":"BatchChannelMemberships"}, 630 "Errors":{"shape":"BatchCreateChannelMembershipErrors"} 631 } 632 }, 633 "Channel":{ 634 "type":"structure", 635 "members":{ 636 "Name":{"shape":"NonEmptyResourceName"}, 637 "ChannelArn":{"shape":"ChimeArn"}, 638 "Mode":{"shape":"ChannelMode"}, 639 "Privacy":{"shape":"ChannelPrivacy"}, 640 "Metadata":{"shape":"Metadata"}, 641 "CreatedBy":{"shape":"Identity"}, 642 "CreatedTimestamp":{"shape":"Timestamp"}, 643 "LastMessageTimestamp":{"shape":"Timestamp"}, 644 "LastUpdatedTimestamp":{"shape":"Timestamp"} 645 } 646 }, 647 "ChannelBan":{ 648 "type":"structure", 649 "members":{ 650 "Member":{"shape":"Identity"}, 651 "ChannelArn":{"shape":"ChimeArn"}, 652 "CreatedTimestamp":{"shape":"Timestamp"}, 653 "CreatedBy":{"shape":"Identity"} 654 } 655 }, 656 "ChannelBanSummary":{ 657 "type":"structure", 658 "members":{ 659 "Member":{"shape":"Identity"} 660 } 661 }, 662 "ChannelBanSummaryList":{ 663 "type":"list", 664 "member":{"shape":"ChannelBanSummary"} 665 }, 666 "ChannelMembership":{ 667 "type":"structure", 668 "members":{ 669 "InvitedBy":{"shape":"Identity"}, 670 "Type":{"shape":"ChannelMembershipType"}, 671 "Member":{"shape":"Identity"}, 672 "ChannelArn":{"shape":"ChimeArn"}, 673 "CreatedTimestamp":{"shape":"Timestamp"}, 674 "LastUpdatedTimestamp":{"shape":"Timestamp"} 675 } 676 }, 677 "ChannelMembershipForAppInstanceUserSummary":{ 678 "type":"structure", 679 "members":{ 680 "ChannelSummary":{"shape":"ChannelSummary"}, 681 "AppInstanceUserMembershipSummary":{"shape":"AppInstanceUserMembershipSummary"} 682 } 683 }, 684 "ChannelMembershipForAppInstanceUserSummaryList":{ 685 "type":"list", 686 "member":{"shape":"ChannelMembershipForAppInstanceUserSummary"} 687 }, 688 "ChannelMembershipSummary":{ 689 "type":"structure", 690 "members":{ 691 "Member":{"shape":"Identity"} 692 } 693 }, 694 "ChannelMembershipSummaryList":{ 695 "type":"list", 696 "member":{"shape":"ChannelMembershipSummary"} 697 }, 698 "ChannelMembershipType":{ 699 "type":"string", 700 "enum":[ 701 "DEFAULT", 702 "HIDDEN" 703 ] 704 }, 705 "ChannelMessage":{ 706 "type":"structure", 707 "members":{ 708 "ChannelArn":{"shape":"ChimeArn"}, 709 "MessageId":{"shape":"MessageId"}, 710 "Content":{"shape":"Content"}, 711 "Metadata":{"shape":"Metadata"}, 712 "Type":{"shape":"ChannelMessageType"}, 713 "CreatedTimestamp":{"shape":"Timestamp"}, 714 "LastEditedTimestamp":{"shape":"Timestamp"}, 715 "LastUpdatedTimestamp":{"shape":"Timestamp"}, 716 "Sender":{"shape":"Identity"}, 717 "Redacted":{"shape":"NonNullableBoolean"}, 718 "Persistence":{"shape":"ChannelMessagePersistenceType"} 719 } 720 }, 721 "ChannelMessagePersistenceType":{ 722 "type":"string", 723 "enum":[ 724 "PERSISTENT", 725 "NON_PERSISTENT" 726 ] 727 }, 728 "ChannelMessageSummary":{ 729 "type":"structure", 730 "members":{ 731 "MessageId":{"shape":"MessageId"}, 732 "Content":{"shape":"Content"}, 733 "Metadata":{"shape":"Metadata"}, 734 "Type":{"shape":"ChannelMessageType"}, 735 "CreatedTimestamp":{"shape":"Timestamp"}, 736 "LastUpdatedTimestamp":{"shape":"Timestamp"}, 737 "LastEditedTimestamp":{"shape":"Timestamp"}, 738 "Sender":{"shape":"Identity"}, 739 "Redacted":{"shape":"NonNullableBoolean"} 740 } 741 }, 742 "ChannelMessageSummaryList":{ 743 "type":"list", 744 "member":{"shape":"ChannelMessageSummary"} 745 }, 746 "ChannelMessageType":{ 747 "type":"string", 748 "enum":[ 749 "STANDARD", 750 "CONTROL" 751 ] 752 }, 753 "ChannelMode":{ 754 "type":"string", 755 "enum":[ 756 "UNRESTRICTED", 757 "RESTRICTED" 758 ] 759 }, 760 "ChannelModeratedByAppInstanceUserSummary":{ 761 "type":"structure", 762 "members":{ 763 "ChannelSummary":{"shape":"ChannelSummary"} 764 } 765 }, 766 "ChannelModeratedByAppInstanceUserSummaryList":{ 767 "type":"list", 768 "member":{"shape":"ChannelModeratedByAppInstanceUserSummary"} 769 }, 770 "ChannelModerator":{ 771 "type":"structure", 772 "members":{ 773 "Moderator":{"shape":"Identity"}, 774 "ChannelArn":{"shape":"ChimeArn"}, 775 "CreatedTimestamp":{"shape":"Timestamp"}, 776 "CreatedBy":{"shape":"Identity"} 777 } 778 }, 779 "ChannelModeratorSummary":{ 780 "type":"structure", 781 "members":{ 782 "Moderator":{"shape":"Identity"} 783 } 784 }, 785 "ChannelModeratorSummaryList":{ 786 "type":"list", 787 "member":{"shape":"ChannelModeratorSummary"} 788 }, 789 "ChannelPrivacy":{ 790 "type":"string", 791 "enum":[ 792 "PUBLIC", 793 "PRIVATE" 794 ] 795 }, 796 "ChannelSummary":{ 797 "type":"structure", 798 "members":{ 799 "Name":{"shape":"NonEmptyResourceName"}, 800 "ChannelArn":{"shape":"ChimeArn"}, 801 "Mode":{"shape":"ChannelMode"}, 802 "Privacy":{"shape":"ChannelPrivacy"}, 803 "Metadata":{"shape":"Metadata"}, 804 "LastMessageTimestamp":{"shape":"Timestamp"} 805 } 806 }, 807 "ChannelSummaryList":{ 808 "type":"list", 809 "member":{"shape":"ChannelSummary"} 810 }, 811 "ChimeArn":{ 812 "type":"string", 813 "max":1600, 814 "min":5, 815 "pattern":"arn:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[^/].{0,1023}" 816 }, 817 "ClientRequestToken":{ 818 "type":"string", 819 "max":64, 820 "min":2, 821 "pattern":"[-_a-zA-Z0-9]*", 822 "sensitive":true 823 }, 824 "ConflictException":{ 825 "type":"structure", 826 "members":{ 827 "Code":{"shape":"ErrorCode"}, 828 "Message":{"shape":"String"} 829 }, 830 "error":{"httpStatusCode":409}, 831 "exception":true 832 }, 833 "Content":{ 834 "type":"string", 835 "max":4096, 836 "min":0, 837 "pattern":"[\\s\\S]*", 838 "sensitive":true 839 }, 840 "CreateChannelBanRequest":{ 841 "type":"structure", 842 "required":[ 843 "ChannelArn", 844 "MemberArn", 845 "ChimeBearer" 846 ], 847 "members":{ 848 "ChannelArn":{ 849 "shape":"ChimeArn", 850 "location":"uri", 851 "locationName":"channelArn" 852 }, 853 "MemberArn":{"shape":"ChimeArn"}, 854 "ChimeBearer":{ 855 "shape":"ChimeArn", 856 "location":"header", 857 "locationName":"x-amz-chime-bearer" 858 } 859 } 860 }, 861 "CreateChannelBanResponse":{ 862 "type":"structure", 863 "members":{ 864 "ChannelArn":{"shape":"ChimeArn"}, 865 "Member":{"shape":"Identity"} 866 } 867 }, 868 "CreateChannelMembershipRequest":{ 869 "type":"structure", 870 "required":[ 871 "ChannelArn", 872 "MemberArn", 873 "Type", 874 "ChimeBearer" 875 ], 876 "members":{ 877 "ChannelArn":{ 878 "shape":"ChimeArn", 879 "location":"uri", 880 "locationName":"channelArn" 881 }, 882 "MemberArn":{"shape":"ChimeArn"}, 883 "Type":{"shape":"ChannelMembershipType"}, 884 "ChimeBearer":{ 885 "shape":"ChimeArn", 886 "location":"header", 887 "locationName":"x-amz-chime-bearer" 888 } 889 } 890 }, 891 "CreateChannelMembershipResponse":{ 892 "type":"structure", 893 "members":{ 894 "ChannelArn":{"shape":"ChimeArn"}, 895 "Member":{"shape":"Identity"} 896 } 897 }, 898 "CreateChannelModeratorRequest":{ 899 "type":"structure", 900 "required":[ 901 "ChannelArn", 902 "ChannelModeratorArn", 903 "ChimeBearer" 904 ], 905 "members":{ 906 "ChannelArn":{ 907 "shape":"ChimeArn", 908 "location":"uri", 909 "locationName":"channelArn" 910 }, 911 "ChannelModeratorArn":{"shape":"ChimeArn"}, 912 "ChimeBearer":{ 913 "shape":"ChimeArn", 914 "location":"header", 915 "locationName":"x-amz-chime-bearer" 916 } 917 } 918 }, 919 "CreateChannelModeratorResponse":{ 920 "type":"structure", 921 "members":{ 922 "ChannelArn":{"shape":"ChimeArn"}, 923 "ChannelModerator":{"shape":"Identity"} 924 } 925 }, 926 "CreateChannelRequest":{ 927 "type":"structure", 928 "required":[ 929 "AppInstanceArn", 930 "Name", 931 "ClientRequestToken", 932 "ChimeBearer" 933 ], 934 "members":{ 935 "AppInstanceArn":{"shape":"ChimeArn"}, 936 "Name":{"shape":"NonEmptyResourceName"}, 937 "Mode":{"shape":"ChannelMode"}, 938 "Privacy":{"shape":"ChannelPrivacy"}, 939 "Metadata":{"shape":"Metadata"}, 940 "ClientRequestToken":{ 941 "shape":"ClientRequestToken", 942 "idempotencyToken":true 943 }, 944 "Tags":{"shape":"TagList"}, 945 "ChimeBearer":{ 946 "shape":"ChimeArn", 947 "location":"header", 948 "locationName":"x-amz-chime-bearer" 949 } 950 } 951 }, 952 "CreateChannelResponse":{ 953 "type":"structure", 954 "members":{ 955 "ChannelArn":{"shape":"ChimeArn"} 956 } 957 }, 958 "DeleteChannelBanRequest":{ 959 "type":"structure", 960 "required":[ 961 "ChannelArn", 962 "MemberArn", 963 "ChimeBearer" 964 ], 965 "members":{ 966 "ChannelArn":{ 967 "shape":"ChimeArn", 968 "location":"uri", 969 "locationName":"channelArn" 970 }, 971 "MemberArn":{ 972 "shape":"ChimeArn", 973 "location":"uri", 974 "locationName":"memberArn" 975 }, 976 "ChimeBearer":{ 977 "shape":"ChimeArn", 978 "location":"header", 979 "locationName":"x-amz-chime-bearer" 980 } 981 } 982 }, 983 "DeleteChannelMembershipRequest":{ 984 "type":"structure", 985 "required":[ 986 "ChannelArn", 987 "MemberArn", 988 "ChimeBearer" 989 ], 990 "members":{ 991 "ChannelArn":{ 992 "shape":"ChimeArn", 993 "location":"uri", 994 "locationName":"channelArn" 995 }, 996 "MemberArn":{ 997 "shape":"ChimeArn", 998 "location":"uri", 999 "locationName":"memberArn" 1000 }, 1001 "ChimeBearer":{ 1002 "shape":"ChimeArn", 1003 "location":"header", 1004 "locationName":"x-amz-chime-bearer" 1005 } 1006 } 1007 }, 1008 "DeleteChannelMessageRequest":{ 1009 "type":"structure", 1010 "required":[ 1011 "ChannelArn", 1012 "MessageId", 1013 "ChimeBearer" 1014 ], 1015 "members":{ 1016 "ChannelArn":{ 1017 "shape":"ChimeArn", 1018 "location":"uri", 1019 "locationName":"channelArn" 1020 }, 1021 "MessageId":{ 1022 "shape":"MessageId", 1023 "location":"uri", 1024 "locationName":"messageId" 1025 }, 1026 "ChimeBearer":{ 1027 "shape":"ChimeArn", 1028 "location":"header", 1029 "locationName":"x-amz-chime-bearer" 1030 } 1031 } 1032 }, 1033 "DeleteChannelModeratorRequest":{ 1034 "type":"structure", 1035 "required":[ 1036 "ChannelArn", 1037 "ChannelModeratorArn", 1038 "ChimeBearer" 1039 ], 1040 "members":{ 1041 "ChannelArn":{ 1042 "shape":"ChimeArn", 1043 "location":"uri", 1044 "locationName":"channelArn" 1045 }, 1046 "ChannelModeratorArn":{ 1047 "shape":"ChimeArn", 1048 "location":"uri", 1049 "locationName":"channelModeratorArn" 1050 }, 1051 "ChimeBearer":{ 1052 "shape":"ChimeArn", 1053 "location":"header", 1054 "locationName":"x-amz-chime-bearer" 1055 } 1056 } 1057 }, 1058 "DeleteChannelRequest":{ 1059 "type":"structure", 1060 "required":[ 1061 "ChannelArn", 1062 "ChimeBearer" 1063 ], 1064 "members":{ 1065 "ChannelArn":{ 1066 "shape":"ChimeArn", 1067 "location":"uri", 1068 "locationName":"channelArn" 1069 }, 1070 "ChimeBearer":{ 1071 "shape":"ChimeArn", 1072 "location":"header", 1073 "locationName":"x-amz-chime-bearer" 1074 } 1075 } 1076 }, 1077 "DescribeChannelBanRequest":{ 1078 "type":"structure", 1079 "required":[ 1080 "ChannelArn", 1081 "MemberArn", 1082 "ChimeBearer" 1083 ], 1084 "members":{ 1085 "ChannelArn":{ 1086 "shape":"ChimeArn", 1087 "location":"uri", 1088 "locationName":"channelArn" 1089 }, 1090 "MemberArn":{ 1091 "shape":"ChimeArn", 1092 "location":"uri", 1093 "locationName":"memberArn" 1094 }, 1095 "ChimeBearer":{ 1096 "shape":"ChimeArn", 1097 "location":"header", 1098 "locationName":"x-amz-chime-bearer" 1099 } 1100 } 1101 }, 1102 "DescribeChannelBanResponse":{ 1103 "type":"structure", 1104 "members":{ 1105 "ChannelBan":{"shape":"ChannelBan"} 1106 } 1107 }, 1108 "DescribeChannelMembershipForAppInstanceUserRequest":{ 1109 "type":"structure", 1110 "required":[ 1111 "ChannelArn", 1112 "AppInstanceUserArn", 1113 "ChimeBearer" 1114 ], 1115 "members":{ 1116 "ChannelArn":{ 1117 "shape":"ChimeArn", 1118 "location":"uri", 1119 "locationName":"channelArn" 1120 }, 1121 "AppInstanceUserArn":{ 1122 "shape":"ChimeArn", 1123 "location":"querystring", 1124 "locationName":"app-instance-user-arn" 1125 }, 1126 "ChimeBearer":{ 1127 "shape":"ChimeArn", 1128 "location":"header", 1129 "locationName":"x-amz-chime-bearer" 1130 } 1131 } 1132 }, 1133 "DescribeChannelMembershipForAppInstanceUserResponse":{ 1134 "type":"structure", 1135 "members":{ 1136 "ChannelMembership":{"shape":"ChannelMembershipForAppInstanceUserSummary"} 1137 } 1138 }, 1139 "DescribeChannelMembershipRequest":{ 1140 "type":"structure", 1141 "required":[ 1142 "ChannelArn", 1143 "MemberArn", 1144 "ChimeBearer" 1145 ], 1146 "members":{ 1147 "ChannelArn":{ 1148 "shape":"ChimeArn", 1149 "location":"uri", 1150 "locationName":"channelArn" 1151 }, 1152 "MemberArn":{ 1153 "shape":"ChimeArn", 1154 "location":"uri", 1155 "locationName":"memberArn" 1156 }, 1157 "ChimeBearer":{ 1158 "shape":"ChimeArn", 1159 "location":"header", 1160 "locationName":"x-amz-chime-bearer" 1161 } 1162 } 1163 }, 1164 "DescribeChannelMembershipResponse":{ 1165 "type":"structure", 1166 "members":{ 1167 "ChannelMembership":{"shape":"ChannelMembership"} 1168 } 1169 }, 1170 "DescribeChannelModeratedByAppInstanceUserRequest":{ 1171 "type":"structure", 1172 "required":[ 1173 "ChannelArn", 1174 "AppInstanceUserArn", 1175 "ChimeBearer" 1176 ], 1177 "members":{ 1178 "ChannelArn":{ 1179 "shape":"ChimeArn", 1180 "location":"uri", 1181 "locationName":"channelArn" 1182 }, 1183 "AppInstanceUserArn":{ 1184 "shape":"ChimeArn", 1185 "location":"querystring", 1186 "locationName":"app-instance-user-arn" 1187 }, 1188 "ChimeBearer":{ 1189 "shape":"ChimeArn", 1190 "location":"header", 1191 "locationName":"x-amz-chime-bearer" 1192 } 1193 } 1194 }, 1195 "DescribeChannelModeratedByAppInstanceUserResponse":{ 1196 "type":"structure", 1197 "members":{ 1198 "Channel":{"shape":"ChannelModeratedByAppInstanceUserSummary"} 1199 } 1200 }, 1201 "DescribeChannelModeratorRequest":{ 1202 "type":"structure", 1203 "required":[ 1204 "ChannelArn", 1205 "ChannelModeratorArn", 1206 "ChimeBearer" 1207 ], 1208 "members":{ 1209 "ChannelArn":{ 1210 "shape":"ChimeArn", 1211 "location":"uri", 1212 "locationName":"channelArn" 1213 }, 1214 "ChannelModeratorArn":{ 1215 "shape":"ChimeArn", 1216 "location":"uri", 1217 "locationName":"channelModeratorArn" 1218 }, 1219 "ChimeBearer":{ 1220 "shape":"ChimeArn", 1221 "location":"header", 1222 "locationName":"x-amz-chime-bearer" 1223 } 1224 } 1225 }, 1226 "DescribeChannelModeratorResponse":{ 1227 "type":"structure", 1228 "members":{ 1229 "ChannelModerator":{"shape":"ChannelModerator"} 1230 } 1231 }, 1232 "DescribeChannelRequest":{ 1233 "type":"structure", 1234 "required":[ 1235 "ChannelArn", 1236 "ChimeBearer" 1237 ], 1238 "members":{ 1239 "ChannelArn":{ 1240 "shape":"ChimeArn", 1241 "location":"uri", 1242 "locationName":"channelArn" 1243 }, 1244 "ChimeBearer":{ 1245 "shape":"ChimeArn", 1246 "location":"header", 1247 "locationName":"x-amz-chime-bearer" 1248 } 1249 } 1250 }, 1251 "DescribeChannelResponse":{ 1252 "type":"structure", 1253 "members":{ 1254 "Channel":{"shape":"Channel"} 1255 } 1256 }, 1257 "ErrorCode":{ 1258 "type":"string", 1259 "enum":[ 1260 "BadRequest", 1261 "Conflict", 1262 "Forbidden", 1263 "NotFound", 1264 "PreconditionFailed", 1265 "ResourceLimitExceeded", 1266 "ServiceFailure", 1267 "AccessDenied", 1268 "ServiceUnavailable", 1269 "Throttled", 1270 "Throttling", 1271 "Unauthorized", 1272 "Unprocessable", 1273 "VoiceConnectorGroupAssociationsExist", 1274 "PhoneNumberAssociationsExist" 1275 ] 1276 }, 1277 "ForbiddenException":{ 1278 "type":"structure", 1279 "members":{ 1280 "Code":{"shape":"ErrorCode"}, 1281 "Message":{"shape":"String"} 1282 }, 1283 "error":{"httpStatusCode":403}, 1284 "exception":true 1285 }, 1286 "GetChannelMessageRequest":{ 1287 "type":"structure", 1288 "required":[ 1289 "ChannelArn", 1290 "MessageId", 1291 "ChimeBearer" 1292 ], 1293 "members":{ 1294 "ChannelArn":{ 1295 "shape":"ChimeArn", 1296 "location":"uri", 1297 "locationName":"channelArn" 1298 }, 1299 "MessageId":{ 1300 "shape":"MessageId", 1301 "location":"uri", 1302 "locationName":"messageId" 1303 }, 1304 "ChimeBearer":{ 1305 "shape":"ChimeArn", 1306 "location":"header", 1307 "locationName":"x-amz-chime-bearer" 1308 } 1309 } 1310 }, 1311 "GetChannelMessageResponse":{ 1312 "type":"structure", 1313 "members":{ 1314 "ChannelMessage":{"shape":"ChannelMessage"} 1315 } 1316 }, 1317 "GetMessagingSessionEndpointRequest":{ 1318 "type":"structure", 1319 "members":{ 1320 } 1321 }, 1322 "GetMessagingSessionEndpointResponse":{ 1323 "type":"structure", 1324 "members":{ 1325 "Endpoint":{"shape":"MessagingSessionEndpoint"} 1326 } 1327 }, 1328 "Identity":{ 1329 "type":"structure", 1330 "members":{ 1331 "Arn":{"shape":"ChimeArn"}, 1332 "Name":{"shape":"ResourceName"} 1333 } 1334 }, 1335 "ListChannelBansRequest":{ 1336 "type":"structure", 1337 "required":[ 1338 "ChannelArn", 1339 "ChimeBearer" 1340 ], 1341 "members":{ 1342 "ChannelArn":{ 1343 "shape":"ChimeArn", 1344 "location":"uri", 1345 "locationName":"channelArn" 1346 }, 1347 "MaxResults":{ 1348 "shape":"MaxResults", 1349 "location":"querystring", 1350 "locationName":"max-results" 1351 }, 1352 "NextToken":{ 1353 "shape":"NextToken", 1354 "location":"querystring", 1355 "locationName":"next-token" 1356 }, 1357 "ChimeBearer":{ 1358 "shape":"ChimeArn", 1359 "location":"header", 1360 "locationName":"x-amz-chime-bearer" 1361 } 1362 } 1363 }, 1364 "ListChannelBansResponse":{ 1365 "type":"structure", 1366 "members":{ 1367 "ChannelArn":{"shape":"ChimeArn"}, 1368 "NextToken":{"shape":"NextToken"}, 1369 "ChannelBans":{"shape":"ChannelBanSummaryList"} 1370 } 1371 }, 1372 "ListChannelMembershipsForAppInstanceUserRequest":{ 1373 "type":"structure", 1374 "required":["ChimeBearer"], 1375 "members":{ 1376 "AppInstanceUserArn":{ 1377 "shape":"ChimeArn", 1378 "location":"querystring", 1379 "locationName":"app-instance-user-arn" 1380 }, 1381 "MaxResults":{ 1382 "shape":"MaxResults", 1383 "location":"querystring", 1384 "locationName":"max-results" 1385 }, 1386 "NextToken":{ 1387 "shape":"NextToken", 1388 "location":"querystring", 1389 "locationName":"next-token" 1390 }, 1391 "ChimeBearer":{ 1392 "shape":"ChimeArn", 1393 "location":"header", 1394 "locationName":"x-amz-chime-bearer" 1395 } 1396 } 1397 }, 1398 "ListChannelMembershipsForAppInstanceUserResponse":{ 1399 "type":"structure", 1400 "members":{ 1401 "ChannelMemberships":{"shape":"ChannelMembershipForAppInstanceUserSummaryList"}, 1402 "NextToken":{"shape":"NextToken"} 1403 } 1404 }, 1405 "ListChannelMembershipsRequest":{ 1406 "type":"structure", 1407 "required":[ 1408 "ChannelArn", 1409 "ChimeBearer" 1410 ], 1411 "members":{ 1412 "ChannelArn":{ 1413 "shape":"ChimeArn", 1414 "location":"uri", 1415 "locationName":"channelArn" 1416 }, 1417 "Type":{ 1418 "shape":"ChannelMembershipType", 1419 "location":"querystring", 1420 "locationName":"type" 1421 }, 1422 "MaxResults":{ 1423 "shape":"MaxResults", 1424 "location":"querystring", 1425 "locationName":"max-results" 1426 }, 1427 "NextToken":{ 1428 "shape":"NextToken", 1429 "location":"querystring", 1430 "locationName":"next-token" 1431 }, 1432 "ChimeBearer":{ 1433 "shape":"ChimeArn", 1434 "location":"header", 1435 "locationName":"x-amz-chime-bearer" 1436 } 1437 } 1438 }, 1439 "ListChannelMembershipsResponse":{ 1440 "type":"structure", 1441 "members":{ 1442 "ChannelArn":{"shape":"ChimeArn"}, 1443 "ChannelMemberships":{"shape":"ChannelMembershipSummaryList"}, 1444 "NextToken":{"shape":"NextToken"} 1445 } 1446 }, 1447 "ListChannelMessagesRequest":{ 1448 "type":"structure", 1449 "required":[ 1450 "ChannelArn", 1451 "ChimeBearer" 1452 ], 1453 "members":{ 1454 "ChannelArn":{ 1455 "shape":"ChimeArn", 1456 "location":"uri", 1457 "locationName":"channelArn" 1458 }, 1459 "SortOrder":{ 1460 "shape":"SortOrder", 1461 "location":"querystring", 1462 "locationName":"sort-order" 1463 }, 1464 "NotBefore":{ 1465 "shape":"Timestamp", 1466 "location":"querystring", 1467 "locationName":"not-before" 1468 }, 1469 "NotAfter":{ 1470 "shape":"Timestamp", 1471 "location":"querystring", 1472 "locationName":"not-after" 1473 }, 1474 "MaxResults":{ 1475 "shape":"MaxResults", 1476 "location":"querystring", 1477 "locationName":"max-results" 1478 }, 1479 "NextToken":{ 1480 "shape":"NextToken", 1481 "location":"querystring", 1482 "locationName":"next-token" 1483 }, 1484 "ChimeBearer":{ 1485 "shape":"ChimeArn", 1486 "location":"header", 1487 "locationName":"x-amz-chime-bearer" 1488 } 1489 } 1490 }, 1491 "ListChannelMessagesResponse":{ 1492 "type":"structure", 1493 "members":{ 1494 "ChannelArn":{"shape":"ChimeArn"}, 1495 "NextToken":{"shape":"NextToken"}, 1496 "ChannelMessages":{"shape":"ChannelMessageSummaryList"} 1497 } 1498 }, 1499 "ListChannelModeratorsRequest":{ 1500 "type":"structure", 1501 "required":[ 1502 "ChannelArn", 1503 "ChimeBearer" 1504 ], 1505 "members":{ 1506 "ChannelArn":{ 1507 "shape":"ChimeArn", 1508 "location":"uri", 1509 "locationName":"channelArn" 1510 }, 1511 "MaxResults":{ 1512 "shape":"MaxResults", 1513 "location":"querystring", 1514 "locationName":"max-results" 1515 }, 1516 "NextToken":{ 1517 "shape":"NextToken", 1518 "location":"querystring", 1519 "locationName":"next-token" 1520 }, 1521 "ChimeBearer":{ 1522 "shape":"ChimeArn", 1523 "location":"header", 1524 "locationName":"x-amz-chime-bearer" 1525 } 1526 } 1527 }, 1528 "ListChannelModeratorsResponse":{ 1529 "type":"structure", 1530 "members":{ 1531 "ChannelArn":{"shape":"ChimeArn"}, 1532 "NextToken":{"shape":"NextToken"}, 1533 "ChannelModerators":{"shape":"ChannelModeratorSummaryList"} 1534 } 1535 }, 1536 "ListChannelsModeratedByAppInstanceUserRequest":{ 1537 "type":"structure", 1538 "required":["ChimeBearer"], 1539 "members":{ 1540 "AppInstanceUserArn":{ 1541 "shape":"ChimeArn", 1542 "location":"querystring", 1543 "locationName":"app-instance-user-arn" 1544 }, 1545 "MaxResults":{ 1546 "shape":"MaxResults", 1547 "location":"querystring", 1548 "locationName":"max-results" 1549 }, 1550 "NextToken":{ 1551 "shape":"NextToken", 1552 "location":"querystring", 1553 "locationName":"next-token" 1554 }, 1555 "ChimeBearer":{ 1556 "shape":"ChimeArn", 1557 "location":"header", 1558 "locationName":"x-amz-chime-bearer" 1559 } 1560 } 1561 }, 1562 "ListChannelsModeratedByAppInstanceUserResponse":{ 1563 "type":"structure", 1564 "members":{ 1565 "Channels":{"shape":"ChannelModeratedByAppInstanceUserSummaryList"}, 1566 "NextToken":{"shape":"NextToken"} 1567 } 1568 }, 1569 "ListChannelsRequest":{ 1570 "type":"structure", 1571 "required":[ 1572 "AppInstanceArn", 1573 "ChimeBearer" 1574 ], 1575 "members":{ 1576 "AppInstanceArn":{ 1577 "shape":"ChimeArn", 1578 "location":"querystring", 1579 "locationName":"app-instance-arn" 1580 }, 1581 "Privacy":{ 1582 "shape":"ChannelPrivacy", 1583 "location":"querystring", 1584 "locationName":"privacy" 1585 }, 1586 "MaxResults":{ 1587 "shape":"MaxResults", 1588 "location":"querystring", 1589 "locationName":"max-results" 1590 }, 1591 "NextToken":{ 1592 "shape":"NextToken", 1593 "location":"querystring", 1594 "locationName":"next-token" 1595 }, 1596 "ChimeBearer":{ 1597 "shape":"ChimeArn", 1598 "location":"header", 1599 "locationName":"x-amz-chime-bearer" 1600 } 1601 } 1602 }, 1603 "ListChannelsResponse":{ 1604 "type":"structure", 1605 "members":{ 1606 "Channels":{"shape":"ChannelSummaryList"}, 1607 "NextToken":{"shape":"NextToken"} 1608 } 1609 }, 1610 "MaxResults":{ 1611 "type":"integer", 1612 "max":50, 1613 "min":1 1614 }, 1615 "MemberArns":{ 1616 "type":"list", 1617 "member":{"shape":"ChimeArn"}, 1618 "max":100, 1619 "min":1 1620 }, 1621 "Members":{ 1622 "type":"list", 1623 "member":{"shape":"Identity"} 1624 }, 1625 "MessageId":{ 1626 "type":"string", 1627 "max":128, 1628 "min":1, 1629 "pattern":"[-_a-zA-Z0-9]*" 1630 }, 1631 "MessagingSessionEndpoint":{ 1632 "type":"structure", 1633 "members":{ 1634 "Url":{"shape":"UrlType"} 1635 } 1636 }, 1637 "Metadata":{ 1638 "type":"string", 1639 "max":1024, 1640 "min":0, 1641 "pattern":".*", 1642 "sensitive":true 1643 }, 1644 "NextToken":{ 1645 "type":"string", 1646 "max":2048, 1647 "min":0, 1648 "pattern":".*", 1649 "sensitive":true 1650 }, 1651 "NonEmptyContent":{ 1652 "type":"string", 1653 "min":1, 1654 "pattern":"[\\s\\S]*", 1655 "sensitive":true 1656 }, 1657 "NonEmptyResourceName":{ 1658 "type":"string", 1659 "max":256, 1660 "min":1, 1661 "pattern":"[\\u0009\\u000A\\u000D\\u0020-\\u007E\\u0085\\u00A0-\\uD7FF\\uE000-\\uFFFD\\u10000-\\u10FFFF]*", 1662 "sensitive":true 1663 }, 1664 "NonNullableBoolean":{"type":"boolean"}, 1665 "NotFoundException":{ 1666 "type":"structure", 1667 "members":{ 1668 "Code":{"shape":"ErrorCode"}, 1669 "Message":{"shape":"String"} 1670 }, 1671 "error":{"httpStatusCode":404}, 1672 "exception":true 1673 }, 1674 "RedactChannelMessageRequest":{ 1675 "type":"structure", 1676 "required":[ 1677 "ChannelArn", 1678 "MessageId", 1679 "ChimeBearer" 1680 ], 1681 "members":{ 1682 "ChannelArn":{ 1683 "shape":"ChimeArn", 1684 "location":"uri", 1685 "locationName":"channelArn" 1686 }, 1687 "MessageId":{ 1688 "shape":"MessageId", 1689 "location":"uri", 1690 "locationName":"messageId" 1691 }, 1692 "ChimeBearer":{ 1693 "shape":"ChimeArn", 1694 "location":"header", 1695 "locationName":"x-amz-chime-bearer" 1696 } 1697 } 1698 }, 1699 "RedactChannelMessageResponse":{ 1700 "type":"structure", 1701 "members":{ 1702 "ChannelArn":{"shape":"ChimeArn"}, 1703 "MessageId":{"shape":"MessageId"} 1704 } 1705 }, 1706 "ResourceLimitExceededException":{ 1707 "type":"structure", 1708 "members":{ 1709 "Code":{"shape":"ErrorCode"}, 1710 "Message":{"shape":"String"} 1711 }, 1712 "error":{"httpStatusCode":400}, 1713 "exception":true 1714 }, 1715 "ResourceName":{ 1716 "type":"string", 1717 "max":256, 1718 "min":0, 1719 "pattern":"[\\u0009\\u000A\\u000D\\u0020-\\u007E\\u0085\\u00A0-\\uD7FF\\uE000-\\uFFFD\\u10000-\\u10FFFF]*", 1720 "sensitive":true 1721 }, 1722 "SendChannelMessageRequest":{ 1723 "type":"structure", 1724 "required":[ 1725 "ChannelArn", 1726 "Content", 1727 "Type", 1728 "Persistence", 1729 "ClientRequestToken", 1730 "ChimeBearer" 1731 ], 1732 "members":{ 1733 "ChannelArn":{ 1734 "shape":"ChimeArn", 1735 "location":"uri", 1736 "locationName":"channelArn" 1737 }, 1738 "Content":{"shape":"NonEmptyContent"}, 1739 "Type":{"shape":"ChannelMessageType"}, 1740 "Persistence":{"shape":"ChannelMessagePersistenceType"}, 1741 "Metadata":{"shape":"Metadata"}, 1742 "ClientRequestToken":{ 1743 "shape":"ClientRequestToken", 1744 "idempotencyToken":true 1745 }, 1746 "ChimeBearer":{ 1747 "shape":"ChimeArn", 1748 "location":"header", 1749 "locationName":"x-amz-chime-bearer" 1750 } 1751 } 1752 }, 1753 "SendChannelMessageResponse":{ 1754 "type":"structure", 1755 "members":{ 1756 "ChannelArn":{"shape":"ChimeArn"}, 1757 "MessageId":{"shape":"MessageId"} 1758 } 1759 }, 1760 "ServiceFailureException":{ 1761 "type":"structure", 1762 "members":{ 1763 "Code":{"shape":"ErrorCode"}, 1764 "Message":{"shape":"String"} 1765 }, 1766 "error":{"httpStatusCode":500}, 1767 "exception":true, 1768 "fault":true 1769 }, 1770 "ServiceUnavailableException":{ 1771 "type":"structure", 1772 "members":{ 1773 "Code":{"shape":"ErrorCode"}, 1774 "Message":{"shape":"String"} 1775 }, 1776 "error":{"httpStatusCode":503}, 1777 "exception":true, 1778 "fault":true 1779 }, 1780 "SortOrder":{ 1781 "type":"string", 1782 "enum":[ 1783 "ASCENDING", 1784 "DESCENDING" 1785 ] 1786 }, 1787 "String":{"type":"string"}, 1788 "Tag":{ 1789 "type":"structure", 1790 "required":[ 1791 "Key", 1792 "Value" 1793 ], 1794 "members":{ 1795 "Key":{"shape":"TagKey"}, 1796 "Value":{"shape":"TagValue"} 1797 } 1798 }, 1799 "TagKey":{ 1800 "type":"string", 1801 "max":128, 1802 "min":1, 1803 "sensitive":true 1804 }, 1805 "TagList":{ 1806 "type":"list", 1807 "member":{"shape":"Tag"}, 1808 "max":50, 1809 "min":1 1810 }, 1811 "TagValue":{ 1812 "type":"string", 1813 "max":256, 1814 "min":1, 1815 "sensitive":true 1816 }, 1817 "ThrottledClientException":{ 1818 "type":"structure", 1819 "members":{ 1820 "Code":{"shape":"ErrorCode"}, 1821 "Message":{"shape":"String"} 1822 }, 1823 "error":{"httpStatusCode":429}, 1824 "exception":true 1825 }, 1826 "Timestamp":{"type":"timestamp"}, 1827 "UnauthorizedClientException":{ 1828 "type":"structure", 1829 "members":{ 1830 "Code":{"shape":"ErrorCode"}, 1831 "Message":{"shape":"String"} 1832 }, 1833 "error":{"httpStatusCode":401}, 1834 "exception":true 1835 }, 1836 "UpdateChannelMessageRequest":{ 1837 "type":"structure", 1838 "required":[ 1839 "ChannelArn", 1840 "MessageId", 1841 "ChimeBearer" 1842 ], 1843 "members":{ 1844 "ChannelArn":{ 1845 "shape":"ChimeArn", 1846 "location":"uri", 1847 "locationName":"channelArn" 1848 }, 1849 "MessageId":{ 1850 "shape":"MessageId", 1851 "location":"uri", 1852 "locationName":"messageId" 1853 }, 1854 "Content":{"shape":"Content"}, 1855 "Metadata":{"shape":"Metadata"}, 1856 "ChimeBearer":{ 1857 "shape":"ChimeArn", 1858 "location":"header", 1859 "locationName":"x-amz-chime-bearer" 1860 } 1861 } 1862 }, 1863 "UpdateChannelMessageResponse":{ 1864 "type":"structure", 1865 "members":{ 1866 "ChannelArn":{"shape":"ChimeArn"}, 1867 "MessageId":{"shape":"MessageId"} 1868 } 1869 }, 1870 "UpdateChannelReadMarkerRequest":{ 1871 "type":"structure", 1872 "required":[ 1873 "ChannelArn", 1874 "ChimeBearer" 1875 ], 1876 "members":{ 1877 "ChannelArn":{ 1878 "shape":"ChimeArn", 1879 "location":"uri", 1880 "locationName":"channelArn" 1881 }, 1882 "ChimeBearer":{ 1883 "shape":"ChimeArn", 1884 "location":"header", 1885 "locationName":"x-amz-chime-bearer" 1886 } 1887 } 1888 }, 1889 "UpdateChannelReadMarkerResponse":{ 1890 "type":"structure", 1891 "members":{ 1892 "ChannelArn":{"shape":"ChimeArn"} 1893 } 1894 }, 1895 "UpdateChannelRequest":{ 1896 "type":"structure", 1897 "required":[ 1898 "ChannelArn", 1899 "Name", 1900 "Mode", 1901 "ChimeBearer" 1902 ], 1903 "members":{ 1904 "ChannelArn":{ 1905 "shape":"ChimeArn", 1906 "location":"uri", 1907 "locationName":"channelArn" 1908 }, 1909 "Name":{"shape":"NonEmptyResourceName"}, 1910 "Mode":{"shape":"ChannelMode"}, 1911 "Metadata":{"shape":"Metadata"}, 1912 "ChimeBearer":{ 1913 "shape":"ChimeArn", 1914 "location":"header", 1915 "locationName":"x-amz-chime-bearer" 1916 } 1917 } 1918 }, 1919 "UpdateChannelResponse":{ 1920 "type":"structure", 1921 "members":{ 1922 "ChannelArn":{"shape":"ChimeArn"} 1923 } 1924 }, 1925 "UrlType":{ 1926 "type":"string", 1927 "max":4096 1928 } 1929 } 1930} 1931