1{ 2 "version":"2.0", 3 "metadata":{ 4 "apiVersion":"2018-05-01", 5 "endpointPrefix":"chime", 6 "protocol":"rest-json", 7 "serviceFullName":"Amazon Chime", 8 "serviceId":"Chime", 9 "signatureVersion":"v4", 10 "uid":"chime-2018-05-01" 11 }, 12 "operations":{ 13 "BatchSuspendUser":{ 14 "name":"BatchSuspendUser", 15 "http":{ 16 "method":"POST", 17 "requestUri":"/console/accounts/{accountId}/users?operation=suspend", 18 "responseCode":200 19 }, 20 "input":{"shape":"BatchSuspendUserRequest"}, 21 "output":{"shape":"BatchSuspendUserResponse"}, 22 "errors":[ 23 {"shape":"UnauthorizedClientException"}, 24 {"shape":"NotFoundException"}, 25 {"shape":"ForbiddenException"}, 26 {"shape":"BadRequestException"}, 27 {"shape":"ThrottledClientException"}, 28 {"shape":"ServiceUnavailableException"}, 29 {"shape":"ServiceFailureException"} 30 ] 31 }, 32 "BatchUnsuspendUser":{ 33 "name":"BatchUnsuspendUser", 34 "http":{ 35 "method":"POST", 36 "requestUri":"/console/accounts/{accountId}/users?operation=unsuspend", 37 "responseCode":200 38 }, 39 "input":{"shape":"BatchUnsuspendUserRequest"}, 40 "output":{"shape":"BatchUnsuspendUserResponse"}, 41 "errors":[ 42 {"shape":"UnauthorizedClientException"}, 43 {"shape":"NotFoundException"}, 44 {"shape":"ForbiddenException"}, 45 {"shape":"BadRequestException"}, 46 {"shape":"ThrottledClientException"}, 47 {"shape":"ServiceUnavailableException"}, 48 {"shape":"ServiceFailureException"} 49 ] 50 }, 51 "BatchUpdateUser":{ 52 "name":"BatchUpdateUser", 53 "http":{ 54 "method":"POST", 55 "requestUri":"/console/accounts/{accountId}/users", 56 "responseCode":200 57 }, 58 "input":{"shape":"BatchUpdateUserRequest"}, 59 "output":{"shape":"BatchUpdateUserResponse"}, 60 "errors":[ 61 {"shape":"UnauthorizedClientException"}, 62 {"shape":"NotFoundException"}, 63 {"shape":"ForbiddenException"}, 64 {"shape":"BadRequestException"}, 65 {"shape":"ThrottledClientException"}, 66 {"shape":"ServiceUnavailableException"}, 67 {"shape":"ServiceFailureException"} 68 ] 69 }, 70 "CreateAccount":{ 71 "name":"CreateAccount", 72 "http":{ 73 "method":"POST", 74 "requestUri":"/console/accounts", 75 "responseCode":201 76 }, 77 "input":{"shape":"CreateAccountRequest"}, 78 "output":{"shape":"CreateAccountResponse"}, 79 "errors":[ 80 {"shape":"UnauthorizedClientException"}, 81 {"shape":"NotFoundException"}, 82 {"shape":"ForbiddenException"}, 83 {"shape":"BadRequestException"}, 84 {"shape":"ThrottledClientException"}, 85 {"shape":"ServiceUnavailableException"}, 86 {"shape":"ServiceFailureException"} 87 ] 88 }, 89 "DeleteAccount":{ 90 "name":"DeleteAccount", 91 "http":{ 92 "method":"DELETE", 93 "requestUri":"/console/accounts/{accountId}", 94 "responseCode":204 95 }, 96 "input":{"shape":"DeleteAccountRequest"}, 97 "output":{"shape":"DeleteAccountResponse"}, 98 "errors":[ 99 {"shape":"UnauthorizedClientException"}, 100 {"shape":"NotFoundException"}, 101 {"shape":"ForbiddenException"}, 102 {"shape":"BadRequestException"}, 103 {"shape":"ThrottledClientException"}, 104 {"shape":"UnprocessableEntityException"}, 105 {"shape":"ServiceUnavailableException"}, 106 {"shape":"ServiceFailureException"} 107 ] 108 }, 109 "GetAccount":{ 110 "name":"GetAccount", 111 "http":{ 112 "method":"GET", 113 "requestUri":"/console/accounts/{accountId}" 114 }, 115 "input":{"shape":"GetAccountRequest"}, 116 "output":{"shape":"GetAccountResponse"}, 117 "errors":[ 118 {"shape":"UnauthorizedClientException"}, 119 {"shape":"NotFoundException"}, 120 {"shape":"ForbiddenException"}, 121 {"shape":"BadRequestException"}, 122 {"shape":"ThrottledClientException"}, 123 {"shape":"ServiceUnavailableException"}, 124 {"shape":"ServiceFailureException"} 125 ] 126 }, 127 "GetAccountSettings":{ 128 "name":"GetAccountSettings", 129 "http":{ 130 "method":"GET", 131 "requestUri":"/console/accounts/{accountId}/settings" 132 }, 133 "input":{"shape":"GetAccountSettingsRequest"}, 134 "output":{"shape":"GetAccountSettingsResponse"}, 135 "errors":[ 136 {"shape":"UnauthorizedClientException"}, 137 {"shape":"NotFoundException"}, 138 {"shape":"BadRequestException"}, 139 {"shape":"ForbiddenException"}, 140 {"shape":"ThrottledClientException"}, 141 {"shape":"ServiceUnavailableException"}, 142 {"shape":"ServiceFailureException"} 143 ] 144 }, 145 "GetUser":{ 146 "name":"GetUser", 147 "http":{ 148 "method":"GET", 149 "requestUri":"/console/accounts/{accountId}/users/{userId}", 150 "responseCode":200 151 }, 152 "input":{"shape":"GetUserRequest"}, 153 "output":{"shape":"GetUserResponse"}, 154 "errors":[ 155 {"shape":"UnauthorizedClientException"}, 156 {"shape":"NotFoundException"}, 157 {"shape":"ForbiddenException"}, 158 {"shape":"BadRequestException"}, 159 {"shape":"ThrottledClientException"}, 160 {"shape":"ServiceUnavailableException"}, 161 {"shape":"ServiceFailureException"} 162 ] 163 }, 164 "InviteUsers":{ 165 "name":"InviteUsers", 166 "http":{ 167 "method":"POST", 168 "requestUri":"/console/accounts/{accountId}/users?operation=add", 169 "responseCode":201 170 }, 171 "input":{"shape":"InviteUsersRequest"}, 172 "output":{"shape":"InviteUsersResponse"}, 173 "errors":[ 174 {"shape":"UnauthorizedClientException"}, 175 {"shape":"NotFoundException"}, 176 {"shape":"ForbiddenException"}, 177 {"shape":"BadRequestException"}, 178 {"shape":"ThrottledClientException"}, 179 {"shape":"ServiceUnavailableException"}, 180 {"shape":"ServiceFailureException"} 181 ] 182 }, 183 "ListAccounts":{ 184 "name":"ListAccounts", 185 "http":{ 186 "method":"GET", 187 "requestUri":"/console/accounts" 188 }, 189 "input":{"shape":"ListAccountsRequest"}, 190 "output":{"shape":"ListAccountsResponse"}, 191 "errors":[ 192 {"shape":"UnauthorizedClientException"}, 193 {"shape":"NotFoundException"}, 194 {"shape":"ForbiddenException"}, 195 {"shape":"BadRequestException"}, 196 {"shape":"ThrottledClientException"}, 197 {"shape":"ServiceUnavailableException"}, 198 {"shape":"ServiceFailureException"} 199 ] 200 }, 201 "ListUsers":{ 202 "name":"ListUsers", 203 "http":{ 204 "method":"GET", 205 "requestUri":"/console/accounts/{accountId}/users", 206 "responseCode":200 207 }, 208 "input":{"shape":"ListUsersRequest"}, 209 "output":{"shape":"ListUsersResponse"}, 210 "errors":[ 211 {"shape":"UnauthorizedClientException"}, 212 {"shape":"NotFoundException"}, 213 {"shape":"ForbiddenException"}, 214 {"shape":"BadRequestException"}, 215 {"shape":"ThrottledClientException"}, 216 {"shape":"ServiceUnavailableException"}, 217 {"shape":"ServiceFailureException"} 218 ] 219 }, 220 "LogoutUser":{ 221 "name":"LogoutUser", 222 "http":{ 223 "method":"POST", 224 "requestUri":"/console/accounts/{accountId}/users/{userId}?operation=logout", 225 "responseCode":204 226 }, 227 "input":{"shape":"LogoutUserRequest"}, 228 "output":{"shape":"LogoutUserResponse"}, 229 "errors":[ 230 {"shape":"UnauthorizedClientException"}, 231 {"shape":"NotFoundException"}, 232 {"shape":"ForbiddenException"}, 233 {"shape":"BadRequestException"}, 234 {"shape":"ThrottledClientException"}, 235 {"shape":"ServiceUnavailableException"}, 236 {"shape":"ServiceFailureException"} 237 ] 238 }, 239 "ResetPersonalPIN":{ 240 "name":"ResetPersonalPIN", 241 "http":{ 242 "method":"POST", 243 "requestUri":"/console/accounts/{accountId}/users/{userId}?operation=reset-personal-pin", 244 "responseCode":200 245 }, 246 "input":{"shape":"ResetPersonalPINRequest"}, 247 "output":{"shape":"ResetPersonalPINResponse"}, 248 "errors":[ 249 {"shape":"UnauthorizedClientException"}, 250 {"shape":"NotFoundException"}, 251 {"shape":"ForbiddenException"}, 252 {"shape":"BadRequestException"}, 253 {"shape":"ThrottledClientException"}, 254 {"shape":"ServiceUnavailableException"}, 255 {"shape":"ServiceFailureException"} 256 ] 257 }, 258 "UpdateAccount":{ 259 "name":"UpdateAccount", 260 "http":{ 261 "method":"POST", 262 "requestUri":"/console/accounts/{accountId}", 263 "responseCode":200 264 }, 265 "input":{"shape":"UpdateAccountRequest"}, 266 "output":{"shape":"UpdateAccountResponse"}, 267 "errors":[ 268 {"shape":"UnauthorizedClientException"}, 269 {"shape":"NotFoundException"}, 270 {"shape":"ForbiddenException"}, 271 {"shape":"BadRequestException"}, 272 {"shape":"ThrottledClientException"}, 273 {"shape":"ServiceUnavailableException"}, 274 {"shape":"ServiceFailureException"} 275 ] 276 }, 277 "UpdateAccountSettings":{ 278 "name":"UpdateAccountSettings", 279 "http":{ 280 "method":"PUT", 281 "requestUri":"/console/accounts/{accountId}/settings", 282 "responseCode":204 283 }, 284 "input":{"shape":"UpdateAccountSettingsRequest"}, 285 "output":{"shape":"UpdateAccountSettingsResponse"}, 286 "errors":[ 287 {"shape":"UnauthorizedClientException"}, 288 {"shape":"NotFoundException"}, 289 {"shape":"BadRequestException"}, 290 {"shape":"ForbiddenException"}, 291 {"shape":"ConflictException"}, 292 {"shape":"ThrottledClientException"}, 293 {"shape":"ServiceUnavailableException"}, 294 {"shape":"ServiceFailureException"} 295 ] 296 }, 297 "UpdateUser":{ 298 "name":"UpdateUser", 299 "http":{ 300 "method":"POST", 301 "requestUri":"/console/accounts/{accountId}/users/{userId}", 302 "responseCode":200 303 }, 304 "input":{"shape":"UpdateUserRequest"}, 305 "output":{"shape":"UpdateUserResponse"}, 306 "errors":[ 307 {"shape":"UnauthorizedClientException"}, 308 {"shape":"NotFoundException"}, 309 {"shape":"ForbiddenException"}, 310 {"shape":"BadRequestException"}, 311 {"shape":"ThrottledClientException"}, 312 {"shape":"ServiceUnavailableException"}, 313 {"shape":"ServiceFailureException"} 314 ] 315 } 316 }, 317 "shapes":{ 318 "Account":{ 319 "type":"structure", 320 "required":[ 321 "AwsAccountId", 322 "AccountId", 323 "Name" 324 ], 325 "members":{ 326 "AwsAccountId":{"shape":"String"}, 327 "AccountId":{"shape":"String"}, 328 "Name":{"shape":"String"}, 329 "AccountType":{"shape":"AccountType"}, 330 "CreatedTimestamp":{"shape":"Iso8601Timestamp"}, 331 "DefaultLicense":{"shape":"License"}, 332 "SupportedLicenses":{"shape":"LicenseList"} 333 } 334 }, 335 "AccountList":{ 336 "type":"list", 337 "member":{"shape":"Account"} 338 }, 339 "AccountName":{ 340 "type":"string", 341 "max":100, 342 "min":1, 343 "pattern":".*\\S.*" 344 }, 345 "AccountSettings":{ 346 "type":"structure", 347 "members":{ 348 "DisableRemoteControl":{"shape":"Boolean"}, 349 "EnableDialOut":{"shape":"Boolean"} 350 } 351 }, 352 "AccountType":{ 353 "type":"string", 354 "enum":[ 355 "Team", 356 "EnterpriseDirectory", 357 "EnterpriseLWA", 358 "EnterpriseOIDC" 359 ] 360 }, 361 "BadRequestException":{ 362 "type":"structure", 363 "members":{ 364 "Code":{"shape":"ErrorCode"}, 365 "Message":{"shape":"String"} 366 }, 367 "error":{"httpStatusCode":400}, 368 "exception":true 369 }, 370 "BatchSuspendUserRequest":{ 371 "type":"structure", 372 "required":[ 373 "AccountId", 374 "UserIdList" 375 ], 376 "members":{ 377 "AccountId":{ 378 "shape":"NonEmptyString", 379 "location":"uri", 380 "locationName":"accountId" 381 }, 382 "UserIdList":{"shape":"UserIdList"} 383 } 384 }, 385 "BatchSuspendUserResponse":{ 386 "type":"structure", 387 "members":{ 388 "UserErrors":{"shape":"UserErrorList"} 389 } 390 }, 391 "BatchUnsuspendUserRequest":{ 392 "type":"structure", 393 "required":[ 394 "AccountId", 395 "UserIdList" 396 ], 397 "members":{ 398 "AccountId":{ 399 "shape":"NonEmptyString", 400 "location":"uri", 401 "locationName":"accountId" 402 }, 403 "UserIdList":{"shape":"UserIdList"} 404 } 405 }, 406 "BatchUnsuspendUserResponse":{ 407 "type":"structure", 408 "members":{ 409 "UserErrors":{"shape":"UserErrorList"} 410 } 411 }, 412 "BatchUpdateUserRequest":{ 413 "type":"structure", 414 "required":[ 415 "AccountId", 416 "UpdateUserRequestItems" 417 ], 418 "members":{ 419 "AccountId":{ 420 "shape":"NonEmptyString", 421 "location":"uri", 422 "locationName":"accountId" 423 }, 424 "UpdateUserRequestItems":{"shape":"UpdateUserRequestItemList"} 425 } 426 }, 427 "BatchUpdateUserResponse":{ 428 "type":"structure", 429 "members":{ 430 "UserErrors":{"shape":"UserErrorList"} 431 } 432 }, 433 "Boolean":{"type":"boolean"}, 434 "ConflictException":{ 435 "type":"structure", 436 "members":{ 437 "Code":{"shape":"ErrorCode"}, 438 "Message":{"shape":"String"} 439 }, 440 "error":{"httpStatusCode":409}, 441 "exception":true 442 }, 443 "CreateAccountRequest":{ 444 "type":"structure", 445 "required":["Name"], 446 "members":{ 447 "Name":{"shape":"AccountName"} 448 } 449 }, 450 "CreateAccountResponse":{ 451 "type":"structure", 452 "members":{ 453 "Account":{"shape":"Account"} 454 } 455 }, 456 "DeleteAccountRequest":{ 457 "type":"structure", 458 "required":["AccountId"], 459 "members":{ 460 "AccountId":{ 461 "shape":"NonEmptyString", 462 "location":"uri", 463 "locationName":"accountId" 464 } 465 } 466 }, 467 "DeleteAccountResponse":{ 468 "type":"structure", 469 "members":{ 470 } 471 }, 472 "EmailAddress":{ 473 "type":"string", 474 "pattern":".+@.+\\..+", 475 "sensitive":true 476 }, 477 "EmailStatus":{ 478 "type":"string", 479 "enum":[ 480 "NotSent", 481 "Sent", 482 "Failed" 483 ] 484 }, 485 "ErrorCode":{ 486 "type":"string", 487 "enum":[ 488 "Unauthorized", 489 "Forbidden", 490 "NotFound", 491 "BadRequest", 492 "Conflict", 493 "ServiceFailure", 494 "ServiceUnavailable", 495 "Unprocessable", 496 "Throttled", 497 "PreconditionFailed" 498 ] 499 }, 500 "ForbiddenException":{ 501 "type":"structure", 502 "members":{ 503 "Code":{"shape":"ErrorCode"}, 504 "Message":{"shape":"String"} 505 }, 506 "error":{"httpStatusCode":403}, 507 "exception":true 508 }, 509 "GetAccountRequest":{ 510 "type":"structure", 511 "required":["AccountId"], 512 "members":{ 513 "AccountId":{ 514 "shape":"NonEmptyString", 515 "location":"uri", 516 "locationName":"accountId" 517 } 518 } 519 }, 520 "GetAccountResponse":{ 521 "type":"structure", 522 "members":{ 523 "Account":{"shape":"Account"} 524 } 525 }, 526 "GetAccountSettingsRequest":{ 527 "type":"structure", 528 "required":["AccountId"], 529 "members":{ 530 "AccountId":{ 531 "shape":"NonEmptyString", 532 "location":"uri", 533 "locationName":"accountId" 534 } 535 } 536 }, 537 "GetAccountSettingsResponse":{ 538 "type":"structure", 539 "members":{ 540 "AccountSettings":{"shape":"AccountSettings"} 541 } 542 }, 543 "GetUserRequest":{ 544 "type":"structure", 545 "required":[ 546 "AccountId", 547 "UserId" 548 ], 549 "members":{ 550 "AccountId":{ 551 "shape":"NonEmptyString", 552 "location":"uri", 553 "locationName":"accountId" 554 }, 555 "UserId":{ 556 "shape":"NonEmptyString", 557 "location":"uri", 558 "locationName":"userId" 559 } 560 } 561 }, 562 "GetUserResponse":{ 563 "type":"structure", 564 "members":{ 565 "User":{"shape":"User"} 566 } 567 }, 568 "Invite":{ 569 "type":"structure", 570 "members":{ 571 "InviteId":{"shape":"String"}, 572 "Status":{"shape":"InviteStatus"}, 573 "EmailAddress":{"shape":"EmailAddress"}, 574 "EmailStatus":{"shape":"EmailStatus"} 575 } 576 }, 577 "InviteList":{ 578 "type":"list", 579 "member":{"shape":"Invite"} 580 }, 581 "InviteStatus":{ 582 "type":"string", 583 "enum":[ 584 "Pending", 585 "Accepted", 586 "Failed" 587 ] 588 }, 589 "InviteUsersRequest":{ 590 "type":"structure", 591 "required":[ 592 "AccountId", 593 "UserEmailList" 594 ], 595 "members":{ 596 "AccountId":{ 597 "shape":"NonEmptyString", 598 "location":"uri", 599 "locationName":"accountId" 600 }, 601 "UserEmailList":{"shape":"UserEmailList"} 602 } 603 }, 604 "InviteUsersResponse":{ 605 "type":"structure", 606 "members":{ 607 "Invites":{"shape":"InviteList"} 608 } 609 }, 610 "Iso8601Timestamp":{ 611 "type":"timestamp", 612 "timestampFormat":"iso8601" 613 }, 614 "License":{ 615 "type":"string", 616 "enum":[ 617 "Basic", 618 "Plus", 619 "Pro", 620 "ProTrial" 621 ] 622 }, 623 "LicenseList":{ 624 "type":"list", 625 "member":{"shape":"License"} 626 }, 627 "ListAccountsRequest":{ 628 "type":"structure", 629 "members":{ 630 "Name":{ 631 "shape":"AccountName", 632 "location":"querystring", 633 "locationName":"name" 634 }, 635 "UserEmail":{ 636 "shape":"EmailAddress", 637 "location":"querystring", 638 "locationName":"user-email" 639 }, 640 "NextToken":{ 641 "shape":"String", 642 "location":"querystring", 643 "locationName":"next-token" 644 }, 645 "MaxResults":{ 646 "shape":"ProfileServiceMaxResults", 647 "location":"querystring", 648 "locationName":"max-results" 649 } 650 } 651 }, 652 "ListAccountsResponse":{ 653 "type":"structure", 654 "members":{ 655 "Accounts":{"shape":"AccountList"}, 656 "NextToken":{"shape":"String"} 657 } 658 }, 659 "ListUsersRequest":{ 660 "type":"structure", 661 "required":["AccountId"], 662 "members":{ 663 "AccountId":{ 664 "shape":"NonEmptyString", 665 "location":"uri", 666 "locationName":"accountId" 667 }, 668 "UserEmail":{ 669 "shape":"EmailAddress", 670 "location":"querystring", 671 "locationName":"user-email" 672 }, 673 "MaxResults":{ 674 "shape":"ProfileServiceMaxResults", 675 "location":"querystring", 676 "locationName":"max-results" 677 }, 678 "NextToken":{ 679 "shape":"String", 680 "location":"querystring", 681 "locationName":"next-token" 682 } 683 } 684 }, 685 "ListUsersResponse":{ 686 "type":"structure", 687 "members":{ 688 "Users":{"shape":"UserList"}, 689 "NextToken":{"shape":"String"} 690 } 691 }, 692 "LogoutUserRequest":{ 693 "type":"structure", 694 "required":[ 695 "AccountId", 696 "UserId" 697 ], 698 "members":{ 699 "AccountId":{ 700 "shape":"NonEmptyString", 701 "location":"uri", 702 "locationName":"accountId" 703 }, 704 "UserId":{ 705 "shape":"NonEmptyString", 706 "location":"uri", 707 "locationName":"userId" 708 } 709 } 710 }, 711 "LogoutUserResponse":{ 712 "type":"structure", 713 "members":{ 714 } 715 }, 716 "NonEmptyString":{ 717 "type":"string", 718 "pattern":".*\\S.*" 719 }, 720 "NotFoundException":{ 721 "type":"structure", 722 "members":{ 723 "Code":{"shape":"ErrorCode"}, 724 "Message":{"shape":"String"} 725 }, 726 "error":{"httpStatusCode":404}, 727 "exception":true 728 }, 729 "ProfileServiceMaxResults":{ 730 "type":"integer", 731 "max":200, 732 "min":1 733 }, 734 "RegistrationStatus":{ 735 "type":"string", 736 "enum":[ 737 "Unregistered", 738 "Registered", 739 "Suspended" 740 ] 741 }, 742 "ResetPersonalPINRequest":{ 743 "type":"structure", 744 "required":[ 745 "AccountId", 746 "UserId" 747 ], 748 "members":{ 749 "AccountId":{ 750 "shape":"NonEmptyString", 751 "location":"uri", 752 "locationName":"accountId" 753 }, 754 "UserId":{ 755 "shape":"NonEmptyString", 756 "location":"uri", 757 "locationName":"userId" 758 } 759 } 760 }, 761 "ResetPersonalPINResponse":{ 762 "type":"structure", 763 "members":{ 764 "User":{"shape":"User"} 765 } 766 }, 767 "SensitiveString":{ 768 "type":"string", 769 "sensitive":true 770 }, 771 "ServiceFailureException":{ 772 "type":"structure", 773 "members":{ 774 "Code":{"shape":"ErrorCode"}, 775 "Message":{"shape":"String"} 776 }, 777 "error":{"httpStatusCode":500}, 778 "exception":true, 779 "fault":true 780 }, 781 "ServiceUnavailableException":{ 782 "type":"structure", 783 "members":{ 784 "Code":{"shape":"ErrorCode"}, 785 "Message":{"shape":"String"} 786 }, 787 "error":{"httpStatusCode":503}, 788 "exception":true, 789 "fault":true 790 }, 791 "String":{"type":"string"}, 792 "ThrottledClientException":{ 793 "type":"structure", 794 "members":{ 795 "Code":{"shape":"ErrorCode"}, 796 "Message":{"shape":"String"} 797 }, 798 "error":{"httpStatusCode":429}, 799 "exception":true 800 }, 801 "UnauthorizedClientException":{ 802 "type":"structure", 803 "members":{ 804 "Code":{"shape":"ErrorCode"}, 805 "Message":{"shape":"String"} 806 }, 807 "error":{"httpStatusCode":401}, 808 "exception":true 809 }, 810 "UnprocessableEntityException":{ 811 "type":"structure", 812 "members":{ 813 "Code":{"shape":"ErrorCode"}, 814 "Message":{"shape":"String"} 815 }, 816 "error":{"httpStatusCode":422}, 817 "exception":true 818 }, 819 "UpdateAccountRequest":{ 820 "type":"structure", 821 "required":["AccountId"], 822 "members":{ 823 "AccountId":{ 824 "shape":"NonEmptyString", 825 "location":"uri", 826 "locationName":"accountId" 827 }, 828 "Name":{"shape":"AccountName"} 829 } 830 }, 831 "UpdateAccountResponse":{ 832 "type":"structure", 833 "members":{ 834 "Account":{"shape":"Account"} 835 } 836 }, 837 "UpdateAccountSettingsRequest":{ 838 "type":"structure", 839 "required":[ 840 "AccountId", 841 "AccountSettings" 842 ], 843 "members":{ 844 "AccountId":{ 845 "shape":"NonEmptyString", 846 "location":"uri", 847 "locationName":"accountId" 848 }, 849 "AccountSettings":{"shape":"AccountSettings"} 850 } 851 }, 852 "UpdateAccountSettingsResponse":{ 853 "type":"structure", 854 "members":{ 855 } 856 }, 857 "UpdateUserRequest":{ 858 "type":"structure", 859 "required":[ 860 "AccountId", 861 "UserId" 862 ], 863 "members":{ 864 "AccountId":{ 865 "shape":"NonEmptyString", 866 "location":"uri", 867 "locationName":"accountId" 868 }, 869 "UserId":{ 870 "shape":"NonEmptyString", 871 "location":"uri", 872 "locationName":"userId" 873 }, 874 "LicenseType":{"shape":"License"} 875 } 876 }, 877 "UpdateUserRequestItem":{ 878 "type":"structure", 879 "required":["UserId"], 880 "members":{ 881 "UserId":{"shape":"NonEmptyString"}, 882 "LicenseType":{"shape":"License"} 883 } 884 }, 885 "UpdateUserRequestItemList":{ 886 "type":"list", 887 "member":{"shape":"UpdateUserRequestItem"}, 888 "max":20 889 }, 890 "UpdateUserResponse":{ 891 "type":"structure", 892 "members":{ 893 "User":{"shape":"User"} 894 } 895 }, 896 "User":{ 897 "type":"structure", 898 "required":["UserId"], 899 "members":{ 900 "UserId":{"shape":"String"}, 901 "AccountId":{"shape":"String"}, 902 "PrimaryEmail":{"shape":"EmailAddress"}, 903 "DisplayName":{"shape":"SensitiveString"}, 904 "LicenseType":{"shape":"License"}, 905 "UserRegistrationStatus":{"shape":"RegistrationStatus"}, 906 "UserInvitationStatus":{"shape":"InviteStatus"}, 907 "RegisteredOn":{"shape":"Iso8601Timestamp"}, 908 "InvitedOn":{"shape":"Iso8601Timestamp"}, 909 "PersonalPIN":{"shape":"String"} 910 } 911 }, 912 "UserEmailList":{ 913 "type":"list", 914 "member":{"shape":"EmailAddress"}, 915 "max":50 916 }, 917 "UserError":{ 918 "type":"structure", 919 "members":{ 920 "UserId":{"shape":"NonEmptyString"}, 921 "ErrorCode":{"shape":"ErrorCode"}, 922 "ErrorMessage":{"shape":"String"} 923 } 924 }, 925 "UserErrorList":{ 926 "type":"list", 927 "member":{"shape":"UserError"} 928 }, 929 "UserIdList":{ 930 "type":"list", 931 "member":{"shape":"NonEmptyString"}, 932 "max":50 933 }, 934 "UserList":{ 935 "type":"list", 936 "member":{"shape":"User"} 937 } 938 } 939} 940