From 95b84bb2203a2eb680dbf003186021d5a9737e68 Mon Sep 17 00:00:00 2001 From: awstools Date: Wed, 26 Feb 2025 19:37:05 +0000 Subject: [PATCH] feat(client-chime): Removes the Amazon Chime SDK APIs from the "chime" namespace. Amazon Chime SDK APIs continue to be available in the AWS SDK via the dedicated Amazon Chime SDK namespaces: chime-sdk-identity, chime-sdk-mediapipelines, chime-sdk-meetings, chime-sdk-messaging, and chime-sdk-voice. --- clients/client-chime/README.md | 1216 +- clients/client-chime/src/Chime.ts | 2821 +- clients/client-chime/src/ChimeClient.ts | 652 +- ...tePhoneNumbersWithVoiceConnectorCommand.ts | 145 - ...neNumbersWithVoiceConnectorGroupCommand.ts | 145 - .../commands/BatchCreateAttendeeCommand.ts | 159 - .../BatchCreateChannelMembershipCommand.ts | 153 - .../commands/CreateAppInstanceAdminCommand.ts | 146 - .../src/commands/CreateAppInstanceCommand.ts | 139 - .../commands/CreateAppInstanceUserCommand.ts | 141 - .../src/commands/CreateAttendeeCommand.ts | 146 - .../src/commands/CreateChannelBanCommand.ts | 146 - .../src/commands/CreateChannelCommand.ts | 150 - .../CreateChannelMembershipCommand.ts | 170 - .../commands/CreateChannelModeratorCommand.ts | 158 - .../CreateMediaCapturePipelineCommand.ts | 190 - .../src/commands/CreateMeetingCommand.ts | 159 - .../commands/CreateMeetingDialOutCommand.ts | 2 +- .../CreateMeetingWithAttendeesCommand.ts | 189 - .../src/commands/CreateProxySessionCommand.ts | 165 - .../CreateSipMediaApplicationCallCommand.ts | 142 - .../CreateSipMediaApplicationCommand.ts | 151 - .../src/commands/CreateSipRuleCommand.ts | 154 - .../commands/CreateVoiceConnectorCommand.ts | 139 - .../CreateVoiceConnectorGroupCommand.ts | 147 - .../commands/DeleteAppInstanceAdminCommand.ts | 123 - .../src/commands/DeleteAppInstanceCommand.ts | 118 - ...pInstanceStreamingConfigurationsCommand.ts | 124 - .../commands/DeleteAppInstanceUserCommand.ts | 117 - .../src/commands/DeleteAttendeeCommand.ts | 124 - .../src/commands/DeleteChannelBanCommand.ts | 124 - .../src/commands/DeleteChannelCommand.ts | 124 - .../DeleteChannelMembershipCommand.ts | 128 - .../commands/DeleteChannelMessageCommand.ts | 126 - .../commands/DeleteChannelModeratorCommand.ts | 124 - .../DeleteMediaCapturePipelineCommand.ts | 121 - .../src/commands/DeleteMeetingCommand.ts | 123 - .../src/commands/DeleteProxySessionCommand.ts | 121 - .../DeleteSipMediaApplicationCommand.ts | 124 - .../src/commands/DeleteSipRuleCommand.ts | 124 - .../commands/DeleteVoiceConnectorCommand.ts | 126 - ...torEmergencyCallingConfigurationCommand.ts | 124 - .../DeleteVoiceConnectorGroupCommand.ts | 126 - .../DeleteVoiceConnectorOriginationCommand.ts | 126 - .../DeleteVoiceConnectorProxyCommand.ts | 120 - ...eConnectorStreamingConfigurationCommand.ts | 124 - .../DeleteVoiceConnectorTerminationCommand.ts | 126 - ...eConnectorTerminationCredentialsCommand.ts | 130 - .../DescribeAppInstanceAdminCommand.ts | 131 - .../commands/DescribeAppInstanceCommand.ts | 129 - .../DescribeAppInstanceUserCommand.ts | 129 - .../src/commands/DescribeChannelBanCommand.ts | 144 - .../src/commands/DescribeChannelCommand.ts | 143 - .../DescribeChannelMembershipCommand.ts | 146 - ...nnelMembershipForAppInstanceUserCommand.ts | 150 - ...hannelModeratedByAppInstanceUserCommand.ts | 146 - .../DescribeChannelModeratorCommand.ts | 144 - ...tePhoneNumbersFromVoiceConnectorCommand.ts | 141 - ...neNumbersFromVoiceConnectorGroupCommand.ts | 141 - .../GetAppInstanceRetentionSettingsCommand.ts | 132 - ...pInstanceStreamingConfigurationsCommand.ts | 137 - .../src/commands/GetAttendeeCommand.ts | 131 - .../src/commands/GetChannelMessageCommand.ts | 148 - .../GetMediaCapturePipelineCommand.ts | 161 - .../src/commands/GetMeetingCommand.ts | 142 - .../GetMessagingSessionEndpointCommand.ts | 121 - .../src/commands/GetProxySessionCommand.ts | 151 - .../commands/GetRetentionSettingsCommand.ts | 3 +- .../src/commands/GetRoomCommand.ts | 2 +- .../commands/GetSipMediaApplicationCommand.ts | 137 - ...aApplicationLoggingConfigurationCommand.ts | 133 - .../src/commands/GetSipRuleCommand.ts | 137 - .../src/commands/GetUserCommand.ts | 2 +- .../src/commands/GetUserSettingsCommand.ts | 2 +- .../src/commands/GetVoiceConnectorCommand.ts | 131 - ...torEmergencyCallingConfigurationCommand.ts | 140 - .../commands/GetVoiceConnectorGroupCommand.ts | 135 - ...iceConnectorLoggingConfigurationCommand.ts | 135 - .../GetVoiceConnectorOriginationCommand.ts | 138 - .../commands/GetVoiceConnectorProxyCommand.ts | 133 - ...eConnectorStreamingConfigurationCommand.ts | 141 - .../GetVoiceConnectorTerminationCommand.ts | 141 - ...tVoiceConnectorTerminationHealthCommand.ts | 134 - .../src/commands/InviteUsersCommand.ts | 2 +- .../src/commands/ListAccountsCommand.ts | 2 +- .../commands/ListAppInstanceAdminsCommand.ts | 135 - .../commands/ListAppInstanceUsersCommand.ts | 136 - .../src/commands/ListAppInstancesCommand.ts | 132 - .../src/commands/ListAttendeeTagsCommand.ts | 128 - .../src/commands/ListAttendeesCommand.ts | 139 - .../src/commands/ListBotsCommand.ts | 2 +- .../src/commands/ListChannelBansCommand.ts | 141 - .../commands/ListChannelMembershipsCommand.ts | 142 - ...nelMembershipsForAppInstanceUserCommand.ts | 158 - .../commands/ListChannelMessagesCommand.ts | 157 - .../commands/ListChannelModeratorsCommand.ts | 141 - .../src/commands/ListChannelsCommand.ts | 157 - ...annelsModeratedByAppInstanceUserCommand.ts | 153 - .../ListMediaCapturePipelinesCommand.ts | 161 - .../src/commands/ListMeetingTagsCommand.ts | 131 - .../src/commands/ListMeetingsCommand.ts | 136 - .../commands/ListPhoneNumberOrdersCommand.ts | 2 +- .../src/commands/ListPhoneNumbersCommand.ts | 2 +- .../src/commands/ListProxySessionsCommand.ts | 156 - .../commands/ListRoomMembershipsCommand.ts | 2 +- .../src/commands/ListRoomsCommand.ts | 2 +- .../ListSipMediaApplicationsCommand.ts | 138 - .../src/commands/ListSipRulesCommand.ts | 139 - ...istSupportedPhoneNumberCountriesCommand.ts | 2 +- .../commands/ListTagsForResourceCommand.ts | 137 - .../src/commands/ListUsersCommand.ts | 2 +- .../ListVoiceConnectorGroupsCommand.ts | 135 - ...eConnectorTerminationCredentialsCommand.ts | 134 - .../commands/ListVoiceConnectorsCommand.ts | 132 - .../src/commands/LogoutUserCommand.ts | 2 +- .../PutAppInstanceRetentionSettingsCommand.ts | 141 - ...pInstanceStreamingConfigurationsCommand.ts | 147 - .../commands/PutEventsConfigurationCommand.ts | 2 +- .../commands/PutRetentionSettingsCommand.ts | 2 +- ...aApplicationLoggingConfigurationCommand.ts | 136 - ...torEmergencyCallingConfigurationCommand.ts | 154 - ...iceConnectorLoggingConfigurationCommand.ts | 139 - .../PutVoiceConnectorOriginationCommand.ts | 153 - .../commands/PutVoiceConnectorProxyCommand.ts | 143 - ...eConnectorStreamingConfigurationCommand.ts | 150 - .../PutVoiceConnectorTerminationCommand.ts | 159 - ...eConnectorTerminationCredentialsCommand.ts | 133 - .../commands/RedactChannelMessageCommand.ts | 128 - .../RedactConversationMessageCommand.ts | 2 +- .../src/commands/RedactRoomMessageCommand.ts | 2 +- .../RegenerateSecurityTokenCommand.ts | 2 +- .../src/commands/ResetPersonalPINCommand.ts | 2 +- .../src/commands/RestorePhoneNumberCommand.ts | 2 +- .../SearchAvailablePhoneNumbersCommand.ts | 2 +- .../src/commands/SendChannelMessageCommand.ts | 141 - .../StartMeetingTranscriptionCommand.ts | 165 - .../StopMeetingTranscriptionCommand.ts | 123 - .../src/commands/TagAttendeeCommand.ts | 126 - .../src/commands/TagMeetingCommand.ts | 129 - .../src/commands/TagResourceCommand.ts | 123 - .../src/commands/UntagAttendeeCommand.ts | 120 - .../src/commands/UntagMeetingCommand.ts | 123 - .../src/commands/UntagResourceCommand.ts | 121 - .../src/commands/UpdateAccountCommand.ts | 2 +- .../commands/UpdateAccountSettingsCommand.ts | 2 +- .../src/commands/UpdateAppInstanceCommand.ts | 129 - .../commands/UpdateAppInstanceUserCommand.ts | 129 - .../src/commands/UpdateBotCommand.ts | 2 +- .../src/commands/UpdateChannelCommand.ts | 138 - .../commands/UpdateChannelMessageCommand.ts | 137 - .../UpdateChannelReadMarkerCommand.ts | 129 - .../commands/UpdateGlobalSettingsCommand.ts | 2 +- .../src/commands/UpdatePhoneNumberCommand.ts | 2 +- .../UpdatePhoneNumberSettingsCommand.ts | 2 +- .../src/commands/UpdateProxySessionCommand.ts | 155 - .../src/commands/UpdateRoomCommand.ts | 2 +- .../commands/UpdateRoomMembershipCommand.ts | 2 +- .../UpdateSipMediaApplicationCallCommand.ts | 141 - .../UpdateSipMediaApplicationCommand.ts | 148 - .../src/commands/UpdateSipRuleCommand.ts | 153 - .../src/commands/UpdateUserCommand.ts | 2 +- .../src/commands/UpdateUserSettingsCommand.ts | 2 +- .../commands/UpdateVoiceConnectorCommand.ts | 133 - .../UpdateVoiceConnectorGroupCommand.ts | 146 - .../commands/ValidateE911AddressCommand.ts | 160 - clients/client-chime/src/commands/index.ts | 131 +- clients/client-chime/src/models/index.ts | 1 - clients/client-chime/src/models/models_0.ts | 6700 ++--- clients/client-chime/src/models/models_1.ts | 4595 --- .../ListAppInstanceAdminsPaginator.ts | 24 - .../ListAppInstanceUsersPaginator.ts | 24 - .../pagination/ListAppInstancesPaginator.ts | 24 - .../src/pagination/ListAttendeesPaginator.ts | 24 - .../pagination/ListChannelBansPaginator.ts | 24 - ...lMembershipsForAppInstanceUserPaginator.ts | 24 - .../ListChannelMembershipsPaginator.ts | 24 - .../ListChannelMessagesPaginator.ts | 24 - .../ListChannelModeratorsPaginator.ts | 24 - ...nelsModeratedByAppInstanceUserPaginator.ts | 24 - .../src/pagination/ListChannelsPaginator.ts | 24 - .../ListMediaCapturePipelinesPaginator.ts | 24 - .../src/pagination/ListMeetingsPaginator.ts | 24 - .../pagination/ListProxySessionsPaginator.ts | 24 - .../ListSipMediaApplicationsPaginator.ts | 24 - .../src/pagination/ListSipRulesPaginator.ts | 24 - .../ListVoiceConnectorGroupsPaginator.ts | 24 - .../ListVoiceConnectorsPaginator.ts | 24 - clients/client-chime/src/pagination/index.ts | 18 - .../src/protocols/Aws_restJson1.ts | 8703 +----- codegen/sdk-codegen/aws-models/chime.json | 23028 +++------------- 190 files changed, 6673 insertions(+), 59644 deletions(-) delete mode 100644 clients/client-chime/src/commands/AssociatePhoneNumbersWithVoiceConnectorCommand.ts delete mode 100644 clients/client-chime/src/commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand.ts delete mode 100644 clients/client-chime/src/commands/BatchCreateAttendeeCommand.ts delete mode 100644 clients/client-chime/src/commands/BatchCreateChannelMembershipCommand.ts delete mode 100644 clients/client-chime/src/commands/CreateAppInstanceAdminCommand.ts delete mode 100644 clients/client-chime/src/commands/CreateAppInstanceCommand.ts delete mode 100644 clients/client-chime/src/commands/CreateAppInstanceUserCommand.ts delete mode 100644 clients/client-chime/src/commands/CreateAttendeeCommand.ts delete mode 100644 clients/client-chime/src/commands/CreateChannelBanCommand.ts delete mode 100644 clients/client-chime/src/commands/CreateChannelCommand.ts delete mode 100644 clients/client-chime/src/commands/CreateChannelMembershipCommand.ts delete mode 100644 clients/client-chime/src/commands/CreateChannelModeratorCommand.ts delete mode 100644 clients/client-chime/src/commands/CreateMediaCapturePipelineCommand.ts delete mode 100644 clients/client-chime/src/commands/CreateMeetingCommand.ts delete mode 100644 clients/client-chime/src/commands/CreateMeetingWithAttendeesCommand.ts delete mode 100644 clients/client-chime/src/commands/CreateProxySessionCommand.ts delete mode 100644 clients/client-chime/src/commands/CreateSipMediaApplicationCallCommand.ts delete mode 100644 clients/client-chime/src/commands/CreateSipMediaApplicationCommand.ts delete mode 100644 clients/client-chime/src/commands/CreateSipRuleCommand.ts delete mode 100644 clients/client-chime/src/commands/CreateVoiceConnectorCommand.ts delete mode 100644 clients/client-chime/src/commands/CreateVoiceConnectorGroupCommand.ts delete mode 100644 clients/client-chime/src/commands/DeleteAppInstanceAdminCommand.ts delete mode 100644 clients/client-chime/src/commands/DeleteAppInstanceCommand.ts delete mode 100644 clients/client-chime/src/commands/DeleteAppInstanceStreamingConfigurationsCommand.ts delete mode 100644 clients/client-chime/src/commands/DeleteAppInstanceUserCommand.ts delete mode 100644 clients/client-chime/src/commands/DeleteAttendeeCommand.ts delete mode 100644 clients/client-chime/src/commands/DeleteChannelBanCommand.ts delete mode 100644 clients/client-chime/src/commands/DeleteChannelCommand.ts delete mode 100644 clients/client-chime/src/commands/DeleteChannelMembershipCommand.ts delete mode 100644 clients/client-chime/src/commands/DeleteChannelMessageCommand.ts delete mode 100644 clients/client-chime/src/commands/DeleteChannelModeratorCommand.ts delete mode 100644 clients/client-chime/src/commands/DeleteMediaCapturePipelineCommand.ts delete mode 100644 clients/client-chime/src/commands/DeleteMeetingCommand.ts delete mode 100644 clients/client-chime/src/commands/DeleteProxySessionCommand.ts delete mode 100644 clients/client-chime/src/commands/DeleteSipMediaApplicationCommand.ts delete mode 100644 clients/client-chime/src/commands/DeleteSipRuleCommand.ts delete mode 100644 clients/client-chime/src/commands/DeleteVoiceConnectorCommand.ts delete mode 100644 clients/client-chime/src/commands/DeleteVoiceConnectorEmergencyCallingConfigurationCommand.ts delete mode 100644 clients/client-chime/src/commands/DeleteVoiceConnectorGroupCommand.ts delete mode 100644 clients/client-chime/src/commands/DeleteVoiceConnectorOriginationCommand.ts delete mode 100644 clients/client-chime/src/commands/DeleteVoiceConnectorProxyCommand.ts delete mode 100644 clients/client-chime/src/commands/DeleteVoiceConnectorStreamingConfigurationCommand.ts delete mode 100644 clients/client-chime/src/commands/DeleteVoiceConnectorTerminationCommand.ts delete mode 100644 clients/client-chime/src/commands/DeleteVoiceConnectorTerminationCredentialsCommand.ts delete mode 100644 clients/client-chime/src/commands/DescribeAppInstanceAdminCommand.ts delete mode 100644 clients/client-chime/src/commands/DescribeAppInstanceCommand.ts delete mode 100644 clients/client-chime/src/commands/DescribeAppInstanceUserCommand.ts delete mode 100644 clients/client-chime/src/commands/DescribeChannelBanCommand.ts delete mode 100644 clients/client-chime/src/commands/DescribeChannelCommand.ts delete mode 100644 clients/client-chime/src/commands/DescribeChannelMembershipCommand.ts delete mode 100644 clients/client-chime/src/commands/DescribeChannelMembershipForAppInstanceUserCommand.ts delete mode 100644 clients/client-chime/src/commands/DescribeChannelModeratedByAppInstanceUserCommand.ts delete mode 100644 clients/client-chime/src/commands/DescribeChannelModeratorCommand.ts delete mode 100644 clients/client-chime/src/commands/DisassociatePhoneNumbersFromVoiceConnectorCommand.ts delete mode 100644 clients/client-chime/src/commands/DisassociatePhoneNumbersFromVoiceConnectorGroupCommand.ts delete mode 100644 clients/client-chime/src/commands/GetAppInstanceRetentionSettingsCommand.ts delete mode 100644 clients/client-chime/src/commands/GetAppInstanceStreamingConfigurationsCommand.ts delete mode 100644 clients/client-chime/src/commands/GetAttendeeCommand.ts delete mode 100644 clients/client-chime/src/commands/GetChannelMessageCommand.ts delete mode 100644 clients/client-chime/src/commands/GetMediaCapturePipelineCommand.ts delete mode 100644 clients/client-chime/src/commands/GetMeetingCommand.ts delete mode 100644 clients/client-chime/src/commands/GetMessagingSessionEndpointCommand.ts delete mode 100644 clients/client-chime/src/commands/GetProxySessionCommand.ts delete mode 100644 clients/client-chime/src/commands/GetSipMediaApplicationCommand.ts delete mode 100644 clients/client-chime/src/commands/GetSipMediaApplicationLoggingConfigurationCommand.ts delete mode 100644 clients/client-chime/src/commands/GetSipRuleCommand.ts delete mode 100644 clients/client-chime/src/commands/GetVoiceConnectorCommand.ts delete mode 100644 clients/client-chime/src/commands/GetVoiceConnectorEmergencyCallingConfigurationCommand.ts delete mode 100644 clients/client-chime/src/commands/GetVoiceConnectorGroupCommand.ts delete mode 100644 clients/client-chime/src/commands/GetVoiceConnectorLoggingConfigurationCommand.ts delete mode 100644 clients/client-chime/src/commands/GetVoiceConnectorOriginationCommand.ts delete mode 100644 clients/client-chime/src/commands/GetVoiceConnectorProxyCommand.ts delete mode 100644 clients/client-chime/src/commands/GetVoiceConnectorStreamingConfigurationCommand.ts delete mode 100644 clients/client-chime/src/commands/GetVoiceConnectorTerminationCommand.ts delete mode 100644 clients/client-chime/src/commands/GetVoiceConnectorTerminationHealthCommand.ts delete mode 100644 clients/client-chime/src/commands/ListAppInstanceAdminsCommand.ts delete mode 100644 clients/client-chime/src/commands/ListAppInstanceUsersCommand.ts delete mode 100644 clients/client-chime/src/commands/ListAppInstancesCommand.ts delete mode 100644 clients/client-chime/src/commands/ListAttendeeTagsCommand.ts delete mode 100644 clients/client-chime/src/commands/ListAttendeesCommand.ts delete mode 100644 clients/client-chime/src/commands/ListChannelBansCommand.ts delete mode 100644 clients/client-chime/src/commands/ListChannelMembershipsCommand.ts delete mode 100644 clients/client-chime/src/commands/ListChannelMembershipsForAppInstanceUserCommand.ts delete mode 100644 clients/client-chime/src/commands/ListChannelMessagesCommand.ts delete mode 100644 clients/client-chime/src/commands/ListChannelModeratorsCommand.ts delete mode 100644 clients/client-chime/src/commands/ListChannelsCommand.ts delete mode 100644 clients/client-chime/src/commands/ListChannelsModeratedByAppInstanceUserCommand.ts delete mode 100644 clients/client-chime/src/commands/ListMediaCapturePipelinesCommand.ts delete mode 100644 clients/client-chime/src/commands/ListMeetingTagsCommand.ts delete mode 100644 clients/client-chime/src/commands/ListMeetingsCommand.ts delete mode 100644 clients/client-chime/src/commands/ListProxySessionsCommand.ts delete mode 100644 clients/client-chime/src/commands/ListSipMediaApplicationsCommand.ts delete mode 100644 clients/client-chime/src/commands/ListSipRulesCommand.ts delete mode 100644 clients/client-chime/src/commands/ListTagsForResourceCommand.ts delete mode 100644 clients/client-chime/src/commands/ListVoiceConnectorGroupsCommand.ts delete mode 100644 clients/client-chime/src/commands/ListVoiceConnectorTerminationCredentialsCommand.ts delete mode 100644 clients/client-chime/src/commands/ListVoiceConnectorsCommand.ts delete mode 100644 clients/client-chime/src/commands/PutAppInstanceRetentionSettingsCommand.ts delete mode 100644 clients/client-chime/src/commands/PutAppInstanceStreamingConfigurationsCommand.ts delete mode 100644 clients/client-chime/src/commands/PutSipMediaApplicationLoggingConfigurationCommand.ts delete mode 100644 clients/client-chime/src/commands/PutVoiceConnectorEmergencyCallingConfigurationCommand.ts delete mode 100644 clients/client-chime/src/commands/PutVoiceConnectorLoggingConfigurationCommand.ts delete mode 100644 clients/client-chime/src/commands/PutVoiceConnectorOriginationCommand.ts delete mode 100644 clients/client-chime/src/commands/PutVoiceConnectorProxyCommand.ts delete mode 100644 clients/client-chime/src/commands/PutVoiceConnectorStreamingConfigurationCommand.ts delete mode 100644 clients/client-chime/src/commands/PutVoiceConnectorTerminationCommand.ts delete mode 100644 clients/client-chime/src/commands/PutVoiceConnectorTerminationCredentialsCommand.ts delete mode 100644 clients/client-chime/src/commands/RedactChannelMessageCommand.ts delete mode 100644 clients/client-chime/src/commands/SendChannelMessageCommand.ts delete mode 100644 clients/client-chime/src/commands/StartMeetingTranscriptionCommand.ts delete mode 100644 clients/client-chime/src/commands/StopMeetingTranscriptionCommand.ts delete mode 100644 clients/client-chime/src/commands/TagAttendeeCommand.ts delete mode 100644 clients/client-chime/src/commands/TagMeetingCommand.ts delete mode 100644 clients/client-chime/src/commands/TagResourceCommand.ts delete mode 100644 clients/client-chime/src/commands/UntagAttendeeCommand.ts delete mode 100644 clients/client-chime/src/commands/UntagMeetingCommand.ts delete mode 100644 clients/client-chime/src/commands/UntagResourceCommand.ts delete mode 100644 clients/client-chime/src/commands/UpdateAppInstanceCommand.ts delete mode 100644 clients/client-chime/src/commands/UpdateAppInstanceUserCommand.ts delete mode 100644 clients/client-chime/src/commands/UpdateChannelCommand.ts delete mode 100644 clients/client-chime/src/commands/UpdateChannelMessageCommand.ts delete mode 100644 clients/client-chime/src/commands/UpdateChannelReadMarkerCommand.ts delete mode 100644 clients/client-chime/src/commands/UpdateProxySessionCommand.ts delete mode 100644 clients/client-chime/src/commands/UpdateSipMediaApplicationCallCommand.ts delete mode 100644 clients/client-chime/src/commands/UpdateSipMediaApplicationCommand.ts delete mode 100644 clients/client-chime/src/commands/UpdateSipRuleCommand.ts delete mode 100644 clients/client-chime/src/commands/UpdateVoiceConnectorCommand.ts delete mode 100644 clients/client-chime/src/commands/UpdateVoiceConnectorGroupCommand.ts delete mode 100644 clients/client-chime/src/commands/ValidateE911AddressCommand.ts delete mode 100644 clients/client-chime/src/models/models_1.ts delete mode 100644 clients/client-chime/src/pagination/ListAppInstanceAdminsPaginator.ts delete mode 100644 clients/client-chime/src/pagination/ListAppInstanceUsersPaginator.ts delete mode 100644 clients/client-chime/src/pagination/ListAppInstancesPaginator.ts delete mode 100644 clients/client-chime/src/pagination/ListAttendeesPaginator.ts delete mode 100644 clients/client-chime/src/pagination/ListChannelBansPaginator.ts delete mode 100644 clients/client-chime/src/pagination/ListChannelMembershipsForAppInstanceUserPaginator.ts delete mode 100644 clients/client-chime/src/pagination/ListChannelMembershipsPaginator.ts delete mode 100644 clients/client-chime/src/pagination/ListChannelMessagesPaginator.ts delete mode 100644 clients/client-chime/src/pagination/ListChannelModeratorsPaginator.ts delete mode 100644 clients/client-chime/src/pagination/ListChannelsModeratedByAppInstanceUserPaginator.ts delete mode 100644 clients/client-chime/src/pagination/ListChannelsPaginator.ts delete mode 100644 clients/client-chime/src/pagination/ListMediaCapturePipelinesPaginator.ts delete mode 100644 clients/client-chime/src/pagination/ListMeetingsPaginator.ts delete mode 100644 clients/client-chime/src/pagination/ListProxySessionsPaginator.ts delete mode 100644 clients/client-chime/src/pagination/ListSipMediaApplicationsPaginator.ts delete mode 100644 clients/client-chime/src/pagination/ListSipRulesPaginator.ts delete mode 100644 clients/client-chime/src/pagination/ListVoiceConnectorGroupsPaginator.ts delete mode 100644 clients/client-chime/src/pagination/ListVoiceConnectorsPaginator.ts diff --git a/clients/client-chime/README.md b/clients/client-chime/README.md index bb11d40c23a8..299e8f01967f 100644 --- a/clients/client-chime/README.md +++ b/clients/client-chime/README.md @@ -247,1234 +247,370 @@ see LICENSE for more information.
-AssociatePhoneNumbersWithVoiceConnector - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/AssociatePhoneNumbersWithVoiceConnectorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/AssociatePhoneNumbersWithVoiceConnectorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/AssociatePhoneNumbersWithVoiceConnectorCommandOutput/) - -
-
- -AssociatePhoneNumbersWithVoiceConnectorGroup - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/AssociatePhoneNumbersWithVoiceConnectorGroupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/AssociatePhoneNumbersWithVoiceConnectorGroupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/AssociatePhoneNumbersWithVoiceConnectorGroupCommandOutput/) - -
-
- -AssociatePhoneNumberWithUser - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/AssociatePhoneNumberWithUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/AssociatePhoneNumberWithUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/AssociatePhoneNumberWithUserCommandOutput/) - -
-
- -AssociateSigninDelegateGroupsWithAccount - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/AssociateSigninDelegateGroupsWithAccountCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/AssociateSigninDelegateGroupsWithAccountCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/AssociateSigninDelegateGroupsWithAccountCommandOutput/) - -
-
- -BatchCreateAttendee - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/BatchCreateAttendeeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchCreateAttendeeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchCreateAttendeeCommandOutput/) - -
-
- -BatchCreateChannelMembership - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/BatchCreateChannelMembershipCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchCreateChannelMembershipCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchCreateChannelMembershipCommandOutput/) - -
-
- -BatchCreateRoomMembership - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/BatchCreateRoomMembershipCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchCreateRoomMembershipCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchCreateRoomMembershipCommandOutput/) - -
-
- -BatchDeletePhoneNumber - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/BatchDeletePhoneNumberCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchDeletePhoneNumberCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchDeletePhoneNumberCommandOutput/) - -
-
- -BatchSuspendUser - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/BatchSuspendUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchSuspendUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchSuspendUserCommandOutput/) - -
-
- -BatchUnsuspendUser - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/BatchUnsuspendUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchUnsuspendUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchUnsuspendUserCommandOutput/) - -
-
- -BatchUpdatePhoneNumber - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/BatchUpdatePhoneNumberCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchUpdatePhoneNumberCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchUpdatePhoneNumberCommandOutput/) - -
-
- -BatchUpdateUser - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/BatchUpdateUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchUpdateUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchUpdateUserCommandOutput/) - -
-
- -CreateAccount - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateAccountCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateAccountCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateAccountCommandOutput/) - -
-
- -CreateAppInstance - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateAppInstanceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateAppInstanceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateAppInstanceCommandOutput/) - -
-
- -CreateAppInstanceAdmin - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateAppInstanceAdminCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateAppInstanceAdminCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateAppInstanceAdminCommandOutput/) - -
-
- -CreateAppInstanceUser - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateAppInstanceUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateAppInstanceUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateAppInstanceUserCommandOutput/) - -
-
- -CreateAttendee - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateAttendeeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateAttendeeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateAttendeeCommandOutput/) - -
-
- -CreateBot - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateBotCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateBotCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateBotCommandOutput/) - -
-
- -CreateChannel - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateChannelCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateChannelCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateChannelCommandOutput/) - -
-
- -CreateChannelBan - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateChannelBanCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateChannelBanCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateChannelBanCommandOutput/) - -
-
- -CreateChannelMembership - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateChannelMembershipCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateChannelMembershipCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateChannelMembershipCommandOutput/) - -
-
- -CreateChannelModerator - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateChannelModeratorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateChannelModeratorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateChannelModeratorCommandOutput/) - -
-
- -CreateMediaCapturePipeline - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateMediaCapturePipelineCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateMediaCapturePipelineCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateMediaCapturePipelineCommandOutput/) - -
-
- -CreateMeeting - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateMeetingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateMeetingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateMeetingCommandOutput/) - -
-
- -CreateMeetingDialOut - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateMeetingDialOutCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateMeetingDialOutCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateMeetingDialOutCommandOutput/) - -
-
- -CreateMeetingWithAttendees - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateMeetingWithAttendeesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateMeetingWithAttendeesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateMeetingWithAttendeesCommandOutput/) - -
-
- -CreatePhoneNumberOrder - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreatePhoneNumberOrderCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreatePhoneNumberOrderCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreatePhoneNumberOrderCommandOutput/) - -
-
- -CreateProxySession - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateProxySessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateProxySessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateProxySessionCommandOutput/) - -
-
- -CreateRoom - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateRoomCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateRoomCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateRoomCommandOutput/) - -
-
- -CreateRoomMembership - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateRoomMembershipCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateRoomMembershipCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateRoomMembershipCommandOutput/) - -
-
- -CreateSipMediaApplication - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateSipMediaApplicationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateSipMediaApplicationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateSipMediaApplicationCommandOutput/) - -
-
- -CreateSipMediaApplicationCall - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateSipMediaApplicationCallCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateSipMediaApplicationCallCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateSipMediaApplicationCallCommandOutput/) - -
-
- -CreateSipRule - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateSipRuleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateSipRuleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateSipRuleCommandOutput/) - -
-
- -CreateUser - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateUserCommandOutput/) - -
-
- -CreateVoiceConnector - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateVoiceConnectorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateVoiceConnectorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateVoiceConnectorCommandOutput/) - -
-
- -CreateVoiceConnectorGroup - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateVoiceConnectorGroupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateVoiceConnectorGroupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateVoiceConnectorGroupCommandOutput/) - -
-
- -DeleteAccount - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteAccountCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteAccountCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteAccountCommandOutput/) - -
-
- -DeleteAppInstance - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteAppInstanceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteAppInstanceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteAppInstanceCommandOutput/) - -
-
- -DeleteAppInstanceAdmin - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteAppInstanceAdminCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteAppInstanceAdminCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteAppInstanceAdminCommandOutput/) - -
-
- -DeleteAppInstanceStreamingConfigurations - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteAppInstanceStreamingConfigurationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteAppInstanceStreamingConfigurationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteAppInstanceStreamingConfigurationsCommandOutput/) - -
-
- -DeleteAppInstanceUser - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteAppInstanceUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteAppInstanceUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteAppInstanceUserCommandOutput/) - -
-
- -DeleteAttendee - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteAttendeeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteAttendeeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteAttendeeCommandOutput/) - -
-
- -DeleteChannel - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteChannelCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteChannelCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteChannelCommandOutput/) - -
-
- -DeleteChannelBan - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteChannelBanCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteChannelBanCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteChannelBanCommandOutput/) - -
-
- -DeleteChannelMembership - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteChannelMembershipCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteChannelMembershipCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteChannelMembershipCommandOutput/) - -
-
- -DeleteChannelMessage - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteChannelMessageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteChannelMessageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteChannelMessageCommandOutput/) - -
-
- -DeleteChannelModerator - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteChannelModeratorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteChannelModeratorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteChannelModeratorCommandOutput/) - -
-
- -DeleteEventsConfiguration - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteEventsConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteEventsConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteEventsConfigurationCommandOutput/) - -
-
- -DeleteMediaCapturePipeline - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteMediaCapturePipelineCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteMediaCapturePipelineCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteMediaCapturePipelineCommandOutput/) - -
-
- -DeleteMeeting - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteMeetingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteMeetingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteMeetingCommandOutput/) - -
-
- -DeletePhoneNumber - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeletePhoneNumberCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeletePhoneNumberCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeletePhoneNumberCommandOutput/) - -
-
- -DeleteProxySession - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteProxySessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteProxySessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteProxySessionCommandOutput/) - -
-
- -DeleteRoom - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteRoomCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteRoomCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteRoomCommandOutput/) - -
-
- -DeleteRoomMembership - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteRoomMembershipCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteRoomMembershipCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteRoomMembershipCommandOutput/) - -
-
- -DeleteSipMediaApplication - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteSipMediaApplicationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteSipMediaApplicationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteSipMediaApplicationCommandOutput/) - -
-
- -DeleteSipRule - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteSipRuleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteSipRuleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteSipRuleCommandOutput/) - -
-
- -DeleteVoiceConnector - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteVoiceConnectorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteVoiceConnectorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteVoiceConnectorCommandOutput/) - -
-
- -DeleteVoiceConnectorEmergencyCallingConfiguration - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteVoiceConnectorEmergencyCallingConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteVoiceConnectorEmergencyCallingConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteVoiceConnectorEmergencyCallingConfigurationCommandOutput/) - -
-
- -DeleteVoiceConnectorGroup - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteVoiceConnectorGroupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteVoiceConnectorGroupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteVoiceConnectorGroupCommandOutput/) - -
-
- -DeleteVoiceConnectorOrigination - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteVoiceConnectorOriginationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteVoiceConnectorOriginationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteVoiceConnectorOriginationCommandOutput/) - -
-
- -DeleteVoiceConnectorProxy - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteVoiceConnectorProxyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteVoiceConnectorProxyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteVoiceConnectorProxyCommandOutput/) - -
-
- -DeleteVoiceConnectorStreamingConfiguration - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteVoiceConnectorStreamingConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteVoiceConnectorStreamingConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteVoiceConnectorStreamingConfigurationCommandOutput/) - -
-
- -DeleteVoiceConnectorTermination - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteVoiceConnectorTerminationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteVoiceConnectorTerminationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteVoiceConnectorTerminationCommandOutput/) - -
-
- -DeleteVoiceConnectorTerminationCredentials - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteVoiceConnectorTerminationCredentialsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteVoiceConnectorTerminationCredentialsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteVoiceConnectorTerminationCredentialsCommandOutput/) - -
-
- -DescribeAppInstance - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DescribeAppInstanceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DescribeAppInstanceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DescribeAppInstanceCommandOutput/) - -
-
- -DescribeAppInstanceAdmin - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DescribeAppInstanceAdminCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DescribeAppInstanceAdminCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DescribeAppInstanceAdminCommandOutput/) - -
-
- -DescribeAppInstanceUser - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DescribeAppInstanceUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DescribeAppInstanceUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DescribeAppInstanceUserCommandOutput/) - -
-
- -DescribeChannel - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DescribeChannelCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DescribeChannelCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DescribeChannelCommandOutput/) - -
-
- -DescribeChannelBan - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DescribeChannelBanCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DescribeChannelBanCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DescribeChannelBanCommandOutput/) - -
-
- -DescribeChannelMembership - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DescribeChannelMembershipCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DescribeChannelMembershipCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DescribeChannelMembershipCommandOutput/) - -
-
- -DescribeChannelMembershipForAppInstanceUser - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DescribeChannelMembershipForAppInstanceUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DescribeChannelMembershipForAppInstanceUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DescribeChannelMembershipForAppInstanceUserCommandOutput/) - -
-
- -DescribeChannelModeratedByAppInstanceUser - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DescribeChannelModeratedByAppInstanceUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DescribeChannelModeratedByAppInstanceUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DescribeChannelModeratedByAppInstanceUserCommandOutput/) - -
-
- -DescribeChannelModerator - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DescribeChannelModeratorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DescribeChannelModeratorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DescribeChannelModeratorCommandOutput/) - -
-
- -DisassociatePhoneNumberFromUser - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DisassociatePhoneNumberFromUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DisassociatePhoneNumberFromUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DisassociatePhoneNumberFromUserCommandOutput/) - -
-
- -DisassociatePhoneNumbersFromVoiceConnector - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DisassociatePhoneNumbersFromVoiceConnectorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DisassociatePhoneNumbersFromVoiceConnectorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DisassociatePhoneNumbersFromVoiceConnectorCommandOutput/) - -
-
- -DisassociatePhoneNumbersFromVoiceConnectorGroup - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DisassociatePhoneNumbersFromVoiceConnectorGroupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DisassociatePhoneNumbersFromVoiceConnectorGroupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DisassociatePhoneNumbersFromVoiceConnectorGroupCommandOutput/) - -
-
- -DisassociateSigninDelegateGroupsFromAccount - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DisassociateSigninDelegateGroupsFromAccountCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DisassociateSigninDelegateGroupsFromAccountCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DisassociateSigninDelegateGroupsFromAccountCommandOutput/) - -
-
- -GetAccount - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetAccountCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetAccountCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetAccountCommandOutput/) - -
-
- -GetAccountSettings - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetAccountSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetAccountSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetAccountSettingsCommandOutput/) - -
-
- -GetAppInstanceRetentionSettings - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetAppInstanceRetentionSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetAppInstanceRetentionSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetAppInstanceRetentionSettingsCommandOutput/) - -
-
- -GetAppInstanceStreamingConfigurations - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetAppInstanceStreamingConfigurationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetAppInstanceStreamingConfigurationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetAppInstanceStreamingConfigurationsCommandOutput/) - -
-
- -GetAttendee - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetAttendeeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetAttendeeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetAttendeeCommandOutput/) - -
-
- -GetBot - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetBotCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetBotCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetBotCommandOutput/) - -
-
- -GetChannelMessage - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetChannelMessageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetChannelMessageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetChannelMessageCommandOutput/) - -
-
- -GetEventsConfiguration - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetEventsConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetEventsConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetEventsConfigurationCommandOutput/) - -
-
- -GetGlobalSettings - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetGlobalSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetGlobalSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetGlobalSettingsCommandOutput/) - -
-
- -GetMediaCapturePipeline - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetMediaCapturePipelineCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetMediaCapturePipelineCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetMediaCapturePipelineCommandOutput/) - -
-
- -GetMeeting - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetMeetingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetMeetingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetMeetingCommandOutput/) - -
-
- -GetMessagingSessionEndpoint - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetMessagingSessionEndpointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetMessagingSessionEndpointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetMessagingSessionEndpointCommandOutput/) - -
-
- -GetPhoneNumber - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetPhoneNumberCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetPhoneNumberCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetPhoneNumberCommandOutput/) - -
-
- -GetPhoneNumberOrder - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetPhoneNumberOrderCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetPhoneNumberOrderCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetPhoneNumberOrderCommandOutput/) - -
-
- -GetPhoneNumberSettings - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetPhoneNumberSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetPhoneNumberSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetPhoneNumberSettingsCommandOutput/) - -
-
- -GetProxySession - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetProxySessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetProxySessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetProxySessionCommandOutput/) - -
-
- -GetRetentionSettings - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetRetentionSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetRetentionSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetRetentionSettingsCommandOutput/) - -
-
- -GetRoom - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetRoomCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetRoomCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetRoomCommandOutput/) - -
-
- -GetSipMediaApplication - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetSipMediaApplicationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetSipMediaApplicationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetSipMediaApplicationCommandOutput/) - -
-
- -GetSipMediaApplicationLoggingConfiguration - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetSipMediaApplicationLoggingConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetSipMediaApplicationLoggingConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetSipMediaApplicationLoggingConfigurationCommandOutput/) - -
-
- -GetSipRule - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetSipRuleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetSipRuleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetSipRuleCommandOutput/) - -
-
- -GetUser - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetUserCommandOutput/) - -
-
- -GetUserSettings - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetUserSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetUserSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetUserSettingsCommandOutput/) - -
-
- -GetVoiceConnector - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetVoiceConnectorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetVoiceConnectorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetVoiceConnectorCommandOutput/) - -
-
- -GetVoiceConnectorEmergencyCallingConfiguration - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetVoiceConnectorEmergencyCallingConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetVoiceConnectorEmergencyCallingConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetVoiceConnectorEmergencyCallingConfigurationCommandOutput/) - -
-
- -GetVoiceConnectorGroup - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetVoiceConnectorGroupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetVoiceConnectorGroupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetVoiceConnectorGroupCommandOutput/) - -
-
- -GetVoiceConnectorLoggingConfiguration - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetVoiceConnectorLoggingConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetVoiceConnectorLoggingConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetVoiceConnectorLoggingConfigurationCommandOutput/) - -
-
- -GetVoiceConnectorOrigination - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetVoiceConnectorOriginationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetVoiceConnectorOriginationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetVoiceConnectorOriginationCommandOutput/) - -
-
- -GetVoiceConnectorProxy - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetVoiceConnectorProxyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetVoiceConnectorProxyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetVoiceConnectorProxyCommandOutput/) - -
-
- -GetVoiceConnectorStreamingConfiguration - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetVoiceConnectorStreamingConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetVoiceConnectorStreamingConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetVoiceConnectorStreamingConfigurationCommandOutput/) - -
-
- -GetVoiceConnectorTermination - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetVoiceConnectorTerminationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetVoiceConnectorTerminationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetVoiceConnectorTerminationCommandOutput/) - -
-
- -GetVoiceConnectorTerminationHealth +AssociatePhoneNumberWithUser -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetVoiceConnectorTerminationHealthCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetVoiceConnectorTerminationHealthCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetVoiceConnectorTerminationHealthCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/AssociatePhoneNumberWithUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/AssociatePhoneNumberWithUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/AssociatePhoneNumberWithUserCommandOutput/)
-InviteUsers +AssociateSigninDelegateGroupsWithAccount -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/InviteUsersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/InviteUsersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/InviteUsersCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/AssociateSigninDelegateGroupsWithAccountCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/AssociateSigninDelegateGroupsWithAccountCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/AssociateSigninDelegateGroupsWithAccountCommandOutput/)
-ListAccounts +BatchCreateRoomMembership -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListAccountsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListAccountsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListAccountsCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/BatchCreateRoomMembershipCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchCreateRoomMembershipCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchCreateRoomMembershipCommandOutput/)
-ListAppInstanceAdmins +BatchDeletePhoneNumber -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListAppInstanceAdminsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListAppInstanceAdminsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListAppInstanceAdminsCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/BatchDeletePhoneNumberCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchDeletePhoneNumberCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchDeletePhoneNumberCommandOutput/)
-ListAppInstances +BatchSuspendUser -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListAppInstancesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListAppInstancesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListAppInstancesCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/BatchSuspendUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchSuspendUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchSuspendUserCommandOutput/)
-ListAppInstanceUsers +BatchUnsuspendUser -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListAppInstanceUsersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListAppInstanceUsersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListAppInstanceUsersCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/BatchUnsuspendUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchUnsuspendUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchUnsuspendUserCommandOutput/)
-ListAttendees +BatchUpdatePhoneNumber -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListAttendeesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListAttendeesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListAttendeesCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/BatchUpdatePhoneNumberCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchUpdatePhoneNumberCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchUpdatePhoneNumberCommandOutput/)
-ListAttendeeTags +BatchUpdateUser -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListAttendeeTagsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListAttendeeTagsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListAttendeeTagsCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/BatchUpdateUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchUpdateUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/BatchUpdateUserCommandOutput/)
-ListBots +CreateAccount -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListBotsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListBotsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListBotsCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateAccountCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateAccountCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateAccountCommandOutput/)
-ListChannelBans +CreateBot -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListChannelBansCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListChannelBansCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListChannelBansCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateBotCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateBotCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateBotCommandOutput/)
-ListChannelMemberships +CreateMeetingDialOut -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListChannelMembershipsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListChannelMembershipsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListChannelMembershipsCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateMeetingDialOutCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateMeetingDialOutCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateMeetingDialOutCommandOutput/)
-ListChannelMembershipsForAppInstanceUser +CreatePhoneNumberOrder -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListChannelMembershipsForAppInstanceUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListChannelMembershipsForAppInstanceUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListChannelMembershipsForAppInstanceUserCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreatePhoneNumberOrderCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreatePhoneNumberOrderCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreatePhoneNumberOrderCommandOutput/)
-ListChannelMessages +CreateRoom -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListChannelMessagesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListChannelMessagesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListChannelMessagesCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateRoomCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateRoomCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateRoomCommandOutput/)
-ListChannelModerators +CreateRoomMembership -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListChannelModeratorsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListChannelModeratorsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListChannelModeratorsCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateRoomMembershipCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateRoomMembershipCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateRoomMembershipCommandOutput/)
-ListChannels +CreateUser -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListChannelsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListChannelsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListChannelsCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/CreateUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/CreateUserCommandOutput/)
-ListChannelsModeratedByAppInstanceUser +DeleteAccount -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListChannelsModeratedByAppInstanceUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListChannelsModeratedByAppInstanceUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListChannelsModeratedByAppInstanceUserCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteAccountCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteAccountCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteAccountCommandOutput/)
-ListMediaCapturePipelines +DeleteEventsConfiguration -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListMediaCapturePipelinesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListMediaCapturePipelinesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListMediaCapturePipelinesCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteEventsConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteEventsConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteEventsConfigurationCommandOutput/)
-ListMeetings +DeletePhoneNumber -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListMeetingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListMeetingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListMeetingsCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeletePhoneNumberCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeletePhoneNumberCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeletePhoneNumberCommandOutput/)
-ListMeetingTags +DeleteRoom -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListMeetingTagsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListMeetingTagsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListMeetingTagsCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteRoomCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteRoomCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteRoomCommandOutput/)
-ListPhoneNumberOrders +DeleteRoomMembership -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListPhoneNumberOrdersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListPhoneNumberOrdersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListPhoneNumberOrdersCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DeleteRoomMembershipCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteRoomMembershipCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DeleteRoomMembershipCommandOutput/)
-ListPhoneNumbers +DisassociatePhoneNumberFromUser -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListPhoneNumbersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListPhoneNumbersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListPhoneNumbersCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DisassociatePhoneNumberFromUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DisassociatePhoneNumberFromUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DisassociatePhoneNumberFromUserCommandOutput/)
-ListProxySessions +DisassociateSigninDelegateGroupsFromAccount -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListProxySessionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListProxySessionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListProxySessionsCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/DisassociateSigninDelegateGroupsFromAccountCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DisassociateSigninDelegateGroupsFromAccountCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/DisassociateSigninDelegateGroupsFromAccountCommandOutput/)
-ListRoomMemberships +GetAccount -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListRoomMembershipsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListRoomMembershipsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListRoomMembershipsCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetAccountCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetAccountCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetAccountCommandOutput/)
-ListRooms +GetAccountSettings -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListRoomsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListRoomsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListRoomsCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetAccountSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetAccountSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetAccountSettingsCommandOutput/)
-ListSipMediaApplications +GetBot -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListSipMediaApplicationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListSipMediaApplicationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListSipMediaApplicationsCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetBotCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetBotCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetBotCommandOutput/)
-ListSipRules +GetEventsConfiguration -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListSipRulesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListSipRulesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListSipRulesCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetEventsConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetEventsConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetEventsConfigurationCommandOutput/)
-ListSupportedPhoneNumberCountries +GetGlobalSettings -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListSupportedPhoneNumberCountriesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListSupportedPhoneNumberCountriesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListSupportedPhoneNumberCountriesCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetGlobalSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetGlobalSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetGlobalSettingsCommandOutput/)
-ListTagsForResource +GetPhoneNumber -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListTagsForResourceCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetPhoneNumberCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetPhoneNumberCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetPhoneNumberCommandOutput/)
-ListUsers +GetPhoneNumberOrder -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListUsersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListUsersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListUsersCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetPhoneNumberOrderCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetPhoneNumberOrderCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetPhoneNumberOrderCommandOutput/)
-ListVoiceConnectorGroups +GetPhoneNumberSettings -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListVoiceConnectorGroupsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListVoiceConnectorGroupsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListVoiceConnectorGroupsCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetPhoneNumberSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetPhoneNumberSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetPhoneNumberSettingsCommandOutput/)
-ListVoiceConnectors +GetRetentionSettings -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListVoiceConnectorsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListVoiceConnectorsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListVoiceConnectorsCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetRetentionSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetRetentionSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetRetentionSettingsCommandOutput/)
-ListVoiceConnectorTerminationCredentials +GetRoom -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListVoiceConnectorTerminationCredentialsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListVoiceConnectorTerminationCredentialsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListVoiceConnectorTerminationCredentialsCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetRoomCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetRoomCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetRoomCommandOutput/)
-LogoutUser +GetUser -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/LogoutUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/LogoutUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/LogoutUserCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetUserCommandOutput/)
-PutAppInstanceRetentionSettings +GetUserSettings -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/PutAppInstanceRetentionSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutAppInstanceRetentionSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutAppInstanceRetentionSettingsCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/GetUserSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetUserSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/GetUserSettingsCommandOutput/)
-PutAppInstanceStreamingConfigurations +InviteUsers -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/PutAppInstanceStreamingConfigurationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutAppInstanceStreamingConfigurationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutAppInstanceStreamingConfigurationsCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/InviteUsersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/InviteUsersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/InviteUsersCommandOutput/)
-PutEventsConfiguration +ListAccounts -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/PutEventsConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutEventsConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutEventsConfigurationCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListAccountsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListAccountsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListAccountsCommandOutput/)
-PutRetentionSettings +ListBots -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/PutRetentionSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutRetentionSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutRetentionSettingsCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListBotsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListBotsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListBotsCommandOutput/)
-PutSipMediaApplicationLoggingConfiguration +ListPhoneNumberOrders -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/PutSipMediaApplicationLoggingConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutSipMediaApplicationLoggingConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutSipMediaApplicationLoggingConfigurationCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListPhoneNumberOrdersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListPhoneNumberOrdersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListPhoneNumberOrdersCommandOutput/)
-PutVoiceConnectorEmergencyCallingConfiguration +ListPhoneNumbers -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/PutVoiceConnectorEmergencyCallingConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutVoiceConnectorEmergencyCallingConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutVoiceConnectorEmergencyCallingConfigurationCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListPhoneNumbersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListPhoneNumbersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListPhoneNumbersCommandOutput/)
-PutVoiceConnectorLoggingConfiguration +ListRoomMemberships -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/PutVoiceConnectorLoggingConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutVoiceConnectorLoggingConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutVoiceConnectorLoggingConfigurationCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListRoomMembershipsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListRoomMembershipsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListRoomMembershipsCommandOutput/)
-PutVoiceConnectorOrigination +ListRooms -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/PutVoiceConnectorOriginationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutVoiceConnectorOriginationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutVoiceConnectorOriginationCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListRoomsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListRoomsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListRoomsCommandOutput/)
-PutVoiceConnectorProxy +ListSupportedPhoneNumberCountries -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/PutVoiceConnectorProxyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutVoiceConnectorProxyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutVoiceConnectorProxyCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListSupportedPhoneNumberCountriesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListSupportedPhoneNumberCountriesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListSupportedPhoneNumberCountriesCommandOutput/)
-PutVoiceConnectorStreamingConfiguration +ListUsers -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/PutVoiceConnectorStreamingConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutVoiceConnectorStreamingConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutVoiceConnectorStreamingConfigurationCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ListUsersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListUsersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ListUsersCommandOutput/)
-PutVoiceConnectorTermination +LogoutUser -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/PutVoiceConnectorTerminationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutVoiceConnectorTerminationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutVoiceConnectorTerminationCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/LogoutUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/LogoutUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/LogoutUserCommandOutput/)
-PutVoiceConnectorTerminationCredentials +PutEventsConfiguration -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/PutVoiceConnectorTerminationCredentialsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutVoiceConnectorTerminationCredentialsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutVoiceConnectorTerminationCredentialsCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/PutEventsConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutEventsConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutEventsConfigurationCommandOutput/)
-RedactChannelMessage +PutRetentionSettings -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/RedactChannelMessageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/RedactChannelMessageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/RedactChannelMessageCommandOutput/) +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/PutRetentionSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutRetentionSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/PutRetentionSettingsCommandOutput/)
@@ -1524,78 +660,6 @@ SearchAvailablePhoneNumbers [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/SearchAvailablePhoneNumbersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/SearchAvailablePhoneNumbersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/SearchAvailablePhoneNumbersCommandOutput/) -
-
- -SendChannelMessage - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/SendChannelMessageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/SendChannelMessageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/SendChannelMessageCommandOutput/) - -
-
- -StartMeetingTranscription - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/StartMeetingTranscriptionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/StartMeetingTranscriptionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/StartMeetingTranscriptionCommandOutput/) - -
-
- -StopMeetingTranscription - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/StopMeetingTranscriptionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/StopMeetingTranscriptionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/StopMeetingTranscriptionCommandOutput/) - -
-
- -TagAttendee - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/TagAttendeeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/TagAttendeeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/TagAttendeeCommandOutput/) - -
-
- -TagMeeting - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/TagMeetingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/TagMeetingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/TagMeetingCommandOutput/) - -
-
- -TagResource - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/TagResourceCommandOutput/) - -
-
- -UntagAttendee - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/UntagAttendeeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UntagAttendeeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UntagAttendeeCommandOutput/) - -
-
- -UntagMeeting - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/UntagMeetingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UntagMeetingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UntagMeetingCommandOutput/) - -
-
- -UntagResource - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UntagResourceCommandOutput/) -
@@ -1612,22 +676,6 @@ UpdateAccountSettings [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/UpdateAccountSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateAccountSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateAccountSettingsCommandOutput/) -
-
- -UpdateAppInstance - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/UpdateAppInstanceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateAppInstanceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateAppInstanceCommandOutput/) - -
-
- -UpdateAppInstanceUser - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/UpdateAppInstanceUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateAppInstanceUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateAppInstanceUserCommandOutput/) -
@@ -1636,30 +684,6 @@ UpdateBot [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/UpdateBotCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateBotCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateBotCommandOutput/) -
-
- -UpdateChannel - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/UpdateChannelCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateChannelCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateChannelCommandOutput/) - -
-
- -UpdateChannelMessage - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/UpdateChannelMessageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateChannelMessageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateChannelMessageCommandOutput/) - -
-
- -UpdateChannelReadMarker - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/UpdateChannelReadMarkerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateChannelReadMarkerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateChannelReadMarkerCommandOutput/) -
@@ -1684,14 +708,6 @@ UpdatePhoneNumberSettings [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/UpdatePhoneNumberSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdatePhoneNumberSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdatePhoneNumberSettingsCommandOutput/) -
-
- -UpdateProxySession - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/UpdateProxySessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateProxySessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateProxySessionCommandOutput/) -
@@ -1708,30 +724,6 @@ UpdateRoomMembership [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/UpdateRoomMembershipCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateRoomMembershipCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateRoomMembershipCommandOutput/) -
-
- -UpdateSipMediaApplication - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/UpdateSipMediaApplicationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateSipMediaApplicationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateSipMediaApplicationCommandOutput/) - -
-
- -UpdateSipMediaApplicationCall - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/UpdateSipMediaApplicationCallCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateSipMediaApplicationCallCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateSipMediaApplicationCallCommandOutput/) - -
-
- -UpdateSipRule - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/UpdateSipRuleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateSipRuleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateSipRuleCommandOutput/) -
@@ -1749,27 +741,3 @@ UpdateUserSettings [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/UpdateUserSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateUserSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateUserSettingsCommandOutput/)
-
- -UpdateVoiceConnector - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/UpdateVoiceConnectorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateVoiceConnectorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateVoiceConnectorCommandOutput/) - -
-
- -UpdateVoiceConnectorGroup - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/UpdateVoiceConnectorGroupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateVoiceConnectorGroupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/UpdateVoiceConnectorGroupCommandOutput/) - -
-
- -ValidateE911Address - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chime/command/ValidateE911AddressCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ValidateE911AddressCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chime/Interface/ValidateE911AddressCommandOutput/) - -
diff --git a/clients/client-chime/src/Chime.ts b/clients/client-chime/src/Chime.ts index 0260c8a5f509..0a0405186cff 100644 --- a/clients/client-chime/src/Chime.ts +++ b/clients/client-chime/src/Chime.ts @@ -3,16 +3,6 @@ import { createAggregatedClient } from "@smithy/smithy-client"; import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; import { ChimeClient, ChimeClientConfig } from "./ChimeClient"; -import { - AssociatePhoneNumbersWithVoiceConnectorCommand, - AssociatePhoneNumbersWithVoiceConnectorCommandInput, - AssociatePhoneNumbersWithVoiceConnectorCommandOutput, -} from "./commands/AssociatePhoneNumbersWithVoiceConnectorCommand"; -import { - AssociatePhoneNumbersWithVoiceConnectorGroupCommand, - AssociatePhoneNumbersWithVoiceConnectorGroupCommandInput, - AssociatePhoneNumbersWithVoiceConnectorGroupCommandOutput, -} from "./commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand"; import { AssociatePhoneNumberWithUserCommand, AssociatePhoneNumberWithUserCommandInput, @@ -23,16 +13,6 @@ import { AssociateSigninDelegateGroupsWithAccountCommandInput, AssociateSigninDelegateGroupsWithAccountCommandOutput, } from "./commands/AssociateSigninDelegateGroupsWithAccountCommand"; -import { - BatchCreateAttendeeCommand, - BatchCreateAttendeeCommandInput, - BatchCreateAttendeeCommandOutput, -} from "./commands/BatchCreateAttendeeCommand"; -import { - BatchCreateChannelMembershipCommand, - BatchCreateChannelMembershipCommandInput, - BatchCreateChannelMembershipCommandOutput, -} from "./commands/BatchCreateChannelMembershipCommand"; import { BatchCreateRoomMembershipCommand, BatchCreateRoomMembershipCommandInput, @@ -68,305 +48,50 @@ import { CreateAccountCommandInput, CreateAccountCommandOutput, } from "./commands/CreateAccountCommand"; -import { - CreateAppInstanceAdminCommand, - CreateAppInstanceAdminCommandInput, - CreateAppInstanceAdminCommandOutput, -} from "./commands/CreateAppInstanceAdminCommand"; -import { - CreateAppInstanceCommand, - CreateAppInstanceCommandInput, - CreateAppInstanceCommandOutput, -} from "./commands/CreateAppInstanceCommand"; -import { - CreateAppInstanceUserCommand, - CreateAppInstanceUserCommandInput, - CreateAppInstanceUserCommandOutput, -} from "./commands/CreateAppInstanceUserCommand"; -import { - CreateAttendeeCommand, - CreateAttendeeCommandInput, - CreateAttendeeCommandOutput, -} from "./commands/CreateAttendeeCommand"; import { CreateBotCommand, CreateBotCommandInput, CreateBotCommandOutput } from "./commands/CreateBotCommand"; -import { - CreateChannelBanCommand, - CreateChannelBanCommandInput, - CreateChannelBanCommandOutput, -} from "./commands/CreateChannelBanCommand"; -import { - CreateChannelCommand, - CreateChannelCommandInput, - CreateChannelCommandOutput, -} from "./commands/CreateChannelCommand"; -import { - CreateChannelMembershipCommand, - CreateChannelMembershipCommandInput, - CreateChannelMembershipCommandOutput, -} from "./commands/CreateChannelMembershipCommand"; -import { - CreateChannelModeratorCommand, - CreateChannelModeratorCommandInput, - CreateChannelModeratorCommandOutput, -} from "./commands/CreateChannelModeratorCommand"; -import { - CreateMediaCapturePipelineCommand, - CreateMediaCapturePipelineCommandInput, - CreateMediaCapturePipelineCommandOutput, -} from "./commands/CreateMediaCapturePipelineCommand"; -import { - CreateMeetingCommand, - CreateMeetingCommandInput, - CreateMeetingCommandOutput, -} from "./commands/CreateMeetingCommand"; import { CreateMeetingDialOutCommand, CreateMeetingDialOutCommandInput, CreateMeetingDialOutCommandOutput, } from "./commands/CreateMeetingDialOutCommand"; -import { - CreateMeetingWithAttendeesCommand, - CreateMeetingWithAttendeesCommandInput, - CreateMeetingWithAttendeesCommandOutput, -} from "./commands/CreateMeetingWithAttendeesCommand"; import { CreatePhoneNumberOrderCommand, CreatePhoneNumberOrderCommandInput, CreatePhoneNumberOrderCommandOutput, } from "./commands/CreatePhoneNumberOrderCommand"; -import { - CreateProxySessionCommand, - CreateProxySessionCommandInput, - CreateProxySessionCommandOutput, -} from "./commands/CreateProxySessionCommand"; import { CreateRoomCommand, CreateRoomCommandInput, CreateRoomCommandOutput } from "./commands/CreateRoomCommand"; import { CreateRoomMembershipCommand, CreateRoomMembershipCommandInput, CreateRoomMembershipCommandOutput, } from "./commands/CreateRoomMembershipCommand"; -import { - CreateSipMediaApplicationCallCommand, - CreateSipMediaApplicationCallCommandInput, - CreateSipMediaApplicationCallCommandOutput, -} from "./commands/CreateSipMediaApplicationCallCommand"; -import { - CreateSipMediaApplicationCommand, - CreateSipMediaApplicationCommandInput, - CreateSipMediaApplicationCommandOutput, -} from "./commands/CreateSipMediaApplicationCommand"; -import { - CreateSipRuleCommand, - CreateSipRuleCommandInput, - CreateSipRuleCommandOutput, -} from "./commands/CreateSipRuleCommand"; import { CreateUserCommand, CreateUserCommandInput, CreateUserCommandOutput } from "./commands/CreateUserCommand"; -import { - CreateVoiceConnectorCommand, - CreateVoiceConnectorCommandInput, - CreateVoiceConnectorCommandOutput, -} from "./commands/CreateVoiceConnectorCommand"; -import { - CreateVoiceConnectorGroupCommand, - CreateVoiceConnectorGroupCommandInput, - CreateVoiceConnectorGroupCommandOutput, -} from "./commands/CreateVoiceConnectorGroupCommand"; import { DeleteAccountCommand, DeleteAccountCommandInput, DeleteAccountCommandOutput, } from "./commands/DeleteAccountCommand"; -import { - DeleteAppInstanceAdminCommand, - DeleteAppInstanceAdminCommandInput, - DeleteAppInstanceAdminCommandOutput, -} from "./commands/DeleteAppInstanceAdminCommand"; -import { - DeleteAppInstanceCommand, - DeleteAppInstanceCommandInput, - DeleteAppInstanceCommandOutput, -} from "./commands/DeleteAppInstanceCommand"; -import { - DeleteAppInstanceStreamingConfigurationsCommand, - DeleteAppInstanceStreamingConfigurationsCommandInput, - DeleteAppInstanceStreamingConfigurationsCommandOutput, -} from "./commands/DeleteAppInstanceStreamingConfigurationsCommand"; -import { - DeleteAppInstanceUserCommand, - DeleteAppInstanceUserCommandInput, - DeleteAppInstanceUserCommandOutput, -} from "./commands/DeleteAppInstanceUserCommand"; -import { - DeleteAttendeeCommand, - DeleteAttendeeCommandInput, - DeleteAttendeeCommandOutput, -} from "./commands/DeleteAttendeeCommand"; -import { - DeleteChannelBanCommand, - DeleteChannelBanCommandInput, - DeleteChannelBanCommandOutput, -} from "./commands/DeleteChannelBanCommand"; -import { - DeleteChannelCommand, - DeleteChannelCommandInput, - DeleteChannelCommandOutput, -} from "./commands/DeleteChannelCommand"; -import { - DeleteChannelMembershipCommand, - DeleteChannelMembershipCommandInput, - DeleteChannelMembershipCommandOutput, -} from "./commands/DeleteChannelMembershipCommand"; -import { - DeleteChannelMessageCommand, - DeleteChannelMessageCommandInput, - DeleteChannelMessageCommandOutput, -} from "./commands/DeleteChannelMessageCommand"; -import { - DeleteChannelModeratorCommand, - DeleteChannelModeratorCommandInput, - DeleteChannelModeratorCommandOutput, -} from "./commands/DeleteChannelModeratorCommand"; import { DeleteEventsConfigurationCommand, DeleteEventsConfigurationCommandInput, DeleteEventsConfigurationCommandOutput, } from "./commands/DeleteEventsConfigurationCommand"; -import { - DeleteMediaCapturePipelineCommand, - DeleteMediaCapturePipelineCommandInput, - DeleteMediaCapturePipelineCommandOutput, -} from "./commands/DeleteMediaCapturePipelineCommand"; -import { - DeleteMeetingCommand, - DeleteMeetingCommandInput, - DeleteMeetingCommandOutput, -} from "./commands/DeleteMeetingCommand"; import { DeletePhoneNumberCommand, DeletePhoneNumberCommandInput, DeletePhoneNumberCommandOutput, } from "./commands/DeletePhoneNumberCommand"; -import { - DeleteProxySessionCommand, - DeleteProxySessionCommandInput, - DeleteProxySessionCommandOutput, -} from "./commands/DeleteProxySessionCommand"; import { DeleteRoomCommand, DeleteRoomCommandInput, DeleteRoomCommandOutput } from "./commands/DeleteRoomCommand"; import { DeleteRoomMembershipCommand, DeleteRoomMembershipCommandInput, DeleteRoomMembershipCommandOutput, } from "./commands/DeleteRoomMembershipCommand"; -import { - DeleteSipMediaApplicationCommand, - DeleteSipMediaApplicationCommandInput, - DeleteSipMediaApplicationCommandOutput, -} from "./commands/DeleteSipMediaApplicationCommand"; -import { - DeleteSipRuleCommand, - DeleteSipRuleCommandInput, - DeleteSipRuleCommandOutput, -} from "./commands/DeleteSipRuleCommand"; -import { - DeleteVoiceConnectorCommand, - DeleteVoiceConnectorCommandInput, - DeleteVoiceConnectorCommandOutput, -} from "./commands/DeleteVoiceConnectorCommand"; -import { - DeleteVoiceConnectorEmergencyCallingConfigurationCommand, - DeleteVoiceConnectorEmergencyCallingConfigurationCommandInput, - DeleteVoiceConnectorEmergencyCallingConfigurationCommandOutput, -} from "./commands/DeleteVoiceConnectorEmergencyCallingConfigurationCommand"; -import { - DeleteVoiceConnectorGroupCommand, - DeleteVoiceConnectorGroupCommandInput, - DeleteVoiceConnectorGroupCommandOutput, -} from "./commands/DeleteVoiceConnectorGroupCommand"; -import { - DeleteVoiceConnectorOriginationCommand, - DeleteVoiceConnectorOriginationCommandInput, - DeleteVoiceConnectorOriginationCommandOutput, -} from "./commands/DeleteVoiceConnectorOriginationCommand"; -import { - DeleteVoiceConnectorProxyCommand, - DeleteVoiceConnectorProxyCommandInput, - DeleteVoiceConnectorProxyCommandOutput, -} from "./commands/DeleteVoiceConnectorProxyCommand"; -import { - DeleteVoiceConnectorStreamingConfigurationCommand, - DeleteVoiceConnectorStreamingConfigurationCommandInput, - DeleteVoiceConnectorStreamingConfigurationCommandOutput, -} from "./commands/DeleteVoiceConnectorStreamingConfigurationCommand"; -import { - DeleteVoiceConnectorTerminationCommand, - DeleteVoiceConnectorTerminationCommandInput, - DeleteVoiceConnectorTerminationCommandOutput, -} from "./commands/DeleteVoiceConnectorTerminationCommand"; -import { - DeleteVoiceConnectorTerminationCredentialsCommand, - DeleteVoiceConnectorTerminationCredentialsCommandInput, - DeleteVoiceConnectorTerminationCredentialsCommandOutput, -} from "./commands/DeleteVoiceConnectorTerminationCredentialsCommand"; -import { - DescribeAppInstanceAdminCommand, - DescribeAppInstanceAdminCommandInput, - DescribeAppInstanceAdminCommandOutput, -} from "./commands/DescribeAppInstanceAdminCommand"; -import { - DescribeAppInstanceCommand, - DescribeAppInstanceCommandInput, - DescribeAppInstanceCommandOutput, -} from "./commands/DescribeAppInstanceCommand"; -import { - DescribeAppInstanceUserCommand, - DescribeAppInstanceUserCommandInput, - DescribeAppInstanceUserCommandOutput, -} from "./commands/DescribeAppInstanceUserCommand"; -import { - DescribeChannelBanCommand, - DescribeChannelBanCommandInput, - DescribeChannelBanCommandOutput, -} from "./commands/DescribeChannelBanCommand"; -import { - DescribeChannelCommand, - DescribeChannelCommandInput, - DescribeChannelCommandOutput, -} from "./commands/DescribeChannelCommand"; -import { - DescribeChannelMembershipCommand, - DescribeChannelMembershipCommandInput, - DescribeChannelMembershipCommandOutput, -} from "./commands/DescribeChannelMembershipCommand"; -import { - DescribeChannelMembershipForAppInstanceUserCommand, - DescribeChannelMembershipForAppInstanceUserCommandInput, - DescribeChannelMembershipForAppInstanceUserCommandOutput, -} from "./commands/DescribeChannelMembershipForAppInstanceUserCommand"; -import { - DescribeChannelModeratedByAppInstanceUserCommand, - DescribeChannelModeratedByAppInstanceUserCommandInput, - DescribeChannelModeratedByAppInstanceUserCommandOutput, -} from "./commands/DescribeChannelModeratedByAppInstanceUserCommand"; -import { - DescribeChannelModeratorCommand, - DescribeChannelModeratorCommandInput, - DescribeChannelModeratorCommandOutput, -} from "./commands/DescribeChannelModeratorCommand"; import { DisassociatePhoneNumberFromUserCommand, DisassociatePhoneNumberFromUserCommandInput, DisassociatePhoneNumberFromUserCommandOutput, } from "./commands/DisassociatePhoneNumberFromUserCommand"; -import { - DisassociatePhoneNumbersFromVoiceConnectorCommand, - DisassociatePhoneNumbersFromVoiceConnectorCommandInput, - DisassociatePhoneNumbersFromVoiceConnectorCommandOutput, -} from "./commands/DisassociatePhoneNumbersFromVoiceConnectorCommand"; -import { - DisassociatePhoneNumbersFromVoiceConnectorGroupCommand, - DisassociatePhoneNumbersFromVoiceConnectorGroupCommandInput, - DisassociatePhoneNumbersFromVoiceConnectorGroupCommandOutput, -} from "./commands/DisassociatePhoneNumbersFromVoiceConnectorGroupCommand"; import { DisassociateSigninDelegateGroupsFromAccountCommand, DisassociateSigninDelegateGroupsFromAccountCommandInput, @@ -378,23 +103,7 @@ import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput, } from "./commands/GetAccountSettingsCommand"; -import { - GetAppInstanceRetentionSettingsCommand, - GetAppInstanceRetentionSettingsCommandInput, - GetAppInstanceRetentionSettingsCommandOutput, -} from "./commands/GetAppInstanceRetentionSettingsCommand"; -import { - GetAppInstanceStreamingConfigurationsCommand, - GetAppInstanceStreamingConfigurationsCommandInput, - GetAppInstanceStreamingConfigurationsCommandOutput, -} from "./commands/GetAppInstanceStreamingConfigurationsCommand"; -import { GetAttendeeCommand, GetAttendeeCommandInput, GetAttendeeCommandOutput } from "./commands/GetAttendeeCommand"; import { GetBotCommand, GetBotCommandInput, GetBotCommandOutput } from "./commands/GetBotCommand"; -import { - GetChannelMessageCommand, - GetChannelMessageCommandInput, - GetChannelMessageCommandOutput, -} from "./commands/GetChannelMessageCommand"; import { GetEventsConfigurationCommand, GetEventsConfigurationCommandInput, @@ -405,17 +114,6 @@ import { GetGlobalSettingsCommandInput, GetGlobalSettingsCommandOutput, } from "./commands/GetGlobalSettingsCommand"; -import { - GetMediaCapturePipelineCommand, - GetMediaCapturePipelineCommandInput, - GetMediaCapturePipelineCommandOutput, -} from "./commands/GetMediaCapturePipelineCommand"; -import { GetMeetingCommand, GetMeetingCommandInput, GetMeetingCommandOutput } from "./commands/GetMeetingCommand"; -import { - GetMessagingSessionEndpointCommand, - GetMessagingSessionEndpointCommandInput, - GetMessagingSessionEndpointCommandOutput, -} from "./commands/GetMessagingSessionEndpointCommand"; import { GetPhoneNumberCommand, GetPhoneNumberCommandInput, @@ -431,161 +129,25 @@ import { GetPhoneNumberSettingsCommandInput, GetPhoneNumberSettingsCommandOutput, } from "./commands/GetPhoneNumberSettingsCommand"; -import { - GetProxySessionCommand, - GetProxySessionCommandInput, - GetProxySessionCommandOutput, -} from "./commands/GetProxySessionCommand"; import { GetRetentionSettingsCommand, GetRetentionSettingsCommandInput, GetRetentionSettingsCommandOutput, } from "./commands/GetRetentionSettingsCommand"; import { GetRoomCommand, GetRoomCommandInput, GetRoomCommandOutput } from "./commands/GetRoomCommand"; -import { - GetSipMediaApplicationCommand, - GetSipMediaApplicationCommandInput, - GetSipMediaApplicationCommandOutput, -} from "./commands/GetSipMediaApplicationCommand"; -import { - GetSipMediaApplicationLoggingConfigurationCommand, - GetSipMediaApplicationLoggingConfigurationCommandInput, - GetSipMediaApplicationLoggingConfigurationCommandOutput, -} from "./commands/GetSipMediaApplicationLoggingConfigurationCommand"; -import { GetSipRuleCommand, GetSipRuleCommandInput, GetSipRuleCommandOutput } from "./commands/GetSipRuleCommand"; import { GetUserCommand, GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCommand"; import { GetUserSettingsCommand, GetUserSettingsCommandInput, GetUserSettingsCommandOutput, } from "./commands/GetUserSettingsCommand"; -import { - GetVoiceConnectorCommand, - GetVoiceConnectorCommandInput, - GetVoiceConnectorCommandOutput, -} from "./commands/GetVoiceConnectorCommand"; -import { - GetVoiceConnectorEmergencyCallingConfigurationCommand, - GetVoiceConnectorEmergencyCallingConfigurationCommandInput, - GetVoiceConnectorEmergencyCallingConfigurationCommandOutput, -} from "./commands/GetVoiceConnectorEmergencyCallingConfigurationCommand"; -import { - GetVoiceConnectorGroupCommand, - GetVoiceConnectorGroupCommandInput, - GetVoiceConnectorGroupCommandOutput, -} from "./commands/GetVoiceConnectorGroupCommand"; -import { - GetVoiceConnectorLoggingConfigurationCommand, - GetVoiceConnectorLoggingConfigurationCommandInput, - GetVoiceConnectorLoggingConfigurationCommandOutput, -} from "./commands/GetVoiceConnectorLoggingConfigurationCommand"; -import { - GetVoiceConnectorOriginationCommand, - GetVoiceConnectorOriginationCommandInput, - GetVoiceConnectorOriginationCommandOutput, -} from "./commands/GetVoiceConnectorOriginationCommand"; -import { - GetVoiceConnectorProxyCommand, - GetVoiceConnectorProxyCommandInput, - GetVoiceConnectorProxyCommandOutput, -} from "./commands/GetVoiceConnectorProxyCommand"; -import { - GetVoiceConnectorStreamingConfigurationCommand, - GetVoiceConnectorStreamingConfigurationCommandInput, - GetVoiceConnectorStreamingConfigurationCommandOutput, -} from "./commands/GetVoiceConnectorStreamingConfigurationCommand"; -import { - GetVoiceConnectorTerminationCommand, - GetVoiceConnectorTerminationCommandInput, - GetVoiceConnectorTerminationCommandOutput, -} from "./commands/GetVoiceConnectorTerminationCommand"; -import { - GetVoiceConnectorTerminationHealthCommand, - GetVoiceConnectorTerminationHealthCommandInput, - GetVoiceConnectorTerminationHealthCommandOutput, -} from "./commands/GetVoiceConnectorTerminationHealthCommand"; import { InviteUsersCommand, InviteUsersCommandInput, InviteUsersCommandOutput } from "./commands/InviteUsersCommand"; import { ListAccountsCommand, ListAccountsCommandInput, ListAccountsCommandOutput, } from "./commands/ListAccountsCommand"; -import { - ListAppInstanceAdminsCommand, - ListAppInstanceAdminsCommandInput, - ListAppInstanceAdminsCommandOutput, -} from "./commands/ListAppInstanceAdminsCommand"; -import { - ListAppInstancesCommand, - ListAppInstancesCommandInput, - ListAppInstancesCommandOutput, -} from "./commands/ListAppInstancesCommand"; -import { - ListAppInstanceUsersCommand, - ListAppInstanceUsersCommandInput, - ListAppInstanceUsersCommandOutput, -} from "./commands/ListAppInstanceUsersCommand"; -import { - ListAttendeesCommand, - ListAttendeesCommandInput, - ListAttendeesCommandOutput, -} from "./commands/ListAttendeesCommand"; -import { - ListAttendeeTagsCommand, - ListAttendeeTagsCommandInput, - ListAttendeeTagsCommandOutput, -} from "./commands/ListAttendeeTagsCommand"; import { ListBotsCommand, ListBotsCommandInput, ListBotsCommandOutput } from "./commands/ListBotsCommand"; -import { - ListChannelBansCommand, - ListChannelBansCommandInput, - ListChannelBansCommandOutput, -} from "./commands/ListChannelBansCommand"; -import { - ListChannelMembershipsCommand, - ListChannelMembershipsCommandInput, - ListChannelMembershipsCommandOutput, -} from "./commands/ListChannelMembershipsCommand"; -import { - ListChannelMembershipsForAppInstanceUserCommand, - ListChannelMembershipsForAppInstanceUserCommandInput, - ListChannelMembershipsForAppInstanceUserCommandOutput, -} from "./commands/ListChannelMembershipsForAppInstanceUserCommand"; -import { - ListChannelMessagesCommand, - ListChannelMessagesCommandInput, - ListChannelMessagesCommandOutput, -} from "./commands/ListChannelMessagesCommand"; -import { - ListChannelModeratorsCommand, - ListChannelModeratorsCommandInput, - ListChannelModeratorsCommandOutput, -} from "./commands/ListChannelModeratorsCommand"; -import { - ListChannelsCommand, - ListChannelsCommandInput, - ListChannelsCommandOutput, -} from "./commands/ListChannelsCommand"; -import { - ListChannelsModeratedByAppInstanceUserCommand, - ListChannelsModeratedByAppInstanceUserCommandInput, - ListChannelsModeratedByAppInstanceUserCommandOutput, -} from "./commands/ListChannelsModeratedByAppInstanceUserCommand"; -import { - ListMediaCapturePipelinesCommand, - ListMediaCapturePipelinesCommandInput, - ListMediaCapturePipelinesCommandOutput, -} from "./commands/ListMediaCapturePipelinesCommand"; -import { - ListMeetingsCommand, - ListMeetingsCommandInput, - ListMeetingsCommandOutput, -} from "./commands/ListMeetingsCommand"; -import { - ListMeetingTagsCommand, - ListMeetingTagsCommandInput, - ListMeetingTagsCommandOutput, -} from "./commands/ListMeetingTagsCommand"; import { ListPhoneNumberOrdersCommand, ListPhoneNumberOrdersCommandInput, @@ -596,64 +158,19 @@ import { ListPhoneNumbersCommandInput, ListPhoneNumbersCommandOutput, } from "./commands/ListPhoneNumbersCommand"; -import { - ListProxySessionsCommand, - ListProxySessionsCommandInput, - ListProxySessionsCommandOutput, -} from "./commands/ListProxySessionsCommand"; import { ListRoomMembershipsCommand, ListRoomMembershipsCommandInput, ListRoomMembershipsCommandOutput, } from "./commands/ListRoomMembershipsCommand"; import { ListRoomsCommand, ListRoomsCommandInput, ListRoomsCommandOutput } from "./commands/ListRoomsCommand"; -import { - ListSipMediaApplicationsCommand, - ListSipMediaApplicationsCommandInput, - ListSipMediaApplicationsCommandOutput, -} from "./commands/ListSipMediaApplicationsCommand"; -import { - ListSipRulesCommand, - ListSipRulesCommandInput, - ListSipRulesCommandOutput, -} from "./commands/ListSipRulesCommand"; import { ListSupportedPhoneNumberCountriesCommand, ListSupportedPhoneNumberCountriesCommandInput, ListSupportedPhoneNumberCountriesCommandOutput, } from "./commands/ListSupportedPhoneNumberCountriesCommand"; -import { - ListTagsForResourceCommand, - ListTagsForResourceCommandInput, - ListTagsForResourceCommandOutput, -} from "./commands/ListTagsForResourceCommand"; import { ListUsersCommand, ListUsersCommandInput, ListUsersCommandOutput } from "./commands/ListUsersCommand"; -import { - ListVoiceConnectorGroupsCommand, - ListVoiceConnectorGroupsCommandInput, - ListVoiceConnectorGroupsCommandOutput, -} from "./commands/ListVoiceConnectorGroupsCommand"; -import { - ListVoiceConnectorsCommand, - ListVoiceConnectorsCommandInput, - ListVoiceConnectorsCommandOutput, -} from "./commands/ListVoiceConnectorsCommand"; -import { - ListVoiceConnectorTerminationCredentialsCommand, - ListVoiceConnectorTerminationCredentialsCommandInput, - ListVoiceConnectorTerminationCredentialsCommandOutput, -} from "./commands/ListVoiceConnectorTerminationCredentialsCommand"; import { LogoutUserCommand, LogoutUserCommandInput, LogoutUserCommandOutput } from "./commands/LogoutUserCommand"; -import { - PutAppInstanceRetentionSettingsCommand, - PutAppInstanceRetentionSettingsCommandInput, - PutAppInstanceRetentionSettingsCommandOutput, -} from "./commands/PutAppInstanceRetentionSettingsCommand"; -import { - PutAppInstanceStreamingConfigurationsCommand, - PutAppInstanceStreamingConfigurationsCommandInput, - PutAppInstanceStreamingConfigurationsCommandOutput, -} from "./commands/PutAppInstanceStreamingConfigurationsCommand"; import { PutEventsConfigurationCommand, PutEventsConfigurationCommandInput, @@ -664,51 +181,6 @@ import { PutRetentionSettingsCommandInput, PutRetentionSettingsCommandOutput, } from "./commands/PutRetentionSettingsCommand"; -import { - PutSipMediaApplicationLoggingConfigurationCommand, - PutSipMediaApplicationLoggingConfigurationCommandInput, - PutSipMediaApplicationLoggingConfigurationCommandOutput, -} from "./commands/PutSipMediaApplicationLoggingConfigurationCommand"; -import { - PutVoiceConnectorEmergencyCallingConfigurationCommand, - PutVoiceConnectorEmergencyCallingConfigurationCommandInput, - PutVoiceConnectorEmergencyCallingConfigurationCommandOutput, -} from "./commands/PutVoiceConnectorEmergencyCallingConfigurationCommand"; -import { - PutVoiceConnectorLoggingConfigurationCommand, - PutVoiceConnectorLoggingConfigurationCommandInput, - PutVoiceConnectorLoggingConfigurationCommandOutput, -} from "./commands/PutVoiceConnectorLoggingConfigurationCommand"; -import { - PutVoiceConnectorOriginationCommand, - PutVoiceConnectorOriginationCommandInput, - PutVoiceConnectorOriginationCommandOutput, -} from "./commands/PutVoiceConnectorOriginationCommand"; -import { - PutVoiceConnectorProxyCommand, - PutVoiceConnectorProxyCommandInput, - PutVoiceConnectorProxyCommandOutput, -} from "./commands/PutVoiceConnectorProxyCommand"; -import { - PutVoiceConnectorStreamingConfigurationCommand, - PutVoiceConnectorStreamingConfigurationCommandInput, - PutVoiceConnectorStreamingConfigurationCommandOutput, -} from "./commands/PutVoiceConnectorStreamingConfigurationCommand"; -import { - PutVoiceConnectorTerminationCommand, - PutVoiceConnectorTerminationCommandInput, - PutVoiceConnectorTerminationCommandOutput, -} from "./commands/PutVoiceConnectorTerminationCommand"; -import { - PutVoiceConnectorTerminationCredentialsCommand, - PutVoiceConnectorTerminationCredentialsCommandInput, - PutVoiceConnectorTerminationCredentialsCommandOutput, -} from "./commands/PutVoiceConnectorTerminationCredentialsCommand"; -import { - RedactChannelMessageCommand, - RedactChannelMessageCommandInput, - RedactChannelMessageCommandOutput, -} from "./commands/RedactChannelMessageCommand"; import { RedactConversationMessageCommand, RedactConversationMessageCommandInput, @@ -739,39 +211,6 @@ import { SearchAvailablePhoneNumbersCommandInput, SearchAvailablePhoneNumbersCommandOutput, } from "./commands/SearchAvailablePhoneNumbersCommand"; -import { - SendChannelMessageCommand, - SendChannelMessageCommandInput, - SendChannelMessageCommandOutput, -} from "./commands/SendChannelMessageCommand"; -import { - StartMeetingTranscriptionCommand, - StartMeetingTranscriptionCommandInput, - StartMeetingTranscriptionCommandOutput, -} from "./commands/StartMeetingTranscriptionCommand"; -import { - StopMeetingTranscriptionCommand, - StopMeetingTranscriptionCommandInput, - StopMeetingTranscriptionCommandOutput, -} from "./commands/StopMeetingTranscriptionCommand"; -import { TagAttendeeCommand, TagAttendeeCommandInput, TagAttendeeCommandOutput } from "./commands/TagAttendeeCommand"; -import { TagMeetingCommand, TagMeetingCommandInput, TagMeetingCommandOutput } from "./commands/TagMeetingCommand"; -import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; -import { - UntagAttendeeCommand, - UntagAttendeeCommandInput, - UntagAttendeeCommandOutput, -} from "./commands/UntagAttendeeCommand"; -import { - UntagMeetingCommand, - UntagMeetingCommandInput, - UntagMeetingCommandOutput, -} from "./commands/UntagMeetingCommand"; -import { - UntagResourceCommand, - UntagResourceCommandInput, - UntagResourceCommandOutput, -} from "./commands/UntagResourceCommand"; import { UpdateAccountCommand, UpdateAccountCommandInput, @@ -782,32 +221,7 @@ import { UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput, } from "./commands/UpdateAccountSettingsCommand"; -import { - UpdateAppInstanceCommand, - UpdateAppInstanceCommandInput, - UpdateAppInstanceCommandOutput, -} from "./commands/UpdateAppInstanceCommand"; -import { - UpdateAppInstanceUserCommand, - UpdateAppInstanceUserCommandInput, - UpdateAppInstanceUserCommandOutput, -} from "./commands/UpdateAppInstanceUserCommand"; import { UpdateBotCommand, UpdateBotCommandInput, UpdateBotCommandOutput } from "./commands/UpdateBotCommand"; -import { - UpdateChannelCommand, - UpdateChannelCommandInput, - UpdateChannelCommandOutput, -} from "./commands/UpdateChannelCommand"; -import { - UpdateChannelMessageCommand, - UpdateChannelMessageCommandInput, - UpdateChannelMessageCommandOutput, -} from "./commands/UpdateChannelMessageCommand"; -import { - UpdateChannelReadMarkerCommand, - UpdateChannelReadMarkerCommandInput, - UpdateChannelReadMarkerCommandOutput, -} from "./commands/UpdateChannelReadMarkerCommand"; import { UpdateGlobalSettingsCommand, UpdateGlobalSettingsCommandInput, @@ -823,61 +237,22 @@ import { UpdatePhoneNumberSettingsCommandInput, UpdatePhoneNumberSettingsCommandOutput, } from "./commands/UpdatePhoneNumberSettingsCommand"; -import { - UpdateProxySessionCommand, - UpdateProxySessionCommandInput, - UpdateProxySessionCommandOutput, -} from "./commands/UpdateProxySessionCommand"; import { UpdateRoomCommand, UpdateRoomCommandInput, UpdateRoomCommandOutput } from "./commands/UpdateRoomCommand"; import { UpdateRoomMembershipCommand, UpdateRoomMembershipCommandInput, UpdateRoomMembershipCommandOutput, } from "./commands/UpdateRoomMembershipCommand"; -import { - UpdateSipMediaApplicationCallCommand, - UpdateSipMediaApplicationCallCommandInput, - UpdateSipMediaApplicationCallCommandOutput, -} from "./commands/UpdateSipMediaApplicationCallCommand"; -import { - UpdateSipMediaApplicationCommand, - UpdateSipMediaApplicationCommandInput, - UpdateSipMediaApplicationCommandOutput, -} from "./commands/UpdateSipMediaApplicationCommand"; -import { - UpdateSipRuleCommand, - UpdateSipRuleCommandInput, - UpdateSipRuleCommandOutput, -} from "./commands/UpdateSipRuleCommand"; import { UpdateUserCommand, UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand"; import { UpdateUserSettingsCommand, UpdateUserSettingsCommandInput, UpdateUserSettingsCommandOutput, } from "./commands/UpdateUserSettingsCommand"; -import { - UpdateVoiceConnectorCommand, - UpdateVoiceConnectorCommandInput, - UpdateVoiceConnectorCommandOutput, -} from "./commands/UpdateVoiceConnectorCommand"; -import { - UpdateVoiceConnectorGroupCommand, - UpdateVoiceConnectorGroupCommandInput, - UpdateVoiceConnectorGroupCommandOutput, -} from "./commands/UpdateVoiceConnectorGroupCommand"; -import { - ValidateE911AddressCommand, - ValidateE911AddressCommandInput, - ValidateE911AddressCommandOutput, -} from "./commands/ValidateE911AddressCommand"; const commands = { - AssociatePhoneNumbersWithVoiceConnectorCommand, - AssociatePhoneNumbersWithVoiceConnectorGroupCommand, AssociatePhoneNumberWithUserCommand, AssociateSigninDelegateGroupsWithAccountCommand, - BatchCreateAttendeeCommand, - BatchCreateChannelMembershipCommand, BatchCreateRoomMembershipCommand, BatchDeletePhoneNumberCommand, BatchSuspendUserCommand, @@ -885,221 +260,62 @@ const commands = { BatchUpdatePhoneNumberCommand, BatchUpdateUserCommand, CreateAccountCommand, - CreateAppInstanceCommand, - CreateAppInstanceAdminCommand, - CreateAppInstanceUserCommand, - CreateAttendeeCommand, CreateBotCommand, - CreateChannelCommand, - CreateChannelBanCommand, - CreateChannelMembershipCommand, - CreateChannelModeratorCommand, - CreateMediaCapturePipelineCommand, - CreateMeetingCommand, CreateMeetingDialOutCommand, - CreateMeetingWithAttendeesCommand, CreatePhoneNumberOrderCommand, - CreateProxySessionCommand, CreateRoomCommand, CreateRoomMembershipCommand, - CreateSipMediaApplicationCommand, - CreateSipMediaApplicationCallCommand, - CreateSipRuleCommand, CreateUserCommand, - CreateVoiceConnectorCommand, - CreateVoiceConnectorGroupCommand, DeleteAccountCommand, - DeleteAppInstanceCommand, - DeleteAppInstanceAdminCommand, - DeleteAppInstanceStreamingConfigurationsCommand, - DeleteAppInstanceUserCommand, - DeleteAttendeeCommand, - DeleteChannelCommand, - DeleteChannelBanCommand, - DeleteChannelMembershipCommand, - DeleteChannelMessageCommand, - DeleteChannelModeratorCommand, DeleteEventsConfigurationCommand, - DeleteMediaCapturePipelineCommand, - DeleteMeetingCommand, DeletePhoneNumberCommand, - DeleteProxySessionCommand, DeleteRoomCommand, DeleteRoomMembershipCommand, - DeleteSipMediaApplicationCommand, - DeleteSipRuleCommand, - DeleteVoiceConnectorCommand, - DeleteVoiceConnectorEmergencyCallingConfigurationCommand, - DeleteVoiceConnectorGroupCommand, - DeleteVoiceConnectorOriginationCommand, - DeleteVoiceConnectorProxyCommand, - DeleteVoiceConnectorStreamingConfigurationCommand, - DeleteVoiceConnectorTerminationCommand, - DeleteVoiceConnectorTerminationCredentialsCommand, - DescribeAppInstanceCommand, - DescribeAppInstanceAdminCommand, - DescribeAppInstanceUserCommand, - DescribeChannelCommand, - DescribeChannelBanCommand, - DescribeChannelMembershipCommand, - DescribeChannelMembershipForAppInstanceUserCommand, - DescribeChannelModeratedByAppInstanceUserCommand, - DescribeChannelModeratorCommand, DisassociatePhoneNumberFromUserCommand, - DisassociatePhoneNumbersFromVoiceConnectorCommand, - DisassociatePhoneNumbersFromVoiceConnectorGroupCommand, DisassociateSigninDelegateGroupsFromAccountCommand, GetAccountCommand, GetAccountSettingsCommand, - GetAppInstanceRetentionSettingsCommand, - GetAppInstanceStreamingConfigurationsCommand, - GetAttendeeCommand, GetBotCommand, - GetChannelMessageCommand, GetEventsConfigurationCommand, GetGlobalSettingsCommand, - GetMediaCapturePipelineCommand, - GetMeetingCommand, - GetMessagingSessionEndpointCommand, GetPhoneNumberCommand, GetPhoneNumberOrderCommand, GetPhoneNumberSettingsCommand, - GetProxySessionCommand, GetRetentionSettingsCommand, GetRoomCommand, - GetSipMediaApplicationCommand, - GetSipMediaApplicationLoggingConfigurationCommand, - GetSipRuleCommand, GetUserCommand, GetUserSettingsCommand, - GetVoiceConnectorCommand, - GetVoiceConnectorEmergencyCallingConfigurationCommand, - GetVoiceConnectorGroupCommand, - GetVoiceConnectorLoggingConfigurationCommand, - GetVoiceConnectorOriginationCommand, - GetVoiceConnectorProxyCommand, - GetVoiceConnectorStreamingConfigurationCommand, - GetVoiceConnectorTerminationCommand, - GetVoiceConnectorTerminationHealthCommand, InviteUsersCommand, ListAccountsCommand, - ListAppInstanceAdminsCommand, - ListAppInstancesCommand, - ListAppInstanceUsersCommand, - ListAttendeesCommand, - ListAttendeeTagsCommand, ListBotsCommand, - ListChannelBansCommand, - ListChannelMembershipsCommand, - ListChannelMembershipsForAppInstanceUserCommand, - ListChannelMessagesCommand, - ListChannelModeratorsCommand, - ListChannelsCommand, - ListChannelsModeratedByAppInstanceUserCommand, - ListMediaCapturePipelinesCommand, - ListMeetingsCommand, - ListMeetingTagsCommand, ListPhoneNumberOrdersCommand, ListPhoneNumbersCommand, - ListProxySessionsCommand, ListRoomMembershipsCommand, ListRoomsCommand, - ListSipMediaApplicationsCommand, - ListSipRulesCommand, ListSupportedPhoneNumberCountriesCommand, - ListTagsForResourceCommand, ListUsersCommand, - ListVoiceConnectorGroupsCommand, - ListVoiceConnectorsCommand, - ListVoiceConnectorTerminationCredentialsCommand, LogoutUserCommand, - PutAppInstanceRetentionSettingsCommand, - PutAppInstanceStreamingConfigurationsCommand, PutEventsConfigurationCommand, PutRetentionSettingsCommand, - PutSipMediaApplicationLoggingConfigurationCommand, - PutVoiceConnectorEmergencyCallingConfigurationCommand, - PutVoiceConnectorLoggingConfigurationCommand, - PutVoiceConnectorOriginationCommand, - PutVoiceConnectorProxyCommand, - PutVoiceConnectorStreamingConfigurationCommand, - PutVoiceConnectorTerminationCommand, - PutVoiceConnectorTerminationCredentialsCommand, - RedactChannelMessageCommand, RedactConversationMessageCommand, RedactRoomMessageCommand, RegenerateSecurityTokenCommand, ResetPersonalPINCommand, RestorePhoneNumberCommand, SearchAvailablePhoneNumbersCommand, - SendChannelMessageCommand, - StartMeetingTranscriptionCommand, - StopMeetingTranscriptionCommand, - TagAttendeeCommand, - TagMeetingCommand, - TagResourceCommand, - UntagAttendeeCommand, - UntagMeetingCommand, - UntagResourceCommand, UpdateAccountCommand, UpdateAccountSettingsCommand, - UpdateAppInstanceCommand, - UpdateAppInstanceUserCommand, UpdateBotCommand, - UpdateChannelCommand, - UpdateChannelMessageCommand, - UpdateChannelReadMarkerCommand, UpdateGlobalSettingsCommand, UpdatePhoneNumberCommand, UpdatePhoneNumberSettingsCommand, - UpdateProxySessionCommand, UpdateRoomCommand, UpdateRoomMembershipCommand, - UpdateSipMediaApplicationCommand, - UpdateSipMediaApplicationCallCommand, - UpdateSipRuleCommand, UpdateUserCommand, UpdateUserSettingsCommand, - UpdateVoiceConnectorCommand, - UpdateVoiceConnectorGroupCommand, - ValidateE911AddressCommand, }; export interface Chime { - /** - * @see {@link AssociatePhoneNumbersWithVoiceConnectorCommand} - */ - associatePhoneNumbersWithVoiceConnector( - args: AssociatePhoneNumbersWithVoiceConnectorCommandInput, - options?: __HttpHandlerOptions - ): Promise; - associatePhoneNumbersWithVoiceConnector( - args: AssociatePhoneNumbersWithVoiceConnectorCommandInput, - cb: (err: any, data?: AssociatePhoneNumbersWithVoiceConnectorCommandOutput) => void - ): void; - associatePhoneNumbersWithVoiceConnector( - args: AssociatePhoneNumbersWithVoiceConnectorCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: AssociatePhoneNumbersWithVoiceConnectorCommandOutput) => void - ): void; - - /** - * @see {@link AssociatePhoneNumbersWithVoiceConnectorGroupCommand} - */ - associatePhoneNumbersWithVoiceConnectorGroup( - args: AssociatePhoneNumbersWithVoiceConnectorGroupCommandInput, - options?: __HttpHandlerOptions - ): Promise; - associatePhoneNumbersWithVoiceConnectorGroup( - args: AssociatePhoneNumbersWithVoiceConnectorGroupCommandInput, - cb: (err: any, data?: AssociatePhoneNumbersWithVoiceConnectorGroupCommandOutput) => void - ): void; - associatePhoneNumbersWithVoiceConnectorGroup( - args: AssociatePhoneNumbersWithVoiceConnectorGroupCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: AssociatePhoneNumbersWithVoiceConnectorGroupCommandOutput) => void - ): void; - /** * @see {@link AssociatePhoneNumberWithUserCommand} */ @@ -1134,40 +350,6 @@ export interface Chime { cb: (err: any, data?: AssociateSigninDelegateGroupsWithAccountCommandOutput) => void ): void; - /** - * @see {@link BatchCreateAttendeeCommand} - */ - batchCreateAttendee( - args: BatchCreateAttendeeCommandInput, - options?: __HttpHandlerOptions - ): Promise; - batchCreateAttendee( - args: BatchCreateAttendeeCommandInput, - cb: (err: any, data?: BatchCreateAttendeeCommandOutput) => void - ): void; - batchCreateAttendee( - args: BatchCreateAttendeeCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: BatchCreateAttendeeCommandOutput) => void - ): void; - - /** - * @see {@link BatchCreateChannelMembershipCommand} - */ - batchCreateChannelMembership( - args: BatchCreateChannelMembershipCommandInput, - options?: __HttpHandlerOptions - ): Promise; - batchCreateChannelMembership( - args: BatchCreateChannelMembershipCommandInput, - cb: (err: any, data?: BatchCreateChannelMembershipCommandOutput) => void - ): void; - batchCreateChannelMembership( - args: BatchCreateChannelMembershipCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: BatchCreateChannelMembershipCommandOutput) => void - ): void; - /** * @see {@link BatchCreateRoomMembershipCommand} */ @@ -1278,71 +460,6 @@ export interface Chime { cb: (err: any, data?: CreateAccountCommandOutput) => void ): void; - /** - * @see {@link CreateAppInstanceCommand} - */ - createAppInstance( - args: CreateAppInstanceCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createAppInstance( - args: CreateAppInstanceCommandInput, - cb: (err: any, data?: CreateAppInstanceCommandOutput) => void - ): void; - createAppInstance( - args: CreateAppInstanceCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateAppInstanceCommandOutput) => void - ): void; - - /** - * @see {@link CreateAppInstanceAdminCommand} - */ - createAppInstanceAdmin( - args: CreateAppInstanceAdminCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createAppInstanceAdmin( - args: CreateAppInstanceAdminCommandInput, - cb: (err: any, data?: CreateAppInstanceAdminCommandOutput) => void - ): void; - createAppInstanceAdmin( - args: CreateAppInstanceAdminCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateAppInstanceAdminCommandOutput) => void - ): void; - - /** - * @see {@link CreateAppInstanceUserCommand} - */ - createAppInstanceUser( - args: CreateAppInstanceUserCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createAppInstanceUser( - args: CreateAppInstanceUserCommandInput, - cb: (err: any, data?: CreateAppInstanceUserCommandOutput) => void - ): void; - createAppInstanceUser( - args: CreateAppInstanceUserCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateAppInstanceUserCommandOutput) => void - ): void; - - /** - * @see {@link CreateAttendeeCommand} - */ - createAttendee( - args: CreateAttendeeCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createAttendee(args: CreateAttendeeCommandInput, cb: (err: any, data?: CreateAttendeeCommandOutput) => void): void; - createAttendee( - args: CreateAttendeeCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateAttendeeCommandOutput) => void - ): void; - /** * @see {@link CreateBotCommand} */ @@ -1354,96 +471,6 @@ export interface Chime { cb: (err: any, data?: CreateBotCommandOutput) => void ): void; - /** - * @see {@link CreateChannelCommand} - */ - createChannel(args: CreateChannelCommandInput, options?: __HttpHandlerOptions): Promise; - createChannel(args: CreateChannelCommandInput, cb: (err: any, data?: CreateChannelCommandOutput) => void): void; - createChannel( - args: CreateChannelCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateChannelCommandOutput) => void - ): void; - - /** - * @see {@link CreateChannelBanCommand} - */ - createChannelBan( - args: CreateChannelBanCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createChannelBan( - args: CreateChannelBanCommandInput, - cb: (err: any, data?: CreateChannelBanCommandOutput) => void - ): void; - createChannelBan( - args: CreateChannelBanCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateChannelBanCommandOutput) => void - ): void; - - /** - * @see {@link CreateChannelMembershipCommand} - */ - createChannelMembership( - args: CreateChannelMembershipCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createChannelMembership( - args: CreateChannelMembershipCommandInput, - cb: (err: any, data?: CreateChannelMembershipCommandOutput) => void - ): void; - createChannelMembership( - args: CreateChannelMembershipCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateChannelMembershipCommandOutput) => void - ): void; - - /** - * @see {@link CreateChannelModeratorCommand} - */ - createChannelModerator( - args: CreateChannelModeratorCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createChannelModerator( - args: CreateChannelModeratorCommandInput, - cb: (err: any, data?: CreateChannelModeratorCommandOutput) => void - ): void; - createChannelModerator( - args: CreateChannelModeratorCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateChannelModeratorCommandOutput) => void - ): void; - - /** - * @see {@link CreateMediaCapturePipelineCommand} - */ - createMediaCapturePipeline( - args: CreateMediaCapturePipelineCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createMediaCapturePipeline( - args: CreateMediaCapturePipelineCommandInput, - cb: (err: any, data?: CreateMediaCapturePipelineCommandOutput) => void - ): void; - createMediaCapturePipeline( - args: CreateMediaCapturePipelineCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateMediaCapturePipelineCommandOutput) => void - ): void; - - /** - * @see {@link CreateMeetingCommand} - */ - createMeeting(args: CreateMeetingCommandInput, options?: __HttpHandlerOptions): Promise; - createMeeting(args: CreateMeetingCommandInput, cb: (err: any, data?: CreateMeetingCommandOutput) => void): void; - createMeeting( - args: CreateMeetingCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateMeetingCommandOutput) => void - ): void; - /** * @see {@link CreateMeetingDialOutCommand} */ @@ -1461,23 +488,6 @@ export interface Chime { cb: (err: any, data?: CreateMeetingDialOutCommandOutput) => void ): void; - /** - * @see {@link CreateMeetingWithAttendeesCommand} - */ - createMeetingWithAttendees( - args: CreateMeetingWithAttendeesCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createMeetingWithAttendees( - args: CreateMeetingWithAttendeesCommandInput, - cb: (err: any, data?: CreateMeetingWithAttendeesCommandOutput) => void - ): void; - createMeetingWithAttendees( - args: CreateMeetingWithAttendeesCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateMeetingWithAttendeesCommandOutput) => void - ): void; - /** * @see {@link CreatePhoneNumberOrderCommand} */ @@ -1495,23 +505,6 @@ export interface Chime { cb: (err: any, data?: CreatePhoneNumberOrderCommandOutput) => void ): void; - /** - * @see {@link CreateProxySessionCommand} - */ - createProxySession( - args: CreateProxySessionCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createProxySession( - args: CreateProxySessionCommandInput, - cb: (err: any, data?: CreateProxySessionCommandOutput) => void - ): void; - createProxySession( - args: CreateProxySessionCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateProxySessionCommandOutput) => void - ): void; - /** * @see {@link CreateRoomCommand} */ @@ -1540,51 +533,6 @@ export interface Chime { cb: (err: any, data?: CreateRoomMembershipCommandOutput) => void ): void; - /** - * @see {@link CreateSipMediaApplicationCommand} - */ - createSipMediaApplication( - args: CreateSipMediaApplicationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createSipMediaApplication( - args: CreateSipMediaApplicationCommandInput, - cb: (err: any, data?: CreateSipMediaApplicationCommandOutput) => void - ): void; - createSipMediaApplication( - args: CreateSipMediaApplicationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateSipMediaApplicationCommandOutput) => void - ): void; - - /** - * @see {@link CreateSipMediaApplicationCallCommand} - */ - createSipMediaApplicationCall( - args: CreateSipMediaApplicationCallCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createSipMediaApplicationCall( - args: CreateSipMediaApplicationCallCommandInput, - cb: (err: any, data?: CreateSipMediaApplicationCallCommandOutput) => void - ): void; - createSipMediaApplicationCall( - args: CreateSipMediaApplicationCallCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateSipMediaApplicationCallCommandOutput) => void - ): void; - - /** - * @see {@link CreateSipRuleCommand} - */ - createSipRule(args: CreateSipRuleCommandInput, options?: __HttpHandlerOptions): Promise; - createSipRule(args: CreateSipRuleCommandInput, cb: (err: any, data?: CreateSipRuleCommandOutput) => void): void; - createSipRule( - args: CreateSipRuleCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateSipRuleCommandOutput) => void - ): void; - /** * @see {@link CreateUserCommand} */ @@ -1597,211 +545,16 @@ export interface Chime { ): void; /** - * @see {@link CreateVoiceConnectorCommand} + * @see {@link DeleteAccountCommand} */ - createVoiceConnector( - args: CreateVoiceConnectorCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createVoiceConnector( - args: CreateVoiceConnectorCommandInput, - cb: (err: any, data?: CreateVoiceConnectorCommandOutput) => void - ): void; - createVoiceConnector( - args: CreateVoiceConnectorCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateVoiceConnectorCommandOutput) => void - ): void; - - /** - * @see {@link CreateVoiceConnectorGroupCommand} - */ - createVoiceConnectorGroup( - args: CreateVoiceConnectorGroupCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createVoiceConnectorGroup( - args: CreateVoiceConnectorGroupCommandInput, - cb: (err: any, data?: CreateVoiceConnectorGroupCommandOutput) => void - ): void; - createVoiceConnectorGroup( - args: CreateVoiceConnectorGroupCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateVoiceConnectorGroupCommandOutput) => void - ): void; - - /** - * @see {@link DeleteAccountCommand} - */ - deleteAccount(args: DeleteAccountCommandInput, options?: __HttpHandlerOptions): Promise; - deleteAccount(args: DeleteAccountCommandInput, cb: (err: any, data?: DeleteAccountCommandOutput) => void): void; - deleteAccount( - args: DeleteAccountCommandInput, + deleteAccount(args: DeleteAccountCommandInput, options?: __HttpHandlerOptions): Promise; + deleteAccount(args: DeleteAccountCommandInput, cb: (err: any, data?: DeleteAccountCommandOutput) => void): void; + deleteAccount( + args: DeleteAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAccountCommandOutput) => void ): void; - /** - * @see {@link DeleteAppInstanceCommand} - */ - deleteAppInstance( - args: DeleteAppInstanceCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteAppInstance( - args: DeleteAppInstanceCommandInput, - cb: (err: any, data?: DeleteAppInstanceCommandOutput) => void - ): void; - deleteAppInstance( - args: DeleteAppInstanceCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteAppInstanceCommandOutput) => void - ): void; - - /** - * @see {@link DeleteAppInstanceAdminCommand} - */ - deleteAppInstanceAdmin( - args: DeleteAppInstanceAdminCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteAppInstanceAdmin( - args: DeleteAppInstanceAdminCommandInput, - cb: (err: any, data?: DeleteAppInstanceAdminCommandOutput) => void - ): void; - deleteAppInstanceAdmin( - args: DeleteAppInstanceAdminCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteAppInstanceAdminCommandOutput) => void - ): void; - - /** - * @see {@link DeleteAppInstanceStreamingConfigurationsCommand} - */ - deleteAppInstanceStreamingConfigurations( - args: DeleteAppInstanceStreamingConfigurationsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteAppInstanceStreamingConfigurations( - args: DeleteAppInstanceStreamingConfigurationsCommandInput, - cb: (err: any, data?: DeleteAppInstanceStreamingConfigurationsCommandOutput) => void - ): void; - deleteAppInstanceStreamingConfigurations( - args: DeleteAppInstanceStreamingConfigurationsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteAppInstanceStreamingConfigurationsCommandOutput) => void - ): void; - - /** - * @see {@link DeleteAppInstanceUserCommand} - */ - deleteAppInstanceUser( - args: DeleteAppInstanceUserCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteAppInstanceUser( - args: DeleteAppInstanceUserCommandInput, - cb: (err: any, data?: DeleteAppInstanceUserCommandOutput) => void - ): void; - deleteAppInstanceUser( - args: DeleteAppInstanceUserCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteAppInstanceUserCommandOutput) => void - ): void; - - /** - * @see {@link DeleteAttendeeCommand} - */ - deleteAttendee( - args: DeleteAttendeeCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteAttendee(args: DeleteAttendeeCommandInput, cb: (err: any, data?: DeleteAttendeeCommandOutput) => void): void; - deleteAttendee( - args: DeleteAttendeeCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteAttendeeCommandOutput) => void - ): void; - - /** - * @see {@link DeleteChannelCommand} - */ - deleteChannel(args: DeleteChannelCommandInput, options?: __HttpHandlerOptions): Promise; - deleteChannel(args: DeleteChannelCommandInput, cb: (err: any, data?: DeleteChannelCommandOutput) => void): void; - deleteChannel( - args: DeleteChannelCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteChannelCommandOutput) => void - ): void; - - /** - * @see {@link DeleteChannelBanCommand} - */ - deleteChannelBan( - args: DeleteChannelBanCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteChannelBan( - args: DeleteChannelBanCommandInput, - cb: (err: any, data?: DeleteChannelBanCommandOutput) => void - ): void; - deleteChannelBan( - args: DeleteChannelBanCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteChannelBanCommandOutput) => void - ): void; - - /** - * @see {@link DeleteChannelMembershipCommand} - */ - deleteChannelMembership( - args: DeleteChannelMembershipCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteChannelMembership( - args: DeleteChannelMembershipCommandInput, - cb: (err: any, data?: DeleteChannelMembershipCommandOutput) => void - ): void; - deleteChannelMembership( - args: DeleteChannelMembershipCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteChannelMembershipCommandOutput) => void - ): void; - - /** - * @see {@link DeleteChannelMessageCommand} - */ - deleteChannelMessage( - args: DeleteChannelMessageCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteChannelMessage( - args: DeleteChannelMessageCommandInput, - cb: (err: any, data?: DeleteChannelMessageCommandOutput) => void - ): void; - deleteChannelMessage( - args: DeleteChannelMessageCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteChannelMessageCommandOutput) => void - ): void; - - /** - * @see {@link DeleteChannelModeratorCommand} - */ - deleteChannelModerator( - args: DeleteChannelModeratorCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteChannelModerator( - args: DeleteChannelModeratorCommandInput, - cb: (err: any, data?: DeleteChannelModeratorCommandOutput) => void - ): void; - deleteChannelModerator( - args: DeleteChannelModeratorCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteChannelModeratorCommandOutput) => void - ): void; - /** * @see {@link DeleteEventsConfigurationCommand} */ @@ -1819,34 +572,6 @@ export interface Chime { cb: (err: any, data?: DeleteEventsConfigurationCommandOutput) => void ): void; - /** - * @see {@link DeleteMediaCapturePipelineCommand} - */ - deleteMediaCapturePipeline( - args: DeleteMediaCapturePipelineCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteMediaCapturePipeline( - args: DeleteMediaCapturePipelineCommandInput, - cb: (err: any, data?: DeleteMediaCapturePipelineCommandOutput) => void - ): void; - deleteMediaCapturePipeline( - args: DeleteMediaCapturePipelineCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteMediaCapturePipelineCommandOutput) => void - ): void; - - /** - * @see {@link DeleteMeetingCommand} - */ - deleteMeeting(args: DeleteMeetingCommandInput, options?: __HttpHandlerOptions): Promise; - deleteMeeting(args: DeleteMeetingCommandInput, cb: (err: any, data?: DeleteMeetingCommandOutput) => void): void; - deleteMeeting( - args: DeleteMeetingCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteMeetingCommandOutput) => void - ): void; - /** * @see {@link DeletePhoneNumberCommand} */ @@ -1864,23 +589,6 @@ export interface Chime { cb: (err: any, data?: DeletePhoneNumberCommandOutput) => void ): void; - /** - * @see {@link DeleteProxySessionCommand} - */ - deleteProxySession( - args: DeleteProxySessionCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteProxySession( - args: DeleteProxySessionCommandInput, - cb: (err: any, data?: DeleteProxySessionCommandOutput) => void - ): void; - deleteProxySession( - args: DeleteProxySessionCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteProxySessionCommandOutput) => void - ): void; - /** * @see {@link DeleteRoomCommand} */ @@ -1909,320 +617,6 @@ export interface Chime { cb: (err: any, data?: DeleteRoomMembershipCommandOutput) => void ): void; - /** - * @see {@link DeleteSipMediaApplicationCommand} - */ - deleteSipMediaApplication( - args: DeleteSipMediaApplicationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteSipMediaApplication( - args: DeleteSipMediaApplicationCommandInput, - cb: (err: any, data?: DeleteSipMediaApplicationCommandOutput) => void - ): void; - deleteSipMediaApplication( - args: DeleteSipMediaApplicationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteSipMediaApplicationCommandOutput) => void - ): void; - - /** - * @see {@link DeleteSipRuleCommand} - */ - deleteSipRule(args: DeleteSipRuleCommandInput, options?: __HttpHandlerOptions): Promise; - deleteSipRule(args: DeleteSipRuleCommandInput, cb: (err: any, data?: DeleteSipRuleCommandOutput) => void): void; - deleteSipRule( - args: DeleteSipRuleCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteSipRuleCommandOutput) => void - ): void; - - /** - * @see {@link DeleteVoiceConnectorCommand} - */ - deleteVoiceConnector( - args: DeleteVoiceConnectorCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteVoiceConnector( - args: DeleteVoiceConnectorCommandInput, - cb: (err: any, data?: DeleteVoiceConnectorCommandOutput) => void - ): void; - deleteVoiceConnector( - args: DeleteVoiceConnectorCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteVoiceConnectorCommandOutput) => void - ): void; - - /** - * @see {@link DeleteVoiceConnectorEmergencyCallingConfigurationCommand} - */ - deleteVoiceConnectorEmergencyCallingConfiguration( - args: DeleteVoiceConnectorEmergencyCallingConfigurationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteVoiceConnectorEmergencyCallingConfiguration( - args: DeleteVoiceConnectorEmergencyCallingConfigurationCommandInput, - cb: (err: any, data?: DeleteVoiceConnectorEmergencyCallingConfigurationCommandOutput) => void - ): void; - deleteVoiceConnectorEmergencyCallingConfiguration( - args: DeleteVoiceConnectorEmergencyCallingConfigurationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteVoiceConnectorEmergencyCallingConfigurationCommandOutput) => void - ): void; - - /** - * @see {@link DeleteVoiceConnectorGroupCommand} - */ - deleteVoiceConnectorGroup( - args: DeleteVoiceConnectorGroupCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteVoiceConnectorGroup( - args: DeleteVoiceConnectorGroupCommandInput, - cb: (err: any, data?: DeleteVoiceConnectorGroupCommandOutput) => void - ): void; - deleteVoiceConnectorGroup( - args: DeleteVoiceConnectorGroupCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteVoiceConnectorGroupCommandOutput) => void - ): void; - - /** - * @see {@link DeleteVoiceConnectorOriginationCommand} - */ - deleteVoiceConnectorOrigination( - args: DeleteVoiceConnectorOriginationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteVoiceConnectorOrigination( - args: DeleteVoiceConnectorOriginationCommandInput, - cb: (err: any, data?: DeleteVoiceConnectorOriginationCommandOutput) => void - ): void; - deleteVoiceConnectorOrigination( - args: DeleteVoiceConnectorOriginationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteVoiceConnectorOriginationCommandOutput) => void - ): void; - - /** - * @see {@link DeleteVoiceConnectorProxyCommand} - */ - deleteVoiceConnectorProxy( - args: DeleteVoiceConnectorProxyCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteVoiceConnectorProxy( - args: DeleteVoiceConnectorProxyCommandInput, - cb: (err: any, data?: DeleteVoiceConnectorProxyCommandOutput) => void - ): void; - deleteVoiceConnectorProxy( - args: DeleteVoiceConnectorProxyCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteVoiceConnectorProxyCommandOutput) => void - ): void; - - /** - * @see {@link DeleteVoiceConnectorStreamingConfigurationCommand} - */ - deleteVoiceConnectorStreamingConfiguration( - args: DeleteVoiceConnectorStreamingConfigurationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteVoiceConnectorStreamingConfiguration( - args: DeleteVoiceConnectorStreamingConfigurationCommandInput, - cb: (err: any, data?: DeleteVoiceConnectorStreamingConfigurationCommandOutput) => void - ): void; - deleteVoiceConnectorStreamingConfiguration( - args: DeleteVoiceConnectorStreamingConfigurationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteVoiceConnectorStreamingConfigurationCommandOutput) => void - ): void; - - /** - * @see {@link DeleteVoiceConnectorTerminationCommand} - */ - deleteVoiceConnectorTermination( - args: DeleteVoiceConnectorTerminationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteVoiceConnectorTermination( - args: DeleteVoiceConnectorTerminationCommandInput, - cb: (err: any, data?: DeleteVoiceConnectorTerminationCommandOutput) => void - ): void; - deleteVoiceConnectorTermination( - args: DeleteVoiceConnectorTerminationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteVoiceConnectorTerminationCommandOutput) => void - ): void; - - /** - * @see {@link DeleteVoiceConnectorTerminationCredentialsCommand} - */ - deleteVoiceConnectorTerminationCredentials( - args: DeleteVoiceConnectorTerminationCredentialsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteVoiceConnectorTerminationCredentials( - args: DeleteVoiceConnectorTerminationCredentialsCommandInput, - cb: (err: any, data?: DeleteVoiceConnectorTerminationCredentialsCommandOutput) => void - ): void; - deleteVoiceConnectorTerminationCredentials( - args: DeleteVoiceConnectorTerminationCredentialsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteVoiceConnectorTerminationCredentialsCommandOutput) => void - ): void; - - /** - * @see {@link DescribeAppInstanceCommand} - */ - describeAppInstance( - args: DescribeAppInstanceCommandInput, - options?: __HttpHandlerOptions - ): Promise; - describeAppInstance( - args: DescribeAppInstanceCommandInput, - cb: (err: any, data?: DescribeAppInstanceCommandOutput) => void - ): void; - describeAppInstance( - args: DescribeAppInstanceCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DescribeAppInstanceCommandOutput) => void - ): void; - - /** - * @see {@link DescribeAppInstanceAdminCommand} - */ - describeAppInstanceAdmin( - args: DescribeAppInstanceAdminCommandInput, - options?: __HttpHandlerOptions - ): Promise; - describeAppInstanceAdmin( - args: DescribeAppInstanceAdminCommandInput, - cb: (err: any, data?: DescribeAppInstanceAdminCommandOutput) => void - ): void; - describeAppInstanceAdmin( - args: DescribeAppInstanceAdminCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DescribeAppInstanceAdminCommandOutput) => void - ): void; - - /** - * @see {@link DescribeAppInstanceUserCommand} - */ - describeAppInstanceUser( - args: DescribeAppInstanceUserCommandInput, - options?: __HttpHandlerOptions - ): Promise; - describeAppInstanceUser( - args: DescribeAppInstanceUserCommandInput, - cb: (err: any, data?: DescribeAppInstanceUserCommandOutput) => void - ): void; - describeAppInstanceUser( - args: DescribeAppInstanceUserCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DescribeAppInstanceUserCommandOutput) => void - ): void; - - /** - * @see {@link DescribeChannelCommand} - */ - describeChannel( - args: DescribeChannelCommandInput, - options?: __HttpHandlerOptions - ): Promise; - describeChannel(args: DescribeChannelCommandInput, cb: (err: any, data?: DescribeChannelCommandOutput) => void): void; - describeChannel( - args: DescribeChannelCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DescribeChannelCommandOutput) => void - ): void; - - /** - * @see {@link DescribeChannelBanCommand} - */ - describeChannelBan( - args: DescribeChannelBanCommandInput, - options?: __HttpHandlerOptions - ): Promise; - describeChannelBan( - args: DescribeChannelBanCommandInput, - cb: (err: any, data?: DescribeChannelBanCommandOutput) => void - ): void; - describeChannelBan( - args: DescribeChannelBanCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DescribeChannelBanCommandOutput) => void - ): void; - - /** - * @see {@link DescribeChannelMembershipCommand} - */ - describeChannelMembership( - args: DescribeChannelMembershipCommandInput, - options?: __HttpHandlerOptions - ): Promise; - describeChannelMembership( - args: DescribeChannelMembershipCommandInput, - cb: (err: any, data?: DescribeChannelMembershipCommandOutput) => void - ): void; - describeChannelMembership( - args: DescribeChannelMembershipCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DescribeChannelMembershipCommandOutput) => void - ): void; - - /** - * @see {@link DescribeChannelMembershipForAppInstanceUserCommand} - */ - describeChannelMembershipForAppInstanceUser( - args: DescribeChannelMembershipForAppInstanceUserCommandInput, - options?: __HttpHandlerOptions - ): Promise; - describeChannelMembershipForAppInstanceUser( - args: DescribeChannelMembershipForAppInstanceUserCommandInput, - cb: (err: any, data?: DescribeChannelMembershipForAppInstanceUserCommandOutput) => void - ): void; - describeChannelMembershipForAppInstanceUser( - args: DescribeChannelMembershipForAppInstanceUserCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DescribeChannelMembershipForAppInstanceUserCommandOutput) => void - ): void; - - /** - * @see {@link DescribeChannelModeratedByAppInstanceUserCommand} - */ - describeChannelModeratedByAppInstanceUser( - args: DescribeChannelModeratedByAppInstanceUserCommandInput, - options?: __HttpHandlerOptions - ): Promise; - describeChannelModeratedByAppInstanceUser( - args: DescribeChannelModeratedByAppInstanceUserCommandInput, - cb: (err: any, data?: DescribeChannelModeratedByAppInstanceUserCommandOutput) => void - ): void; - describeChannelModeratedByAppInstanceUser( - args: DescribeChannelModeratedByAppInstanceUserCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DescribeChannelModeratedByAppInstanceUserCommandOutput) => void - ): void; - - /** - * @see {@link DescribeChannelModeratorCommand} - */ - describeChannelModerator( - args: DescribeChannelModeratorCommandInput, - options?: __HttpHandlerOptions - ): Promise; - describeChannelModerator( - args: DescribeChannelModeratorCommandInput, - cb: (err: any, data?: DescribeChannelModeratorCommandOutput) => void - ): void; - describeChannelModerator( - args: DescribeChannelModeratorCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DescribeChannelModeratorCommandOutput) => void - ): void; - /** * @see {@link DisassociatePhoneNumberFromUserCommand} */ @@ -2240,40 +634,6 @@ export interface Chime { cb: (err: any, data?: DisassociatePhoneNumberFromUserCommandOutput) => void ): void; - /** - * @see {@link DisassociatePhoneNumbersFromVoiceConnectorCommand} - */ - disassociatePhoneNumbersFromVoiceConnector( - args: DisassociatePhoneNumbersFromVoiceConnectorCommandInput, - options?: __HttpHandlerOptions - ): Promise; - disassociatePhoneNumbersFromVoiceConnector( - args: DisassociatePhoneNumbersFromVoiceConnectorCommandInput, - cb: (err: any, data?: DisassociatePhoneNumbersFromVoiceConnectorCommandOutput) => void - ): void; - disassociatePhoneNumbersFromVoiceConnector( - args: DisassociatePhoneNumbersFromVoiceConnectorCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DisassociatePhoneNumbersFromVoiceConnectorCommandOutput) => void - ): void; - - /** - * @see {@link DisassociatePhoneNumbersFromVoiceConnectorGroupCommand} - */ - disassociatePhoneNumbersFromVoiceConnectorGroup( - args: DisassociatePhoneNumbersFromVoiceConnectorGroupCommandInput, - options?: __HttpHandlerOptions - ): Promise; - disassociatePhoneNumbersFromVoiceConnectorGroup( - args: DisassociatePhoneNumbersFromVoiceConnectorGroupCommandInput, - cb: (err: any, data?: DisassociatePhoneNumbersFromVoiceConnectorGroupCommandOutput) => void - ): void; - disassociatePhoneNumbersFromVoiceConnectorGroup( - args: DisassociatePhoneNumbersFromVoiceConnectorGroupCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DisassociatePhoneNumbersFromVoiceConnectorGroupCommandOutput) => void - ): void; - /** * @see {@link DisassociateSigninDelegateGroupsFromAccountCommand} */ @@ -2319,51 +679,6 @@ export interface Chime { cb: (err: any, data?: GetAccountSettingsCommandOutput) => void ): void; - /** - * @see {@link GetAppInstanceRetentionSettingsCommand} - */ - getAppInstanceRetentionSettings( - args: GetAppInstanceRetentionSettingsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getAppInstanceRetentionSettings( - args: GetAppInstanceRetentionSettingsCommandInput, - cb: (err: any, data?: GetAppInstanceRetentionSettingsCommandOutput) => void - ): void; - getAppInstanceRetentionSettings( - args: GetAppInstanceRetentionSettingsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetAppInstanceRetentionSettingsCommandOutput) => void - ): void; - - /** - * @see {@link GetAppInstanceStreamingConfigurationsCommand} - */ - getAppInstanceStreamingConfigurations( - args: GetAppInstanceStreamingConfigurationsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getAppInstanceStreamingConfigurations( - args: GetAppInstanceStreamingConfigurationsCommandInput, - cb: (err: any, data?: GetAppInstanceStreamingConfigurationsCommandOutput) => void - ): void; - getAppInstanceStreamingConfigurations( - args: GetAppInstanceStreamingConfigurationsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetAppInstanceStreamingConfigurationsCommandOutput) => void - ): void; - - /** - * @see {@link GetAttendeeCommand} - */ - getAttendee(args: GetAttendeeCommandInput, options?: __HttpHandlerOptions): Promise; - getAttendee(args: GetAttendeeCommandInput, cb: (err: any, data?: GetAttendeeCommandOutput) => void): void; - getAttendee( - args: GetAttendeeCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetAttendeeCommandOutput) => void - ): void; - /** * @see {@link GetBotCommand} */ @@ -2375,23 +690,6 @@ export interface Chime { cb: (err: any, data?: GetBotCommandOutput) => void ): void; - /** - * @see {@link GetChannelMessageCommand} - */ - getChannelMessage( - args: GetChannelMessageCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getChannelMessage( - args: GetChannelMessageCommandInput, - cb: (err: any, data?: GetChannelMessageCommandOutput) => void - ): void; - getChannelMessage( - args: GetChannelMessageCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetChannelMessageCommandOutput) => void - ): void; - /** * @see {@link GetEventsConfigurationCommand} */ @@ -2427,52 +725,6 @@ export interface Chime { cb: (err: any, data?: GetGlobalSettingsCommandOutput) => void ): void; - /** - * @see {@link GetMediaCapturePipelineCommand} - */ - getMediaCapturePipeline( - args: GetMediaCapturePipelineCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getMediaCapturePipeline( - args: GetMediaCapturePipelineCommandInput, - cb: (err: any, data?: GetMediaCapturePipelineCommandOutput) => void - ): void; - getMediaCapturePipeline( - args: GetMediaCapturePipelineCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetMediaCapturePipelineCommandOutput) => void - ): void; - - /** - * @see {@link GetMeetingCommand} - */ - getMeeting(args: GetMeetingCommandInput, options?: __HttpHandlerOptions): Promise; - getMeeting(args: GetMeetingCommandInput, cb: (err: any, data?: GetMeetingCommandOutput) => void): void; - getMeeting( - args: GetMeetingCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetMeetingCommandOutput) => void - ): void; - - /** - * @see {@link GetMessagingSessionEndpointCommand} - */ - getMessagingSessionEndpoint(): Promise; - getMessagingSessionEndpoint( - args: GetMessagingSessionEndpointCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getMessagingSessionEndpoint( - args: GetMessagingSessionEndpointCommandInput, - cb: (err: any, data?: GetMessagingSessionEndpointCommandOutput) => void - ): void; - getMessagingSessionEndpoint( - args: GetMessagingSessionEndpointCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetMessagingSessionEndpointCommandOutput) => void - ): void; - /** * @see {@link GetPhoneNumberCommand} */ @@ -2522,20 +774,6 @@ export interface Chime { cb: (err: any, data?: GetPhoneNumberSettingsCommandOutput) => void ): void; - /** - * @see {@link GetProxySessionCommand} - */ - getProxySession( - args: GetProxySessionCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getProxySession(args: GetProxySessionCommandInput, cb: (err: any, data?: GetProxySessionCommandOutput) => void): void; - getProxySession( - args: GetProxySessionCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetProxySessionCommandOutput) => void - ): void; - /** * @see {@link GetRetentionSettingsCommand} */ @@ -2564,51 +802,6 @@ export interface Chime { cb: (err: any, data?: GetRoomCommandOutput) => void ): void; - /** - * @see {@link GetSipMediaApplicationCommand} - */ - getSipMediaApplication( - args: GetSipMediaApplicationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getSipMediaApplication( - args: GetSipMediaApplicationCommandInput, - cb: (err: any, data?: GetSipMediaApplicationCommandOutput) => void - ): void; - getSipMediaApplication( - args: GetSipMediaApplicationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetSipMediaApplicationCommandOutput) => void - ): void; - - /** - * @see {@link GetSipMediaApplicationLoggingConfigurationCommand} - */ - getSipMediaApplicationLoggingConfiguration( - args: GetSipMediaApplicationLoggingConfigurationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getSipMediaApplicationLoggingConfiguration( - args: GetSipMediaApplicationLoggingConfigurationCommandInput, - cb: (err: any, data?: GetSipMediaApplicationLoggingConfigurationCommandOutput) => void - ): void; - getSipMediaApplicationLoggingConfiguration( - args: GetSipMediaApplicationLoggingConfigurationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetSipMediaApplicationLoggingConfigurationCommandOutput) => void - ): void; - - /** - * @see {@link GetSipRuleCommand} - */ - getSipRule(args: GetSipRuleCommandInput, options?: __HttpHandlerOptions): Promise; - getSipRule(args: GetSipRuleCommandInput, cb: (err: any, data?: GetSipRuleCommandOutput) => void): void; - getSipRule( - args: GetSipRuleCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetSipRuleCommandOutput) => void - ): void; - /** * @see {@link GetUserCommand} */ @@ -2634,159 +827,6 @@ export interface Chime { cb: (err: any, data?: GetUserSettingsCommandOutput) => void ): void; - /** - * @see {@link GetVoiceConnectorCommand} - */ - getVoiceConnector( - args: GetVoiceConnectorCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getVoiceConnector( - args: GetVoiceConnectorCommandInput, - cb: (err: any, data?: GetVoiceConnectorCommandOutput) => void - ): void; - getVoiceConnector( - args: GetVoiceConnectorCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetVoiceConnectorCommandOutput) => void - ): void; - - /** - * @see {@link GetVoiceConnectorEmergencyCallingConfigurationCommand} - */ - getVoiceConnectorEmergencyCallingConfiguration( - args: GetVoiceConnectorEmergencyCallingConfigurationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getVoiceConnectorEmergencyCallingConfiguration( - args: GetVoiceConnectorEmergencyCallingConfigurationCommandInput, - cb: (err: any, data?: GetVoiceConnectorEmergencyCallingConfigurationCommandOutput) => void - ): void; - getVoiceConnectorEmergencyCallingConfiguration( - args: GetVoiceConnectorEmergencyCallingConfigurationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetVoiceConnectorEmergencyCallingConfigurationCommandOutput) => void - ): void; - - /** - * @see {@link GetVoiceConnectorGroupCommand} - */ - getVoiceConnectorGroup( - args: GetVoiceConnectorGroupCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getVoiceConnectorGroup( - args: GetVoiceConnectorGroupCommandInput, - cb: (err: any, data?: GetVoiceConnectorGroupCommandOutput) => void - ): void; - getVoiceConnectorGroup( - args: GetVoiceConnectorGroupCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetVoiceConnectorGroupCommandOutput) => void - ): void; - - /** - * @see {@link GetVoiceConnectorLoggingConfigurationCommand} - */ - getVoiceConnectorLoggingConfiguration( - args: GetVoiceConnectorLoggingConfigurationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getVoiceConnectorLoggingConfiguration( - args: GetVoiceConnectorLoggingConfigurationCommandInput, - cb: (err: any, data?: GetVoiceConnectorLoggingConfigurationCommandOutput) => void - ): void; - getVoiceConnectorLoggingConfiguration( - args: GetVoiceConnectorLoggingConfigurationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetVoiceConnectorLoggingConfigurationCommandOutput) => void - ): void; - - /** - * @see {@link GetVoiceConnectorOriginationCommand} - */ - getVoiceConnectorOrigination( - args: GetVoiceConnectorOriginationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getVoiceConnectorOrigination( - args: GetVoiceConnectorOriginationCommandInput, - cb: (err: any, data?: GetVoiceConnectorOriginationCommandOutput) => void - ): void; - getVoiceConnectorOrigination( - args: GetVoiceConnectorOriginationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetVoiceConnectorOriginationCommandOutput) => void - ): void; - - /** - * @see {@link GetVoiceConnectorProxyCommand} - */ - getVoiceConnectorProxy( - args: GetVoiceConnectorProxyCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getVoiceConnectorProxy( - args: GetVoiceConnectorProxyCommandInput, - cb: (err: any, data?: GetVoiceConnectorProxyCommandOutput) => void - ): void; - getVoiceConnectorProxy( - args: GetVoiceConnectorProxyCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetVoiceConnectorProxyCommandOutput) => void - ): void; - - /** - * @see {@link GetVoiceConnectorStreamingConfigurationCommand} - */ - getVoiceConnectorStreamingConfiguration( - args: GetVoiceConnectorStreamingConfigurationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getVoiceConnectorStreamingConfiguration( - args: GetVoiceConnectorStreamingConfigurationCommandInput, - cb: (err: any, data?: GetVoiceConnectorStreamingConfigurationCommandOutput) => void - ): void; - getVoiceConnectorStreamingConfiguration( - args: GetVoiceConnectorStreamingConfigurationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetVoiceConnectorStreamingConfigurationCommandOutput) => void - ): void; - - /** - * @see {@link GetVoiceConnectorTerminationCommand} - */ - getVoiceConnectorTermination( - args: GetVoiceConnectorTerminationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getVoiceConnectorTermination( - args: GetVoiceConnectorTerminationCommandInput, - cb: (err: any, data?: GetVoiceConnectorTerminationCommandOutput) => void - ): void; - getVoiceConnectorTermination( - args: GetVoiceConnectorTerminationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetVoiceConnectorTerminationCommandOutput) => void - ): void; - - /** - * @see {@link GetVoiceConnectorTerminationHealthCommand} - */ - getVoiceConnectorTerminationHealth( - args: GetVoiceConnectorTerminationHealthCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getVoiceConnectorTerminationHealth( - args: GetVoiceConnectorTerminationHealthCommandInput, - cb: (err: any, data?: GetVoiceConnectorTerminationHealthCommandOutput) => void - ): void; - getVoiceConnectorTerminationHealth( - args: GetVoiceConnectorTerminationHealthCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetVoiceConnectorTerminationHealthCommandOutput) => void - ): void; - /** * @see {@link InviteUsersCommand} */ @@ -2810,86 +850,6 @@ export interface Chime { cb: (err: any, data?: ListAccountsCommandOutput) => void ): void; - /** - * @see {@link ListAppInstanceAdminsCommand} - */ - listAppInstanceAdmins( - args: ListAppInstanceAdminsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listAppInstanceAdmins( - args: ListAppInstanceAdminsCommandInput, - cb: (err: any, data?: ListAppInstanceAdminsCommandOutput) => void - ): void; - listAppInstanceAdmins( - args: ListAppInstanceAdminsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListAppInstanceAdminsCommandOutput) => void - ): void; - - /** - * @see {@link ListAppInstancesCommand} - */ - listAppInstances(): Promise; - listAppInstances( - args: ListAppInstancesCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listAppInstances( - args: ListAppInstancesCommandInput, - cb: (err: any, data?: ListAppInstancesCommandOutput) => void - ): void; - listAppInstances( - args: ListAppInstancesCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListAppInstancesCommandOutput) => void - ): void; - - /** - * @see {@link ListAppInstanceUsersCommand} - */ - listAppInstanceUsers( - args: ListAppInstanceUsersCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listAppInstanceUsers( - args: ListAppInstanceUsersCommandInput, - cb: (err: any, data?: ListAppInstanceUsersCommandOutput) => void - ): void; - listAppInstanceUsers( - args: ListAppInstanceUsersCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListAppInstanceUsersCommandOutput) => void - ): void; - - /** - * @see {@link ListAttendeesCommand} - */ - listAttendees(args: ListAttendeesCommandInput, options?: __HttpHandlerOptions): Promise; - listAttendees(args: ListAttendeesCommandInput, cb: (err: any, data?: ListAttendeesCommandOutput) => void): void; - listAttendees( - args: ListAttendeesCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListAttendeesCommandOutput) => void - ): void; - - /** - * @see {@link ListAttendeeTagsCommand} - */ - listAttendeeTags( - args: ListAttendeeTagsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listAttendeeTags( - args: ListAttendeeTagsCommandInput, - cb: (err: any, data?: ListAttendeeTagsCommandOutput) => void - ): void; - listAttendeeTags( - args: ListAttendeeTagsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListAttendeeTagsCommandOutput) => void - ): void; - /** * @see {@link ListBotsCommand} */ @@ -2898,163 +858,7 @@ export interface Chime { listBots( args: ListBotsCommandInput, options: __HttpHandlerOptions, - cb: (err: any, data?: ListBotsCommandOutput) => void - ): void; - - /** - * @see {@link ListChannelBansCommand} - */ - listChannelBans( - args: ListChannelBansCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listChannelBans(args: ListChannelBansCommandInput, cb: (err: any, data?: ListChannelBansCommandOutput) => void): void; - listChannelBans( - args: ListChannelBansCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListChannelBansCommandOutput) => void - ): void; - - /** - * @see {@link ListChannelMembershipsCommand} - */ - listChannelMemberships( - args: ListChannelMembershipsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listChannelMemberships( - args: ListChannelMembershipsCommandInput, - cb: (err: any, data?: ListChannelMembershipsCommandOutput) => void - ): void; - listChannelMemberships( - args: ListChannelMembershipsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListChannelMembershipsCommandOutput) => void - ): void; - - /** - * @see {@link ListChannelMembershipsForAppInstanceUserCommand} - */ - listChannelMembershipsForAppInstanceUser(): Promise; - listChannelMembershipsForAppInstanceUser( - args: ListChannelMembershipsForAppInstanceUserCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listChannelMembershipsForAppInstanceUser( - args: ListChannelMembershipsForAppInstanceUserCommandInput, - cb: (err: any, data?: ListChannelMembershipsForAppInstanceUserCommandOutput) => void - ): void; - listChannelMembershipsForAppInstanceUser( - args: ListChannelMembershipsForAppInstanceUserCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListChannelMembershipsForAppInstanceUserCommandOutput) => void - ): void; - - /** - * @see {@link ListChannelMessagesCommand} - */ - listChannelMessages( - args: ListChannelMessagesCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listChannelMessages( - args: ListChannelMessagesCommandInput, - cb: (err: any, data?: ListChannelMessagesCommandOutput) => void - ): void; - listChannelMessages( - args: ListChannelMessagesCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListChannelMessagesCommandOutput) => void - ): void; - - /** - * @see {@link ListChannelModeratorsCommand} - */ - listChannelModerators( - args: ListChannelModeratorsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listChannelModerators( - args: ListChannelModeratorsCommandInput, - cb: (err: any, data?: ListChannelModeratorsCommandOutput) => void - ): void; - listChannelModerators( - args: ListChannelModeratorsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListChannelModeratorsCommandOutput) => void - ): void; - - /** - * @see {@link ListChannelsCommand} - */ - listChannels(args: ListChannelsCommandInput, options?: __HttpHandlerOptions): Promise; - listChannels(args: ListChannelsCommandInput, cb: (err: any, data?: ListChannelsCommandOutput) => void): void; - listChannels( - args: ListChannelsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListChannelsCommandOutput) => void - ): void; - - /** - * @see {@link ListChannelsModeratedByAppInstanceUserCommand} - */ - listChannelsModeratedByAppInstanceUser(): Promise; - listChannelsModeratedByAppInstanceUser( - args: ListChannelsModeratedByAppInstanceUserCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listChannelsModeratedByAppInstanceUser( - args: ListChannelsModeratedByAppInstanceUserCommandInput, - cb: (err: any, data?: ListChannelsModeratedByAppInstanceUserCommandOutput) => void - ): void; - listChannelsModeratedByAppInstanceUser( - args: ListChannelsModeratedByAppInstanceUserCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListChannelsModeratedByAppInstanceUserCommandOutput) => void - ): void; - - /** - * @see {@link ListMediaCapturePipelinesCommand} - */ - listMediaCapturePipelines(): Promise; - listMediaCapturePipelines( - args: ListMediaCapturePipelinesCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listMediaCapturePipelines( - args: ListMediaCapturePipelinesCommandInput, - cb: (err: any, data?: ListMediaCapturePipelinesCommandOutput) => void - ): void; - listMediaCapturePipelines( - args: ListMediaCapturePipelinesCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListMediaCapturePipelinesCommandOutput) => void - ): void; - - /** - * @see {@link ListMeetingsCommand} - */ - listMeetings(): Promise; - listMeetings(args: ListMeetingsCommandInput, options?: __HttpHandlerOptions): Promise; - listMeetings(args: ListMeetingsCommandInput, cb: (err: any, data?: ListMeetingsCommandOutput) => void): void; - listMeetings( - args: ListMeetingsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListMeetingsCommandOutput) => void - ): void; - - /** - * @see {@link ListMeetingTagsCommand} - */ - listMeetingTags( - args: ListMeetingTagsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listMeetingTags(args: ListMeetingTagsCommandInput, cb: (err: any, data?: ListMeetingTagsCommandOutput) => void): void; - listMeetingTags( - args: ListMeetingTagsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListMeetingTagsCommandOutput) => void + cb: (err: any, data?: ListBotsCommandOutput) => void ): void; /** @@ -3093,23 +897,6 @@ export interface Chime { cb: (err: any, data?: ListPhoneNumbersCommandOutput) => void ): void; - /** - * @see {@link ListProxySessionsCommand} - */ - listProxySessions( - args: ListProxySessionsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listProxySessions( - args: ListProxySessionsCommandInput, - cb: (err: any, data?: ListProxySessionsCommandOutput) => void - ): void; - listProxySessions( - args: ListProxySessionsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListProxySessionsCommandOutput) => void - ): void; - /** * @see {@link ListRoomMembershipsCommand} */ @@ -3138,36 +925,6 @@ export interface Chime { cb: (err: any, data?: ListRoomsCommandOutput) => void ): void; - /** - * @see {@link ListSipMediaApplicationsCommand} - */ - listSipMediaApplications(): Promise; - listSipMediaApplications( - args: ListSipMediaApplicationsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listSipMediaApplications( - args: ListSipMediaApplicationsCommandInput, - cb: (err: any, data?: ListSipMediaApplicationsCommandOutput) => void - ): void; - listSipMediaApplications( - args: ListSipMediaApplicationsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListSipMediaApplicationsCommandOutput) => void - ): void; - - /** - * @see {@link ListSipRulesCommand} - */ - listSipRules(): Promise; - listSipRules(args: ListSipRulesCommandInput, options?: __HttpHandlerOptions): Promise; - listSipRules(args: ListSipRulesCommandInput, cb: (err: any, data?: ListSipRulesCommandOutput) => void): void; - listSipRules( - args: ListSipRulesCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListSipRulesCommandOutput) => void - ): void; - /** * @see {@link ListSupportedPhoneNumberCountriesCommand} */ @@ -3185,23 +942,6 @@ export interface Chime { cb: (err: any, data?: ListSupportedPhoneNumberCountriesCommandOutput) => void ): void; - /** - * @see {@link ListTagsForResourceCommand} - */ - listTagsForResource( - args: ListTagsForResourceCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listTagsForResource( - args: ListTagsForResourceCommandInput, - cb: (err: any, data?: ListTagsForResourceCommandOutput) => void - ): void; - listTagsForResource( - args: ListTagsForResourceCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListTagsForResourceCommandOutput) => void - ): void; - /** * @see {@link ListUsersCommand} */ @@ -3213,59 +953,6 @@ export interface Chime { cb: (err: any, data?: ListUsersCommandOutput) => void ): void; - /** - * @see {@link ListVoiceConnectorGroupsCommand} - */ - listVoiceConnectorGroups(): Promise; - listVoiceConnectorGroups( - args: ListVoiceConnectorGroupsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listVoiceConnectorGroups( - args: ListVoiceConnectorGroupsCommandInput, - cb: (err: any, data?: ListVoiceConnectorGroupsCommandOutput) => void - ): void; - listVoiceConnectorGroups( - args: ListVoiceConnectorGroupsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListVoiceConnectorGroupsCommandOutput) => void - ): void; - - /** - * @see {@link ListVoiceConnectorsCommand} - */ - listVoiceConnectors(): Promise; - listVoiceConnectors( - args: ListVoiceConnectorsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listVoiceConnectors( - args: ListVoiceConnectorsCommandInput, - cb: (err: any, data?: ListVoiceConnectorsCommandOutput) => void - ): void; - listVoiceConnectors( - args: ListVoiceConnectorsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListVoiceConnectorsCommandOutput) => void - ): void; - - /** - * @see {@link ListVoiceConnectorTerminationCredentialsCommand} - */ - listVoiceConnectorTerminationCredentials( - args: ListVoiceConnectorTerminationCredentialsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listVoiceConnectorTerminationCredentials( - args: ListVoiceConnectorTerminationCredentialsCommandInput, - cb: (err: any, data?: ListVoiceConnectorTerminationCredentialsCommandOutput) => void - ): void; - listVoiceConnectorTerminationCredentials( - args: ListVoiceConnectorTerminationCredentialsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListVoiceConnectorTerminationCredentialsCommandOutput) => void - ): void; - /** * @see {@link LogoutUserCommand} */ @@ -3277,40 +964,6 @@ export interface Chime { cb: (err: any, data?: LogoutUserCommandOutput) => void ): void; - /** - * @see {@link PutAppInstanceRetentionSettingsCommand} - */ - putAppInstanceRetentionSettings( - args: PutAppInstanceRetentionSettingsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - putAppInstanceRetentionSettings( - args: PutAppInstanceRetentionSettingsCommandInput, - cb: (err: any, data?: PutAppInstanceRetentionSettingsCommandOutput) => void - ): void; - putAppInstanceRetentionSettings( - args: PutAppInstanceRetentionSettingsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: PutAppInstanceRetentionSettingsCommandOutput) => void - ): void; - - /** - * @see {@link PutAppInstanceStreamingConfigurationsCommand} - */ - putAppInstanceStreamingConfigurations( - args: PutAppInstanceStreamingConfigurationsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - putAppInstanceStreamingConfigurations( - args: PutAppInstanceStreamingConfigurationsCommandInput, - cb: (err: any, data?: PutAppInstanceStreamingConfigurationsCommandOutput) => void - ): void; - putAppInstanceStreamingConfigurations( - args: PutAppInstanceStreamingConfigurationsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: PutAppInstanceStreamingConfigurationsCommandOutput) => void - ): void; - /** * @see {@link PutEventsConfigurationCommand} */ @@ -3345,159 +998,6 @@ export interface Chime { cb: (err: any, data?: PutRetentionSettingsCommandOutput) => void ): void; - /** - * @see {@link PutSipMediaApplicationLoggingConfigurationCommand} - */ - putSipMediaApplicationLoggingConfiguration( - args: PutSipMediaApplicationLoggingConfigurationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - putSipMediaApplicationLoggingConfiguration( - args: PutSipMediaApplicationLoggingConfigurationCommandInput, - cb: (err: any, data?: PutSipMediaApplicationLoggingConfigurationCommandOutput) => void - ): void; - putSipMediaApplicationLoggingConfiguration( - args: PutSipMediaApplicationLoggingConfigurationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: PutSipMediaApplicationLoggingConfigurationCommandOutput) => void - ): void; - - /** - * @see {@link PutVoiceConnectorEmergencyCallingConfigurationCommand} - */ - putVoiceConnectorEmergencyCallingConfiguration( - args: PutVoiceConnectorEmergencyCallingConfigurationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - putVoiceConnectorEmergencyCallingConfiguration( - args: PutVoiceConnectorEmergencyCallingConfigurationCommandInput, - cb: (err: any, data?: PutVoiceConnectorEmergencyCallingConfigurationCommandOutput) => void - ): void; - putVoiceConnectorEmergencyCallingConfiguration( - args: PutVoiceConnectorEmergencyCallingConfigurationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: PutVoiceConnectorEmergencyCallingConfigurationCommandOutput) => void - ): void; - - /** - * @see {@link PutVoiceConnectorLoggingConfigurationCommand} - */ - putVoiceConnectorLoggingConfiguration( - args: PutVoiceConnectorLoggingConfigurationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - putVoiceConnectorLoggingConfiguration( - args: PutVoiceConnectorLoggingConfigurationCommandInput, - cb: (err: any, data?: PutVoiceConnectorLoggingConfigurationCommandOutput) => void - ): void; - putVoiceConnectorLoggingConfiguration( - args: PutVoiceConnectorLoggingConfigurationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: PutVoiceConnectorLoggingConfigurationCommandOutput) => void - ): void; - - /** - * @see {@link PutVoiceConnectorOriginationCommand} - */ - putVoiceConnectorOrigination( - args: PutVoiceConnectorOriginationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - putVoiceConnectorOrigination( - args: PutVoiceConnectorOriginationCommandInput, - cb: (err: any, data?: PutVoiceConnectorOriginationCommandOutput) => void - ): void; - putVoiceConnectorOrigination( - args: PutVoiceConnectorOriginationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: PutVoiceConnectorOriginationCommandOutput) => void - ): void; - - /** - * @see {@link PutVoiceConnectorProxyCommand} - */ - putVoiceConnectorProxy( - args: PutVoiceConnectorProxyCommandInput, - options?: __HttpHandlerOptions - ): Promise; - putVoiceConnectorProxy( - args: PutVoiceConnectorProxyCommandInput, - cb: (err: any, data?: PutVoiceConnectorProxyCommandOutput) => void - ): void; - putVoiceConnectorProxy( - args: PutVoiceConnectorProxyCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: PutVoiceConnectorProxyCommandOutput) => void - ): void; - - /** - * @see {@link PutVoiceConnectorStreamingConfigurationCommand} - */ - putVoiceConnectorStreamingConfiguration( - args: PutVoiceConnectorStreamingConfigurationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - putVoiceConnectorStreamingConfiguration( - args: PutVoiceConnectorStreamingConfigurationCommandInput, - cb: (err: any, data?: PutVoiceConnectorStreamingConfigurationCommandOutput) => void - ): void; - putVoiceConnectorStreamingConfiguration( - args: PutVoiceConnectorStreamingConfigurationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: PutVoiceConnectorStreamingConfigurationCommandOutput) => void - ): void; - - /** - * @see {@link PutVoiceConnectorTerminationCommand} - */ - putVoiceConnectorTermination( - args: PutVoiceConnectorTerminationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - putVoiceConnectorTermination( - args: PutVoiceConnectorTerminationCommandInput, - cb: (err: any, data?: PutVoiceConnectorTerminationCommandOutput) => void - ): void; - putVoiceConnectorTermination( - args: PutVoiceConnectorTerminationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: PutVoiceConnectorTerminationCommandOutput) => void - ): void; - - /** - * @see {@link PutVoiceConnectorTerminationCredentialsCommand} - */ - putVoiceConnectorTerminationCredentials( - args: PutVoiceConnectorTerminationCredentialsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - putVoiceConnectorTerminationCredentials( - args: PutVoiceConnectorTerminationCredentialsCommandInput, - cb: (err: any, data?: PutVoiceConnectorTerminationCredentialsCommandOutput) => void - ): void; - putVoiceConnectorTerminationCredentials( - args: PutVoiceConnectorTerminationCredentialsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: PutVoiceConnectorTerminationCredentialsCommandOutput) => void - ): void; - - /** - * @see {@link RedactChannelMessageCommand} - */ - redactChannelMessage( - args: RedactChannelMessageCommandInput, - options?: __HttpHandlerOptions - ): Promise; - redactChannelMessage( - args: RedactChannelMessageCommandInput, - cb: (err: any, data?: RedactChannelMessageCommandOutput) => void - ): void; - redactChannelMessage( - args: RedactChannelMessageCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: RedactChannelMessageCommandOutput) => void - ): void; - /** * @see {@link RedactConversationMessageCommand} */ @@ -3601,123 +1101,6 @@ export interface Chime { cb: (err: any, data?: SearchAvailablePhoneNumbersCommandOutput) => void ): void; - /** - * @see {@link SendChannelMessageCommand} - */ - sendChannelMessage( - args: SendChannelMessageCommandInput, - options?: __HttpHandlerOptions - ): Promise; - sendChannelMessage( - args: SendChannelMessageCommandInput, - cb: (err: any, data?: SendChannelMessageCommandOutput) => void - ): void; - sendChannelMessage( - args: SendChannelMessageCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: SendChannelMessageCommandOutput) => void - ): void; - - /** - * @see {@link StartMeetingTranscriptionCommand} - */ - startMeetingTranscription( - args: StartMeetingTranscriptionCommandInput, - options?: __HttpHandlerOptions - ): Promise; - startMeetingTranscription( - args: StartMeetingTranscriptionCommandInput, - cb: (err: any, data?: StartMeetingTranscriptionCommandOutput) => void - ): void; - startMeetingTranscription( - args: StartMeetingTranscriptionCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: StartMeetingTranscriptionCommandOutput) => void - ): void; - - /** - * @see {@link StopMeetingTranscriptionCommand} - */ - stopMeetingTranscription( - args: StopMeetingTranscriptionCommandInput, - options?: __HttpHandlerOptions - ): Promise; - stopMeetingTranscription( - args: StopMeetingTranscriptionCommandInput, - cb: (err: any, data?: StopMeetingTranscriptionCommandOutput) => void - ): void; - stopMeetingTranscription( - args: StopMeetingTranscriptionCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: StopMeetingTranscriptionCommandOutput) => void - ): void; - - /** - * @see {@link TagAttendeeCommand} - */ - tagAttendee(args: TagAttendeeCommandInput, options?: __HttpHandlerOptions): Promise; - tagAttendee(args: TagAttendeeCommandInput, cb: (err: any, data?: TagAttendeeCommandOutput) => void): void; - tagAttendee( - args: TagAttendeeCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: TagAttendeeCommandOutput) => void - ): void; - - /** - * @see {@link TagMeetingCommand} - */ - tagMeeting(args: TagMeetingCommandInput, options?: __HttpHandlerOptions): Promise; - tagMeeting(args: TagMeetingCommandInput, cb: (err: any, data?: TagMeetingCommandOutput) => void): void; - tagMeeting( - args: TagMeetingCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: TagMeetingCommandOutput) => void - ): void; - - /** - * @see {@link TagResourceCommand} - */ - tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise; - tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void; - tagResource( - args: TagResourceCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: TagResourceCommandOutput) => void - ): void; - - /** - * @see {@link UntagAttendeeCommand} - */ - untagAttendee(args: UntagAttendeeCommandInput, options?: __HttpHandlerOptions): Promise; - untagAttendee(args: UntagAttendeeCommandInput, cb: (err: any, data?: UntagAttendeeCommandOutput) => void): void; - untagAttendee( - args: UntagAttendeeCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UntagAttendeeCommandOutput) => void - ): void; - - /** - * @see {@link UntagMeetingCommand} - */ - untagMeeting(args: UntagMeetingCommandInput, options?: __HttpHandlerOptions): Promise; - untagMeeting(args: UntagMeetingCommandInput, cb: (err: any, data?: UntagMeetingCommandOutput) => void): void; - untagMeeting( - args: UntagMeetingCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UntagMeetingCommandOutput) => void - ): void; - - /** - * @see {@link UntagResourceCommand} - */ - untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise; - untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; - untagResource( - args: UntagResourceCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UntagResourceCommandOutput) => void - ): void; - /** * @see {@link UpdateAccountCommand} */ @@ -3746,40 +1129,6 @@ export interface Chime { cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void ): void; - /** - * @see {@link UpdateAppInstanceCommand} - */ - updateAppInstance( - args: UpdateAppInstanceCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateAppInstance( - args: UpdateAppInstanceCommandInput, - cb: (err: any, data?: UpdateAppInstanceCommandOutput) => void - ): void; - updateAppInstance( - args: UpdateAppInstanceCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateAppInstanceCommandOutput) => void - ): void; - - /** - * @see {@link UpdateAppInstanceUserCommand} - */ - updateAppInstanceUser( - args: UpdateAppInstanceUserCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateAppInstanceUser( - args: UpdateAppInstanceUserCommandInput, - cb: (err: any, data?: UpdateAppInstanceUserCommandOutput) => void - ): void; - updateAppInstanceUser( - args: UpdateAppInstanceUserCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateAppInstanceUserCommandOutput) => void - ): void; - /** * @see {@link UpdateBotCommand} */ @@ -3791,51 +1140,6 @@ export interface Chime { cb: (err: any, data?: UpdateBotCommandOutput) => void ): void; - /** - * @see {@link UpdateChannelCommand} - */ - updateChannel(args: UpdateChannelCommandInput, options?: __HttpHandlerOptions): Promise; - updateChannel(args: UpdateChannelCommandInput, cb: (err: any, data?: UpdateChannelCommandOutput) => void): void; - updateChannel( - args: UpdateChannelCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateChannelCommandOutput) => void - ): void; - - /** - * @see {@link UpdateChannelMessageCommand} - */ - updateChannelMessage( - args: UpdateChannelMessageCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateChannelMessage( - args: UpdateChannelMessageCommandInput, - cb: (err: any, data?: UpdateChannelMessageCommandOutput) => void - ): void; - updateChannelMessage( - args: UpdateChannelMessageCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateChannelMessageCommandOutput) => void - ): void; - - /** - * @see {@link UpdateChannelReadMarkerCommand} - */ - updateChannelReadMarker( - args: UpdateChannelReadMarkerCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateChannelReadMarker( - args: UpdateChannelReadMarkerCommandInput, - cb: (err: any, data?: UpdateChannelReadMarkerCommandOutput) => void - ): void; - updateChannelReadMarker( - args: UpdateChannelReadMarkerCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateChannelReadMarkerCommandOutput) => void - ): void; - /** * @see {@link UpdateGlobalSettingsCommand} */ @@ -3888,23 +1192,6 @@ export interface Chime { cb: (err: any, data?: UpdatePhoneNumberSettingsCommandOutput) => void ): void; - /** - * @see {@link UpdateProxySessionCommand} - */ - updateProxySession( - args: UpdateProxySessionCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateProxySession( - args: UpdateProxySessionCommandInput, - cb: (err: any, data?: UpdateProxySessionCommandOutput) => void - ): void; - updateProxySession( - args: UpdateProxySessionCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateProxySessionCommandOutput) => void - ): void; - /** * @see {@link UpdateRoomCommand} */ @@ -3933,51 +1220,6 @@ export interface Chime { cb: (err: any, data?: UpdateRoomMembershipCommandOutput) => void ): void; - /** - * @see {@link UpdateSipMediaApplicationCommand} - */ - updateSipMediaApplication( - args: UpdateSipMediaApplicationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateSipMediaApplication( - args: UpdateSipMediaApplicationCommandInput, - cb: (err: any, data?: UpdateSipMediaApplicationCommandOutput) => void - ): void; - updateSipMediaApplication( - args: UpdateSipMediaApplicationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateSipMediaApplicationCommandOutput) => void - ): void; - - /** - * @see {@link UpdateSipMediaApplicationCallCommand} - */ - updateSipMediaApplicationCall( - args: UpdateSipMediaApplicationCallCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateSipMediaApplicationCall( - args: UpdateSipMediaApplicationCallCommandInput, - cb: (err: any, data?: UpdateSipMediaApplicationCallCommandOutput) => void - ): void; - updateSipMediaApplicationCall( - args: UpdateSipMediaApplicationCallCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateSipMediaApplicationCallCommandOutput) => void - ): void; - - /** - * @see {@link UpdateSipRuleCommand} - */ - updateSipRule(args: UpdateSipRuleCommandInput, options?: __HttpHandlerOptions): Promise; - updateSipRule(args: UpdateSipRuleCommandInput, cb: (err: any, data?: UpdateSipRuleCommandOutput) => void): void; - updateSipRule( - args: UpdateSipRuleCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateSipRuleCommandOutput) => void - ): void; - /** * @see {@link UpdateUserCommand} */ @@ -4005,57 +1247,6 @@ export interface Chime { options: __HttpHandlerOptions, cb: (err: any, data?: UpdateUserSettingsCommandOutput) => void ): void; - - /** - * @see {@link UpdateVoiceConnectorCommand} - */ - updateVoiceConnector( - args: UpdateVoiceConnectorCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateVoiceConnector( - args: UpdateVoiceConnectorCommandInput, - cb: (err: any, data?: UpdateVoiceConnectorCommandOutput) => void - ): void; - updateVoiceConnector( - args: UpdateVoiceConnectorCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateVoiceConnectorCommandOutput) => void - ): void; - - /** - * @see {@link UpdateVoiceConnectorGroupCommand} - */ - updateVoiceConnectorGroup( - args: UpdateVoiceConnectorGroupCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateVoiceConnectorGroup( - args: UpdateVoiceConnectorGroupCommandInput, - cb: (err: any, data?: UpdateVoiceConnectorGroupCommandOutput) => void - ): void; - updateVoiceConnectorGroup( - args: UpdateVoiceConnectorGroupCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateVoiceConnectorGroupCommandOutput) => void - ): void; - - /** - * @see {@link ValidateE911AddressCommand} - */ - validateE911Address( - args: ValidateE911AddressCommandInput, - options?: __HttpHandlerOptions - ): Promise; - validateE911Address( - args: ValidateE911AddressCommandInput, - cb: (err: any, data?: ValidateE911AddressCommandOutput) => void - ): void; - validateE911Address( - args: ValidateE911AddressCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ValidateE911AddressCommandOutput) => void - ): void; } /** diff --git a/clients/client-chime/src/ChimeClient.ts b/clients/client-chime/src/ChimeClient.ts index 062561da4fec..107fc564d321 100644 --- a/clients/client-chime/src/ChimeClient.ts +++ b/clients/client-chime/src/ChimeClient.ts @@ -53,14 +53,6 @@ import { HttpAuthSchemeResolvedConfig, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider"; -import { - AssociatePhoneNumbersWithVoiceConnectorCommandInput, - AssociatePhoneNumbersWithVoiceConnectorCommandOutput, -} from "./commands/AssociatePhoneNumbersWithVoiceConnectorCommand"; -import { - AssociatePhoneNumbersWithVoiceConnectorGroupCommandInput, - AssociatePhoneNumbersWithVoiceConnectorGroupCommandOutput, -} from "./commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand"; import { AssociatePhoneNumberWithUserCommandInput, AssociatePhoneNumberWithUserCommandOutput, @@ -69,14 +61,6 @@ import { AssociateSigninDelegateGroupsWithAccountCommandInput, AssociateSigninDelegateGroupsWithAccountCommandOutput, } from "./commands/AssociateSigninDelegateGroupsWithAccountCommand"; -import { - BatchCreateAttendeeCommandInput, - BatchCreateAttendeeCommandOutput, -} from "./commands/BatchCreateAttendeeCommand"; -import { - BatchCreateChannelMembershipCommandInput, - BatchCreateChannelMembershipCommandOutput, -} from "./commands/BatchCreateChannelMembershipCommand"; import { BatchCreateRoomMembershipCommandInput, BatchCreateRoomMembershipCommandOutput, @@ -93,223 +77,48 @@ import { } from "./commands/BatchUpdatePhoneNumberCommand"; import { BatchUpdateUserCommandInput, BatchUpdateUserCommandOutput } from "./commands/BatchUpdateUserCommand"; import { CreateAccountCommandInput, CreateAccountCommandOutput } from "./commands/CreateAccountCommand"; -import { - CreateAppInstanceAdminCommandInput, - CreateAppInstanceAdminCommandOutput, -} from "./commands/CreateAppInstanceAdminCommand"; -import { CreateAppInstanceCommandInput, CreateAppInstanceCommandOutput } from "./commands/CreateAppInstanceCommand"; -import { - CreateAppInstanceUserCommandInput, - CreateAppInstanceUserCommandOutput, -} from "./commands/CreateAppInstanceUserCommand"; -import { CreateAttendeeCommandInput, CreateAttendeeCommandOutput } from "./commands/CreateAttendeeCommand"; import { CreateBotCommandInput, CreateBotCommandOutput } from "./commands/CreateBotCommand"; -import { CreateChannelBanCommandInput, CreateChannelBanCommandOutput } from "./commands/CreateChannelBanCommand"; -import { CreateChannelCommandInput, CreateChannelCommandOutput } from "./commands/CreateChannelCommand"; -import { - CreateChannelMembershipCommandInput, - CreateChannelMembershipCommandOutput, -} from "./commands/CreateChannelMembershipCommand"; -import { - CreateChannelModeratorCommandInput, - CreateChannelModeratorCommandOutput, -} from "./commands/CreateChannelModeratorCommand"; -import { - CreateMediaCapturePipelineCommandInput, - CreateMediaCapturePipelineCommandOutput, -} from "./commands/CreateMediaCapturePipelineCommand"; -import { CreateMeetingCommandInput, CreateMeetingCommandOutput } from "./commands/CreateMeetingCommand"; import { CreateMeetingDialOutCommandInput, CreateMeetingDialOutCommandOutput, } from "./commands/CreateMeetingDialOutCommand"; -import { - CreateMeetingWithAttendeesCommandInput, - CreateMeetingWithAttendeesCommandOutput, -} from "./commands/CreateMeetingWithAttendeesCommand"; import { CreatePhoneNumberOrderCommandInput, CreatePhoneNumberOrderCommandOutput, } from "./commands/CreatePhoneNumberOrderCommand"; -import { CreateProxySessionCommandInput, CreateProxySessionCommandOutput } from "./commands/CreateProxySessionCommand"; import { CreateRoomCommandInput, CreateRoomCommandOutput } from "./commands/CreateRoomCommand"; import { CreateRoomMembershipCommandInput, CreateRoomMembershipCommandOutput, } from "./commands/CreateRoomMembershipCommand"; -import { - CreateSipMediaApplicationCallCommandInput, - CreateSipMediaApplicationCallCommandOutput, -} from "./commands/CreateSipMediaApplicationCallCommand"; -import { - CreateSipMediaApplicationCommandInput, - CreateSipMediaApplicationCommandOutput, -} from "./commands/CreateSipMediaApplicationCommand"; -import { CreateSipRuleCommandInput, CreateSipRuleCommandOutput } from "./commands/CreateSipRuleCommand"; import { CreateUserCommandInput, CreateUserCommandOutput } from "./commands/CreateUserCommand"; -import { - CreateVoiceConnectorCommandInput, - CreateVoiceConnectorCommandOutput, -} from "./commands/CreateVoiceConnectorCommand"; -import { - CreateVoiceConnectorGroupCommandInput, - CreateVoiceConnectorGroupCommandOutput, -} from "./commands/CreateVoiceConnectorGroupCommand"; import { DeleteAccountCommandInput, DeleteAccountCommandOutput } from "./commands/DeleteAccountCommand"; -import { - DeleteAppInstanceAdminCommandInput, - DeleteAppInstanceAdminCommandOutput, -} from "./commands/DeleteAppInstanceAdminCommand"; -import { DeleteAppInstanceCommandInput, DeleteAppInstanceCommandOutput } from "./commands/DeleteAppInstanceCommand"; -import { - DeleteAppInstanceStreamingConfigurationsCommandInput, - DeleteAppInstanceStreamingConfigurationsCommandOutput, -} from "./commands/DeleteAppInstanceStreamingConfigurationsCommand"; -import { - DeleteAppInstanceUserCommandInput, - DeleteAppInstanceUserCommandOutput, -} from "./commands/DeleteAppInstanceUserCommand"; -import { DeleteAttendeeCommandInput, DeleteAttendeeCommandOutput } from "./commands/DeleteAttendeeCommand"; -import { DeleteChannelBanCommandInput, DeleteChannelBanCommandOutput } from "./commands/DeleteChannelBanCommand"; -import { DeleteChannelCommandInput, DeleteChannelCommandOutput } from "./commands/DeleteChannelCommand"; -import { - DeleteChannelMembershipCommandInput, - DeleteChannelMembershipCommandOutput, -} from "./commands/DeleteChannelMembershipCommand"; -import { - DeleteChannelMessageCommandInput, - DeleteChannelMessageCommandOutput, -} from "./commands/DeleteChannelMessageCommand"; -import { - DeleteChannelModeratorCommandInput, - DeleteChannelModeratorCommandOutput, -} from "./commands/DeleteChannelModeratorCommand"; import { DeleteEventsConfigurationCommandInput, DeleteEventsConfigurationCommandOutput, } from "./commands/DeleteEventsConfigurationCommand"; -import { - DeleteMediaCapturePipelineCommandInput, - DeleteMediaCapturePipelineCommandOutput, -} from "./commands/DeleteMediaCapturePipelineCommand"; -import { DeleteMeetingCommandInput, DeleteMeetingCommandOutput } from "./commands/DeleteMeetingCommand"; import { DeletePhoneNumberCommandInput, DeletePhoneNumberCommandOutput } from "./commands/DeletePhoneNumberCommand"; -import { DeleteProxySessionCommandInput, DeleteProxySessionCommandOutput } from "./commands/DeleteProxySessionCommand"; import { DeleteRoomCommandInput, DeleteRoomCommandOutput } from "./commands/DeleteRoomCommand"; import { DeleteRoomMembershipCommandInput, DeleteRoomMembershipCommandOutput, } from "./commands/DeleteRoomMembershipCommand"; -import { - DeleteSipMediaApplicationCommandInput, - DeleteSipMediaApplicationCommandOutput, -} from "./commands/DeleteSipMediaApplicationCommand"; -import { DeleteSipRuleCommandInput, DeleteSipRuleCommandOutput } from "./commands/DeleteSipRuleCommand"; -import { - DeleteVoiceConnectorCommandInput, - DeleteVoiceConnectorCommandOutput, -} from "./commands/DeleteVoiceConnectorCommand"; -import { - DeleteVoiceConnectorEmergencyCallingConfigurationCommandInput, - DeleteVoiceConnectorEmergencyCallingConfigurationCommandOutput, -} from "./commands/DeleteVoiceConnectorEmergencyCallingConfigurationCommand"; -import { - DeleteVoiceConnectorGroupCommandInput, - DeleteVoiceConnectorGroupCommandOutput, -} from "./commands/DeleteVoiceConnectorGroupCommand"; -import { - DeleteVoiceConnectorOriginationCommandInput, - DeleteVoiceConnectorOriginationCommandOutput, -} from "./commands/DeleteVoiceConnectorOriginationCommand"; -import { - DeleteVoiceConnectorProxyCommandInput, - DeleteVoiceConnectorProxyCommandOutput, -} from "./commands/DeleteVoiceConnectorProxyCommand"; -import { - DeleteVoiceConnectorStreamingConfigurationCommandInput, - DeleteVoiceConnectorStreamingConfigurationCommandOutput, -} from "./commands/DeleteVoiceConnectorStreamingConfigurationCommand"; -import { - DeleteVoiceConnectorTerminationCommandInput, - DeleteVoiceConnectorTerminationCommandOutput, -} from "./commands/DeleteVoiceConnectorTerminationCommand"; -import { - DeleteVoiceConnectorTerminationCredentialsCommandInput, - DeleteVoiceConnectorTerminationCredentialsCommandOutput, -} from "./commands/DeleteVoiceConnectorTerminationCredentialsCommand"; -import { - DescribeAppInstanceAdminCommandInput, - DescribeAppInstanceAdminCommandOutput, -} from "./commands/DescribeAppInstanceAdminCommand"; -import { - DescribeAppInstanceCommandInput, - DescribeAppInstanceCommandOutput, -} from "./commands/DescribeAppInstanceCommand"; -import { - DescribeAppInstanceUserCommandInput, - DescribeAppInstanceUserCommandOutput, -} from "./commands/DescribeAppInstanceUserCommand"; -import { DescribeChannelBanCommandInput, DescribeChannelBanCommandOutput } from "./commands/DescribeChannelBanCommand"; -import { DescribeChannelCommandInput, DescribeChannelCommandOutput } from "./commands/DescribeChannelCommand"; -import { - DescribeChannelMembershipCommandInput, - DescribeChannelMembershipCommandOutput, -} from "./commands/DescribeChannelMembershipCommand"; -import { - DescribeChannelMembershipForAppInstanceUserCommandInput, - DescribeChannelMembershipForAppInstanceUserCommandOutput, -} from "./commands/DescribeChannelMembershipForAppInstanceUserCommand"; -import { - DescribeChannelModeratedByAppInstanceUserCommandInput, - DescribeChannelModeratedByAppInstanceUserCommandOutput, -} from "./commands/DescribeChannelModeratedByAppInstanceUserCommand"; -import { - DescribeChannelModeratorCommandInput, - DescribeChannelModeratorCommandOutput, -} from "./commands/DescribeChannelModeratorCommand"; import { DisassociatePhoneNumberFromUserCommandInput, DisassociatePhoneNumberFromUserCommandOutput, } from "./commands/DisassociatePhoneNumberFromUserCommand"; -import { - DisassociatePhoneNumbersFromVoiceConnectorCommandInput, - DisassociatePhoneNumbersFromVoiceConnectorCommandOutput, -} from "./commands/DisassociatePhoneNumbersFromVoiceConnectorCommand"; -import { - DisassociatePhoneNumbersFromVoiceConnectorGroupCommandInput, - DisassociatePhoneNumbersFromVoiceConnectorGroupCommandOutput, -} from "./commands/DisassociatePhoneNumbersFromVoiceConnectorGroupCommand"; import { DisassociateSigninDelegateGroupsFromAccountCommandInput, DisassociateSigninDelegateGroupsFromAccountCommandOutput, } from "./commands/DisassociateSigninDelegateGroupsFromAccountCommand"; import { GetAccountCommandInput, GetAccountCommandOutput } from "./commands/GetAccountCommand"; import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "./commands/GetAccountSettingsCommand"; -import { - GetAppInstanceRetentionSettingsCommandInput, - GetAppInstanceRetentionSettingsCommandOutput, -} from "./commands/GetAppInstanceRetentionSettingsCommand"; -import { - GetAppInstanceStreamingConfigurationsCommandInput, - GetAppInstanceStreamingConfigurationsCommandOutput, -} from "./commands/GetAppInstanceStreamingConfigurationsCommand"; -import { GetAttendeeCommandInput, GetAttendeeCommandOutput } from "./commands/GetAttendeeCommand"; import { GetBotCommandInput, GetBotCommandOutput } from "./commands/GetBotCommand"; -import { GetChannelMessageCommandInput, GetChannelMessageCommandOutput } from "./commands/GetChannelMessageCommand"; import { GetEventsConfigurationCommandInput, GetEventsConfigurationCommandOutput, } from "./commands/GetEventsConfigurationCommand"; import { GetGlobalSettingsCommandInput, GetGlobalSettingsCommandOutput } from "./commands/GetGlobalSettingsCommand"; -import { - GetMediaCapturePipelineCommandInput, - GetMediaCapturePipelineCommandOutput, -} from "./commands/GetMediaCapturePipelineCommand"; -import { GetMeetingCommandInput, GetMeetingCommandOutput } from "./commands/GetMeetingCommand"; -import { - GetMessagingSessionEndpointCommandInput, - GetMessagingSessionEndpointCommandOutput, -} from "./commands/GetMessagingSessionEndpointCommand"; import { GetPhoneNumberCommandInput, GetPhoneNumberCommandOutput } from "./commands/GetPhoneNumberCommand"; import { GetPhoneNumberOrderCommandInput, @@ -319,144 +128,32 @@ import { GetPhoneNumberSettingsCommandInput, GetPhoneNumberSettingsCommandOutput, } from "./commands/GetPhoneNumberSettingsCommand"; -import { GetProxySessionCommandInput, GetProxySessionCommandOutput } from "./commands/GetProxySessionCommand"; import { GetRetentionSettingsCommandInput, GetRetentionSettingsCommandOutput, } from "./commands/GetRetentionSettingsCommand"; import { GetRoomCommandInput, GetRoomCommandOutput } from "./commands/GetRoomCommand"; -import { - GetSipMediaApplicationCommandInput, - GetSipMediaApplicationCommandOutput, -} from "./commands/GetSipMediaApplicationCommand"; -import { - GetSipMediaApplicationLoggingConfigurationCommandInput, - GetSipMediaApplicationLoggingConfigurationCommandOutput, -} from "./commands/GetSipMediaApplicationLoggingConfigurationCommand"; -import { GetSipRuleCommandInput, GetSipRuleCommandOutput } from "./commands/GetSipRuleCommand"; import { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCommand"; import { GetUserSettingsCommandInput, GetUserSettingsCommandOutput } from "./commands/GetUserSettingsCommand"; -import { GetVoiceConnectorCommandInput, GetVoiceConnectorCommandOutput } from "./commands/GetVoiceConnectorCommand"; -import { - GetVoiceConnectorEmergencyCallingConfigurationCommandInput, - GetVoiceConnectorEmergencyCallingConfigurationCommandOutput, -} from "./commands/GetVoiceConnectorEmergencyCallingConfigurationCommand"; -import { - GetVoiceConnectorGroupCommandInput, - GetVoiceConnectorGroupCommandOutput, -} from "./commands/GetVoiceConnectorGroupCommand"; -import { - GetVoiceConnectorLoggingConfigurationCommandInput, - GetVoiceConnectorLoggingConfigurationCommandOutput, -} from "./commands/GetVoiceConnectorLoggingConfigurationCommand"; -import { - GetVoiceConnectorOriginationCommandInput, - GetVoiceConnectorOriginationCommandOutput, -} from "./commands/GetVoiceConnectorOriginationCommand"; -import { - GetVoiceConnectorProxyCommandInput, - GetVoiceConnectorProxyCommandOutput, -} from "./commands/GetVoiceConnectorProxyCommand"; -import { - GetVoiceConnectorStreamingConfigurationCommandInput, - GetVoiceConnectorStreamingConfigurationCommandOutput, -} from "./commands/GetVoiceConnectorStreamingConfigurationCommand"; -import { - GetVoiceConnectorTerminationCommandInput, - GetVoiceConnectorTerminationCommandOutput, -} from "./commands/GetVoiceConnectorTerminationCommand"; -import { - GetVoiceConnectorTerminationHealthCommandInput, - GetVoiceConnectorTerminationHealthCommandOutput, -} from "./commands/GetVoiceConnectorTerminationHealthCommand"; import { InviteUsersCommandInput, InviteUsersCommandOutput } from "./commands/InviteUsersCommand"; import { ListAccountsCommandInput, ListAccountsCommandOutput } from "./commands/ListAccountsCommand"; -import { - ListAppInstanceAdminsCommandInput, - ListAppInstanceAdminsCommandOutput, -} from "./commands/ListAppInstanceAdminsCommand"; -import { ListAppInstancesCommandInput, ListAppInstancesCommandOutput } from "./commands/ListAppInstancesCommand"; -import { - ListAppInstanceUsersCommandInput, - ListAppInstanceUsersCommandOutput, -} from "./commands/ListAppInstanceUsersCommand"; -import { ListAttendeesCommandInput, ListAttendeesCommandOutput } from "./commands/ListAttendeesCommand"; -import { ListAttendeeTagsCommandInput, ListAttendeeTagsCommandOutput } from "./commands/ListAttendeeTagsCommand"; import { ListBotsCommandInput, ListBotsCommandOutput } from "./commands/ListBotsCommand"; -import { ListChannelBansCommandInput, ListChannelBansCommandOutput } from "./commands/ListChannelBansCommand"; -import { - ListChannelMembershipsCommandInput, - ListChannelMembershipsCommandOutput, -} from "./commands/ListChannelMembershipsCommand"; -import { - ListChannelMembershipsForAppInstanceUserCommandInput, - ListChannelMembershipsForAppInstanceUserCommandOutput, -} from "./commands/ListChannelMembershipsForAppInstanceUserCommand"; -import { - ListChannelMessagesCommandInput, - ListChannelMessagesCommandOutput, -} from "./commands/ListChannelMessagesCommand"; -import { - ListChannelModeratorsCommandInput, - ListChannelModeratorsCommandOutput, -} from "./commands/ListChannelModeratorsCommand"; -import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand"; -import { - ListChannelsModeratedByAppInstanceUserCommandInput, - ListChannelsModeratedByAppInstanceUserCommandOutput, -} from "./commands/ListChannelsModeratedByAppInstanceUserCommand"; -import { - ListMediaCapturePipelinesCommandInput, - ListMediaCapturePipelinesCommandOutput, -} from "./commands/ListMediaCapturePipelinesCommand"; -import { ListMeetingsCommandInput, ListMeetingsCommandOutput } from "./commands/ListMeetingsCommand"; -import { ListMeetingTagsCommandInput, ListMeetingTagsCommandOutput } from "./commands/ListMeetingTagsCommand"; import { ListPhoneNumberOrdersCommandInput, ListPhoneNumberOrdersCommandOutput, } from "./commands/ListPhoneNumberOrdersCommand"; import { ListPhoneNumbersCommandInput, ListPhoneNumbersCommandOutput } from "./commands/ListPhoneNumbersCommand"; -import { ListProxySessionsCommandInput, ListProxySessionsCommandOutput } from "./commands/ListProxySessionsCommand"; import { ListRoomMembershipsCommandInput, ListRoomMembershipsCommandOutput, } from "./commands/ListRoomMembershipsCommand"; import { ListRoomsCommandInput, ListRoomsCommandOutput } from "./commands/ListRoomsCommand"; -import { - ListSipMediaApplicationsCommandInput, - ListSipMediaApplicationsCommandOutput, -} from "./commands/ListSipMediaApplicationsCommand"; -import { ListSipRulesCommandInput, ListSipRulesCommandOutput } from "./commands/ListSipRulesCommand"; import { ListSupportedPhoneNumberCountriesCommandInput, ListSupportedPhoneNumberCountriesCommandOutput, } from "./commands/ListSupportedPhoneNumberCountriesCommand"; -import { - ListTagsForResourceCommandInput, - ListTagsForResourceCommandOutput, -} from "./commands/ListTagsForResourceCommand"; import { ListUsersCommandInput, ListUsersCommandOutput } from "./commands/ListUsersCommand"; -import { - ListVoiceConnectorGroupsCommandInput, - ListVoiceConnectorGroupsCommandOutput, -} from "./commands/ListVoiceConnectorGroupsCommand"; -import { - ListVoiceConnectorsCommandInput, - ListVoiceConnectorsCommandOutput, -} from "./commands/ListVoiceConnectorsCommand"; -import { - ListVoiceConnectorTerminationCredentialsCommandInput, - ListVoiceConnectorTerminationCredentialsCommandOutput, -} from "./commands/ListVoiceConnectorTerminationCredentialsCommand"; import { LogoutUserCommandInput, LogoutUserCommandOutput } from "./commands/LogoutUserCommand"; -import { - PutAppInstanceRetentionSettingsCommandInput, - PutAppInstanceRetentionSettingsCommandOutput, -} from "./commands/PutAppInstanceRetentionSettingsCommand"; -import { - PutAppInstanceStreamingConfigurationsCommandInput, - PutAppInstanceStreamingConfigurationsCommandOutput, -} from "./commands/PutAppInstanceStreamingConfigurationsCommand"; import { PutEventsConfigurationCommandInput, PutEventsConfigurationCommandOutput, @@ -465,42 +162,6 @@ import { PutRetentionSettingsCommandInput, PutRetentionSettingsCommandOutput, } from "./commands/PutRetentionSettingsCommand"; -import { - PutSipMediaApplicationLoggingConfigurationCommandInput, - PutSipMediaApplicationLoggingConfigurationCommandOutput, -} from "./commands/PutSipMediaApplicationLoggingConfigurationCommand"; -import { - PutVoiceConnectorEmergencyCallingConfigurationCommandInput, - PutVoiceConnectorEmergencyCallingConfigurationCommandOutput, -} from "./commands/PutVoiceConnectorEmergencyCallingConfigurationCommand"; -import { - PutVoiceConnectorLoggingConfigurationCommandInput, - PutVoiceConnectorLoggingConfigurationCommandOutput, -} from "./commands/PutVoiceConnectorLoggingConfigurationCommand"; -import { - PutVoiceConnectorOriginationCommandInput, - PutVoiceConnectorOriginationCommandOutput, -} from "./commands/PutVoiceConnectorOriginationCommand"; -import { - PutVoiceConnectorProxyCommandInput, - PutVoiceConnectorProxyCommandOutput, -} from "./commands/PutVoiceConnectorProxyCommand"; -import { - PutVoiceConnectorStreamingConfigurationCommandInput, - PutVoiceConnectorStreamingConfigurationCommandOutput, -} from "./commands/PutVoiceConnectorStreamingConfigurationCommand"; -import { - PutVoiceConnectorTerminationCommandInput, - PutVoiceConnectorTerminationCommandOutput, -} from "./commands/PutVoiceConnectorTerminationCommand"; -import { - PutVoiceConnectorTerminationCredentialsCommandInput, - PutVoiceConnectorTerminationCredentialsCommandOutput, -} from "./commands/PutVoiceConnectorTerminationCredentialsCommand"; -import { - RedactChannelMessageCommandInput, - RedactChannelMessageCommandOutput, -} from "./commands/RedactChannelMessageCommand"; import { RedactConversationMessageCommandInput, RedactConversationMessageCommandOutput, @@ -516,41 +177,12 @@ import { SearchAvailablePhoneNumbersCommandInput, SearchAvailablePhoneNumbersCommandOutput, } from "./commands/SearchAvailablePhoneNumbersCommand"; -import { SendChannelMessageCommandInput, SendChannelMessageCommandOutput } from "./commands/SendChannelMessageCommand"; -import { - StartMeetingTranscriptionCommandInput, - StartMeetingTranscriptionCommandOutput, -} from "./commands/StartMeetingTranscriptionCommand"; -import { - StopMeetingTranscriptionCommandInput, - StopMeetingTranscriptionCommandOutput, -} from "./commands/StopMeetingTranscriptionCommand"; -import { TagAttendeeCommandInput, TagAttendeeCommandOutput } from "./commands/TagAttendeeCommand"; -import { TagMeetingCommandInput, TagMeetingCommandOutput } from "./commands/TagMeetingCommand"; -import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; -import { UntagAttendeeCommandInput, UntagAttendeeCommandOutput } from "./commands/UntagAttendeeCommand"; -import { UntagMeetingCommandInput, UntagMeetingCommandOutput } from "./commands/UntagMeetingCommand"; -import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; import { UpdateAccountCommandInput, UpdateAccountCommandOutput } from "./commands/UpdateAccountCommand"; import { UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput, } from "./commands/UpdateAccountSettingsCommand"; -import { UpdateAppInstanceCommandInput, UpdateAppInstanceCommandOutput } from "./commands/UpdateAppInstanceCommand"; -import { - UpdateAppInstanceUserCommandInput, - UpdateAppInstanceUserCommandOutput, -} from "./commands/UpdateAppInstanceUserCommand"; import { UpdateBotCommandInput, UpdateBotCommandOutput } from "./commands/UpdateBotCommand"; -import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand"; -import { - UpdateChannelMessageCommandInput, - UpdateChannelMessageCommandOutput, -} from "./commands/UpdateChannelMessageCommand"; -import { - UpdateChannelReadMarkerCommandInput, - UpdateChannelReadMarkerCommandOutput, -} from "./commands/UpdateChannelReadMarkerCommand"; import { UpdateGlobalSettingsCommandInput, UpdateGlobalSettingsCommandOutput, @@ -560,35 +192,13 @@ import { UpdatePhoneNumberSettingsCommandInput, UpdatePhoneNumberSettingsCommandOutput, } from "./commands/UpdatePhoneNumberSettingsCommand"; -import { UpdateProxySessionCommandInput, UpdateProxySessionCommandOutput } from "./commands/UpdateProxySessionCommand"; import { UpdateRoomCommandInput, UpdateRoomCommandOutput } from "./commands/UpdateRoomCommand"; import { UpdateRoomMembershipCommandInput, UpdateRoomMembershipCommandOutput, } from "./commands/UpdateRoomMembershipCommand"; -import { - UpdateSipMediaApplicationCallCommandInput, - UpdateSipMediaApplicationCallCommandOutput, -} from "./commands/UpdateSipMediaApplicationCallCommand"; -import { - UpdateSipMediaApplicationCommandInput, - UpdateSipMediaApplicationCommandOutput, -} from "./commands/UpdateSipMediaApplicationCommand"; -import { UpdateSipRuleCommandInput, UpdateSipRuleCommandOutput } from "./commands/UpdateSipRuleCommand"; import { UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand"; import { UpdateUserSettingsCommandInput, UpdateUserSettingsCommandOutput } from "./commands/UpdateUserSettingsCommand"; -import { - UpdateVoiceConnectorCommandInput, - UpdateVoiceConnectorCommandOutput, -} from "./commands/UpdateVoiceConnectorCommand"; -import { - UpdateVoiceConnectorGroupCommandInput, - UpdateVoiceConnectorGroupCommandOutput, -} from "./commands/UpdateVoiceConnectorGroupCommand"; -import { - ValidateE911AddressCommandInput, - ValidateE911AddressCommandOutput, -} from "./commands/ValidateE911AddressCommand"; import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, @@ -605,11 +215,7 @@ export { __Client }; */ export type ServiceInputTypes = | AssociatePhoneNumberWithUserCommandInput - | AssociatePhoneNumbersWithVoiceConnectorCommandInput - | AssociatePhoneNumbersWithVoiceConnectorGroupCommandInput | AssociateSigninDelegateGroupsWithAccountCommandInput - | BatchCreateAttendeeCommandInput - | BatchCreateChannelMembershipCommandInput | BatchCreateRoomMembershipCommandInput | BatchDeletePhoneNumberCommandInput | BatchSuspendUserCommandInput @@ -617,195 +223,66 @@ export type ServiceInputTypes = | BatchUpdatePhoneNumberCommandInput | BatchUpdateUserCommandInput | CreateAccountCommandInput - | CreateAppInstanceAdminCommandInput - | CreateAppInstanceCommandInput - | CreateAppInstanceUserCommandInput - | CreateAttendeeCommandInput | CreateBotCommandInput - | CreateChannelBanCommandInput - | CreateChannelCommandInput - | CreateChannelMembershipCommandInput - | CreateChannelModeratorCommandInput - | CreateMediaCapturePipelineCommandInput - | CreateMeetingCommandInput | CreateMeetingDialOutCommandInput - | CreateMeetingWithAttendeesCommandInput | CreatePhoneNumberOrderCommandInput - | CreateProxySessionCommandInput | CreateRoomCommandInput | CreateRoomMembershipCommandInput - | CreateSipMediaApplicationCallCommandInput - | CreateSipMediaApplicationCommandInput - | CreateSipRuleCommandInput | CreateUserCommandInput - | CreateVoiceConnectorCommandInput - | CreateVoiceConnectorGroupCommandInput | DeleteAccountCommandInput - | DeleteAppInstanceAdminCommandInput - | DeleteAppInstanceCommandInput - | DeleteAppInstanceStreamingConfigurationsCommandInput - | DeleteAppInstanceUserCommandInput - | DeleteAttendeeCommandInput - | DeleteChannelBanCommandInput - | DeleteChannelCommandInput - | DeleteChannelMembershipCommandInput - | DeleteChannelMessageCommandInput - | DeleteChannelModeratorCommandInput | DeleteEventsConfigurationCommandInput - | DeleteMediaCapturePipelineCommandInput - | DeleteMeetingCommandInput | DeletePhoneNumberCommandInput - | DeleteProxySessionCommandInput | DeleteRoomCommandInput | DeleteRoomMembershipCommandInput - | DeleteSipMediaApplicationCommandInput - | DeleteSipRuleCommandInput - | DeleteVoiceConnectorCommandInput - | DeleteVoiceConnectorEmergencyCallingConfigurationCommandInput - | DeleteVoiceConnectorGroupCommandInput - | DeleteVoiceConnectorOriginationCommandInput - | DeleteVoiceConnectorProxyCommandInput - | DeleteVoiceConnectorStreamingConfigurationCommandInput - | DeleteVoiceConnectorTerminationCommandInput - | DeleteVoiceConnectorTerminationCredentialsCommandInput - | DescribeAppInstanceAdminCommandInput - | DescribeAppInstanceCommandInput - | DescribeAppInstanceUserCommandInput - | DescribeChannelBanCommandInput - | DescribeChannelCommandInput - | DescribeChannelMembershipCommandInput - | DescribeChannelMembershipForAppInstanceUserCommandInput - | DescribeChannelModeratedByAppInstanceUserCommandInput - | DescribeChannelModeratorCommandInput | DisassociatePhoneNumberFromUserCommandInput - | DisassociatePhoneNumbersFromVoiceConnectorCommandInput - | DisassociatePhoneNumbersFromVoiceConnectorGroupCommandInput | DisassociateSigninDelegateGroupsFromAccountCommandInput | GetAccountCommandInput | GetAccountSettingsCommandInput - | GetAppInstanceRetentionSettingsCommandInput - | GetAppInstanceStreamingConfigurationsCommandInput - | GetAttendeeCommandInput | GetBotCommandInput - | GetChannelMessageCommandInput | GetEventsConfigurationCommandInput | GetGlobalSettingsCommandInput - | GetMediaCapturePipelineCommandInput - | GetMeetingCommandInput - | GetMessagingSessionEndpointCommandInput | GetPhoneNumberCommandInput | GetPhoneNumberOrderCommandInput | GetPhoneNumberSettingsCommandInput - | GetProxySessionCommandInput | GetRetentionSettingsCommandInput | GetRoomCommandInput - | GetSipMediaApplicationCommandInput - | GetSipMediaApplicationLoggingConfigurationCommandInput - | GetSipRuleCommandInput | GetUserCommandInput | GetUserSettingsCommandInput - | GetVoiceConnectorCommandInput - | GetVoiceConnectorEmergencyCallingConfigurationCommandInput - | GetVoiceConnectorGroupCommandInput - | GetVoiceConnectorLoggingConfigurationCommandInput - | GetVoiceConnectorOriginationCommandInput - | GetVoiceConnectorProxyCommandInput - | GetVoiceConnectorStreamingConfigurationCommandInput - | GetVoiceConnectorTerminationCommandInput - | GetVoiceConnectorTerminationHealthCommandInput | InviteUsersCommandInput | ListAccountsCommandInput - | ListAppInstanceAdminsCommandInput - | ListAppInstanceUsersCommandInput - | ListAppInstancesCommandInput - | ListAttendeeTagsCommandInput - | ListAttendeesCommandInput | ListBotsCommandInput - | ListChannelBansCommandInput - | ListChannelMembershipsCommandInput - | ListChannelMembershipsForAppInstanceUserCommandInput - | ListChannelMessagesCommandInput - | ListChannelModeratorsCommandInput - | ListChannelsCommandInput - | ListChannelsModeratedByAppInstanceUserCommandInput - | ListMediaCapturePipelinesCommandInput - | ListMeetingTagsCommandInput - | ListMeetingsCommandInput | ListPhoneNumberOrdersCommandInput | ListPhoneNumbersCommandInput - | ListProxySessionsCommandInput | ListRoomMembershipsCommandInput | ListRoomsCommandInput - | ListSipMediaApplicationsCommandInput - | ListSipRulesCommandInput | ListSupportedPhoneNumberCountriesCommandInput - | ListTagsForResourceCommandInput | ListUsersCommandInput - | ListVoiceConnectorGroupsCommandInput - | ListVoiceConnectorTerminationCredentialsCommandInput - | ListVoiceConnectorsCommandInput | LogoutUserCommandInput - | PutAppInstanceRetentionSettingsCommandInput - | PutAppInstanceStreamingConfigurationsCommandInput | PutEventsConfigurationCommandInput | PutRetentionSettingsCommandInput - | PutSipMediaApplicationLoggingConfigurationCommandInput - | PutVoiceConnectorEmergencyCallingConfigurationCommandInput - | PutVoiceConnectorLoggingConfigurationCommandInput - | PutVoiceConnectorOriginationCommandInput - | PutVoiceConnectorProxyCommandInput - | PutVoiceConnectorStreamingConfigurationCommandInput - | PutVoiceConnectorTerminationCommandInput - | PutVoiceConnectorTerminationCredentialsCommandInput - | RedactChannelMessageCommandInput | RedactConversationMessageCommandInput | RedactRoomMessageCommandInput | RegenerateSecurityTokenCommandInput | ResetPersonalPINCommandInput | RestorePhoneNumberCommandInput | SearchAvailablePhoneNumbersCommandInput - | SendChannelMessageCommandInput - | StartMeetingTranscriptionCommandInput - | StopMeetingTranscriptionCommandInput - | TagAttendeeCommandInput - | TagMeetingCommandInput - | TagResourceCommandInput - | UntagAttendeeCommandInput - | UntagMeetingCommandInput - | UntagResourceCommandInput | UpdateAccountCommandInput | UpdateAccountSettingsCommandInput - | UpdateAppInstanceCommandInput - | UpdateAppInstanceUserCommandInput | UpdateBotCommandInput - | UpdateChannelCommandInput - | UpdateChannelMessageCommandInput - | UpdateChannelReadMarkerCommandInput | UpdateGlobalSettingsCommandInput | UpdatePhoneNumberCommandInput | UpdatePhoneNumberSettingsCommandInput - | UpdateProxySessionCommandInput | UpdateRoomCommandInput | UpdateRoomMembershipCommandInput - | UpdateSipMediaApplicationCallCommandInput - | UpdateSipMediaApplicationCommandInput - | UpdateSipRuleCommandInput | UpdateUserCommandInput - | UpdateUserSettingsCommandInput - | UpdateVoiceConnectorCommandInput - | UpdateVoiceConnectorGroupCommandInput - | ValidateE911AddressCommandInput; + | UpdateUserSettingsCommandInput; /** * @public */ export type ServiceOutputTypes = | AssociatePhoneNumberWithUserCommandOutput - | AssociatePhoneNumbersWithVoiceConnectorCommandOutput - | AssociatePhoneNumbersWithVoiceConnectorGroupCommandOutput | AssociateSigninDelegateGroupsWithAccountCommandOutput - | BatchCreateAttendeeCommandOutput - | BatchCreateChannelMembershipCommandOutput | BatchCreateRoomMembershipCommandOutput | BatchDeletePhoneNumberCommandOutput | BatchSuspendUserCommandOutput @@ -813,184 +290,59 @@ export type ServiceOutputTypes = | BatchUpdatePhoneNumberCommandOutput | BatchUpdateUserCommandOutput | CreateAccountCommandOutput - | CreateAppInstanceAdminCommandOutput - | CreateAppInstanceCommandOutput - | CreateAppInstanceUserCommandOutput - | CreateAttendeeCommandOutput | CreateBotCommandOutput - | CreateChannelBanCommandOutput - | CreateChannelCommandOutput - | CreateChannelMembershipCommandOutput - | CreateChannelModeratorCommandOutput - | CreateMediaCapturePipelineCommandOutput - | CreateMeetingCommandOutput | CreateMeetingDialOutCommandOutput - | CreateMeetingWithAttendeesCommandOutput | CreatePhoneNumberOrderCommandOutput - | CreateProxySessionCommandOutput | CreateRoomCommandOutput | CreateRoomMembershipCommandOutput - | CreateSipMediaApplicationCallCommandOutput - | CreateSipMediaApplicationCommandOutput - | CreateSipRuleCommandOutput | CreateUserCommandOutput - | CreateVoiceConnectorCommandOutput - | CreateVoiceConnectorGroupCommandOutput | DeleteAccountCommandOutput - | DeleteAppInstanceAdminCommandOutput - | DeleteAppInstanceCommandOutput - | DeleteAppInstanceStreamingConfigurationsCommandOutput - | DeleteAppInstanceUserCommandOutput - | DeleteAttendeeCommandOutput - | DeleteChannelBanCommandOutput - | DeleteChannelCommandOutput - | DeleteChannelMembershipCommandOutput - | DeleteChannelMessageCommandOutput - | DeleteChannelModeratorCommandOutput | DeleteEventsConfigurationCommandOutput - | DeleteMediaCapturePipelineCommandOutput - | DeleteMeetingCommandOutput | DeletePhoneNumberCommandOutput - | DeleteProxySessionCommandOutput | DeleteRoomCommandOutput | DeleteRoomMembershipCommandOutput - | DeleteSipMediaApplicationCommandOutput - | DeleteSipRuleCommandOutput - | DeleteVoiceConnectorCommandOutput - | DeleteVoiceConnectorEmergencyCallingConfigurationCommandOutput - | DeleteVoiceConnectorGroupCommandOutput - | DeleteVoiceConnectorOriginationCommandOutput - | DeleteVoiceConnectorProxyCommandOutput - | DeleteVoiceConnectorStreamingConfigurationCommandOutput - | DeleteVoiceConnectorTerminationCommandOutput - | DeleteVoiceConnectorTerminationCredentialsCommandOutput - | DescribeAppInstanceAdminCommandOutput - | DescribeAppInstanceCommandOutput - | DescribeAppInstanceUserCommandOutput - | DescribeChannelBanCommandOutput - | DescribeChannelCommandOutput - | DescribeChannelMembershipCommandOutput - | DescribeChannelMembershipForAppInstanceUserCommandOutput - | DescribeChannelModeratedByAppInstanceUserCommandOutput - | DescribeChannelModeratorCommandOutput | DisassociatePhoneNumberFromUserCommandOutput - | DisassociatePhoneNumbersFromVoiceConnectorCommandOutput - | DisassociatePhoneNumbersFromVoiceConnectorGroupCommandOutput | DisassociateSigninDelegateGroupsFromAccountCommandOutput | GetAccountCommandOutput | GetAccountSettingsCommandOutput - | GetAppInstanceRetentionSettingsCommandOutput - | GetAppInstanceStreamingConfigurationsCommandOutput - | GetAttendeeCommandOutput | GetBotCommandOutput - | GetChannelMessageCommandOutput | GetEventsConfigurationCommandOutput | GetGlobalSettingsCommandOutput - | GetMediaCapturePipelineCommandOutput - | GetMeetingCommandOutput - | GetMessagingSessionEndpointCommandOutput | GetPhoneNumberCommandOutput | GetPhoneNumberOrderCommandOutput | GetPhoneNumberSettingsCommandOutput - | GetProxySessionCommandOutput | GetRetentionSettingsCommandOutput | GetRoomCommandOutput - | GetSipMediaApplicationCommandOutput - | GetSipMediaApplicationLoggingConfigurationCommandOutput - | GetSipRuleCommandOutput | GetUserCommandOutput | GetUserSettingsCommandOutput - | GetVoiceConnectorCommandOutput - | GetVoiceConnectorEmergencyCallingConfigurationCommandOutput - | GetVoiceConnectorGroupCommandOutput - | GetVoiceConnectorLoggingConfigurationCommandOutput - | GetVoiceConnectorOriginationCommandOutput - | GetVoiceConnectorProxyCommandOutput - | GetVoiceConnectorStreamingConfigurationCommandOutput - | GetVoiceConnectorTerminationCommandOutput - | GetVoiceConnectorTerminationHealthCommandOutput | InviteUsersCommandOutput | ListAccountsCommandOutput - | ListAppInstanceAdminsCommandOutput - | ListAppInstanceUsersCommandOutput - | ListAppInstancesCommandOutput - | ListAttendeeTagsCommandOutput - | ListAttendeesCommandOutput | ListBotsCommandOutput - | ListChannelBansCommandOutput - | ListChannelMembershipsCommandOutput - | ListChannelMembershipsForAppInstanceUserCommandOutput - | ListChannelMessagesCommandOutput - | ListChannelModeratorsCommandOutput - | ListChannelsCommandOutput - | ListChannelsModeratedByAppInstanceUserCommandOutput - | ListMediaCapturePipelinesCommandOutput - | ListMeetingTagsCommandOutput - | ListMeetingsCommandOutput | ListPhoneNumberOrdersCommandOutput | ListPhoneNumbersCommandOutput - | ListProxySessionsCommandOutput | ListRoomMembershipsCommandOutput | ListRoomsCommandOutput - | ListSipMediaApplicationsCommandOutput - | ListSipRulesCommandOutput | ListSupportedPhoneNumberCountriesCommandOutput - | ListTagsForResourceCommandOutput | ListUsersCommandOutput - | ListVoiceConnectorGroupsCommandOutput - | ListVoiceConnectorTerminationCredentialsCommandOutput - | ListVoiceConnectorsCommandOutput | LogoutUserCommandOutput - | PutAppInstanceRetentionSettingsCommandOutput - | PutAppInstanceStreamingConfigurationsCommandOutput | PutEventsConfigurationCommandOutput | PutRetentionSettingsCommandOutput - | PutSipMediaApplicationLoggingConfigurationCommandOutput - | PutVoiceConnectorEmergencyCallingConfigurationCommandOutput - | PutVoiceConnectorLoggingConfigurationCommandOutput - | PutVoiceConnectorOriginationCommandOutput - | PutVoiceConnectorProxyCommandOutput - | PutVoiceConnectorStreamingConfigurationCommandOutput - | PutVoiceConnectorTerminationCommandOutput - | PutVoiceConnectorTerminationCredentialsCommandOutput - | RedactChannelMessageCommandOutput | RedactConversationMessageCommandOutput | RedactRoomMessageCommandOutput | RegenerateSecurityTokenCommandOutput | ResetPersonalPINCommandOutput | RestorePhoneNumberCommandOutput | SearchAvailablePhoneNumbersCommandOutput - | SendChannelMessageCommandOutput - | StartMeetingTranscriptionCommandOutput - | StopMeetingTranscriptionCommandOutput - | TagAttendeeCommandOutput - | TagMeetingCommandOutput - | TagResourceCommandOutput - | UntagAttendeeCommandOutput - | UntagMeetingCommandOutput - | UntagResourceCommandOutput | UpdateAccountCommandOutput | UpdateAccountSettingsCommandOutput - | UpdateAppInstanceCommandOutput - | UpdateAppInstanceUserCommandOutput | UpdateBotCommandOutput - | UpdateChannelCommandOutput - | UpdateChannelMessageCommandOutput - | UpdateChannelReadMarkerCommandOutput | UpdateGlobalSettingsCommandOutput | UpdatePhoneNumberCommandOutput | UpdatePhoneNumberSettingsCommandOutput - | UpdateProxySessionCommandOutput | UpdateRoomCommandOutput | UpdateRoomMembershipCommandOutput - | UpdateSipMediaApplicationCallCommandOutput - | UpdateSipMediaApplicationCommandOutput - | UpdateSipRuleCommandOutput | UpdateUserCommandOutput - | UpdateUserSettingsCommandOutput - | UpdateVoiceConnectorCommandOutput - | UpdateVoiceConnectorGroupCommandOutput - | ValidateE911AddressCommandOutput; + | UpdateUserSettingsCommandOutput; /** * @public diff --git a/clients/client-chime/src/commands/AssociatePhoneNumbersWithVoiceConnectorCommand.ts b/clients/client-chime/src/commands/AssociatePhoneNumbersWithVoiceConnectorCommand.ts deleted file mode 100644 index 8c6c3c893592..000000000000 --- a/clients/client-chime/src/commands/AssociatePhoneNumbersWithVoiceConnectorCommand.ts +++ /dev/null @@ -1,145 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - AssociatePhoneNumbersWithVoiceConnectorRequest, - AssociatePhoneNumbersWithVoiceConnectorRequestFilterSensitiveLog, - AssociatePhoneNumbersWithVoiceConnectorResponse, -} from "../models/models_0"; -import { - de_AssociatePhoneNumbersWithVoiceConnectorCommand, - se_AssociatePhoneNumbersWithVoiceConnectorCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link AssociatePhoneNumbersWithVoiceConnectorCommand}. - */ -export interface AssociatePhoneNumbersWithVoiceConnectorCommandInput - extends AssociatePhoneNumbersWithVoiceConnectorRequest {} -/** - * @public - * - * The output of {@link AssociatePhoneNumbersWithVoiceConnectorCommand}. - */ -export interface AssociatePhoneNumbersWithVoiceConnectorCommandOutput - extends AssociatePhoneNumbersWithVoiceConnectorResponse, - __MetadataBearer {} - -/** - *

Associates phone numbers with the specified Amazon Chime Voice Connector.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, AssociatePhoneNumbersWithVoiceConnector, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by AssociatePhoneNumbersWithVoiceConnector in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, AssociatePhoneNumbersWithVoiceConnectorCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, AssociatePhoneNumbersWithVoiceConnectorCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // AssociatePhoneNumbersWithVoiceConnectorRequest - * VoiceConnectorId: "STRING_VALUE", // required - * E164PhoneNumbers: [ // E164PhoneNumberList // required - * "STRING_VALUE", - * ], - * ForceAssociate: true || false, - * }; - * const command = new AssociatePhoneNumbersWithVoiceConnectorCommand(input); - * const response = await client.send(command); - * // { // AssociatePhoneNumbersWithVoiceConnectorResponse - * // PhoneNumberErrors: [ // PhoneNumberErrorList - * // { // PhoneNumberError - * // PhoneNumberId: "STRING_VALUE", - * // ErrorCode: "BadRequest" || "Conflict" || "Forbidden" || "NotFound" || "PreconditionFailed" || "ResourceLimitExceeded" || "ServiceFailure" || "AccessDenied" || "ServiceUnavailable" || "Throttled" || "Throttling" || "Unauthorized" || "Unprocessable" || "VoiceConnectorGroupAssociationsExist" || "PhoneNumberAssociationsExist", - * // ErrorMessage: "STRING_VALUE", - * // }, - * // ], - * // }; - * - * ``` - * - * @param AssociatePhoneNumbersWithVoiceConnectorCommandInput - {@link AssociatePhoneNumbersWithVoiceConnectorCommandInput} - * @returns {@link AssociatePhoneNumbersWithVoiceConnectorCommandOutput} - * @see {@link AssociatePhoneNumbersWithVoiceConnectorCommandInput} for command's `input` shape. - * @see {@link AssociatePhoneNumbersWithVoiceConnectorCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You don't have permissions to perform the requested operation.

- * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class AssociatePhoneNumbersWithVoiceConnectorCommand extends $Command - .classBuilder< - AssociatePhoneNumbersWithVoiceConnectorCommandInput, - AssociatePhoneNumbersWithVoiceConnectorCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "AssociatePhoneNumbersWithVoiceConnector", {}) - .n("ChimeClient", "AssociatePhoneNumbersWithVoiceConnectorCommand") - .f(AssociatePhoneNumbersWithVoiceConnectorRequestFilterSensitiveLog, void 0) - .ser(se_AssociatePhoneNumbersWithVoiceConnectorCommand) - .de(de_AssociatePhoneNumbersWithVoiceConnectorCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: AssociatePhoneNumbersWithVoiceConnectorRequest; - output: AssociatePhoneNumbersWithVoiceConnectorResponse; - }; - sdk: { - input: AssociatePhoneNumbersWithVoiceConnectorCommandInput; - output: AssociatePhoneNumbersWithVoiceConnectorCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand.ts b/clients/client-chime/src/commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand.ts deleted file mode 100644 index d2042d5942f3..000000000000 --- a/clients/client-chime/src/commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand.ts +++ /dev/null @@ -1,145 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - AssociatePhoneNumbersWithVoiceConnectorGroupRequest, - AssociatePhoneNumbersWithVoiceConnectorGroupRequestFilterSensitiveLog, - AssociatePhoneNumbersWithVoiceConnectorGroupResponse, -} from "../models/models_0"; -import { - de_AssociatePhoneNumbersWithVoiceConnectorGroupCommand, - se_AssociatePhoneNumbersWithVoiceConnectorGroupCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link AssociatePhoneNumbersWithVoiceConnectorGroupCommand}. - */ -export interface AssociatePhoneNumbersWithVoiceConnectorGroupCommandInput - extends AssociatePhoneNumbersWithVoiceConnectorGroupRequest {} -/** - * @public - * - * The output of {@link AssociatePhoneNumbersWithVoiceConnectorGroupCommand}. - */ -export interface AssociatePhoneNumbersWithVoiceConnectorGroupCommandOutput - extends AssociatePhoneNumbersWithVoiceConnectorGroupResponse, - __MetadataBearer {} - -/** - *

Associates phone numbers with the specified Amazon Chime Voice Connector group.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, AssociatePhoneNumbersWithVoiceConnectorGroup, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by AssociatePhoneNumbersWithVoiceConnectorGroup in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, AssociatePhoneNumbersWithVoiceConnectorGroupCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, AssociatePhoneNumbersWithVoiceConnectorGroupCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // AssociatePhoneNumbersWithVoiceConnectorGroupRequest - * VoiceConnectorGroupId: "STRING_VALUE", // required - * E164PhoneNumbers: [ // E164PhoneNumberList // required - * "STRING_VALUE", - * ], - * ForceAssociate: true || false, - * }; - * const command = new AssociatePhoneNumbersWithVoiceConnectorGroupCommand(input); - * const response = await client.send(command); - * // { // AssociatePhoneNumbersWithVoiceConnectorGroupResponse - * // PhoneNumberErrors: [ // PhoneNumberErrorList - * // { // PhoneNumberError - * // PhoneNumberId: "STRING_VALUE", - * // ErrorCode: "BadRequest" || "Conflict" || "Forbidden" || "NotFound" || "PreconditionFailed" || "ResourceLimitExceeded" || "ServiceFailure" || "AccessDenied" || "ServiceUnavailable" || "Throttled" || "Throttling" || "Unauthorized" || "Unprocessable" || "VoiceConnectorGroupAssociationsExist" || "PhoneNumberAssociationsExist", - * // ErrorMessage: "STRING_VALUE", - * // }, - * // ], - * // }; - * - * ``` - * - * @param AssociatePhoneNumbersWithVoiceConnectorGroupCommandInput - {@link AssociatePhoneNumbersWithVoiceConnectorGroupCommandInput} - * @returns {@link AssociatePhoneNumbersWithVoiceConnectorGroupCommandOutput} - * @see {@link AssociatePhoneNumbersWithVoiceConnectorGroupCommandInput} for command's `input` shape. - * @see {@link AssociatePhoneNumbersWithVoiceConnectorGroupCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You don't have permissions to perform the requested operation.

- * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class AssociatePhoneNumbersWithVoiceConnectorGroupCommand extends $Command - .classBuilder< - AssociatePhoneNumbersWithVoiceConnectorGroupCommandInput, - AssociatePhoneNumbersWithVoiceConnectorGroupCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "AssociatePhoneNumbersWithVoiceConnectorGroup", {}) - .n("ChimeClient", "AssociatePhoneNumbersWithVoiceConnectorGroupCommand") - .f(AssociatePhoneNumbersWithVoiceConnectorGroupRequestFilterSensitiveLog, void 0) - .ser(se_AssociatePhoneNumbersWithVoiceConnectorGroupCommand) - .de(de_AssociatePhoneNumbersWithVoiceConnectorGroupCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: AssociatePhoneNumbersWithVoiceConnectorGroupRequest; - output: AssociatePhoneNumbersWithVoiceConnectorGroupResponse; - }; - sdk: { - input: AssociatePhoneNumbersWithVoiceConnectorGroupCommandInput; - output: AssociatePhoneNumbersWithVoiceConnectorGroupCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/BatchCreateAttendeeCommand.ts b/clients/client-chime/src/commands/BatchCreateAttendeeCommand.ts deleted file mode 100644 index ff3685dc3cfb..000000000000 --- a/clients/client-chime/src/commands/BatchCreateAttendeeCommand.ts +++ /dev/null @@ -1,159 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - BatchCreateAttendeeRequest, - BatchCreateAttendeeRequestFilterSensitiveLog, - BatchCreateAttendeeResponse, - BatchCreateAttendeeResponseFilterSensitiveLog, -} from "../models/models_0"; -import { de_BatchCreateAttendeeCommand, se_BatchCreateAttendeeCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link BatchCreateAttendeeCommand}. - */ -export interface BatchCreateAttendeeCommandInput extends BatchCreateAttendeeRequest {} -/** - * @public - * - * The output of {@link BatchCreateAttendeeCommand}. - */ -export interface BatchCreateAttendeeCommandOutput extends BatchCreateAttendeeResponse, __MetadataBearer {} - -/** - *

Creates up to 100 new attendees for an active Amazon Chime SDK meeting.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, BatchCreateAttendee, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- *

For more information about the Amazon Chime SDK, see - * Using the Amazon Chime SDK - * in the - * Amazon Chime SDK Developer Guide. - *

- * - * @deprecated Replaced by BatchCreateAttendee in the Amazon Chime SDK Meetings Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, BatchCreateAttendeeCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, BatchCreateAttendeeCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // BatchCreateAttendeeRequest - * MeetingId: "STRING_VALUE", // required - * Attendees: [ // CreateAttendeeRequestItemList // required - * { // CreateAttendeeRequestItem - * ExternalUserId: "STRING_VALUE", // required - * Tags: [ // AttendeeTagList - * { // Tag - * Key: "STRING_VALUE", // required - * Value: "STRING_VALUE", // required - * }, - * ], - * }, - * ], - * }; - * const command = new BatchCreateAttendeeCommand(input); - * const response = await client.send(command); - * // { // BatchCreateAttendeeResponse - * // Attendees: [ // AttendeeList - * // { // Attendee - * // ExternalUserId: "STRING_VALUE", - * // AttendeeId: "STRING_VALUE", - * // JoinToken: "STRING_VALUE", - * // }, - * // ], - * // Errors: [ // BatchCreateAttendeeErrorList - * // { // CreateAttendeeError - * // ExternalUserId: "STRING_VALUE", - * // ErrorCode: "STRING_VALUE", - * // ErrorMessage: "STRING_VALUE", - * // }, - * // ], - * // }; - * - * ``` - * - * @param BatchCreateAttendeeCommandInput - {@link BatchCreateAttendeeCommandInput} - * @returns {@link BatchCreateAttendeeCommandOutput} - * @see {@link BatchCreateAttendeeCommandInput} for command's `input` shape. - * @see {@link BatchCreateAttendeeCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ResourceLimitExceededException} (client fault) - *

The request exceeds the resource limit.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class BatchCreateAttendeeCommand extends $Command - .classBuilder< - BatchCreateAttendeeCommandInput, - BatchCreateAttendeeCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "BatchCreateAttendee", {}) - .n("ChimeClient", "BatchCreateAttendeeCommand") - .f(BatchCreateAttendeeRequestFilterSensitiveLog, BatchCreateAttendeeResponseFilterSensitiveLog) - .ser(se_BatchCreateAttendeeCommand) - .de(de_BatchCreateAttendeeCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: BatchCreateAttendeeRequest; - output: BatchCreateAttendeeResponse; - }; - sdk: { - input: BatchCreateAttendeeCommandInput; - output: BatchCreateAttendeeCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/BatchCreateChannelMembershipCommand.ts b/clients/client-chime/src/commands/BatchCreateChannelMembershipCommand.ts deleted file mode 100644 index 00a6909feac2..000000000000 --- a/clients/client-chime/src/commands/BatchCreateChannelMembershipCommand.ts +++ /dev/null @@ -1,153 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - BatchCreateChannelMembershipRequest, - BatchCreateChannelMembershipResponse, - BatchCreateChannelMembershipResponseFilterSensitiveLog, -} from "../models/models_0"; -import { - de_BatchCreateChannelMembershipCommand, - se_BatchCreateChannelMembershipCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link BatchCreateChannelMembershipCommand}. - */ -export interface BatchCreateChannelMembershipCommandInput extends BatchCreateChannelMembershipRequest {} -/** - * @public - * - * The output of {@link BatchCreateChannelMembershipCommand}. - */ -export interface BatchCreateChannelMembershipCommandOutput - extends BatchCreateChannelMembershipResponse, - __MetadataBearer {} - -/** - *

Adds a specified number of users to a channel.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, BatchCreateChannelMembership, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by BatchCreateChannelMembership in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, BatchCreateChannelMembershipCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, BatchCreateChannelMembershipCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // BatchCreateChannelMembershipRequest - * ChannelArn: "STRING_VALUE", // required - * Type: "DEFAULT" || "HIDDEN", - * MemberArns: [ // MemberArns // required - * "STRING_VALUE", - * ], - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new BatchCreateChannelMembershipCommand(input); - * const response = await client.send(command); - * // { // BatchCreateChannelMembershipResponse - * // BatchChannelMemberships: { // BatchChannelMemberships - * // InvitedBy: { // Identity - * // Arn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // }, - * // Type: "DEFAULT" || "HIDDEN", - * // Members: [ // Members - * // { - * // Arn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // }, - * // ], - * // ChannelArn: "STRING_VALUE", - * // }, - * // Errors: [ // BatchCreateChannelMembershipErrors - * // { // BatchCreateChannelMembershipError - * // MemberArn: "STRING_VALUE", - * // ErrorCode: "BadRequest" || "Conflict" || "Forbidden" || "NotFound" || "PreconditionFailed" || "ResourceLimitExceeded" || "ServiceFailure" || "AccessDenied" || "ServiceUnavailable" || "Throttled" || "Throttling" || "Unauthorized" || "Unprocessable" || "VoiceConnectorGroupAssociationsExist" || "PhoneNumberAssociationsExist", - * // ErrorMessage: "STRING_VALUE", - * // }, - * // ], - * // }; - * - * ``` - * - * @param BatchCreateChannelMembershipCommandInput - {@link BatchCreateChannelMembershipCommandInput} - * @returns {@link BatchCreateChannelMembershipCommandOutput} - * @see {@link BatchCreateChannelMembershipCommandInput} for command's `input` shape. - * @see {@link BatchCreateChannelMembershipCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class BatchCreateChannelMembershipCommand extends $Command - .classBuilder< - BatchCreateChannelMembershipCommandInput, - BatchCreateChannelMembershipCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "BatchCreateChannelMembership", {}) - .n("ChimeClient", "BatchCreateChannelMembershipCommand") - .f(void 0, BatchCreateChannelMembershipResponseFilterSensitiveLog) - .ser(se_BatchCreateChannelMembershipCommand) - .de(de_BatchCreateChannelMembershipCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: BatchCreateChannelMembershipRequest; - output: BatchCreateChannelMembershipResponse; - }; - sdk: { - input: BatchCreateChannelMembershipCommandInput; - output: BatchCreateChannelMembershipCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/CreateAppInstanceAdminCommand.ts b/clients/client-chime/src/commands/CreateAppInstanceAdminCommand.ts deleted file mode 100644 index 6d64bd978f50..000000000000 --- a/clients/client-chime/src/commands/CreateAppInstanceAdminCommand.ts +++ /dev/null @@ -1,146 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - CreateAppInstanceAdminRequest, - CreateAppInstanceAdminResponse, - CreateAppInstanceAdminResponseFilterSensitiveLog, -} from "../models/models_0"; -import { de_CreateAppInstanceAdminCommand, se_CreateAppInstanceAdminCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateAppInstanceAdminCommand}. - */ -export interface CreateAppInstanceAdminCommandInput extends CreateAppInstanceAdminRequest {} -/** - * @public - * - * The output of {@link CreateAppInstanceAdminCommand}. - */ -export interface CreateAppInstanceAdminCommandOutput extends CreateAppInstanceAdminResponse, __MetadataBearer {} - -/** - *

Promotes an AppInstanceUser to an AppInstanceAdmin. The promoted user can perform the following actions.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, CreateAppInstanceAdmin, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- *
    - *
  • - *

    - * ChannelModerator actions across all channels in the AppInstance.

    - *
  • - *
  • - *

    - * DeleteChannelMessage actions.

    - *
  • - *
- *

Only an AppInstanceUser can be promoted to an AppInstanceAdmin role.

- * - * @deprecated Replaced by CreateAppInstanceAdmin in the Amazon Chime SDK Identity Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, CreateAppInstanceAdminCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, CreateAppInstanceAdminCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // CreateAppInstanceAdminRequest - * AppInstanceAdminArn: "STRING_VALUE", // required - * AppInstanceArn: "STRING_VALUE", // required - * }; - * const command = new CreateAppInstanceAdminCommand(input); - * const response = await client.send(command); - * // { // CreateAppInstanceAdminResponse - * // AppInstanceAdmin: { // Identity - * // Arn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // }, - * // AppInstanceArn: "STRING_VALUE", - * // }; - * - * ``` - * - * @param CreateAppInstanceAdminCommandInput - {@link CreateAppInstanceAdminCommandInput} - * @returns {@link CreateAppInstanceAdminCommandOutput} - * @see {@link CreateAppInstanceAdminCommandInput} for command's `input` shape. - * @see {@link CreateAppInstanceAdminCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ConflictException} (client fault) - *

The request could not be processed because of conflict in the current state of the - * resource.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ResourceLimitExceededException} (client fault) - *

The request exceeds the resource limit.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class CreateAppInstanceAdminCommand extends $Command - .classBuilder< - CreateAppInstanceAdminCommandInput, - CreateAppInstanceAdminCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "CreateAppInstanceAdmin", {}) - .n("ChimeClient", "CreateAppInstanceAdminCommand") - .f(void 0, CreateAppInstanceAdminResponseFilterSensitiveLog) - .ser(se_CreateAppInstanceAdminCommand) - .de(de_CreateAppInstanceAdminCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: CreateAppInstanceAdminRequest; - output: CreateAppInstanceAdminResponse; - }; - sdk: { - input: CreateAppInstanceAdminCommandInput; - output: CreateAppInstanceAdminCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/CreateAppInstanceCommand.ts b/clients/client-chime/src/commands/CreateAppInstanceCommand.ts deleted file mode 100644 index 63c51b972d5a..000000000000 --- a/clients/client-chime/src/commands/CreateAppInstanceCommand.ts +++ /dev/null @@ -1,139 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - CreateAppInstanceRequest, - CreateAppInstanceRequestFilterSensitiveLog, - CreateAppInstanceResponse, -} from "../models/models_0"; -import { de_CreateAppInstanceCommand, se_CreateAppInstanceCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateAppInstanceCommand}. - */ -export interface CreateAppInstanceCommandInput extends CreateAppInstanceRequest {} -/** - * @public - * - * The output of {@link CreateAppInstanceCommand}. - */ -export interface CreateAppInstanceCommandOutput extends CreateAppInstanceResponse, __MetadataBearer {} - -/** - *

Creates an Amazon Chime SDK messaging AppInstance under an AWS account. Only SDK messaging customers use this API. - * CreateAppInstance supports idempotency behavior as described in the AWS API Standard.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, CreateAppInstance, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by CreateAppInstance in the Amazon Chime SDK Identity Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, CreateAppInstanceCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, CreateAppInstanceCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // CreateAppInstanceRequest - * Name: "STRING_VALUE", // required - * Metadata: "STRING_VALUE", - * ClientRequestToken: "STRING_VALUE", // required - * Tags: [ // TagList - * { // Tag - * Key: "STRING_VALUE", // required - * Value: "STRING_VALUE", // required - * }, - * ], - * }; - * const command = new CreateAppInstanceCommand(input); - * const response = await client.send(command); - * // { // CreateAppInstanceResponse - * // AppInstanceArn: "STRING_VALUE", - * // }; - * - * ``` - * - * @param CreateAppInstanceCommandInput - {@link CreateAppInstanceCommandInput} - * @returns {@link CreateAppInstanceCommandOutput} - * @see {@link CreateAppInstanceCommandInput} for command's `input` shape. - * @see {@link CreateAppInstanceCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ConflictException} (client fault) - *

The request could not be processed because of conflict in the current state of the - * resource.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ResourceLimitExceededException} (client fault) - *

The request exceeds the resource limit.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class CreateAppInstanceCommand extends $Command - .classBuilder< - CreateAppInstanceCommandInput, - CreateAppInstanceCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "CreateAppInstance", {}) - .n("ChimeClient", "CreateAppInstanceCommand") - .f(CreateAppInstanceRequestFilterSensitiveLog, void 0) - .ser(se_CreateAppInstanceCommand) - .de(de_CreateAppInstanceCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: CreateAppInstanceRequest; - output: CreateAppInstanceResponse; - }; - sdk: { - input: CreateAppInstanceCommandInput; - output: CreateAppInstanceCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/CreateAppInstanceUserCommand.ts b/clients/client-chime/src/commands/CreateAppInstanceUserCommand.ts deleted file mode 100644 index ea0f00985bac..000000000000 --- a/clients/client-chime/src/commands/CreateAppInstanceUserCommand.ts +++ /dev/null @@ -1,141 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - CreateAppInstanceUserRequest, - CreateAppInstanceUserRequestFilterSensitiveLog, - CreateAppInstanceUserResponse, -} from "../models/models_0"; -import { de_CreateAppInstanceUserCommand, se_CreateAppInstanceUserCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateAppInstanceUserCommand}. - */ -export interface CreateAppInstanceUserCommandInput extends CreateAppInstanceUserRequest {} -/** - * @public - * - * The output of {@link CreateAppInstanceUserCommand}. - */ -export interface CreateAppInstanceUserCommandOutput extends CreateAppInstanceUserResponse, __MetadataBearer {} - -/** - *

Creates a user under an Amazon Chime AppInstance. The request consists of a unique appInstanceUserId and - * Name for that user.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, CreateAppInstanceUser, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by CreateAppInstanceUser in the Amazon Chime SDK Identity Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, CreateAppInstanceUserCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, CreateAppInstanceUserCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // CreateAppInstanceUserRequest - * AppInstanceArn: "STRING_VALUE", // required - * AppInstanceUserId: "STRING_VALUE", // required - * Name: "STRING_VALUE", // required - * Metadata: "STRING_VALUE", - * ClientRequestToken: "STRING_VALUE", // required - * Tags: [ // TagList - * { // Tag - * Key: "STRING_VALUE", // required - * Value: "STRING_VALUE", // required - * }, - * ], - * }; - * const command = new CreateAppInstanceUserCommand(input); - * const response = await client.send(command); - * // { // CreateAppInstanceUserResponse - * // AppInstanceUserArn: "STRING_VALUE", - * // }; - * - * ``` - * - * @param CreateAppInstanceUserCommandInput - {@link CreateAppInstanceUserCommandInput} - * @returns {@link CreateAppInstanceUserCommandOutput} - * @see {@link CreateAppInstanceUserCommandInput} for command's `input` shape. - * @see {@link CreateAppInstanceUserCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ConflictException} (client fault) - *

The request could not be processed because of conflict in the current state of the - * resource.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ResourceLimitExceededException} (client fault) - *

The request exceeds the resource limit.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class CreateAppInstanceUserCommand extends $Command - .classBuilder< - CreateAppInstanceUserCommandInput, - CreateAppInstanceUserCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "CreateAppInstanceUser", {}) - .n("ChimeClient", "CreateAppInstanceUserCommand") - .f(CreateAppInstanceUserRequestFilterSensitiveLog, void 0) - .ser(se_CreateAppInstanceUserCommand) - .de(de_CreateAppInstanceUserCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: CreateAppInstanceUserRequest; - output: CreateAppInstanceUserResponse; - }; - sdk: { - input: CreateAppInstanceUserCommandInput; - output: CreateAppInstanceUserCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/CreateAttendeeCommand.ts b/clients/client-chime/src/commands/CreateAttendeeCommand.ts deleted file mode 100644 index 3c4aec1f71dd..000000000000 --- a/clients/client-chime/src/commands/CreateAttendeeCommand.ts +++ /dev/null @@ -1,146 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - CreateAttendeeRequest, - CreateAttendeeRequestFilterSensitiveLog, - CreateAttendeeResponse, - CreateAttendeeResponseFilterSensitiveLog, -} from "../models/models_0"; -import { de_CreateAttendeeCommand, se_CreateAttendeeCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateAttendeeCommand}. - */ -export interface CreateAttendeeCommandInput extends CreateAttendeeRequest {} -/** - * @public - * - * The output of {@link CreateAttendeeCommand}. - */ -export interface CreateAttendeeCommandOutput extends CreateAttendeeResponse, __MetadataBearer {} - -/** - *

- * Creates a new attendee for an active Amazon Chime SDK meeting. For more information about the Amazon Chime SDK, see - * Using the Amazon Chime SDK - * in the - * Amazon Chime SDK Developer Guide. - *

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, CreateAttendee, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by CreateAttendee in the Amazon Chime SDK Meetings Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, CreateAttendeeCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, CreateAttendeeCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // CreateAttendeeRequest - * MeetingId: "STRING_VALUE", // required - * ExternalUserId: "STRING_VALUE", // required - * Tags: [ // AttendeeTagList - * { // Tag - * Key: "STRING_VALUE", // required - * Value: "STRING_VALUE", // required - * }, - * ], - * }; - * const command = new CreateAttendeeCommand(input); - * const response = await client.send(command); - * // { // CreateAttendeeResponse - * // Attendee: { // Attendee - * // ExternalUserId: "STRING_VALUE", - * // AttendeeId: "STRING_VALUE", - * // JoinToken: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param CreateAttendeeCommandInput - {@link CreateAttendeeCommandInput} - * @returns {@link CreateAttendeeCommandOutput} - * @see {@link CreateAttendeeCommandInput} for command's `input` shape. - * @see {@link CreateAttendeeCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ResourceLimitExceededException} (client fault) - *

The request exceeds the resource limit.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class CreateAttendeeCommand extends $Command - .classBuilder< - CreateAttendeeCommandInput, - CreateAttendeeCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "CreateAttendee", {}) - .n("ChimeClient", "CreateAttendeeCommand") - .f(CreateAttendeeRequestFilterSensitiveLog, CreateAttendeeResponseFilterSensitiveLog) - .ser(se_CreateAttendeeCommand) - .de(de_CreateAttendeeCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: CreateAttendeeRequest; - output: CreateAttendeeResponse; - }; - sdk: { - input: CreateAttendeeCommandInput; - output: CreateAttendeeCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/CreateChannelBanCommand.ts b/clients/client-chime/src/commands/CreateChannelBanCommand.ts deleted file mode 100644 index 1c5ac53768d1..000000000000 --- a/clients/client-chime/src/commands/CreateChannelBanCommand.ts +++ /dev/null @@ -1,146 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - CreateChannelBanRequest, - CreateChannelBanResponse, - CreateChannelBanResponseFilterSensitiveLog, -} from "../models/models_0"; -import { de_CreateChannelBanCommand, se_CreateChannelBanCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateChannelBanCommand}. - */ -export interface CreateChannelBanCommandInput extends CreateChannelBanRequest {} -/** - * @public - * - * The output of {@link CreateChannelBanCommand}. - */ -export interface CreateChannelBanCommandOutput extends CreateChannelBanResponse, __MetadataBearer {} - -/** - *

Permanently bans a member from a channel. Moderators can't add banned members to a - * channel. To undo a ban, you first have to DeleteChannelBan, and then - * CreateChannelMembership. Bans are cleaned up when you delete users or - * channels.

- *

If you ban a user who is already part of a channel, that user is automatically kicked - * from the channel.

- * - *

The x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, CreateChannelBan, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by CreateChannelBan in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, CreateChannelBanCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, CreateChannelBanCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // CreateChannelBanRequest - * ChannelArn: "STRING_VALUE", // required - * MemberArn: "STRING_VALUE", // required - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new CreateChannelBanCommand(input); - * const response = await client.send(command); - * // { // CreateChannelBanResponse - * // ChannelArn: "STRING_VALUE", - * // Member: { // Identity - * // Arn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param CreateChannelBanCommandInput - {@link CreateChannelBanCommandInput} - * @returns {@link CreateChannelBanCommandOutput} - * @see {@link CreateChannelBanCommandInput} for command's `input` shape. - * @see {@link CreateChannelBanCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ConflictException} (client fault) - *

The request could not be processed because of conflict in the current state of the - * resource.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ResourceLimitExceededException} (client fault) - *

The request exceeds the resource limit.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class CreateChannelBanCommand extends $Command - .classBuilder< - CreateChannelBanCommandInput, - CreateChannelBanCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "CreateChannelBan", {}) - .n("ChimeClient", "CreateChannelBanCommand") - .f(void 0, CreateChannelBanResponseFilterSensitiveLog) - .ser(se_CreateChannelBanCommand) - .de(de_CreateChannelBanCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: CreateChannelBanRequest; - output: CreateChannelBanResponse; - }; - sdk: { - input: CreateChannelBanCommandInput; - output: CreateChannelBanCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/CreateChannelCommand.ts b/clients/client-chime/src/commands/CreateChannelCommand.ts deleted file mode 100644 index 4d21e4374e78..000000000000 --- a/clients/client-chime/src/commands/CreateChannelCommand.ts +++ /dev/null @@ -1,150 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - CreateChannelRequest, - CreateChannelRequestFilterSensitiveLog, - CreateChannelResponse, -} from "../models/models_0"; -import { de_CreateChannelCommand, se_CreateChannelCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateChannelCommand}. - */ -export interface CreateChannelCommandInput extends CreateChannelRequest {} -/** - * @public - * - * The output of {@link CreateChannelCommand}. - */ -export interface CreateChannelCommandOutput extends CreateChannelResponse, __MetadataBearer {} - -/** - *

Creates a channel to which you can add users and send messages.

- *

- * Restriction: You can't change a channel's - * privacy.

- * - *

The x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, CreateChannel, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by CreateChannel in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, CreateChannelCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, CreateChannelCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // CreateChannelRequest - * AppInstanceArn: "STRING_VALUE", // required - * Name: "STRING_VALUE", // required - * Mode: "UNRESTRICTED" || "RESTRICTED", - * Privacy: "PUBLIC" || "PRIVATE", - * Metadata: "STRING_VALUE", - * ClientRequestToken: "STRING_VALUE", // required - * Tags: [ // TagList - * { // Tag - * Key: "STRING_VALUE", // required - * Value: "STRING_VALUE", // required - * }, - * ], - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new CreateChannelCommand(input); - * const response = await client.send(command); - * // { // CreateChannelResponse - * // ChannelArn: "STRING_VALUE", - * // }; - * - * ``` - * - * @param CreateChannelCommandInput - {@link CreateChannelCommandInput} - * @returns {@link CreateChannelCommandOutput} - * @see {@link CreateChannelCommandInput} for command's `input` shape. - * @see {@link CreateChannelCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ConflictException} (client fault) - *

The request could not be processed because of conflict in the current state of the - * resource.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ResourceLimitExceededException} (client fault) - *

The request exceeds the resource limit.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class CreateChannelCommand extends $Command - .classBuilder< - CreateChannelCommandInput, - CreateChannelCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "CreateChannel", {}) - .n("ChimeClient", "CreateChannelCommand") - .f(CreateChannelRequestFilterSensitiveLog, void 0) - .ser(se_CreateChannelCommand) - .de(de_CreateChannelCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: CreateChannelRequest; - output: CreateChannelResponse; - }; - sdk: { - input: CreateChannelCommandInput; - output: CreateChannelCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/CreateChannelMembershipCommand.ts b/clients/client-chime/src/commands/CreateChannelMembershipCommand.ts deleted file mode 100644 index e09758e8cd62..000000000000 --- a/clients/client-chime/src/commands/CreateChannelMembershipCommand.ts +++ /dev/null @@ -1,170 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - CreateChannelMembershipRequest, - CreateChannelMembershipResponse, - CreateChannelMembershipResponseFilterSensitiveLog, -} from "../models/models_0"; -import { de_CreateChannelMembershipCommand, se_CreateChannelMembershipCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateChannelMembershipCommand}. - */ -export interface CreateChannelMembershipCommandInput extends CreateChannelMembershipRequest {} -/** - * @public - * - * The output of {@link CreateChannelMembershipCommand}. - */ -export interface CreateChannelMembershipCommandOutput extends CreateChannelMembershipResponse, __MetadataBearer {} - -/** - *

Adds a user to a channel. The InvitedBy response field is derived from the - * request header. A channel member can:

- *
    - *
  • - *

    List messages

    - *
  • - *
  • - *

    Send messages

    - *
  • - *
  • - *

    Receive messages

    - *
  • - *
  • - *

    Edit their own messages

    - *
  • - *
  • - *

    Leave the channel

    - *
  • - *
- *

Privacy settings impact this action as follows:

- *
    - *
  • - *

    Public Channels: You do not need to be a member to list messages, but you must be - * a member to send messages.

    - *
  • - *
  • - *

    Private Channels: You must be a member to list or send messages.

    - *
  • - *
- * - *

The x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, CreateChannelMembership, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by CreateChannelMembership in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, CreateChannelMembershipCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, CreateChannelMembershipCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // CreateChannelMembershipRequest - * ChannelArn: "STRING_VALUE", // required - * MemberArn: "STRING_VALUE", // required - * Type: "DEFAULT" || "HIDDEN", // required - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new CreateChannelMembershipCommand(input); - * const response = await client.send(command); - * // { // CreateChannelMembershipResponse - * // ChannelArn: "STRING_VALUE", - * // Member: { // Identity - * // Arn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param CreateChannelMembershipCommandInput - {@link CreateChannelMembershipCommandInput} - * @returns {@link CreateChannelMembershipCommandOutput} - * @see {@link CreateChannelMembershipCommandInput} for command's `input` shape. - * @see {@link CreateChannelMembershipCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ConflictException} (client fault) - *

The request could not be processed because of conflict in the current state of the - * resource.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ResourceLimitExceededException} (client fault) - *

The request exceeds the resource limit.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class CreateChannelMembershipCommand extends $Command - .classBuilder< - CreateChannelMembershipCommandInput, - CreateChannelMembershipCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "CreateChannelMembership", {}) - .n("ChimeClient", "CreateChannelMembershipCommand") - .f(void 0, CreateChannelMembershipResponseFilterSensitiveLog) - .ser(se_CreateChannelMembershipCommand) - .de(de_CreateChannelMembershipCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: CreateChannelMembershipRequest; - output: CreateChannelMembershipResponse; - }; - sdk: { - input: CreateChannelMembershipCommandInput; - output: CreateChannelMembershipCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/CreateChannelModeratorCommand.ts b/clients/client-chime/src/commands/CreateChannelModeratorCommand.ts deleted file mode 100644 index 11c0e7f7a17f..000000000000 --- a/clients/client-chime/src/commands/CreateChannelModeratorCommand.ts +++ /dev/null @@ -1,158 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - CreateChannelModeratorRequest, - CreateChannelModeratorResponse, - CreateChannelModeratorResponseFilterSensitiveLog, -} from "../models/models_0"; -import { de_CreateChannelModeratorCommand, se_CreateChannelModeratorCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateChannelModeratorCommand}. - */ -export interface CreateChannelModeratorCommandInput extends CreateChannelModeratorRequest {} -/** - * @public - * - * The output of {@link CreateChannelModeratorCommand}. - */ -export interface CreateChannelModeratorCommandOutput extends CreateChannelModeratorResponse, __MetadataBearer {} - -/** - *

Creates a new ChannelModerator. A channel moderator can:

- *
    - *
  • - *

    Add and remove other members of the channel.

    - *
  • - *
  • - *

    Add and remove other moderators of the channel.

    - *
  • - *
  • - *

    Add and remove user bans for the channel.

    - *
  • - *
  • - *

    Redact messages in the channel.

    - *
  • - *
  • - *

    List messages in the channel.

    - *
  • - *
- * - *

The x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, CreateChannelModerator, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by CreateChannelModerator in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, CreateChannelModeratorCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, CreateChannelModeratorCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // CreateChannelModeratorRequest - * ChannelArn: "STRING_VALUE", // required - * ChannelModeratorArn: "STRING_VALUE", // required - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new CreateChannelModeratorCommand(input); - * const response = await client.send(command); - * // { // CreateChannelModeratorResponse - * // ChannelArn: "STRING_VALUE", - * // ChannelModerator: { // Identity - * // Arn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param CreateChannelModeratorCommandInput - {@link CreateChannelModeratorCommandInput} - * @returns {@link CreateChannelModeratorCommandOutput} - * @see {@link CreateChannelModeratorCommandInput} for command's `input` shape. - * @see {@link CreateChannelModeratorCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ConflictException} (client fault) - *

The request could not be processed because of conflict in the current state of the - * resource.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ResourceLimitExceededException} (client fault) - *

The request exceeds the resource limit.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class CreateChannelModeratorCommand extends $Command - .classBuilder< - CreateChannelModeratorCommandInput, - CreateChannelModeratorCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "CreateChannelModerator", {}) - .n("ChimeClient", "CreateChannelModeratorCommand") - .f(void 0, CreateChannelModeratorResponseFilterSensitiveLog) - .ser(se_CreateChannelModeratorCommand) - .de(de_CreateChannelModeratorCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: CreateChannelModeratorRequest; - output: CreateChannelModeratorResponse; - }; - sdk: { - input: CreateChannelModeratorCommandInput; - output: CreateChannelModeratorCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/CreateMediaCapturePipelineCommand.ts b/clients/client-chime/src/commands/CreateMediaCapturePipelineCommand.ts deleted file mode 100644 index 3663132264e2..000000000000 --- a/clients/client-chime/src/commands/CreateMediaCapturePipelineCommand.ts +++ /dev/null @@ -1,190 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - CreateMediaCapturePipelineRequest, - CreateMediaCapturePipelineRequestFilterSensitiveLog, - CreateMediaCapturePipelineResponse, - CreateMediaCapturePipelineResponseFilterSensitiveLog, -} from "../models/models_0"; -import { de_CreateMediaCapturePipelineCommand, se_CreateMediaCapturePipelineCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateMediaCapturePipelineCommand}. - */ -export interface CreateMediaCapturePipelineCommandInput extends CreateMediaCapturePipelineRequest {} -/** - * @public - * - * The output of {@link CreateMediaCapturePipelineCommand}. - */ -export interface CreateMediaCapturePipelineCommandOutput extends CreateMediaCapturePipelineResponse, __MetadataBearer {} - -/** - *

Creates a media capture pipeline.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, CreateMediaCapturePipeline, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by CreateMediaCapturePipeline in the Amazon Chime SDK Media Pipelines Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, CreateMediaCapturePipelineCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, CreateMediaCapturePipelineCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // CreateMediaCapturePipelineRequest - * SourceType: "ChimeSdkMeeting", // required - * SourceArn: "STRING_VALUE", // required - * SinkType: "S3Bucket", // required - * SinkArn: "STRING_VALUE", // required - * ClientRequestToken: "STRING_VALUE", - * ChimeSdkMeetingConfiguration: { // ChimeSdkMeetingConfiguration - * SourceConfiguration: { // SourceConfiguration - * SelectedVideoStreams: { // SelectedVideoStreams - * AttendeeIds: [ // AttendeeIdList - * "STRING_VALUE", - * ], - * ExternalUserIds: [ // ExternalUserIdList - * "STRING_VALUE", - * ], - * }, - * }, - * ArtifactsConfiguration: { // ArtifactsConfiguration - * Audio: { // AudioArtifactsConfiguration - * MuxType: "AudioOnly" || "AudioWithActiveSpeakerVideo", // required - * }, - * Video: { // VideoArtifactsConfiguration - * State: "Enabled" || "Disabled", // required - * MuxType: "VideoOnly", - * }, - * Content: { // ContentArtifactsConfiguration - * State: "Enabled" || "Disabled", // required - * MuxType: "ContentOnly", - * }, - * }, - * }, - * }; - * const command = new CreateMediaCapturePipelineCommand(input); - * const response = await client.send(command); - * // { // CreateMediaCapturePipelineResponse - * // MediaCapturePipeline: { // MediaCapturePipeline - * // MediaPipelineId: "STRING_VALUE", - * // SourceType: "ChimeSdkMeeting", - * // SourceArn: "STRING_VALUE", - * // Status: "Initializing" || "InProgress" || "Failed" || "Stopping" || "Stopped", - * // SinkType: "S3Bucket", - * // SinkArn: "STRING_VALUE", - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // UpdatedTimestamp: new Date("TIMESTAMP"), - * // ChimeSdkMeetingConfiguration: { // ChimeSdkMeetingConfiguration - * // SourceConfiguration: { // SourceConfiguration - * // SelectedVideoStreams: { // SelectedVideoStreams - * // AttendeeIds: [ // AttendeeIdList - * // "STRING_VALUE", - * // ], - * // ExternalUserIds: [ // ExternalUserIdList - * // "STRING_VALUE", - * // ], - * // }, - * // }, - * // ArtifactsConfiguration: { // ArtifactsConfiguration - * // Audio: { // AudioArtifactsConfiguration - * // MuxType: "AudioOnly" || "AudioWithActiveSpeakerVideo", // required - * // }, - * // Video: { // VideoArtifactsConfiguration - * // State: "Enabled" || "Disabled", // required - * // MuxType: "VideoOnly", - * // }, - * // Content: { // ContentArtifactsConfiguration - * // State: "Enabled" || "Disabled", // required - * // MuxType: "ContentOnly", - * // }, - * // }, - * // }, - * // }, - * // }; - * - * ``` - * - * @param CreateMediaCapturePipelineCommandInput - {@link CreateMediaCapturePipelineCommandInput} - * @returns {@link CreateMediaCapturePipelineCommandOutput} - * @see {@link CreateMediaCapturePipelineCommandInput} for command's `input` shape. - * @see {@link CreateMediaCapturePipelineCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ResourceLimitExceededException} (client fault) - *

The request exceeds the resource limit.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class CreateMediaCapturePipelineCommand extends $Command - .classBuilder< - CreateMediaCapturePipelineCommandInput, - CreateMediaCapturePipelineCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "CreateMediaCapturePipeline", {}) - .n("ChimeClient", "CreateMediaCapturePipelineCommand") - .f(CreateMediaCapturePipelineRequestFilterSensitiveLog, CreateMediaCapturePipelineResponseFilterSensitiveLog) - .ser(se_CreateMediaCapturePipelineCommand) - .de(de_CreateMediaCapturePipelineCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: CreateMediaCapturePipelineRequest; - output: CreateMediaCapturePipelineResponse; - }; - sdk: { - input: CreateMediaCapturePipelineCommandInput; - output: CreateMediaCapturePipelineCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/CreateMeetingCommand.ts b/clients/client-chime/src/commands/CreateMeetingCommand.ts deleted file mode 100644 index fb537b6a2890..000000000000 --- a/clients/client-chime/src/commands/CreateMeetingCommand.ts +++ /dev/null @@ -1,159 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - CreateMeetingRequest, - CreateMeetingRequestFilterSensitiveLog, - CreateMeetingResponse, - CreateMeetingResponseFilterSensitiveLog, -} from "../models/models_0"; -import { de_CreateMeetingCommand, se_CreateMeetingCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateMeetingCommand}. - */ -export interface CreateMeetingCommandInput extends CreateMeetingRequest {} -/** - * @public - * - * The output of {@link CreateMeetingCommand}. - */ -export interface CreateMeetingCommandOutput extends CreateMeetingResponse, __MetadataBearer {} - -/** - *

Creates a new Amazon Chime SDK meeting in the specified media Region with no initial attendees. For more information about specifying media Regions, see - * Amazon Chime SDK Media Regions - * in the Amazon Chime SDK Developer Guide - * . For more information about the Amazon Chime SDK, see - * Using the Amazon Chime SDK - * in the Amazon Chime SDK Developer Guide.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, CreateMeeting, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by CreateMeeting in the Amazon Chime SDK Meetings Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, CreateMeetingCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, CreateMeetingCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // CreateMeetingRequest - * ClientRequestToken: "STRING_VALUE", // required - * ExternalMeetingId: "STRING_VALUE", - * MeetingHostId: "STRING_VALUE", - * MediaRegion: "STRING_VALUE", - * Tags: [ // MeetingTagList - * { // Tag - * Key: "STRING_VALUE", // required - * Value: "STRING_VALUE", // required - * }, - * ], - * NotificationsConfiguration: { // MeetingNotificationConfiguration - * SnsTopicArn: "STRING_VALUE", - * SqsQueueArn: "STRING_VALUE", - * }, - * }; - * const command = new CreateMeetingCommand(input); - * const response = await client.send(command); - * // { // CreateMeetingResponse - * // Meeting: { // Meeting - * // MeetingId: "STRING_VALUE", - * // ExternalMeetingId: "STRING_VALUE", - * // MediaPlacement: { // MediaPlacement - * // AudioHostUrl: "STRING_VALUE", - * // AudioFallbackUrl: "STRING_VALUE", - * // ScreenDataUrl: "STRING_VALUE", - * // ScreenSharingUrl: "STRING_VALUE", - * // ScreenViewingUrl: "STRING_VALUE", - * // SignalingUrl: "STRING_VALUE", - * // TurnControlUrl: "STRING_VALUE", - * // EventIngestionUrl: "STRING_VALUE", - * // }, - * // MediaRegion: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param CreateMeetingCommandInput - {@link CreateMeetingCommandInput} - * @returns {@link CreateMeetingCommandOutput} - * @see {@link CreateMeetingCommandInput} for command's `input` shape. - * @see {@link CreateMeetingCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ResourceLimitExceededException} (client fault) - *

The request exceeds the resource limit.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class CreateMeetingCommand extends $Command - .classBuilder< - CreateMeetingCommandInput, - CreateMeetingCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "CreateMeeting", {}) - .n("ChimeClient", "CreateMeetingCommand") - .f(CreateMeetingRequestFilterSensitiveLog, CreateMeetingResponseFilterSensitiveLog) - .ser(se_CreateMeetingCommand) - .de(de_CreateMeetingCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: CreateMeetingRequest; - output: CreateMeetingResponse; - }; - sdk: { - input: CreateMeetingCommandInput; - output: CreateMeetingCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/CreateMeetingDialOutCommand.ts b/clients/client-chime/src/commands/CreateMeetingDialOutCommand.ts index 527c87a9eb4e..cab143c40801 100644 --- a/clients/client-chime/src/commands/CreateMeetingDialOutCommand.ts +++ b/clients/client-chime/src/commands/CreateMeetingDialOutCommand.ts @@ -38,7 +38,7 @@ export interface CreateMeetingDialOutCommandOutput extends CreateMeetingDialOutR * CreateSipMediaApplicationCall action with the corresponding SIP media application ID.

* *

- * This API is is not available in a dedicated namespace. + * This API is not available in a dedicated namespace. *

*
* @example diff --git a/clients/client-chime/src/commands/CreateMeetingWithAttendeesCommand.ts b/clients/client-chime/src/commands/CreateMeetingWithAttendeesCommand.ts deleted file mode 100644 index 58da36601719..000000000000 --- a/clients/client-chime/src/commands/CreateMeetingWithAttendeesCommand.ts +++ /dev/null @@ -1,189 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - CreateMeetingWithAttendeesRequest, - CreateMeetingWithAttendeesRequestFilterSensitiveLog, - CreateMeetingWithAttendeesResponse, - CreateMeetingWithAttendeesResponseFilterSensitiveLog, -} from "../models/models_0"; -import { de_CreateMeetingWithAttendeesCommand, se_CreateMeetingWithAttendeesCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateMeetingWithAttendeesCommand}. - */ -export interface CreateMeetingWithAttendeesCommandInput extends CreateMeetingWithAttendeesRequest {} -/** - * @public - * - * The output of {@link CreateMeetingWithAttendeesCommand}. - */ -export interface CreateMeetingWithAttendeesCommandOutput extends CreateMeetingWithAttendeesResponse, __MetadataBearer {} - -/** - *

- * Creates a new Amazon Chime SDK meeting in the specified media Region, with attendees. For more information about specifying media Regions, see - * Amazon Chime SDK Media Regions - * in the - * Amazon Chime SDK Developer Guide - * . For more information about the Amazon Chime SDK, see - * Using the Amazon Chime SDK - * in the - * Amazon Chime SDK Developer Guide - * . - *

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, CreateMeetingWithAttendees, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by CreateMeetingWithAttendees in the Amazon Chime SDK Meetings Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, CreateMeetingWithAttendeesCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, CreateMeetingWithAttendeesCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // CreateMeetingWithAttendeesRequest - * ClientRequestToken: "STRING_VALUE", // required - * ExternalMeetingId: "STRING_VALUE", - * MeetingHostId: "STRING_VALUE", - * MediaRegion: "STRING_VALUE", - * Tags: [ // MeetingTagList - * { // Tag - * Key: "STRING_VALUE", // required - * Value: "STRING_VALUE", // required - * }, - * ], - * NotificationsConfiguration: { // MeetingNotificationConfiguration - * SnsTopicArn: "STRING_VALUE", - * SqsQueueArn: "STRING_VALUE", - * }, - * Attendees: [ // CreateMeetingWithAttendeesRequestItemList - * { // CreateAttendeeRequestItem - * ExternalUserId: "STRING_VALUE", // required - * Tags: [ // AttendeeTagList - * { - * Key: "STRING_VALUE", // required - * Value: "STRING_VALUE", // required - * }, - * ], - * }, - * ], - * }; - * const command = new CreateMeetingWithAttendeesCommand(input); - * const response = await client.send(command); - * // { // CreateMeetingWithAttendeesResponse - * // Meeting: { // Meeting - * // MeetingId: "STRING_VALUE", - * // ExternalMeetingId: "STRING_VALUE", - * // MediaPlacement: { // MediaPlacement - * // AudioHostUrl: "STRING_VALUE", - * // AudioFallbackUrl: "STRING_VALUE", - * // ScreenDataUrl: "STRING_VALUE", - * // ScreenSharingUrl: "STRING_VALUE", - * // ScreenViewingUrl: "STRING_VALUE", - * // SignalingUrl: "STRING_VALUE", - * // TurnControlUrl: "STRING_VALUE", - * // EventIngestionUrl: "STRING_VALUE", - * // }, - * // MediaRegion: "STRING_VALUE", - * // }, - * // Attendees: [ // AttendeeList - * // { // Attendee - * // ExternalUserId: "STRING_VALUE", - * // AttendeeId: "STRING_VALUE", - * // JoinToken: "STRING_VALUE", - * // }, - * // ], - * // Errors: [ // BatchCreateAttendeeErrorList - * // { // CreateAttendeeError - * // ExternalUserId: "STRING_VALUE", - * // ErrorCode: "STRING_VALUE", - * // ErrorMessage: "STRING_VALUE", - * // }, - * // ], - * // }; - * - * ``` - * - * @param CreateMeetingWithAttendeesCommandInput - {@link CreateMeetingWithAttendeesCommandInput} - * @returns {@link CreateMeetingWithAttendeesCommandOutput} - * @see {@link CreateMeetingWithAttendeesCommandInput} for command's `input` shape. - * @see {@link CreateMeetingWithAttendeesCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ResourceLimitExceededException} (client fault) - *

The request exceeds the resource limit.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class CreateMeetingWithAttendeesCommand extends $Command - .classBuilder< - CreateMeetingWithAttendeesCommandInput, - CreateMeetingWithAttendeesCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "CreateMeetingWithAttendees", {}) - .n("ChimeClient", "CreateMeetingWithAttendeesCommand") - .f(CreateMeetingWithAttendeesRequestFilterSensitiveLog, CreateMeetingWithAttendeesResponseFilterSensitiveLog) - .ser(se_CreateMeetingWithAttendeesCommand) - .de(de_CreateMeetingWithAttendeesCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: CreateMeetingWithAttendeesRequest; - output: CreateMeetingWithAttendeesResponse; - }; - sdk: { - input: CreateMeetingWithAttendeesCommandInput; - output: CreateMeetingWithAttendeesCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/CreateProxySessionCommand.ts b/clients/client-chime/src/commands/CreateProxySessionCommand.ts deleted file mode 100644 index ab1206fe93c3..000000000000 --- a/clients/client-chime/src/commands/CreateProxySessionCommand.ts +++ /dev/null @@ -1,165 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - CreateProxySessionRequest, - CreateProxySessionRequestFilterSensitiveLog, - CreateProxySessionResponse, - CreateProxySessionResponseFilterSensitiveLog, -} from "../models/models_0"; -import { de_CreateProxySessionCommand, se_CreateProxySessionCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateProxySessionCommand}. - */ -export interface CreateProxySessionCommandInput extends CreateProxySessionRequest {} -/** - * @public - * - * The output of {@link CreateProxySessionCommand}. - */ -export interface CreateProxySessionCommandOutput extends CreateProxySessionResponse, __MetadataBearer {} - -/** - *

Creates a proxy session on the specified Amazon Chime Voice Connector for the specified participant phone numbers.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, CreateProxySession, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by CreateProxySession in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, CreateProxySessionCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, CreateProxySessionCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // CreateProxySessionRequest - * VoiceConnectorId: "STRING_VALUE", // required - * ParticipantPhoneNumbers: [ // ParticipantPhoneNumberList // required - * "STRING_VALUE", - * ], - * Name: "STRING_VALUE", - * ExpiryMinutes: Number("int"), - * Capabilities: [ // CapabilityList // required - * "Voice" || "SMS", - * ], - * NumberSelectionBehavior: "PreferSticky" || "AvoidSticky", - * GeoMatchLevel: "Country" || "AreaCode", - * GeoMatchParams: { // GeoMatchParams - * Country: "STRING_VALUE", // required - * AreaCode: "STRING_VALUE", // required - * }, - * }; - * const command = new CreateProxySessionCommand(input); - * const response = await client.send(command); - * // { // CreateProxySessionResponse - * // ProxySession: { // ProxySession - * // VoiceConnectorId: "STRING_VALUE", - * // ProxySessionId: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // Status: "Open" || "InProgress" || "Closed", - * // ExpiryMinutes: Number("int"), - * // Capabilities: [ // CapabilityList - * // "Voice" || "SMS", - * // ], - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // UpdatedTimestamp: new Date("TIMESTAMP"), - * // EndedTimestamp: new Date("TIMESTAMP"), - * // Participants: [ // Participants - * // { // Participant - * // PhoneNumber: "STRING_VALUE", - * // ProxyPhoneNumber: "STRING_VALUE", - * // }, - * // ], - * // NumberSelectionBehavior: "PreferSticky" || "AvoidSticky", - * // GeoMatchLevel: "Country" || "AreaCode", - * // GeoMatchParams: { // GeoMatchParams - * // Country: "STRING_VALUE", // required - * // AreaCode: "STRING_VALUE", // required - * // }, - * // }, - * // }; - * - * ``` - * - * @param CreateProxySessionCommandInput - {@link CreateProxySessionCommandInput} - * @returns {@link CreateProxySessionCommandOutput} - * @see {@link CreateProxySessionCommandInput} for command's `input` shape. - * @see {@link CreateProxySessionCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class CreateProxySessionCommand extends $Command - .classBuilder< - CreateProxySessionCommandInput, - CreateProxySessionCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "CreateProxySession", {}) - .n("ChimeClient", "CreateProxySessionCommand") - .f(CreateProxySessionRequestFilterSensitiveLog, CreateProxySessionResponseFilterSensitiveLog) - .ser(se_CreateProxySessionCommand) - .de(de_CreateProxySessionCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: CreateProxySessionRequest; - output: CreateProxySessionResponse; - }; - sdk: { - input: CreateProxySessionCommandInput; - output: CreateProxySessionCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/CreateSipMediaApplicationCallCommand.ts b/clients/client-chime/src/commands/CreateSipMediaApplicationCallCommand.ts deleted file mode 100644 index d10c7573a709..000000000000 --- a/clients/client-chime/src/commands/CreateSipMediaApplicationCallCommand.ts +++ /dev/null @@ -1,142 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - CreateSipMediaApplicationCallRequest, - CreateSipMediaApplicationCallRequestFilterSensitiveLog, - CreateSipMediaApplicationCallResponse, -} from "../models/models_0"; -import { - de_CreateSipMediaApplicationCallCommand, - se_CreateSipMediaApplicationCallCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateSipMediaApplicationCallCommand}. - */ -export interface CreateSipMediaApplicationCallCommandInput extends CreateSipMediaApplicationCallRequest {} -/** - * @public - * - * The output of {@link CreateSipMediaApplicationCallCommand}. - */ -export interface CreateSipMediaApplicationCallCommandOutput - extends CreateSipMediaApplicationCallResponse, - __MetadataBearer {} - -/** - *

Creates an outbound call to a phone number from the phone number specified in the request, and it invokes the endpoint of the specified - * sipMediaApplicationId.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, CreateSipMediaApplicationCall, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by CreateSipMediaApplicationCall in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, CreateSipMediaApplicationCallCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, CreateSipMediaApplicationCallCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // CreateSipMediaApplicationCallRequest - * FromPhoneNumber: "STRING_VALUE", // required - * ToPhoneNumber: "STRING_VALUE", // required - * SipMediaApplicationId: "STRING_VALUE", // required - * SipHeaders: { // SipHeadersMap - * "": "STRING_VALUE", - * }, - * }; - * const command = new CreateSipMediaApplicationCallCommand(input); - * const response = await client.send(command); - * // { // CreateSipMediaApplicationCallResponse - * // SipMediaApplicationCall: { // SipMediaApplicationCall - * // TransactionId: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param CreateSipMediaApplicationCallCommandInput - {@link CreateSipMediaApplicationCallCommandInput} - * @returns {@link CreateSipMediaApplicationCallCommandOutput} - * @see {@link CreateSipMediaApplicationCallCommandInput} for command's `input` shape. - * @see {@link CreateSipMediaApplicationCallCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You don't have permissions to perform the requested operation.

- * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ResourceLimitExceededException} (client fault) - *

The request exceeds the resource limit.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class CreateSipMediaApplicationCallCommand extends $Command - .classBuilder< - CreateSipMediaApplicationCallCommandInput, - CreateSipMediaApplicationCallCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "CreateSipMediaApplicationCall", {}) - .n("ChimeClient", "CreateSipMediaApplicationCallCommand") - .f(CreateSipMediaApplicationCallRequestFilterSensitiveLog, void 0) - .ser(se_CreateSipMediaApplicationCallCommand) - .de(de_CreateSipMediaApplicationCallCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: CreateSipMediaApplicationCallRequest; - output: CreateSipMediaApplicationCallResponse; - }; - sdk: { - input: CreateSipMediaApplicationCallCommandInput; - output: CreateSipMediaApplicationCallCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/CreateSipMediaApplicationCommand.ts b/clients/client-chime/src/commands/CreateSipMediaApplicationCommand.ts deleted file mode 100644 index 6af8ae4abd77..000000000000 --- a/clients/client-chime/src/commands/CreateSipMediaApplicationCommand.ts +++ /dev/null @@ -1,151 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - CreateSipMediaApplicationRequest, - CreateSipMediaApplicationRequestFilterSensitiveLog, - CreateSipMediaApplicationResponse, - CreateSipMediaApplicationResponseFilterSensitiveLog, -} from "../models/models_0"; -import { de_CreateSipMediaApplicationCommand, se_CreateSipMediaApplicationCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateSipMediaApplicationCommand}. - */ -export interface CreateSipMediaApplicationCommandInput extends CreateSipMediaApplicationRequest {} -/** - * @public - * - * The output of {@link CreateSipMediaApplicationCommand}. - */ -export interface CreateSipMediaApplicationCommandOutput extends CreateSipMediaApplicationResponse, __MetadataBearer {} - -/** - *

Creates a SIP media application.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, CreateSipMediaApplication, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by CreateSipMediaApplication in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, CreateSipMediaApplicationCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, CreateSipMediaApplicationCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // CreateSipMediaApplicationRequest - * AwsRegion: "STRING_VALUE", // required - * Name: "STRING_VALUE", // required - * Endpoints: [ // SipMediaApplicationEndpointList // required - * { // SipMediaApplicationEndpoint - * LambdaArn: "STRING_VALUE", - * }, - * ], - * }; - * const command = new CreateSipMediaApplicationCommand(input); - * const response = await client.send(command); - * // { // CreateSipMediaApplicationResponse - * // SipMediaApplication: { // SipMediaApplication - * // SipMediaApplicationId: "STRING_VALUE", - * // AwsRegion: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // Endpoints: [ // SipMediaApplicationEndpointList - * // { // SipMediaApplicationEndpoint - * // LambdaArn: "STRING_VALUE", - * // }, - * // ], - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // UpdatedTimestamp: new Date("TIMESTAMP"), - * // }, - * // }; - * - * ``` - * - * @param CreateSipMediaApplicationCommandInput - {@link CreateSipMediaApplicationCommandInput} - * @returns {@link CreateSipMediaApplicationCommandOutput} - * @see {@link CreateSipMediaApplicationCommandInput} for command's `input` shape. - * @see {@link CreateSipMediaApplicationCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You don't have permissions to perform the requested operation.

- * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ConflictException} (client fault) - *

The request could not be processed because of conflict in the current state of the - * resource.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ResourceLimitExceededException} (client fault) - *

The request exceeds the resource limit.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class CreateSipMediaApplicationCommand extends $Command - .classBuilder< - CreateSipMediaApplicationCommandInput, - CreateSipMediaApplicationCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "CreateSipMediaApplication", {}) - .n("ChimeClient", "CreateSipMediaApplicationCommand") - .f(CreateSipMediaApplicationRequestFilterSensitiveLog, CreateSipMediaApplicationResponseFilterSensitiveLog) - .ser(se_CreateSipMediaApplicationCommand) - .de(de_CreateSipMediaApplicationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: CreateSipMediaApplicationRequest; - output: CreateSipMediaApplicationResponse; - }; - sdk: { - input: CreateSipMediaApplicationCommandInput; - output: CreateSipMediaApplicationCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/CreateSipRuleCommand.ts b/clients/client-chime/src/commands/CreateSipRuleCommand.ts deleted file mode 100644 index 852c9edb83ee..000000000000 --- a/clients/client-chime/src/commands/CreateSipRuleCommand.ts +++ /dev/null @@ -1,154 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { CreateSipRuleRequest, CreateSipRuleResponse } from "../models/models_0"; -import { de_CreateSipRuleCommand, se_CreateSipRuleCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateSipRuleCommand}. - */ -export interface CreateSipRuleCommandInput extends CreateSipRuleRequest {} -/** - * @public - * - * The output of {@link CreateSipRuleCommand}. - */ -export interface CreateSipRuleCommandOutput extends CreateSipRuleResponse, __MetadataBearer {} - -/** - *

Creates a SIP rule which can be used to run a SIP media application as a target for a specific trigger type.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, CreateSipRule, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by CreateSipRule in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, CreateSipRuleCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, CreateSipRuleCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // CreateSipRuleRequest - * Name: "STRING_VALUE", // required - * TriggerType: "ToPhoneNumber" || "RequestUriHostname", // required - * TriggerValue: "STRING_VALUE", // required - * Disabled: true || false, - * TargetApplications: [ // SipRuleTargetApplicationList // required - * { // SipRuleTargetApplication - * SipMediaApplicationId: "STRING_VALUE", - * Priority: Number("int"), - * AwsRegion: "STRING_VALUE", - * }, - * ], - * }; - * const command = new CreateSipRuleCommand(input); - * const response = await client.send(command); - * // { // CreateSipRuleResponse - * // SipRule: { // SipRule - * // SipRuleId: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // Disabled: true || false, - * // TriggerType: "ToPhoneNumber" || "RequestUriHostname", - * // TriggerValue: "STRING_VALUE", - * // TargetApplications: [ // SipRuleTargetApplicationList - * // { // SipRuleTargetApplication - * // SipMediaApplicationId: "STRING_VALUE", - * // Priority: Number("int"), - * // AwsRegion: "STRING_VALUE", - * // }, - * // ], - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // UpdatedTimestamp: new Date("TIMESTAMP"), - * // }, - * // }; - * - * ``` - * - * @param CreateSipRuleCommandInput - {@link CreateSipRuleCommandInput} - * @returns {@link CreateSipRuleCommandOutput} - * @see {@link CreateSipRuleCommandInput} for command's `input` shape. - * @see {@link CreateSipRuleCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You don't have permissions to perform the requested operation.

- * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ConflictException} (client fault) - *

The request could not be processed because of conflict in the current state of the - * resource.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ResourceLimitExceededException} (client fault) - *

The request exceeds the resource limit.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class CreateSipRuleCommand extends $Command - .classBuilder< - CreateSipRuleCommandInput, - CreateSipRuleCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "CreateSipRule", {}) - .n("ChimeClient", "CreateSipRuleCommand") - .f(void 0, void 0) - .ser(se_CreateSipRuleCommand) - .de(de_CreateSipRuleCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: CreateSipRuleRequest; - output: CreateSipRuleResponse; - }; - sdk: { - input: CreateSipRuleCommandInput; - output: CreateSipRuleCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/CreateVoiceConnectorCommand.ts b/clients/client-chime/src/commands/CreateVoiceConnectorCommand.ts deleted file mode 100644 index cc3bfc679c95..000000000000 --- a/clients/client-chime/src/commands/CreateVoiceConnectorCommand.ts +++ /dev/null @@ -1,139 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { CreateVoiceConnectorRequest, CreateVoiceConnectorResponse } from "../models/models_0"; -import { de_CreateVoiceConnectorCommand, se_CreateVoiceConnectorCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateVoiceConnectorCommand}. - */ -export interface CreateVoiceConnectorCommandInput extends CreateVoiceConnectorRequest {} -/** - * @public - * - * The output of {@link CreateVoiceConnectorCommand}. - */ -export interface CreateVoiceConnectorCommandOutput extends CreateVoiceConnectorResponse, __MetadataBearer {} - -/** - *

Creates an Amazon Chime Voice Connector under the administrator's AWS account. You can choose to create an Amazon Chime Voice Connector in a specific AWS Region.

- *

Enabling CreateVoiceConnectorRequest$RequireEncryption - * configures your Amazon Chime Voice Connector to use TLS transport for SIP signaling and Secure RTP (SRTP) for media. Inbound calls use TLS transport, and unencrypted outbound calls are blocked. - *

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, CreateVoiceConnector, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by CreateVoiceConnector in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, CreateVoiceConnectorCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, CreateVoiceConnectorCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // CreateVoiceConnectorRequest - * Name: "STRING_VALUE", // required - * AwsRegion: "us-east-1" || "us-west-2", - * RequireEncryption: true || false, // required - * }; - * const command = new CreateVoiceConnectorCommand(input); - * const response = await client.send(command); - * // { // CreateVoiceConnectorResponse - * // VoiceConnector: { // VoiceConnector - * // VoiceConnectorId: "STRING_VALUE", - * // AwsRegion: "us-east-1" || "us-west-2", - * // Name: "STRING_VALUE", - * // OutboundHostName: "STRING_VALUE", - * // RequireEncryption: true || false, - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // UpdatedTimestamp: new Date("TIMESTAMP"), - * // VoiceConnectorArn: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param CreateVoiceConnectorCommandInput - {@link CreateVoiceConnectorCommandInput} - * @returns {@link CreateVoiceConnectorCommandOutput} - * @see {@link CreateVoiceConnectorCommandInput} for command's `input` shape. - * @see {@link CreateVoiceConnectorCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You don't have permissions to perform the requested operation.

- * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ResourceLimitExceededException} (client fault) - *

The request exceeds the resource limit.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class CreateVoiceConnectorCommand extends $Command - .classBuilder< - CreateVoiceConnectorCommandInput, - CreateVoiceConnectorCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "CreateVoiceConnector", {}) - .n("ChimeClient", "CreateVoiceConnectorCommand") - .f(void 0, void 0) - .ser(se_CreateVoiceConnectorCommand) - .de(de_CreateVoiceConnectorCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: CreateVoiceConnectorRequest; - output: CreateVoiceConnectorResponse; - }; - sdk: { - input: CreateVoiceConnectorCommandInput; - output: CreateVoiceConnectorCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/CreateVoiceConnectorGroupCommand.ts b/clients/client-chime/src/commands/CreateVoiceConnectorGroupCommand.ts deleted file mode 100644 index c90a769df927..000000000000 --- a/clients/client-chime/src/commands/CreateVoiceConnectorGroupCommand.ts +++ /dev/null @@ -1,147 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { CreateVoiceConnectorGroupRequest, CreateVoiceConnectorGroupResponse } from "../models/models_0"; -import { de_CreateVoiceConnectorGroupCommand, se_CreateVoiceConnectorGroupCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateVoiceConnectorGroupCommand}. - */ -export interface CreateVoiceConnectorGroupCommandInput extends CreateVoiceConnectorGroupRequest {} -/** - * @public - * - * The output of {@link CreateVoiceConnectorGroupCommand}. - */ -export interface CreateVoiceConnectorGroupCommandOutput extends CreateVoiceConnectorGroupResponse, __MetadataBearer {} - -/** - *

Creates an Amazon Chime Voice Connector group under the administrator's AWS account. You can - * associate Amazon Chime Voice Connectors with the Amazon Chime Voice Connector group by - * including VoiceConnectorItems in the request.

- *

You can include Amazon Chime Voice Connectors from different AWS Regions in your group. This - * creates a fault tolerant mechanism for fallback in case of availability events.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, CreateVoiceConnectorGroup, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by CreateVoiceConnectorGroup in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, CreateVoiceConnectorGroupCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, CreateVoiceConnectorGroupCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // CreateVoiceConnectorGroupRequest - * Name: "STRING_VALUE", // required - * VoiceConnectorItems: [ // VoiceConnectorItemList - * { // VoiceConnectorItem - * VoiceConnectorId: "STRING_VALUE", // required - * Priority: Number("int"), // required - * }, - * ], - * }; - * const command = new CreateVoiceConnectorGroupCommand(input); - * const response = await client.send(command); - * // { // CreateVoiceConnectorGroupResponse - * // VoiceConnectorGroup: { // VoiceConnectorGroup - * // VoiceConnectorGroupId: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // VoiceConnectorItems: [ // VoiceConnectorItemList - * // { // VoiceConnectorItem - * // VoiceConnectorId: "STRING_VALUE", // required - * // Priority: Number("int"), // required - * // }, - * // ], - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // UpdatedTimestamp: new Date("TIMESTAMP"), - * // VoiceConnectorGroupArn: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param CreateVoiceConnectorGroupCommandInput - {@link CreateVoiceConnectorGroupCommandInput} - * @returns {@link CreateVoiceConnectorGroupCommandOutput} - * @see {@link CreateVoiceConnectorGroupCommandInput} for command's `input` shape. - * @see {@link CreateVoiceConnectorGroupCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You don't have permissions to perform the requested operation.

- * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ResourceLimitExceededException} (client fault) - *

The request exceeds the resource limit.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class CreateVoiceConnectorGroupCommand extends $Command - .classBuilder< - CreateVoiceConnectorGroupCommandInput, - CreateVoiceConnectorGroupCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "CreateVoiceConnectorGroup", {}) - .n("ChimeClient", "CreateVoiceConnectorGroupCommand") - .f(void 0, void 0) - .ser(se_CreateVoiceConnectorGroupCommand) - .de(de_CreateVoiceConnectorGroupCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: CreateVoiceConnectorGroupRequest; - output: CreateVoiceConnectorGroupResponse; - }; - sdk: { - input: CreateVoiceConnectorGroupCommandInput; - output: CreateVoiceConnectorGroupCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DeleteAppInstanceAdminCommand.ts b/clients/client-chime/src/commands/DeleteAppInstanceAdminCommand.ts deleted file mode 100644 index 43dfe051da58..000000000000 --- a/clients/client-chime/src/commands/DeleteAppInstanceAdminCommand.ts +++ /dev/null @@ -1,123 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteAppInstanceAdminRequest } from "../models/models_0"; -import { de_DeleteAppInstanceAdminCommand, se_DeleteAppInstanceAdminCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteAppInstanceAdminCommand}. - */ -export interface DeleteAppInstanceAdminCommandInput extends DeleteAppInstanceAdminRequest {} -/** - * @public - * - * The output of {@link DeleteAppInstanceAdminCommand}. - */ -export interface DeleteAppInstanceAdminCommandOutput extends __MetadataBearer {} - -/** - *

Demotes an AppInstanceAdmin to an AppInstanceUser. This action does not delete the user.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, - * DeleteAppInstanceAdmin, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DeleteAppInstanceAdmin in the Amazon Chime SDK Identity Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DeleteAppInstanceAdminCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DeleteAppInstanceAdminCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DeleteAppInstanceAdminRequest - * AppInstanceAdminArn: "STRING_VALUE", // required - * AppInstanceArn: "STRING_VALUE", // required - * }; - * const command = new DeleteAppInstanceAdminCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteAppInstanceAdminCommandInput - {@link DeleteAppInstanceAdminCommandInput} - * @returns {@link DeleteAppInstanceAdminCommandOutput} - * @see {@link DeleteAppInstanceAdminCommandInput} for command's `input` shape. - * @see {@link DeleteAppInstanceAdminCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ConflictException} (client fault) - *

The request could not be processed because of conflict in the current state of the - * resource.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DeleteAppInstanceAdminCommand extends $Command - .classBuilder< - DeleteAppInstanceAdminCommandInput, - DeleteAppInstanceAdminCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DeleteAppInstanceAdmin", {}) - .n("ChimeClient", "DeleteAppInstanceAdminCommand") - .f(void 0, void 0) - .ser(se_DeleteAppInstanceAdminCommand) - .de(de_DeleteAppInstanceAdminCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteAppInstanceAdminRequest; - output: {}; - }; - sdk: { - input: DeleteAppInstanceAdminCommandInput; - output: DeleteAppInstanceAdminCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DeleteAppInstanceCommand.ts b/clients/client-chime/src/commands/DeleteAppInstanceCommand.ts deleted file mode 100644 index 0618f73b5e07..000000000000 --- a/clients/client-chime/src/commands/DeleteAppInstanceCommand.ts +++ /dev/null @@ -1,118 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteAppInstanceRequest } from "../models/models_0"; -import { de_DeleteAppInstanceCommand, se_DeleteAppInstanceCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteAppInstanceCommand}. - */ -export interface DeleteAppInstanceCommandInput extends DeleteAppInstanceRequest {} -/** - * @public - * - * The output of {@link DeleteAppInstanceCommand}. - */ -export interface DeleteAppInstanceCommandOutput extends __MetadataBearer {} - -/** - *

Deletes an AppInstance and all associated data asynchronously.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, - * DeleteAppInstance, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DeleteAppInstance in the Amazon Chime SDK Identity Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DeleteAppInstanceCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DeleteAppInstanceCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DeleteAppInstanceRequest - * AppInstanceArn: "STRING_VALUE", // required - * }; - * const command = new DeleteAppInstanceCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteAppInstanceCommandInput - {@link DeleteAppInstanceCommandInput} - * @returns {@link DeleteAppInstanceCommandOutput} - * @see {@link DeleteAppInstanceCommandInput} for command's `input` shape. - * @see {@link DeleteAppInstanceCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DeleteAppInstanceCommand extends $Command - .classBuilder< - DeleteAppInstanceCommandInput, - DeleteAppInstanceCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DeleteAppInstance", {}) - .n("ChimeClient", "DeleteAppInstanceCommand") - .f(void 0, void 0) - .ser(se_DeleteAppInstanceCommand) - .de(de_DeleteAppInstanceCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteAppInstanceRequest; - output: {}; - }; - sdk: { - input: DeleteAppInstanceCommandInput; - output: DeleteAppInstanceCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DeleteAppInstanceStreamingConfigurationsCommand.ts b/clients/client-chime/src/commands/DeleteAppInstanceStreamingConfigurationsCommand.ts deleted file mode 100644 index 42724d03c85c..000000000000 --- a/clients/client-chime/src/commands/DeleteAppInstanceStreamingConfigurationsCommand.ts +++ /dev/null @@ -1,124 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteAppInstanceStreamingConfigurationsRequest } from "../models/models_0"; -import { - de_DeleteAppInstanceStreamingConfigurationsCommand, - se_DeleteAppInstanceStreamingConfigurationsCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteAppInstanceStreamingConfigurationsCommand}. - */ -export interface DeleteAppInstanceStreamingConfigurationsCommandInput - extends DeleteAppInstanceStreamingConfigurationsRequest {} -/** - * @public - * - * The output of {@link DeleteAppInstanceStreamingConfigurationsCommand}. - */ -export interface DeleteAppInstanceStreamingConfigurationsCommandOutput extends __MetadataBearer {} - -/** - *

Deletes the streaming configurations of an AppInstance.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteAppInstanceStreamingConfigurations, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DeleteAppInstanceStreamingConfigurations in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DeleteAppInstanceStreamingConfigurationsCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DeleteAppInstanceStreamingConfigurationsCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DeleteAppInstanceStreamingConfigurationsRequest - * AppInstanceArn: "STRING_VALUE", // required - * }; - * const command = new DeleteAppInstanceStreamingConfigurationsCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteAppInstanceStreamingConfigurationsCommandInput - {@link DeleteAppInstanceStreamingConfigurationsCommandInput} - * @returns {@link DeleteAppInstanceStreamingConfigurationsCommandOutput} - * @see {@link DeleteAppInstanceStreamingConfigurationsCommandInput} for command's `input` shape. - * @see {@link DeleteAppInstanceStreamingConfigurationsCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DeleteAppInstanceStreamingConfigurationsCommand extends $Command - .classBuilder< - DeleteAppInstanceStreamingConfigurationsCommandInput, - DeleteAppInstanceStreamingConfigurationsCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DeleteAppInstanceStreamingConfigurations", {}) - .n("ChimeClient", "DeleteAppInstanceStreamingConfigurationsCommand") - .f(void 0, void 0) - .ser(se_DeleteAppInstanceStreamingConfigurationsCommand) - .de(de_DeleteAppInstanceStreamingConfigurationsCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteAppInstanceStreamingConfigurationsRequest; - output: {}; - }; - sdk: { - input: DeleteAppInstanceStreamingConfigurationsCommandInput; - output: DeleteAppInstanceStreamingConfigurationsCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DeleteAppInstanceUserCommand.ts b/clients/client-chime/src/commands/DeleteAppInstanceUserCommand.ts deleted file mode 100644 index 4c85d9e47b86..000000000000 --- a/clients/client-chime/src/commands/DeleteAppInstanceUserCommand.ts +++ /dev/null @@ -1,117 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteAppInstanceUserRequest } from "../models/models_0"; -import { de_DeleteAppInstanceUserCommand, se_DeleteAppInstanceUserCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteAppInstanceUserCommand}. - */ -export interface DeleteAppInstanceUserCommandInput extends DeleteAppInstanceUserRequest {} -/** - * @public - * - * The output of {@link DeleteAppInstanceUserCommand}. - */ -export interface DeleteAppInstanceUserCommandOutput extends __MetadataBearer {} - -/** - *

Deletes an AppInstanceUser.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteAppInstanceUser, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DeleteAppInstanceUser in the Amazon Chime SDK Identity Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DeleteAppInstanceUserCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DeleteAppInstanceUserCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DeleteAppInstanceUserRequest - * AppInstanceUserArn: "STRING_VALUE", // required - * }; - * const command = new DeleteAppInstanceUserCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteAppInstanceUserCommandInput - {@link DeleteAppInstanceUserCommandInput} - * @returns {@link DeleteAppInstanceUserCommandOutput} - * @see {@link DeleteAppInstanceUserCommandInput} for command's `input` shape. - * @see {@link DeleteAppInstanceUserCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DeleteAppInstanceUserCommand extends $Command - .classBuilder< - DeleteAppInstanceUserCommandInput, - DeleteAppInstanceUserCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DeleteAppInstanceUser", {}) - .n("ChimeClient", "DeleteAppInstanceUserCommand") - .f(void 0, void 0) - .ser(se_DeleteAppInstanceUserCommand) - .de(de_DeleteAppInstanceUserCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteAppInstanceUserRequest; - output: {}; - }; - sdk: { - input: DeleteAppInstanceUserCommandInput; - output: DeleteAppInstanceUserCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DeleteAttendeeCommand.ts b/clients/client-chime/src/commands/DeleteAttendeeCommand.ts deleted file mode 100644 index 58da7fea4466..000000000000 --- a/clients/client-chime/src/commands/DeleteAttendeeCommand.ts +++ /dev/null @@ -1,124 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteAttendeeRequest } from "../models/models_0"; -import { de_DeleteAttendeeCommand, se_DeleteAttendeeCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteAttendeeCommand}. - */ -export interface DeleteAttendeeCommandInput extends DeleteAttendeeRequest {} -/** - * @public - * - * The output of {@link DeleteAttendeeCommand}. - */ -export interface DeleteAttendeeCommandOutput extends __MetadataBearer {} - -/** - *

Deletes an attendee from the specified Amazon Chime SDK meeting and deletes their - * JoinToken. Attendees are automatically deleted when a Amazon Chime SDK meeting is deleted. For more information about the Amazon Chime SDK, see - * Using the Amazon Chime SDK - * in the Amazon Chime SDK Developer Guide.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteAttendee, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DeleteAttendee in the Amazon Chime SDK Meetings Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DeleteAttendeeCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DeleteAttendeeCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DeleteAttendeeRequest - * MeetingId: "STRING_VALUE", // required - * AttendeeId: "STRING_VALUE", // required - * }; - * const command = new DeleteAttendeeCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteAttendeeCommandInput - {@link DeleteAttendeeCommandInput} - * @returns {@link DeleteAttendeeCommandOutput} - * @see {@link DeleteAttendeeCommandInput} for command's `input` shape. - * @see {@link DeleteAttendeeCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DeleteAttendeeCommand extends $Command - .classBuilder< - DeleteAttendeeCommandInput, - DeleteAttendeeCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DeleteAttendee", {}) - .n("ChimeClient", "DeleteAttendeeCommand") - .f(void 0, void 0) - .ser(se_DeleteAttendeeCommand) - .de(de_DeleteAttendeeCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteAttendeeRequest; - output: {}; - }; - sdk: { - input: DeleteAttendeeCommandInput; - output: DeleteAttendeeCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DeleteChannelBanCommand.ts b/clients/client-chime/src/commands/DeleteChannelBanCommand.ts deleted file mode 100644 index f1299e0b9aed..000000000000 --- a/clients/client-chime/src/commands/DeleteChannelBanCommand.ts +++ /dev/null @@ -1,124 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteChannelBanRequest } from "../models/models_0"; -import { de_DeleteChannelBanCommand, se_DeleteChannelBanCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteChannelBanCommand}. - */ -export interface DeleteChannelBanCommandInput extends DeleteChannelBanRequest {} -/** - * @public - * - * The output of {@link DeleteChannelBanCommand}. - */ -export interface DeleteChannelBanCommandOutput extends __MetadataBearer {} - -/** - *

Removes a user from a channel's ban list.

- * - *

The x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteChannelBan, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DeleteChannelBan in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DeleteChannelBanCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DeleteChannelBanCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DeleteChannelBanRequest - * ChannelArn: "STRING_VALUE", // required - * MemberArn: "STRING_VALUE", // required - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new DeleteChannelBanCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteChannelBanCommandInput - {@link DeleteChannelBanCommandInput} - * @returns {@link DeleteChannelBanCommandOutput} - * @see {@link DeleteChannelBanCommandInput} for command's `input` shape. - * @see {@link DeleteChannelBanCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DeleteChannelBanCommand extends $Command - .classBuilder< - DeleteChannelBanCommandInput, - DeleteChannelBanCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DeleteChannelBan", {}) - .n("ChimeClient", "DeleteChannelBanCommand") - .f(void 0, void 0) - .ser(se_DeleteChannelBanCommand) - .de(de_DeleteChannelBanCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteChannelBanRequest; - output: {}; - }; - sdk: { - input: DeleteChannelBanCommandInput; - output: DeleteChannelBanCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DeleteChannelCommand.ts b/clients/client-chime/src/commands/DeleteChannelCommand.ts deleted file mode 100644 index f935a5b8ed55..000000000000 --- a/clients/client-chime/src/commands/DeleteChannelCommand.ts +++ /dev/null @@ -1,124 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteChannelRequest } from "../models/models_0"; -import { de_DeleteChannelCommand, se_DeleteChannelCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteChannelCommand}. - */ -export interface DeleteChannelCommandInput extends DeleteChannelRequest {} -/** - * @public - * - * The output of {@link DeleteChannelCommand}. - */ -export interface DeleteChannelCommandOutput extends __MetadataBearer {} - -/** - *

Immediately makes a channel and its memberships inaccessible and marks them for - * deletion. This is an irreversible process.

- * - *

The x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteChannel, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DeleteChannel in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DeleteChannelCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DeleteChannelCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DeleteChannelRequest - * ChannelArn: "STRING_VALUE", // required - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new DeleteChannelCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteChannelCommandInput - {@link DeleteChannelCommandInput} - * @returns {@link DeleteChannelCommandOutput} - * @see {@link DeleteChannelCommandInput} for command's `input` shape. - * @see {@link DeleteChannelCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DeleteChannelCommand extends $Command - .classBuilder< - DeleteChannelCommandInput, - DeleteChannelCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DeleteChannel", {}) - .n("ChimeClient", "DeleteChannelCommand") - .f(void 0, void 0) - .ser(se_DeleteChannelCommand) - .de(de_DeleteChannelCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteChannelRequest; - output: {}; - }; - sdk: { - input: DeleteChannelCommandInput; - output: DeleteChannelCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DeleteChannelMembershipCommand.ts b/clients/client-chime/src/commands/DeleteChannelMembershipCommand.ts deleted file mode 100644 index 96e30c8c1c16..000000000000 --- a/clients/client-chime/src/commands/DeleteChannelMembershipCommand.ts +++ /dev/null @@ -1,128 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteChannelMembershipRequest } from "../models/models_0"; -import { de_DeleteChannelMembershipCommand, se_DeleteChannelMembershipCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteChannelMembershipCommand}. - */ -export interface DeleteChannelMembershipCommandInput extends DeleteChannelMembershipRequest {} -/** - * @public - * - * The output of {@link DeleteChannelMembershipCommand}. - */ -export interface DeleteChannelMembershipCommandOutput extends __MetadataBearer {} - -/** - *

Removes a member from a channel.

- * - *

The x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteChannelMembership, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DeleteChannelMembership in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DeleteChannelMembershipCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DeleteChannelMembershipCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DeleteChannelMembershipRequest - * ChannelArn: "STRING_VALUE", // required - * MemberArn: "STRING_VALUE", // required - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new DeleteChannelMembershipCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteChannelMembershipCommandInput - {@link DeleteChannelMembershipCommandInput} - * @returns {@link DeleteChannelMembershipCommandOutput} - * @see {@link DeleteChannelMembershipCommandInput} for command's `input` shape. - * @see {@link DeleteChannelMembershipCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ConflictException} (client fault) - *

The request could not be processed because of conflict in the current state of the - * resource.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DeleteChannelMembershipCommand extends $Command - .classBuilder< - DeleteChannelMembershipCommandInput, - DeleteChannelMembershipCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DeleteChannelMembership", {}) - .n("ChimeClient", "DeleteChannelMembershipCommand") - .f(void 0, void 0) - .ser(se_DeleteChannelMembershipCommand) - .de(de_DeleteChannelMembershipCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteChannelMembershipRequest; - output: {}; - }; - sdk: { - input: DeleteChannelMembershipCommandInput; - output: DeleteChannelMembershipCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DeleteChannelMessageCommand.ts b/clients/client-chime/src/commands/DeleteChannelMessageCommand.ts deleted file mode 100644 index 8de37ca0969d..000000000000 --- a/clients/client-chime/src/commands/DeleteChannelMessageCommand.ts +++ /dev/null @@ -1,126 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteChannelMessageRequest } from "../models/models_0"; -import { de_DeleteChannelMessageCommand, se_DeleteChannelMessageCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteChannelMessageCommand}. - */ -export interface DeleteChannelMessageCommandInput extends DeleteChannelMessageRequest {} -/** - * @public - * - * The output of {@link DeleteChannelMessageCommand}. - */ -export interface DeleteChannelMessageCommandOutput extends __MetadataBearer {} - -/** - *

Deletes a channel message. Only admins can perform this action. Deletion makes messages - * inaccessible immediately. A background process deletes any revisions created by - * UpdateChannelMessage.

- * - *

The x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteChannelMessage, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DeleteChannelMessage in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DeleteChannelMessageCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DeleteChannelMessageCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DeleteChannelMessageRequest - * ChannelArn: "STRING_VALUE", // required - * MessageId: "STRING_VALUE", // required - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new DeleteChannelMessageCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteChannelMessageCommandInput - {@link DeleteChannelMessageCommandInput} - * @returns {@link DeleteChannelMessageCommandOutput} - * @see {@link DeleteChannelMessageCommandInput} for command's `input` shape. - * @see {@link DeleteChannelMessageCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DeleteChannelMessageCommand extends $Command - .classBuilder< - DeleteChannelMessageCommandInput, - DeleteChannelMessageCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DeleteChannelMessage", {}) - .n("ChimeClient", "DeleteChannelMessageCommand") - .f(void 0, void 0) - .ser(se_DeleteChannelMessageCommand) - .de(de_DeleteChannelMessageCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteChannelMessageRequest; - output: {}; - }; - sdk: { - input: DeleteChannelMessageCommandInput; - output: DeleteChannelMessageCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DeleteChannelModeratorCommand.ts b/clients/client-chime/src/commands/DeleteChannelModeratorCommand.ts deleted file mode 100644 index bf79066b9ad0..000000000000 --- a/clients/client-chime/src/commands/DeleteChannelModeratorCommand.ts +++ /dev/null @@ -1,124 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteChannelModeratorRequest } from "../models/models_0"; -import { de_DeleteChannelModeratorCommand, se_DeleteChannelModeratorCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteChannelModeratorCommand}. - */ -export interface DeleteChannelModeratorCommandInput extends DeleteChannelModeratorRequest {} -/** - * @public - * - * The output of {@link DeleteChannelModeratorCommand}. - */ -export interface DeleteChannelModeratorCommandOutput extends __MetadataBearer {} - -/** - *

Deletes a channel moderator.

- * - *

The x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteChannelModerator, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DeleteChannelModerator in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DeleteChannelModeratorCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DeleteChannelModeratorCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DeleteChannelModeratorRequest - * ChannelArn: "STRING_VALUE", // required - * ChannelModeratorArn: "STRING_VALUE", // required - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new DeleteChannelModeratorCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteChannelModeratorCommandInput - {@link DeleteChannelModeratorCommandInput} - * @returns {@link DeleteChannelModeratorCommandOutput} - * @see {@link DeleteChannelModeratorCommandInput} for command's `input` shape. - * @see {@link DeleteChannelModeratorCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DeleteChannelModeratorCommand extends $Command - .classBuilder< - DeleteChannelModeratorCommandInput, - DeleteChannelModeratorCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DeleteChannelModerator", {}) - .n("ChimeClient", "DeleteChannelModeratorCommand") - .f(void 0, void 0) - .ser(se_DeleteChannelModeratorCommand) - .de(de_DeleteChannelModeratorCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteChannelModeratorRequest; - output: {}; - }; - sdk: { - input: DeleteChannelModeratorCommandInput; - output: DeleteChannelModeratorCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DeleteMediaCapturePipelineCommand.ts b/clients/client-chime/src/commands/DeleteMediaCapturePipelineCommand.ts deleted file mode 100644 index 4520ac7d5599..000000000000 --- a/clients/client-chime/src/commands/DeleteMediaCapturePipelineCommand.ts +++ /dev/null @@ -1,121 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteMediaCapturePipelineRequest } from "../models/models_0"; -import { de_DeleteMediaCapturePipelineCommand, se_DeleteMediaCapturePipelineCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteMediaCapturePipelineCommand}. - */ -export interface DeleteMediaCapturePipelineCommandInput extends DeleteMediaCapturePipelineRequest {} -/** - * @public - * - * The output of {@link DeleteMediaCapturePipelineCommand}. - */ -export interface DeleteMediaCapturePipelineCommandOutput extends __MetadataBearer {} - -/** - *

Deletes the media capture pipeline.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, - * DeleteMediaCapturePipeline, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DeleteMediaCapturePipeline in the Amazon Chime SDK Media Pipelines Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DeleteMediaCapturePipelineCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DeleteMediaCapturePipelineCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DeleteMediaCapturePipelineRequest - * MediaPipelineId: "STRING_VALUE", // required - * }; - * const command = new DeleteMediaCapturePipelineCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteMediaCapturePipelineCommandInput - {@link DeleteMediaCapturePipelineCommandInput} - * @returns {@link DeleteMediaCapturePipelineCommandOutput} - * @see {@link DeleteMediaCapturePipelineCommandInput} for command's `input` shape. - * @see {@link DeleteMediaCapturePipelineCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DeleteMediaCapturePipelineCommand extends $Command - .classBuilder< - DeleteMediaCapturePipelineCommandInput, - DeleteMediaCapturePipelineCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DeleteMediaCapturePipeline", {}) - .n("ChimeClient", "DeleteMediaCapturePipelineCommand") - .f(void 0, void 0) - .ser(se_DeleteMediaCapturePipelineCommand) - .de(de_DeleteMediaCapturePipelineCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteMediaCapturePipelineRequest; - output: {}; - }; - sdk: { - input: DeleteMediaCapturePipelineCommandInput; - output: DeleteMediaCapturePipelineCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DeleteMeetingCommand.ts b/clients/client-chime/src/commands/DeleteMeetingCommand.ts deleted file mode 100644 index bf8f4899e329..000000000000 --- a/clients/client-chime/src/commands/DeleteMeetingCommand.ts +++ /dev/null @@ -1,123 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteMeetingRequest } from "../models/models_0"; -import { de_DeleteMeetingCommand, se_DeleteMeetingCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteMeetingCommand}. - */ -export interface DeleteMeetingCommandInput extends DeleteMeetingRequest {} -/** - * @public - * - * The output of {@link DeleteMeetingCommand}. - */ -export interface DeleteMeetingCommandOutput extends __MetadataBearer {} - -/** - *

Deletes the specified Amazon Chime SDK meeting. The operation deletes all attendees, disconnects all clients, and prevents new clients from - * joining the meeting. For more information about the Amazon Chime SDK, see - * Using the Amazon Chime SDK in the - * Amazon Chime SDK Developer Guide.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteMeeting, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DeleteMeeting in the Amazon Chime SDK Meetings Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DeleteMeetingCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DeleteMeetingCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DeleteMeetingRequest - * MeetingId: "STRING_VALUE", // required - * }; - * const command = new DeleteMeetingCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteMeetingCommandInput - {@link DeleteMeetingCommandInput} - * @returns {@link DeleteMeetingCommandOutput} - * @see {@link DeleteMeetingCommandInput} for command's `input` shape. - * @see {@link DeleteMeetingCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DeleteMeetingCommand extends $Command - .classBuilder< - DeleteMeetingCommandInput, - DeleteMeetingCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DeleteMeeting", {}) - .n("ChimeClient", "DeleteMeetingCommand") - .f(void 0, void 0) - .ser(se_DeleteMeetingCommand) - .de(de_DeleteMeetingCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteMeetingRequest; - output: {}; - }; - sdk: { - input: DeleteMeetingCommandInput; - output: DeleteMeetingCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DeleteProxySessionCommand.ts b/clients/client-chime/src/commands/DeleteProxySessionCommand.ts deleted file mode 100644 index 98d681eb7a22..000000000000 --- a/clients/client-chime/src/commands/DeleteProxySessionCommand.ts +++ /dev/null @@ -1,121 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteProxySessionRequest } from "../models/models_0"; -import { de_DeleteProxySessionCommand, se_DeleteProxySessionCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteProxySessionCommand}. - */ -export interface DeleteProxySessionCommandInput extends DeleteProxySessionRequest {} -/** - * @public - * - * The output of {@link DeleteProxySessionCommand}. - */ -export interface DeleteProxySessionCommandOutput extends __MetadataBearer {} - -/** - *

Deletes the specified proxy session from the specified Amazon Chime Voice Connector.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteProxySession, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DeleteProxySession in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DeleteProxySessionCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DeleteProxySessionCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DeleteProxySessionRequest - * VoiceConnectorId: "STRING_VALUE", // required - * ProxySessionId: "STRING_VALUE", // required - * }; - * const command = new DeleteProxySessionCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteProxySessionCommandInput - {@link DeleteProxySessionCommandInput} - * @returns {@link DeleteProxySessionCommandOutput} - * @see {@link DeleteProxySessionCommandInput} for command's `input` shape. - * @see {@link DeleteProxySessionCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DeleteProxySessionCommand extends $Command - .classBuilder< - DeleteProxySessionCommandInput, - DeleteProxySessionCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DeleteProxySession", {}) - .n("ChimeClient", "DeleteProxySessionCommand") - .f(void 0, void 0) - .ser(se_DeleteProxySessionCommand) - .de(de_DeleteProxySessionCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteProxySessionRequest; - output: {}; - }; - sdk: { - input: DeleteProxySessionCommandInput; - output: DeleteProxySessionCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DeleteSipMediaApplicationCommand.ts b/clients/client-chime/src/commands/DeleteSipMediaApplicationCommand.ts deleted file mode 100644 index 5f1a5b7a717e..000000000000 --- a/clients/client-chime/src/commands/DeleteSipMediaApplicationCommand.ts +++ /dev/null @@ -1,124 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteSipMediaApplicationRequest } from "../models/models_0"; -import { de_DeleteSipMediaApplicationCommand, se_DeleteSipMediaApplicationCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteSipMediaApplicationCommand}. - */ -export interface DeleteSipMediaApplicationCommandInput extends DeleteSipMediaApplicationRequest {} -/** - * @public - * - * The output of {@link DeleteSipMediaApplicationCommand}. - */ -export interface DeleteSipMediaApplicationCommandOutput extends __MetadataBearer {} - -/** - *

Deletes a SIP media application.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteSipMediaApplication, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DeleteSipMediaApplication in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DeleteSipMediaApplicationCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DeleteSipMediaApplicationCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DeleteSipMediaApplicationRequest - * SipMediaApplicationId: "STRING_VALUE", // required - * }; - * const command = new DeleteSipMediaApplicationCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteSipMediaApplicationCommandInput - {@link DeleteSipMediaApplicationCommandInput} - * @returns {@link DeleteSipMediaApplicationCommandOutput} - * @see {@link DeleteSipMediaApplicationCommandInput} for command's `input` shape. - * @see {@link DeleteSipMediaApplicationCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ConflictException} (client fault) - *

The request could not be processed because of conflict in the current state of the - * resource.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DeleteSipMediaApplicationCommand extends $Command - .classBuilder< - DeleteSipMediaApplicationCommandInput, - DeleteSipMediaApplicationCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DeleteSipMediaApplication", {}) - .n("ChimeClient", "DeleteSipMediaApplicationCommand") - .f(void 0, void 0) - .ser(se_DeleteSipMediaApplicationCommand) - .de(de_DeleteSipMediaApplicationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteSipMediaApplicationRequest; - output: {}; - }; - sdk: { - input: DeleteSipMediaApplicationCommandInput; - output: DeleteSipMediaApplicationCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DeleteSipRuleCommand.ts b/clients/client-chime/src/commands/DeleteSipRuleCommand.ts deleted file mode 100644 index 0f648aad8f71..000000000000 --- a/clients/client-chime/src/commands/DeleteSipRuleCommand.ts +++ /dev/null @@ -1,124 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteSipRuleRequest } from "../models/models_0"; -import { de_DeleteSipRuleCommand, se_DeleteSipRuleCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteSipRuleCommand}. - */ -export interface DeleteSipRuleCommandInput extends DeleteSipRuleRequest {} -/** - * @public - * - * The output of {@link DeleteSipRuleCommand}. - */ -export interface DeleteSipRuleCommandOutput extends __MetadataBearer {} - -/** - *

Deletes a SIP rule. You must disable a SIP rule before you can delete it.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteSipRule, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DeleteSipRule in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DeleteSipRuleCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DeleteSipRuleCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DeleteSipRuleRequest - * SipRuleId: "STRING_VALUE", // required - * }; - * const command = new DeleteSipRuleCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteSipRuleCommandInput - {@link DeleteSipRuleCommandInput} - * @returns {@link DeleteSipRuleCommandOutput} - * @see {@link DeleteSipRuleCommandInput} for command's `input` shape. - * @see {@link DeleteSipRuleCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ConflictException} (client fault) - *

The request could not be processed because of conflict in the current state of the - * resource.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DeleteSipRuleCommand extends $Command - .classBuilder< - DeleteSipRuleCommandInput, - DeleteSipRuleCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DeleteSipRule", {}) - .n("ChimeClient", "DeleteSipRuleCommand") - .f(void 0, void 0) - .ser(se_DeleteSipRuleCommand) - .de(de_DeleteSipRuleCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteSipRuleRequest; - output: {}; - }; - sdk: { - input: DeleteSipRuleCommandInput; - output: DeleteSipRuleCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DeleteVoiceConnectorCommand.ts b/clients/client-chime/src/commands/DeleteVoiceConnectorCommand.ts deleted file mode 100644 index d116743b37bd..000000000000 --- a/clients/client-chime/src/commands/DeleteVoiceConnectorCommand.ts +++ /dev/null @@ -1,126 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteVoiceConnectorRequest } from "../models/models_0"; -import { de_DeleteVoiceConnectorCommand, se_DeleteVoiceConnectorCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteVoiceConnectorCommand}. - */ -export interface DeleteVoiceConnectorCommandInput extends DeleteVoiceConnectorRequest {} -/** - * @public - * - * The output of {@link DeleteVoiceConnectorCommand}. - */ -export interface DeleteVoiceConnectorCommandOutput extends __MetadataBearer {} - -/** - *

Deletes the specified Amazon Chime Voice Connector. Any phone numbers associated with the - * Amazon Chime Voice Connector must be disassociated from it before it can be - * deleted.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteVoiceConnector, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DeleteVoiceConnector in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DeleteVoiceConnectorCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DeleteVoiceConnectorCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DeleteVoiceConnectorRequest - * VoiceConnectorId: "STRING_VALUE", // required - * }; - * const command = new DeleteVoiceConnectorCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteVoiceConnectorCommandInput - {@link DeleteVoiceConnectorCommandInput} - * @returns {@link DeleteVoiceConnectorCommandOutput} - * @see {@link DeleteVoiceConnectorCommandInput} for command's `input` shape. - * @see {@link DeleteVoiceConnectorCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ConflictException} (client fault) - *

The request could not be processed because of conflict in the current state of the - * resource.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DeleteVoiceConnectorCommand extends $Command - .classBuilder< - DeleteVoiceConnectorCommandInput, - DeleteVoiceConnectorCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DeleteVoiceConnector", {}) - .n("ChimeClient", "DeleteVoiceConnectorCommand") - .f(void 0, void 0) - .ser(se_DeleteVoiceConnectorCommand) - .de(de_DeleteVoiceConnectorCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteVoiceConnectorRequest; - output: {}; - }; - sdk: { - input: DeleteVoiceConnectorCommandInput; - output: DeleteVoiceConnectorCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DeleteVoiceConnectorEmergencyCallingConfigurationCommand.ts b/clients/client-chime/src/commands/DeleteVoiceConnectorEmergencyCallingConfigurationCommand.ts deleted file mode 100644 index 30299bb9a01b..000000000000 --- a/clients/client-chime/src/commands/DeleteVoiceConnectorEmergencyCallingConfigurationCommand.ts +++ /dev/null @@ -1,124 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteVoiceConnectorEmergencyCallingConfigurationRequest } from "../models/models_0"; -import { - de_DeleteVoiceConnectorEmergencyCallingConfigurationCommand, - se_DeleteVoiceConnectorEmergencyCallingConfigurationCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteVoiceConnectorEmergencyCallingConfigurationCommand}. - */ -export interface DeleteVoiceConnectorEmergencyCallingConfigurationCommandInput - extends DeleteVoiceConnectorEmergencyCallingConfigurationRequest {} -/** - * @public - * - * The output of {@link DeleteVoiceConnectorEmergencyCallingConfigurationCommand}. - */ -export interface DeleteVoiceConnectorEmergencyCallingConfigurationCommandOutput extends __MetadataBearer {} - -/** - *

Deletes the emergency calling configuration details from the specified Amazon Chime Voice Connector.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteVoiceConnectorEmergencyCallingConfiguration, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DeleteVoiceConnectorEmergencyCallingConfiguration in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DeleteVoiceConnectorEmergencyCallingConfigurationCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DeleteVoiceConnectorEmergencyCallingConfigurationCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DeleteVoiceConnectorEmergencyCallingConfigurationRequest - * VoiceConnectorId: "STRING_VALUE", // required - * }; - * const command = new DeleteVoiceConnectorEmergencyCallingConfigurationCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteVoiceConnectorEmergencyCallingConfigurationCommandInput - {@link DeleteVoiceConnectorEmergencyCallingConfigurationCommandInput} - * @returns {@link DeleteVoiceConnectorEmergencyCallingConfigurationCommandOutput} - * @see {@link DeleteVoiceConnectorEmergencyCallingConfigurationCommandInput} for command's `input` shape. - * @see {@link DeleteVoiceConnectorEmergencyCallingConfigurationCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DeleteVoiceConnectorEmergencyCallingConfigurationCommand extends $Command - .classBuilder< - DeleteVoiceConnectorEmergencyCallingConfigurationCommandInput, - DeleteVoiceConnectorEmergencyCallingConfigurationCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DeleteVoiceConnectorEmergencyCallingConfiguration", {}) - .n("ChimeClient", "DeleteVoiceConnectorEmergencyCallingConfigurationCommand") - .f(void 0, void 0) - .ser(se_DeleteVoiceConnectorEmergencyCallingConfigurationCommand) - .de(de_DeleteVoiceConnectorEmergencyCallingConfigurationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteVoiceConnectorEmergencyCallingConfigurationRequest; - output: {}; - }; - sdk: { - input: DeleteVoiceConnectorEmergencyCallingConfigurationCommandInput; - output: DeleteVoiceConnectorEmergencyCallingConfigurationCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DeleteVoiceConnectorGroupCommand.ts b/clients/client-chime/src/commands/DeleteVoiceConnectorGroupCommand.ts deleted file mode 100644 index 2f9e3792b6dd..000000000000 --- a/clients/client-chime/src/commands/DeleteVoiceConnectorGroupCommand.ts +++ /dev/null @@ -1,126 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteVoiceConnectorGroupRequest } from "../models/models_0"; -import { de_DeleteVoiceConnectorGroupCommand, se_DeleteVoiceConnectorGroupCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteVoiceConnectorGroupCommand}. - */ -export interface DeleteVoiceConnectorGroupCommandInput extends DeleteVoiceConnectorGroupRequest {} -/** - * @public - * - * The output of {@link DeleteVoiceConnectorGroupCommand}. - */ -export interface DeleteVoiceConnectorGroupCommandOutput extends __MetadataBearer {} - -/** - *

Deletes the specified Amazon Chime Voice Connector group. Any - * VoiceConnectorItems - * and phone numbers associated with the group must be removed before it can be deleted.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteVoiceConnectorGroup, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DeleteVoiceConnectorGroup in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DeleteVoiceConnectorGroupCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DeleteVoiceConnectorGroupCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DeleteVoiceConnectorGroupRequest - * VoiceConnectorGroupId: "STRING_VALUE", // required - * }; - * const command = new DeleteVoiceConnectorGroupCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteVoiceConnectorGroupCommandInput - {@link DeleteVoiceConnectorGroupCommandInput} - * @returns {@link DeleteVoiceConnectorGroupCommandOutput} - * @see {@link DeleteVoiceConnectorGroupCommandInput} for command's `input` shape. - * @see {@link DeleteVoiceConnectorGroupCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ConflictException} (client fault) - *

The request could not be processed because of conflict in the current state of the - * resource.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DeleteVoiceConnectorGroupCommand extends $Command - .classBuilder< - DeleteVoiceConnectorGroupCommandInput, - DeleteVoiceConnectorGroupCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DeleteVoiceConnectorGroup", {}) - .n("ChimeClient", "DeleteVoiceConnectorGroupCommand") - .f(void 0, void 0) - .ser(se_DeleteVoiceConnectorGroupCommand) - .de(de_DeleteVoiceConnectorGroupCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteVoiceConnectorGroupRequest; - output: {}; - }; - sdk: { - input: DeleteVoiceConnectorGroupCommandInput; - output: DeleteVoiceConnectorGroupCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DeleteVoiceConnectorOriginationCommand.ts b/clients/client-chime/src/commands/DeleteVoiceConnectorOriginationCommand.ts deleted file mode 100644 index 83a8edaaff7c..000000000000 --- a/clients/client-chime/src/commands/DeleteVoiceConnectorOriginationCommand.ts +++ /dev/null @@ -1,126 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteVoiceConnectorOriginationRequest } from "../models/models_0"; -import { - de_DeleteVoiceConnectorOriginationCommand, - se_DeleteVoiceConnectorOriginationCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteVoiceConnectorOriginationCommand}. - */ -export interface DeleteVoiceConnectorOriginationCommandInput extends DeleteVoiceConnectorOriginationRequest {} -/** - * @public - * - * The output of {@link DeleteVoiceConnectorOriginationCommand}. - */ -export interface DeleteVoiceConnectorOriginationCommandOutput extends __MetadataBearer {} - -/** - *

Deletes the origination settings for the specified Amazon Chime Voice Connector.

- * - *

If emergency calling is configured for the Amazon Chime Voice Connector, it must be deleted prior to deleting the origination settings.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteVoiceConnectorOrigination, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DeleteVoiceConnectorOrigination in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DeleteVoiceConnectorOriginationCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DeleteVoiceConnectorOriginationCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DeleteVoiceConnectorOriginationRequest - * VoiceConnectorId: "STRING_VALUE", // required - * }; - * const command = new DeleteVoiceConnectorOriginationCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteVoiceConnectorOriginationCommandInput - {@link DeleteVoiceConnectorOriginationCommandInput} - * @returns {@link DeleteVoiceConnectorOriginationCommandOutput} - * @see {@link DeleteVoiceConnectorOriginationCommandInput} for command's `input` shape. - * @see {@link DeleteVoiceConnectorOriginationCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DeleteVoiceConnectorOriginationCommand extends $Command - .classBuilder< - DeleteVoiceConnectorOriginationCommandInput, - DeleteVoiceConnectorOriginationCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DeleteVoiceConnectorOrigination", {}) - .n("ChimeClient", "DeleteVoiceConnectorOriginationCommand") - .f(void 0, void 0) - .ser(se_DeleteVoiceConnectorOriginationCommand) - .de(de_DeleteVoiceConnectorOriginationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteVoiceConnectorOriginationRequest; - output: {}; - }; - sdk: { - input: DeleteVoiceConnectorOriginationCommandInput; - output: DeleteVoiceConnectorOriginationCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DeleteVoiceConnectorProxyCommand.ts b/clients/client-chime/src/commands/DeleteVoiceConnectorProxyCommand.ts deleted file mode 100644 index c4c60756dd97..000000000000 --- a/clients/client-chime/src/commands/DeleteVoiceConnectorProxyCommand.ts +++ /dev/null @@ -1,120 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteVoiceConnectorProxyRequest } from "../models/models_0"; -import { de_DeleteVoiceConnectorProxyCommand, se_DeleteVoiceConnectorProxyCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteVoiceConnectorProxyCommand}. - */ -export interface DeleteVoiceConnectorProxyCommandInput extends DeleteVoiceConnectorProxyRequest {} -/** - * @public - * - * The output of {@link DeleteVoiceConnectorProxyCommand}. - */ -export interface DeleteVoiceConnectorProxyCommandOutput extends __MetadataBearer {} - -/** - *

Deletes the proxy configuration from the specified Amazon Chime Voice Connector.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteVoiceProxy, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DeleteVoiceConnectorProxy in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DeleteVoiceConnectorProxyCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DeleteVoiceConnectorProxyCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DeleteVoiceConnectorProxyRequest - * VoiceConnectorId: "STRING_VALUE", // required - * }; - * const command = new DeleteVoiceConnectorProxyCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteVoiceConnectorProxyCommandInput - {@link DeleteVoiceConnectorProxyCommandInput} - * @returns {@link DeleteVoiceConnectorProxyCommandOutput} - * @see {@link DeleteVoiceConnectorProxyCommandInput} for command's `input` shape. - * @see {@link DeleteVoiceConnectorProxyCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DeleteVoiceConnectorProxyCommand extends $Command - .classBuilder< - DeleteVoiceConnectorProxyCommandInput, - DeleteVoiceConnectorProxyCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DeleteVoiceConnectorProxy", {}) - .n("ChimeClient", "DeleteVoiceConnectorProxyCommand") - .f(void 0, void 0) - .ser(se_DeleteVoiceConnectorProxyCommand) - .de(de_DeleteVoiceConnectorProxyCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteVoiceConnectorProxyRequest; - output: {}; - }; - sdk: { - input: DeleteVoiceConnectorProxyCommandInput; - output: DeleteVoiceConnectorProxyCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DeleteVoiceConnectorStreamingConfigurationCommand.ts b/clients/client-chime/src/commands/DeleteVoiceConnectorStreamingConfigurationCommand.ts deleted file mode 100644 index 97152ad9a2f7..000000000000 --- a/clients/client-chime/src/commands/DeleteVoiceConnectorStreamingConfigurationCommand.ts +++ /dev/null @@ -1,124 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteVoiceConnectorStreamingConfigurationRequest } from "../models/models_0"; -import { - de_DeleteVoiceConnectorStreamingConfigurationCommand, - se_DeleteVoiceConnectorStreamingConfigurationCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteVoiceConnectorStreamingConfigurationCommand}. - */ -export interface DeleteVoiceConnectorStreamingConfigurationCommandInput - extends DeleteVoiceConnectorStreamingConfigurationRequest {} -/** - * @public - * - * The output of {@link DeleteVoiceConnectorStreamingConfigurationCommand}. - */ -export interface DeleteVoiceConnectorStreamingConfigurationCommandOutput extends __MetadataBearer {} - -/** - *

Deletes the streaming configuration for the specified Amazon Chime Voice Connector.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteVoiceConnectorStreamingConfiguration, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DeleteVoiceConnectorStreamingConfiguration in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DeleteVoiceConnectorStreamingConfigurationCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DeleteVoiceConnectorStreamingConfigurationCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DeleteVoiceConnectorStreamingConfigurationRequest - * VoiceConnectorId: "STRING_VALUE", // required - * }; - * const command = new DeleteVoiceConnectorStreamingConfigurationCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteVoiceConnectorStreamingConfigurationCommandInput - {@link DeleteVoiceConnectorStreamingConfigurationCommandInput} - * @returns {@link DeleteVoiceConnectorStreamingConfigurationCommandOutput} - * @see {@link DeleteVoiceConnectorStreamingConfigurationCommandInput} for command's `input` shape. - * @see {@link DeleteVoiceConnectorStreamingConfigurationCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DeleteVoiceConnectorStreamingConfigurationCommand extends $Command - .classBuilder< - DeleteVoiceConnectorStreamingConfigurationCommandInput, - DeleteVoiceConnectorStreamingConfigurationCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DeleteVoiceConnectorStreamingConfiguration", {}) - .n("ChimeClient", "DeleteVoiceConnectorStreamingConfigurationCommand") - .f(void 0, void 0) - .ser(se_DeleteVoiceConnectorStreamingConfigurationCommand) - .de(de_DeleteVoiceConnectorStreamingConfigurationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteVoiceConnectorStreamingConfigurationRequest; - output: {}; - }; - sdk: { - input: DeleteVoiceConnectorStreamingConfigurationCommandInput; - output: DeleteVoiceConnectorStreamingConfigurationCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DeleteVoiceConnectorTerminationCommand.ts b/clients/client-chime/src/commands/DeleteVoiceConnectorTerminationCommand.ts deleted file mode 100644 index ac787ef1810c..000000000000 --- a/clients/client-chime/src/commands/DeleteVoiceConnectorTerminationCommand.ts +++ /dev/null @@ -1,126 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteVoiceConnectorTerminationRequest } from "../models/models_0"; -import { - de_DeleteVoiceConnectorTerminationCommand, - se_DeleteVoiceConnectorTerminationCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteVoiceConnectorTerminationCommand}. - */ -export interface DeleteVoiceConnectorTerminationCommandInput extends DeleteVoiceConnectorTerminationRequest {} -/** - * @public - * - * The output of {@link DeleteVoiceConnectorTerminationCommand}. - */ -export interface DeleteVoiceConnectorTerminationCommandOutput extends __MetadataBearer {} - -/** - *

Deletes the termination settings for the specified Amazon Chime Voice Connector.

- * - *

If emergency calling is configured for the Amazon Chime Voice Connector, it must be deleted prior to deleting the termination settings.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteVoiceConnectorTermination, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DeleteVoiceConnectorTermination in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DeleteVoiceConnectorTerminationCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DeleteVoiceConnectorTerminationCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DeleteVoiceConnectorTerminationRequest - * VoiceConnectorId: "STRING_VALUE", // required - * }; - * const command = new DeleteVoiceConnectorTerminationCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteVoiceConnectorTerminationCommandInput - {@link DeleteVoiceConnectorTerminationCommandInput} - * @returns {@link DeleteVoiceConnectorTerminationCommandOutput} - * @see {@link DeleteVoiceConnectorTerminationCommandInput} for command's `input` shape. - * @see {@link DeleteVoiceConnectorTerminationCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DeleteVoiceConnectorTerminationCommand extends $Command - .classBuilder< - DeleteVoiceConnectorTerminationCommandInput, - DeleteVoiceConnectorTerminationCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DeleteVoiceConnectorTermination", {}) - .n("ChimeClient", "DeleteVoiceConnectorTerminationCommand") - .f(void 0, void 0) - .ser(se_DeleteVoiceConnectorTerminationCommand) - .de(de_DeleteVoiceConnectorTerminationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteVoiceConnectorTerminationRequest; - output: {}; - }; - sdk: { - input: DeleteVoiceConnectorTerminationCommandInput; - output: DeleteVoiceConnectorTerminationCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DeleteVoiceConnectorTerminationCredentialsCommand.ts b/clients/client-chime/src/commands/DeleteVoiceConnectorTerminationCredentialsCommand.ts deleted file mode 100644 index f3a1c7857c56..000000000000 --- a/clients/client-chime/src/commands/DeleteVoiceConnectorTerminationCredentialsCommand.ts +++ /dev/null @@ -1,130 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - DeleteVoiceConnectorTerminationCredentialsRequest, - DeleteVoiceConnectorTerminationCredentialsRequestFilterSensitiveLog, -} from "../models/models_0"; -import { - de_DeleteVoiceConnectorTerminationCredentialsCommand, - se_DeleteVoiceConnectorTerminationCredentialsCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteVoiceConnectorTerminationCredentialsCommand}. - */ -export interface DeleteVoiceConnectorTerminationCredentialsCommandInput - extends DeleteVoiceConnectorTerminationCredentialsRequest {} -/** - * @public - * - * The output of {@link DeleteVoiceConnectorTerminationCredentialsCommand}. - */ -export interface DeleteVoiceConnectorTerminationCredentialsCommandOutput extends __MetadataBearer {} - -/** - *

Deletes the specified SIP credentials used by your equipment to authenticate during call termination.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteVoiceConnectorTerminationCredentials, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DeleteVoiceConnectorTerminationCredentials in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DeleteVoiceConnectorTerminationCredentialsCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DeleteVoiceConnectorTerminationCredentialsCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DeleteVoiceConnectorTerminationCredentialsRequest - * VoiceConnectorId: "STRING_VALUE", // required - * Usernames: [ // SensitiveStringList // required - * "STRING_VALUE", - * ], - * }; - * const command = new DeleteVoiceConnectorTerminationCredentialsCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteVoiceConnectorTerminationCredentialsCommandInput - {@link DeleteVoiceConnectorTerminationCredentialsCommandInput} - * @returns {@link DeleteVoiceConnectorTerminationCredentialsCommandOutput} - * @see {@link DeleteVoiceConnectorTerminationCredentialsCommandInput} for command's `input` shape. - * @see {@link DeleteVoiceConnectorTerminationCredentialsCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DeleteVoiceConnectorTerminationCredentialsCommand extends $Command - .classBuilder< - DeleteVoiceConnectorTerminationCredentialsCommandInput, - DeleteVoiceConnectorTerminationCredentialsCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DeleteVoiceConnectorTerminationCredentials", {}) - .n("ChimeClient", "DeleteVoiceConnectorTerminationCredentialsCommand") - .f(DeleteVoiceConnectorTerminationCredentialsRequestFilterSensitiveLog, void 0) - .ser(se_DeleteVoiceConnectorTerminationCredentialsCommand) - .de(de_DeleteVoiceConnectorTerminationCredentialsCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteVoiceConnectorTerminationCredentialsRequest; - output: {}; - }; - sdk: { - input: DeleteVoiceConnectorTerminationCredentialsCommandInput; - output: DeleteVoiceConnectorTerminationCredentialsCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DescribeAppInstanceAdminCommand.ts b/clients/client-chime/src/commands/DescribeAppInstanceAdminCommand.ts deleted file mode 100644 index 1b512e1dceb8..000000000000 --- a/clients/client-chime/src/commands/DescribeAppInstanceAdminCommand.ts +++ /dev/null @@ -1,131 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - DescribeAppInstanceAdminRequest, - DescribeAppInstanceAdminResponse, - DescribeAppInstanceAdminResponseFilterSensitiveLog, -} from "../models/models_0"; -import { de_DescribeAppInstanceAdminCommand, se_DescribeAppInstanceAdminCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DescribeAppInstanceAdminCommand}. - */ -export interface DescribeAppInstanceAdminCommandInput extends DescribeAppInstanceAdminRequest {} -/** - * @public - * - * The output of {@link DescribeAppInstanceAdminCommand}. - */ -export interface DescribeAppInstanceAdminCommandOutput extends DescribeAppInstanceAdminResponse, __MetadataBearer {} - -/** - *

Returns the full details of an AppInstanceAdmin.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DescribeAppInstanceAdmin, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DescribeAppInstanceAdmin in the Amazon Chime SDK Identity Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DescribeAppInstanceAdminCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DescribeAppInstanceAdminCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DescribeAppInstanceAdminRequest - * AppInstanceAdminArn: "STRING_VALUE", // required - * AppInstanceArn: "STRING_VALUE", // required - * }; - * const command = new DescribeAppInstanceAdminCommand(input); - * const response = await client.send(command); - * // { // DescribeAppInstanceAdminResponse - * // AppInstanceAdmin: { // AppInstanceAdmin - * // Admin: { // Identity - * // Arn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // }, - * // AppInstanceArn: "STRING_VALUE", - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // }, - * // }; - * - * ``` - * - * @param DescribeAppInstanceAdminCommandInput - {@link DescribeAppInstanceAdminCommandInput} - * @returns {@link DescribeAppInstanceAdminCommandOutput} - * @see {@link DescribeAppInstanceAdminCommandInput} for command's `input` shape. - * @see {@link DescribeAppInstanceAdminCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DescribeAppInstanceAdminCommand extends $Command - .classBuilder< - DescribeAppInstanceAdminCommandInput, - DescribeAppInstanceAdminCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DescribeAppInstanceAdmin", {}) - .n("ChimeClient", "DescribeAppInstanceAdminCommand") - .f(void 0, DescribeAppInstanceAdminResponseFilterSensitiveLog) - .ser(se_DescribeAppInstanceAdminCommand) - .de(de_DescribeAppInstanceAdminCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DescribeAppInstanceAdminRequest; - output: DescribeAppInstanceAdminResponse; - }; - sdk: { - input: DescribeAppInstanceAdminCommandInput; - output: DescribeAppInstanceAdminCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DescribeAppInstanceCommand.ts b/clients/client-chime/src/commands/DescribeAppInstanceCommand.ts deleted file mode 100644 index 6882e28f2c63..000000000000 --- a/clients/client-chime/src/commands/DescribeAppInstanceCommand.ts +++ /dev/null @@ -1,129 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - DescribeAppInstanceRequest, - DescribeAppInstanceResponse, - DescribeAppInstanceResponseFilterSensitiveLog, -} from "../models/models_0"; -import { de_DescribeAppInstanceCommand, se_DescribeAppInstanceCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DescribeAppInstanceCommand}. - */ -export interface DescribeAppInstanceCommandInput extends DescribeAppInstanceRequest {} -/** - * @public - * - * The output of {@link DescribeAppInstanceCommand}. - */ -export interface DescribeAppInstanceCommandOutput extends DescribeAppInstanceResponse, __MetadataBearer {} - -/** - *

Returns the full details of an AppInstance.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DescribeAppInstance, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DescribeAppInstance in the Amazon Chime SDK Identity Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DescribeAppInstanceCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DescribeAppInstanceCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DescribeAppInstanceRequest - * AppInstanceArn: "STRING_VALUE", // required - * }; - * const command = new DescribeAppInstanceCommand(input); - * const response = await client.send(command); - * // { // DescribeAppInstanceResponse - * // AppInstance: { // AppInstance - * // AppInstanceArn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // Metadata: "STRING_VALUE", - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // LastUpdatedTimestamp: new Date("TIMESTAMP"), - * // }, - * // }; - * - * ``` - * - * @param DescribeAppInstanceCommandInput - {@link DescribeAppInstanceCommandInput} - * @returns {@link DescribeAppInstanceCommandOutput} - * @see {@link DescribeAppInstanceCommandInput} for command's `input` shape. - * @see {@link DescribeAppInstanceCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DescribeAppInstanceCommand extends $Command - .classBuilder< - DescribeAppInstanceCommandInput, - DescribeAppInstanceCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DescribeAppInstance", {}) - .n("ChimeClient", "DescribeAppInstanceCommand") - .f(void 0, DescribeAppInstanceResponseFilterSensitiveLog) - .ser(se_DescribeAppInstanceCommand) - .de(de_DescribeAppInstanceCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DescribeAppInstanceRequest; - output: DescribeAppInstanceResponse; - }; - sdk: { - input: DescribeAppInstanceCommandInput; - output: DescribeAppInstanceCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DescribeAppInstanceUserCommand.ts b/clients/client-chime/src/commands/DescribeAppInstanceUserCommand.ts deleted file mode 100644 index f60cada3e6fd..000000000000 --- a/clients/client-chime/src/commands/DescribeAppInstanceUserCommand.ts +++ /dev/null @@ -1,129 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - DescribeAppInstanceUserRequest, - DescribeAppInstanceUserResponse, - DescribeAppInstanceUserResponseFilterSensitiveLog, -} from "../models/models_0"; -import { de_DescribeAppInstanceUserCommand, se_DescribeAppInstanceUserCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DescribeAppInstanceUserCommand}. - */ -export interface DescribeAppInstanceUserCommandInput extends DescribeAppInstanceUserRequest {} -/** - * @public - * - * The output of {@link DescribeAppInstanceUserCommand}. - */ -export interface DescribeAppInstanceUserCommandOutput extends DescribeAppInstanceUserResponse, __MetadataBearer {} - -/** - *

Returns the full details of an AppInstanceUser.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DescribeAppInstanceUser, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DescribeAppInstanceUser in the Amazon Chime SDK Identity Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DescribeAppInstanceUserCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DescribeAppInstanceUserCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DescribeAppInstanceUserRequest - * AppInstanceUserArn: "STRING_VALUE", // required - * }; - * const command = new DescribeAppInstanceUserCommand(input); - * const response = await client.send(command); - * // { // DescribeAppInstanceUserResponse - * // AppInstanceUser: { // AppInstanceUser - * // AppInstanceUserArn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // Metadata: "STRING_VALUE", - * // LastUpdatedTimestamp: new Date("TIMESTAMP"), - * // }, - * // }; - * - * ``` - * - * @param DescribeAppInstanceUserCommandInput - {@link DescribeAppInstanceUserCommandInput} - * @returns {@link DescribeAppInstanceUserCommandOutput} - * @see {@link DescribeAppInstanceUserCommandInput} for command's `input` shape. - * @see {@link DescribeAppInstanceUserCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DescribeAppInstanceUserCommand extends $Command - .classBuilder< - DescribeAppInstanceUserCommandInput, - DescribeAppInstanceUserCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DescribeAppInstanceUser", {}) - .n("ChimeClient", "DescribeAppInstanceUserCommand") - .f(void 0, DescribeAppInstanceUserResponseFilterSensitiveLog) - .ser(se_DescribeAppInstanceUserCommand) - .de(de_DescribeAppInstanceUserCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DescribeAppInstanceUserRequest; - output: DescribeAppInstanceUserResponse; - }; - sdk: { - input: DescribeAppInstanceUserCommandInput; - output: DescribeAppInstanceUserCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DescribeChannelBanCommand.ts b/clients/client-chime/src/commands/DescribeChannelBanCommand.ts deleted file mode 100644 index 86be942c730d..000000000000 --- a/clients/client-chime/src/commands/DescribeChannelBanCommand.ts +++ /dev/null @@ -1,144 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - DescribeChannelBanRequest, - DescribeChannelBanResponse, - DescribeChannelBanResponseFilterSensitiveLog, -} from "../models/models_0"; -import { de_DescribeChannelBanCommand, se_DescribeChannelBanCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DescribeChannelBanCommand}. - */ -export interface DescribeChannelBanCommandInput extends DescribeChannelBanRequest {} -/** - * @public - * - * The output of {@link DescribeChannelBanCommand}. - */ -export interface DescribeChannelBanCommandOutput extends DescribeChannelBanResponse, __MetadataBearer {} - -/** - *

Returns the full details of a channel ban.

- * - *

The x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DescribeChannelBan, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DescribeChannelBan in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DescribeChannelBanCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DescribeChannelBanCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DescribeChannelBanRequest - * ChannelArn: "STRING_VALUE", // required - * MemberArn: "STRING_VALUE", // required - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new DescribeChannelBanCommand(input); - * const response = await client.send(command); - * // { // DescribeChannelBanResponse - * // ChannelBan: { // ChannelBan - * // Member: { // Identity - * // Arn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // }, - * // ChannelArn: "STRING_VALUE", - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // CreatedBy: { - * // Arn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // }, - * // }, - * // }; - * - * ``` - * - * @param DescribeChannelBanCommandInput - {@link DescribeChannelBanCommandInput} - * @returns {@link DescribeChannelBanCommandOutput} - * @see {@link DescribeChannelBanCommandInput} for command's `input` shape. - * @see {@link DescribeChannelBanCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DescribeChannelBanCommand extends $Command - .classBuilder< - DescribeChannelBanCommandInput, - DescribeChannelBanCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DescribeChannelBan", {}) - .n("ChimeClient", "DescribeChannelBanCommand") - .f(void 0, DescribeChannelBanResponseFilterSensitiveLog) - .ser(se_DescribeChannelBanCommand) - .de(de_DescribeChannelBanCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DescribeChannelBanRequest; - output: DescribeChannelBanResponse; - }; - sdk: { - input: DescribeChannelBanCommandInput; - output: DescribeChannelBanCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DescribeChannelCommand.ts b/clients/client-chime/src/commands/DescribeChannelCommand.ts deleted file mode 100644 index e3ef793aa34b..000000000000 --- a/clients/client-chime/src/commands/DescribeChannelCommand.ts +++ /dev/null @@ -1,143 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - DescribeChannelRequest, - DescribeChannelResponse, - DescribeChannelResponseFilterSensitiveLog, -} from "../models/models_0"; -import { de_DescribeChannelCommand, se_DescribeChannelCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DescribeChannelCommand}. - */ -export interface DescribeChannelCommandInput extends DescribeChannelRequest {} -/** - * @public - * - * The output of {@link DescribeChannelCommand}. - */ -export interface DescribeChannelCommandOutput extends DescribeChannelResponse, __MetadataBearer {} - -/** - *

Returns the full details of a channel in an Amazon Chime - * AppInstance.

- * - *

The x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DescribeChannel, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DescribeChannel in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DescribeChannelCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DescribeChannelCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DescribeChannelRequest - * ChannelArn: "STRING_VALUE", // required - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new DescribeChannelCommand(input); - * const response = await client.send(command); - * // { // DescribeChannelResponse - * // Channel: { // Channel - * // Name: "STRING_VALUE", - * // ChannelArn: "STRING_VALUE", - * // Mode: "UNRESTRICTED" || "RESTRICTED", - * // Privacy: "PUBLIC" || "PRIVATE", - * // Metadata: "STRING_VALUE", - * // CreatedBy: { // Identity - * // Arn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // }, - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // LastMessageTimestamp: new Date("TIMESTAMP"), - * // LastUpdatedTimestamp: new Date("TIMESTAMP"), - * // }, - * // }; - * - * ``` - * - * @param DescribeChannelCommandInput - {@link DescribeChannelCommandInput} - * @returns {@link DescribeChannelCommandOutput} - * @see {@link DescribeChannelCommandInput} for command's `input` shape. - * @see {@link DescribeChannelCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DescribeChannelCommand extends $Command - .classBuilder< - DescribeChannelCommandInput, - DescribeChannelCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DescribeChannel", {}) - .n("ChimeClient", "DescribeChannelCommand") - .f(void 0, DescribeChannelResponseFilterSensitiveLog) - .ser(se_DescribeChannelCommand) - .de(de_DescribeChannelCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DescribeChannelRequest; - output: DescribeChannelResponse; - }; - sdk: { - input: DescribeChannelCommandInput; - output: DescribeChannelCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DescribeChannelMembershipCommand.ts b/clients/client-chime/src/commands/DescribeChannelMembershipCommand.ts deleted file mode 100644 index 1fbb0105ffcb..000000000000 --- a/clients/client-chime/src/commands/DescribeChannelMembershipCommand.ts +++ /dev/null @@ -1,146 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - DescribeChannelMembershipRequest, - DescribeChannelMembershipResponse, - DescribeChannelMembershipResponseFilterSensitiveLog, -} from "../models/models_0"; -import { de_DescribeChannelMembershipCommand, se_DescribeChannelMembershipCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DescribeChannelMembershipCommand}. - */ -export interface DescribeChannelMembershipCommandInput extends DescribeChannelMembershipRequest {} -/** - * @public - * - * The output of {@link DescribeChannelMembershipCommand}. - */ -export interface DescribeChannelMembershipCommandOutput extends DescribeChannelMembershipResponse, __MetadataBearer {} - -/** - *

Returns the full details of a user's channel membership.

- * - *

The x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DescribeChannelMembership, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DescribeChannelMembership in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DescribeChannelMembershipCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DescribeChannelMembershipCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DescribeChannelMembershipRequest - * ChannelArn: "STRING_VALUE", // required - * MemberArn: "STRING_VALUE", // required - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new DescribeChannelMembershipCommand(input); - * const response = await client.send(command); - * // { // DescribeChannelMembershipResponse - * // ChannelMembership: { // ChannelMembership - * // InvitedBy: { // Identity - * // Arn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // }, - * // Type: "DEFAULT" || "HIDDEN", - * // Member: { - * // Arn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // }, - * // ChannelArn: "STRING_VALUE", - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // LastUpdatedTimestamp: new Date("TIMESTAMP"), - * // }, - * // }; - * - * ``` - * - * @param DescribeChannelMembershipCommandInput - {@link DescribeChannelMembershipCommandInput} - * @returns {@link DescribeChannelMembershipCommandOutput} - * @see {@link DescribeChannelMembershipCommandInput} for command's `input` shape. - * @see {@link DescribeChannelMembershipCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DescribeChannelMembershipCommand extends $Command - .classBuilder< - DescribeChannelMembershipCommandInput, - DescribeChannelMembershipCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DescribeChannelMembership", {}) - .n("ChimeClient", "DescribeChannelMembershipCommand") - .f(void 0, DescribeChannelMembershipResponseFilterSensitiveLog) - .ser(se_DescribeChannelMembershipCommand) - .de(de_DescribeChannelMembershipCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DescribeChannelMembershipRequest; - output: DescribeChannelMembershipResponse; - }; - sdk: { - input: DescribeChannelMembershipCommandInput; - output: DescribeChannelMembershipCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DescribeChannelMembershipForAppInstanceUserCommand.ts b/clients/client-chime/src/commands/DescribeChannelMembershipForAppInstanceUserCommand.ts deleted file mode 100644 index a9a6a2f5e9e1..000000000000 --- a/clients/client-chime/src/commands/DescribeChannelMembershipForAppInstanceUserCommand.ts +++ /dev/null @@ -1,150 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - DescribeChannelMembershipForAppInstanceUserRequest, - DescribeChannelMembershipForAppInstanceUserResponse, - DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog, -} from "../models/models_0"; -import { - de_DescribeChannelMembershipForAppInstanceUserCommand, - se_DescribeChannelMembershipForAppInstanceUserCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DescribeChannelMembershipForAppInstanceUserCommand}. - */ -export interface DescribeChannelMembershipForAppInstanceUserCommandInput - extends DescribeChannelMembershipForAppInstanceUserRequest {} -/** - * @public - * - * The output of {@link DescribeChannelMembershipForAppInstanceUserCommand}. - */ -export interface DescribeChannelMembershipForAppInstanceUserCommandOutput - extends DescribeChannelMembershipForAppInstanceUserResponse, - __MetadataBearer {} - -/** - *

Returns the details of a channel based on the membership of the specified - * AppInstanceUser.

- * - *

The x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DescribeChannelMembershipForAppInstanceUser, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DescribeChannelMembershipForAppInstanceUser in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DescribeChannelMembershipForAppInstanceUserCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DescribeChannelMembershipForAppInstanceUserCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DescribeChannelMembershipForAppInstanceUserRequest - * ChannelArn: "STRING_VALUE", // required - * AppInstanceUserArn: "STRING_VALUE", // required - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new DescribeChannelMembershipForAppInstanceUserCommand(input); - * const response = await client.send(command); - * // { // DescribeChannelMembershipForAppInstanceUserResponse - * // ChannelMembership: { // ChannelMembershipForAppInstanceUserSummary - * // ChannelSummary: { // ChannelSummary - * // Name: "STRING_VALUE", - * // ChannelArn: "STRING_VALUE", - * // Mode: "UNRESTRICTED" || "RESTRICTED", - * // Privacy: "PUBLIC" || "PRIVATE", - * // Metadata: "STRING_VALUE", - * // LastMessageTimestamp: new Date("TIMESTAMP"), - * // }, - * // AppInstanceUserMembershipSummary: { // AppInstanceUserMembershipSummary - * // Type: "DEFAULT" || "HIDDEN", - * // ReadMarkerTimestamp: new Date("TIMESTAMP"), - * // }, - * // }, - * // }; - * - * ``` - * - * @param DescribeChannelMembershipForAppInstanceUserCommandInput - {@link DescribeChannelMembershipForAppInstanceUserCommandInput} - * @returns {@link DescribeChannelMembershipForAppInstanceUserCommandOutput} - * @see {@link DescribeChannelMembershipForAppInstanceUserCommandInput} for command's `input` shape. - * @see {@link DescribeChannelMembershipForAppInstanceUserCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DescribeChannelMembershipForAppInstanceUserCommand extends $Command - .classBuilder< - DescribeChannelMembershipForAppInstanceUserCommandInput, - DescribeChannelMembershipForAppInstanceUserCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DescribeChannelMembershipForAppInstanceUser", {}) - .n("ChimeClient", "DescribeChannelMembershipForAppInstanceUserCommand") - .f(void 0, DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog) - .ser(se_DescribeChannelMembershipForAppInstanceUserCommand) - .de(de_DescribeChannelMembershipForAppInstanceUserCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DescribeChannelMembershipForAppInstanceUserRequest; - output: DescribeChannelMembershipForAppInstanceUserResponse; - }; - sdk: { - input: DescribeChannelMembershipForAppInstanceUserCommandInput; - output: DescribeChannelMembershipForAppInstanceUserCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DescribeChannelModeratedByAppInstanceUserCommand.ts b/clients/client-chime/src/commands/DescribeChannelModeratedByAppInstanceUserCommand.ts deleted file mode 100644 index 5978f01a911b..000000000000 --- a/clients/client-chime/src/commands/DescribeChannelModeratedByAppInstanceUserCommand.ts +++ /dev/null @@ -1,146 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - DescribeChannelModeratedByAppInstanceUserRequest, - DescribeChannelModeratedByAppInstanceUserResponse, - DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog, -} from "../models/models_0"; -import { - de_DescribeChannelModeratedByAppInstanceUserCommand, - se_DescribeChannelModeratedByAppInstanceUserCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DescribeChannelModeratedByAppInstanceUserCommand}. - */ -export interface DescribeChannelModeratedByAppInstanceUserCommandInput - extends DescribeChannelModeratedByAppInstanceUserRequest {} -/** - * @public - * - * The output of {@link DescribeChannelModeratedByAppInstanceUserCommand}. - */ -export interface DescribeChannelModeratedByAppInstanceUserCommandOutput - extends DescribeChannelModeratedByAppInstanceUserResponse, - __MetadataBearer {} - -/** - *

Returns the full details of a channel moderated by the specified - * AppInstanceUser.

- * - *

The x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DescribeChannelModeratedByAppInstanceUser, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DescribeChannelModeratedByAppInstanceUser in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DescribeChannelModeratedByAppInstanceUserCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DescribeChannelModeratedByAppInstanceUserCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DescribeChannelModeratedByAppInstanceUserRequest - * ChannelArn: "STRING_VALUE", // required - * AppInstanceUserArn: "STRING_VALUE", // required - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new DescribeChannelModeratedByAppInstanceUserCommand(input); - * const response = await client.send(command); - * // { // DescribeChannelModeratedByAppInstanceUserResponse - * // Channel: { // ChannelModeratedByAppInstanceUserSummary - * // ChannelSummary: { // ChannelSummary - * // Name: "STRING_VALUE", - * // ChannelArn: "STRING_VALUE", - * // Mode: "UNRESTRICTED" || "RESTRICTED", - * // Privacy: "PUBLIC" || "PRIVATE", - * // Metadata: "STRING_VALUE", - * // LastMessageTimestamp: new Date("TIMESTAMP"), - * // }, - * // }, - * // }; - * - * ``` - * - * @param DescribeChannelModeratedByAppInstanceUserCommandInput - {@link DescribeChannelModeratedByAppInstanceUserCommandInput} - * @returns {@link DescribeChannelModeratedByAppInstanceUserCommandOutput} - * @see {@link DescribeChannelModeratedByAppInstanceUserCommandInput} for command's `input` shape. - * @see {@link DescribeChannelModeratedByAppInstanceUserCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DescribeChannelModeratedByAppInstanceUserCommand extends $Command - .classBuilder< - DescribeChannelModeratedByAppInstanceUserCommandInput, - DescribeChannelModeratedByAppInstanceUserCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DescribeChannelModeratedByAppInstanceUser", {}) - .n("ChimeClient", "DescribeChannelModeratedByAppInstanceUserCommand") - .f(void 0, DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog) - .ser(se_DescribeChannelModeratedByAppInstanceUserCommand) - .de(de_DescribeChannelModeratedByAppInstanceUserCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DescribeChannelModeratedByAppInstanceUserRequest; - output: DescribeChannelModeratedByAppInstanceUserResponse; - }; - sdk: { - input: DescribeChannelModeratedByAppInstanceUserCommandInput; - output: DescribeChannelModeratedByAppInstanceUserCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DescribeChannelModeratorCommand.ts b/clients/client-chime/src/commands/DescribeChannelModeratorCommand.ts deleted file mode 100644 index d0a53471c0c7..000000000000 --- a/clients/client-chime/src/commands/DescribeChannelModeratorCommand.ts +++ /dev/null @@ -1,144 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - DescribeChannelModeratorRequest, - DescribeChannelModeratorResponse, - DescribeChannelModeratorResponseFilterSensitiveLog, -} from "../models/models_0"; -import { de_DescribeChannelModeratorCommand, se_DescribeChannelModeratorCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DescribeChannelModeratorCommand}. - */ -export interface DescribeChannelModeratorCommandInput extends DescribeChannelModeratorRequest {} -/** - * @public - * - * The output of {@link DescribeChannelModeratorCommand}. - */ -export interface DescribeChannelModeratorCommandOutput extends DescribeChannelModeratorResponse, __MetadataBearer {} - -/** - *

Returns the full details of a single ChannelModerator.

- * - *

The x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DescribeChannelModerator, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DescribeChannelModerator in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DescribeChannelModeratorCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DescribeChannelModeratorCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DescribeChannelModeratorRequest - * ChannelArn: "STRING_VALUE", // required - * ChannelModeratorArn: "STRING_VALUE", // required - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new DescribeChannelModeratorCommand(input); - * const response = await client.send(command); - * // { // DescribeChannelModeratorResponse - * // ChannelModerator: { // ChannelModerator - * // Moderator: { // Identity - * // Arn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // }, - * // ChannelArn: "STRING_VALUE", - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // CreatedBy: { - * // Arn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // }, - * // }, - * // }; - * - * ``` - * - * @param DescribeChannelModeratorCommandInput - {@link DescribeChannelModeratorCommandInput} - * @returns {@link DescribeChannelModeratorCommandOutput} - * @see {@link DescribeChannelModeratorCommandInput} for command's `input` shape. - * @see {@link DescribeChannelModeratorCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DescribeChannelModeratorCommand extends $Command - .classBuilder< - DescribeChannelModeratorCommandInput, - DescribeChannelModeratorCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DescribeChannelModerator", {}) - .n("ChimeClient", "DescribeChannelModeratorCommand") - .f(void 0, DescribeChannelModeratorResponseFilterSensitiveLog) - .ser(se_DescribeChannelModeratorCommand) - .de(de_DescribeChannelModeratorCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DescribeChannelModeratorRequest; - output: DescribeChannelModeratorResponse; - }; - sdk: { - input: DescribeChannelModeratorCommandInput; - output: DescribeChannelModeratorCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DisassociatePhoneNumbersFromVoiceConnectorCommand.ts b/clients/client-chime/src/commands/DisassociatePhoneNumbersFromVoiceConnectorCommand.ts deleted file mode 100644 index 666e30270b21..000000000000 --- a/clients/client-chime/src/commands/DisassociatePhoneNumbersFromVoiceConnectorCommand.ts +++ /dev/null @@ -1,141 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - DisassociatePhoneNumbersFromVoiceConnectorRequest, - DisassociatePhoneNumbersFromVoiceConnectorRequestFilterSensitiveLog, - DisassociatePhoneNumbersFromVoiceConnectorResponse, -} from "../models/models_0"; -import { - de_DisassociatePhoneNumbersFromVoiceConnectorCommand, - se_DisassociatePhoneNumbersFromVoiceConnectorCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DisassociatePhoneNumbersFromVoiceConnectorCommand}. - */ -export interface DisassociatePhoneNumbersFromVoiceConnectorCommandInput - extends DisassociatePhoneNumbersFromVoiceConnectorRequest {} -/** - * @public - * - * The output of {@link DisassociatePhoneNumbersFromVoiceConnectorCommand}. - */ -export interface DisassociatePhoneNumbersFromVoiceConnectorCommandOutput - extends DisassociatePhoneNumbersFromVoiceConnectorResponse, - __MetadataBearer {} - -/** - *

Disassociates the specified phone numbers from the specified Amazon Chime Voice Connector.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DisassociatePhoneNumbersFromVoiceConnector, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DisassociatePhoneNumbersFromVoiceConnector in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DisassociatePhoneNumbersFromVoiceConnectorCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DisassociatePhoneNumbersFromVoiceConnectorCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DisassociatePhoneNumbersFromVoiceConnectorRequest - * VoiceConnectorId: "STRING_VALUE", // required - * E164PhoneNumbers: [ // E164PhoneNumberList // required - * "STRING_VALUE", - * ], - * }; - * const command = new DisassociatePhoneNumbersFromVoiceConnectorCommand(input); - * const response = await client.send(command); - * // { // DisassociatePhoneNumbersFromVoiceConnectorResponse - * // PhoneNumberErrors: [ // PhoneNumberErrorList - * // { // PhoneNumberError - * // PhoneNumberId: "STRING_VALUE", - * // ErrorCode: "BadRequest" || "Conflict" || "Forbidden" || "NotFound" || "PreconditionFailed" || "ResourceLimitExceeded" || "ServiceFailure" || "AccessDenied" || "ServiceUnavailable" || "Throttled" || "Throttling" || "Unauthorized" || "Unprocessable" || "VoiceConnectorGroupAssociationsExist" || "PhoneNumberAssociationsExist", - * // ErrorMessage: "STRING_VALUE", - * // }, - * // ], - * // }; - * - * ``` - * - * @param DisassociatePhoneNumbersFromVoiceConnectorCommandInput - {@link DisassociatePhoneNumbersFromVoiceConnectorCommandInput} - * @returns {@link DisassociatePhoneNumbersFromVoiceConnectorCommandOutput} - * @see {@link DisassociatePhoneNumbersFromVoiceConnectorCommandInput} for command's `input` shape. - * @see {@link DisassociatePhoneNumbersFromVoiceConnectorCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DisassociatePhoneNumbersFromVoiceConnectorCommand extends $Command - .classBuilder< - DisassociatePhoneNumbersFromVoiceConnectorCommandInput, - DisassociatePhoneNumbersFromVoiceConnectorCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DisassociatePhoneNumbersFromVoiceConnector", {}) - .n("ChimeClient", "DisassociatePhoneNumbersFromVoiceConnectorCommand") - .f(DisassociatePhoneNumbersFromVoiceConnectorRequestFilterSensitiveLog, void 0) - .ser(se_DisassociatePhoneNumbersFromVoiceConnectorCommand) - .de(de_DisassociatePhoneNumbersFromVoiceConnectorCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DisassociatePhoneNumbersFromVoiceConnectorRequest; - output: DisassociatePhoneNumbersFromVoiceConnectorResponse; - }; - sdk: { - input: DisassociatePhoneNumbersFromVoiceConnectorCommandInput; - output: DisassociatePhoneNumbersFromVoiceConnectorCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/DisassociatePhoneNumbersFromVoiceConnectorGroupCommand.ts b/clients/client-chime/src/commands/DisassociatePhoneNumbersFromVoiceConnectorGroupCommand.ts deleted file mode 100644 index 06c699dcb3bf..000000000000 --- a/clients/client-chime/src/commands/DisassociatePhoneNumbersFromVoiceConnectorGroupCommand.ts +++ /dev/null @@ -1,141 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - DisassociatePhoneNumbersFromVoiceConnectorGroupRequest, - DisassociatePhoneNumbersFromVoiceConnectorGroupRequestFilterSensitiveLog, - DisassociatePhoneNumbersFromVoiceConnectorGroupResponse, -} from "../models/models_0"; -import { - de_DisassociatePhoneNumbersFromVoiceConnectorGroupCommand, - se_DisassociatePhoneNumbersFromVoiceConnectorGroupCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DisassociatePhoneNumbersFromVoiceConnectorGroupCommand}. - */ -export interface DisassociatePhoneNumbersFromVoiceConnectorGroupCommandInput - extends DisassociatePhoneNumbersFromVoiceConnectorGroupRequest {} -/** - * @public - * - * The output of {@link DisassociatePhoneNumbersFromVoiceConnectorGroupCommand}. - */ -export interface DisassociatePhoneNumbersFromVoiceConnectorGroupCommandOutput - extends DisassociatePhoneNumbersFromVoiceConnectorGroupResponse, - __MetadataBearer {} - -/** - *

Disassociates the specified phone numbers from the specified Amazon Chime Voice Connector group.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, DisassociatePhoneNumbersFromVoiceConnectorGroup, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by DisassociatePhoneNumbersFromVoiceConnectorGroup in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, DisassociatePhoneNumbersFromVoiceConnectorGroupCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, DisassociatePhoneNumbersFromVoiceConnectorGroupCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // DisassociatePhoneNumbersFromVoiceConnectorGroupRequest - * VoiceConnectorGroupId: "STRING_VALUE", // required - * E164PhoneNumbers: [ // E164PhoneNumberList // required - * "STRING_VALUE", - * ], - * }; - * const command = new DisassociatePhoneNumbersFromVoiceConnectorGroupCommand(input); - * const response = await client.send(command); - * // { // DisassociatePhoneNumbersFromVoiceConnectorGroupResponse - * // PhoneNumberErrors: [ // PhoneNumberErrorList - * // { // PhoneNumberError - * // PhoneNumberId: "STRING_VALUE", - * // ErrorCode: "BadRequest" || "Conflict" || "Forbidden" || "NotFound" || "PreconditionFailed" || "ResourceLimitExceeded" || "ServiceFailure" || "AccessDenied" || "ServiceUnavailable" || "Throttled" || "Throttling" || "Unauthorized" || "Unprocessable" || "VoiceConnectorGroupAssociationsExist" || "PhoneNumberAssociationsExist", - * // ErrorMessage: "STRING_VALUE", - * // }, - * // ], - * // }; - * - * ``` - * - * @param DisassociatePhoneNumbersFromVoiceConnectorGroupCommandInput - {@link DisassociatePhoneNumbersFromVoiceConnectorGroupCommandInput} - * @returns {@link DisassociatePhoneNumbersFromVoiceConnectorGroupCommandOutput} - * @see {@link DisassociatePhoneNumbersFromVoiceConnectorGroupCommandInput} for command's `input` shape. - * @see {@link DisassociatePhoneNumbersFromVoiceConnectorGroupCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class DisassociatePhoneNumbersFromVoiceConnectorGroupCommand extends $Command - .classBuilder< - DisassociatePhoneNumbersFromVoiceConnectorGroupCommandInput, - DisassociatePhoneNumbersFromVoiceConnectorGroupCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "DisassociatePhoneNumbersFromVoiceConnectorGroup", {}) - .n("ChimeClient", "DisassociatePhoneNumbersFromVoiceConnectorGroupCommand") - .f(DisassociatePhoneNumbersFromVoiceConnectorGroupRequestFilterSensitiveLog, void 0) - .ser(se_DisassociatePhoneNumbersFromVoiceConnectorGroupCommand) - .de(de_DisassociatePhoneNumbersFromVoiceConnectorGroupCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DisassociatePhoneNumbersFromVoiceConnectorGroupRequest; - output: DisassociatePhoneNumbersFromVoiceConnectorGroupResponse; - }; - sdk: { - input: DisassociatePhoneNumbersFromVoiceConnectorGroupCommandInput; - output: DisassociatePhoneNumbersFromVoiceConnectorGroupCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/GetAppInstanceRetentionSettingsCommand.ts b/clients/client-chime/src/commands/GetAppInstanceRetentionSettingsCommand.ts deleted file mode 100644 index f5878401e74c..000000000000 --- a/clients/client-chime/src/commands/GetAppInstanceRetentionSettingsCommand.ts +++ /dev/null @@ -1,132 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { GetAppInstanceRetentionSettingsRequest, GetAppInstanceRetentionSettingsResponse } from "../models/models_0"; -import { - de_GetAppInstanceRetentionSettingsCommand, - se_GetAppInstanceRetentionSettingsCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetAppInstanceRetentionSettingsCommand}. - */ -export interface GetAppInstanceRetentionSettingsCommandInput extends GetAppInstanceRetentionSettingsRequest {} -/** - * @public - * - * The output of {@link GetAppInstanceRetentionSettingsCommand}. - */ -export interface GetAppInstanceRetentionSettingsCommandOutput - extends GetAppInstanceRetentionSettingsResponse, - __MetadataBearer {} - -/** - *

Gets the retention settings for an AppInstance.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, GetMessagingRetentionSettings, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by GetAppInstanceRetentionSettings in the Amazon Chime SDK Identity Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, GetAppInstanceRetentionSettingsCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, GetAppInstanceRetentionSettingsCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // GetAppInstanceRetentionSettingsRequest - * AppInstanceArn: "STRING_VALUE", // required - * }; - * const command = new GetAppInstanceRetentionSettingsCommand(input); - * const response = await client.send(command); - * // { // GetAppInstanceRetentionSettingsResponse - * // AppInstanceRetentionSettings: { // AppInstanceRetentionSettings - * // ChannelRetentionSettings: { // ChannelRetentionSettings - * // RetentionDays: Number("int"), - * // }, - * // }, - * // InitiateDeletionTimestamp: new Date("TIMESTAMP"), - * // }; - * - * ``` - * - * @param GetAppInstanceRetentionSettingsCommandInput - {@link GetAppInstanceRetentionSettingsCommandInput} - * @returns {@link GetAppInstanceRetentionSettingsCommandOutput} - * @see {@link GetAppInstanceRetentionSettingsCommandInput} for command's `input` shape. - * @see {@link GetAppInstanceRetentionSettingsCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class GetAppInstanceRetentionSettingsCommand extends $Command - .classBuilder< - GetAppInstanceRetentionSettingsCommandInput, - GetAppInstanceRetentionSettingsCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "GetAppInstanceRetentionSettings", {}) - .n("ChimeClient", "GetAppInstanceRetentionSettingsCommand") - .f(void 0, void 0) - .ser(se_GetAppInstanceRetentionSettingsCommand) - .de(de_GetAppInstanceRetentionSettingsCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetAppInstanceRetentionSettingsRequest; - output: GetAppInstanceRetentionSettingsResponse; - }; - sdk: { - input: GetAppInstanceRetentionSettingsCommandInput; - output: GetAppInstanceRetentionSettingsCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/GetAppInstanceStreamingConfigurationsCommand.ts b/clients/client-chime/src/commands/GetAppInstanceStreamingConfigurationsCommand.ts deleted file mode 100644 index 49012bac3ef6..000000000000 --- a/clients/client-chime/src/commands/GetAppInstanceStreamingConfigurationsCommand.ts +++ /dev/null @@ -1,137 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - GetAppInstanceStreamingConfigurationsRequest, - GetAppInstanceStreamingConfigurationsResponse, - GetAppInstanceStreamingConfigurationsResponseFilterSensitiveLog, -} from "../models/models_0"; -import { - de_GetAppInstanceStreamingConfigurationsCommand, - se_GetAppInstanceStreamingConfigurationsCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetAppInstanceStreamingConfigurationsCommand}. - */ -export interface GetAppInstanceStreamingConfigurationsCommandInput - extends GetAppInstanceStreamingConfigurationsRequest {} -/** - * @public - * - * The output of {@link GetAppInstanceStreamingConfigurationsCommand}. - */ -export interface GetAppInstanceStreamingConfigurationsCommandOutput - extends GetAppInstanceStreamingConfigurationsResponse, - __MetadataBearer {} - -/** - *

Gets the streaming settings for an AppInstance.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, GetMessagingStreamingConfigurations, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by GetAppInstanceStreamingConfigurations in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, GetAppInstanceStreamingConfigurationsCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, GetAppInstanceStreamingConfigurationsCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // GetAppInstanceStreamingConfigurationsRequest - * AppInstanceArn: "STRING_VALUE", // required - * }; - * const command = new GetAppInstanceStreamingConfigurationsCommand(input); - * const response = await client.send(command); - * // { // GetAppInstanceStreamingConfigurationsResponse - * // AppInstanceStreamingConfigurations: [ // AppInstanceStreamingConfigurationList - * // { // AppInstanceStreamingConfiguration - * // AppInstanceDataType: "Channel" || "ChannelMessage", // required - * // ResourceArn: "STRING_VALUE", // required - * // }, - * // ], - * // }; - * - * ``` - * - * @param GetAppInstanceStreamingConfigurationsCommandInput - {@link GetAppInstanceStreamingConfigurationsCommandInput} - * @returns {@link GetAppInstanceStreamingConfigurationsCommandOutput} - * @see {@link GetAppInstanceStreamingConfigurationsCommandInput} for command's `input` shape. - * @see {@link GetAppInstanceStreamingConfigurationsCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class GetAppInstanceStreamingConfigurationsCommand extends $Command - .classBuilder< - GetAppInstanceStreamingConfigurationsCommandInput, - GetAppInstanceStreamingConfigurationsCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "GetAppInstanceStreamingConfigurations", {}) - .n("ChimeClient", "GetAppInstanceStreamingConfigurationsCommand") - .f(void 0, GetAppInstanceStreamingConfigurationsResponseFilterSensitiveLog) - .ser(se_GetAppInstanceStreamingConfigurationsCommand) - .de(de_GetAppInstanceStreamingConfigurationsCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetAppInstanceStreamingConfigurationsRequest; - output: GetAppInstanceStreamingConfigurationsResponse; - }; - sdk: { - input: GetAppInstanceStreamingConfigurationsCommandInput; - output: GetAppInstanceStreamingConfigurationsCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/GetAttendeeCommand.ts b/clients/client-chime/src/commands/GetAttendeeCommand.ts deleted file mode 100644 index 4b1988832e24..000000000000 --- a/clients/client-chime/src/commands/GetAttendeeCommand.ts +++ /dev/null @@ -1,131 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { GetAttendeeRequest, GetAttendeeResponse, GetAttendeeResponseFilterSensitiveLog } from "../models/models_0"; -import { de_GetAttendeeCommand, se_GetAttendeeCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetAttendeeCommand}. - */ -export interface GetAttendeeCommandInput extends GetAttendeeRequest {} -/** - * @public - * - * The output of {@link GetAttendeeCommand}. - */ -export interface GetAttendeeCommandOutput extends GetAttendeeResponse, __MetadataBearer {} - -/** - *

- * Gets the Amazon Chime SDK attendee details for a specified meeting ID and attendee ID. For more information about the Amazon Chime SDK, see - * Using the Amazon Chime SDK - * in the Amazon Chime SDK Developer Guide. - *

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, GetAttendee, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by GetAttendee in the Amazon Chime SDK Meetings Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, GetAttendeeCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, GetAttendeeCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // GetAttendeeRequest - * MeetingId: "STRING_VALUE", // required - * AttendeeId: "STRING_VALUE", // required - * }; - * const command = new GetAttendeeCommand(input); - * const response = await client.send(command); - * // { // GetAttendeeResponse - * // Attendee: { // Attendee - * // ExternalUserId: "STRING_VALUE", - * // AttendeeId: "STRING_VALUE", - * // JoinToken: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param GetAttendeeCommandInput - {@link GetAttendeeCommandInput} - * @returns {@link GetAttendeeCommandOutput} - * @see {@link GetAttendeeCommandInput} for command's `input` shape. - * @see {@link GetAttendeeCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class GetAttendeeCommand extends $Command - .classBuilder< - GetAttendeeCommandInput, - GetAttendeeCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "GetAttendee", {}) - .n("ChimeClient", "GetAttendeeCommand") - .f(void 0, GetAttendeeResponseFilterSensitiveLog) - .ser(se_GetAttendeeCommand) - .de(de_GetAttendeeCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetAttendeeRequest; - output: GetAttendeeResponse; - }; - sdk: { - input: GetAttendeeCommandInput; - output: GetAttendeeCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/GetChannelMessageCommand.ts b/clients/client-chime/src/commands/GetChannelMessageCommand.ts deleted file mode 100644 index 0dd36ba850e6..000000000000 --- a/clients/client-chime/src/commands/GetChannelMessageCommand.ts +++ /dev/null @@ -1,148 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - GetChannelMessageRequest, - GetChannelMessageResponse, - GetChannelMessageResponseFilterSensitiveLog, -} from "../models/models_0"; -import { de_GetChannelMessageCommand, se_GetChannelMessageCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetChannelMessageCommand}. - */ -export interface GetChannelMessageCommandInput extends GetChannelMessageRequest {} -/** - * @public - * - * The output of {@link GetChannelMessageCommand}. - */ -export interface GetChannelMessageCommandOutput extends GetChannelMessageResponse, __MetadataBearer {} - -/** - *

Gets the full details of a channel message.

- * - *

The x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, GetChannelMessage, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by GetChannelMessage in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, GetChannelMessageCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, GetChannelMessageCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // GetChannelMessageRequest - * ChannelArn: "STRING_VALUE", // required - * MessageId: "STRING_VALUE", // required - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new GetChannelMessageCommand(input); - * const response = await client.send(command); - * // { // GetChannelMessageResponse - * // ChannelMessage: { // ChannelMessage - * // ChannelArn: "STRING_VALUE", - * // MessageId: "STRING_VALUE", - * // Content: "STRING_VALUE", - * // Metadata: "STRING_VALUE", - * // Type: "STANDARD" || "CONTROL", - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // LastEditedTimestamp: new Date("TIMESTAMP"), - * // LastUpdatedTimestamp: new Date("TIMESTAMP"), - * // Sender: { // Identity - * // Arn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // }, - * // Redacted: true || false, - * // Persistence: "PERSISTENT" || "NON_PERSISTENT", - * // }, - * // }; - * - * ``` - * - * @param GetChannelMessageCommandInput - {@link GetChannelMessageCommandInput} - * @returns {@link GetChannelMessageCommandOutput} - * @see {@link GetChannelMessageCommandInput} for command's `input` shape. - * @see {@link GetChannelMessageCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class GetChannelMessageCommand extends $Command - .classBuilder< - GetChannelMessageCommandInput, - GetChannelMessageCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "GetChannelMessage", {}) - .n("ChimeClient", "GetChannelMessageCommand") - .f(void 0, GetChannelMessageResponseFilterSensitiveLog) - .ser(se_GetChannelMessageCommand) - .de(de_GetChannelMessageCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetChannelMessageRequest; - output: GetChannelMessageResponse; - }; - sdk: { - input: GetChannelMessageCommandInput; - output: GetChannelMessageCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/GetMediaCapturePipelineCommand.ts b/clients/client-chime/src/commands/GetMediaCapturePipelineCommand.ts deleted file mode 100644 index 505b8fc04398..000000000000 --- a/clients/client-chime/src/commands/GetMediaCapturePipelineCommand.ts +++ /dev/null @@ -1,161 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - GetMediaCapturePipelineRequest, - GetMediaCapturePipelineResponse, - GetMediaCapturePipelineResponseFilterSensitiveLog, -} from "../models/models_0"; -import { de_GetMediaCapturePipelineCommand, se_GetMediaCapturePipelineCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetMediaCapturePipelineCommand}. - */ -export interface GetMediaCapturePipelineCommandInput extends GetMediaCapturePipelineRequest {} -/** - * @public - * - * The output of {@link GetMediaCapturePipelineCommand}. - */ -export interface GetMediaCapturePipelineCommandOutput extends GetMediaCapturePipelineResponse, __MetadataBearer {} - -/** - *

Gets an existing media capture pipeline.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, - * GetMediaCapturePipeline, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by GetMediaCapturePipeline in the Amazon Chime SDK Media Pipelines Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, GetMediaCapturePipelineCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, GetMediaCapturePipelineCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // GetMediaCapturePipelineRequest - * MediaPipelineId: "STRING_VALUE", // required - * }; - * const command = new GetMediaCapturePipelineCommand(input); - * const response = await client.send(command); - * // { // GetMediaCapturePipelineResponse - * // MediaCapturePipeline: { // MediaCapturePipeline - * // MediaPipelineId: "STRING_VALUE", - * // SourceType: "ChimeSdkMeeting", - * // SourceArn: "STRING_VALUE", - * // Status: "Initializing" || "InProgress" || "Failed" || "Stopping" || "Stopped", - * // SinkType: "S3Bucket", - * // SinkArn: "STRING_VALUE", - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // UpdatedTimestamp: new Date("TIMESTAMP"), - * // ChimeSdkMeetingConfiguration: { // ChimeSdkMeetingConfiguration - * // SourceConfiguration: { // SourceConfiguration - * // SelectedVideoStreams: { // SelectedVideoStreams - * // AttendeeIds: [ // AttendeeIdList - * // "STRING_VALUE", - * // ], - * // ExternalUserIds: [ // ExternalUserIdList - * // "STRING_VALUE", - * // ], - * // }, - * // }, - * // ArtifactsConfiguration: { // ArtifactsConfiguration - * // Audio: { // AudioArtifactsConfiguration - * // MuxType: "AudioOnly" || "AudioWithActiveSpeakerVideo", // required - * // }, - * // Video: { // VideoArtifactsConfiguration - * // State: "Enabled" || "Disabled", // required - * // MuxType: "VideoOnly", - * // }, - * // Content: { // ContentArtifactsConfiguration - * // State: "Enabled" || "Disabled", // required - * // MuxType: "ContentOnly", - * // }, - * // }, - * // }, - * // }, - * // }; - * - * ``` - * - * @param GetMediaCapturePipelineCommandInput - {@link GetMediaCapturePipelineCommandInput} - * @returns {@link GetMediaCapturePipelineCommandOutput} - * @see {@link GetMediaCapturePipelineCommandInput} for command's `input` shape. - * @see {@link GetMediaCapturePipelineCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class GetMediaCapturePipelineCommand extends $Command - .classBuilder< - GetMediaCapturePipelineCommandInput, - GetMediaCapturePipelineCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "GetMediaCapturePipeline", {}) - .n("ChimeClient", "GetMediaCapturePipelineCommand") - .f(void 0, GetMediaCapturePipelineResponseFilterSensitiveLog) - .ser(se_GetMediaCapturePipelineCommand) - .de(de_GetMediaCapturePipelineCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetMediaCapturePipelineRequest; - output: GetMediaCapturePipelineResponse; - }; - sdk: { - input: GetMediaCapturePipelineCommandInput; - output: GetMediaCapturePipelineCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/GetMeetingCommand.ts b/clients/client-chime/src/commands/GetMeetingCommand.ts deleted file mode 100644 index a934f0009473..000000000000 --- a/clients/client-chime/src/commands/GetMeetingCommand.ts +++ /dev/null @@ -1,142 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { GetMeetingRequest, GetMeetingResponse, GetMeetingResponseFilterSensitiveLog } from "../models/models_0"; -import { de_GetMeetingCommand, se_GetMeetingCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetMeetingCommand}. - */ -export interface GetMeetingCommandInput extends GetMeetingRequest {} -/** - * @public - * - * The output of {@link GetMeetingCommand}. - */ -export interface GetMeetingCommandOutput extends GetMeetingResponse, __MetadataBearer {} - -/** - * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, GetMeeting, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- *

- * Gets the Amazon Chime SDK meeting details for the specified meeting ID. For more information about the Amazon Chime SDK, see - * Using the Amazon Chime SDK - * in the - * Amazon Chime SDK Developer Guide - * . - *

- * - * @deprecated Replaced by GetMeeting in the Amazon Chime SDK Meetings Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, GetMeetingCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, GetMeetingCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // GetMeetingRequest - * MeetingId: "STRING_VALUE", // required - * }; - * const command = new GetMeetingCommand(input); - * const response = await client.send(command); - * // { // GetMeetingResponse - * // Meeting: { // Meeting - * // MeetingId: "STRING_VALUE", - * // ExternalMeetingId: "STRING_VALUE", - * // MediaPlacement: { // MediaPlacement - * // AudioHostUrl: "STRING_VALUE", - * // AudioFallbackUrl: "STRING_VALUE", - * // ScreenDataUrl: "STRING_VALUE", - * // ScreenSharingUrl: "STRING_VALUE", - * // ScreenViewingUrl: "STRING_VALUE", - * // SignalingUrl: "STRING_VALUE", - * // TurnControlUrl: "STRING_VALUE", - * // EventIngestionUrl: "STRING_VALUE", - * // }, - * // MediaRegion: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param GetMeetingCommandInput - {@link GetMeetingCommandInput} - * @returns {@link GetMeetingCommandOutput} - * @see {@link GetMeetingCommandInput} for command's `input` shape. - * @see {@link GetMeetingCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class GetMeetingCommand extends $Command - .classBuilder< - GetMeetingCommandInput, - GetMeetingCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "GetMeeting", {}) - .n("ChimeClient", "GetMeetingCommand") - .f(void 0, GetMeetingResponseFilterSensitiveLog) - .ser(se_GetMeetingCommand) - .de(de_GetMeetingCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetMeetingRequest; - output: GetMeetingResponse; - }; - sdk: { - input: GetMeetingCommandInput; - output: GetMeetingCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/GetMessagingSessionEndpointCommand.ts b/clients/client-chime/src/commands/GetMessagingSessionEndpointCommand.ts deleted file mode 100644 index a0c81c6ad699..000000000000 --- a/clients/client-chime/src/commands/GetMessagingSessionEndpointCommand.ts +++ /dev/null @@ -1,121 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { GetMessagingSessionEndpointRequest, GetMessagingSessionEndpointResponse } from "../models/models_0"; -import { - de_GetMessagingSessionEndpointCommand, - se_GetMessagingSessionEndpointCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetMessagingSessionEndpointCommand}. - */ -export interface GetMessagingSessionEndpointCommandInput extends GetMessagingSessionEndpointRequest {} -/** - * @public - * - * The output of {@link GetMessagingSessionEndpointCommand}. - */ -export interface GetMessagingSessionEndpointCommandOutput - extends GetMessagingSessionEndpointResponse, - __MetadataBearer {} - -/** - *

The details of the endpoint for the messaging session.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, GetMessagingSessionEndpoint, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by GetMessagingSessionEndpoint in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, GetMessagingSessionEndpointCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, GetMessagingSessionEndpointCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = {}; - * const command = new GetMessagingSessionEndpointCommand(input); - * const response = await client.send(command); - * // { // GetMessagingSessionEndpointResponse - * // Endpoint: { // MessagingSessionEndpoint - * // Url: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param GetMessagingSessionEndpointCommandInput - {@link GetMessagingSessionEndpointCommandInput} - * @returns {@link GetMessagingSessionEndpointCommandOutput} - * @see {@link GetMessagingSessionEndpointCommandInput} for command's `input` shape. - * @see {@link GetMessagingSessionEndpointCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class GetMessagingSessionEndpointCommand extends $Command - .classBuilder< - GetMessagingSessionEndpointCommandInput, - GetMessagingSessionEndpointCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "GetMessagingSessionEndpoint", {}) - .n("ChimeClient", "GetMessagingSessionEndpointCommand") - .f(void 0, void 0) - .ser(se_GetMessagingSessionEndpointCommand) - .de(de_GetMessagingSessionEndpointCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: {}; - output: GetMessagingSessionEndpointResponse; - }; - sdk: { - input: GetMessagingSessionEndpointCommandInput; - output: GetMessagingSessionEndpointCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/GetProxySessionCommand.ts b/clients/client-chime/src/commands/GetProxySessionCommand.ts deleted file mode 100644 index 7ae98eeccb42..000000000000 --- a/clients/client-chime/src/commands/GetProxySessionCommand.ts +++ /dev/null @@ -1,151 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - GetProxySessionRequest, - GetProxySessionResponse, - GetProxySessionResponseFilterSensitiveLog, -} from "../models/models_0"; -import { de_GetProxySessionCommand, se_GetProxySessionCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetProxySessionCommand}. - */ -export interface GetProxySessionCommandInput extends GetProxySessionRequest {} -/** - * @public - * - * The output of {@link GetProxySessionCommand}. - */ -export interface GetProxySessionCommandOutput extends GetProxySessionResponse, __MetadataBearer {} - -/** - *

Gets the specified proxy session details for the specified Amazon Chime Voice Connector.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, GetProxySession, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by GetProxySession in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, GetProxySessionCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, GetProxySessionCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // GetProxySessionRequest - * VoiceConnectorId: "STRING_VALUE", // required - * ProxySessionId: "STRING_VALUE", // required - * }; - * const command = new GetProxySessionCommand(input); - * const response = await client.send(command); - * // { // GetProxySessionResponse - * // ProxySession: { // ProxySession - * // VoiceConnectorId: "STRING_VALUE", - * // ProxySessionId: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // Status: "Open" || "InProgress" || "Closed", - * // ExpiryMinutes: Number("int"), - * // Capabilities: [ // CapabilityList - * // "Voice" || "SMS", - * // ], - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // UpdatedTimestamp: new Date("TIMESTAMP"), - * // EndedTimestamp: new Date("TIMESTAMP"), - * // Participants: [ // Participants - * // { // Participant - * // PhoneNumber: "STRING_VALUE", - * // ProxyPhoneNumber: "STRING_VALUE", - * // }, - * // ], - * // NumberSelectionBehavior: "PreferSticky" || "AvoidSticky", - * // GeoMatchLevel: "Country" || "AreaCode", - * // GeoMatchParams: { // GeoMatchParams - * // Country: "STRING_VALUE", // required - * // AreaCode: "STRING_VALUE", // required - * // }, - * // }, - * // }; - * - * ``` - * - * @param GetProxySessionCommandInput - {@link GetProxySessionCommandInput} - * @returns {@link GetProxySessionCommandOutput} - * @see {@link GetProxySessionCommandInput} for command's `input` shape. - * @see {@link GetProxySessionCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class GetProxySessionCommand extends $Command - .classBuilder< - GetProxySessionCommandInput, - GetProxySessionCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "GetProxySession", {}) - .n("ChimeClient", "GetProxySessionCommand") - .f(void 0, GetProxySessionResponseFilterSensitiveLog) - .ser(se_GetProxySessionCommand) - .de(de_GetProxySessionCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetProxySessionRequest; - output: GetProxySessionResponse; - }; - sdk: { - input: GetProxySessionCommandInput; - output: GetProxySessionCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/GetRetentionSettingsCommand.ts b/clients/client-chime/src/commands/GetRetentionSettingsCommand.ts index 9b0901fc0aac..a39a038968e0 100644 --- a/clients/client-chime/src/commands/GetRetentionSettingsCommand.ts +++ b/clients/client-chime/src/commands/GetRetentionSettingsCommand.ts @@ -6,8 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; import { commonParams } from "../endpoint/EndpointParameters"; -import { GetRetentionSettingsRequest } from "../models/models_0"; -import { GetRetentionSettingsResponse } from "../models/models_1"; +import { GetRetentionSettingsRequest, GetRetentionSettingsResponse } from "../models/models_0"; import { de_GetRetentionSettingsCommand, se_GetRetentionSettingsCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/GetRoomCommand.ts b/clients/client-chime/src/commands/GetRoomCommand.ts index c0b68f41d366..da71b7888b7a 100644 --- a/clients/client-chime/src/commands/GetRoomCommand.ts +++ b/clients/client-chime/src/commands/GetRoomCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; import { commonParams } from "../endpoint/EndpointParameters"; -import { GetRoomRequest, GetRoomResponse, GetRoomResponseFilterSensitiveLog } from "../models/models_1"; +import { GetRoomRequest, GetRoomResponse, GetRoomResponseFilterSensitiveLog } from "../models/models_0"; import { de_GetRoomCommand, se_GetRoomCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/GetSipMediaApplicationCommand.ts b/clients/client-chime/src/commands/GetSipMediaApplicationCommand.ts deleted file mode 100644 index db3d1537e8f1..000000000000 --- a/clients/client-chime/src/commands/GetSipMediaApplicationCommand.ts +++ /dev/null @@ -1,137 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - GetSipMediaApplicationRequest, - GetSipMediaApplicationResponse, - GetSipMediaApplicationResponseFilterSensitiveLog, -} from "../models/models_1"; -import { de_GetSipMediaApplicationCommand, se_GetSipMediaApplicationCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetSipMediaApplicationCommand}. - */ -export interface GetSipMediaApplicationCommandInput extends GetSipMediaApplicationRequest {} -/** - * @public - * - * The output of {@link GetSipMediaApplicationCommand}. - */ -export interface GetSipMediaApplicationCommandOutput extends GetSipMediaApplicationResponse, __MetadataBearer {} - -/** - *

Retrieves the information for a SIP media application, including name, AWS Region, and endpoints.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, GetSipMediaApplication, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by GetSipMediaApplication in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, GetSipMediaApplicationCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, GetSipMediaApplicationCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // GetSipMediaApplicationRequest - * SipMediaApplicationId: "STRING_VALUE", // required - * }; - * const command = new GetSipMediaApplicationCommand(input); - * const response = await client.send(command); - * // { // GetSipMediaApplicationResponse - * // SipMediaApplication: { // SipMediaApplication - * // SipMediaApplicationId: "STRING_VALUE", - * // AwsRegion: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // Endpoints: [ // SipMediaApplicationEndpointList - * // { // SipMediaApplicationEndpoint - * // LambdaArn: "STRING_VALUE", - * // }, - * // ], - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // UpdatedTimestamp: new Date("TIMESTAMP"), - * // }, - * // }; - * - * ``` - * - * @param GetSipMediaApplicationCommandInput - {@link GetSipMediaApplicationCommandInput} - * @returns {@link GetSipMediaApplicationCommandOutput} - * @see {@link GetSipMediaApplicationCommandInput} for command's `input` shape. - * @see {@link GetSipMediaApplicationCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class GetSipMediaApplicationCommand extends $Command - .classBuilder< - GetSipMediaApplicationCommandInput, - GetSipMediaApplicationCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "GetSipMediaApplication", {}) - .n("ChimeClient", "GetSipMediaApplicationCommand") - .f(void 0, GetSipMediaApplicationResponseFilterSensitiveLog) - .ser(se_GetSipMediaApplicationCommand) - .de(de_GetSipMediaApplicationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetSipMediaApplicationRequest; - output: GetSipMediaApplicationResponse; - }; - sdk: { - input: GetSipMediaApplicationCommandInput; - output: GetSipMediaApplicationCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/GetSipMediaApplicationLoggingConfigurationCommand.ts b/clients/client-chime/src/commands/GetSipMediaApplicationLoggingConfigurationCommand.ts deleted file mode 100644 index e87e47a5dabd..000000000000 --- a/clients/client-chime/src/commands/GetSipMediaApplicationLoggingConfigurationCommand.ts +++ /dev/null @@ -1,133 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - GetSipMediaApplicationLoggingConfigurationRequest, - GetSipMediaApplicationLoggingConfigurationResponse, -} from "../models/models_1"; -import { - de_GetSipMediaApplicationLoggingConfigurationCommand, - se_GetSipMediaApplicationLoggingConfigurationCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetSipMediaApplicationLoggingConfigurationCommand}. - */ -export interface GetSipMediaApplicationLoggingConfigurationCommandInput - extends GetSipMediaApplicationLoggingConfigurationRequest {} -/** - * @public - * - * The output of {@link GetSipMediaApplicationLoggingConfigurationCommand}. - */ -export interface GetSipMediaApplicationLoggingConfigurationCommandOutput - extends GetSipMediaApplicationLoggingConfigurationResponse, - __MetadataBearer {} - -/** - *

Returns the logging configuration for the specified SIP media application.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, GetSipMediaApplicationLoggingConfiguration, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by GetSipMediaApplicationLoggingConfiguration in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, GetSipMediaApplicationLoggingConfigurationCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, GetSipMediaApplicationLoggingConfigurationCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // GetSipMediaApplicationLoggingConfigurationRequest - * SipMediaApplicationId: "STRING_VALUE", // required - * }; - * const command = new GetSipMediaApplicationLoggingConfigurationCommand(input); - * const response = await client.send(command); - * // { // GetSipMediaApplicationLoggingConfigurationResponse - * // SipMediaApplicationLoggingConfiguration: { // SipMediaApplicationLoggingConfiguration - * // EnableSipMediaApplicationMessageLogs: true || false, - * // }, - * // }; - * - * ``` - * - * @param GetSipMediaApplicationLoggingConfigurationCommandInput - {@link GetSipMediaApplicationLoggingConfigurationCommandInput} - * @returns {@link GetSipMediaApplicationLoggingConfigurationCommandOutput} - * @see {@link GetSipMediaApplicationLoggingConfigurationCommandInput} for command's `input` shape. - * @see {@link GetSipMediaApplicationLoggingConfigurationCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class GetSipMediaApplicationLoggingConfigurationCommand extends $Command - .classBuilder< - GetSipMediaApplicationLoggingConfigurationCommandInput, - GetSipMediaApplicationLoggingConfigurationCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "GetSipMediaApplicationLoggingConfiguration", {}) - .n("ChimeClient", "GetSipMediaApplicationLoggingConfigurationCommand") - .f(void 0, void 0) - .ser(se_GetSipMediaApplicationLoggingConfigurationCommand) - .de(de_GetSipMediaApplicationLoggingConfigurationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetSipMediaApplicationLoggingConfigurationRequest; - output: GetSipMediaApplicationLoggingConfigurationResponse; - }; - sdk: { - input: GetSipMediaApplicationLoggingConfigurationCommandInput; - output: GetSipMediaApplicationLoggingConfigurationCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/GetSipRuleCommand.ts b/clients/client-chime/src/commands/GetSipRuleCommand.ts deleted file mode 100644 index 8f9f92589c67..000000000000 --- a/clients/client-chime/src/commands/GetSipRuleCommand.ts +++ /dev/null @@ -1,137 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { GetSipRuleRequest, GetSipRuleResponse } from "../models/models_1"; -import { de_GetSipRuleCommand, se_GetSipRuleCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetSipRuleCommand}. - */ -export interface GetSipRuleCommandInput extends GetSipRuleRequest {} -/** - * @public - * - * The output of {@link GetSipRuleCommand}. - */ -export interface GetSipRuleCommandOutput extends GetSipRuleResponse, __MetadataBearer {} - -/** - *

Retrieves the details of a SIP rule, such as the rule ID, name, triggers, and target endpoints.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, GetSipRule, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by GetSipRule in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, GetSipRuleCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, GetSipRuleCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // GetSipRuleRequest - * SipRuleId: "STRING_VALUE", // required - * }; - * const command = new GetSipRuleCommand(input); - * const response = await client.send(command); - * // { // GetSipRuleResponse - * // SipRule: { // SipRule - * // SipRuleId: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // Disabled: true || false, - * // TriggerType: "ToPhoneNumber" || "RequestUriHostname", - * // TriggerValue: "STRING_VALUE", - * // TargetApplications: [ // SipRuleTargetApplicationList - * // { // SipRuleTargetApplication - * // SipMediaApplicationId: "STRING_VALUE", - * // Priority: Number("int"), - * // AwsRegion: "STRING_VALUE", - * // }, - * // ], - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // UpdatedTimestamp: new Date("TIMESTAMP"), - * // }, - * // }; - * - * ``` - * - * @param GetSipRuleCommandInput - {@link GetSipRuleCommandInput} - * @returns {@link GetSipRuleCommandOutput} - * @see {@link GetSipRuleCommandInput} for command's `input` shape. - * @see {@link GetSipRuleCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class GetSipRuleCommand extends $Command - .classBuilder< - GetSipRuleCommandInput, - GetSipRuleCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "GetSipRule", {}) - .n("ChimeClient", "GetSipRuleCommand") - .f(void 0, void 0) - .ser(se_GetSipRuleCommand) - .de(de_GetSipRuleCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetSipRuleRequest; - output: GetSipRuleResponse; - }; - sdk: { - input: GetSipRuleCommandInput; - output: GetSipRuleCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/GetUserCommand.ts b/clients/client-chime/src/commands/GetUserCommand.ts index f426fe565a9b..d95ecc3038dc 100644 --- a/clients/client-chime/src/commands/GetUserCommand.ts +++ b/clients/client-chime/src/commands/GetUserCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; import { commonParams } from "../endpoint/EndpointParameters"; -import { GetUserRequest, GetUserResponse, GetUserResponseFilterSensitiveLog } from "../models/models_1"; +import { GetUserRequest, GetUserResponse, GetUserResponseFilterSensitiveLog } from "../models/models_0"; import { de_GetUserCommand, se_GetUserCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/GetUserSettingsCommand.ts b/clients/client-chime/src/commands/GetUserSettingsCommand.ts index 3278c2125b20..05995239e360 100644 --- a/clients/client-chime/src/commands/GetUserSettingsCommand.ts +++ b/clients/client-chime/src/commands/GetUserSettingsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; import { commonParams } from "../endpoint/EndpointParameters"; -import { GetUserSettingsRequest, GetUserSettingsResponse } from "../models/models_1"; +import { GetUserSettingsRequest, GetUserSettingsResponse } from "../models/models_0"; import { de_GetUserSettingsCommand, se_GetUserSettingsCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/GetVoiceConnectorCommand.ts b/clients/client-chime/src/commands/GetVoiceConnectorCommand.ts deleted file mode 100644 index 82118ab0320c..000000000000 --- a/clients/client-chime/src/commands/GetVoiceConnectorCommand.ts +++ /dev/null @@ -1,131 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { GetVoiceConnectorRequest, GetVoiceConnectorResponse } from "../models/models_1"; -import { de_GetVoiceConnectorCommand, se_GetVoiceConnectorCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetVoiceConnectorCommand}. - */ -export interface GetVoiceConnectorCommandInput extends GetVoiceConnectorRequest {} -/** - * @public - * - * The output of {@link GetVoiceConnectorCommand}. - */ -export interface GetVoiceConnectorCommandOutput extends GetVoiceConnectorResponse, __MetadataBearer {} - -/** - *

Retrieves details for the specified Amazon Chime Voice Connector, such as timestamps,name, outbound host, and encryption requirements.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, GetVoiceConnector, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by GetVoiceConnector in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, GetVoiceConnectorCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, GetVoiceConnectorCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // GetVoiceConnectorRequest - * VoiceConnectorId: "STRING_VALUE", // required - * }; - * const command = new GetVoiceConnectorCommand(input); - * const response = await client.send(command); - * // { // GetVoiceConnectorResponse - * // VoiceConnector: { // VoiceConnector - * // VoiceConnectorId: "STRING_VALUE", - * // AwsRegion: "us-east-1" || "us-west-2", - * // Name: "STRING_VALUE", - * // OutboundHostName: "STRING_VALUE", - * // RequireEncryption: true || false, - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // UpdatedTimestamp: new Date("TIMESTAMP"), - * // VoiceConnectorArn: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param GetVoiceConnectorCommandInput - {@link GetVoiceConnectorCommandInput} - * @returns {@link GetVoiceConnectorCommandOutput} - * @see {@link GetVoiceConnectorCommandInput} for command's `input` shape. - * @see {@link GetVoiceConnectorCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class GetVoiceConnectorCommand extends $Command - .classBuilder< - GetVoiceConnectorCommandInput, - GetVoiceConnectorCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "GetVoiceConnector", {}) - .n("ChimeClient", "GetVoiceConnectorCommand") - .f(void 0, void 0) - .ser(se_GetVoiceConnectorCommand) - .de(de_GetVoiceConnectorCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetVoiceConnectorRequest; - output: GetVoiceConnectorResponse; - }; - sdk: { - input: GetVoiceConnectorCommandInput; - output: GetVoiceConnectorCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/GetVoiceConnectorEmergencyCallingConfigurationCommand.ts b/clients/client-chime/src/commands/GetVoiceConnectorEmergencyCallingConfigurationCommand.ts deleted file mode 100644 index 2757330d7739..000000000000 --- a/clients/client-chime/src/commands/GetVoiceConnectorEmergencyCallingConfigurationCommand.ts +++ /dev/null @@ -1,140 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - GetVoiceConnectorEmergencyCallingConfigurationRequest, - GetVoiceConnectorEmergencyCallingConfigurationResponse, - GetVoiceConnectorEmergencyCallingConfigurationResponseFilterSensitiveLog, -} from "../models/models_1"; -import { - de_GetVoiceConnectorEmergencyCallingConfigurationCommand, - se_GetVoiceConnectorEmergencyCallingConfigurationCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetVoiceConnectorEmergencyCallingConfigurationCommand}. - */ -export interface GetVoiceConnectorEmergencyCallingConfigurationCommandInput - extends GetVoiceConnectorEmergencyCallingConfigurationRequest {} -/** - * @public - * - * The output of {@link GetVoiceConnectorEmergencyCallingConfigurationCommand}. - */ -export interface GetVoiceConnectorEmergencyCallingConfigurationCommandOutput - extends GetVoiceConnectorEmergencyCallingConfigurationResponse, - __MetadataBearer {} - -/** - *

Gets the emergency calling configuration details for the specified Amazon Chime Voice Connector.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, GetVoiceConnectorEmergencyCallingConfiguration, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by GetVoiceConnectorEmergencyCallingConfiguration in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, GetVoiceConnectorEmergencyCallingConfigurationCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, GetVoiceConnectorEmergencyCallingConfigurationCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // GetVoiceConnectorEmergencyCallingConfigurationRequest - * VoiceConnectorId: "STRING_VALUE", // required - * }; - * const command = new GetVoiceConnectorEmergencyCallingConfigurationCommand(input); - * const response = await client.send(command); - * // { // GetVoiceConnectorEmergencyCallingConfigurationResponse - * // EmergencyCallingConfiguration: { // EmergencyCallingConfiguration - * // DNIS: [ // DNISEmergencyCallingConfigurationList - * // { // DNISEmergencyCallingConfiguration - * // EmergencyPhoneNumber: "STRING_VALUE", // required - * // TestPhoneNumber: "STRING_VALUE", - * // CallingCountry: "STRING_VALUE", // required - * // }, - * // ], - * // }, - * // }; - * - * ``` - * - * @param GetVoiceConnectorEmergencyCallingConfigurationCommandInput - {@link GetVoiceConnectorEmergencyCallingConfigurationCommandInput} - * @returns {@link GetVoiceConnectorEmergencyCallingConfigurationCommandOutput} - * @see {@link GetVoiceConnectorEmergencyCallingConfigurationCommandInput} for command's `input` shape. - * @see {@link GetVoiceConnectorEmergencyCallingConfigurationCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class GetVoiceConnectorEmergencyCallingConfigurationCommand extends $Command - .classBuilder< - GetVoiceConnectorEmergencyCallingConfigurationCommandInput, - GetVoiceConnectorEmergencyCallingConfigurationCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "GetVoiceConnectorEmergencyCallingConfiguration", {}) - .n("ChimeClient", "GetVoiceConnectorEmergencyCallingConfigurationCommand") - .f(void 0, GetVoiceConnectorEmergencyCallingConfigurationResponseFilterSensitiveLog) - .ser(se_GetVoiceConnectorEmergencyCallingConfigurationCommand) - .de(de_GetVoiceConnectorEmergencyCallingConfigurationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetVoiceConnectorEmergencyCallingConfigurationRequest; - output: GetVoiceConnectorEmergencyCallingConfigurationResponse; - }; - sdk: { - input: GetVoiceConnectorEmergencyCallingConfigurationCommandInput; - output: GetVoiceConnectorEmergencyCallingConfigurationCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/GetVoiceConnectorGroupCommand.ts b/clients/client-chime/src/commands/GetVoiceConnectorGroupCommand.ts deleted file mode 100644 index 600346b5e363..000000000000 --- a/clients/client-chime/src/commands/GetVoiceConnectorGroupCommand.ts +++ /dev/null @@ -1,135 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { GetVoiceConnectorGroupRequest, GetVoiceConnectorGroupResponse } from "../models/models_1"; -import { de_GetVoiceConnectorGroupCommand, se_GetVoiceConnectorGroupCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetVoiceConnectorGroupCommand}. - */ -export interface GetVoiceConnectorGroupCommandInput extends GetVoiceConnectorGroupRequest {} -/** - * @public - * - * The output of {@link GetVoiceConnectorGroupCommand}. - */ -export interface GetVoiceConnectorGroupCommandOutput extends GetVoiceConnectorGroupResponse, __MetadataBearer {} - -/** - *

- * Retrieves details for the specified Amazon Chime Voice Connector group, such as timestamps,name, and associated VoiceConnectorItems.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, GetVoiceConnectorGroup, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by GetVoiceConnectorGroup in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, GetVoiceConnectorGroupCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, GetVoiceConnectorGroupCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // GetVoiceConnectorGroupRequest - * VoiceConnectorGroupId: "STRING_VALUE", // required - * }; - * const command = new GetVoiceConnectorGroupCommand(input); - * const response = await client.send(command); - * // { // GetVoiceConnectorGroupResponse - * // VoiceConnectorGroup: { // VoiceConnectorGroup - * // VoiceConnectorGroupId: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // VoiceConnectorItems: [ // VoiceConnectorItemList - * // { // VoiceConnectorItem - * // VoiceConnectorId: "STRING_VALUE", // required - * // Priority: Number("int"), // required - * // }, - * // ], - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // UpdatedTimestamp: new Date("TIMESTAMP"), - * // VoiceConnectorGroupArn: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param GetVoiceConnectorGroupCommandInput - {@link GetVoiceConnectorGroupCommandInput} - * @returns {@link GetVoiceConnectorGroupCommandOutput} - * @see {@link GetVoiceConnectorGroupCommandInput} for command's `input` shape. - * @see {@link GetVoiceConnectorGroupCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class GetVoiceConnectorGroupCommand extends $Command - .classBuilder< - GetVoiceConnectorGroupCommandInput, - GetVoiceConnectorGroupCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "GetVoiceConnectorGroup", {}) - .n("ChimeClient", "GetVoiceConnectorGroupCommand") - .f(void 0, void 0) - .ser(se_GetVoiceConnectorGroupCommand) - .de(de_GetVoiceConnectorGroupCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetVoiceConnectorGroupRequest; - output: GetVoiceConnectorGroupResponse; - }; - sdk: { - input: GetVoiceConnectorGroupCommandInput; - output: GetVoiceConnectorGroupCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/GetVoiceConnectorLoggingConfigurationCommand.ts b/clients/client-chime/src/commands/GetVoiceConnectorLoggingConfigurationCommand.ts deleted file mode 100644 index 0c09ec318b93..000000000000 --- a/clients/client-chime/src/commands/GetVoiceConnectorLoggingConfigurationCommand.ts +++ /dev/null @@ -1,135 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - GetVoiceConnectorLoggingConfigurationRequest, - GetVoiceConnectorLoggingConfigurationResponse, -} from "../models/models_1"; -import { - de_GetVoiceConnectorLoggingConfigurationCommand, - se_GetVoiceConnectorLoggingConfigurationCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetVoiceConnectorLoggingConfigurationCommand}. - */ -export interface GetVoiceConnectorLoggingConfigurationCommandInput - extends GetVoiceConnectorLoggingConfigurationRequest {} -/** - * @public - * - * The output of {@link GetVoiceConnectorLoggingConfigurationCommand}. - */ -export interface GetVoiceConnectorLoggingConfigurationCommandOutput - extends GetVoiceConnectorLoggingConfigurationResponse, - __MetadataBearer {} - -/** - *

Retrieves the logging configuration details for the specified Amazon Chime Voice Connector. Shows whether SIP message logs are enabled for sending to - * Amazon CloudWatch Logs.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, GetVoiceConnectorLoggingConfiguration, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by GetVoiceConnectorLoggingConfiguration in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, GetVoiceConnectorLoggingConfigurationCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, GetVoiceConnectorLoggingConfigurationCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // GetVoiceConnectorLoggingConfigurationRequest - * VoiceConnectorId: "STRING_VALUE", // required - * }; - * const command = new GetVoiceConnectorLoggingConfigurationCommand(input); - * const response = await client.send(command); - * // { // GetVoiceConnectorLoggingConfigurationResponse - * // LoggingConfiguration: { // LoggingConfiguration - * // EnableSIPLogs: true || false, - * // EnableMediaMetricLogs: true || false, - * // }, - * // }; - * - * ``` - * - * @param GetVoiceConnectorLoggingConfigurationCommandInput - {@link GetVoiceConnectorLoggingConfigurationCommandInput} - * @returns {@link GetVoiceConnectorLoggingConfigurationCommandOutput} - * @see {@link GetVoiceConnectorLoggingConfigurationCommandInput} for command's `input` shape. - * @see {@link GetVoiceConnectorLoggingConfigurationCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class GetVoiceConnectorLoggingConfigurationCommand extends $Command - .classBuilder< - GetVoiceConnectorLoggingConfigurationCommandInput, - GetVoiceConnectorLoggingConfigurationCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "GetVoiceConnectorLoggingConfiguration", {}) - .n("ChimeClient", "GetVoiceConnectorLoggingConfigurationCommand") - .f(void 0, void 0) - .ser(se_GetVoiceConnectorLoggingConfigurationCommand) - .de(de_GetVoiceConnectorLoggingConfigurationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetVoiceConnectorLoggingConfigurationRequest; - output: GetVoiceConnectorLoggingConfigurationResponse; - }; - sdk: { - input: GetVoiceConnectorLoggingConfigurationCommandInput; - output: GetVoiceConnectorLoggingConfigurationCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/GetVoiceConnectorOriginationCommand.ts b/clients/client-chime/src/commands/GetVoiceConnectorOriginationCommand.ts deleted file mode 100644 index 050acfbdc053..000000000000 --- a/clients/client-chime/src/commands/GetVoiceConnectorOriginationCommand.ts +++ /dev/null @@ -1,138 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { GetVoiceConnectorOriginationRequest, GetVoiceConnectorOriginationResponse } from "../models/models_1"; -import { - de_GetVoiceConnectorOriginationCommand, - se_GetVoiceConnectorOriginationCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetVoiceConnectorOriginationCommand}. - */ -export interface GetVoiceConnectorOriginationCommandInput extends GetVoiceConnectorOriginationRequest {} -/** - * @public - * - * The output of {@link GetVoiceConnectorOriginationCommand}. - */ -export interface GetVoiceConnectorOriginationCommandOutput - extends GetVoiceConnectorOriginationResponse, - __MetadataBearer {} - -/** - *

Retrieves origination setting details for the specified Amazon Chime Voice Connector.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, GetVoiceConnectorOrigination, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by GetVoiceConnectorOrigination in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, GetVoiceConnectorOriginationCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, GetVoiceConnectorOriginationCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // GetVoiceConnectorOriginationRequest - * VoiceConnectorId: "STRING_VALUE", // required - * }; - * const command = new GetVoiceConnectorOriginationCommand(input); - * const response = await client.send(command); - * // { // GetVoiceConnectorOriginationResponse - * // Origination: { // Origination - * // Routes: [ // OriginationRouteList - * // { // OriginationRoute - * // Host: "STRING_VALUE", - * // Port: Number("int"), - * // Protocol: "TCP" || "UDP", - * // Priority: Number("int"), - * // Weight: Number("int"), - * // }, - * // ], - * // Disabled: true || false, - * // }, - * // }; - * - * ``` - * - * @param GetVoiceConnectorOriginationCommandInput - {@link GetVoiceConnectorOriginationCommandInput} - * @returns {@link GetVoiceConnectorOriginationCommandOutput} - * @see {@link GetVoiceConnectorOriginationCommandInput} for command's `input` shape. - * @see {@link GetVoiceConnectorOriginationCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class GetVoiceConnectorOriginationCommand extends $Command - .classBuilder< - GetVoiceConnectorOriginationCommandInput, - GetVoiceConnectorOriginationCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "GetVoiceConnectorOrigination", {}) - .n("ChimeClient", "GetVoiceConnectorOriginationCommand") - .f(void 0, void 0) - .ser(se_GetVoiceConnectorOriginationCommand) - .de(de_GetVoiceConnectorOriginationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetVoiceConnectorOriginationRequest; - output: GetVoiceConnectorOriginationResponse; - }; - sdk: { - input: GetVoiceConnectorOriginationCommandInput; - output: GetVoiceConnectorOriginationCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/GetVoiceConnectorProxyCommand.ts b/clients/client-chime/src/commands/GetVoiceConnectorProxyCommand.ts deleted file mode 100644 index fce8e14b8c89..000000000000 --- a/clients/client-chime/src/commands/GetVoiceConnectorProxyCommand.ts +++ /dev/null @@ -1,133 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - GetVoiceConnectorProxyRequest, - GetVoiceConnectorProxyResponse, - GetVoiceConnectorProxyResponseFilterSensitiveLog, -} from "../models/models_1"; -import { de_GetVoiceConnectorProxyCommand, se_GetVoiceConnectorProxyCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetVoiceConnectorProxyCommand}. - */ -export interface GetVoiceConnectorProxyCommandInput extends GetVoiceConnectorProxyRequest {} -/** - * @public - * - * The output of {@link GetVoiceConnectorProxyCommand}. - */ -export interface GetVoiceConnectorProxyCommandOutput extends GetVoiceConnectorProxyResponse, __MetadataBearer {} - -/** - *

Gets the proxy configuration details for the specified Amazon Chime Voice Connector.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, GetVoiceConnectorProxy, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by GetVoiceConnectorProxy in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, GetVoiceConnectorProxyCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, GetVoiceConnectorProxyCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // GetVoiceConnectorProxyRequest - * VoiceConnectorId: "STRING_VALUE", // required - * }; - * const command = new GetVoiceConnectorProxyCommand(input); - * const response = await client.send(command); - * // { // GetVoiceConnectorProxyResponse - * // Proxy: { // Proxy - * // DefaultSessionExpiryMinutes: Number("int"), - * // Disabled: true || false, - * // FallBackPhoneNumber: "STRING_VALUE", - * // PhoneNumberCountries: [ // StringList - * // "STRING_VALUE", - * // ], - * // }, - * // }; - * - * ``` - * - * @param GetVoiceConnectorProxyCommandInput - {@link GetVoiceConnectorProxyCommandInput} - * @returns {@link GetVoiceConnectorProxyCommandOutput} - * @see {@link GetVoiceConnectorProxyCommandInput} for command's `input` shape. - * @see {@link GetVoiceConnectorProxyCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class GetVoiceConnectorProxyCommand extends $Command - .classBuilder< - GetVoiceConnectorProxyCommandInput, - GetVoiceConnectorProxyCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "GetVoiceConnectorProxy", {}) - .n("ChimeClient", "GetVoiceConnectorProxyCommand") - .f(void 0, GetVoiceConnectorProxyResponseFilterSensitiveLog) - .ser(se_GetVoiceConnectorProxyCommand) - .de(de_GetVoiceConnectorProxyCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetVoiceConnectorProxyRequest; - output: GetVoiceConnectorProxyResponse; - }; - sdk: { - input: GetVoiceConnectorProxyCommandInput; - output: GetVoiceConnectorProxyCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/GetVoiceConnectorStreamingConfigurationCommand.ts b/clients/client-chime/src/commands/GetVoiceConnectorStreamingConfigurationCommand.ts deleted file mode 100644 index 7fea37b0f06a..000000000000 --- a/clients/client-chime/src/commands/GetVoiceConnectorStreamingConfigurationCommand.ts +++ /dev/null @@ -1,141 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - GetVoiceConnectorStreamingConfigurationRequest, - GetVoiceConnectorStreamingConfigurationResponse, -} from "../models/models_1"; -import { - de_GetVoiceConnectorStreamingConfigurationCommand, - se_GetVoiceConnectorStreamingConfigurationCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetVoiceConnectorStreamingConfigurationCommand}. - */ -export interface GetVoiceConnectorStreamingConfigurationCommandInput - extends GetVoiceConnectorStreamingConfigurationRequest {} -/** - * @public - * - * The output of {@link GetVoiceConnectorStreamingConfigurationCommand}. - */ -export interface GetVoiceConnectorStreamingConfigurationCommandOutput - extends GetVoiceConnectorStreamingConfigurationResponse, - __MetadataBearer {} - -/** - *

Retrieves the streaming configuration details for the specified Amazon Chime Voice Connector. - * Shows whether media streaming is enabled for sending to Amazon Kinesis. It also shows - * the retention period, in hours, for the Amazon Kinesis data.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, GetVoiceConnectorStreamingConfiguration, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by GetVoiceConnectorStreamingConfiguration in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, GetVoiceConnectorStreamingConfigurationCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, GetVoiceConnectorStreamingConfigurationCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // GetVoiceConnectorStreamingConfigurationRequest - * VoiceConnectorId: "STRING_VALUE", // required - * }; - * const command = new GetVoiceConnectorStreamingConfigurationCommand(input); - * const response = await client.send(command); - * // { // GetVoiceConnectorStreamingConfigurationResponse - * // StreamingConfiguration: { // StreamingConfiguration - * // DataRetentionInHours: Number("int"), // required - * // Disabled: true || false, - * // StreamingNotificationTargets: [ // StreamingNotificationTargetList - * // { // StreamingNotificationTarget - * // NotificationTarget: "EventBridge" || "SNS" || "SQS", // required - * // }, - * // ], - * // }, - * // }; - * - * ``` - * - * @param GetVoiceConnectorStreamingConfigurationCommandInput - {@link GetVoiceConnectorStreamingConfigurationCommandInput} - * @returns {@link GetVoiceConnectorStreamingConfigurationCommandOutput} - * @see {@link GetVoiceConnectorStreamingConfigurationCommandInput} for command's `input` shape. - * @see {@link GetVoiceConnectorStreamingConfigurationCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class GetVoiceConnectorStreamingConfigurationCommand extends $Command - .classBuilder< - GetVoiceConnectorStreamingConfigurationCommandInput, - GetVoiceConnectorStreamingConfigurationCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "GetVoiceConnectorStreamingConfiguration", {}) - .n("ChimeClient", "GetVoiceConnectorStreamingConfigurationCommand") - .f(void 0, void 0) - .ser(se_GetVoiceConnectorStreamingConfigurationCommand) - .de(de_GetVoiceConnectorStreamingConfigurationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetVoiceConnectorStreamingConfigurationRequest; - output: GetVoiceConnectorStreamingConfigurationResponse; - }; - sdk: { - input: GetVoiceConnectorStreamingConfigurationCommandInput; - output: GetVoiceConnectorStreamingConfigurationCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/GetVoiceConnectorTerminationCommand.ts b/clients/client-chime/src/commands/GetVoiceConnectorTerminationCommand.ts deleted file mode 100644 index 84d4e72c0194..000000000000 --- a/clients/client-chime/src/commands/GetVoiceConnectorTerminationCommand.ts +++ /dev/null @@ -1,141 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - GetVoiceConnectorTerminationRequest, - GetVoiceConnectorTerminationResponse, - GetVoiceConnectorTerminationResponseFilterSensitiveLog, -} from "../models/models_1"; -import { - de_GetVoiceConnectorTerminationCommand, - se_GetVoiceConnectorTerminationCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetVoiceConnectorTerminationCommand}. - */ -export interface GetVoiceConnectorTerminationCommandInput extends GetVoiceConnectorTerminationRequest {} -/** - * @public - * - * The output of {@link GetVoiceConnectorTerminationCommand}. - */ -export interface GetVoiceConnectorTerminationCommandOutput - extends GetVoiceConnectorTerminationResponse, - __MetadataBearer {} - -/** - *

Retrieves termination setting details for the specified Amazon Chime Voice Connector.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, GetVoiceConnectorTermination, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by GetVoiceConnectorTermination in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, GetVoiceConnectorTerminationCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, GetVoiceConnectorTerminationCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // GetVoiceConnectorTerminationRequest - * VoiceConnectorId: "STRING_VALUE", // required - * }; - * const command = new GetVoiceConnectorTerminationCommand(input); - * const response = await client.send(command); - * // { // GetVoiceConnectorTerminationResponse - * // Termination: { // Termination - * // CpsLimit: Number("int"), - * // DefaultPhoneNumber: "STRING_VALUE", - * // CallingRegions: [ // CallingRegionList - * // "STRING_VALUE", - * // ], - * // CidrAllowedList: [ // StringList - * // "STRING_VALUE", - * // ], - * // Disabled: true || false, - * // }, - * // }; - * - * ``` - * - * @param GetVoiceConnectorTerminationCommandInput - {@link GetVoiceConnectorTerminationCommandInput} - * @returns {@link GetVoiceConnectorTerminationCommandOutput} - * @see {@link GetVoiceConnectorTerminationCommandInput} for command's `input` shape. - * @see {@link GetVoiceConnectorTerminationCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class GetVoiceConnectorTerminationCommand extends $Command - .classBuilder< - GetVoiceConnectorTerminationCommandInput, - GetVoiceConnectorTerminationCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "GetVoiceConnectorTermination", {}) - .n("ChimeClient", "GetVoiceConnectorTerminationCommand") - .f(void 0, GetVoiceConnectorTerminationResponseFilterSensitiveLog) - .ser(se_GetVoiceConnectorTerminationCommand) - .de(de_GetVoiceConnectorTerminationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetVoiceConnectorTerminationRequest; - output: GetVoiceConnectorTerminationResponse; - }; - sdk: { - input: GetVoiceConnectorTerminationCommandInput; - output: GetVoiceConnectorTerminationCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/GetVoiceConnectorTerminationHealthCommand.ts b/clients/client-chime/src/commands/GetVoiceConnectorTerminationHealthCommand.ts deleted file mode 100644 index 6968984e0401..000000000000 --- a/clients/client-chime/src/commands/GetVoiceConnectorTerminationHealthCommand.ts +++ /dev/null @@ -1,134 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - GetVoiceConnectorTerminationHealthRequest, - GetVoiceConnectorTerminationHealthResponse, -} from "../models/models_1"; -import { - de_GetVoiceConnectorTerminationHealthCommand, - se_GetVoiceConnectorTerminationHealthCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetVoiceConnectorTerminationHealthCommand}. - */ -export interface GetVoiceConnectorTerminationHealthCommandInput extends GetVoiceConnectorTerminationHealthRequest {} -/** - * @public - * - * The output of {@link GetVoiceConnectorTerminationHealthCommand}. - */ -export interface GetVoiceConnectorTerminationHealthCommandOutput - extends GetVoiceConnectorTerminationHealthResponse, - __MetadataBearer {} - -/** - * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, GetVoiceConnectorTerminationHealth, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- *

Retrieves information about the last time a SIP OPTIONS ping was received from - * your SIP infrastructure for the specified Amazon Chime Voice Connector.

- * - * @deprecated Replaced by GetVoiceConnectorTerminationHealth in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, GetVoiceConnectorTerminationHealthCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, GetVoiceConnectorTerminationHealthCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // GetVoiceConnectorTerminationHealthRequest - * VoiceConnectorId: "STRING_VALUE", // required - * }; - * const command = new GetVoiceConnectorTerminationHealthCommand(input); - * const response = await client.send(command); - * // { // GetVoiceConnectorTerminationHealthResponse - * // TerminationHealth: { // TerminationHealth - * // Timestamp: new Date("TIMESTAMP"), - * // Source: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param GetVoiceConnectorTerminationHealthCommandInput - {@link GetVoiceConnectorTerminationHealthCommandInput} - * @returns {@link GetVoiceConnectorTerminationHealthCommandOutput} - * @see {@link GetVoiceConnectorTerminationHealthCommandInput} for command's `input` shape. - * @see {@link GetVoiceConnectorTerminationHealthCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class GetVoiceConnectorTerminationHealthCommand extends $Command - .classBuilder< - GetVoiceConnectorTerminationHealthCommandInput, - GetVoiceConnectorTerminationHealthCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "GetVoiceConnectorTerminationHealth", {}) - .n("ChimeClient", "GetVoiceConnectorTerminationHealthCommand") - .f(void 0, void 0) - .ser(se_GetVoiceConnectorTerminationHealthCommand) - .de(de_GetVoiceConnectorTerminationHealthCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetVoiceConnectorTerminationHealthRequest; - output: GetVoiceConnectorTerminationHealthResponse; - }; - sdk: { - input: GetVoiceConnectorTerminationHealthCommandInput; - output: GetVoiceConnectorTerminationHealthCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/InviteUsersCommand.ts b/clients/client-chime/src/commands/InviteUsersCommand.ts index 3dbf3d3411c4..5f06c003f3cc 100644 --- a/clients/client-chime/src/commands/InviteUsersCommand.ts +++ b/clients/client-chime/src/commands/InviteUsersCommand.ts @@ -11,7 +11,7 @@ import { InviteUsersRequestFilterSensitiveLog, InviteUsersResponse, InviteUsersResponseFilterSensitiveLog, -} from "../models/models_1"; +} from "../models/models_0"; import { de_InviteUsersCommand, se_InviteUsersCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/ListAccountsCommand.ts b/clients/client-chime/src/commands/ListAccountsCommand.ts index 23177658ab59..30aaffb49ca3 100644 --- a/clients/client-chime/src/commands/ListAccountsCommand.ts +++ b/clients/client-chime/src/commands/ListAccountsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; import { commonParams } from "../endpoint/EndpointParameters"; -import { ListAccountsRequest, ListAccountsRequestFilterSensitiveLog, ListAccountsResponse } from "../models/models_1"; +import { ListAccountsRequest, ListAccountsRequestFilterSensitiveLog, ListAccountsResponse } from "../models/models_0"; import { de_ListAccountsCommand, se_ListAccountsCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/ListAppInstanceAdminsCommand.ts b/clients/client-chime/src/commands/ListAppInstanceAdminsCommand.ts deleted file mode 100644 index 274d4f89e2ff..000000000000 --- a/clients/client-chime/src/commands/ListAppInstanceAdminsCommand.ts +++ /dev/null @@ -1,135 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - ListAppInstanceAdminsRequest, - ListAppInstanceAdminsRequestFilterSensitiveLog, - ListAppInstanceAdminsResponse, - ListAppInstanceAdminsResponseFilterSensitiveLog, -} from "../models/models_1"; -import { de_ListAppInstanceAdminsCommand, se_ListAppInstanceAdminsCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListAppInstanceAdminsCommand}. - */ -export interface ListAppInstanceAdminsCommandInput extends ListAppInstanceAdminsRequest {} -/** - * @public - * - * The output of {@link ListAppInstanceAdminsCommand}. - */ -export interface ListAppInstanceAdminsCommandOutput extends ListAppInstanceAdminsResponse, __MetadataBearer {} - -/** - *

Returns a list of the administrators in the AppInstance.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, ListAppInstanceAdmins, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by ListAppInstanceAdmins in the Amazon Chime SDK Identity Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, ListAppInstanceAdminsCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, ListAppInstanceAdminsCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // ListAppInstanceAdminsRequest - * AppInstanceArn: "STRING_VALUE", // required - * MaxResults: Number("int"), - * NextToken: "STRING_VALUE", - * }; - * const command = new ListAppInstanceAdminsCommand(input); - * const response = await client.send(command); - * // { // ListAppInstanceAdminsResponse - * // AppInstanceArn: "STRING_VALUE", - * // AppInstanceAdmins: [ // AppInstanceAdminList - * // { // AppInstanceAdminSummary - * // Admin: { // Identity - * // Arn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // }, - * // }, - * // ], - * // NextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListAppInstanceAdminsCommandInput - {@link ListAppInstanceAdminsCommandInput} - * @returns {@link ListAppInstanceAdminsCommandOutput} - * @see {@link ListAppInstanceAdminsCommandInput} for command's `input` shape. - * @see {@link ListAppInstanceAdminsCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class ListAppInstanceAdminsCommand extends $Command - .classBuilder< - ListAppInstanceAdminsCommandInput, - ListAppInstanceAdminsCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "ListAppInstanceAdmins", {}) - .n("ChimeClient", "ListAppInstanceAdminsCommand") - .f(ListAppInstanceAdminsRequestFilterSensitiveLog, ListAppInstanceAdminsResponseFilterSensitiveLog) - .ser(se_ListAppInstanceAdminsCommand) - .de(de_ListAppInstanceAdminsCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListAppInstanceAdminsRequest; - output: ListAppInstanceAdminsResponse; - }; - sdk: { - input: ListAppInstanceAdminsCommandInput; - output: ListAppInstanceAdminsCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/ListAppInstanceUsersCommand.ts b/clients/client-chime/src/commands/ListAppInstanceUsersCommand.ts deleted file mode 100644 index 288755d012c6..000000000000 --- a/clients/client-chime/src/commands/ListAppInstanceUsersCommand.ts +++ /dev/null @@ -1,136 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - ListAppInstanceUsersRequest, - ListAppInstanceUsersRequestFilterSensitiveLog, - ListAppInstanceUsersResponse, - ListAppInstanceUsersResponseFilterSensitiveLog, -} from "../models/models_1"; -import { de_ListAppInstanceUsersCommand, se_ListAppInstanceUsersCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListAppInstanceUsersCommand}. - */ -export interface ListAppInstanceUsersCommandInput extends ListAppInstanceUsersRequest {} -/** - * @public - * - * The output of {@link ListAppInstanceUsersCommand}. - */ -export interface ListAppInstanceUsersCommandOutput extends ListAppInstanceUsersResponse, __MetadataBearer {} - -/** - *

List all AppInstanceUsers - * created under a single AppInstance. - *

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, ListAppInstanceUsers, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by ListAppInstanceUsers in the Amazon Chime SDK Identity Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, ListAppInstanceUsersCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, ListAppInstanceUsersCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // ListAppInstanceUsersRequest - * AppInstanceArn: "STRING_VALUE", // required - * MaxResults: Number("int"), - * NextToken: "STRING_VALUE", - * }; - * const command = new ListAppInstanceUsersCommand(input); - * const response = await client.send(command); - * // { // ListAppInstanceUsersResponse - * // AppInstanceArn: "STRING_VALUE", - * // AppInstanceUsers: [ // AppInstanceUserList - * // { // AppInstanceUserSummary - * // AppInstanceUserArn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // Metadata: "STRING_VALUE", - * // }, - * // ], - * // NextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListAppInstanceUsersCommandInput - {@link ListAppInstanceUsersCommandInput} - * @returns {@link ListAppInstanceUsersCommandOutput} - * @see {@link ListAppInstanceUsersCommandInput} for command's `input` shape. - * @see {@link ListAppInstanceUsersCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class ListAppInstanceUsersCommand extends $Command - .classBuilder< - ListAppInstanceUsersCommandInput, - ListAppInstanceUsersCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "ListAppInstanceUsers", {}) - .n("ChimeClient", "ListAppInstanceUsersCommand") - .f(ListAppInstanceUsersRequestFilterSensitiveLog, ListAppInstanceUsersResponseFilterSensitiveLog) - .ser(se_ListAppInstanceUsersCommand) - .de(de_ListAppInstanceUsersCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListAppInstanceUsersRequest; - output: ListAppInstanceUsersResponse; - }; - sdk: { - input: ListAppInstanceUsersCommandInput; - output: ListAppInstanceUsersCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/ListAppInstancesCommand.ts b/clients/client-chime/src/commands/ListAppInstancesCommand.ts deleted file mode 100644 index 2c9f4be08466..000000000000 --- a/clients/client-chime/src/commands/ListAppInstancesCommand.ts +++ /dev/null @@ -1,132 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - ListAppInstancesRequest, - ListAppInstancesRequestFilterSensitiveLog, - ListAppInstancesResponse, - ListAppInstancesResponseFilterSensitiveLog, -} from "../models/models_1"; -import { de_ListAppInstancesCommand, se_ListAppInstancesCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListAppInstancesCommand}. - */ -export interface ListAppInstancesCommandInput extends ListAppInstancesRequest {} -/** - * @public - * - * The output of {@link ListAppInstancesCommand}. - */ -export interface ListAppInstancesCommandOutput extends ListAppInstancesResponse, __MetadataBearer {} - -/** - *

Lists all Amazon Chime AppInstances created under a single AWS account.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, ListAppInstances, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by ListAppInstances in the Amazon Chime SDK Identity Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, ListAppInstancesCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, ListAppInstancesCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // ListAppInstancesRequest - * MaxResults: Number("int"), - * NextToken: "STRING_VALUE", - * }; - * const command = new ListAppInstancesCommand(input); - * const response = await client.send(command); - * // { // ListAppInstancesResponse - * // AppInstances: [ // AppInstanceList - * // { // AppInstanceSummary - * // AppInstanceArn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // Metadata: "STRING_VALUE", - * // }, - * // ], - * // NextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListAppInstancesCommandInput - {@link ListAppInstancesCommandInput} - * @returns {@link ListAppInstancesCommandOutput} - * @see {@link ListAppInstancesCommandInput} for command's `input` shape. - * @see {@link ListAppInstancesCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class ListAppInstancesCommand extends $Command - .classBuilder< - ListAppInstancesCommandInput, - ListAppInstancesCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "ListAppInstances", {}) - .n("ChimeClient", "ListAppInstancesCommand") - .f(ListAppInstancesRequestFilterSensitiveLog, ListAppInstancesResponseFilterSensitiveLog) - .ser(se_ListAppInstancesCommand) - .de(de_ListAppInstancesCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListAppInstancesRequest; - output: ListAppInstancesResponse; - }; - sdk: { - input: ListAppInstancesCommandInput; - output: ListAppInstancesCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/ListAttendeeTagsCommand.ts b/clients/client-chime/src/commands/ListAttendeeTagsCommand.ts deleted file mode 100644 index 88a4f2b53c42..000000000000 --- a/clients/client-chime/src/commands/ListAttendeeTagsCommand.ts +++ /dev/null @@ -1,128 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - ListAttendeeTagsRequest, - ListAttendeeTagsResponse, - ListAttendeeTagsResponseFilterSensitiveLog, -} from "../models/models_1"; -import { de_ListAttendeeTagsCommand, se_ListAttendeeTagsCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListAttendeeTagsCommand}. - */ -export interface ListAttendeeTagsCommandInput extends ListAttendeeTagsRequest {} -/** - * @public - * - * The output of {@link ListAttendeeTagsCommand}. - */ -export interface ListAttendeeTagsCommandOutput extends ListAttendeeTagsResponse, __MetadataBearer {} - -/** - *

Lists the tags applied to an Amazon Chime SDK attendee resource.

- * - *

ListAttendeeTags is not supported in the Amazon Chime SDK Meetings Namespace. Update your application to remove calls to this API.

- *
- * - * @deprecated Attendee Tags are not supported in the Amazon Chime SDK Meetings Namespace. Update your application to remove calls to this API. - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, ListAttendeeTagsCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, ListAttendeeTagsCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // ListAttendeeTagsRequest - * MeetingId: "STRING_VALUE", // required - * AttendeeId: "STRING_VALUE", // required - * }; - * const command = new ListAttendeeTagsCommand(input); - * const response = await client.send(command); - * // { // ListAttendeeTagsResponse - * // Tags: [ // TagList - * // { // Tag - * // Key: "STRING_VALUE", // required - * // Value: "STRING_VALUE", // required - * // }, - * // ], - * // }; - * - * ``` - * - * @param ListAttendeeTagsCommandInput - {@link ListAttendeeTagsCommandInput} - * @returns {@link ListAttendeeTagsCommandOutput} - * @see {@link ListAttendeeTagsCommandInput} for command's `input` shape. - * @see {@link ListAttendeeTagsCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class ListAttendeeTagsCommand extends $Command - .classBuilder< - ListAttendeeTagsCommandInput, - ListAttendeeTagsCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "ListAttendeeTags", {}) - .n("ChimeClient", "ListAttendeeTagsCommand") - .f(void 0, ListAttendeeTagsResponseFilterSensitiveLog) - .ser(se_ListAttendeeTagsCommand) - .de(de_ListAttendeeTagsCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListAttendeeTagsRequest; - output: ListAttendeeTagsResponse; - }; - sdk: { - input: ListAttendeeTagsCommandInput; - output: ListAttendeeTagsCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/ListAttendeesCommand.ts b/clients/client-chime/src/commands/ListAttendeesCommand.ts deleted file mode 100644 index 6ec904955fc7..000000000000 --- a/clients/client-chime/src/commands/ListAttendeesCommand.ts +++ /dev/null @@ -1,139 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - ListAttendeesRequest, - ListAttendeesResponse, - ListAttendeesResponseFilterSensitiveLog, -} from "../models/models_1"; -import { de_ListAttendeesCommand, se_ListAttendeesCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListAttendeesCommand}. - */ -export interface ListAttendeesCommandInput extends ListAttendeesRequest {} -/** - * @public - * - * The output of {@link ListAttendeesCommand}. - */ -export interface ListAttendeesCommandOutput extends ListAttendeesResponse, __MetadataBearer {} - -/** - *

- * Lists the attendees for the specified Amazon Chime SDK meeting. For more information about the Amazon Chime SDK, see - * Using the Amazon Chime SDK - * in the Amazon Chime SDK Developer Guide. - *

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, ListAttendees, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by ListAttendees in the Amazon Chime SDK Meetings Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, ListAttendeesCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, ListAttendeesCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // ListAttendeesRequest - * MeetingId: "STRING_VALUE", // required - * NextToken: "STRING_VALUE", - * MaxResults: Number("int"), - * }; - * const command = new ListAttendeesCommand(input); - * const response = await client.send(command); - * // { // ListAttendeesResponse - * // Attendees: [ // AttendeeList - * // { // Attendee - * // ExternalUserId: "STRING_VALUE", - * // AttendeeId: "STRING_VALUE", - * // JoinToken: "STRING_VALUE", - * // }, - * // ], - * // NextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListAttendeesCommandInput - {@link ListAttendeesCommandInput} - * @returns {@link ListAttendeesCommandOutput} - * @see {@link ListAttendeesCommandInput} for command's `input` shape. - * @see {@link ListAttendeesCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class ListAttendeesCommand extends $Command - .classBuilder< - ListAttendeesCommandInput, - ListAttendeesCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "ListAttendees", {}) - .n("ChimeClient", "ListAttendeesCommand") - .f(void 0, ListAttendeesResponseFilterSensitiveLog) - .ser(se_ListAttendeesCommand) - .de(de_ListAttendeesCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListAttendeesRequest; - output: ListAttendeesResponse; - }; - sdk: { - input: ListAttendeesCommandInput; - output: ListAttendeesCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/ListBotsCommand.ts b/clients/client-chime/src/commands/ListBotsCommand.ts index 735ea3bf3b7d..1b6fbd3eedc6 100644 --- a/clients/client-chime/src/commands/ListBotsCommand.ts +++ b/clients/client-chime/src/commands/ListBotsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; import { commonParams } from "../endpoint/EndpointParameters"; -import { ListBotsRequest, ListBotsResponse, ListBotsResponseFilterSensitiveLog } from "../models/models_1"; +import { ListBotsRequest, ListBotsResponse, ListBotsResponseFilterSensitiveLog } from "../models/models_0"; import { de_ListBotsCommand, se_ListBotsCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/ListChannelBansCommand.ts b/clients/client-chime/src/commands/ListChannelBansCommand.ts deleted file mode 100644 index 8ae85526a706..000000000000 --- a/clients/client-chime/src/commands/ListChannelBansCommand.ts +++ /dev/null @@ -1,141 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - ListChannelBansRequest, - ListChannelBansRequestFilterSensitiveLog, - ListChannelBansResponse, - ListChannelBansResponseFilterSensitiveLog, -} from "../models/models_1"; -import { de_ListChannelBansCommand, se_ListChannelBansCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListChannelBansCommand}. - */ -export interface ListChannelBansCommandInput extends ListChannelBansRequest {} -/** - * @public - * - * The output of {@link ListChannelBansCommand}. - */ -export interface ListChannelBansCommandOutput extends ListChannelBansResponse, __MetadataBearer {} - -/** - *

Lists all the users banned from a particular channel.

- * - *

The x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, ListChannelBans, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by ListChannelBans in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, ListChannelBansCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, ListChannelBansCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // ListChannelBansRequest - * ChannelArn: "STRING_VALUE", // required - * MaxResults: Number("int"), - * NextToken: "STRING_VALUE", - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new ListChannelBansCommand(input); - * const response = await client.send(command); - * // { // ListChannelBansResponse - * // ChannelArn: "STRING_VALUE", - * // NextToken: "STRING_VALUE", - * // ChannelBans: [ // ChannelBanSummaryList - * // { // ChannelBanSummary - * // Member: { // Identity - * // Arn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // }, - * // }, - * // ], - * // }; - * - * ``` - * - * @param ListChannelBansCommandInput - {@link ListChannelBansCommandInput} - * @returns {@link ListChannelBansCommandOutput} - * @see {@link ListChannelBansCommandInput} for command's `input` shape. - * @see {@link ListChannelBansCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class ListChannelBansCommand extends $Command - .classBuilder< - ListChannelBansCommandInput, - ListChannelBansCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "ListChannelBans", {}) - .n("ChimeClient", "ListChannelBansCommand") - .f(ListChannelBansRequestFilterSensitiveLog, ListChannelBansResponseFilterSensitiveLog) - .ser(se_ListChannelBansCommand) - .de(de_ListChannelBansCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListChannelBansRequest; - output: ListChannelBansResponse; - }; - sdk: { - input: ListChannelBansCommandInput; - output: ListChannelBansCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/ListChannelMembershipsCommand.ts b/clients/client-chime/src/commands/ListChannelMembershipsCommand.ts deleted file mode 100644 index 05a622ca52d3..000000000000 --- a/clients/client-chime/src/commands/ListChannelMembershipsCommand.ts +++ /dev/null @@ -1,142 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - ListChannelMembershipsRequest, - ListChannelMembershipsRequestFilterSensitiveLog, - ListChannelMembershipsResponse, - ListChannelMembershipsResponseFilterSensitiveLog, -} from "../models/models_1"; -import { de_ListChannelMembershipsCommand, se_ListChannelMembershipsCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListChannelMembershipsCommand}. - */ -export interface ListChannelMembershipsCommandInput extends ListChannelMembershipsRequest {} -/** - * @public - * - * The output of {@link ListChannelMembershipsCommand}. - */ -export interface ListChannelMembershipsCommandOutput extends ListChannelMembershipsResponse, __MetadataBearer {} - -/** - *

Lists all channel memberships in a channel.

- * - *

The x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, ListChannelMemberships, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by ListChannelMemberships in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, ListChannelMembershipsCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, ListChannelMembershipsCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // ListChannelMembershipsRequest - * ChannelArn: "STRING_VALUE", // required - * Type: "DEFAULT" || "HIDDEN", - * MaxResults: Number("int"), - * NextToken: "STRING_VALUE", - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new ListChannelMembershipsCommand(input); - * const response = await client.send(command); - * // { // ListChannelMembershipsResponse - * // ChannelArn: "STRING_VALUE", - * // ChannelMemberships: [ // ChannelMembershipSummaryList - * // { // ChannelMembershipSummary - * // Member: { // Identity - * // Arn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // }, - * // }, - * // ], - * // NextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListChannelMembershipsCommandInput - {@link ListChannelMembershipsCommandInput} - * @returns {@link ListChannelMembershipsCommandOutput} - * @see {@link ListChannelMembershipsCommandInput} for command's `input` shape. - * @see {@link ListChannelMembershipsCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class ListChannelMembershipsCommand extends $Command - .classBuilder< - ListChannelMembershipsCommandInput, - ListChannelMembershipsCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "ListChannelMemberships", {}) - .n("ChimeClient", "ListChannelMembershipsCommand") - .f(ListChannelMembershipsRequestFilterSensitiveLog, ListChannelMembershipsResponseFilterSensitiveLog) - .ser(se_ListChannelMembershipsCommand) - .de(de_ListChannelMembershipsCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListChannelMembershipsRequest; - output: ListChannelMembershipsResponse; - }; - sdk: { - input: ListChannelMembershipsCommandInput; - output: ListChannelMembershipsCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/ListChannelMembershipsForAppInstanceUserCommand.ts b/clients/client-chime/src/commands/ListChannelMembershipsForAppInstanceUserCommand.ts deleted file mode 100644 index 4088faef295e..000000000000 --- a/clients/client-chime/src/commands/ListChannelMembershipsForAppInstanceUserCommand.ts +++ /dev/null @@ -1,158 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - ListChannelMembershipsForAppInstanceUserRequest, - ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog, - ListChannelMembershipsForAppInstanceUserResponse, - ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog, -} from "../models/models_1"; -import { - de_ListChannelMembershipsForAppInstanceUserCommand, - se_ListChannelMembershipsForAppInstanceUserCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListChannelMembershipsForAppInstanceUserCommand}. - */ -export interface ListChannelMembershipsForAppInstanceUserCommandInput - extends ListChannelMembershipsForAppInstanceUserRequest {} -/** - * @public - * - * The output of {@link ListChannelMembershipsForAppInstanceUserCommand}. - */ -export interface ListChannelMembershipsForAppInstanceUserCommandOutput - extends ListChannelMembershipsForAppInstanceUserResponse, - __MetadataBearer {} - -/** - *

Lists all channels that a particular AppInstanceUser is a part of. Only an - * AppInstanceAdmin can call the API with a user ARN that is not their own.

- * - *

The x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, ListChannelMembershipsForAppInstanceUser, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by ListChannelMembershipsForAppInstanceUser in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, ListChannelMembershipsForAppInstanceUserCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, ListChannelMembershipsForAppInstanceUserCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // ListChannelMembershipsForAppInstanceUserRequest - * AppInstanceUserArn: "STRING_VALUE", - * MaxResults: Number("int"), - * NextToken: "STRING_VALUE", - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new ListChannelMembershipsForAppInstanceUserCommand(input); - * const response = await client.send(command); - * // { // ListChannelMembershipsForAppInstanceUserResponse - * // ChannelMemberships: [ // ChannelMembershipForAppInstanceUserSummaryList - * // { // ChannelMembershipForAppInstanceUserSummary - * // ChannelSummary: { // ChannelSummary - * // Name: "STRING_VALUE", - * // ChannelArn: "STRING_VALUE", - * // Mode: "UNRESTRICTED" || "RESTRICTED", - * // Privacy: "PUBLIC" || "PRIVATE", - * // Metadata: "STRING_VALUE", - * // LastMessageTimestamp: new Date("TIMESTAMP"), - * // }, - * // AppInstanceUserMembershipSummary: { // AppInstanceUserMembershipSummary - * // Type: "DEFAULT" || "HIDDEN", - * // ReadMarkerTimestamp: new Date("TIMESTAMP"), - * // }, - * // }, - * // ], - * // NextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListChannelMembershipsForAppInstanceUserCommandInput - {@link ListChannelMembershipsForAppInstanceUserCommandInput} - * @returns {@link ListChannelMembershipsForAppInstanceUserCommandOutput} - * @see {@link ListChannelMembershipsForAppInstanceUserCommandInput} for command's `input` shape. - * @see {@link ListChannelMembershipsForAppInstanceUserCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class ListChannelMembershipsForAppInstanceUserCommand extends $Command - .classBuilder< - ListChannelMembershipsForAppInstanceUserCommandInput, - ListChannelMembershipsForAppInstanceUserCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "ListChannelMembershipsForAppInstanceUser", {}) - .n("ChimeClient", "ListChannelMembershipsForAppInstanceUserCommand") - .f( - ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog, - ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog - ) - .ser(se_ListChannelMembershipsForAppInstanceUserCommand) - .de(de_ListChannelMembershipsForAppInstanceUserCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListChannelMembershipsForAppInstanceUserRequest; - output: ListChannelMembershipsForAppInstanceUserResponse; - }; - sdk: { - input: ListChannelMembershipsForAppInstanceUserCommandInput; - output: ListChannelMembershipsForAppInstanceUserCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/ListChannelMessagesCommand.ts b/clients/client-chime/src/commands/ListChannelMessagesCommand.ts deleted file mode 100644 index e8b1bff444e4..000000000000 --- a/clients/client-chime/src/commands/ListChannelMessagesCommand.ts +++ /dev/null @@ -1,157 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - ListChannelMessagesRequest, - ListChannelMessagesRequestFilterSensitiveLog, - ListChannelMessagesResponse, - ListChannelMessagesResponseFilterSensitiveLog, -} from "../models/models_1"; -import { de_ListChannelMessagesCommand, se_ListChannelMessagesCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListChannelMessagesCommand}. - */ -export interface ListChannelMessagesCommandInput extends ListChannelMessagesRequest {} -/** - * @public - * - * The output of {@link ListChannelMessagesCommand}. - */ -export interface ListChannelMessagesCommandOutput extends ListChannelMessagesResponse, __MetadataBearer {} - -/** - *

List all the messages in a channel. Returns a paginated list of - * ChannelMessages. By default, sorted by creation timestamp in descending - * order.

- * - *

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.

- *

Also, the x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, ListChannelMessages, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by ListChannelMessages in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, ListChannelMessagesCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, ListChannelMessagesCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // ListChannelMessagesRequest - * ChannelArn: "STRING_VALUE", // required - * SortOrder: "ASCENDING" || "DESCENDING", - * NotBefore: new Date("TIMESTAMP"), - * NotAfter: new Date("TIMESTAMP"), - * MaxResults: Number("int"), - * NextToken: "STRING_VALUE", - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new ListChannelMessagesCommand(input); - * const response = await client.send(command); - * // { // ListChannelMessagesResponse - * // ChannelArn: "STRING_VALUE", - * // NextToken: "STRING_VALUE", - * // ChannelMessages: [ // ChannelMessageSummaryList - * // { // ChannelMessageSummary - * // MessageId: "STRING_VALUE", - * // Content: "STRING_VALUE", - * // Metadata: "STRING_VALUE", - * // Type: "STANDARD" || "CONTROL", - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // LastUpdatedTimestamp: new Date("TIMESTAMP"), - * // LastEditedTimestamp: new Date("TIMESTAMP"), - * // Sender: { // Identity - * // Arn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // }, - * // Redacted: true || false, - * // }, - * // ], - * // }; - * - * ``` - * - * @param ListChannelMessagesCommandInput - {@link ListChannelMessagesCommandInput} - * @returns {@link ListChannelMessagesCommandOutput} - * @see {@link ListChannelMessagesCommandInput} for command's `input` shape. - * @see {@link ListChannelMessagesCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class ListChannelMessagesCommand extends $Command - .classBuilder< - ListChannelMessagesCommandInput, - ListChannelMessagesCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "ListChannelMessages", {}) - .n("ChimeClient", "ListChannelMessagesCommand") - .f(ListChannelMessagesRequestFilterSensitiveLog, ListChannelMessagesResponseFilterSensitiveLog) - .ser(se_ListChannelMessagesCommand) - .de(de_ListChannelMessagesCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListChannelMessagesRequest; - output: ListChannelMessagesResponse; - }; - sdk: { - input: ListChannelMessagesCommandInput; - output: ListChannelMessagesCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/ListChannelModeratorsCommand.ts b/clients/client-chime/src/commands/ListChannelModeratorsCommand.ts deleted file mode 100644 index ee91688f6bf2..000000000000 --- a/clients/client-chime/src/commands/ListChannelModeratorsCommand.ts +++ /dev/null @@ -1,141 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - ListChannelModeratorsRequest, - ListChannelModeratorsRequestFilterSensitiveLog, - ListChannelModeratorsResponse, - ListChannelModeratorsResponseFilterSensitiveLog, -} from "../models/models_1"; -import { de_ListChannelModeratorsCommand, se_ListChannelModeratorsCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListChannelModeratorsCommand}. - */ -export interface ListChannelModeratorsCommandInput extends ListChannelModeratorsRequest {} -/** - * @public - * - * The output of {@link ListChannelModeratorsCommand}. - */ -export interface ListChannelModeratorsCommandOutput extends ListChannelModeratorsResponse, __MetadataBearer {} - -/** - *

Lists all the moderators for a channel.

- * - *

The x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, ListChannelModerators, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by ListChannelModerators in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, ListChannelModeratorsCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, ListChannelModeratorsCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // ListChannelModeratorsRequest - * ChannelArn: "STRING_VALUE", // required - * MaxResults: Number("int"), - * NextToken: "STRING_VALUE", - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new ListChannelModeratorsCommand(input); - * const response = await client.send(command); - * // { // ListChannelModeratorsResponse - * // ChannelArn: "STRING_VALUE", - * // NextToken: "STRING_VALUE", - * // ChannelModerators: [ // ChannelModeratorSummaryList - * // { // ChannelModeratorSummary - * // Moderator: { // Identity - * // Arn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // }, - * // }, - * // ], - * // }; - * - * ``` - * - * @param ListChannelModeratorsCommandInput - {@link ListChannelModeratorsCommandInput} - * @returns {@link ListChannelModeratorsCommandOutput} - * @see {@link ListChannelModeratorsCommandInput} for command's `input` shape. - * @see {@link ListChannelModeratorsCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class ListChannelModeratorsCommand extends $Command - .classBuilder< - ListChannelModeratorsCommandInput, - ListChannelModeratorsCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "ListChannelModerators", {}) - .n("ChimeClient", "ListChannelModeratorsCommand") - .f(ListChannelModeratorsRequestFilterSensitiveLog, ListChannelModeratorsResponseFilterSensitiveLog) - .ser(se_ListChannelModeratorsCommand) - .de(de_ListChannelModeratorsCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListChannelModeratorsRequest; - output: ListChannelModeratorsResponse; - }; - sdk: { - input: ListChannelModeratorsCommandInput; - output: ListChannelModeratorsCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/ListChannelsCommand.ts b/clients/client-chime/src/commands/ListChannelsCommand.ts deleted file mode 100644 index 93a0f7b1e521..000000000000 --- a/clients/client-chime/src/commands/ListChannelsCommand.ts +++ /dev/null @@ -1,157 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - ListChannelsRequest, - ListChannelsRequestFilterSensitiveLog, - ListChannelsResponse, - ListChannelsResponseFilterSensitiveLog, -} from "../models/models_1"; -import { de_ListChannelsCommand, se_ListChannelsCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListChannelsCommand}. - */ -export interface ListChannelsCommandInput extends ListChannelsRequest {} -/** - * @public - * - * The output of {@link ListChannelsCommand}. - */ -export interface ListChannelsCommandOutput extends ListChannelsResponse, __MetadataBearer {} - -/** - *

Lists all Channels created under a single Chime App as a paginated list. You can specify - * filters to narrow results.

- *

- * Functionality & restrictions - *

- *
    - *
  • - *

    Use privacy = PUBLIC to retrieve all public channels in the - * account.

    - *
  • - *
  • - *

    Only an AppInstanceAdmin can set privacy = PRIVATE to - * list the private channels in an account.

    - *
  • - *
- * - *

The x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, ListChannels, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by ListChannels in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, ListChannelsCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, ListChannelsCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // ListChannelsRequest - * AppInstanceArn: "STRING_VALUE", // required - * Privacy: "PUBLIC" || "PRIVATE", - * MaxResults: Number("int"), - * NextToken: "STRING_VALUE", - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new ListChannelsCommand(input); - * const response = await client.send(command); - * // { // ListChannelsResponse - * // Channels: [ // ChannelSummaryList - * // { // ChannelSummary - * // Name: "STRING_VALUE", - * // ChannelArn: "STRING_VALUE", - * // Mode: "UNRESTRICTED" || "RESTRICTED", - * // Privacy: "PUBLIC" || "PRIVATE", - * // Metadata: "STRING_VALUE", - * // LastMessageTimestamp: new Date("TIMESTAMP"), - * // }, - * // ], - * // NextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListChannelsCommandInput - {@link ListChannelsCommandInput} - * @returns {@link ListChannelsCommandOutput} - * @see {@link ListChannelsCommandInput} for command's `input` shape. - * @see {@link ListChannelsCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class ListChannelsCommand extends $Command - .classBuilder< - ListChannelsCommandInput, - ListChannelsCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "ListChannels", {}) - .n("ChimeClient", "ListChannelsCommand") - .f(ListChannelsRequestFilterSensitiveLog, ListChannelsResponseFilterSensitiveLog) - .ser(se_ListChannelsCommand) - .de(de_ListChannelsCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListChannelsRequest; - output: ListChannelsResponse; - }; - sdk: { - input: ListChannelsCommandInput; - output: ListChannelsCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/ListChannelsModeratedByAppInstanceUserCommand.ts b/clients/client-chime/src/commands/ListChannelsModeratedByAppInstanceUserCommand.ts deleted file mode 100644 index 29d4c6dd6759..000000000000 --- a/clients/client-chime/src/commands/ListChannelsModeratedByAppInstanceUserCommand.ts +++ /dev/null @@ -1,153 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - ListChannelsModeratedByAppInstanceUserRequest, - ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog, - ListChannelsModeratedByAppInstanceUserResponse, - ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog, -} from "../models/models_1"; -import { - de_ListChannelsModeratedByAppInstanceUserCommand, - se_ListChannelsModeratedByAppInstanceUserCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListChannelsModeratedByAppInstanceUserCommand}. - */ -export interface ListChannelsModeratedByAppInstanceUserCommandInput - extends ListChannelsModeratedByAppInstanceUserRequest {} -/** - * @public - * - * The output of {@link ListChannelsModeratedByAppInstanceUserCommand}. - */ -export interface ListChannelsModeratedByAppInstanceUserCommandOutput - extends ListChannelsModeratedByAppInstanceUserResponse, - __MetadataBearer {} - -/** - *

A list of the channels moderated by an AppInstanceUser.

- * - *

The x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, ListChannelsModeratedByAppInstanceUser, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by ListChannelsModeratedByAppInstanceUser in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, ListChannelsModeratedByAppInstanceUserCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, ListChannelsModeratedByAppInstanceUserCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // ListChannelsModeratedByAppInstanceUserRequest - * AppInstanceUserArn: "STRING_VALUE", - * MaxResults: Number("int"), - * NextToken: "STRING_VALUE", - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new ListChannelsModeratedByAppInstanceUserCommand(input); - * const response = await client.send(command); - * // { // ListChannelsModeratedByAppInstanceUserResponse - * // Channels: [ // ChannelModeratedByAppInstanceUserSummaryList - * // { // ChannelModeratedByAppInstanceUserSummary - * // ChannelSummary: { // ChannelSummary - * // Name: "STRING_VALUE", - * // ChannelArn: "STRING_VALUE", - * // Mode: "UNRESTRICTED" || "RESTRICTED", - * // Privacy: "PUBLIC" || "PRIVATE", - * // Metadata: "STRING_VALUE", - * // LastMessageTimestamp: new Date("TIMESTAMP"), - * // }, - * // }, - * // ], - * // NextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListChannelsModeratedByAppInstanceUserCommandInput - {@link ListChannelsModeratedByAppInstanceUserCommandInput} - * @returns {@link ListChannelsModeratedByAppInstanceUserCommandOutput} - * @see {@link ListChannelsModeratedByAppInstanceUserCommandInput} for command's `input` shape. - * @see {@link ListChannelsModeratedByAppInstanceUserCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class ListChannelsModeratedByAppInstanceUserCommand extends $Command - .classBuilder< - ListChannelsModeratedByAppInstanceUserCommandInput, - ListChannelsModeratedByAppInstanceUserCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "ListChannelsModeratedByAppInstanceUser", {}) - .n("ChimeClient", "ListChannelsModeratedByAppInstanceUserCommand") - .f( - ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog, - ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog - ) - .ser(se_ListChannelsModeratedByAppInstanceUserCommand) - .de(de_ListChannelsModeratedByAppInstanceUserCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListChannelsModeratedByAppInstanceUserRequest; - output: ListChannelsModeratedByAppInstanceUserResponse; - }; - sdk: { - input: ListChannelsModeratedByAppInstanceUserCommandInput; - output: ListChannelsModeratedByAppInstanceUserCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/ListMediaCapturePipelinesCommand.ts b/clients/client-chime/src/commands/ListMediaCapturePipelinesCommand.ts deleted file mode 100644 index b54f1bf38547..000000000000 --- a/clients/client-chime/src/commands/ListMediaCapturePipelinesCommand.ts +++ /dev/null @@ -1,161 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - ListMediaCapturePipelinesRequest, - ListMediaCapturePipelinesResponse, - ListMediaCapturePipelinesResponseFilterSensitiveLog, -} from "../models/models_1"; -import { de_ListMediaCapturePipelinesCommand, se_ListMediaCapturePipelinesCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListMediaCapturePipelinesCommand}. - */ -export interface ListMediaCapturePipelinesCommandInput extends ListMediaCapturePipelinesRequest {} -/** - * @public - * - * The output of {@link ListMediaCapturePipelinesCommand}. - */ -export interface ListMediaCapturePipelinesCommandOutput extends ListMediaCapturePipelinesResponse, __MetadataBearer {} - -/** - *

Returns a list of media capture pipelines.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, ListMediaCapturePipelines, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by ListMediaCapturePipelines in the Amazon Chime SDK Media Pipelines Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, ListMediaCapturePipelinesCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, ListMediaCapturePipelinesCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // ListMediaCapturePipelinesRequest - * NextToken: "STRING_VALUE", - * MaxResults: Number("int"), - * }; - * const command = new ListMediaCapturePipelinesCommand(input); - * const response = await client.send(command); - * // { // ListMediaCapturePipelinesResponse - * // MediaCapturePipelines: [ // MediaCapturePipelineList - * // { // MediaCapturePipeline - * // MediaPipelineId: "STRING_VALUE", - * // SourceType: "ChimeSdkMeeting", - * // SourceArn: "STRING_VALUE", - * // Status: "Initializing" || "InProgress" || "Failed" || "Stopping" || "Stopped", - * // SinkType: "S3Bucket", - * // SinkArn: "STRING_VALUE", - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // UpdatedTimestamp: new Date("TIMESTAMP"), - * // ChimeSdkMeetingConfiguration: { // ChimeSdkMeetingConfiguration - * // SourceConfiguration: { // SourceConfiguration - * // SelectedVideoStreams: { // SelectedVideoStreams - * // AttendeeIds: [ // AttendeeIdList - * // "STRING_VALUE", - * // ], - * // ExternalUserIds: [ // ExternalUserIdList - * // "STRING_VALUE", - * // ], - * // }, - * // }, - * // ArtifactsConfiguration: { // ArtifactsConfiguration - * // Audio: { // AudioArtifactsConfiguration - * // MuxType: "AudioOnly" || "AudioWithActiveSpeakerVideo", // required - * // }, - * // Video: { // VideoArtifactsConfiguration - * // State: "Enabled" || "Disabled", // required - * // MuxType: "VideoOnly", - * // }, - * // Content: { // ContentArtifactsConfiguration - * // State: "Enabled" || "Disabled", // required - * // MuxType: "ContentOnly", - * // }, - * // }, - * // }, - * // }, - * // ], - * // NextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListMediaCapturePipelinesCommandInput - {@link ListMediaCapturePipelinesCommandInput} - * @returns {@link ListMediaCapturePipelinesCommandOutput} - * @see {@link ListMediaCapturePipelinesCommandInput} for command's `input` shape. - * @see {@link ListMediaCapturePipelinesCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class ListMediaCapturePipelinesCommand extends $Command - .classBuilder< - ListMediaCapturePipelinesCommandInput, - ListMediaCapturePipelinesCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "ListMediaCapturePipelines", {}) - .n("ChimeClient", "ListMediaCapturePipelinesCommand") - .f(void 0, ListMediaCapturePipelinesResponseFilterSensitiveLog) - .ser(se_ListMediaCapturePipelinesCommand) - .de(de_ListMediaCapturePipelinesCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListMediaCapturePipelinesRequest; - output: ListMediaCapturePipelinesResponse; - }; - sdk: { - input: ListMediaCapturePipelinesCommandInput; - output: ListMediaCapturePipelinesCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/ListMeetingTagsCommand.ts b/clients/client-chime/src/commands/ListMeetingTagsCommand.ts deleted file mode 100644 index 99baabccb07f..000000000000 --- a/clients/client-chime/src/commands/ListMeetingTagsCommand.ts +++ /dev/null @@ -1,131 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - ListMeetingTagsRequest, - ListMeetingTagsResponse, - ListMeetingTagsResponseFilterSensitiveLog, -} from "../models/models_1"; -import { de_ListMeetingTagsCommand, se_ListMeetingTagsCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListMeetingTagsCommand}. - */ -export interface ListMeetingTagsCommandInput extends ListMeetingTagsRequest {} -/** - * @public - * - * The output of {@link ListMeetingTagsCommand}. - */ -export interface ListMeetingTagsCommandOutput extends ListMeetingTagsResponse, __MetadataBearer {} - -/** - *

Lists the tags applied to an Amazon Chime SDK meeting resource.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, ListTagsForResource, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Use ListTagsForResource in the Amazon Chime SDK Meetings Namespace. - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, ListMeetingTagsCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, ListMeetingTagsCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // ListMeetingTagsRequest - * MeetingId: "STRING_VALUE", // required - * }; - * const command = new ListMeetingTagsCommand(input); - * const response = await client.send(command); - * // { // ListMeetingTagsResponse - * // Tags: [ // TagList - * // { // Tag - * // Key: "STRING_VALUE", // required - * // Value: "STRING_VALUE", // required - * // }, - * // ], - * // }; - * - * ``` - * - * @param ListMeetingTagsCommandInput - {@link ListMeetingTagsCommandInput} - * @returns {@link ListMeetingTagsCommandOutput} - * @see {@link ListMeetingTagsCommandInput} for command's `input` shape. - * @see {@link ListMeetingTagsCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class ListMeetingTagsCommand extends $Command - .classBuilder< - ListMeetingTagsCommandInput, - ListMeetingTagsCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "ListMeetingTags", {}) - .n("ChimeClient", "ListMeetingTagsCommand") - .f(void 0, ListMeetingTagsResponseFilterSensitiveLog) - .ser(se_ListMeetingTagsCommand) - .de(de_ListMeetingTagsCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListMeetingTagsRequest; - output: ListMeetingTagsResponse; - }; - sdk: { - input: ListMeetingTagsCommandInput; - output: ListMeetingTagsCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/ListMeetingsCommand.ts b/clients/client-chime/src/commands/ListMeetingsCommand.ts deleted file mode 100644 index 188fb35a11c3..000000000000 --- a/clients/client-chime/src/commands/ListMeetingsCommand.ts +++ /dev/null @@ -1,136 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { ListMeetingsRequest, ListMeetingsResponse, ListMeetingsResponseFilterSensitiveLog } from "../models/models_1"; -import { de_ListMeetingsCommand, se_ListMeetingsCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListMeetingsCommand}. - */ -export interface ListMeetingsCommandInput extends ListMeetingsRequest {} -/** - * @public - * - * The output of {@link ListMeetingsCommand}. - */ -export interface ListMeetingsCommandOutput extends ListMeetingsResponse, __MetadataBearer {} - -/** - *

Lists up to 100 active Amazon Chime SDK meetings.

- * - *

ListMeetings is not supported in the Amazon Chime SDK Meetings Namespace. Update your application to remove calls to this API.

- *
- *

For more information about the Amazon Chime SDK, see - * Using the Amazon Chime SDK - * in the Amazon Chime SDK Developer Guide.

- * - * @deprecated ListMeetings is not supported in the Amazon Chime SDK Meetings Namespace. Update your application to remove calls to this API. - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, ListMeetingsCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, ListMeetingsCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // ListMeetingsRequest - * NextToken: "STRING_VALUE", - * MaxResults: Number("int"), - * }; - * const command = new ListMeetingsCommand(input); - * const response = await client.send(command); - * // { // ListMeetingsResponse - * // Meetings: [ // MeetingList - * // { // Meeting - * // MeetingId: "STRING_VALUE", - * // ExternalMeetingId: "STRING_VALUE", - * // MediaPlacement: { // MediaPlacement - * // AudioHostUrl: "STRING_VALUE", - * // AudioFallbackUrl: "STRING_VALUE", - * // ScreenDataUrl: "STRING_VALUE", - * // ScreenSharingUrl: "STRING_VALUE", - * // ScreenViewingUrl: "STRING_VALUE", - * // SignalingUrl: "STRING_VALUE", - * // TurnControlUrl: "STRING_VALUE", - * // EventIngestionUrl: "STRING_VALUE", - * // }, - * // MediaRegion: "STRING_VALUE", - * // }, - * // ], - * // NextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListMeetingsCommandInput - {@link ListMeetingsCommandInput} - * @returns {@link ListMeetingsCommandOutput} - * @see {@link ListMeetingsCommandInput} for command's `input` shape. - * @see {@link ListMeetingsCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class ListMeetingsCommand extends $Command - .classBuilder< - ListMeetingsCommandInput, - ListMeetingsCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "ListMeetings", {}) - .n("ChimeClient", "ListMeetingsCommand") - .f(void 0, ListMeetingsResponseFilterSensitiveLog) - .ser(se_ListMeetingsCommand) - .de(de_ListMeetingsCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListMeetingsRequest; - output: ListMeetingsResponse; - }; - sdk: { - input: ListMeetingsCommandInput; - output: ListMeetingsCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/ListPhoneNumberOrdersCommand.ts b/clients/client-chime/src/commands/ListPhoneNumberOrdersCommand.ts index 7d304adfef3c..e9a257fe1e84 100644 --- a/clients/client-chime/src/commands/ListPhoneNumberOrdersCommand.ts +++ b/clients/client-chime/src/commands/ListPhoneNumberOrdersCommand.ts @@ -10,7 +10,7 @@ import { ListPhoneNumberOrdersRequest, ListPhoneNumberOrdersResponse, ListPhoneNumberOrdersResponseFilterSensitiveLog, -} from "../models/models_1"; +} from "../models/models_0"; import { de_ListPhoneNumberOrdersCommand, se_ListPhoneNumberOrdersCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/ListPhoneNumbersCommand.ts b/clients/client-chime/src/commands/ListPhoneNumbersCommand.ts index 10f37dd5a91a..2b8a3b231cab 100644 --- a/clients/client-chime/src/commands/ListPhoneNumbersCommand.ts +++ b/clients/client-chime/src/commands/ListPhoneNumbersCommand.ts @@ -10,7 +10,7 @@ import { ListPhoneNumbersRequest, ListPhoneNumbersResponse, ListPhoneNumbersResponseFilterSensitiveLog, -} from "../models/models_1"; +} from "../models/models_0"; import { de_ListPhoneNumbersCommand, se_ListPhoneNumbersCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/ListProxySessionsCommand.ts b/clients/client-chime/src/commands/ListProxySessionsCommand.ts deleted file mode 100644 index cc787dfbf774..000000000000 --- a/clients/client-chime/src/commands/ListProxySessionsCommand.ts +++ /dev/null @@ -1,156 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - ListProxySessionsRequest, - ListProxySessionsResponse, - ListProxySessionsResponseFilterSensitiveLog, -} from "../models/models_1"; -import { de_ListProxySessionsCommand, se_ListProxySessionsCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListProxySessionsCommand}. - */ -export interface ListProxySessionsCommandInput extends ListProxySessionsRequest {} -/** - * @public - * - * The output of {@link ListProxySessionsCommand}. - */ -export interface ListProxySessionsCommandOutput extends ListProxySessionsResponse, __MetadataBearer {} - -/** - *

Lists the proxy sessions for the specified Amazon Chime Voice Connector.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, ListProxySessions, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by ListProxySessions in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, ListProxySessionsCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, ListProxySessionsCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // ListProxySessionsRequest - * VoiceConnectorId: "STRING_VALUE", // required - * Status: "Open" || "InProgress" || "Closed", - * NextToken: "STRING_VALUE", - * MaxResults: Number("int"), - * }; - * const command = new ListProxySessionsCommand(input); - * const response = await client.send(command); - * // { // ListProxySessionsResponse - * // ProxySessions: [ // ProxySessions - * // { // ProxySession - * // VoiceConnectorId: "STRING_VALUE", - * // ProxySessionId: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // Status: "Open" || "InProgress" || "Closed", - * // ExpiryMinutes: Number("int"), - * // Capabilities: [ // CapabilityList - * // "Voice" || "SMS", - * // ], - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // UpdatedTimestamp: new Date("TIMESTAMP"), - * // EndedTimestamp: new Date("TIMESTAMP"), - * // Participants: [ // Participants - * // { // Participant - * // PhoneNumber: "STRING_VALUE", - * // ProxyPhoneNumber: "STRING_VALUE", - * // }, - * // ], - * // NumberSelectionBehavior: "PreferSticky" || "AvoidSticky", - * // GeoMatchLevel: "Country" || "AreaCode", - * // GeoMatchParams: { // GeoMatchParams - * // Country: "STRING_VALUE", // required - * // AreaCode: "STRING_VALUE", // required - * // }, - * // }, - * // ], - * // NextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListProxySessionsCommandInput - {@link ListProxySessionsCommandInput} - * @returns {@link ListProxySessionsCommandOutput} - * @see {@link ListProxySessionsCommandInput} for command's `input` shape. - * @see {@link ListProxySessionsCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class ListProxySessionsCommand extends $Command - .classBuilder< - ListProxySessionsCommandInput, - ListProxySessionsCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "ListProxySessions", {}) - .n("ChimeClient", "ListProxySessionsCommand") - .f(void 0, ListProxySessionsResponseFilterSensitiveLog) - .ser(se_ListProxySessionsCommand) - .de(de_ListProxySessionsCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListProxySessionsRequest; - output: ListProxySessionsResponse; - }; - sdk: { - input: ListProxySessionsCommandInput; - output: ListProxySessionsCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/ListRoomMembershipsCommand.ts b/clients/client-chime/src/commands/ListRoomMembershipsCommand.ts index 917ec8b3fbd9..cf9a40774275 100644 --- a/clients/client-chime/src/commands/ListRoomMembershipsCommand.ts +++ b/clients/client-chime/src/commands/ListRoomMembershipsCommand.ts @@ -10,7 +10,7 @@ import { ListRoomMembershipsRequest, ListRoomMembershipsResponse, ListRoomMembershipsResponseFilterSensitiveLog, -} from "../models/models_1"; +} from "../models/models_0"; import { de_ListRoomMembershipsCommand, se_ListRoomMembershipsCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/ListRoomsCommand.ts b/clients/client-chime/src/commands/ListRoomsCommand.ts index 605ce84f0ee8..1cb52a079543 100644 --- a/clients/client-chime/src/commands/ListRoomsCommand.ts +++ b/clients/client-chime/src/commands/ListRoomsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; import { commonParams } from "../endpoint/EndpointParameters"; -import { ListRoomsRequest, ListRoomsResponse, ListRoomsResponseFilterSensitiveLog } from "../models/models_1"; +import { ListRoomsRequest, ListRoomsResponse, ListRoomsResponseFilterSensitiveLog } from "../models/models_0"; import { de_ListRoomsCommand, se_ListRoomsCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/ListSipMediaApplicationsCommand.ts b/clients/client-chime/src/commands/ListSipMediaApplicationsCommand.ts deleted file mode 100644 index 51b870cfe408..000000000000 --- a/clients/client-chime/src/commands/ListSipMediaApplicationsCommand.ts +++ /dev/null @@ -1,138 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - ListSipMediaApplicationsRequest, - ListSipMediaApplicationsResponse, - ListSipMediaApplicationsResponseFilterSensitiveLog, -} from "../models/models_1"; -import { de_ListSipMediaApplicationsCommand, se_ListSipMediaApplicationsCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListSipMediaApplicationsCommand}. - */ -export interface ListSipMediaApplicationsCommandInput extends ListSipMediaApplicationsRequest {} -/** - * @public - * - * The output of {@link ListSipMediaApplicationsCommand}. - */ -export interface ListSipMediaApplicationsCommandOutput extends ListSipMediaApplicationsResponse, __MetadataBearer {} - -/** - *

Lists the SIP media applications under the administrator's AWS account.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, ListSipMediaApplications, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by ListSipMediaApplications in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, ListSipMediaApplicationsCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, ListSipMediaApplicationsCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // ListSipMediaApplicationsRequest - * MaxResults: Number("int"), - * NextToken: "STRING_VALUE", - * }; - * const command = new ListSipMediaApplicationsCommand(input); - * const response = await client.send(command); - * // { // ListSipMediaApplicationsResponse - * // SipMediaApplications: [ // SipMediaApplicationList - * // { // SipMediaApplication - * // SipMediaApplicationId: "STRING_VALUE", - * // AwsRegion: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // Endpoints: [ // SipMediaApplicationEndpointList - * // { // SipMediaApplicationEndpoint - * // LambdaArn: "STRING_VALUE", - * // }, - * // ], - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // UpdatedTimestamp: new Date("TIMESTAMP"), - * // }, - * // ], - * // NextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListSipMediaApplicationsCommandInput - {@link ListSipMediaApplicationsCommandInput} - * @returns {@link ListSipMediaApplicationsCommandOutput} - * @see {@link ListSipMediaApplicationsCommandInput} for command's `input` shape. - * @see {@link ListSipMediaApplicationsCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class ListSipMediaApplicationsCommand extends $Command - .classBuilder< - ListSipMediaApplicationsCommandInput, - ListSipMediaApplicationsCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "ListSipMediaApplications", {}) - .n("ChimeClient", "ListSipMediaApplicationsCommand") - .f(void 0, ListSipMediaApplicationsResponseFilterSensitiveLog) - .ser(se_ListSipMediaApplicationsCommand) - .de(de_ListSipMediaApplicationsCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListSipMediaApplicationsRequest; - output: ListSipMediaApplicationsResponse; - }; - sdk: { - input: ListSipMediaApplicationsCommandInput; - output: ListSipMediaApplicationsCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/ListSipRulesCommand.ts b/clients/client-chime/src/commands/ListSipRulesCommand.ts deleted file mode 100644 index 90c977b81ef3..000000000000 --- a/clients/client-chime/src/commands/ListSipRulesCommand.ts +++ /dev/null @@ -1,139 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { ListSipRulesRequest, ListSipRulesResponse } from "../models/models_1"; -import { de_ListSipRulesCommand, se_ListSipRulesCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListSipRulesCommand}. - */ -export interface ListSipRulesCommandInput extends ListSipRulesRequest {} -/** - * @public - * - * The output of {@link ListSipRulesCommand}. - */ -export interface ListSipRulesCommandOutput extends ListSipRulesResponse, __MetadataBearer {} - -/** - *

Lists the SIP rules under the administrator's AWS account.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, ListSipRules, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by ListSipRules in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, ListSipRulesCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, ListSipRulesCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // ListSipRulesRequest - * SipMediaApplicationId: "STRING_VALUE", - * MaxResults: Number("int"), - * NextToken: "STRING_VALUE", - * }; - * const command = new ListSipRulesCommand(input); - * const response = await client.send(command); - * // { // ListSipRulesResponse - * // SipRules: [ // SipRuleList - * // { // SipRule - * // SipRuleId: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // Disabled: true || false, - * // TriggerType: "ToPhoneNumber" || "RequestUriHostname", - * // TriggerValue: "STRING_VALUE", - * // TargetApplications: [ // SipRuleTargetApplicationList - * // { // SipRuleTargetApplication - * // SipMediaApplicationId: "STRING_VALUE", - * // Priority: Number("int"), - * // AwsRegion: "STRING_VALUE", - * // }, - * // ], - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // UpdatedTimestamp: new Date("TIMESTAMP"), - * // }, - * // ], - * // NextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListSipRulesCommandInput - {@link ListSipRulesCommandInput} - * @returns {@link ListSipRulesCommandOutput} - * @see {@link ListSipRulesCommandInput} for command's `input` shape. - * @see {@link ListSipRulesCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class ListSipRulesCommand extends $Command - .classBuilder< - ListSipRulesCommandInput, - ListSipRulesCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "ListSipRules", {}) - .n("ChimeClient", "ListSipRulesCommand") - .f(void 0, void 0) - .ser(se_ListSipRulesCommand) - .de(de_ListSipRulesCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListSipRulesRequest; - output: ListSipRulesResponse; - }; - sdk: { - input: ListSipRulesCommandInput; - output: ListSipRulesCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/ListSupportedPhoneNumberCountriesCommand.ts b/clients/client-chime/src/commands/ListSupportedPhoneNumberCountriesCommand.ts index 81e7488aa60f..ce6ae88df4c4 100644 --- a/clients/client-chime/src/commands/ListSupportedPhoneNumberCountriesCommand.ts +++ b/clients/client-chime/src/commands/ListSupportedPhoneNumberCountriesCommand.ts @@ -9,7 +9,7 @@ import { commonParams } from "../endpoint/EndpointParameters"; import { ListSupportedPhoneNumberCountriesRequest, ListSupportedPhoneNumberCountriesResponse, -} from "../models/models_1"; +} from "../models/models_0"; import { de_ListSupportedPhoneNumberCountriesCommand, se_ListSupportedPhoneNumberCountriesCommand, diff --git a/clients/client-chime/src/commands/ListTagsForResourceCommand.ts b/clients/client-chime/src/commands/ListTagsForResourceCommand.ts deleted file mode 100644 index b00fb03198f4..000000000000 --- a/clients/client-chime/src/commands/ListTagsForResourceCommand.ts +++ /dev/null @@ -1,137 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - ListTagsForResourceRequest, - ListTagsForResourceRequestFilterSensitiveLog, - ListTagsForResourceResponse, - ListTagsForResourceResponseFilterSensitiveLog, -} from "../models/models_1"; -import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListTagsForResourceCommand}. - */ -export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {} -/** - * @public - * - * The output of {@link ListTagsForResourceCommand}. - */ -export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {} - -/** - *

Lists the tags applied to an Amazon Chime SDK meeting and messaging resources.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the applicable latest version in the Amazon Chime SDK.

- * - *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by ListTagsForResource in the Amazon Chime SDK Voice, Amazon Chime SDK Meetings, Amazon Chime SDK Identity, Amazon Chime SDK Messaging, and Amazon Chime SDK Media Pipelines Namespaces - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, ListTagsForResourceCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, ListTagsForResourceCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // ListTagsForResourceRequest - * ResourceARN: "STRING_VALUE", // required - * }; - * const command = new ListTagsForResourceCommand(input); - * const response = await client.send(command); - * // { // ListTagsForResourceResponse - * // Tags: [ // TagList - * // { // Tag - * // Key: "STRING_VALUE", // required - * // Value: "STRING_VALUE", // required - * // }, - * // ], - * // }; - * - * ``` - * - * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput} - * @returns {@link ListTagsForResourceCommandOutput} - * @see {@link ListTagsForResourceCommandInput} for command's `input` shape. - * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class ListTagsForResourceCommand extends $Command - .classBuilder< - ListTagsForResourceCommandInput, - ListTagsForResourceCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "ListTagsForResource", {}) - .n("ChimeClient", "ListTagsForResourceCommand") - .f(ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog) - .ser(se_ListTagsForResourceCommand) - .de(de_ListTagsForResourceCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListTagsForResourceRequest; - output: ListTagsForResourceResponse; - }; - sdk: { - input: ListTagsForResourceCommandInput; - output: ListTagsForResourceCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/ListUsersCommand.ts b/clients/client-chime/src/commands/ListUsersCommand.ts index 03d40bdf4455..ad28f8764d2a 100644 --- a/clients/client-chime/src/commands/ListUsersCommand.ts +++ b/clients/client-chime/src/commands/ListUsersCommand.ts @@ -11,7 +11,7 @@ import { ListUsersRequestFilterSensitiveLog, ListUsersResponse, ListUsersResponseFilterSensitiveLog, -} from "../models/models_1"; +} from "../models/models_0"; import { de_ListUsersCommand, se_ListUsersCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/ListVoiceConnectorGroupsCommand.ts b/clients/client-chime/src/commands/ListVoiceConnectorGroupsCommand.ts deleted file mode 100644 index ebfba3e465df..000000000000 --- a/clients/client-chime/src/commands/ListVoiceConnectorGroupsCommand.ts +++ /dev/null @@ -1,135 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { ListVoiceConnectorGroupsRequest, ListVoiceConnectorGroupsResponse } from "../models/models_1"; -import { de_ListVoiceConnectorGroupsCommand, se_ListVoiceConnectorGroupsCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListVoiceConnectorGroupsCommand}. - */ -export interface ListVoiceConnectorGroupsCommandInput extends ListVoiceConnectorGroupsRequest {} -/** - * @public - * - * The output of {@link ListVoiceConnectorGroupsCommand}. - */ -export interface ListVoiceConnectorGroupsCommandOutput extends ListVoiceConnectorGroupsResponse, __MetadataBearer {} - -/** - *

Lists the Amazon Chime Voice Connector groups for the administrator's AWS account.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, ListVoiceConnectorGroups, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by ListVoiceConnectorGroups in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, ListVoiceConnectorGroupsCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, ListVoiceConnectorGroupsCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // ListVoiceConnectorGroupsRequest - * NextToken: "STRING_VALUE", - * MaxResults: Number("int"), - * }; - * const command = new ListVoiceConnectorGroupsCommand(input); - * const response = await client.send(command); - * // { // ListVoiceConnectorGroupsResponse - * // VoiceConnectorGroups: [ // VoiceConnectorGroupList - * // { // VoiceConnectorGroup - * // VoiceConnectorGroupId: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // VoiceConnectorItems: [ // VoiceConnectorItemList - * // { // VoiceConnectorItem - * // VoiceConnectorId: "STRING_VALUE", // required - * // Priority: Number("int"), // required - * // }, - * // ], - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // UpdatedTimestamp: new Date("TIMESTAMP"), - * // VoiceConnectorGroupArn: "STRING_VALUE", - * // }, - * // ], - * // NextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListVoiceConnectorGroupsCommandInput - {@link ListVoiceConnectorGroupsCommandInput} - * @returns {@link ListVoiceConnectorGroupsCommandOutput} - * @see {@link ListVoiceConnectorGroupsCommandInput} for command's `input` shape. - * @see {@link ListVoiceConnectorGroupsCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class ListVoiceConnectorGroupsCommand extends $Command - .classBuilder< - ListVoiceConnectorGroupsCommandInput, - ListVoiceConnectorGroupsCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "ListVoiceConnectorGroups", {}) - .n("ChimeClient", "ListVoiceConnectorGroupsCommand") - .f(void 0, void 0) - .ser(se_ListVoiceConnectorGroupsCommand) - .de(de_ListVoiceConnectorGroupsCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListVoiceConnectorGroupsRequest; - output: ListVoiceConnectorGroupsResponse; - }; - sdk: { - input: ListVoiceConnectorGroupsCommandInput; - output: ListVoiceConnectorGroupsCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/ListVoiceConnectorTerminationCredentialsCommand.ts b/clients/client-chime/src/commands/ListVoiceConnectorTerminationCredentialsCommand.ts deleted file mode 100644 index 486a8239cf78..000000000000 --- a/clients/client-chime/src/commands/ListVoiceConnectorTerminationCredentialsCommand.ts +++ /dev/null @@ -1,134 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - ListVoiceConnectorTerminationCredentialsRequest, - ListVoiceConnectorTerminationCredentialsResponse, - ListVoiceConnectorTerminationCredentialsResponseFilterSensitiveLog, -} from "../models/models_1"; -import { - de_ListVoiceConnectorTerminationCredentialsCommand, - se_ListVoiceConnectorTerminationCredentialsCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListVoiceConnectorTerminationCredentialsCommand}. - */ -export interface ListVoiceConnectorTerminationCredentialsCommandInput - extends ListVoiceConnectorTerminationCredentialsRequest {} -/** - * @public - * - * The output of {@link ListVoiceConnectorTerminationCredentialsCommand}. - */ -export interface ListVoiceConnectorTerminationCredentialsCommandOutput - extends ListVoiceConnectorTerminationCredentialsResponse, - __MetadataBearer {} - -/** - *

Lists the SIP credentials for the specified Amazon Chime Voice Connector.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, ListVoiceConnectorTerminationCredentials, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by ListVoiceConnectorTerminationCredentials in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, ListVoiceConnectorTerminationCredentialsCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, ListVoiceConnectorTerminationCredentialsCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // ListVoiceConnectorTerminationCredentialsRequest - * VoiceConnectorId: "STRING_VALUE", // required - * }; - * const command = new ListVoiceConnectorTerminationCredentialsCommand(input); - * const response = await client.send(command); - * // { // ListVoiceConnectorTerminationCredentialsResponse - * // Usernames: [ // SensitiveStringList - * // "STRING_VALUE", - * // ], - * // }; - * - * ``` - * - * @param ListVoiceConnectorTerminationCredentialsCommandInput - {@link ListVoiceConnectorTerminationCredentialsCommandInput} - * @returns {@link ListVoiceConnectorTerminationCredentialsCommandOutput} - * @see {@link ListVoiceConnectorTerminationCredentialsCommandInput} for command's `input` shape. - * @see {@link ListVoiceConnectorTerminationCredentialsCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class ListVoiceConnectorTerminationCredentialsCommand extends $Command - .classBuilder< - ListVoiceConnectorTerminationCredentialsCommandInput, - ListVoiceConnectorTerminationCredentialsCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "ListVoiceConnectorTerminationCredentials", {}) - .n("ChimeClient", "ListVoiceConnectorTerminationCredentialsCommand") - .f(void 0, ListVoiceConnectorTerminationCredentialsResponseFilterSensitiveLog) - .ser(se_ListVoiceConnectorTerminationCredentialsCommand) - .de(de_ListVoiceConnectorTerminationCredentialsCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListVoiceConnectorTerminationCredentialsRequest; - output: ListVoiceConnectorTerminationCredentialsResponse; - }; - sdk: { - input: ListVoiceConnectorTerminationCredentialsCommandInput; - output: ListVoiceConnectorTerminationCredentialsCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/ListVoiceConnectorsCommand.ts b/clients/client-chime/src/commands/ListVoiceConnectorsCommand.ts deleted file mode 100644 index bedbaca04f6e..000000000000 --- a/clients/client-chime/src/commands/ListVoiceConnectorsCommand.ts +++ /dev/null @@ -1,132 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { ListVoiceConnectorsRequest, ListVoiceConnectorsResponse } from "../models/models_1"; -import { de_ListVoiceConnectorsCommand, se_ListVoiceConnectorsCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListVoiceConnectorsCommand}. - */ -export interface ListVoiceConnectorsCommandInput extends ListVoiceConnectorsRequest {} -/** - * @public - * - * The output of {@link ListVoiceConnectorsCommand}. - */ -export interface ListVoiceConnectorsCommandOutput extends ListVoiceConnectorsResponse, __MetadataBearer {} - -/** - *

Lists the Amazon Chime Voice Connectors for the administrator's AWS account.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, ListVoiceConnectors, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by ListVoiceConnectors in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, ListVoiceConnectorsCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, ListVoiceConnectorsCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // ListVoiceConnectorsRequest - * NextToken: "STRING_VALUE", - * MaxResults: Number("int"), - * }; - * const command = new ListVoiceConnectorsCommand(input); - * const response = await client.send(command); - * // { // ListVoiceConnectorsResponse - * // VoiceConnectors: [ // VoiceConnectorList - * // { // VoiceConnector - * // VoiceConnectorId: "STRING_VALUE", - * // AwsRegion: "us-east-1" || "us-west-2", - * // Name: "STRING_VALUE", - * // OutboundHostName: "STRING_VALUE", - * // RequireEncryption: true || false, - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // UpdatedTimestamp: new Date("TIMESTAMP"), - * // VoiceConnectorArn: "STRING_VALUE", - * // }, - * // ], - * // NextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListVoiceConnectorsCommandInput - {@link ListVoiceConnectorsCommandInput} - * @returns {@link ListVoiceConnectorsCommandOutput} - * @see {@link ListVoiceConnectorsCommandInput} for command's `input` shape. - * @see {@link ListVoiceConnectorsCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class ListVoiceConnectorsCommand extends $Command - .classBuilder< - ListVoiceConnectorsCommandInput, - ListVoiceConnectorsCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "ListVoiceConnectors", {}) - .n("ChimeClient", "ListVoiceConnectorsCommand") - .f(void 0, void 0) - .ser(se_ListVoiceConnectorsCommand) - .de(de_ListVoiceConnectorsCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListVoiceConnectorsRequest; - output: ListVoiceConnectorsResponse; - }; - sdk: { - input: ListVoiceConnectorsCommandInput; - output: ListVoiceConnectorsCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/LogoutUserCommand.ts b/clients/client-chime/src/commands/LogoutUserCommand.ts index 5c79847b2cf5..4b2516ea008d 100644 --- a/clients/client-chime/src/commands/LogoutUserCommand.ts +++ b/clients/client-chime/src/commands/LogoutUserCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; import { commonParams } from "../endpoint/EndpointParameters"; -import { LogoutUserRequest, LogoutUserResponse } from "../models/models_1"; +import { LogoutUserRequest, LogoutUserResponse } from "../models/models_0"; import { de_LogoutUserCommand, se_LogoutUserCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/PutAppInstanceRetentionSettingsCommand.ts b/clients/client-chime/src/commands/PutAppInstanceRetentionSettingsCommand.ts deleted file mode 100644 index 8ee9aad8b163..000000000000 --- a/clients/client-chime/src/commands/PutAppInstanceRetentionSettingsCommand.ts +++ /dev/null @@ -1,141 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { PutAppInstanceRetentionSettingsRequest, PutAppInstanceRetentionSettingsResponse } from "../models/models_1"; -import { - de_PutAppInstanceRetentionSettingsCommand, - se_PutAppInstanceRetentionSettingsCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link PutAppInstanceRetentionSettingsCommand}. - */ -export interface PutAppInstanceRetentionSettingsCommandInput extends PutAppInstanceRetentionSettingsRequest {} -/** - * @public - * - * The output of {@link PutAppInstanceRetentionSettingsCommand}. - */ -export interface PutAppInstanceRetentionSettingsCommandOutput - extends PutAppInstanceRetentionSettingsResponse, - __MetadataBearer {} - -/** - *

Sets the amount of time in days that a given AppInstance retains data.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, PutAppInstanceRetentionSettings, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by PutAppInstanceRetentionSettings in the Amazon Chime SDK Identity Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, PutAppInstanceRetentionSettingsCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, PutAppInstanceRetentionSettingsCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // PutAppInstanceRetentionSettingsRequest - * AppInstanceArn: "STRING_VALUE", // required - * AppInstanceRetentionSettings: { // AppInstanceRetentionSettings - * ChannelRetentionSettings: { // ChannelRetentionSettings - * RetentionDays: Number("int"), - * }, - * }, - * }; - * const command = new PutAppInstanceRetentionSettingsCommand(input); - * const response = await client.send(command); - * // { // PutAppInstanceRetentionSettingsResponse - * // AppInstanceRetentionSettings: { // AppInstanceRetentionSettings - * // ChannelRetentionSettings: { // ChannelRetentionSettings - * // RetentionDays: Number("int"), - * // }, - * // }, - * // InitiateDeletionTimestamp: new Date("TIMESTAMP"), - * // }; - * - * ``` - * - * @param PutAppInstanceRetentionSettingsCommandInput - {@link PutAppInstanceRetentionSettingsCommandInput} - * @returns {@link PutAppInstanceRetentionSettingsCommandOutput} - * @see {@link PutAppInstanceRetentionSettingsCommandInput} for command's `input` shape. - * @see {@link PutAppInstanceRetentionSettingsCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ConflictException} (client fault) - *

The request could not be processed because of conflict in the current state of the - * resource.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class PutAppInstanceRetentionSettingsCommand extends $Command - .classBuilder< - PutAppInstanceRetentionSettingsCommandInput, - PutAppInstanceRetentionSettingsCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "PutAppInstanceRetentionSettings", {}) - .n("ChimeClient", "PutAppInstanceRetentionSettingsCommand") - .f(void 0, void 0) - .ser(se_PutAppInstanceRetentionSettingsCommand) - .de(de_PutAppInstanceRetentionSettingsCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: PutAppInstanceRetentionSettingsRequest; - output: PutAppInstanceRetentionSettingsResponse; - }; - sdk: { - input: PutAppInstanceRetentionSettingsCommandInput; - output: PutAppInstanceRetentionSettingsCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/PutAppInstanceStreamingConfigurationsCommand.ts b/clients/client-chime/src/commands/PutAppInstanceStreamingConfigurationsCommand.ts deleted file mode 100644 index 20701d845b7e..000000000000 --- a/clients/client-chime/src/commands/PutAppInstanceStreamingConfigurationsCommand.ts +++ /dev/null @@ -1,147 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - PutAppInstanceStreamingConfigurationsRequest, - PutAppInstanceStreamingConfigurationsRequestFilterSensitiveLog, - PutAppInstanceStreamingConfigurationsResponse, - PutAppInstanceStreamingConfigurationsResponseFilterSensitiveLog, -} from "../models/models_1"; -import { - de_PutAppInstanceStreamingConfigurationsCommand, - se_PutAppInstanceStreamingConfigurationsCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link PutAppInstanceStreamingConfigurationsCommand}. - */ -export interface PutAppInstanceStreamingConfigurationsCommandInput - extends PutAppInstanceStreamingConfigurationsRequest {} -/** - * @public - * - * The output of {@link PutAppInstanceStreamingConfigurationsCommand}. - */ -export interface PutAppInstanceStreamingConfigurationsCommandOutput - extends PutAppInstanceStreamingConfigurationsResponse, - __MetadataBearer {} - -/** - *

The data streaming configurations of an AppInstance.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, PutMessagingStreamingConfigurations, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by PutAppInstanceStreamingConfigurations in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, PutAppInstanceStreamingConfigurationsCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, PutAppInstanceStreamingConfigurationsCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // PutAppInstanceStreamingConfigurationsRequest - * AppInstanceArn: "STRING_VALUE", // required - * AppInstanceStreamingConfigurations: [ // AppInstanceStreamingConfigurationList // required - * { // AppInstanceStreamingConfiguration - * AppInstanceDataType: "Channel" || "ChannelMessage", // required - * ResourceArn: "STRING_VALUE", // required - * }, - * ], - * }; - * const command = new PutAppInstanceStreamingConfigurationsCommand(input); - * const response = await client.send(command); - * // { // PutAppInstanceStreamingConfigurationsResponse - * // AppInstanceStreamingConfigurations: [ // AppInstanceStreamingConfigurationList - * // { // AppInstanceStreamingConfiguration - * // AppInstanceDataType: "Channel" || "ChannelMessage", // required - * // ResourceArn: "STRING_VALUE", // required - * // }, - * // ], - * // }; - * - * ``` - * - * @param PutAppInstanceStreamingConfigurationsCommandInput - {@link PutAppInstanceStreamingConfigurationsCommandInput} - * @returns {@link PutAppInstanceStreamingConfigurationsCommandOutput} - * @see {@link PutAppInstanceStreamingConfigurationsCommandInput} for command's `input` shape. - * @see {@link PutAppInstanceStreamingConfigurationsCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class PutAppInstanceStreamingConfigurationsCommand extends $Command - .classBuilder< - PutAppInstanceStreamingConfigurationsCommandInput, - PutAppInstanceStreamingConfigurationsCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "PutAppInstanceStreamingConfigurations", {}) - .n("ChimeClient", "PutAppInstanceStreamingConfigurationsCommand") - .f( - PutAppInstanceStreamingConfigurationsRequestFilterSensitiveLog, - PutAppInstanceStreamingConfigurationsResponseFilterSensitiveLog - ) - .ser(se_PutAppInstanceStreamingConfigurationsCommand) - .de(de_PutAppInstanceStreamingConfigurationsCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: PutAppInstanceStreamingConfigurationsRequest; - output: PutAppInstanceStreamingConfigurationsResponse; - }; - sdk: { - input: PutAppInstanceStreamingConfigurationsCommandInput; - output: PutAppInstanceStreamingConfigurationsCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/PutEventsConfigurationCommand.ts b/clients/client-chime/src/commands/PutEventsConfigurationCommand.ts index e629a9ef76bc..df5d695a88e4 100644 --- a/clients/client-chime/src/commands/PutEventsConfigurationCommand.ts +++ b/clients/client-chime/src/commands/PutEventsConfigurationCommand.ts @@ -11,7 +11,7 @@ import { PutEventsConfigurationRequestFilterSensitiveLog, PutEventsConfigurationResponse, PutEventsConfigurationResponseFilterSensitiveLog, -} from "../models/models_1"; +} from "../models/models_0"; import { de_PutEventsConfigurationCommand, se_PutEventsConfigurationCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/PutRetentionSettingsCommand.ts b/clients/client-chime/src/commands/PutRetentionSettingsCommand.ts index ba97adb5035b..54008a2986b5 100644 --- a/clients/client-chime/src/commands/PutRetentionSettingsCommand.ts +++ b/clients/client-chime/src/commands/PutRetentionSettingsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; import { commonParams } from "../endpoint/EndpointParameters"; -import { PutRetentionSettingsRequest, PutRetentionSettingsResponse } from "../models/models_1"; +import { PutRetentionSettingsRequest, PutRetentionSettingsResponse } from "../models/models_0"; import { de_PutRetentionSettingsCommand, se_PutRetentionSettingsCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/PutSipMediaApplicationLoggingConfigurationCommand.ts b/clients/client-chime/src/commands/PutSipMediaApplicationLoggingConfigurationCommand.ts deleted file mode 100644 index 2545dc87e271..000000000000 --- a/clients/client-chime/src/commands/PutSipMediaApplicationLoggingConfigurationCommand.ts +++ /dev/null @@ -1,136 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - PutSipMediaApplicationLoggingConfigurationRequest, - PutSipMediaApplicationLoggingConfigurationResponse, -} from "../models/models_1"; -import { - de_PutSipMediaApplicationLoggingConfigurationCommand, - se_PutSipMediaApplicationLoggingConfigurationCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link PutSipMediaApplicationLoggingConfigurationCommand}. - */ -export interface PutSipMediaApplicationLoggingConfigurationCommandInput - extends PutSipMediaApplicationLoggingConfigurationRequest {} -/** - * @public - * - * The output of {@link PutSipMediaApplicationLoggingConfigurationCommand}. - */ -export interface PutSipMediaApplicationLoggingConfigurationCommandOutput - extends PutSipMediaApplicationLoggingConfigurationResponse, - __MetadataBearer {} - -/** - *

Updates the logging configuration for the specified SIP media application.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, PutSipMediaApplicationLoggingConfiguration, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by PutSipMediaApplicationLoggingConfiguration in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, PutSipMediaApplicationLoggingConfigurationCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, PutSipMediaApplicationLoggingConfigurationCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // PutSipMediaApplicationLoggingConfigurationRequest - * SipMediaApplicationId: "STRING_VALUE", // required - * SipMediaApplicationLoggingConfiguration: { // SipMediaApplicationLoggingConfiguration - * EnableSipMediaApplicationMessageLogs: true || false, - * }, - * }; - * const command = new PutSipMediaApplicationLoggingConfigurationCommand(input); - * const response = await client.send(command); - * // { // PutSipMediaApplicationLoggingConfigurationResponse - * // SipMediaApplicationLoggingConfiguration: { // SipMediaApplicationLoggingConfiguration - * // EnableSipMediaApplicationMessageLogs: true || false, - * // }, - * // }; - * - * ``` - * - * @param PutSipMediaApplicationLoggingConfigurationCommandInput - {@link PutSipMediaApplicationLoggingConfigurationCommandInput} - * @returns {@link PutSipMediaApplicationLoggingConfigurationCommandOutput} - * @see {@link PutSipMediaApplicationLoggingConfigurationCommandInput} for command's `input` shape. - * @see {@link PutSipMediaApplicationLoggingConfigurationCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class PutSipMediaApplicationLoggingConfigurationCommand extends $Command - .classBuilder< - PutSipMediaApplicationLoggingConfigurationCommandInput, - PutSipMediaApplicationLoggingConfigurationCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "PutSipMediaApplicationLoggingConfiguration", {}) - .n("ChimeClient", "PutSipMediaApplicationLoggingConfigurationCommand") - .f(void 0, void 0) - .ser(se_PutSipMediaApplicationLoggingConfigurationCommand) - .de(de_PutSipMediaApplicationLoggingConfigurationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: PutSipMediaApplicationLoggingConfigurationRequest; - output: PutSipMediaApplicationLoggingConfigurationResponse; - }; - sdk: { - input: PutSipMediaApplicationLoggingConfigurationCommandInput; - output: PutSipMediaApplicationLoggingConfigurationCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/PutVoiceConnectorEmergencyCallingConfigurationCommand.ts b/clients/client-chime/src/commands/PutVoiceConnectorEmergencyCallingConfigurationCommand.ts deleted file mode 100644 index f5367708103d..000000000000 --- a/clients/client-chime/src/commands/PutVoiceConnectorEmergencyCallingConfigurationCommand.ts +++ /dev/null @@ -1,154 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - PutVoiceConnectorEmergencyCallingConfigurationRequest, - PutVoiceConnectorEmergencyCallingConfigurationRequestFilterSensitiveLog, - PutVoiceConnectorEmergencyCallingConfigurationResponse, - PutVoiceConnectorEmergencyCallingConfigurationResponseFilterSensitiveLog, -} from "../models/models_1"; -import { - de_PutVoiceConnectorEmergencyCallingConfigurationCommand, - se_PutVoiceConnectorEmergencyCallingConfigurationCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link PutVoiceConnectorEmergencyCallingConfigurationCommand}. - */ -export interface PutVoiceConnectorEmergencyCallingConfigurationCommandInput - extends PutVoiceConnectorEmergencyCallingConfigurationRequest {} -/** - * @public - * - * The output of {@link PutVoiceConnectorEmergencyCallingConfigurationCommand}. - */ -export interface PutVoiceConnectorEmergencyCallingConfigurationCommandOutput - extends PutVoiceConnectorEmergencyCallingConfigurationResponse, - __MetadataBearer {} - -/** - *

Puts emergency calling configuration details to the specified Amazon Chime Voice Connector, such as emergency phone numbers and calling countries. Origination and termination settings must be enabled for - * the Amazon Chime Voice Connector before emergency calling can be configured.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, PutVoiceConnectorEmergencyCallingConfiguration, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by PutVoiceConnectorEmergencyCallingConfiguration in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, PutVoiceConnectorEmergencyCallingConfigurationCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, PutVoiceConnectorEmergencyCallingConfigurationCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // PutVoiceConnectorEmergencyCallingConfigurationRequest - * VoiceConnectorId: "STRING_VALUE", // required - * EmergencyCallingConfiguration: { // EmergencyCallingConfiguration - * DNIS: [ // DNISEmergencyCallingConfigurationList - * { // DNISEmergencyCallingConfiguration - * EmergencyPhoneNumber: "STRING_VALUE", // required - * TestPhoneNumber: "STRING_VALUE", - * CallingCountry: "STRING_VALUE", // required - * }, - * ], - * }, - * }; - * const command = new PutVoiceConnectorEmergencyCallingConfigurationCommand(input); - * const response = await client.send(command); - * // { // PutVoiceConnectorEmergencyCallingConfigurationResponse - * // EmergencyCallingConfiguration: { // EmergencyCallingConfiguration - * // DNIS: [ // DNISEmergencyCallingConfigurationList - * // { // DNISEmergencyCallingConfiguration - * // EmergencyPhoneNumber: "STRING_VALUE", // required - * // TestPhoneNumber: "STRING_VALUE", - * // CallingCountry: "STRING_VALUE", // required - * // }, - * // ], - * // }, - * // }; - * - * ``` - * - * @param PutVoiceConnectorEmergencyCallingConfigurationCommandInput - {@link PutVoiceConnectorEmergencyCallingConfigurationCommandInput} - * @returns {@link PutVoiceConnectorEmergencyCallingConfigurationCommandOutput} - * @see {@link PutVoiceConnectorEmergencyCallingConfigurationCommandInput} for command's `input` shape. - * @see {@link PutVoiceConnectorEmergencyCallingConfigurationCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class PutVoiceConnectorEmergencyCallingConfigurationCommand extends $Command - .classBuilder< - PutVoiceConnectorEmergencyCallingConfigurationCommandInput, - PutVoiceConnectorEmergencyCallingConfigurationCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "PutVoiceConnectorEmergencyCallingConfiguration", {}) - .n("ChimeClient", "PutVoiceConnectorEmergencyCallingConfigurationCommand") - .f( - PutVoiceConnectorEmergencyCallingConfigurationRequestFilterSensitiveLog, - PutVoiceConnectorEmergencyCallingConfigurationResponseFilterSensitiveLog - ) - .ser(se_PutVoiceConnectorEmergencyCallingConfigurationCommand) - .de(de_PutVoiceConnectorEmergencyCallingConfigurationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: PutVoiceConnectorEmergencyCallingConfigurationRequest; - output: PutVoiceConnectorEmergencyCallingConfigurationResponse; - }; - sdk: { - input: PutVoiceConnectorEmergencyCallingConfigurationCommandInput; - output: PutVoiceConnectorEmergencyCallingConfigurationCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/PutVoiceConnectorLoggingConfigurationCommand.ts b/clients/client-chime/src/commands/PutVoiceConnectorLoggingConfigurationCommand.ts deleted file mode 100644 index 883adf5d3d43..000000000000 --- a/clients/client-chime/src/commands/PutVoiceConnectorLoggingConfigurationCommand.ts +++ /dev/null @@ -1,139 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - PutVoiceConnectorLoggingConfigurationRequest, - PutVoiceConnectorLoggingConfigurationResponse, -} from "../models/models_1"; -import { - de_PutVoiceConnectorLoggingConfigurationCommand, - se_PutVoiceConnectorLoggingConfigurationCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link PutVoiceConnectorLoggingConfigurationCommand}. - */ -export interface PutVoiceConnectorLoggingConfigurationCommandInput - extends PutVoiceConnectorLoggingConfigurationRequest {} -/** - * @public - * - * The output of {@link PutVoiceConnectorLoggingConfigurationCommand}. - */ -export interface PutVoiceConnectorLoggingConfigurationCommandOutput - extends PutVoiceConnectorLoggingConfigurationResponse, - __MetadataBearer {} - -/** - *

Adds a logging configuration for the specified Amazon Chime Voice Connector. The logging configuration specifies whether SIP message logs are enabled for sending to - * Amazon CloudWatch Logs.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, PutVoiceConnectorLoggingConfiguration, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by PutVoiceConnectorLoggingConfiguration in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, PutVoiceConnectorLoggingConfigurationCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, PutVoiceConnectorLoggingConfigurationCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // PutVoiceConnectorLoggingConfigurationRequest - * VoiceConnectorId: "STRING_VALUE", // required - * LoggingConfiguration: { // LoggingConfiguration - * EnableSIPLogs: true || false, - * EnableMediaMetricLogs: true || false, - * }, - * }; - * const command = new PutVoiceConnectorLoggingConfigurationCommand(input); - * const response = await client.send(command); - * // { // PutVoiceConnectorLoggingConfigurationResponse - * // LoggingConfiguration: { // LoggingConfiguration - * // EnableSIPLogs: true || false, - * // EnableMediaMetricLogs: true || false, - * // }, - * // }; - * - * ``` - * - * @param PutVoiceConnectorLoggingConfigurationCommandInput - {@link PutVoiceConnectorLoggingConfigurationCommandInput} - * @returns {@link PutVoiceConnectorLoggingConfigurationCommandOutput} - * @see {@link PutVoiceConnectorLoggingConfigurationCommandInput} for command's `input` shape. - * @see {@link PutVoiceConnectorLoggingConfigurationCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class PutVoiceConnectorLoggingConfigurationCommand extends $Command - .classBuilder< - PutVoiceConnectorLoggingConfigurationCommandInput, - PutVoiceConnectorLoggingConfigurationCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "PutVoiceConnectorLoggingConfiguration", {}) - .n("ChimeClient", "PutVoiceConnectorLoggingConfigurationCommand") - .f(void 0, void 0) - .ser(se_PutVoiceConnectorLoggingConfigurationCommand) - .de(de_PutVoiceConnectorLoggingConfigurationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: PutVoiceConnectorLoggingConfigurationRequest; - output: PutVoiceConnectorLoggingConfigurationResponse; - }; - sdk: { - input: PutVoiceConnectorLoggingConfigurationCommandInput; - output: PutVoiceConnectorLoggingConfigurationCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/PutVoiceConnectorOriginationCommand.ts b/clients/client-chime/src/commands/PutVoiceConnectorOriginationCommand.ts deleted file mode 100644 index 3e36f7ff6aec..000000000000 --- a/clients/client-chime/src/commands/PutVoiceConnectorOriginationCommand.ts +++ /dev/null @@ -1,153 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { PutVoiceConnectorOriginationRequest, PutVoiceConnectorOriginationResponse } from "../models/models_1"; -import { - de_PutVoiceConnectorOriginationCommand, - se_PutVoiceConnectorOriginationCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link PutVoiceConnectorOriginationCommand}. - */ -export interface PutVoiceConnectorOriginationCommandInput extends PutVoiceConnectorOriginationRequest {} -/** - * @public - * - * The output of {@link PutVoiceConnectorOriginationCommand}. - */ -export interface PutVoiceConnectorOriginationCommandOutput - extends PutVoiceConnectorOriginationResponse, - __MetadataBearer {} - -/** - *

Adds origination settings for the specified Amazon Chime Voice Connector.

- * - *

If emergency calling is configured for the Amazon Chime Voice Connector, it must be deleted prior to turning off origination settings.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, PutVoiceConnectorOrigination, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by PutVoiceConnectorOrigination in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, PutVoiceConnectorOriginationCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, PutVoiceConnectorOriginationCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // PutVoiceConnectorOriginationRequest - * VoiceConnectorId: "STRING_VALUE", // required - * Origination: { // Origination - * Routes: [ // OriginationRouteList - * { // OriginationRoute - * Host: "STRING_VALUE", - * Port: Number("int"), - * Protocol: "TCP" || "UDP", - * Priority: Number("int"), - * Weight: Number("int"), - * }, - * ], - * Disabled: true || false, - * }, - * }; - * const command = new PutVoiceConnectorOriginationCommand(input); - * const response = await client.send(command); - * // { // PutVoiceConnectorOriginationResponse - * // Origination: { // Origination - * // Routes: [ // OriginationRouteList - * // { // OriginationRoute - * // Host: "STRING_VALUE", - * // Port: Number("int"), - * // Protocol: "TCP" || "UDP", - * // Priority: Number("int"), - * // Weight: Number("int"), - * // }, - * // ], - * // Disabled: true || false, - * // }, - * // }; - * - * ``` - * - * @param PutVoiceConnectorOriginationCommandInput - {@link PutVoiceConnectorOriginationCommandInput} - * @returns {@link PutVoiceConnectorOriginationCommandOutput} - * @see {@link PutVoiceConnectorOriginationCommandInput} for command's `input` shape. - * @see {@link PutVoiceConnectorOriginationCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class PutVoiceConnectorOriginationCommand extends $Command - .classBuilder< - PutVoiceConnectorOriginationCommandInput, - PutVoiceConnectorOriginationCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "PutVoiceConnectorOrigination", {}) - .n("ChimeClient", "PutVoiceConnectorOriginationCommand") - .f(void 0, void 0) - .ser(se_PutVoiceConnectorOriginationCommand) - .de(de_PutVoiceConnectorOriginationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: PutVoiceConnectorOriginationRequest; - output: PutVoiceConnectorOriginationResponse; - }; - sdk: { - input: PutVoiceConnectorOriginationCommandInput; - output: PutVoiceConnectorOriginationCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/PutVoiceConnectorProxyCommand.ts b/clients/client-chime/src/commands/PutVoiceConnectorProxyCommand.ts deleted file mode 100644 index 62f3ac35a0ce..000000000000 --- a/clients/client-chime/src/commands/PutVoiceConnectorProxyCommand.ts +++ /dev/null @@ -1,143 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - PutVoiceConnectorProxyRequest, - PutVoiceConnectorProxyRequestFilterSensitiveLog, - PutVoiceConnectorProxyResponse, - PutVoiceConnectorProxyResponseFilterSensitiveLog, -} from "../models/models_1"; -import { de_PutVoiceConnectorProxyCommand, se_PutVoiceConnectorProxyCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link PutVoiceConnectorProxyCommand}. - */ -export interface PutVoiceConnectorProxyCommandInput extends PutVoiceConnectorProxyRequest {} -/** - * @public - * - * The output of {@link PutVoiceConnectorProxyCommand}. - */ -export interface PutVoiceConnectorProxyCommandOutput extends PutVoiceConnectorProxyResponse, __MetadataBearer {} - -/** - *

Puts the specified proxy configuration to the specified Amazon Chime Voice Connector.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, PutVoiceConnectorProxy, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by PutVoiceConnectorProxy in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, PutVoiceConnectorProxyCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, PutVoiceConnectorProxyCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // PutVoiceConnectorProxyRequest - * VoiceConnectorId: "STRING_VALUE", // required - * DefaultSessionExpiryMinutes: Number("int"), // required - * PhoneNumberPoolCountries: [ // CountryList // required - * "STRING_VALUE", - * ], - * FallBackPhoneNumber: "STRING_VALUE", - * Disabled: true || false, - * }; - * const command = new PutVoiceConnectorProxyCommand(input); - * const response = await client.send(command); - * // { // PutVoiceConnectorProxyResponse - * // Proxy: { // Proxy - * // DefaultSessionExpiryMinutes: Number("int"), - * // Disabled: true || false, - * // FallBackPhoneNumber: "STRING_VALUE", - * // PhoneNumberCountries: [ // StringList - * // "STRING_VALUE", - * // ], - * // }, - * // }; - * - * ``` - * - * @param PutVoiceConnectorProxyCommandInput - {@link PutVoiceConnectorProxyCommandInput} - * @returns {@link PutVoiceConnectorProxyCommandOutput} - * @see {@link PutVoiceConnectorProxyCommandInput} for command's `input` shape. - * @see {@link PutVoiceConnectorProxyCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You don't have permissions to perform the requested operation.

- * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class PutVoiceConnectorProxyCommand extends $Command - .classBuilder< - PutVoiceConnectorProxyCommandInput, - PutVoiceConnectorProxyCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "PutVoiceConnectorProxy", {}) - .n("ChimeClient", "PutVoiceConnectorProxyCommand") - .f(PutVoiceConnectorProxyRequestFilterSensitiveLog, PutVoiceConnectorProxyResponseFilterSensitiveLog) - .ser(se_PutVoiceConnectorProxyCommand) - .de(de_PutVoiceConnectorProxyCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: PutVoiceConnectorProxyRequest; - output: PutVoiceConnectorProxyResponse; - }; - sdk: { - input: PutVoiceConnectorProxyCommandInput; - output: PutVoiceConnectorProxyCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/PutVoiceConnectorStreamingConfigurationCommand.ts b/clients/client-chime/src/commands/PutVoiceConnectorStreamingConfigurationCommand.ts deleted file mode 100644 index dc792aba1c83..000000000000 --- a/clients/client-chime/src/commands/PutVoiceConnectorStreamingConfigurationCommand.ts +++ /dev/null @@ -1,150 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - PutVoiceConnectorStreamingConfigurationRequest, - PutVoiceConnectorStreamingConfigurationResponse, -} from "../models/models_1"; -import { - de_PutVoiceConnectorStreamingConfigurationCommand, - se_PutVoiceConnectorStreamingConfigurationCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link PutVoiceConnectorStreamingConfigurationCommand}. - */ -export interface PutVoiceConnectorStreamingConfigurationCommandInput - extends PutVoiceConnectorStreamingConfigurationRequest {} -/** - * @public - * - * The output of {@link PutVoiceConnectorStreamingConfigurationCommand}. - */ -export interface PutVoiceConnectorStreamingConfigurationCommandOutput - extends PutVoiceConnectorStreamingConfigurationResponse, - __MetadataBearer {} - -/** - *

Adds a streaming configuration for the specified Amazon Chime Voice Connector. The streaming - * configuration specifies whether media streaming is enabled for sending to Kinesis. - * It also sets the retention period, in hours, for the Amazon Kinesis data.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, PutVoiceConnectorStreamingConfiguration, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by PutVoiceConnectorStreamingConfiguration in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, PutVoiceConnectorStreamingConfigurationCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, PutVoiceConnectorStreamingConfigurationCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // PutVoiceConnectorStreamingConfigurationRequest - * VoiceConnectorId: "STRING_VALUE", // required - * StreamingConfiguration: { // StreamingConfiguration - * DataRetentionInHours: Number("int"), // required - * Disabled: true || false, - * StreamingNotificationTargets: [ // StreamingNotificationTargetList - * { // StreamingNotificationTarget - * NotificationTarget: "EventBridge" || "SNS" || "SQS", // required - * }, - * ], - * }, - * }; - * const command = new PutVoiceConnectorStreamingConfigurationCommand(input); - * const response = await client.send(command); - * // { // PutVoiceConnectorStreamingConfigurationResponse - * // StreamingConfiguration: { // StreamingConfiguration - * // DataRetentionInHours: Number("int"), // required - * // Disabled: true || false, - * // StreamingNotificationTargets: [ // StreamingNotificationTargetList - * // { // StreamingNotificationTarget - * // NotificationTarget: "EventBridge" || "SNS" || "SQS", // required - * // }, - * // ], - * // }, - * // }; - * - * ``` - * - * @param PutVoiceConnectorStreamingConfigurationCommandInput - {@link PutVoiceConnectorStreamingConfigurationCommandInput} - * @returns {@link PutVoiceConnectorStreamingConfigurationCommandOutput} - * @see {@link PutVoiceConnectorStreamingConfigurationCommandInput} for command's `input` shape. - * @see {@link PutVoiceConnectorStreamingConfigurationCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class PutVoiceConnectorStreamingConfigurationCommand extends $Command - .classBuilder< - PutVoiceConnectorStreamingConfigurationCommandInput, - PutVoiceConnectorStreamingConfigurationCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "PutVoiceConnectorStreamingConfiguration", {}) - .n("ChimeClient", "PutVoiceConnectorStreamingConfigurationCommand") - .f(void 0, void 0) - .ser(se_PutVoiceConnectorStreamingConfigurationCommand) - .de(de_PutVoiceConnectorStreamingConfigurationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: PutVoiceConnectorStreamingConfigurationRequest; - output: PutVoiceConnectorStreamingConfigurationResponse; - }; - sdk: { - input: PutVoiceConnectorStreamingConfigurationCommandInput; - output: PutVoiceConnectorStreamingConfigurationCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/PutVoiceConnectorTerminationCommand.ts b/clients/client-chime/src/commands/PutVoiceConnectorTerminationCommand.ts deleted file mode 100644 index 55c9dacc4020..000000000000 --- a/clients/client-chime/src/commands/PutVoiceConnectorTerminationCommand.ts +++ /dev/null @@ -1,159 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - PutVoiceConnectorTerminationRequest, - PutVoiceConnectorTerminationRequestFilterSensitiveLog, - PutVoiceConnectorTerminationResponse, - PutVoiceConnectorTerminationResponseFilterSensitiveLog, -} from "../models/models_1"; -import { - de_PutVoiceConnectorTerminationCommand, - se_PutVoiceConnectorTerminationCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link PutVoiceConnectorTerminationCommand}. - */ -export interface PutVoiceConnectorTerminationCommandInput extends PutVoiceConnectorTerminationRequest {} -/** - * @public - * - * The output of {@link PutVoiceConnectorTerminationCommand}. - */ -export interface PutVoiceConnectorTerminationCommandOutput - extends PutVoiceConnectorTerminationResponse, - __MetadataBearer {} - -/** - *

Adds termination settings for the specified Amazon Chime Voice Connector.

- * - *

If emergency calling is configured for the Amazon Chime Voice Connector, it must be deleted prior to turning off termination settings.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, PutVoiceConnectorTermination, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by PutVoiceConnectorTermination in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, PutVoiceConnectorTerminationCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, PutVoiceConnectorTerminationCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // PutVoiceConnectorTerminationRequest - * VoiceConnectorId: "STRING_VALUE", // required - * Termination: { // Termination - * CpsLimit: Number("int"), - * DefaultPhoneNumber: "STRING_VALUE", - * CallingRegions: [ // CallingRegionList - * "STRING_VALUE", - * ], - * CidrAllowedList: [ // StringList - * "STRING_VALUE", - * ], - * Disabled: true || false, - * }, - * }; - * const command = new PutVoiceConnectorTerminationCommand(input); - * const response = await client.send(command); - * // { // PutVoiceConnectorTerminationResponse - * // Termination: { // Termination - * // CpsLimit: Number("int"), - * // DefaultPhoneNumber: "STRING_VALUE", - * // CallingRegions: [ // CallingRegionList - * // "STRING_VALUE", - * // ], - * // CidrAllowedList: [ // StringList - * // "STRING_VALUE", - * // ], - * // Disabled: true || false, - * // }, - * // }; - * - * ``` - * - * @param PutVoiceConnectorTerminationCommandInput - {@link PutVoiceConnectorTerminationCommandInput} - * @returns {@link PutVoiceConnectorTerminationCommandOutput} - * @see {@link PutVoiceConnectorTerminationCommandInput} for command's `input` shape. - * @see {@link PutVoiceConnectorTerminationCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You don't have permissions to perform the requested operation.

- * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class PutVoiceConnectorTerminationCommand extends $Command - .classBuilder< - PutVoiceConnectorTerminationCommandInput, - PutVoiceConnectorTerminationCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "PutVoiceConnectorTermination", {}) - .n("ChimeClient", "PutVoiceConnectorTerminationCommand") - .f(PutVoiceConnectorTerminationRequestFilterSensitiveLog, PutVoiceConnectorTerminationResponseFilterSensitiveLog) - .ser(se_PutVoiceConnectorTerminationCommand) - .de(de_PutVoiceConnectorTerminationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: PutVoiceConnectorTerminationRequest; - output: PutVoiceConnectorTerminationResponse; - }; - sdk: { - input: PutVoiceConnectorTerminationCommandInput; - output: PutVoiceConnectorTerminationCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/PutVoiceConnectorTerminationCredentialsCommand.ts b/clients/client-chime/src/commands/PutVoiceConnectorTerminationCredentialsCommand.ts deleted file mode 100644 index 2d12d7c62186..000000000000 --- a/clients/client-chime/src/commands/PutVoiceConnectorTerminationCredentialsCommand.ts +++ /dev/null @@ -1,133 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - PutVoiceConnectorTerminationCredentialsRequest, - PutVoiceConnectorTerminationCredentialsRequestFilterSensitiveLog, -} from "../models/models_1"; -import { - de_PutVoiceConnectorTerminationCredentialsCommand, - se_PutVoiceConnectorTerminationCredentialsCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link PutVoiceConnectorTerminationCredentialsCommand}. - */ -export interface PutVoiceConnectorTerminationCredentialsCommandInput - extends PutVoiceConnectorTerminationCredentialsRequest {} -/** - * @public - * - * The output of {@link PutVoiceConnectorTerminationCredentialsCommand}. - */ -export interface PutVoiceConnectorTerminationCredentialsCommandOutput extends __MetadataBearer {} - -/** - *

Adds termination SIP credentials for the specified Amazon Chime Voice Connector.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, PutVoiceConnectorTerminationCredentials, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by PutVoiceConnectorTerminationCredentials in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, PutVoiceConnectorTerminationCredentialsCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, PutVoiceConnectorTerminationCredentialsCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // PutVoiceConnectorTerminationCredentialsRequest - * VoiceConnectorId: "STRING_VALUE", // required - * Credentials: [ // CredentialList - * { // Credential - * Username: "STRING_VALUE", - * Password: "STRING_VALUE", - * }, - * ], - * }; - * const command = new PutVoiceConnectorTerminationCredentialsCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param PutVoiceConnectorTerminationCredentialsCommandInput - {@link PutVoiceConnectorTerminationCredentialsCommandInput} - * @returns {@link PutVoiceConnectorTerminationCredentialsCommandOutput} - * @see {@link PutVoiceConnectorTerminationCredentialsCommandInput} for command's `input` shape. - * @see {@link PutVoiceConnectorTerminationCredentialsCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class PutVoiceConnectorTerminationCredentialsCommand extends $Command - .classBuilder< - PutVoiceConnectorTerminationCredentialsCommandInput, - PutVoiceConnectorTerminationCredentialsCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "PutVoiceConnectorTerminationCredentials", {}) - .n("ChimeClient", "PutVoiceConnectorTerminationCredentialsCommand") - .f(PutVoiceConnectorTerminationCredentialsRequestFilterSensitiveLog, void 0) - .ser(se_PutVoiceConnectorTerminationCredentialsCommand) - .de(de_PutVoiceConnectorTerminationCredentialsCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: PutVoiceConnectorTerminationCredentialsRequest; - output: {}; - }; - sdk: { - input: PutVoiceConnectorTerminationCredentialsCommandInput; - output: PutVoiceConnectorTerminationCredentialsCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/RedactChannelMessageCommand.ts b/clients/client-chime/src/commands/RedactChannelMessageCommand.ts deleted file mode 100644 index 589a107ea1b4..000000000000 --- a/clients/client-chime/src/commands/RedactChannelMessageCommand.ts +++ /dev/null @@ -1,128 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { RedactChannelMessageRequest, RedactChannelMessageResponse } from "../models/models_1"; -import { de_RedactChannelMessageCommand, se_RedactChannelMessageCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link RedactChannelMessageCommand}. - */ -export interface RedactChannelMessageCommandInput extends RedactChannelMessageRequest {} -/** - * @public - * - * The output of {@link RedactChannelMessageCommand}. - */ -export interface RedactChannelMessageCommandOutput extends RedactChannelMessageResponse, __MetadataBearer {} - -/** - *

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.

- * - *

The x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, RedactChannelMessage, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by RedactChannelMessage in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, RedactChannelMessageCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, RedactChannelMessageCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // RedactChannelMessageRequest - * ChannelArn: "STRING_VALUE", // required - * MessageId: "STRING_VALUE", // required - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new RedactChannelMessageCommand(input); - * const response = await client.send(command); - * // { // RedactChannelMessageResponse - * // ChannelArn: "STRING_VALUE", - * // MessageId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param RedactChannelMessageCommandInput - {@link RedactChannelMessageCommandInput} - * @returns {@link RedactChannelMessageCommandOutput} - * @see {@link RedactChannelMessageCommandInput} for command's `input` shape. - * @see {@link RedactChannelMessageCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class RedactChannelMessageCommand extends $Command - .classBuilder< - RedactChannelMessageCommandInput, - RedactChannelMessageCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "RedactChannelMessage", {}) - .n("ChimeClient", "RedactChannelMessageCommand") - .f(void 0, void 0) - .ser(se_RedactChannelMessageCommand) - .de(de_RedactChannelMessageCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: RedactChannelMessageRequest; - output: RedactChannelMessageResponse; - }; - sdk: { - input: RedactChannelMessageCommandInput; - output: RedactChannelMessageCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/RedactConversationMessageCommand.ts b/clients/client-chime/src/commands/RedactConversationMessageCommand.ts index 2033bd299f13..27f895126711 100644 --- a/clients/client-chime/src/commands/RedactConversationMessageCommand.ts +++ b/clients/client-chime/src/commands/RedactConversationMessageCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; import { commonParams } from "../endpoint/EndpointParameters"; -import { RedactConversationMessageRequest, RedactConversationMessageResponse } from "../models/models_1"; +import { RedactConversationMessageRequest, RedactConversationMessageResponse } from "../models/models_0"; import { de_RedactConversationMessageCommand, se_RedactConversationMessageCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/RedactRoomMessageCommand.ts b/clients/client-chime/src/commands/RedactRoomMessageCommand.ts index 134833dff005..be90ec4b05cd 100644 --- a/clients/client-chime/src/commands/RedactRoomMessageCommand.ts +++ b/clients/client-chime/src/commands/RedactRoomMessageCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; import { commonParams } from "../endpoint/EndpointParameters"; -import { RedactRoomMessageRequest, RedactRoomMessageResponse } from "../models/models_1"; +import { RedactRoomMessageRequest, RedactRoomMessageResponse } from "../models/models_0"; import { de_RedactRoomMessageCommand, se_RedactRoomMessageCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/RegenerateSecurityTokenCommand.ts b/clients/client-chime/src/commands/RegenerateSecurityTokenCommand.ts index f8b62dd3eacd..e2dedca0c0f1 100644 --- a/clients/client-chime/src/commands/RegenerateSecurityTokenCommand.ts +++ b/clients/client-chime/src/commands/RegenerateSecurityTokenCommand.ts @@ -10,7 +10,7 @@ import { RegenerateSecurityTokenRequest, RegenerateSecurityTokenResponse, RegenerateSecurityTokenResponseFilterSensitiveLog, -} from "../models/models_1"; +} from "../models/models_0"; import { de_RegenerateSecurityTokenCommand, se_RegenerateSecurityTokenCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/ResetPersonalPINCommand.ts b/clients/client-chime/src/commands/ResetPersonalPINCommand.ts index 121b4100e61a..6df498ee8f76 100644 --- a/clients/client-chime/src/commands/ResetPersonalPINCommand.ts +++ b/clients/client-chime/src/commands/ResetPersonalPINCommand.ts @@ -10,7 +10,7 @@ import { ResetPersonalPINRequest, ResetPersonalPINResponse, ResetPersonalPINResponseFilterSensitiveLog, -} from "../models/models_1"; +} from "../models/models_0"; import { de_ResetPersonalPINCommand, se_ResetPersonalPINCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/RestorePhoneNumberCommand.ts b/clients/client-chime/src/commands/RestorePhoneNumberCommand.ts index 23c388a2899a..ec4e657d1ff9 100644 --- a/clients/client-chime/src/commands/RestorePhoneNumberCommand.ts +++ b/clients/client-chime/src/commands/RestorePhoneNumberCommand.ts @@ -10,7 +10,7 @@ import { RestorePhoneNumberRequest, RestorePhoneNumberResponse, RestorePhoneNumberResponseFilterSensitiveLog, -} from "../models/models_1"; +} from "../models/models_0"; import { de_RestorePhoneNumberCommand, se_RestorePhoneNumberCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/SearchAvailablePhoneNumbersCommand.ts b/clients/client-chime/src/commands/SearchAvailablePhoneNumbersCommand.ts index e742a8d44244..6ddca726c614 100644 --- a/clients/client-chime/src/commands/SearchAvailablePhoneNumbersCommand.ts +++ b/clients/client-chime/src/commands/SearchAvailablePhoneNumbersCommand.ts @@ -10,7 +10,7 @@ import { SearchAvailablePhoneNumbersRequest, SearchAvailablePhoneNumbersResponse, SearchAvailablePhoneNumbersResponseFilterSensitiveLog, -} from "../models/models_1"; +} from "../models/models_0"; import { de_SearchAvailablePhoneNumbersCommand, se_SearchAvailablePhoneNumbersCommand, diff --git a/clients/client-chime/src/commands/SendChannelMessageCommand.ts b/clients/client-chime/src/commands/SendChannelMessageCommand.ts deleted file mode 100644 index 7dc8c910e6ea..000000000000 --- a/clients/client-chime/src/commands/SendChannelMessageCommand.ts +++ /dev/null @@ -1,141 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - SendChannelMessageRequest, - SendChannelMessageRequestFilterSensitiveLog, - SendChannelMessageResponse, -} from "../models/models_1"; -import { de_SendChannelMessageCommand, se_SendChannelMessageCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link SendChannelMessageCommand}. - */ -export interface SendChannelMessageCommandInput extends SendChannelMessageRequest {} -/** - * @public - * - * The output of {@link SendChannelMessageCommand}. - */ -export interface SendChannelMessageCommandOutput extends SendChannelMessageResponse, __MetadataBearer {} - -/** - *

Sends a message to a particular channel that the member is a part of.

- * - *

The x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *

Also, STANDARD messages can contain 4KB of data and the 1KB of metadata. - * CONTROL messages can contain 30 bytes of data and no metadata.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, SendChannelMessage, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by SendChannelMessage in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, SendChannelMessageCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, SendChannelMessageCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // SendChannelMessageRequest - * ChannelArn: "STRING_VALUE", // required - * Content: "STRING_VALUE", // required - * Type: "STANDARD" || "CONTROL", // required - * Persistence: "PERSISTENT" || "NON_PERSISTENT", // required - * Metadata: "STRING_VALUE", - * ClientRequestToken: "STRING_VALUE", // required - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new SendChannelMessageCommand(input); - * const response = await client.send(command); - * // { // SendChannelMessageResponse - * // ChannelArn: "STRING_VALUE", - * // MessageId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param SendChannelMessageCommandInput - {@link SendChannelMessageCommandInput} - * @returns {@link SendChannelMessageCommandOutput} - * @see {@link SendChannelMessageCommandInput} for command's `input` shape. - * @see {@link SendChannelMessageCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ConflictException} (client fault) - *

The request could not be processed because of conflict in the current state of the - * resource.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class SendChannelMessageCommand extends $Command - .classBuilder< - SendChannelMessageCommandInput, - SendChannelMessageCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "SendChannelMessage", {}) - .n("ChimeClient", "SendChannelMessageCommand") - .f(SendChannelMessageRequestFilterSensitiveLog, void 0) - .ser(se_SendChannelMessageCommand) - .de(de_SendChannelMessageCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: SendChannelMessageRequest; - output: SendChannelMessageResponse; - }; - sdk: { - input: SendChannelMessageCommandInput; - output: SendChannelMessageCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/StartMeetingTranscriptionCommand.ts b/clients/client-chime/src/commands/StartMeetingTranscriptionCommand.ts deleted file mode 100644 index 460ed5c83d40..000000000000 --- a/clients/client-chime/src/commands/StartMeetingTranscriptionCommand.ts +++ /dev/null @@ -1,165 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { StartMeetingTranscriptionRequest, StartMeetingTranscriptionResponse } from "../models/models_1"; -import { de_StartMeetingTranscriptionCommand, se_StartMeetingTranscriptionCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link StartMeetingTranscriptionCommand}. - */ -export interface StartMeetingTranscriptionCommandInput extends StartMeetingTranscriptionRequest {} -/** - * @public - * - * The output of {@link StartMeetingTranscriptionCommand}. - */ -export interface StartMeetingTranscriptionCommandOutput extends StartMeetingTranscriptionResponse, __MetadataBearer {} - -/** - *

Starts transcription for the specified meetingId. For more information, refer to - * Using Amazon Chime SDK live transcription - * in the Amazon Chime SDK Developer Guide.

- *

If you specify an invalid configuration, a TranscriptFailed event will be sent with the contents of the BadRequestException generated by Amazon Transcribe. - * For more information on each parameter and which combinations are valid, refer to the - * StartStreamTranscription API in the - * Amazon Transcribe Developer Guide.

- * - *

Amazon Chime SDK live transcription is powered by Amazon Transcribe. Use of Amazon Transcribe is subject to the - * AWS Service Terms, including the terms specific to the AWS Machine Learning and Artificial - * Intelligence Services.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, StartMeetingTranscription, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by StartMeetingTranscription in the Amazon Chime SDK Meetings Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, StartMeetingTranscriptionCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, StartMeetingTranscriptionCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // StartMeetingTranscriptionRequest - * MeetingId: "STRING_VALUE", // required - * TranscriptionConfiguration: { // TranscriptionConfiguration - * EngineTranscribeSettings: { // EngineTranscribeSettings - * LanguageCode: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR" || "ja-JP" || "ko-KR" || "zh-CN" || "th-TH" || "hi-IN", - * VocabularyFilterMethod: "remove" || "mask" || "tag", - * VocabularyFilterName: "STRING_VALUE", - * VocabularyName: "STRING_VALUE", - * Region: "us-east-2" || "us-east-1" || "us-west-2" || "ap-northeast-2" || "ap-southeast-2" || "ap-northeast-1" || "ca-central-1" || "eu-central-1" || "eu-west-1" || "eu-west-2" || "sa-east-1" || "auto", - * EnablePartialResultsStabilization: true || false, - * PartialResultsStability: "low" || "medium" || "high", - * ContentIdentificationType: "PII", - * ContentRedactionType: "PII", - * PiiEntityTypes: "STRING_VALUE", - * LanguageModelName: "STRING_VALUE", - * IdentifyLanguage: true || false, - * LanguageOptions: "STRING_VALUE", - * PreferredLanguage: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR" || "ja-JP" || "ko-KR" || "zh-CN" || "th-TH" || "hi-IN", - * VocabularyNames: "STRING_VALUE", - * VocabularyFilterNames: "STRING_VALUE", - * }, - * EngineTranscribeMedicalSettings: { // EngineTranscribeMedicalSettings - * LanguageCode: "en-US", // required - * Specialty: "PRIMARYCARE" || "CARDIOLOGY" || "NEUROLOGY" || "ONCOLOGY" || "RADIOLOGY" || "UROLOGY", // required - * Type: "CONVERSATION" || "DICTATION", // required - * VocabularyName: "STRING_VALUE", - * Region: "us-east-1" || "us-east-2" || "us-west-2" || "ap-southeast-2" || "ca-central-1" || "eu-west-1" || "auto", - * ContentIdentificationType: "PHI", - * }, - * }, - * }; - * const command = new StartMeetingTranscriptionCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param StartMeetingTranscriptionCommandInput - {@link StartMeetingTranscriptionCommandInput} - * @returns {@link StartMeetingTranscriptionCommandOutput} - * @see {@link StartMeetingTranscriptionCommandInput} for command's `input` shape. - * @see {@link StartMeetingTranscriptionCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ResourceLimitExceededException} (client fault) - *

The request exceeds the resource limit.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link UnprocessableEntityException} (client fault) - *

The request was well-formed but was unable to be followed due to semantic errors.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class StartMeetingTranscriptionCommand extends $Command - .classBuilder< - StartMeetingTranscriptionCommandInput, - StartMeetingTranscriptionCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "StartMeetingTranscription", {}) - .n("ChimeClient", "StartMeetingTranscriptionCommand") - .f(void 0, void 0) - .ser(se_StartMeetingTranscriptionCommand) - .de(de_StartMeetingTranscriptionCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: StartMeetingTranscriptionRequest; - output: {}; - }; - sdk: { - input: StartMeetingTranscriptionCommandInput; - output: StartMeetingTranscriptionCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/StopMeetingTranscriptionCommand.ts b/clients/client-chime/src/commands/StopMeetingTranscriptionCommand.ts deleted file mode 100644 index 17123c197536..000000000000 --- a/clients/client-chime/src/commands/StopMeetingTranscriptionCommand.ts +++ /dev/null @@ -1,123 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { StopMeetingTranscriptionRequest, StopMeetingTranscriptionResponse } from "../models/models_1"; -import { de_StopMeetingTranscriptionCommand, se_StopMeetingTranscriptionCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link StopMeetingTranscriptionCommand}. - */ -export interface StopMeetingTranscriptionCommandInput extends StopMeetingTranscriptionRequest {} -/** - * @public - * - * The output of {@link StopMeetingTranscriptionCommand}. - */ -export interface StopMeetingTranscriptionCommandOutput extends StopMeetingTranscriptionResponse, __MetadataBearer {} - -/** - *

Stops transcription for the specified meetingId.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, StopMeetingTranscription, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by StopMeetingTranscription in the Amazon Chime SDK Meetings Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, StopMeetingTranscriptionCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, StopMeetingTranscriptionCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // StopMeetingTranscriptionRequest - * MeetingId: "STRING_VALUE", // required - * }; - * const command = new StopMeetingTranscriptionCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param StopMeetingTranscriptionCommandInput - {@link StopMeetingTranscriptionCommandInput} - * @returns {@link StopMeetingTranscriptionCommandOutput} - * @see {@link StopMeetingTranscriptionCommandInput} for command's `input` shape. - * @see {@link StopMeetingTranscriptionCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link UnprocessableEntityException} (client fault) - *

The request was well-formed but was unable to be followed due to semantic errors.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class StopMeetingTranscriptionCommand extends $Command - .classBuilder< - StopMeetingTranscriptionCommandInput, - StopMeetingTranscriptionCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "StopMeetingTranscription", {}) - .n("ChimeClient", "StopMeetingTranscriptionCommand") - .f(void 0, void 0) - .ser(se_StopMeetingTranscriptionCommand) - .de(de_StopMeetingTranscriptionCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: StopMeetingTranscriptionRequest; - output: {}; - }; - sdk: { - input: StopMeetingTranscriptionCommandInput; - output: StopMeetingTranscriptionCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/TagAttendeeCommand.ts b/clients/client-chime/src/commands/TagAttendeeCommand.ts deleted file mode 100644 index dbd417bb56aa..000000000000 --- a/clients/client-chime/src/commands/TagAttendeeCommand.ts +++ /dev/null @@ -1,126 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { TagAttendeeRequest, TagAttendeeRequestFilterSensitiveLog } from "../models/models_1"; -import { de_TagAttendeeCommand, se_TagAttendeeCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link TagAttendeeCommand}. - */ -export interface TagAttendeeCommandInput extends TagAttendeeRequest {} -/** - * @public - * - * The output of {@link TagAttendeeCommand}. - */ -export interface TagAttendeeCommandOutput extends __MetadataBearer {} - -/** - *

Applies the specified tags to the specified Amazon Chime attendee.

- * - *

TagAttendee is not supported in the Amazon Chime SDK Meetings Namespace. Update your application to remove calls to this API.

- *
- * - * @deprecated Attendee Tags are not supported in the Amazon Chime SDK Meetings Namespace. Update your application to remove calls to this API. - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, TagAttendeeCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, TagAttendeeCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // TagAttendeeRequest - * MeetingId: "STRING_VALUE", // required - * AttendeeId: "STRING_VALUE", // required - * Tags: [ // AttendeeTagList // required - * { // Tag - * Key: "STRING_VALUE", // required - * Value: "STRING_VALUE", // required - * }, - * ], - * }; - * const command = new TagAttendeeCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param TagAttendeeCommandInput - {@link TagAttendeeCommandInput} - * @returns {@link TagAttendeeCommandOutput} - * @see {@link TagAttendeeCommandInput} for command's `input` shape. - * @see {@link TagAttendeeCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ResourceLimitExceededException} (client fault) - *

The request exceeds the resource limit.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class TagAttendeeCommand extends $Command - .classBuilder< - TagAttendeeCommandInput, - TagAttendeeCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "TagAttendee", {}) - .n("ChimeClient", "TagAttendeeCommand") - .f(TagAttendeeRequestFilterSensitiveLog, void 0) - .ser(se_TagAttendeeCommand) - .de(de_TagAttendeeCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: TagAttendeeRequest; - output: {}; - }; - sdk: { - input: TagAttendeeCommandInput; - output: TagAttendeeCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/TagMeetingCommand.ts b/clients/client-chime/src/commands/TagMeetingCommand.ts deleted file mode 100644 index a32fc31b41e8..000000000000 --- a/clients/client-chime/src/commands/TagMeetingCommand.ts +++ /dev/null @@ -1,129 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { TagMeetingRequest, TagMeetingRequestFilterSensitiveLog } from "../models/models_1"; -import { de_TagMeetingCommand, se_TagMeetingCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link TagMeetingCommand}. - */ -export interface TagMeetingCommandInput extends TagMeetingRequest {} -/** - * @public - * - * The output of {@link TagMeetingCommand}. - */ -export interface TagMeetingCommandOutput extends __MetadataBearer {} - -/** - *

Applies the specified tags to the specified Amazon Chime SDK meeting.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, TagResource, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Use TagResource in the Amazon Chime SDK Meetings Namespace. - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, TagMeetingCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, TagMeetingCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // TagMeetingRequest - * MeetingId: "STRING_VALUE", // required - * Tags: [ // MeetingTagList // required - * { // Tag - * Key: "STRING_VALUE", // required - * Value: "STRING_VALUE", // required - * }, - * ], - * }; - * const command = new TagMeetingCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param TagMeetingCommandInput - {@link TagMeetingCommandInput} - * @returns {@link TagMeetingCommandOutput} - * @see {@link TagMeetingCommandInput} for command's `input` shape. - * @see {@link TagMeetingCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ResourceLimitExceededException} (client fault) - *

The request exceeds the resource limit.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class TagMeetingCommand extends $Command - .classBuilder< - TagMeetingCommandInput, - TagMeetingCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "TagMeeting", {}) - .n("ChimeClient", "TagMeetingCommand") - .f(TagMeetingRequestFilterSensitiveLog, void 0) - .ser(se_TagMeetingCommand) - .de(de_TagMeetingCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: TagMeetingRequest; - output: {}; - }; - sdk: { - input: TagMeetingCommandInput; - output: TagMeetingCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/TagResourceCommand.ts b/clients/client-chime/src/commands/TagResourceCommand.ts deleted file mode 100644 index ea3f844f4391..000000000000 --- a/clients/client-chime/src/commands/TagResourceCommand.ts +++ /dev/null @@ -1,123 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { TagResourceRequest, TagResourceRequestFilterSensitiveLog } from "../models/models_1"; -import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link TagResourceCommand}. - */ -export interface TagResourceCommandInput extends TagResourceRequest {} -/** - * @public - * - * The output of {@link TagResourceCommand}. - */ -export interface TagResourceCommandOutput extends __MetadataBearer {} - -/** - *

Applies the specified tags to the specified Amazon Chime SDK meeting resource.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, TagResource, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by TagResource in the Amazon Chime SDK Voice, Amazon Chime SDK Meetings, Amazon Chime SDK Identity, Amazon Chime SDK Messaging, and Amazon Chime SDK Media Pipelines Namespaces - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, TagResourceCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, TagResourceCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // TagResourceRequest - * ResourceARN: "STRING_VALUE", // required - * Tags: [ // TagList // required - * { // Tag - * Key: "STRING_VALUE", // required - * Value: "STRING_VALUE", // required - * }, - * ], - * }; - * const command = new TagResourceCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param TagResourceCommandInput - {@link TagResourceCommandInput} - * @returns {@link TagResourceCommandOutput} - * @see {@link TagResourceCommandInput} for command's `input` shape. - * @see {@link TagResourceCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class TagResourceCommand extends $Command - .classBuilder< - TagResourceCommandInput, - TagResourceCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "TagResource", {}) - .n("ChimeClient", "TagResourceCommand") - .f(TagResourceRequestFilterSensitiveLog, void 0) - .ser(se_TagResourceCommand) - .de(de_TagResourceCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: TagResourceRequest; - output: {}; - }; - sdk: { - input: TagResourceCommandInput; - output: TagResourceCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/UntagAttendeeCommand.ts b/clients/client-chime/src/commands/UntagAttendeeCommand.ts deleted file mode 100644 index 1e231ca22a23..000000000000 --- a/clients/client-chime/src/commands/UntagAttendeeCommand.ts +++ /dev/null @@ -1,120 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { UntagAttendeeRequest, UntagAttendeeRequestFilterSensitiveLog } from "../models/models_1"; -import { de_UntagAttendeeCommand, se_UntagAttendeeCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UntagAttendeeCommand}. - */ -export interface UntagAttendeeCommandInput extends UntagAttendeeRequest {} -/** - * @public - * - * The output of {@link UntagAttendeeCommand}. - */ -export interface UntagAttendeeCommandOutput extends __MetadataBearer {} - -/** - *

Untags the specified tags from the specified Amazon Chime SDK attendee.

- * - *

UntagAttendee is not supported in the Amazon Chime SDK Meetings Namespace. Update your application to remove calls to this API.

- *
- * - * @deprecated Attendee Tags are not supported in the Amazon Chime SDK Meetings Namespace. Update your application to remove calls to this API. - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, UntagAttendeeCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, UntagAttendeeCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // UntagAttendeeRequest - * MeetingId: "STRING_VALUE", // required - * AttendeeId: "STRING_VALUE", // required - * TagKeys: [ // AttendeeTagKeyList // required - * "STRING_VALUE", - * ], - * }; - * const command = new UntagAttendeeCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param UntagAttendeeCommandInput - {@link UntagAttendeeCommandInput} - * @returns {@link UntagAttendeeCommandOutput} - * @see {@link UntagAttendeeCommandInput} for command's `input` shape. - * @see {@link UntagAttendeeCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class UntagAttendeeCommand extends $Command - .classBuilder< - UntagAttendeeCommandInput, - UntagAttendeeCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "UntagAttendee", {}) - .n("ChimeClient", "UntagAttendeeCommand") - .f(UntagAttendeeRequestFilterSensitiveLog, void 0) - .ser(se_UntagAttendeeCommand) - .de(de_UntagAttendeeCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: UntagAttendeeRequest; - output: {}; - }; - sdk: { - input: UntagAttendeeCommandInput; - output: UntagAttendeeCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/UntagMeetingCommand.ts b/clients/client-chime/src/commands/UntagMeetingCommand.ts deleted file mode 100644 index d4b1b054ca91..000000000000 --- a/clients/client-chime/src/commands/UntagMeetingCommand.ts +++ /dev/null @@ -1,123 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { UntagMeetingRequest, UntagMeetingRequestFilterSensitiveLog } from "../models/models_1"; -import { de_UntagMeetingCommand, se_UntagMeetingCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UntagMeetingCommand}. - */ -export interface UntagMeetingCommandInput extends UntagMeetingRequest {} -/** - * @public - * - * The output of {@link UntagMeetingCommand}. - */ -export interface UntagMeetingCommandOutput extends __MetadataBearer {} - -/** - *

Untags the specified tags from the specified Amazon Chime SDK meeting.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, UntagResource, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Use UntagResource in the Amazon Chime SDK Meetings Namespace. - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, UntagMeetingCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, UntagMeetingCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // UntagMeetingRequest - * MeetingId: "STRING_VALUE", // required - * TagKeys: [ // MeetingTagKeyList // required - * "STRING_VALUE", - * ], - * }; - * const command = new UntagMeetingCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param UntagMeetingCommandInput - {@link UntagMeetingCommandInput} - * @returns {@link UntagMeetingCommandOutput} - * @see {@link UntagMeetingCommandInput} for command's `input` shape. - * @see {@link UntagMeetingCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class UntagMeetingCommand extends $Command - .classBuilder< - UntagMeetingCommandInput, - UntagMeetingCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "UntagMeeting", {}) - .n("ChimeClient", "UntagMeetingCommand") - .f(UntagMeetingRequestFilterSensitiveLog, void 0) - .ser(se_UntagMeetingCommand) - .de(de_UntagMeetingCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: UntagMeetingRequest; - output: {}; - }; - sdk: { - input: UntagMeetingCommandInput; - output: UntagMeetingCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/UntagResourceCommand.ts b/clients/client-chime/src/commands/UntagResourceCommand.ts deleted file mode 100644 index 99ea91289d15..000000000000 --- a/clients/client-chime/src/commands/UntagResourceCommand.ts +++ /dev/null @@ -1,121 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { UntagResourceRequest, UntagResourceRequestFilterSensitiveLog } from "../models/models_1"; -import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UntagResourceCommand}. - */ -export interface UntagResourceCommandInput extends UntagResourceRequest {} -/** - * @public - * - * The output of {@link UntagResourceCommand}. - */ -export interface UntagResourceCommandOutput extends __MetadataBearer {} - -/** - *

Untags the specified tags from the specified Amazon Chime SDK meeting resource.

- *

Applies the specified tags to the specified Amazon Chime SDK meeting resource.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, UntagResource, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by UntagResource in the Amazon Chime SDK Voice, Amazon Chime SDK Meetings, Amazon Chime SDK Identity, Amazon Chime SDK Messaging, and Amazon Chime SDK Media Pipelines Namespaces - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, UntagResourceCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, UntagResourceCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // UntagResourceRequest - * ResourceARN: "STRING_VALUE", // required - * TagKeys: [ // TagKeyList // required - * "STRING_VALUE", - * ], - * }; - * const command = new UntagResourceCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param UntagResourceCommandInput - {@link UntagResourceCommandInput} - * @returns {@link UntagResourceCommandOutput} - * @see {@link UntagResourceCommandInput} for command's `input` shape. - * @see {@link UntagResourceCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class UntagResourceCommand extends $Command - .classBuilder< - UntagResourceCommandInput, - UntagResourceCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "UntagResource", {}) - .n("ChimeClient", "UntagResourceCommand") - .f(UntagResourceRequestFilterSensitiveLog, void 0) - .ser(se_UntagResourceCommand) - .de(de_UntagResourceCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: UntagResourceRequest; - output: {}; - }; - sdk: { - input: UntagResourceCommandInput; - output: UntagResourceCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/UpdateAccountCommand.ts b/clients/client-chime/src/commands/UpdateAccountCommand.ts index 04c480c9f389..942bb8ebbca8 100644 --- a/clients/client-chime/src/commands/UpdateAccountCommand.ts +++ b/clients/client-chime/src/commands/UpdateAccountCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; import { commonParams } from "../endpoint/EndpointParameters"; -import { UpdateAccountRequest, UpdateAccountResponse } from "../models/models_1"; +import { UpdateAccountRequest, UpdateAccountResponse } from "../models/models_0"; import { de_UpdateAccountCommand, se_UpdateAccountCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/UpdateAccountSettingsCommand.ts b/clients/client-chime/src/commands/UpdateAccountSettingsCommand.ts index 726fd7346fd5..911746bdd604 100644 --- a/clients/client-chime/src/commands/UpdateAccountSettingsCommand.ts +++ b/clients/client-chime/src/commands/UpdateAccountSettingsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; import { commonParams } from "../endpoint/EndpointParameters"; -import { UpdateAccountSettingsRequest, UpdateAccountSettingsResponse } from "../models/models_1"; +import { UpdateAccountSettingsRequest, UpdateAccountSettingsResponse } from "../models/models_0"; import { de_UpdateAccountSettingsCommand, se_UpdateAccountSettingsCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/UpdateAppInstanceCommand.ts b/clients/client-chime/src/commands/UpdateAppInstanceCommand.ts deleted file mode 100644 index aa6b5b08952f..000000000000 --- a/clients/client-chime/src/commands/UpdateAppInstanceCommand.ts +++ /dev/null @@ -1,129 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - UpdateAppInstanceRequest, - UpdateAppInstanceRequestFilterSensitiveLog, - UpdateAppInstanceResponse, -} from "../models/models_1"; -import { de_UpdateAppInstanceCommand, se_UpdateAppInstanceCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateAppInstanceCommand}. - */ -export interface UpdateAppInstanceCommandInput extends UpdateAppInstanceRequest {} -/** - * @public - * - * The output of {@link UpdateAppInstanceCommand}. - */ -export interface UpdateAppInstanceCommandOutput extends UpdateAppInstanceResponse, __MetadataBearer {} - -/** - *

Updates AppInstance metadata.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, UpdateAppInstance, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by UpdateAppInstance in the Amazon Chime SDK Identity Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, UpdateAppInstanceCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, UpdateAppInstanceCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // UpdateAppInstanceRequest - * AppInstanceArn: "STRING_VALUE", // required - * Name: "STRING_VALUE", // required - * Metadata: "STRING_VALUE", - * }; - * const command = new UpdateAppInstanceCommand(input); - * const response = await client.send(command); - * // { // UpdateAppInstanceResponse - * // AppInstanceArn: "STRING_VALUE", - * // }; - * - * ``` - * - * @param UpdateAppInstanceCommandInput - {@link UpdateAppInstanceCommandInput} - * @returns {@link UpdateAppInstanceCommandOutput} - * @see {@link UpdateAppInstanceCommandInput} for command's `input` shape. - * @see {@link UpdateAppInstanceCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ConflictException} (client fault) - *

The request could not be processed because of conflict in the current state of the - * resource.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class UpdateAppInstanceCommand extends $Command - .classBuilder< - UpdateAppInstanceCommandInput, - UpdateAppInstanceCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "UpdateAppInstance", {}) - .n("ChimeClient", "UpdateAppInstanceCommand") - .f(UpdateAppInstanceRequestFilterSensitiveLog, void 0) - .ser(se_UpdateAppInstanceCommand) - .de(de_UpdateAppInstanceCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: UpdateAppInstanceRequest; - output: UpdateAppInstanceResponse; - }; - sdk: { - input: UpdateAppInstanceCommandInput; - output: UpdateAppInstanceCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/UpdateAppInstanceUserCommand.ts b/clients/client-chime/src/commands/UpdateAppInstanceUserCommand.ts deleted file mode 100644 index f907ec32f924..000000000000 --- a/clients/client-chime/src/commands/UpdateAppInstanceUserCommand.ts +++ /dev/null @@ -1,129 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - UpdateAppInstanceUserRequest, - UpdateAppInstanceUserRequestFilterSensitiveLog, - UpdateAppInstanceUserResponse, -} from "../models/models_1"; -import { de_UpdateAppInstanceUserCommand, se_UpdateAppInstanceUserCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateAppInstanceUserCommand}. - */ -export interface UpdateAppInstanceUserCommandInput extends UpdateAppInstanceUserRequest {} -/** - * @public - * - * The output of {@link UpdateAppInstanceUserCommand}. - */ -export interface UpdateAppInstanceUserCommandOutput extends UpdateAppInstanceUserResponse, __MetadataBearer {} - -/** - *

Updates the details of an AppInstanceUser. You can update names and metadata.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, UpdateAppInstanceUser, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by UpdateAppInstanceUser in the Amazon Chime SDK Identity Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, UpdateAppInstanceUserCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, UpdateAppInstanceUserCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // UpdateAppInstanceUserRequest - * AppInstanceUserArn: "STRING_VALUE", // required - * Name: "STRING_VALUE", // required - * Metadata: "STRING_VALUE", - * }; - * const command = new UpdateAppInstanceUserCommand(input); - * const response = await client.send(command); - * // { // UpdateAppInstanceUserResponse - * // AppInstanceUserArn: "STRING_VALUE", - * // }; - * - * ``` - * - * @param UpdateAppInstanceUserCommandInput - {@link UpdateAppInstanceUserCommandInput} - * @returns {@link UpdateAppInstanceUserCommandOutput} - * @see {@link UpdateAppInstanceUserCommandInput} for command's `input` shape. - * @see {@link UpdateAppInstanceUserCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ConflictException} (client fault) - *

The request could not be processed because of conflict in the current state of the - * resource.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class UpdateAppInstanceUserCommand extends $Command - .classBuilder< - UpdateAppInstanceUserCommandInput, - UpdateAppInstanceUserCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "UpdateAppInstanceUser", {}) - .n("ChimeClient", "UpdateAppInstanceUserCommand") - .f(UpdateAppInstanceUserRequestFilterSensitiveLog, void 0) - .ser(se_UpdateAppInstanceUserCommand) - .de(de_UpdateAppInstanceUserCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: UpdateAppInstanceUserRequest; - output: UpdateAppInstanceUserResponse; - }; - sdk: { - input: UpdateAppInstanceUserCommandInput; - output: UpdateAppInstanceUserCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/UpdateBotCommand.ts b/clients/client-chime/src/commands/UpdateBotCommand.ts index 7fc8a0927a68..dd2c67d85982 100644 --- a/clients/client-chime/src/commands/UpdateBotCommand.ts +++ b/clients/client-chime/src/commands/UpdateBotCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; import { commonParams } from "../endpoint/EndpointParameters"; -import { UpdateBotRequest, UpdateBotResponse, UpdateBotResponseFilterSensitiveLog } from "../models/models_1"; +import { UpdateBotRequest, UpdateBotResponse, UpdateBotResponseFilterSensitiveLog } from "../models/models_0"; import { de_UpdateBotCommand, se_UpdateBotCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/UpdateChannelCommand.ts b/clients/client-chime/src/commands/UpdateChannelCommand.ts deleted file mode 100644 index 24add62f7002..000000000000 --- a/clients/client-chime/src/commands/UpdateChannelCommand.ts +++ /dev/null @@ -1,138 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - UpdateChannelRequest, - UpdateChannelRequestFilterSensitiveLog, - UpdateChannelResponse, -} from "../models/models_1"; -import { de_UpdateChannelCommand, se_UpdateChannelCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateChannelCommand}. - */ -export interface UpdateChannelCommandInput extends UpdateChannelRequest {} -/** - * @public - * - * The output of {@link UpdateChannelCommand}. - */ -export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __MetadataBearer {} - -/** - *

Update a channel's attributes.

- *

- * Restriction: You can't change a channel's privacy.

- * - *

The x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, UpdateChannel, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by UpdateChannel in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, UpdateChannelCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, UpdateChannelCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // UpdateChannelRequest - * ChannelArn: "STRING_VALUE", // required - * Name: "STRING_VALUE", // required - * Mode: "UNRESTRICTED" || "RESTRICTED", // required - * Metadata: "STRING_VALUE", - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new UpdateChannelCommand(input); - * const response = await client.send(command); - * // { // UpdateChannelResponse - * // ChannelArn: "STRING_VALUE", - * // }; - * - * ``` - * - * @param UpdateChannelCommandInput - {@link UpdateChannelCommandInput} - * @returns {@link UpdateChannelCommandOutput} - * @see {@link UpdateChannelCommandInput} for command's `input` shape. - * @see {@link UpdateChannelCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ConflictException} (client fault) - *

The request could not be processed because of conflict in the current state of the - * resource.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class UpdateChannelCommand extends $Command - .classBuilder< - UpdateChannelCommandInput, - UpdateChannelCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "UpdateChannel", {}) - .n("ChimeClient", "UpdateChannelCommand") - .f(UpdateChannelRequestFilterSensitiveLog, void 0) - .ser(se_UpdateChannelCommand) - .de(de_UpdateChannelCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: UpdateChannelRequest; - output: UpdateChannelResponse; - }; - sdk: { - input: UpdateChannelCommandInput; - output: UpdateChannelCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/UpdateChannelMessageCommand.ts b/clients/client-chime/src/commands/UpdateChannelMessageCommand.ts deleted file mode 100644 index 57bf352d8f9f..000000000000 --- a/clients/client-chime/src/commands/UpdateChannelMessageCommand.ts +++ /dev/null @@ -1,137 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - UpdateChannelMessageRequest, - UpdateChannelMessageRequestFilterSensitiveLog, - UpdateChannelMessageResponse, -} from "../models/models_1"; -import { de_UpdateChannelMessageCommand, se_UpdateChannelMessageCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateChannelMessageCommand}. - */ -export interface UpdateChannelMessageCommandInput extends UpdateChannelMessageRequest {} -/** - * @public - * - * The output of {@link UpdateChannelMessageCommand}. - */ -export interface UpdateChannelMessageCommandOutput extends UpdateChannelMessageResponse, __MetadataBearer {} - -/** - *

Updates the content of a message.

- * - *

The x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, UpdateChannelMessage, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by UpdateChannelMessage in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, UpdateChannelMessageCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, UpdateChannelMessageCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // UpdateChannelMessageRequest - * ChannelArn: "STRING_VALUE", // required - * MessageId: "STRING_VALUE", // required - * Content: "STRING_VALUE", - * Metadata: "STRING_VALUE", - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new UpdateChannelMessageCommand(input); - * const response = await client.send(command); - * // { // UpdateChannelMessageResponse - * // ChannelArn: "STRING_VALUE", - * // MessageId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param UpdateChannelMessageCommandInput - {@link UpdateChannelMessageCommandInput} - * @returns {@link UpdateChannelMessageCommandOutput} - * @see {@link UpdateChannelMessageCommandInput} for command's `input` shape. - * @see {@link UpdateChannelMessageCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ConflictException} (client fault) - *

The request could not be processed because of conflict in the current state of the - * resource.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class UpdateChannelMessageCommand extends $Command - .classBuilder< - UpdateChannelMessageCommandInput, - UpdateChannelMessageCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "UpdateChannelMessage", {}) - .n("ChimeClient", "UpdateChannelMessageCommand") - .f(UpdateChannelMessageRequestFilterSensitiveLog, void 0) - .ser(se_UpdateChannelMessageCommand) - .de(de_UpdateChannelMessageCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: UpdateChannelMessageRequest; - output: UpdateChannelMessageResponse; - }; - sdk: { - input: UpdateChannelMessageCommandInput; - output: UpdateChannelMessageCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/UpdateChannelReadMarkerCommand.ts b/clients/client-chime/src/commands/UpdateChannelReadMarkerCommand.ts deleted file mode 100644 index 07cb63e02885..000000000000 --- a/clients/client-chime/src/commands/UpdateChannelReadMarkerCommand.ts +++ /dev/null @@ -1,129 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { UpdateChannelReadMarkerRequest, UpdateChannelReadMarkerResponse } from "../models/models_1"; -import { de_UpdateChannelReadMarkerCommand, se_UpdateChannelReadMarkerCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateChannelReadMarkerCommand}. - */ -export interface UpdateChannelReadMarkerCommandInput extends UpdateChannelReadMarkerRequest {} -/** - * @public - * - * The output of {@link UpdateChannelReadMarkerCommand}. - */ -export interface UpdateChannelReadMarkerCommandOutput extends UpdateChannelReadMarkerResponse, __MetadataBearer {} - -/** - *

The details of the time when a user last read messages in a channel.

- * - *

The x-amz-chime-bearer request header is mandatory. Use the - * AppInstanceUserArn of the user that makes the API call as the value in - * the header.

- *
- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, UpdateChannelReadMarker, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by UpdateChannelReadMarker in the Amazon Chime SDK Messaging Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, UpdateChannelReadMarkerCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, UpdateChannelReadMarkerCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // UpdateChannelReadMarkerRequest - * ChannelArn: "STRING_VALUE", // required - * ChimeBearer: "STRING_VALUE", - * }; - * const command = new UpdateChannelReadMarkerCommand(input); - * const response = await client.send(command); - * // { // UpdateChannelReadMarkerResponse - * // ChannelArn: "STRING_VALUE", - * // }; - * - * ``` - * - * @param UpdateChannelReadMarkerCommandInput - {@link UpdateChannelReadMarkerCommandInput} - * @returns {@link UpdateChannelReadMarkerCommandOutput} - * @see {@link UpdateChannelReadMarkerCommandInput} for command's `input` shape. - * @see {@link UpdateChannelReadMarkerCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ConflictException} (client fault) - *

The request could not be processed because of conflict in the current state of the - * resource.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class UpdateChannelReadMarkerCommand extends $Command - .classBuilder< - UpdateChannelReadMarkerCommandInput, - UpdateChannelReadMarkerCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "UpdateChannelReadMarker", {}) - .n("ChimeClient", "UpdateChannelReadMarkerCommand") - .f(void 0, void 0) - .ser(se_UpdateChannelReadMarkerCommand) - .de(de_UpdateChannelReadMarkerCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: UpdateChannelReadMarkerRequest; - output: UpdateChannelReadMarkerResponse; - }; - sdk: { - input: UpdateChannelReadMarkerCommandInput; - output: UpdateChannelReadMarkerCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/UpdateGlobalSettingsCommand.ts b/clients/client-chime/src/commands/UpdateGlobalSettingsCommand.ts index 7832e4c138cd..acea4d7efada 100644 --- a/clients/client-chime/src/commands/UpdateGlobalSettingsCommand.ts +++ b/clients/client-chime/src/commands/UpdateGlobalSettingsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; import { commonParams } from "../endpoint/EndpointParameters"; -import { UpdateGlobalSettingsRequest } from "../models/models_1"; +import { UpdateGlobalSettingsRequest } from "../models/models_0"; import { de_UpdateGlobalSettingsCommand, se_UpdateGlobalSettingsCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/UpdatePhoneNumberCommand.ts b/clients/client-chime/src/commands/UpdatePhoneNumberCommand.ts index 1334f334e814..ffe89f809c74 100644 --- a/clients/client-chime/src/commands/UpdatePhoneNumberCommand.ts +++ b/clients/client-chime/src/commands/UpdatePhoneNumberCommand.ts @@ -11,7 +11,7 @@ import { UpdatePhoneNumberRequestFilterSensitiveLog, UpdatePhoneNumberResponse, UpdatePhoneNumberResponseFilterSensitiveLog, -} from "../models/models_1"; +} from "../models/models_0"; import { de_UpdatePhoneNumberCommand, se_UpdatePhoneNumberCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/UpdatePhoneNumberSettingsCommand.ts b/clients/client-chime/src/commands/UpdatePhoneNumberSettingsCommand.ts index 63d3670258ec..edac4b1da45f 100644 --- a/clients/client-chime/src/commands/UpdatePhoneNumberSettingsCommand.ts +++ b/clients/client-chime/src/commands/UpdatePhoneNumberSettingsCommand.ts @@ -9,7 +9,7 @@ import { commonParams } from "../endpoint/EndpointParameters"; import { UpdatePhoneNumberSettingsRequest, UpdatePhoneNumberSettingsRequestFilterSensitiveLog, -} from "../models/models_1"; +} from "../models/models_0"; import { de_UpdatePhoneNumberSettingsCommand, se_UpdatePhoneNumberSettingsCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/UpdateProxySessionCommand.ts b/clients/client-chime/src/commands/UpdateProxySessionCommand.ts deleted file mode 100644 index 88081cc0079a..000000000000 --- a/clients/client-chime/src/commands/UpdateProxySessionCommand.ts +++ /dev/null @@ -1,155 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - UpdateProxySessionRequest, - UpdateProxySessionResponse, - UpdateProxySessionResponseFilterSensitiveLog, -} from "../models/models_1"; -import { de_UpdateProxySessionCommand, se_UpdateProxySessionCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateProxySessionCommand}. - */ -export interface UpdateProxySessionCommandInput extends UpdateProxySessionRequest {} -/** - * @public - * - * The output of {@link UpdateProxySessionCommand}. - */ -export interface UpdateProxySessionCommandOutput extends UpdateProxySessionResponse, __MetadataBearer {} - -/** - *

Updates the specified proxy session details, such as voice or SMS capabilities.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, UpdateProxySession, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by UpdateProxySession in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, UpdateProxySessionCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, UpdateProxySessionCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // UpdateProxySessionRequest - * VoiceConnectorId: "STRING_VALUE", // required - * ProxySessionId: "STRING_VALUE", // required - * Capabilities: [ // CapabilityList // required - * "Voice" || "SMS", - * ], - * ExpiryMinutes: Number("int"), - * }; - * const command = new UpdateProxySessionCommand(input); - * const response = await client.send(command); - * // { // UpdateProxySessionResponse - * // ProxySession: { // ProxySession - * // VoiceConnectorId: "STRING_VALUE", - * // ProxySessionId: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // Status: "Open" || "InProgress" || "Closed", - * // ExpiryMinutes: Number("int"), - * // Capabilities: [ // CapabilityList - * // "Voice" || "SMS", - * // ], - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // UpdatedTimestamp: new Date("TIMESTAMP"), - * // EndedTimestamp: new Date("TIMESTAMP"), - * // Participants: [ // Participants - * // { // Participant - * // PhoneNumber: "STRING_VALUE", - * // ProxyPhoneNumber: "STRING_VALUE", - * // }, - * // ], - * // NumberSelectionBehavior: "PreferSticky" || "AvoidSticky", - * // GeoMatchLevel: "Country" || "AreaCode", - * // GeoMatchParams: { // GeoMatchParams - * // Country: "STRING_VALUE", // required - * // AreaCode: "STRING_VALUE", // required - * // }, - * // }, - * // }; - * - * ``` - * - * @param UpdateProxySessionCommandInput - {@link UpdateProxySessionCommandInput} - * @returns {@link UpdateProxySessionCommandOutput} - * @see {@link UpdateProxySessionCommandInput} for command's `input` shape. - * @see {@link UpdateProxySessionCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class UpdateProxySessionCommand extends $Command - .classBuilder< - UpdateProxySessionCommandInput, - UpdateProxySessionCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "UpdateProxySession", {}) - .n("ChimeClient", "UpdateProxySessionCommand") - .f(void 0, UpdateProxySessionResponseFilterSensitiveLog) - .ser(se_UpdateProxySessionCommand) - .de(de_UpdateProxySessionCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: UpdateProxySessionRequest; - output: UpdateProxySessionResponse; - }; - sdk: { - input: UpdateProxySessionCommandInput; - output: UpdateProxySessionCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/UpdateRoomCommand.ts b/clients/client-chime/src/commands/UpdateRoomCommand.ts index 9270893349db..d89a12d3500e 100644 --- a/clients/client-chime/src/commands/UpdateRoomCommand.ts +++ b/clients/client-chime/src/commands/UpdateRoomCommand.ts @@ -11,7 +11,7 @@ import { UpdateRoomRequestFilterSensitiveLog, UpdateRoomResponse, UpdateRoomResponseFilterSensitiveLog, -} from "../models/models_1"; +} from "../models/models_0"; import { de_UpdateRoomCommand, se_UpdateRoomCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/UpdateRoomMembershipCommand.ts b/clients/client-chime/src/commands/UpdateRoomMembershipCommand.ts index c5851f107f6d..e41282f519ed 100644 --- a/clients/client-chime/src/commands/UpdateRoomMembershipCommand.ts +++ b/clients/client-chime/src/commands/UpdateRoomMembershipCommand.ts @@ -10,7 +10,7 @@ import { UpdateRoomMembershipRequest, UpdateRoomMembershipResponse, UpdateRoomMembershipResponseFilterSensitiveLog, -} from "../models/models_1"; +} from "../models/models_0"; import { de_UpdateRoomMembershipCommand, se_UpdateRoomMembershipCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/UpdateSipMediaApplicationCallCommand.ts b/clients/client-chime/src/commands/UpdateSipMediaApplicationCallCommand.ts deleted file mode 100644 index f27ade732487..000000000000 --- a/clients/client-chime/src/commands/UpdateSipMediaApplicationCallCommand.ts +++ /dev/null @@ -1,141 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - UpdateSipMediaApplicationCallRequest, - UpdateSipMediaApplicationCallRequestFilterSensitiveLog, - UpdateSipMediaApplicationCallResponse, -} from "../models/models_1"; -import { - de_UpdateSipMediaApplicationCallCommand, - se_UpdateSipMediaApplicationCallCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateSipMediaApplicationCallCommand}. - */ -export interface UpdateSipMediaApplicationCallCommandInput extends UpdateSipMediaApplicationCallRequest {} -/** - * @public - * - * The output of {@link UpdateSipMediaApplicationCallCommand}. - */ -export interface UpdateSipMediaApplicationCallCommandOutput - extends UpdateSipMediaApplicationCallResponse, - __MetadataBearer {} - -/** - *

Invokes the AWS Lambda function associated with the SIP media application and transaction ID in an update request. - * The Lambda function can then return a new set of actions.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, UpdateSipMediaApplicationCall, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by UpdateSipMediaApplicationCall in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, UpdateSipMediaApplicationCallCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, UpdateSipMediaApplicationCallCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // UpdateSipMediaApplicationCallRequest - * SipMediaApplicationId: "STRING_VALUE", // required - * TransactionId: "STRING_VALUE", // required - * Arguments: { // SMAUpdateCallArgumentsMap // required - * "": "STRING_VALUE", - * }, - * }; - * const command = new UpdateSipMediaApplicationCallCommand(input); - * const response = await client.send(command); - * // { // UpdateSipMediaApplicationCallResponse - * // SipMediaApplicationCall: { // SipMediaApplicationCall - * // TransactionId: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param UpdateSipMediaApplicationCallCommandInput - {@link UpdateSipMediaApplicationCallCommandInput} - * @returns {@link UpdateSipMediaApplicationCallCommandOutput} - * @see {@link UpdateSipMediaApplicationCallCommandInput} for command's `input` shape. - * @see {@link UpdateSipMediaApplicationCallCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ResourceLimitExceededException} (client fault) - *

The request exceeds the resource limit.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class UpdateSipMediaApplicationCallCommand extends $Command - .classBuilder< - UpdateSipMediaApplicationCallCommandInput, - UpdateSipMediaApplicationCallCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "UpdateSipMediaApplicationCall", {}) - .n("ChimeClient", "UpdateSipMediaApplicationCallCommand") - .f(UpdateSipMediaApplicationCallRequestFilterSensitiveLog, void 0) - .ser(se_UpdateSipMediaApplicationCallCommand) - .de(de_UpdateSipMediaApplicationCallCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: UpdateSipMediaApplicationCallRequest; - output: UpdateSipMediaApplicationCallResponse; - }; - sdk: { - input: UpdateSipMediaApplicationCallCommandInput; - output: UpdateSipMediaApplicationCallCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/UpdateSipMediaApplicationCommand.ts b/clients/client-chime/src/commands/UpdateSipMediaApplicationCommand.ts deleted file mode 100644 index 8afa42262ff1..000000000000 --- a/clients/client-chime/src/commands/UpdateSipMediaApplicationCommand.ts +++ /dev/null @@ -1,148 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - UpdateSipMediaApplicationRequest, - UpdateSipMediaApplicationRequestFilterSensitiveLog, - UpdateSipMediaApplicationResponse, - UpdateSipMediaApplicationResponseFilterSensitiveLog, -} from "../models/models_1"; -import { de_UpdateSipMediaApplicationCommand, se_UpdateSipMediaApplicationCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateSipMediaApplicationCommand}. - */ -export interface UpdateSipMediaApplicationCommandInput extends UpdateSipMediaApplicationRequest {} -/** - * @public - * - * The output of {@link UpdateSipMediaApplicationCommand}. - */ -export interface UpdateSipMediaApplicationCommandOutput extends UpdateSipMediaApplicationResponse, __MetadataBearer {} - -/** - *

Updates the details of the specified SIP media application.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, UpdateSipMediaApplication, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by UpdateSipMediaApplication in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, UpdateSipMediaApplicationCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, UpdateSipMediaApplicationCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // UpdateSipMediaApplicationRequest - * SipMediaApplicationId: "STRING_VALUE", // required - * Name: "STRING_VALUE", - * Endpoints: [ // SipMediaApplicationEndpointList - * { // SipMediaApplicationEndpoint - * LambdaArn: "STRING_VALUE", - * }, - * ], - * }; - * const command = new UpdateSipMediaApplicationCommand(input); - * const response = await client.send(command); - * // { // UpdateSipMediaApplicationResponse - * // SipMediaApplication: { // SipMediaApplication - * // SipMediaApplicationId: "STRING_VALUE", - * // AwsRegion: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // Endpoints: [ // SipMediaApplicationEndpointList - * // { // SipMediaApplicationEndpoint - * // LambdaArn: "STRING_VALUE", - * // }, - * // ], - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // UpdatedTimestamp: new Date("TIMESTAMP"), - * // }, - * // }; - * - * ``` - * - * @param UpdateSipMediaApplicationCommandInput - {@link UpdateSipMediaApplicationCommandInput} - * @returns {@link UpdateSipMediaApplicationCommandOutput} - * @see {@link UpdateSipMediaApplicationCommandInput} for command's `input` shape. - * @see {@link UpdateSipMediaApplicationCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ConflictException} (client fault) - *

The request could not be processed because of conflict in the current state of the - * resource.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class UpdateSipMediaApplicationCommand extends $Command - .classBuilder< - UpdateSipMediaApplicationCommandInput, - UpdateSipMediaApplicationCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "UpdateSipMediaApplication", {}) - .n("ChimeClient", "UpdateSipMediaApplicationCommand") - .f(UpdateSipMediaApplicationRequestFilterSensitiveLog, UpdateSipMediaApplicationResponseFilterSensitiveLog) - .ser(se_UpdateSipMediaApplicationCommand) - .de(de_UpdateSipMediaApplicationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: UpdateSipMediaApplicationRequest; - output: UpdateSipMediaApplicationResponse; - }; - sdk: { - input: UpdateSipMediaApplicationCommandInput; - output: UpdateSipMediaApplicationCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/UpdateSipRuleCommand.ts b/clients/client-chime/src/commands/UpdateSipRuleCommand.ts deleted file mode 100644 index de68cdae4da9..000000000000 --- a/clients/client-chime/src/commands/UpdateSipRuleCommand.ts +++ /dev/null @@ -1,153 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { UpdateSipRuleRequest, UpdateSipRuleResponse } from "../models/models_1"; -import { de_UpdateSipRuleCommand, se_UpdateSipRuleCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateSipRuleCommand}. - */ -export interface UpdateSipRuleCommandInput extends UpdateSipRuleRequest {} -/** - * @public - * - * The output of {@link UpdateSipRuleCommand}. - */ -export interface UpdateSipRuleCommandOutput extends UpdateSipRuleResponse, __MetadataBearer {} - -/** - *

Updates the details of the specified SIP rule.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, UpdateSipRule, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by UpdateSipRule in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, UpdateSipRuleCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, UpdateSipRuleCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // UpdateSipRuleRequest - * SipRuleId: "STRING_VALUE", // required - * Name: "STRING_VALUE", // required - * Disabled: true || false, - * TargetApplications: [ // SipRuleTargetApplicationList - * { // SipRuleTargetApplication - * SipMediaApplicationId: "STRING_VALUE", - * Priority: Number("int"), - * AwsRegion: "STRING_VALUE", - * }, - * ], - * }; - * const command = new UpdateSipRuleCommand(input); - * const response = await client.send(command); - * // { // UpdateSipRuleResponse - * // SipRule: { // SipRule - * // SipRuleId: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // Disabled: true || false, - * // TriggerType: "ToPhoneNumber" || "RequestUriHostname", - * // TriggerValue: "STRING_VALUE", - * // TargetApplications: [ // SipRuleTargetApplicationList - * // { // SipRuleTargetApplication - * // SipMediaApplicationId: "STRING_VALUE", - * // Priority: Number("int"), - * // AwsRegion: "STRING_VALUE", - * // }, - * // ], - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // UpdatedTimestamp: new Date("TIMESTAMP"), - * // }, - * // }; - * - * ``` - * - * @param UpdateSipRuleCommandInput - {@link UpdateSipRuleCommandInput} - * @returns {@link UpdateSipRuleCommandOutput} - * @see {@link UpdateSipRuleCommandInput} for command's `input` shape. - * @see {@link UpdateSipRuleCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ConflictException} (client fault) - *

The request could not be processed because of conflict in the current state of the - * resource.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ResourceLimitExceededException} (client fault) - *

The request exceeds the resource limit.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class UpdateSipRuleCommand extends $Command - .classBuilder< - UpdateSipRuleCommandInput, - UpdateSipRuleCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "UpdateSipRule", {}) - .n("ChimeClient", "UpdateSipRuleCommand") - .f(void 0, void 0) - .ser(se_UpdateSipRuleCommand) - .de(de_UpdateSipRuleCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: UpdateSipRuleRequest; - output: UpdateSipRuleResponse; - }; - sdk: { - input: UpdateSipRuleCommandInput; - output: UpdateSipRuleCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/UpdateUserCommand.ts b/clients/client-chime/src/commands/UpdateUserCommand.ts index 4856fdd984dc..8e21c6e9e4de 100644 --- a/clients/client-chime/src/commands/UpdateUserCommand.ts +++ b/clients/client-chime/src/commands/UpdateUserCommand.ts @@ -11,7 +11,7 @@ import { UpdateUserRequestFilterSensitiveLog, UpdateUserResponse, UpdateUserResponseFilterSensitiveLog, -} from "../models/models_1"; +} from "../models/models_0"; import { de_UpdateUserCommand, se_UpdateUserCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/UpdateUserSettingsCommand.ts b/clients/client-chime/src/commands/UpdateUserSettingsCommand.ts index 4451eab6e5c3..ec707c1352c8 100644 --- a/clients/client-chime/src/commands/UpdateUserSettingsCommand.ts +++ b/clients/client-chime/src/commands/UpdateUserSettingsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; import { commonParams } from "../endpoint/EndpointParameters"; -import { UpdateUserSettingsRequest } from "../models/models_1"; +import { UpdateUserSettingsRequest } from "../models/models_0"; import { de_UpdateUserSettingsCommand, se_UpdateUserSettingsCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-chime/src/commands/UpdateVoiceConnectorCommand.ts b/clients/client-chime/src/commands/UpdateVoiceConnectorCommand.ts deleted file mode 100644 index 270ecb76d60b..000000000000 --- a/clients/client-chime/src/commands/UpdateVoiceConnectorCommand.ts +++ /dev/null @@ -1,133 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { UpdateVoiceConnectorRequest, UpdateVoiceConnectorResponse } from "../models/models_1"; -import { de_UpdateVoiceConnectorCommand, se_UpdateVoiceConnectorCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateVoiceConnectorCommand}. - */ -export interface UpdateVoiceConnectorCommandInput extends UpdateVoiceConnectorRequest {} -/** - * @public - * - * The output of {@link UpdateVoiceConnectorCommand}. - */ -export interface UpdateVoiceConnectorCommandOutput extends UpdateVoiceConnectorResponse, __MetadataBearer {} - -/** - *

Updates details for the specified Amazon Chime Voice Connector.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, UpdateVoiceConnector, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by UpdateVoiceConnector in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, UpdateVoiceConnectorCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, UpdateVoiceConnectorCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // UpdateVoiceConnectorRequest - * VoiceConnectorId: "STRING_VALUE", // required - * Name: "STRING_VALUE", // required - * RequireEncryption: true || false, // required - * }; - * const command = new UpdateVoiceConnectorCommand(input); - * const response = await client.send(command); - * // { // UpdateVoiceConnectorResponse - * // VoiceConnector: { // VoiceConnector - * // VoiceConnectorId: "STRING_VALUE", - * // AwsRegion: "us-east-1" || "us-west-2", - * // Name: "STRING_VALUE", - * // OutboundHostName: "STRING_VALUE", - * // RequireEncryption: true || false, - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // UpdatedTimestamp: new Date("TIMESTAMP"), - * // VoiceConnectorArn: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param UpdateVoiceConnectorCommandInput - {@link UpdateVoiceConnectorCommandInput} - * @returns {@link UpdateVoiceConnectorCommandOutput} - * @see {@link UpdateVoiceConnectorCommandInput} for command's `input` shape. - * @see {@link UpdateVoiceConnectorCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class UpdateVoiceConnectorCommand extends $Command - .classBuilder< - UpdateVoiceConnectorCommandInput, - UpdateVoiceConnectorCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "UpdateVoiceConnector", {}) - .n("ChimeClient", "UpdateVoiceConnectorCommand") - .f(void 0, void 0) - .ser(se_UpdateVoiceConnectorCommand) - .de(de_UpdateVoiceConnectorCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: UpdateVoiceConnectorRequest; - output: UpdateVoiceConnectorResponse; - }; - sdk: { - input: UpdateVoiceConnectorCommandInput; - output: UpdateVoiceConnectorCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/UpdateVoiceConnectorGroupCommand.ts b/clients/client-chime/src/commands/UpdateVoiceConnectorGroupCommand.ts deleted file mode 100644 index 44e0c2e11859..000000000000 --- a/clients/client-chime/src/commands/UpdateVoiceConnectorGroupCommand.ts +++ /dev/null @@ -1,146 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { UpdateVoiceConnectorGroupRequest, UpdateVoiceConnectorGroupResponse } from "../models/models_1"; -import { de_UpdateVoiceConnectorGroupCommand, se_UpdateVoiceConnectorGroupCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateVoiceConnectorGroupCommand}. - */ -export interface UpdateVoiceConnectorGroupCommandInput extends UpdateVoiceConnectorGroupRequest {} -/** - * @public - * - * The output of {@link UpdateVoiceConnectorGroupCommand}. - */ -export interface UpdateVoiceConnectorGroupCommandOutput extends UpdateVoiceConnectorGroupResponse, __MetadataBearer {} - -/** - *

Updates details of the specified Amazon Chime Voice Connector group, such as the name and - * Amazon Chime Voice Connector priority ranking.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, UpdateVoiceConnectorGroup, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by UpdateVoiceConnectorGroup in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, UpdateVoiceConnectorGroupCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, UpdateVoiceConnectorGroupCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // UpdateVoiceConnectorGroupRequest - * VoiceConnectorGroupId: "STRING_VALUE", // required - * Name: "STRING_VALUE", // required - * VoiceConnectorItems: [ // VoiceConnectorItemList // required - * { // VoiceConnectorItem - * VoiceConnectorId: "STRING_VALUE", // required - * Priority: Number("int"), // required - * }, - * ], - * }; - * const command = new UpdateVoiceConnectorGroupCommand(input); - * const response = await client.send(command); - * // { // UpdateVoiceConnectorGroupResponse - * // VoiceConnectorGroup: { // VoiceConnectorGroup - * // VoiceConnectorGroupId: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // VoiceConnectorItems: [ // VoiceConnectorItemList - * // { // VoiceConnectorItem - * // VoiceConnectorId: "STRING_VALUE", // required - * // Priority: Number("int"), // required - * // }, - * // ], - * // CreatedTimestamp: new Date("TIMESTAMP"), - * // UpdatedTimestamp: new Date("TIMESTAMP"), - * // VoiceConnectorGroupArn: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param UpdateVoiceConnectorGroupCommandInput - {@link UpdateVoiceConnectorGroupCommandInput} - * @returns {@link UpdateVoiceConnectorGroupCommandOutput} - * @see {@link UpdateVoiceConnectorGroupCommandInput} for command's `input` shape. - * @see {@link UpdateVoiceConnectorGroupCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ConflictException} (client fault) - *

The request could not be processed because of conflict in the current state of the - * resource.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class UpdateVoiceConnectorGroupCommand extends $Command - .classBuilder< - UpdateVoiceConnectorGroupCommandInput, - UpdateVoiceConnectorGroupCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "UpdateVoiceConnectorGroup", {}) - .n("ChimeClient", "UpdateVoiceConnectorGroupCommand") - .f(void 0, void 0) - .ser(se_UpdateVoiceConnectorGroupCommand) - .de(de_UpdateVoiceConnectorGroupCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: UpdateVoiceConnectorGroupRequest; - output: UpdateVoiceConnectorGroupResponse; - }; - sdk: { - input: UpdateVoiceConnectorGroupCommandInput; - output: UpdateVoiceConnectorGroupCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/ValidateE911AddressCommand.ts b/clients/client-chime/src/commands/ValidateE911AddressCommand.ts deleted file mode 100644 index c4f0a5375f2d..000000000000 --- a/clients/client-chime/src/commands/ValidateE911AddressCommand.ts +++ /dev/null @@ -1,160 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { ChimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - ValidateE911AddressRequest, - ValidateE911AddressRequestFilterSensitiveLog, - ValidateE911AddressResponse, - ValidateE911AddressResponseFilterSensitiveLog, -} from "../models/models_1"; -import { de_ValidateE911AddressCommand, se_ValidateE911AddressCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ValidateE911AddressCommand}. - */ -export interface ValidateE911AddressCommandInput extends ValidateE911AddressRequest {} -/** - * @public - * - * The output of {@link ValidateE911AddressCommand}. - */ -export interface ValidateE911AddressCommandOutput extends ValidateE911AddressResponse, __MetadataBearer {} - -/** - *

Validates an address to be used for 911 calls made with Amazon - * Chime Voice Connectors. You can use validated addresses - * in a Presence Information Data Format Location Object file that you include in SIP requests. - * That helps ensure that addresses are routed to the appropriate Public Safety Answering Point.

- * - *

- * This API is is no longer supported and will not be updated. We recommend using the latest version, ValidateE911Address, in the Amazon Chime SDK.

- *

Using the latest version requires migrating to a dedicated namespace. For more information, refer to - * Migrating from the Amazon Chime namespace in the - * Amazon Chime SDK Developer Guide.

- *
- * - * @deprecated Replaced by ValidateE911Address in the Amazon Chime SDK Voice Namespace - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { ChimeClient, ValidateE911AddressCommand } from "@aws-sdk/client-chime"; // ES Modules import - * // const { ChimeClient, ValidateE911AddressCommand } = require("@aws-sdk/client-chime"); // CommonJS import - * const client = new ChimeClient(config); - * const input = { // ValidateE911AddressRequest - * AwsAccountId: "STRING_VALUE", // required - * StreetNumber: "STRING_VALUE", // required - * StreetInfo: "STRING_VALUE", // required - * City: "STRING_VALUE", // required - * State: "STRING_VALUE", // required - * Country: "STRING_VALUE", // required - * PostalCode: "STRING_VALUE", // required - * }; - * const command = new ValidateE911AddressCommand(input); - * const response = await client.send(command); - * // { // ValidateE911AddressResponse - * // ValidationResult: Number("int"), - * // AddressExternalId: "STRING_VALUE", - * // Address: { // Address - * // streetName: "STRING_VALUE", - * // streetSuffix: "STRING_VALUE", - * // postDirectional: "STRING_VALUE", - * // preDirectional: "STRING_VALUE", - * // streetNumber: "STRING_VALUE", - * // city: "STRING_VALUE", - * // state: "STRING_VALUE", - * // postalCode: "STRING_VALUE", - * // postalCodePlus4: "STRING_VALUE", - * // country: "STRING_VALUE", - * // }, - * // CandidateAddressList: [ // CandidateAddressList - * // { // CandidateAddress - * // streetInfo: "STRING_VALUE", - * // streetNumber: "STRING_VALUE", - * // city: "STRING_VALUE", - * // state: "STRING_VALUE", - * // postalCode: "STRING_VALUE", - * // postalCodePlus4: "STRING_VALUE", - * // country: "STRING_VALUE", - * // }, - * // ], - * // }; - * - * ``` - * - * @param ValidateE911AddressCommandInput - {@link ValidateE911AddressCommandInput} - * @returns {@link ValidateE911AddressCommandOutput} - * @see {@link ValidateE911AddressCommandInput} for command's `input` shape. - * @see {@link ValidateE911AddressCommandOutput} for command's `response` shape. - * @see {@link ChimeClientResolvedConfig | config} for ChimeClient's `config` shape. - * - * @throws {@link BadRequestException} (client fault) - *

The input parameters don't match the service's restrictions.

- * - * @throws {@link ForbiddenException} (client fault) - *

The client is permanently forbidden from making the request.

- * - * @throws {@link NotFoundException} (client fault) - *

One or more of the resources in the request does not exist in the system.

- * - * @throws {@link ServiceFailureException} (server fault) - *

The service encountered an unexpected error.

- * - * @throws {@link ServiceUnavailableException} (server fault) - *

The service is currently unavailable.

- * - * @throws {@link ThrottledClientException} (client fault) - *

The client exceeded its request rate limit.

- * - * @throws {@link UnauthorizedClientException} (client fault) - *

The client is not currently authorized to make the request.

- * - * @throws {@link ChimeServiceException} - *

Base exception class for all service exceptions from Chime service.

- * - * @public - */ -export class ValidateE911AddressCommand extends $Command - .classBuilder< - ValidateE911AddressCommandInput, - ValidateE911AddressCommandOutput, - ChimeClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: ChimeClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("UCBuzzConsoleService", "ValidateE911Address", {}) - .n("ChimeClient", "ValidateE911AddressCommand") - .f(ValidateE911AddressRequestFilterSensitiveLog, ValidateE911AddressResponseFilterSensitiveLog) - .ser(se_ValidateE911AddressCommand) - .de(de_ValidateE911AddressCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ValidateE911AddressRequest; - output: ValidateE911AddressResponse; - }; - sdk: { - input: ValidateE911AddressCommandInput; - output: ValidateE911AddressCommandOutput; - }; - }; -} diff --git a/clients/client-chime/src/commands/index.ts b/clients/client-chime/src/commands/index.ts index b1fc768aaf52..93116ed2f604 100644 --- a/clients/client-chime/src/commands/index.ts +++ b/clients/client-chime/src/commands/index.ts @@ -1,10 +1,6 @@ -export * from "./AssociatePhoneNumberWithUserCommand"; // smithy-typescript generated code -export * from "./AssociatePhoneNumbersWithVoiceConnectorCommand"; -export * from "./AssociatePhoneNumbersWithVoiceConnectorGroupCommand"; +export * from "./AssociatePhoneNumberWithUserCommand"; export * from "./AssociateSigninDelegateGroupsWithAccountCommand"; -export * from "./BatchCreateAttendeeCommand"; -export * from "./BatchCreateChannelMembershipCommand"; export * from "./BatchCreateRoomMembershipCommand"; export * from "./BatchDeletePhoneNumberCommand"; export * from "./BatchSuspendUserCommand"; @@ -12,181 +8,56 @@ export * from "./BatchUnsuspendUserCommand"; export * from "./BatchUpdatePhoneNumberCommand"; export * from "./BatchUpdateUserCommand"; export * from "./CreateAccountCommand"; -export * from "./CreateAppInstanceAdminCommand"; -export * from "./CreateAppInstanceCommand"; -export * from "./CreateAppInstanceUserCommand"; -export * from "./CreateAttendeeCommand"; export * from "./CreateBotCommand"; -export * from "./CreateChannelBanCommand"; -export * from "./CreateChannelCommand"; -export * from "./CreateChannelMembershipCommand"; -export * from "./CreateChannelModeratorCommand"; -export * from "./CreateMediaCapturePipelineCommand"; -export * from "./CreateMeetingCommand"; export * from "./CreateMeetingDialOutCommand"; -export * from "./CreateMeetingWithAttendeesCommand"; export * from "./CreatePhoneNumberOrderCommand"; -export * from "./CreateProxySessionCommand"; export * from "./CreateRoomCommand"; export * from "./CreateRoomMembershipCommand"; -export * from "./CreateSipMediaApplicationCallCommand"; -export * from "./CreateSipMediaApplicationCommand"; -export * from "./CreateSipRuleCommand"; export * from "./CreateUserCommand"; -export * from "./CreateVoiceConnectorCommand"; -export * from "./CreateVoiceConnectorGroupCommand"; export * from "./DeleteAccountCommand"; -export * from "./DeleteAppInstanceAdminCommand"; -export * from "./DeleteAppInstanceCommand"; -export * from "./DeleteAppInstanceStreamingConfigurationsCommand"; -export * from "./DeleteAppInstanceUserCommand"; -export * from "./DeleteAttendeeCommand"; -export * from "./DeleteChannelBanCommand"; -export * from "./DeleteChannelCommand"; -export * from "./DeleteChannelMembershipCommand"; -export * from "./DeleteChannelMessageCommand"; -export * from "./DeleteChannelModeratorCommand"; export * from "./DeleteEventsConfigurationCommand"; -export * from "./DeleteMediaCapturePipelineCommand"; -export * from "./DeleteMeetingCommand"; export * from "./DeletePhoneNumberCommand"; -export * from "./DeleteProxySessionCommand"; export * from "./DeleteRoomCommand"; export * from "./DeleteRoomMembershipCommand"; -export * from "./DeleteSipMediaApplicationCommand"; -export * from "./DeleteSipRuleCommand"; -export * from "./DeleteVoiceConnectorCommand"; -export * from "./DeleteVoiceConnectorEmergencyCallingConfigurationCommand"; -export * from "./DeleteVoiceConnectorGroupCommand"; -export * from "./DeleteVoiceConnectorOriginationCommand"; -export * from "./DeleteVoiceConnectorProxyCommand"; -export * from "./DeleteVoiceConnectorStreamingConfigurationCommand"; -export * from "./DeleteVoiceConnectorTerminationCommand"; -export * from "./DeleteVoiceConnectorTerminationCredentialsCommand"; -export * from "./DescribeAppInstanceAdminCommand"; -export * from "./DescribeAppInstanceCommand"; -export * from "./DescribeAppInstanceUserCommand"; -export * from "./DescribeChannelBanCommand"; -export * from "./DescribeChannelCommand"; -export * from "./DescribeChannelMembershipCommand"; -export * from "./DescribeChannelMembershipForAppInstanceUserCommand"; -export * from "./DescribeChannelModeratedByAppInstanceUserCommand"; -export * from "./DescribeChannelModeratorCommand"; export * from "./DisassociatePhoneNumberFromUserCommand"; -export * from "./DisassociatePhoneNumbersFromVoiceConnectorCommand"; -export * from "./DisassociatePhoneNumbersFromVoiceConnectorGroupCommand"; export * from "./DisassociateSigninDelegateGroupsFromAccountCommand"; export * from "./GetAccountCommand"; export * from "./GetAccountSettingsCommand"; -export * from "./GetAppInstanceRetentionSettingsCommand"; -export * from "./GetAppInstanceStreamingConfigurationsCommand"; -export * from "./GetAttendeeCommand"; export * from "./GetBotCommand"; -export * from "./GetChannelMessageCommand"; export * from "./GetEventsConfigurationCommand"; export * from "./GetGlobalSettingsCommand"; -export * from "./GetMediaCapturePipelineCommand"; -export * from "./GetMeetingCommand"; -export * from "./GetMessagingSessionEndpointCommand"; export * from "./GetPhoneNumberCommand"; export * from "./GetPhoneNumberOrderCommand"; export * from "./GetPhoneNumberSettingsCommand"; -export * from "./GetProxySessionCommand"; export * from "./GetRetentionSettingsCommand"; export * from "./GetRoomCommand"; -export * from "./GetSipMediaApplicationCommand"; -export * from "./GetSipMediaApplicationLoggingConfigurationCommand"; -export * from "./GetSipRuleCommand"; export * from "./GetUserCommand"; export * from "./GetUserSettingsCommand"; -export * from "./GetVoiceConnectorCommand"; -export * from "./GetVoiceConnectorEmergencyCallingConfigurationCommand"; -export * from "./GetVoiceConnectorGroupCommand"; -export * from "./GetVoiceConnectorLoggingConfigurationCommand"; -export * from "./GetVoiceConnectorOriginationCommand"; -export * from "./GetVoiceConnectorProxyCommand"; -export * from "./GetVoiceConnectorStreamingConfigurationCommand"; -export * from "./GetVoiceConnectorTerminationCommand"; -export * from "./GetVoiceConnectorTerminationHealthCommand"; export * from "./InviteUsersCommand"; export * from "./ListAccountsCommand"; -export * from "./ListAppInstanceAdminsCommand"; -export * from "./ListAppInstanceUsersCommand"; -export * from "./ListAppInstancesCommand"; -export * from "./ListAttendeeTagsCommand"; -export * from "./ListAttendeesCommand"; export * from "./ListBotsCommand"; -export * from "./ListChannelBansCommand"; -export * from "./ListChannelMembershipsCommand"; -export * from "./ListChannelMembershipsForAppInstanceUserCommand"; -export * from "./ListChannelMessagesCommand"; -export * from "./ListChannelModeratorsCommand"; -export * from "./ListChannelsCommand"; -export * from "./ListChannelsModeratedByAppInstanceUserCommand"; -export * from "./ListMediaCapturePipelinesCommand"; -export * from "./ListMeetingTagsCommand"; -export * from "./ListMeetingsCommand"; export * from "./ListPhoneNumberOrdersCommand"; export * from "./ListPhoneNumbersCommand"; -export * from "./ListProxySessionsCommand"; export * from "./ListRoomMembershipsCommand"; export * from "./ListRoomsCommand"; -export * from "./ListSipMediaApplicationsCommand"; -export * from "./ListSipRulesCommand"; export * from "./ListSupportedPhoneNumberCountriesCommand"; -export * from "./ListTagsForResourceCommand"; export * from "./ListUsersCommand"; -export * from "./ListVoiceConnectorGroupsCommand"; -export * from "./ListVoiceConnectorTerminationCredentialsCommand"; -export * from "./ListVoiceConnectorsCommand"; export * from "./LogoutUserCommand"; -export * from "./PutAppInstanceRetentionSettingsCommand"; -export * from "./PutAppInstanceStreamingConfigurationsCommand"; export * from "./PutEventsConfigurationCommand"; export * from "./PutRetentionSettingsCommand"; -export * from "./PutSipMediaApplicationLoggingConfigurationCommand"; -export * from "./PutVoiceConnectorEmergencyCallingConfigurationCommand"; -export * from "./PutVoiceConnectorLoggingConfigurationCommand"; -export * from "./PutVoiceConnectorOriginationCommand"; -export * from "./PutVoiceConnectorProxyCommand"; -export * from "./PutVoiceConnectorStreamingConfigurationCommand"; -export * from "./PutVoiceConnectorTerminationCommand"; -export * from "./PutVoiceConnectorTerminationCredentialsCommand"; -export * from "./RedactChannelMessageCommand"; export * from "./RedactConversationMessageCommand"; export * from "./RedactRoomMessageCommand"; export * from "./RegenerateSecurityTokenCommand"; export * from "./ResetPersonalPINCommand"; export * from "./RestorePhoneNumberCommand"; export * from "./SearchAvailablePhoneNumbersCommand"; -export * from "./SendChannelMessageCommand"; -export * from "./StartMeetingTranscriptionCommand"; -export * from "./StopMeetingTranscriptionCommand"; -export * from "./TagAttendeeCommand"; -export * from "./TagMeetingCommand"; -export * from "./TagResourceCommand"; -export * from "./UntagAttendeeCommand"; -export * from "./UntagMeetingCommand"; -export * from "./UntagResourceCommand"; export * from "./UpdateAccountCommand"; export * from "./UpdateAccountSettingsCommand"; -export * from "./UpdateAppInstanceCommand"; -export * from "./UpdateAppInstanceUserCommand"; export * from "./UpdateBotCommand"; -export * from "./UpdateChannelCommand"; -export * from "./UpdateChannelMessageCommand"; -export * from "./UpdateChannelReadMarkerCommand"; export * from "./UpdateGlobalSettingsCommand"; export * from "./UpdatePhoneNumberCommand"; export * from "./UpdatePhoneNumberSettingsCommand"; -export * from "./UpdateProxySessionCommand"; export * from "./UpdateRoomCommand"; export * from "./UpdateRoomMembershipCommand"; -export * from "./UpdateSipMediaApplicationCallCommand"; -export * from "./UpdateSipMediaApplicationCommand"; -export * from "./UpdateSipRuleCommand"; export * from "./UpdateUserCommand"; export * from "./UpdateUserSettingsCommand"; -export * from "./UpdateVoiceConnectorCommand"; -export * from "./UpdateVoiceConnectorGroupCommand"; -export * from "./ValidateE911AddressCommand"; diff --git a/clients/client-chime/src/models/index.ts b/clients/client-chime/src/models/index.ts index 1657800f73ce..9eaceb12865f 100644 --- a/clients/client-chime/src/models/index.ts +++ b/clients/client-chime/src/models/index.ts @@ -1,3 +1,2 @@ // smithy-typescript generated code export * from "./models_0"; -export * from "./models_1"; diff --git a/clients/client-chime/src/models/models_0.ts b/clients/client-chime/src/models/models_0.ts index 85ea75bde97f..5f47e4125311 100644 --- a/clients/client-chime/src/models/models_0.ts +++ b/clients/client-chime/src/models/models_0.ts @@ -196,700 +196,811 @@ export interface AccountSettings { } /** - *

A validated address.

+ *

The Alexa for Business metadata associated with an Amazon Chime user, used to integrate Alexa for Business with a device.

* @public */ -export interface Address { - /** - *

The address street, such as 8th Avenue.

- * @public - */ - streetName?: string | undefined; - - /** - *

The address suffix, such as the N in 8th Avenue N.

- * @public - */ - streetSuffix?: string | undefined; - - /** - *

An address suffix location, such as the S. Unit A in Central Park S. Unit A.

- * @public - */ - postDirectional?: string | undefined; - - /** - *

An address prefix location, such as the N in N. Third St..

- * @public - */ - preDirectional?: string | undefined; - - /** - *

The numeric portion of an address.

- * @public - */ - streetNumber?: string | undefined; - +export interface AlexaForBusinessMetadata { /** - *

The city of an address.

+ *

Starts or stops Alexa for Business.

* @public */ - city?: string | undefined; + IsAlexaForBusinessEnabled?: boolean | undefined; /** - *

The state of an address.

+ *

The ARN of the room resource.

* @public */ - state?: string | undefined; + AlexaForBusinessRoomArn?: string | undefined; +} +/** + * @public + */ +export interface AssociatePhoneNumberWithUserRequest { /** - *

The postal code of an address.

+ *

The Amazon Chime account ID.

* @public */ - postalCode?: string | undefined; + AccountId: string | undefined; /** - *

The Zip + 4 or postal code + 4 of an address.

+ *

The user ID.

* @public */ - postalCodePlus4?: string | undefined; + UserId: string | undefined; /** - *

The country of an address.

+ *

The phone number, in E.164 format.

* @public */ - country?: string | undefined; + E164PhoneNumber: string | undefined; } /** - *

The Alexa for Business metadata associated with an Amazon Chime user, used to integrate Alexa for Business with a device.

* @public */ -export interface AlexaForBusinessMetadata { - /** - *

Starts or stops Alexa for Business.

- * @public - */ - IsAlexaForBusinessEnabled?: boolean | undefined; +export interface AssociatePhoneNumberWithUserResponse {} +/** + *

The input parameters don't match the service's restrictions.

+ * @public + */ +export class BadRequestException extends __BaseException { + readonly name: "BadRequestException" = "BadRequestException"; + readonly $fault: "client" = "client"; + Code?: ErrorCode | undefined; + Message?: string | undefined; /** - *

The ARN of the room resource.

- * @public + * @internal */ - AlexaForBusinessRoomArn?: string | undefined; + constructor(opts: __ExceptionOptionType) { + super({ + name: "BadRequestException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, BadRequestException.prototype); + this.Code = opts.Code; + this.Message = opts.Message; + } } /** - *

The details of an AppInstance, an instance of an Amazon Chime SDK messaging application.

+ *

The client is permanently forbidden from making the request.

* @public */ -export interface AppInstance { - /** - *

The ARN of the messaging instance.

- * @public - */ - AppInstanceArn?: string | undefined; - - /** - *

The name of an AppInstance.

- * @public - */ - Name?: string | undefined; - +export class ForbiddenException extends __BaseException { + readonly name: "ForbiddenException" = "ForbiddenException"; + readonly $fault: "client" = "client"; + Code?: ErrorCode | undefined; + Message?: string | undefined; /** - *

The metadata of an AppInstance.

- * @public + * @internal */ - Metadata?: string | undefined; + constructor(opts: __ExceptionOptionType) { + super({ + name: "ForbiddenException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ForbiddenException.prototype); + this.Code = opts.Code; + this.Message = opts.Message; + } +} +/** + *

One or more of the resources in the request does not exist in the system.

+ * @public + */ +export class NotFoundException extends __BaseException { + readonly name: "NotFoundException" = "NotFoundException"; + readonly $fault: "client" = "client"; + Code?: ErrorCode | undefined; + Message?: string | undefined; /** - *

The time at which an AppInstance was created. In epoch milliseconds.

- * @public + * @internal */ - CreatedTimestamp?: Date | undefined; + constructor(opts: __ExceptionOptionType) { + super({ + name: "NotFoundException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, NotFoundException.prototype); + this.Code = opts.Code; + this.Message = opts.Message; + } +} +/** + *

The service encountered an unexpected error.

+ * @public + */ +export class ServiceFailureException extends __BaseException { + readonly name: "ServiceFailureException" = "ServiceFailureException"; + readonly $fault: "server" = "server"; + Code?: ErrorCode | undefined; + Message?: string | undefined; /** - *

The time an AppInstance was last updated. In epoch milliseconds.

- * @public + * @internal */ - LastUpdatedTimestamp?: Date | undefined; + constructor(opts: __ExceptionOptionType) { + super({ + name: "ServiceFailureException", + $fault: "server", + ...opts, + }); + Object.setPrototypeOf(this, ServiceFailureException.prototype); + this.Code = opts.Code; + this.Message = opts.Message; + } } /** - *

The details of a user.

+ *

The service is currently unavailable.

* @public */ -export interface Identity { +export class ServiceUnavailableException extends __BaseException { + readonly name: "ServiceUnavailableException" = "ServiceUnavailableException"; + readonly $fault: "server" = "server"; + Code?: ErrorCode | undefined; + Message?: string | undefined; /** - *

The ARN in an Identity.

- * @public + * @internal */ - Arn?: string | undefined; + constructor(opts: __ExceptionOptionType) { + super({ + name: "ServiceUnavailableException", + $fault: "server", + ...opts, + }); + Object.setPrototypeOf(this, ServiceUnavailableException.prototype); + this.Code = opts.Code; + this.Message = opts.Message; + } +} +/** + *

The client exceeded its request rate limit.

+ * @public + */ +export class ThrottledClientException extends __BaseException { + readonly name: "ThrottledClientException" = "ThrottledClientException"; + readonly $fault: "client" = "client"; + Code?: ErrorCode | undefined; + Message?: string | undefined; /** - *

The name in an Identity.

- * @public + * @internal */ - Name?: string | undefined; + constructor(opts: __ExceptionOptionType) { + super({ + name: "ThrottledClientException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ThrottledClientException.prototype); + this.Code = opts.Code; + this.Message = opts.Message; + } } /** - *

The details of an AppInstanceAdmin.

+ *

The client is not currently authorized to make the request.

* @public */ -export interface AppInstanceAdmin { +export class UnauthorizedClientException extends __BaseException { + readonly name: "UnauthorizedClientException" = "UnauthorizedClientException"; + readonly $fault: "client" = "client"; + Code?: ErrorCode | undefined; + Message?: string | undefined; /** - *

The AppInstanceAdmin data.

- * @public + * @internal */ - Admin?: Identity | undefined; + constructor(opts: __ExceptionOptionType) { + super({ + name: "UnauthorizedClientException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, UnauthorizedClientException.prototype); + this.Code = opts.Code; + this.Message = opts.Message; + } +} +/** + * @public + */ +export interface AssociateSigninDelegateGroupsWithAccountRequest { /** - *

The ARN of the AppInstance for which the user is an administrator.

+ *

The Amazon Chime account ID.

* @public */ - AppInstanceArn?: string | undefined; + AccountId: string | undefined; /** - *

The time at which an administrator was created.

+ *

The sign-in delegate groups.

* @public */ - CreatedTimestamp?: Date | undefined; + SigninDelegateGroups: SigninDelegateGroup[] | undefined; } /** - *

Summary of the details of an AppInstanceAdmin.

* @public */ -export interface AppInstanceAdminSummary { - /** - *

The details of the AppInstanceAdmin.

- * @public - */ - Admin?: Identity | undefined; -} +export interface AssociateSigninDelegateGroupsWithAccountResponse {} /** * @public * @enum */ -export const AppInstanceDataType = { - Channel: "Channel", - ChannelMessage: "ChannelMessage", +export const RoomMembershipRole = { + Administrator: "Administrator", + Member: "Member", } as const; /** * @public */ -export type AppInstanceDataType = (typeof AppInstanceDataType)[keyof typeof AppInstanceDataType]; +export type RoomMembershipRole = (typeof RoomMembershipRole)[keyof typeof RoomMembershipRole]; /** - *

Summary of the data for an AppInstance.

+ *

Membership details, such as member ID and member role.

* @public */ -export interface AppInstanceSummary { - /** - *

The AppInstance ARN.

- * @public - */ - AppInstanceArn?: string | undefined; - - /** - *

The name of the AppInstance.

- * @public - */ - Name?: string | undefined; - +export interface MembershipItem { /** - *

The metadata of the AppInstance.

+ *

The member ID.

* @public */ - Metadata?: string | undefined; -} + MemberId?: string | undefined; -/** - *

The details of the retention settings for a channel.

- * @public - */ -export interface ChannelRetentionSettings { /** - *

The time in days to retain the messages in a channel.

+ *

The member role.

* @public */ - RetentionDays?: number | undefined; + Role?: RoomMembershipRole | undefined; } /** - *

The details of the data-retention settings for an AppInstance.

* @public */ -export interface AppInstanceRetentionSettings { +export interface BatchCreateRoomMembershipRequest { /** - *

The length of time in days to retain the messages in a channel.

+ *

The Amazon Chime account ID.

* @public */ - ChannelRetentionSettings?: ChannelRetentionSettings | undefined; -} + AccountId: string | undefined; -/** - *

The details of the streaming configuration of an AppInstance.

- * @public - */ -export interface AppInstanceStreamingConfiguration { /** - *

The type of data to be streamed.

+ *

The room ID.

* @public */ - AppInstanceDataType: AppInstanceDataType | undefined; + RoomId: string | undefined; /** - *

The resource ARN.

+ *

The list of membership items.

* @public */ - ResourceArn: string | undefined; + MembershipItemList: MembershipItem[] | undefined; } /** - *

The details of an AppInstanceUser.

+ *

The list of errors returned when a member action results in an error.

* @public */ -export interface AppInstanceUser { +export interface MemberError { /** - *

The ARN of the AppInstanceUser.

+ *

The member ID.

* @public */ - AppInstanceUserArn?: string | undefined; + MemberId?: string | undefined; /** - *

The name of the AppInstanceUser.

+ *

The error code.

* @public */ - Name?: string | undefined; + ErrorCode?: ErrorCode | undefined; /** - *

The time at which the AppInstanceUser was created.

+ *

The error message.

* @public */ - CreatedTimestamp?: Date | undefined; + ErrorMessage?: string | undefined; +} +/** + * @public + */ +export interface BatchCreateRoomMembershipResponse { /** - *

The metadata of the AppInstanceUser.

+ *

If the action fails for one or more of the member IDs in the request, a list of the member IDs is returned, along with error codes and error messages.

* @public */ - Metadata?: string | undefined; + Errors?: MemberError[] | undefined; +} +/** + * @public + */ +export interface BatchDeletePhoneNumberRequest { /** - *

The time at which the AppInstanceUser was last updated.

+ *

List of phone number IDs.

* @public */ - LastUpdatedTimestamp?: Date | undefined; + PhoneNumberIds: string[] | undefined; } /** - *

Summary of the details of an AppInstanceUser.

+ *

If the phone number action fails for one or more of the phone numbers in the request, a list of + * the phone numbers is returned, along with error codes and error messages.

* @public */ -export interface AppInstanceUserSummary { +export interface PhoneNumberError { /** - *

The ARN of the AppInstanceUser.

+ *

The phone number ID for which the action failed.

* @public */ - AppInstanceUserArn?: string | undefined; + PhoneNumberId?: string | undefined; /** - *

The name of an AppInstanceUser.

+ *

The error code.

* @public */ - Name?: string | undefined; + ErrorCode?: ErrorCode | undefined; /** - *

The metadata of the AppInstanceUser.

+ *

The error message.

* @public */ - Metadata?: string | undefined; + ErrorMessage?: string | undefined; } /** * @public - * @enum */ -export const ChannelMembershipType = { - DEFAULT: "DEFAULT", - HIDDEN: "HIDDEN", -} as const; +export interface BatchDeletePhoneNumberResponse { + /** + *

If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.

+ * @public + */ + PhoneNumberErrors?: PhoneNumberError[] | undefined; +} /** * @public */ -export type ChannelMembershipType = (typeof ChannelMembershipType)[keyof typeof ChannelMembershipType]; +export interface BatchSuspendUserRequest { + /** + *

The Amazon Chime account ID.

+ * @public + */ + AccountId: string | undefined; + + /** + *

The request containing the user IDs to suspend.

+ * @public + */ + UserIdList: string[] | undefined; +} /** - *

Summary of the membership details of an AppInstanceUser.

+ *

The list of errors returned when errors are encountered during the BatchSuspendUser, BatchUnsuspendUser, or + * BatchUpdateUser actions. This includes user IDs, error codes, and error messages.

* @public */ -export interface AppInstanceUserMembershipSummary { +export interface UserError { + /** + *

The user ID for which the action failed.

+ * @public + */ + UserId?: string | undefined; + /** - *

The type of ChannelMembership.

+ *

The error code.

* @public */ - Type?: ChannelMembershipType | undefined; + ErrorCode?: ErrorCode | undefined; /** - *

The time at which a message was last read.

+ *

The error message.

* @public */ - ReadMarkerTimestamp?: Date | undefined; + ErrorMessage?: string | undefined; } /** * @public - * @enum */ -export const AudioMuxType = { - AudioOnly: "AudioOnly", - AudioWithActiveSpeakerVideo: "AudioWithActiveSpeakerVideo", -} as const; +export interface BatchSuspendUserResponse { + /** + *

If the BatchSuspendUser action fails for one or more of the user IDs in the + * request, a list of the user IDs is returned, along with error codes and error messages.

+ * @public + */ + UserErrors?: UserError[] | undefined; +} /** * @public */ -export type AudioMuxType = (typeof AudioMuxType)[keyof typeof AudioMuxType]; +export interface BatchUnsuspendUserRequest { + /** + *

The Amazon Chime account ID.

+ * @public + */ + AccountId: string | undefined; + + /** + *

The request containing the user IDs to unsuspend.

+ * @public + */ + UserIdList: string[] | undefined; +} /** - *

The audio artifact configuration object.

* @public */ -export interface AudioArtifactsConfiguration { +export interface BatchUnsuspendUserResponse { /** - *

The MUX type of the audio artifact configuration object.

+ *

If the BatchUnsuspendUser action fails for one or more of the user IDs in the + * request, a list of the user IDs is returned, along with error codes and error messages.

* @public */ - MuxType: AudioMuxType | undefined; + UserErrors?: UserError[] | undefined; } /** * @public * @enum */ -export const ContentMuxType = { - ContentOnly: "ContentOnly", +export const PhoneNumberProductType = { + BusinessCalling: "BusinessCalling", + SipMediaApplicationDialIn: "SipMediaApplicationDialIn", + VoiceConnector: "VoiceConnector", } as const; /** * @public */ -export type ContentMuxType = (typeof ContentMuxType)[keyof typeof ContentMuxType]; +export type PhoneNumberProductType = (typeof PhoneNumberProductType)[keyof typeof PhoneNumberProductType]; /** + *

The phone number ID, product type, or calling name fields to update, used with the + * BatchUpdatePhoneNumber and UpdatePhoneNumber actions.

* @public - * @enum */ -export const ArtifactsState = { - Disabled: "Disabled", - Enabled: "Enabled", -} as const; +export interface UpdatePhoneNumberRequestItem { + /** + *

The phone number ID to update.

+ * @public + */ + PhoneNumberId: string | undefined; -/** - * @public - */ -export type ArtifactsState = (typeof ArtifactsState)[keyof typeof ArtifactsState]; + /** + *

The product type to update.

+ * @public + */ + ProductType?: PhoneNumberProductType | undefined; + + /** + *

The outbound calling name to update.

+ * @public + */ + CallingName?: string | undefined; +} /** - *

The content artifact object.

* @public */ -export interface ContentArtifactsConfiguration { +export interface BatchUpdatePhoneNumberRequest { /** - *

Indicates whether the content artifact is enabled or disabled.

+ *

The request containing the phone number IDs and product types or calling names to update.

* @public */ - State: ArtifactsState | undefined; + UpdatePhoneNumberRequestItems: UpdatePhoneNumberRequestItem[] | undefined; +} +/** + * @public + */ +export interface BatchUpdatePhoneNumberResponse { /** - *

The MUX type of the artifact configuration.

+ *

If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.

* @public */ - MuxType?: ContentMuxType | undefined; + PhoneNumberErrors?: PhoneNumberError[] | undefined; } /** * @public * @enum */ -export const VideoMuxType = { - VideoOnly: "VideoOnly", +export const UserType = { + PrivateUser: "PrivateUser", + SharedDevice: "SharedDevice", } as const; /** * @public */ -export type VideoMuxType = (typeof VideoMuxType)[keyof typeof VideoMuxType]; +export type UserType = (typeof UserType)[keyof typeof UserType]; /** - *

The video artifact configuration object.

+ *

The user ID and user fields to update, used with the + * BatchUpdateUser action.

* @public */ -export interface VideoArtifactsConfiguration { +export interface UpdateUserRequestItem { + /** + *

The user ID.

+ * @public + */ + UserId: string | undefined; + + /** + *

The user license type.

+ * @public + */ + LicenseType?: License | undefined; + /** - *

Indicates whether the video artifact is enabled or disabled.

+ *

The user type.

* @public */ - State: ArtifactsState | undefined; + UserType?: UserType | undefined; /** - *

The MUX type of the video artifact configuration object.

+ *

The Alexa for Business metadata.

* @public */ - MuxType?: VideoMuxType | undefined; + AlexaForBusinessMetadata?: AlexaForBusinessMetadata | undefined; } /** - *

The configuration for the artifacts.

* @public */ -export interface ArtifactsConfiguration { +export interface BatchUpdateUserRequest { /** - *

The configuration for the audio artifacts.

+ *

The Amazon Chime account ID.

* @public */ - Audio: AudioArtifactsConfiguration | undefined; + AccountId: string | undefined; /** - *

The configuration for the video artifacts.

+ *

The request containing the user IDs and details to update.

* @public */ - Video: VideoArtifactsConfiguration | undefined; + UpdateUserRequestItems: UpdateUserRequestItem[] | undefined; +} +/** + * @public + */ +export interface BatchUpdateUserResponse { /** - *

The configuration for the content artifacts.

+ *

If the BatchUpdateUser action fails for one or more of the user IDs in the + * request, a list of the user IDs is returned, along with error codes and error messages.

* @public */ - Content: ContentArtifactsConfiguration | undefined; + UserErrors?: UserError[] | undefined; } /** + * @public + * @enum + */ +export const BotType = { + ChatBot: "ChatBot", +} as const; + +/** + * @public + */ +export type BotType = (typeof BotType)[keyof typeof BotType]; + +/** + *

A resource that allows Enterprise account administrators to configure an interface to receive events from Amazon Chime.

* @public */ -export interface AssociatePhoneNumbersWithVoiceConnectorRequest { +export interface Bot { /** - *

The Amazon Chime Voice Connector ID.

+ *

The bot ID.

* @public */ - VoiceConnectorId: string | undefined; + BotId?: string | undefined; /** - *

List of phone numbers, in E.164 format.

+ *

The unique ID for the bot user.

* @public */ - E164PhoneNumbers: string[] | undefined; + UserId?: string | undefined; /** - *

If true, associates the provided phone numbers with the provided Amazon Chime Voice Connector and removes any previously existing associations. If false, does not associate any phone numbers that have previously existing associations.

+ *

The bot display name.

* @public */ - ForceAssociate?: boolean | undefined; -} + DisplayName?: string | undefined; -/** - *

If the phone number action fails for one or more of the phone numbers in the request, a list of - * the phone numbers is returned, along with error codes and error messages.

- * @public - */ -export interface PhoneNumberError { /** - *

The phone number ID for which the action failed.

+ *

The bot type.

* @public */ - PhoneNumberId?: string | undefined; + BotType?: BotType | undefined; /** - *

The error code.

+ *

When true, the bot is stopped from running in your account.

* @public */ - ErrorCode?: ErrorCode | undefined; + Disabled?: boolean | undefined; /** - *

The error message.

+ *

The bot creation timestamp, in ISO 8601 format.

* @public */ - ErrorMessage?: string | undefined; + CreatedTimestamp?: Date | undefined; + + /** + *

The updated bot timestamp, in ISO 8601 format.

+ * @public + */ + UpdatedTimestamp?: Date | undefined; + + /** + *

The bot email address.

+ * @public + */ + BotEmail?: string | undefined; + + /** + *

The security token used to authenticate Amazon Chime with the outgoing event endpoint.

+ * @public + */ + SecurityToken?: string | undefined; } /** + *

The Amazon Chime Business Calling settings for the administrator's AWS account. Includes any + * Amazon S3 buckets designated for storing call detail records.

* @public */ -export interface AssociatePhoneNumbersWithVoiceConnectorResponse { +export interface BusinessCallingSettings { /** - *

If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and - * error messages.

+ *

The Amazon S3 bucket designated for call detail record storage.

* @public */ - PhoneNumberErrors?: PhoneNumberError[] | undefined; + CdrBucket?: string | undefined; } /** - *

The input parameters don't match the service's restrictions.

* @public + * @enum */ -export class BadRequestException extends __BaseException { - readonly name: "BadRequestException" = "BadRequestException"; +export const CallingNameStatus = { + Unassigned: "Unassigned", + UpdateFailed: "UpdateFailed", + UpdateInProgress: "UpdateInProgress", + UpdateSucceeded: "UpdateSucceeded", +} as const; + +/** + * @public + */ +export type CallingNameStatus = (typeof CallingNameStatus)[keyof typeof CallingNameStatus]; + +/** + *

The request could not be processed because of conflict in the current state of the + * resource.

+ * @public + */ +export class ConflictException extends __BaseException { + readonly name: "ConflictException" = "ConflictException"; readonly $fault: "client" = "client"; Code?: ErrorCode | undefined; Message?: string | undefined; /** * @internal */ - constructor(opts: __ExceptionOptionType) { + constructor(opts: __ExceptionOptionType) { super({ - name: "BadRequestException", + name: "ConflictException", $fault: "client", ...opts, }); - Object.setPrototypeOf(this, BadRequestException.prototype); + Object.setPrototypeOf(this, ConflictException.prototype); this.Code = opts.Code; this.Message = opts.Message; } } /** - *

The client is permanently forbidden from making the request.

+ *

The retention settings that determine how long to retain conversation messages for an Amazon Chime Enterprise account.

* @public */ -export class ForbiddenException extends __BaseException { - readonly name: "ForbiddenException" = "ForbiddenException"; - readonly $fault: "client" = "client"; - Code?: ErrorCode | undefined; - Message?: string | undefined; +export interface ConversationRetentionSettings { /** - * @internal + *

The number of days for which to retain conversation messages.

+ * @public */ - constructor(opts: __ExceptionOptionType) { - super({ - name: "ForbiddenException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ForbiddenException.prototype); - this.Code = opts.Code; - this.Message = opts.Message; - } + RetentionDays?: number | undefined; } /** - *

One or more of the resources in the request does not exist in the system.

* @public */ -export class NotFoundException extends __BaseException { - readonly name: "NotFoundException" = "NotFoundException"; - readonly $fault: "client" = "client"; - Code?: ErrorCode | undefined; - Message?: string | undefined; +export interface CreateAccountRequest { /** - * @internal + *

The name of the Amazon Chime account.

+ * @public */ - constructor(opts: __ExceptionOptionType) { - super({ - name: "NotFoundException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, NotFoundException.prototype); - this.Code = opts.Code; - this.Message = opts.Message; - } + Name: string | undefined; } /** - *

The service encountered an unexpected error.

* @public */ -export class ServiceFailureException extends __BaseException { - readonly name: "ServiceFailureException" = "ServiceFailureException"; - readonly $fault: "server" = "server"; - Code?: ErrorCode | undefined; - Message?: string | undefined; +export interface CreateAccountResponse { /** - * @internal + *

The Amazon Chime account details.

+ * @public */ - constructor(opts: __ExceptionOptionType) { - super({ - name: "ServiceFailureException", - $fault: "server", - ...opts, - }); - Object.setPrototypeOf(this, ServiceFailureException.prototype); - this.Code = opts.Code; - this.Message = opts.Message; - } + Account?: Account | undefined; } /** - *

The service is currently unavailable.

* @public */ -export class ServiceUnavailableException extends __BaseException { - readonly name: "ServiceUnavailableException" = "ServiceUnavailableException"; - readonly $fault: "server" = "server"; - Code?: ErrorCode | undefined; - Message?: string | undefined; +export interface CreateBotRequest { /** - * @internal + *

The Amazon Chime account ID.

+ * @public */ - constructor(opts: __ExceptionOptionType) { - super({ - name: "ServiceUnavailableException", - $fault: "server", - ...opts, - }); - Object.setPrototypeOf(this, ServiceUnavailableException.prototype); - this.Code = opts.Code; - this.Message = opts.Message; - } + AccountId: string | undefined; + + /** + *

The bot display name.

+ * @public + */ + DisplayName: string | undefined; + + /** + *

The domain of the Amazon Chime Enterprise account.

+ * @public + */ + Domain?: string | undefined; } /** - *

The client exceeded its request rate limit.

* @public */ -export class ThrottledClientException extends __BaseException { - readonly name: "ThrottledClientException" = "ThrottledClientException"; - readonly $fault: "client" = "client"; - Code?: ErrorCode | undefined; - Message?: string | undefined; +export interface CreateBotResponse { /** - * @internal + *

The bot details.

+ * @public */ - constructor(opts: __ExceptionOptionType) { - super({ - name: "ThrottledClientException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ThrottledClientException.prototype); - this.Code = opts.Code; - this.Message = opts.Message; - } + Bot?: Bot | undefined; } /** - *

The client is not currently authorized to make the request.

+ *

The request exceeds the resource limit.

* @public */ -export class UnauthorizedClientException extends __BaseException { - readonly name: "UnauthorizedClientException" = "UnauthorizedClientException"; +export class ResourceLimitExceededException extends __BaseException { + readonly name: "ResourceLimitExceededException" = "ResourceLimitExceededException"; readonly $fault: "client" = "client"; Code?: ErrorCode | undefined; Message?: string | undefined; /** * @internal */ - constructor(opts: __ExceptionOptionType) { + constructor(opts: __ExceptionOptionType) { super({ - name: "UnauthorizedClientException", + name: "ResourceLimitExceededException", $fault: "client", ...opts, }); - Object.setPrototypeOf(this, UnauthorizedClientException.prototype); + Object.setPrototypeOf(this, ResourceLimitExceededException.prototype); this.Code = opts.Code; this.Message = opts.Message; } @@ -898,466 +1009,370 @@ export class UnauthorizedClientException extends __BaseException { /** * @public */ -export interface AssociatePhoneNumbersWithVoiceConnectorGroupRequest { +export interface CreateMeetingDialOutRequest { /** - *

The Amazon Chime Voice Connector group ID.

+ *

The Amazon Chime SDK meeting ID.

* @public */ - VoiceConnectorGroupId: string | undefined; + MeetingId: string | undefined; /** - *

List of phone numbers, in E.164 format.

+ *

Phone number used as the caller ID when the remote party receives a call.

* @public */ - E164PhoneNumbers: string[] | undefined; + FromPhoneNumber: string | undefined; /** - *

If true, associates the provided phone numbers with the provided Amazon Chime Voice Connector Group and removes any previously existing associations. If false, does not associate any phone numbers that have previously existing associations.

+ *

Phone number called when inviting someone to a meeting.

* @public */ - ForceAssociate?: boolean | undefined; -} + ToPhoneNumber: string | undefined; -/** - * @public - */ -export interface AssociatePhoneNumbersWithVoiceConnectorGroupResponse { /** - *

If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.

+ *

Token used by the Amazon Chime SDK attendee. Call the CreateAttendee action to get a join token.

* @public */ - PhoneNumberErrors?: PhoneNumberError[] | undefined; + JoinToken: string | undefined; } /** * @public */ -export interface AssociatePhoneNumberWithUserRequest { +export interface CreateMeetingDialOutResponse { /** - *

The Amazon Chime account ID.

+ *

Unique ID that tracks API calls.

* @public */ - AccountId: string | undefined; + TransactionId?: string | undefined; +} +/** + * @public + */ +export interface CreatePhoneNumberOrderRequest { /** - *

The user ID.

+ *

The phone number product type.

* @public */ - UserId: string | undefined; + ProductType: PhoneNumberProductType | undefined; /** - *

The phone number, in E.164 format.

+ *

List of phone numbers, in E.164 format.

* @public */ - E164PhoneNumber: string | undefined; + E164PhoneNumbers: string[] | undefined; } /** * @public + * @enum */ -export interface AssociatePhoneNumberWithUserResponse {} +export const OrderedPhoneNumberStatus = { + Acquired: "Acquired", + Failed: "Failed", + Processing: "Processing", +} as const; /** * @public */ -export interface AssociateSigninDelegateGroupsWithAccountRequest { +export type OrderedPhoneNumberStatus = (typeof OrderedPhoneNumberStatus)[keyof typeof OrderedPhoneNumberStatus]; + +/** + *

A phone number for which an order has been placed.

+ * @public + */ +export interface OrderedPhoneNumber { /** - *

The Amazon Chime account ID.

+ *

The phone number, in E.164 format.

* @public */ - AccountId: string | undefined; + E164PhoneNumber?: string | undefined; /** - *

The sign-in delegate groups.

+ *

The phone number status.

* @public */ - SigninDelegateGroups: SigninDelegateGroup[] | undefined; + Status?: OrderedPhoneNumberStatus | undefined; } /** * @public + * @enum */ -export interface AssociateSigninDelegateGroupsWithAccountResponse {} +export const PhoneNumberOrderStatus = { + Failed: "Failed", + Partial: "Partial", + Processing: "Processing", + Successful: "Successful", +} as const; /** - *

- * An Amazon Chime SDK meeting attendee. Includes a unique - * AttendeeId - * and - * JoinToken - * . The - * JoinToken - * allows a client to authenticate and join as the specified attendee. The - * JoinToken - * expires when the meeting ends or when - * DeleteAttendee - * is called. After that, the attendee is unable to join the meeting. - *

- *

We recommend securely transferring each JoinToken from your server application - * to the client so that no other client has access to the token except for the one - * authorized to represent the attendee.

* @public */ -export interface Attendee { - /** - *

The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.

- * @public - */ - ExternalUserId?: string | undefined; - - /** - *

The Amazon Chime SDK attendee ID.

- * @public - */ - AttendeeId?: string | undefined; - - /** - *

The join token used by the Amazon Chime SDK attendee.

- * @public - */ - JoinToken?: string | undefined; -} +export type PhoneNumberOrderStatus = (typeof PhoneNumberOrderStatus)[keyof typeof PhoneNumberOrderStatus]; /** - *

Describes a tag applied to a resource.

+ *

The details of a phone number order created for Amazon Chime.

* @public */ -export interface Tag { +export interface PhoneNumberOrder { /** - *

The key of the tag.

+ *

The phone number order ID.

* @public */ - Key: string | undefined; + PhoneNumberOrderId?: string | undefined; /** - *

The value of the tag.

+ *

The phone number order product type.

* @public */ - Value: string | undefined; -} + ProductType?: PhoneNumberProductType | undefined; -/** - *

The membership information, including member ARNs, the channel ARN, and membership - * types.

- * @public - */ -export interface BatchChannelMemberships { /** - *

The identifier of the member who invited another member.

+ *

The status of the phone number order.

* @public */ - InvitedBy?: Identity | undefined; + Status?: PhoneNumberOrderStatus | undefined; /** - *

The membership types set for the channel users.

+ *

The ordered phone number details, such as the phone number in E.164 format and the phone + * number status.

* @public */ - Type?: ChannelMembershipType | undefined; + OrderedPhoneNumbers?: OrderedPhoneNumber[] | undefined; /** - *

The users successfully added to the request.

+ *

The phone number order creation time stamp, in ISO 8601 format.

* @public */ - Members?: Identity[] | undefined; + CreatedTimestamp?: Date | undefined; /** - *

The ARN of the channel to which you're adding users.

+ *

The updated phone number order time stamp, in ISO 8601 format.

* @public */ - ChannelArn?: string | undefined; + UpdatedTimestamp?: Date | undefined; } /** - *

The Amazon Chime SDK attendee fields to create, used with the BatchCreateAttendee action.

* @public */ -export interface CreateAttendeeRequestItem { - /** - *

The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.

- * @public - */ - ExternalUserId: string | undefined; - +export interface CreatePhoneNumberOrderResponse { /** - *

The tag key-value pairs.

+ *

The phone number order details.

* @public */ - Tags?: Tag[] | undefined; + PhoneNumberOrder?: PhoneNumberOrder | undefined; } /** * @public */ -export interface BatchCreateAttendeeRequest { +export interface CreateRoomRequest { /** - *

The Amazon Chime SDK meeting ID.

+ *

The Amazon Chime account ID.

* @public */ - MeetingId: string | undefined; + AccountId: string | undefined; + + /** + *

The room name.

+ * @public + */ + Name: string | undefined; /** - *

The request containing the attendees to create.

+ *

The idempotency token for the request.

* @public */ - Attendees: CreateAttendeeRequestItem[] | undefined; + ClientRequestToken?: string | undefined; } /** - *

The list of errors returned when errors are encountered during the BatchCreateAttendee and CreateAttendee actions. This includes external user IDs, error codes, and error messages.

+ *

The Amazon Chime chat room details.

* @public */ -export interface CreateAttendeeError { +export interface Room { /** - *

The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.

+ *

The room ID.

* @public */ - ExternalUserId?: string | undefined; + RoomId?: string | undefined; /** - *

The error code.

+ *

The room name.

* @public */ - ErrorCode?: string | undefined; + Name?: string | undefined; /** - *

The error message.

+ *

The Amazon Chime account ID.

* @public */ - ErrorMessage?: string | undefined; -} + AccountId?: string | undefined; -/** - * @public - */ -export interface BatchCreateAttendeeResponse { /** - *

The attendee information, including attendees IDs and join tokens.

+ *

The identifier of the room creator.

* @public */ - Attendees?: Attendee[] | undefined; + CreatedBy?: string | undefined; /** - *

If the action fails for one or more of the attendees in the request, a list of the attendees is returned, along with error codes and error messages.

+ *

The room creation timestamp, in ISO 8601 format.

* @public */ - Errors?: CreateAttendeeError[] | undefined; -} + CreatedTimestamp?: Date | undefined; -/** - *

The request exceeds the resource limit.

- * @public - */ -export class ResourceLimitExceededException extends __BaseException { - readonly name: "ResourceLimitExceededException" = "ResourceLimitExceededException"; - readonly $fault: "client" = "client"; - Code?: ErrorCode | undefined; - Message?: string | undefined; /** - * @internal + *

The room update timestamp, in ISO 8601 format.

+ * @public */ - constructor(opts: __ExceptionOptionType) { - super({ - name: "ResourceLimitExceededException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ResourceLimitExceededException.prototype); - this.Code = opts.Code; - this.Message = opts.Message; - } + UpdatedTimestamp?: Date | undefined; } /** * @public */ -export interface BatchCreateChannelMembershipRequest { - /** - *

The ARN of the channel to which you're adding users.

- * @public - */ - ChannelArn: string | undefined; - - /** - *

The membership type of a user, DEFAULT or HIDDEN. Default - * members are always returned as part of ListChannelMemberships. Hidden members - * are only returned if the type filter in ListChannelMemberships equals - * HIDDEN. Otherwise hidden members are not returned. This is only supported - * by moderators.

- * @public - */ - Type?: ChannelMembershipType | undefined; - - /** - *

The ARNs of the members you want to add to the channel.

- * @public - */ - MemberArns: string[] | undefined; - +export interface CreateRoomResponse { /** - *

The AppInstanceUserArn of the user that makes the API call.

+ *

The room details.

* @public */ - ChimeBearer?: string | undefined; + Room?: Room | undefined; } /** - *

A list of failed member ARNs, error codes, and error messages.

* @public */ -export interface BatchCreateChannelMembershipError { - /** - *

The ARN of the member that the service couldn't add.

- * @public - */ - MemberArn?: string | undefined; - +export interface CreateRoomMembershipRequest { /** - *

The error code.

+ *

The Amazon Chime account ID.

* @public */ - ErrorCode?: ErrorCode | undefined; + AccountId: string | undefined; /** - *

The error message.

+ *

The room ID.

* @public */ - ErrorMessage?: string | undefined; -} + RoomId: string | undefined; -/** - * @public - */ -export interface BatchCreateChannelMembershipResponse { /** - *

The list of channel memberships in the response.

+ *

The Amazon Chime member ID (user ID or bot ID).

* @public */ - BatchChannelMemberships?: BatchChannelMemberships | undefined; + MemberId: string | undefined; /** - *

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.

+ *

The role of the member.

* @public */ - Errors?: BatchCreateChannelMembershipError[] | undefined; + Role?: RoomMembershipRole | undefined; } /** * @public * @enum */ -export const RoomMembershipRole = { - Administrator: "Administrator", - Member: "Member", +export const MemberType = { + Bot: "Bot", + User: "User", + Webhook: "Webhook", } as const; /** * @public */ -export type RoomMembershipRole = (typeof RoomMembershipRole)[keyof typeof RoomMembershipRole]; +export type MemberType = (typeof MemberType)[keyof typeof MemberType]; /** - *

Membership details, such as member ID and member role.

+ *

The member details, such as email address, name, member ID, and member type.

* @public */ -export interface MembershipItem { +export interface Member { /** - *

The member ID.

+ *

The member ID (user ID or bot ID).

* @public */ MemberId?: string | undefined; /** - *

The member role.

+ *

The member type.

* @public */ - Role?: RoomMembershipRole | undefined; -} + MemberType?: MemberType | undefined; -/** - * @public - */ -export interface BatchCreateRoomMembershipRequest { /** - *

The Amazon Chime account ID.

+ *

The member email address.

* @public */ - AccountId: string | undefined; + Email?: string | undefined; /** - *

The room ID.

+ *

The member name.

* @public */ - RoomId: string | undefined; + FullName?: string | undefined; /** - *

The list of membership items.

+ *

The Amazon Chime account ID.

* @public */ - MembershipItemList: MembershipItem[] | undefined; + AccountId?: string | undefined; } /** - *

The list of errors returned when a member action results in an error.

+ *

The room membership details.

* @public */ -export interface MemberError { +export interface RoomMembership { /** - *

The member ID.

+ *

The room ID.

* @public */ - MemberId?: string | undefined; + RoomId?: string | undefined; /** - *

The error code.

+ *

The member details, such as email address, name, member ID, and member type.

* @public */ - ErrorCode?: ErrorCode | undefined; + Member?: Member | undefined; /** - *

The error message.

+ *

The membership role.

* @public */ - ErrorMessage?: string | undefined; -} + Role?: RoomMembershipRole | undefined; -/** - * @public - */ -export interface BatchCreateRoomMembershipResponse { /** - *

If the action fails for one or more of the member IDs in the request, a list of the member IDs is returned, along with error codes and error messages.

+ *

The identifier of the user that invited the room member.

* @public */ - Errors?: MemberError[] | undefined; -} + InvitedBy?: string | undefined; -/** - * @public - */ -export interface BatchDeletePhoneNumberRequest { /** - *

List of phone number IDs.

+ *

The room membership update timestamp, in ISO 8601 format.

* @public */ - PhoneNumberIds: string[] | undefined; + UpdatedTimestamp?: Date | undefined; } /** * @public */ -export interface BatchDeletePhoneNumberResponse { +export interface CreateRoomMembershipResponse { /** - *

If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.

+ *

The room membership details.

* @public */ - PhoneNumberErrors?: PhoneNumberError[] | undefined; + RoomMembership?: RoomMembership | undefined; } /** * @public */ -export interface BatchSuspendUserRequest { +export interface CreateUserRequest { /** *

The Amazon Chime account ID.

* @public @@ -1365,5542 +1380,2022 @@ export interface BatchSuspendUserRequest { AccountId: string | undefined; /** - *

The request containing the user IDs to suspend.

- * @public - */ - UserIdList: string[] | undefined; -} - -/** - *

The list of errors returned when errors are encountered during the BatchSuspendUser, BatchUnsuspendUser, or - * BatchUpdateUser actions. This includes user IDs, error codes, and error messages.

- * @public - */ -export interface UserError { - /** - *

The user ID for which the action failed.

- * @public - */ - UserId?: string | undefined; - - /** - *

The error code.

+ *

The user name.

* @public */ - ErrorCode?: ErrorCode | undefined; + Username?: string | undefined; /** - *

The error message.

+ *

The user's email address.

* @public */ - ErrorMessage?: string | undefined; -} + Email?: string | undefined; -/** - * @public - */ -export interface BatchSuspendUserResponse { /** - *

If the BatchSuspendUser action fails for one or more of the user IDs in the - * request, a list of the user IDs is returned, along with error codes and error messages.

+ *

The user type.

* @public */ - UserErrors?: UserError[] | undefined; + UserType?: UserType | undefined; } /** * @public + * @enum */ -export interface BatchUnsuspendUserRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The request containing the user IDs to unsuspend.

- * @public - */ - UserIdList: string[] | undefined; -} +export const InviteStatus = { + Accepted: "Accepted", + Failed: "Failed", + Pending: "Pending", +} as const; /** * @public */ -export interface BatchUnsuspendUserResponse { - /** - *

If the BatchUnsuspendUser action fails for one or more of the user IDs in the - * request, a list of the user IDs is returned, along with error codes and error messages.

- * @public - */ - UserErrors?: UserError[] | undefined; -} +export type InviteStatus = (typeof InviteStatus)[keyof typeof InviteStatus]; /** * @public * @enum */ -export const PhoneNumberProductType = { - BusinessCalling: "BusinessCalling", - SipMediaApplicationDialIn: "SipMediaApplicationDialIn", - VoiceConnector: "VoiceConnector", +export const RegistrationStatus = { + Registered: "Registered", + Suspended: "Suspended", + Unregistered: "Unregistered", } as const; /** * @public */ -export type PhoneNumberProductType = (typeof PhoneNumberProductType)[keyof typeof PhoneNumberProductType]; +export type RegistrationStatus = (typeof RegistrationStatus)[keyof typeof RegistrationStatus]; /** - *

The phone number ID, product type, or calling name fields to update, used with the - * BatchUpdatePhoneNumber and UpdatePhoneNumber actions.

+ *

The user on the Amazon Chime account.

* @public */ -export interface UpdatePhoneNumberRequestItem { +export interface User { /** - *

The phone number ID to update.

+ *

The user ID.

* @public */ - PhoneNumberId: string | undefined; + UserId: string | undefined; /** - *

The product type to update.

+ *

The Amazon Chime account ID.

* @public */ - ProductType?: PhoneNumberProductType | undefined; + AccountId?: string | undefined; /** - *

The outbound calling name to update.

+ *

The primary email address of the user.

* @public */ - CallingName?: string | undefined; -} + PrimaryEmail?: string | undefined; -/** - * @public - */ -export interface BatchUpdatePhoneNumberRequest { /** - *

The request containing the phone number IDs and product types or calling names to update.

+ *

The primary phone number associated with the user.

* @public */ - UpdatePhoneNumberRequestItems: UpdatePhoneNumberRequestItem[] | undefined; -} + PrimaryProvisionedNumber?: string | undefined; -/** - * @public - */ -export interface BatchUpdatePhoneNumberResponse { /** - *

If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.

+ *

The display name of the user.

* @public */ - PhoneNumberErrors?: PhoneNumberError[] | undefined; -} + DisplayName?: string | undefined; -/** - * @public - * @enum - */ -export const UserType = { - PrivateUser: "PrivateUser", - SharedDevice: "SharedDevice", -} as const; + /** + *

The license type for the user.

+ * @public + */ + LicenseType?: License | undefined; -/** - * @public - */ -export type UserType = (typeof UserType)[keyof typeof UserType]; + /** + *

The user type.

+ * @public + */ + UserType?: UserType | undefined; -/** - *

The user ID and user fields to update, used with the - * BatchUpdateUser action.

- * @public - */ -export interface UpdateUserRequestItem { /** - *

The user ID.

+ *

The user registration status.

* @public */ - UserId: string | undefined; + UserRegistrationStatus?: RegistrationStatus | undefined; /** - *

The user license type.

+ *

The user invite status.

* @public */ - LicenseType?: License | undefined; + UserInvitationStatus?: InviteStatus | undefined; /** - *

The user type.

+ *

Date and time when the user is registered, in ISO 8601 format.

* @public */ - UserType?: UserType | undefined; + RegisteredOn?: Date | undefined; /** - *

The Alexa for Business metadata.

+ *

Date and time when the user is invited to the Amazon Chime account, in ISO 8601 format.

* @public */ - AlexaForBusinessMetadata?: AlexaForBusinessMetadata | undefined; -} + InvitedOn?: Date | undefined; -/** - * @public - */ -export interface BatchUpdateUserRequest { /** - *

The Amazon Chime account ID.

+ *

The Alexa for Business metadata.

* @public */ - AccountId: string | undefined; + AlexaForBusinessMetadata?: AlexaForBusinessMetadata | undefined; /** - *

The request containing the user IDs and details to update.

+ *

The user's personal meeting PIN.

* @public */ - UpdateUserRequestItems: UpdateUserRequestItem[] | undefined; + PersonalPIN?: string | undefined; } /** * @public */ -export interface BatchUpdateUserResponse { +export interface CreateUserResponse { /** - *

If the BatchUpdateUser action fails for one or more of the user IDs in the - * request, a list of the user IDs is returned, along with error codes and error messages.

+ *

The user on the Amazon Chime account.

* @public */ - UserErrors?: UserError[] | undefined; + User?: User | undefined; } /** * @public - * @enum */ -export const BotType = { - ChatBot: "ChatBot", -} as const; +export interface DeleteAccountRequest { + /** + *

The Amazon Chime account ID.

+ * @public + */ + AccountId: string | undefined; +} /** * @public */ -export type BotType = (typeof BotType)[keyof typeof BotType]; +export interface DeleteAccountResponse {} /** - *

A resource that allows Enterprise account administrators to configure an interface to receive events from Amazon Chime.

+ *

The request was well-formed but was unable to be followed due to semantic errors.

* @public */ -export interface Bot { - /** - *

The bot ID.

- * @public - */ - BotId?: string | undefined; - - /** - *

The unique ID for the bot user.

- * @public - */ - UserId?: string | undefined; - - /** - *

The bot display name.

- * @public - */ - DisplayName?: string | undefined; - - /** - *

The bot type.

- * @public - */ - BotType?: BotType | undefined; - - /** - *

When true, the bot is stopped from running in your account.

- * @public - */ - Disabled?: boolean | undefined; - - /** - *

The bot creation timestamp, in ISO 8601 format.

- * @public - */ - CreatedTimestamp?: Date | undefined; - +export class UnprocessableEntityException extends __BaseException { + readonly name: "UnprocessableEntityException" = "UnprocessableEntityException"; + readonly $fault: "client" = "client"; + Code?: ErrorCode | undefined; + Message?: string | undefined; /** - *

The updated bot timestamp, in ISO 8601 format.

- * @public + * @internal */ - UpdatedTimestamp?: Date | undefined; + constructor(opts: __ExceptionOptionType) { + super({ + name: "UnprocessableEntityException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, UnprocessableEntityException.prototype); + this.Code = opts.Code; + this.Message = opts.Message; + } +} +/** + * @public + */ +export interface DeleteEventsConfigurationRequest { /** - *

The bot email address.

+ *

The Amazon Chime account ID.

* @public */ - BotEmail?: string | undefined; + AccountId: string | undefined; /** - *

The security token used to authenticate Amazon Chime with the outgoing event endpoint.

+ *

The bot ID.

* @public */ - SecurityToken?: string | undefined; + BotId: string | undefined; } /** - *

The Amazon Chime Business Calling settings for the administrator's AWS account. Includes any - * Amazon S3 buckets designated for storing call detail records.

* @public */ -export interface BusinessCallingSettings { +export interface DeletePhoneNumberRequest { /** - *

The Amazon S3 bucket designated for call detail record storage.

+ *

The phone number ID.

* @public */ - CdrBucket?: string | undefined; + PhoneNumberId: string | undefined; } -/** - * @public - * @enum - */ -export const CallingNameStatus = { - Unassigned: "Unassigned", - UpdateFailed: "UpdateFailed", - UpdateInProgress: "UpdateInProgress", - UpdateSucceeded: "UpdateSucceeded", -} as const; - /** * @public */ -export type CallingNameStatus = (typeof CallingNameStatus)[keyof typeof CallingNameStatus]; - -/** - *

A suggested address.

- * @public - */ -export interface CandidateAddress { +export interface DeleteRoomRequest { /** - *

The street information of a candidate address

+ *

The Amazon Chime account ID.

* @public */ - streetInfo?: string | undefined; + AccountId: string | undefined; /** - *

The numeric portion of a candidate address.

+ *

The chat room ID.

* @public */ - streetNumber?: string | undefined; + RoomId: string | undefined; +} +/** + * @public + */ +export interface DeleteRoomMembershipRequest { /** - *

The city of a candidate address.

+ *

The Amazon Chime account ID.

* @public */ - city?: string | undefined; + AccountId: string | undefined; /** - *

The state of a candidate address.

+ *

The room ID.

* @public */ - state?: string | undefined; + RoomId: string | undefined; /** - *

The postal code of a candidate address.

+ *

The member ID (user ID or bot ID).

* @public */ - postalCode?: string | undefined; + MemberId: string | undefined; +} +/** + * @public + */ +export interface DisassociatePhoneNumberFromUserRequest { /** - *

The Zip + 4 or postal code + 4 of a candidate address.

+ *

The Amazon Chime account ID.

* @public */ - postalCodePlus4?: string | undefined; + AccountId: string | undefined; /** - *

The country of a candidate address.

+ *

The user ID.

* @public */ - country?: string | undefined; + UserId: string | undefined; } /** * @public - * @enum */ -export const Capability = { - SMS: "SMS", - Voice: "Voice", -} as const; +export interface DisassociatePhoneNumberFromUserResponse {} /** * @public */ -export type Capability = (typeof Capability)[keyof typeof Capability]; +export interface DisassociateSigninDelegateGroupsFromAccountRequest { + /** + *

The Amazon Chime account ID.

+ * @public + */ + AccountId: string | undefined; -/** - * @public - * @enum - */ -export const ChannelMode = { - RESTRICTED: "RESTRICTED", - UNRESTRICTED: "UNRESTRICTED", -} as const; + /** + *

The sign-in delegate group names.

+ * @public + */ + GroupNames: string[] | undefined; +} /** * @public */ -export type ChannelMode = (typeof ChannelMode)[keyof typeof ChannelMode]; +export interface DisassociateSigninDelegateGroupsFromAccountResponse {} /** * @public * @enum */ -export const ChannelPrivacy = { - PRIVATE: "PRIVATE", - PUBLIC: "PUBLIC", +export const EmailStatus = { + Failed: "Failed", + NotSent: "NotSent", + Sent: "Sent", } as const; /** * @public */ -export type ChannelPrivacy = (typeof ChannelPrivacy)[keyof typeof ChannelPrivacy]; +export type EmailStatus = (typeof EmailStatus)[keyof typeof EmailStatus]; /** - *

The details of a channel.

+ *

The configuration that allows a bot to receive outgoing events. Can be either an HTTPS endpoint or a Lambda function ARN.

* @public */ -export interface Channel { +export interface EventsConfiguration { /** - *

The name of the channel.

+ *

The bot ID.

* @public */ - Name?: string | undefined; + BotId?: string | undefined; /** - *

The ARN of the channel.

+ *

HTTPS endpoint that allows a bot to receive outgoing events.

* @public */ - ChannelArn?: string | undefined; + OutboundEventsHTTPSEndpoint?: string | undefined; /** - *

The mode of the channel.

+ *

Lambda function ARN that allows a bot to receive outgoing events.

* @public */ - Mode?: ChannelMode | undefined; + LambdaFunctionArn?: string | undefined; +} +/** + * @public + */ +export interface GetAccountRequest { /** - *

The channel's privacy setting.

+ *

The Amazon Chime account ID.

* @public */ - Privacy?: ChannelPrivacy | undefined; + AccountId: string | undefined; +} +/** + * @public + */ +export interface GetAccountResponse { /** - *

The channel's metadata.

+ *

The Amazon Chime account details.

* @public */ - Metadata?: string | undefined; + Account?: Account | undefined; +} +/** + * @public + */ +export interface GetAccountSettingsRequest { /** - *

The AppInstanceUser who created the channel.

+ *

The Amazon Chime account ID.

* @public */ - CreatedBy?: Identity | undefined; + AccountId: string | undefined; +} +/** + * @public + */ +export interface GetAccountSettingsResponse { /** - *

The time at which the AppInstanceUser created the channel.

+ *

The Amazon Chime account settings.

* @public */ - CreatedTimestamp?: Date | undefined; + AccountSettings?: AccountSettings | undefined; +} +/** + * @public + */ +export interface GetBotRequest { /** - *

The time at which a member sent the last message in the channel.

+ *

The Amazon Chime account ID.

* @public */ - LastMessageTimestamp?: Date | undefined; + AccountId: string | undefined; /** - *

The time at which a channel was last updated.

+ *

The bot ID.

* @public */ - LastUpdatedTimestamp?: Date | undefined; + BotId: string | undefined; } /** - *

The details of a channel ban.

* @public */ -export interface ChannelBan { - /** - *

The member being banned from the channel.

- * @public - */ - Member?: Identity | undefined; - +export interface GetBotResponse { /** - *

The ARN of the channel from which a member is being banned.

+ *

The chat bot details.

* @public */ - ChannelArn?: string | undefined; + Bot?: Bot | undefined; +} +/** + * @public + */ +export interface GetEventsConfigurationRequest { /** - *

The time at which the ban was created.

+ *

The Amazon Chime account ID.

* @public */ - CreatedTimestamp?: Date | undefined; + AccountId: string | undefined; /** - *

The AppInstanceUser who created the ban.

+ *

The bot ID.

* @public */ - CreatedBy?: Identity | undefined; + BotId: string | undefined; } /** - *

Summary of the details of a ChannelBan.

* @public */ -export interface ChannelBanSummary { +export interface GetEventsConfigurationResponse { /** - *

The member being banned from a channel.

+ *

The events configuration details.

* @public */ - Member?: Identity | undefined; + EventsConfiguration?: EventsConfiguration | undefined; } /** - *

The details of a channel member.

+ *

The Amazon Chime Voice Connector settings. Includes any Amazon S3 buckets designated for + * storing call detail records.

* @public */ -export interface ChannelMembership { +export interface VoiceConnectorSettings { /** - *

The identifier of the member who invited another member.

+ *

The Amazon S3 bucket designated for call detail record storage.

* @public */ - InvitedBy?: Identity | undefined; + CdrBucket?: string | undefined; +} +/** + * @public + */ +export interface GetGlobalSettingsResponse { /** - *

The membership type set for the channel member.

+ *

The Amazon Chime Business Calling settings.

* @public */ - Type?: ChannelMembershipType | undefined; + BusinessCalling?: BusinessCallingSettings | undefined; /** - *

The data of the channel member.

+ *

The Amazon Chime Voice Connector settings.

* @public */ - Member?: Identity | undefined; + VoiceConnector?: VoiceConnectorSettings | undefined; +} +/** + * @public + */ +export interface GetPhoneNumberRequest { /** - *

The ARN of the member's channel.

+ *

The phone number ID.

* @public */ - ChannelArn?: string | undefined; + PhoneNumberId: string | undefined; +} - /** - *

The time at which the channel membership was created.

- * @public - */ - CreatedTimestamp?: Date | undefined; +/** + * @public + * @enum + */ +export const PhoneNumberAssociationName = { + AccountId: "AccountId", + SipRuleId: "SipRuleId", + UserId: "UserId", + VoiceConnectorGroupId: "VoiceConnectorGroupId", + VoiceConnectorId: "VoiceConnectorId", +} as const; - /** - *

The time at which a channel membership was last updated.

- * @public - */ - LastUpdatedTimestamp?: Date | undefined; -} +/** + * @public + */ +export type PhoneNumberAssociationName = (typeof PhoneNumberAssociationName)[keyof typeof PhoneNumberAssociationName]; /** - *

Summary of the details of a Channel.

+ *

The phone number associations, such as Amazon Chime account ID, Amazon Chime user ID, Amazon + * Chime Voice Connector ID, or Amazon Chime Voice Connector group ID.

* @public */ -export interface ChannelSummary { +export interface PhoneNumberAssociation { /** - *

The name of the channel.

+ *

Contains the ID for the entity specified in Name.

* @public */ - Name?: string | undefined; + Value?: string | undefined; /** - *

The ARN of the channel.

+ *

Defines the association with an Amazon Chime account ID, user ID, Amazon Chime Voice Connector + * ID, or Amazon Chime Voice Connector group ID.

* @public */ - ChannelArn?: string | undefined; + Name?: PhoneNumberAssociationName | undefined; /** - *

The mode of the channel.

+ *

The timestamp of the phone number association, in ISO 8601 format.

* @public */ - Mode?: ChannelMode | undefined; + AssociatedTimestamp?: Date | undefined; +} +/** + *

The phone number capabilities for Amazon Chime Business Calling phone numbers, such as enabled + * inbound and outbound calling and text messaging.

+ * @public + */ +export interface PhoneNumberCapabilities { /** - *

The privacy setting of the channel.

+ *

Allows or denies inbound calling for the specified phone number.

* @public */ - Privacy?: ChannelPrivacy | undefined; + InboundCall?: boolean | undefined; /** - *

The metadata of the channel.

+ *

Allows or denies outbound calling for the specified phone number.

* @public */ - Metadata?: string | undefined; + OutboundCall?: boolean | undefined; /** - *

The time at which the last message in a channel was sent.

+ *

Allows or denies inbound SMS messaging for the specified phone number.

* @public */ - LastMessageTimestamp?: Date | undefined; -} + InboundSMS?: boolean | undefined; -/** - *

Summary of the channel membership details of an AppInstanceUser.

- * @public - */ -export interface ChannelMembershipForAppInstanceUserSummary { /** - *

Summary of the details of a Channel.

+ *

Allows or denies outbound SMS messaging for the specified phone number.

* @public */ - ChannelSummary?: ChannelSummary | undefined; + OutboundSMS?: boolean | undefined; /** - *

Summary of the membership details of an AppInstanceUser.

+ *

Allows or denies inbound MMS messaging for the specified phone number.

* @public */ - AppInstanceUserMembershipSummary?: AppInstanceUserMembershipSummary | undefined; -} + InboundMMS?: boolean | undefined; -/** - *

Summary of the details of a ChannelMembership.

- * @public - */ -export interface ChannelMembershipSummary { /** - *

A member's summary data.

+ *

Allows or denies outbound MMS messaging for the specified phone number.

* @public */ - Member?: Identity | undefined; + OutboundMMS?: boolean | undefined; } /** * @public * @enum */ -export const ChannelMessagePersistenceType = { - NON_PERSISTENT: "NON_PERSISTENT", - PERSISTENT: "PERSISTENT", +export const PhoneNumberStatus = { + AcquireFailed: "AcquireFailed", + AcquireInProgress: "AcquireInProgress", + Assigned: "Assigned", + DeleteFailed: "DeleteFailed", + DeleteInProgress: "DeleteInProgress", + ReleaseFailed: "ReleaseFailed", + ReleaseInProgress: "ReleaseInProgress", + Unassigned: "Unassigned", } as const; /** * @public */ -export type ChannelMessagePersistenceType = - (typeof ChannelMessagePersistenceType)[keyof typeof ChannelMessagePersistenceType]; +export type PhoneNumberStatus = (typeof PhoneNumberStatus)[keyof typeof PhoneNumberStatus]; /** * @public * @enum */ -export const ChannelMessageType = { - CONTROL: "CONTROL", - STANDARD: "STANDARD", +export const PhoneNumberType = { + Local: "Local", + TollFree: "TollFree", } as const; /** * @public */ -export type ChannelMessageType = (typeof ChannelMessageType)[keyof typeof ChannelMessageType]; +export type PhoneNumberType = (typeof PhoneNumberType)[keyof typeof PhoneNumberType]; /** - *

The details of a message in a channel.

+ *

A phone number used for Amazon Chime Business Calling or an Amazon Chime Voice + * Connector.

* @public */ -export interface ChannelMessage { +export interface PhoneNumber { /** - *

The ARN of the channel.

+ *

The phone number ID.

* @public */ - ChannelArn?: string | undefined; + PhoneNumberId?: string | undefined; /** - *

The ID of a message.

+ *

The phone number, in E.164 format.

* @public */ - MessageId?: string | undefined; + E164PhoneNumber?: string | undefined; /** - *

The message content.

+ *

The phone number country. Format: ISO 3166-1 alpha-2.

* @public */ - Content?: string | undefined; + Country?: string | undefined; /** - *

The message metadata.

+ *

The phone number type.

* @public */ - Metadata?: string | undefined; + Type?: PhoneNumberType | undefined; /** - *

The message type.

+ *

The phone number product type.

* @public */ - Type?: ChannelMessageType | undefined; + ProductType?: PhoneNumberProductType | undefined; /** - *

The time at which the message was created.

+ *

The phone number status.

* @public */ - CreatedTimestamp?: Date | undefined; + Status?: PhoneNumberStatus | undefined; /** - *

The time at which a message was edited.

+ *

The phone number capabilities.

* @public */ - LastEditedTimestamp?: Date | undefined; + Capabilities?: PhoneNumberCapabilities | undefined; /** - *

The time at which a message was updated.

+ *

The phone number associations.

* @public */ - LastUpdatedTimestamp?: Date | undefined; + Associations?: PhoneNumberAssociation[] | undefined; /** - *

The message sender.

+ *

The outbound calling name associated with the phone number.

* @public */ - Sender?: Identity | undefined; + CallingName?: string | undefined; /** - *

Hides the content of a message.

+ *

The outbound calling name status.

* @public */ - Redacted?: boolean | undefined; + CallingNameStatus?: CallingNameStatus | undefined; /** - *

The persistence setting for a channel message.

+ *

The phone number creation timestamp, in ISO 8601 format.

* @public */ - Persistence?: ChannelMessagePersistenceType | undefined; -} + CreatedTimestamp?: Date | undefined; -/** - *

Summary of the messages in a Channel.

- * @public - */ -export interface ChannelMessageSummary { /** - *

The ID of the message.

+ *

The updated phone number timestamp, in ISO 8601 format.

* @public */ - MessageId?: string | undefined; + UpdatedTimestamp?: Date | undefined; /** - *

The content of the message.

+ *

The deleted phone number timestamp, in ISO 8601 format.

* @public */ - Content?: string | undefined; + DeletionTimestamp?: Date | undefined; +} +/** + * @public + */ +export interface GetPhoneNumberResponse { /** - *

The metadata of the message.

+ *

The phone number details.

* @public */ - Metadata?: string | undefined; + PhoneNumber?: PhoneNumber | undefined; +} +/** + * @public + */ +export interface GetPhoneNumberOrderRequest { /** - *

The type of message.

+ *

The ID for the phone number order.

* @public */ - Type?: ChannelMessageType | undefined; + PhoneNumberOrderId: string | undefined; +} +/** + * @public + */ +export interface GetPhoneNumberOrderResponse { /** - *

The time at which the message summary was created.

+ *

The phone number order details.

* @public */ - CreatedTimestamp?: Date | undefined; + PhoneNumberOrder?: PhoneNumberOrder | undefined; +} +/** + * @public + */ +export interface GetPhoneNumberSettingsResponse { /** - *

The time at which a message was last updated.

+ *

The default outbound calling name for the account.

* @public */ - LastUpdatedTimestamp?: Date | undefined; + CallingName?: string | undefined; /** - *

The time at which a message was last edited.

+ *

The updated outbound calling name timestamp, in ISO 8601 format.

* @public */ - LastEditedTimestamp?: Date | undefined; + CallingNameUpdatedTimestamp?: Date | undefined; +} +/** + * @public + */ +export interface GetRetentionSettingsRequest { /** - *

The message sender.

+ *

The Amazon Chime account ID.

* @public */ - Sender?: Identity | undefined; + AccountId: string | undefined; +} +/** + *

The retention settings that determine how long to retain chat-room messages for an Amazon Chime Enterprise account.

+ * @public + */ +export interface RoomRetentionSettings { /** - *

Indicates whether a message was redacted.

+ *

The number of days for which to retain chat-room messages.

* @public */ - Redacted?: boolean | undefined; + RetentionDays?: number | undefined; } /** - *

Summary of the details of a moderated channel.

+ *

The retention settings for an Amazon Chime Enterprise account that determine how long to retain items such as chat-room messages and chat-conversation messages.

* @public */ -export interface ChannelModeratedByAppInstanceUserSummary { +export interface RetentionSettings { + /** + *

The chat room retention settings.

+ * @public + */ + RoomRetentionSettings?: RoomRetentionSettings | undefined; + /** - *

Summary of the details of a Channel.

+ *

The chat conversation retention settings.

* @public */ - ChannelSummary?: ChannelSummary | undefined; + ConversationRetentionSettings?: ConversationRetentionSettings | undefined; } /** - *

The details of a channel moderator.

* @public */ -export interface ChannelModerator { +export interface GetRetentionSettingsResponse { /** - *

The moderator's data.

+ *

The retention settings.

* @public */ - Moderator?: Identity | undefined; + RetentionSettings?: RetentionSettings | undefined; /** - *

The ARN of the moderator's channel.

+ *

The timestamp representing the time at which the specified items are permanently deleted, in ISO 8601 format.

* @public */ - ChannelArn?: string | undefined; + InitiateDeletionTimestamp?: Date | undefined; +} +/** + * @public + */ +export interface GetRoomRequest { /** - *

The time at which the moderator was created.

+ *

The Amazon Chime account ID.

* @public */ - CreatedTimestamp?: Date | undefined; + AccountId: string | undefined; /** - *

The AppInstanceUser who created the moderator.

+ *

The room ID.

* @public */ - CreatedBy?: Identity | undefined; + RoomId: string | undefined; } /** - *

Summary of the details of a ChannelModerator.

* @public */ -export interface ChannelModeratorSummary { +export interface GetRoomResponse { /** - *

The data for a moderator.

+ *

The room details.

* @public */ - Moderator?: Identity | undefined; + Room?: Room | undefined; } /** - *

The video streams to capture for a specified media capture pipeline. The total number of video streams can't exceed 25.

* @public */ -export interface SelectedVideoStreams { +export interface GetUserRequest { /** - *

The attendee IDs of the streams selected for a media capture pipeline.

+ *

The Amazon Chime account ID.

* @public */ - AttendeeIds?: string[] | undefined; + AccountId: string | undefined; /** - *

The external user IDs of the streams selected for a media capture pipeline.

+ *

The user ID.

* @public */ - ExternalUserIds?: string[] | undefined; + UserId: string | undefined; } /** - *

Source configuration for a specified media capture pipeline.

* @public */ -export interface SourceConfiguration { +export interface GetUserResponse { /** - *

The selected video streams to capture for a specified media capture pipeline. The number of video streams can't exceed 25.

+ *

The user details.

* @public */ - SelectedVideoStreams?: SelectedVideoStreams | undefined; + User?: User | undefined; } /** - *

The configuration object of the Amazon Chime SDK meeting for a specified media capture pipeline. SourceType must be ChimeSdkMeeting.

* @public */ -export interface ChimeSdkMeetingConfiguration { +export interface GetUserSettingsRequest { /** - *

The source configuration for a specified media capture pipeline.

+ *

The Amazon Chime account ID.

* @public */ - SourceConfiguration?: SourceConfiguration | undefined; + AccountId: string | undefined; /** - *

The configuration for the artifacts in an Amazon Chime SDK meeting.

+ *

The user ID.

* @public */ - ArtifactsConfiguration?: ArtifactsConfiguration | undefined; + UserId: string | undefined; } /** - *

The request could not be processed because of conflict in the current state of the - * resource.

+ *

Settings that allow management of telephony permissions for an Amazon Chime user, such as + * inbound and outbound calling and text messaging.

* @public */ -export class ConflictException extends __BaseException { - readonly name: "ConflictException" = "ConflictException"; - readonly $fault: "client" = "client"; - Code?: ErrorCode | undefined; - Message?: string | undefined; +export interface TelephonySettings { /** - * @internal + *

Allows or denies inbound calling.

+ * @public */ - constructor(opts: __ExceptionOptionType) { - super({ - name: "ConflictException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ConflictException.prototype); - this.Code = opts.Code; - this.Message = opts.Message; - } -} + InboundCalling: boolean | undefined; -/** - *

The retention settings that determine how long to retain conversation messages for an Amazon Chime Enterprise account.

- * @public - */ -export interface ConversationRetentionSettings { /** - *

The number of days for which to retain conversation messages.

+ *

Allows or denies outbound calling.

* @public */ - RetentionDays?: number | undefined; + OutboundCalling: boolean | undefined; + + /** + *

Allows or denies SMS messaging.

+ * @public + */ + SMS: boolean | undefined; } /** + *

Settings associated with an Amazon Chime user, including inbound and outbound calling and text + * messaging.

* @public */ -export interface CreateAccountRequest { +export interface UserSettings { /** - *

The name of the Amazon Chime account.

+ *

The telephony settings associated with the user.

* @public */ - Name: string | undefined; + Telephony: TelephonySettings | undefined; } /** * @public */ -export interface CreateAccountResponse { +export interface GetUserSettingsResponse { /** - *

The Amazon Chime account details.

+ *

The user settings.

* @public */ - Account?: Account | undefined; + UserSettings?: UserSettings | undefined; } /** + *

Invitation object returned after emailing users to invite them to join the Amazon Chime + * Team account.

* @public */ -export interface CreateAppInstanceRequest { +export interface Invite { /** - *

The name of the AppInstance.

+ *

The invite ID.

* @public */ - Name: string | undefined; + InviteId?: string | undefined; /** - *

The metadata of the AppInstance. Limited to a 1KB string in UTF-8.

+ *

The status of the invite.

* @public */ - Metadata?: string | undefined; + Status?: InviteStatus | undefined; /** - *

The ClientRequestToken of the AppInstance.

+ *

The email address to which the invite is sent.

* @public */ - ClientRequestToken?: string | undefined; + EmailAddress?: string | undefined; /** - *

Tags assigned to the AppInstance.

+ *

The status of the invite email.

* @public */ - Tags?: Tag[] | undefined; + EmailStatus?: EmailStatus | undefined; } /** * @public */ -export interface CreateAppInstanceResponse { +export interface InviteUsersRequest { /** - *

The Amazon Resource Number (ARN) of the AppInstance.

+ *

The Amazon Chime account ID.

* @public */ - AppInstanceArn?: string | undefined; -} + AccountId: string | undefined; -/** - * @public - */ -export interface CreateAppInstanceAdminRequest { /** - *

The ARN of the administrator of the current AppInstance.

+ *

The user email addresses to which to send the email invitation.

* @public */ - AppInstanceAdminArn: string | undefined; + UserEmailList: string[] | undefined; /** - *

The ARN of the AppInstance.

+ *

The user type.

* @public */ - AppInstanceArn: string | undefined; + UserType?: UserType | undefined; } /** * @public */ -export interface CreateAppInstanceAdminResponse { - /** - *

The name and ARN of the admin for the AppInstance.

- * @public - */ - AppInstanceAdmin?: Identity | undefined; - +export interface InviteUsersResponse { /** - *

The ARN of the of the admin for the AppInstance.

+ *

The email invitation details.

* @public */ - AppInstanceArn?: string | undefined; + Invites?: Invite[] | undefined; } /** * @public */ -export interface CreateAppInstanceUserRequest { - /** - *

The ARN of the AppInstance request.

- * @public - */ - AppInstanceArn: string | undefined; - - /** - *

The user ID of the AppInstance.

- * @public - */ - AppInstanceUserId: string | undefined; - +export interface ListAccountsRequest { /** - *

The user's name.

+ *

Amazon Chime account name prefix with which to filter results.

* @public */ - Name: string | undefined; + Name?: string | undefined; /** - *

The request's metadata. Limited to a 1KB string in UTF-8.

+ *

User email address with which to filter results.

* @public */ - Metadata?: string | undefined; + UserEmail?: string | undefined; /** - *

The token assigned to the user requesting an AppInstance.

+ *

The token to use to retrieve the next page of results.

* @public */ - ClientRequestToken?: string | undefined; + NextToken?: string | undefined; /** - *

Tags assigned to the AppInstanceUser.

+ *

The maximum number of results to return in a single call. Defaults to 100.

* @public */ - Tags?: Tag[] | undefined; + MaxResults?: number | undefined; } /** * @public */ -export interface CreateAppInstanceUserResponse { +export interface ListAccountsResponse { + /** + *

List of Amazon Chime accounts and account details.

+ * @public + */ + Accounts?: Account[] | undefined; + /** - *

The user's ARN.

+ *

The token to use to retrieve the next page of results.

* @public */ - AppInstanceUserArn?: string | undefined; + NextToken?: string | undefined; } /** * @public */ -export interface CreateAttendeeRequest { +export interface ListBotsRequest { /** - *

The Amazon Chime SDK meeting ID.

+ *

The Amazon Chime account ID.

* @public */ - MeetingId: string | undefined; + AccountId: string | undefined; /** - *

The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.

+ *

The maximum number of results to return in a single call. The default is 10.

* @public */ - ExternalUserId: string | undefined; + MaxResults?: number | undefined; /** - *

The tag key-value pairs.

+ *

The token to use to retrieve the next page of results.

* @public */ - Tags?: Tag[] | undefined; + NextToken?: string | undefined; } /** * @public */ -export interface CreateAttendeeResponse { +export interface ListBotsResponse { /** - *

The attendee information, including attendee ID and join token.

+ *

List of bots and bot details.

* @public */ - Attendee?: Attendee | undefined; -} + Bots?: Bot[] | undefined; -/** - * @public - */ -export interface CreateBotRequest { /** - *

The Amazon Chime account ID.

+ *

The token to use to retrieve the next page of results.

* @public */ - AccountId: string | undefined; + NextToken?: string | undefined; +} +/** + * @public + */ +export interface ListPhoneNumberOrdersRequest { /** - *

The bot display name.

+ *

The token to use to retrieve the next page of results.

* @public */ - DisplayName: string | undefined; + NextToken?: string | undefined; /** - *

The domain of the Amazon Chime Enterprise account.

+ *

The maximum number of results to return in a single call.

* @public */ - Domain?: string | undefined; + MaxResults?: number | undefined; } /** * @public */ -export interface CreateBotResponse { +export interface ListPhoneNumberOrdersResponse { /** - *

The bot details.

+ *

The phone number order details.

* @public */ - Bot?: Bot | undefined; + PhoneNumberOrders?: PhoneNumberOrder[] | undefined; + + /** + *

The token to use to retrieve the next page of results.

+ * @public + */ + NextToken?: string | undefined; } /** * @public */ -export interface CreateChannelRequest { +export interface ListPhoneNumbersRequest { /** - *

The ARN of the channel request.

+ *

The phone number status.

* @public */ - AppInstanceArn: string | undefined; + Status?: PhoneNumberStatus | undefined; /** - *

The name of the channel.

+ *

The phone number product type.

* @public */ - Name: string | undefined; + ProductType?: PhoneNumberProductType | undefined; /** - *

The channel mode: UNRESTRICTED or RESTRICTED. Administrators, - * moderators, and channel members can add themselves and other members to unrestricted - * channels. Only administrators and moderators can add members to restricted channels.

+ *

The filter to use to limit the number of results.

* @public */ - Mode?: ChannelMode | undefined; + FilterName?: PhoneNumberAssociationName | undefined; /** - *

The channel's privacy level: PUBLIC or PRIVATE. Private - * channels aren't discoverable by users outside the channel. Public channels are discoverable - * by anyone in the AppInstance.

+ *

The value to use for the filter.

* @public */ - Privacy?: ChannelPrivacy | undefined; + FilterValue?: string | undefined; /** - *

The metadata of the creation request. Limited to 1KB and UTF-8.

+ *

The maximum number of results to return in a single call.

* @public */ - Metadata?: string | undefined; + MaxResults?: number | undefined; /** - *

The client token for the request. An Idempotency token.

+ *

The token to use to retrieve the next page of results.

* @public */ - ClientRequestToken?: string | undefined; + NextToken?: string | undefined; +} +/** + * @public + */ +export interface ListPhoneNumbersResponse { /** - *

The tags for the creation request.

+ *

The phone number details.

* @public */ - Tags?: Tag[] | undefined; + PhoneNumbers?: PhoneNumber[] | undefined; /** - *

The AppInstanceUserArn of the user that makes the API call.

+ *

The token to use to retrieve the next page of results.

* @public */ - ChimeBearer?: string | undefined; + NextToken?: string | undefined; } /** * @public */ -export interface CreateChannelResponse { +export interface ListRoomMembershipsRequest { /** - *

The ARN of the channel.

+ *

The Amazon Chime account ID.

* @public */ - ChannelArn?: string | undefined; -} + AccountId: string | undefined; -/** - * @public - */ -export interface CreateChannelBanRequest { /** - *

The ARN of the ban request.

+ *

The room ID.

* @public */ - ChannelArn: string | undefined; + RoomId: string | undefined; /** - *

The ARN of the member being banned.

+ *

The maximum number of results to return in a single call.

* @public */ - MemberArn: string | undefined; + MaxResults?: number | undefined; /** - *

The AppInstanceUserArn of the user that makes the API call.

+ *

The token to use to retrieve the next page of results.

* @public */ - ChimeBearer?: string | undefined; + NextToken?: string | undefined; } /** * @public */ -export interface CreateChannelBanResponse { +export interface ListRoomMembershipsResponse { /** - *

The ARN of the response to the ban request.

+ *

The room membership details.

* @public */ - ChannelArn?: string | undefined; + RoomMemberships?: RoomMembership[] | undefined; /** - *

The ChannelArn and BannedIdentity of the member in the ban - * response.

+ *

The token to use to retrieve the next page of results.

* @public */ - Member?: Identity | undefined; + NextToken?: string | undefined; } /** * @public */ -export interface CreateChannelMembershipRequest { +export interface ListRoomsRequest { /** - *

The ARN of the channel to which you're adding users.

+ *

The Amazon Chime account ID.

* @public */ - ChannelArn: string | undefined; + AccountId: string | undefined; /** - *

The ARN of the member you want to add to the channel.

+ *

The member ID (user ID or bot ID).

* @public */ - MemberArn: string | undefined; + MemberId?: string | undefined; /** - *

The membership type of a user, DEFAULT or HIDDEN. Default - * members are always returned as part of ListChannelMemberships. Hidden members - * are only returned if the type filter in ListChannelMemberships equals - * HIDDEN. Otherwise hidden members are not returned. This is only supported - * by moderators.

+ *

The maximum number of results to return in a single call.

* @public */ - Type: ChannelMembershipType | undefined; + MaxResults?: number | undefined; /** - *

The AppInstanceUserArn of the user that makes the API call.

+ *

The token to use to retrieve the next page of results.

* @public */ - ChimeBearer?: string | undefined; + NextToken?: string | undefined; } /** * @public */ -export interface CreateChannelMembershipResponse { +export interface ListRoomsResponse { /** - *

The ARN of the channel.

+ *

The room details.

* @public */ - ChannelArn?: string | undefined; + Rooms?: Room[] | undefined; /** - *

The ARN and metadata of the member being added.

+ *

The token to use to retrieve the next page of results.

* @public */ - Member?: Identity | undefined; + NextToken?: string | undefined; } /** * @public */ -export interface CreateChannelModeratorRequest { - /** - *

The ARN of the channel.

- * @public - */ - ChannelArn: string | undefined; - - /** - *

The ARN of the moderator.

- * @public - */ - ChannelModeratorArn: string | undefined; - +export interface ListSupportedPhoneNumberCountriesRequest { /** - *

The AppInstanceUserArn of the user that makes the API call.

+ *

The phone number product type.

* @public */ - ChimeBearer?: string | undefined; + ProductType: PhoneNumberProductType | undefined; } /** + *

The phone number country.

* @public */ -export interface CreateChannelModeratorResponse { +export interface PhoneNumberCountry { /** - *

The ARN of the channel.

+ *

The phone number country code. Format: ISO 3166-1 alpha-2.

* @public */ - ChannelArn?: string | undefined; + CountryCode?: string | undefined; /** - *

The ARNs of the channel and the moderator.

+ *

The supported phone number types.

* @public */ - ChannelModerator?: Identity | undefined; + SupportedPhoneNumberTypes?: PhoneNumberType[] | undefined; } /** * @public - * @enum - */ -export const MediaPipelineSinkType = { - S3Bucket: "S3Bucket", -} as const; - -/** - * @public - */ -export type MediaPipelineSinkType = (typeof MediaPipelineSinkType)[keyof typeof MediaPipelineSinkType]; - -/** - * @public - * @enum */ -export const MediaPipelineSourceType = { - ChimeSdkMeeting: "ChimeSdkMeeting", -} as const; +export interface ListSupportedPhoneNumberCountriesResponse { + /** + *

The supported phone number countries.

+ * @public + */ + PhoneNumberCountries?: PhoneNumberCountry[] | undefined; +} /** * @public */ -export type MediaPipelineSourceType = (typeof MediaPipelineSourceType)[keyof typeof MediaPipelineSourceType]; +export interface ListUsersRequest { + /** + *

The Amazon Chime account ID.

+ * @public + */ + AccountId: string | undefined; -/** - * @public - */ -export interface CreateMediaCapturePipelineRequest { /** - *

Source type from which the media artifacts will be captured. A Chime SDK Meeting - * is the only supported source.

+ *

Optional. The user email address used to filter results. Maximum 1.

* @public */ - SourceType: MediaPipelineSourceType | undefined; + UserEmail?: string | undefined; /** - *

ARN of the source from which the media artifacts are captured.

+ *

The user type.

* @public */ - SourceArn: string | undefined; + UserType?: UserType | undefined; /** - *

Destination type to which the media artifacts are saved. You must use an S3 bucket.

+ *

The maximum number of results to return in a single call. Defaults to 100.

* @public */ - SinkType: MediaPipelineSinkType | undefined; + MaxResults?: number | undefined; /** - *

The ARN of the sink type.

+ *

The token to use to retrieve the next page of results.

* @public */ - SinkArn: string | undefined; + NextToken?: string | undefined; +} +/** + * @public + */ +export interface ListUsersResponse { /** - *

The unique identifier for the client request. The token makes the API request idempotent. Use a different token for different media pipeline requests.

+ *

List of users and user details.

* @public */ - ClientRequestToken?: string | undefined; + Users?: User[] | undefined; /** - *

The configuration for a specified media capture pipeline. SourceType must be ChimeSdkMeeting.

+ *

The token to use to retrieve the next page of results.

* @public */ - ChimeSdkMeetingConfiguration?: ChimeSdkMeetingConfiguration | undefined; + NextToken?: string | undefined; } /** * @public - * @enum */ -export const MediaPipelineStatus = { - Failed: "Failed", - InProgress: "InProgress", - Initializing: "Initializing", - Stopped: "Stopped", - Stopping: "Stopping", -} as const; +export interface LogoutUserRequest { + /** + *

The Amazon Chime account ID.

+ * @public + */ + AccountId: string | undefined; + + /** + *

The user ID.

+ * @public + */ + UserId: string | undefined; +} /** * @public */ -export type MediaPipelineStatus = (typeof MediaPipelineStatus)[keyof typeof MediaPipelineStatus]; +export interface LogoutUserResponse {} /** - *

A media capture pipeline object consisting of an ID, source type, source ARN, a sink type, a sink ARN, and a configuration object.

* @public */ -export interface MediaCapturePipeline { +export interface PutEventsConfigurationRequest { /** - *

The ID of a media capture pipeline.

+ *

The Amazon Chime account ID.

* @public */ - MediaPipelineId?: string | undefined; + AccountId: string | undefined; /** - *

Source type from which media artifacts are saved. You must use ChimeMeeting.

+ *

The bot ID.

* @public */ - SourceType?: MediaPipelineSourceType | undefined; + BotId: string | undefined; /** - *

ARN of the source from which the media artifacts will be saved.

+ *

HTTPS endpoint that allows the bot to receive outgoing events.

* @public */ - SourceArn?: string | undefined; + OutboundEventsHTTPSEndpoint?: string | undefined; /** - *

The status of the media capture pipeline.

+ *

Lambda function ARN that allows the bot to receive outgoing events.

* @public */ - Status?: MediaPipelineStatus | undefined; + LambdaFunctionArn?: string | undefined; +} +/** + * @public + */ +export interface PutEventsConfigurationResponse { /** - *

Destination type to which the media artifacts are saved. You must use an S3 Bucket.

+ *

The configuration that allows a bot to receive outgoing events. Can be an HTTPS endpoint or an + * AWS Lambda function ARN.

* @public */ - SinkType?: MediaPipelineSinkType | undefined; + EventsConfiguration?: EventsConfiguration | undefined; +} +/** + * @public + */ +export interface PutRetentionSettingsRequest { /** - *

ARN of the destination to which the media artifacts are saved.

+ *

The Amazon Chime account ID.

* @public */ - SinkArn?: string | undefined; + AccountId: string | undefined; /** - *

The time at which the capture pipeline was created, in ISO 8601 format.

+ *

The retention settings.

* @public */ - CreatedTimestamp?: Date | undefined; + RetentionSettings: RetentionSettings | undefined; +} +/** + * @public + */ +export interface PutRetentionSettingsResponse { /** - *

The time at which the capture pipeline was updated, in ISO 8601 format.

+ *

The retention settings.

* @public */ - UpdatedTimestamp?: Date | undefined; + RetentionSettings?: RetentionSettings | undefined; /** - *

The configuration for a specified media capture pipeline. SourceType must be ChimeSdkMeeting.

+ *

The timestamp representing the time at which the specified items are permanently deleted, in ISO 8601 format.

* @public */ - ChimeSdkMeetingConfiguration?: ChimeSdkMeetingConfiguration | undefined; + InitiateDeletionTimestamp?: Date | undefined; } /** * @public */ -export interface CreateMediaCapturePipelineResponse { +export interface RedactConversationMessageRequest { /** - *

A media capture pipeline object, the ID, source type, source ARN, sink type, and sink ARN of a media capture pipeline object.

+ *

The Amazon Chime account ID.

* @public */ - MediaCapturePipeline?: MediaCapturePipeline | undefined; -} + AccountId: string | undefined; -/** - *

The resource target configurations for receiving Amazon Chime SDK meeting and attendee event - * notifications. The Amazon Chime SDK supports resource targets located in the US East (N. - * Virginia) AWS Region (us-east-1).

- * @public - */ -export interface MeetingNotificationConfiguration { /** - *

The SNS topic ARN.

+ *

The conversation ID.

* @public */ - SnsTopicArn?: string | undefined; + ConversationId: string | undefined; /** - *

The SQS queue ARN.

+ *

The message ID.

* @public */ - SqsQueueArn?: string | undefined; + MessageId: string | undefined; } /** * @public */ -export interface CreateMeetingRequest { +export interface RedactConversationMessageResponse {} + +/** + * @public + */ +export interface RedactRoomMessageRequest { /** - *

The unique identifier for the client request. Use a different token for different meetings.

+ *

The Amazon Chime account ID.

* @public */ - ClientRequestToken?: string | undefined; + AccountId: string | undefined; /** - *

The external meeting ID.

+ *

The room ID.

* @public */ - ExternalMeetingId?: string | undefined; + RoomId: string | undefined; /** - *

Reserved.

+ *

The message ID.

* @public */ - MeetingHostId?: string | undefined; + MessageId: string | undefined; +} + +/** + * @public + */ +export interface RedactRoomMessageResponse {} +/** + * @public + */ +export interface RegenerateSecurityTokenRequest { /** - *

- * The Region in which to create the meeting. Default: us-east-1. - *

- *

- * Available values: - * af-south-1 - * , - * ap-northeast-1 - * , - * ap-northeast-2 - * , - * ap-south-1 - * , - * ap-southeast-1 - * , - * ap-southeast-2 - * , - * ca-central-1 - * , - * eu-central-1 - * , - * eu-north-1 - * , - * eu-south-1 - * , - * eu-west-1 - * , - * eu-west-2 - * , - * eu-west-3 - * , - * sa-east-1 - * , - * us-east-1 - * , - * us-east-2 - * , - * us-west-1 - * , - * us-west-2 - * . - *

+ *

The Amazon Chime account ID.

* @public */ - MediaRegion?: string | undefined; + AccountId: string | undefined; /** - *

The tag key-value pairs.

+ *

The bot ID.

* @public */ - Tags?: Tag[] | undefined; + BotId: string | undefined; +} +/** + * @public + */ +export interface RegenerateSecurityTokenResponse { /** - *

The configuration for resource targets to receive notifications when meeting and attendee events occur.

+ *

A resource that allows Enterprise account administrators to configure an interface that receives events from Amazon Chime.

* @public */ - NotificationsConfiguration?: MeetingNotificationConfiguration | undefined; + Bot?: Bot | undefined; } /** - *

A set of endpoints used by clients to connect to the media service group for an Amazon Chime SDK meeting.

* @public */ -export interface MediaPlacement { +export interface ResetPersonalPINRequest { /** - *

The audio host URL.

+ *

The Amazon Chime account ID.

* @public */ - AudioHostUrl?: string | undefined; + AccountId: string | undefined; /** - *

The audio fallback URL.

+ *

The user ID.

* @public */ - AudioFallbackUrl?: string | undefined; + UserId: string | undefined; +} +/** + * @public + */ +export interface ResetPersonalPINResponse { /** - *

The screen data URL.

- * - *

- * This parameter is is no longer supported and no longer used by the Amazon Chime SDK. - *

- *
+ *

The user details and new personal meeting PIN.

* @public */ - ScreenDataUrl?: string | undefined; + User?: User | undefined; +} +/** + * @public + */ +export interface RestorePhoneNumberRequest { /** - *

The screen sharing URL.

- * - *

- * This parameter is is no longer supported and no longer used by the Amazon Chime SDK..

- *
+ *

The phone number.

* @public */ - ScreenSharingUrl?: string | undefined; + PhoneNumberId: string | undefined; +} +/** + * @public + */ +export interface RestorePhoneNumberResponse { /** - *

The screen viewing URL.

- * - *

- * This parameter is is no longer supported and no longer used by the Amazon Chime SDK. - *

- *
+ *

The phone number details.

* @public */ - ScreenViewingUrl?: string | undefined; + PhoneNumber?: PhoneNumber | undefined; +} +/** + * @public + */ +export interface SearchAvailablePhoneNumbersRequest { /** - *

The signaling URL.

+ *

The area code used to filter results. Only applies to the US.

* @public */ - SignalingUrl?: string | undefined; + AreaCode?: string | undefined; /** - *

The turn control URL.

- * - *

- * This parameter is is no longer supported and no longer used by the Amazon Chime SDK. - *

- *
+ *

The city used to filter results. Only applies to the US.

* @public */ - TurnControlUrl?: string | undefined; + City?: string | undefined; /** - *

The event ingestion URL to which you send client meeting events.

+ *

The country used to filter results. Defaults to the US Format: ISO 3166-1 alpha-2.

* @public */ - EventIngestionUrl?: string | undefined; -} + Country?: string | undefined; -/** - *

A meeting created using the Amazon Chime SDK.

- * @public - */ -export interface Meeting { /** - *

The Amazon Chime SDK meeting ID.

+ *

The state used to filter results. Required only if you provide City. Only applies to the US.

* @public */ - MeetingId?: string | undefined; + State?: string | undefined; /** - *

The external meeting ID.

+ *

The toll-free prefix that you use to filter results. Only applies to the US.

* @public */ - ExternalMeetingId?: string | undefined; + TollFreePrefix?: string | undefined; /** - *

The media placement for the meeting.

+ *

The phone number type used to filter results. Required for non-US numbers.

* @public */ - MediaPlacement?: MediaPlacement | undefined; + PhoneNumberType?: PhoneNumberType | undefined; /** - *

The Region in which you create the meeting. Available values: af-south-1, ap-northeast-1, - * ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, - * eu-central-1, eu-north-1, eu-south-1, - * eu-west-1, eu-west-2, eu-west-3, - * sa-east-1, us-east-1, us-east-2, - * us-west-1, us-west-2.

+ *

The maximum number of results to return in a single call.

* @public */ - MediaRegion?: string | undefined; -} + MaxResults?: number | undefined; -/** - * @public - */ -export interface CreateMeetingResponse { /** - *

- * The meeting information, including the meeting ID and - * MediaPlacement - * . - *

+ *

The token used to retrieve the next page of results.

* @public */ - Meeting?: Meeting | undefined; + NextToken?: string | undefined; } /** * @public */ -export interface CreateMeetingDialOutRequest { +export interface SearchAvailablePhoneNumbersResponse { /** - *

The Amazon Chime SDK meeting ID.

+ *

List of phone numbers, in E.164 format.

* @public */ - MeetingId: string | undefined; - - /** - *

Phone number used as the caller ID when the remote party receives a call.

- * @public - */ - FromPhoneNumber: string | undefined; - - /** - *

Phone number called when inviting someone to a meeting.

- * @public - */ - ToPhoneNumber: string | undefined; - - /** - *

Token used by the Amazon Chime SDK attendee. Call the CreateAttendee action to get a join token.

- * @public - */ - JoinToken: string | undefined; -} + E164PhoneNumbers?: string[] | undefined; -/** - * @public - */ -export interface CreateMeetingDialOutResponse { /** - *

Unique ID that tracks API calls.

+ *

The token used to retrieve the next page of search results.

* @public */ - TransactionId?: string | undefined; + NextToken?: string | undefined; } /** * @public */ -export interface CreateMeetingWithAttendeesRequest { - /** - *

The unique identifier for the client request. Use a different token for different meetings.

- * @public - */ - ClientRequestToken?: string | undefined; - - /** - *

The external meeting ID.

- * @public - */ - ExternalMeetingId?: string | undefined; - - /** - *

Reserved.

- * @public - */ - MeetingHostId?: string | undefined; - - /** - *

- * The Region in which to create the meeting. Default: us-east-1 - * . - *

- *

- * Available values: - * af-south-1 - * , - * ap-northeast-1 - * , - * ap-northeast-2 - * , - * ap-south-1 - * , - * ap-southeast-1 - * , - * ap-southeast-2 - * , - * ca-central-1 - * , - * eu-central-1 - * , - * eu-north-1 - * , - * eu-south-1 - * , - * eu-west-1 - * , - * eu-west-2 - * , - * eu-west-3 - * , - * sa-east-1 - * , - * us-east-1 - * , - * us-east-2 - * , - * us-west-1 - * , - * us-west-2 - * . - *

- * @public - */ - MediaRegion?: string | undefined; - +export interface UpdateAccountRequest { /** - *

The tag key-value pairs.

+ *

The Amazon Chime account ID.

* @public */ - Tags?: Tag[] | undefined; + AccountId: string | undefined; /** - *

The resource target configurations for receiving Amazon Chime SDK meeting and attendee event - * notifications. The Amazon Chime SDK supports resource targets located in the US East (N. Virginia) AWS - * Region (us-east-1).

+ *

The new name for the specified Amazon Chime account.

* @public */ - NotificationsConfiguration?: MeetingNotificationConfiguration | undefined; + Name?: string | undefined; /** - *

The request containing the attendees to create.

+ *

The default license applied when you add users to an Amazon Chime account.

* @public */ - Attendees?: CreateAttendeeRequestItem[] | undefined; + DefaultLicense?: License | undefined; } /** * @public */ -export interface CreateMeetingWithAttendeesResponse { - /** - *

A meeting created using the Amazon Chime SDK.

- * @public - */ - Meeting?: Meeting | undefined; - - /** - *

The attendee information, including attendees IDs and join tokens.

- * @public - */ - Attendees?: Attendee[] | undefined; - +export interface UpdateAccountResponse { /** - *

If the action fails for one or more of the attendees in the request, a list of the attendees is returned, along with error codes and error messages.

+ *

The updated Amazon Chime account details.

* @public */ - Errors?: CreateAttendeeError[] | undefined; + Account?: Account | undefined; } /** * @public */ -export interface CreatePhoneNumberOrderRequest { +export interface UpdateAccountSettingsRequest { /** - *

The phone number product type.

+ *

The Amazon Chime account ID.

* @public */ - ProductType: PhoneNumberProductType | undefined; + AccountId: string | undefined; /** - *

List of phone numbers, in E.164 format.

+ *

The Amazon Chime account settings to update.

* @public */ - E164PhoneNumbers: string[] | undefined; + AccountSettings: AccountSettings | undefined; } /** * @public - * @enum */ -export const OrderedPhoneNumberStatus = { - Acquired: "Acquired", - Failed: "Failed", - Processing: "Processing", -} as const; +export interface UpdateAccountSettingsResponse {} /** * @public */ -export type OrderedPhoneNumberStatus = (typeof OrderedPhoneNumberStatus)[keyof typeof OrderedPhoneNumberStatus]; +export interface UpdateBotRequest { + /** + *

The Amazon Chime account ID.

+ * @public + */ + AccountId: string | undefined; -/** - *

A phone number for which an order has been placed.

- * @public - */ -export interface OrderedPhoneNumber { /** - *

The phone number, in E.164 format.

+ *

The bot ID.

* @public */ - E164PhoneNumber?: string | undefined; + BotId: string | undefined; /** - *

The phone number status.

+ *

When true, stops the specified bot from running in your account.

* @public */ - Status?: OrderedPhoneNumberStatus | undefined; + Disabled?: boolean | undefined; } /** - * @public - * @enum - */ -export const PhoneNumberOrderStatus = { - Failed: "Failed", - Partial: "Partial", - Processing: "Processing", - Successful: "Successful", -} as const; - -/** - * @public - */ -export type PhoneNumberOrderStatus = (typeof PhoneNumberOrderStatus)[keyof typeof PhoneNumberOrderStatus]; - -/** - *

The details of a phone number order created for Amazon Chime.

* @public */ -export interface PhoneNumberOrder { +export interface UpdateBotResponse { /** - *

The phone number order ID.

+ *

The updated bot details.

* @public */ - PhoneNumberOrderId?: string | undefined; + Bot?: Bot | undefined; +} +/** + * @public + */ +export interface UpdateGlobalSettingsRequest { /** - *

The phone number order product type.

+ *

The Amazon Chime Business Calling settings.

* @public */ - ProductType?: PhoneNumberProductType | undefined; + BusinessCalling?: BusinessCallingSettings | undefined; /** - *

The status of the phone number order.

+ *

The Amazon Chime Voice Connector settings.

* @public */ - Status?: PhoneNumberOrderStatus | undefined; + VoiceConnector?: VoiceConnectorSettings | undefined; +} +/** + * @public + */ +export interface UpdatePhoneNumberRequest { /** - *

The ordered phone number details, such as the phone number in E.164 format and the phone - * number status.

+ *

The phone number ID.

* @public */ - OrderedPhoneNumbers?: OrderedPhoneNumber[] | undefined; + PhoneNumberId: string | undefined; /** - *

The phone number order creation time stamp, in ISO 8601 format.

+ *

The product type.

* @public */ - CreatedTimestamp?: Date | undefined; + ProductType?: PhoneNumberProductType | undefined; /** - *

The updated phone number order time stamp, in ISO 8601 format.

+ *

The outbound calling name associated with the phone number.

* @public */ - UpdatedTimestamp?: Date | undefined; + CallingName?: string | undefined; } /** * @public */ -export interface CreatePhoneNumberOrderResponse { +export interface UpdatePhoneNumberResponse { /** - *

The phone number order details.

+ *

The updated phone number details.

* @public */ - PhoneNumberOrder?: PhoneNumberOrder | undefined; + PhoneNumber?: PhoneNumber | undefined; } /** - * @public - * @enum - */ -export const GeoMatchLevel = { - AreaCode: "AreaCode", - Country: "Country", -} as const; - -/** - * @public - */ -export type GeoMatchLevel = (typeof GeoMatchLevel)[keyof typeof GeoMatchLevel]; - -/** - *

The country and area code for a proxy phone number in a proxy phone session.

* @public */ -export interface GeoMatchParams { - /** - *

The country.

- * @public - */ - Country: string | undefined; - +export interface UpdatePhoneNumberSettingsRequest { /** - *

The area code.

+ *

The default outbound calling name for the account.

* @public */ - AreaCode: string | undefined; + CallingName: string | undefined; } -/** - * @public - * @enum - */ -export const NumberSelectionBehavior = { - AvoidSticky: "AvoidSticky", - PreferSticky: "PreferSticky", -} as const; - -/** - * @public - */ -export type NumberSelectionBehavior = (typeof NumberSelectionBehavior)[keyof typeof NumberSelectionBehavior]; - /** * @public */ -export interface CreateProxySessionRequest { +export interface UpdateRoomRequest { /** - *

The Amazon Chime voice connector ID.

+ *

The Amazon Chime account ID.

* @public */ - VoiceConnectorId: string | undefined; + AccountId: string | undefined; /** - *

The participant phone numbers.

+ *

The room ID.

* @public */ - ParticipantPhoneNumbers: string[] | undefined; + RoomId: string | undefined; /** - *

The name of the proxy session.

+ *

The room name.

* @public */ Name?: string | undefined; - - /** - *

The number of minutes allowed for the proxy session.

- * @public - */ - ExpiryMinutes?: number | undefined; - - /** - *

The proxy session capabilities.

- * @public - */ - Capabilities: Capability[] | undefined; - - /** - *

The preference for proxy phone number reuse, or stickiness, between the same participants across sessions.

- * @public - */ - NumberSelectionBehavior?: NumberSelectionBehavior | undefined; - - /** - *

The preference for matching the country or area code of the proxy phone number with that of the first participant.

- * @public - */ - GeoMatchLevel?: GeoMatchLevel | undefined; - - /** - *

The country and area code for the proxy phone number.

- * @public - */ - GeoMatchParams?: GeoMatchParams | undefined; } /** - *

The phone number and proxy phone number for a participant in an Amazon Chime Voice Connector proxy session.

* @public */ -export interface Participant { - /** - *

The participant's phone number.

- * @public - */ - PhoneNumber?: string | undefined; - +export interface UpdateRoomResponse { /** - *

The participant's proxy phone number.

+ *

The room details.

* @public */ - ProxyPhoneNumber?: string | undefined; + Room?: Room | undefined; } /** - * @public - * @enum - */ -export const ProxySessionStatus = { - Closed: "Closed", - InProgress: "InProgress", - Open: "Open", -} as const; - -/** - * @public - */ -export type ProxySessionStatus = (typeof ProxySessionStatus)[keyof typeof ProxySessionStatus]; - -/** - *

The proxy session for an Amazon Chime Voice Connector.

* @public */ -export interface ProxySession { - /** - *

The Amazon Chime voice connector ID.

- * @public - */ - VoiceConnectorId?: string | undefined; - - /** - *

The proxy session ID.

- * @public - */ - ProxySessionId?: string | undefined; - - /** - *

The name of the proxy session.

- * @public - */ - Name?: string | undefined; - - /** - *

The status of the proxy session.

- * @public - */ - Status?: ProxySessionStatus | undefined; - - /** - *

The number of minutes allowed for the proxy session.

- * @public - */ - ExpiryMinutes?: number | undefined; - - /** - *

The proxy session capabilities.

- * @public - */ - Capabilities?: Capability[] | undefined; - - /** - *

The created time stamp, in ISO 8601 format.

- * @public - */ - CreatedTimestamp?: Date | undefined; - - /** - *

The updated time stamp, in ISO 8601 format.

- * @public - */ - UpdatedTimestamp?: Date | undefined; - - /** - *

The ended time stamp, in ISO 8601 format.

- * @public - */ - EndedTimestamp?: Date | undefined; - +export interface UpdateRoomMembershipRequest { /** - *

The proxy session participants.

+ *

The Amazon Chime account ID.

* @public */ - Participants?: Participant[] | undefined; + AccountId: string | undefined; /** - *

The preference for proxy phone number reuse, or stickiness, between the same participants across sessions.

+ *

The room ID.

* @public */ - NumberSelectionBehavior?: NumberSelectionBehavior | undefined; + RoomId: string | undefined; /** - *

The preference for matching the country or area code of the proxy phone number with that of the first participant.

+ *

The member ID.

* @public */ - GeoMatchLevel?: GeoMatchLevel | undefined; + MemberId: string | undefined; /** - *

The country and area code for the proxy phone number.

- * @public - */ - GeoMatchParams?: GeoMatchParams | undefined; -} - -/** - * @public - */ -export interface CreateProxySessionResponse { - /** - *

The proxy session details.

- * @public - */ - ProxySession?: ProxySession | undefined; -} - -/** - * @public - */ -export interface CreateRoomRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The room name.

- * @public - */ - Name: string | undefined; - - /** - *

The idempotency token for the request.

- * @public - */ - ClientRequestToken?: string | undefined; -} - -/** - *

The Amazon Chime chat room details.

- * @public - */ -export interface Room { - /** - *

The room ID.

- * @public - */ - RoomId?: string | undefined; - - /** - *

The room name.

- * @public - */ - Name?: string | undefined; - - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId?: string | undefined; - - /** - *

The identifier of the room creator.

- * @public - */ - CreatedBy?: string | undefined; - - /** - *

The room creation timestamp, in ISO 8601 format.

- * @public - */ - CreatedTimestamp?: Date | undefined; - - /** - *

The room update timestamp, in ISO 8601 format.

- * @public - */ - UpdatedTimestamp?: Date | undefined; -} - -/** - * @public - */ -export interface CreateRoomResponse { - /** - *

The room details.

- * @public - */ - Room?: Room | undefined; -} - -/** - * @public - */ -export interface CreateRoomMembershipRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The room ID.

- * @public - */ - RoomId: string | undefined; - - /** - *

The Amazon Chime member ID (user ID or bot ID).

- * @public - */ - MemberId: string | undefined; - - /** - *

The role of the member.

- * @public - */ - Role?: RoomMembershipRole | undefined; -} - -/** - * @public - * @enum - */ -export const MemberType = { - Bot: "Bot", - User: "User", - Webhook: "Webhook", -} as const; - -/** - * @public - */ -export type MemberType = (typeof MemberType)[keyof typeof MemberType]; - -/** - *

The member details, such as email address, name, member ID, and member type.

- * @public - */ -export interface Member { - /** - *

The member ID (user ID or bot ID).

- * @public - */ - MemberId?: string | undefined; - - /** - *

The member type.

- * @public - */ - MemberType?: MemberType | undefined; - - /** - *

The member email address.

- * @public - */ - Email?: string | undefined; - - /** - *

The member name.

- * @public - */ - FullName?: string | undefined; - - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId?: string | undefined; -} - -/** - *

The room membership details.

- * @public - */ -export interface RoomMembership { - /** - *

The room ID.

- * @public - */ - RoomId?: string | undefined; - - /** - *

The member details, such as email address, name, member ID, and member type.

- * @public - */ - Member?: Member | undefined; - - /** - *

The membership role.

+ *

The role of the member.

* @public */ Role?: RoomMembershipRole | undefined; - - /** - *

The identifier of the user that invited the room member.

- * @public - */ - InvitedBy?: string | undefined; - - /** - *

The room membership update timestamp, in ISO 8601 format.

- * @public - */ - UpdatedTimestamp?: Date | undefined; -} - -/** - * @public - */ -export interface CreateRoomMembershipResponse { - /** - *

The room membership details.

- * @public - */ - RoomMembership?: RoomMembership | undefined; -} - -/** - *

The endpoint assigned to the SIP media application.

- * @public - */ -export interface SipMediaApplicationEndpoint { - /** - *

Valid Amazon Resource Name (ARN) of the Lambda function, version, or alias. The function must be created in the same AWS Region as the SIP media application.

- * @public - */ - LambdaArn?: string | undefined; -} - -/** - * @public - */ -export interface CreateSipMediaApplicationRequest { - /** - *

The AWS Region assigned to the SIP media application.

- * @public - */ - AwsRegion: string | undefined; - - /** - *

The SIP media application name.

- * @public - */ - Name: string | undefined; - - /** - *

List of endpoints (Lambda Amazon Resource Names) specified for the SIP media application. Currently, only one endpoint is supported.

- * @public - */ - Endpoints: SipMediaApplicationEndpoint[] | undefined; -} - -/** - *

The details of the SIP media application, including name and endpoints. An AWS account can have multiple SIP media applications.

- * @public - */ -export interface SipMediaApplication { - /** - *

The SIP media application ID.

- * @public - */ - SipMediaApplicationId?: string | undefined; - - /** - *

The AWS Region in which the SIP media application is created.

- * @public - */ - AwsRegion?: string | undefined; - - /** - *

The name of the SIP media application.

- * @public - */ - Name?: string | undefined; - - /** - *

List of endpoints for SIP media application. Currently, only one endpoint per SIP media application is permitted.

- * @public - */ - Endpoints?: SipMediaApplicationEndpoint[] | undefined; - - /** - *

The SIP media application creation timestamp, in ISO 8601 format.

- * @public - */ - CreatedTimestamp?: Date | undefined; - - /** - *

The SIP media application updated timestamp, in ISO 8601 format.

- * @public - */ - UpdatedTimestamp?: Date | undefined; -} - -/** - * @public - */ -export interface CreateSipMediaApplicationResponse { - /** - *

The SIP media application details.

- * @public - */ - SipMediaApplication?: SipMediaApplication | undefined; -} - -/** - * @public - */ -export interface CreateSipMediaApplicationCallRequest { - /** - *

The phone number that a user calls from. This is a phone number in your Amazon Chime phone number inventory.

- * @public - */ - FromPhoneNumber: string | undefined; - - /** - *

The phone number that the service should call.

- * @public - */ - ToPhoneNumber: string | undefined; - - /** - *

The ID of the SIP media application.

- * @public - */ - SipMediaApplicationId: string | undefined; - - /** - *

The SIP headers added to an outbound call leg.

- * @public - */ - SipHeaders?: Record | undefined; -} - -/** - *

A Call instance for a SIP media application.

- * @public - */ -export interface SipMediaApplicationCall { - /** - *

The transaction ID of a call.

- * @public - */ - TransactionId?: string | undefined; -} - -/** - * @public - */ -export interface CreateSipMediaApplicationCallResponse { - /** - *

The actual call.

- * @public - */ - SipMediaApplicationCall?: SipMediaApplicationCall | undefined; -} - -/** - *

Target SIP media application and other details, such as priority and AWS Region, to be - * specified in the SIP rule. Only one SIP rule per AWS Region can be provided.

- * @public - */ -export interface SipRuleTargetApplication { - /** - *

The SIP media application ID.

- * @public - */ - SipMediaApplicationId?: string | undefined; - - /** - *

Priority of the SIP media application in the target list.

- * @public - */ - Priority?: number | undefined; - - /** - *

The AWS Region of the target application.

- * @public - */ - AwsRegion?: string | undefined; -} - -/** - * @public - * @enum - */ -export const SipRuleTriggerType = { - RequestUriHostname: "RequestUriHostname", - ToPhoneNumber: "ToPhoneNumber", -} as const; - -/** - * @public - */ -export type SipRuleTriggerType = (typeof SipRuleTriggerType)[keyof typeof SipRuleTriggerType]; - -/** - * @public - */ -export interface CreateSipRuleRequest { - /** - *

The name of the SIP rule.

- * @public - */ - Name: string | undefined; - - /** - *

The type of trigger assigned to the SIP rule in TriggerValue, currently RequestUriHostname or ToPhoneNumber.

- * @public - */ - TriggerType: SipRuleTriggerType | undefined; - - /** - *

If TriggerType is RequestUriHostname, the value can be the outbound - * host name of an Amazon Chime Voice Connector. If TriggerType is - * ToPhoneNumber, the value can be a customer-owned phone number in the - * E164 format. The SipMediaApplication specified in the SipRule is triggered if the request URI in an incoming SIP - * request matches the RequestUriHostname, or if the To header in the incoming SIP request matches the - * ToPhoneNumber value.

- * @public - */ - TriggerValue: string | undefined; - - /** - *

Enables or disables a rule. You must disable rules before you can delete them.

- * @public - */ - Disabled?: boolean | undefined; - - /** - *

List of SIP media applications with priority and AWS Region. Only one SIP application per AWS Region can be used.

- * @public - */ - TargetApplications: SipRuleTargetApplication[] | undefined; -} - -/** - *

The SIP rule details, including name, triggers, and target applications. An AWS account can have multiple SIP rules.

- * @public - */ -export interface SipRule { - /** - *

The SIP rule ID.

- * @public - */ - SipRuleId?: string | undefined; - - /** - *

The name of the SIP rule.

- * @public - */ - Name?: string | undefined; - - /** - *

Indicates whether the SIP rule is enabled or disabled. You must disable a rule before you can delete it.

- * @public - */ - Disabled?: boolean | undefined; - - /** - *

The type of trigger assigned to the SIP rule in TriggerValue, currently RequestUriHostname or - * ToPhoneNumber.

- * @public - */ - TriggerType?: SipRuleTriggerType | undefined; - - /** - *

If TriggerType is RequestUriHostname, then the value can be the - * outbound host name of the Amazon Chime Voice Connector. If TriggerType is - * ToPhoneNumber, then the value can be a customer-owned phone number in - * E164 format. SipRule is triggered when a SIP rule requests host name or - * ToPhoneNumber matches in the incoming SIP request.

- * @public - */ - TriggerValue?: string | undefined; - - /** - *

Target SIP media application and other details, such as priority and AWS Region, to be - * specified in the SIP rule. Only one SIP rule per AWS Region can be provided.

- * @public - */ - TargetApplications?: SipRuleTargetApplication[] | undefined; - - /** - *

The time at which the SIP rule was created, in ISO 8601 format.

- * @public - */ - CreatedTimestamp?: Date | undefined; - - /** - *

The time at which the SIP rule was last updated, in ISO 8601 format.

- * @public - */ - UpdatedTimestamp?: Date | undefined; -} - -/** - * @public - */ -export interface CreateSipRuleResponse { - /** - *

Returns the SIP rule information, including the rule ID, triggers, and target applications.

- * @public - */ - SipRule?: SipRule | undefined; -} - -/** - * @public - */ -export interface CreateUserRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The user name.

- * @public - */ - Username?: string | undefined; - - /** - *

The user's email address.

- * @public - */ - Email?: string | undefined; - - /** - *

The user type.

- * @public - */ - UserType?: UserType | undefined; -} - -/** - * @public - * @enum - */ -export const InviteStatus = { - Accepted: "Accepted", - Failed: "Failed", - Pending: "Pending", -} as const; - -/** - * @public - */ -export type InviteStatus = (typeof InviteStatus)[keyof typeof InviteStatus]; - -/** - * @public - * @enum - */ -export const RegistrationStatus = { - Registered: "Registered", - Suspended: "Suspended", - Unregistered: "Unregistered", -} as const; - -/** - * @public - */ -export type RegistrationStatus = (typeof RegistrationStatus)[keyof typeof RegistrationStatus]; - -/** - *

The user on the Amazon Chime account.

- * @public - */ -export interface User { - /** - *

The user ID.

- * @public - */ - UserId: string | undefined; - - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId?: string | undefined; - - /** - *

The primary email address of the user.

- * @public - */ - PrimaryEmail?: string | undefined; - - /** - *

The primary phone number associated with the user.

- * @public - */ - PrimaryProvisionedNumber?: string | undefined; - - /** - *

The display name of the user.

- * @public - */ - DisplayName?: string | undefined; - - /** - *

The license type for the user.

- * @public - */ - LicenseType?: License | undefined; - - /** - *

The user type.

- * @public - */ - UserType?: UserType | undefined; - - /** - *

The user registration status.

- * @public - */ - UserRegistrationStatus?: RegistrationStatus | undefined; - - /** - *

The user invite status.

- * @public - */ - UserInvitationStatus?: InviteStatus | undefined; - - /** - *

Date and time when the user is registered, in ISO 8601 format.

- * @public - */ - RegisteredOn?: Date | undefined; - - /** - *

Date and time when the user is invited to the Amazon Chime account, in ISO 8601 format.

- * @public - */ - InvitedOn?: Date | undefined; - - /** - *

The Alexa for Business metadata.

- * @public - */ - AlexaForBusinessMetadata?: AlexaForBusinessMetadata | undefined; - - /** - *

The user's personal meeting PIN.

- * @public - */ - PersonalPIN?: string | undefined; -} - -/** - * @public - */ -export interface CreateUserResponse { - /** - *

The user on the Amazon Chime account.

- * @public - */ - User?: User | undefined; -} - -/** - * @public - * @enum - */ -export const VoiceConnectorAwsRegion = { - US_EAST_1: "us-east-1", - US_WEST_2: "us-west-2", -} as const; - -/** - * @public - */ -export type VoiceConnectorAwsRegion = (typeof VoiceConnectorAwsRegion)[keyof typeof VoiceConnectorAwsRegion]; - -/** - * @public - */ -export interface CreateVoiceConnectorRequest { - /** - *

The name of the Amazon Chime Voice Connector.

- * @public - */ - Name: string | undefined; - - /** - *

- * The AWS Region in which the Amazon Chime Voice Connector is created. Default value: - * us-east-1 - * . - *

- * @public - */ - AwsRegion?: VoiceConnectorAwsRegion | undefined; - - /** - *

When enabled, requires encryption for the Amazon Chime Voice Connector.

- * @public - */ - RequireEncryption: boolean | undefined; -} - -/** - *

The Amazon Chime Voice Connector configuration, including outbound host name and encryption - * settings.

- * @public - */ -export interface VoiceConnector { - /** - *

The Amazon Chime Voice Connector ID.

- * @public - */ - VoiceConnectorId?: string | undefined; - - /** - *

- * The AWS Region in which the Amazon Chime Voice Connector is created. Default: - * us-east-1. - *

- * @public - */ - AwsRegion?: VoiceConnectorAwsRegion | undefined; - - /** - *

The name of the Amazon Chime Voice Connector.

- * @public - */ - Name?: string | undefined; - - /** - *

The outbound host name for the Amazon Chime Voice Connector.

- * @public - */ - OutboundHostName?: string | undefined; - - /** - *

Designates whether encryption is required for the Amazon Chime Voice Connector.

- * @public - */ - RequireEncryption?: boolean | undefined; - - /** - *

The Amazon Chime Voice Connector creation timestamp, in ISO 8601 format.

- * @public - */ - CreatedTimestamp?: Date | undefined; - - /** - *

The updated Amazon Chime Voice Connector timestamp, in ISO 8601 format.

- * @public - */ - UpdatedTimestamp?: Date | undefined; - - /** - *

The ARN of the specified Amazon Chime Voice Connector.

- * @public - */ - VoiceConnectorArn?: string | undefined; -} - -/** - * @public - */ -export interface CreateVoiceConnectorResponse { - /** - *

The Amazon Chime Voice Connector details.

- * @public - */ - VoiceConnector?: VoiceConnector | undefined; -} - -/** - *

For Amazon Chime Voice Connector groups, the Amazon Chime Voice Connectors to which to route inbound calls. Includes priority configuration settings. Limit: 3 - * VoiceConnectorItems - * per Amazon Chime Voice Connector group.

- * @public - */ -export interface VoiceConnectorItem { - /** - *

The Amazon Chime Voice Connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; - - /** - *

The priority associated with the Amazon Chime Voice Connector, with 1 being the highest priority. Higher priority Amazon Chime Voice Connectors are attempted first.

- * @public - */ - Priority: number | undefined; -} - -/** - * @public - */ -export interface CreateVoiceConnectorGroupRequest { - /** - *

The name of the Amazon Chime Voice Connector group.

- * @public - */ - Name: string | undefined; - - /** - *

The Amazon Chime Voice Connectors to route inbound calls to.

- * @public - */ - VoiceConnectorItems?: VoiceConnectorItem[] | undefined; -} - -/** - *

The Amazon Chime Voice Connector group configuration, including associated Amazon Chime Voice - * Connectors. You can include Amazon Chime Voice Connectors from different AWS Regions in - * your group. This creates a fault tolerant mechanism for fallback in case of availability - * events.

- * @public - */ -export interface VoiceConnectorGroup { - /** - *

The Amazon Chime Voice Connector group ID.

- * @public - */ - VoiceConnectorGroupId?: string | undefined; - - /** - *

The name of the Amazon Chime Voice Connector group.

- * @public - */ - Name?: string | undefined; - - /** - *

The Amazon Chime Voice Connectors to which to route inbound calls.

- * @public - */ - VoiceConnectorItems?: VoiceConnectorItem[] | undefined; - - /** - *

The Amazon Chime Voice Connector group creation time stamp, in ISO 8601 format.

- * @public - */ - CreatedTimestamp?: Date | undefined; - - /** - *

The updated Amazon Chime Voice Connector group time stamp, in ISO 8601 format.

- * @public - */ - UpdatedTimestamp?: Date | undefined; - - /** - *

The ARN of the specified Amazon Chime Voice Connector group.

- * @public - */ - VoiceConnectorGroupArn?: string | undefined; -} - -/** - * @public - */ -export interface CreateVoiceConnectorGroupResponse { - /** - *

The Amazon Chime Voice Connector group details.

- * @public - */ - VoiceConnectorGroup?: VoiceConnectorGroup | undefined; -} - -/** - *

The SIP credentials used to authenticate requests to your Amazon Chime Voice Connector.

- * @public - */ -export interface Credential { - /** - *

The RFC2617 compliant user name associated with the SIP credentials, in US-ASCII - * format.

- * @public - */ - Username?: string | undefined; - - /** - *

The RFC2617 compliant password associated with the SIP credentials, in US-ASCII format.

- * @public - */ - Password?: string | undefined; -} - -/** - * @public - */ -export interface DeleteAccountRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; -} - -/** - * @public - */ -export interface DeleteAccountResponse {} - -/** - *

The request was well-formed but was unable to be followed due to semantic errors.

- * @public - */ -export class UnprocessableEntityException extends __BaseException { - readonly name: "UnprocessableEntityException" = "UnprocessableEntityException"; - readonly $fault: "client" = "client"; - Code?: ErrorCode | undefined; - Message?: string | undefined; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType) { - super({ - name: "UnprocessableEntityException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, UnprocessableEntityException.prototype); - this.Code = opts.Code; - this.Message = opts.Message; - } -} - -/** - * @public - */ -export interface DeleteAppInstanceRequest { - /** - *

The ARN of the AppInstance.

- * @public - */ - AppInstanceArn: string | undefined; -} - -/** - * @public - */ -export interface DeleteAppInstanceAdminRequest { - /** - *

The ARN of the AppInstance's administrator.

- * @public - */ - AppInstanceAdminArn: string | undefined; - - /** - *

The ARN of the AppInstance.

- * @public - */ - AppInstanceArn: string | undefined; -} - -/** - * @public - */ -export interface DeleteAppInstanceStreamingConfigurationsRequest { - /** - *

The ARN of the streaming configurations being deleted.

- * @public - */ - AppInstanceArn: string | undefined; -} - -/** - * @public - */ -export interface DeleteAppInstanceUserRequest { - /** - *

The ARN of the user request being deleted.

- * @public - */ - AppInstanceUserArn: string | undefined; -} - -/** - * @public - */ -export interface DeleteAttendeeRequest { - /** - *

The Amazon Chime SDK meeting ID.

- * @public - */ - MeetingId: string | undefined; - - /** - *

The Amazon Chime SDK attendee ID.

- * @public - */ - AttendeeId: string | undefined; -} - -/** - * @public - */ -export interface DeleteChannelRequest { - /** - *

The ARN of the channel being deleted.

- * @public - */ - ChannelArn: string | undefined; - - /** - *

The AppInstanceUserArn of the user that makes the API call.

- * @public - */ - ChimeBearer?: string | undefined; -} - -/** - * @public - */ -export interface DeleteChannelBanRequest { - /** - *

The ARN of the channel from which the AppInstanceUser was banned.

- * @public - */ - ChannelArn: string | undefined; - - /** - *

The ARN of the AppInstanceUser that you want to reinstate.

- * @public - */ - MemberArn: string | undefined; - - /** - *

The AppInstanceUserArn of the user that makes the API call.

- * @public - */ - ChimeBearer?: string | undefined; -} - -/** - * @public - */ -export interface DeleteChannelMembershipRequest { - /** - *

The ARN of the channel from which you want to remove the user.

- * @public - */ - ChannelArn: string | undefined; - - /** - *

The ARN of the member that you're removing from the channel.

- * @public - */ - MemberArn: string | undefined; - - /** - *

The AppInstanceUserArn of the user that makes the API call.

- * @public - */ - ChimeBearer?: string | undefined; -} - -/** - * @public - */ -export interface DeleteChannelMessageRequest { - /** - *

The ARN of the channel.

- * @public - */ - ChannelArn: string | undefined; - - /** - *

The ID of the message being deleted.

- * @public - */ - MessageId: string | undefined; - - /** - *

The AppInstanceUserArn of the user that makes the API call.

- * @public - */ - ChimeBearer?: string | undefined; -} - -/** - * @public - */ -export interface DeleteChannelModeratorRequest { - /** - *

The ARN of the channel.

- * @public - */ - ChannelArn: string | undefined; - - /** - *

The ARN of the moderator being deleted.

- * @public - */ - ChannelModeratorArn: string | undefined; - - /** - *

The AppInstanceUserArn of the user that makes the API call.

- * @public - */ - ChimeBearer?: string | undefined; -} - -/** - * @public - */ -export interface DeleteEventsConfigurationRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The bot ID.

- * @public - */ - BotId: string | undefined; -} - -/** - * @public - */ -export interface DeleteMediaCapturePipelineRequest { - /** - *

The ID of the media capture pipeline being deleted.

- * @public - */ - MediaPipelineId: string | undefined; -} - -/** - * @public - */ -export interface DeleteMeetingRequest { - /** - *

The Amazon Chime SDK meeting ID.

- * @public - */ - MeetingId: string | undefined; -} - -/** - * @public - */ -export interface DeletePhoneNumberRequest { - /** - *

The phone number ID.

- * @public - */ - PhoneNumberId: string | undefined; -} - -/** - * @public - */ -export interface DeleteProxySessionRequest { - /** - *

The Amazon Chime voice connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; - - /** - *

The proxy session ID.

- * @public - */ - ProxySessionId: string | undefined; -} - -/** - * @public - */ -export interface DeleteRoomRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The chat room ID.

- * @public - */ - RoomId: string | undefined; -} - -/** - * @public - */ -export interface DeleteRoomMembershipRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The room ID.

- * @public - */ - RoomId: string | undefined; - - /** - *

The member ID (user ID or bot ID).

- * @public - */ - MemberId: string | undefined; -} - -/** - * @public - */ -export interface DeleteSipMediaApplicationRequest { - /** - *

The SIP media application ID.

- * @public - */ - SipMediaApplicationId: string | undefined; -} - -/** - * @public - */ -export interface DeleteSipRuleRequest { - /** - *

The SIP rule ID.

- * @public - */ - SipRuleId: string | undefined; -} - -/** - * @public - */ -export interface DeleteVoiceConnectorRequest { - /** - *

The Amazon Chime Voice Connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; -} - -/** - * @public - */ -export interface DeleteVoiceConnectorEmergencyCallingConfigurationRequest { - /** - *

The Amazon Chime Voice Connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; -} - -/** - * @public - */ -export interface DeleteVoiceConnectorGroupRequest { - /** - *

The Amazon Chime Voice Connector group ID.

- * @public - */ - VoiceConnectorGroupId: string | undefined; -} - -/** - * @public - */ -export interface DeleteVoiceConnectorOriginationRequest { - /** - *

The Amazon Chime Voice Connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; -} - -/** - * @public - */ -export interface DeleteVoiceConnectorProxyRequest { - /** - *

The Amazon Chime Voice Connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; -} - -/** - * @public - */ -export interface DeleteVoiceConnectorStreamingConfigurationRequest { - /** - *

The Amazon Chime Voice Connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; -} - -/** - * @public - */ -export interface DeleteVoiceConnectorTerminationRequest { - /** - *

The Amazon Chime Voice Connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; -} - -/** - * @public - */ -export interface DeleteVoiceConnectorTerminationCredentialsRequest { - /** - *

The Amazon Chime Voice Connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; - - /** - *

The RFC2617 compliant username associated with the SIP credentials, in US-ASCII format.

- * @public - */ - Usernames: string[] | undefined; -} - -/** - * @public - */ -export interface DescribeAppInstanceRequest { - /** - *

The ARN of the AppInstance.

- * @public - */ - AppInstanceArn: string | undefined; -} - -/** - * @public - */ -export interface DescribeAppInstanceResponse { - /** - *

The ARN, metadata, created and last-updated timestamps, and the name of the AppInstance. All - * timestamps use epoch milliseconds.

- * @public - */ - AppInstance?: AppInstance | undefined; -} - -/** - * @public - */ -export interface DescribeAppInstanceAdminRequest { - /** - *

The ARN of the AppInstanceAdmin.

- * @public - */ - AppInstanceAdminArn: string | undefined; - - /** - *

The ARN of the AppInstance.

- * @public - */ - AppInstanceArn: string | undefined; -} - -/** - * @public - */ -export interface DescribeAppInstanceAdminResponse { - /** - *

The ARN and name of the AppInstanceUser, the ARN of the AppInstance, and the created and - * last-updated timestamps. All timestamps use epoch milliseconds.

- * @public - */ - AppInstanceAdmin?: AppInstanceAdmin | undefined; -} - -/** - * @public - */ -export interface DescribeAppInstanceUserRequest { - /** - *

The ARN of the AppInstanceUser.

- * @public - */ - AppInstanceUserArn: string | undefined; -} - -/** - * @public - */ -export interface DescribeAppInstanceUserResponse { - /** - *

The name of the AppInstanceUser.

- * @public - */ - AppInstanceUser?: AppInstanceUser | undefined; -} - -/** - * @public - */ -export interface DescribeChannelRequest { - /** - *

The ARN of the channel.

- * @public - */ - ChannelArn: string | undefined; - - /** - *

The AppInstanceUserArn of the user that makes the API call.

- * @public - */ - ChimeBearer?: string | undefined; -} - -/** - * @public - */ -export interface DescribeChannelResponse { - /** - *

The channel details.

- * @public - */ - Channel?: Channel | undefined; -} - -/** - * @public - */ -export interface DescribeChannelBanRequest { - /** - *

The ARN of the channel from which the user is banned.

- * @public - */ - ChannelArn: string | undefined; - - /** - *

The ARN of the member being banned.

- * @public - */ - MemberArn: string | undefined; - - /** - *

The AppInstanceUserArn of the user that makes the API call.

- * @public - */ - ChimeBearer?: string | undefined; -} - -/** - * @public - */ -export interface DescribeChannelBanResponse { - /** - *

The details of the ban.

- * @public - */ - ChannelBan?: ChannelBan | undefined; -} - -/** - * @public - */ -export interface DescribeChannelMembershipRequest { - /** - *

The ARN of the channel.

- * @public - */ - ChannelArn: string | undefined; - - /** - *

The ARN of the member.

- * @public - */ - MemberArn: string | undefined; - - /** - *

The AppInstanceUserArn of the user that makes the API call.

- * @public - */ - ChimeBearer?: string | undefined; -} - -/** - * @public - */ -export interface DescribeChannelMembershipResponse { - /** - *

The details of the membership.

- * @public - */ - ChannelMembership?: ChannelMembership | undefined; -} - -/** - * @public - */ -export interface DescribeChannelMembershipForAppInstanceUserRequest { - /** - *

The ARN of the channel to which the user belongs.

- * @public - */ - ChannelArn: string | undefined; - - /** - *

The ARN of the user in a channel.

- * @public - */ - AppInstanceUserArn: string | undefined; - - /** - *

The AppInstanceUserArn of the user that makes the API call.

- * @public - */ - ChimeBearer?: string | undefined; -} - -/** - * @public - */ -export interface DescribeChannelMembershipForAppInstanceUserResponse { - /** - *

The channel to which a user belongs.

- * @public - */ - ChannelMembership?: ChannelMembershipForAppInstanceUserSummary | undefined; -} - -/** - * @public - */ -export interface DescribeChannelModeratedByAppInstanceUserRequest { - /** - *

The ARN of the moderated channel.

- * @public - */ - ChannelArn: string | undefined; - - /** - *

The ARN of the AppInstanceUser in the moderated channel.

- * @public - */ - AppInstanceUserArn: string | undefined; - - /** - *

The AppInstanceUserArn of the user that makes the API call.

- * @public - */ - ChimeBearer?: string | undefined; -} - -/** - * @public - */ -export interface DescribeChannelModeratedByAppInstanceUserResponse { - /** - *

The moderated channel.

- * @public - */ - Channel?: ChannelModeratedByAppInstanceUserSummary | undefined; -} - -/** - * @public - */ -export interface DescribeChannelModeratorRequest { - /** - *

The ARN of the channel.

- * @public - */ - ChannelArn: string | undefined; - - /** - *

The ARN of the channel moderator.

- * @public - */ - ChannelModeratorArn: string | undefined; - - /** - *

The AppInstanceUserArn of the user that makes the API call.

- * @public - */ - ChimeBearer?: string | undefined; -} - -/** - * @public - */ -export interface DescribeChannelModeratorResponse { - /** - *

The details of the channel moderator.

- * @public - */ - ChannelModerator?: ChannelModerator | undefined; -} - -/** - * @public - */ -export interface DisassociatePhoneNumberFromUserRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The user ID.

- * @public - */ - UserId: string | undefined; -} - -/** - * @public - */ -export interface DisassociatePhoneNumberFromUserResponse {} - -/** - * @public - */ -export interface DisassociatePhoneNumbersFromVoiceConnectorRequest { - /** - *

The Amazon Chime Voice Connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; - - /** - *

List of phone numbers, in E.164 format.

- * @public - */ - E164PhoneNumbers: string[] | undefined; -} - -/** - * @public - */ -export interface DisassociatePhoneNumbersFromVoiceConnectorResponse { - /** - *

If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.

- * @public - */ - PhoneNumberErrors?: PhoneNumberError[] | undefined; -} - -/** - * @public - */ -export interface DisassociatePhoneNumbersFromVoiceConnectorGroupRequest { - /** - *

The Amazon Chime Voice Connector group ID.

- * @public - */ - VoiceConnectorGroupId: string | undefined; - - /** - *

List of phone numbers, in E.164 format.

- * @public - */ - E164PhoneNumbers: string[] | undefined; -} - -/** - * @public - */ -export interface DisassociatePhoneNumbersFromVoiceConnectorGroupResponse { - /** - *

If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.

- * @public - */ - PhoneNumberErrors?: PhoneNumberError[] | undefined; -} - -/** - * @public - */ -export interface DisassociateSigninDelegateGroupsFromAccountRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The sign-in delegate group names.

- * @public - */ - GroupNames: string[] | undefined; -} - -/** - * @public - */ -export interface DisassociateSigninDelegateGroupsFromAccountResponse {} - -/** - *

The Dialed Number Identification Service (DNIS) emergency calling configuration details associated with an Amazon Chime Voice Connector's emergency calling configuration.

- * @public - */ -export interface DNISEmergencyCallingConfiguration { - /** - *

The DNIS phone number to route emergency calls to, in E.164 format.

- * @public - */ - EmergencyPhoneNumber: string | undefined; - - /** - *

The DNIS phone number to route test emergency calls to, in E.164 format.

- * @public - */ - TestPhoneNumber?: string | undefined; - - /** - *

The country from which emergency calls are allowed, in ISO 3166-1 alpha-2 format.

- * @public - */ - CallingCountry: string | undefined; -} - -/** - * @public - * @enum - */ -export const EmailStatus = { - Failed: "Failed", - NotSent: "NotSent", - Sent: "Sent", -} as const; - -/** - * @public - */ -export type EmailStatus = (typeof EmailStatus)[keyof typeof EmailStatus]; - -/** - *

The emergency calling configuration details associated with an Amazon Chime Voice Connector.

- * @public - */ -export interface EmergencyCallingConfiguration { - /** - *

The Dialed Number Identification Service (DNIS) emergency calling configuration details.

- * @public - */ - DNIS?: DNISEmergencyCallingConfiguration[] | undefined; -} - -/** - * @public - * @enum - */ -export const TranscribeMedicalContentIdentificationType = { - PHI: "PHI", -} as const; - -/** - * @public - */ -export type TranscribeMedicalContentIdentificationType = - (typeof TranscribeMedicalContentIdentificationType)[keyof typeof TranscribeMedicalContentIdentificationType]; - -/** - * @public - * @enum - */ -export const TranscribeMedicalLanguageCode = { - EN_US: "en-US", -} as const; - -/** - * @public - */ -export type TranscribeMedicalLanguageCode = - (typeof TranscribeMedicalLanguageCode)[keyof typeof TranscribeMedicalLanguageCode]; - -/** - * @public - * @enum - */ -export const TranscribeMedicalRegion = { - AP_SOUTHEAST_2: "ap-southeast-2", - AUTO: "auto", - CA_CENTRAL_1: "ca-central-1", - EU_WEST_1: "eu-west-1", - US_EAST_1: "us-east-1", - US_EAST_2: "us-east-2", - US_WEST_2: "us-west-2", -} as const; - -/** - * @public - */ -export type TranscribeMedicalRegion = (typeof TranscribeMedicalRegion)[keyof typeof TranscribeMedicalRegion]; - -/** - * @public - * @enum - */ -export const TranscribeMedicalSpecialty = { - Cardiology: "CARDIOLOGY", - Neurology: "NEUROLOGY", - Oncology: "ONCOLOGY", - PrimaryCare: "PRIMARYCARE", - Radiology: "RADIOLOGY", - Urology: "UROLOGY", -} as const; - -/** - * @public - */ -export type TranscribeMedicalSpecialty = (typeof TranscribeMedicalSpecialty)[keyof typeof TranscribeMedicalSpecialty]; - -/** - * @public - * @enum - */ -export const TranscribeMedicalType = { - Conversation: "CONVERSATION", - Dictation: "DICTATION", -} as const; - -/** - * @public - */ -export type TranscribeMedicalType = (typeof TranscribeMedicalType)[keyof typeof TranscribeMedicalType]; - -/** - *

Settings specific to the Amazon Transcribe Medical engine.

- * @public - */ -export interface EngineTranscribeMedicalSettings { - /** - *

The language code specified for the Amazon Transcribe Medical engine.

- * @public - */ - LanguageCode: TranscribeMedicalLanguageCode | undefined; - - /** - *

The specialty specified for the Amazon Transcribe Medical engine.

- * @public - */ - Specialty: TranscribeMedicalSpecialty | undefined; - - /** - *

The type of transcription.

- * @public - */ - Type: TranscribeMedicalType | undefined; - - /** - *

The name of the vocabulary passed to Amazon Transcribe Medical.

- * @public - */ - VocabularyName?: string | undefined; - - /** - *

The AWS Region passed to Amazon Transcribe Medical. If you don't specify a Region, Amazon Chime uses the meeting's Region.

- * @public - */ - Region?: TranscribeMedicalRegion | undefined; - - /** - *

Labels all personally identifiable information (PII) identified in your transcript. If you don't include PiiEntityTypes, all PII is identified.

- *

You can’t set ContentIdentificationType and ContentRedactionType.

- * @public - */ - ContentIdentificationType?: TranscribeMedicalContentIdentificationType | undefined; -} - -/** - * @public - * @enum - */ -export const TranscribeContentIdentificationType = { - PII: "PII", -} as const; - -/** - * @public - */ -export type TranscribeContentIdentificationType = - (typeof TranscribeContentIdentificationType)[keyof typeof TranscribeContentIdentificationType]; - -/** - * @public - * @enum - */ -export const TranscribeContentRedactionType = { - PII: "PII", -} as const; - -/** - * @public - */ -export type TranscribeContentRedactionType = - (typeof TranscribeContentRedactionType)[keyof typeof TranscribeContentRedactionType]; - -/** - * @public - * @enum - */ -export const TranscribeLanguageCode = { - DE_DE: "de-DE", - EN_AU: "en-AU", - EN_GB: "en-GB", - EN_US: "en-US", - ES_US: "es-US", - FR_CA: "fr-CA", - FR_FR: "fr-FR", - HI_IN: "hi-IN", - IT_IT: "it-IT", - JA_JP: "ja-JP", - KO_KR: "ko-KR", - PT_BR: "pt-BR", - TH_TH: "th-TH", - ZH_CN: "zh-CN", -} as const; - -/** - * @public - */ -export type TranscribeLanguageCode = (typeof TranscribeLanguageCode)[keyof typeof TranscribeLanguageCode]; - -/** - * @public - * @enum - */ -export const TranscribePartialResultsStability = { - HIGH: "high", - LOW: "low", - MEDIUM: "medium", -} as const; - -/** - * @public - */ -export type TranscribePartialResultsStability = - (typeof TranscribePartialResultsStability)[keyof typeof TranscribePartialResultsStability]; - -/** - * @public - * @enum - */ -export const TranscribeRegion = { - AP_NORTHEAST_1: "ap-northeast-1", - AP_NORTHEAST_2: "ap-northeast-2", - AP_SOUTHEAST_2: "ap-southeast-2", - AUTO: "auto", - CA_CENTRAL_1: "ca-central-1", - EU_CENTRAL_1: "eu-central-1", - EU_WEST_1: "eu-west-1", - EU_WEST_2: "eu-west-2", - SA_EAST_1: "sa-east-1", - US_EAST_1: "us-east-1", - US_EAST_2: "us-east-2", - US_WEST_2: "us-west-2", -} as const; - -/** - * @public - */ -export type TranscribeRegion = (typeof TranscribeRegion)[keyof typeof TranscribeRegion]; - -/** - * @public - * @enum - */ -export const TranscribeVocabularyFilterMethod = { - Mask: "mask", - Remove: "remove", - Tag: "tag", -} as const; - -/** - * @public - */ -export type TranscribeVocabularyFilterMethod = - (typeof TranscribeVocabularyFilterMethod)[keyof typeof TranscribeVocabularyFilterMethod]; - -/** - *

Settings specific for Amazon Transcribe as the live transcription engine.

- *

If you specify an invalid combination of parameters, a TranscriptFailed event will be sent with the contents of the BadRequestException generated by Amazon - * Transcribe. For more information on each parameter and which combinations are valid, refer to the - * StartStreamTranscription API in the - * Amazon Transcribe Developer Guide.

- * @public - */ -export interface EngineTranscribeSettings { - /** - *

Specify the language code that represents the language spoken.

- *

If you're unsure of the language spoken in your audio, consider using IdentifyLanguage to enable automatic language identification.

- * @public - */ - LanguageCode?: TranscribeLanguageCode | undefined; - - /** - *

Specify how you want your vocabulary filter applied to your transcript.

- *

To replace words with ***, choose mask.

- *

To delete words, choose remove.

- *

To flag words without changing them, choose tag.

- * @public - */ - VocabularyFilterMethod?: TranscribeVocabularyFilterMethod | undefined; - - /** - *

Specify the name of the custom vocabulary filter that you want to use when processing your transcription. Note that vocabulary filter names are case sensitive.

- *

If you use Amazon Transcribe in multiple Regions, the vocabulary filter must be available in Amazon Transcribe in each Region.

- *

If you include IdentifyLanguage and want to use one or more vocabulary filters with your transcription, use the VocabularyFilterNames parameter instead.

- * @public - */ - VocabularyFilterName?: string | undefined; - - /** - *

Specify the name of the custom vocabulary that you want to use when processing your transcription. Note that vocabulary names are case sensitive.

- *

If you use Amazon Transcribe multiple Regions, the vocabulary must be available in Amazon Transcribe in each Region.

- *

If you include IdentifyLanguage and want to use one or more custom vocabularies with your transcription, use the VocabularyNames parameter instead.

- * @public - */ - VocabularyName?: string | undefined; - - /** - *

The AWS Region in which to use Amazon Transcribe.

- *

If you don't specify a Region, then the MediaRegion parameter of the - * CreateMeeting.html API will be used. However, if Amazon Transcribe is not - * available in the MediaRegion, then a TranscriptFailed event is sent.

- *

Use auto to use Amazon Transcribe in a Region near the meeting’s MediaRegion. For more information, refer to - * Choosing a transcription Region in the - * Amazon Chime SDK Developer Guide.

- * @public - */ - Region?: TranscribeRegion | undefined; - - /** - *

Enables partial result stabilization for your transcription. Partial result stabilization can reduce latency in your output, but may impact accuracy.

- * @public - */ - EnablePartialResultsStabilization?: boolean | undefined; - - /** - *

Specify the level of stability to use when you enable partial results stabilization (EnablePartialResultsStabilization).

- *

Low stability provides the highest accuracy. High stability transcribes faster, but with slightly lower accuracy.

- * @public - */ - PartialResultsStability?: TranscribePartialResultsStability | undefined; - - /** - *

Labels all personally identifiable information (PII) identified in your transcript. If you don't include PiiEntityTypes, all PII is identified.

- *

You can’t set ContentIdentificationType and ContentRedactionType.

- * @public - */ - ContentIdentificationType?: TranscribeContentIdentificationType | undefined; - - /** - *

Content redaction is performed at the segment level. If you don't include PiiEntityTypes, all PII is redacted.

- *

You can’t set ContentIdentificationType and ContentRedactionType.

- * @public - */ - ContentRedactionType?: TranscribeContentRedactionType | undefined; - - /** - *

Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.

- *

Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY - * CREDIT_DEBIT_NUMBER, EMAIL,NAME, PHONE, PIN, - * SSN, or ALL.

- *

Note that if you include PiiEntityTypes, you must also include ContentIdentificationType or ContentRedactionType.

- *

If you include ContentRedactionType or ContentIdentificationType, but do not include PiiEntityTypes, all PII is redacted or identified.

- * @public - */ - PiiEntityTypes?: string | undefined; - - /** - *

Specify the name of the custom language model that you want to use when processing your transcription. Note that language model names are case sensitive.

- *

The language of the specified language model must match the language code. If the languages don't match, the custom language model isn't applied. There are no errors or warnings associated - * with a language mismatch.

- *

If you use Amazon Transcribe in multiple Regions, the custom language model must be available in Amazon Transcribe in each Region.

- * @public - */ - LanguageModelName?: string | undefined; - - /** - *

Enables automatic language identification for your transcription.

- *

If you include IdentifyLanguage, you can optionally use LanguageOptions to include a list of language codes that you think may be present in your audio stream. - * Including language options can improve transcription accuracy.

- *

You can also use PreferredLanguage to include a preferred language. Doing so can help Amazon Transcribe identify the language faster.

- *

You must include either LanguageCode or IdentifyLanguage.

- *

Language identification can't be combined with custom language models or redaction.

- * @public - */ - IdentifyLanguage?: boolean | undefined; - - /** - *

Specify two or more language codes that represent the languages you think may be present in your media; including more than five is not recommended. If you're unsure what languages - * are present, do not include this parameter.

- *

Including language options can improve the accuracy of language identification.

- *

If you include LanguageOptions, you must also include IdentifyLanguage.

- * - *

You can only include one language dialect per language. For example, you cannot include en-US and en-AU.

- *
- * @public - */ - LanguageOptions?: string | undefined; - - /** - *

Specify a preferred language from the subset of languages codes you specified in LanguageOptions.

- *

You can only use this parameter if you include IdentifyLanguage and LanguageOptions.

- * @public - */ - PreferredLanguage?: TranscribeLanguageCode | undefined; - - /** - *

Specify the names of the custom vocabularies that you want to use when processing your transcription. Note that vocabulary names are case sensitive.

- *

If you use Amazon Transcribe in multiple Regions, the vocabulary must be available in Amazon Transcribe in each Region.

- *

If you don't include IdentifyLanguage and want to use a custom vocabulary with your transcription, use the VocabularyName parameter instead.

- * @public - */ - VocabularyNames?: string | undefined; - - /** - *

Specify the names of the custom vocabulary filters that you want to use when processing your transcription. Note that vocabulary filter names are case sensitive.

- *

If you use Amazon Transcribe in multiple Regions, the vocabulary filter must be available in Amazon Transcribe in each Region.

- *

If you're not including IdentifyLanguage and want to use a custom vocabulary filter with your transcription, use the VocabularyFilterName - * parameter instead.

- * @public - */ - VocabularyFilterNames?: string | undefined; -} - -/** - *

The configuration that allows a bot to receive outgoing events. Can be either an HTTPS endpoint or a Lambda function ARN.

- * @public - */ -export interface EventsConfiguration { - /** - *

The bot ID.

- * @public - */ - BotId?: string | undefined; - - /** - *

HTTPS endpoint that allows a bot to receive outgoing events.

- * @public - */ - OutboundEventsHTTPSEndpoint?: string | undefined; - - /** - *

Lambda function ARN that allows a bot to receive outgoing events.

- * @public - */ - LambdaFunctionArn?: string | undefined; -} - -/** - * @public - */ -export interface GetAccountRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; -} - -/** - * @public - */ -export interface GetAccountResponse { - /** - *

The Amazon Chime account details.

- * @public - */ - Account?: Account | undefined; -} - -/** - * @public - */ -export interface GetAccountSettingsRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; -} - -/** - * @public - */ -export interface GetAccountSettingsResponse { - /** - *

The Amazon Chime account settings.

- * @public - */ - AccountSettings?: AccountSettings | undefined; -} - -/** - * @public - */ -export interface GetAppInstanceRetentionSettingsRequest { - /** - *

The ARN of the AppInstance.

- * @public - */ - AppInstanceArn: string | undefined; -} - -/** - * @public - */ -export interface GetAppInstanceRetentionSettingsResponse { - /** - *

The retention settings for the AppInstance.

- * @public - */ - AppInstanceRetentionSettings?: AppInstanceRetentionSettings | undefined; - - /** - *

The timestamp representing the time at which the specified items are retained, in Epoch Seconds.

- * @public - */ - InitiateDeletionTimestamp?: Date | undefined; -} - -/** - * @public - */ -export interface GetAppInstanceStreamingConfigurationsRequest { - /** - *

The ARN of the AppInstance.

- * @public - */ - AppInstanceArn: string | undefined; -} - -/** - * @public - */ -export interface GetAppInstanceStreamingConfigurationsResponse { - /** - *

The streaming settings.

- * @public - */ - AppInstanceStreamingConfigurations?: AppInstanceStreamingConfiguration[] | undefined; -} - -/** - * @public - */ -export interface GetAttendeeRequest { - /** - *

The Amazon Chime SDK meeting ID.

- * @public - */ - MeetingId: string | undefined; - - /** - *

The Amazon Chime SDK attendee ID.

- * @public - */ - AttendeeId: string | undefined; -} - -/** - * @public - */ -export interface GetAttendeeResponse { - /** - *

The Amazon Chime SDK attendee information.

- * @public - */ - Attendee?: Attendee | undefined; -} - -/** - * @public - */ -export interface GetBotRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The bot ID.

- * @public - */ - BotId: string | undefined; -} - -/** - * @public - */ -export interface GetBotResponse { - /** - *

The chat bot details.

- * @public - */ - Bot?: Bot | undefined; -} - -/** - * @public - */ -export interface GetChannelMessageRequest { - /** - *

The ARN of the channel.

- * @public - */ - ChannelArn: string | undefined; - - /** - *

The ID of the message.

- * @public - */ - MessageId: string | undefined; - - /** - *

The AppInstanceUserArn of the user that makes the API call.

- * @public - */ - ChimeBearer?: string | undefined; -} - -/** - * @public - */ -export interface GetChannelMessageResponse { - /** - *

The details of and content in the message.

- * @public - */ - ChannelMessage?: ChannelMessage | undefined; -} - -/** - * @public - */ -export interface GetEventsConfigurationRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The bot ID.

- * @public - */ - BotId: string | undefined; -} - -/** - * @public - */ -export interface GetEventsConfigurationResponse { - /** - *

The events configuration details.

- * @public - */ - EventsConfiguration?: EventsConfiguration | undefined; -} - -/** - *

The Amazon Chime Voice Connector settings. Includes any Amazon S3 buckets designated for - * storing call detail records.

- * @public - */ -export interface VoiceConnectorSettings { - /** - *

The Amazon S3 bucket designated for call detail record storage.

- * @public - */ - CdrBucket?: string | undefined; -} - -/** - * @public - */ -export interface GetGlobalSettingsResponse { - /** - *

The Amazon Chime Business Calling settings.

- * @public - */ - BusinessCalling?: BusinessCallingSettings | undefined; - - /** - *

The Amazon Chime Voice Connector settings.

- * @public - */ - VoiceConnector?: VoiceConnectorSettings | undefined; -} - -/** - * @public - */ -export interface GetMediaCapturePipelineRequest { - /** - *

The ID of the pipeline that you want to get.

- * @public - */ - MediaPipelineId: string | undefined; -} - -/** - * @public - */ -export interface GetMediaCapturePipelineResponse { - /** - *

The media capture pipeline object.

- * @public - */ - MediaCapturePipeline?: MediaCapturePipeline | undefined; -} - -/** - * @public - */ -export interface GetMeetingRequest { - /** - *

The Amazon Chime SDK meeting ID.

- * @public - */ - MeetingId: string | undefined; -} - -/** - * @public - */ -export interface GetMeetingResponse { - /** - *

The Amazon Chime SDK meeting information.

- * @public - */ - Meeting?: Meeting | undefined; -} - -/** - * @public - */ -export interface GetMessagingSessionEndpointRequest {} - -/** - *

The websocket endpoint used to connect to Amazon Chime SDK messaging.

- * @public - */ -export interface MessagingSessionEndpoint { - /** - *

The endpoint to which you establish a websocket connection.

- * @public - */ - Url?: string | undefined; -} - -/** - * @public - */ -export interface GetMessagingSessionEndpointResponse { - /** - *

The endpoint returned in the response.

- * @public - */ - Endpoint?: MessagingSessionEndpoint | undefined; -} - -/** - * @public - */ -export interface GetPhoneNumberRequest { - /** - *

The phone number ID.

- * @public - */ - PhoneNumberId: string | undefined; -} - -/** - * @public - * @enum - */ -export const PhoneNumberAssociationName = { - AccountId: "AccountId", - SipRuleId: "SipRuleId", - UserId: "UserId", - VoiceConnectorGroupId: "VoiceConnectorGroupId", - VoiceConnectorId: "VoiceConnectorId", -} as const; - -/** - * @public - */ -export type PhoneNumberAssociationName = (typeof PhoneNumberAssociationName)[keyof typeof PhoneNumberAssociationName]; - -/** - *

The phone number associations, such as Amazon Chime account ID, Amazon Chime user ID, Amazon - * Chime Voice Connector ID, or Amazon Chime Voice Connector group ID.

- * @public - */ -export interface PhoneNumberAssociation { - /** - *

Contains the ID for the entity specified in Name.

- * @public - */ - Value?: string | undefined; - - /** - *

Defines the association with an Amazon Chime account ID, user ID, Amazon Chime Voice Connector - * ID, or Amazon Chime Voice Connector group ID.

- * @public - */ - Name?: PhoneNumberAssociationName | undefined; - - /** - *

The timestamp of the phone number association, in ISO 8601 format.

- * @public - */ - AssociatedTimestamp?: Date | undefined; -} - -/** - *

The phone number capabilities for Amazon Chime Business Calling phone numbers, such as enabled - * inbound and outbound calling and text messaging.

- * @public - */ -export interface PhoneNumberCapabilities { - /** - *

Allows or denies inbound calling for the specified phone number.

- * @public - */ - InboundCall?: boolean | undefined; - - /** - *

Allows or denies outbound calling for the specified phone number.

- * @public - */ - OutboundCall?: boolean | undefined; - - /** - *

Allows or denies inbound SMS messaging for the specified phone number.

- * @public - */ - InboundSMS?: boolean | undefined; - - /** - *

Allows or denies outbound SMS messaging for the specified phone number.

- * @public - */ - OutboundSMS?: boolean | undefined; - - /** - *

Allows or denies inbound MMS messaging for the specified phone number.

- * @public - */ - InboundMMS?: boolean | undefined; - - /** - *

Allows or denies outbound MMS messaging for the specified phone number.

- * @public - */ - OutboundMMS?: boolean | undefined; -} - -/** - * @public - * @enum - */ -export const PhoneNumberStatus = { - AcquireFailed: "AcquireFailed", - AcquireInProgress: "AcquireInProgress", - Assigned: "Assigned", - DeleteFailed: "DeleteFailed", - DeleteInProgress: "DeleteInProgress", - ReleaseFailed: "ReleaseFailed", - ReleaseInProgress: "ReleaseInProgress", - Unassigned: "Unassigned", -} as const; - -/** - * @public - */ -export type PhoneNumberStatus = (typeof PhoneNumberStatus)[keyof typeof PhoneNumberStatus]; - -/** - * @public - * @enum - */ -export const PhoneNumberType = { - Local: "Local", - TollFree: "TollFree", -} as const; - -/** - * @public - */ -export type PhoneNumberType = (typeof PhoneNumberType)[keyof typeof PhoneNumberType]; - -/** - *

A phone number used for Amazon Chime Business Calling or an Amazon Chime Voice - * Connector.

- * @public - */ -export interface PhoneNumber { - /** - *

The phone number ID.

- * @public - */ - PhoneNumberId?: string | undefined; - - /** - *

The phone number, in E.164 format.

- * @public - */ - E164PhoneNumber?: string | undefined; - - /** - *

The phone number country. Format: ISO 3166-1 alpha-2.

- * @public - */ - Country?: string | undefined; - - /** - *

The phone number type.

- * @public - */ - Type?: PhoneNumberType | undefined; - - /** - *

The phone number product type.

- * @public - */ - ProductType?: PhoneNumberProductType | undefined; - - /** - *

The phone number status.

- * @public - */ - Status?: PhoneNumberStatus | undefined; - - /** - *

The phone number capabilities.

- * @public - */ - Capabilities?: PhoneNumberCapabilities | undefined; - - /** - *

The phone number associations.

- * @public - */ - Associations?: PhoneNumberAssociation[] | undefined; - - /** - *

The outbound calling name associated with the phone number.

- * @public - */ - CallingName?: string | undefined; - - /** - *

The outbound calling name status.

- * @public - */ - CallingNameStatus?: CallingNameStatus | undefined; - - /** - *

The phone number creation timestamp, in ISO 8601 format.

- * @public - */ - CreatedTimestamp?: Date | undefined; - - /** - *

The updated phone number timestamp, in ISO 8601 format.

- * @public - */ - UpdatedTimestamp?: Date | undefined; - - /** - *

The deleted phone number timestamp, in ISO 8601 format.

- * @public - */ - DeletionTimestamp?: Date | undefined; -} - -/** - * @public - */ -export interface GetPhoneNumberResponse { - /** - *

The phone number details.

- * @public - */ - PhoneNumber?: PhoneNumber | undefined; -} - -/** - * @public - */ -export interface GetPhoneNumberOrderRequest { - /** - *

The ID for the phone number order.

- * @public - */ - PhoneNumberOrderId: string | undefined; -} - -/** - * @public - */ -export interface GetPhoneNumberOrderResponse { - /** - *

The phone number order details.

- * @public - */ - PhoneNumberOrder?: PhoneNumberOrder | undefined; -} - -/** - * @public - */ -export interface GetPhoneNumberSettingsResponse { - /** - *

The default outbound calling name for the account.

- * @public - */ - CallingName?: string | undefined; - - /** - *

The updated outbound calling name timestamp, in ISO 8601 format.

- * @public - */ - CallingNameUpdatedTimestamp?: Date | undefined; -} - -/** - * @public - */ -export interface GetProxySessionRequest { - /** - *

The Amazon Chime voice connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; - - /** - *

The proxy session ID.

- * @public - */ - ProxySessionId: string | undefined; -} - -/** - * @public - */ -export interface GetProxySessionResponse { - /** - *

The proxy session details.

- * @public - */ - ProxySession?: ProxySession | undefined; -} - -/** - * @public - */ -export interface GetRetentionSettingsRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; -} - -/** - * @internal - */ -export const AddressFilterSensitiveLog = (obj: Address): any => ({ - ...obj, - ...(obj.streetName && { streetName: SENSITIVE_STRING }), - ...(obj.streetSuffix && { streetSuffix: SENSITIVE_STRING }), - ...(obj.postDirectional && { postDirectional: SENSITIVE_STRING }), - ...(obj.preDirectional && { preDirectional: SENSITIVE_STRING }), - ...(obj.streetNumber && { streetNumber: SENSITIVE_STRING }), - ...(obj.city && { city: SENSITIVE_STRING }), - ...(obj.state && { state: SENSITIVE_STRING }), - ...(obj.postalCode && { postalCode: SENSITIVE_STRING }), - ...(obj.postalCodePlus4 && { postalCodePlus4: SENSITIVE_STRING }), - ...(obj.country && { country: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const AlexaForBusinessMetadataFilterSensitiveLog = (obj: AlexaForBusinessMetadata): any => ({ - ...obj, - ...(obj.AlexaForBusinessRoomArn && { AlexaForBusinessRoomArn: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const AppInstanceFilterSensitiveLog = (obj: AppInstance): any => ({ - ...obj, - ...(obj.Name && { Name: SENSITIVE_STRING }), - ...(obj.Metadata && { Metadata: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const IdentityFilterSensitiveLog = (obj: Identity): any => ({ - ...obj, - ...(obj.Name && { Name: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const AppInstanceAdminFilterSensitiveLog = (obj: AppInstanceAdmin): any => ({ - ...obj, - ...(obj.Admin && { Admin: IdentityFilterSensitiveLog(obj.Admin) }), -}); - -/** - * @internal - */ -export const AppInstanceAdminSummaryFilterSensitiveLog = (obj: AppInstanceAdminSummary): any => ({ - ...obj, - ...(obj.Admin && { Admin: IdentityFilterSensitiveLog(obj.Admin) }), -}); - -/** - * @internal - */ -export const AppInstanceSummaryFilterSensitiveLog = (obj: AppInstanceSummary): any => ({ - ...obj, - ...(obj.Name && { Name: SENSITIVE_STRING }), - ...(obj.Metadata && { Metadata: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const AppInstanceStreamingConfigurationFilterSensitiveLog = (obj: AppInstanceStreamingConfiguration): any => ({ - ...obj, - ...(obj.ResourceArn && { ResourceArn: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const AppInstanceUserFilterSensitiveLog = (obj: AppInstanceUser): any => ({ - ...obj, - ...(obj.Name && { Name: SENSITIVE_STRING }), - ...(obj.Metadata && { Metadata: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const AppInstanceUserSummaryFilterSensitiveLog = (obj: AppInstanceUserSummary): any => ({ - ...obj, - ...(obj.Name && { Name: SENSITIVE_STRING }), - ...(obj.Metadata && { Metadata: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const AssociatePhoneNumbersWithVoiceConnectorRequestFilterSensitiveLog = ( - obj: AssociatePhoneNumbersWithVoiceConnectorRequest -): any => ({ - ...obj, - ...(obj.E164PhoneNumbers && { E164PhoneNumbers: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const AssociatePhoneNumbersWithVoiceConnectorGroupRequestFilterSensitiveLog = ( - obj: AssociatePhoneNumbersWithVoiceConnectorGroupRequest -): any => ({ - ...obj, - ...(obj.E164PhoneNumbers && { E164PhoneNumbers: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const AssociatePhoneNumberWithUserRequestFilterSensitiveLog = ( - obj: AssociatePhoneNumberWithUserRequest -): any => ({ - ...obj, - ...(obj.E164PhoneNumber && { E164PhoneNumber: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const AttendeeFilterSensitiveLog = (obj: Attendee): any => ({ - ...obj, - ...(obj.ExternalUserId && { ExternalUserId: SENSITIVE_STRING }), - ...(obj.JoinToken && { JoinToken: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const TagFilterSensitiveLog = (obj: Tag): any => ({ - ...obj, - ...(obj.Key && { Key: SENSITIVE_STRING }), - ...(obj.Value && { Value: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const BatchChannelMembershipsFilterSensitiveLog = (obj: BatchChannelMemberships): any => ({ - ...obj, - ...(obj.InvitedBy && { InvitedBy: IdentityFilterSensitiveLog(obj.InvitedBy) }), - ...(obj.Members && { Members: obj.Members.map((item) => IdentityFilterSensitiveLog(item)) }), -}); - -/** - * @internal - */ -export const CreateAttendeeRequestItemFilterSensitiveLog = (obj: CreateAttendeeRequestItem): any => ({ - ...obj, - ...(obj.ExternalUserId && { ExternalUserId: SENSITIVE_STRING }), - ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }), -}); - -/** - * @internal - */ -export const BatchCreateAttendeeRequestFilterSensitiveLog = (obj: BatchCreateAttendeeRequest): any => ({ - ...obj, - ...(obj.Attendees && { Attendees: obj.Attendees.map((item) => CreateAttendeeRequestItemFilterSensitiveLog(item)) }), -}); - -/** - * @internal - */ -export const CreateAttendeeErrorFilterSensitiveLog = (obj: CreateAttendeeError): any => ({ - ...obj, - ...(obj.ExternalUserId && { ExternalUserId: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const BatchCreateAttendeeResponseFilterSensitiveLog = (obj: BatchCreateAttendeeResponse): any => ({ - ...obj, - ...(obj.Attendees && { Attendees: obj.Attendees.map((item) => AttendeeFilterSensitiveLog(item)) }), - ...(obj.Errors && { Errors: obj.Errors.map((item) => CreateAttendeeErrorFilterSensitiveLog(item)) }), -}); - -/** - * @internal - */ -export const BatchCreateChannelMembershipResponseFilterSensitiveLog = ( - obj: BatchCreateChannelMembershipResponse -): any => ({ - ...obj, - ...(obj.BatchChannelMemberships && { - BatchChannelMemberships: BatchChannelMembershipsFilterSensitiveLog(obj.BatchChannelMemberships), - }), -}); - -/** - * @internal - */ -export const UpdatePhoneNumberRequestItemFilterSensitiveLog = (obj: UpdatePhoneNumberRequestItem): any => ({ - ...obj, - ...(obj.CallingName && { CallingName: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const BatchUpdatePhoneNumberRequestFilterSensitiveLog = (obj: BatchUpdatePhoneNumberRequest): any => ({ - ...obj, - ...(obj.UpdatePhoneNumberRequestItems && { - UpdatePhoneNumberRequestItems: obj.UpdatePhoneNumberRequestItems.map((item) => - UpdatePhoneNumberRequestItemFilterSensitiveLog(item) - ), - }), -}); - -/** - * @internal - */ -export const UpdateUserRequestItemFilterSensitiveLog = (obj: UpdateUserRequestItem): any => ({ - ...obj, - ...(obj.AlexaForBusinessMetadata && { - AlexaForBusinessMetadata: AlexaForBusinessMetadataFilterSensitiveLog(obj.AlexaForBusinessMetadata), - }), -}); - -/** - * @internal - */ -export const BatchUpdateUserRequestFilterSensitiveLog = (obj: BatchUpdateUserRequest): any => ({ - ...obj, - ...(obj.UpdateUserRequestItems && { - UpdateUserRequestItems: obj.UpdateUserRequestItems.map((item) => UpdateUserRequestItemFilterSensitiveLog(item)), - }), -}); - -/** - * @internal - */ -export const BotFilterSensitiveLog = (obj: Bot): any => ({ - ...obj, - ...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }), - ...(obj.BotEmail && { BotEmail: SENSITIVE_STRING }), - ...(obj.SecurityToken && { SecurityToken: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const CandidateAddressFilterSensitiveLog = (obj: CandidateAddress): any => ({ - ...obj, - ...(obj.streetInfo && { streetInfo: SENSITIVE_STRING }), - ...(obj.streetNumber && { streetNumber: SENSITIVE_STRING }), - ...(obj.city && { city: SENSITIVE_STRING }), - ...(obj.state && { state: SENSITIVE_STRING }), - ...(obj.postalCode && { postalCode: SENSITIVE_STRING }), - ...(obj.postalCodePlus4 && { postalCodePlus4: SENSITIVE_STRING }), - ...(obj.country && { country: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ChannelFilterSensitiveLog = (obj: Channel): any => ({ - ...obj, - ...(obj.Name && { Name: SENSITIVE_STRING }), - ...(obj.Metadata && { Metadata: SENSITIVE_STRING }), - ...(obj.CreatedBy && { CreatedBy: IdentityFilterSensitiveLog(obj.CreatedBy) }), -}); - -/** - * @internal - */ -export const ChannelBanFilterSensitiveLog = (obj: ChannelBan): any => ({ - ...obj, - ...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }), - ...(obj.CreatedBy && { CreatedBy: IdentityFilterSensitiveLog(obj.CreatedBy) }), -}); - -/** - * @internal - */ -export const ChannelBanSummaryFilterSensitiveLog = (obj: ChannelBanSummary): any => ({ - ...obj, - ...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }), -}); - -/** - * @internal - */ -export const ChannelMembershipFilterSensitiveLog = (obj: ChannelMembership): any => ({ - ...obj, - ...(obj.InvitedBy && { InvitedBy: IdentityFilterSensitiveLog(obj.InvitedBy) }), - ...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }), -}); - -/** - * @internal - */ -export const ChannelSummaryFilterSensitiveLog = (obj: ChannelSummary): any => ({ - ...obj, - ...(obj.Name && { Name: SENSITIVE_STRING }), - ...(obj.Metadata && { Metadata: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog = ( - obj: ChannelMembershipForAppInstanceUserSummary -): any => ({ - ...obj, - ...(obj.ChannelSummary && { ChannelSummary: ChannelSummaryFilterSensitiveLog(obj.ChannelSummary) }), -}); - -/** - * @internal - */ -export const ChannelMembershipSummaryFilterSensitiveLog = (obj: ChannelMembershipSummary): any => ({ - ...obj, - ...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }), -}); - -/** - * @internal - */ -export const ChannelMessageFilterSensitiveLog = (obj: ChannelMessage): any => ({ - ...obj, - ...(obj.Content && { Content: SENSITIVE_STRING }), - ...(obj.Metadata && { Metadata: SENSITIVE_STRING }), - ...(obj.Sender && { Sender: IdentityFilterSensitiveLog(obj.Sender) }), -}); - -/** - * @internal - */ -export const ChannelMessageSummaryFilterSensitiveLog = (obj: ChannelMessageSummary): any => ({ - ...obj, - ...(obj.Content && { Content: SENSITIVE_STRING }), - ...(obj.Metadata && { Metadata: SENSITIVE_STRING }), - ...(obj.Sender && { Sender: IdentityFilterSensitiveLog(obj.Sender) }), -}); - -/** - * @internal - */ -export const ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog = ( - obj: ChannelModeratedByAppInstanceUserSummary -): any => ({ - ...obj, - ...(obj.ChannelSummary && { ChannelSummary: ChannelSummaryFilterSensitiveLog(obj.ChannelSummary) }), -}); - -/** - * @internal - */ -export const ChannelModeratorFilterSensitiveLog = (obj: ChannelModerator): any => ({ - ...obj, - ...(obj.Moderator && { Moderator: IdentityFilterSensitiveLog(obj.Moderator) }), - ...(obj.CreatedBy && { CreatedBy: IdentityFilterSensitiveLog(obj.CreatedBy) }), -}); - -/** - * @internal - */ -export const ChannelModeratorSummaryFilterSensitiveLog = (obj: ChannelModeratorSummary): any => ({ - ...obj, - ...(obj.Moderator && { Moderator: IdentityFilterSensitiveLog(obj.Moderator) }), -}); - -/** - * @internal - */ -export const SelectedVideoStreamsFilterSensitiveLog = (obj: SelectedVideoStreams): any => ({ - ...obj, - ...(obj.ExternalUserIds && { ExternalUserIds: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const SourceConfigurationFilterSensitiveLog = (obj: SourceConfiguration): any => ({ - ...obj, - ...(obj.SelectedVideoStreams && { - SelectedVideoStreams: SelectedVideoStreamsFilterSensitiveLog(obj.SelectedVideoStreams), - }), -}); - -/** - * @internal - */ -export const ChimeSdkMeetingConfigurationFilterSensitiveLog = (obj: ChimeSdkMeetingConfiguration): any => ({ - ...obj, - ...(obj.SourceConfiguration && { - SourceConfiguration: SourceConfigurationFilterSensitiveLog(obj.SourceConfiguration), - }), -}); - -/** - * @internal - */ -export const CreateAppInstanceRequestFilterSensitiveLog = (obj: CreateAppInstanceRequest): any => ({ - ...obj, - ...(obj.Name && { Name: SENSITIVE_STRING }), - ...(obj.Metadata && { Metadata: SENSITIVE_STRING }), - ...(obj.ClientRequestToken && { ClientRequestToken: SENSITIVE_STRING }), - ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }), -}); - -/** - * @internal - */ -export const CreateAppInstanceAdminResponseFilterSensitiveLog = (obj: CreateAppInstanceAdminResponse): any => ({ - ...obj, - ...(obj.AppInstanceAdmin && { AppInstanceAdmin: IdentityFilterSensitiveLog(obj.AppInstanceAdmin) }), -}); - -/** - * @internal - */ -export const CreateAppInstanceUserRequestFilterSensitiveLog = (obj: CreateAppInstanceUserRequest): any => ({ - ...obj, - ...(obj.AppInstanceUserId && { AppInstanceUserId: SENSITIVE_STRING }), - ...(obj.Name && { Name: SENSITIVE_STRING }), - ...(obj.Metadata && { Metadata: SENSITIVE_STRING }), - ...(obj.ClientRequestToken && { ClientRequestToken: SENSITIVE_STRING }), - ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }), -}); - -/** - * @internal - */ -export const CreateAttendeeRequestFilterSensitiveLog = (obj: CreateAttendeeRequest): any => ({ - ...obj, - ...(obj.ExternalUserId && { ExternalUserId: SENSITIVE_STRING }), - ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }), -}); +} /** - * @internal + * @public */ -export const CreateAttendeeResponseFilterSensitiveLog = (obj: CreateAttendeeResponse): any => ({ - ...obj, - ...(obj.Attendee && { Attendee: AttendeeFilterSensitiveLog(obj.Attendee) }), -}); +export interface UpdateRoomMembershipResponse { + /** + *

The room membership details.

+ * @public + */ + RoomMembership?: RoomMembership | undefined; +} /** - * @internal + * @public */ -export const CreateBotRequestFilterSensitiveLog = (obj: CreateBotRequest): any => ({ - ...obj, - ...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }), -}); +export interface UpdateUserRequest { + /** + *

The Amazon Chime account ID.

+ * @public + */ + AccountId: string | undefined; -/** - * @internal - */ -export const CreateBotResponseFilterSensitiveLog = (obj: CreateBotResponse): any => ({ - ...obj, - ...(obj.Bot && { Bot: BotFilterSensitiveLog(obj.Bot) }), -}); + /** + *

The user ID.

+ * @public + */ + UserId: string | undefined; + + /** + *

The user license type to update. This must be a supported license type for the Amazon Chime + * account that the user belongs to.

+ * @public + */ + LicenseType?: License | undefined; + + /** + *

The user type.

+ * @public + */ + UserType?: UserType | undefined; + + /** + *

The Alexa for Business metadata.

+ * @public + */ + AlexaForBusinessMetadata?: AlexaForBusinessMetadata | undefined; +} /** - * @internal + * @public */ -export const CreateChannelRequestFilterSensitiveLog = (obj: CreateChannelRequest): any => ({ - ...obj, - ...(obj.Name && { Name: SENSITIVE_STRING }), - ...(obj.Metadata && { Metadata: SENSITIVE_STRING }), - ...(obj.ClientRequestToken && { ClientRequestToken: SENSITIVE_STRING }), - ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }), -}); +export interface UpdateUserResponse { + /** + *

The updated user details.

+ * @public + */ + User?: User | undefined; +} /** - * @internal + * @public */ -export const CreateChannelBanResponseFilterSensitiveLog = (obj: CreateChannelBanResponse): any => ({ - ...obj, - ...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }), -}); +export interface UpdateUserSettingsRequest { + /** + *

The Amazon Chime account ID.

+ * @public + */ + AccountId: string | undefined; + + /** + *

The user ID.

+ * @public + */ + UserId: string | undefined; + + /** + *

The user settings to update.

+ * @public + */ + UserSettings: UserSettings | undefined; +} /** * @internal */ -export const CreateChannelMembershipResponseFilterSensitiveLog = (obj: CreateChannelMembershipResponse): any => ({ +export const AlexaForBusinessMetadataFilterSensitiveLog = (obj: AlexaForBusinessMetadata): any => ({ ...obj, - ...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }), + ...(obj.AlexaForBusinessRoomArn && { AlexaForBusinessRoomArn: SENSITIVE_STRING }), }); /** * @internal */ -export const CreateChannelModeratorResponseFilterSensitiveLog = (obj: CreateChannelModeratorResponse): any => ({ +export const AssociatePhoneNumberWithUserRequestFilterSensitiveLog = ( + obj: AssociatePhoneNumberWithUserRequest +): any => ({ ...obj, - ...(obj.ChannelModerator && { ChannelModerator: IdentityFilterSensitiveLog(obj.ChannelModerator) }), + ...(obj.E164PhoneNumber && { E164PhoneNumber: SENSITIVE_STRING }), }); /** * @internal */ -export const CreateMediaCapturePipelineRequestFilterSensitiveLog = (obj: CreateMediaCapturePipelineRequest): any => ({ +export const UpdatePhoneNumberRequestItemFilterSensitiveLog = (obj: UpdatePhoneNumberRequestItem): any => ({ ...obj, - ...(obj.SourceArn && { SourceArn: SENSITIVE_STRING }), - ...(obj.SinkArn && { SinkArn: SENSITIVE_STRING }), - ...(obj.ClientRequestToken && { ClientRequestToken: SENSITIVE_STRING }), - ...(obj.ChimeSdkMeetingConfiguration && { - ChimeSdkMeetingConfiguration: ChimeSdkMeetingConfigurationFilterSensitiveLog(obj.ChimeSdkMeetingConfiguration), - }), + ...(obj.CallingName && { CallingName: SENSITIVE_STRING }), }); /** * @internal */ -export const MediaCapturePipelineFilterSensitiveLog = (obj: MediaCapturePipeline): any => ({ +export const BatchUpdatePhoneNumberRequestFilterSensitiveLog = (obj: BatchUpdatePhoneNumberRequest): any => ({ ...obj, - ...(obj.SourceArn && { SourceArn: SENSITIVE_STRING }), - ...(obj.SinkArn && { SinkArn: SENSITIVE_STRING }), - ...(obj.ChimeSdkMeetingConfiguration && { - ChimeSdkMeetingConfiguration: ChimeSdkMeetingConfigurationFilterSensitiveLog(obj.ChimeSdkMeetingConfiguration), + ...(obj.UpdatePhoneNumberRequestItems && { + UpdatePhoneNumberRequestItems: obj.UpdatePhoneNumberRequestItems.map((item) => + UpdatePhoneNumberRequestItemFilterSensitiveLog(item) + ), }), }); /** * @internal */ -export const CreateMediaCapturePipelineResponseFilterSensitiveLog = (obj: CreateMediaCapturePipelineResponse): any => ({ +export const UpdateUserRequestItemFilterSensitiveLog = (obj: UpdateUserRequestItem): any => ({ ...obj, - ...(obj.MediaCapturePipeline && { - MediaCapturePipeline: MediaCapturePipelineFilterSensitiveLog(obj.MediaCapturePipeline), + ...(obj.AlexaForBusinessMetadata && { + AlexaForBusinessMetadata: AlexaForBusinessMetadataFilterSensitiveLog(obj.AlexaForBusinessMetadata), }), }); /** * @internal */ -export const MeetingNotificationConfigurationFilterSensitiveLog = (obj: MeetingNotificationConfiguration): any => ({ +export const BatchUpdateUserRequestFilterSensitiveLog = (obj: BatchUpdateUserRequest): any => ({ ...obj, - ...(obj.SnsTopicArn && { SnsTopicArn: SENSITIVE_STRING }), - ...(obj.SqsQueueArn && { SqsQueueArn: SENSITIVE_STRING }), + ...(obj.UpdateUserRequestItems && { + UpdateUserRequestItems: obj.UpdateUserRequestItems.map((item) => UpdateUserRequestItemFilterSensitiveLog(item)), + }), }); /** * @internal */ -export const CreateMeetingRequestFilterSensitiveLog = (obj: CreateMeetingRequest): any => ({ +export const BotFilterSensitiveLog = (obj: Bot): any => ({ ...obj, - ...(obj.ClientRequestToken && { ClientRequestToken: SENSITIVE_STRING }), - ...(obj.ExternalMeetingId && { ExternalMeetingId: SENSITIVE_STRING }), - ...(obj.MeetingHostId && { MeetingHostId: SENSITIVE_STRING }), - ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }), - ...(obj.NotificationsConfiguration && { - NotificationsConfiguration: MeetingNotificationConfigurationFilterSensitiveLog(obj.NotificationsConfiguration), - }), + ...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }), + ...(obj.BotEmail && { BotEmail: SENSITIVE_STRING }), + ...(obj.SecurityToken && { SecurityToken: SENSITIVE_STRING }), }); /** * @internal */ -export const MeetingFilterSensitiveLog = (obj: Meeting): any => ({ +export const CreateBotRequestFilterSensitiveLog = (obj: CreateBotRequest): any => ({ ...obj, - ...(obj.ExternalMeetingId && { ExternalMeetingId: SENSITIVE_STRING }), + ...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }), }); /** * @internal */ -export const CreateMeetingResponseFilterSensitiveLog = (obj: CreateMeetingResponse): any => ({ +export const CreateBotResponseFilterSensitiveLog = (obj: CreateBotResponse): any => ({ ...obj, - ...(obj.Meeting && { Meeting: MeetingFilterSensitiveLog(obj.Meeting) }), + ...(obj.Bot && { Bot: BotFilterSensitiveLog(obj.Bot) }), }); /** @@ -6913,31 +3408,6 @@ export const CreateMeetingDialOutRequestFilterSensitiveLog = (obj: CreateMeeting ...(obj.JoinToken && { JoinToken: SENSITIVE_STRING }), }); -/** - * @internal - */ -export const CreateMeetingWithAttendeesRequestFilterSensitiveLog = (obj: CreateMeetingWithAttendeesRequest): any => ({ - ...obj, - ...(obj.ClientRequestToken && { ClientRequestToken: SENSITIVE_STRING }), - ...(obj.ExternalMeetingId && { ExternalMeetingId: SENSITIVE_STRING }), - ...(obj.MeetingHostId && { MeetingHostId: SENSITIVE_STRING }), - ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }), - ...(obj.NotificationsConfiguration && { - NotificationsConfiguration: MeetingNotificationConfigurationFilterSensitiveLog(obj.NotificationsConfiguration), - }), - ...(obj.Attendees && { Attendees: obj.Attendees.map((item) => CreateAttendeeRequestItemFilterSensitiveLog(item)) }), -}); - -/** - * @internal - */ -export const CreateMeetingWithAttendeesResponseFilterSensitiveLog = (obj: CreateMeetingWithAttendeesResponse): any => ({ - ...obj, - ...(obj.Meeting && { Meeting: MeetingFilterSensitiveLog(obj.Meeting) }), - ...(obj.Attendees && { Attendees: obj.Attendees.map((item) => AttendeeFilterSensitiveLog(item)) }), - ...(obj.Errors && { Errors: obj.Errors.map((item) => CreateAttendeeErrorFilterSensitiveLog(item)) }), -}); - /** * @internal */ @@ -6972,40 +3442,6 @@ export const CreatePhoneNumberOrderResponseFilterSensitiveLog = (obj: CreatePhon ...(obj.PhoneNumberOrder && { PhoneNumberOrder: PhoneNumberOrderFilterSensitiveLog(obj.PhoneNumberOrder) }), }); -/** - * @internal - */ -export const CreateProxySessionRequestFilterSensitiveLog = (obj: CreateProxySessionRequest): any => ({ - ...obj, - ...(obj.ParticipantPhoneNumbers && { ParticipantPhoneNumbers: SENSITIVE_STRING }), - ...(obj.Name && { Name: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ParticipantFilterSensitiveLog = (obj: Participant): any => ({ - ...obj, - ...(obj.PhoneNumber && { PhoneNumber: SENSITIVE_STRING }), - ...(obj.ProxyPhoneNumber && { ProxyPhoneNumber: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ProxySessionFilterSensitiveLog = (obj: ProxySession): any => ({ - ...obj, - ...(obj.Participants && { Participants: obj.Participants.map((item) => ParticipantFilterSensitiveLog(item)) }), -}); - -/** - * @internal - */ -export const CreateProxySessionResponseFilterSensitiveLog = (obj: CreateProxySessionResponse): any => ({ - ...obj, - ...(obj.ProxySession && { ProxySession: ProxySessionFilterSensitiveLog(obj.ProxySession) }), -}); - /** * @internal */ @@ -7059,216 +3495,201 @@ export const CreateRoomMembershipResponseFilterSensitiveLog = (obj: CreateRoomMe /** * @internal */ -export const SipMediaApplicationEndpointFilterSensitiveLog = (obj: SipMediaApplicationEndpoint): any => ({ +export const CreateUserRequestFilterSensitiveLog = (obj: CreateUserRequest): any => ({ ...obj, - ...(obj.LambdaArn && { LambdaArn: SENSITIVE_STRING }), + ...(obj.Email && { Email: SENSITIVE_STRING }), }); /** * @internal */ -export const CreateSipMediaApplicationRequestFilterSensitiveLog = (obj: CreateSipMediaApplicationRequest): any => ({ +export const UserFilterSensitiveLog = (obj: User): any => ({ ...obj, - ...(obj.Endpoints && { Endpoints: obj.Endpoints.map((item) => SipMediaApplicationEndpointFilterSensitiveLog(item)) }), + ...(obj.PrimaryEmail && { PrimaryEmail: SENSITIVE_STRING }), + ...(obj.PrimaryProvisionedNumber && { PrimaryProvisionedNumber: SENSITIVE_STRING }), + ...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }), + ...(obj.AlexaForBusinessMetadata && { + AlexaForBusinessMetadata: AlexaForBusinessMetadataFilterSensitiveLog(obj.AlexaForBusinessMetadata), + }), }); /** * @internal */ -export const SipMediaApplicationFilterSensitiveLog = (obj: SipMediaApplication): any => ({ +export const CreateUserResponseFilterSensitiveLog = (obj: CreateUserResponse): any => ({ ...obj, - ...(obj.Endpoints && { Endpoints: obj.Endpoints.map((item) => SipMediaApplicationEndpointFilterSensitiveLog(item)) }), + ...(obj.User && { User: UserFilterSensitiveLog(obj.User) }), }); /** * @internal */ -export const CreateSipMediaApplicationResponseFilterSensitiveLog = (obj: CreateSipMediaApplicationResponse): any => ({ +export const EventsConfigurationFilterSensitiveLog = (obj: EventsConfiguration): any => ({ ...obj, - ...(obj.SipMediaApplication && { - SipMediaApplication: SipMediaApplicationFilterSensitiveLog(obj.SipMediaApplication), - }), + ...(obj.OutboundEventsHTTPSEndpoint && { OutboundEventsHTTPSEndpoint: SENSITIVE_STRING }), + ...(obj.LambdaFunctionArn && { LambdaFunctionArn: SENSITIVE_STRING }), }); /** * @internal */ -export const CreateSipMediaApplicationCallRequestFilterSensitiveLog = ( - obj: CreateSipMediaApplicationCallRequest -): any => ({ +export const GetBotResponseFilterSensitiveLog = (obj: GetBotResponse): any => ({ ...obj, - ...(obj.FromPhoneNumber && { FromPhoneNumber: SENSITIVE_STRING }), - ...(obj.ToPhoneNumber && { ToPhoneNumber: SENSITIVE_STRING }), - ...(obj.SipHeaders && { SipHeaders: SENSITIVE_STRING }), + ...(obj.Bot && { Bot: BotFilterSensitiveLog(obj.Bot) }), }); /** * @internal */ -export const CreateUserRequestFilterSensitiveLog = (obj: CreateUserRequest): any => ({ +export const GetEventsConfigurationResponseFilterSensitiveLog = (obj: GetEventsConfigurationResponse): any => ({ ...obj, - ...(obj.Email && { Email: SENSITIVE_STRING }), + ...(obj.EventsConfiguration && { + EventsConfiguration: EventsConfigurationFilterSensitiveLog(obj.EventsConfiguration), + }), }); /** * @internal */ -export const UserFilterSensitiveLog = (obj: User): any => ({ +export const PhoneNumberFilterSensitiveLog = (obj: PhoneNumber): any => ({ ...obj, - ...(obj.PrimaryEmail && { PrimaryEmail: SENSITIVE_STRING }), - ...(obj.PrimaryProvisionedNumber && { PrimaryProvisionedNumber: SENSITIVE_STRING }), - ...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }), - ...(obj.AlexaForBusinessMetadata && { - AlexaForBusinessMetadata: AlexaForBusinessMetadataFilterSensitiveLog(obj.AlexaForBusinessMetadata), - }), + ...(obj.E164PhoneNumber && { E164PhoneNumber: SENSITIVE_STRING }), + ...(obj.CallingName && { CallingName: SENSITIVE_STRING }), }); /** * @internal */ -export const CreateUserResponseFilterSensitiveLog = (obj: CreateUserResponse): any => ({ +export const GetPhoneNumberResponseFilterSensitiveLog = (obj: GetPhoneNumberResponse): any => ({ ...obj, - ...(obj.User && { User: UserFilterSensitiveLog(obj.User) }), + ...(obj.PhoneNumber && { PhoneNumber: PhoneNumberFilterSensitiveLog(obj.PhoneNumber) }), }); /** * @internal */ -export const CredentialFilterSensitiveLog = (obj: Credential): any => ({ +export const GetPhoneNumberOrderResponseFilterSensitiveLog = (obj: GetPhoneNumberOrderResponse): any => ({ ...obj, - ...(obj.Username && { Username: SENSITIVE_STRING }), - ...(obj.Password && { Password: SENSITIVE_STRING }), + ...(obj.PhoneNumberOrder && { PhoneNumberOrder: PhoneNumberOrderFilterSensitiveLog(obj.PhoneNumberOrder) }), }); /** * @internal */ -export const DeleteVoiceConnectorTerminationCredentialsRequestFilterSensitiveLog = ( - obj: DeleteVoiceConnectorTerminationCredentialsRequest -): any => ({ +export const GetPhoneNumberSettingsResponseFilterSensitiveLog = (obj: GetPhoneNumberSettingsResponse): any => ({ ...obj, - ...(obj.Usernames && { Usernames: SENSITIVE_STRING }), + ...(obj.CallingName && { CallingName: SENSITIVE_STRING }), }); /** * @internal */ -export const DescribeAppInstanceResponseFilterSensitiveLog = (obj: DescribeAppInstanceResponse): any => ({ +export const GetRoomResponseFilterSensitiveLog = (obj: GetRoomResponse): any => ({ ...obj, - ...(obj.AppInstance && { AppInstance: AppInstanceFilterSensitiveLog(obj.AppInstance) }), + ...(obj.Room && { Room: RoomFilterSensitiveLog(obj.Room) }), }); /** * @internal */ -export const DescribeAppInstanceAdminResponseFilterSensitiveLog = (obj: DescribeAppInstanceAdminResponse): any => ({ +export const GetUserResponseFilterSensitiveLog = (obj: GetUserResponse): any => ({ ...obj, - ...(obj.AppInstanceAdmin && { AppInstanceAdmin: AppInstanceAdminFilterSensitiveLog(obj.AppInstanceAdmin) }), + ...(obj.User && { User: UserFilterSensitiveLog(obj.User) }), }); /** * @internal */ -export const DescribeAppInstanceUserResponseFilterSensitiveLog = (obj: DescribeAppInstanceUserResponse): any => ({ +export const InviteFilterSensitiveLog = (obj: Invite): any => ({ ...obj, - ...(obj.AppInstanceUser && { AppInstanceUser: AppInstanceUserFilterSensitiveLog(obj.AppInstanceUser) }), + ...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }), }); /** * @internal */ -export const DescribeChannelResponseFilterSensitiveLog = (obj: DescribeChannelResponse): any => ({ +export const InviteUsersRequestFilterSensitiveLog = (obj: InviteUsersRequest): any => ({ ...obj, - ...(obj.Channel && { Channel: ChannelFilterSensitiveLog(obj.Channel) }), + ...(obj.UserEmailList && { UserEmailList: SENSITIVE_STRING }), }); /** * @internal */ -export const DescribeChannelBanResponseFilterSensitiveLog = (obj: DescribeChannelBanResponse): any => ({ +export const InviteUsersResponseFilterSensitiveLog = (obj: InviteUsersResponse): any => ({ ...obj, - ...(obj.ChannelBan && { ChannelBan: ChannelBanFilterSensitiveLog(obj.ChannelBan) }), + ...(obj.Invites && { Invites: obj.Invites.map((item) => InviteFilterSensitiveLog(item)) }), }); /** * @internal */ -export const DescribeChannelMembershipResponseFilterSensitiveLog = (obj: DescribeChannelMembershipResponse): any => ({ +export const ListAccountsRequestFilterSensitiveLog = (obj: ListAccountsRequest): any => ({ ...obj, - ...(obj.ChannelMembership && { ChannelMembership: ChannelMembershipFilterSensitiveLog(obj.ChannelMembership) }), + ...(obj.UserEmail && { UserEmail: SENSITIVE_STRING }), }); /** * @internal */ -export const DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog = ( - obj: DescribeChannelMembershipForAppInstanceUserResponse -): any => ({ +export const ListBotsResponseFilterSensitiveLog = (obj: ListBotsResponse): any => ({ ...obj, - ...(obj.ChannelMembership && { - ChannelMembership: ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog(obj.ChannelMembership), - }), + ...(obj.Bots && { Bots: obj.Bots.map((item) => BotFilterSensitiveLog(item)) }), }); /** * @internal */ -export const DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog = ( - obj: DescribeChannelModeratedByAppInstanceUserResponse -): any => ({ +export const ListPhoneNumberOrdersResponseFilterSensitiveLog = (obj: ListPhoneNumberOrdersResponse): any => ({ ...obj, - ...(obj.Channel && { Channel: ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog(obj.Channel) }), }); /** * @internal */ -export const DescribeChannelModeratorResponseFilterSensitiveLog = (obj: DescribeChannelModeratorResponse): any => ({ +export const ListPhoneNumbersResponseFilterSensitiveLog = (obj: ListPhoneNumbersResponse): any => ({ ...obj, - ...(obj.ChannelModerator && { ChannelModerator: ChannelModeratorFilterSensitiveLog(obj.ChannelModerator) }), + ...(obj.PhoneNumbers && { PhoneNumbers: obj.PhoneNumbers.map((item) => PhoneNumberFilterSensitiveLog(item)) }), }); /** * @internal */ -export const DisassociatePhoneNumbersFromVoiceConnectorRequestFilterSensitiveLog = ( - obj: DisassociatePhoneNumbersFromVoiceConnectorRequest -): any => ({ +export const ListRoomMembershipsResponseFilterSensitiveLog = (obj: ListRoomMembershipsResponse): any => ({ ...obj, - ...(obj.E164PhoneNumbers && { E164PhoneNumbers: SENSITIVE_STRING }), + ...(obj.RoomMemberships && { + RoomMemberships: obj.RoomMemberships.map((item) => RoomMembershipFilterSensitiveLog(item)), + }), }); /** * @internal */ -export const DisassociatePhoneNumbersFromVoiceConnectorGroupRequestFilterSensitiveLog = ( - obj: DisassociatePhoneNumbersFromVoiceConnectorGroupRequest -): any => ({ +export const ListRoomsResponseFilterSensitiveLog = (obj: ListRoomsResponse): any => ({ ...obj, - ...(obj.E164PhoneNumbers && { E164PhoneNumbers: SENSITIVE_STRING }), + ...(obj.Rooms && { Rooms: obj.Rooms.map((item) => RoomFilterSensitiveLog(item)) }), }); /** * @internal */ -export const DNISEmergencyCallingConfigurationFilterSensitiveLog = (obj: DNISEmergencyCallingConfiguration): any => ({ +export const ListUsersRequestFilterSensitiveLog = (obj: ListUsersRequest): any => ({ ...obj, - ...(obj.EmergencyPhoneNumber && { EmergencyPhoneNumber: SENSITIVE_STRING }), - ...(obj.TestPhoneNumber && { TestPhoneNumber: SENSITIVE_STRING }), + ...(obj.UserEmail && { UserEmail: SENSITIVE_STRING }), }); /** * @internal */ -export const EmergencyCallingConfigurationFilterSensitiveLog = (obj: EmergencyCallingConfiguration): any => ({ +export const ListUsersResponseFilterSensitiveLog = (obj: ListUsersResponse): any => ({ ...obj, - ...(obj.DNIS && { DNIS: obj.DNIS.map((item) => DNISEmergencyCallingConfigurationFilterSensitiveLog(item)) }), + ...(obj.Users && { Users: obj.Users.map((item) => UserFilterSensitiveLog(item)) }), }); /** * @internal */ -export const EventsConfigurationFilterSensitiveLog = (obj: EventsConfiguration): any => ({ +export const PutEventsConfigurationRequestFilterSensitiveLog = (obj: PutEventsConfigurationRequest): any => ({ ...obj, ...(obj.OutboundEventsHTTPSEndpoint && { OutboundEventsHTTPSEndpoint: SENSITIVE_STRING }), ...(obj.LambdaFunctionArn && { LambdaFunctionArn: SENSITIVE_STRING }), @@ -7277,106 +3698,117 @@ export const EventsConfigurationFilterSensitiveLog = (obj: EventsConfiguration): /** * @internal */ -export const GetAppInstanceStreamingConfigurationsResponseFilterSensitiveLog = ( - obj: GetAppInstanceStreamingConfigurationsResponse -): any => ({ +export const PutEventsConfigurationResponseFilterSensitiveLog = (obj: PutEventsConfigurationResponse): any => ({ ...obj, - ...(obj.AppInstanceStreamingConfigurations && { - AppInstanceStreamingConfigurations: obj.AppInstanceStreamingConfigurations.map((item) => - AppInstanceStreamingConfigurationFilterSensitiveLog(item) - ), + ...(obj.EventsConfiguration && { + EventsConfiguration: EventsConfigurationFilterSensitiveLog(obj.EventsConfiguration), }), }); /** * @internal */ -export const GetAttendeeResponseFilterSensitiveLog = (obj: GetAttendeeResponse): any => ({ +export const RegenerateSecurityTokenResponseFilterSensitiveLog = (obj: RegenerateSecurityTokenResponse): any => ({ ...obj, - ...(obj.Attendee && { Attendee: AttendeeFilterSensitiveLog(obj.Attendee) }), + ...(obj.Bot && { Bot: BotFilterSensitiveLog(obj.Bot) }), }); /** * @internal */ -export const GetBotResponseFilterSensitiveLog = (obj: GetBotResponse): any => ({ +export const ResetPersonalPINResponseFilterSensitiveLog = (obj: ResetPersonalPINResponse): any => ({ ...obj, - ...(obj.Bot && { Bot: BotFilterSensitiveLog(obj.Bot) }), + ...(obj.User && { User: UserFilterSensitiveLog(obj.User) }), }); /** * @internal */ -export const GetChannelMessageResponseFilterSensitiveLog = (obj: GetChannelMessageResponse): any => ({ +export const RestorePhoneNumberResponseFilterSensitiveLog = (obj: RestorePhoneNumberResponse): any => ({ ...obj, - ...(obj.ChannelMessage && { ChannelMessage: ChannelMessageFilterSensitiveLog(obj.ChannelMessage) }), + ...(obj.PhoneNumber && { PhoneNumber: PhoneNumberFilterSensitiveLog(obj.PhoneNumber) }), }); /** * @internal */ -export const GetEventsConfigurationResponseFilterSensitiveLog = (obj: GetEventsConfigurationResponse): any => ({ +export const SearchAvailablePhoneNumbersResponseFilterSensitiveLog = ( + obj: SearchAvailablePhoneNumbersResponse +): any => ({ ...obj, - ...(obj.EventsConfiguration && { - EventsConfiguration: EventsConfigurationFilterSensitiveLog(obj.EventsConfiguration), - }), + ...(obj.E164PhoneNumbers && { E164PhoneNumbers: SENSITIVE_STRING }), }); /** * @internal */ -export const GetMediaCapturePipelineResponseFilterSensitiveLog = (obj: GetMediaCapturePipelineResponse): any => ({ +export const UpdateBotResponseFilterSensitiveLog = (obj: UpdateBotResponse): any => ({ ...obj, - ...(obj.MediaCapturePipeline && { - MediaCapturePipeline: MediaCapturePipelineFilterSensitiveLog(obj.MediaCapturePipeline), - }), + ...(obj.Bot && { Bot: BotFilterSensitiveLog(obj.Bot) }), }); /** * @internal */ -export const GetMeetingResponseFilterSensitiveLog = (obj: GetMeetingResponse): any => ({ +export const UpdatePhoneNumberRequestFilterSensitiveLog = (obj: UpdatePhoneNumberRequest): any => ({ ...obj, - ...(obj.Meeting && { Meeting: MeetingFilterSensitiveLog(obj.Meeting) }), + ...(obj.CallingName && { CallingName: SENSITIVE_STRING }), }); /** * @internal */ -export const PhoneNumberFilterSensitiveLog = (obj: PhoneNumber): any => ({ +export const UpdatePhoneNumberResponseFilterSensitiveLog = (obj: UpdatePhoneNumberResponse): any => ({ + ...obj, + ...(obj.PhoneNumber && { PhoneNumber: PhoneNumberFilterSensitiveLog(obj.PhoneNumber) }), +}); + +/** + * @internal + */ +export const UpdatePhoneNumberSettingsRequestFilterSensitiveLog = (obj: UpdatePhoneNumberSettingsRequest): any => ({ ...obj, - ...(obj.E164PhoneNumber && { E164PhoneNumber: SENSITIVE_STRING }), ...(obj.CallingName && { CallingName: SENSITIVE_STRING }), }); /** * @internal */ -export const GetPhoneNumberResponseFilterSensitiveLog = (obj: GetPhoneNumberResponse): any => ({ +export const UpdateRoomRequestFilterSensitiveLog = (obj: UpdateRoomRequest): any => ({ ...obj, - ...(obj.PhoneNumber && { PhoneNumber: PhoneNumberFilterSensitiveLog(obj.PhoneNumber) }), + ...(obj.Name && { Name: SENSITIVE_STRING }), }); /** * @internal */ -export const GetPhoneNumberOrderResponseFilterSensitiveLog = (obj: GetPhoneNumberOrderResponse): any => ({ +export const UpdateRoomResponseFilterSensitiveLog = (obj: UpdateRoomResponse): any => ({ ...obj, - ...(obj.PhoneNumberOrder && { PhoneNumberOrder: PhoneNumberOrderFilterSensitiveLog(obj.PhoneNumberOrder) }), + ...(obj.Room && { Room: RoomFilterSensitiveLog(obj.Room) }), }); /** * @internal */ -export const GetPhoneNumberSettingsResponseFilterSensitiveLog = (obj: GetPhoneNumberSettingsResponse): any => ({ +export const UpdateRoomMembershipResponseFilterSensitiveLog = (obj: UpdateRoomMembershipResponse): any => ({ ...obj, - ...(obj.CallingName && { CallingName: SENSITIVE_STRING }), + ...(obj.RoomMembership && { RoomMembership: RoomMembershipFilterSensitiveLog(obj.RoomMembership) }), +}); + +/** + * @internal + */ +export const UpdateUserRequestFilterSensitiveLog = (obj: UpdateUserRequest): any => ({ + ...obj, + ...(obj.AlexaForBusinessMetadata && { + AlexaForBusinessMetadata: AlexaForBusinessMetadataFilterSensitiveLog(obj.AlexaForBusinessMetadata), + }), }); /** * @internal */ -export const GetProxySessionResponseFilterSensitiveLog = (obj: GetProxySessionResponse): any => ({ +export const UpdateUserResponseFilterSensitiveLog = (obj: UpdateUserResponse): any => ({ ...obj, - ...(obj.ProxySession && { ProxySession: ProxySessionFilterSensitiveLog(obj.ProxySession) }), + ...(obj.User && { User: UserFilterSensitiveLog(obj.User) }), }); diff --git a/clients/client-chime/src/models/models_1.ts b/clients/client-chime/src/models/models_1.ts deleted file mode 100644 index d4f98452e23b..000000000000 --- a/clients/client-chime/src/models/models_1.ts +++ /dev/null @@ -1,4595 +0,0 @@ -// smithy-typescript generated code -import { SENSITIVE_STRING } from "@smithy/smithy-client"; - -import { - Account, - AccountSettings, - Address, - AddressFilterSensitiveLog, - AlexaForBusinessMetadata, - AlexaForBusinessMetadataFilterSensitiveLog, - AppInstanceAdminSummary, - AppInstanceAdminSummaryFilterSensitiveLog, - AppInstanceRetentionSettings, - AppInstanceStreamingConfiguration, - AppInstanceStreamingConfigurationFilterSensitiveLog, - AppInstanceSummary, - AppInstanceSummaryFilterSensitiveLog, - AppInstanceUserSummary, - AppInstanceUserSummaryFilterSensitiveLog, - Attendee, - AttendeeFilterSensitiveLog, - Bot, - BotFilterSensitiveLog, - BusinessCallingSettings, - CandidateAddress, - CandidateAddressFilterSensitiveLog, - Capability, - ChannelBanSummary, - ChannelBanSummaryFilterSensitiveLog, - ChannelMembershipForAppInstanceUserSummary, - ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog, - ChannelMembershipSummary, - ChannelMembershipSummaryFilterSensitiveLog, - ChannelMembershipType, - ChannelMessagePersistenceType, - ChannelMessageSummary, - ChannelMessageSummaryFilterSensitiveLog, - ChannelMessageType, - ChannelMode, - ChannelModeratedByAppInstanceUserSummary, - ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog, - ChannelModeratorSummary, - ChannelModeratorSummaryFilterSensitiveLog, - ChannelPrivacy, - ChannelSummary, - ChannelSummaryFilterSensitiveLog, - ConversationRetentionSettings, - Credential, - CredentialFilterSensitiveLog, - EmailStatus, - EmergencyCallingConfiguration, - EmergencyCallingConfigurationFilterSensitiveLog, - EngineTranscribeMedicalSettings, - EngineTranscribeSettings, - EventsConfiguration, - EventsConfigurationFilterSensitiveLog, - InviteStatus, - License, - MediaCapturePipeline, - MediaCapturePipelineFilterSensitiveLog, - Meeting, - MeetingFilterSensitiveLog, - PhoneNumber, - PhoneNumberAssociationName, - PhoneNumberFilterSensitiveLog, - PhoneNumberOrder, - PhoneNumberProductType, - PhoneNumberStatus, - PhoneNumberType, - ProxySession, - ProxySessionFilterSensitiveLog, - ProxySessionStatus, - Room, - RoomFilterSensitiveLog, - RoomMembership, - RoomMembershipFilterSensitiveLog, - RoomMembershipRole, - SipMediaApplication, - SipMediaApplicationCall, - SipMediaApplicationEndpoint, - SipMediaApplicationEndpointFilterSensitiveLog, - SipMediaApplicationFilterSensitiveLog, - SipRule, - SipRuleTargetApplication, - Tag, - TagFilterSensitiveLog, - User, - UserFilterSensitiveLog, - UserType, - VoiceConnector, - VoiceConnectorGroup, - VoiceConnectorItem, - VoiceConnectorSettings, -} from "./models_0"; - -/** - *

The retention settings that determine how long to retain chat-room messages for an Amazon Chime Enterprise account.

- * @public - */ -export interface RoomRetentionSettings { - /** - *

The number of days for which to retain chat-room messages.

- * @public - */ - RetentionDays?: number | undefined; -} - -/** - *

The retention settings for an Amazon Chime Enterprise account that determine how long to retain items such as chat-room messages and chat-conversation messages.

- * @public - */ -export interface RetentionSettings { - /** - *

The chat room retention settings.

- * @public - */ - RoomRetentionSettings?: RoomRetentionSettings | undefined; - - /** - *

The chat conversation retention settings.

- * @public - */ - ConversationRetentionSettings?: ConversationRetentionSettings | undefined; -} - -/** - * @public - */ -export interface GetRetentionSettingsResponse { - /** - *

The retention settings.

- * @public - */ - RetentionSettings?: RetentionSettings | undefined; - - /** - *

The timestamp representing the time at which the specified items are permanently deleted, in ISO 8601 format.

- * @public - */ - InitiateDeletionTimestamp?: Date | undefined; -} - -/** - * @public - */ -export interface GetRoomRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The room ID.

- * @public - */ - RoomId: string | undefined; -} - -/** - * @public - */ -export interface GetRoomResponse { - /** - *

The room details.

- * @public - */ - Room?: Room | undefined; -} - -/** - * @public - */ -export interface GetSipMediaApplicationRequest { - /** - *

The SIP media application ID.

- * @public - */ - SipMediaApplicationId: string | undefined; -} - -/** - * @public - */ -export interface GetSipMediaApplicationResponse { - /** - *

The SIP media application details.

- * @public - */ - SipMediaApplication?: SipMediaApplication | undefined; -} - -/** - * @public - */ -export interface GetSipMediaApplicationLoggingConfigurationRequest { - /** - *

The SIP media application ID.

- * @public - */ - SipMediaApplicationId: string | undefined; -} - -/** - *

Logging configuration of the SIP media application.

- * @public - */ -export interface SipMediaApplicationLoggingConfiguration { - /** - *

Enables application message logs for the SIP media application.

- * @public - */ - EnableSipMediaApplicationMessageLogs?: boolean | undefined; -} - -/** - * @public - */ -export interface GetSipMediaApplicationLoggingConfigurationResponse { - /** - *

The actual logging configuration.

- * @public - */ - SipMediaApplicationLoggingConfiguration?: SipMediaApplicationLoggingConfiguration | undefined; -} - -/** - * @public - */ -export interface GetSipRuleRequest { - /** - *

The SIP rule ID.

- * @public - */ - SipRuleId: string | undefined; -} - -/** - * @public - */ -export interface GetSipRuleResponse { - /** - *

The SIP rule details.

- * @public - */ - SipRule?: SipRule | undefined; -} - -/** - * @public - */ -export interface GetUserRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The user ID.

- * @public - */ - UserId: string | undefined; -} - -/** - * @public - */ -export interface GetUserResponse { - /** - *

The user details.

- * @public - */ - User?: User | undefined; -} - -/** - * @public - */ -export interface GetUserSettingsRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The user ID.

- * @public - */ - UserId: string | undefined; -} - -/** - *

Settings that allow management of telephony permissions for an Amazon Chime user, such as - * inbound and outbound calling and text messaging.

- * @public - */ -export interface TelephonySettings { - /** - *

Allows or denies inbound calling.

- * @public - */ - InboundCalling: boolean | undefined; - - /** - *

Allows or denies outbound calling.

- * @public - */ - OutboundCalling: boolean | undefined; - - /** - *

Allows or denies SMS messaging.

- * @public - */ - SMS: boolean | undefined; -} - -/** - *

Settings associated with an Amazon Chime user, including inbound and outbound calling and text - * messaging.

- * @public - */ -export interface UserSettings { - /** - *

The telephony settings associated with the user.

- * @public - */ - Telephony: TelephonySettings | undefined; -} - -/** - * @public - */ -export interface GetUserSettingsResponse { - /** - *

The user settings.

- * @public - */ - UserSettings?: UserSettings | undefined; -} - -/** - * @public - */ -export interface GetVoiceConnectorRequest { - /** - *

The Amazon Chime Voice Connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; -} - -/** - * @public - */ -export interface GetVoiceConnectorResponse { - /** - *

The Amazon Chime Voice Connector details.

- * @public - */ - VoiceConnector?: VoiceConnector | undefined; -} - -/** - * @public - */ -export interface GetVoiceConnectorEmergencyCallingConfigurationRequest { - /** - *

The Amazon Chime Voice Connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; -} - -/** - * @public - */ -export interface GetVoiceConnectorEmergencyCallingConfigurationResponse { - /** - *

The emergency calling configuration details.

- * @public - */ - EmergencyCallingConfiguration?: EmergencyCallingConfiguration | undefined; -} - -/** - * @public - */ -export interface GetVoiceConnectorGroupRequest { - /** - *

The Amazon Chime Voice Connector group ID.

- * @public - */ - VoiceConnectorGroupId: string | undefined; -} - -/** - * @public - */ -export interface GetVoiceConnectorGroupResponse { - /** - *

The Amazon Chime Voice Connector group details.

- * @public - */ - VoiceConnectorGroup?: VoiceConnectorGroup | undefined; -} - -/** - * @public - */ -export interface GetVoiceConnectorLoggingConfigurationRequest { - /** - *

The Amazon Chime Voice Connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; -} - -/** - *

The logging configuration associated with an Amazon Chime Voice Connector. Specifies whether SIP message logs are enabled for sending to Amazon CloudWatch Logs.

- * @public - */ -export interface LoggingConfiguration { - /** - *

Boolean that enables SIP message logs to Amazon CloudWatch logs.

- * @public - */ - EnableSIPLogs?: boolean | undefined; - - /** - *

Boolean that enables logging of detailed media metrics for Voice Connectors to Amazon CloudWatch logs.

- * @public - */ - EnableMediaMetricLogs?: boolean | undefined; -} - -/** - * @public - */ -export interface GetVoiceConnectorLoggingConfigurationResponse { - /** - *

The logging configuration details.

- * @public - */ - LoggingConfiguration?: LoggingConfiguration | undefined; -} - -/** - * @public - */ -export interface GetVoiceConnectorOriginationRequest { - /** - *

The Amazon Chime Voice Connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; -} - -/** - * @public - * @enum - */ -export const OriginationRouteProtocol = { - TCP: "TCP", - UDP: "UDP", -} as const; - -/** - * @public - */ -export type OriginationRouteProtocol = (typeof OriginationRouteProtocol)[keyof typeof OriginationRouteProtocol]; - -/** - *

Origination routes define call distribution properties for your SIP hosts to receive inbound - * calls using your Amazon Chime Voice Connector. Limit: Ten origination routes for each - * Amazon Chime Voice Connector.

- * - *

The parameters listed below are not required, but you must use at least one.

- *
- * @public - */ -export interface OriginationRoute { - /** - *

The FQDN or IP address to contact for origination traffic.

- * @public - */ - Host?: string | undefined; - - /** - *

The designated origination route port. Defaults to 5060.

- * @public - */ - Port?: number | undefined; - - /** - *

The protocol to use for the origination route. Encryption-enabled Amazon Chime Voice Connectors use TCP protocol by default.

- * @public - */ - Protocol?: OriginationRouteProtocol | undefined; - - /** - *

The priority associated with the host, with 1 being the highest priority. Higher priority - * hosts are attempted first.

- * @public - */ - Priority?: number | undefined; - - /** - *

The weight associated with the host. If hosts are equal in priority, calls are redistributed among - * them based on their relative weight.

- * @public - */ - Weight?: number | undefined; -} - -/** - *

Origination settings enable your SIP hosts to receive inbound calls using your Amazon Chime - * Voice Connector.

- * - *

The parameters listed below are not required, but you must use at least one.

- *
- * @public - */ -export interface Origination { - /** - *

The call distribution properties defined for your SIP hosts. Valid range: Minimum value of 1. - * Maximum value of 20. This parameter is not required, but you must specify this parameter or Disabled.

- * @public - */ - Routes?: OriginationRoute[] | undefined; - - /** - *

When origination settings are disabled, inbound calls are not enabled for your Amazon Chime - * Voice Connector. This parameter is not required, but you must specify this parameter or Routes.

- * @public - */ - Disabled?: boolean | undefined; -} - -/** - * @public - */ -export interface GetVoiceConnectorOriginationResponse { - /** - *

The origination setting details.

- * @public - */ - Origination?: Origination | undefined; -} - -/** - * @public - */ -export interface GetVoiceConnectorProxyRequest { - /** - *

The Amazon Chime voice connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; -} - -/** - *

The proxy configuration for an Amazon Chime Voice Connector.

- * @public - */ -export interface Proxy { - /** - *

The default number of minutes allowed for proxy sessions.

- * @public - */ - DefaultSessionExpiryMinutes?: number | undefined; - - /** - *

When true, stops proxy sessions from being created on the specified Amazon Chime Voice Connector.

- * @public - */ - Disabled?: boolean | undefined; - - /** - *

The phone number to route calls to after a proxy session expires.

- * @public - */ - FallBackPhoneNumber?: string | undefined; - - /** - *

The countries for proxy phone numbers to be selected from.

- * @public - */ - PhoneNumberCountries?: string[] | undefined; -} - -/** - * @public - */ -export interface GetVoiceConnectorProxyResponse { - /** - *

The proxy configuration details.

- * @public - */ - Proxy?: Proxy | undefined; -} - -/** - * @public - */ -export interface GetVoiceConnectorStreamingConfigurationRequest { - /** - *

The Amazon Chime Voice Connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; -} - -/** - * @public - * @enum - */ -export const NotificationTarget = { - EventBridge: "EventBridge", - SNS: "SNS", - SQS: "SQS", -} as const; - -/** - * @public - */ -export type NotificationTarget = (typeof NotificationTarget)[keyof typeof NotificationTarget]; - -/** - *

The targeted recipient for a streaming configuration notification.

- * @public - */ -export interface StreamingNotificationTarget { - /** - *

The streaming notification target.

- * @public - */ - NotificationTarget: NotificationTarget | undefined; -} - -/** - *

The streaming configuration associated with an Amazon Chime Voice Connector. Specifies whether - * media streaming is enabled for sending to Amazon Kinesis, and shows the retention period - * for the Amazon Kinesis data, in hours.

- * @public - */ -export interface StreamingConfiguration { - /** - *

The retention period, in hours, for the Amazon Kinesis data.

- * @public - */ - DataRetentionInHours: number | undefined; - - /** - *

When true, media streaming to Amazon Kinesis is turned off.

- * @public - */ - Disabled?: boolean | undefined; - - /** - *

The streaming notification targets.

- * @public - */ - StreamingNotificationTargets?: StreamingNotificationTarget[] | undefined; -} - -/** - * @public - */ -export interface GetVoiceConnectorStreamingConfigurationResponse { - /** - *

The streaming configuration details.

- * @public - */ - StreamingConfiguration?: StreamingConfiguration | undefined; -} - -/** - * @public - */ -export interface GetVoiceConnectorTerminationRequest { - /** - *

The Amazon Chime Voice Connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; -} - -/** - *

Termination settings enable your SIP hosts to make outbound calls using your Amazon Chime - * Voice Connector.

- * @public - */ -export interface Termination { - /** - *

The limit on calls per second. Max value based on account service quota. Default value of - * 1.

- * @public - */ - CpsLimit?: number | undefined; - - /** - *

The default caller ID phone number.

- * @public - */ - DefaultPhoneNumber?: string | undefined; - - /** - *

The countries to which calls are allowed, in ISO 3166-1 alpha-2 format. Required.

- * @public - */ - CallingRegions?: string[] | undefined; - - /** - *

The IP addresses allowed to make calls, in CIDR format. Required.

- * @public - */ - CidrAllowedList?: string[] | undefined; - - /** - *

When termination settings are disabled, outbound calls can not be made.

- * @public - */ - Disabled?: boolean | undefined; -} - -/** - * @public - */ -export interface GetVoiceConnectorTerminationResponse { - /** - *

The termination setting details.

- * @public - */ - Termination?: Termination | undefined; -} - -/** - * @public - */ -export interface GetVoiceConnectorTerminationHealthRequest { - /** - *

The Amazon Chime Voice Connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; -} - -/** - *

The termination health details, including the source IP address and timestamp of the last - * successful SIP OPTIONS message from your SIP infrastructure.

- * @public - */ -export interface TerminationHealth { - /** - *

The timestamp, in ISO 8601 format.

- * @public - */ - Timestamp?: Date | undefined; - - /** - *

The source IP address.

- * @public - */ - Source?: string | undefined; -} - -/** - * @public - */ -export interface GetVoiceConnectorTerminationHealthResponse { - /** - *

The termination health details.

- * @public - */ - TerminationHealth?: TerminationHealth | undefined; -} - -/** - *

Invitation object returned after emailing users to invite them to join the Amazon Chime - * Team account.

- * @public - */ -export interface Invite { - /** - *

The invite ID.

- * @public - */ - InviteId?: string | undefined; - - /** - *

The status of the invite.

- * @public - */ - Status?: InviteStatus | undefined; - - /** - *

The email address to which the invite is sent.

- * @public - */ - EmailAddress?: string | undefined; - - /** - *

The status of the invite email.

- * @public - */ - EmailStatus?: EmailStatus | undefined; -} - -/** - * @public - */ -export interface InviteUsersRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The user email addresses to which to send the email invitation.

- * @public - */ - UserEmailList: string[] | undefined; - - /** - *

The user type.

- * @public - */ - UserType?: UserType | undefined; -} - -/** - * @public - */ -export interface InviteUsersResponse { - /** - *

The email invitation details.

- * @public - */ - Invites?: Invite[] | undefined; -} - -/** - * @public - */ -export interface ListAccountsRequest { - /** - *

Amazon Chime account name prefix with which to filter results.

- * @public - */ - Name?: string | undefined; - - /** - *

User email address with which to filter results.

- * @public - */ - UserEmail?: string | undefined; - - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; - - /** - *

The maximum number of results to return in a single call. Defaults to 100.

- * @public - */ - MaxResults?: number | undefined; -} - -/** - * @public - */ -export interface ListAccountsResponse { - /** - *

List of Amazon Chime accounts and account details.

- * @public - */ - Accounts?: Account[] | undefined; - - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListAppInstanceAdminsRequest { - /** - *

The ARN of the AppInstance.

- * @public - */ - AppInstanceArn: string | undefined; - - /** - *

The maximum number of administrators that you want to return.

- * @public - */ - MaxResults?: number | undefined; - - /** - *

The token returned from previous API requests until the number of administrators is reached.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListAppInstanceAdminsResponse { - /** - *

The ARN of the AppInstance.

- * @public - */ - AppInstanceArn?: string | undefined; - - /** - *

The information for each administrator.

- * @public - */ - AppInstanceAdmins?: AppInstanceAdminSummary[] | undefined; - - /** - *

The token returned from previous API requests until the number of administrators is reached.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListAppInstancesRequest { - /** - *

The maximum number of AppInstances that you want to return.

- * @public - */ - MaxResults?: number | undefined; - - /** - *

The token passed by previous API requests until you reach the maximum number of AppInstances.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListAppInstancesResponse { - /** - *

The information for each AppInstance.

- * @public - */ - AppInstances?: AppInstanceSummary[] | undefined; - - /** - *

The token passed by previous API requests until the maximum number of AppInstances is reached.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListAppInstanceUsersRequest { - /** - *

The ARN of the AppInstance.

- * @public - */ - AppInstanceArn: string | undefined; - - /** - *

The maximum number of requests that you want returned.

- * @public - */ - MaxResults?: number | undefined; - - /** - *

The token passed by previous API calls until all requested users are returned.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListAppInstanceUsersResponse { - /** - *

The ARN of the AppInstance.

- * @public - */ - AppInstanceArn?: string | undefined; - - /** - *

The information for each requested AppInstanceUser.

- * @public - */ - AppInstanceUsers?: AppInstanceUserSummary[] | undefined; - - /** - *

The token passed by previous API calls until all requested users are returned.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListAttendeesRequest { - /** - *

The Amazon Chime SDK meeting ID.

- * @public - */ - MeetingId: string | undefined; - - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; - - /** - *

The maximum number of results to return in a single call.

- * @public - */ - MaxResults?: number | undefined; -} - -/** - * @public - */ -export interface ListAttendeesResponse { - /** - *

The Amazon Chime SDK attendee information.

- * @public - */ - Attendees?: Attendee[] | undefined; - - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListAttendeeTagsRequest { - /** - *

The Amazon Chime SDK meeting ID.

- * @public - */ - MeetingId: string | undefined; - - /** - *

The Amazon Chime SDK attendee ID.

- * @public - */ - AttendeeId: string | undefined; -} - -/** - * @public - */ -export interface ListAttendeeTagsResponse { - /** - *

A list of tag key-value pairs.

- * @public - */ - Tags?: Tag[] | undefined; -} - -/** - * @public - */ -export interface ListBotsRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The maximum number of results to return in a single call. The default is 10.

- * @public - */ - MaxResults?: number | undefined; - - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListBotsResponse { - /** - *

List of bots and bot details.

- * @public - */ - Bots?: Bot[] | undefined; - - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListChannelBansRequest { - /** - *

The ARN of the channel.

- * @public - */ - ChannelArn: string | undefined; - - /** - *

The maximum number of bans that you want returned.

- * @public - */ - MaxResults?: number | undefined; - - /** - *

The token passed by previous API calls until all requested bans are returned.

- * @public - */ - NextToken?: string | undefined; - - /** - *

The AppInstanceUserArn of the user that makes the API call.

- * @public - */ - ChimeBearer?: string | undefined; -} - -/** - * @public - */ -export interface ListChannelBansResponse { - /** - *

The ARN of the channel.

- * @public - */ - ChannelArn?: string | undefined; - - /** - *

The token passed by previous API calls until all requested bans are returned.

- * @public - */ - NextToken?: string | undefined; - - /** - *

The information for each requested ban.

- * @public - */ - ChannelBans?: ChannelBanSummary[] | undefined; -} - -/** - * @public - */ -export interface ListChannelMembershipsRequest { - /** - *

The maximum number of channel memberships that you want returned.

- * @public - */ - ChannelArn: string | undefined; - - /** - *

The membership type of a user, DEFAULT or HIDDEN. Default - * members are always returned as part of ListChannelMemberships. Hidden members - * are only returned if the type filter in ListChannelMemberships equals - * HIDDEN. Otherwise hidden members are not returned.

- * @public - */ - Type?: ChannelMembershipType | undefined; - - /** - *

The maximum number of channel memberships that you want returned.

- * @public - */ - MaxResults?: number | undefined; - - /** - *

The token passed by previous API calls until all requested channel memberships are - * returned.

- * @public - */ - NextToken?: string | undefined; - - /** - *

The AppInstanceUserArn of the user that makes the API call.

- * @public - */ - ChimeBearer?: string | undefined; -} - -/** - * @public - */ -export interface ListChannelMembershipsResponse { - /** - *

The ARN of the channel.

- * @public - */ - ChannelArn?: string | undefined; - - /** - *

The information for the requested channel memberships.

- * @public - */ - ChannelMemberships?: ChannelMembershipSummary[] | undefined; - - /** - *

The token passed by previous API calls until all requested channel memberships are - * returned.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListChannelMembershipsForAppInstanceUserRequest { - /** - *

The ARN of the AppInstanceUsers

- * @public - */ - AppInstanceUserArn?: string | undefined; - - /** - *

The maximum number of users that you want returned.

- * @public - */ - MaxResults?: number | undefined; - - /** - *

The token returned from previous API requests until the number of channel memberships is reached.

- * @public - */ - NextToken?: string | undefined; - - /** - *

The AppInstanceUserArn of the user that makes the API call.

- * @public - */ - ChimeBearer?: string | undefined; -} - -/** - * @public - */ -export interface ListChannelMembershipsForAppInstanceUserResponse { - /** - *

The information for the requested channel memberships.

- * @public - */ - ChannelMemberships?: ChannelMembershipForAppInstanceUserSummary[] | undefined; - - /** - *

The token passed by previous API calls until all requested users are returned.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - * @enum - */ -export const SortOrder = { - ASCENDING: "ASCENDING", - DESCENDING: "DESCENDING", -} as const; - -/** - * @public - */ -export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]; - -/** - * @public - */ -export interface ListChannelMessagesRequest { - /** - *

The ARN of the channel.

- * @public - */ - ChannelArn: string | undefined; - - /** - *

The order in which you want messages sorted. Default is Descending, based on time - * created.

- * @public - */ - SortOrder?: SortOrder | undefined; - - /** - *

The initial or starting time stamp for your requested messages.

- * @public - */ - NotBefore?: Date | undefined; - - /** - *

The final or ending time stamp for your requested messages.

- * @public - */ - NotAfter?: Date | undefined; - - /** - *

The maximum number of messages that you want returned.

- * @public - */ - MaxResults?: number | undefined; - - /** - *

The token passed by previous API calls until all requested messages are returned.

- * @public - */ - NextToken?: string | undefined; - - /** - *

The AppInstanceUserArn of the user that makes the API call.

- * @public - */ - ChimeBearer?: string | undefined; -} - -/** - * @public - */ -export interface ListChannelMessagesResponse { - /** - *

The ARN of the channel containing the requested messages.

- * @public - */ - ChannelArn?: string | undefined; - - /** - *

The token passed by previous API calls until all requested messages are returned.

- * @public - */ - NextToken?: string | undefined; - - /** - *

The information about, and content of, each requested message.

- * @public - */ - ChannelMessages?: ChannelMessageSummary[] | undefined; -} - -/** - * @public - */ -export interface ListChannelModeratorsRequest { - /** - *

The ARN of the channel.

- * @public - */ - ChannelArn: string | undefined; - - /** - *

The maximum number of moderators that you want returned.

- * @public - */ - MaxResults?: number | undefined; - - /** - *

The token passed by previous API calls until all requested moderators are - * returned.

- * @public - */ - NextToken?: string | undefined; - - /** - *

The AppInstanceUserArn of the user that makes the API call.

- * @public - */ - ChimeBearer?: string | undefined; -} - -/** - * @public - */ -export interface ListChannelModeratorsResponse { - /** - *

The ARN of the channel.

- * @public - */ - ChannelArn?: string | undefined; - - /** - *

The token passed by previous API calls until all requested moderators are - * returned.

- * @public - */ - NextToken?: string | undefined; - - /** - *

The information about and names of each moderator.

- * @public - */ - ChannelModerators?: ChannelModeratorSummary[] | undefined; -} - -/** - * @public - */ -export interface ListChannelsRequest { - /** - *

The ARN of the AppInstance.

- * @public - */ - AppInstanceArn: string | undefined; - - /** - *

The privacy setting. PUBLIC retrieves all the public channels. - * PRIVATE retrieves private channels. Only an AppInstanceAdmin - * can retrieve private channels.

- * @public - */ - Privacy?: ChannelPrivacy | undefined; - - /** - *

The maximum number of channels that you want to return.

- * @public - */ - MaxResults?: number | undefined; - - /** - *

The token passed by previous API calls until all requested channels are returned.

- * @public - */ - NextToken?: string | undefined; - - /** - *

The AppInstanceUserArn of the user that makes the API call.

- * @public - */ - ChimeBearer?: string | undefined; -} - -/** - * @public - */ -export interface ListChannelsResponse { - /** - *

The information about each channel.

- * @public - */ - Channels?: ChannelSummary[] | undefined; - - /** - *

The token returned from previous API requests until the number of channels is - * reached.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListChannelsModeratedByAppInstanceUserRequest { - /** - *

The ARN of the user in the moderated channel.

- * @public - */ - AppInstanceUserArn?: string | undefined; - - /** - *

The maximum number of channels in the request.

- * @public - */ - MaxResults?: number | undefined; - - /** - *

The token returned from previous API requests until the number of channels moderated by - * the user is reached.

- * @public - */ - NextToken?: string | undefined; - - /** - *

The AppInstanceUserArn of the user that makes the API call.

- * @public - */ - ChimeBearer?: string | undefined; -} - -/** - * @public - */ -export interface ListChannelsModeratedByAppInstanceUserResponse { - /** - *

The moderated channels in the request.

- * @public - */ - Channels?: ChannelModeratedByAppInstanceUserSummary[] | undefined; - - /** - *

The token returned from previous API requests until the number of channels moderated by - * the user is reached.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListMediaCapturePipelinesRequest { - /** - *

The token used to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; - - /** - *

The maximum number of results to return in a single call. Valid Range: 1 - 99.

- * @public - */ - MaxResults?: number | undefined; -} - -/** - * @public - */ -export interface ListMediaCapturePipelinesResponse { - /** - *

The media capture pipeline objects in the list.

- * @public - */ - MediaCapturePipelines?: MediaCapturePipeline[] | undefined; - - /** - *

The token used to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListMeetingsRequest { - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; - - /** - *

The maximum number of results to return in a single call.

- * @public - */ - MaxResults?: number | undefined; -} - -/** - * @public - */ -export interface ListMeetingsResponse { - /** - *

The Amazon Chime SDK meeting information.

- * @public - */ - Meetings?: Meeting[] | undefined; - - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListMeetingTagsRequest { - /** - *

The Amazon Chime SDK meeting ID.

- * @public - */ - MeetingId: string | undefined; -} - -/** - * @public - */ -export interface ListMeetingTagsResponse { - /** - *

A list of tag key-value pairs.

- * @public - */ - Tags?: Tag[] | undefined; -} - -/** - * @public - */ -export interface ListPhoneNumberOrdersRequest { - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; - - /** - *

The maximum number of results to return in a single call.

- * @public - */ - MaxResults?: number | undefined; -} - -/** - * @public - */ -export interface ListPhoneNumberOrdersResponse { - /** - *

The phone number order details.

- * @public - */ - PhoneNumberOrders?: PhoneNumberOrder[] | undefined; - - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListPhoneNumbersRequest { - /** - *

The phone number status.

- * @public - */ - Status?: PhoneNumberStatus | undefined; - - /** - *

The phone number product type.

- * @public - */ - ProductType?: PhoneNumberProductType | undefined; - - /** - *

The filter to use to limit the number of results.

- * @public - */ - FilterName?: PhoneNumberAssociationName | undefined; - - /** - *

The value to use for the filter.

- * @public - */ - FilterValue?: string | undefined; - - /** - *

The maximum number of results to return in a single call.

- * @public - */ - MaxResults?: number | undefined; - - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListPhoneNumbersResponse { - /** - *

The phone number details.

- * @public - */ - PhoneNumbers?: PhoneNumber[] | undefined; - - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListProxySessionsRequest { - /** - *

The Amazon Chime voice connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; - - /** - *

The proxy session status.

- * @public - */ - Status?: ProxySessionStatus | undefined; - - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; - - /** - *

The maximum number of results to return in a single call.

- * @public - */ - MaxResults?: number | undefined; -} - -/** - * @public - */ -export interface ListProxySessionsResponse { - /** - *

The proxy session details.

- * @public - */ - ProxySessions?: ProxySession[] | undefined; - - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListRoomMembershipsRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The room ID.

- * @public - */ - RoomId: string | undefined; - - /** - *

The maximum number of results to return in a single call.

- * @public - */ - MaxResults?: number | undefined; - - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListRoomMembershipsResponse { - /** - *

The room membership details.

- * @public - */ - RoomMemberships?: RoomMembership[] | undefined; - - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListRoomsRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The member ID (user ID or bot ID).

- * @public - */ - MemberId?: string | undefined; - - /** - *

The maximum number of results to return in a single call.

- * @public - */ - MaxResults?: number | undefined; - - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListRoomsResponse { - /** - *

The room details.

- * @public - */ - Rooms?: Room[] | undefined; - - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListSipMediaApplicationsRequest { - /** - *

The maximum number of results to return in a single call. Defaults to 100.

- * @public - */ - MaxResults?: number | undefined; - - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListSipMediaApplicationsResponse { - /** - *

List of SIP media applications and application details.

- * @public - */ - SipMediaApplications?: SipMediaApplication[] | undefined; - - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListSipRulesRequest { - /** - *

The SIP media application ID.

- * @public - */ - SipMediaApplicationId?: string | undefined; - - /** - *

The maximum number of results to return in a single call. Defaults to 100.

- * @public - */ - MaxResults?: number | undefined; - - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListSipRulesResponse { - /** - *

List of SIP rules and rule details.

- * @public - */ - SipRules?: SipRule[] | undefined; - - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListSupportedPhoneNumberCountriesRequest { - /** - *

The phone number product type.

- * @public - */ - ProductType: PhoneNumberProductType | undefined; -} - -/** - *

The phone number country.

- * @public - */ -export interface PhoneNumberCountry { - /** - *

The phone number country code. Format: ISO 3166-1 alpha-2.

- * @public - */ - CountryCode?: string | undefined; - - /** - *

The supported phone number types.

- * @public - */ - SupportedPhoneNumberTypes?: PhoneNumberType[] | undefined; -} - -/** - * @public - */ -export interface ListSupportedPhoneNumberCountriesResponse { - /** - *

The supported phone number countries.

- * @public - */ - PhoneNumberCountries?: PhoneNumberCountry[] | undefined; -} - -/** - * @public - */ -export interface ListTagsForResourceRequest { - /** - *

The resource ARN.

- * @public - */ - ResourceARN: string | undefined; -} - -/** - * @public - */ -export interface ListTagsForResourceResponse { - /** - *

A list of tag-key value pairs.

- * @public - */ - Tags?: Tag[] | undefined; -} - -/** - * @public - */ -export interface ListUsersRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

Optional. The user email address used to filter results. Maximum 1.

- * @public - */ - UserEmail?: string | undefined; - - /** - *

The user type.

- * @public - */ - UserType?: UserType | undefined; - - /** - *

The maximum number of results to return in a single call. Defaults to 100.

- * @public - */ - MaxResults?: number | undefined; - - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListUsersResponse { - /** - *

List of users and user details.

- * @public - */ - Users?: User[] | undefined; - - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListVoiceConnectorGroupsRequest { - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; - - /** - *

The maximum number of results to return in a single call.

- * @public - */ - MaxResults?: number | undefined; -} - -/** - * @public - */ -export interface ListVoiceConnectorGroupsResponse { - /** - *

The details of the Amazon Chime Voice Connector groups.

- * @public - */ - VoiceConnectorGroups?: VoiceConnectorGroup[] | undefined; - - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListVoiceConnectorsRequest { - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; - - /** - *

The maximum number of results to return in a single call.

- * @public - */ - MaxResults?: number | undefined; -} - -/** - * @public - */ -export interface ListVoiceConnectorsResponse { - /** - *

The details of the Amazon Chime Voice Connectors.

- * @public - */ - VoiceConnectors?: VoiceConnector[] | undefined; - - /** - *

The token to use to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListVoiceConnectorTerminationCredentialsRequest { - /** - *

The Amazon Chime Voice Connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; -} - -/** - * @public - */ -export interface ListVoiceConnectorTerminationCredentialsResponse { - /** - *

A list of user names.

- * @public - */ - Usernames?: string[] | undefined; -} - -/** - * @public - */ -export interface LogoutUserRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The user ID.

- * @public - */ - UserId: string | undefined; -} - -/** - * @public - */ -export interface LogoutUserResponse {} - -/** - * @public - */ -export interface PutAppInstanceRetentionSettingsRequest { - /** - *

The ARN of the AppInstance.

- * @public - */ - AppInstanceArn: string | undefined; - - /** - *

The time in days to retain data. Data type: number.

- * @public - */ - AppInstanceRetentionSettings: AppInstanceRetentionSettings | undefined; -} - -/** - * @public - */ -export interface PutAppInstanceRetentionSettingsResponse { - /** - *

The time in days to retain data. Data type: number.

- * @public - */ - AppInstanceRetentionSettings?: AppInstanceRetentionSettings | undefined; - - /** - *

The time at which the API deletes data.

- * @public - */ - InitiateDeletionTimestamp?: Date | undefined; -} - -/** - * @public - */ -export interface PutAppInstanceStreamingConfigurationsRequest { - /** - *

The ARN of the AppInstance.

- * @public - */ - AppInstanceArn: string | undefined; - - /** - *

The streaming configurations set for an AppInstance.

- * @public - */ - AppInstanceStreamingConfigurations: AppInstanceStreamingConfiguration[] | undefined; -} - -/** - * @public - */ -export interface PutAppInstanceStreamingConfigurationsResponse { - /** - *

The streaming configurations of an AppInstance.

- * @public - */ - AppInstanceStreamingConfigurations?: AppInstanceStreamingConfiguration[] | undefined; -} - -/** - * @public - */ -export interface PutEventsConfigurationRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The bot ID.

- * @public - */ - BotId: string | undefined; - - /** - *

HTTPS endpoint that allows the bot to receive outgoing events.

- * @public - */ - OutboundEventsHTTPSEndpoint?: string | undefined; - - /** - *

Lambda function ARN that allows the bot to receive outgoing events.

- * @public - */ - LambdaFunctionArn?: string | undefined; -} - -/** - * @public - */ -export interface PutEventsConfigurationResponse { - /** - *

The configuration that allows a bot to receive outgoing events. Can be an HTTPS endpoint or an - * AWS Lambda function ARN.

- * @public - */ - EventsConfiguration?: EventsConfiguration | undefined; -} - -/** - * @public - */ -export interface PutRetentionSettingsRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The retention settings.

- * @public - */ - RetentionSettings: RetentionSettings | undefined; -} - -/** - * @public - */ -export interface PutRetentionSettingsResponse { - /** - *

The retention settings.

- * @public - */ - RetentionSettings?: RetentionSettings | undefined; - - /** - *

The timestamp representing the time at which the specified items are permanently deleted, in ISO 8601 format.

- * @public - */ - InitiateDeletionTimestamp?: Date | undefined; -} - -/** - * @public - */ -export interface PutSipMediaApplicationLoggingConfigurationRequest { - /** - *

The SIP media application ID.

- * @public - */ - SipMediaApplicationId: string | undefined; - - /** - *

The actual logging configuration.

- * @public - */ - SipMediaApplicationLoggingConfiguration?: SipMediaApplicationLoggingConfiguration | undefined; -} - -/** - * @public - */ -export interface PutSipMediaApplicationLoggingConfigurationResponse { - /** - *

The logging configuration of the SIP media application.

- * @public - */ - SipMediaApplicationLoggingConfiguration?: SipMediaApplicationLoggingConfiguration | undefined; -} - -/** - * @public - */ -export interface PutVoiceConnectorEmergencyCallingConfigurationRequest { - /** - *

The Amazon Chime Voice Connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; - - /** - *

The emergency calling configuration details.

- * @public - */ - EmergencyCallingConfiguration: EmergencyCallingConfiguration | undefined; -} - -/** - * @public - */ -export interface PutVoiceConnectorEmergencyCallingConfigurationResponse { - /** - *

The emergency calling configuration details.

- * @public - */ - EmergencyCallingConfiguration?: EmergencyCallingConfiguration | undefined; -} - -/** - * @public - */ -export interface PutVoiceConnectorLoggingConfigurationRequest { - /** - *

The Amazon Chime Voice Connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; - - /** - *

The logging configuration details to add.

- * @public - */ - LoggingConfiguration: LoggingConfiguration | undefined; -} - -/** - * @public - */ -export interface PutVoiceConnectorLoggingConfigurationResponse { - /** - *

The updated logging configuration details.

- * @public - */ - LoggingConfiguration?: LoggingConfiguration | undefined; -} - -/** - * @public - */ -export interface PutVoiceConnectorOriginationRequest { - /** - *

The Amazon Chime Voice Connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; - - /** - *

The origination setting details to add.

- * @public - */ - Origination: Origination | undefined; -} - -/** - * @public - */ -export interface PutVoiceConnectorOriginationResponse { - /** - *

The updated origination setting details.

- * @public - */ - Origination?: Origination | undefined; -} - -/** - * @public - */ -export interface PutVoiceConnectorProxyRequest { - /** - *

The Amazon Chime voice connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; - - /** - *

The default number of minutes allowed for proxy sessions.

- * @public - */ - DefaultSessionExpiryMinutes: number | undefined; - - /** - *

The countries for proxy phone numbers to be selected from.

- * @public - */ - PhoneNumberPoolCountries: string[] | undefined; - - /** - *

The phone number to route calls to after a proxy session expires.

- * @public - */ - FallBackPhoneNumber?: string | undefined; - - /** - *

When true, stops proxy sessions from being created on the specified Amazon Chime Voice Connector.

- * @public - */ - Disabled?: boolean | undefined; -} - -/** - * @public - */ -export interface PutVoiceConnectorProxyResponse { - /** - *

The proxy configuration details.

- * @public - */ - Proxy?: Proxy | undefined; -} - -/** - * @public - */ -export interface PutVoiceConnectorStreamingConfigurationRequest { - /** - *

The Amazon Chime Voice Connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; - - /** - *

The streaming configuration details to add.

- * @public - */ - StreamingConfiguration: StreamingConfiguration | undefined; -} - -/** - * @public - */ -export interface PutVoiceConnectorStreamingConfigurationResponse { - /** - *

The updated streaming configuration details.

- * @public - */ - StreamingConfiguration?: StreamingConfiguration | undefined; -} - -/** - * @public - */ -export interface PutVoiceConnectorTerminationRequest { - /** - *

The Amazon Chime Voice Connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; - - /** - *

The termination setting details to add.

- * @public - */ - Termination: Termination | undefined; -} - -/** - * @public - */ -export interface PutVoiceConnectorTerminationResponse { - /** - *

The updated termination setting details.

- * @public - */ - Termination?: Termination | undefined; -} - -/** - * @public - */ -export interface PutVoiceConnectorTerminationCredentialsRequest { - /** - *

The Amazon Chime Voice Connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; - - /** - *

The termination SIP credentials.

- * @public - */ - Credentials?: Credential[] | undefined; -} - -/** - * @public - */ -export interface RedactChannelMessageRequest { - /** - *

The ARN of the channel containing the messages that you want to redact.

- * @public - */ - ChannelArn: string | undefined; - - /** - *

The ID of the message being redacted.

- * @public - */ - MessageId: string | undefined; - - /** - *

The AppInstanceUserArn of the user that makes the API call.

- * @public - */ - ChimeBearer?: string | undefined; -} - -/** - * @public - */ -export interface RedactChannelMessageResponse { - /** - *

The ARN of the channel containing the messages that you want to redact.

- * @public - */ - ChannelArn?: string | undefined; - - /** - *

The ID of the message being redacted.

- * @public - */ - MessageId?: string | undefined; -} - -/** - * @public - */ -export interface RedactConversationMessageRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The conversation ID.

- * @public - */ - ConversationId: string | undefined; - - /** - *

The message ID.

- * @public - */ - MessageId: string | undefined; -} - -/** - * @public - */ -export interface RedactConversationMessageResponse {} - -/** - * @public - */ -export interface RedactRoomMessageRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The room ID.

- * @public - */ - RoomId: string | undefined; - - /** - *

The message ID.

- * @public - */ - MessageId: string | undefined; -} - -/** - * @public - */ -export interface RedactRoomMessageResponse {} - -/** - * @public - */ -export interface RegenerateSecurityTokenRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The bot ID.

- * @public - */ - BotId: string | undefined; -} - -/** - * @public - */ -export interface RegenerateSecurityTokenResponse { - /** - *

A resource that allows Enterprise account administrators to configure an interface that receives events from Amazon Chime.

- * @public - */ - Bot?: Bot | undefined; -} - -/** - * @public - */ -export interface ResetPersonalPINRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The user ID.

- * @public - */ - UserId: string | undefined; -} - -/** - * @public - */ -export interface ResetPersonalPINResponse { - /** - *

The user details and new personal meeting PIN.

- * @public - */ - User?: User | undefined; -} - -/** - * @public - */ -export interface RestorePhoneNumberRequest { - /** - *

The phone number.

- * @public - */ - PhoneNumberId: string | undefined; -} - -/** - * @public - */ -export interface RestorePhoneNumberResponse { - /** - *

The phone number details.

- * @public - */ - PhoneNumber?: PhoneNumber | undefined; -} - -/** - * @public - */ -export interface SearchAvailablePhoneNumbersRequest { - /** - *

The area code used to filter results. Only applies to the US.

- * @public - */ - AreaCode?: string | undefined; - - /** - *

The city used to filter results. Only applies to the US.

- * @public - */ - City?: string | undefined; - - /** - *

The country used to filter results. Defaults to the US Format: ISO 3166-1 alpha-2.

- * @public - */ - Country?: string | undefined; - - /** - *

The state used to filter results. Required only if you provide City. Only applies to the US.

- * @public - */ - State?: string | undefined; - - /** - *

The toll-free prefix that you use to filter results. Only applies to the US.

- * @public - */ - TollFreePrefix?: string | undefined; - - /** - *

The phone number type used to filter results. Required for non-US numbers.

- * @public - */ - PhoneNumberType?: PhoneNumberType | undefined; - - /** - *

The maximum number of results to return in a single call.

- * @public - */ - MaxResults?: number | undefined; - - /** - *

The token used to retrieve the next page of results.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface SearchAvailablePhoneNumbersResponse { - /** - *

List of phone numbers, in E.164 format.

- * @public - */ - E164PhoneNumbers?: string[] | undefined; - - /** - *

The token used to retrieve the next page of search results.

- * @public - */ - NextToken?: string | undefined; -} - -/** - * @public - */ -export interface SendChannelMessageRequest { - /** - *

The ARN of the channel.

- * @public - */ - ChannelArn: string | undefined; - - /** - *

The content of the message.

- * @public - */ - Content: string | undefined; - - /** - *

The type of message, STANDARD or CONTROL.

- * @public - */ - Type: ChannelMessageType | undefined; - - /** - *

Boolean that controls whether the message is persisted on the back end. Required.

- * @public - */ - Persistence: ChannelMessagePersistenceType | undefined; - - /** - *

The optional metadata for each message.

- * @public - */ - Metadata?: string | undefined; - - /** - *

The Idempotency token for each client request.

- * @public - */ - ClientRequestToken?: string | undefined; - - /** - *

The AppInstanceUserArn of the user that makes the API call.

- * @public - */ - ChimeBearer?: string | undefined; -} - -/** - * @public - */ -export interface SendChannelMessageResponse { - /** - *

The ARN of the channel.

- * @public - */ - ChannelArn?: string | undefined; - - /** - *

The ID string assigned to each message.

- * @public - */ - MessageId?: string | undefined; -} - -/** - *

The configuration for the current transcription operation. Must contain EngineTranscribeSettings or EngineTranscribeMedicalSettings.

- * @public - */ -export interface TranscriptionConfiguration { - /** - *

The transcription configuration settings passed to Amazon Transcribe.

- * @public - */ - EngineTranscribeSettings?: EngineTranscribeSettings | undefined; - - /** - *

The transcription configuration settings passed to Amazon Transcribe Medical.

- * @public - */ - EngineTranscribeMedicalSettings?: EngineTranscribeMedicalSettings | undefined; -} - -/** - * @public - */ -export interface StartMeetingTranscriptionRequest { - /** - *

The unique ID of the meeting being transcribed.

- * @public - */ - MeetingId: string | undefined; - - /** - *

The configuration for the current transcription operation. Must contain EngineTranscribeSettings or EngineTranscribeMedicalSettings.

- * @public - */ - TranscriptionConfiguration: TranscriptionConfiguration | undefined; -} - -/** - * @public - */ -export interface StartMeetingTranscriptionResponse {} - -/** - * @public - */ -export interface StopMeetingTranscriptionRequest { - /** - *

The unique ID of the meeting for which you stop transcription.

- * @public - */ - MeetingId: string | undefined; -} - -/** - * @public - */ -export interface StopMeetingTranscriptionResponse {} - -/** - * @public - */ -export interface TagAttendeeRequest { - /** - *

The Amazon Chime SDK meeting ID.

- * @public - */ - MeetingId: string | undefined; - - /** - *

The Amazon Chime SDK attendee ID.

- * @public - */ - AttendeeId: string | undefined; - - /** - *

The tag key-value pairs.

- * @public - */ - Tags: Tag[] | undefined; -} - -/** - * @public - */ -export interface TagMeetingRequest { - /** - *

The Amazon Chime SDK meeting ID.

- * @public - */ - MeetingId: string | undefined; - - /** - *

The tag key-value pairs.

- * @public - */ - Tags: Tag[] | undefined; -} - -/** - * @public - */ -export interface TagResourceRequest { - /** - *

The resource ARN.

- * @public - */ - ResourceARN: string | undefined; - - /** - *

The tag key-value pairs.

- * @public - */ - Tags: Tag[] | undefined; -} - -/** - * @public - */ -export interface UntagAttendeeRequest { - /** - *

The Amazon Chime SDK meeting ID.

- * @public - */ - MeetingId: string | undefined; - - /** - *

The Amazon Chime SDK attendee ID.

- * @public - */ - AttendeeId: string | undefined; - - /** - *

The tag keys.

- * @public - */ - TagKeys: string[] | undefined; -} - -/** - * @public - */ -export interface UntagMeetingRequest { - /** - *

The Amazon Chime SDK meeting ID.

- * @public - */ - MeetingId: string | undefined; - - /** - *

The tag keys.

- * @public - */ - TagKeys: string[] | undefined; -} - -/** - * @public - */ -export interface UntagResourceRequest { - /** - *

The resource ARN.

- * @public - */ - ResourceARN: string | undefined; - - /** - *

The tag keys.

- * @public - */ - TagKeys: string[] | undefined; -} - -/** - * @public - */ -export interface UpdateAccountRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The new name for the specified Amazon Chime account.

- * @public - */ - Name?: string | undefined; - - /** - *

The default license applied when you add users to an Amazon Chime account.

- * @public - */ - DefaultLicense?: License | undefined; -} - -/** - * @public - */ -export interface UpdateAccountResponse { - /** - *

The updated Amazon Chime account details.

- * @public - */ - Account?: Account | undefined; -} - -/** - * @public - */ -export interface UpdateAccountSettingsRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The Amazon Chime account settings to update.

- * @public - */ - AccountSettings: AccountSettings | undefined; -} - -/** - * @public - */ -export interface UpdateAccountSettingsResponse {} - -/** - * @public - */ -export interface UpdateAppInstanceRequest { - /** - *

The ARN of the AppInstance.

- * @public - */ - AppInstanceArn: string | undefined; - - /** - *

The name that you want to change.

- * @public - */ - Name: string | undefined; - - /** - *

The metadata that you want to change.

- * @public - */ - Metadata?: string | undefined; -} - -/** - * @public - */ -export interface UpdateAppInstanceResponse { - /** - *

The ARN of the AppInstance.

- * @public - */ - AppInstanceArn?: string | undefined; -} - -/** - * @public - */ -export interface UpdateAppInstanceUserRequest { - /** - *

The ARN of the AppInstanceUser.

- * @public - */ - AppInstanceUserArn: string | undefined; - - /** - *

The name of the AppInstanceUser.

- * @public - */ - Name: string | undefined; - - /** - *

The metadata of the AppInstanceUser.

- * @public - */ - Metadata?: string | undefined; -} - -/** - * @public - */ -export interface UpdateAppInstanceUserResponse { - /** - *

The ARN of the AppInstanceUser.

- * @public - */ - AppInstanceUserArn?: string | undefined; -} - -/** - * @public - */ -export interface UpdateBotRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The bot ID.

- * @public - */ - BotId: string | undefined; - - /** - *

When true, stops the specified bot from running in your account.

- * @public - */ - Disabled?: boolean | undefined; -} - -/** - * @public - */ -export interface UpdateBotResponse { - /** - *

The updated bot details.

- * @public - */ - Bot?: Bot | undefined; -} - -/** - * @public - */ -export interface UpdateChannelRequest { - /** - *

The ARN of the channel.

- * @public - */ - ChannelArn: string | undefined; - - /** - *

The name of the channel.

- * @public - */ - Name: string | undefined; - - /** - *

The mode of the update request.

- * @public - */ - Mode: ChannelMode | undefined; - - /** - *

The metadata for the update request.

- * @public - */ - Metadata?: string | undefined; - - /** - *

The AppInstanceUserArn of the user that makes the API call.

- * @public - */ - ChimeBearer?: string | undefined; -} - -/** - * @public - */ -export interface UpdateChannelResponse { - /** - *

The ARN of the channel.

- * @public - */ - ChannelArn?: string | undefined; -} - -/** - * @public - */ -export interface UpdateChannelMessageRequest { - /** - *

The ARN of the channel.

- * @public - */ - ChannelArn: string | undefined; - - /** - *

The ID string of the message being updated.

- * @public - */ - MessageId: string | undefined; - - /** - *

The content of the message being updated.

- * @public - */ - Content?: string | undefined; - - /** - *

The metadata of the message being updated.

- * @public - */ - Metadata?: string | undefined; - - /** - *

The AppInstanceUserArn of the user that makes the API call.

- * @public - */ - ChimeBearer?: string | undefined; -} - -/** - * @public - */ -export interface UpdateChannelMessageResponse { - /** - *

The ARN of the channel.

- * @public - */ - ChannelArn?: string | undefined; - - /** - *

The ID string of the message being updated.

- * @public - */ - MessageId?: string | undefined; -} - -/** - * @public - */ -export interface UpdateChannelReadMarkerRequest { - /** - *

The ARN of the channel.

- * @public - */ - ChannelArn: string | undefined; - - /** - *

The AppInstanceUserArn of the user that makes the API call.

- * @public - */ - ChimeBearer?: string | undefined; -} - -/** - * @public - */ -export interface UpdateChannelReadMarkerResponse { - /** - *

The ARN of the channel.

- * @public - */ - ChannelArn?: string | undefined; -} - -/** - * @public - */ -export interface UpdateGlobalSettingsRequest { - /** - *

The Amazon Chime Business Calling settings.

- * @public - */ - BusinessCalling?: BusinessCallingSettings | undefined; - - /** - *

The Amazon Chime Voice Connector settings.

- * @public - */ - VoiceConnector?: VoiceConnectorSettings | undefined; -} - -/** - * @public - */ -export interface UpdatePhoneNumberRequest { - /** - *

The phone number ID.

- * @public - */ - PhoneNumberId: string | undefined; - - /** - *

The product type.

- * @public - */ - ProductType?: PhoneNumberProductType | undefined; - - /** - *

The outbound calling name associated with the phone number.

- * @public - */ - CallingName?: string | undefined; -} - -/** - * @public - */ -export interface UpdatePhoneNumberResponse { - /** - *

The updated phone number details.

- * @public - */ - PhoneNumber?: PhoneNumber | undefined; -} - -/** - * @public - */ -export interface UpdatePhoneNumberSettingsRequest { - /** - *

The default outbound calling name for the account.

- * @public - */ - CallingName: string | undefined; -} - -/** - * @public - */ -export interface UpdateProxySessionRequest { - /** - *

The Amazon Chime voice connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; - - /** - *

The proxy session ID.

- * @public - */ - ProxySessionId: string | undefined; - - /** - *

The proxy session capabilities.

- * @public - */ - Capabilities: Capability[] | undefined; - - /** - *

The number of minutes allowed for the proxy session.

- * @public - */ - ExpiryMinutes?: number | undefined; -} - -/** - * @public - */ -export interface UpdateProxySessionResponse { - /** - *

The proxy session details.

- * @public - */ - ProxySession?: ProxySession | undefined; -} - -/** - * @public - */ -export interface UpdateRoomRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The room ID.

- * @public - */ - RoomId: string | undefined; - - /** - *

The room name.

- * @public - */ - Name?: string | undefined; -} - -/** - * @public - */ -export interface UpdateRoomResponse { - /** - *

The room details.

- * @public - */ - Room?: Room | undefined; -} - -/** - * @public - */ -export interface UpdateRoomMembershipRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The room ID.

- * @public - */ - RoomId: string | undefined; - - /** - *

The member ID.

- * @public - */ - MemberId: string | undefined; - - /** - *

The role of the member.

- * @public - */ - Role?: RoomMembershipRole | undefined; -} - -/** - * @public - */ -export interface UpdateRoomMembershipResponse { - /** - *

The room membership details.

- * @public - */ - RoomMembership?: RoomMembership | undefined; -} - -/** - * @public - */ -export interface UpdateSipMediaApplicationRequest { - /** - *

The SIP media application ID.

- * @public - */ - SipMediaApplicationId: string | undefined; - - /** - *

The new name for the specified SIP media application.

- * @public - */ - Name?: string | undefined; - - /** - *

The new set of endpoints for the specified SIP media application.

- * @public - */ - Endpoints?: SipMediaApplicationEndpoint[] | undefined; -} - -/** - * @public - */ -export interface UpdateSipMediaApplicationResponse { - /** - *

The updated SIP media application details.

- * @public - */ - SipMediaApplication?: SipMediaApplication | undefined; -} - -/** - * @public - */ -export interface UpdateSipMediaApplicationCallRequest { - /** - *

The ID of the SIP media application handling the call.

- * @public - */ - SipMediaApplicationId: string | undefined; - - /** - *

The ID of the call transaction.

- * @public - */ - TransactionId: string | undefined; - - /** - *

Arguments made available to the Lambda function as part of the CALL_UPDATE_REQUESTED event. Can contain 0-20 key-value pairs.

- * @public - */ - Arguments: Record | undefined; -} - -/** - * @public - */ -export interface UpdateSipMediaApplicationCallResponse { - /** - *

A Call instance for a SIP media application.

- * @public - */ - SipMediaApplicationCall?: SipMediaApplicationCall | undefined; -} - -/** - * @public - */ -export interface UpdateSipRuleRequest { - /** - *

The SIP rule ID.

- * @public - */ - SipRuleId: string | undefined; - - /** - *

The new name for the specified SIP rule.

- * @public - */ - Name: string | undefined; - - /** - *

The new value specified to indicate whether the rule is disabled.

- * @public - */ - Disabled?: boolean | undefined; - - /** - *

The new value of the list of target applications.

- * @public - */ - TargetApplications?: SipRuleTargetApplication[] | undefined; -} - -/** - * @public - */ -export interface UpdateSipRuleResponse { - /** - *

Updated SIP rule details.

- * @public - */ - SipRule?: SipRule | undefined; -} - -/** - * @public - */ -export interface UpdateUserRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The user ID.

- * @public - */ - UserId: string | undefined; - - /** - *

The user license type to update. This must be a supported license type for the Amazon Chime - * account that the user belongs to.

- * @public - */ - LicenseType?: License | undefined; - - /** - *

The user type.

- * @public - */ - UserType?: UserType | undefined; - - /** - *

The Alexa for Business metadata.

- * @public - */ - AlexaForBusinessMetadata?: AlexaForBusinessMetadata | undefined; -} - -/** - * @public - */ -export interface UpdateUserResponse { - /** - *

The updated user details.

- * @public - */ - User?: User | undefined; -} - -/** - * @public - */ -export interface UpdateUserSettingsRequest { - /** - *

The Amazon Chime account ID.

- * @public - */ - AccountId: string | undefined; - - /** - *

The user ID.

- * @public - */ - UserId: string | undefined; - - /** - *

The user settings to update.

- * @public - */ - UserSettings: UserSettings | undefined; -} - -/** - * @public - */ -export interface UpdateVoiceConnectorRequest { - /** - *

The Amazon Chime Voice Connector ID.

- * @public - */ - VoiceConnectorId: string | undefined; - - /** - *

The name of the Amazon Chime Voice Connector.

- * @public - */ - Name: string | undefined; - - /** - *

When enabled, requires encryption for the Amazon Chime Voice Connector.

- * @public - */ - RequireEncryption: boolean | undefined; -} - -/** - * @public - */ -export interface UpdateVoiceConnectorResponse { - /** - *

The updated Amazon Chime Voice Connector details.

- * @public - */ - VoiceConnector?: VoiceConnector | undefined; -} - -/** - * @public - */ -export interface UpdateVoiceConnectorGroupRequest { - /** - *

The Amazon Chime Voice Connector group ID.

- * @public - */ - VoiceConnectorGroupId: string | undefined; - - /** - *

The name of the Amazon Chime Voice Connector group.

- * @public - */ - Name: string | undefined; - - /** - *

The VoiceConnectorItems to associate with the group.

- * @public - */ - VoiceConnectorItems: VoiceConnectorItem[] | undefined; -} - -/** - * @public - */ -export interface UpdateVoiceConnectorGroupResponse { - /** - *

The updated Amazon Chime Voice Connector group details.

- * @public - */ - VoiceConnectorGroup?: VoiceConnectorGroup | undefined; -} - -/** - * @public - */ -export interface ValidateE911AddressRequest { - /** - *

The AWS account ID.

- * @public - */ - AwsAccountId: string | undefined; - - /** - *

The address street number, such as 200 or 2121.

- * @public - */ - StreetNumber: string | undefined; - - /** - *

The address street information, such as 8th Avenue.

- * @public - */ - StreetInfo: string | undefined; - - /** - *

The address city, such as Portland.

- * @public - */ - City: string | undefined; - - /** - *

The address state, such as ME.

- * @public - */ - State: string | undefined; - - /** - *

The address country, such as US.

- * @public - */ - Country: string | undefined; - - /** - *

The address postal code, such as 04352.

- * @public - */ - PostalCode: string | undefined; -} - -/** - * @public - */ -export interface ValidateE911AddressResponse { - /** - *

Number indicating the result of address validation. - * 0 means the address was perfect as is and successfully validated. - * 1 means the address was corrected. 2 means the address sent was - * not close enough and was not validated.

- * @public - */ - ValidationResult?: number | undefined; - - /** - *

The ID that represents the address.

- * @public - */ - AddressExternalId?: string | undefined; - - /** - *

The validated address.

- * @public - */ - Address?: Address | undefined; - - /** - *

The list of address suggestions.

- * @public - */ - CandidateAddressList?: CandidateAddress[] | undefined; -} - -/** - * @internal - */ -export const GetRoomResponseFilterSensitiveLog = (obj: GetRoomResponse): any => ({ - ...obj, - ...(obj.Room && { Room: RoomFilterSensitiveLog(obj.Room) }), -}); - -/** - * @internal - */ -export const GetSipMediaApplicationResponseFilterSensitiveLog = (obj: GetSipMediaApplicationResponse): any => ({ - ...obj, - ...(obj.SipMediaApplication && { - SipMediaApplication: SipMediaApplicationFilterSensitiveLog(obj.SipMediaApplication), - }), -}); - -/** - * @internal - */ -export const GetUserResponseFilterSensitiveLog = (obj: GetUserResponse): any => ({ - ...obj, - ...(obj.User && { User: UserFilterSensitiveLog(obj.User) }), -}); - -/** - * @internal - */ -export const GetVoiceConnectorEmergencyCallingConfigurationResponseFilterSensitiveLog = ( - obj: GetVoiceConnectorEmergencyCallingConfigurationResponse -): any => ({ - ...obj, - ...(obj.EmergencyCallingConfiguration && { - EmergencyCallingConfiguration: EmergencyCallingConfigurationFilterSensitiveLog(obj.EmergencyCallingConfiguration), - }), -}); - -/** - * @internal - */ -export const ProxyFilterSensitiveLog = (obj: Proxy): any => ({ - ...obj, - ...(obj.FallBackPhoneNumber && { FallBackPhoneNumber: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const GetVoiceConnectorProxyResponseFilterSensitiveLog = (obj: GetVoiceConnectorProxyResponse): any => ({ - ...obj, - ...(obj.Proxy && { Proxy: ProxyFilterSensitiveLog(obj.Proxy) }), -}); - -/** - * @internal - */ -export const TerminationFilterSensitiveLog = (obj: Termination): any => ({ - ...obj, - ...(obj.DefaultPhoneNumber && { DefaultPhoneNumber: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const GetVoiceConnectorTerminationResponseFilterSensitiveLog = ( - obj: GetVoiceConnectorTerminationResponse -): any => ({ - ...obj, - ...(obj.Termination && { Termination: TerminationFilterSensitiveLog(obj.Termination) }), -}); - -/** - * @internal - */ -export const InviteFilterSensitiveLog = (obj: Invite): any => ({ - ...obj, - ...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const InviteUsersRequestFilterSensitiveLog = (obj: InviteUsersRequest): any => ({ - ...obj, - ...(obj.UserEmailList && { UserEmailList: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const InviteUsersResponseFilterSensitiveLog = (obj: InviteUsersResponse): any => ({ - ...obj, - ...(obj.Invites && { Invites: obj.Invites.map((item) => InviteFilterSensitiveLog(item)) }), -}); - -/** - * @internal - */ -export const ListAccountsRequestFilterSensitiveLog = (obj: ListAccountsRequest): any => ({ - ...obj, - ...(obj.UserEmail && { UserEmail: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ListAppInstanceAdminsRequestFilterSensitiveLog = (obj: ListAppInstanceAdminsRequest): any => ({ - ...obj, - ...(obj.NextToken && { NextToken: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ListAppInstanceAdminsResponseFilterSensitiveLog = (obj: ListAppInstanceAdminsResponse): any => ({ - ...obj, - ...(obj.AppInstanceAdmins && { - AppInstanceAdmins: obj.AppInstanceAdmins.map((item) => AppInstanceAdminSummaryFilterSensitiveLog(item)), - }), - ...(obj.NextToken && { NextToken: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ListAppInstancesRequestFilterSensitiveLog = (obj: ListAppInstancesRequest): any => ({ - ...obj, - ...(obj.NextToken && { NextToken: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ListAppInstancesResponseFilterSensitiveLog = (obj: ListAppInstancesResponse): any => ({ - ...obj, - ...(obj.AppInstances && { AppInstances: obj.AppInstances.map((item) => AppInstanceSummaryFilterSensitiveLog(item)) }), - ...(obj.NextToken && { NextToken: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ListAppInstanceUsersRequestFilterSensitiveLog = (obj: ListAppInstanceUsersRequest): any => ({ - ...obj, - ...(obj.NextToken && { NextToken: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ListAppInstanceUsersResponseFilterSensitiveLog = (obj: ListAppInstanceUsersResponse): any => ({ - ...obj, - ...(obj.AppInstanceUsers && { - AppInstanceUsers: obj.AppInstanceUsers.map((item) => AppInstanceUserSummaryFilterSensitiveLog(item)), - }), - ...(obj.NextToken && { NextToken: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ListAttendeesResponseFilterSensitiveLog = (obj: ListAttendeesResponse): any => ({ - ...obj, - ...(obj.Attendees && { Attendees: obj.Attendees.map((item) => AttendeeFilterSensitiveLog(item)) }), -}); - -/** - * @internal - */ -export const ListAttendeeTagsResponseFilterSensitiveLog = (obj: ListAttendeeTagsResponse): any => ({ - ...obj, - ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }), -}); - -/** - * @internal - */ -export const ListBotsResponseFilterSensitiveLog = (obj: ListBotsResponse): any => ({ - ...obj, - ...(obj.Bots && { Bots: obj.Bots.map((item) => BotFilterSensitiveLog(item)) }), -}); - -/** - * @internal - */ -export const ListChannelBansRequestFilterSensitiveLog = (obj: ListChannelBansRequest): any => ({ - ...obj, - ...(obj.NextToken && { NextToken: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ListChannelBansResponseFilterSensitiveLog = (obj: ListChannelBansResponse): any => ({ - ...obj, - ...(obj.NextToken && { NextToken: SENSITIVE_STRING }), - ...(obj.ChannelBans && { ChannelBans: obj.ChannelBans.map((item) => ChannelBanSummaryFilterSensitiveLog(item)) }), -}); - -/** - * @internal - */ -export const ListChannelMembershipsRequestFilterSensitiveLog = (obj: ListChannelMembershipsRequest): any => ({ - ...obj, - ...(obj.NextToken && { NextToken: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ListChannelMembershipsResponseFilterSensitiveLog = (obj: ListChannelMembershipsResponse): any => ({ - ...obj, - ...(obj.ChannelMemberships && { - ChannelMemberships: obj.ChannelMemberships.map((item) => ChannelMembershipSummaryFilterSensitiveLog(item)), - }), - ...(obj.NextToken && { NextToken: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog = ( - obj: ListChannelMembershipsForAppInstanceUserRequest -): any => ({ - ...obj, - ...(obj.NextToken && { NextToken: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog = ( - obj: ListChannelMembershipsForAppInstanceUserResponse -): any => ({ - ...obj, - ...(obj.ChannelMemberships && { - ChannelMemberships: obj.ChannelMemberships.map((item) => - ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog(item) - ), - }), - ...(obj.NextToken && { NextToken: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ListChannelMessagesRequestFilterSensitiveLog = (obj: ListChannelMessagesRequest): any => ({ - ...obj, - ...(obj.NextToken && { NextToken: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ListChannelMessagesResponseFilterSensitiveLog = (obj: ListChannelMessagesResponse): any => ({ - ...obj, - ...(obj.NextToken && { NextToken: SENSITIVE_STRING }), - ...(obj.ChannelMessages && { - ChannelMessages: obj.ChannelMessages.map((item) => ChannelMessageSummaryFilterSensitiveLog(item)), - }), -}); - -/** - * @internal - */ -export const ListChannelModeratorsRequestFilterSensitiveLog = (obj: ListChannelModeratorsRequest): any => ({ - ...obj, - ...(obj.NextToken && { NextToken: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ListChannelModeratorsResponseFilterSensitiveLog = (obj: ListChannelModeratorsResponse): any => ({ - ...obj, - ...(obj.NextToken && { NextToken: SENSITIVE_STRING }), - ...(obj.ChannelModerators && { - ChannelModerators: obj.ChannelModerators.map((item) => ChannelModeratorSummaryFilterSensitiveLog(item)), - }), -}); - -/** - * @internal - */ -export const ListChannelsRequestFilterSensitiveLog = (obj: ListChannelsRequest): any => ({ - ...obj, - ...(obj.NextToken && { NextToken: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ListChannelsResponseFilterSensitiveLog = (obj: ListChannelsResponse): any => ({ - ...obj, - ...(obj.Channels && { Channels: obj.Channels.map((item) => ChannelSummaryFilterSensitiveLog(item)) }), - ...(obj.NextToken && { NextToken: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog = ( - obj: ListChannelsModeratedByAppInstanceUserRequest -): any => ({ - ...obj, - ...(obj.NextToken && { NextToken: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog = ( - obj: ListChannelsModeratedByAppInstanceUserResponse -): any => ({ - ...obj, - ...(obj.Channels && { - Channels: obj.Channels.map((item) => ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog(item)), - }), - ...(obj.NextToken && { NextToken: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ListMediaCapturePipelinesResponseFilterSensitiveLog = (obj: ListMediaCapturePipelinesResponse): any => ({ - ...obj, - ...(obj.MediaCapturePipelines && { - MediaCapturePipelines: obj.MediaCapturePipelines.map((item) => MediaCapturePipelineFilterSensitiveLog(item)), - }), -}); - -/** - * @internal - */ -export const ListMeetingsResponseFilterSensitiveLog = (obj: ListMeetingsResponse): any => ({ - ...obj, - ...(obj.Meetings && { Meetings: obj.Meetings.map((item) => MeetingFilterSensitiveLog(item)) }), -}); - -/** - * @internal - */ -export const ListMeetingTagsResponseFilterSensitiveLog = (obj: ListMeetingTagsResponse): any => ({ - ...obj, - ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }), -}); - -/** - * @internal - */ -export const ListPhoneNumberOrdersResponseFilterSensitiveLog = (obj: ListPhoneNumberOrdersResponse): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const ListPhoneNumbersResponseFilterSensitiveLog = (obj: ListPhoneNumbersResponse): any => ({ - ...obj, - ...(obj.PhoneNumbers && { PhoneNumbers: obj.PhoneNumbers.map((item) => PhoneNumberFilterSensitiveLog(item)) }), -}); - -/** - * @internal - */ -export const ListProxySessionsResponseFilterSensitiveLog = (obj: ListProxySessionsResponse): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const ListRoomMembershipsResponseFilterSensitiveLog = (obj: ListRoomMembershipsResponse): any => ({ - ...obj, - ...(obj.RoomMemberships && { - RoomMemberships: obj.RoomMemberships.map((item) => RoomMembershipFilterSensitiveLog(item)), - }), -}); - -/** - * @internal - */ -export const ListRoomsResponseFilterSensitiveLog = (obj: ListRoomsResponse): any => ({ - ...obj, - ...(obj.Rooms && { Rooms: obj.Rooms.map((item) => RoomFilterSensitiveLog(item)) }), -}); - -/** - * @internal - */ -export const ListSipMediaApplicationsResponseFilterSensitiveLog = (obj: ListSipMediaApplicationsResponse): any => ({ - ...obj, -}); - -/** - * @internal - */ -export const ListTagsForResourceRequestFilterSensitiveLog = (obj: ListTagsForResourceRequest): any => ({ - ...obj, - ...(obj.ResourceARN && { ResourceARN: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ListTagsForResourceResponseFilterSensitiveLog = (obj: ListTagsForResourceResponse): any => ({ - ...obj, - ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }), -}); - -/** - * @internal - */ -export const ListUsersRequestFilterSensitiveLog = (obj: ListUsersRequest): any => ({ - ...obj, - ...(obj.UserEmail && { UserEmail: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ListUsersResponseFilterSensitiveLog = (obj: ListUsersResponse): any => ({ - ...obj, - ...(obj.Users && { Users: obj.Users.map((item) => UserFilterSensitiveLog(item)) }), -}); - -/** - * @internal - */ -export const ListVoiceConnectorTerminationCredentialsResponseFilterSensitiveLog = ( - obj: ListVoiceConnectorTerminationCredentialsResponse -): any => ({ - ...obj, - ...(obj.Usernames && { Usernames: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const PutAppInstanceStreamingConfigurationsRequestFilterSensitiveLog = ( - obj: PutAppInstanceStreamingConfigurationsRequest -): any => ({ - ...obj, - ...(obj.AppInstanceStreamingConfigurations && { - AppInstanceStreamingConfigurations: obj.AppInstanceStreamingConfigurations.map((item) => - AppInstanceStreamingConfigurationFilterSensitiveLog(item) - ), - }), -}); - -/** - * @internal - */ -export const PutAppInstanceStreamingConfigurationsResponseFilterSensitiveLog = ( - obj: PutAppInstanceStreamingConfigurationsResponse -): any => ({ - ...obj, - ...(obj.AppInstanceStreamingConfigurations && { - AppInstanceStreamingConfigurations: obj.AppInstanceStreamingConfigurations.map((item) => - AppInstanceStreamingConfigurationFilterSensitiveLog(item) - ), - }), -}); - -/** - * @internal - */ -export const PutEventsConfigurationRequestFilterSensitiveLog = (obj: PutEventsConfigurationRequest): any => ({ - ...obj, - ...(obj.OutboundEventsHTTPSEndpoint && { OutboundEventsHTTPSEndpoint: SENSITIVE_STRING }), - ...(obj.LambdaFunctionArn && { LambdaFunctionArn: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const PutEventsConfigurationResponseFilterSensitiveLog = (obj: PutEventsConfigurationResponse): any => ({ - ...obj, - ...(obj.EventsConfiguration && { - EventsConfiguration: EventsConfigurationFilterSensitiveLog(obj.EventsConfiguration), - }), -}); - -/** - * @internal - */ -export const PutVoiceConnectorEmergencyCallingConfigurationRequestFilterSensitiveLog = ( - obj: PutVoiceConnectorEmergencyCallingConfigurationRequest -): any => ({ - ...obj, - ...(obj.EmergencyCallingConfiguration && { - EmergencyCallingConfiguration: EmergencyCallingConfigurationFilterSensitiveLog(obj.EmergencyCallingConfiguration), - }), -}); - -/** - * @internal - */ -export const PutVoiceConnectorEmergencyCallingConfigurationResponseFilterSensitiveLog = ( - obj: PutVoiceConnectorEmergencyCallingConfigurationResponse -): any => ({ - ...obj, - ...(obj.EmergencyCallingConfiguration && { - EmergencyCallingConfiguration: EmergencyCallingConfigurationFilterSensitiveLog(obj.EmergencyCallingConfiguration), - }), -}); - -/** - * @internal - */ -export const PutVoiceConnectorProxyRequestFilterSensitiveLog = (obj: PutVoiceConnectorProxyRequest): any => ({ - ...obj, - ...(obj.FallBackPhoneNumber && { FallBackPhoneNumber: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const PutVoiceConnectorProxyResponseFilterSensitiveLog = (obj: PutVoiceConnectorProxyResponse): any => ({ - ...obj, - ...(obj.Proxy && { Proxy: ProxyFilterSensitiveLog(obj.Proxy) }), -}); - -/** - * @internal - */ -export const PutVoiceConnectorTerminationRequestFilterSensitiveLog = ( - obj: PutVoiceConnectorTerminationRequest -): any => ({ - ...obj, - ...(obj.Termination && { Termination: TerminationFilterSensitiveLog(obj.Termination) }), -}); - -/** - * @internal - */ -export const PutVoiceConnectorTerminationResponseFilterSensitiveLog = ( - obj: PutVoiceConnectorTerminationResponse -): any => ({ - ...obj, - ...(obj.Termination && { Termination: TerminationFilterSensitiveLog(obj.Termination) }), -}); - -/** - * @internal - */ -export const PutVoiceConnectorTerminationCredentialsRequestFilterSensitiveLog = ( - obj: PutVoiceConnectorTerminationCredentialsRequest -): any => ({ - ...obj, - ...(obj.Credentials && { Credentials: obj.Credentials.map((item) => CredentialFilterSensitiveLog(item)) }), -}); - -/** - * @internal - */ -export const RegenerateSecurityTokenResponseFilterSensitiveLog = (obj: RegenerateSecurityTokenResponse): any => ({ - ...obj, - ...(obj.Bot && { Bot: BotFilterSensitiveLog(obj.Bot) }), -}); - -/** - * @internal - */ -export const ResetPersonalPINResponseFilterSensitiveLog = (obj: ResetPersonalPINResponse): any => ({ - ...obj, - ...(obj.User && { User: UserFilterSensitiveLog(obj.User) }), -}); - -/** - * @internal - */ -export const RestorePhoneNumberResponseFilterSensitiveLog = (obj: RestorePhoneNumberResponse): any => ({ - ...obj, - ...(obj.PhoneNumber && { PhoneNumber: PhoneNumberFilterSensitiveLog(obj.PhoneNumber) }), -}); - -/** - * @internal - */ -export const SearchAvailablePhoneNumbersResponseFilterSensitiveLog = ( - obj: SearchAvailablePhoneNumbersResponse -): any => ({ - ...obj, - ...(obj.E164PhoneNumbers && { E164PhoneNumbers: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const SendChannelMessageRequestFilterSensitiveLog = (obj: SendChannelMessageRequest): any => ({ - ...obj, - ...(obj.Content && { Content: SENSITIVE_STRING }), - ...(obj.Metadata && { Metadata: SENSITIVE_STRING }), - ...(obj.ClientRequestToken && { ClientRequestToken: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const TagAttendeeRequestFilterSensitiveLog = (obj: TagAttendeeRequest): any => ({ - ...obj, - ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }), -}); - -/** - * @internal - */ -export const TagMeetingRequestFilterSensitiveLog = (obj: TagMeetingRequest): any => ({ - ...obj, - ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }), -}); - -/** - * @internal - */ -export const TagResourceRequestFilterSensitiveLog = (obj: TagResourceRequest): any => ({ - ...obj, - ...(obj.ResourceARN && { ResourceARN: SENSITIVE_STRING }), - ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }), -}); - -/** - * @internal - */ -export const UntagAttendeeRequestFilterSensitiveLog = (obj: UntagAttendeeRequest): any => ({ - ...obj, - ...(obj.TagKeys && { TagKeys: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const UntagMeetingRequestFilterSensitiveLog = (obj: UntagMeetingRequest): any => ({ - ...obj, - ...(obj.TagKeys && { TagKeys: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const UntagResourceRequestFilterSensitiveLog = (obj: UntagResourceRequest): any => ({ - ...obj, - ...(obj.ResourceARN && { ResourceARN: SENSITIVE_STRING }), - ...(obj.TagKeys && { TagKeys: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const UpdateAppInstanceRequestFilterSensitiveLog = (obj: UpdateAppInstanceRequest): any => ({ - ...obj, - ...(obj.Name && { Name: SENSITIVE_STRING }), - ...(obj.Metadata && { Metadata: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const UpdateAppInstanceUserRequestFilterSensitiveLog = (obj: UpdateAppInstanceUserRequest): any => ({ - ...obj, - ...(obj.Name && { Name: SENSITIVE_STRING }), - ...(obj.Metadata && { Metadata: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const UpdateBotResponseFilterSensitiveLog = (obj: UpdateBotResponse): any => ({ - ...obj, - ...(obj.Bot && { Bot: BotFilterSensitiveLog(obj.Bot) }), -}); - -/** - * @internal - */ -export const UpdateChannelRequestFilterSensitiveLog = (obj: UpdateChannelRequest): any => ({ - ...obj, - ...(obj.Name && { Name: SENSITIVE_STRING }), - ...(obj.Metadata && { Metadata: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const UpdateChannelMessageRequestFilterSensitiveLog = (obj: UpdateChannelMessageRequest): any => ({ - ...obj, - ...(obj.Content && { Content: SENSITIVE_STRING }), - ...(obj.Metadata && { Metadata: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const UpdatePhoneNumberRequestFilterSensitiveLog = (obj: UpdatePhoneNumberRequest): any => ({ - ...obj, - ...(obj.CallingName && { CallingName: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const UpdatePhoneNumberResponseFilterSensitiveLog = (obj: UpdatePhoneNumberResponse): any => ({ - ...obj, - ...(obj.PhoneNumber && { PhoneNumber: PhoneNumberFilterSensitiveLog(obj.PhoneNumber) }), -}); - -/** - * @internal - */ -export const UpdatePhoneNumberSettingsRequestFilterSensitiveLog = (obj: UpdatePhoneNumberSettingsRequest): any => ({ - ...obj, - ...(obj.CallingName && { CallingName: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const UpdateProxySessionResponseFilterSensitiveLog = (obj: UpdateProxySessionResponse): any => ({ - ...obj, - ...(obj.ProxySession && { ProxySession: ProxySessionFilterSensitiveLog(obj.ProxySession) }), -}); - -/** - * @internal - */ -export const UpdateRoomRequestFilterSensitiveLog = (obj: UpdateRoomRequest): any => ({ - ...obj, - ...(obj.Name && { Name: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const UpdateRoomResponseFilterSensitiveLog = (obj: UpdateRoomResponse): any => ({ - ...obj, - ...(obj.Room && { Room: RoomFilterSensitiveLog(obj.Room) }), -}); - -/** - * @internal - */ -export const UpdateRoomMembershipResponseFilterSensitiveLog = (obj: UpdateRoomMembershipResponse): any => ({ - ...obj, - ...(obj.RoomMembership && { RoomMembership: RoomMembershipFilterSensitiveLog(obj.RoomMembership) }), -}); - -/** - * @internal - */ -export const UpdateSipMediaApplicationRequestFilterSensitiveLog = (obj: UpdateSipMediaApplicationRequest): any => ({ - ...obj, - ...(obj.Endpoints && { Endpoints: obj.Endpoints.map((item) => SipMediaApplicationEndpointFilterSensitiveLog(item)) }), -}); - -/** - * @internal - */ -export const UpdateSipMediaApplicationResponseFilterSensitiveLog = (obj: UpdateSipMediaApplicationResponse): any => ({ - ...obj, - ...(obj.SipMediaApplication && { - SipMediaApplication: SipMediaApplicationFilterSensitiveLog(obj.SipMediaApplication), - }), -}); - -/** - * @internal - */ -export const UpdateSipMediaApplicationCallRequestFilterSensitiveLog = ( - obj: UpdateSipMediaApplicationCallRequest -): any => ({ - ...obj, - ...(obj.Arguments && { Arguments: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const UpdateUserRequestFilterSensitiveLog = (obj: UpdateUserRequest): any => ({ - ...obj, - ...(obj.AlexaForBusinessMetadata && { - AlexaForBusinessMetadata: AlexaForBusinessMetadataFilterSensitiveLog(obj.AlexaForBusinessMetadata), - }), -}); - -/** - * @internal - */ -export const UpdateUserResponseFilterSensitiveLog = (obj: UpdateUserResponse): any => ({ - ...obj, - ...(obj.User && { User: UserFilterSensitiveLog(obj.User) }), -}); - -/** - * @internal - */ -export const ValidateE911AddressRequestFilterSensitiveLog = (obj: ValidateE911AddressRequest): any => ({ - ...obj, - ...(obj.StreetNumber && { StreetNumber: SENSITIVE_STRING }), - ...(obj.StreetInfo && { StreetInfo: SENSITIVE_STRING }), - ...(obj.City && { City: SENSITIVE_STRING }), - ...(obj.State && { State: SENSITIVE_STRING }), - ...(obj.Country && { Country: SENSITIVE_STRING }), - ...(obj.PostalCode && { PostalCode: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ValidateE911AddressResponseFilterSensitiveLog = (obj: ValidateE911AddressResponse): any => ({ - ...obj, - ...(obj.Address && { Address: AddressFilterSensitiveLog(obj.Address) }), - ...(obj.CandidateAddressList && { - CandidateAddressList: obj.CandidateAddressList.map((item) => CandidateAddressFilterSensitiveLog(item)), - }), -}); diff --git a/clients/client-chime/src/pagination/ListAppInstanceAdminsPaginator.ts b/clients/client-chime/src/pagination/ListAppInstanceAdminsPaginator.ts deleted file mode 100644 index 84cf5fb0fb01..000000000000 --- a/clients/client-chime/src/pagination/ListAppInstanceAdminsPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { ChimeClient } from "../ChimeClient"; -import { - ListAppInstanceAdminsCommand, - ListAppInstanceAdminsCommandInput, - ListAppInstanceAdminsCommandOutput, -} from "../commands/ListAppInstanceAdminsCommand"; -import { ChimePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListAppInstanceAdmins: ( - config: ChimePaginationConfiguration, - input: ListAppInstanceAdminsCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - ChimePaginationConfiguration, - ListAppInstanceAdminsCommandInput, - ListAppInstanceAdminsCommandOutput ->(ChimeClient, ListAppInstanceAdminsCommand, "NextToken", "NextToken", "MaxResults"); diff --git a/clients/client-chime/src/pagination/ListAppInstanceUsersPaginator.ts b/clients/client-chime/src/pagination/ListAppInstanceUsersPaginator.ts deleted file mode 100644 index 7b1f7778498f..000000000000 --- a/clients/client-chime/src/pagination/ListAppInstanceUsersPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { ChimeClient } from "../ChimeClient"; -import { - ListAppInstanceUsersCommand, - ListAppInstanceUsersCommandInput, - ListAppInstanceUsersCommandOutput, -} from "../commands/ListAppInstanceUsersCommand"; -import { ChimePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListAppInstanceUsers: ( - config: ChimePaginationConfiguration, - input: ListAppInstanceUsersCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - ChimePaginationConfiguration, - ListAppInstanceUsersCommandInput, - ListAppInstanceUsersCommandOutput ->(ChimeClient, ListAppInstanceUsersCommand, "NextToken", "NextToken", "MaxResults"); diff --git a/clients/client-chime/src/pagination/ListAppInstancesPaginator.ts b/clients/client-chime/src/pagination/ListAppInstancesPaginator.ts deleted file mode 100644 index ab30f715cdc4..000000000000 --- a/clients/client-chime/src/pagination/ListAppInstancesPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { ChimeClient } from "../ChimeClient"; -import { - ListAppInstancesCommand, - ListAppInstancesCommandInput, - ListAppInstancesCommandOutput, -} from "../commands/ListAppInstancesCommand"; -import { ChimePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListAppInstances: ( - config: ChimePaginationConfiguration, - input: ListAppInstancesCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - ChimePaginationConfiguration, - ListAppInstancesCommandInput, - ListAppInstancesCommandOutput ->(ChimeClient, ListAppInstancesCommand, "NextToken", "NextToken", "MaxResults"); diff --git a/clients/client-chime/src/pagination/ListAttendeesPaginator.ts b/clients/client-chime/src/pagination/ListAttendeesPaginator.ts deleted file mode 100644 index 0b40ed2ef806..000000000000 --- a/clients/client-chime/src/pagination/ListAttendeesPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { ChimeClient } from "../ChimeClient"; -import { - ListAttendeesCommand, - ListAttendeesCommandInput, - ListAttendeesCommandOutput, -} from "../commands/ListAttendeesCommand"; -import { ChimePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListAttendees: ( - config: ChimePaginationConfiguration, - input: ListAttendeesCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - ChimePaginationConfiguration, - ListAttendeesCommandInput, - ListAttendeesCommandOutput ->(ChimeClient, ListAttendeesCommand, "NextToken", "NextToken", "MaxResults"); diff --git a/clients/client-chime/src/pagination/ListChannelBansPaginator.ts b/clients/client-chime/src/pagination/ListChannelBansPaginator.ts deleted file mode 100644 index 5fe7521343b7..000000000000 --- a/clients/client-chime/src/pagination/ListChannelBansPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { ChimeClient } from "../ChimeClient"; -import { - ListChannelBansCommand, - ListChannelBansCommandInput, - ListChannelBansCommandOutput, -} from "../commands/ListChannelBansCommand"; -import { ChimePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListChannelBans: ( - config: ChimePaginationConfiguration, - input: ListChannelBansCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - ChimePaginationConfiguration, - ListChannelBansCommandInput, - ListChannelBansCommandOutput ->(ChimeClient, ListChannelBansCommand, "NextToken", "NextToken", "MaxResults"); diff --git a/clients/client-chime/src/pagination/ListChannelMembershipsForAppInstanceUserPaginator.ts b/clients/client-chime/src/pagination/ListChannelMembershipsForAppInstanceUserPaginator.ts deleted file mode 100644 index 5e00031f4ab9..000000000000 --- a/clients/client-chime/src/pagination/ListChannelMembershipsForAppInstanceUserPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { ChimeClient } from "../ChimeClient"; -import { - ListChannelMembershipsForAppInstanceUserCommand, - ListChannelMembershipsForAppInstanceUserCommandInput, - ListChannelMembershipsForAppInstanceUserCommandOutput, -} from "../commands/ListChannelMembershipsForAppInstanceUserCommand"; -import { ChimePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListChannelMembershipsForAppInstanceUser: ( - config: ChimePaginationConfiguration, - input: ListChannelMembershipsForAppInstanceUserCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - ChimePaginationConfiguration, - ListChannelMembershipsForAppInstanceUserCommandInput, - ListChannelMembershipsForAppInstanceUserCommandOutput ->(ChimeClient, ListChannelMembershipsForAppInstanceUserCommand, "NextToken", "NextToken", "MaxResults"); diff --git a/clients/client-chime/src/pagination/ListChannelMembershipsPaginator.ts b/clients/client-chime/src/pagination/ListChannelMembershipsPaginator.ts deleted file mode 100644 index 44928fd10d9a..000000000000 --- a/clients/client-chime/src/pagination/ListChannelMembershipsPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { ChimeClient } from "../ChimeClient"; -import { - ListChannelMembershipsCommand, - ListChannelMembershipsCommandInput, - ListChannelMembershipsCommandOutput, -} from "../commands/ListChannelMembershipsCommand"; -import { ChimePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListChannelMemberships: ( - config: ChimePaginationConfiguration, - input: ListChannelMembershipsCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - ChimePaginationConfiguration, - ListChannelMembershipsCommandInput, - ListChannelMembershipsCommandOutput ->(ChimeClient, ListChannelMembershipsCommand, "NextToken", "NextToken", "MaxResults"); diff --git a/clients/client-chime/src/pagination/ListChannelMessagesPaginator.ts b/clients/client-chime/src/pagination/ListChannelMessagesPaginator.ts deleted file mode 100644 index f675d3025e8f..000000000000 --- a/clients/client-chime/src/pagination/ListChannelMessagesPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { ChimeClient } from "../ChimeClient"; -import { - ListChannelMessagesCommand, - ListChannelMessagesCommandInput, - ListChannelMessagesCommandOutput, -} from "../commands/ListChannelMessagesCommand"; -import { ChimePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListChannelMessages: ( - config: ChimePaginationConfiguration, - input: ListChannelMessagesCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - ChimePaginationConfiguration, - ListChannelMessagesCommandInput, - ListChannelMessagesCommandOutput ->(ChimeClient, ListChannelMessagesCommand, "NextToken", "NextToken", "MaxResults"); diff --git a/clients/client-chime/src/pagination/ListChannelModeratorsPaginator.ts b/clients/client-chime/src/pagination/ListChannelModeratorsPaginator.ts deleted file mode 100644 index 748d2f9605a7..000000000000 --- a/clients/client-chime/src/pagination/ListChannelModeratorsPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { ChimeClient } from "../ChimeClient"; -import { - ListChannelModeratorsCommand, - ListChannelModeratorsCommandInput, - ListChannelModeratorsCommandOutput, -} from "../commands/ListChannelModeratorsCommand"; -import { ChimePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListChannelModerators: ( - config: ChimePaginationConfiguration, - input: ListChannelModeratorsCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - ChimePaginationConfiguration, - ListChannelModeratorsCommandInput, - ListChannelModeratorsCommandOutput ->(ChimeClient, ListChannelModeratorsCommand, "NextToken", "NextToken", "MaxResults"); diff --git a/clients/client-chime/src/pagination/ListChannelsModeratedByAppInstanceUserPaginator.ts b/clients/client-chime/src/pagination/ListChannelsModeratedByAppInstanceUserPaginator.ts deleted file mode 100644 index faa2f0e80980..000000000000 --- a/clients/client-chime/src/pagination/ListChannelsModeratedByAppInstanceUserPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { ChimeClient } from "../ChimeClient"; -import { - ListChannelsModeratedByAppInstanceUserCommand, - ListChannelsModeratedByAppInstanceUserCommandInput, - ListChannelsModeratedByAppInstanceUserCommandOutput, -} from "../commands/ListChannelsModeratedByAppInstanceUserCommand"; -import { ChimePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListChannelsModeratedByAppInstanceUser: ( - config: ChimePaginationConfiguration, - input: ListChannelsModeratedByAppInstanceUserCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - ChimePaginationConfiguration, - ListChannelsModeratedByAppInstanceUserCommandInput, - ListChannelsModeratedByAppInstanceUserCommandOutput ->(ChimeClient, ListChannelsModeratedByAppInstanceUserCommand, "NextToken", "NextToken", "MaxResults"); diff --git a/clients/client-chime/src/pagination/ListChannelsPaginator.ts b/clients/client-chime/src/pagination/ListChannelsPaginator.ts deleted file mode 100644 index 50d54f071549..000000000000 --- a/clients/client-chime/src/pagination/ListChannelsPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { ChimeClient } from "../ChimeClient"; -import { - ListChannelsCommand, - ListChannelsCommandInput, - ListChannelsCommandOutput, -} from "../commands/ListChannelsCommand"; -import { ChimePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListChannels: ( - config: ChimePaginationConfiguration, - input: ListChannelsCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - ChimePaginationConfiguration, - ListChannelsCommandInput, - ListChannelsCommandOutput ->(ChimeClient, ListChannelsCommand, "NextToken", "NextToken", "MaxResults"); diff --git a/clients/client-chime/src/pagination/ListMediaCapturePipelinesPaginator.ts b/clients/client-chime/src/pagination/ListMediaCapturePipelinesPaginator.ts deleted file mode 100644 index bad727f3ba44..000000000000 --- a/clients/client-chime/src/pagination/ListMediaCapturePipelinesPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { ChimeClient } from "../ChimeClient"; -import { - ListMediaCapturePipelinesCommand, - ListMediaCapturePipelinesCommandInput, - ListMediaCapturePipelinesCommandOutput, -} from "../commands/ListMediaCapturePipelinesCommand"; -import { ChimePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListMediaCapturePipelines: ( - config: ChimePaginationConfiguration, - input: ListMediaCapturePipelinesCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - ChimePaginationConfiguration, - ListMediaCapturePipelinesCommandInput, - ListMediaCapturePipelinesCommandOutput ->(ChimeClient, ListMediaCapturePipelinesCommand, "NextToken", "NextToken", "MaxResults"); diff --git a/clients/client-chime/src/pagination/ListMeetingsPaginator.ts b/clients/client-chime/src/pagination/ListMeetingsPaginator.ts deleted file mode 100644 index 465a62c7547a..000000000000 --- a/clients/client-chime/src/pagination/ListMeetingsPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { ChimeClient } from "../ChimeClient"; -import { - ListMeetingsCommand, - ListMeetingsCommandInput, - ListMeetingsCommandOutput, -} from "../commands/ListMeetingsCommand"; -import { ChimePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListMeetings: ( - config: ChimePaginationConfiguration, - input: ListMeetingsCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - ChimePaginationConfiguration, - ListMeetingsCommandInput, - ListMeetingsCommandOutput ->(ChimeClient, ListMeetingsCommand, "NextToken", "NextToken", "MaxResults"); diff --git a/clients/client-chime/src/pagination/ListProxySessionsPaginator.ts b/clients/client-chime/src/pagination/ListProxySessionsPaginator.ts deleted file mode 100644 index d2bf729ce9f3..000000000000 --- a/clients/client-chime/src/pagination/ListProxySessionsPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { ChimeClient } from "../ChimeClient"; -import { - ListProxySessionsCommand, - ListProxySessionsCommandInput, - ListProxySessionsCommandOutput, -} from "../commands/ListProxySessionsCommand"; -import { ChimePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListProxySessions: ( - config: ChimePaginationConfiguration, - input: ListProxySessionsCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - ChimePaginationConfiguration, - ListProxySessionsCommandInput, - ListProxySessionsCommandOutput ->(ChimeClient, ListProxySessionsCommand, "NextToken", "NextToken", "MaxResults"); diff --git a/clients/client-chime/src/pagination/ListSipMediaApplicationsPaginator.ts b/clients/client-chime/src/pagination/ListSipMediaApplicationsPaginator.ts deleted file mode 100644 index 0c1fb36d1450..000000000000 --- a/clients/client-chime/src/pagination/ListSipMediaApplicationsPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { ChimeClient } from "../ChimeClient"; -import { - ListSipMediaApplicationsCommand, - ListSipMediaApplicationsCommandInput, - ListSipMediaApplicationsCommandOutput, -} from "../commands/ListSipMediaApplicationsCommand"; -import { ChimePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListSipMediaApplications: ( - config: ChimePaginationConfiguration, - input: ListSipMediaApplicationsCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - ChimePaginationConfiguration, - ListSipMediaApplicationsCommandInput, - ListSipMediaApplicationsCommandOutput ->(ChimeClient, ListSipMediaApplicationsCommand, "NextToken", "NextToken", "MaxResults"); diff --git a/clients/client-chime/src/pagination/ListSipRulesPaginator.ts b/clients/client-chime/src/pagination/ListSipRulesPaginator.ts deleted file mode 100644 index 848b2dc76ba0..000000000000 --- a/clients/client-chime/src/pagination/ListSipRulesPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { ChimeClient } from "../ChimeClient"; -import { - ListSipRulesCommand, - ListSipRulesCommandInput, - ListSipRulesCommandOutput, -} from "../commands/ListSipRulesCommand"; -import { ChimePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListSipRules: ( - config: ChimePaginationConfiguration, - input: ListSipRulesCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - ChimePaginationConfiguration, - ListSipRulesCommandInput, - ListSipRulesCommandOutput ->(ChimeClient, ListSipRulesCommand, "NextToken", "NextToken", "MaxResults"); diff --git a/clients/client-chime/src/pagination/ListVoiceConnectorGroupsPaginator.ts b/clients/client-chime/src/pagination/ListVoiceConnectorGroupsPaginator.ts deleted file mode 100644 index 339a38baf3b8..000000000000 --- a/clients/client-chime/src/pagination/ListVoiceConnectorGroupsPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { ChimeClient } from "../ChimeClient"; -import { - ListVoiceConnectorGroupsCommand, - ListVoiceConnectorGroupsCommandInput, - ListVoiceConnectorGroupsCommandOutput, -} from "../commands/ListVoiceConnectorGroupsCommand"; -import { ChimePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListVoiceConnectorGroups: ( - config: ChimePaginationConfiguration, - input: ListVoiceConnectorGroupsCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - ChimePaginationConfiguration, - ListVoiceConnectorGroupsCommandInput, - ListVoiceConnectorGroupsCommandOutput ->(ChimeClient, ListVoiceConnectorGroupsCommand, "NextToken", "NextToken", "MaxResults"); diff --git a/clients/client-chime/src/pagination/ListVoiceConnectorsPaginator.ts b/clients/client-chime/src/pagination/ListVoiceConnectorsPaginator.ts deleted file mode 100644 index baa300933c38..000000000000 --- a/clients/client-chime/src/pagination/ListVoiceConnectorsPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { ChimeClient } from "../ChimeClient"; -import { - ListVoiceConnectorsCommand, - ListVoiceConnectorsCommandInput, - ListVoiceConnectorsCommandOutput, -} from "../commands/ListVoiceConnectorsCommand"; -import { ChimePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListVoiceConnectors: ( - config: ChimePaginationConfiguration, - input: ListVoiceConnectorsCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - ChimePaginationConfiguration, - ListVoiceConnectorsCommandInput, - ListVoiceConnectorsCommandOutput ->(ChimeClient, ListVoiceConnectorsCommand, "NextToken", "NextToken", "MaxResults"); diff --git a/clients/client-chime/src/pagination/index.ts b/clients/client-chime/src/pagination/index.ts index 1643cb2a8c2c..b5a9e064b44a 100644 --- a/clients/client-chime/src/pagination/index.ts +++ b/clients/client-chime/src/pagination/index.ts @@ -1,28 +1,10 @@ // smithy-typescript generated code export * from "./Interfaces"; export * from "./ListAccountsPaginator"; -export * from "./ListAppInstanceAdminsPaginator"; -export * from "./ListAppInstanceUsersPaginator"; -export * from "./ListAppInstancesPaginator"; -export * from "./ListAttendeesPaginator"; export * from "./ListBotsPaginator"; -export * from "./ListChannelBansPaginator"; -export * from "./ListChannelMembershipsForAppInstanceUserPaginator"; -export * from "./ListChannelMembershipsPaginator"; -export * from "./ListChannelMessagesPaginator"; -export * from "./ListChannelModeratorsPaginator"; -export * from "./ListChannelsModeratedByAppInstanceUserPaginator"; -export * from "./ListChannelsPaginator"; -export * from "./ListMediaCapturePipelinesPaginator"; -export * from "./ListMeetingsPaginator"; export * from "./ListPhoneNumberOrdersPaginator"; export * from "./ListPhoneNumbersPaginator"; -export * from "./ListProxySessionsPaginator"; export * from "./ListRoomMembershipsPaginator"; export * from "./ListRoomsPaginator"; -export * from "./ListSipMediaApplicationsPaginator"; -export * from "./ListSipRulesPaginator"; export * from "./ListUsersPaginator"; -export * from "./ListVoiceConnectorGroupsPaginator"; -export * from "./ListVoiceConnectorsPaginator"; export * from "./SearchAvailablePhoneNumbersPaginator"; diff --git a/clients/client-chime/src/protocols/Aws_restJson1.ts b/clients/client-chime/src/protocols/Aws_restJson1.ts index 488b1de0a619..b9e6f0a445e9 100644 --- a/clients/client-chime/src/protocols/Aws_restJson1.ts +++ b/clients/client-chime/src/protocols/Aws_restJson1.ts @@ -1,28 +1,19 @@ // smithy-typescript generated code import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core"; import { requestBuilder as rb } from "@smithy/core"; -import { - HttpRequest as __HttpRequest, - HttpResponse as __HttpResponse, - isValidHostname as __isValidHostname, -} from "@smithy/protocol-http"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http"; import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, - expectInt32 as __expectInt32, expectNonNull as __expectNonNull, - expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, - isSerializableHeaderValue, map, - parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, - serializeDateTime as __serializeDateTime, take, withBaseException, } from "@smithy/smithy-client"; @@ -33,14 +24,6 @@ import { } from "@smithy/types"; import { v4 as generateIdempotencyToken } from "uuid"; -import { - AssociatePhoneNumbersWithVoiceConnectorCommandInput, - AssociatePhoneNumbersWithVoiceConnectorCommandOutput, -} from "../commands/AssociatePhoneNumbersWithVoiceConnectorCommand"; -import { - AssociatePhoneNumbersWithVoiceConnectorGroupCommandInput, - AssociatePhoneNumbersWithVoiceConnectorGroupCommandOutput, -} from "../commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand"; import { AssociatePhoneNumberWithUserCommandInput, AssociatePhoneNumberWithUserCommandOutput, @@ -49,14 +32,6 @@ import { AssociateSigninDelegateGroupsWithAccountCommandInput, AssociateSigninDelegateGroupsWithAccountCommandOutput, } from "../commands/AssociateSigninDelegateGroupsWithAccountCommand"; -import { - BatchCreateAttendeeCommandInput, - BatchCreateAttendeeCommandOutput, -} from "../commands/BatchCreateAttendeeCommand"; -import { - BatchCreateChannelMembershipCommandInput, - BatchCreateChannelMembershipCommandOutput, -} from "../commands/BatchCreateChannelMembershipCommand"; import { BatchCreateRoomMembershipCommandInput, BatchCreateRoomMembershipCommandOutput, @@ -73,223 +48,48 @@ import { } from "../commands/BatchUpdatePhoneNumberCommand"; import { BatchUpdateUserCommandInput, BatchUpdateUserCommandOutput } from "../commands/BatchUpdateUserCommand"; import { CreateAccountCommandInput, CreateAccountCommandOutput } from "../commands/CreateAccountCommand"; -import { - CreateAppInstanceAdminCommandInput, - CreateAppInstanceAdminCommandOutput, -} from "../commands/CreateAppInstanceAdminCommand"; -import { CreateAppInstanceCommandInput, CreateAppInstanceCommandOutput } from "../commands/CreateAppInstanceCommand"; -import { - CreateAppInstanceUserCommandInput, - CreateAppInstanceUserCommandOutput, -} from "../commands/CreateAppInstanceUserCommand"; -import { CreateAttendeeCommandInput, CreateAttendeeCommandOutput } from "../commands/CreateAttendeeCommand"; import { CreateBotCommandInput, CreateBotCommandOutput } from "../commands/CreateBotCommand"; -import { CreateChannelBanCommandInput, CreateChannelBanCommandOutput } from "../commands/CreateChannelBanCommand"; -import { CreateChannelCommandInput, CreateChannelCommandOutput } from "../commands/CreateChannelCommand"; -import { - CreateChannelMembershipCommandInput, - CreateChannelMembershipCommandOutput, -} from "../commands/CreateChannelMembershipCommand"; -import { - CreateChannelModeratorCommandInput, - CreateChannelModeratorCommandOutput, -} from "../commands/CreateChannelModeratorCommand"; -import { - CreateMediaCapturePipelineCommandInput, - CreateMediaCapturePipelineCommandOutput, -} from "../commands/CreateMediaCapturePipelineCommand"; -import { CreateMeetingCommandInput, CreateMeetingCommandOutput } from "../commands/CreateMeetingCommand"; import { CreateMeetingDialOutCommandInput, CreateMeetingDialOutCommandOutput, } from "../commands/CreateMeetingDialOutCommand"; -import { - CreateMeetingWithAttendeesCommandInput, - CreateMeetingWithAttendeesCommandOutput, -} from "../commands/CreateMeetingWithAttendeesCommand"; import { CreatePhoneNumberOrderCommandInput, CreatePhoneNumberOrderCommandOutput, } from "../commands/CreatePhoneNumberOrderCommand"; -import { CreateProxySessionCommandInput, CreateProxySessionCommandOutput } from "../commands/CreateProxySessionCommand"; import { CreateRoomCommandInput, CreateRoomCommandOutput } from "../commands/CreateRoomCommand"; import { CreateRoomMembershipCommandInput, CreateRoomMembershipCommandOutput, } from "../commands/CreateRoomMembershipCommand"; -import { - CreateSipMediaApplicationCallCommandInput, - CreateSipMediaApplicationCallCommandOutput, -} from "../commands/CreateSipMediaApplicationCallCommand"; -import { - CreateSipMediaApplicationCommandInput, - CreateSipMediaApplicationCommandOutput, -} from "../commands/CreateSipMediaApplicationCommand"; -import { CreateSipRuleCommandInput, CreateSipRuleCommandOutput } from "../commands/CreateSipRuleCommand"; import { CreateUserCommandInput, CreateUserCommandOutput } from "../commands/CreateUserCommand"; -import { - CreateVoiceConnectorCommandInput, - CreateVoiceConnectorCommandOutput, -} from "../commands/CreateVoiceConnectorCommand"; -import { - CreateVoiceConnectorGroupCommandInput, - CreateVoiceConnectorGroupCommandOutput, -} from "../commands/CreateVoiceConnectorGroupCommand"; import { DeleteAccountCommandInput, DeleteAccountCommandOutput } from "../commands/DeleteAccountCommand"; -import { - DeleteAppInstanceAdminCommandInput, - DeleteAppInstanceAdminCommandOutput, -} from "../commands/DeleteAppInstanceAdminCommand"; -import { DeleteAppInstanceCommandInput, DeleteAppInstanceCommandOutput } from "../commands/DeleteAppInstanceCommand"; -import { - DeleteAppInstanceStreamingConfigurationsCommandInput, - DeleteAppInstanceStreamingConfigurationsCommandOutput, -} from "../commands/DeleteAppInstanceStreamingConfigurationsCommand"; -import { - DeleteAppInstanceUserCommandInput, - DeleteAppInstanceUserCommandOutput, -} from "../commands/DeleteAppInstanceUserCommand"; -import { DeleteAttendeeCommandInput, DeleteAttendeeCommandOutput } from "../commands/DeleteAttendeeCommand"; -import { DeleteChannelBanCommandInput, DeleteChannelBanCommandOutput } from "../commands/DeleteChannelBanCommand"; -import { DeleteChannelCommandInput, DeleteChannelCommandOutput } from "../commands/DeleteChannelCommand"; -import { - DeleteChannelMembershipCommandInput, - DeleteChannelMembershipCommandOutput, -} from "../commands/DeleteChannelMembershipCommand"; -import { - DeleteChannelMessageCommandInput, - DeleteChannelMessageCommandOutput, -} from "../commands/DeleteChannelMessageCommand"; -import { - DeleteChannelModeratorCommandInput, - DeleteChannelModeratorCommandOutput, -} from "../commands/DeleteChannelModeratorCommand"; import { DeleteEventsConfigurationCommandInput, DeleteEventsConfigurationCommandOutput, } from "../commands/DeleteEventsConfigurationCommand"; -import { - DeleteMediaCapturePipelineCommandInput, - DeleteMediaCapturePipelineCommandOutput, -} from "../commands/DeleteMediaCapturePipelineCommand"; -import { DeleteMeetingCommandInput, DeleteMeetingCommandOutput } from "../commands/DeleteMeetingCommand"; import { DeletePhoneNumberCommandInput, DeletePhoneNumberCommandOutput } from "../commands/DeletePhoneNumberCommand"; -import { DeleteProxySessionCommandInput, DeleteProxySessionCommandOutput } from "../commands/DeleteProxySessionCommand"; import { DeleteRoomCommandInput, DeleteRoomCommandOutput } from "../commands/DeleteRoomCommand"; import { DeleteRoomMembershipCommandInput, DeleteRoomMembershipCommandOutput, } from "../commands/DeleteRoomMembershipCommand"; -import { - DeleteSipMediaApplicationCommandInput, - DeleteSipMediaApplicationCommandOutput, -} from "../commands/DeleteSipMediaApplicationCommand"; -import { DeleteSipRuleCommandInput, DeleteSipRuleCommandOutput } from "../commands/DeleteSipRuleCommand"; -import { - DeleteVoiceConnectorCommandInput, - DeleteVoiceConnectorCommandOutput, -} from "../commands/DeleteVoiceConnectorCommand"; -import { - DeleteVoiceConnectorEmergencyCallingConfigurationCommandInput, - DeleteVoiceConnectorEmergencyCallingConfigurationCommandOutput, -} from "../commands/DeleteVoiceConnectorEmergencyCallingConfigurationCommand"; -import { - DeleteVoiceConnectorGroupCommandInput, - DeleteVoiceConnectorGroupCommandOutput, -} from "../commands/DeleteVoiceConnectorGroupCommand"; -import { - DeleteVoiceConnectorOriginationCommandInput, - DeleteVoiceConnectorOriginationCommandOutput, -} from "../commands/DeleteVoiceConnectorOriginationCommand"; -import { - DeleteVoiceConnectorProxyCommandInput, - DeleteVoiceConnectorProxyCommandOutput, -} from "../commands/DeleteVoiceConnectorProxyCommand"; -import { - DeleteVoiceConnectorStreamingConfigurationCommandInput, - DeleteVoiceConnectorStreamingConfigurationCommandOutput, -} from "../commands/DeleteVoiceConnectorStreamingConfigurationCommand"; -import { - DeleteVoiceConnectorTerminationCommandInput, - DeleteVoiceConnectorTerminationCommandOutput, -} from "../commands/DeleteVoiceConnectorTerminationCommand"; -import { - DeleteVoiceConnectorTerminationCredentialsCommandInput, - DeleteVoiceConnectorTerminationCredentialsCommandOutput, -} from "../commands/DeleteVoiceConnectorTerminationCredentialsCommand"; -import { - DescribeAppInstanceAdminCommandInput, - DescribeAppInstanceAdminCommandOutput, -} from "../commands/DescribeAppInstanceAdminCommand"; -import { - DescribeAppInstanceCommandInput, - DescribeAppInstanceCommandOutput, -} from "../commands/DescribeAppInstanceCommand"; -import { - DescribeAppInstanceUserCommandInput, - DescribeAppInstanceUserCommandOutput, -} from "../commands/DescribeAppInstanceUserCommand"; -import { DescribeChannelBanCommandInput, DescribeChannelBanCommandOutput } from "../commands/DescribeChannelBanCommand"; -import { DescribeChannelCommandInput, DescribeChannelCommandOutput } from "../commands/DescribeChannelCommand"; -import { - DescribeChannelMembershipCommandInput, - DescribeChannelMembershipCommandOutput, -} from "../commands/DescribeChannelMembershipCommand"; -import { - DescribeChannelMembershipForAppInstanceUserCommandInput, - DescribeChannelMembershipForAppInstanceUserCommandOutput, -} from "../commands/DescribeChannelMembershipForAppInstanceUserCommand"; -import { - DescribeChannelModeratedByAppInstanceUserCommandInput, - DescribeChannelModeratedByAppInstanceUserCommandOutput, -} from "../commands/DescribeChannelModeratedByAppInstanceUserCommand"; -import { - DescribeChannelModeratorCommandInput, - DescribeChannelModeratorCommandOutput, -} from "../commands/DescribeChannelModeratorCommand"; import { DisassociatePhoneNumberFromUserCommandInput, DisassociatePhoneNumberFromUserCommandOutput, } from "../commands/DisassociatePhoneNumberFromUserCommand"; -import { - DisassociatePhoneNumbersFromVoiceConnectorCommandInput, - DisassociatePhoneNumbersFromVoiceConnectorCommandOutput, -} from "../commands/DisassociatePhoneNumbersFromVoiceConnectorCommand"; -import { - DisassociatePhoneNumbersFromVoiceConnectorGroupCommandInput, - DisassociatePhoneNumbersFromVoiceConnectorGroupCommandOutput, -} from "../commands/DisassociatePhoneNumbersFromVoiceConnectorGroupCommand"; import { DisassociateSigninDelegateGroupsFromAccountCommandInput, DisassociateSigninDelegateGroupsFromAccountCommandOutput, } from "../commands/DisassociateSigninDelegateGroupsFromAccountCommand"; import { GetAccountCommandInput, GetAccountCommandOutput } from "../commands/GetAccountCommand"; import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "../commands/GetAccountSettingsCommand"; -import { - GetAppInstanceRetentionSettingsCommandInput, - GetAppInstanceRetentionSettingsCommandOutput, -} from "../commands/GetAppInstanceRetentionSettingsCommand"; -import { - GetAppInstanceStreamingConfigurationsCommandInput, - GetAppInstanceStreamingConfigurationsCommandOutput, -} from "../commands/GetAppInstanceStreamingConfigurationsCommand"; -import { GetAttendeeCommandInput, GetAttendeeCommandOutput } from "../commands/GetAttendeeCommand"; import { GetBotCommandInput, GetBotCommandOutput } from "../commands/GetBotCommand"; -import { GetChannelMessageCommandInput, GetChannelMessageCommandOutput } from "../commands/GetChannelMessageCommand"; import { GetEventsConfigurationCommandInput, GetEventsConfigurationCommandOutput, } from "../commands/GetEventsConfigurationCommand"; import { GetGlobalSettingsCommandInput, GetGlobalSettingsCommandOutput } from "../commands/GetGlobalSettingsCommand"; -import { - GetMediaCapturePipelineCommandInput, - GetMediaCapturePipelineCommandOutput, -} from "../commands/GetMediaCapturePipelineCommand"; -import { GetMeetingCommandInput, GetMeetingCommandOutput } from "../commands/GetMeetingCommand"; -import { - GetMessagingSessionEndpointCommandInput, - GetMessagingSessionEndpointCommandOutput, -} from "../commands/GetMessagingSessionEndpointCommand"; import { GetPhoneNumberCommandInput, GetPhoneNumberCommandOutput } from "../commands/GetPhoneNumberCommand"; import { GetPhoneNumberOrderCommandInput, @@ -299,144 +99,32 @@ import { GetPhoneNumberSettingsCommandInput, GetPhoneNumberSettingsCommandOutput, } from "../commands/GetPhoneNumberSettingsCommand"; -import { GetProxySessionCommandInput, GetProxySessionCommandOutput } from "../commands/GetProxySessionCommand"; import { GetRetentionSettingsCommandInput, GetRetentionSettingsCommandOutput, } from "../commands/GetRetentionSettingsCommand"; import { GetRoomCommandInput, GetRoomCommandOutput } from "../commands/GetRoomCommand"; -import { - GetSipMediaApplicationCommandInput, - GetSipMediaApplicationCommandOutput, -} from "../commands/GetSipMediaApplicationCommand"; -import { - GetSipMediaApplicationLoggingConfigurationCommandInput, - GetSipMediaApplicationLoggingConfigurationCommandOutput, -} from "../commands/GetSipMediaApplicationLoggingConfigurationCommand"; -import { GetSipRuleCommandInput, GetSipRuleCommandOutput } from "../commands/GetSipRuleCommand"; import { GetUserCommandInput, GetUserCommandOutput } from "../commands/GetUserCommand"; import { GetUserSettingsCommandInput, GetUserSettingsCommandOutput } from "../commands/GetUserSettingsCommand"; -import { GetVoiceConnectorCommandInput, GetVoiceConnectorCommandOutput } from "../commands/GetVoiceConnectorCommand"; -import { - GetVoiceConnectorEmergencyCallingConfigurationCommandInput, - GetVoiceConnectorEmergencyCallingConfigurationCommandOutput, -} from "../commands/GetVoiceConnectorEmergencyCallingConfigurationCommand"; -import { - GetVoiceConnectorGroupCommandInput, - GetVoiceConnectorGroupCommandOutput, -} from "../commands/GetVoiceConnectorGroupCommand"; -import { - GetVoiceConnectorLoggingConfigurationCommandInput, - GetVoiceConnectorLoggingConfigurationCommandOutput, -} from "../commands/GetVoiceConnectorLoggingConfigurationCommand"; -import { - GetVoiceConnectorOriginationCommandInput, - GetVoiceConnectorOriginationCommandOutput, -} from "../commands/GetVoiceConnectorOriginationCommand"; -import { - GetVoiceConnectorProxyCommandInput, - GetVoiceConnectorProxyCommandOutput, -} from "../commands/GetVoiceConnectorProxyCommand"; -import { - GetVoiceConnectorStreamingConfigurationCommandInput, - GetVoiceConnectorStreamingConfigurationCommandOutput, -} from "../commands/GetVoiceConnectorStreamingConfigurationCommand"; -import { - GetVoiceConnectorTerminationCommandInput, - GetVoiceConnectorTerminationCommandOutput, -} from "../commands/GetVoiceConnectorTerminationCommand"; -import { - GetVoiceConnectorTerminationHealthCommandInput, - GetVoiceConnectorTerminationHealthCommandOutput, -} from "../commands/GetVoiceConnectorTerminationHealthCommand"; import { InviteUsersCommandInput, InviteUsersCommandOutput } from "../commands/InviteUsersCommand"; import { ListAccountsCommandInput, ListAccountsCommandOutput } from "../commands/ListAccountsCommand"; -import { - ListAppInstanceAdminsCommandInput, - ListAppInstanceAdminsCommandOutput, -} from "../commands/ListAppInstanceAdminsCommand"; -import { ListAppInstancesCommandInput, ListAppInstancesCommandOutput } from "../commands/ListAppInstancesCommand"; -import { - ListAppInstanceUsersCommandInput, - ListAppInstanceUsersCommandOutput, -} from "../commands/ListAppInstanceUsersCommand"; -import { ListAttendeesCommandInput, ListAttendeesCommandOutput } from "../commands/ListAttendeesCommand"; -import { ListAttendeeTagsCommandInput, ListAttendeeTagsCommandOutput } from "../commands/ListAttendeeTagsCommand"; import { ListBotsCommandInput, ListBotsCommandOutput } from "../commands/ListBotsCommand"; -import { ListChannelBansCommandInput, ListChannelBansCommandOutput } from "../commands/ListChannelBansCommand"; -import { - ListChannelMembershipsCommandInput, - ListChannelMembershipsCommandOutput, -} from "../commands/ListChannelMembershipsCommand"; -import { - ListChannelMembershipsForAppInstanceUserCommandInput, - ListChannelMembershipsForAppInstanceUserCommandOutput, -} from "../commands/ListChannelMembershipsForAppInstanceUserCommand"; -import { - ListChannelMessagesCommandInput, - ListChannelMessagesCommandOutput, -} from "../commands/ListChannelMessagesCommand"; -import { - ListChannelModeratorsCommandInput, - ListChannelModeratorsCommandOutput, -} from "../commands/ListChannelModeratorsCommand"; -import { ListChannelsCommandInput, ListChannelsCommandOutput } from "../commands/ListChannelsCommand"; -import { - ListChannelsModeratedByAppInstanceUserCommandInput, - ListChannelsModeratedByAppInstanceUserCommandOutput, -} from "../commands/ListChannelsModeratedByAppInstanceUserCommand"; -import { - ListMediaCapturePipelinesCommandInput, - ListMediaCapturePipelinesCommandOutput, -} from "../commands/ListMediaCapturePipelinesCommand"; -import { ListMeetingsCommandInput, ListMeetingsCommandOutput } from "../commands/ListMeetingsCommand"; -import { ListMeetingTagsCommandInput, ListMeetingTagsCommandOutput } from "../commands/ListMeetingTagsCommand"; import { ListPhoneNumberOrdersCommandInput, ListPhoneNumberOrdersCommandOutput, } from "../commands/ListPhoneNumberOrdersCommand"; import { ListPhoneNumbersCommandInput, ListPhoneNumbersCommandOutput } from "../commands/ListPhoneNumbersCommand"; -import { ListProxySessionsCommandInput, ListProxySessionsCommandOutput } from "../commands/ListProxySessionsCommand"; import { ListRoomMembershipsCommandInput, ListRoomMembershipsCommandOutput, } from "../commands/ListRoomMembershipsCommand"; import { ListRoomsCommandInput, ListRoomsCommandOutput } from "../commands/ListRoomsCommand"; -import { - ListSipMediaApplicationsCommandInput, - ListSipMediaApplicationsCommandOutput, -} from "../commands/ListSipMediaApplicationsCommand"; -import { ListSipRulesCommandInput, ListSipRulesCommandOutput } from "../commands/ListSipRulesCommand"; import { ListSupportedPhoneNumberCountriesCommandInput, ListSupportedPhoneNumberCountriesCommandOutput, } from "../commands/ListSupportedPhoneNumberCountriesCommand"; -import { - ListTagsForResourceCommandInput, - ListTagsForResourceCommandOutput, -} from "../commands/ListTagsForResourceCommand"; import { ListUsersCommandInput, ListUsersCommandOutput } from "../commands/ListUsersCommand"; -import { - ListVoiceConnectorGroupsCommandInput, - ListVoiceConnectorGroupsCommandOutput, -} from "../commands/ListVoiceConnectorGroupsCommand"; -import { - ListVoiceConnectorsCommandInput, - ListVoiceConnectorsCommandOutput, -} from "../commands/ListVoiceConnectorsCommand"; -import { - ListVoiceConnectorTerminationCredentialsCommandInput, - ListVoiceConnectorTerminationCredentialsCommandOutput, -} from "../commands/ListVoiceConnectorTerminationCredentialsCommand"; import { LogoutUserCommandInput, LogoutUserCommandOutput } from "../commands/LogoutUserCommand"; -import { - PutAppInstanceRetentionSettingsCommandInput, - PutAppInstanceRetentionSettingsCommandOutput, -} from "../commands/PutAppInstanceRetentionSettingsCommand"; -import { - PutAppInstanceStreamingConfigurationsCommandInput, - PutAppInstanceStreamingConfigurationsCommandOutput, -} from "../commands/PutAppInstanceStreamingConfigurationsCommand"; import { PutEventsConfigurationCommandInput, PutEventsConfigurationCommandOutput, @@ -445,42 +133,6 @@ import { PutRetentionSettingsCommandInput, PutRetentionSettingsCommandOutput, } from "../commands/PutRetentionSettingsCommand"; -import { - PutSipMediaApplicationLoggingConfigurationCommandInput, - PutSipMediaApplicationLoggingConfigurationCommandOutput, -} from "../commands/PutSipMediaApplicationLoggingConfigurationCommand"; -import { - PutVoiceConnectorEmergencyCallingConfigurationCommandInput, - PutVoiceConnectorEmergencyCallingConfigurationCommandOutput, -} from "../commands/PutVoiceConnectorEmergencyCallingConfigurationCommand"; -import { - PutVoiceConnectorLoggingConfigurationCommandInput, - PutVoiceConnectorLoggingConfigurationCommandOutput, -} from "../commands/PutVoiceConnectorLoggingConfigurationCommand"; -import { - PutVoiceConnectorOriginationCommandInput, - PutVoiceConnectorOriginationCommandOutput, -} from "../commands/PutVoiceConnectorOriginationCommand"; -import { - PutVoiceConnectorProxyCommandInput, - PutVoiceConnectorProxyCommandOutput, -} from "../commands/PutVoiceConnectorProxyCommand"; -import { - PutVoiceConnectorStreamingConfigurationCommandInput, - PutVoiceConnectorStreamingConfigurationCommandOutput, -} from "../commands/PutVoiceConnectorStreamingConfigurationCommand"; -import { - PutVoiceConnectorTerminationCommandInput, - PutVoiceConnectorTerminationCommandOutput, -} from "../commands/PutVoiceConnectorTerminationCommand"; -import { - PutVoiceConnectorTerminationCredentialsCommandInput, - PutVoiceConnectorTerminationCredentialsCommandOutput, -} from "../commands/PutVoiceConnectorTerminationCredentialsCommand"; -import { - RedactChannelMessageCommandInput, - RedactChannelMessageCommandOutput, -} from "../commands/RedactChannelMessageCommand"; import { RedactConversationMessageCommandInput, RedactConversationMessageCommandOutput, @@ -496,41 +148,12 @@ import { SearchAvailablePhoneNumbersCommandInput, SearchAvailablePhoneNumbersCommandOutput, } from "../commands/SearchAvailablePhoneNumbersCommand"; -import { SendChannelMessageCommandInput, SendChannelMessageCommandOutput } from "../commands/SendChannelMessageCommand"; -import { - StartMeetingTranscriptionCommandInput, - StartMeetingTranscriptionCommandOutput, -} from "../commands/StartMeetingTranscriptionCommand"; -import { - StopMeetingTranscriptionCommandInput, - StopMeetingTranscriptionCommandOutput, -} from "../commands/StopMeetingTranscriptionCommand"; -import { TagAttendeeCommandInput, TagAttendeeCommandOutput } from "../commands/TagAttendeeCommand"; -import { TagMeetingCommandInput, TagMeetingCommandOutput } from "../commands/TagMeetingCommand"; -import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand"; -import { UntagAttendeeCommandInput, UntagAttendeeCommandOutput } from "../commands/UntagAttendeeCommand"; -import { UntagMeetingCommandInput, UntagMeetingCommandOutput } from "../commands/UntagMeetingCommand"; -import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand"; import { UpdateAccountCommandInput, UpdateAccountCommandOutput } from "../commands/UpdateAccountCommand"; import { UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput, } from "../commands/UpdateAccountSettingsCommand"; -import { UpdateAppInstanceCommandInput, UpdateAppInstanceCommandOutput } from "../commands/UpdateAppInstanceCommand"; -import { - UpdateAppInstanceUserCommandInput, - UpdateAppInstanceUserCommandOutput, -} from "../commands/UpdateAppInstanceUserCommand"; import { UpdateBotCommandInput, UpdateBotCommandOutput } from "../commands/UpdateBotCommand"; -import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "../commands/UpdateChannelCommand"; -import { - UpdateChannelMessageCommandInput, - UpdateChannelMessageCommandOutput, -} from "../commands/UpdateChannelMessageCommand"; -import { - UpdateChannelReadMarkerCommandInput, - UpdateChannelReadMarkerCommandOutput, -} from "../commands/UpdateChannelReadMarkerCommand"; import { UpdateGlobalSettingsCommandInput, UpdateGlobalSettingsCommandOutput, @@ -540,177 +163,48 @@ import { UpdatePhoneNumberSettingsCommandInput, UpdatePhoneNumberSettingsCommandOutput, } from "../commands/UpdatePhoneNumberSettingsCommand"; -import { UpdateProxySessionCommandInput, UpdateProxySessionCommandOutput } from "../commands/UpdateProxySessionCommand"; import { UpdateRoomCommandInput, UpdateRoomCommandOutput } from "../commands/UpdateRoomCommand"; import { UpdateRoomMembershipCommandInput, UpdateRoomMembershipCommandOutput, } from "../commands/UpdateRoomMembershipCommand"; -import { - UpdateSipMediaApplicationCallCommandInput, - UpdateSipMediaApplicationCallCommandOutput, -} from "../commands/UpdateSipMediaApplicationCallCommand"; -import { - UpdateSipMediaApplicationCommandInput, - UpdateSipMediaApplicationCommandOutput, -} from "../commands/UpdateSipMediaApplicationCommand"; -import { UpdateSipRuleCommandInput, UpdateSipRuleCommandOutput } from "../commands/UpdateSipRuleCommand"; import { UpdateUserCommandInput, UpdateUserCommandOutput } from "../commands/UpdateUserCommand"; import { UpdateUserSettingsCommandInput, UpdateUserSettingsCommandOutput } from "../commands/UpdateUserSettingsCommand"; -import { - UpdateVoiceConnectorCommandInput, - UpdateVoiceConnectorCommandOutput, -} from "../commands/UpdateVoiceConnectorCommand"; -import { - UpdateVoiceConnectorGroupCommandInput, - UpdateVoiceConnectorGroupCommandOutput, -} from "../commands/UpdateVoiceConnectorGroupCommand"; -import { - ValidateE911AddressCommandInput, - ValidateE911AddressCommandOutput, -} from "../commands/ValidateE911AddressCommand"; import { ChimeServiceException as __BaseException } from "../models/ChimeServiceException"; import { AccessDeniedException, Account, AccountSettings, AlexaForBusinessMetadata, - AppInstance, - AppInstanceAdmin, - AppInstanceRetentionSettings, - AppInstanceStreamingConfiguration, - AppInstanceUser, - AppInstanceUserMembershipSummary, - ArtifactsConfiguration, - AudioArtifactsConfiguration, BadRequestException, Bot, BusinessCallingSettings, - Capability, - Channel, - ChannelBan, - ChannelMembership, - ChannelMembershipForAppInstanceUserSummary, - ChannelMessage, - ChannelMessageSummary, - ChannelModeratedByAppInstanceUserSummary, - ChannelModerator, - ChannelRetentionSettings, - ChannelSummary, - ChimeSdkMeetingConfiguration, ConflictException, - ContentArtifactsConfiguration, ConversationRetentionSettings, - CreateAttendeeRequestItem, - Credential, - DNISEmergencyCallingConfiguration, - EmergencyCallingConfiguration, - EngineTranscribeMedicalSettings, - EngineTranscribeSettings, ForbiddenException, - GeoMatchParams, - MediaCapturePipeline, - MeetingNotificationConfiguration, MembershipItem, NotFoundException, PhoneNumber, PhoneNumberAssociation, PhoneNumberOrder, - ProxySession, ResourceLimitExceededException, + RetentionSettings, Room, RoomMembership, - SelectedVideoStreams, + RoomRetentionSettings, ServiceFailureException, ServiceUnavailableException, SigninDelegateGroup, - SipMediaApplication, - SipMediaApplicationEndpoint, - SipRule, - SipRuleTargetApplication, - SourceConfiguration, - Tag, + TelephonySettings, ThrottledClientException, UnauthorizedClientException, UnprocessableEntityException, UpdatePhoneNumberRequestItem, UpdateUserRequestItem, User, - VideoArtifactsConfiguration, - VoiceConnector, - VoiceConnectorGroup, - VoiceConnectorItem, + UserSettings, VoiceConnectorSettings, } from "../models/models_0"; -import { - LoggingConfiguration, - Origination, - OriginationRoute, - RetentionSettings, - RoomRetentionSettings, - SipMediaApplicationLoggingConfiguration, - StreamingConfiguration, - StreamingNotificationTarget, - TelephonySettings, - Termination, - TerminationHealth, - TranscriptionConfiguration, - UserSettings, -} from "../models/models_1"; - -/** - * serializeAws_restJson1AssociatePhoneNumbersWithVoiceConnectorCommand - */ -export const se_AssociatePhoneNumbersWithVoiceConnectorCommand = async ( - input: AssociatePhoneNumbersWithVoiceConnectorCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/voice-connectors/{VoiceConnectorId}"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); - const query: any = map({ - [_o]: [, "associate-phone-numbers"], - }); - let body: any; - body = JSON.stringify( - take(input, { - E164PhoneNumbers: (_) => _json(_), - ForceAssociate: [], - }) - ); - b.m("POST").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1AssociatePhoneNumbersWithVoiceConnectorGroupCommand - */ -export const se_AssociatePhoneNumbersWithVoiceConnectorGroupCommand = async ( - input: AssociatePhoneNumbersWithVoiceConnectorGroupCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/voice-connector-groups/{VoiceConnectorGroupId}"); - b.p("VoiceConnectorGroupId", () => input.VoiceConnectorGroupId!, "{VoiceConnectorGroupId}", false); - const query: any = map({ - [_o]: [, "associate-phone-numbers"], - }); - let body: any; - body = JSON.stringify( - take(input, { - E164PhoneNumbers: (_) => _json(_), - ForceAssociate: [], - }) - ); - b.m("POST").h(headers).q(query).b(body); - return b.build(); -}; /** * serializeAws_restJson1AssociatePhoneNumberWithUserCommand @@ -765,68 +259,6 @@ export const se_AssociateSigninDelegateGroupsWithAccountCommand = async ( return b.build(); }; -/** - * serializeAws_restJson1BatchCreateAttendeeCommand - */ -export const se_BatchCreateAttendeeCommand = async ( - input: BatchCreateAttendeeCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/meetings/{MeetingId}/attendees"); - b.p("MeetingId", () => input.MeetingId!, "{MeetingId}", false); - const query: any = map({ - [_o]: [, "batch-create"], - }); - let body: any; - body = JSON.stringify( - take(input, { - Attendees: (_) => _json(_), - }) - ); - b.m("POST").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1BatchCreateChannelMembershipCommand - */ -export const se_BatchCreateChannelMembershipCommand = async ( - input: BatchCreateChannelMembershipCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - "content-type": "application/json", - [_xacb]: input[_CB]!, - }); - b.bp("/channels/{ChannelArn}/memberships"); - b.p("ChannelArn", () => input.ChannelArn!, "{ChannelArn}", false); - const query: any = map({ - [_o]: [, "batch-create"], - }); - let body: any; - body = JSON.stringify( - take(input, { - MemberArns: (_) => _json(_), - Type: [], - }) - ); - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("POST").h(headers).q(query).b(body); - return b.build(); -}; - /** * serializeAws_restJson1BatchCreateRoomMembershipCommand */ @@ -1002,122 +434,95 @@ export const se_CreateAccountCommand = async ( }; /** - * serializeAws_restJson1CreateAppInstanceCommand + * serializeAws_restJson1CreateBotCommand */ -export const se_CreateAppInstanceCommand = async ( - input: CreateAppInstanceCommandInput, +export const se_CreateBotCommand = async ( + input: CreateBotCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); const headers: any = { "content-type": "application/json", }; - b.bp("/app-instances"); + b.bp("/accounts/{AccountId}/bots"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); let body: any; body = JSON.stringify( take(input, { - ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()], - Metadata: [], - Name: [], - Tags: (_) => _json(_), + DisplayName: [], + Domain: [], }) ); - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "identity-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); b.m("POST").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1CreateAppInstanceAdminCommand + * serializeAws_restJson1CreateMeetingDialOutCommand */ -export const se_CreateAppInstanceAdminCommand = async ( - input: CreateAppInstanceAdminCommandInput, +export const se_CreateMeetingDialOutCommand = async ( + input: CreateMeetingDialOutCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); const headers: any = { "content-type": "application/json", }; - b.bp("/app-instances/{AppInstanceArn}/admins"); - b.p("AppInstanceArn", () => input.AppInstanceArn!, "{AppInstanceArn}", false); + b.bp("/meetings/{MeetingId}/dial-outs"); + b.p("MeetingId", () => input.MeetingId!, "{MeetingId}", false); let body: any; body = JSON.stringify( take(input, { - AppInstanceAdminArn: [], + FromPhoneNumber: [], + JoinToken: [], + ToPhoneNumber: [], }) ); - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "identity-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); b.m("POST").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1CreateAppInstanceUserCommand + * serializeAws_restJson1CreatePhoneNumberOrderCommand */ -export const se_CreateAppInstanceUserCommand = async ( - input: CreateAppInstanceUserCommandInput, +export const se_CreatePhoneNumberOrderCommand = async ( + input: CreatePhoneNumberOrderCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); const headers: any = { "content-type": "application/json", }; - b.bp("/app-instance-users"); + b.bp("/phone-number-orders"); let body: any; body = JSON.stringify( take(input, { - AppInstanceArn: [], - AppInstanceUserId: [], - ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()], - Metadata: [], - Name: [], - Tags: (_) => _json(_), + E164PhoneNumbers: (_) => _json(_), + ProductType: [], }) ); - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "identity-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); b.m("POST").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1CreateAttendeeCommand + * serializeAws_restJson1CreateRoomCommand */ -export const se_CreateAttendeeCommand = async ( - input: CreateAttendeeCommandInput, +export const se_CreateRoomCommand = async ( + input: CreateRoomCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); const headers: any = { "content-type": "application/json", }; - b.bp("/meetings/{MeetingId}/attendees"); - b.p("MeetingId", () => input.MeetingId!, "{MeetingId}", false); + b.bp("/accounts/{AccountId}/rooms"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); let body: any; body = JSON.stringify( take(input, { - ExternalUserId: [], - Tags: (_) => _json(_), + ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()], + Name: [], }) ); b.m("POST").h(headers).b(body); @@ -1125,23 +530,24 @@ export const se_CreateAttendeeCommand = async ( }; /** - * serializeAws_restJson1CreateBotCommand + * serializeAws_restJson1CreateRoomMembershipCommand */ -export const se_CreateBotCommand = async ( - input: CreateBotCommandInput, +export const se_CreateRoomMembershipCommand = async ( + input: CreateRoomMembershipCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); const headers: any = { "content-type": "application/json", }; - b.bp("/accounts/{AccountId}/bots"); + b.bp("/accounts/{AccountId}/rooms/{RoomId}/memberships"); b.p("AccountId", () => input.AccountId!, "{AccountId}", false); + b.p("RoomId", () => input.RoomId!, "{RoomId}", false); let body: any; body = JSON.stringify( take(input, { - DisplayName: [], - Domain: [], + MemberId: [], + Role: [], }) ); b.m("POST").h(headers).b(body); @@ -1149,243 +555,157 @@ export const se_CreateBotCommand = async ( }; /** - * serializeAws_restJson1CreateChannelCommand + * serializeAws_restJson1CreateUserCommand */ -export const se_CreateChannelCommand = async ( - input: CreateChannelCommandInput, +export const se_CreateUserCommand = async ( + input: CreateUserCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { + const headers: any = { "content-type": "application/json", - [_xacb]: input[_CB]!, + }; + b.bp("/accounts/{AccountId}/users"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); + const query: any = map({ + [_o]: [, "create"], }); - b.bp("/channels"); let body: any; body = JSON.stringify( take(input, { - AppInstanceArn: [], - ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()], - Metadata: [], - Mode: [], - Name: [], - Privacy: [], - Tags: (_) => _json(_), + Email: [], + UserType: [], + Username: [], }) ); - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("POST").h(headers).b(body); + b.m("POST").h(headers).q(query).b(body); return b.build(); }; /** - * serializeAws_restJson1CreateChannelBanCommand + * serializeAws_restJson1DeleteAccountCommand */ -export const se_CreateChannelBanCommand = async ( - input: CreateChannelBanCommandInput, +export const se_DeleteAccountCommand = async ( + input: DeleteAccountCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - "content-type": "application/json", - [_xacb]: input[_CB]!, - }); - b.bp("/channels/{ChannelArn}/bans"); - b.p("ChannelArn", () => input.ChannelArn!, "{ChannelArn}", false); + const headers: any = {}; + b.bp("/accounts/{AccountId}"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); let body: any; - body = JSON.stringify( - take(input, { - MemberArn: [], - }) - ); - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("POST").h(headers).b(body); + b.m("DELETE").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1CreateChannelMembershipCommand + * serializeAws_restJson1DeleteEventsConfigurationCommand */ -export const se_CreateChannelMembershipCommand = async ( - input: CreateChannelMembershipCommandInput, +export const se_DeleteEventsConfigurationCommand = async ( + input: DeleteEventsConfigurationCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - "content-type": "application/json", - [_xacb]: input[_CB]!, - }); - b.bp("/channels/{ChannelArn}/memberships"); - b.p("ChannelArn", () => input.ChannelArn!, "{ChannelArn}", false); + const headers: any = {}; + b.bp("/accounts/{AccountId}/bots/{BotId}/events-configuration"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); + b.p("BotId", () => input.BotId!, "{BotId}", false); let body: any; - body = JSON.stringify( - take(input, { - MemberArn: [], - Type: [], - }) - ); - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("POST").h(headers).b(body); + b.m("DELETE").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1CreateChannelModeratorCommand + * serializeAws_restJson1DeletePhoneNumberCommand */ -export const se_CreateChannelModeratorCommand = async ( - input: CreateChannelModeratorCommandInput, +export const se_DeletePhoneNumberCommand = async ( + input: DeletePhoneNumberCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - "content-type": "application/json", - [_xacb]: input[_CB]!, - }); - b.bp("/channels/{ChannelArn}/moderators"); - b.p("ChannelArn", () => input.ChannelArn!, "{ChannelArn}", false); + const headers: any = {}; + b.bp("/phone-numbers/{PhoneNumberId}"); + b.p("PhoneNumberId", () => input.PhoneNumberId!, "{PhoneNumberId}", false); let body: any; - body = JSON.stringify( - take(input, { - ChannelModeratorArn: [], - }) - ); - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("POST").h(headers).b(body); + b.m("DELETE").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1CreateMediaCapturePipelineCommand + * serializeAws_restJson1DeleteRoomCommand */ -export const se_CreateMediaCapturePipelineCommand = async ( - input: CreateMediaCapturePipelineCommandInput, +export const se_DeleteRoomCommand = async ( + input: DeleteRoomCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/media-capture-pipelines"); + const headers: any = {}; + b.bp("/accounts/{AccountId}/rooms/{RoomId}"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); + b.p("RoomId", () => input.RoomId!, "{RoomId}", false); let body: any; - body = JSON.stringify( - take(input, { - ChimeSdkMeetingConfiguration: (_) => _json(_), - ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()], - SinkArn: [], - SinkType: [], - SourceArn: [], - SourceType: [], - }) - ); - b.m("POST").h(headers).b(body); + b.m("DELETE").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1CreateMeetingCommand + * serializeAws_restJson1DeleteRoomMembershipCommand */ -export const se_CreateMeetingCommand = async ( - input: CreateMeetingCommandInput, +export const se_DeleteRoomMembershipCommand = async ( + input: DeleteRoomMembershipCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/meetings"); + const headers: any = {}; + b.bp("/accounts/{AccountId}/rooms/{RoomId}/memberships/{MemberId}"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); + b.p("RoomId", () => input.RoomId!, "{RoomId}", false); + b.p("MemberId", () => input.MemberId!, "{MemberId}", false); let body: any; - body = JSON.stringify( - take(input, { - ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()], - ExternalMeetingId: [], - MediaRegion: [], - MeetingHostId: [], - NotificationsConfiguration: (_) => _json(_), - Tags: (_) => _json(_), - }) - ); - b.m("POST").h(headers).b(body); + b.m("DELETE").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1CreateMeetingDialOutCommand + * serializeAws_restJson1DisassociatePhoneNumberFromUserCommand */ -export const se_CreateMeetingDialOutCommand = async ( - input: CreateMeetingDialOutCommandInput, +export const se_DisassociatePhoneNumberFromUserCommand = async ( + input: DisassociatePhoneNumberFromUserCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/meetings/{MeetingId}/dial-outs"); - b.p("MeetingId", () => input.MeetingId!, "{MeetingId}", false); + const headers: any = {}; + b.bp("/accounts/{AccountId}/users/{UserId}"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); + b.p("UserId", () => input.UserId!, "{UserId}", false); + const query: any = map({ + [_o]: [, "disassociate-phone-number"], + }); let body: any; - body = JSON.stringify( - take(input, { - FromPhoneNumber: [], - JoinToken: [], - ToPhoneNumber: [], - }) - ); - b.m("POST").h(headers).b(body); + b.m("POST").h(headers).q(query).b(body); return b.build(); }; /** - * serializeAws_restJson1CreateMeetingWithAttendeesCommand + * serializeAws_restJson1DisassociateSigninDelegateGroupsFromAccountCommand */ -export const se_CreateMeetingWithAttendeesCommand = async ( - input: CreateMeetingWithAttendeesCommandInput, +export const se_DisassociateSigninDelegateGroupsFromAccountCommand = async ( + input: DisassociateSigninDelegateGroupsFromAccountCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); const headers: any = { "content-type": "application/json", }; - b.bp("/meetings"); + b.bp("/accounts/{AccountId}"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); const query: any = map({ - [_o]: [, "create-attendees"], + [_o]: [, "disassociate-signin-delegate-groups"], }); let body: any; body = JSON.stringify( take(input, { - Attendees: (_) => _json(_), - ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()], - ExternalMeetingId: [], - MediaRegion: [], - MeetingHostId: [], - NotificationsConfiguration: (_) => _json(_), - Tags: (_) => _json(_), + GroupNames: (_) => _json(_), }) ); b.m("POST").h(headers).q(query).b(body); @@ -1393,6317 +713,865 @@ export const se_CreateMeetingWithAttendeesCommand = async ( }; /** - * serializeAws_restJson1CreatePhoneNumberOrderCommand + * serializeAws_restJson1GetAccountCommand */ -export const se_CreatePhoneNumberOrderCommand = async ( - input: CreatePhoneNumberOrderCommandInput, +export const se_GetAccountCommand = async ( + input: GetAccountCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/phone-number-orders"); + const headers: any = {}; + b.bp("/accounts/{AccountId}"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); let body: any; - body = JSON.stringify( - take(input, { - E164PhoneNumbers: (_) => _json(_), - ProductType: [], - }) - ); - b.m("POST").h(headers).b(body); + b.m("GET").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1CreateProxySessionCommand + * serializeAws_restJson1GetAccountSettingsCommand */ -export const se_CreateProxySessionCommand = async ( - input: CreateProxySessionCommandInput, +export const se_GetAccountSettingsCommand = async ( + input: GetAccountSettingsCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/voice-connectors/{VoiceConnectorId}/proxy-sessions"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); + const headers: any = {}; + b.bp("/accounts/{AccountId}/settings"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); let body: any; - body = JSON.stringify( - take(input, { - Capabilities: (_) => _json(_), - ExpiryMinutes: [], - GeoMatchLevel: [], - GeoMatchParams: (_) => _json(_), - Name: [], - NumberSelectionBehavior: [], - ParticipantPhoneNumbers: (_) => _json(_), - }) - ); - b.m("POST").h(headers).b(body); + b.m("GET").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1CreateRoomCommand + * serializeAws_restJson1GetBotCommand */ -export const se_CreateRoomCommand = async ( - input: CreateRoomCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { +export const se_GetBotCommand = async (input: GetBotCommandInput, context: __SerdeContext): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/accounts/{AccountId}/rooms"); + const headers: any = {}; + b.bp("/accounts/{AccountId}/bots/{BotId}"); b.p("AccountId", () => input.AccountId!, "{AccountId}", false); + b.p("BotId", () => input.BotId!, "{BotId}", false); let body: any; - body = JSON.stringify( - take(input, { - ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()], - Name: [], - }) - ); - b.m("POST").h(headers).b(body); + b.m("GET").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1CreateRoomMembershipCommand + * serializeAws_restJson1GetEventsConfigurationCommand */ -export const se_CreateRoomMembershipCommand = async ( - input: CreateRoomMembershipCommandInput, +export const se_GetEventsConfigurationCommand = async ( + input: GetEventsConfigurationCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/accounts/{AccountId}/rooms/{RoomId}/memberships"); + const headers: any = {}; + b.bp("/accounts/{AccountId}/bots/{BotId}/events-configuration"); b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - b.p("RoomId", () => input.RoomId!, "{RoomId}", false); + b.p("BotId", () => input.BotId!, "{BotId}", false); let body: any; - body = JSON.stringify( - take(input, { - MemberId: [], - Role: [], - }) - ); - b.m("POST").h(headers).b(body); + b.m("GET").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1CreateSipMediaApplicationCommand + * serializeAws_restJson1GetGlobalSettingsCommand */ -export const se_CreateSipMediaApplicationCommand = async ( - input: CreateSipMediaApplicationCommandInput, +export const se_GetGlobalSettingsCommand = async ( + input: GetGlobalSettingsCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/sip-media-applications"); + const headers: any = {}; + b.bp("/settings"); let body: any; - body = JSON.stringify( - take(input, { - AwsRegion: [], - Endpoints: (_) => _json(_), - Name: [], - }) - ); - b.m("POST").h(headers).b(body); + b.m("GET").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1CreateSipMediaApplicationCallCommand + * serializeAws_restJson1GetPhoneNumberCommand */ -export const se_CreateSipMediaApplicationCallCommand = async ( - input: CreateSipMediaApplicationCallCommandInput, +export const se_GetPhoneNumberCommand = async ( + input: GetPhoneNumberCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/sip-media-applications/{SipMediaApplicationId}/calls"); - b.p("SipMediaApplicationId", () => input.SipMediaApplicationId!, "{SipMediaApplicationId}", false); + const headers: any = {}; + b.bp("/phone-numbers/{PhoneNumberId}"); + b.p("PhoneNumberId", () => input.PhoneNumberId!, "{PhoneNumberId}", false); let body: any; - body = JSON.stringify( - take(input, { - FromPhoneNumber: [], - SipHeaders: (_) => _json(_), - ToPhoneNumber: [], - }) - ); - b.m("POST").h(headers).b(body); + b.m("GET").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1CreateSipRuleCommand + * serializeAws_restJson1GetPhoneNumberOrderCommand */ -export const se_CreateSipRuleCommand = async ( - input: CreateSipRuleCommandInput, +export const se_GetPhoneNumberOrderCommand = async ( + input: GetPhoneNumberOrderCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/sip-rules"); + const headers: any = {}; + b.bp("/phone-number-orders/{PhoneNumberOrderId}"); + b.p("PhoneNumberOrderId", () => input.PhoneNumberOrderId!, "{PhoneNumberOrderId}", false); let body: any; - body = JSON.stringify( - take(input, { - Disabled: [], - Name: [], - TargetApplications: (_) => _json(_), - TriggerType: [], - TriggerValue: [], - }) - ); - b.m("POST").h(headers).b(body); + b.m("GET").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1CreateUserCommand + * serializeAws_restJson1GetPhoneNumberSettingsCommand */ -export const se_CreateUserCommand = async ( - input: CreateUserCommandInput, +export const se_GetPhoneNumberSettingsCommand = async ( + input: GetPhoneNumberSettingsCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/accounts/{AccountId}/users"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - const query: any = map({ - [_o]: [, "create"], - }); + const headers: any = {}; + b.bp("/settings/phone-number"); let body: any; - body = JSON.stringify( - take(input, { - Email: [], - UserType: [], - Username: [], - }) - ); - b.m("POST").h(headers).q(query).b(body); + b.m("GET").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1CreateVoiceConnectorCommand + * serializeAws_restJson1GetRetentionSettingsCommand */ -export const se_CreateVoiceConnectorCommand = async ( - input: CreateVoiceConnectorCommandInput, +export const se_GetRetentionSettingsCommand = async ( + input: GetRetentionSettingsCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/voice-connectors"); + const headers: any = {}; + b.bp("/accounts/{AccountId}/retention-settings"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); let body: any; - body = JSON.stringify( - take(input, { - AwsRegion: [], - Name: [], - RequireEncryption: [], - }) - ); - b.m("POST").h(headers).b(body); + b.m("GET").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1CreateVoiceConnectorGroupCommand + * serializeAws_restJson1GetRoomCommand */ -export const se_CreateVoiceConnectorGroupCommand = async ( - input: CreateVoiceConnectorGroupCommandInput, +export const se_GetRoomCommand = async ( + input: GetRoomCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/voice-connector-groups"); + const headers: any = {}; + b.bp("/accounts/{AccountId}/rooms/{RoomId}"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); + b.p("RoomId", () => input.RoomId!, "{RoomId}", false); let body: any; - body = JSON.stringify( - take(input, { - Name: [], - VoiceConnectorItems: (_) => _json(_), - }) - ); - b.m("POST").h(headers).b(body); + b.m("GET").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1DeleteAccountCommand + * serializeAws_restJson1GetUserCommand */ -export const se_DeleteAccountCommand = async ( - input: DeleteAccountCommandInput, +export const se_GetUserCommand = async ( + input: GetUserCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); const headers: any = {}; - b.bp("/accounts/{AccountId}"); + b.bp("/accounts/{AccountId}/users/{UserId}"); b.p("AccountId", () => input.AccountId!, "{AccountId}", false); + b.p("UserId", () => input.UserId!, "{UserId}", false); let body: any; - b.m("DELETE").h(headers).b(body); + b.m("GET").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1DeleteAppInstanceCommand + * serializeAws_restJson1GetUserSettingsCommand */ -export const se_DeleteAppInstanceCommand = async ( - input: DeleteAppInstanceCommandInput, +export const se_GetUserSettingsCommand = async ( + input: GetUserSettingsCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); const headers: any = {}; - b.bp("/app-instances/{AppInstanceArn}"); - b.p("AppInstanceArn", () => input.AppInstanceArn!, "{AppInstanceArn}", false); + b.bp("/accounts/{AccountId}/users/{UserId}/settings"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); + b.p("UserId", () => input.UserId!, "{UserId}", false); let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "identity-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("DELETE").h(headers).b(body); + b.m("GET").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1DeleteAppInstanceAdminCommand + * serializeAws_restJson1InviteUsersCommand */ -export const se_DeleteAppInstanceAdminCommand = async ( - input: DeleteAppInstanceAdminCommandInput, +export const se_InviteUsersCommand = async ( + input: InviteUsersCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = {}; - b.bp("/app-instances/{AppInstanceArn}/admins/{AppInstanceAdminArn}"); - b.p("AppInstanceAdminArn", () => input.AppInstanceAdminArn!, "{AppInstanceAdminArn}", false); - b.p("AppInstanceArn", () => input.AppInstanceArn!, "{AppInstanceArn}", false); + const headers: any = { + "content-type": "application/json", + }; + b.bp("/accounts/{AccountId}/users"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); + const query: any = map({ + [_o]: [, "add"], + }); let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "identity-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("DELETE").h(headers).b(body); + body = JSON.stringify( + take(input, { + UserEmailList: (_) => _json(_), + UserType: [], + }) + ); + b.m("POST").h(headers).q(query).b(body); return b.build(); }; /** - * serializeAws_restJson1DeleteAppInstanceStreamingConfigurationsCommand + * serializeAws_restJson1ListAccountsCommand */ -export const se_DeleteAppInstanceStreamingConfigurationsCommand = async ( - input: DeleteAppInstanceStreamingConfigurationsCommandInput, +export const se_ListAccountsCommand = async ( + input: ListAccountsCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); const headers: any = {}; - b.bp("/app-instances/{AppInstanceArn}/streaming-configurations"); - b.p("AppInstanceArn", () => input.AppInstanceArn!, "{AppInstanceArn}", false); + b.bp("/accounts"); + const query: any = map({ + [_n]: [, input[_N]!], + [_ue]: [, input[_UE]!], + [_nt]: [, input[_NT]!], + [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], + }); let body: any; - b.m("DELETE").h(headers).b(body); + b.m("GET").h(headers).q(query).b(body); return b.build(); }; /** - * serializeAws_restJson1DeleteAppInstanceUserCommand + * serializeAws_restJson1ListBotsCommand */ -export const se_DeleteAppInstanceUserCommand = async ( - input: DeleteAppInstanceUserCommandInput, +export const se_ListBotsCommand = async ( + input: ListBotsCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); const headers: any = {}; - b.bp("/app-instance-users/{AppInstanceUserArn}"); - b.p("AppInstanceUserArn", () => input.AppInstanceUserArn!, "{AppInstanceUserArn}", false); + b.bp("/accounts/{AccountId}/bots"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); + const query: any = map({ + [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], + [_nt]: [, input[_NT]!], + }); let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "identity-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("DELETE").h(headers).b(body); + b.m("GET").h(headers).q(query).b(body); return b.build(); }; /** - * serializeAws_restJson1DeleteAttendeeCommand + * serializeAws_restJson1ListPhoneNumberOrdersCommand */ -export const se_DeleteAttendeeCommand = async ( - input: DeleteAttendeeCommandInput, +export const se_ListPhoneNumberOrdersCommand = async ( + input: ListPhoneNumberOrdersCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); const headers: any = {}; - b.bp("/meetings/{MeetingId}/attendees/{AttendeeId}"); - b.p("MeetingId", () => input.MeetingId!, "{MeetingId}", false); - b.p("AttendeeId", () => input.AttendeeId!, "{AttendeeId}", false); + b.bp("/phone-number-orders"); + const query: any = map({ + [_nt]: [, input[_NT]!], + [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], + }); let body: any; - b.m("DELETE").h(headers).b(body); + b.m("GET").h(headers).q(query).b(body); return b.build(); }; /** - * serializeAws_restJson1DeleteChannelCommand + * serializeAws_restJson1ListPhoneNumbersCommand */ -export const se_DeleteChannelCommand = async ( - input: DeleteChannelCommandInput, +export const se_ListPhoneNumbersCommand = async ( + input: ListPhoneNumbersCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xacb]: input[_CB]!, + const headers: any = {}; + b.bp("/phone-numbers"); + const query: any = map({ + [_s]: [, input[_S]!], + [_pt]: [, input[_PT]!], + [_fn]: [, input[_FN]!], + [_fv]: [, input[_FV]!], + [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], + [_nt]: [, input[_NT]!], }); - b.bp("/channels/{ChannelArn}"); - b.p("ChannelArn", () => input.ChannelArn!, "{ChannelArn}", false); let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("DELETE").h(headers).b(body); + b.m("GET").h(headers).q(query).b(body); return b.build(); }; /** - * serializeAws_restJson1DeleteChannelBanCommand + * serializeAws_restJson1ListRoomMembershipsCommand */ -export const se_DeleteChannelBanCommand = async ( - input: DeleteChannelBanCommandInput, +export const se_ListRoomMembershipsCommand = async ( + input: ListRoomMembershipsCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xacb]: input[_CB]!, + const headers: any = {}; + b.bp("/accounts/{AccountId}/rooms/{RoomId}/memberships"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); + b.p("RoomId", () => input.RoomId!, "{RoomId}", false); + const query: any = map({ + [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], + [_nt]: [, input[_NT]!], }); - b.bp("/channels/{ChannelArn}/bans/{MemberArn}"); - b.p("ChannelArn", () => input.ChannelArn!, "{ChannelArn}", false); - b.p("MemberArn", () => input.MemberArn!, "{MemberArn}", false); let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("DELETE").h(headers).b(body); + b.m("GET").h(headers).q(query).b(body); return b.build(); }; /** - * serializeAws_restJson1DeleteChannelMembershipCommand + * serializeAws_restJson1ListRoomsCommand */ -export const se_DeleteChannelMembershipCommand = async ( - input: DeleteChannelMembershipCommandInput, +export const se_ListRoomsCommand = async ( + input: ListRoomsCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xacb]: input[_CB]!, + const headers: any = {}; + b.bp("/accounts/{AccountId}/rooms"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); + const query: any = map({ + [_mi]: [, input[_MI]!], + [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], + [_nt]: [, input[_NT]!], }); - b.bp("/channels/{ChannelArn}/memberships/{MemberArn}"); - b.p("ChannelArn", () => input.ChannelArn!, "{ChannelArn}", false); - b.p("MemberArn", () => input.MemberArn!, "{MemberArn}", false); let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("DELETE").h(headers).b(body); + b.m("GET").h(headers).q(query).b(body); return b.build(); }; /** - * serializeAws_restJson1DeleteChannelMessageCommand + * serializeAws_restJson1ListSupportedPhoneNumberCountriesCommand */ -export const se_DeleteChannelMessageCommand = async ( - input: DeleteChannelMessageCommandInput, +export const se_ListSupportedPhoneNumberCountriesCommand = async ( + input: ListSupportedPhoneNumberCountriesCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xacb]: input[_CB]!, + const headers: any = {}; + b.bp("/phone-number-countries"); + const query: any = map({ + [_pt]: [, __expectNonNull(input[_PT]!, `ProductType`)], }); - b.bp("/channels/{ChannelArn}/messages/{MessageId}"); - b.p("ChannelArn", () => input.ChannelArn!, "{ChannelArn}", false); - b.p("MessageId", () => input.MessageId!, "{MessageId}", false); let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("DELETE").h(headers).b(body); + b.m("GET").h(headers).q(query).b(body); return b.build(); }; /** - * serializeAws_restJson1DeleteChannelModeratorCommand + * serializeAws_restJson1ListUsersCommand */ -export const se_DeleteChannelModeratorCommand = async ( - input: DeleteChannelModeratorCommandInput, +export const se_ListUsersCommand = async ( + input: ListUsersCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xacb]: input[_CB]!, + const headers: any = {}; + b.bp("/accounts/{AccountId}/users"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); + const query: any = map({ + [_ue]: [, input[_UE]!], + [_ut]: [, input[_UT]!], + [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], + [_nt]: [, input[_NT]!], }); - b.bp("/channels/{ChannelArn}/moderators/{ChannelModeratorArn}"); - b.p("ChannelArn", () => input.ChannelArn!, "{ChannelArn}", false); - b.p("ChannelModeratorArn", () => input.ChannelModeratorArn!, "{ChannelModeratorArn}", false); let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("DELETE").h(headers).b(body); + b.m("GET").h(headers).q(query).b(body); return b.build(); }; /** - * serializeAws_restJson1DeleteEventsConfigurationCommand + * serializeAws_restJson1LogoutUserCommand */ -export const se_DeleteEventsConfigurationCommand = async ( - input: DeleteEventsConfigurationCommandInput, +export const se_LogoutUserCommand = async ( + input: LogoutUserCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); const headers: any = {}; - b.bp("/accounts/{AccountId}/bots/{BotId}/events-configuration"); + b.bp("/accounts/{AccountId}/users/{UserId}"); b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - b.p("BotId", () => input.BotId!, "{BotId}", false); + b.p("UserId", () => input.UserId!, "{UserId}", false); + const query: any = map({ + [_o]: [, "logout"], + }); let body: any; - b.m("DELETE").h(headers).b(body); + b.m("POST").h(headers).q(query).b(body); return b.build(); }; /** - * serializeAws_restJson1DeleteMediaCapturePipelineCommand + * serializeAws_restJson1PutEventsConfigurationCommand */ -export const se_DeleteMediaCapturePipelineCommand = async ( - input: DeleteMediaCapturePipelineCommandInput, +export const se_PutEventsConfigurationCommand = async ( + input: PutEventsConfigurationCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = {}; - b.bp("/media-capture-pipelines/{MediaPipelineId}"); - b.p("MediaPipelineId", () => input.MediaPipelineId!, "{MediaPipelineId}", false); + const headers: any = { + "content-type": "application/json", + }; + b.bp("/accounts/{AccountId}/bots/{BotId}/events-configuration"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); + b.p("BotId", () => input.BotId!, "{BotId}", false); let body: any; - b.m("DELETE").h(headers).b(body); + body = JSON.stringify( + take(input, { + LambdaFunctionArn: [], + OutboundEventsHTTPSEndpoint: [], + }) + ); + b.m("PUT").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1DeleteMeetingCommand + * serializeAws_restJson1PutRetentionSettingsCommand */ -export const se_DeleteMeetingCommand = async ( - input: DeleteMeetingCommandInput, +export const se_PutRetentionSettingsCommand = async ( + input: PutRetentionSettingsCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = {}; - b.bp("/meetings/{MeetingId}"); - b.p("MeetingId", () => input.MeetingId!, "{MeetingId}", false); + const headers: any = { + "content-type": "application/json", + }; + b.bp("/accounts/{AccountId}/retention-settings"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); let body: any; - b.m("DELETE").h(headers).b(body); + body = JSON.stringify( + take(input, { + RetentionSettings: (_) => _json(_), + }) + ); + b.m("PUT").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1DeletePhoneNumberCommand + * serializeAws_restJson1RedactConversationMessageCommand */ -export const se_DeletePhoneNumberCommand = async ( - input: DeletePhoneNumberCommandInput, +export const se_RedactConversationMessageCommand = async ( + input: RedactConversationMessageCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); const headers: any = {}; - b.bp("/phone-numbers/{PhoneNumberId}"); - b.p("PhoneNumberId", () => input.PhoneNumberId!, "{PhoneNumberId}", false); + b.bp("/accounts/{AccountId}/conversations/{ConversationId}/messages/{MessageId}"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); + b.p("ConversationId", () => input.ConversationId!, "{ConversationId}", false); + b.p("MessageId", () => input.MessageId!, "{MessageId}", false); + const query: any = map({ + [_o]: [, "redact"], + }); let body: any; - b.m("DELETE").h(headers).b(body); + b.m("POST").h(headers).q(query).b(body); return b.build(); }; /** - * serializeAws_restJson1DeleteProxySessionCommand + * serializeAws_restJson1RedactRoomMessageCommand */ -export const se_DeleteProxySessionCommand = async ( - input: DeleteProxySessionCommandInput, +export const se_RedactRoomMessageCommand = async ( + input: RedactRoomMessageCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); const headers: any = {}; - b.bp("/voice-connectors/{VoiceConnectorId}/proxy-sessions/{ProxySessionId}"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); - b.p("ProxySessionId", () => input.ProxySessionId!, "{ProxySessionId}", false); + b.bp("/accounts/{AccountId}/rooms/{RoomId}/messages/{MessageId}"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); + b.p("RoomId", () => input.RoomId!, "{RoomId}", false); + b.p("MessageId", () => input.MessageId!, "{MessageId}", false); + const query: any = map({ + [_o]: [, "redact"], + }); let body: any; - b.m("DELETE").h(headers).b(body); + b.m("POST").h(headers).q(query).b(body); return b.build(); }; /** - * serializeAws_restJson1DeleteRoomCommand + * serializeAws_restJson1RegenerateSecurityTokenCommand */ -export const se_DeleteRoomCommand = async ( - input: DeleteRoomCommandInput, +export const se_RegenerateSecurityTokenCommand = async ( + input: RegenerateSecurityTokenCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); const headers: any = {}; - b.bp("/accounts/{AccountId}/rooms/{RoomId}"); + b.bp("/accounts/{AccountId}/bots/{BotId}"); b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - b.p("RoomId", () => input.RoomId!, "{RoomId}", false); + b.p("BotId", () => input.BotId!, "{BotId}", false); + const query: any = map({ + [_o]: [, "regenerate-security-token"], + }); let body: any; - b.m("DELETE").h(headers).b(body); + b.m("POST").h(headers).q(query).b(body); return b.build(); }; /** - * serializeAws_restJson1DeleteRoomMembershipCommand + * serializeAws_restJson1ResetPersonalPINCommand */ -export const se_DeleteRoomMembershipCommand = async ( - input: DeleteRoomMembershipCommandInput, +export const se_ResetPersonalPINCommand = async ( + input: ResetPersonalPINCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); const headers: any = {}; - b.bp("/accounts/{AccountId}/rooms/{RoomId}/memberships/{MemberId}"); + b.bp("/accounts/{AccountId}/users/{UserId}"); b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - b.p("RoomId", () => input.RoomId!, "{RoomId}", false); - b.p("MemberId", () => input.MemberId!, "{MemberId}", false); - let body: any; - b.m("DELETE").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1DeleteSipMediaApplicationCommand - */ -export const se_DeleteSipMediaApplicationCommand = async ( - input: DeleteSipMediaApplicationCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/sip-media-applications/{SipMediaApplicationId}"); - b.p("SipMediaApplicationId", () => input.SipMediaApplicationId!, "{SipMediaApplicationId}", false); - let body: any; - b.m("DELETE").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1DeleteSipRuleCommand - */ -export const se_DeleteSipRuleCommand = async ( - input: DeleteSipRuleCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/sip-rules/{SipRuleId}"); - b.p("SipRuleId", () => input.SipRuleId!, "{SipRuleId}", false); + b.p("UserId", () => input.UserId!, "{UserId}", false); + const query: any = map({ + [_o]: [, "reset-personal-pin"], + }); let body: any; - b.m("DELETE").h(headers).b(body); + b.m("POST").h(headers).q(query).b(body); return b.build(); }; /** - * serializeAws_restJson1DeleteVoiceConnectorCommand + * serializeAws_restJson1RestorePhoneNumberCommand */ -export const se_DeleteVoiceConnectorCommand = async ( - input: DeleteVoiceConnectorCommandInput, +export const se_RestorePhoneNumberCommand = async ( + input: RestorePhoneNumberCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); const headers: any = {}; - b.bp("/voice-connectors/{VoiceConnectorId}"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); + b.bp("/phone-numbers/{PhoneNumberId}"); + b.p("PhoneNumberId", () => input.PhoneNumberId!, "{PhoneNumberId}", false); + const query: any = map({ + [_o]: [, "restore"], + }); let body: any; - b.m("DELETE").h(headers).b(body); + b.m("POST").h(headers).q(query).b(body); return b.build(); }; /** - * serializeAws_restJson1DeleteVoiceConnectorEmergencyCallingConfigurationCommand + * serializeAws_restJson1SearchAvailablePhoneNumbersCommand */ -export const se_DeleteVoiceConnectorEmergencyCallingConfigurationCommand = async ( - input: DeleteVoiceConnectorEmergencyCallingConfigurationCommandInput, +export const se_SearchAvailablePhoneNumbersCommand = async ( + input: SearchAvailablePhoneNumbersCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); const headers: any = {}; - b.bp("/voice-connectors/{VoiceConnectorId}/emergency-calling-configuration"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); + b.bp("/search"); + const query: any = map({ + [_t]: [, "phone-numbers"], + [_ac]: [, input[_AC]!], + [_c]: [, input[_C]!], + [_co]: [, input[_Co]!], + [_st]: [, input[_St]!], + [_tfp]: [, input[_TFP]!], + [_pnt]: [, input[_PNT]!], + [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], + [_nt]: [, input[_NT]!], + }); let body: any; - b.m("DELETE").h(headers).b(body); + b.m("GET").h(headers).q(query).b(body); return b.build(); }; /** - * serializeAws_restJson1DeleteVoiceConnectorGroupCommand + * serializeAws_restJson1UpdateAccountCommand */ -export const se_DeleteVoiceConnectorGroupCommand = async ( - input: DeleteVoiceConnectorGroupCommandInput, +export const se_UpdateAccountCommand = async ( + input: UpdateAccountCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = {}; - b.bp("/voice-connector-groups/{VoiceConnectorGroupId}"); - b.p("VoiceConnectorGroupId", () => input.VoiceConnectorGroupId!, "{VoiceConnectorGroupId}", false); + const headers: any = { + "content-type": "application/json", + }; + b.bp("/accounts/{AccountId}"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); let body: any; - b.m("DELETE").h(headers).b(body); + body = JSON.stringify( + take(input, { + DefaultLicense: [], + Name: [], + }) + ); + b.m("POST").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1DeleteVoiceConnectorOriginationCommand + * serializeAws_restJson1UpdateAccountSettingsCommand */ -export const se_DeleteVoiceConnectorOriginationCommand = async ( - input: DeleteVoiceConnectorOriginationCommandInput, +export const se_UpdateAccountSettingsCommand = async ( + input: UpdateAccountSettingsCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = {}; - b.bp("/voice-connectors/{VoiceConnectorId}/origination"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); + const headers: any = { + "content-type": "application/json", + }; + b.bp("/accounts/{AccountId}/settings"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); let body: any; - b.m("DELETE").h(headers).b(body); + body = JSON.stringify( + take(input, { + AccountSettings: (_) => _json(_), + }) + ); + b.m("PUT").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1DeleteVoiceConnectorProxyCommand + * serializeAws_restJson1UpdateBotCommand */ -export const se_DeleteVoiceConnectorProxyCommand = async ( - input: DeleteVoiceConnectorProxyCommandInput, +export const se_UpdateBotCommand = async ( + input: UpdateBotCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = {}; - b.bp("/voice-connectors/{VoiceConnectorId}/programmable-numbers/proxy"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); + const headers: any = { + "content-type": "application/json", + }; + b.bp("/accounts/{AccountId}/bots/{BotId}"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); + b.p("BotId", () => input.BotId!, "{BotId}", false); let body: any; - b.m("DELETE").h(headers).b(body); + body = JSON.stringify( + take(input, { + Disabled: [], + }) + ); + b.m("POST").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1DeleteVoiceConnectorStreamingConfigurationCommand + * serializeAws_restJson1UpdateGlobalSettingsCommand */ -export const se_DeleteVoiceConnectorStreamingConfigurationCommand = async ( - input: DeleteVoiceConnectorStreamingConfigurationCommandInput, +export const se_UpdateGlobalSettingsCommand = async ( + input: UpdateGlobalSettingsCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = {}; - b.bp("/voice-connectors/{VoiceConnectorId}/streaming-configuration"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); + const headers: any = { + "content-type": "application/json", + }; + b.bp("/settings"); let body: any; - b.m("DELETE").h(headers).b(body); + body = JSON.stringify( + take(input, { + BusinessCalling: (_) => _json(_), + VoiceConnector: (_) => _json(_), + }) + ); + b.m("PUT").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1DeleteVoiceConnectorTerminationCommand + * serializeAws_restJson1UpdatePhoneNumberCommand */ -export const se_DeleteVoiceConnectorTerminationCommand = async ( - input: DeleteVoiceConnectorTerminationCommandInput, +export const se_UpdatePhoneNumberCommand = async ( + input: UpdatePhoneNumberCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = {}; - b.bp("/voice-connectors/{VoiceConnectorId}/termination"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); + const headers: any = { + "content-type": "application/json", + }; + b.bp("/phone-numbers/{PhoneNumberId}"); + b.p("PhoneNumberId", () => input.PhoneNumberId!, "{PhoneNumberId}", false); let body: any; - b.m("DELETE").h(headers).b(body); + body = JSON.stringify( + take(input, { + CallingName: [], + ProductType: [], + }) + ); + b.m("POST").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1DeleteVoiceConnectorTerminationCredentialsCommand + * serializeAws_restJson1UpdatePhoneNumberSettingsCommand */ -export const se_DeleteVoiceConnectorTerminationCredentialsCommand = async ( - input: DeleteVoiceConnectorTerminationCredentialsCommandInput, +export const se_UpdatePhoneNumberSettingsCommand = async ( + input: UpdatePhoneNumberSettingsCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); const headers: any = { "content-type": "application/json", }; - b.bp("/voice-connectors/{VoiceConnectorId}/termination/credentials"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); - const query: any = map({ - [_o]: [, "delete"], - }); + b.bp("/settings/phone-number"); let body: any; body = JSON.stringify( take(input, { - Usernames: (_) => _json(_), + CallingName: [], }) ); - b.m("POST").h(headers).q(query).b(body); + b.m("PUT").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1DescribeAppInstanceCommand + * serializeAws_restJson1UpdateRoomCommand */ -export const se_DescribeAppInstanceCommand = async ( - input: DescribeAppInstanceCommandInput, +export const se_UpdateRoomCommand = async ( + input: UpdateRoomCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = {}; - b.bp("/app-instances/{AppInstanceArn}"); - b.p("AppInstanceArn", () => input.AppInstanceArn!, "{AppInstanceArn}", false); + const headers: any = { + "content-type": "application/json", + }; + b.bp("/accounts/{AccountId}/rooms/{RoomId}"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); + b.p("RoomId", () => input.RoomId!, "{RoomId}", false); let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "identity-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("GET").h(headers).b(body); + body = JSON.stringify( + take(input, { + Name: [], + }) + ); + b.m("POST").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1DescribeAppInstanceAdminCommand + * serializeAws_restJson1UpdateRoomMembershipCommand */ -export const se_DescribeAppInstanceAdminCommand = async ( - input: DescribeAppInstanceAdminCommandInput, +export const se_UpdateRoomMembershipCommand = async ( + input: UpdateRoomMembershipCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = {}; - b.bp("/app-instances/{AppInstanceArn}/admins/{AppInstanceAdminArn}"); - b.p("AppInstanceAdminArn", () => input.AppInstanceAdminArn!, "{AppInstanceAdminArn}", false); - b.p("AppInstanceArn", () => input.AppInstanceArn!, "{AppInstanceArn}", false); + const headers: any = { + "content-type": "application/json", + }; + b.bp("/accounts/{AccountId}/rooms/{RoomId}/memberships/{MemberId}"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); + b.p("RoomId", () => input.RoomId!, "{RoomId}", false); + b.p("MemberId", () => input.MemberId!, "{MemberId}", false); let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "identity-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("GET").h(headers).b(body); + body = JSON.stringify( + take(input, { + Role: [], + }) + ); + b.m("POST").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1DescribeAppInstanceUserCommand + * serializeAws_restJson1UpdateUserCommand */ -export const se_DescribeAppInstanceUserCommand = async ( - input: DescribeAppInstanceUserCommandInput, +export const se_UpdateUserCommand = async ( + input: UpdateUserCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = {}; - b.bp("/app-instance-users/{AppInstanceUserArn}"); - b.p("AppInstanceUserArn", () => input.AppInstanceUserArn!, "{AppInstanceUserArn}", false); + const headers: any = { + "content-type": "application/json", + }; + b.bp("/accounts/{AccountId}/users/{UserId}"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); + b.p("UserId", () => input.UserId!, "{UserId}", false); let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "identity-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("GET").h(headers).b(body); + body = JSON.stringify( + take(input, { + AlexaForBusinessMetadata: (_) => _json(_), + LicenseType: [], + UserType: [], + }) + ); + b.m("POST").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1DescribeChannelCommand + * serializeAws_restJson1UpdateUserSettingsCommand */ -export const se_DescribeChannelCommand = async ( - input: DescribeChannelCommandInput, +export const se_UpdateUserSettingsCommand = async ( + input: UpdateUserSettingsCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xacb]: input[_CB]!, - }); - b.bp("/channels/{ChannelArn}"); - b.p("ChannelArn", () => input.ChannelArn!, "{ChannelArn}", false); + const headers: any = { + "content-type": "application/json", + }; + b.bp("/accounts/{AccountId}/users/{UserId}/settings"); + b.p("AccountId", () => input.AccountId!, "{AccountId}", false); + b.p("UserId", () => input.UserId!, "{UserId}", false); let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("GET").h(headers).b(body); + body = JSON.stringify( + take(input, { + UserSettings: (_) => _json(_), + }) + ); + b.m("PUT").h(headers).b(body); return b.build(); }; /** - * serializeAws_restJson1DescribeChannelBanCommand - */ -export const se_DescribeChannelBanCommand = async ( - input: DescribeChannelBanCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xacb]: input[_CB]!, - }); - b.bp("/channels/{ChannelArn}/bans/{MemberArn}"); - b.p("ChannelArn", () => input.ChannelArn!, "{ChannelArn}", false); - b.p("MemberArn", () => input.MemberArn!, "{MemberArn}", false); - let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1DescribeChannelMembershipCommand - */ -export const se_DescribeChannelMembershipCommand = async ( - input: DescribeChannelMembershipCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xacb]: input[_CB]!, - }); - b.bp("/channels/{ChannelArn}/memberships/{MemberArn}"); - b.p("ChannelArn", () => input.ChannelArn!, "{ChannelArn}", false); - b.p("MemberArn", () => input.MemberArn!, "{MemberArn}", false); - let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand - */ -export const se_DescribeChannelMembershipForAppInstanceUserCommand = async ( - input: DescribeChannelMembershipForAppInstanceUserCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xacb]: input[_CB]!, - }); - b.bp("/channels/{ChannelArn}"); - b.p("ChannelArn", () => input.ChannelArn!, "{ChannelArn}", false); - const query: any = map({ - [_s]: [, "app-instance-user-membership"], - [_aiua]: [, __expectNonNull(input[_AIUA]!, `AppInstanceUserArn`)], - }); - let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommand - */ -export const se_DescribeChannelModeratedByAppInstanceUserCommand = async ( - input: DescribeChannelModeratedByAppInstanceUserCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xacb]: input[_CB]!, - }); - b.bp("/channels/{ChannelArn}"); - b.p("ChannelArn", () => input.ChannelArn!, "{ChannelArn}", false); - const query: any = map({ - [_s]: [, "app-instance-user-moderated-channel"], - [_aiua]: [, __expectNonNull(input[_AIUA]!, `AppInstanceUserArn`)], - }); - let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1DescribeChannelModeratorCommand - */ -export const se_DescribeChannelModeratorCommand = async ( - input: DescribeChannelModeratorCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xacb]: input[_CB]!, - }); - b.bp("/channels/{ChannelArn}/moderators/{ChannelModeratorArn}"); - b.p("ChannelArn", () => input.ChannelArn!, "{ChannelArn}", false); - b.p("ChannelModeratorArn", () => input.ChannelModeratorArn!, "{ChannelModeratorArn}", false); - let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1DisassociatePhoneNumberFromUserCommand - */ -export const se_DisassociatePhoneNumberFromUserCommand = async ( - input: DisassociatePhoneNumberFromUserCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/accounts/{AccountId}/users/{UserId}"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - b.p("UserId", () => input.UserId!, "{UserId}", false); - const query: any = map({ - [_o]: [, "disassociate-phone-number"], - }); - let body: any; - b.m("POST").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1DisassociatePhoneNumbersFromVoiceConnectorCommand - */ -export const se_DisassociatePhoneNumbersFromVoiceConnectorCommand = async ( - input: DisassociatePhoneNumbersFromVoiceConnectorCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/voice-connectors/{VoiceConnectorId}"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); - const query: any = map({ - [_o]: [, "disassociate-phone-numbers"], - }); - let body: any; - body = JSON.stringify( - take(input, { - E164PhoneNumbers: (_) => _json(_), - }) - ); - b.m("POST").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1DisassociatePhoneNumbersFromVoiceConnectorGroupCommand - */ -export const se_DisassociatePhoneNumbersFromVoiceConnectorGroupCommand = async ( - input: DisassociatePhoneNumbersFromVoiceConnectorGroupCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/voice-connector-groups/{VoiceConnectorGroupId}"); - b.p("VoiceConnectorGroupId", () => input.VoiceConnectorGroupId!, "{VoiceConnectorGroupId}", false); - const query: any = map({ - [_o]: [, "disassociate-phone-numbers"], - }); - let body: any; - body = JSON.stringify( - take(input, { - E164PhoneNumbers: (_) => _json(_), - }) - ); - b.m("POST").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1DisassociateSigninDelegateGroupsFromAccountCommand - */ -export const se_DisassociateSigninDelegateGroupsFromAccountCommand = async ( - input: DisassociateSigninDelegateGroupsFromAccountCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/accounts/{AccountId}"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - const query: any = map({ - [_o]: [, "disassociate-signin-delegate-groups"], - }); - let body: any; - body = JSON.stringify( - take(input, { - GroupNames: (_) => _json(_), - }) - ); - b.m("POST").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetAccountCommand - */ -export const se_GetAccountCommand = async ( - input: GetAccountCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/accounts/{AccountId}"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetAccountSettingsCommand - */ -export const se_GetAccountSettingsCommand = async ( - input: GetAccountSettingsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/accounts/{AccountId}/settings"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetAppInstanceRetentionSettingsCommand - */ -export const se_GetAppInstanceRetentionSettingsCommand = async ( - input: GetAppInstanceRetentionSettingsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/app-instances/{AppInstanceArn}/retention-settings"); - b.p("AppInstanceArn", () => input.AppInstanceArn!, "{AppInstanceArn}", false); - let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "identity-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetAppInstanceStreamingConfigurationsCommand - */ -export const se_GetAppInstanceStreamingConfigurationsCommand = async ( - input: GetAppInstanceStreamingConfigurationsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/app-instances/{AppInstanceArn}/streaming-configurations"); - b.p("AppInstanceArn", () => input.AppInstanceArn!, "{AppInstanceArn}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetAttendeeCommand - */ -export const se_GetAttendeeCommand = async ( - input: GetAttendeeCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/meetings/{MeetingId}/attendees/{AttendeeId}"); - b.p("MeetingId", () => input.MeetingId!, "{MeetingId}", false); - b.p("AttendeeId", () => input.AttendeeId!, "{AttendeeId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetBotCommand - */ -export const se_GetBotCommand = async (input: GetBotCommandInput, context: __SerdeContext): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/accounts/{AccountId}/bots/{BotId}"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - b.p("BotId", () => input.BotId!, "{BotId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetChannelMessageCommand - */ -export const se_GetChannelMessageCommand = async ( - input: GetChannelMessageCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xacb]: input[_CB]!, - }); - b.bp("/channels/{ChannelArn}/messages/{MessageId}"); - b.p("ChannelArn", () => input.ChannelArn!, "{ChannelArn}", false); - b.p("MessageId", () => input.MessageId!, "{MessageId}", false); - let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetEventsConfigurationCommand - */ -export const se_GetEventsConfigurationCommand = async ( - input: GetEventsConfigurationCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/accounts/{AccountId}/bots/{BotId}/events-configuration"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - b.p("BotId", () => input.BotId!, "{BotId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetGlobalSettingsCommand - */ -export const se_GetGlobalSettingsCommand = async ( - input: GetGlobalSettingsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/settings"); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetMediaCapturePipelineCommand - */ -export const se_GetMediaCapturePipelineCommand = async ( - input: GetMediaCapturePipelineCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/media-capture-pipelines/{MediaPipelineId}"); - b.p("MediaPipelineId", () => input.MediaPipelineId!, "{MediaPipelineId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetMeetingCommand - */ -export const se_GetMeetingCommand = async ( - input: GetMeetingCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/meetings/{MeetingId}"); - b.p("MeetingId", () => input.MeetingId!, "{MeetingId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetMessagingSessionEndpointCommand - */ -export const se_GetMessagingSessionEndpointCommand = async ( - input: GetMessagingSessionEndpointCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/endpoints/messaging-session"); - let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetPhoneNumberCommand - */ -export const se_GetPhoneNumberCommand = async ( - input: GetPhoneNumberCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/phone-numbers/{PhoneNumberId}"); - b.p("PhoneNumberId", () => input.PhoneNumberId!, "{PhoneNumberId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetPhoneNumberOrderCommand - */ -export const se_GetPhoneNumberOrderCommand = async ( - input: GetPhoneNumberOrderCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/phone-number-orders/{PhoneNumberOrderId}"); - b.p("PhoneNumberOrderId", () => input.PhoneNumberOrderId!, "{PhoneNumberOrderId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetPhoneNumberSettingsCommand - */ -export const se_GetPhoneNumberSettingsCommand = async ( - input: GetPhoneNumberSettingsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/settings/phone-number"); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetProxySessionCommand - */ -export const se_GetProxySessionCommand = async ( - input: GetProxySessionCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/voice-connectors/{VoiceConnectorId}/proxy-sessions/{ProxySessionId}"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); - b.p("ProxySessionId", () => input.ProxySessionId!, "{ProxySessionId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetRetentionSettingsCommand - */ -export const se_GetRetentionSettingsCommand = async ( - input: GetRetentionSettingsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/accounts/{AccountId}/retention-settings"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetRoomCommand - */ -export const se_GetRoomCommand = async ( - input: GetRoomCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/accounts/{AccountId}/rooms/{RoomId}"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - b.p("RoomId", () => input.RoomId!, "{RoomId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetSipMediaApplicationCommand - */ -export const se_GetSipMediaApplicationCommand = async ( - input: GetSipMediaApplicationCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/sip-media-applications/{SipMediaApplicationId}"); - b.p("SipMediaApplicationId", () => input.SipMediaApplicationId!, "{SipMediaApplicationId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetSipMediaApplicationLoggingConfigurationCommand - */ -export const se_GetSipMediaApplicationLoggingConfigurationCommand = async ( - input: GetSipMediaApplicationLoggingConfigurationCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/sip-media-applications/{SipMediaApplicationId}/logging-configuration"); - b.p("SipMediaApplicationId", () => input.SipMediaApplicationId!, "{SipMediaApplicationId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetSipRuleCommand - */ -export const se_GetSipRuleCommand = async ( - input: GetSipRuleCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/sip-rules/{SipRuleId}"); - b.p("SipRuleId", () => input.SipRuleId!, "{SipRuleId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetUserCommand - */ -export const se_GetUserCommand = async ( - input: GetUserCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/accounts/{AccountId}/users/{UserId}"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - b.p("UserId", () => input.UserId!, "{UserId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetUserSettingsCommand - */ -export const se_GetUserSettingsCommand = async ( - input: GetUserSettingsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/accounts/{AccountId}/users/{UserId}/settings"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - b.p("UserId", () => input.UserId!, "{UserId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetVoiceConnectorCommand - */ -export const se_GetVoiceConnectorCommand = async ( - input: GetVoiceConnectorCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/voice-connectors/{VoiceConnectorId}"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetVoiceConnectorEmergencyCallingConfigurationCommand - */ -export const se_GetVoiceConnectorEmergencyCallingConfigurationCommand = async ( - input: GetVoiceConnectorEmergencyCallingConfigurationCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/voice-connectors/{VoiceConnectorId}/emergency-calling-configuration"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetVoiceConnectorGroupCommand - */ -export const se_GetVoiceConnectorGroupCommand = async ( - input: GetVoiceConnectorGroupCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/voice-connector-groups/{VoiceConnectorGroupId}"); - b.p("VoiceConnectorGroupId", () => input.VoiceConnectorGroupId!, "{VoiceConnectorGroupId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetVoiceConnectorLoggingConfigurationCommand - */ -export const se_GetVoiceConnectorLoggingConfigurationCommand = async ( - input: GetVoiceConnectorLoggingConfigurationCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/voice-connectors/{VoiceConnectorId}/logging-configuration"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetVoiceConnectorOriginationCommand - */ -export const se_GetVoiceConnectorOriginationCommand = async ( - input: GetVoiceConnectorOriginationCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/voice-connectors/{VoiceConnectorId}/origination"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetVoiceConnectorProxyCommand - */ -export const se_GetVoiceConnectorProxyCommand = async ( - input: GetVoiceConnectorProxyCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/voice-connectors/{VoiceConnectorId}/programmable-numbers/proxy"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetVoiceConnectorStreamingConfigurationCommand - */ -export const se_GetVoiceConnectorStreamingConfigurationCommand = async ( - input: GetVoiceConnectorStreamingConfigurationCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/voice-connectors/{VoiceConnectorId}/streaming-configuration"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetVoiceConnectorTerminationCommand - */ -export const se_GetVoiceConnectorTerminationCommand = async ( - input: GetVoiceConnectorTerminationCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/voice-connectors/{VoiceConnectorId}/termination"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetVoiceConnectorTerminationHealthCommand - */ -export const se_GetVoiceConnectorTerminationHealthCommand = async ( - input: GetVoiceConnectorTerminationHealthCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/voice-connectors/{VoiceConnectorId}/termination/health"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1InviteUsersCommand - */ -export const se_InviteUsersCommand = async ( - input: InviteUsersCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/accounts/{AccountId}/users"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - const query: any = map({ - [_o]: [, "add"], - }); - let body: any; - body = JSON.stringify( - take(input, { - UserEmailList: (_) => _json(_), - UserType: [], - }) - ); - b.m("POST").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListAccountsCommand - */ -export const se_ListAccountsCommand = async ( - input: ListAccountsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/accounts"); - const query: any = map({ - [_n]: [, input[_N]!], - [_ue]: [, input[_UE]!], - [_nt]: [, input[_NT]!], - [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListAppInstanceAdminsCommand - */ -export const se_ListAppInstanceAdminsCommand = async ( - input: ListAppInstanceAdminsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/app-instances/{AppInstanceArn}/admins"); - b.p("AppInstanceArn", () => input.AppInstanceArn!, "{AppInstanceArn}", false); - const query: any = map({ - [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - [_nt]: [, input[_NT]!], - }); - let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "identity-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListAppInstancesCommand - */ -export const se_ListAppInstancesCommand = async ( - input: ListAppInstancesCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/app-instances"); - const query: any = map({ - [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - [_nt]: [, input[_NT]!], - }); - let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "identity-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListAppInstanceUsersCommand - */ -export const se_ListAppInstanceUsersCommand = async ( - input: ListAppInstanceUsersCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/app-instance-users"); - const query: any = map({ - [_aia]: [, __expectNonNull(input[_AIA]!, `AppInstanceArn`)], - [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - [_nt]: [, input[_NT]!], - }); - let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "identity-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListAttendeesCommand - */ -export const se_ListAttendeesCommand = async ( - input: ListAttendeesCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/meetings/{MeetingId}/attendees"); - b.p("MeetingId", () => input.MeetingId!, "{MeetingId}", false); - const query: any = map({ - [_nt]: [, input[_NT]!], - [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListAttendeeTagsCommand - */ -export const se_ListAttendeeTagsCommand = async ( - input: ListAttendeeTagsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/meetings/{MeetingId}/attendees/{AttendeeId}/tags"); - b.p("MeetingId", () => input.MeetingId!, "{MeetingId}", false); - b.p("AttendeeId", () => input.AttendeeId!, "{AttendeeId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListBotsCommand - */ -export const se_ListBotsCommand = async ( - input: ListBotsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/accounts/{AccountId}/bots"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - const query: any = map({ - [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - [_nt]: [, input[_NT]!], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListChannelBansCommand - */ -export const se_ListChannelBansCommand = async ( - input: ListChannelBansCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xacb]: input[_CB]!, - }); - b.bp("/channels/{ChannelArn}/bans"); - b.p("ChannelArn", () => input.ChannelArn!, "{ChannelArn}", false); - const query: any = map({ - [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - [_nt]: [, input[_NT]!], - }); - let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListChannelMembershipsCommand - */ -export const se_ListChannelMembershipsCommand = async ( - input: ListChannelMembershipsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xacb]: input[_CB]!, - }); - b.bp("/channels/{ChannelArn}/memberships"); - b.p("ChannelArn", () => input.ChannelArn!, "{ChannelArn}", false); - const query: any = map({ - [_t]: [, input[_T]!], - [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - [_nt]: [, input[_NT]!], - }); - let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListChannelMembershipsForAppInstanceUserCommand - */ -export const se_ListChannelMembershipsForAppInstanceUserCommand = async ( - input: ListChannelMembershipsForAppInstanceUserCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xacb]: input[_CB]!, - }); - b.bp("/channels"); - const query: any = map({ - [_s]: [, "app-instance-user-memberships"], - [_aiua]: [, input[_AIUA]!], - [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - [_nt]: [, input[_NT]!], - }); - let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListChannelMessagesCommand - */ -export const se_ListChannelMessagesCommand = async ( - input: ListChannelMessagesCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xacb]: input[_CB]!, - }); - b.bp("/channels/{ChannelArn}/messages"); - b.p("ChannelArn", () => input.ChannelArn!, "{ChannelArn}", false); - const query: any = map({ - [_so]: [, input[_SO]!], - [_nb]: [() => input.NotBefore !== void 0, () => __serializeDateTime(input[_NB]!).toString()], - [_na]: [() => input.NotAfter !== void 0, () => __serializeDateTime(input[_NA]!).toString()], - [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - [_nt]: [, input[_NT]!], - }); - let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListChannelModeratorsCommand - */ -export const se_ListChannelModeratorsCommand = async ( - input: ListChannelModeratorsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xacb]: input[_CB]!, - }); - b.bp("/channels/{ChannelArn}/moderators"); - b.p("ChannelArn", () => input.ChannelArn!, "{ChannelArn}", false); - const query: any = map({ - [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - [_nt]: [, input[_NT]!], - }); - let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListChannelsCommand - */ -export const se_ListChannelsCommand = async ( - input: ListChannelsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xacb]: input[_CB]!, - }); - b.bp("/channels"); - const query: any = map({ - [_aia]: [, __expectNonNull(input[_AIA]!, `AppInstanceArn`)], - [_p]: [, input[_P]!], - [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - [_nt]: [, input[_NT]!], - }); - let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand - */ -export const se_ListChannelsModeratedByAppInstanceUserCommand = async ( - input: ListChannelsModeratedByAppInstanceUserCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xacb]: input[_CB]!, - }); - b.bp("/channels"); - const query: any = map({ - [_s]: [, "app-instance-user-moderated-channels"], - [_aiua]: [, input[_AIUA]!], - [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - [_nt]: [, input[_NT]!], - }); - let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListMediaCapturePipelinesCommand - */ -export const se_ListMediaCapturePipelinesCommand = async ( - input: ListMediaCapturePipelinesCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/media-capture-pipelines"); - const query: any = map({ - [_nt]: [, input[_NT]!], - [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListMeetingsCommand - */ -export const se_ListMeetingsCommand = async ( - input: ListMeetingsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/meetings"); - const query: any = map({ - [_nt]: [, input[_NT]!], - [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListMeetingTagsCommand - */ -export const se_ListMeetingTagsCommand = async ( - input: ListMeetingTagsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/meetings/{MeetingId}/tags"); - b.p("MeetingId", () => input.MeetingId!, "{MeetingId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListPhoneNumberOrdersCommand - */ -export const se_ListPhoneNumberOrdersCommand = async ( - input: ListPhoneNumberOrdersCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/phone-number-orders"); - const query: any = map({ - [_nt]: [, input[_NT]!], - [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListPhoneNumbersCommand - */ -export const se_ListPhoneNumbersCommand = async ( - input: ListPhoneNumbersCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/phone-numbers"); - const query: any = map({ - [_st]: [, input[_S]!], - [_pt]: [, input[_PT]!], - [_fn]: [, input[_FN]!], - [_fv]: [, input[_FV]!], - [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - [_nt]: [, input[_NT]!], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListProxySessionsCommand - */ -export const se_ListProxySessionsCommand = async ( - input: ListProxySessionsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/voice-connectors/{VoiceConnectorId}/proxy-sessions"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); - const query: any = map({ - [_st]: [, input[_S]!], - [_nt]: [, input[_NT]!], - [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListRoomMembershipsCommand - */ -export const se_ListRoomMembershipsCommand = async ( - input: ListRoomMembershipsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/accounts/{AccountId}/rooms/{RoomId}/memberships"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - b.p("RoomId", () => input.RoomId!, "{RoomId}", false); - const query: any = map({ - [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - [_nt]: [, input[_NT]!], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListRoomsCommand - */ -export const se_ListRoomsCommand = async ( - input: ListRoomsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/accounts/{AccountId}/rooms"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - const query: any = map({ - [_mi]: [, input[_MI]!], - [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - [_nt]: [, input[_NT]!], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListSipMediaApplicationsCommand - */ -export const se_ListSipMediaApplicationsCommand = async ( - input: ListSipMediaApplicationsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/sip-media-applications"); - const query: any = map({ - [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - [_nt]: [, input[_NT]!], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListSipRulesCommand - */ -export const se_ListSipRulesCommand = async ( - input: ListSipRulesCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/sip-rules"); - const query: any = map({ - [_sma]: [, input[_SMAI]!], - [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - [_nt]: [, input[_NT]!], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListSupportedPhoneNumberCountriesCommand - */ -export const se_ListSupportedPhoneNumberCountriesCommand = async ( - input: ListSupportedPhoneNumberCountriesCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/phone-number-countries"); - const query: any = map({ - [_pt]: [, __expectNonNull(input[_PT]!, `ProductType`)], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListTagsForResourceCommand - */ -export const se_ListTagsForResourceCommand = async ( - input: ListTagsForResourceCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/tags"); - const query: any = map({ - [_a]: [, __expectNonNull(input[_RARN]!, `ResourceARN`)], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListUsersCommand - */ -export const se_ListUsersCommand = async ( - input: ListUsersCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/accounts/{AccountId}/users"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - const query: any = map({ - [_ue]: [, input[_UE]!], - [_ut]: [, input[_UT]!], - [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - [_nt]: [, input[_NT]!], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListVoiceConnectorGroupsCommand - */ -export const se_ListVoiceConnectorGroupsCommand = async ( - input: ListVoiceConnectorGroupsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/voice-connector-groups"); - const query: any = map({ - [_nt]: [, input[_NT]!], - [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListVoiceConnectorsCommand - */ -export const se_ListVoiceConnectorsCommand = async ( - input: ListVoiceConnectorsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/voice-connectors"); - const query: any = map({ - [_nt]: [, input[_NT]!], - [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListVoiceConnectorTerminationCredentialsCommand - */ -export const se_ListVoiceConnectorTerminationCredentialsCommand = async ( - input: ListVoiceConnectorTerminationCredentialsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/voice-connectors/{VoiceConnectorId}/termination/credentials"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1LogoutUserCommand - */ -export const se_LogoutUserCommand = async ( - input: LogoutUserCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/accounts/{AccountId}/users/{UserId}"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - b.p("UserId", () => input.UserId!, "{UserId}", false); - const query: any = map({ - [_o]: [, "logout"], - }); - let body: any; - b.m("POST").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1PutAppInstanceRetentionSettingsCommand - */ -export const se_PutAppInstanceRetentionSettingsCommand = async ( - input: PutAppInstanceRetentionSettingsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/app-instances/{AppInstanceArn}/retention-settings"); - b.p("AppInstanceArn", () => input.AppInstanceArn!, "{AppInstanceArn}", false); - let body: any; - body = JSON.stringify( - take(input, { - AppInstanceRetentionSettings: (_) => _json(_), - }) - ); - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "identity-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("PUT").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1PutAppInstanceStreamingConfigurationsCommand - */ -export const se_PutAppInstanceStreamingConfigurationsCommand = async ( - input: PutAppInstanceStreamingConfigurationsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/app-instances/{AppInstanceArn}/streaming-configurations"); - b.p("AppInstanceArn", () => input.AppInstanceArn!, "{AppInstanceArn}", false); - let body: any; - body = JSON.stringify( - take(input, { - AppInstanceStreamingConfigurations: (_) => _json(_), - }) - ); - b.m("PUT").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1PutEventsConfigurationCommand - */ -export const se_PutEventsConfigurationCommand = async ( - input: PutEventsConfigurationCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/accounts/{AccountId}/bots/{BotId}/events-configuration"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - b.p("BotId", () => input.BotId!, "{BotId}", false); - let body: any; - body = JSON.stringify( - take(input, { - LambdaFunctionArn: [], - OutboundEventsHTTPSEndpoint: [], - }) - ); - b.m("PUT").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1PutRetentionSettingsCommand - */ -export const se_PutRetentionSettingsCommand = async ( - input: PutRetentionSettingsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/accounts/{AccountId}/retention-settings"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - let body: any; - body = JSON.stringify( - take(input, { - RetentionSettings: (_) => _json(_), - }) - ); - b.m("PUT").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1PutSipMediaApplicationLoggingConfigurationCommand - */ -export const se_PutSipMediaApplicationLoggingConfigurationCommand = async ( - input: PutSipMediaApplicationLoggingConfigurationCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/sip-media-applications/{SipMediaApplicationId}/logging-configuration"); - b.p("SipMediaApplicationId", () => input.SipMediaApplicationId!, "{SipMediaApplicationId}", false); - let body: any; - body = JSON.stringify( - take(input, { - SipMediaApplicationLoggingConfiguration: (_) => _json(_), - }) - ); - b.m("PUT").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1PutVoiceConnectorEmergencyCallingConfigurationCommand - */ -export const se_PutVoiceConnectorEmergencyCallingConfigurationCommand = async ( - input: PutVoiceConnectorEmergencyCallingConfigurationCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/voice-connectors/{VoiceConnectorId}/emergency-calling-configuration"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); - let body: any; - body = JSON.stringify( - take(input, { - EmergencyCallingConfiguration: (_) => _json(_), - }) - ); - b.m("PUT").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1PutVoiceConnectorLoggingConfigurationCommand - */ -export const se_PutVoiceConnectorLoggingConfigurationCommand = async ( - input: PutVoiceConnectorLoggingConfigurationCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/voice-connectors/{VoiceConnectorId}/logging-configuration"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); - let body: any; - body = JSON.stringify( - take(input, { - LoggingConfiguration: (_) => _json(_), - }) - ); - b.m("PUT").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1PutVoiceConnectorOriginationCommand - */ -export const se_PutVoiceConnectorOriginationCommand = async ( - input: PutVoiceConnectorOriginationCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/voice-connectors/{VoiceConnectorId}/origination"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); - let body: any; - body = JSON.stringify( - take(input, { - Origination: (_) => _json(_), - }) - ); - b.m("PUT").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1PutVoiceConnectorProxyCommand - */ -export const se_PutVoiceConnectorProxyCommand = async ( - input: PutVoiceConnectorProxyCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/voice-connectors/{VoiceConnectorId}/programmable-numbers/proxy"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); - let body: any; - body = JSON.stringify( - take(input, { - DefaultSessionExpiryMinutes: [], - Disabled: [], - FallBackPhoneNumber: [], - PhoneNumberPoolCountries: (_) => _json(_), - }) - ); - b.m("PUT").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1PutVoiceConnectorStreamingConfigurationCommand - */ -export const se_PutVoiceConnectorStreamingConfigurationCommand = async ( - input: PutVoiceConnectorStreamingConfigurationCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/voice-connectors/{VoiceConnectorId}/streaming-configuration"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); - let body: any; - body = JSON.stringify( - take(input, { - StreamingConfiguration: (_) => _json(_), - }) - ); - b.m("PUT").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1PutVoiceConnectorTerminationCommand - */ -export const se_PutVoiceConnectorTerminationCommand = async ( - input: PutVoiceConnectorTerminationCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/voice-connectors/{VoiceConnectorId}/termination"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); - let body: any; - body = JSON.stringify( - take(input, { - Termination: (_) => _json(_), - }) - ); - b.m("PUT").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1PutVoiceConnectorTerminationCredentialsCommand - */ -export const se_PutVoiceConnectorTerminationCredentialsCommand = async ( - input: PutVoiceConnectorTerminationCredentialsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/voice-connectors/{VoiceConnectorId}/termination/credentials"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); - const query: any = map({ - [_o]: [, "put"], - }); - let body: any; - body = JSON.stringify( - take(input, { - Credentials: (_) => _json(_), - }) - ); - b.m("POST").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1RedactChannelMessageCommand - */ -export const se_RedactChannelMessageCommand = async ( - input: RedactChannelMessageCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xacb]: input[_CB]!, - }); - b.bp("/channels/{ChannelArn}/messages/{MessageId}"); - b.p("ChannelArn", () => input.ChannelArn!, "{ChannelArn}", false); - b.p("MessageId", () => input.MessageId!, "{MessageId}", false); - const query: any = map({ - [_o]: [, "redact"], - }); - let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("POST").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1RedactConversationMessageCommand - */ -export const se_RedactConversationMessageCommand = async ( - input: RedactConversationMessageCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/accounts/{AccountId}/conversations/{ConversationId}/messages/{MessageId}"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - b.p("ConversationId", () => input.ConversationId!, "{ConversationId}", false); - b.p("MessageId", () => input.MessageId!, "{MessageId}", false); - const query: any = map({ - [_o]: [, "redact"], - }); - let body: any; - b.m("POST").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1RedactRoomMessageCommand - */ -export const se_RedactRoomMessageCommand = async ( - input: RedactRoomMessageCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/accounts/{AccountId}/rooms/{RoomId}/messages/{MessageId}"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - b.p("RoomId", () => input.RoomId!, "{RoomId}", false); - b.p("MessageId", () => input.MessageId!, "{MessageId}", false); - const query: any = map({ - [_o]: [, "redact"], - }); - let body: any; - b.m("POST").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1RegenerateSecurityTokenCommand - */ -export const se_RegenerateSecurityTokenCommand = async ( - input: RegenerateSecurityTokenCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/accounts/{AccountId}/bots/{BotId}"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - b.p("BotId", () => input.BotId!, "{BotId}", false); - const query: any = map({ - [_o]: [, "regenerate-security-token"], - }); - let body: any; - b.m("POST").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ResetPersonalPINCommand - */ -export const se_ResetPersonalPINCommand = async ( - input: ResetPersonalPINCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/accounts/{AccountId}/users/{UserId}"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - b.p("UserId", () => input.UserId!, "{UserId}", false); - const query: any = map({ - [_o]: [, "reset-personal-pin"], - }); - let body: any; - b.m("POST").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1RestorePhoneNumberCommand - */ -export const se_RestorePhoneNumberCommand = async ( - input: RestorePhoneNumberCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/phone-numbers/{PhoneNumberId}"); - b.p("PhoneNumberId", () => input.PhoneNumberId!, "{PhoneNumberId}", false); - const query: any = map({ - [_o]: [, "restore"], - }); - let body: any; - b.m("POST").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1SearchAvailablePhoneNumbersCommand - */ -export const se_SearchAvailablePhoneNumbersCommand = async ( - input: SearchAvailablePhoneNumbersCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/search"); - const query: any = map({ - [_t]: [, "phone-numbers"], - [_ac]: [, input[_AC]!], - [_c]: [, input[_C]!], - [_co]: [, input[_Co]!], - [_sta]: [, input[_St]!], - [_tfp]: [, input[_TFP]!], - [_pnt]: [, input[_PNT]!], - [_mr]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - [_nt]: [, input[_NT]!], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1SendChannelMessageCommand - */ -export const se_SendChannelMessageCommand = async ( - input: SendChannelMessageCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - "content-type": "application/json", - [_xacb]: input[_CB]!, - }); - b.bp("/channels/{ChannelArn}/messages"); - b.p("ChannelArn", () => input.ChannelArn!, "{ChannelArn}", false); - let body: any; - body = JSON.stringify( - take(input, { - ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()], - Content: [], - Metadata: [], - Persistence: [], - Type: [], - }) - ); - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1StartMeetingTranscriptionCommand - */ -export const se_StartMeetingTranscriptionCommand = async ( - input: StartMeetingTranscriptionCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/meetings/{MeetingId}/transcription"); - b.p("MeetingId", () => input.MeetingId!, "{MeetingId}", false); - const query: any = map({ - [_o]: [, "start"], - }); - let body: any; - body = JSON.stringify( - take(input, { - TranscriptionConfiguration: (_) => _json(_), - }) - ); - b.m("POST").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1StopMeetingTranscriptionCommand - */ -export const se_StopMeetingTranscriptionCommand = async ( - input: StopMeetingTranscriptionCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/meetings/{MeetingId}/transcription"); - b.p("MeetingId", () => input.MeetingId!, "{MeetingId}", false); - const query: any = map({ - [_o]: [, "stop"], - }); - let body: any; - b.m("POST").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1TagAttendeeCommand - */ -export const se_TagAttendeeCommand = async ( - input: TagAttendeeCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/meetings/{MeetingId}/attendees/{AttendeeId}/tags"); - b.p("MeetingId", () => input.MeetingId!, "{MeetingId}", false); - b.p("AttendeeId", () => input.AttendeeId!, "{AttendeeId}", false); - const query: any = map({ - [_o]: [, "add"], - }); - let body: any; - body = JSON.stringify( - take(input, { - Tags: (_) => _json(_), - }) - ); - b.m("POST").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1TagMeetingCommand - */ -export const se_TagMeetingCommand = async ( - input: TagMeetingCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/meetings/{MeetingId}/tags"); - b.p("MeetingId", () => input.MeetingId!, "{MeetingId}", false); - const query: any = map({ - [_o]: [, "add"], - }); - let body: any; - body = JSON.stringify( - take(input, { - Tags: (_) => _json(_), - }) - ); - b.m("POST").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1TagResourceCommand - */ -export const se_TagResourceCommand = async ( - input: TagResourceCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/tags"); - const query: any = map({ - [_o]: [, "tag-resource"], - }); - let body: any; - body = JSON.stringify( - take(input, { - ResourceARN: [], - Tags: (_) => _json(_), - }) - ); - b.m("POST").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UntagAttendeeCommand - */ -export const se_UntagAttendeeCommand = async ( - input: UntagAttendeeCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/meetings/{MeetingId}/attendees/{AttendeeId}/tags"); - b.p("MeetingId", () => input.MeetingId!, "{MeetingId}", false); - b.p("AttendeeId", () => input.AttendeeId!, "{AttendeeId}", false); - const query: any = map({ - [_o]: [, "delete"], - }); - let body: any; - body = JSON.stringify( - take(input, { - TagKeys: (_) => _json(_), - }) - ); - b.m("POST").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UntagMeetingCommand - */ -export const se_UntagMeetingCommand = async ( - input: UntagMeetingCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/meetings/{MeetingId}/tags"); - b.p("MeetingId", () => input.MeetingId!, "{MeetingId}", false); - const query: any = map({ - [_o]: [, "delete"], - }); - let body: any; - body = JSON.stringify( - take(input, { - TagKeys: (_) => _json(_), - }) - ); - b.m("POST").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UntagResourceCommand - */ -export const se_UntagResourceCommand = async ( - input: UntagResourceCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/tags"); - const query: any = map({ - [_o]: [, "untag-resource"], - }); - let body: any; - body = JSON.stringify( - take(input, { - ResourceARN: [], - TagKeys: (_) => _json(_), - }) - ); - b.m("POST").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateAccountCommand - */ -export const se_UpdateAccountCommand = async ( - input: UpdateAccountCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/accounts/{AccountId}"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - let body: any; - body = JSON.stringify( - take(input, { - DefaultLicense: [], - Name: [], - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateAccountSettingsCommand - */ -export const se_UpdateAccountSettingsCommand = async ( - input: UpdateAccountSettingsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/accounts/{AccountId}/settings"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - let body: any; - body = JSON.stringify( - take(input, { - AccountSettings: (_) => _json(_), - }) - ); - b.m("PUT").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateAppInstanceCommand - */ -export const se_UpdateAppInstanceCommand = async ( - input: UpdateAppInstanceCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/app-instances/{AppInstanceArn}"); - b.p("AppInstanceArn", () => input.AppInstanceArn!, "{AppInstanceArn}", false); - let body: any; - body = JSON.stringify( - take(input, { - Metadata: [], - Name: [], - }) - ); - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "identity-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("PUT").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateAppInstanceUserCommand - */ -export const se_UpdateAppInstanceUserCommand = async ( - input: UpdateAppInstanceUserCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/app-instance-users/{AppInstanceUserArn}"); - b.p("AppInstanceUserArn", () => input.AppInstanceUserArn!, "{AppInstanceUserArn}", false); - let body: any; - body = JSON.stringify( - take(input, { - Metadata: [], - Name: [], - }) - ); - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "identity-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("PUT").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateBotCommand - */ -export const se_UpdateBotCommand = async ( - input: UpdateBotCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/accounts/{AccountId}/bots/{BotId}"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - b.p("BotId", () => input.BotId!, "{BotId}", false); - let body: any; - body = JSON.stringify( - take(input, { - Disabled: [], - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateChannelCommand - */ -export const se_UpdateChannelCommand = async ( - input: UpdateChannelCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - "content-type": "application/json", - [_xacb]: input[_CB]!, - }); - b.bp("/channels/{ChannelArn}"); - b.p("ChannelArn", () => input.ChannelArn!, "{ChannelArn}", false); - let body: any; - body = JSON.stringify( - take(input, { - Metadata: [], - Mode: [], - Name: [], - }) - ); - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("PUT").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateChannelMessageCommand - */ -export const se_UpdateChannelMessageCommand = async ( - input: UpdateChannelMessageCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - "content-type": "application/json", - [_xacb]: input[_CB]!, - }); - b.bp("/channels/{ChannelArn}/messages/{MessageId}"); - b.p("ChannelArn", () => input.ChannelArn!, "{ChannelArn}", false); - b.p("MessageId", () => input.MessageId!, "{MessageId}", false); - let body: any; - body = JSON.stringify( - take(input, { - Content: [], - Metadata: [], - }) - ); - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("PUT").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateChannelReadMarkerCommand - */ -export const se_UpdateChannelReadMarkerCommand = async ( - input: UpdateChannelReadMarkerCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xacb]: input[_CB]!, - }); - b.bp("/channels/{ChannelArn}/readMarker"); - b.p("ChannelArn", () => input.ChannelArn!, "{ChannelArn}", false); - let body: any; - let { hostname: resolvedHostname } = await context.endpoint(); - if (context.disableHostPrefix !== true) { - resolvedHostname = "messaging-" + resolvedHostname; - if (!__isValidHostname(resolvedHostname)) { - throw new Error("ValidationError: prefixed hostname must be hostname compatible."); - } - } - b.hn(resolvedHostname); - b.m("PUT").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateGlobalSettingsCommand - */ -export const se_UpdateGlobalSettingsCommand = async ( - input: UpdateGlobalSettingsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/settings"); - let body: any; - body = JSON.stringify( - take(input, { - BusinessCalling: (_) => _json(_), - VoiceConnector: (_) => _json(_), - }) - ); - b.m("PUT").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdatePhoneNumberCommand - */ -export const se_UpdatePhoneNumberCommand = async ( - input: UpdatePhoneNumberCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/phone-numbers/{PhoneNumberId}"); - b.p("PhoneNumberId", () => input.PhoneNumberId!, "{PhoneNumberId}", false); - let body: any; - body = JSON.stringify( - take(input, { - CallingName: [], - ProductType: [], - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdatePhoneNumberSettingsCommand - */ -export const se_UpdatePhoneNumberSettingsCommand = async ( - input: UpdatePhoneNumberSettingsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/settings/phone-number"); - let body: any; - body = JSON.stringify( - take(input, { - CallingName: [], - }) - ); - b.m("PUT").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateProxySessionCommand - */ -export const se_UpdateProxySessionCommand = async ( - input: UpdateProxySessionCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/voice-connectors/{VoiceConnectorId}/proxy-sessions/{ProxySessionId}"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); - b.p("ProxySessionId", () => input.ProxySessionId!, "{ProxySessionId}", false); - let body: any; - body = JSON.stringify( - take(input, { - Capabilities: (_) => _json(_), - ExpiryMinutes: [], - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateRoomCommand - */ -export const se_UpdateRoomCommand = async ( - input: UpdateRoomCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/accounts/{AccountId}/rooms/{RoomId}"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - b.p("RoomId", () => input.RoomId!, "{RoomId}", false); - let body: any; - body = JSON.stringify( - take(input, { - Name: [], - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateRoomMembershipCommand - */ -export const se_UpdateRoomMembershipCommand = async ( - input: UpdateRoomMembershipCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/accounts/{AccountId}/rooms/{RoomId}/memberships/{MemberId}"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - b.p("RoomId", () => input.RoomId!, "{RoomId}", false); - b.p("MemberId", () => input.MemberId!, "{MemberId}", false); - let body: any; - body = JSON.stringify( - take(input, { - Role: [], - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateSipMediaApplicationCommand - */ -export const se_UpdateSipMediaApplicationCommand = async ( - input: UpdateSipMediaApplicationCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/sip-media-applications/{SipMediaApplicationId}"); - b.p("SipMediaApplicationId", () => input.SipMediaApplicationId!, "{SipMediaApplicationId}", false); - let body: any; - body = JSON.stringify( - take(input, { - Endpoints: (_) => _json(_), - Name: [], - }) - ); - b.m("PUT").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateSipMediaApplicationCallCommand - */ -export const se_UpdateSipMediaApplicationCallCommand = async ( - input: UpdateSipMediaApplicationCallCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/sip-media-applications/{SipMediaApplicationId}/calls/{TransactionId}"); - b.p("SipMediaApplicationId", () => input.SipMediaApplicationId!, "{SipMediaApplicationId}", false); - b.p("TransactionId", () => input.TransactionId!, "{TransactionId}", false); - let body: any; - body = JSON.stringify( - take(input, { - Arguments: (_) => _json(_), - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateSipRuleCommand - */ -export const se_UpdateSipRuleCommand = async ( - input: UpdateSipRuleCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/sip-rules/{SipRuleId}"); - b.p("SipRuleId", () => input.SipRuleId!, "{SipRuleId}", false); - let body: any; - body = JSON.stringify( - take(input, { - Disabled: [], - Name: [], - TargetApplications: (_) => _json(_), - }) - ); - b.m("PUT").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateUserCommand - */ -export const se_UpdateUserCommand = async ( - input: UpdateUserCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/accounts/{AccountId}/users/{UserId}"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - b.p("UserId", () => input.UserId!, "{UserId}", false); - let body: any; - body = JSON.stringify( - take(input, { - AlexaForBusinessMetadata: (_) => _json(_), - LicenseType: [], - UserType: [], - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateUserSettingsCommand - */ -export const se_UpdateUserSettingsCommand = async ( - input: UpdateUserSettingsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/accounts/{AccountId}/users/{UserId}/settings"); - b.p("AccountId", () => input.AccountId!, "{AccountId}", false); - b.p("UserId", () => input.UserId!, "{UserId}", false); - let body: any; - body = JSON.stringify( - take(input, { - UserSettings: (_) => _json(_), - }) - ); - b.m("PUT").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateVoiceConnectorCommand - */ -export const se_UpdateVoiceConnectorCommand = async ( - input: UpdateVoiceConnectorCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/voice-connectors/{VoiceConnectorId}"); - b.p("VoiceConnectorId", () => input.VoiceConnectorId!, "{VoiceConnectorId}", false); - let body: any; - body = JSON.stringify( - take(input, { - Name: [], - RequireEncryption: [], - }) - ); - b.m("PUT").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateVoiceConnectorGroupCommand - */ -export const se_UpdateVoiceConnectorGroupCommand = async ( - input: UpdateVoiceConnectorGroupCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/voice-connector-groups/{VoiceConnectorGroupId}"); - b.p("VoiceConnectorGroupId", () => input.VoiceConnectorGroupId!, "{VoiceConnectorGroupId}", false); - let body: any; - body = JSON.stringify( - take(input, { - Name: [], - VoiceConnectorItems: (_) => _json(_), - }) - ); - b.m("PUT").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ValidateE911AddressCommand - */ -export const se_ValidateE911AddressCommand = async ( - input: ValidateE911AddressCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/emergency-calling/address"); - let body: any; - body = JSON.stringify( - take(input, { - AwsAccountId: [], - City: [], - Country: [], - PostalCode: [], - State: [], - StreetInfo: [], - StreetNumber: [], - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * deserializeAws_restJson1AssociatePhoneNumbersWithVoiceConnectorCommand - */ -export const de_AssociatePhoneNumbersWithVoiceConnectorCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - PhoneNumberErrors: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1AssociatePhoneNumbersWithVoiceConnectorGroupCommand - */ -export const de_AssociatePhoneNumbersWithVoiceConnectorGroupCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - PhoneNumberErrors: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1AssociatePhoneNumberWithUserCommand - */ -export const de_AssociatePhoneNumberWithUserCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1AssociateSigninDelegateGroupsWithAccountCommand - */ -export const de_AssociateSigninDelegateGroupsWithAccountCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1BatchCreateAttendeeCommand - */ -export const de_BatchCreateAttendeeCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Attendees: _json, - Errors: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1BatchCreateChannelMembershipCommand - */ -export const de_BatchCreateChannelMembershipCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - BatchChannelMemberships: _json, - Errors: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1BatchCreateRoomMembershipCommand - */ -export const de_BatchCreateRoomMembershipCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Errors: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1BatchDeletePhoneNumberCommand - */ -export const de_BatchDeletePhoneNumberCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - PhoneNumberErrors: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1BatchSuspendUserCommand - */ -export const de_BatchSuspendUserCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - UserErrors: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1BatchUnsuspendUserCommand - */ -export const de_BatchUnsuspendUserCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - UserErrors: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1BatchUpdatePhoneNumberCommand - */ -export const de_BatchUpdatePhoneNumberCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - PhoneNumberErrors: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1BatchUpdateUserCommand - */ -export const de_BatchUpdateUserCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - UserErrors: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateAccountCommand - */ -export const de_CreateAccountCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Account: (_) => de_Account(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateAppInstanceCommand - */ -export const de_CreateAppInstanceCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - AppInstanceArn: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateAppInstanceAdminCommand - */ -export const de_CreateAppInstanceAdminCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - AppInstanceAdmin: _json, - AppInstanceArn: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateAppInstanceUserCommand - */ -export const de_CreateAppInstanceUserCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - AppInstanceUserArn: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateAttendeeCommand - */ -export const de_CreateAttendeeCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Attendee: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateBotCommand - */ -export const de_CreateBotCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Bot: (_) => de_Bot(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateChannelCommand - */ -export const de_CreateChannelCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - ChannelArn: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateChannelBanCommand - */ -export const de_CreateChannelBanCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - ChannelArn: __expectString, - Member: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateChannelMembershipCommand - */ -export const de_CreateChannelMembershipCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - ChannelArn: __expectString, - Member: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateChannelModeratorCommand - */ -export const de_CreateChannelModeratorCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - ChannelArn: __expectString, - ChannelModerator: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateMediaCapturePipelineCommand - */ -export const de_CreateMediaCapturePipelineCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - MediaCapturePipeline: (_) => de_MediaCapturePipeline(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateMeetingCommand - */ -export const de_CreateMeetingCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Meeting: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateMeetingDialOutCommand - */ -export const de_CreateMeetingDialOutCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - TransactionId: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateMeetingWithAttendeesCommand - */ -export const de_CreateMeetingWithAttendeesCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Attendees: _json, - Errors: _json, - Meeting: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreatePhoneNumberOrderCommand - */ -export const de_CreatePhoneNumberOrderCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - PhoneNumberOrder: (_) => de_PhoneNumberOrder(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateProxySessionCommand - */ -export const de_CreateProxySessionCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - ProxySession: (_) => de_ProxySession(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateRoomCommand - */ -export const de_CreateRoomCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Room: (_) => de_Room(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateRoomMembershipCommand - */ -export const de_CreateRoomMembershipCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - RoomMembership: (_) => de_RoomMembership(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateSipMediaApplicationCommand - */ -export const de_CreateSipMediaApplicationCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - SipMediaApplication: (_) => de_SipMediaApplication(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateSipMediaApplicationCallCommand - */ -export const de_CreateSipMediaApplicationCallCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - SipMediaApplicationCall: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateSipRuleCommand - */ -export const de_CreateSipRuleCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - SipRule: (_) => de_SipRule(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateUserCommand - */ -export const de_CreateUserCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - User: (_) => de_User(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateVoiceConnectorCommand - */ -export const de_CreateVoiceConnectorCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - VoiceConnector: (_) => de_VoiceConnector(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateVoiceConnectorGroupCommand - */ -export const de_CreateVoiceConnectorGroupCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - VoiceConnectorGroup: (_) => de_VoiceConnectorGroup(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteAccountCommand - */ -export const de_DeleteAccountCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteAppInstanceCommand - */ -export const de_DeleteAppInstanceCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteAppInstanceAdminCommand - */ -export const de_DeleteAppInstanceAdminCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteAppInstanceStreamingConfigurationsCommand - */ -export const de_DeleteAppInstanceStreamingConfigurationsCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteAppInstanceUserCommand - */ -export const de_DeleteAppInstanceUserCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteAttendeeCommand - */ -export const de_DeleteAttendeeCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteChannelCommand - */ -export const de_DeleteChannelCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteChannelBanCommand - */ -export const de_DeleteChannelBanCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteChannelMembershipCommand - */ -export const de_DeleteChannelMembershipCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteChannelMessageCommand - */ -export const de_DeleteChannelMessageCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteChannelModeratorCommand - */ -export const de_DeleteChannelModeratorCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteEventsConfigurationCommand - */ -export const de_DeleteEventsConfigurationCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteMediaCapturePipelineCommand - */ -export const de_DeleteMediaCapturePipelineCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteMeetingCommand - */ -export const de_DeleteMeetingCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeletePhoneNumberCommand - */ -export const de_DeletePhoneNumberCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteProxySessionCommand - */ -export const de_DeleteProxySessionCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteRoomCommand - */ -export const de_DeleteRoomCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteRoomMembershipCommand - */ -export const de_DeleteRoomMembershipCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteSipMediaApplicationCommand - */ -export const de_DeleteSipMediaApplicationCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteSipRuleCommand - */ -export const de_DeleteSipRuleCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteVoiceConnectorCommand - */ -export const de_DeleteVoiceConnectorCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteVoiceConnectorEmergencyCallingConfigurationCommand - */ -export const de_DeleteVoiceConnectorEmergencyCallingConfigurationCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteVoiceConnectorGroupCommand - */ -export const de_DeleteVoiceConnectorGroupCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteVoiceConnectorOriginationCommand - */ -export const de_DeleteVoiceConnectorOriginationCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteVoiceConnectorProxyCommand - */ -export const de_DeleteVoiceConnectorProxyCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteVoiceConnectorStreamingConfigurationCommand - */ -export const de_DeleteVoiceConnectorStreamingConfigurationCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteVoiceConnectorTerminationCommand - */ -export const de_DeleteVoiceConnectorTerminationCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteVoiceConnectorTerminationCredentialsCommand - */ -export const de_DeleteVoiceConnectorTerminationCredentialsCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DescribeAppInstanceCommand - */ -export const de_DescribeAppInstanceCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - AppInstance: (_) => de_AppInstance(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1DescribeAppInstanceAdminCommand - */ -export const de_DescribeAppInstanceAdminCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - AppInstanceAdmin: (_) => de_AppInstanceAdmin(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1DescribeAppInstanceUserCommand - */ -export const de_DescribeAppInstanceUserCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - AppInstanceUser: (_) => de_AppInstanceUser(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1DescribeChannelCommand - */ -export const de_DescribeChannelCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Channel: (_) => de_Channel(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1DescribeChannelBanCommand - */ -export const de_DescribeChannelBanCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - ChannelBan: (_) => de_ChannelBan(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1DescribeChannelMembershipCommand - */ -export const de_DescribeChannelMembershipCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - ChannelMembership: (_) => de_ChannelMembership(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand - */ -export const de_DescribeChannelMembershipForAppInstanceUserCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - ChannelMembership: (_) => de_ChannelMembershipForAppInstanceUserSummary(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommand - */ -export const de_DescribeChannelModeratedByAppInstanceUserCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Channel: (_) => de_ChannelModeratedByAppInstanceUserSummary(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1DescribeChannelModeratorCommand - */ -export const de_DescribeChannelModeratorCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - ChannelModerator: (_) => de_ChannelModerator(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1DisassociatePhoneNumberFromUserCommand - */ -export const de_DisassociatePhoneNumberFromUserCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DisassociatePhoneNumbersFromVoiceConnectorCommand - */ -export const de_DisassociatePhoneNumbersFromVoiceConnectorCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - PhoneNumberErrors: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1DisassociatePhoneNumbersFromVoiceConnectorGroupCommand - */ -export const de_DisassociatePhoneNumbersFromVoiceConnectorGroupCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - PhoneNumberErrors: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1DisassociateSigninDelegateGroupsFromAccountCommand - */ -export const de_DisassociateSigninDelegateGroupsFromAccountCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1GetAccountCommand - */ -export const de_GetAccountCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Account: (_) => de_Account(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetAccountSettingsCommand - */ -export const de_GetAccountSettingsCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - AccountSettings: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetAppInstanceRetentionSettingsCommand - */ -export const de_GetAppInstanceRetentionSettingsCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - AppInstanceRetentionSettings: _json, - InitiateDeletionTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetAppInstanceStreamingConfigurationsCommand - */ -export const de_GetAppInstanceStreamingConfigurationsCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - AppInstanceStreamingConfigurations: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetAttendeeCommand - */ -export const de_GetAttendeeCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Attendee: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetBotCommand - */ -export const de_GetBotCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Bot: (_) => de_Bot(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetChannelMessageCommand - */ -export const de_GetChannelMessageCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - ChannelMessage: (_) => de_ChannelMessage(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetEventsConfigurationCommand - */ -export const de_GetEventsConfigurationCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - EventsConfiguration: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetGlobalSettingsCommand - */ -export const de_GetGlobalSettingsCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - BusinessCalling: _json, - VoiceConnector: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetMediaCapturePipelineCommand - */ -export const de_GetMediaCapturePipelineCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - MediaCapturePipeline: (_) => de_MediaCapturePipeline(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetMeetingCommand - */ -export const de_GetMeetingCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Meeting: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetMessagingSessionEndpointCommand - */ -export const de_GetMessagingSessionEndpointCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Endpoint: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetPhoneNumberCommand - */ -export const de_GetPhoneNumberCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - PhoneNumber: (_) => de_PhoneNumber(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetPhoneNumberOrderCommand - */ -export const de_GetPhoneNumberOrderCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - PhoneNumberOrder: (_) => de_PhoneNumberOrder(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetPhoneNumberSettingsCommand - */ -export const de_GetPhoneNumberSettingsCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - CallingName: __expectString, - CallingNameUpdatedTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetProxySessionCommand - */ -export const de_GetProxySessionCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - ProxySession: (_) => de_ProxySession(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetRetentionSettingsCommand - */ -export const de_GetRetentionSettingsCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - InitiateDeletionTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - RetentionSettings: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetRoomCommand - */ -export const de_GetRoomCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Room: (_) => de_Room(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetSipMediaApplicationCommand - */ -export const de_GetSipMediaApplicationCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - SipMediaApplication: (_) => de_SipMediaApplication(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetSipMediaApplicationLoggingConfigurationCommand - */ -export const de_GetSipMediaApplicationLoggingConfigurationCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - SipMediaApplicationLoggingConfiguration: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetSipRuleCommand - */ -export const de_GetSipRuleCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - SipRule: (_) => de_SipRule(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetUserCommand - */ -export const de_GetUserCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - User: (_) => de_User(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetUserSettingsCommand - */ -export const de_GetUserSettingsCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - UserSettings: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetVoiceConnectorCommand - */ -export const de_GetVoiceConnectorCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - VoiceConnector: (_) => de_VoiceConnector(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetVoiceConnectorEmergencyCallingConfigurationCommand - */ -export const de_GetVoiceConnectorEmergencyCallingConfigurationCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - EmergencyCallingConfiguration: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetVoiceConnectorGroupCommand - */ -export const de_GetVoiceConnectorGroupCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - VoiceConnectorGroup: (_) => de_VoiceConnectorGroup(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetVoiceConnectorLoggingConfigurationCommand - */ -export const de_GetVoiceConnectorLoggingConfigurationCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - LoggingConfiguration: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetVoiceConnectorOriginationCommand - */ -export const de_GetVoiceConnectorOriginationCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Origination: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetVoiceConnectorProxyCommand - */ -export const de_GetVoiceConnectorProxyCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Proxy: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetVoiceConnectorStreamingConfigurationCommand - */ -export const de_GetVoiceConnectorStreamingConfigurationCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - StreamingConfiguration: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetVoiceConnectorTerminationCommand - */ -export const de_GetVoiceConnectorTerminationCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Termination: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetVoiceConnectorTerminationHealthCommand - */ -export const de_GetVoiceConnectorTerminationHealthCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - TerminationHealth: (_) => de_TerminationHealth(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1InviteUsersCommand - */ -export const de_InviteUsersCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Invites: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListAccountsCommand - */ -export const de_ListAccountsCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Accounts: (_) => de_AccountList(_, context), - NextToken: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListAppInstanceAdminsCommand - */ -export const de_ListAppInstanceAdminsCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - AppInstanceAdmins: _json, - AppInstanceArn: __expectString, - NextToken: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListAppInstancesCommand - */ -export const de_ListAppInstancesCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - AppInstances: _json, - NextToken: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListAppInstanceUsersCommand - */ -export const de_ListAppInstanceUsersCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - AppInstanceArn: __expectString, - AppInstanceUsers: _json, - NextToken: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListAttendeesCommand - */ -export const de_ListAttendeesCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Attendees: _json, - NextToken: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListAttendeeTagsCommand - */ -export const de_ListAttendeeTagsCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Tags: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListBotsCommand - */ -export const de_ListBotsCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Bots: (_) => de_BotList(_, context), - NextToken: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListChannelBansCommand - */ -export const de_ListChannelBansCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - ChannelArn: __expectString, - ChannelBans: _json, - NextToken: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListChannelMembershipsCommand - */ -export const de_ListChannelMembershipsCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - ChannelArn: __expectString, - ChannelMemberships: _json, - NextToken: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListChannelMembershipsForAppInstanceUserCommand - */ -export const de_ListChannelMembershipsForAppInstanceUserCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - ChannelMemberships: (_) => de_ChannelMembershipForAppInstanceUserSummaryList(_, context), - NextToken: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListChannelMessagesCommand - */ -export const de_ListChannelMessagesCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - ChannelArn: __expectString, - ChannelMessages: (_) => de_ChannelMessageSummaryList(_, context), - NextToken: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListChannelModeratorsCommand - */ -export const de_ListChannelModeratorsCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - ChannelArn: __expectString, - ChannelModerators: _json, - NextToken: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListChannelsCommand - */ -export const de_ListChannelsCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Channels: (_) => de_ChannelSummaryList(_, context), - NextToken: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand - */ -export const de_ListChannelsModeratedByAppInstanceUserCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Channels: (_) => de_ChannelModeratedByAppInstanceUserSummaryList(_, context), - NextToken: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListMediaCapturePipelinesCommand - */ -export const de_ListMediaCapturePipelinesCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - MediaCapturePipelines: (_) => de_MediaCapturePipelineList(_, context), - NextToken: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListMeetingsCommand - */ -export const de_ListMeetingsCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Meetings: _json, - NextToken: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListMeetingTagsCommand - */ -export const de_ListMeetingTagsCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Tags: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListPhoneNumberOrdersCommand - */ -export const de_ListPhoneNumberOrdersCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - NextToken: __expectString, - PhoneNumberOrders: (_) => de_PhoneNumberOrderList(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListPhoneNumbersCommand + * deserializeAws_restJson1AssociatePhoneNumberWithUserCommand */ -export const de_ListPhoneNumbersCommand = async ( +export const de_AssociatePhoneNumberWithUserCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ $metadata: deserializeMetadata(output), }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - NextToken: __expectString, - PhoneNumbers: (_) => de_PhoneNumberList(_, context), - }); - Object.assign(contents, doc); + await collectBody(output.body, context); return contents; }; /** - * deserializeAws_restJson1ListProxySessionsCommand + * deserializeAws_restJson1AssociateSigninDelegateGroupsWithAccountCommand */ -export const de_ListProxySessionsCommand = async ( +export const de_AssociateSigninDelegateGroupsWithAccountCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ $metadata: deserializeMetadata(output), }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - NextToken: __expectString, - ProxySessions: (_) => de_ProxySessions(_, context), - }); - Object.assign(contents, doc); + await collectBody(output.body, context); return contents; }; /** - * deserializeAws_restJson1ListRoomMembershipsCommand + * deserializeAws_restJson1BatchCreateRoomMembershipCommand */ -export const de_ListRoomMembershipsCommand = async ( +export const de_BatchCreateRoomMembershipCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 201 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ @@ -7711,20 +1579,19 @@ export const de_ListRoomMembershipsCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - NextToken: __expectString, - RoomMemberships: (_) => de_RoomMembershipList(_, context), + Errors: _json, }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1ListRoomsCommand + * deserializeAws_restJson1BatchDeletePhoneNumberCommand */ -export const de_ListRoomsCommand = async ( +export const de_BatchDeletePhoneNumberCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } @@ -7733,20 +1600,19 @@ export const de_ListRoomsCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - NextToken: __expectString, - Rooms: (_) => de_RoomList(_, context), + PhoneNumberErrors: _json, }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1ListSipMediaApplicationsCommand + * deserializeAws_restJson1BatchSuspendUserCommand */ -export const de_ListSipMediaApplicationsCommand = async ( +export const de_BatchSuspendUserCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } @@ -7755,20 +1621,19 @@ export const de_ListSipMediaApplicationsCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - NextToken: __expectString, - SipMediaApplications: (_) => de_SipMediaApplicationList(_, context), + UserErrors: _json, }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1ListSipRulesCommand + * deserializeAws_restJson1BatchUnsuspendUserCommand */ -export const de_ListSipRulesCommand = async ( +export const de_BatchUnsuspendUserCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } @@ -7777,20 +1642,19 @@ export const de_ListSipRulesCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - NextToken: __expectString, - SipRules: (_) => de_SipRuleList(_, context), + UserErrors: _json, }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1ListSupportedPhoneNumberCountriesCommand + * deserializeAws_restJson1BatchUpdatePhoneNumberCommand */ -export const de_ListSupportedPhoneNumberCountriesCommand = async ( +export const de_BatchUpdatePhoneNumberCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } @@ -7799,19 +1663,19 @@ export const de_ListSupportedPhoneNumberCountriesCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - PhoneNumberCountries: _json, + PhoneNumberErrors: _json, }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1ListTagsForResourceCommand + * deserializeAws_restJson1BatchUpdateUserCommand */ -export const de_ListTagsForResourceCommand = async ( +export const de_BatchUpdateUserCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } @@ -7820,20 +1684,20 @@ export const de_ListTagsForResourceCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - Tags: _json, + UserErrors: _json, }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1ListUsersCommand + * deserializeAws_restJson1CreateAccountCommand */ -export const de_ListUsersCommand = async ( +export const de_CreateAccountCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 201 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ @@ -7841,21 +1705,20 @@ export const de_ListUsersCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - NextToken: __expectString, - Users: (_) => de_UserList(_, context), + Account: (_) => de_Account(_, context), }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1ListVoiceConnectorGroupsCommand + * deserializeAws_restJson1CreateBotCommand */ -export const de_ListVoiceConnectorGroupsCommand = async ( +export const de_CreateBotCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 201 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ @@ -7863,21 +1726,20 @@ export const de_ListVoiceConnectorGroupsCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - NextToken: __expectString, - VoiceConnectorGroups: (_) => de_VoiceConnectorGroupList(_, context), + Bot: (_) => de_Bot(_, context), }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1ListVoiceConnectorsCommand + * deserializeAws_restJson1CreateMeetingDialOutCommand */ -export const de_ListVoiceConnectorsCommand = async ( +export const de_CreateMeetingDialOutCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 201 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ @@ -7885,21 +1747,20 @@ export const de_ListVoiceConnectorsCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - NextToken: __expectString, - VoiceConnectors: (_) => de_VoiceConnectorList(_, context), + TransactionId: __expectString, }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1ListVoiceConnectorTerminationCredentialsCommand + * deserializeAws_restJson1CreatePhoneNumberOrderCommand */ -export const de_ListVoiceConnectorTerminationCredentialsCommand = async ( +export const de_CreatePhoneNumberOrderCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 201 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ @@ -7907,37 +1768,20 @@ export const de_ListVoiceConnectorTerminationCredentialsCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - Usernames: _json, + PhoneNumberOrder: (_) => de_PhoneNumberOrder(_, context), }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1LogoutUserCommand - */ -export const de_LogoutUserCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1PutAppInstanceRetentionSettingsCommand + * deserializeAws_restJson1CreateRoomCommand */ -export const de_PutAppInstanceRetentionSettingsCommand = async ( +export const de_CreateRoomCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 201 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ @@ -7945,21 +1789,20 @@ export const de_PutAppInstanceRetentionSettingsCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - AppInstanceRetentionSettings: _json, - InitiateDeletionTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Room: (_) => de_Room(_, context), }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1PutAppInstanceStreamingConfigurationsCommand + * deserializeAws_restJson1CreateRoomMembershipCommand */ -export const de_PutAppInstanceStreamingConfigurationsCommand = async ( +export const de_CreateRoomMembershipCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 201 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ @@ -7967,19 +1810,19 @@ export const de_PutAppInstanceStreamingConfigurationsCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - AppInstanceStreamingConfigurations: _json, + RoomMembership: (_) => de_RoomMembership(_, context), }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1PutEventsConfigurationCommand + * deserializeAws_restJson1CreateUserCommand */ -export const de_PutEventsConfigurationCommand = async ( +export const de_CreateUserCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 201 && output.statusCode >= 300) { return de_CommandError(output, context); } @@ -7988,167 +1831,138 @@ export const de_PutEventsConfigurationCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - EventsConfiguration: _json, + User: (_) => de_User(_, context), }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1PutRetentionSettingsCommand + * deserializeAws_restJson1DeleteAccountCommand */ -export const de_PutRetentionSettingsCommand = async ( +export const de_DeleteAccountCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 204 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ $metadata: deserializeMetadata(output), }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - InitiateDeletionTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - RetentionSettings: _json, - }); - Object.assign(contents, doc); + await collectBody(output.body, context); return contents; }; /** - * deserializeAws_restJson1PutSipMediaApplicationLoggingConfigurationCommand + * deserializeAws_restJson1DeleteEventsConfigurationCommand */ -export const de_PutSipMediaApplicationLoggingConfigurationCommand = async ( +export const de_DeleteEventsConfigurationCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 204 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ $metadata: deserializeMetadata(output), }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - SipMediaApplicationLoggingConfiguration: _json, - }); - Object.assign(contents, doc); + await collectBody(output.body, context); return contents; }; /** - * deserializeAws_restJson1PutVoiceConnectorEmergencyCallingConfigurationCommand + * deserializeAws_restJson1DeletePhoneNumberCommand */ -export const de_PutVoiceConnectorEmergencyCallingConfigurationCommand = async ( +export const de_DeletePhoneNumberCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 204 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ $metadata: deserializeMetadata(output), }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - EmergencyCallingConfiguration: _json, - }); - Object.assign(contents, doc); + await collectBody(output.body, context); return contents; }; /** - * deserializeAws_restJson1PutVoiceConnectorLoggingConfigurationCommand + * deserializeAws_restJson1DeleteRoomCommand */ -export const de_PutVoiceConnectorLoggingConfigurationCommand = async ( +export const de_DeleteRoomCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 204 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ $metadata: deserializeMetadata(output), }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - LoggingConfiguration: _json, - }); - Object.assign(contents, doc); + await collectBody(output.body, context); return contents; }; /** - * deserializeAws_restJson1PutVoiceConnectorOriginationCommand + * deserializeAws_restJson1DeleteRoomMembershipCommand */ -export const de_PutVoiceConnectorOriginationCommand = async ( +export const de_DeleteRoomMembershipCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 204 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ $metadata: deserializeMetadata(output), }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Origination: _json, - }); - Object.assign(contents, doc); + await collectBody(output.body, context); return contents; }; /** - * deserializeAws_restJson1PutVoiceConnectorProxyCommand + * deserializeAws_restJson1DisassociatePhoneNumberFromUserCommand */ -export const de_PutVoiceConnectorProxyCommand = async ( +export const de_DisassociatePhoneNumberFromUserCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ $metadata: deserializeMetadata(output), }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Proxy: _json, - }); - Object.assign(contents, doc); + await collectBody(output.body, context); return contents; }; /** - * deserializeAws_restJson1PutVoiceConnectorStreamingConfigurationCommand + * deserializeAws_restJson1DisassociateSigninDelegateGroupsFromAccountCommand */ -export const de_PutVoiceConnectorStreamingConfigurationCommand = async ( +export const de_DisassociateSigninDelegateGroupsFromAccountCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ $metadata: deserializeMetadata(output), }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - StreamingConfiguration: _json, - }); - Object.assign(contents, doc); + await collectBody(output.body, context); return contents; }; /** - * deserializeAws_restJson1PutVoiceConnectorTerminationCommand + * deserializeAws_restJson1GetAccountCommand */ -export const de_PutVoiceConnectorTerminationCommand = async ( +export const de_GetAccountCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } @@ -8157,36 +1971,19 @@ export const de_PutVoiceConnectorTerminationCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - Termination: _json, + Account: (_) => de_Account(_, context), }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1PutVoiceConnectorTerminationCredentialsCommand - */ -export const de_PutVoiceConnectorTerminationCredentialsCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1RedactChannelMessageCommand + * deserializeAws_restJson1GetAccountSettingsCommand */ -export const de_RedactChannelMessageCommand = async ( +export const de_GetAccountSettingsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } @@ -8195,54 +1992,61 @@ export const de_RedactChannelMessageCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - ChannelArn: __expectString, - MessageId: __expectString, + AccountSettings: _json, }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1RedactConversationMessageCommand + * deserializeAws_restJson1GetBotCommand */ -export const de_RedactConversationMessageCommand = async ( +export const de_GetBotCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ $metadata: deserializeMetadata(output), }); - await collectBody(output.body, context); + const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + const doc = take(data, { + Bot: (_) => de_Bot(_, context), + }); + Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1RedactRoomMessageCommand + * deserializeAws_restJson1GetEventsConfigurationCommand */ -export const de_RedactRoomMessageCommand = async ( +export const de_GetEventsConfigurationCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ $metadata: deserializeMetadata(output), }); - await collectBody(output.body, context); + const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + const doc = take(data, { + EventsConfiguration: _json, + }); + Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1RegenerateSecurityTokenCommand + * deserializeAws_restJson1GetGlobalSettingsCommand */ -export const de_RegenerateSecurityTokenCommand = async ( +export const de_GetGlobalSettingsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } @@ -8251,19 +2055,20 @@ export const de_RegenerateSecurityTokenCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - Bot: (_) => de_Bot(_, context), + BusinessCalling: _json, + VoiceConnector: _json, }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1ResetPersonalPINCommand + * deserializeAws_restJson1GetPhoneNumberCommand */ -export const de_ResetPersonalPINCommand = async ( +export const de_GetPhoneNumberCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } @@ -8272,19 +2077,19 @@ export const de_ResetPersonalPINCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - User: (_) => de_User(_, context), + PhoneNumber: (_) => de_PhoneNumber(_, context), }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1RestorePhoneNumberCommand + * deserializeAws_restJson1GetPhoneNumberOrderCommand */ -export const de_RestorePhoneNumberCommand = async ( +export const de_GetPhoneNumberOrderCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } @@ -8293,19 +2098,19 @@ export const de_RestorePhoneNumberCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - PhoneNumber: (_) => de_PhoneNumber(_, context), + PhoneNumberOrder: (_) => de_PhoneNumberOrder(_, context), }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1SearchAvailablePhoneNumbersCommand + * deserializeAws_restJson1GetPhoneNumberSettingsCommand */ -export const de_SearchAvailablePhoneNumbersCommand = async ( +export const de_GetPhoneNumberSettingsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } @@ -8314,21 +2119,21 @@ export const de_SearchAvailablePhoneNumbersCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - E164PhoneNumbers: _json, - NextToken: __expectString, + CallingName: __expectString, + CallingNameUpdatedTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1SendChannelMessageCommand + * deserializeAws_restJson1GetRetentionSettingsCommand */ -export const de_SendChannelMessageCommand = async ( +export const de_GetRetentionSettingsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ @@ -8336,156 +2141,192 @@ export const de_SendChannelMessageCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - ChannelArn: __expectString, - MessageId: __expectString, + InitiateDeletionTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), + RetentionSettings: _json, }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1StartMeetingTranscriptionCommand + * deserializeAws_restJson1GetRoomCommand */ -export const de_StartMeetingTranscriptionCommand = async ( +export const de_GetRoomCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ $metadata: deserializeMetadata(output), }); - await collectBody(output.body, context); + const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + const doc = take(data, { + Room: (_) => de_Room(_, context), + }); + Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1StopMeetingTranscriptionCommand + * deserializeAws_restJson1GetUserCommand */ -export const de_StopMeetingTranscriptionCommand = async ( +export const de_GetUserCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ $metadata: deserializeMetadata(output), }); - await collectBody(output.body, context); + const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + const doc = take(data, { + User: (_) => de_User(_, context), + }); + Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1TagAttendeeCommand + * deserializeAws_restJson1GetUserSettingsCommand */ -export const de_TagAttendeeCommand = async ( +export const de_GetUserSettingsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ $metadata: deserializeMetadata(output), }); - await collectBody(output.body, context); + const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + const doc = take(data, { + UserSettings: _json, + }); + Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1TagMeetingCommand + * deserializeAws_restJson1InviteUsersCommand */ -export const de_TagMeetingCommand = async ( +export const de_InviteUsersCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 201 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ $metadata: deserializeMetadata(output), }); - await collectBody(output.body, context); + const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + const doc = take(data, { + Invites: _json, + }); + Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1TagResourceCommand + * deserializeAws_restJson1ListAccountsCommand */ -export const de_TagResourceCommand = async ( +export const de_ListAccountsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ $metadata: deserializeMetadata(output), }); - await collectBody(output.body, context); + const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + const doc = take(data, { + Accounts: (_) => de_AccountList(_, context), + NextToken: __expectString, + }); + Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1UntagAttendeeCommand + * deserializeAws_restJson1ListBotsCommand */ -export const de_UntagAttendeeCommand = async ( +export const de_ListBotsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ $metadata: deserializeMetadata(output), }); - await collectBody(output.body, context); + const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + const doc = take(data, { + Bots: (_) => de_BotList(_, context), + NextToken: __expectString, + }); + Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1UntagMeetingCommand + * deserializeAws_restJson1ListPhoneNumberOrdersCommand */ -export const de_UntagMeetingCommand = async ( +export const de_ListPhoneNumberOrdersCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ $metadata: deserializeMetadata(output), }); - await collectBody(output.body, context); + const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + const doc = take(data, { + NextToken: __expectString, + PhoneNumberOrders: (_) => de_PhoneNumberOrderList(_, context), + }); + Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1UntagResourceCommand + * deserializeAws_restJson1ListPhoneNumbersCommand */ -export const de_UntagResourceCommand = async ( +export const de_ListPhoneNumbersCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ $metadata: deserializeMetadata(output), }); - await collectBody(output.body, context); + const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + const doc = take(data, { + NextToken: __expectString, + PhoneNumbers: (_) => de_PhoneNumberList(_, context), + }); + Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1UpdateAccountCommand + * deserializeAws_restJson1ListRoomMembershipsCommand */ -export const de_UpdateAccountCommand = async ( +export const de_ListRoomMembershipsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } @@ -8494,36 +2335,42 @@ export const de_UpdateAccountCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - Account: (_) => de_Account(_, context), + NextToken: __expectString, + RoomMemberships: (_) => de_RoomMembershipList(_, context), }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1UpdateAccountSettingsCommand + * deserializeAws_restJson1ListRoomsCommand */ -export const de_UpdateAccountSettingsCommand = async ( +export const de_ListRoomsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ $metadata: deserializeMetadata(output), }); - await collectBody(output.body, context); + const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + const doc = take(data, { + NextToken: __expectString, + Rooms: (_) => de_RoomList(_, context), + }); + Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1UpdateAppInstanceCommand + * deserializeAws_restJson1ListSupportedPhoneNumberCountriesCommand */ -export const de_UpdateAppInstanceCommand = async ( +export const de_ListSupportedPhoneNumberCountriesCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } @@ -8532,19 +2379,19 @@ export const de_UpdateAppInstanceCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - AppInstanceArn: __expectString, + PhoneNumberCountries: _json, }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1UpdateAppInstanceUserCommand + * deserializeAws_restJson1ListUsersCommand */ -export const de_UpdateAppInstanceUserCommand = async ( +export const de_ListUsersCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } @@ -8553,41 +2400,38 @@ export const de_UpdateAppInstanceUserCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - AppInstanceUserArn: __expectString, + NextToken: __expectString, + Users: (_) => de_UserList(_, context), }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1UpdateBotCommand + * deserializeAws_restJson1LogoutUserCommand */ -export const de_UpdateBotCommand = async ( +export const de_LogoutUserCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 204 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ $metadata: deserializeMetadata(output), }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Bot: (_) => de_Bot(_, context), - }); - Object.assign(contents, doc); + await collectBody(output.body, context); return contents; }; /** - * deserializeAws_restJson1UpdateChannelCommand + * deserializeAws_restJson1PutEventsConfigurationCommand */ -export const de_UpdateChannelCommand = async ( +export const de_PutEventsConfigurationCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 201 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ @@ -8595,20 +2439,20 @@ export const de_UpdateChannelCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - ChannelArn: __expectString, + EventsConfiguration: _json, }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1UpdateChannelMessageCommand + * deserializeAws_restJson1PutRetentionSettingsCommand */ -export const de_UpdateChannelMessageCommand = async ( +export const de_PutRetentionSettingsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 204 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ @@ -8616,42 +2460,38 @@ export const de_UpdateChannelMessageCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - ChannelArn: __expectString, - MessageId: __expectString, + InitiateDeletionTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), + RetentionSettings: _json, }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1UpdateChannelReadMarkerCommand + * deserializeAws_restJson1RedactConversationMessageCommand */ -export const de_UpdateChannelReadMarkerCommand = async ( +export const de_RedactConversationMessageCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ $metadata: deserializeMetadata(output), }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - ChannelArn: __expectString, - }); - Object.assign(contents, doc); + await collectBody(output.body, context); return contents; }; /** - * deserializeAws_restJson1UpdateGlobalSettingsCommand + * deserializeAws_restJson1RedactRoomMessageCommand */ -export const de_UpdateGlobalSettingsCommand = async ( +export const de_RedactRoomMessageCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ @@ -8662,12 +2502,12 @@ export const de_UpdateGlobalSettingsCommand = async ( }; /** - * deserializeAws_restJson1UpdatePhoneNumberCommand + * deserializeAws_restJson1RegenerateSecurityTokenCommand */ -export const de_UpdatePhoneNumberCommand = async ( +export const de_RegenerateSecurityTokenCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } @@ -8676,37 +2516,41 @@ export const de_UpdatePhoneNumberCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - PhoneNumber: (_) => de_PhoneNumber(_, context), + Bot: (_) => de_Bot(_, context), }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1UpdatePhoneNumberSettingsCommand + * deserializeAws_restJson1ResetPersonalPINCommand */ -export const de_UpdatePhoneNumberSettingsCommand = async ( +export const de_ResetPersonalPINCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ $metadata: deserializeMetadata(output), }); - await collectBody(output.body, context); + const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + const doc = take(data, { + User: (_) => de_User(_, context), + }); + Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1UpdateProxySessionCommand + * deserializeAws_restJson1RestorePhoneNumberCommand */ -export const de_UpdateProxySessionCommand = async ( +export const de_RestorePhoneNumberCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 201 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ @@ -8714,19 +2558,19 @@ export const de_UpdateProxySessionCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - ProxySession: (_) => de_ProxySession(_, context), + PhoneNumber: (_) => de_PhoneNumber(_, context), }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1UpdateRoomCommand + * deserializeAws_restJson1SearchAvailablePhoneNumbersCommand */ -export const de_UpdateRoomCommand = async ( +export const de_SearchAvailablePhoneNumbersCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } @@ -8735,19 +2579,20 @@ export const de_UpdateRoomCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - Room: (_) => de_Room(_, context), + E164PhoneNumbers: _json, + NextToken: __expectString, }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1UpdateRoomMembershipCommand + * deserializeAws_restJson1UpdateAccountCommand */ -export const de_UpdateRoomMembershipCommand = async ( +export const de_UpdateAccountCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } @@ -8756,41 +2601,37 @@ export const de_UpdateRoomMembershipCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - RoomMembership: (_) => de_RoomMembership(_, context), + Account: (_) => de_Account(_, context), }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1UpdateSipMediaApplicationCommand + * deserializeAws_restJson1UpdateAccountSettingsCommand */ -export const de_UpdateSipMediaApplicationCommand = async ( +export const de_UpdateAccountSettingsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 204 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ $metadata: deserializeMetadata(output), }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - SipMediaApplication: (_) => de_SipMediaApplication(_, context), - }); - Object.assign(contents, doc); + await collectBody(output.body, context); return contents; }; /** - * deserializeAws_restJson1UpdateSipMediaApplicationCallCommand + * deserializeAws_restJson1UpdateBotCommand */ -export const de_UpdateSipMediaApplicationCallCommand = async ( +export const de_UpdateBotCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 202 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ @@ -8798,40 +2639,36 @@ export const de_UpdateSipMediaApplicationCallCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - SipMediaApplicationCall: _json, + Bot: (_) => de_Bot(_, context), }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1UpdateSipRuleCommand + * deserializeAws_restJson1UpdateGlobalSettingsCommand */ -export const de_UpdateSipRuleCommand = async ( +export const de_UpdateGlobalSettingsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 202 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 204 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ $metadata: deserializeMetadata(output), }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - SipRule: (_) => de_SipRule(_, context), - }); - Object.assign(contents, doc); + await collectBody(output.body, context); return contents; }; /** - * deserializeAws_restJson1UpdateUserCommand + * deserializeAws_restJson1UpdatePhoneNumberCommand */ -export const de_UpdateUserCommand = async ( +export const de_UpdatePhoneNumberCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } @@ -8840,19 +2677,19 @@ export const de_UpdateUserCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - User: (_) => de_User(_, context), + PhoneNumber: (_) => de_PhoneNumber(_, context), }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1UpdateUserSettingsCommand + * deserializeAws_restJson1UpdatePhoneNumberSettingsCommand */ -export const de_UpdateUserSettingsCommand = async ( +export const de_UpdatePhoneNumberSettingsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 204 && output.statusCode >= 300) { return de_CommandError(output, context); } @@ -8864,12 +2701,12 @@ export const de_UpdateUserSettingsCommand = async ( }; /** - * deserializeAws_restJson1UpdateVoiceConnectorCommand + * deserializeAws_restJson1UpdateRoomCommand */ -export const de_UpdateVoiceConnectorCommand = async ( +export const de_UpdateRoomCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } @@ -8878,20 +2715,20 @@ export const de_UpdateVoiceConnectorCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - VoiceConnector: (_) => de_VoiceConnector(_, context), + Room: (_) => de_Room(_, context), }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1UpdateVoiceConnectorGroupCommand + * deserializeAws_restJson1UpdateRoomMembershipCommand */ -export const de_UpdateVoiceConnectorGroupCommand = async ( +export const de_UpdateRoomMembershipCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 202 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ @@ -8899,20 +2736,20 @@ export const de_UpdateVoiceConnectorGroupCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - VoiceConnectorGroup: (_) => de_VoiceConnectorGroup(_, context), + RoomMembership: (_) => de_RoomMembership(_, context), }); Object.assign(contents, doc); return contents; }; /** - * deserializeAws_restJson1ValidateE911AddressCommand + * deserializeAws_restJson1UpdateUserCommand */ -export const de_ValidateE911AddressCommand = async ( +export const de_UpdateUserCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { - if (output.statusCode !== 202 && output.statusCode >= 300) { +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents: any = map({ @@ -8920,15 +2757,29 @@ export const de_ValidateE911AddressCommand = async ( }); const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { - Address: _json, - AddressExternalId: __expectString, - CandidateAddressList: _json, - ValidationResult: __expectInt32, + User: (_) => de_User(_, context), }); Object.assign(contents, doc); return contents; }; +/** + * deserializeAws_restJson1UpdateUserSettingsCommand + */ +export const de_UpdateUserSettingsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 204 && output.statusCode >= 300) { + return de_CommandError(output, context); + } + const contents: any = map({ + $metadata: deserializeMetadata(output), + }); + await collectBody(output.body, context); + return contents; +}; + /** * deserialize_Aws_restJson1CommandError */ @@ -9206,607 +3057,130 @@ const de_UnprocessableEntityExceptionRes = async ( // se_AlexaForBusinessMetadata omitted. -// se_AppInstanceRetentionSettings omitted. - -// se_AppInstanceStreamingConfiguration omitted. - -// se_AppInstanceStreamingConfigurationList omitted. - -// se_ArtifactsConfiguration omitted. - -// se_AttendeeIdList omitted. - -// se_AttendeeTagKeyList omitted. - -// se_AttendeeTagList omitted. - -// se_AudioArtifactsConfiguration omitted. - // se_BusinessCallingSettings omitted. -// se_CallingRegionList omitted. - -// se_CapabilityList omitted. - -// se_ChannelRetentionSettings omitted. - -// se_ChimeSdkMeetingConfiguration omitted. - -// se_ContentArtifactsConfiguration omitted. - // se_ConversationRetentionSettings omitted. -// se_CountryList omitted. - -// se_CreateAttendeeRequestItem omitted. - -// se_CreateAttendeeRequestItemList omitted. - -// se_CreateMeetingWithAttendeesRequestItemList omitted. - -// se_Credential omitted. - -// se_CredentialList omitted. - -// se_DNISEmergencyCallingConfiguration omitted. - -// se_DNISEmergencyCallingConfigurationList omitted. - // se_E164PhoneNumberList omitted. -// se_EmergencyCallingConfiguration omitted. - -// se_EngineTranscribeMedicalSettings omitted. - -// se_EngineTranscribeSettings omitted. - -// se_ExternalUserIdList omitted. - -// se_GeoMatchParams omitted. - -// se_LoggingConfiguration omitted. - -// se_MeetingNotificationConfiguration omitted. - -// se_MeetingTagKeyList omitted. - -// se_MeetingTagList omitted. - -// se_MemberArns omitted. - // se_MembershipItem omitted. // se_MembershipItemList omitted. // se_NonEmptyStringList omitted. -// se_Origination omitted. - -// se_OriginationRoute omitted. - -// se_OriginationRouteList omitted. - -// se_ParticipantPhoneNumberList omitted. - // se_RetentionSettings omitted. // se_RoomRetentionSettings omitted. -// se_SelectedVideoStreams omitted. - -// se_SensitiveStringList omitted. - -// se_SigninDelegateGroup omitted. - -// se_SigninDelegateGroupList omitted. - -// se_SipHeadersMap omitted. - -// se_SipMediaApplicationEndpoint omitted. - -// se_SipMediaApplicationEndpointList omitted. - -// se_SipMediaApplicationLoggingConfiguration omitted. - -// se_SipRuleTargetApplication omitted. - -// se_SipRuleTargetApplicationList omitted. - -// se_SMAUpdateCallArgumentsMap omitted. - -// se_SourceConfiguration omitted. - -// se_StreamingConfiguration omitted. - -// se_StreamingNotificationTarget omitted. - -// se_StreamingNotificationTargetList omitted. - -// se_StringList omitted. - -// se_Tag omitted. - -// se_TagKeyList omitted. - -// se_TagList omitted. - -// se_TelephonySettings omitted. - -// se_Termination omitted. - -// se_TranscriptionConfiguration omitted. - -// se_UpdatePhoneNumberRequestItem omitted. - -// se_UpdatePhoneNumberRequestItemList omitted. - -// se_UpdateUserRequestItem omitted. - -// se_UpdateUserRequestItemList omitted. - -// se_UserEmailList omitted. - -// se_UserIdList omitted. - -// se_UserSettings omitted. - -// se_VideoArtifactsConfiguration omitted. - -// se_VoiceConnectorItem omitted. - -// se_VoiceConnectorItemList omitted. - -// se_VoiceConnectorSettings omitted. - -/** - * deserializeAws_restJson1Account - */ -const de_Account = (output: any, context: __SerdeContext): Account => { - return take(output, { - AccountId: __expectString, - AccountStatus: __expectString, - AccountType: __expectString, - AwsAccountId: __expectString, - CreatedTimestamp: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - DefaultLicense: __expectString, - Name: __expectString, - SigninDelegateGroups: _json, - SupportedLicenses: _json, - }) as any; -}; - -/** - * deserializeAws_restJson1AccountList - */ -const de_AccountList = (output: any, context: __SerdeContext): Account[] => { - const retVal = (output || []) - .filter((e: any) => e != null) - .map((entry: any) => { - return de_Account(entry, context); - }); - return retVal; -}; - -// de_AccountSettings omitted. - -// de_Address omitted. - -// de_AlexaForBusinessMetadata omitted. - -/** - * deserializeAws_restJson1AppInstance - */ -const de_AppInstance = (output: any, context: __SerdeContext): AppInstance => { - return take(output, { - AppInstanceArn: __expectString, - CreatedTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - LastUpdatedTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - Metadata: __expectString, - Name: __expectString, - }) as any; -}; - -/** - * deserializeAws_restJson1AppInstanceAdmin - */ -const de_AppInstanceAdmin = (output: any, context: __SerdeContext): AppInstanceAdmin => { - return take(output, { - Admin: _json, - AppInstanceArn: __expectString, - CreatedTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - }) as any; -}; - -// de_AppInstanceAdminList omitted. - -// de_AppInstanceAdminSummary omitted. - -// de_AppInstanceList omitted. - -// de_AppInstanceRetentionSettings omitted. - -// de_AppInstanceStreamingConfiguration omitted. - -// de_AppInstanceStreamingConfigurationList omitted. - -// de_AppInstanceSummary omitted. - -/** - * deserializeAws_restJson1AppInstanceUser - */ -const de_AppInstanceUser = (output: any, context: __SerdeContext): AppInstanceUser => { - return take(output, { - AppInstanceUserArn: __expectString, - CreatedTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - LastUpdatedTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - Metadata: __expectString, - Name: __expectString, - }) as any; -}; - -// de_AppInstanceUserList omitted. - -/** - * deserializeAws_restJson1AppInstanceUserMembershipSummary - */ -const de_AppInstanceUserMembershipSummary = ( - output: any, - context: __SerdeContext -): AppInstanceUserMembershipSummary => { - return take(output, { - ReadMarkerTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - Type: __expectString, - }) as any; -}; - -// de_AppInstanceUserSummary omitted. - -// de_ArtifactsConfiguration omitted. - -// de_Attendee omitted. - -// de_AttendeeIdList omitted. - -// de_AttendeeList omitted. - -// de_AudioArtifactsConfiguration omitted. - -// de_BatchChannelMemberships omitted. - -// de_BatchCreateAttendeeErrorList omitted. - -// de_BatchCreateChannelMembershipError omitted. - -// de_BatchCreateChannelMembershipErrors omitted. - -/** - * deserializeAws_restJson1Bot - */ -const de_Bot = (output: any, context: __SerdeContext): Bot => { - return take(output, { - BotEmail: __expectString, - BotId: __expectString, - BotType: __expectString, - CreatedTimestamp: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - Disabled: __expectBoolean, - DisplayName: __expectString, - SecurityToken: __expectString, - UpdatedTimestamp: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - UserId: __expectString, - }) as any; -}; - -/** - * deserializeAws_restJson1BotList - */ -const de_BotList = (output: any, context: __SerdeContext): Bot[] => { - const retVal = (output || []) - .filter((e: any) => e != null) - .map((entry: any) => { - return de_Bot(entry, context); - }); - return retVal; -}; - -// de_BusinessCallingSettings omitted. - -// de_CallingRegionList omitted. - -// de_CandidateAddress omitted. - -// de_CandidateAddressList omitted. - -// de_CapabilityList omitted. - -/** - * deserializeAws_restJson1Channel - */ -const de_Channel = (output: any, context: __SerdeContext): Channel => { - return take(output, { - ChannelArn: __expectString, - CreatedBy: _json, - CreatedTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - LastMessageTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - LastUpdatedTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - Metadata: __expectString, - Mode: __expectString, - Name: __expectString, - Privacy: __expectString, - }) as any; -}; - -/** - * deserializeAws_restJson1ChannelBan - */ -const de_ChannelBan = (output: any, context: __SerdeContext): ChannelBan => { - return take(output, { - ChannelArn: __expectString, - CreatedBy: _json, - CreatedTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - Member: _json, - }) as any; -}; +// se_SigninDelegateGroup omitted. -// de_ChannelBanSummary omitted. +// se_SigninDelegateGroupList omitted. -// de_ChannelBanSummaryList omitted. +// se_TelephonySettings omitted. -/** - * deserializeAws_restJson1ChannelMembership - */ -const de_ChannelMembership = (output: any, context: __SerdeContext): ChannelMembership => { - return take(output, { - ChannelArn: __expectString, - CreatedTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - InvitedBy: _json, - LastUpdatedTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - Member: _json, - Type: __expectString, - }) as any; -}; +// se_UpdatePhoneNumberRequestItem omitted. -/** - * deserializeAws_restJson1ChannelMembershipForAppInstanceUserSummary - */ -const de_ChannelMembershipForAppInstanceUserSummary = ( - output: any, - context: __SerdeContext -): ChannelMembershipForAppInstanceUserSummary => { - return take(output, { - AppInstanceUserMembershipSummary: (_: any) => de_AppInstanceUserMembershipSummary(_, context), - ChannelSummary: (_: any) => de_ChannelSummary(_, context), - }) as any; -}; +// se_UpdatePhoneNumberRequestItemList omitted. -/** - * deserializeAws_restJson1ChannelMembershipForAppInstanceUserSummaryList - */ -const de_ChannelMembershipForAppInstanceUserSummaryList = ( - output: any, - context: __SerdeContext -): ChannelMembershipForAppInstanceUserSummary[] => { - const retVal = (output || []) - .filter((e: any) => e != null) - .map((entry: any) => { - return de_ChannelMembershipForAppInstanceUserSummary(entry, context); - }); - return retVal; -}; +// se_UpdateUserRequestItem omitted. -// de_ChannelMembershipSummary omitted. +// se_UpdateUserRequestItemList omitted. -// de_ChannelMembershipSummaryList omitted. +// se_UserEmailList omitted. -/** - * deserializeAws_restJson1ChannelMessage - */ -const de_ChannelMessage = (output: any, context: __SerdeContext): ChannelMessage => { - return take(output, { - ChannelArn: __expectString, - Content: __expectString, - CreatedTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - LastEditedTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - LastUpdatedTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - MessageId: __expectString, - Metadata: __expectString, - Persistence: __expectString, - Redacted: __expectBoolean, - Sender: _json, - Type: __expectString, - }) as any; -}; +// se_UserIdList omitted. -/** - * deserializeAws_restJson1ChannelMessageSummary - */ -const de_ChannelMessageSummary = (output: any, context: __SerdeContext): ChannelMessageSummary => { - return take(output, { - Content: __expectString, - CreatedTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - LastEditedTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - LastUpdatedTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - MessageId: __expectString, - Metadata: __expectString, - Redacted: __expectBoolean, - Sender: _json, - Type: __expectString, - }) as any; -}; +// se_UserSettings omitted. -/** - * deserializeAws_restJson1ChannelMessageSummaryList - */ -const de_ChannelMessageSummaryList = (output: any, context: __SerdeContext): ChannelMessageSummary[] => { - const retVal = (output || []) - .filter((e: any) => e != null) - .map((entry: any) => { - return de_ChannelMessageSummary(entry, context); - }); - return retVal; -}; +// se_VoiceConnectorSettings omitted. /** - * deserializeAws_restJson1ChannelModeratedByAppInstanceUserSummary + * deserializeAws_restJson1Account */ -const de_ChannelModeratedByAppInstanceUserSummary = ( - output: any, - context: __SerdeContext -): ChannelModeratedByAppInstanceUserSummary => { +const de_Account = (output: any, context: __SerdeContext): Account => { return take(output, { - ChannelSummary: (_: any) => de_ChannelSummary(_, context), + AccountId: __expectString, + AccountStatus: __expectString, + AccountType: __expectString, + AwsAccountId: __expectString, + CreatedTimestamp: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), + DefaultLicense: __expectString, + Name: __expectString, + SigninDelegateGroups: _json, + SupportedLicenses: _json, }) as any; }; /** - * deserializeAws_restJson1ChannelModeratedByAppInstanceUserSummaryList + * deserializeAws_restJson1AccountList */ -const de_ChannelModeratedByAppInstanceUserSummaryList = ( - output: any, - context: __SerdeContext -): ChannelModeratedByAppInstanceUserSummary[] => { +const de_AccountList = (output: any, context: __SerdeContext): Account[] => { const retVal = (output || []) .filter((e: any) => e != null) .map((entry: any) => { - return de_ChannelModeratedByAppInstanceUserSummary(entry, context); + return de_Account(entry, context); }); return retVal; }; -/** - * deserializeAws_restJson1ChannelModerator - */ -const de_ChannelModerator = (output: any, context: __SerdeContext): ChannelModerator => { - return take(output, { - ChannelArn: __expectString, - CreatedBy: _json, - CreatedTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - Moderator: _json, - }) as any; -}; - -// de_ChannelModeratorSummary omitted. - -// de_ChannelModeratorSummaryList omitted. +// de_AccountSettings omitted. -// de_ChannelRetentionSettings omitted. +// de_AlexaForBusinessMetadata omitted. /** - * deserializeAws_restJson1ChannelSummary + * deserializeAws_restJson1Bot */ -const de_ChannelSummary = (output: any, context: __SerdeContext): ChannelSummary => { +const de_Bot = (output: any, context: __SerdeContext): Bot => { return take(output, { - ChannelArn: __expectString, - LastMessageTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - Metadata: __expectString, - Mode: __expectString, - Name: __expectString, - Privacy: __expectString, + BotEmail: __expectString, + BotId: __expectString, + BotType: __expectString, + CreatedTimestamp: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), + Disabled: __expectBoolean, + DisplayName: __expectString, + SecurityToken: __expectString, + UpdatedTimestamp: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), + UserId: __expectString, }) as any; }; /** - * deserializeAws_restJson1ChannelSummaryList + * deserializeAws_restJson1BotList */ -const de_ChannelSummaryList = (output: any, context: __SerdeContext): ChannelSummary[] => { +const de_BotList = (output: any, context: __SerdeContext): Bot[] => { const retVal = (output || []) .filter((e: any) => e != null) .map((entry: any) => { - return de_ChannelSummary(entry, context); + return de_Bot(entry, context); }); return retVal; }; -// de_ChimeSdkMeetingConfiguration omitted. - -// de_ContentArtifactsConfiguration omitted. +// de_BusinessCallingSettings omitted. // de_ConversationRetentionSettings omitted. -// de_CreateAttendeeError omitted. - -// de_DNISEmergencyCallingConfiguration omitted. - -// de_DNISEmergencyCallingConfigurationList omitted. - // de_E164PhoneNumberList omitted. -// de_EmergencyCallingConfiguration omitted. - // de_EventsConfiguration omitted. -// de_ExternalUserIdList omitted. - -// de_GeoMatchParams omitted. - -// de_Identity omitted. - // de_Invite omitted. // de_InviteList omitted. // de_LicenseList omitted. -// de_LoggingConfiguration omitted. - -/** - * deserializeAws_restJson1MediaCapturePipeline - */ -const de_MediaCapturePipeline = (output: any, context: __SerdeContext): MediaCapturePipeline => { - return take(output, { - ChimeSdkMeetingConfiguration: _json, - CreatedTimestamp: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - MediaPipelineId: __expectString, - SinkArn: __expectString, - SinkType: __expectString, - SourceArn: __expectString, - SourceType: __expectString, - Status: __expectString, - UpdatedTimestamp: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - }) as any; -}; - -/** - * deserializeAws_restJson1MediaCapturePipelineList - */ -const de_MediaCapturePipelineList = (output: any, context: __SerdeContext): MediaCapturePipeline[] => { - const retVal = (output || []) - .filter((e: any) => e != null) - .map((entry: any) => { - return de_MediaCapturePipeline(entry, context); - }); - return retVal; -}; - -// de_MediaPlacement omitted. - -// de_Meeting omitted. - -// de_MeetingList omitted. - // de_Member omitted. // de_MemberError omitted. // de_MemberErrorList omitted. -// de_Members omitted. - -// de_MessagingSessionEndpoint omitted. - // de_OrderedPhoneNumber omitted. // de_OrderedPhoneNumberList omitted. -// de_Origination omitted. - -// de_OriginationRoute omitted. - -// de_OriginationRouteList omitted. - -// de_Participant omitted. - -// de_Participants omitted. - /** * deserializeAws_restJson1PhoneNumber */ @@ -9901,41 +3275,6 @@ const de_PhoneNumberOrderList = (output: any, context: __SerdeContext): PhoneNum // de_PhoneNumberTypeList omitted. -// de_Proxy omitted. - -/** - * deserializeAws_restJson1ProxySession - */ -const de_ProxySession = (output: any, context: __SerdeContext): ProxySession => { - return take(output, { - Capabilities: _json, - CreatedTimestamp: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - EndedTimestamp: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - ExpiryMinutes: __expectInt32, - GeoMatchLevel: __expectString, - GeoMatchParams: _json, - Name: __expectString, - NumberSelectionBehavior: __expectString, - Participants: _json, - ProxySessionId: __expectString, - Status: __expectString, - UpdatedTimestamp: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - VoiceConnectorId: __expectString, - }) as any; -}; - -/** - * deserializeAws_restJson1ProxySessions - */ -const de_ProxySessions = (output: any, context: __SerdeContext): ProxySession[] => { - const retVal = (output || []) - .filter((e: any) => e != null) - .map((entry: any) => { - return de_ProxySession(entry, context); - }); - return retVal; -}; - // de_RetentionSettings omitted. /** @@ -9991,108 +3330,12 @@ const de_RoomMembershipList = (output: any, context: __SerdeContext): RoomMember // de_RoomRetentionSettings omitted. -// de_SelectedVideoStreams omitted. - -// de_SensitiveStringList omitted. - // de_SigninDelegateGroup omitted. // de_SigninDelegateGroupList omitted. -/** - * deserializeAws_restJson1SipMediaApplication - */ -const de_SipMediaApplication = (output: any, context: __SerdeContext): SipMediaApplication => { - return take(output, { - AwsRegion: __expectString, - CreatedTimestamp: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - Endpoints: _json, - Name: __expectString, - SipMediaApplicationId: __expectString, - UpdatedTimestamp: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - }) as any; -}; - -// de_SipMediaApplicationCall omitted. - -// de_SipMediaApplicationEndpoint omitted. - -// de_SipMediaApplicationEndpointList omitted. - -/** - * deserializeAws_restJson1SipMediaApplicationList - */ -const de_SipMediaApplicationList = (output: any, context: __SerdeContext): SipMediaApplication[] => { - const retVal = (output || []) - .filter((e: any) => e != null) - .map((entry: any) => { - return de_SipMediaApplication(entry, context); - }); - return retVal; -}; - -// de_SipMediaApplicationLoggingConfiguration omitted. - -/** - * deserializeAws_restJson1SipRule - */ -const de_SipRule = (output: any, context: __SerdeContext): SipRule => { - return take(output, { - CreatedTimestamp: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - Disabled: __expectBoolean, - Name: __expectString, - SipRuleId: __expectString, - TargetApplications: _json, - TriggerType: __expectString, - TriggerValue: __expectString, - UpdatedTimestamp: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - }) as any; -}; - -/** - * deserializeAws_restJson1SipRuleList - */ -const de_SipRuleList = (output: any, context: __SerdeContext): SipRule[] => { - const retVal = (output || []) - .filter((e: any) => e != null) - .map((entry: any) => { - return de_SipRule(entry, context); - }); - return retVal; -}; - -// de_SipRuleTargetApplication omitted. - -// de_SipRuleTargetApplicationList omitted. - -// de_SourceConfiguration omitted. - -// de_StreamingConfiguration omitted. - -// de_StreamingNotificationTarget omitted. - -// de_StreamingNotificationTargetList omitted. - -// de_StringList omitted. - -// de_Tag omitted. - -// de_TagList omitted. - // de_TelephonySettings omitted. -// de_Termination omitted. - -/** - * deserializeAws_restJson1TerminationHealth - */ -const de_TerminationHealth = (output: any, context: __SerdeContext): TerminationHealth => { - return take(output, { - Source: __expectString, - Timestamp: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - }) as any; -}; - /** * deserializeAws_restJson1User */ @@ -10132,66 +3375,6 @@ const de_UserList = (output: any, context: __SerdeContext): User[] => { // de_UserSettings omitted. -// de_VideoArtifactsConfiguration omitted. - -/** - * deserializeAws_restJson1VoiceConnector - */ -const de_VoiceConnector = (output: any, context: __SerdeContext): VoiceConnector => { - return take(output, { - AwsRegion: __expectString, - CreatedTimestamp: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - Name: __expectString, - OutboundHostName: __expectString, - RequireEncryption: __expectBoolean, - UpdatedTimestamp: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - VoiceConnectorArn: __expectString, - VoiceConnectorId: __expectString, - }) as any; -}; - -/** - * deserializeAws_restJson1VoiceConnectorGroup - */ -const de_VoiceConnectorGroup = (output: any, context: __SerdeContext): VoiceConnectorGroup => { - return take(output, { - CreatedTimestamp: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - Name: __expectString, - UpdatedTimestamp: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - VoiceConnectorGroupArn: __expectString, - VoiceConnectorGroupId: __expectString, - VoiceConnectorItems: _json, - }) as any; -}; - -/** - * deserializeAws_restJson1VoiceConnectorGroupList - */ -const de_VoiceConnectorGroupList = (output: any, context: __SerdeContext): VoiceConnectorGroup[] => { - const retVal = (output || []) - .filter((e: any) => e != null) - .map((entry: any) => { - return de_VoiceConnectorGroup(entry, context); - }); - return retVal; -}; - -// de_VoiceConnectorItem omitted. - -// de_VoiceConnectorItemList omitted. - -/** - * deserializeAws_restJson1VoiceConnectorList - */ -const de_VoiceConnectorList = (output: any, context: __SerdeContext): VoiceConnector[] => { - const retVal = (output || []) - .filter((e: any) => e != null) - .map((entry: any) => { - return de_VoiceConnector(entry, context); - }); - return retVal; -}; - // de_VoiceConnectorSettings omitted. const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ @@ -10207,35 +3390,22 @@ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise context.utf8Encoder(body)); const _AC = "AreaCode"; -const _AIA = "AppInstanceArn"; -const _AIUA = "AppInstanceUserArn"; const _C = "City"; -const _CB = "ChimeBearer"; const _Co = "Country"; const _FN = "FilterName"; const _FV = "FilterValue"; const _MI = "MemberId"; const _MR = "MaxResults"; const _N = "Name"; -const _NA = "NotAfter"; -const _NB = "NotBefore"; const _NT = "NextToken"; -const _P = "Privacy"; const _PNT = "PhoneNumberType"; const _PT = "ProductType"; -const _RARN = "ResourceARN"; const _S = "Status"; -const _SMAI = "SipMediaApplicationId"; -const _SO = "SortOrder"; const _St = "State"; -const _T = "Type"; const _TFP = "TollFreePrefix"; const _UE = "UserEmail"; const _UT = "UserType"; -const _a = "arn"; const _ac = "area-code"; -const _aia = "app-instance-arn"; -const _aiua = "app-instance-user-arn"; const _c = "city"; const _co = "country"; const _fn = "filter-name"; @@ -10243,20 +3413,13 @@ const _fv = "filter-value"; const _mi = "member-id"; const _mr = "max-results"; const _n = "name"; -const _na = "not-after"; -const _nb = "not-before"; const _nt = "next-token"; const _o = "operation"; -const _p = "privacy"; const _pnt = "phone-number-type"; const _pt = "product-type"; -const _s = "scope"; -const _sma = "sip-media-application"; -const _so = "sort-order"; -const _st = "status"; -const _sta = "state"; +const _s = "status"; +const _st = "state"; const _t = "type"; const _tfp = "toll-free-prefix"; const _ue = "user-email"; const _ut = "user-type"; -const _xacb = "x-amz-chime-bearer"; diff --git a/codegen/sdk-codegen/aws-models/chime.json b/codegen/sdk-codegen/aws-models/chime.json index e5a550e29868..8bc2d1b75c6e 100644 --- a/codegen/sdk-codegen/aws-models/chime.json +++ b/codegen/sdk-codegen/aws-models/chime.json @@ -192,74 +192,6 @@ } } }, - "com.amazonaws.chime#Address": { - "type": "structure", - "members": { - "streetName": { - "target": "com.amazonaws.chime#SensitiveNonEmptyString", - "traits": { - "smithy.api#documentation": "

The address street, such as 8th Avenue.

" - } - }, - "streetSuffix": { - "target": "com.amazonaws.chime#SensitiveNonEmptyString", - "traits": { - "smithy.api#documentation": "

The address suffix, such as the N in 8th Avenue N.

" - } - }, - "postDirectional": { - "target": "com.amazonaws.chime#SensitiveNonEmptyString", - "traits": { - "smithy.api#documentation": "

An address suffix location, such as the S. Unit A in Central Park S. Unit A.

" - } - }, - "preDirectional": { - "target": "com.amazonaws.chime#SensitiveNonEmptyString", - "traits": { - "smithy.api#documentation": "

An address prefix location, such as the N in N. Third St..

" - } - }, - "streetNumber": { - "target": "com.amazonaws.chime#SensitiveNonEmptyString", - "traits": { - "smithy.api#documentation": "

The numeric portion of an address.

" - } - }, - "city": { - "target": "com.amazonaws.chime#SensitiveNonEmptyString", - "traits": { - "smithy.api#documentation": "

The city of an address.

" - } - }, - "state": { - "target": "com.amazonaws.chime#SensitiveNonEmptyString", - "traits": { - "smithy.api#documentation": "

The state of an address.

" - } - }, - "postalCode": { - "target": "com.amazonaws.chime#SensitiveNonEmptyString", - "traits": { - "smithy.api#documentation": "

The postal code of an address.

" - } - }, - "postalCodePlus4": { - "target": "com.amazonaws.chime#SensitiveNonEmptyString", - "traits": { - "smithy.api#documentation": "

The Zip + 4 or postal code + 4 of an address.

" - } - }, - "country": { - "target": "com.amazonaws.chime#SensitiveNonEmptyString", - "traits": { - "smithy.api#documentation": "

The country of an address.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A validated address.

" - } - }, "com.amazonaws.chime#AlexaForBusinessMetadata": { "type": "structure", "members": { @@ -286,340 +218,6 @@ "smithy.api#pattern": "^[A-Z]{2}$" } }, - "com.amazonaws.chime#AppInstance": { - "type": "structure", - "members": { - "AppInstanceArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the messaging instance.

" - } - }, - "Name": { - "target": "com.amazonaws.chime#NonEmptyResourceName", - "traits": { - "smithy.api#documentation": "

The name of an AppInstance.

" - } - }, - "Metadata": { - "target": "com.amazonaws.chime#Metadata", - "traits": { - "smithy.api#documentation": "

The metadata of an AppInstance.

" - } - }, - "CreatedTimestamp": { - "target": "com.amazonaws.chime#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which an AppInstance was created. In epoch milliseconds.

" - } - }, - "LastUpdatedTimestamp": { - "target": "com.amazonaws.chime#Timestamp", - "traits": { - "smithy.api#documentation": "

The time an AppInstance was last updated. In epoch milliseconds.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The details of an AppInstance, an instance of an Amazon Chime SDK messaging application.

" - } - }, - "com.amazonaws.chime#AppInstanceAdmin": { - "type": "structure", - "members": { - "Admin": { - "target": "com.amazonaws.chime#Identity", - "traits": { - "smithy.api#documentation": "

The AppInstanceAdmin data.

" - } - }, - "AppInstanceArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the AppInstance for which the user is an administrator.

" - } - }, - "CreatedTimestamp": { - "target": "com.amazonaws.chime#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which an administrator was created.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The details of an AppInstanceAdmin.

" - } - }, - "com.amazonaws.chime#AppInstanceAdminList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#AppInstanceAdminSummary" - } - }, - "com.amazonaws.chime#AppInstanceAdminSummary": { - "type": "structure", - "members": { - "Admin": { - "target": "com.amazonaws.chime#Identity", - "traits": { - "smithy.api#documentation": "

The details of the AppInstanceAdmin.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Summary of the details of an AppInstanceAdmin.

" - } - }, - "com.amazonaws.chime#AppInstanceDataType": { - "type": "enum", - "members": { - "Channel": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Channel" - } - }, - "ChannelMessage": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ChannelMessage" - } - } - } - }, - "com.amazonaws.chime#AppInstanceList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#AppInstanceSummary" - } - }, - "com.amazonaws.chime#AppInstanceRetentionSettings": { - "type": "structure", - "members": { - "ChannelRetentionSettings": { - "target": "com.amazonaws.chime#ChannelRetentionSettings", - "traits": { - "smithy.api#documentation": "

The length of time in days to retain the messages in a channel.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The details of the data-retention settings for an AppInstance.

" - } - }, - "com.amazonaws.chime#AppInstanceStreamingConfiguration": { - "type": "structure", - "members": { - "AppInstanceDataType": { - "target": "com.amazonaws.chime#AppInstanceDataType", - "traits": { - "smithy.api#documentation": "

The type of data to be streamed.

", - "smithy.api#required": {} - } - }, - "ResourceArn": { - "target": "com.amazonaws.chime#Arn", - "traits": { - "smithy.api#documentation": "

The resource ARN.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

The details of the streaming configuration of an AppInstance.

" - } - }, - "com.amazonaws.chime#AppInstanceStreamingConfigurationList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#AppInstanceStreamingConfiguration" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 2 - } - } - }, - "com.amazonaws.chime#AppInstanceSummary": { - "type": "structure", - "members": { - "AppInstanceArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The AppInstance ARN.

" - } - }, - "Name": { - "target": "com.amazonaws.chime#NonEmptyResourceName", - "traits": { - "smithy.api#documentation": "

The name of the AppInstance.

" - } - }, - "Metadata": { - "target": "com.amazonaws.chime#Metadata", - "traits": { - "smithy.api#documentation": "

The metadata of the AppInstance.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Summary of the data for an AppInstance.

" - } - }, - "com.amazonaws.chime#AppInstanceUser": { - "type": "structure", - "members": { - "AppInstanceUserArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the AppInstanceUser.

" - } - }, - "Name": { - "target": "com.amazonaws.chime#UserName", - "traits": { - "smithy.api#documentation": "

The name of the AppInstanceUser.

" - } - }, - "CreatedTimestamp": { - "target": "com.amazonaws.chime#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the AppInstanceUser was created.

" - } - }, - "Metadata": { - "target": "com.amazonaws.chime#Metadata", - "traits": { - "smithy.api#documentation": "

The metadata of the AppInstanceUser.

" - } - }, - "LastUpdatedTimestamp": { - "target": "com.amazonaws.chime#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the AppInstanceUser was last updated.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The details of an AppInstanceUser.

" - } - }, - "com.amazonaws.chime#AppInstanceUserList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#AppInstanceUserSummary" - } - }, - "com.amazonaws.chime#AppInstanceUserMembershipSummary": { - "type": "structure", - "members": { - "Type": { - "target": "com.amazonaws.chime#ChannelMembershipType", - "traits": { - "smithy.api#documentation": "

The type of ChannelMembership.

" - } - }, - "ReadMarkerTimestamp": { - "target": "com.amazonaws.chime#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which a message was last read.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Summary of the membership details of an AppInstanceUser.

" - } - }, - "com.amazonaws.chime#AppInstanceUserSummary": { - "type": "structure", - "members": { - "AppInstanceUserArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the AppInstanceUser.

" - } - }, - "Name": { - "target": "com.amazonaws.chime#UserName", - "traits": { - "smithy.api#documentation": "

The name of an AppInstanceUser.

" - } - }, - "Metadata": { - "target": "com.amazonaws.chime#Metadata", - "traits": { - "smithy.api#documentation": "

The metadata of the AppInstanceUser.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Summary of the details of an AppInstanceUser.

" - } - }, - "com.amazonaws.chime#AreaCode": { - "type": "string", - "traits": { - "smithy.api#pattern": "^$|^[0-9]{3,3}$" - } - }, - "com.amazonaws.chime#Arn": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - }, - "smithy.api#pattern": "^arn[\\/\\:\\-\\_\\.a-zA-Z0-9]+$", - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.chime#ArtifactsConfiguration": { - "type": "structure", - "members": { - "Audio": { - "target": "com.amazonaws.chime#AudioArtifactsConfiguration", - "traits": { - "smithy.api#documentation": "

The configuration for the audio artifacts.

", - "smithy.api#required": {} - } - }, - "Video": { - "target": "com.amazonaws.chime#VideoArtifactsConfiguration", - "traits": { - "smithy.api#documentation": "

The configuration for the video artifacts.

", - "smithy.api#required": {} - } - }, - "Content": { - "target": "com.amazonaws.chime#ContentArtifactsConfiguration", - "traits": { - "smithy.api#documentation": "

The configuration for the content artifacts.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

The configuration for the artifacts.

" - } - }, - "com.amazonaws.chime#ArtifactsState": { - "type": "enum", - "members": { - "Enabled": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Enabled" - } - }, - "Disabled": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Disabled" - } - } - } - }, "com.amazonaws.chime#AssociatePhoneNumberWithUser": { "type": "operation", "input": { @@ -701,20 +299,17 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#AssociatePhoneNumbersWithVoiceConnector": { + "com.amazonaws.chime#AssociateSigninDelegateGroupsWithAccount": { "type": "operation", "input": { - "target": "com.amazonaws.chime#AssociatePhoneNumbersWithVoiceConnectorRequest" + "target": "com.amazonaws.chime#AssociateSigninDelegateGroupsWithAccountRequest" }, "output": { - "target": "com.amazonaws.chime#AssociatePhoneNumbersWithVoiceConnectorResponse" + "target": "com.amazonaws.chime#AssociateSigninDelegateGroupsWithAccountResponse" }, "errors": [ { - "target": "com.amazonaws.chime#AccessDeniedException" - }, - { - "target": "com.amazonaws.chime#BadRequestException" + "target": "com.amazonaws.chime#BadRequestException" }, { "target": "com.amazonaws.chime#ForbiddenException" @@ -736,29 +331,69 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by AssociatePhoneNumbersWithVoiceConnector in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Associates phone numbers with the specified Amazon Chime Voice Connector.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, AssociatePhoneNumbersWithVoiceConnector, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", + "smithy.api#documentation": "

Associates the specified sign-in delegate groups with the specified Amazon Chime account.

", "smithy.api#http": { "method": "POST", - "uri": "/voice-connectors/{VoiceConnectorId}?operation=associate-phone-numbers", + "uri": "/accounts/{AccountId}?operation=associate-signin-delegate-groups", "code": 200 } } }, - "com.amazonaws.chime#AssociatePhoneNumbersWithVoiceConnectorGroup": { + "com.amazonaws.chime#AssociateSigninDelegateGroupsWithAccountRequest": { + "type": "structure", + "members": { + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The Amazon Chime account ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "SigninDelegateGroups": { + "target": "com.amazonaws.chime#SigninDelegateGroupList", + "traits": { + "smithy.api#documentation": "

The sign-in delegate groups.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.chime#AssociateSigninDelegateGroupsWithAccountResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.chime#BadRequestException": { + "type": "structure", + "members": { + "Code": { + "target": "com.amazonaws.chime#ErrorCode" + }, + "Message": { + "target": "com.amazonaws.chime#String" + } + }, + "traits": { + "smithy.api#documentation": "

The input parameters don't match the service's restrictions.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.chime#BatchCreateRoomMembership": { "type": "operation", "input": { - "target": "com.amazonaws.chime#AssociatePhoneNumbersWithVoiceConnectorGroupRequest" + "target": "com.amazonaws.chime#BatchCreateRoomMembershipRequest" }, "output": { - "target": "com.amazonaws.chime#AssociatePhoneNumbersWithVoiceConnectorGroupResponse" + "target": "com.amazonaws.chime#BatchCreateRoomMembershipResponse" }, "errors": [ - { - "target": "com.amazonaws.chime#AccessDeniedException" - }, { "target": "com.amazonaws.chime#BadRequestException" }, @@ -782,39 +417,38 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by AssociatePhoneNumbersWithVoiceConnectorGroup in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Associates phone numbers with the specified Amazon Chime Voice Connector group.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, AssociatePhoneNumbersWithVoiceConnectorGroup, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", + "smithy.api#documentation": "

Adds up to 50 members to a chat room in an Amazon Chime Enterprise account. Members can be users or bots. The member role designates whether the member is a \n chat room administrator or a general chat room member.

", "smithy.api#http": { "method": "POST", - "uri": "/voice-connector-groups/{VoiceConnectorGroupId}?operation=associate-phone-numbers", - "code": 200 + "uri": "/accounts/{AccountId}/rooms/{RoomId}/memberships?operation=batch-create", + "code": 201 } } }, - "com.amazonaws.chime#AssociatePhoneNumbersWithVoiceConnectorGroupRequest": { + "com.amazonaws.chime#BatchCreateRoomMembershipRequest": { "type": "structure", "members": { - "VoiceConnectorGroupId": { + "AccountId": { "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector group ID.

", + "smithy.api#documentation": "

The Amazon Chime account ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "E164PhoneNumbers": { - "target": "com.amazonaws.chime#E164PhoneNumberList", + "RoomId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

List of phone numbers, in E.164 format.

", + "smithy.api#documentation": "

The room ID.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "ForceAssociate": { - "target": "com.amazonaws.chime#NullableBoolean", + "MembershipItemList": { + "target": "com.amazonaws.chime#MembershipItemList", "traits": { - "smithy.api#documentation": "

If true, associates the provided phone numbers with the provided Amazon Chime Voice Connector Group and removes any previously existing associations. If false, does not associate any phone numbers that have previously existing associations.

" + "smithy.api#documentation": "

The list of membership items.

", + "smithy.api#required": {} } } }, @@ -822,13 +456,13 @@ "smithy.api#input": {} } }, - "com.amazonaws.chime#AssociatePhoneNumbersWithVoiceConnectorGroupResponse": { + "com.amazonaws.chime#BatchCreateRoomMembershipResponse": { "type": "structure", "members": { - "PhoneNumberErrors": { - "target": "com.amazonaws.chime#PhoneNumberErrorList", + "Errors": { + "target": "com.amazonaws.chime#MemberErrorList", "traits": { - "smithy.api#documentation": "

If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.

" + "smithy.api#documentation": "

If the action fails for one or more of the member IDs in the request, a list of the member IDs is returned, along with error codes and error messages.

" } } }, @@ -836,42 +470,68 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#AssociatePhoneNumbersWithVoiceConnectorRequest": { + "com.amazonaws.chime#BatchDeletePhoneNumber": { + "type": "operation", + "input": { + "target": "com.amazonaws.chime#BatchDeletePhoneNumberRequest" + }, + "output": { + "target": "com.amazonaws.chime#BatchDeletePhoneNumberResponse" + }, + "errors": [ + { + "target": "com.amazonaws.chime#BadRequestException" + }, + { + "target": "com.amazonaws.chime#ForbiddenException" + }, + { + "target": "com.amazonaws.chime#NotFoundException" + }, + { + "target": "com.amazonaws.chime#ServiceFailureException" + }, + { + "target": "com.amazonaws.chime#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.chime#ThrottledClientException" + }, + { + "target": "com.amazonaws.chime#UnauthorizedClientException" + } + ], + "traits": { + "smithy.api#documentation": "

\nMoves phone numbers into the \nDeletion queue. Phone numbers must be disassociated from any users or Amazon Chime Voice Connectors before they can be deleted.\n

\n

\nPhone numbers remain in the \nDeletion queue for 7 days before they are deleted permanently.\n

", + "smithy.api#http": { + "method": "POST", + "uri": "/phone-numbers?operation=batch-delete", + "code": 200 + } + } + }, + "com.amazonaws.chime#BatchDeletePhoneNumberRequest": { "type": "structure", "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "E164PhoneNumbers": { - "target": "com.amazonaws.chime#E164PhoneNumberList", + "PhoneNumberIds": { + "target": "com.amazonaws.chime#NonEmptyStringList", "traits": { - "smithy.api#documentation": "

List of phone numbers, in E.164 format.

", + "smithy.api#documentation": "

List of phone number IDs.

", "smithy.api#required": {} } - }, - "ForceAssociate": { - "target": "com.amazonaws.chime#NullableBoolean", - "traits": { - "smithy.api#documentation": "

If true, associates the provided phone numbers with the provided Amazon Chime Voice Connector and removes any previously existing associations. If false, does not associate any phone numbers that have previously existing associations.

" - } } }, "traits": { "smithy.api#input": {} } }, - "com.amazonaws.chime#AssociatePhoneNumbersWithVoiceConnectorResponse": { + "com.amazonaws.chime#BatchDeletePhoneNumberResponse": { "type": "structure", "members": { "PhoneNumberErrors": { "target": "com.amazonaws.chime#PhoneNumberErrorList", "traits": { - "smithy.api#documentation": "

If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and \n error messages.

" + "smithy.api#documentation": "

If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.

" } } }, @@ -879,13 +539,13 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#AssociateSigninDelegateGroupsWithAccount": { + "com.amazonaws.chime#BatchSuspendUser": { "type": "operation", "input": { - "target": "com.amazonaws.chime#AssociateSigninDelegateGroupsWithAccountRequest" + "target": "com.amazonaws.chime#BatchSuspendUserRequest" }, "output": { - "target": "com.amazonaws.chime#AssociateSigninDelegateGroupsWithAccountResponse" + "target": "com.amazonaws.chime#BatchSuspendUserResponse" }, "errors": [ { @@ -911,15 +571,15 @@ } ], "traits": { - "smithy.api#documentation": "

Associates the specified sign-in delegate groups with the specified Amazon Chime account.

", + "smithy.api#documentation": "

Suspends up to 50 users from a Team or EnterpriseLWA Amazon Chime\n account. For more information about different account types, see Managing Your Amazon Chime Accounts in the Amazon Chime Administration\n Guide.

\n

Users suspended from a Team account are disassociated from the account,but they\n can continue to use Amazon Chime as free users. To remove the suspension from suspended\n Team account users, invite them to the Team account again.\n You can use the InviteUsers action to do so.

\n

Users suspended from an EnterpriseLWA account are immediately signed out of\n Amazon Chime and can no longer sign in. To remove the suspension from suspended EnterpriseLWA account users, use the \n BatchUnsuspendUser action.

\n

\nTo sign out users without suspending them, use the \nLogoutUser action.

", "smithy.api#http": { "method": "POST", - "uri": "/accounts/{AccountId}?operation=associate-signin-delegate-groups", + "uri": "/accounts/{AccountId}/users?operation=suspend", "code": 200 } } }, - "com.amazonaws.chime#AssociateSigninDelegateGroupsWithAccountRequest": { + "com.amazonaws.chime#BatchSuspendUserRequest": { "type": "structure", "members": { "AccountId": { @@ -930,10 +590,10 @@ "smithy.api#required": {} } }, - "SigninDelegateGroups": { - "target": "com.amazonaws.chime#SigninDelegateGroupList", + "UserIdList": { + "target": "com.amazonaws.chime#UserIdList", "traits": { - "smithy.api#documentation": "

The sign-in delegate groups.

", + "smithy.api#documentation": "

The request containing the user IDs to suspend.

", "smithy.api#required": {} } } @@ -942,167 +602,104 @@ "smithy.api#input": {} } }, - "com.amazonaws.chime#AssociateSigninDelegateGroupsWithAccountResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#Attendee": { + "com.amazonaws.chime#BatchSuspendUserResponse": { "type": "structure", "members": { - "ExternalUserId": { - "target": "com.amazonaws.chime#ExternalUserIdType", - "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.

" - } - }, - "AttendeeId": { - "target": "com.amazonaws.chime#GuidString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK attendee ID.

" - } - }, - "JoinToken": { - "target": "com.amazonaws.chime#JoinTokenString", + "UserErrors": { + "target": "com.amazonaws.chime#UserErrorList", "traits": { - "smithy.api#documentation": "

The join token used by the Amazon Chime SDK attendee.

" + "smithy.api#documentation": "

If the BatchSuspendUser action fails for one or more of the user IDs in the\n request, a list of the user IDs is returned, along with error codes and error messages.

" } } }, "traits": { - "smithy.api#documentation": "

\nAn Amazon Chime SDK meeting attendee. Includes a unique \nAttendeeId\nand \nJoinToken\n. The \nJoinToken\nallows a client to authenticate and join as the specified attendee. The \nJoinToken\nexpires when the meeting ends or when \nDeleteAttendee\nis called. After that, the attendee is unable to join the meeting.\n

\n

We recommend securely transferring each JoinToken from your server application\n to the client so that no other client has access to the token except for the one\n authorized to represent the attendee.

" + "smithy.api#output": {} } }, - "com.amazonaws.chime#AttendeeIdList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#GuidString" + "com.amazonaws.chime#BatchUnsuspendUser": { + "type": "operation", + "input": { + "target": "com.amazonaws.chime#BatchUnsuspendUserRequest" }, - "traits": { - "smithy.api#length": { - "min": 1 - } - } - }, - "com.amazonaws.chime#AttendeeList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#Attendee" - } - }, - "com.amazonaws.chime#AttendeeTagKeyList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#TagKey" + "output": { + "target": "com.amazonaws.chime#BatchUnsuspendUserResponse" }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 + "errors": [ + { + "target": "com.amazonaws.chime#BadRequestException" + }, + { + "target": "com.amazonaws.chime#ForbiddenException" + }, + { + "target": "com.amazonaws.chime#NotFoundException" + }, + { + "target": "com.amazonaws.chime#ServiceFailureException" + }, + { + "target": "com.amazonaws.chime#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.chime#ThrottledClientException" + }, + { + "target": "com.amazonaws.chime#UnauthorizedClientException" } - } - }, - "com.amazonaws.chime#AttendeeTagList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#Tag" - }, + ], "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 + "smithy.api#documentation": "

Removes the suspension from up to 50 previously suspended users for the specified Amazon\n Chime EnterpriseLWA account. Only users on EnterpriseLWA\n accounts can be unsuspended using this action. For more information about different account types, see \n \n Managing Your Amazon Chime Accounts\n in the account types, in the Amazon Chime Administration Guide.\n

\n

Previously suspended users who are unsuspended using this action are returned to \nRegistered\nstatus. Users who are not previously suspended are ignored.

", + "smithy.api#http": { + "method": "POST", + "uri": "/accounts/{AccountId}/users?operation=unsuspend", + "code": 200 } } }, - "com.amazonaws.chime#AudioArtifactsConfiguration": { + "com.amazonaws.chime#BatchUnsuspendUserRequest": { "type": "structure", "members": { - "MuxType": { - "target": "com.amazonaws.chime#AudioMuxType", + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The Amazon Chime account ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "UserIdList": { + "target": "com.amazonaws.chime#UserIdList", "traits": { - "smithy.api#documentation": "

The MUX type of the audio artifact configuration object.

", + "smithy.api#documentation": "

The request containing the user IDs to unsuspend.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

The audio artifact configuration object.

" - } - }, - "com.amazonaws.chime#AudioMuxType": { - "type": "enum", - "members": { - "AudioOnly": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AudioOnly" - } - }, - "AudioWithActiveSpeakerVideo": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AudioWithActiveSpeakerVideo" - } - } - } - }, - "com.amazonaws.chime#BadRequestException": { - "type": "structure", - "members": { - "Code": { - "target": "com.amazonaws.chime#ErrorCode" - }, - "Message": { - "target": "com.amazonaws.chime#String" - } - }, - "traits": { - "smithy.api#documentation": "

The input parameters don't match the service's restrictions.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 + "smithy.api#input": {} } }, - "com.amazonaws.chime#BatchChannelMemberships": { + "com.amazonaws.chime#BatchUnsuspendUserResponse": { "type": "structure", "members": { - "InvitedBy": { - "target": "com.amazonaws.chime#Identity", - "traits": { - "smithy.api#documentation": "

The identifier of the member who invited another member.

" - } - }, - "Type": { - "target": "com.amazonaws.chime#ChannelMembershipType", - "traits": { - "smithy.api#documentation": "

The membership types set for the channel users.

" - } - }, - "Members": { - "target": "com.amazonaws.chime#Members", - "traits": { - "smithy.api#documentation": "

The users successfully added to the request.

" - } - }, - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", + "UserErrors": { + "target": "com.amazonaws.chime#UserErrorList", "traits": { - "smithy.api#documentation": "

The ARN of the channel to which you're adding users.

" + "smithy.api#documentation": "

If the BatchUnsuspendUser action fails for one or more of the user IDs in the\n request, a list of the user IDs is returned, along with error codes and error messages.

" } } }, "traits": { - "smithy.api#documentation": "

The membership information, including member ARNs, the channel ARN, and membership\n types.

" + "smithy.api#output": {} } }, - "com.amazonaws.chime#BatchCreateAttendee": { + "com.amazonaws.chime#BatchUpdatePhoneNumber": { "type": "operation", "input": { - "target": "com.amazonaws.chime#BatchCreateAttendeeRequest" + "target": "com.amazonaws.chime#BatchUpdatePhoneNumberRequest" }, "output": { - "target": "com.amazonaws.chime#BatchCreateAttendeeResponse" + "target": "com.amazonaws.chime#BatchUpdatePhoneNumberResponse" }, "errors": [ { @@ -1114,9 +711,6 @@ { "target": "com.amazonaws.chime#NotFoundException" }, - { - "target": "com.amazonaws.chime#ResourceLimitExceededException" - }, { "target": "com.amazonaws.chime#ServiceFailureException" }, @@ -1131,38 +725,21 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by BatchCreateAttendee in the Amazon Chime SDK Meetings Namespace" - }, - "smithy.api#documentation": "

Creates up to 100 new attendees for an active Amazon Chime SDK meeting.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, BatchCreateAttendee, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
\n

For more information about the Amazon Chime SDK, see \nUsing the Amazon Chime SDK\nin the \nAmazon Chime SDK Developer Guide. \n

", + "smithy.api#documentation": "

Updates phone number product types or calling names. You can update one attribute at a time for each UpdatePhoneNumberRequestItem. For example, you can update the product type or the calling name.

\n

For toll-free numbers, you cannot use the Amazon Chime Business Calling product type. For numbers outside the U.S., you must use the Amazon Chime SIP Media Application Dial-In product type.

\n

Updates to outbound calling names can take up to 72 hours to complete. Pending updates to outbound calling names must be complete before you can request another update.

", "smithy.api#http": { "method": "POST", - "uri": "/meetings/{MeetingId}/attendees?operation=batch-create", - "code": 201 + "uri": "/phone-numbers?operation=batch-update", + "code": 200 } } }, - "com.amazonaws.chime#BatchCreateAttendeeErrorList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#CreateAttendeeError" - } - }, - "com.amazonaws.chime#BatchCreateAttendeeRequest": { + "com.amazonaws.chime#BatchUpdatePhoneNumberRequest": { "type": "structure", "members": { - "MeetingId": { - "target": "com.amazonaws.chime#GuidString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK meeting ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Attendees": { - "target": "com.amazonaws.chime#CreateAttendeeRequestItemList", + "UpdatePhoneNumberRequestItems": { + "target": "com.amazonaws.chime#UpdatePhoneNumberRequestItemList", "traits": { - "smithy.api#documentation": "

The request containing the attendees to create.

", + "smithy.api#documentation": "

The request containing the phone number IDs and product types or calling names to update.

", "smithy.api#required": {} } } @@ -1171,19 +748,13 @@ "smithy.api#input": {} } }, - "com.amazonaws.chime#BatchCreateAttendeeResponse": { + "com.amazonaws.chime#BatchUpdatePhoneNumberResponse": { "type": "structure", "members": { - "Attendees": { - "target": "com.amazonaws.chime#AttendeeList", - "traits": { - "smithy.api#documentation": "

The attendee information, including attendees IDs and join tokens.

" - } - }, - "Errors": { - "target": "com.amazonaws.chime#BatchCreateAttendeeErrorList", + "PhoneNumberErrors": { + "target": "com.amazonaws.chime#PhoneNumberErrorList", "traits": { - "smithy.api#documentation": "

If the action fails for one or more of the attendees in the request, a list of the attendees is returned, along with error codes and error messages.

" + "smithy.api#documentation": "

If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.

" } } }, @@ -1191,13 +762,13 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#BatchCreateChannelMembership": { + "com.amazonaws.chime#BatchUpdateUser": { "type": "operation", "input": { - "target": "com.amazonaws.chime#BatchCreateChannelMembershipRequest" + "target": "com.amazonaws.chime#BatchUpdateUserRequest" }, "output": { - "target": "com.amazonaws.chime#BatchCreateChannelMembershipResponse" + "target": "com.amazonaws.chime#BatchUpdateUserResponse" }, "errors": [ { @@ -1206,6 +777,9 @@ { "target": "com.amazonaws.chime#ForbiddenException" }, + { + "target": "com.amazonaws.chime#NotFoundException" + }, { "target": "com.amazonaws.chime#ServiceFailureException" }, @@ -1220,200 +794,231 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by BatchCreateChannelMembership in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

Adds a specified number of users to a channel.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, BatchCreateChannelMembership, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, + "smithy.api#documentation": "

Updates user details within the UpdateUserRequestItem object for up to 20 users for the specified Amazon Chime account. Currently, only LicenseType updates are supported for this action.

", "smithy.api#http": { "method": "POST", - "uri": "/channels/{ChannelArn}/memberships?operation=batch-create", + "uri": "/accounts/{AccountId}/users", "code": 200 } } }, - "com.amazonaws.chime#BatchCreateChannelMembershipError": { + "com.amazonaws.chime#BatchUpdateUserRequest": { "type": "structure", "members": { - "MemberArn": { - "target": "com.amazonaws.chime#ChimeArn", + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The ARN of the member that the service couldn't add.

" + "smithy.api#documentation": "

The Amazon Chime account ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "ErrorCode": { - "target": "com.amazonaws.chime#ErrorCode", + "UpdateUserRequestItems": { + "target": "com.amazonaws.chime#UpdateUserRequestItemList", "traits": { - "smithy.api#documentation": "

The error code.

" + "smithy.api#documentation": "

The request containing the user IDs and details to update.

", + "smithy.api#required": {} } - }, - "ErrorMessage": { - "target": "com.amazonaws.chime#String", + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.chime#BatchUpdateUserResponse": { + "type": "structure", + "members": { + "UserErrors": { + "target": "com.amazonaws.chime#UserErrorList", "traits": { - "smithy.api#documentation": "

The error message.

" + "smithy.api#documentation": "

If the BatchUpdateUser action fails for one or more of the user IDs in the\n request, a list of the user IDs is returned, along with error codes and error messages.

" } } }, "traits": { - "smithy.api#documentation": "

A list of failed member ARNs, error codes, and error messages.

" + "smithy.api#output": {} } }, - "com.amazonaws.chime#BatchCreateChannelMembershipErrors": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#BatchCreateChannelMembershipError" - } + "com.amazonaws.chime#Boolean": { + "type": "boolean" }, - "com.amazonaws.chime#BatchCreateChannelMembershipRequest": { + "com.amazonaws.chime#Bot": { "type": "structure", "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", + "BotId": { + "target": "com.amazonaws.chime#String", "traits": { - "smithy.api#documentation": "

The ARN of the channel to which you're adding users.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

The bot ID.

" } }, - "Type": { - "target": "com.amazonaws.chime#ChannelMembershipType", + "UserId": { + "target": "com.amazonaws.chime#String", "traits": { - "smithy.api#documentation": "

The membership type of a user, DEFAULT or HIDDEN. Default\n members are always returned as part of ListChannelMemberships. Hidden members\n are only returned if the type filter in ListChannelMemberships equals\n HIDDEN. Otherwise hidden members are not returned. This is only supported\n by moderators.

" + "smithy.api#documentation": "

The unique ID for the bot user.

" } }, - "MemberArns": { - "target": "com.amazonaws.chime#MemberArns", + "DisplayName": { + "target": "com.amazonaws.chime#SensitiveString", "traits": { - "smithy.api#documentation": "

The ARNs of the members you want to add to the channel.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The bot display name.

" } }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", + "BotType": { + "target": "com.amazonaws.chime#BotType", "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" + "smithy.api#documentation": "

The bot type.

" } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#BatchCreateChannelMembershipResponse": { - "type": "structure", - "members": { - "BatchChannelMemberships": { - "target": "com.amazonaws.chime#BatchChannelMemberships", + }, + "Disabled": { + "target": "com.amazonaws.chime#NullableBoolean", "traits": { - "smithy.api#documentation": "

The list of channel memberships in the response.

" + "smithy.api#documentation": "

When true, the bot is stopped from running in your account.

" } }, - "Errors": { - "target": "com.amazonaws.chime#BatchCreateChannelMembershipErrors", + "CreatedTimestamp": { + "target": "com.amazonaws.chime#Iso8601Timestamp", "traits": { - "smithy.api#documentation": "

If the action fails for one or more of the memberships in the request, a list of the\n memberships is returned, along with error codes and error messages.

" + "smithy.api#documentation": "

The bot creation timestamp, in ISO 8601 format.

" } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#BatchCreateRoomMembership": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#BatchCreateRoomMembershipRequest" - }, - "output": { - "target": "com.amazonaws.chime#BatchCreateRoomMembershipResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Adds up to 50 members to a chat room in an Amazon Chime Enterprise account. Members can be users or bots. The member role designates whether the member is a \n chat room administrator or a general chat room member.

", - "smithy.api#http": { - "method": "POST", - "uri": "/accounts/{AccountId}/rooms/{RoomId}/memberships?operation=batch-create", - "code": 201 - } - } - }, - "com.amazonaws.chime#BatchCreateRoomMembershipRequest": { - "type": "structure", - "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", + "UpdatedTimestamp": { + "target": "com.amazonaws.chime#Iso8601Timestamp", "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

The updated bot timestamp, in ISO 8601 format.

" } }, - "RoomId": { - "target": "com.amazonaws.chime#NonEmptyString", + "BotEmail": { + "target": "com.amazonaws.chime#SensitiveString", "traits": { - "smithy.api#documentation": "

The room ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

The bot email address.

" } }, - "MembershipItemList": { - "target": "com.amazonaws.chime#MembershipItemList", + "SecurityToken": { + "target": "com.amazonaws.chime#SensitiveString", "traits": { - "smithy.api#documentation": "

The list of membership items.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The security token used to authenticate Amazon Chime with the outgoing event endpoint.

" } } }, "traits": { - "smithy.api#input": {} + "smithy.api#documentation": "

A resource that allows Enterprise account administrators to configure an interface to receive events from Amazon Chime.

" } }, - "com.amazonaws.chime#BatchCreateRoomMembershipResponse": { - "type": "structure", + "com.amazonaws.chime#BotList": { + "type": "list", + "member": { + "target": "com.amazonaws.chime#Bot" + } + }, + "com.amazonaws.chime#BotType": { + "type": "enum", "members": { - "Errors": { - "target": "com.amazonaws.chime#MemberErrorList", + "ChatBot": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

If the action fails for one or more of the member IDs in the request, a list of the member IDs is returned, along with error codes and error messages.

" + "smithy.api#enumValue": "ChatBot" } } - }, - "traits": { - "smithy.api#output": {} } }, - "com.amazonaws.chime#BatchDeletePhoneNumber": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#BatchDeletePhoneNumberRequest" + "com.amazonaws.chime#BusinessCallingSettings": { + "type": "structure", + "members": { + "CdrBucket": { + "target": "com.amazonaws.chime#String", + "traits": { + "smithy.api#documentation": "

The Amazon S3 bucket designated for call detail record storage.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The Amazon Chime Business Calling settings for the administrator's AWS account. Includes any\n Amazon S3 buckets designated for storing call detail records.

" + } + }, + "com.amazonaws.chime#CallingName": { + "type": "string", + "traits": { + "smithy.api#pattern": "^$|^[a-zA-Z0-9 ]{2,15}$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.chime#CallingNameStatus": { + "type": "enum", + "members": { + "Unassigned": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Unassigned" + } + }, + "UpdateInProgress": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UpdateInProgress" + } + }, + "UpdateSucceeded": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UpdateSucceeded" + } + }, + "UpdateFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UpdateFailed" + } + } + } + }, + "com.amazonaws.chime#ClientRequestToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 2, + "max": 64 + }, + "smithy.api#pattern": "^[-_a-zA-Z0-9]*$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.chime#ConflictException": { + "type": "structure", + "members": { + "Code": { + "target": "com.amazonaws.chime#ErrorCode" + }, + "Message": { + "target": "com.amazonaws.chime#String" + } + }, + "traits": { + "smithy.api#documentation": "

The request could not be processed because of conflict in the current state of the\n resource.

", + "smithy.api#error": "client", + "smithy.api#httpError": 409 + } + }, + "com.amazonaws.chime#ConversationRetentionSettings": { + "type": "structure", + "members": { + "RetentionDays": { + "target": "com.amazonaws.chime#RetentionDays", + "traits": { + "smithy.api#documentation": "

The number of days for which to retain conversation messages.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The retention settings that determine how long to retain conversation messages for an Amazon Chime Enterprise account.

" + } + }, + "com.amazonaws.chime#CreateAccount": { + "type": "operation", + "input": { + "target": "com.amazonaws.chime#CreateAccountRequest" }, "output": { - "target": "com.amazonaws.chime#BatchDeletePhoneNumberResponse" + "target": "com.amazonaws.chime#CreateAccountResponse" }, "errors": [ { @@ -1439,21 +1044,21 @@ } ], "traits": { - "smithy.api#documentation": "

\nMoves phone numbers into the \nDeletion queue. Phone numbers must be disassociated from any users or Amazon Chime Voice Connectors before they can be deleted.\n

\n

\nPhone numbers remain in the \nDeletion queue for 7 days before they are deleted permanently.\n

", + "smithy.api#documentation": "

Creates an Amazon Chime account under the administrator's AWS account. Only Team\n account types are currently supported for this action. For more information about different account types, see \n Managing Your Amazon Chime Accounts in the Amazon Chime \n Administration Guide.

", "smithy.api#http": { "method": "POST", - "uri": "/phone-numbers?operation=batch-delete", - "code": 200 + "uri": "/accounts", + "code": 201 } } }, - "com.amazonaws.chime#BatchDeletePhoneNumberRequest": { + "com.amazonaws.chime#CreateAccountRequest": { "type": "structure", "members": { - "PhoneNumberIds": { - "target": "com.amazonaws.chime#NonEmptyStringList", + "Name": { + "target": "com.amazonaws.chime#AccountName", "traits": { - "smithy.api#documentation": "

List of phone number IDs.

", + "smithy.api#documentation": "

The name of the Amazon Chime account.

", "smithy.api#required": {} } } @@ -1462,13 +1067,13 @@ "smithy.api#input": {} } }, - "com.amazonaws.chime#BatchDeletePhoneNumberResponse": { + "com.amazonaws.chime#CreateAccountResponse": { "type": "structure", "members": { - "PhoneNumberErrors": { - "target": "com.amazonaws.chime#PhoneNumberErrorList", + "Account": { + "target": "com.amazonaws.chime#Account", "traits": { - "smithy.api#documentation": "

If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.

" + "smithy.api#documentation": "

The Amazon Chime account details.

" } } }, @@ -1476,13 +1081,13 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#BatchSuspendUser": { + "com.amazonaws.chime#CreateBot": { "type": "operation", "input": { - "target": "com.amazonaws.chime#BatchSuspendUserRequest" + "target": "com.amazonaws.chime#CreateBotRequest" }, "output": { - "target": "com.amazonaws.chime#BatchSuspendUserResponse" + "target": "com.amazonaws.chime#CreateBotResponse" }, "errors": [ { @@ -1494,6 +1099,9 @@ { "target": "com.amazonaws.chime#NotFoundException" }, + { + "target": "com.amazonaws.chime#ResourceLimitExceededException" + }, { "target": "com.amazonaws.chime#ServiceFailureException" }, @@ -1508,15 +1116,15 @@ } ], "traits": { - "smithy.api#documentation": "

Suspends up to 50 users from a Team or EnterpriseLWA Amazon Chime\n account. For more information about different account types, see Managing Your Amazon Chime Accounts in the Amazon Chime Administration\n Guide.

\n

Users suspended from a Team account are disassociated from the account,but they\n can continue to use Amazon Chime as free users. To remove the suspension from suspended\n Team account users, invite them to the Team account again.\n You can use the InviteUsers action to do so.

\n

Users suspended from an EnterpriseLWA account are immediately signed out of\n Amazon Chime and can no longer sign in. To remove the suspension from suspended EnterpriseLWA account users, use the \n BatchUnsuspendUser action.

\n

\nTo sign out users without suspending them, use the \nLogoutUser action.

", + "smithy.api#documentation": "

Creates a bot for an Amazon Chime Enterprise account.

", "smithy.api#http": { "method": "POST", - "uri": "/accounts/{AccountId}/users?operation=suspend", - "code": 200 + "uri": "/accounts/{AccountId}/bots", + "code": 201 } } }, - "com.amazonaws.chime#BatchSuspendUserRequest": { + "com.amazonaws.chime#CreateBotRequest": { "type": "structure", "members": { "AccountId": { @@ -1527,25 +1135,31 @@ "smithy.api#required": {} } }, - "UserIdList": { - "target": "com.amazonaws.chime#UserIdList", + "DisplayName": { + "target": "com.amazonaws.chime#SensitiveString", "traits": { - "smithy.api#documentation": "

The request containing the user IDs to suspend.

", + "smithy.api#documentation": "

The bot display name.

", "smithy.api#required": {} } + }, + "Domain": { + "target": "com.amazonaws.chime#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The domain of the Amazon Chime Enterprise account.

" + } } }, "traits": { "smithy.api#input": {} } }, - "com.amazonaws.chime#BatchSuspendUserResponse": { + "com.amazonaws.chime#CreateBotResponse": { "type": "structure", "members": { - "UserErrors": { - "target": "com.amazonaws.chime#UserErrorList", + "Bot": { + "target": "com.amazonaws.chime#Bot", "traits": { - "smithy.api#documentation": "

If the BatchSuspendUser action fails for one or more of the user IDs in the\n request, a list of the user IDs is returned, along with error codes and error messages.

" + "smithy.api#documentation": "

The bot details.

" } } }, @@ -1553,15 +1167,18 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#BatchUnsuspendUser": { + "com.amazonaws.chime#CreateMeetingDialOut": { "type": "operation", "input": { - "target": "com.amazonaws.chime#BatchUnsuspendUserRequest" + "target": "com.amazonaws.chime#CreateMeetingDialOutRequest" }, "output": { - "target": "com.amazonaws.chime#BatchUnsuspendUserResponse" + "target": "com.amazonaws.chime#CreateMeetingDialOutResponse" }, "errors": [ + { + "target": "com.amazonaws.chime#AccessDeniedException" + }, { "target": "com.amazonaws.chime#BadRequestException" }, @@ -1569,7 +1186,7 @@ "target": "com.amazonaws.chime#ForbiddenException" }, { - "target": "com.amazonaws.chime#NotFoundException" + "target": "com.amazonaws.chime#ResourceLimitExceededException" }, { "target": "com.amazonaws.chime#ServiceFailureException" @@ -1585,29 +1202,43 @@ } ], "traits": { - "smithy.api#documentation": "

Removes the suspension from up to 50 previously suspended users for the specified Amazon\n Chime EnterpriseLWA account. Only users on EnterpriseLWA\n accounts can be unsuspended using this action. For more information about different account types, see \n \n Managing Your Amazon Chime Accounts\n in the account types, in the Amazon Chime Administration Guide.\n

\n

Previously suspended users who are unsuspended using this action are returned to \nRegistered\nstatus. Users who are not previously suspended are ignored.

", + "smithy.api#documentation": "

Uses the join token and call metadata in a meeting request (From number, To number, and so forth) to initiate an outbound call to a public \n switched telephone network (PSTN) and join them into a Chime meeting. Also ensures that the From number belongs to the customer.

\n

To play welcome audio or implement an interactive voice response (IVR), use the \nCreateSipMediaApplicationCall action with the corresponding SIP media application ID.

\n \n

\n This API is not available in a dedicated namespace.\n

\n
", "smithy.api#http": { "method": "POST", - "uri": "/accounts/{AccountId}/users?operation=unsuspend", - "code": 200 + "uri": "/meetings/{MeetingId}/dial-outs", + "code": 201 } } }, - "com.amazonaws.chime#BatchUnsuspendUserRequest": { + "com.amazonaws.chime#CreateMeetingDialOutRequest": { "type": "structure", "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", + "MeetingId": { + "target": "com.amazonaws.chime#GuidString", "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", + "smithy.api#documentation": "

The Amazon Chime SDK meeting ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "UserIdList": { - "target": "com.amazonaws.chime#UserIdList", + "FromPhoneNumber": { + "target": "com.amazonaws.chime#E164PhoneNumber", "traits": { - "smithy.api#documentation": "

The request containing the user IDs to unsuspend.

", + "smithy.api#documentation": "

Phone number used as the caller ID when the remote party receives a call.

", + "smithy.api#required": {} + } + }, + "ToPhoneNumber": { + "target": "com.amazonaws.chime#E164PhoneNumber", + "traits": { + "smithy.api#documentation": "

Phone number called when inviting someone to a meeting.

", + "smithy.api#required": {} + } + }, + "JoinToken": { + "target": "com.amazonaws.chime#JoinTokenString", + "traits": { + "smithy.api#documentation": "

Token used by the Amazon Chime SDK attendee. Call the CreateAttendee action to get a join token.

", "smithy.api#required": {} } } @@ -1616,13 +1247,13 @@ "smithy.api#input": {} } }, - "com.amazonaws.chime#BatchUnsuspendUserResponse": { + "com.amazonaws.chime#CreateMeetingDialOutResponse": { "type": "structure", "members": { - "UserErrors": { - "target": "com.amazonaws.chime#UserErrorList", + "TransactionId": { + "target": "com.amazonaws.chime#GuidString", "traits": { - "smithy.api#documentation": "

If the BatchUnsuspendUser action fails for one or more of the user IDs in the\n request, a list of the user IDs is returned, along with error codes and error messages.

" + "smithy.api#documentation": "

Unique ID that tracks API calls.

" } } }, @@ -1630,15 +1261,18 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#BatchUpdatePhoneNumber": { + "com.amazonaws.chime#CreatePhoneNumberOrder": { "type": "operation", "input": { - "target": "com.amazonaws.chime#BatchUpdatePhoneNumberRequest" + "target": "com.amazonaws.chime#CreatePhoneNumberOrderRequest" }, "output": { - "target": "com.amazonaws.chime#BatchUpdatePhoneNumberResponse" + "target": "com.amazonaws.chime#CreatePhoneNumberOrderResponse" }, "errors": [ + { + "target": "com.amazonaws.chime#AccessDeniedException" + }, { "target": "com.amazonaws.chime#BadRequestException" }, @@ -1646,7 +1280,7 @@ "target": "com.amazonaws.chime#ForbiddenException" }, { - "target": "com.amazonaws.chime#NotFoundException" + "target": "com.amazonaws.chime#ResourceLimitExceededException" }, { "target": "com.amazonaws.chime#ServiceFailureException" @@ -1662,21 +1296,28 @@ } ], "traits": { - "smithy.api#documentation": "

Updates phone number product types or calling names. You can update one attribute at a time for each UpdatePhoneNumberRequestItem. For example, you can update the product type or the calling name.

\n

For toll-free numbers, you cannot use the Amazon Chime Business Calling product type. For numbers outside the U.S., you must use the Amazon Chime SIP Media Application Dial-In product type.

\n

Updates to outbound calling names can take up to 72 hours to complete. Pending updates to outbound calling names must be complete before you can request another update.

", + "smithy.api#documentation": "

Creates an order for phone numbers to be provisioned. For toll-free numbers, you cannot use the Amazon Chime Business Calling product type. \n For numbers outside the U.S., you must use the Amazon Chime SIP Media Application Dial-In product type.

", "smithy.api#http": { "method": "POST", - "uri": "/phone-numbers?operation=batch-update", - "code": 200 + "uri": "/phone-number-orders", + "code": 201 } } }, - "com.amazonaws.chime#BatchUpdatePhoneNumberRequest": { + "com.amazonaws.chime#CreatePhoneNumberOrderRequest": { "type": "structure", "members": { - "UpdatePhoneNumberRequestItems": { - "target": "com.amazonaws.chime#UpdatePhoneNumberRequestItemList", + "ProductType": { + "target": "com.amazonaws.chime#PhoneNumberProductType", "traits": { - "smithy.api#documentation": "

The request containing the phone number IDs and product types or calling names to update.

", + "smithy.api#documentation": "

The phone number product type.

", + "smithy.api#required": {} + } + }, + "E164PhoneNumbers": { + "target": "com.amazonaws.chime#E164PhoneNumberList", + "traits": { + "smithy.api#documentation": "

List of phone numbers, in E.164 format.

", "smithy.api#required": {} } } @@ -1685,13 +1326,13 @@ "smithy.api#input": {} } }, - "com.amazonaws.chime#BatchUpdatePhoneNumberResponse": { + "com.amazonaws.chime#CreatePhoneNumberOrderResponse": { "type": "structure", "members": { - "PhoneNumberErrors": { - "target": "com.amazonaws.chime#PhoneNumberErrorList", + "PhoneNumberOrder": { + "target": "com.amazonaws.chime#PhoneNumberOrder", "traits": { - "smithy.api#documentation": "

If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.

" + "smithy.api#documentation": "

The phone number order details.

" } } }, @@ -1699,13 +1340,13 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#BatchUpdateUser": { + "com.amazonaws.chime#CreateRoom": { "type": "operation", "input": { - "target": "com.amazonaws.chime#BatchUpdateUserRequest" + "target": "com.amazonaws.chime#CreateRoomRequest" }, "output": { - "target": "com.amazonaws.chime#BatchUpdateUserResponse" + "target": "com.amazonaws.chime#CreateRoomResponse" }, "errors": [ { @@ -1718,7 +1359,10 @@ "target": "com.amazonaws.chime#NotFoundException" }, { - "target": "com.amazonaws.chime#ServiceFailureException" + "target": "com.amazonaws.chime#ResourceLimitExceededException" + }, + { + "target": "com.amazonaws.chime#ServiceFailureException" }, { "target": "com.amazonaws.chime#ServiceUnavailableException" @@ -1731,15 +1375,61 @@ } ], "traits": { - "smithy.api#documentation": "

Updates user details within the UpdateUserRequestItem object for up to 20 users for the specified Amazon Chime account. Currently, only LicenseType updates are supported for this action.

", + "smithy.api#documentation": "

Creates a chat room for the specified Amazon Chime Enterprise account.

", "smithy.api#http": { "method": "POST", - "uri": "/accounts/{AccountId}/users", - "code": 200 + "uri": "/accounts/{AccountId}/rooms", + "code": 201 } } }, - "com.amazonaws.chime#BatchUpdateUserRequest": { + "com.amazonaws.chime#CreateRoomMembership": { + "type": "operation", + "input": { + "target": "com.amazonaws.chime#CreateRoomMembershipRequest" + }, + "output": { + "target": "com.amazonaws.chime#CreateRoomMembershipResponse" + }, + "errors": [ + { + "target": "com.amazonaws.chime#BadRequestException" + }, + { + "target": "com.amazonaws.chime#ConflictException" + }, + { + "target": "com.amazonaws.chime#ForbiddenException" + }, + { + "target": "com.amazonaws.chime#NotFoundException" + }, + { + "target": "com.amazonaws.chime#ResourceLimitExceededException" + }, + { + "target": "com.amazonaws.chime#ServiceFailureException" + }, + { + "target": "com.amazonaws.chime#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.chime#ThrottledClientException" + }, + { + "target": "com.amazonaws.chime#UnauthorizedClientException" + } + ], + "traits": { + "smithy.api#documentation": "

Adds a member to a chat room in an Amazon Chime Enterprise account. A member can be either a user or a bot. The member role designates whether the member is a chat room administrator or a general chat room member.

", + "smithy.api#http": { + "method": "POST", + "uri": "/accounts/{AccountId}/rooms/{RoomId}/memberships", + "code": 201 + } + } + }, + "com.amazonaws.chime#CreateRoomMembershipRequest": { "type": "structure", "members": { "AccountId": { @@ -1750,25 +1440,39 @@ "smithy.api#required": {} } }, - "UpdateUserRequestItems": { - "target": "com.amazonaws.chime#UpdateUserRequestItemList", + "RoomId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The request containing the user IDs and details to update.

", + "smithy.api#documentation": "

The room ID.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "MemberId": { + "target": "com.amazonaws.chime#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The Amazon Chime member ID (user ID or bot ID).

", + "smithy.api#required": {} + } + }, + "Role": { + "target": "com.amazonaws.chime#RoomMembershipRole", + "traits": { + "smithy.api#documentation": "

The role of the member.

" + } } }, "traits": { "smithy.api#input": {} } }, - "com.amazonaws.chime#BatchUpdateUserResponse": { + "com.amazonaws.chime#CreateRoomMembershipResponse": { "type": "structure", "members": { - "UserErrors": { - "target": "com.amazonaws.chime#UserErrorList", + "RoomMembership": { + "target": "com.amazonaws.chime#RoomMembership", "traits": { - "smithy.api#documentation": "

If the BatchUpdateUser action fails for one or more of the user IDs in the\n request, a list of the user IDs is returned, along with error codes and error messages.

" + "smithy.api#documentation": "

The room membership details.

" } } }, @@ -1776,840 +1480,766 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#Boolean": { - "type": "boolean" - }, - "com.amazonaws.chime#Bot": { + "com.amazonaws.chime#CreateRoomRequest": { "type": "structure", "members": { - "BotId": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The bot ID.

" - } - }, - "UserId": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The unique ID for the bot user.

" - } - }, - "DisplayName": { - "target": "com.amazonaws.chime#SensitiveString", - "traits": { - "smithy.api#documentation": "

The bot display name.

" - } - }, - "BotType": { - "target": "com.amazonaws.chime#BotType", - "traits": { - "smithy.api#documentation": "

The bot type.

" - } - }, - "Disabled": { - "target": "com.amazonaws.chime#NullableBoolean", - "traits": { - "smithy.api#documentation": "

When true, the bot is stopped from running in your account.

" - } - }, - "CreatedTimestamp": { - "target": "com.amazonaws.chime#Iso8601Timestamp", - "traits": { - "smithy.api#documentation": "

The bot creation timestamp, in ISO 8601 format.

" - } - }, - "UpdatedTimestamp": { - "target": "com.amazonaws.chime#Iso8601Timestamp", + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The updated bot timestamp, in ISO 8601 format.

" + "smithy.api#documentation": "

The Amazon Chime account ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "BotEmail": { + "Name": { "target": "com.amazonaws.chime#SensitiveString", "traits": { - "smithy.api#documentation": "

The bot email address.

" + "smithy.api#documentation": "

The room name.

", + "smithy.api#required": {} } }, - "SecurityToken": { - "target": "com.amazonaws.chime#SensitiveString", + "ClientRequestToken": { + "target": "com.amazonaws.chime#ClientRequestToken", "traits": { - "smithy.api#documentation": "

The security token used to authenticate Amazon Chime with the outgoing event endpoint.

" + "smithy.api#documentation": "

The idempotency token for the request.

", + "smithy.api#idempotencyToken": {} } } }, "traits": { - "smithy.api#documentation": "

A resource that allows Enterprise account administrators to configure an interface to receive events from Amazon Chime.

" - } - }, - "com.amazonaws.chime#BotList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#Bot" - } - }, - "com.amazonaws.chime#BotType": { - "type": "enum", - "members": { - "ChatBot": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ChatBot" - } - } + "smithy.api#input": {} } }, - "com.amazonaws.chime#BusinessCallingSettings": { + "com.amazonaws.chime#CreateRoomResponse": { "type": "structure", "members": { - "CdrBucket": { - "target": "com.amazonaws.chime#String", + "Room": { + "target": "com.amazonaws.chime#Room", "traits": { - "smithy.api#documentation": "

The Amazon S3 bucket designated for call detail record storage.

" + "smithy.api#documentation": "

The room details.

" } } }, "traits": { - "smithy.api#documentation": "

The Amazon Chime Business Calling settings for the administrator's AWS account. Includes any\n Amazon S3 buckets designated for storing call detail records.

" + "smithy.api#output": {} } }, - "com.amazonaws.chime#CallingName": { - "type": "string", + "com.amazonaws.chime#CreateUser": { + "type": "operation", + "input": { + "target": "com.amazonaws.chime#CreateUserRequest" + }, + "output": { + "target": "com.amazonaws.chime#CreateUserResponse" + }, + "errors": [ + { + "target": "com.amazonaws.chime#BadRequestException" + }, + { + "target": "com.amazonaws.chime#ConflictException" + }, + { + "target": "com.amazonaws.chime#ForbiddenException" + }, + { + "target": "com.amazonaws.chime#NotFoundException" + }, + { + "target": "com.amazonaws.chime#ServiceFailureException" + }, + { + "target": "com.amazonaws.chime#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.chime#ThrottledClientException" + }, + { + "target": "com.amazonaws.chime#UnauthorizedClientException" + } + ], "traits": { - "smithy.api#pattern": "^$|^[a-zA-Z0-9 ]{2,15}$", - "smithy.api#sensitive": {} + "smithy.api#documentation": "

Creates a user under the specified Amazon Chime account.

", + "smithy.api#http": { + "method": "POST", + "uri": "/accounts/{AccountId}/users?operation=create", + "code": 201 + } } }, - "com.amazonaws.chime#CallingNameStatus": { - "type": "enum", + "com.amazonaws.chime#CreateUserRequest": { + "type": "structure", "members": { - "Unassigned": { - "target": "smithy.api#Unit", + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#enumValue": "Unassigned" + "smithy.api#documentation": "

The Amazon Chime account ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "UpdateInProgress": { - "target": "smithy.api#Unit", + "Username": { + "target": "com.amazonaws.chime#String", "traits": { - "smithy.api#enumValue": "UpdateInProgress" + "smithy.api#documentation": "

The user name.

" } }, - "UpdateSucceeded": { - "target": "smithy.api#Unit", + "Email": { + "target": "com.amazonaws.chime#EmailAddress", "traits": { - "smithy.api#enumValue": "UpdateSucceeded" + "smithy.api#documentation": "

The user's email address.

" } }, - "UpdateFailed": { - "target": "smithy.api#Unit", + "UserType": { + "target": "com.amazonaws.chime#UserType", "traits": { - "smithy.api#enumValue": "UpdateFailed" + "smithy.api#documentation": "

The user type.

" } } + }, + "traits": { + "smithy.api#input": {} } }, - "com.amazonaws.chime#CallingRegion": { - "type": "string" - }, - "com.amazonaws.chime#CallingRegionList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#CallingRegion" - } - }, - "com.amazonaws.chime#CandidateAddress": { + "com.amazonaws.chime#CreateUserResponse": { "type": "structure", "members": { - "streetInfo": { - "target": "com.amazonaws.chime#SensitiveNonEmptyString", - "traits": { - "smithy.api#documentation": "

The street information of a candidate address

" - } - }, - "streetNumber": { - "target": "com.amazonaws.chime#SensitiveNonEmptyString", - "traits": { - "smithy.api#documentation": "

The numeric portion of a candidate address.

" - } - }, - "city": { - "target": "com.amazonaws.chime#SensitiveNonEmptyString", - "traits": { - "smithy.api#documentation": "

The city of a candidate address.

" - } - }, - "state": { - "target": "com.amazonaws.chime#SensitiveNonEmptyString", - "traits": { - "smithy.api#documentation": "

The state of a candidate address.

" - } - }, - "postalCode": { - "target": "com.amazonaws.chime#SensitiveNonEmptyString", - "traits": { - "smithy.api#documentation": "

The postal code of a candidate address.

" - } - }, - "postalCodePlus4": { - "target": "com.amazonaws.chime#SensitiveNonEmptyString", - "traits": { - "smithy.api#documentation": "

The Zip + 4 or postal code + 4 of a candidate address.

" - } - }, - "country": { - "target": "com.amazonaws.chime#SensitiveNonEmptyString", + "User": { + "target": "com.amazonaws.chime#User", "traits": { - "smithy.api#documentation": "

The country of a candidate address.

" + "smithy.api#documentation": "

The user on the Amazon Chime account.

" } } }, "traits": { - "smithy.api#documentation": "

A suggested address.

" - } - }, - "com.amazonaws.chime#CandidateAddressList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#CandidateAddress", - "traits": { - "smithy.api#xmlName": "CandidateAddress" - } - } - }, - "com.amazonaws.chime#Capability": { - "type": "enum", - "members": { - "Voice": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Voice" - } - }, - "SMS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SMS" - } - } - } - }, - "com.amazonaws.chime#CapabilityList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#Capability" + "smithy.api#output": {} } }, - "com.amazonaws.chime#Channel": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.chime#NonEmptyResourceName", - "traits": { - "smithy.api#documentation": "

The name of the channel.

" - } - }, - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel.

" - } + "com.amazonaws.chime#DeleteAccount": { + "type": "operation", + "input": { + "target": "com.amazonaws.chime#DeleteAccountRequest" + }, + "output": { + "target": "com.amazonaws.chime#DeleteAccountResponse" + }, + "errors": [ + { + "target": "com.amazonaws.chime#BadRequestException" }, - "Mode": { - "target": "com.amazonaws.chime#ChannelMode", - "traits": { - "smithy.api#documentation": "

The mode of the channel.

" - } + { + "target": "com.amazonaws.chime#ForbiddenException" }, - "Privacy": { - "target": "com.amazonaws.chime#ChannelPrivacy", - "traits": { - "smithy.api#documentation": "

The channel's privacy setting.

" - } + { + "target": "com.amazonaws.chime#NotFoundException" }, - "Metadata": { - "target": "com.amazonaws.chime#Metadata", - "traits": { - "smithy.api#documentation": "

The channel's metadata.

" - } + { + "target": "com.amazonaws.chime#ServiceFailureException" }, - "CreatedBy": { - "target": "com.amazonaws.chime#Identity", - "traits": { - "smithy.api#documentation": "

The AppInstanceUser who created the channel.

" - } + { + "target": "com.amazonaws.chime#ServiceUnavailableException" }, - "CreatedTimestamp": { - "target": "com.amazonaws.chime#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the AppInstanceUser created the channel.

" - } + { + "target": "com.amazonaws.chime#ThrottledClientException" }, - "LastMessageTimestamp": { - "target": "com.amazonaws.chime#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which a member sent the last message in the channel.

" - } + { + "target": "com.amazonaws.chime#UnauthorizedClientException" }, - "LastUpdatedTimestamp": { - "target": "com.amazonaws.chime#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which a channel was last updated.

" - } + { + "target": "com.amazonaws.chime#UnprocessableEntityException" } - }, + ], "traits": { - "smithy.api#documentation": "

The details of a channel.

" + "smithy.api#documentation": "

Deletes the specified Amazon Chime account. You must suspend all users before deleting\n Team account. You can use the BatchSuspendUser action\n to dodo.

\n

For EnterpriseLWA and EnterpriseAD accounts, you must release the\n claimed domains for your Amazon Chime account before deletion. As soon as you release\n the domain, all users under that account are suspended.

\n

Deleted accounts appear in your Disabled accounts list for 90 days. To restore\n deleted account from your Disabled accounts list, you must contact AWS\n Support.

\n

After 90 days, deleted accounts are permanently removed from your \nDisabled accounts list.

", + "smithy.api#http": { + "method": "DELETE", + "uri": "/accounts/{AccountId}", + "code": 204 + } } }, - "com.amazonaws.chime#ChannelBan": { + "com.amazonaws.chime#DeleteAccountRequest": { "type": "structure", "members": { - "Member": { - "target": "com.amazonaws.chime#Identity", - "traits": { - "smithy.api#documentation": "

The member being banned from the channel.

" - } - }, - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel from which a member is being banned.

" - } - }, - "CreatedTimestamp": { - "target": "com.amazonaws.chime#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the ban was created.

" - } - }, - "CreatedBy": { - "target": "com.amazonaws.chime#Identity", + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The AppInstanceUser who created the ban.

" + "smithy.api#documentation": "

The Amazon Chime account ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

The details of a channel ban.

" + "smithy.api#input": {} } }, - "com.amazonaws.chime#ChannelBanSummary": { + "com.amazonaws.chime#DeleteAccountResponse": { "type": "structure", - "members": { - "Member": { - "target": "com.amazonaws.chime#Identity", - "traits": { - "smithy.api#documentation": "

The member being banned from a channel.

" - } - } - }, + "members": {}, "traits": { - "smithy.api#documentation": "

Summary of the details of a ChannelBan.

" - } - }, - "com.amazonaws.chime#ChannelBanSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#ChannelBanSummary" + "smithy.api#output": {} } }, - "com.amazonaws.chime#ChannelMembership": { - "type": "structure", - "members": { - "InvitedBy": { - "target": "com.amazonaws.chime#Identity", - "traits": { - "smithy.api#documentation": "

The identifier of the member who invited another member.

" - } + "com.amazonaws.chime#DeleteEventsConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.chime#DeleteEventsConfigurationRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.chime#BadRequestException" }, - "Type": { - "target": "com.amazonaws.chime#ChannelMembershipType", - "traits": { - "smithy.api#documentation": "

The membership type set for the channel member.

" - } + { + "target": "com.amazonaws.chime#ForbiddenException" }, - "Member": { - "target": "com.amazonaws.chime#Identity", - "traits": { - "smithy.api#documentation": "

The data of the channel member.

" - } + { + "target": "com.amazonaws.chime#ResourceLimitExceededException" }, - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the member's channel.

" - } + { + "target": "com.amazonaws.chime#ServiceFailureException" }, - "CreatedTimestamp": { - "target": "com.amazonaws.chime#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the channel membership was created.

" - } + { + "target": "com.amazonaws.chime#ServiceUnavailableException" }, - "LastUpdatedTimestamp": { - "target": "com.amazonaws.chime#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which a channel membership was last updated.

" - } + { + "target": "com.amazonaws.chime#UnauthorizedClientException" } - }, + ], "traits": { - "smithy.api#documentation": "

The details of a channel member.

" + "smithy.api#documentation": "

Deletes the events configuration that allows a bot to receive outgoing events.

", + "smithy.api#http": { + "method": "DELETE", + "uri": "/accounts/{AccountId}/bots/{BotId}/events-configuration", + "code": 204 + } } }, - "com.amazonaws.chime#ChannelMembershipForAppInstanceUserSummary": { + "com.amazonaws.chime#DeleteEventsConfigurationRequest": { "type": "structure", "members": { - "ChannelSummary": { - "target": "com.amazonaws.chime#ChannelSummary", + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

Summary of the details of a Channel.

" + "smithy.api#documentation": "

The Amazon Chime account ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "AppInstanceUserMembershipSummary": { - "target": "com.amazonaws.chime#AppInstanceUserMembershipSummary", + "BotId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

Summary of the membership details of an AppInstanceUser.

" + "smithy.api#documentation": "

The bot ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Summary of the channel membership details of an AppInstanceUser.

" + "smithy.api#input": {} } }, - "com.amazonaws.chime#ChannelMembershipForAppInstanceUserSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#ChannelMembershipForAppInstanceUserSummary" + "com.amazonaws.chime#DeletePhoneNumber": { + "type": "operation", + "input": { + "target": "com.amazonaws.chime#DeletePhoneNumberRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.chime#BadRequestException" + }, + { + "target": "com.amazonaws.chime#ForbiddenException" + }, + { + "target": "com.amazonaws.chime#NotFoundException" + }, + { + "target": "com.amazonaws.chime#ServiceFailureException" + }, + { + "target": "com.amazonaws.chime#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.chime#ThrottledClientException" + }, + { + "target": "com.amazonaws.chime#UnauthorizedClientException" + } + ], + "traits": { + "smithy.api#documentation": "

Moves the specified phone number into the Deletion queue. A\n phone number must be disassociated from any users or Amazon Chime Voice Connectors\n before it can be deleted.

\n

Deleted phone numbers remain in the \nDeletion queue\nfor 7 days before they are deleted permanently.

", + "smithy.api#http": { + "method": "DELETE", + "uri": "/phone-numbers/{PhoneNumberId}", + "code": 204 + } } }, - "com.amazonaws.chime#ChannelMembershipSummary": { + "com.amazonaws.chime#DeletePhoneNumberRequest": { "type": "structure", "members": { - "Member": { - "target": "com.amazonaws.chime#Identity", + "PhoneNumberId": { + "target": "com.amazonaws.chime#String", "traits": { - "smithy.api#documentation": "

A member's summary data.

" + "smithy.api#documentation": "

The phone number ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Summary of the details of a ChannelMembership.

" - } - }, - "com.amazonaws.chime#ChannelMembershipSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#ChannelMembershipSummary" + "smithy.api#input": {} } }, - "com.amazonaws.chime#ChannelMembershipType": { - "type": "enum", - "members": { - "DEFAULT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DEFAULT" - } - }, - "HIDDEN": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "HIDDEN" - } - } - } - }, - "com.amazonaws.chime#ChannelMessage": { - "type": "structure", - "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel.

" - } - }, - "MessageId": { - "target": "com.amazonaws.chime#MessageId", - "traits": { - "smithy.api#documentation": "

The ID of a message.

" - } - }, - "Content": { - "target": "com.amazonaws.chime#Content", - "traits": { - "smithy.api#documentation": "

The message content.

" - } - }, - "Metadata": { - "target": "com.amazonaws.chime#Metadata", - "traits": { - "smithy.api#documentation": "

The message metadata.

" - } - }, - "Type": { - "target": "com.amazonaws.chime#ChannelMessageType", - "traits": { - "smithy.api#documentation": "

The message type.

" - } + "com.amazonaws.chime#DeleteRoom": { + "type": "operation", + "input": { + "target": "com.amazonaws.chime#DeleteRoomRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.chime#BadRequestException" }, - "CreatedTimestamp": { - "target": "com.amazonaws.chime#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the message was created.

" - } + { + "target": "com.amazonaws.chime#ForbiddenException" }, - "LastEditedTimestamp": { - "target": "com.amazonaws.chime#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which a message was edited.

" - } + { + "target": "com.amazonaws.chime#NotFoundException" }, - "LastUpdatedTimestamp": { - "target": "com.amazonaws.chime#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which a message was updated.

" - } + { + "target": "com.amazonaws.chime#ServiceFailureException" }, - "Sender": { - "target": "com.amazonaws.chime#Identity", - "traits": { - "smithy.api#documentation": "

The message sender.

" - } + { + "target": "com.amazonaws.chime#ServiceUnavailableException" }, - "Redacted": { - "target": "com.amazonaws.chime#NonNullableBoolean", - "traits": { - "smithy.api#default": false, - "smithy.api#documentation": "

Hides the content of a message.

" - } + { + "target": "com.amazonaws.chime#ThrottledClientException" }, - "Persistence": { - "target": "com.amazonaws.chime#ChannelMessagePersistenceType", - "traits": { - "smithy.api#documentation": "

The persistence setting for a channel message.

" - } + { + "target": "com.amazonaws.chime#UnauthorizedClientException" } - }, + ], "traits": { - "smithy.api#documentation": "

The details of a message in a channel.

" - } - }, - "com.amazonaws.chime#ChannelMessagePersistenceType": { - "type": "enum", - "members": { - "PERSISTENT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PERSISTENT" - } - }, - "NON_PERSISTENT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "NON_PERSISTENT" - } + "smithy.api#documentation": "

Deletes a chat room in an Amazon Chime Enterprise account.

", + "smithy.api#http": { + "method": "DELETE", + "uri": "/accounts/{AccountId}/rooms/{RoomId}", + "code": 204 } } }, - "com.amazonaws.chime#ChannelMessageSummary": { - "type": "structure", - "members": { - "MessageId": { - "target": "com.amazonaws.chime#MessageId", - "traits": { - "smithy.api#documentation": "

The ID of the message.

" - } - }, - "Content": { - "target": "com.amazonaws.chime#Content", - "traits": { - "smithy.api#documentation": "

The content of the message.

" - } - }, - "Metadata": { - "target": "com.amazonaws.chime#Metadata", - "traits": { - "smithy.api#documentation": "

The metadata of the message.

" - } + "com.amazonaws.chime#DeleteRoomMembership": { + "type": "operation", + "input": { + "target": "com.amazonaws.chime#DeleteRoomMembershipRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.chime#BadRequestException" }, - "Type": { - "target": "com.amazonaws.chime#ChannelMessageType", - "traits": { - "smithy.api#documentation": "

The type of message.

" - } + { + "target": "com.amazonaws.chime#ForbiddenException" }, - "CreatedTimestamp": { - "target": "com.amazonaws.chime#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the message summary was created.

" - } + { + "target": "com.amazonaws.chime#NotFoundException" }, - "LastUpdatedTimestamp": { - "target": "com.amazonaws.chime#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which a message was last updated.

" - } + { + "target": "com.amazonaws.chime#ServiceFailureException" }, - "LastEditedTimestamp": { - "target": "com.amazonaws.chime#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which a message was last edited.

" - } + { + "target": "com.amazonaws.chime#ServiceUnavailableException" }, - "Sender": { - "target": "com.amazonaws.chime#Identity", - "traits": { - "smithy.api#documentation": "

The message sender.

" - } + { + "target": "com.amazonaws.chime#ThrottledClientException" }, - "Redacted": { - "target": "com.amazonaws.chime#NonNullableBoolean", - "traits": { - "smithy.api#default": false, - "smithy.api#documentation": "

Indicates whether a message was redacted.

" - } + { + "target": "com.amazonaws.chime#UnauthorizedClientException" } - }, + ], "traits": { - "smithy.api#documentation": "

Summary of the messages in a Channel.

" - } - }, - "com.amazonaws.chime#ChannelMessageSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#ChannelMessageSummary" + "smithy.api#documentation": "

Removes a member from a chat room in an Amazon Chime Enterprise account.

", + "smithy.api#http": { + "method": "DELETE", + "uri": "/accounts/{AccountId}/rooms/{RoomId}/memberships/{MemberId}", + "code": 204 + } } }, - "com.amazonaws.chime#ChannelMessageType": { - "type": "enum", + "com.amazonaws.chime#DeleteRoomMembershipRequest": { + "type": "structure", "members": { - "STANDARD": { - "target": "smithy.api#Unit", + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#enumValue": "STANDARD" + "smithy.api#documentation": "

The Amazon Chime account ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "CONTROL": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CONTROL" - } - } - } - }, - "com.amazonaws.chime#ChannelMode": { - "type": "enum", - "members": { - "UNRESTRICTED": { - "target": "smithy.api#Unit", + "RoomId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#enumValue": "UNRESTRICTED" + "smithy.api#documentation": "

The room ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "RESTRICTED": { - "target": "smithy.api#Unit", + "MemberId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#enumValue": "RESTRICTED" + "smithy.api#documentation": "

The member ID (user ID or bot ID).

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, - "com.amazonaws.chime#ChannelModeratedByAppInstanceUserSummary": { + "com.amazonaws.chime#DeleteRoomRequest": { "type": "structure", "members": { - "ChannelSummary": { - "target": "com.amazonaws.chime#ChannelSummary", + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The Amazon Chime account ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "RoomId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

Summary of the details of a Channel.

" + "smithy.api#documentation": "

The chat room ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Summary of the details of a moderated channel.

" - } - }, - "com.amazonaws.chime#ChannelModeratedByAppInstanceUserSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#ChannelModeratedByAppInstanceUserSummary" + "smithy.api#input": {} } }, - "com.amazonaws.chime#ChannelModerator": { - "type": "structure", - "members": { - "Moderator": { - "target": "com.amazonaws.chime#Identity", - "traits": { - "smithy.api#documentation": "

The moderator's data.

" - } + "com.amazonaws.chime#DisassociatePhoneNumberFromUser": { + "type": "operation", + "input": { + "target": "com.amazonaws.chime#DisassociatePhoneNumberFromUserRequest" + }, + "output": { + "target": "com.amazonaws.chime#DisassociatePhoneNumberFromUserResponse" + }, + "errors": [ + { + "target": "com.amazonaws.chime#BadRequestException" }, - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the moderator's channel.

" - } + { + "target": "com.amazonaws.chime#ForbiddenException" }, - "CreatedTimestamp": { - "target": "com.amazonaws.chime#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the moderator was created.

" - } + { + "target": "com.amazonaws.chime#NotFoundException" }, - "CreatedBy": { - "target": "com.amazonaws.chime#Identity", - "traits": { - "smithy.api#documentation": "

The AppInstanceUser who created the moderator.

" - } + { + "target": "com.amazonaws.chime#ServiceFailureException" + }, + { + "target": "com.amazonaws.chime#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.chime#ThrottledClientException" + }, + { + "target": "com.amazonaws.chime#UnauthorizedClientException" } - }, + ], "traits": { - "smithy.api#documentation": "

The details of a channel moderator.

" + "smithy.api#documentation": "

Disassociates the primary provisioned phone number from the specified Amazon Chime user.

", + "smithy.api#http": { + "method": "POST", + "uri": "/accounts/{AccountId}/users/{UserId}?operation=disassociate-phone-number", + "code": 200 + } } }, - "com.amazonaws.chime#ChannelModeratorSummary": { + "com.amazonaws.chime#DisassociatePhoneNumberFromUserRequest": { "type": "structure", "members": { - "Moderator": { - "target": "com.amazonaws.chime#Identity", + "AccountId": { + "target": "com.amazonaws.chime#String", + "traits": { + "smithy.api#documentation": "

The Amazon Chime account ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "UserId": { + "target": "com.amazonaws.chime#String", "traits": { - "smithy.api#documentation": "

The data for a moderator.

" + "smithy.api#documentation": "

The user ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Summary of the details of a ChannelModerator.

" + "smithy.api#input": {} } }, - "com.amazonaws.chime#ChannelModeratorSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#ChannelModeratorSummary" + "com.amazonaws.chime#DisassociatePhoneNumberFromUserResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} } }, - "com.amazonaws.chime#ChannelPrivacy": { - "type": "enum", - "members": { - "PUBLIC": { - "target": "smithy.api#Unit", + "com.amazonaws.chime#DisassociateSigninDelegateGroupsFromAccount": { + "type": "operation", + "input": { + "target": "com.amazonaws.chime#DisassociateSigninDelegateGroupsFromAccountRequest" + }, + "output": { + "target": "com.amazonaws.chime#DisassociateSigninDelegateGroupsFromAccountResponse" + }, + "errors": [ + { + "target": "com.amazonaws.chime#BadRequestException" + }, + { + "target": "com.amazonaws.chime#ForbiddenException" + }, + { + "target": "com.amazonaws.chime#NotFoundException" + }, + { + "target": "com.amazonaws.chime#ServiceFailureException" + }, + { + "target": "com.amazonaws.chime#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.chime#ThrottledClientException" + }, + { + "target": "com.amazonaws.chime#UnauthorizedClientException" + } + ], + "traits": { + "smithy.api#documentation": "

Disassociates the specified sign-in delegate groups from the specified Amazon Chime account.

", + "smithy.api#http": { + "method": "POST", + "uri": "/accounts/{AccountId}?operation=disassociate-signin-delegate-groups", + "code": 200 + } + } + }, + "com.amazonaws.chime#DisassociateSigninDelegateGroupsFromAccountRequest": { + "type": "structure", + "members": { + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#enumValue": "PUBLIC" + "smithy.api#documentation": "

The Amazon Chime account ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "PRIVATE": { - "target": "smithy.api#Unit", + "GroupNames": { + "target": "com.amazonaws.chime#NonEmptyStringList", "traits": { - "smithy.api#enumValue": "PRIVATE" + "smithy.api#documentation": "

The sign-in delegate group names.

", + "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, - "com.amazonaws.chime#ChannelRetentionSettings": { + "com.amazonaws.chime#DisassociateSigninDelegateGroupsFromAccountResponse": { "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.chime#E164PhoneNumber": { + "type": "string", + "traits": { + "smithy.api#pattern": "^\\+?[1-9]\\d{1,14}$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.chime#E164PhoneNumberList": { + "type": "list", + "member": { + "target": "com.amazonaws.chime#E164PhoneNumber" + } + }, + "com.amazonaws.chime#EmailAddress": { + "type": "string", + "traits": { + "smithy.api#pattern": "^.+@.+\\..+$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.chime#EmailStatus": { + "type": "enum", "members": { - "RetentionDays": { - "target": "com.amazonaws.chime#RetentionDays", + "NotSent": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotSent" + } + }, + "Sent": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Sent" + } + }, + "Failed": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The time in days to retain the messages in a channel.

" + "smithy.api#enumValue": "Failed" } } - }, - "traits": { - "smithy.api#documentation": "

The details of the retention settings for a channel.

" } }, - "com.amazonaws.chime#ChannelSummary": { - "type": "structure", + "com.amazonaws.chime#ErrorCode": { + "type": "enum", "members": { - "Name": { - "target": "com.amazonaws.chime#NonEmptyResourceName", + "BadRequest": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The name of the channel.

" + "smithy.api#enumValue": "BadRequest" } }, - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", + "Conflict": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The ARN of the channel.

" + "smithy.api#enumValue": "Conflict" } }, - "Mode": { - "target": "com.amazonaws.chime#ChannelMode", + "Forbidden": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The mode of the channel.

" + "smithy.api#enumValue": "Forbidden" } }, - "Privacy": { - "target": "com.amazonaws.chime#ChannelPrivacy", + "NotFound": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The privacy setting of the channel.

" + "smithy.api#enumValue": "NotFound" } }, - "Metadata": { - "target": "com.amazonaws.chime#Metadata", + "PreconditionFailed": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The metadata of the channel.

" + "smithy.api#enumValue": "PreconditionFailed" } }, - "LastMessageTimestamp": { - "target": "com.amazonaws.chime#Timestamp", + "ResourceLimitExceeded": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The time at which the last message in a channel was sent.

" + "smithy.api#enumValue": "ResourceLimitExceeded" + } + }, + "ServiceFailure": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ServiceFailure" + } + }, + "AccessDenied": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AccessDenied" + } + }, + "ServiceUnavailable": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ServiceUnavailable" + } + }, + "Throttled": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Throttled" + } + }, + "Throttling": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Throttling" + } + }, + "Unauthorized": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Unauthorized" + } + }, + "Unprocessable": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Unprocessable" + } + }, + "VoiceConnectorGroupAssociationsExist": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VoiceConnectorGroupAssociationsExist" } - } - }, - "traits": { - "smithy.api#documentation": "

Summary of the details of a Channel.

" - } - }, - "com.amazonaws.chime#ChannelSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#ChannelSummary" - } - }, - "com.amazonaws.chime#ChimeArn": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 5, - "max": 1600 }, - "smithy.api#pattern": "^arn:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[^/].{0,1023}$" + "PhoneNumberAssociationsExist": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PhoneNumberAssociationsExist" + } + } } }, - "com.amazonaws.chime#ChimeSdkMeetingConfiguration": { + "com.amazonaws.chime#EventsConfiguration": { "type": "structure", "members": { - "SourceConfiguration": { - "target": "com.amazonaws.chime#SourceConfiguration", + "BotId": { + "target": "com.amazonaws.chime#String", + "traits": { + "smithy.api#documentation": "

The bot ID.

" + } + }, + "OutboundEventsHTTPSEndpoint": { + "target": "com.amazonaws.chime#SensitiveString", "traits": { - "smithy.api#documentation": "

The source configuration for a specified media capture pipeline.

" + "smithy.api#documentation": "

HTTPS endpoint that allows a bot to receive outgoing events.

" } }, - "ArtifactsConfiguration": { - "target": "com.amazonaws.chime#ArtifactsConfiguration", + "LambdaFunctionArn": { + "target": "com.amazonaws.chime#SensitiveString", "traits": { - "smithy.api#documentation": "

The configuration for the artifacts in an Amazon Chime SDK meeting.

" + "smithy.api#documentation": "

Lambda function ARN that allows a bot to receive outgoing events.

" } } }, "traits": { - "smithy.api#documentation": "

The configuration object of the Amazon Chime SDK meeting for a specified media capture pipeline. SourceType must be ChimeSdkMeeting.

" - } - }, - "com.amazonaws.chime#ClientRequestToken": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 2, - "max": 64 - }, - "smithy.api#pattern": "^[-_a-zA-Z0-9]*$", - "smithy.api#sensitive": {} + "smithy.api#documentation": "

The configuration that allows a bot to receive outgoing events. Can be either an HTTPS endpoint or a Lambda function ARN.

" } }, - "com.amazonaws.chime#ConflictException": { + "com.amazonaws.chime#ForbiddenException": { "type": "structure", "members": { "Code": { @@ -2620,108 +2250,25 @@ } }, "traits": { - "smithy.api#documentation": "

The request could not be processed because of conflict in the current state of the\n resource.

", + "smithy.api#documentation": "

The client is permanently forbidden from making the request.

", "smithy.api#error": "client", - "smithy.api#httpError": 409 + "smithy.api#httpError": 403 } }, - "com.amazonaws.chime#Content": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 4096 + "com.amazonaws.chime#GetAccount": { + "type": "operation", + "input": { + "target": "com.amazonaws.chime#GetAccountRequest" + }, + "output": { + "target": "com.amazonaws.chime#GetAccountResponse" + }, + "errors": [ + { + "target": "com.amazonaws.chime#BadRequestException" }, - "smithy.api#pattern": "^[\\s\\S]*$", - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.chime#ContentArtifactsConfiguration": { - "type": "structure", - "members": { - "State": { - "target": "com.amazonaws.chime#ArtifactsState", - "traits": { - "smithy.api#documentation": "

Indicates whether the content artifact is enabled or disabled.

", - "smithy.api#required": {} - } - }, - "MuxType": { - "target": "com.amazonaws.chime#ContentMuxType", - "traits": { - "smithy.api#documentation": "

The MUX type of the artifact configuration.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The content artifact object.

" - } - }, - "com.amazonaws.chime#ContentMuxType": { - "type": "enum", - "members": { - "ContentOnly": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ContentOnly" - } - } - } - }, - "com.amazonaws.chime#ConversationRetentionSettings": { - "type": "structure", - "members": { - "RetentionDays": { - "target": "com.amazonaws.chime#RetentionDays", - "traits": { - "smithy.api#documentation": "

The number of days for which to retain conversation messages.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The retention settings that determine how long to retain conversation messages for an Amazon Chime Enterprise account.

" - } - }, - "com.amazonaws.chime#Country": { - "type": "string", - "traits": { - "smithy.api#pattern": "^$|^[A-Z]{2,2}$" - } - }, - "com.amazonaws.chime#CountryList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#Country" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 100 - } - } - }, - "com.amazonaws.chime#CpsLimit": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1 - } - } - }, - "com.amazonaws.chime#CreateAccount": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#CreateAccountRequest" - }, - "output": { - "target": "com.amazonaws.chime#CreateAccountResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" + { + "target": "com.amazonaws.chime#ForbiddenException" }, { "target": "com.amazonaws.chime#NotFoundException" @@ -2740,21 +2287,22 @@ } ], "traits": { - "smithy.api#documentation": "

Creates an Amazon Chime account under the administrator's AWS account. Only Team\n account types are currently supported for this action. For more information about different account types, see \n Managing Your Amazon Chime Accounts in the Amazon Chime \n Administration Guide.

", + "smithy.api#documentation": "

Retrieves details for the specified Amazon Chime account, such as account type and supported\n licenses.

", "smithy.api#http": { - "method": "POST", - "uri": "/accounts", - "code": 201 + "method": "GET", + "uri": "/accounts/{AccountId}", + "code": 200 } } }, - "com.amazonaws.chime#CreateAccountRequest": { + "com.amazonaws.chime#GetAccountRequest": { "type": "structure", "members": { - "Name": { - "target": "com.amazonaws.chime#AccountName", + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The name of the Amazon Chime account.

", + "smithy.api#documentation": "

The Amazon Chime account ID.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } } @@ -2763,7 +2311,7 @@ "smithy.api#input": {} } }, - "com.amazonaws.chime#CreateAccountResponse": { + "com.amazonaws.chime#GetAccountResponse": { "type": "structure", "members": { "Account": { @@ -2777,26 +2325,23 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#CreateAppInstance": { + "com.amazonaws.chime#GetAccountSettings": { "type": "operation", "input": { - "target": "com.amazonaws.chime#CreateAppInstanceRequest" + "target": "com.amazonaws.chime#GetAccountSettingsRequest" }, "output": { - "target": "com.amazonaws.chime#CreateAppInstanceResponse" + "target": "com.amazonaws.chime#GetAccountSettingsResponse" }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" }, - { - "target": "com.amazonaws.chime#ConflictException" - }, { "target": "com.amazonaws.chime#ForbiddenException" }, { - "target": "com.amazonaws.chime#ResourceLimitExceededException" + "target": "com.amazonaws.chime#NotFoundException" }, { "target": "com.amazonaws.chime#ServiceFailureException" @@ -2812,40 +2357,61 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by CreateAppInstance in the Amazon Chime SDK Identity Namespace" - }, - "smithy.api#documentation": "

Creates an Amazon Chime SDK messaging AppInstance under an AWS account. Only SDK messaging customers use this API. \nCreateAppInstance supports idempotency behavior as described in the AWS API Standard.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, CreateAppInstance, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "identity-" - }, + "smithy.api#documentation": "

Retrieves account settings for the specified Amazon Chime account ID, such as remote control\n and dialout settings. For more information about these settings, see \n Use the Policies Page in the Amazon Chime Administration Guide.\n

", "smithy.api#http": { - "method": "POST", - "uri": "/app-instances", - "code": 201 + "method": "GET", + "uri": "/accounts/{AccountId}/settings", + "code": 200 + } + } + }, + "com.amazonaws.chime#GetAccountSettingsRequest": { + "type": "structure", + "members": { + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The Amazon Chime account ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.chime#GetAccountSettingsResponse": { + "type": "structure", + "members": { + "AccountSettings": { + "target": "com.amazonaws.chime#AccountSettings", + "traits": { + "smithy.api#documentation": "

The Amazon Chime account settings.

" + } } + }, + "traits": { + "smithy.api#output": {} } }, - "com.amazonaws.chime#CreateAppInstanceAdmin": { + "com.amazonaws.chime#GetBot": { "type": "operation", "input": { - "target": "com.amazonaws.chime#CreateAppInstanceAdminRequest" + "target": "com.amazonaws.chime#GetBotRequest" }, "output": { - "target": "com.amazonaws.chime#CreateAppInstanceAdminResponse" + "target": "com.amazonaws.chime#GetBotResponse" }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" }, - { - "target": "com.amazonaws.chime#ConflictException" - }, { "target": "com.amazonaws.chime#ForbiddenException" }, { - "target": "com.amazonaws.chime#ResourceLimitExceededException" + "target": "com.amazonaws.chime#NotFoundException" }, { "target": "com.amazonaws.chime#ServiceFailureException" @@ -2861,105 +2427,45 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by CreateAppInstanceAdmin in the Amazon Chime SDK Identity Namespace" - }, - "smithy.api#documentation": "

Promotes an AppInstanceUser to an AppInstanceAdmin. The promoted user can perform the following actions.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, CreateAppInstanceAdmin, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
\n
    \n
  • \n

    \n ChannelModerator actions across all channels in the AppInstance.

    \n
  • \n
  • \n

    \n DeleteChannelMessage actions.

    \n
  • \n
\n

Only an AppInstanceUser can be promoted to an AppInstanceAdmin role.

", - "smithy.api#endpoint": { - "hostPrefix": "identity-" - }, + "smithy.api#documentation": "

Retrieves details for the specified bot, such as bot email address, bot type, status, and display name.

", "smithy.api#http": { - "method": "POST", - "uri": "/app-instances/{AppInstanceArn}/admins", - "code": 201 + "method": "GET", + "uri": "/accounts/{AccountId}/bots/{BotId}", + "code": 200 } } }, - "com.amazonaws.chime#CreateAppInstanceAdminRequest": { + "com.amazonaws.chime#GetBotRequest": { "type": "structure", "members": { - "AppInstanceAdminArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the administrator of the current AppInstance.

", - "smithy.api#required": {} - } - }, - "AppInstanceArn": { - "target": "com.amazonaws.chime#ChimeArn", + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The ARN of the AppInstance.

", + "smithy.api#documentation": "

The Amazon Chime account ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#CreateAppInstanceAdminResponse": { - "type": "structure", - "members": { - "AppInstanceAdmin": { - "target": "com.amazonaws.chime#Identity", - "traits": { - "smithy.api#documentation": "

The name and ARN of the admin for the AppInstance.

" - } - }, - "AppInstanceArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the of the admin for the AppInstance.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#CreateAppInstanceRequest": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.chime#NonEmptyResourceName", - "traits": { - "smithy.api#documentation": "

The name of the AppInstance.

", - "smithy.api#required": {} - } - }, - "Metadata": { - "target": "com.amazonaws.chime#Metadata", - "traits": { - "smithy.api#documentation": "

The metadata of the AppInstance. Limited to a 1KB string in UTF-8.

" - } }, - "ClientRequestToken": { - "target": "com.amazonaws.chime#ClientRequestToken", + "BotId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The ClientRequestToken of the AppInstance.

", - "smithy.api#idempotencyToken": {}, + "smithy.api#documentation": "

The bot ID.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } - }, - "Tags": { - "target": "com.amazonaws.chime#TagList", - "traits": { - "smithy.api#documentation": "

Tags assigned to the AppInstance.

" - } } }, "traits": { "smithy.api#input": {} } }, - "com.amazonaws.chime#CreateAppInstanceResponse": { + "com.amazonaws.chime#GetBotResponse": { "type": "structure", "members": { - "AppInstanceArn": { - "target": "com.amazonaws.chime#ChimeArn", + "Bot": { + "target": "com.amazonaws.chime#Bot", "traits": { - "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the AppInstance.

" + "smithy.api#documentation": "

The chat bot details.

" } } }, @@ -2967,23 +2473,23 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#CreateAppInstanceUser": { + "com.amazonaws.chime#GetEventsConfiguration": { "type": "operation", "input": { - "target": "com.amazonaws.chime#CreateAppInstanceUserRequest" + "target": "com.amazonaws.chime#GetEventsConfigurationRequest" }, "output": { - "target": "com.amazonaws.chime#CreateAppInstanceUserResponse" + "target": "com.amazonaws.chime#GetEventsConfigurationResponse" }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" }, { - "target": "com.amazonaws.chime#ConflictException" + "target": "com.amazonaws.chime#ForbiddenException" }, { - "target": "com.amazonaws.chime#ForbiddenException" + "target": "com.amazonaws.chime#NotFoundException" }, { "target": "com.amazonaws.chime#ResourceLimitExceededException" @@ -2994,84 +2500,50 @@ { "target": "com.amazonaws.chime#ServiceUnavailableException" }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, { "target": "com.amazonaws.chime#UnauthorizedClientException" } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by CreateAppInstanceUser in the Amazon Chime SDK Identity Namespace" - }, - "smithy.api#documentation": "

Creates a user under an Amazon Chime AppInstance. The request consists of a unique appInstanceUserId and \nName for that user.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, CreateAppInstanceUser, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "identity-" - }, + "smithy.api#documentation": "

Gets details for an events configuration that allows a bot to receive outgoing events, such as an HTTPS endpoint or Lambda function ARN.

", "smithy.api#http": { - "method": "POST", - "uri": "/app-instance-users", - "code": 201 + "method": "GET", + "uri": "/accounts/{AccountId}/bots/{BotId}/events-configuration", + "code": 200 } } }, - "com.amazonaws.chime#CreateAppInstanceUserRequest": { + "com.amazonaws.chime#GetEventsConfigurationRequest": { "type": "structure", "members": { - "AppInstanceArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the AppInstance request.

", - "smithy.api#required": {} - } - }, - "AppInstanceUserId": { - "target": "com.amazonaws.chime#UserId", - "traits": { - "smithy.api#documentation": "

The user ID of the AppInstance.

", - "smithy.api#required": {} - } - }, - "Name": { - "target": "com.amazonaws.chime#UserName", + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The user's name.

", + "smithy.api#documentation": "

The Amazon Chime account ID.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "Metadata": { - "target": "com.amazonaws.chime#Metadata", - "traits": { - "smithy.api#documentation": "

The request's metadata. Limited to a 1KB string in UTF-8.

" - } - }, - "ClientRequestToken": { - "target": "com.amazonaws.chime#ClientRequestToken", + "BotId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The token assigned to the user requesting an AppInstance.

", - "smithy.api#idempotencyToken": {}, + "smithy.api#documentation": "

The bot ID.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } - }, - "Tags": { - "target": "com.amazonaws.chime#TagList", - "traits": { - "smithy.api#documentation": "

Tags assigned to the AppInstanceUser.

" - } } }, "traits": { "smithy.api#input": {} } }, - "com.amazonaws.chime#CreateAppInstanceUserResponse": { + "com.amazonaws.chime#GetEventsConfigurationResponse": { "type": "structure", "members": { - "AppInstanceUserArn": { - "target": "com.amazonaws.chime#ChimeArn", + "EventsConfiguration": { + "target": "com.amazonaws.chime#EventsConfiguration", "traits": { - "smithy.api#documentation": "

The user's ARN.

" + "smithy.api#documentation": "

The events configuration details.

" } } }, @@ -3079,13 +2551,13 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#CreateAttendee": { + "com.amazonaws.chime#GetGlobalSettings": { "type": "operation", "input": { - "target": "com.amazonaws.chime#CreateAttendeeRequest" + "target": "smithy.api#Unit" }, "output": { - "target": "com.amazonaws.chime#CreateAttendeeResponse" + "target": "com.amazonaws.chime#GetGlobalSettingsResponse" }, "errors": [ { @@ -3094,12 +2566,6 @@ { "target": "com.amazonaws.chime#ForbiddenException" }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ResourceLimitExceededException" - }, { "target": "com.amazonaws.chime#ServiceFailureException" }, @@ -3114,120 +2580,81 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by CreateAttendee in the Amazon Chime SDK Meetings Namespace" - }, - "smithy.api#documentation": "

\nCreates a new attendee for an active Amazon Chime SDK meeting. For more information about the Amazon Chime SDK, see \nUsing the Amazon Chime SDK\nin the \nAmazon Chime SDK Developer Guide.\n

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, CreateAttendee, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", + "smithy.api#documentation": "

Retrieves global settings for the administrator's AWS account, such as Amazon Chime Business\n Calling and Amazon Chime Voice Connector settings.

", "smithy.api#http": { - "method": "POST", - "uri": "/meetings/{MeetingId}/attendees", - "code": 201 + "method": "GET", + "uri": "/settings", + "code": 200 } } }, - "com.amazonaws.chime#CreateAttendeeError": { + "com.amazonaws.chime#GetGlobalSettingsResponse": { "type": "structure", "members": { - "ExternalUserId": { - "target": "com.amazonaws.chime#ExternalUserIdType", - "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.

" - } - }, - "ErrorCode": { - "target": "com.amazonaws.chime#String", + "BusinessCalling": { + "target": "com.amazonaws.chime#BusinessCallingSettings", "traits": { - "smithy.api#documentation": "

The error code.

" + "smithy.api#documentation": "

The Amazon Chime Business Calling settings.

" } }, - "ErrorMessage": { - "target": "com.amazonaws.chime#String", + "VoiceConnector": { + "target": "com.amazonaws.chime#VoiceConnectorSettings", "traits": { - "smithy.api#documentation": "

The error message.

" + "smithy.api#documentation": "

The Amazon Chime Voice Connector settings.

" } } }, "traits": { - "smithy.api#documentation": "

The list of errors returned when errors are encountered during the BatchCreateAttendee and CreateAttendee actions. This includes external user IDs, error codes, and error messages.

" + "smithy.api#output": {} } }, - "com.amazonaws.chime#CreateAttendeeRequest": { - "type": "structure", - "members": { - "MeetingId": { - "target": "com.amazonaws.chime#GuidString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK meeting ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } + "com.amazonaws.chime#GetPhoneNumber": { + "type": "operation", + "input": { + "target": "com.amazonaws.chime#GetPhoneNumberRequest" + }, + "output": { + "target": "com.amazonaws.chime#GetPhoneNumberResponse" + }, + "errors": [ + { + "target": "com.amazonaws.chime#BadRequestException" }, - "ExternalUserId": { - "target": "com.amazonaws.chime#ExternalUserIdType", - "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.

", - "smithy.api#required": {} - } + { + "target": "com.amazonaws.chime#ForbiddenException" }, - "Tags": { - "target": "com.amazonaws.chime#AttendeeTagList", - "traits": { - "smithy.api#documentation": "

The tag key-value pairs.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#CreateAttendeeRequestItem": { - "type": "structure", - "members": { - "ExternalUserId": { - "target": "com.amazonaws.chime#ExternalUserIdType", - "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.

", - "smithy.api#required": {} - } + { + "target": "com.amazonaws.chime#NotFoundException" }, - "Tags": { - "target": "com.amazonaws.chime#AttendeeTagList", - "traits": { - "smithy.api#documentation": "

The tag key-value pairs.

" - } + { + "target": "com.amazonaws.chime#ServiceFailureException" + }, + { + "target": "com.amazonaws.chime#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.chime#ThrottledClientException" + }, + { + "target": "com.amazonaws.chime#UnauthorizedClientException" } - }, + ], "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK attendee fields to create, used with the BatchCreateAttendee action.

" - } - }, - "com.amazonaws.chime#CreateAttendeeRequestItemList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#CreateAttendeeRequestItem" - } - }, - "com.amazonaws.chime#CreateAttendeeResponse": { - "type": "structure", - "members": { - "Attendee": { - "target": "com.amazonaws.chime#Attendee", - "traits": { - "smithy.api#documentation": "

The attendee information, including attendee ID and join token.

" - } + "smithy.api#documentation": "

Retrieves details for the specified phone number ID, such as associations, capabilities, and product type.

", + "smithy.api#http": { + "method": "GET", + "uri": "/phone-numbers/{PhoneNumberId}", + "code": 200 } - }, - "traits": { - "smithy.api#output": {} } }, - "com.amazonaws.chime#CreateBot": { + "com.amazonaws.chime#GetPhoneNumberOrder": { "type": "operation", "input": { - "target": "com.amazonaws.chime#CreateBotRequest" + "target": "com.amazonaws.chime#GetPhoneNumberOrderRequest" }, "output": { - "target": "com.amazonaws.chime#CreateBotResponse" + "target": "com.amazonaws.chime#GetPhoneNumberOrderResponse" }, "errors": [ { @@ -3239,9 +2666,6 @@ { "target": "com.amazonaws.chime#NotFoundException" }, - { - "target": "com.amazonaws.chime#ResourceLimitExceededException" - }, { "target": "com.amazonaws.chime#ServiceFailureException" }, @@ -3256,36 +2680,53 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a bot for an Amazon Chime Enterprise account.

", + "smithy.api#documentation": "

Retrieves details for the specified phone number order, such as the order creation timestamp, phone\n numbers in E.164 format, product type, and order status.

", "smithy.api#http": { - "method": "POST", - "uri": "/accounts/{AccountId}/bots", - "code": 201 + "method": "GET", + "uri": "/phone-number-orders/{PhoneNumberOrderId}", + "code": 200 } } }, - "com.amazonaws.chime#CreateBotRequest": { + "com.amazonaws.chime#GetPhoneNumberOrderRequest": { "type": "structure", "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", + "PhoneNumberOrderId": { + "target": "com.amazonaws.chime#GuidString", "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", + "smithy.api#documentation": "

The ID for the phone number order.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } - }, - "DisplayName": { - "target": "com.amazonaws.chime#SensitiveString", + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.chime#GetPhoneNumberOrderResponse": { + "type": "structure", + "members": { + "PhoneNumberOrder": { + "target": "com.amazonaws.chime#PhoneNumberOrder", "traits": { - "smithy.api#documentation": "

The bot display name.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The phone number order details.

" } - }, - "Domain": { - "target": "com.amazonaws.chime#NonEmptyString", + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.chime#GetPhoneNumberRequest": { + "type": "structure", + "members": { + "PhoneNumberId": { + "target": "com.amazonaws.chime#String", "traits": { - "smithy.api#documentation": "

The domain of the Amazon Chime Enterprise account.

" + "smithy.api#documentation": "

The phone number ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } } }, @@ -3293,13 +2734,13 @@ "smithy.api#input": {} } }, - "com.amazonaws.chime#CreateBotResponse": { + "com.amazonaws.chime#GetPhoneNumberResponse": { "type": "structure", "members": { - "Bot": { - "target": "com.amazonaws.chime#Bot", + "PhoneNumber": { + "target": "com.amazonaws.chime#PhoneNumber", "traits": { - "smithy.api#documentation": "

The bot details.

" + "smithy.api#documentation": "

The phone number details.

" } } }, @@ -3307,27 +2748,21 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#CreateChannel": { + "com.amazonaws.chime#GetPhoneNumberSettings": { "type": "operation", "input": { - "target": "com.amazonaws.chime#CreateChannelRequest" + "target": "smithy.api#Unit" }, "output": { - "target": "com.amazonaws.chime#CreateChannelResponse" + "target": "com.amazonaws.chime#GetPhoneNumberSettingsResponse" }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" }, - { - "target": "com.amazonaws.chime#ConflictException" - }, { "target": "com.amazonaws.chime#ForbiddenException" }, - { - "target": "com.amazonaws.chime#ResourceLimitExceededException" - }, { "target": "com.amazonaws.chime#ServiceFailureException" }, @@ -3342,40 +2777,51 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by CreateChannel in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

Creates a channel to which you can add users and send messages.

\n

\n Restriction: You can't change a channel's\n privacy.

\n \n

The x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, CreateChannel, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, + "smithy.api#documentation": "

Retrieves the phone number settings for the administrator's AWS account, such as the default outbound calling name.

", "smithy.api#http": { - "method": "POST", - "uri": "/channels", - "code": 201 + "method": "GET", + "uri": "/settings/phone-number", + "code": 200 + } + } + }, + "com.amazonaws.chime#GetPhoneNumberSettingsResponse": { + "type": "structure", + "members": { + "CallingName": { + "target": "com.amazonaws.chime#CallingName", + "traits": { + "smithy.api#documentation": "

The default outbound calling name for the account.

" + } + }, + "CallingNameUpdatedTimestamp": { + "target": "com.amazonaws.chime#Iso8601Timestamp", + "traits": { + "smithy.api#documentation": "

The updated outbound calling name timestamp, in ISO 8601 format.

" + } } + }, + "traits": { + "smithy.api#output": {} } }, - "com.amazonaws.chime#CreateChannelBan": { + "com.amazonaws.chime#GetRetentionSettings": { "type": "operation", "input": { - "target": "com.amazonaws.chime#CreateChannelBanRequest" + "target": "com.amazonaws.chime#GetRetentionSettingsRequest" }, "output": { - "target": "com.amazonaws.chime#CreateChannelBanResponse" + "target": "com.amazonaws.chime#GetRetentionSettingsResponse" }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" }, - { - "target": "com.amazonaws.chime#ConflictException" - }, { "target": "com.amazonaws.chime#ForbiddenException" }, { - "target": "com.amazonaws.chime#ResourceLimitExceededException" + "target": "com.amazonaws.chime#NotFoundException" }, { "target": "com.amazonaws.chime#ServiceFailureException" @@ -3391,63 +2837,43 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by CreateChannelBan in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

Permanently bans a member from a channel. Moderators can't add banned members to a\n channel. To undo a ban, you first have to DeleteChannelBan, and then\n CreateChannelMembership. Bans are cleaned up when you delete users or\n channels.

\n

If you ban a user who is already part of a channel, that user is automatically kicked\n from the channel.

\n \n

The x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, CreateChannelBan, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, + "smithy.api#documentation": "

\nGets the retention settings for the specified Amazon Chime Enterprise account. For more information about retention settings, see \nManaging Chat Retention Policies in the Amazon Chime Administration Guide.\n

", "smithy.api#http": { - "method": "POST", - "uri": "/channels/{ChannelArn}/bans", - "code": 201 + "method": "GET", + "uri": "/accounts/{AccountId}/retention-settings", + "code": 200 } } }, - "com.amazonaws.chime#CreateChannelBanRequest": { + "com.amazonaws.chime#GetRetentionSettingsRequest": { "type": "structure", "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The ARN of the ban request.

", + "smithy.api#documentation": "

The Amazon Chime account ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } - }, - "MemberArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the member being banned.

", - "smithy.api#required": {} - } - }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" - } } }, "traits": { "smithy.api#input": {} } }, - "com.amazonaws.chime#CreateChannelBanResponse": { + "com.amazonaws.chime#GetRetentionSettingsResponse": { "type": "structure", "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", + "RetentionSettings": { + "target": "com.amazonaws.chime#RetentionSettings", "traits": { - "smithy.api#documentation": "

The ARN of the response to the ban request.

" + "smithy.api#documentation": "

The retention settings.

" } }, - "Member": { - "target": "com.amazonaws.chime#Identity", + "InitiateDeletionTimestamp": { + "target": "com.amazonaws.chime#Iso8601Timestamp", "traits": { - "smithy.api#documentation": "

The ChannelArn and BannedIdentity of the member in the ban\n response.

" + "smithy.api#documentation": "

The timestamp representing the time at which the specified items are permanently deleted, in ISO 8601 format.

" } } }, @@ -3455,26 +2881,23 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#CreateChannelMembership": { + "com.amazonaws.chime#GetRoom": { "type": "operation", "input": { - "target": "com.amazonaws.chime#CreateChannelMembershipRequest" + "target": "com.amazonaws.chime#GetRoomRequest" }, "output": { - "target": "com.amazonaws.chime#CreateChannelMembershipResponse" + "target": "com.amazonaws.chime#GetRoomResponse" }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" }, - { - "target": "com.amazonaws.chime#ConflictException" - }, { "target": "com.amazonaws.chime#ForbiddenException" }, { - "target": "com.amazonaws.chime#ResourceLimitExceededException" + "target": "com.amazonaws.chime#NotFoundException" }, { "target": "com.amazonaws.chime#ServiceFailureException" @@ -3490,70 +2913,45 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by CreateChannelMembership in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

Adds a user to a channel. The InvitedBy response field is derived from the\n request header. A channel member can:

\n
    \n
  • \n

    List messages

    \n
  • \n
  • \n

    Send messages

    \n
  • \n
  • \n

    Receive messages

    \n
  • \n
  • \n

    Edit their own messages

    \n
  • \n
  • \n

    Leave the channel

    \n
  • \n
\n

Privacy settings impact this action as follows:

\n
    \n
  • \n

    Public Channels: You do not need to be a member to list messages, but you must be\n a member to send messages.

    \n
  • \n
  • \n

    Private Channels: You must be a member to list or send messages.

    \n
  • \n
\n \n

The x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, CreateChannelMembership, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, + "smithy.api#documentation": "

Retrieves room details, such as the room name, for a room in an Amazon Chime Enterprise account.

", "smithy.api#http": { - "method": "POST", - "uri": "/channels/{ChannelArn}/memberships", - "code": 201 + "method": "GET", + "uri": "/accounts/{AccountId}/rooms/{RoomId}", + "code": 200 } } }, - "com.amazonaws.chime#CreateChannelMembershipRequest": { + "com.amazonaws.chime#GetRoomRequest": { "type": "structure", "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The ARN of the channel to which you're adding users.

", + "smithy.api#documentation": "

The Amazon Chime account ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "MemberArn": { - "target": "com.amazonaws.chime#ChimeArn", + "RoomId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The ARN of the member you want to add to the channel.

", - "smithy.api#required": {} - } - }, - "Type": { - "target": "com.amazonaws.chime#ChannelMembershipType", - "traits": { - "smithy.api#documentation": "

The membership type of a user, DEFAULT or HIDDEN. Default\n members are always returned as part of ListChannelMemberships. Hidden members\n are only returned if the type filter in ListChannelMemberships equals\n HIDDEN. Otherwise hidden members are not returned. This is only supported\n by moderators.

", + "smithy.api#documentation": "

The room ID.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } - }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" - } } }, "traits": { "smithy.api#input": {} } }, - "com.amazonaws.chime#CreateChannelMembershipResponse": { + "com.amazonaws.chime#GetRoomResponse": { "type": "structure", "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel.

" - } - }, - "Member": { - "target": "com.amazonaws.chime#Identity", + "Room": { + "target": "com.amazonaws.chime#Room", "traits": { - "smithy.api#documentation": "

The ARN and metadata of the member being added.

" + "smithy.api#documentation": "

The room details.

" } } }, @@ -3561,26 +2959,23 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#CreateChannelModerator": { + "com.amazonaws.chime#GetUser": { "type": "operation", "input": { - "target": "com.amazonaws.chime#CreateChannelModeratorRequest" + "target": "com.amazonaws.chime#GetUserRequest" }, "output": { - "target": "com.amazonaws.chime#CreateChannelModeratorResponse" + "target": "com.amazonaws.chime#GetUserResponse" }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" }, - { - "target": "com.amazonaws.chime#ConflictException" - }, { "target": "com.amazonaws.chime#ForbiddenException" }, { - "target": "com.amazonaws.chime#ResourceLimitExceededException" + "target": "com.amazonaws.chime#NotFoundException" }, { "target": "com.amazonaws.chime#ServiceFailureException" @@ -3596,138 +2991,45 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by CreateChannelModerator in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

Creates a new ChannelModerator. A channel moderator can:

\n
    \n
  • \n

    Add and remove other members of the channel.

    \n
  • \n
  • \n

    Add and remove other moderators of the channel.

    \n
  • \n
  • \n

    Add and remove user bans for the channel.

    \n
  • \n
  • \n

    Redact messages in the channel.

    \n
  • \n
  • \n

    List messages in the channel.

    \n
  • \n
\n \n

The x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, CreateChannelModerator, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, + "smithy.api#documentation": "

Retrieves details for the specified user ID, such as primary email address, license type,and personal meeting PIN.

\n

\nTo retrieve user details with an email address instead of a user ID, use the \nListUsers action, and then filter by email address.\n

", "smithy.api#http": { - "method": "POST", - "uri": "/channels/{ChannelArn}/moderators", - "code": 201 + "method": "GET", + "uri": "/accounts/{AccountId}/users/{UserId}", + "code": 200 } } }, - "com.amazonaws.chime#CreateChannelModeratorRequest": { + "com.amazonaws.chime#GetUserRequest": { "type": "structure", "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The ARN of the channel.

", + "smithy.api#documentation": "

The Amazon Chime account ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "ChannelModeratorArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the moderator.

", - "smithy.api#required": {} - } - }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#CreateChannelModeratorResponse": { - "type": "structure", - "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel.

" - } - }, - "ChannelModerator": { - "target": "com.amazonaws.chime#Identity", - "traits": { - "smithy.api#documentation": "

The ARNs of the channel and the moderator.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#CreateChannelRequest": { - "type": "structure", - "members": { - "AppInstanceArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel request.

", - "smithy.api#required": {} - } - }, - "Name": { - "target": "com.amazonaws.chime#NonEmptyResourceName", - "traits": { - "smithy.api#documentation": "

The name of the channel.

", - "smithy.api#required": {} - } - }, - "Mode": { - "target": "com.amazonaws.chime#ChannelMode", - "traits": { - "smithy.api#documentation": "

The channel mode: UNRESTRICTED or RESTRICTED. Administrators,\n moderators, and channel members can add themselves and other members to unrestricted\n channels. Only administrators and moderators can add members to restricted channels.

" - } - }, - "Privacy": { - "target": "com.amazonaws.chime#ChannelPrivacy", - "traits": { - "smithy.api#documentation": "

The channel's privacy level: PUBLIC or PRIVATE. Private\n channels aren't discoverable by users outside the channel. Public channels are discoverable\n by anyone in the AppInstance.

" - } - }, - "Metadata": { - "target": "com.amazonaws.chime#Metadata", - "traits": { - "smithy.api#documentation": "

The metadata of the creation request. Limited to 1KB and UTF-8.

" - } - }, - "ClientRequestToken": { - "target": "com.amazonaws.chime#ClientRequestToken", + "UserId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The client token for the request. An Idempotency token.

", - "smithy.api#idempotencyToken": {}, + "smithy.api#documentation": "

The user ID.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } - }, - "Tags": { - "target": "com.amazonaws.chime#TagList", - "traits": { - "smithy.api#documentation": "

The tags for the creation request.

" - } - }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" - } } }, "traits": { "smithy.api#input": {} } }, - "com.amazonaws.chime#CreateChannelResponse": { + "com.amazonaws.chime#GetUserResponse": { "type": "structure", "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", + "User": { + "target": "com.amazonaws.chime#User", "traits": { - "smithy.api#documentation": "

The ARN of the channel.

" + "smithy.api#documentation": "

The user details.

" } } }, @@ -3735,13 +3037,13 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#CreateMediaCapturePipeline": { + "com.amazonaws.chime#GetUserSettings": { "type": "operation", "input": { - "target": "com.amazonaws.chime#CreateMediaCapturePipelineRequest" + "target": "com.amazonaws.chime#GetUserSettingsRequest" }, "output": { - "target": "com.amazonaws.chime#CreateMediaCapturePipelineResponse" + "target": "com.amazonaws.chime#GetUserSettingsResponse" }, "errors": [ { @@ -3751,7 +3053,7 @@ "target": "com.amazonaws.chime#ForbiddenException" }, { - "target": "com.amazonaws.chime#ResourceLimitExceededException" + "target": "com.amazonaws.chime#NotFoundException" }, { "target": "com.amazonaws.chime#ServiceFailureException" @@ -3767,73 +3069,45 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by CreateMediaCapturePipeline in the Amazon Chime SDK Media Pipelines Namespace" - }, - "smithy.api#documentation": "

Creates a media capture pipeline.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, CreateMediaCapturePipeline, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", + "smithy.api#documentation": "

Retrieves settings for the specified user ID, such as any associated phone number settings.

", "smithy.api#http": { - "method": "POST", - "uri": "/media-capture-pipelines", - "code": 201 + "method": "GET", + "uri": "/accounts/{AccountId}/users/{UserId}/settings", + "code": 200 } } }, - "com.amazonaws.chime#CreateMediaCapturePipelineRequest": { + "com.amazonaws.chime#GetUserSettingsRequest": { "type": "structure", "members": { - "SourceType": { - "target": "com.amazonaws.chime#MediaPipelineSourceType", - "traits": { - "smithy.api#documentation": "

Source type from which the media artifacts will be captured. A Chime SDK Meeting \n is the only supported source.

", - "smithy.api#required": {} - } - }, - "SourceArn": { - "target": "com.amazonaws.chime#Arn", - "traits": { - "smithy.api#documentation": "

ARN of the source from which the media artifacts are captured.

", - "smithy.api#required": {} - } - }, - "SinkType": { - "target": "com.amazonaws.chime#MediaPipelineSinkType", + "AccountId": { + "target": "com.amazonaws.chime#String", "traits": { - "smithy.api#documentation": "

Destination type to which the media artifacts are saved. You must use an S3 bucket.

", + "smithy.api#documentation": "

The Amazon Chime account ID.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "SinkArn": { - "target": "com.amazonaws.chime#Arn", + "UserId": { + "target": "com.amazonaws.chime#String", "traits": { - "smithy.api#documentation": "

The ARN of the sink type.

", + "smithy.api#documentation": "

The user ID.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } - }, - "ClientRequestToken": { - "target": "com.amazonaws.chime#ClientRequestToken", - "traits": { - "smithy.api#documentation": "

The unique identifier for the client request. The token makes the API request idempotent. Use a different token for different media pipeline requests.

", - "smithy.api#idempotencyToken": {} - } - }, - "ChimeSdkMeetingConfiguration": { - "target": "com.amazonaws.chime#ChimeSdkMeetingConfiguration", - "traits": { - "smithy.api#documentation": "

The configuration for a specified media capture pipeline. SourceType must be ChimeSdkMeeting.

" - } } }, "traits": { "smithy.api#input": {} } }, - "com.amazonaws.chime#CreateMediaCapturePipelineResponse": { + "com.amazonaws.chime#GetUserSettingsResponse": { "type": "structure", "members": { - "MediaCapturePipeline": { - "target": "com.amazonaws.chime#MediaCapturePipeline", + "UserSettings": { + "target": "com.amazonaws.chime#UserSettings", "traits": { - "smithy.api#documentation": "

A media capture pipeline object, the ID, source type, source ARN, sink type, and sink ARN of a media capture pipeline object.

" + "smithy.api#documentation": "

The user settings.

" } } }, @@ -3841,61 +3115,82 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#CreateMeeting": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#CreateMeetingRequest" - }, - "output": { - "target": "com.amazonaws.chime#CreateMeetingResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ResourceLimitExceededException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" + "com.amazonaws.chime#GuidString": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[a-fA-F0-9]{8}(?:-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}$" + } + }, + "com.amazonaws.chime#Invite": { + "type": "structure", + "members": { + "InviteId": { + "target": "com.amazonaws.chime#String", + "traits": { + "smithy.api#documentation": "

The invite ID.

" + } }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" + "Status": { + "target": "com.amazonaws.chime#InviteStatus", + "traits": { + "smithy.api#documentation": "

The status of the invite.

" + } }, - { - "target": "com.amazonaws.chime#ThrottledClientException" + "EmailAddress": { + "target": "com.amazonaws.chime#EmailAddress", + "traits": { + "smithy.api#documentation": "

The email address to which the invite is sent.

" + } }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" + "EmailStatus": { + "target": "com.amazonaws.chime#EmailStatus", + "traits": { + "smithy.api#documentation": "

The status of the invite email.

" + } } - ], + }, "traits": { - "smithy.api#deprecated": { - "message": "Replaced by CreateMeeting in the Amazon Chime SDK Meetings Namespace" + "smithy.api#documentation": "

Invitation object returned after emailing users to invite them to join the Amazon Chime\n Team account.

" + } + }, + "com.amazonaws.chime#InviteList": { + "type": "list", + "member": { + "target": "com.amazonaws.chime#Invite" + } + }, + "com.amazonaws.chime#InviteStatus": { + "type": "enum", + "members": { + "Pending": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pending" + } }, - "smithy.api#documentation": "

Creates a new Amazon Chime SDK meeting in the specified media Region with no initial attendees. For more information about specifying media Regions, see \nAmazon Chime SDK Media Regions\nin the Amazon Chime SDK Developer Guide\n. For more information about the Amazon Chime SDK, see \nUsing the Amazon Chime SDK\nin the Amazon Chime SDK Developer Guide.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, CreateMeeting, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "POST", - "uri": "/meetings", - "code": 201 + "Accepted": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Accepted" + } + }, + "Failed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } } } }, - "com.amazonaws.chime#CreateMeetingDialOut": { + "com.amazonaws.chime#InviteUsers": { "type": "operation", "input": { - "target": "com.amazonaws.chime#CreateMeetingDialOutRequest" + "target": "com.amazonaws.chime#InviteUsersRequest" }, "output": { - "target": "com.amazonaws.chime#CreateMeetingDialOutResponse" + "target": "com.amazonaws.chime#InviteUsersResponse" }, "errors": [ - { - "target": "com.amazonaws.chime#AccessDeniedException" - }, { "target": "com.amazonaws.chime#BadRequestException" }, @@ -3903,7 +3198,7 @@ "target": "com.amazonaws.chime#ForbiddenException" }, { - "target": "com.amazonaws.chime#ResourceLimitExceededException" + "target": "com.amazonaws.chime#NotFoundException" }, { "target": "com.amazonaws.chime#ServiceFailureException" @@ -3919,44 +3214,36 @@ } ], "traits": { - "smithy.api#documentation": "

Uses the join token and call metadata in a meeting request (From number, To number, and so forth) to initiate an outbound call to a public \n switched telephone network (PSTN) and join them into a Chime meeting. Also ensures that the From number belongs to the customer.

\n

To play welcome audio or implement an interactive voice response (IVR), use the \nCreateSipMediaApplicationCall action with the corresponding SIP media application ID.

\n \n

\n This API is is not available in a dedicated namespace.\n

\n
", + "smithy.api#documentation": "

Sends email to a maximum of 50 users, inviting them to the specified Amazon Chime\n Team account. Only Team account types are currently\n supported for this action.

", "smithy.api#http": { "method": "POST", - "uri": "/meetings/{MeetingId}/dial-outs", + "uri": "/accounts/{AccountId}/users?operation=add", "code": 201 } } }, - "com.amazonaws.chime#CreateMeetingDialOutRequest": { + "com.amazonaws.chime#InviteUsersRequest": { "type": "structure", "members": { - "MeetingId": { - "target": "com.amazonaws.chime#GuidString", + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK meeting ID.

", + "smithy.api#documentation": "

The Amazon Chime account ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "FromPhoneNumber": { - "target": "com.amazonaws.chime#E164PhoneNumber", + "UserEmailList": { + "target": "com.amazonaws.chime#UserEmailList", "traits": { - "smithy.api#documentation": "

Phone number used as the caller ID when the remote party receives a call.

", + "smithy.api#documentation": "

The user email addresses to which to send the email invitation.

", "smithy.api#required": {} } }, - "ToPhoneNumber": { - "target": "com.amazonaws.chime#E164PhoneNumber", - "traits": { - "smithy.api#documentation": "

Phone number called when inviting someone to a meeting.

", - "smithy.api#required": {} - } - }, - "JoinToken": { - "target": "com.amazonaws.chime#JoinTokenString", + "UserType": { + "target": "com.amazonaws.chime#UserType", "traits": { - "smithy.api#documentation": "

Token used by the Amazon Chime SDK attendee. Call the CreateAttendee action to get a join token.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The user type.

" } } }, @@ -3964,13 +3251,13 @@ "smithy.api#input": {} } }, - "com.amazonaws.chime#CreateMeetingDialOutResponse": { + "com.amazonaws.chime#InviteUsersResponse": { "type": "structure", "members": { - "TransactionId": { - "target": "com.amazonaws.chime#GuidString", + "Invites": { + "target": "com.amazonaws.chime#InviteList", "traits": { - "smithy.api#documentation": "

Unique ID that tracks API calls.

" + "smithy.api#documentation": "

The email invitation details.

" } } }, @@ -3978,73 +3265,65 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#CreateMeetingRequest": { - "type": "structure", - "members": { - "ClientRequestToken": { - "target": "com.amazonaws.chime#ClientRequestToken", - "traits": { - "smithy.api#documentation": "

The unique identifier for the client request. Use a different token for different meetings.

", - "smithy.api#idempotencyToken": {}, - "smithy.api#required": {} - } - }, - "ExternalMeetingId": { - "target": "com.amazonaws.chime#ExternalMeetingIdType", - "traits": { - "smithy.api#documentation": "

The external meeting ID.

" - } + "com.amazonaws.chime#Iso8601Timestamp": { + "type": "timestamp", + "traits": { + "smithy.api#timestampFormat": "date-time" + } + }, + "com.amazonaws.chime#JoinTokenString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 2, + "max": 2048 }, - "MeetingHostId": { - "target": "com.amazonaws.chime#ExternalUserIdType", + "smithy.api#pattern": "^[a-zA-Z0-9+/]+$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.chime#License": { + "type": "enum", + "members": { + "Basic": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

Reserved.

" + "smithy.api#enumValue": "Basic" } }, - "MediaRegion": { - "target": "com.amazonaws.chime#String", + "Plus": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

\nThe Region in which to create the meeting. Default: us-east-1.\n

\n

\nAvailable values: \naf-south-1\n, \nap-northeast-1\n, \nap-northeast-2\n, \nap-south-1\n, \nap-southeast-1\n, \nap-southeast-2\n, \nca-central-1\n, \neu-central-1\n, \neu-north-1\n, \neu-south-1\n, \neu-west-1\n, \neu-west-2\n, \neu-west-3\n, \nsa-east-1\n, \nus-east-1\n, \nus-east-2\n, \nus-west-1\n, \nus-west-2\n.\n

" + "smithy.api#enumValue": "Plus" } }, - "Tags": { - "target": "com.amazonaws.chime#MeetingTagList", + "Pro": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The tag key-value pairs.

" + "smithy.api#enumValue": "Pro" } }, - "NotificationsConfiguration": { - "target": "com.amazonaws.chime#MeetingNotificationConfiguration", + "ProTrial": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The configuration for resource targets to receive notifications when meeting and attendee events occur.

" + "smithy.api#enumValue": "ProTrial" } } - }, - "traits": { - "smithy.api#input": {} } }, - "com.amazonaws.chime#CreateMeetingResponse": { - "type": "structure", - "members": { - "Meeting": { - "target": "com.amazonaws.chime#Meeting", - "traits": { - "smithy.api#documentation": "

\nThe meeting information, including the meeting ID and \nMediaPlacement\n.\n

" - } - } - }, - "traits": { - "smithy.api#output": {} + "com.amazonaws.chime#LicenseList": { + "type": "list", + "member": { + "target": "com.amazonaws.chime#License" } }, - "com.amazonaws.chime#CreateMeetingWithAttendees": { + "com.amazonaws.chime#ListAccounts": { "type": "operation", "input": { - "target": "com.amazonaws.chime#CreateMeetingWithAttendeesRequest" + "target": "com.amazonaws.chime#ListAccountsRequest" }, "output": { - "target": "com.amazonaws.chime#CreateMeetingWithAttendeesResponse" + "target": "com.amazonaws.chime#ListAccountsResponse" }, "errors": [ { @@ -4054,7 +3333,7 @@ "target": "com.amazonaws.chime#ForbiddenException" }, { - "target": "com.amazonaws.chime#ResourceLimitExceededException" + "target": "com.amazonaws.chime#NotFoundException" }, { "target": "com.amazonaws.chime#ServiceFailureException" @@ -4070,62 +3349,48 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by CreateMeetingWithAttendees in the Amazon Chime SDK Meetings Namespace" - }, - "smithy.api#documentation": "

\nCreates a new Amazon Chime SDK meeting in the specified media Region, with attendees. For more information about specifying media Regions, see \nAmazon Chime SDK Media Regions\nin the \nAmazon Chime SDK Developer Guide\n. For more information about the Amazon Chime SDK, see \nUsing the Amazon Chime SDK\nin the \nAmazon Chime SDK Developer Guide\n.\n

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, CreateMeetingWithAttendees, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", + "smithy.api#documentation": "

Lists the Amazon Chime accounts under the administrator's AWS account. You can filter accounts\n by account name prefix. To find out which Amazon Chime account a user belongs to, you can\n filter by the user's email address, which returns one account result.

", "smithy.api#http": { - "method": "POST", - "uri": "/meetings?operation=create-attendees", - "code": 201 + "method": "GET", + "uri": "/accounts", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" } } }, - "com.amazonaws.chime#CreateMeetingWithAttendeesRequest": { + "com.amazonaws.chime#ListAccountsRequest": { "type": "structure", "members": { - "ClientRequestToken": { - "target": "com.amazonaws.chime#ClientRequestToken", - "traits": { - "smithy.api#documentation": "

The unique identifier for the client request. Use a different token for different meetings.

", - "smithy.api#idempotencyToken": {}, - "smithy.api#required": {} - } - }, - "ExternalMeetingId": { - "target": "com.amazonaws.chime#ExternalMeetingIdType", + "Name": { + "target": "com.amazonaws.chime#AccountName", "traits": { - "smithy.api#documentation": "

The external meeting ID.

" + "smithy.api#documentation": "

Amazon Chime account name prefix with which to filter results.

", + "smithy.api#httpQuery": "name" } }, - "MeetingHostId": { - "target": "com.amazonaws.chime#ExternalUserIdType", + "UserEmail": { + "target": "com.amazonaws.chime#EmailAddress", "traits": { - "smithy.api#documentation": "

Reserved.

" + "smithy.api#documentation": "

User email address with which to filter results.

", + "smithy.api#httpQuery": "user-email" } }, - "MediaRegion": { + "NextToken": { "target": "com.amazonaws.chime#String", "traits": { - "smithy.api#documentation": "

\nThe Region in which to create the meeting. Default: us-east-1\n.\n

\n

\nAvailable values: \naf-south-1\n, \nap-northeast-1\n, \nap-northeast-2\n, \nap-south-1\n, \nap-southeast-1\n, \nap-southeast-2\n, \nca-central-1\n, \neu-central-1\n, \neu-north-1\n, \neu-south-1\n, \neu-west-1\n, \neu-west-2\n, \neu-west-3\n, \nsa-east-1\n, \nus-east-1\n, \nus-east-2\n, \nus-west-1\n, \nus-west-2\n.\n

" - } - }, - "Tags": { - "target": "com.amazonaws.chime#MeetingTagList", - "traits": { - "smithy.api#documentation": "

The tag key-value pairs.

" - } - }, - "NotificationsConfiguration": { - "target": "com.amazonaws.chime#MeetingNotificationConfiguration", - "traits": { - "smithy.api#documentation": "

The resource target configurations for receiving Amazon Chime SDK meeting and attendee event \n notifications. The Amazon Chime SDK supports resource targets located in the US East (N. Virginia) AWS \n Region (us-east-1).

" + "smithy.api#documentation": "

The token to use to retrieve the next page of results.

", + "smithy.api#httpQuery": "next-token" } }, - "Attendees": { - "target": "com.amazonaws.chime#CreateMeetingWithAttendeesRequestItemList", + "MaxResults": { + "target": "com.amazonaws.chime#ProfileServiceMaxResults", "traits": { - "smithy.api#documentation": "

The request containing the attendees to create.

" + "smithy.api#documentation": "

The maximum number of results to return in a single call. Defaults to 100.

", + "smithy.api#httpQuery": "max-results" } } }, @@ -4133,37 +3398,19 @@ "smithy.api#input": {} } }, - "com.amazonaws.chime#CreateMeetingWithAttendeesRequestItemList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#CreateAttendeeRequestItem" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.chime#CreateMeetingWithAttendeesResponse": { + "com.amazonaws.chime#ListAccountsResponse": { "type": "structure", "members": { - "Meeting": { - "target": "com.amazonaws.chime#Meeting", - "traits": { - "smithy.api#documentation": "

A meeting created using the Amazon Chime SDK.

" - } - }, - "Attendees": { - "target": "com.amazonaws.chime#AttendeeList", + "Accounts": { + "target": "com.amazonaws.chime#AccountList", "traits": { - "smithy.api#documentation": "

The attendee information, including attendees IDs and join tokens.

" + "smithy.api#documentation": "

List of Amazon Chime accounts and account details.

" } }, - "Errors": { - "target": "com.amazonaws.chime#BatchCreateAttendeeErrorList", + "NextToken": { + "target": "com.amazonaws.chime#String", "traits": { - "smithy.api#documentation": "

If the action fails for one or more of the attendees in the request, a list of the attendees is returned, along with error codes and error messages.

" + "smithy.api#documentation": "

The token to use to retrieve the next page of results.

" } } }, @@ -4171,18 +3418,15 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#CreatePhoneNumberOrder": { + "com.amazonaws.chime#ListBots": { "type": "operation", "input": { - "target": "com.amazonaws.chime#CreatePhoneNumberOrderRequest" + "target": "com.amazonaws.chime#ListBotsRequest" }, "output": { - "target": "com.amazonaws.chime#CreatePhoneNumberOrderResponse" + "target": "com.amazonaws.chime#ListBotsResponse" }, "errors": [ - { - "target": "com.amazonaws.chime#AccessDeniedException" - }, { "target": "com.amazonaws.chime#BadRequestException" }, @@ -4190,7 +3434,7 @@ "target": "com.amazonaws.chime#ForbiddenException" }, { - "target": "com.amazonaws.chime#ResourceLimitExceededException" + "target": "com.amazonaws.chime#NotFoundException" }, { "target": "com.amazonaws.chime#ServiceFailureException" @@ -4206,29 +3450,42 @@ } ], "traits": { - "smithy.api#documentation": "

Creates an order for phone numbers to be provisioned. For toll-free numbers, you cannot use the Amazon Chime Business Calling product type. \n For numbers outside the U.S., you must use the Amazon Chime SIP Media Application Dial-In product type.

", + "smithy.api#documentation": "

Lists the bots associated with the administrator's Amazon Chime Enterprise account ID.

", "smithy.api#http": { - "method": "POST", - "uri": "/phone-number-orders", - "code": 201 + "method": "GET", + "uri": "/accounts/{AccountId}/bots", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" } } }, - "com.amazonaws.chime#CreatePhoneNumberOrderRequest": { + "com.amazonaws.chime#ListBotsRequest": { "type": "structure", "members": { - "ProductType": { - "target": "com.amazonaws.chime#PhoneNumberProductType", + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The phone number product type.

", + "smithy.api#documentation": "

The Amazon Chime account ID.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "E164PhoneNumbers": { - "target": "com.amazonaws.chime#E164PhoneNumberList", + "MaxResults": { + "target": "com.amazonaws.chime#ResultMax", "traits": { - "smithy.api#documentation": "

List of phone numbers, in E.164 format.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The maximum number of results to return in a single call. The default is 10.

", + "smithy.api#httpQuery": "max-results" + } + }, + "NextToken": { + "target": "com.amazonaws.chime#String", + "traits": { + "smithy.api#documentation": "

The token to use to retrieve the next page of results.

", + "smithy.api#httpQuery": "next-token" } } }, @@ -4236,13 +3493,19 @@ "smithy.api#input": {} } }, - "com.amazonaws.chime#CreatePhoneNumberOrderResponse": { + "com.amazonaws.chime#ListBotsResponse": { "type": "structure", "members": { - "PhoneNumberOrder": { - "target": "com.amazonaws.chime#PhoneNumberOrder", + "Bots": { + "target": "com.amazonaws.chime#BotList", "traits": { - "smithy.api#documentation": "

The phone number order details.

" + "smithy.api#documentation": "

List of bots and bot details.

" + } + }, + "NextToken": { + "target": "com.amazonaws.chime#String", + "traits": { + "smithy.api#documentation": "

The token to use to retrieve the next page of results.

" } } }, @@ -4250,13 +3513,13 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#CreateProxySession": { + "com.amazonaws.chime#ListPhoneNumberOrders": { "type": "operation", "input": { - "target": "com.amazonaws.chime#CreateProxySessionRequest" + "target": "com.amazonaws.chime#ListPhoneNumberOrdersRequest" }, "output": { - "target": "com.amazonaws.chime#CreateProxySessionResponse" + "target": "com.amazonaws.chime#ListPhoneNumberOrdersResponse" }, "errors": [ { @@ -4265,9 +3528,6 @@ { "target": "com.amazonaws.chime#ForbiddenException" }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, { "target": "com.amazonaws.chime#ServiceFailureException" }, @@ -4282,84 +3542,54 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by CreateProxySession in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Creates a proxy session on the specified Amazon Chime Voice Connector for the specified participant phone numbers.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, CreateProxySession, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", + "smithy.api#documentation": "

Lists the phone number orders for the administrator's Amazon Chime account.

", "smithy.api#http": { - "method": "POST", - "uri": "/voice-connectors/{VoiceConnectorId}/proxy-sessions", - "code": 201 + "method": "GET", + "uri": "/phone-number-orders", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" } } }, - "com.amazonaws.chime#CreateProxySessionRequest": { + "com.amazonaws.chime#ListPhoneNumberOrdersRequest": { "type": "structure", "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString128", + "NextToken": { + "target": "com.amazonaws.chime#String", "traits": { - "smithy.api#documentation": "

The Amazon Chime voice connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

The token to use to retrieve the next page of results.

", + "smithy.api#httpQuery": "next-token" } }, - "ParticipantPhoneNumbers": { - "target": "com.amazonaws.chime#ParticipantPhoneNumberList", + "MaxResults": { + "target": "com.amazonaws.chime#ResultMax", "traits": { - "smithy.api#documentation": "

The participant phone numbers.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The maximum number of results to return in a single call.

", + "smithy.api#httpQuery": "max-results" } - }, - "Name": { - "target": "com.amazonaws.chime#ProxySessionNameString", + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.chime#ListPhoneNumberOrdersResponse": { + "type": "structure", + "members": { + "PhoneNumberOrders": { + "target": "com.amazonaws.chime#PhoneNumberOrderList", "traits": { - "smithy.api#documentation": "

The name of the proxy session.

" + "smithy.api#documentation": "

The phone number order details.

" } }, - "ExpiryMinutes": { - "target": "com.amazonaws.chime#PositiveInteger", + "NextToken": { + "target": "com.amazonaws.chime#String", "traits": { - "smithy.api#documentation": "

The number of minutes allowed for the proxy session.

" - } - }, - "Capabilities": { - "target": "com.amazonaws.chime#CapabilityList", - "traits": { - "smithy.api#documentation": "

The proxy session capabilities.

", - "smithy.api#required": {} - } - }, - "NumberSelectionBehavior": { - "target": "com.amazonaws.chime#NumberSelectionBehavior", - "traits": { - "smithy.api#documentation": "

The preference for proxy phone number reuse, or stickiness, between the same participants across sessions.

" - } - }, - "GeoMatchLevel": { - "target": "com.amazonaws.chime#GeoMatchLevel", - "traits": { - "smithy.api#documentation": "

The preference for matching the country or area code of the proxy phone number with that of the first participant.

" - } - }, - "GeoMatchParams": { - "target": "com.amazonaws.chime#GeoMatchParams", - "traits": { - "smithy.api#documentation": "

The country and area code for the proxy phone number.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#CreateProxySessionResponse": { - "type": "structure", - "members": { - "ProxySession": { - "target": "com.amazonaws.chime#ProxySession", - "traits": { - "smithy.api#documentation": "

The proxy session details.

" + "smithy.api#documentation": "

The token to use to retrieve the next page of results.

" } } }, @@ -4367,13 +3597,13 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#CreateRoom": { + "com.amazonaws.chime#ListPhoneNumbers": { "type": "operation", "input": { - "target": "com.amazonaws.chime#CreateRoomRequest" + "target": "com.amazonaws.chime#ListPhoneNumbersRequest" }, "output": { - "target": "com.amazonaws.chime#CreateRoomResponse" + "target": "com.amazonaws.chime#ListPhoneNumbersResponse" }, "errors": [ { @@ -4385,9 +3615,6 @@ { "target": "com.amazonaws.chime#NotFoundException" }, - { - "target": "com.amazonaws.chime#ResourceLimitExceededException" - }, { "target": "com.amazonaws.chime#ServiceFailureException" }, @@ -4402,38 +3629,107 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a chat room for the specified Amazon Chime Enterprise account.

", + "smithy.api#documentation": "

Lists the phone numbers for the specified Amazon Chime account, Amazon Chime user, Amazon Chime Voice Connector, or Amazon Chime Voice Connector group.

", "smithy.api#http": { - "method": "POST", - "uri": "/accounts/{AccountId}/rooms", - "code": 201 + "method": "GET", + "uri": "/phone-numbers", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" } } }, - "com.amazonaws.chime#CreateRoomMembership": { + "com.amazonaws.chime#ListPhoneNumbersRequest": { + "type": "structure", + "members": { + "Status": { + "target": "com.amazonaws.chime#PhoneNumberStatus", + "traits": { + "smithy.api#documentation": "

The phone number status.

", + "smithy.api#httpQuery": "status" + } + }, + "ProductType": { + "target": "com.amazonaws.chime#PhoneNumberProductType", + "traits": { + "smithy.api#documentation": "

The phone number product type.

", + "smithy.api#httpQuery": "product-type" + } + }, + "FilterName": { + "target": "com.amazonaws.chime#PhoneNumberAssociationName", + "traits": { + "smithy.api#documentation": "

The filter to use to limit the number of results.

", + "smithy.api#httpQuery": "filter-name" + } + }, + "FilterValue": { + "target": "com.amazonaws.chime#String", + "traits": { + "smithy.api#documentation": "

The value to use for the filter.

", + "smithy.api#httpQuery": "filter-value" + } + }, + "MaxResults": { + "target": "com.amazonaws.chime#ResultMax", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return in a single call.

", + "smithy.api#httpQuery": "max-results" + } + }, + "NextToken": { + "target": "com.amazonaws.chime#String", + "traits": { + "smithy.api#documentation": "

The token to use to retrieve the next page of results.

", + "smithy.api#httpQuery": "next-token" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.chime#ListPhoneNumbersResponse": { + "type": "structure", + "members": { + "PhoneNumbers": { + "target": "com.amazonaws.chime#PhoneNumberList", + "traits": { + "smithy.api#documentation": "

The phone number details.

" + } + }, + "NextToken": { + "target": "com.amazonaws.chime#String", + "traits": { + "smithy.api#documentation": "

The token to use to retrieve the next page of results.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.chime#ListRoomMemberships": { "type": "operation", "input": { - "target": "com.amazonaws.chime#CreateRoomMembershipRequest" + "target": "com.amazonaws.chime#ListRoomMembershipsRequest" }, "output": { - "target": "com.amazonaws.chime#CreateRoomMembershipResponse" + "target": "com.amazonaws.chime#ListRoomMembershipsResponse" }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" }, - { - "target": "com.amazonaws.chime#ConflictException" - }, { "target": "com.amazonaws.chime#ForbiddenException" }, { "target": "com.amazonaws.chime#NotFoundException" }, - { - "target": "com.amazonaws.chime#ResourceLimitExceededException" - }, { "target": "com.amazonaws.chime#ServiceFailureException" }, @@ -4448,15 +3744,20 @@ } ], "traits": { - "smithy.api#documentation": "

Adds a member to a chat room in an Amazon Chime Enterprise account. A member can be either a user or a bot. The member role designates whether the member is a chat room administrator or a general chat room member.

", + "smithy.api#documentation": "

Lists the membership details for the specified room in an Amazon Chime Enterprise account,\n such as the members' IDs, email addresses, and names.

", "smithy.api#http": { - "method": "POST", + "method": "GET", "uri": "/accounts/{AccountId}/rooms/{RoomId}/memberships", - "code": 201 + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" } } }, - "com.amazonaws.chime#CreateRoomMembershipRequest": { + "com.amazonaws.chime#ListRoomMembershipsRequest": { "type": "structure", "members": { "AccountId": { @@ -4475,17 +3776,18 @@ "smithy.api#required": {} } }, - "MemberId": { - "target": "com.amazonaws.chime#NonEmptyString", + "MaxResults": { + "target": "com.amazonaws.chime#ResultMax", "traits": { - "smithy.api#documentation": "

The Amazon Chime member ID (user ID or bot ID).

", - "smithy.api#required": {} + "smithy.api#documentation": "

The maximum number of results to return in a single call.

", + "smithy.api#httpQuery": "max-results" } }, - "Role": { - "target": "com.amazonaws.chime#RoomMembershipRole", + "NextToken": { + "target": "com.amazonaws.chime#String", "traits": { - "smithy.api#documentation": "

The role of the member.

" + "smithy.api#documentation": "

The token to use to retrieve the next page of results.

", + "smithy.api#httpQuery": "next-token" } } }, @@ -4493,21 +3795,72 @@ "smithy.api#input": {} } }, - "com.amazonaws.chime#CreateRoomMembershipResponse": { + "com.amazonaws.chime#ListRoomMembershipsResponse": { "type": "structure", "members": { - "RoomMembership": { - "target": "com.amazonaws.chime#RoomMembership", + "RoomMemberships": { + "target": "com.amazonaws.chime#RoomMembershipList", "traits": { "smithy.api#documentation": "

The room membership details.

" } + }, + "NextToken": { + "target": "com.amazonaws.chime#String", + "traits": { + "smithy.api#documentation": "

The token to use to retrieve the next page of results.

" + } } }, "traits": { "smithy.api#output": {} } }, - "com.amazonaws.chime#CreateRoomRequest": { + "com.amazonaws.chime#ListRooms": { + "type": "operation", + "input": { + "target": "com.amazonaws.chime#ListRoomsRequest" + }, + "output": { + "target": "com.amazonaws.chime#ListRoomsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.chime#BadRequestException" + }, + { + "target": "com.amazonaws.chime#ForbiddenException" + }, + { + "target": "com.amazonaws.chime#NotFoundException" + }, + { + "target": "com.amazonaws.chime#ServiceFailureException" + }, + { + "target": "com.amazonaws.chime#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.chime#ThrottledClientException" + }, + { + "target": "com.amazonaws.chime#UnauthorizedClientException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists the room details for the specified Amazon Chime Enterprise account. Optionally, filter the results by a member ID (user ID or bot ID) to see a list of rooms that the member belongs to.

", + "smithy.api#http": { + "method": "GET", + "uri": "/accounts/{AccountId}/rooms", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.chime#ListRoomsRequest": { "type": "structure", "members": { "AccountId": { @@ -4518,18 +3871,25 @@ "smithy.api#required": {} } }, - "Name": { - "target": "com.amazonaws.chime#SensitiveString", + "MemberId": { + "target": "com.amazonaws.chime#String", "traits": { - "smithy.api#documentation": "

The room name.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The member ID (user ID or bot ID).

", + "smithy.api#httpQuery": "member-id" } }, - "ClientRequestToken": { - "target": "com.amazonaws.chime#ClientRequestToken", + "MaxResults": { + "target": "com.amazonaws.chime#ResultMax", "traits": { - "smithy.api#documentation": "

The idempotency token for the request.

", - "smithy.api#idempotencyToken": {} + "smithy.api#documentation": "

The maximum number of results to return in a single call.

", + "smithy.api#httpQuery": "max-results" + } + }, + "NextToken": { + "target": "com.amazonaws.chime#String", + "traits": { + "smithy.api#documentation": "

The token to use to retrieve the next page of results.

", + "smithy.api#httpQuery": "next-token" } } }, @@ -4537,27 +3897,33 @@ "smithy.api#input": {} } }, - "com.amazonaws.chime#CreateRoomResponse": { + "com.amazonaws.chime#ListRoomsResponse": { "type": "structure", "members": { - "Room": { - "target": "com.amazonaws.chime#Room", + "Rooms": { + "target": "com.amazonaws.chime#RoomList", "traits": { "smithy.api#documentation": "

The room details.

" } + }, + "NextToken": { + "target": "com.amazonaws.chime#String", + "traits": { + "smithy.api#documentation": "

The token to use to retrieve the next page of results.

" + } } }, "traits": { "smithy.api#output": {} } }, - "com.amazonaws.chime#CreateSipMediaApplication": { + "com.amazonaws.chime#ListSupportedPhoneNumberCountries": { "type": "operation", "input": { - "target": "com.amazonaws.chime#CreateSipMediaApplicationRequest" + "target": "com.amazonaws.chime#ListSupportedPhoneNumberCountriesRequest" }, "output": { - "target": "com.amazonaws.chime#CreateSipMediaApplicationResponse" + "target": "com.amazonaws.chime#ListSupportedPhoneNumberCountriesResponse" }, "errors": [ { @@ -4566,61 +3932,9 @@ { "target": "com.amazonaws.chime#BadRequestException" }, - { - "target": "com.amazonaws.chime#ConflictException" - }, { "target": "com.amazonaws.chime#ForbiddenException" }, - { - "target": "com.amazonaws.chime#ResourceLimitExceededException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by CreateSipMediaApplication in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Creates a SIP media application.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, CreateSipMediaApplication, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "POST", - "uri": "/sip-media-applications", - "code": 201 - } - } - }, - "com.amazonaws.chime#CreateSipMediaApplicationCall": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#CreateSipMediaApplicationCallRequest" - }, - "output": { - "target": "com.amazonaws.chime#CreateSipMediaApplicationCallResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#AccessDeniedException" - }, - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ResourceLimitExceededException" - }, { "target": "com.amazonaws.chime#ServiceFailureException" }, @@ -4635,88 +3949,22 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by CreateSipMediaApplicationCall in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Creates an outbound call to a phone number from the phone number specified in the request, and it invokes the endpoint of the specified \nsipMediaApplicationId.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, CreateSipMediaApplicationCall, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", + "smithy.api#documentation": "

Lists supported phone number countries.

", "smithy.api#http": { - "method": "POST", - "uri": "/sip-media-applications/{SipMediaApplicationId}/calls", - "code": 201 - } - } - }, - "com.amazonaws.chime#CreateSipMediaApplicationCallRequest": { - "type": "structure", - "members": { - "FromPhoneNumber": { - "target": "com.amazonaws.chime#E164PhoneNumber", - "traits": { - "smithy.api#documentation": "

The phone number that a user calls from. This is a phone number in your Amazon Chime phone number inventory.

", - "smithy.api#required": {} - } - }, - "ToPhoneNumber": { - "target": "com.amazonaws.chime#E164PhoneNumber", - "traits": { - "smithy.api#documentation": "

The phone number that the service should call.

", - "smithy.api#required": {} - } - }, - "SipMediaApplicationId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The ID of the SIP media application.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "SipHeaders": { - "target": "com.amazonaws.chime#SipHeadersMap", - "traits": { - "smithy.api#documentation": "

The SIP headers added to an outbound call leg.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#CreateSipMediaApplicationCallResponse": { - "type": "structure", - "members": { - "SipMediaApplicationCall": { - "target": "com.amazonaws.chime#SipMediaApplicationCall", - "traits": { - "smithy.api#documentation": "

The actual call.

" - } + "method": "GET", + "uri": "/phone-number-countries", + "code": 200 } - }, - "traits": { - "smithy.api#output": {} } }, - "com.amazonaws.chime#CreateSipMediaApplicationRequest": { + "com.amazonaws.chime#ListSupportedPhoneNumberCountriesRequest": { "type": "structure", "members": { - "AwsRegion": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The AWS Region assigned to the SIP media application.

", - "smithy.api#required": {} - } - }, - "Name": { - "target": "com.amazonaws.chime#SipMediaApplicationName", - "traits": { - "smithy.api#documentation": "

The SIP media application name.

", - "smithy.api#required": {} - } - }, - "Endpoints": { - "target": "com.amazonaws.chime#SipMediaApplicationEndpointList", + "ProductType": { + "target": "com.amazonaws.chime#PhoneNumberProductType", "traits": { - "smithy.api#documentation": "

List of endpoints (Lambda Amazon Resource Names) specified for the SIP media application. Currently, only one endpoint is supported.

", + "smithy.api#documentation": "

The phone number product type.

", + "smithy.api#httpQuery": "product-type", "smithy.api#required": {} } } @@ -4725,13 +3973,13 @@ "smithy.api#input": {} } }, - "com.amazonaws.chime#CreateSipMediaApplicationResponse": { + "com.amazonaws.chime#ListSupportedPhoneNumberCountriesResponse": { "type": "structure", "members": { - "SipMediaApplication": { - "target": "com.amazonaws.chime#SipMediaApplication", + "PhoneNumberCountries": { + "target": "com.amazonaws.chime#PhoneNumberCountriesList", "traits": { - "smithy.api#documentation": "

The SIP media application details.

" + "smithy.api#documentation": "

The supported phone number countries.

" } } }, @@ -4739,29 +3987,23 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#CreateSipRule": { + "com.amazonaws.chime#ListUsers": { "type": "operation", "input": { - "target": "com.amazonaws.chime#CreateSipRuleRequest" + "target": "com.amazonaws.chime#ListUsersRequest" }, "output": { - "target": "com.amazonaws.chime#CreateSipRuleResponse" + "target": "com.amazonaws.chime#ListUsersResponse" }, "errors": [ - { - "target": "com.amazonaws.chime#AccessDeniedException" - }, { "target": "com.amazonaws.chime#BadRequestException" }, - { - "target": "com.amazonaws.chime#ConflictException" - }, { "target": "com.amazonaws.chime#ForbiddenException" }, { - "target": "com.amazonaws.chime#ResourceLimitExceededException" + "target": "com.amazonaws.chime#NotFoundException" }, { "target": "com.amazonaws.chime#ServiceFailureException" @@ -4777,52 +4019,56 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by CreateSipRule in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Creates a SIP rule which can be used to run a SIP media application as a target for a specific trigger type.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, CreateSipRule, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", + "smithy.api#documentation": "

Lists the users that belong to the specified Amazon Chime account. You can specify an email\n address to list only the user that the email address belongs to.

", "smithy.api#http": { - "method": "POST", - "uri": "/sip-rules", - "code": 201 + "method": "GET", + "uri": "/accounts/{AccountId}/users", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" } } }, - "com.amazonaws.chime#CreateSipRuleRequest": { + "com.amazonaws.chime#ListUsersRequest": { "type": "structure", "members": { - "Name": { - "target": "com.amazonaws.chime#SipRuleName", + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The name of the SIP rule.

", + "smithy.api#documentation": "

The Amazon Chime account ID.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "TriggerType": { - "target": "com.amazonaws.chime#SipRuleTriggerType", + "UserEmail": { + "target": "com.amazonaws.chime#EmailAddress", "traits": { - "smithy.api#documentation": "

The type of trigger assigned to the SIP rule in TriggerValue, currently RequestUriHostname or ToPhoneNumber.

", - "smithy.api#required": {} + "smithy.api#documentation": "

Optional. The user email address used to filter results. Maximum 1.

", + "smithy.api#httpQuery": "user-email" } }, - "TriggerValue": { - "target": "com.amazonaws.chime#NonEmptyString", + "UserType": { + "target": "com.amazonaws.chime#UserType", "traits": { - "smithy.api#documentation": "

If TriggerType is RequestUriHostname, the value can be the outbound\n host name of an Amazon Chime Voice Connector. If TriggerType is\n ToPhoneNumber, the value can be a customer-owned phone number in the\n E164 format. The SipMediaApplication specified in the SipRule is triggered if the request URI in an incoming SIP \n request matches the RequestUriHostname, or if the To header in the incoming SIP request matches the \n ToPhoneNumber value.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The user type.

", + "smithy.api#httpQuery": "user-type" } }, - "Disabled": { - "target": "com.amazonaws.chime#NullableBoolean", + "MaxResults": { + "target": "com.amazonaws.chime#ProfileServiceMaxResults", "traits": { - "smithy.api#documentation": "

Enables or disables a rule. You must disable rules before you can delete them.

" + "smithy.api#documentation": "

The maximum number of results to return in a single call. Defaults to 100.

", + "smithy.api#httpQuery": "max-results" } }, - "TargetApplications": { - "target": "com.amazonaws.chime#SipRuleTargetApplicationList", + "NextToken": { + "target": "com.amazonaws.chime#String", "traits": { - "smithy.api#documentation": "

List of SIP media applications with priority and AWS Region. Only one SIP application per AWS Region can be used.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The token to use to retrieve the next page of results.

", + "smithy.api#httpQuery": "next-token" } } }, @@ -4830,13 +4076,19 @@ "smithy.api#input": {} } }, - "com.amazonaws.chime#CreateSipRuleResponse": { + "com.amazonaws.chime#ListUsersResponse": { "type": "structure", "members": { - "SipRule": { - "target": "com.amazonaws.chime#SipRule", + "Users": { + "target": "com.amazonaws.chime#UserList", + "traits": { + "smithy.api#documentation": "

List of users and user details.

" + } + }, + "NextToken": { + "target": "com.amazonaws.chime#String", "traits": { - "smithy.api#documentation": "

Returns the SIP rule information, including the rule ID, triggers, and target applications.

" + "smithy.api#documentation": "

The token to use to retrieve the next page of results.

" } } }, @@ -4844,21 +4096,18 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#CreateUser": { + "com.amazonaws.chime#LogoutUser": { "type": "operation", "input": { - "target": "com.amazonaws.chime#CreateUserRequest" + "target": "com.amazonaws.chime#LogoutUserRequest" }, "output": { - "target": "com.amazonaws.chime#CreateUserResponse" + "target": "com.amazonaws.chime#LogoutUserResponse" }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" }, - { - "target": "com.amazonaws.chime#ConflictException" - }, { "target": "com.amazonaws.chime#ForbiddenException" }, @@ -4879,15 +4128,15 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a user under the specified Amazon Chime account.

", + "smithy.api#documentation": "

Logs out the specified user from all of the devices they are currently logged into.

", "smithy.api#http": { "method": "POST", - "uri": "/accounts/{AccountId}/users?operation=create", - "code": 201 + "uri": "/accounts/{AccountId}/users/{UserId}?operation=logout", + "code": 204 } } }, - "com.amazonaws.chime#CreateUserRequest": { + "com.amazonaws.chime#LogoutUserRequest": { "type": "structure", "members": { "AccountId": { @@ -4898,600 +4147,700 @@ "smithy.api#required": {} } }, - "Username": { - "target": "com.amazonaws.chime#String", + "UserId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The user name.

" + "smithy.api#documentation": "

The user ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.chime#LogoutUserResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.chime#Member": { + "type": "structure", + "members": { + "MemberId": { + "target": "com.amazonaws.chime#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The member ID (user ID or bot ID).

" + } + }, + "MemberType": { + "target": "com.amazonaws.chime#MemberType", + "traits": { + "smithy.api#documentation": "

The member type.

" } }, "Email": { - "target": "com.amazonaws.chime#EmailAddress", + "target": "com.amazonaws.chime#SensitiveString", "traits": { - "smithy.api#documentation": "

The user's email address.

" + "smithy.api#documentation": "

The member email address.

" } }, - "UserType": { - "target": "com.amazonaws.chime#UserType", + "FullName": { + "target": "com.amazonaws.chime#SensitiveString", "traits": { - "smithy.api#documentation": "

The user type.

" + "smithy.api#documentation": "

The member name.

" + } + }, + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The Amazon Chime account ID.

" } } }, "traits": { - "smithy.api#input": {} + "smithy.api#documentation": "

The member details, such as email address, name, member ID, and member type.

" } }, - "com.amazonaws.chime#CreateUserResponse": { + "com.amazonaws.chime#MemberError": { "type": "structure", "members": { - "User": { - "target": "com.amazonaws.chime#User", + "MemberId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The user on the Amazon Chime account.

" + "smithy.api#documentation": "

The member ID.

" } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#CreateVoiceConnector": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#CreateVoiceConnectorRequest" - }, - "output": { - "target": "com.amazonaws.chime#CreateVoiceConnectorResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#AccessDeniedException" - }, - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ResourceLimitExceededException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" }, - { - "target": "com.amazonaws.chime#ThrottledClientException" + "ErrorCode": { + "target": "com.amazonaws.chime#ErrorCode", + "traits": { + "smithy.api#documentation": "

The error code.

" + } }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" + "ErrorMessage": { + "target": "com.amazonaws.chime#String", + "traits": { + "smithy.api#documentation": "

The error message.

" + } } - ], + }, "traits": { - "smithy.api#deprecated": { - "message": "Replaced by CreateVoiceConnector in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Creates an Amazon Chime Voice Connector under the administrator's AWS account. You can choose to create an Amazon Chime Voice Connector in a specific AWS Region.

\n

Enabling CreateVoiceConnectorRequest$RequireEncryption\nconfigures your Amazon Chime Voice Connector to use TLS transport for SIP signaling and Secure RTP (SRTP) for media. Inbound calls use TLS transport, and unencrypted outbound calls are blocked.\n

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, CreateVoiceConnector, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "POST", - "uri": "/voice-connectors", - "code": 201 - } + "smithy.api#documentation": "

The list of errors returned when a member action results in an error.

" } }, - "com.amazonaws.chime#CreateVoiceConnectorGroup": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#CreateVoiceConnectorGroupRequest" - }, - "output": { - "target": "com.amazonaws.chime#CreateVoiceConnectorGroupResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#AccessDeniedException" - }, - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ResourceLimitExceededException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by CreateVoiceConnectorGroup in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Creates an Amazon Chime Voice Connector group under the administrator's AWS account. You can\n associate Amazon Chime Voice Connectors with the Amazon Chime Voice Connector group by\n including VoiceConnectorItems in the request.

\n

You can include Amazon Chime Voice Connectors from different AWS Regions in your group. This\n creates a fault tolerant mechanism for fallback in case of availability events.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, CreateVoiceConnectorGroup, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "POST", - "uri": "/voice-connector-groups", - "code": 201 - } + "com.amazonaws.chime#MemberErrorList": { + "type": "list", + "member": { + "target": "com.amazonaws.chime#MemberError" } }, - "com.amazonaws.chime#CreateVoiceConnectorGroupRequest": { - "type": "structure", + "com.amazonaws.chime#MemberType": { + "type": "enum", "members": { - "Name": { - "target": "com.amazonaws.chime#VoiceConnectorGroupName", + "User": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The name of the Amazon Chime Voice Connector group.

", - "smithy.api#required": {} + "smithy.api#enumValue": "User" } }, - "VoiceConnectorItems": { - "target": "com.amazonaws.chime#VoiceConnectorItemList", + "Bot": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connectors to route inbound calls to.

" + "smithy.api#enumValue": "Bot" } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#CreateVoiceConnectorGroupResponse": { - "type": "structure", - "members": { - "VoiceConnectorGroup": { - "target": "com.amazonaws.chime#VoiceConnectorGroup", + }, + "Webhook": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector group details.

" + "smithy.api#enumValue": "Webhook" } } - }, - "traits": { - "smithy.api#output": {} } }, - "com.amazonaws.chime#CreateVoiceConnectorRequest": { + "com.amazonaws.chime#MembershipItem": { "type": "structure", "members": { - "Name": { - "target": "com.amazonaws.chime#VoiceConnectorName", - "traits": { - "smithy.api#documentation": "

The name of the Amazon Chime Voice Connector.

", - "smithy.api#required": {} - } - }, - "AwsRegion": { - "target": "com.amazonaws.chime#VoiceConnectorAwsRegion", + "MemberId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

\nThe AWS Region in which the Amazon Chime Voice Connector is created. Default value: \nus-east-1\n.\n

" + "smithy.api#documentation": "

The member ID.

" } }, - "RequireEncryption": { - "target": "com.amazonaws.chime#Boolean", + "Role": { + "target": "com.amazonaws.chime#RoomMembershipRole", "traits": { - "smithy.api#documentation": "

When enabled, requires encryption for the Amazon Chime Voice Connector.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The member role.

" } } }, "traits": { - "smithy.api#input": {} + "smithy.api#documentation": "

Membership details, such as member ID and member role.

" } }, - "com.amazonaws.chime#CreateVoiceConnectorResponse": { + "com.amazonaws.chime#MembershipItemList": { + "type": "list", + "member": { + "target": "com.amazonaws.chime#MembershipItem" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 50 + } + } + }, + "com.amazonaws.chime#NonEmptyString": { + "type": "string", + "traits": { + "smithy.api#pattern": "\\S" + } + }, + "com.amazonaws.chime#NonEmptyStringList": { + "type": "list", + "member": { + "target": "com.amazonaws.chime#String" + }, + "traits": { + "smithy.api#length": { + "min": 1 + } + } + }, + "com.amazonaws.chime#NotFoundException": { "type": "structure", "members": { - "VoiceConnector": { - "target": "com.amazonaws.chime#VoiceConnector", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector details.

" - } + "Code": { + "target": "com.amazonaws.chime#ErrorCode" + }, + "Message": { + "target": "com.amazonaws.chime#String" } }, "traits": { - "smithy.api#output": {} + "smithy.api#documentation": "

One or more of the resources in the request does not exist in the system.

", + "smithy.api#error": "client", + "smithy.api#httpError": 404 } }, - "com.amazonaws.chime#Credential": { + "com.amazonaws.chime#NullableBoolean": { + "type": "boolean" + }, + "com.amazonaws.chime#OrderedPhoneNumber": { "type": "structure", "members": { - "Username": { - "target": "com.amazonaws.chime#SensitiveString", + "E164PhoneNumber": { + "target": "com.amazonaws.chime#E164PhoneNumber", "traits": { - "smithy.api#documentation": "

The RFC2617 compliant user name associated with the SIP credentials, in US-ASCII\n format.

" + "smithy.api#documentation": "

The phone number, in E.164 format.

" } }, - "Password": { - "target": "com.amazonaws.chime#SensitiveString", + "Status": { + "target": "com.amazonaws.chime#OrderedPhoneNumberStatus", "traits": { - "smithy.api#documentation": "

The RFC2617 compliant password associated with the SIP credentials, in US-ASCII format.

" + "smithy.api#documentation": "

The phone number status.

" } } }, "traits": { - "smithy.api#documentation": "

The SIP credentials used to authenticate requests to your Amazon Chime Voice Connector.

" + "smithy.api#documentation": "

A phone number for which an order has been placed.

" } }, - "com.amazonaws.chime#CredentialList": { + "com.amazonaws.chime#OrderedPhoneNumberList": { "type": "list", "member": { - "target": "com.amazonaws.chime#Credential" + "target": "com.amazonaws.chime#OrderedPhoneNumber" } }, - "com.amazonaws.chime#DNISEmergencyCallingConfiguration": { - "type": "structure", + "com.amazonaws.chime#OrderedPhoneNumberStatus": { + "type": "enum", "members": { - "EmergencyPhoneNumber": { - "target": "com.amazonaws.chime#E164PhoneNumber", + "Processing": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The DNIS phone number to route emergency calls to, in E.164 format.

", - "smithy.api#required": {} + "smithy.api#enumValue": "Processing" } }, - "TestPhoneNumber": { - "target": "com.amazonaws.chime#E164PhoneNumber", + "Acquired": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The DNIS phone number to route test emergency calls to, in E.164 format.

" + "smithy.api#enumValue": "Acquired" } }, - "CallingCountry": { - "target": "com.amazonaws.chime#Alpha2CountryCode", + "Failed": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The country from which emergency calls are allowed, in ISO 3166-1 alpha-2 format.

", - "smithy.api#required": {} + "smithy.api#enumValue": "Failed" } } - }, - "traits": { - "smithy.api#documentation": "

The Dialed Number Identification Service (DNIS) emergency calling configuration details associated with an Amazon Chime Voice Connector's emergency calling configuration.

" - } - }, - "com.amazonaws.chime#DNISEmergencyCallingConfigurationList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#DNISEmergencyCallingConfiguration" - } - }, - "com.amazonaws.chime#DataRetentionInHours": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 0 - } } }, - "com.amazonaws.chime#DeleteAccount": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DeleteAccountRequest" - }, - "output": { - "target": "com.amazonaws.chime#DeleteAccountResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" + "com.amazonaws.chime#PhoneNumber": { + "type": "structure", + "members": { + "PhoneNumberId": { + "target": "com.amazonaws.chime#String", + "traits": { + "smithy.api#documentation": "

The phone number ID.

" + } }, - { - "target": "com.amazonaws.chime#ForbiddenException" + "E164PhoneNumber": { + "target": "com.amazonaws.chime#E164PhoneNumber", + "traits": { + "smithy.api#documentation": "

The phone number, in E.164 format.

" + } }, - { - "target": "com.amazonaws.chime#NotFoundException" + "Country": { + "target": "com.amazonaws.chime#Alpha2CountryCode", + "traits": { + "smithy.api#documentation": "

The phone number country. Format: ISO 3166-1 alpha-2.

" + } }, - { - "target": "com.amazonaws.chime#ServiceFailureException" + "Type": { + "target": "com.amazonaws.chime#PhoneNumberType", + "traits": { + "smithy.api#documentation": "

The phone number type.

" + } }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" + "ProductType": { + "target": "com.amazonaws.chime#PhoneNumberProductType", + "traits": { + "smithy.api#documentation": "

The phone number product type.

" + } }, - { - "target": "com.amazonaws.chime#ThrottledClientException" + "Status": { + "target": "com.amazonaws.chime#PhoneNumberStatus", + "traits": { + "smithy.api#documentation": "

The phone number status.

" + } }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" + "Capabilities": { + "target": "com.amazonaws.chime#PhoneNumberCapabilities", + "traits": { + "smithy.api#documentation": "

The phone number capabilities.

" + } }, - { - "target": "com.amazonaws.chime#UnprocessableEntityException" + "Associations": { + "target": "com.amazonaws.chime#PhoneNumberAssociationList", + "traits": { + "smithy.api#documentation": "

The phone number associations.

" + } + }, + "CallingName": { + "target": "com.amazonaws.chime#CallingName", + "traits": { + "smithy.api#documentation": "

The outbound calling name associated with the phone number.

" + } + }, + "CallingNameStatus": { + "target": "com.amazonaws.chime#CallingNameStatus", + "traits": { + "smithy.api#documentation": "

The outbound calling name status.

" + } + }, + "CreatedTimestamp": { + "target": "com.amazonaws.chime#Iso8601Timestamp", + "traits": { + "smithy.api#documentation": "

The phone number creation timestamp, in ISO 8601 format.

" + } + }, + "UpdatedTimestamp": { + "target": "com.amazonaws.chime#Iso8601Timestamp", + "traits": { + "smithy.api#documentation": "

The updated phone number timestamp, in ISO 8601 format.

" + } + }, + "DeletionTimestamp": { + "target": "com.amazonaws.chime#Iso8601Timestamp", + "traits": { + "smithy.api#documentation": "

The deleted phone number timestamp, in ISO 8601 format.

" + } } - ], + }, "traits": { - "smithy.api#documentation": "

Deletes the specified Amazon Chime account. You must suspend all users before deleting\n Team account. You can use the BatchSuspendUser action\n to dodo.

\n

For EnterpriseLWA and EnterpriseAD accounts, you must release the\n claimed domains for your Amazon Chime account before deletion. As soon as you release\n the domain, all users under that account are suspended.

\n

Deleted accounts appear in your Disabled accounts list for 90 days. To restore\n deleted account from your Disabled accounts list, you must contact AWS\n Support.

\n

After 90 days, deleted accounts are permanently removed from your \nDisabled accounts list.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/accounts/{AccountId}", - "code": 204 - } + "smithy.api#documentation": "

A phone number used for Amazon Chime Business Calling or an Amazon Chime Voice\n Connector.

" } }, - "com.amazonaws.chime#DeleteAccountRequest": { + "com.amazonaws.chime#PhoneNumberAssociation": { "type": "structure", "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", + "Value": { + "target": "com.amazonaws.chime#String", "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

Contains the ID for the entity specified in Name.

" + } + }, + "Name": { + "target": "com.amazonaws.chime#PhoneNumberAssociationName", + "traits": { + "smithy.api#documentation": "

Defines the association with an Amazon Chime account ID, user ID, Amazon Chime Voice Connector\n ID, or Amazon Chime Voice Connector group ID.

" + } + }, + "AssociatedTimestamp": { + "target": "com.amazonaws.chime#Iso8601Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp of the phone number association, in ISO 8601 format.

" } } }, "traits": { - "smithy.api#input": {} + "smithy.api#documentation": "

The phone number associations, such as Amazon Chime account ID, Amazon Chime user ID, Amazon\n Chime Voice Connector ID, or Amazon Chime Voice Connector group ID.

" } }, - "com.amazonaws.chime#DeleteAccountResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} + "com.amazonaws.chime#PhoneNumberAssociationList": { + "type": "list", + "member": { + "target": "com.amazonaws.chime#PhoneNumberAssociation" } }, - "com.amazonaws.chime#DeleteAppInstance": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DeleteAppInstanceRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" + "com.amazonaws.chime#PhoneNumberAssociationName": { + "type": "enum", + "members": { + "AccountId": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AccountId" + } }, - { - "target": "com.amazonaws.chime#ThrottledClientException" + "UserId": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UserId" + } }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DeleteAppInstance in the Amazon Chime SDK Identity Namespace" + "VoiceConnectorId": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VoiceConnectorId" + } }, - "smithy.api#documentation": "

Deletes an AppInstance and all associated data asynchronously.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, \n DeleteAppInstance, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "identity-" + "VoiceConnectorGroupId": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VoiceConnectorGroupId" + } }, - "smithy.api#http": { - "method": "DELETE", - "uri": "/app-instances/{AppInstanceArn}", - "code": 204 + "SipRuleId": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SipRuleId" + } } } }, - "com.amazonaws.chime#DeleteAppInstanceAdmin": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DeleteAppInstanceAdminRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ConflictException" + "com.amazonaws.chime#PhoneNumberCapabilities": { + "type": "structure", + "members": { + "InboundCall": { + "target": "com.amazonaws.chime#NullableBoolean", + "traits": { + "smithy.api#documentation": "

Allows or denies inbound calling for the specified phone number.

" + } }, - { - "target": "com.amazonaws.chime#ForbiddenException" + "OutboundCall": { + "target": "com.amazonaws.chime#NullableBoolean", + "traits": { + "smithy.api#documentation": "

Allows or denies outbound calling for the specified phone number.

" + } }, - { - "target": "com.amazonaws.chime#ServiceFailureException" + "InboundSMS": { + "target": "com.amazonaws.chime#NullableBoolean", + "traits": { + "smithy.api#documentation": "

Allows or denies inbound SMS messaging for the specified phone number.

" + } }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" + "OutboundSMS": { + "target": "com.amazonaws.chime#NullableBoolean", + "traits": { + "smithy.api#documentation": "

Allows or denies outbound SMS messaging for the specified phone number.

" + } }, - { - "target": "com.amazonaws.chime#ThrottledClientException" + "InboundMMS": { + "target": "com.amazonaws.chime#NullableBoolean", + "traits": { + "smithy.api#documentation": "

Allows or denies inbound MMS messaging for the specified phone number.

" + } }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" + "OutboundMMS": { + "target": "com.amazonaws.chime#NullableBoolean", + "traits": { + "smithy.api#documentation": "

Allows or denies outbound MMS messaging for the specified phone number.

" + } } - ], + }, "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DeleteAppInstanceAdmin in the Amazon Chime SDK Identity Namespace" - }, - "smithy.api#documentation": "

Demotes an AppInstanceAdmin to an AppInstanceUser. This action does not delete the user.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, \n DeleteAppInstanceAdmin, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "identity-" - }, - "smithy.api#http": { - "method": "DELETE", - "uri": "/app-instances/{AppInstanceArn}/admins/{AppInstanceAdminArn}", - "code": 204 - } + "smithy.api#documentation": "

The phone number capabilities for Amazon Chime Business Calling phone numbers, such as enabled\n inbound and outbound calling and text messaging.

" + } + }, + "com.amazonaws.chime#PhoneNumberCountriesList": { + "type": "list", + "member": { + "target": "com.amazonaws.chime#PhoneNumberCountry" } }, - "com.amazonaws.chime#DeleteAppInstanceAdminRequest": { + "com.amazonaws.chime#PhoneNumberCountry": { "type": "structure", "members": { - "AppInstanceAdminArn": { - "target": "com.amazonaws.chime#ChimeArn", + "CountryCode": { + "target": "com.amazonaws.chime#Alpha2CountryCode", "traits": { - "smithy.api#documentation": "

The ARN of the AppInstance's administrator.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

The phone number country code. Format: ISO 3166-1 alpha-2.

" } }, - "AppInstanceArn": { - "target": "com.amazonaws.chime#ChimeArn", + "SupportedPhoneNumberTypes": { + "target": "com.amazonaws.chime#PhoneNumberTypeList", "traits": { - "smithy.api#documentation": "

The ARN of the AppInstance.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

The supported phone number types.

" } } }, "traits": { - "smithy.api#input": {} + "smithy.api#documentation": "

The phone number country.

" } }, - "com.amazonaws.chime#DeleteAppInstanceRequest": { + "com.amazonaws.chime#PhoneNumberError": { "type": "structure", "members": { - "AppInstanceArn": { - "target": "com.amazonaws.chime#ChimeArn", + "PhoneNumberId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The ARN of the AppInstance.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

The phone number ID for which the action failed.

" } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#DeleteAppInstanceStreamingConfigurations": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DeleteAppInstanceStreamingConfigurationsRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" }, - { - "target": "com.amazonaws.chime#ForbiddenException" + "ErrorCode": { + "target": "com.amazonaws.chime#ErrorCode", + "traits": { + "smithy.api#documentation": "

The error code.

" + } }, - { - "target": "com.amazonaws.chime#NotFoundException" + "ErrorMessage": { + "target": "com.amazonaws.chime#String", + "traits": { + "smithy.api#documentation": "

The error message.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

If the phone number action fails for one or more of the phone numbers in the request, a list of\n the phone numbers is returned, along with error codes and error messages.

" + } + }, + "com.amazonaws.chime#PhoneNumberErrorList": { + "type": "list", + "member": { + "target": "com.amazonaws.chime#PhoneNumberError" + } + }, + "com.amazonaws.chime#PhoneNumberList": { + "type": "list", + "member": { + "target": "com.amazonaws.chime#PhoneNumber" + } + }, + "com.amazonaws.chime#PhoneNumberMaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.chime#PhoneNumberOrder": { + "type": "structure", + "members": { + "PhoneNumberOrderId": { + "target": "com.amazonaws.chime#GuidString", + "traits": { + "smithy.api#documentation": "

The phone number order ID.

" + } }, - { - "target": "com.amazonaws.chime#ServiceFailureException" + "ProductType": { + "target": "com.amazonaws.chime#PhoneNumberProductType", + "traits": { + "smithy.api#documentation": "

The phone number order product type.

" + } }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" + "Status": { + "target": "com.amazonaws.chime#PhoneNumberOrderStatus", + "traits": { + "smithy.api#documentation": "

The status of the phone number order.

" + } }, - { - "target": "com.amazonaws.chime#ThrottledClientException" + "OrderedPhoneNumbers": { + "target": "com.amazonaws.chime#OrderedPhoneNumberList", + "traits": { + "smithy.api#documentation": "

The ordered phone number details, such as the phone number in E.164 format and the phone\n number status.

" + } }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" + "CreatedTimestamp": { + "target": "com.amazonaws.chime#Iso8601Timestamp", + "traits": { + "smithy.api#documentation": "

The phone number order creation time stamp, in ISO 8601 format.

" + } + }, + "UpdatedTimestamp": { + "target": "com.amazonaws.chime#Iso8601Timestamp", + "traits": { + "smithy.api#documentation": "

The updated phone number order time stamp, in ISO 8601 format.

" + } } - ], + }, "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DeleteAppInstanceStreamingConfigurations in the Amazon Chime SDK Messaging Namespace" + "smithy.api#documentation": "

The details of a phone number order created for Amazon Chime.

" + } + }, + "com.amazonaws.chime#PhoneNumberOrderList": { + "type": "list", + "member": { + "target": "com.amazonaws.chime#PhoneNumberOrder" + } + }, + "com.amazonaws.chime#PhoneNumberOrderStatus": { + "type": "enum", + "members": { + "Processing": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Processing" + } }, - "smithy.api#documentation": "

Deletes the streaming configurations of an AppInstance.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteAppInstanceStreamingConfigurations, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "DELETE", - "uri": "/app-instances/{AppInstanceArn}/streaming-configurations", - "code": 204 + "Successful": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Successful" + } + }, + "Failed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + }, + "Partial": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Partial" + } } } }, - "com.amazonaws.chime#DeleteAppInstanceStreamingConfigurationsRequest": { - "type": "structure", + "com.amazonaws.chime#PhoneNumberProductType": { + "type": "enum", "members": { - "AppInstanceArn": { - "target": "com.amazonaws.chime#ChimeArn", + "BusinessCalling": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The ARN of the streaming configurations being deleted.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#enumValue": "BusinessCalling" + } + }, + "VoiceConnector": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VoiceConnector" + } + }, + "SipMediaApplicationDialIn": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SipMediaApplicationDialIn" } } - }, - "traits": { - "smithy.api#input": {} } }, - "com.amazonaws.chime#DeleteAppInstanceUser": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DeleteAppInstanceUserRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" + "com.amazonaws.chime#PhoneNumberStatus": { + "type": "enum", + "members": { + "AcquireInProgress": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AcquireInProgress" + } }, - { - "target": "com.amazonaws.chime#ForbiddenException" + "AcquireFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AcquireFailed" + } }, - { - "target": "com.amazonaws.chime#ServiceFailureException" + "Unassigned": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Unassigned" + } }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" + "Assigned": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Assigned" + } }, - { - "target": "com.amazonaws.chime#ThrottledClientException" + "ReleaseInProgress": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ReleaseInProgress" + } }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DeleteAppInstanceUser in the Amazon Chime SDK Identity Namespace" + "DeleteInProgress": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DeleteInProgress" + } }, - "smithy.api#documentation": "

Deletes an AppInstanceUser.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteAppInstanceUser, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "identity-" + "ReleaseFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ReleaseFailed" + } }, - "smithy.api#http": { - "method": "DELETE", - "uri": "/app-instance-users/{AppInstanceUserArn}", - "code": 204 + "DeleteFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DeleteFailed" + } } } }, - "com.amazonaws.chime#DeleteAppInstanceUserRequest": { - "type": "structure", + "com.amazonaws.chime#PhoneNumberType": { + "type": "enum", "members": { - "AppInstanceUserArn": { - "target": "com.amazonaws.chime#ChimeArn", + "Local": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The ARN of the user request being deleted.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#enumValue": "Local" + } + }, + "TollFree": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TollFree" } } - }, + } + }, + "com.amazonaws.chime#PhoneNumberTypeList": { + "type": "list", + "member": { + "target": "com.amazonaws.chime#PhoneNumberType" + } + }, + "com.amazonaws.chime#ProfileServiceMaxResults": { + "type": "integer", "traits": { - "smithy.api#input": {} + "smithy.api#range": { + "min": 1, + "max": 200 + } } }, - "com.amazonaws.chime#DeleteAttendee": { + "com.amazonaws.chime#PutEventsConfiguration": { "type": "operation", "input": { - "target": "com.amazonaws.chime#DeleteAttendeeRequest" + "target": "com.amazonaws.chime#PutEventsConfigurationRequest" }, "output": { - "target": "smithy.api#Unit" + "target": "com.amazonaws.chime#PutEventsConfigurationResponse" }, "errors": [ { @@ -5504,112 +4853,98 @@ "target": "com.amazonaws.chime#NotFoundException" }, { - "target": "com.amazonaws.chime#ServiceFailureException" + "target": "com.amazonaws.chime#ResourceLimitExceededException" }, { - "target": "com.amazonaws.chime#ServiceUnavailableException" + "target": "com.amazonaws.chime#ServiceFailureException" }, { - "target": "com.amazonaws.chime#ThrottledClientException" + "target": "com.amazonaws.chime#ServiceUnavailableException" }, { "target": "com.amazonaws.chime#UnauthorizedClientException" } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DeleteAttendee in the Amazon Chime SDK Meetings Namespace" - }, - "smithy.api#documentation": "

Deletes an attendee from the specified Amazon Chime SDK meeting and deletes their \nJoinToken. Attendees are automatically deleted when a Amazon Chime SDK meeting is deleted. For more information about the Amazon Chime SDK, see \nUsing the Amazon Chime SDK\nin the Amazon Chime SDK Developer Guide.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteAttendee, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", + "smithy.api#documentation": "

Creates an events configuration that allows a bot to receive outgoing events sent by Amazon\n Chime. Choose either an HTTPS endpoint or a Lambda function ARN. For more information,\n see Bot.

", "smithy.api#http": { - "method": "DELETE", - "uri": "/meetings/{MeetingId}/attendees/{AttendeeId}", - "code": 204 + "method": "PUT", + "uri": "/accounts/{AccountId}/bots/{BotId}/events-configuration", + "code": 201 } } }, - "com.amazonaws.chime#DeleteAttendeeRequest": { + "com.amazonaws.chime#PutEventsConfigurationRequest": { "type": "structure", "members": { - "MeetingId": { - "target": "com.amazonaws.chime#GuidString", + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK meeting ID.

", + "smithy.api#documentation": "

The Amazon Chime account ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "AttendeeId": { - "target": "com.amazonaws.chime#GuidString", + "BotId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK attendee ID.

", + "smithy.api#documentation": "

The bot ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "OutboundEventsHTTPSEndpoint": { + "target": "com.amazonaws.chime#SensitiveString", + "traits": { + "smithy.api#documentation": "

HTTPS endpoint that allows the bot to receive outgoing events.

" + } + }, + "LambdaFunctionArn": { + "target": "com.amazonaws.chime#SensitiveString", + "traits": { + "smithy.api#documentation": "

Lambda function ARN that allows the bot to receive outgoing events.

" + } } }, "traits": { "smithy.api#input": {} } }, - "com.amazonaws.chime#DeleteChannel": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DeleteChannelRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" + "com.amazonaws.chime#PutEventsConfigurationResponse": { + "type": "structure", + "members": { + "EventsConfiguration": { + "target": "com.amazonaws.chime#EventsConfiguration", + "traits": { + "smithy.api#documentation": "

The configuration that allows a bot to receive outgoing events. Can be an HTTPS endpoint or an \n AWS Lambda function ARN.

" + } } - ], + }, "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DeleteChannel in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

Immediately makes a channel and its memberships inaccessible and marks them for\n deletion. This is an irreversible process.

\n \n

The x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteChannel, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, - "smithy.api#http": { - "method": "DELETE", - "uri": "/channels/{ChannelArn}", - "code": 204 - } + "smithy.api#output": {} } }, - "com.amazonaws.chime#DeleteChannelBan": { + "com.amazonaws.chime#PutRetentionSettings": { "type": "operation", "input": { - "target": "com.amazonaws.chime#DeleteChannelBanRequest" + "target": "com.amazonaws.chime#PutRetentionSettingsRequest" }, "output": { - "target": "smithy.api#Unit" + "target": "com.amazonaws.chime#PutRetentionSettingsResponse" }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" }, + { + "target": "com.amazonaws.chime#ConflictException" + }, { "target": "com.amazonaws.chime#ForbiddenException" }, + { + "target": "com.amazonaws.chime#NotFoundException" + }, { "target": "com.amazonaws.chime#ServiceFailureException" }, @@ -5624,68 +4959,74 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DeleteChannelBan in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

Removes a user from a channel's ban list.

\n \n

The x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteChannelBan, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, + "smithy.api#documentation": "

\nPuts retention settings for the specified Amazon Chime Enterprise account. We recommend using AWS CloudTrail to monitor usage of this API for your account. For more information, see \nLogging Amazon Chime API Calls with AWS CloudTrail\nin the Amazon Chime Administration Guide.

\n

\nTo turn off existing retention settings, remove the number of days from the corresponding \nRetentionDays\nfield in the \nRetentionSettings\nobject. For more information about retention settings, see \nManaging Chat Retention Policies\nin the Amazon Chime Administration Guide.

", "smithy.api#http": { - "method": "DELETE", - "uri": "/channels/{ChannelArn}/bans/{MemberArn}", + "method": "PUT", + "uri": "/accounts/{AccountId}/retention-settings", "code": 204 } } }, - "com.amazonaws.chime#DeleteChannelBanRequest": { + "com.amazonaws.chime#PutRetentionSettingsRequest": { "type": "structure", "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The ARN of the channel from which the AppInstanceUser was banned.

", + "smithy.api#documentation": "

The Amazon Chime account ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "MemberArn": { - "target": "com.amazonaws.chime#ChimeArn", + "RetentionSettings": { + "target": "com.amazonaws.chime#RetentionSettings", "traits": { - "smithy.api#documentation": "

The ARN of the AppInstanceUser that you want to reinstate.

", - "smithy.api#httpLabel": {}, + "smithy.api#documentation": "

The retention settings.

", "smithy.api#required": {} } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.chime#PutRetentionSettingsResponse": { + "type": "structure", + "members": { + "RetentionSettings": { + "target": "com.amazonaws.chime#RetentionSettings", + "traits": { + "smithy.api#documentation": "

The retention settings.

" + } }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", + "InitiateDeletionTimestamp": { + "target": "com.amazonaws.chime#Iso8601Timestamp", "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" + "smithy.api#documentation": "

The timestamp representing the time at which the specified items are permanently deleted, in ISO 8601 format.

" } } }, "traits": { - "smithy.api#input": {} + "smithy.api#output": {} } }, - "com.amazonaws.chime#DeleteChannelMembership": { + "com.amazonaws.chime#RedactConversationMessage": { "type": "operation", "input": { - "target": "com.amazonaws.chime#DeleteChannelMembershipRequest" + "target": "com.amazonaws.chime#RedactConversationMessageRequest" }, "output": { - "target": "smithy.api#Unit" + "target": "com.amazonaws.chime#RedactConversationMessageResponse" }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" }, { - "target": "com.amazonaws.chime#ConflictException" + "target": "com.amazonaws.chime#ForbiddenException" }, { - "target": "com.amazonaws.chime#ForbiddenException" + "target": "com.amazonaws.chime#NotFoundException" }, { "target": "com.amazonaws.chime#ServiceFailureException" @@ -5701,44 +5042,39 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DeleteChannelMembership in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

Removes a member from a channel.

\n \n

The x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteChannelMembership, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, + "smithy.api#documentation": "

Redacts the specified message from the specified Amazon Chime conversation.

", "smithy.api#http": { - "method": "DELETE", - "uri": "/channels/{ChannelArn}/memberships/{MemberArn}", - "code": 204 + "method": "POST", + "uri": "/accounts/{AccountId}/conversations/{ConversationId}/messages/{MessageId}?operation=redact", + "code": 200 } } }, - "com.amazonaws.chime#DeleteChannelMembershipRequest": { + "com.amazonaws.chime#RedactConversationMessageRequest": { "type": "structure", "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The ARN of the channel from which you want to remove the user.

", + "smithy.api#documentation": "

The Amazon Chime account ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "MemberArn": { - "target": "com.amazonaws.chime#ChimeArn", + "ConversationId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The ARN of the member that you're removing from the channel.

", + "smithy.api#documentation": "

The conversation ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", + "MessageId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" + "smithy.api#documentation": "

The message ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } } }, @@ -5746,13 +5082,20 @@ "smithy.api#input": {} } }, - "com.amazonaws.chime#DeleteChannelMessage": { + "com.amazonaws.chime#RedactConversationMessageResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.chime#RedactRoomMessage": { "type": "operation", "input": { - "target": "com.amazonaws.chime#DeleteChannelMessageRequest" + "target": "com.amazonaws.chime#RedactRoomMessageRequest" }, "output": { - "target": "smithy.api#Unit" + "target": "com.amazonaws.chime#RedactRoomMessageResponse" }, "errors": [ { @@ -5761,6 +5104,9 @@ { "target": "com.amazonaws.chime#ForbiddenException" }, + { + "target": "com.amazonaws.chime#NotFoundException" + }, { "target": "com.amazonaws.chime#ServiceFailureException" }, @@ -5775,44 +5121,39 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DeleteChannelMessage in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

Deletes a channel message. Only admins can perform this action. Deletion makes messages\n inaccessible immediately. A background process deletes any revisions created by\n UpdateChannelMessage.

\n \n

The x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteChannelMessage, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, + "smithy.api#documentation": "

Redacts the specified message from the specified Amazon Chime channel.

", "smithy.api#http": { - "method": "DELETE", - "uri": "/channels/{ChannelArn}/messages/{MessageId}", - "code": 204 + "method": "POST", + "uri": "/accounts/{AccountId}/rooms/{RoomId}/messages/{MessageId}?operation=redact", + "code": 200 } } }, - "com.amazonaws.chime#DeleteChannelMessageRequest": { + "com.amazonaws.chime#RedactRoomMessageRequest": { "type": "structure", "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The ARN of the channel.

", + "smithy.api#documentation": "

The Amazon Chime account ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "MessageId": { - "target": "com.amazonaws.chime#MessageId", + "RoomId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The ID of the message being deleted.

", + "smithy.api#documentation": "

The room ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", + "MessageId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" + "smithy.api#documentation": "

The message ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } } }, @@ -5820,13 +5161,20 @@ "smithy.api#input": {} } }, - "com.amazonaws.chime#DeleteChannelModerator": { + "com.amazonaws.chime#RedactRoomMessageResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.chime#RegenerateSecurityToken": { "type": "operation", "input": { - "target": "com.amazonaws.chime#DeleteChannelModeratorRequest" + "target": "com.amazonaws.chime#RegenerateSecurityTokenRequest" }, "output": { - "target": "smithy.api#Unit" + "target": "com.amazonaws.chime#RegenerateSecurityTokenResponse" }, "errors": [ { @@ -5835,6 +5183,9 @@ { "target": "com.amazonaws.chime#ForbiddenException" }, + { + "target": "com.amazonaws.chime#NotFoundException" + }, { "target": "com.amazonaws.chime#ServiceFailureException" }, @@ -5849,81 +5200,82 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DeleteChannelModerator in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

Deletes a channel moderator.

\n \n

The x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteChannelModerator, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, + "smithy.api#documentation": "

Regenerates the security token for a bot.

", "smithy.api#http": { - "method": "DELETE", - "uri": "/channels/{ChannelArn}/moderators/{ChannelModeratorArn}", - "code": 204 + "method": "POST", + "uri": "/accounts/{AccountId}/bots/{BotId}?operation=regenerate-security-token", + "code": 200 } } }, - "com.amazonaws.chime#DeleteChannelModeratorRequest": { + "com.amazonaws.chime#RegenerateSecurityTokenRequest": { "type": "structure", "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The ARN of the channel.

", + "smithy.api#documentation": "

The Amazon Chime account ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "ChannelModeratorArn": { - "target": "com.amazonaws.chime#ChimeArn", + "BotId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The ARN of the moderator being deleted.

", + "smithy.api#documentation": "

The bot ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } - }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" - } } }, "traits": { "smithy.api#input": {} } }, - "com.amazonaws.chime#DeleteChannelRequest": { + "com.amazonaws.chime#RegenerateSecurityTokenResponse": { "type": "structure", "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", + "Bot": { + "target": "com.amazonaws.chime#Bot", "traits": { - "smithy.api#documentation": "

The ARN of the channel being deleted.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

A resource that allows Enterprise account administrators to configure an interface that receives events from Amazon Chime.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.chime#RegistrationStatus": { + "type": "enum", + "members": { + "Unregistered": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Unregistered" + } + }, + "Registered": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Registered" } }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", + "Suspended": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" + "smithy.api#enumValue": "Suspended" } } - }, - "traits": { - "smithy.api#input": {} } }, - "com.amazonaws.chime#DeleteEventsConfiguration": { + "com.amazonaws.chime#ResetPersonalPIN": { "type": "operation", "input": { - "target": "com.amazonaws.chime#DeleteEventsConfigurationRequest" + "target": "com.amazonaws.chime#ResetPersonalPINRequest" }, "output": { - "target": "smithy.api#Unit" + "target": "com.amazonaws.chime#ResetPersonalPINResponse" }, "errors": [ { @@ -5933,7 +5285,7 @@ "target": "com.amazonaws.chime#ForbiddenException" }, { - "target": "com.amazonaws.chime#ResourceLimitExceededException" + "target": "com.amazonaws.chime#NotFoundException" }, { "target": "com.amazonaws.chime#ServiceFailureException" @@ -5941,20 +5293,23 @@ { "target": "com.amazonaws.chime#ServiceUnavailableException" }, + { + "target": "com.amazonaws.chime#ThrottledClientException" + }, { "target": "com.amazonaws.chime#UnauthorizedClientException" } ], "traits": { - "smithy.api#documentation": "

Deletes the events configuration that allows a bot to receive outgoing events.

", + "smithy.api#documentation": "

Resets the personal meeting PIN for the specified user on an Amazon Chime account. Returns\n the User object with the updated personal meeting PIN.

", "smithy.api#http": { - "method": "DELETE", - "uri": "/accounts/{AccountId}/bots/{BotId}/events-configuration", - "code": 204 + "method": "POST", + "uri": "/accounts/{AccountId}/users/{UserId}?operation=reset-personal-pin", + "code": 200 } } }, - "com.amazonaws.chime#DeleteEventsConfigurationRequest": { + "com.amazonaws.chime#ResetPersonalPINRequest": { "type": "structure", "members": { "AccountId": { @@ -5965,10 +5320,10 @@ "smithy.api#required": {} } }, - "BotId": { + "UserId": { "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The bot ID.

", + "smithy.api#documentation": "

The user ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5978,72 +5333,43 @@ "smithy.api#input": {} } }, - "com.amazonaws.chime#DeleteMediaCapturePipeline": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DeleteMediaCapturePipelineRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" + "com.amazonaws.chime#ResetPersonalPINResponse": { + "type": "structure", + "members": { + "User": { + "target": "com.amazonaws.chime#User", + "traits": { + "smithy.api#documentation": "

The user details and new personal meeting PIN.

" + } } - ], + }, "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DeleteMediaCapturePipeline in the Amazon Chime SDK Media Pipelines Namespace" - }, - "smithy.api#documentation": "

Deletes the media capture pipeline.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, \n DeleteMediaCapturePipeline, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "DELETE", - "uri": "/media-capture-pipelines/{MediaPipelineId}", - "code": 204 - } + "smithy.api#output": {} } }, - "com.amazonaws.chime#DeleteMediaCapturePipelineRequest": { + "com.amazonaws.chime#ResourceLimitExceededException": { "type": "structure", "members": { - "MediaPipelineId": { - "target": "com.amazonaws.chime#GuidString", - "traits": { - "smithy.api#documentation": "

The ID of the media capture pipeline being deleted.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } + "Code": { + "target": "com.amazonaws.chime#ErrorCode" + }, + "Message": { + "target": "com.amazonaws.chime#String" } }, "traits": { - "smithy.api#input": {} + "smithy.api#documentation": "

The request exceeds the resource limit.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 } }, - "com.amazonaws.chime#DeleteMeeting": { + "com.amazonaws.chime#RestorePhoneNumber": { "type": "operation", "input": { - "target": "com.amazonaws.chime#DeleteMeetingRequest" + "target": "com.amazonaws.chime#RestorePhoneNumberRequest" }, "output": { - "target": "smithy.api#Unit" + "target": "com.amazonaws.chime#RestorePhoneNumberResponse" }, "errors": [ { @@ -6055,6 +5381,9 @@ { "target": "com.amazonaws.chime#NotFoundException" }, + { + "target": "com.amazonaws.chime#ResourceLimitExceededException" + }, { "target": "com.amazonaws.chime#ServiceFailureException" }, @@ -6069,24 +5398,21 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DeleteMeeting in the Amazon Chime SDK Meetings Namespace" - }, - "smithy.api#documentation": "

Deletes the specified Amazon Chime SDK meeting. The operation deletes all attendees, disconnects all clients, and prevents new clients from \n joining the meeting. For more information about the Amazon Chime SDK, see \n Using the Amazon Chime SDK in the \n Amazon Chime SDK Developer Guide.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteMeeting, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", + "smithy.api#documentation": "

Moves a phone number from the Deletion queue back into the\n phone number Inventory.

", "smithy.api#http": { - "method": "DELETE", - "uri": "/meetings/{MeetingId}", - "code": 204 + "method": "POST", + "uri": "/phone-numbers/{PhoneNumberId}?operation=restore", + "code": 200 } } }, - "com.amazonaws.chime#DeleteMeetingRequest": { + "com.amazonaws.chime#RestorePhoneNumberRequest": { "type": "structure", "members": { - "MeetingId": { - "target": "com.amazonaws.chime#GuidString", + "PhoneNumberId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK meeting ID.

", + "smithy.api#documentation": "

The phone number.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6096,286 +5422,201 @@ "smithy.api#input": {} } }, - "com.amazonaws.chime#DeletePhoneNumber": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DeletePhoneNumberRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Moves the specified phone number into the Deletion queue. A\n phone number must be disassociated from any users or Amazon Chime Voice Connectors\n before it can be deleted.

\n

Deleted phone numbers remain in the \nDeletion queue\nfor 7 days before they are deleted permanently.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/phone-numbers/{PhoneNumberId}", - "code": 204 - } - } - }, - "com.amazonaws.chime#DeletePhoneNumberRequest": { + "com.amazonaws.chime#RestorePhoneNumberResponse": { "type": "structure", "members": { - "PhoneNumberId": { - "target": "com.amazonaws.chime#String", + "PhoneNumber": { + "target": "com.amazonaws.chime#PhoneNumber", "traits": { - "smithy.api#documentation": "

The phone number ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

The phone number details.

" } } }, "traits": { - "smithy.api#input": {} + "smithy.api#output": {} } }, - "com.amazonaws.chime#DeleteProxySession": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DeleteProxySessionRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" + "com.amazonaws.chime#ResultMax": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 99 } - ], + } + }, + "com.amazonaws.chime#RetentionDays": { + "type": "integer", "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DeleteProxySession in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Deletes the specified proxy session from the specified Amazon Chime Voice Connector.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteProxySession, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "DELETE", - "uri": "/voice-connectors/{VoiceConnectorId}/proxy-sessions/{ProxySessionId}", - "code": 204 + "smithy.api#range": { + "min": 1, + "max": 5475 } } }, - "com.amazonaws.chime#DeleteProxySessionRequest": { + "com.amazonaws.chime#RetentionSettings": { "type": "structure", "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString128", + "RoomRetentionSettings": { + "target": "com.amazonaws.chime#RoomRetentionSettings", "traits": { - "smithy.api#documentation": "

The Amazon Chime voice connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

The chat room retention settings.

" } }, - "ProxySessionId": { - "target": "com.amazonaws.chime#NonEmptyString128", + "ConversationRetentionSettings": { + "target": "com.amazonaws.chime#ConversationRetentionSettings", "traits": { - "smithy.api#documentation": "

The proxy session ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

The chat conversation retention settings.

" } } }, "traits": { - "smithy.api#input": {} + "smithy.api#documentation": "

The retention settings for an Amazon Chime Enterprise account that determine how long to retain items such as chat-room messages and chat-conversation messages.

" } }, - "com.amazonaws.chime#DeleteRoom": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DeleteRoomRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" + "com.amazonaws.chime#Room": { + "type": "structure", + "members": { + "RoomId": { + "target": "com.amazonaws.chime#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The room ID.

" + } }, - { - "target": "com.amazonaws.chime#NotFoundException" + "Name": { + "target": "com.amazonaws.chime#SensitiveString", + "traits": { + "smithy.api#documentation": "

The room name.

" + } }, - { - "target": "com.amazonaws.chime#ServiceFailureException" + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The Amazon Chime account ID.

" + } }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" + "CreatedBy": { + "target": "com.amazonaws.chime#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The identifier of the room creator.

" + } }, - { - "target": "com.amazonaws.chime#ThrottledClientException" + "CreatedTimestamp": { + "target": "com.amazonaws.chime#Iso8601Timestamp", + "traits": { + "smithy.api#documentation": "

The room creation timestamp, in ISO 8601 format.

" + } }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" + "UpdatedTimestamp": { + "target": "com.amazonaws.chime#Iso8601Timestamp", + "traits": { + "smithy.api#documentation": "

The room update timestamp, in ISO 8601 format.

" + } } - ], + }, "traits": { - "smithy.api#documentation": "

Deletes a chat room in an Amazon Chime Enterprise account.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/accounts/{AccountId}/rooms/{RoomId}", - "code": 204 - } + "smithy.api#documentation": "

The Amazon Chime chat room details.

" } }, - "com.amazonaws.chime#DeleteRoomMembership": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DeleteRoomMembershipRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Removes a member from a chat room in an Amazon Chime Enterprise account.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/accounts/{AccountId}/rooms/{RoomId}/memberships/{MemberId}", - "code": 204 - } + "com.amazonaws.chime#RoomList": { + "type": "list", + "member": { + "target": "com.amazonaws.chime#Room" } }, - "com.amazonaws.chime#DeleteRoomMembershipRequest": { + "com.amazonaws.chime#RoomMembership": { "type": "structure", "members": { - "AccountId": { + "RoomId": { "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

The room ID.

" } }, - "RoomId": { - "target": "com.amazonaws.chime#NonEmptyString", + "Member": { + "target": "com.amazonaws.chime#Member", "traits": { - "smithy.api#documentation": "

The room ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

The member details, such as email address, name, member ID, and member type.

" } }, - "MemberId": { + "Role": { + "target": "com.amazonaws.chime#RoomMembershipRole", + "traits": { + "smithy.api#documentation": "

The membership role.

" + } + }, + "InvitedBy": { "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The member ID (user ID or bot ID).

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

The identifier of the user that invited the room member.

" + } + }, + "UpdatedTimestamp": { + "target": "com.amazonaws.chime#Iso8601Timestamp", + "traits": { + "smithy.api#documentation": "

The room membership update timestamp, in ISO 8601 format.

" } } }, "traits": { - "smithy.api#input": {} + "smithy.api#documentation": "

The room membership details.

" } }, - "com.amazonaws.chime#DeleteRoomRequest": { - "type": "structure", + "com.amazonaws.chime#RoomMembershipList": { + "type": "list", + "member": { + "target": "com.amazonaws.chime#RoomMembership" + } + }, + "com.amazonaws.chime#RoomMembershipRole": { + "type": "enum", "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", + "Administrator": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#enumValue": "Administrator" } }, - "RoomId": { - "target": "com.amazonaws.chime#NonEmptyString", + "Member": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The chat room ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#enumValue": "Member" + } + } + } + }, + "com.amazonaws.chime#RoomRetentionSettings": { + "type": "structure", + "members": { + "RetentionDays": { + "target": "com.amazonaws.chime#RetentionDays", + "traits": { + "smithy.api#documentation": "

The number of days for which to retain chat-room messages.

" } } }, "traits": { - "smithy.api#input": {} + "smithy.api#documentation": "

The retention settings that determine how long to retain chat-room messages for an Amazon Chime Enterprise account.

" } }, - "com.amazonaws.chime#DeleteSipMediaApplication": { + "com.amazonaws.chime#SearchAvailablePhoneNumbers": { "type": "operation", "input": { - "target": "com.amazonaws.chime#DeleteSipMediaApplicationRequest" + "target": "com.amazonaws.chime#SearchAvailablePhoneNumbersRequest" }, "output": { - "target": "smithy.api#Unit" + "target": "com.amazonaws.chime#SearchAvailablePhoneNumbersResponse" }, "errors": [ { - "target": "com.amazonaws.chime#BadRequestException" + "target": "com.amazonaws.chime#AccessDeniedException" }, { - "target": "com.amazonaws.chime#ConflictException" + "target": "com.amazonaws.chime#BadRequestException" }, { "target": "com.amazonaws.chime#ForbiddenException" }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, { "target": "com.amazonaws.chime#ServiceFailureException" }, @@ -6390,15020 +5631,1178 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DeleteSipMediaApplication in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Deletes a SIP media application.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteSipMediaApplication, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", + "smithy.api#documentation": "

Searches for phone numbers that can be ordered. For US numbers, provide at least one of\n the following search filters: AreaCode, City,\n State, or TollFreePrefix. If you provide\n City, you must also provide State. Numbers outside the US only\n support the PhoneNumberType filter, which you must use.

", "smithy.api#http": { - "method": "DELETE", - "uri": "/sip-media-applications/{SipMediaApplicationId}", - "code": 204 + "method": "GET", + "uri": "/search?type=phone-numbers", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" } } }, - "com.amazonaws.chime#DeleteSipMediaApplicationRequest": { + "com.amazonaws.chime#SearchAvailablePhoneNumbersRequest": { "type": "structure", "members": { - "SipMediaApplicationId": { - "target": "com.amazonaws.chime#NonEmptyString", + "AreaCode": { + "target": "com.amazonaws.chime#String", "traits": { - "smithy.api#documentation": "

The SIP media application ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

The area code used to filter results. Only applies to the US.

", + "smithy.api#httpQuery": "area-code" } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#DeleteSipRule": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DeleteSipRuleRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" }, - { - "target": "com.amazonaws.chime#ConflictException" + "City": { + "target": "com.amazonaws.chime#String", + "traits": { + "smithy.api#documentation": "

The city used to filter results. Only applies to the US.

", + "smithy.api#httpQuery": "city" + } }, - { - "target": "com.amazonaws.chime#ForbiddenException" + "Country": { + "target": "com.amazonaws.chime#Alpha2CountryCode", + "traits": { + "smithy.api#documentation": "

The country used to filter results. Defaults to the US Format: ISO 3166-1 alpha-2.

", + "smithy.api#httpQuery": "country" + } }, - { - "target": "com.amazonaws.chime#NotFoundException" + "State": { + "target": "com.amazonaws.chime#String", + "traits": { + "smithy.api#documentation": "

The state used to filter results. Required only if you provide City. Only applies to the US.

", + "smithy.api#httpQuery": "state" + } }, - { - "target": "com.amazonaws.chime#ServiceFailureException" + "TollFreePrefix": { + "target": "com.amazonaws.chime#TollFreePrefix", + "traits": { + "smithy.api#documentation": "

The toll-free prefix that you use to filter results. Only applies to the US.

", + "smithy.api#httpQuery": "toll-free-prefix" + } }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" + "PhoneNumberType": { + "target": "com.amazonaws.chime#PhoneNumberType", + "traits": { + "smithy.api#documentation": "

The phone number type used to filter results. Required for non-US numbers.

", + "smithy.api#httpQuery": "phone-number-type" + } }, - { - "target": "com.amazonaws.chime#ThrottledClientException" + "MaxResults": { + "target": "com.amazonaws.chime#PhoneNumberMaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return in a single call.

", + "smithy.api#httpQuery": "max-results" + } }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" + "NextToken": { + "target": "com.amazonaws.chime#String", + "traits": { + "smithy.api#documentation": "

The token used to retrieve the next page of results.

", + "smithy.api#httpQuery": "next-token" + } } - ], + }, "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DeleteSipRule in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Deletes a SIP rule. You must disable a SIP rule before you can delete it.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteSipRule, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "DELETE", - "uri": "/sip-rules/{SipRuleId}", - "code": 204 - } + "smithy.api#input": {} } }, - "com.amazonaws.chime#DeleteSipRuleRequest": { + "com.amazonaws.chime#SearchAvailablePhoneNumbersResponse": { "type": "structure", "members": { - "SipRuleId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The SIP rule ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "E164PhoneNumbers": { + "target": "com.amazonaws.chime#E164PhoneNumberList", + "traits": { + "smithy.api#documentation": "

List of phone numbers, in E.164 format.

" + } + }, + "NextToken": { + "target": "com.amazonaws.chime#String", + "traits": { + "smithy.api#documentation": "

The token used to retrieve the next page of search results.

" } } }, "traits": { - "smithy.api#input": {} + "smithy.api#output": {} } }, - "com.amazonaws.chime#DeleteVoiceConnector": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DeleteVoiceConnectorRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ConflictException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], + "com.amazonaws.chime#SensitiveString": { + "type": "string", "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DeleteVoiceConnector in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Deletes the specified Amazon Chime Voice Connector. Any phone numbers associated with the\n Amazon Chime Voice Connector must be disassociated from it before it can be\n deleted.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteVoiceConnector, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "DELETE", - "uri": "/voice-connectors/{VoiceConnectorId}", - "code": 204 - } + "smithy.api#sensitive": {} } }, - "com.amazonaws.chime#DeleteVoiceConnectorEmergencyCallingConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DeleteVoiceConnectorEmergencyCallingConfigurationRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" + "com.amazonaws.chime#ServiceFailureException": { + "type": "structure", + "members": { + "Code": { + "target": "com.amazonaws.chime#ErrorCode" }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" + "Message": { + "target": "com.amazonaws.chime#String" } - ], + }, "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DeleteVoiceConnectorEmergencyCallingConfiguration in the Amazon Chime SDK Voice Namespace" + "smithy.api#documentation": "

The service encountered an unexpected error.

", + "smithy.api#error": "server", + "smithy.api#httpError": 500 + } + }, + "com.amazonaws.chime#ServiceUnavailableException": { + "type": "structure", + "members": { + "Code": { + "target": "com.amazonaws.chime#ErrorCode" }, - "smithy.api#documentation": "

Deletes the emergency calling configuration details from the specified Amazon Chime Voice Connector.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteVoiceConnectorEmergencyCallingConfiguration, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "DELETE", - "uri": "/voice-connectors/{VoiceConnectorId}/emergency-calling-configuration", - "code": 204 + "Message": { + "target": "com.amazonaws.chime#String" } + }, + "traits": { + "smithy.api#documentation": "

The service is currently unavailable.

", + "smithy.api#error": "server", + "smithy.api#httpError": 503 } }, - "com.amazonaws.chime#DeleteVoiceConnectorEmergencyCallingConfigurationRequest": { + "com.amazonaws.chime#SigninDelegateGroup": { "type": "structure", "members": { - "VoiceConnectorId": { + "GroupName": { "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

The group name.

" } } }, "traits": { - "smithy.api#input": {} + "smithy.api#documentation": "

An Active Directory (AD) group whose members are granted permission to act as delegates.

" } }, - "com.amazonaws.chime#DeleteVoiceConnectorGroup": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DeleteVoiceConnectorGroupRequest" + "com.amazonaws.chime#SigninDelegateGroupList": { + "type": "list", + "member": { + "target": "com.amazonaws.chime#SigninDelegateGroup" + } + }, + "com.amazonaws.chime#String": { + "type": "string" + }, + "com.amazonaws.chime#TelephonySettings": { + "type": "structure", + "members": { + "InboundCalling": { + "target": "com.amazonaws.chime#Boolean", + "traits": { + "smithy.api#documentation": "

Allows or denies inbound calling.

", + "smithy.api#required": {} + } + }, + "OutboundCalling": { + "target": "com.amazonaws.chime#Boolean", + "traits": { + "smithy.api#documentation": "

Allows or denies outbound calling.

", + "smithy.api#required": {} + } + }, + "SMS": { + "target": "com.amazonaws.chime#Boolean", + "traits": { + "smithy.api#documentation": "

Allows or denies SMS messaging.

", + "smithy.api#required": {} + } + } }, - "output": { - "target": "smithy.api#Unit" + "traits": { + "smithy.api#documentation": "

Settings that allow management of telephony permissions for an Amazon Chime user, such as\n inbound and outbound calling and text messaging.

" + } + }, + "com.amazonaws.chime#ThrottledClientException": { + "type": "structure", + "members": { + "Code": { + "target": "com.amazonaws.chime#ErrorCode" + }, + "Message": { + "target": "com.amazonaws.chime#String" + } }, - "errors": [ + "traits": { + "smithy.api#documentation": "

The client exceeded its request rate limit.

", + "smithy.api#error": "client", + "smithy.api#httpError": 429 + } + }, + "com.amazonaws.chime#TollFreePrefix": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 3, + "max": 3 + }, + "smithy.api#pattern": "^8(00|33|44|55|66|77|88)$" + } + }, + "com.amazonaws.chime#UCBuzzConsoleService": { + "type": "service", + "version": "2018-05-01", + "operations": [ { - "target": "com.amazonaws.chime#BadRequestException" + "target": "com.amazonaws.chime#AssociatePhoneNumberWithUser" }, { - "target": "com.amazonaws.chime#ConflictException" + "target": "com.amazonaws.chime#AssociateSigninDelegateGroupsWithAccount" }, { - "target": "com.amazonaws.chime#ForbiddenException" + "target": "com.amazonaws.chime#BatchCreateRoomMembership" }, { - "target": "com.amazonaws.chime#NotFoundException" + "target": "com.amazonaws.chime#BatchDeletePhoneNumber" }, { - "target": "com.amazonaws.chime#ServiceFailureException" + "target": "com.amazonaws.chime#BatchSuspendUser" }, { - "target": "com.amazonaws.chime#ServiceUnavailableException" + "target": "com.amazonaws.chime#BatchUnsuspendUser" }, { - "target": "com.amazonaws.chime#ThrottledClientException" + "target": "com.amazonaws.chime#BatchUpdatePhoneNumber" }, { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DeleteVoiceConnectorGroup in the Amazon Chime SDK Voice Namespace" + "target": "com.amazonaws.chime#BatchUpdateUser" }, - "smithy.api#documentation": "

Deletes the specified Amazon Chime Voice Connector group. Any \nVoiceConnectorItems\nand phone numbers associated with the group must be removed before it can be deleted.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteVoiceConnectorGroup, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "DELETE", - "uri": "/voice-connector-groups/{VoiceConnectorGroupId}", - "code": 204 - } - } - }, - "com.amazonaws.chime#DeleteVoiceConnectorGroupRequest": { - "type": "structure", - "members": { - "VoiceConnectorGroupId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector group ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#DeleteVoiceConnectorOrigination": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DeleteVoiceConnectorOriginationRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ { - "target": "com.amazonaws.chime#BadRequestException" + "target": "com.amazonaws.chime#CreateAccount" }, { - "target": "com.amazonaws.chime#ForbiddenException" + "target": "com.amazonaws.chime#CreateBot" }, { - "target": "com.amazonaws.chime#NotFoundException" + "target": "com.amazonaws.chime#CreateMeetingDialOut" }, { - "target": "com.amazonaws.chime#ServiceFailureException" + "target": "com.amazonaws.chime#CreatePhoneNumberOrder" }, { - "target": "com.amazonaws.chime#ServiceUnavailableException" + "target": "com.amazonaws.chime#CreateRoom" }, { - "target": "com.amazonaws.chime#ThrottledClientException" + "target": "com.amazonaws.chime#CreateRoomMembership" }, { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DeleteVoiceConnectorOrigination in the Amazon Chime SDK Voice Namespace" + "target": "com.amazonaws.chime#CreateUser" }, - "smithy.api#documentation": "

Deletes the origination settings for the specified Amazon Chime Voice Connector.

\n \n

If emergency calling is configured for the Amazon Chime Voice Connector, it must be deleted prior to deleting the origination settings.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteVoiceConnectorOrigination, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "DELETE", - "uri": "/voice-connectors/{VoiceConnectorId}/origination", - "code": 204 - } - } - }, - "com.amazonaws.chime#DeleteVoiceConnectorOriginationRequest": { - "type": "structure", - "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#DeleteVoiceConnectorProxy": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DeleteVoiceConnectorProxyRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ { - "target": "com.amazonaws.chime#BadRequestException" + "target": "com.amazonaws.chime#DeleteAccount" }, { - "target": "com.amazonaws.chime#ForbiddenException" + "target": "com.amazonaws.chime#DeleteEventsConfiguration" }, { - "target": "com.amazonaws.chime#NotFoundException" + "target": "com.amazonaws.chime#DeletePhoneNumber" }, { - "target": "com.amazonaws.chime#ServiceFailureException" + "target": "com.amazonaws.chime#DeleteRoom" }, { - "target": "com.amazonaws.chime#ServiceUnavailableException" + "target": "com.amazonaws.chime#DeleteRoomMembership" }, { - "target": "com.amazonaws.chime#ThrottledClientException" + "target": "com.amazonaws.chime#DisassociatePhoneNumberFromUser" }, { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DeleteVoiceConnectorProxy in the Amazon Chime SDK Voice Namespace" + "target": "com.amazonaws.chime#DisassociateSigninDelegateGroupsFromAccount" }, - "smithy.api#documentation": "

Deletes the proxy configuration from the specified Amazon Chime Voice Connector.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteVoiceProxy, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "DELETE", - "uri": "/voice-connectors/{VoiceConnectorId}/programmable-numbers/proxy", - "code": 204 - } - } - }, - "com.amazonaws.chime#DeleteVoiceConnectorProxyRequest": { - "type": "structure", - "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString128", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#DeleteVoiceConnectorRequest": { - "type": "structure", - "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#DeleteVoiceConnectorStreamingConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DeleteVoiceConnectorStreamingConfigurationRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ { - "target": "com.amazonaws.chime#BadRequestException" + "target": "com.amazonaws.chime#GetAccount" }, { - "target": "com.amazonaws.chime#ForbiddenException" + "target": "com.amazonaws.chime#GetAccountSettings" }, { - "target": "com.amazonaws.chime#NotFoundException" + "target": "com.amazonaws.chime#GetBot" }, { - "target": "com.amazonaws.chime#ServiceFailureException" + "target": "com.amazonaws.chime#GetEventsConfiguration" }, { - "target": "com.amazonaws.chime#ServiceUnavailableException" + "target": "com.amazonaws.chime#GetGlobalSettings" }, { - "target": "com.amazonaws.chime#ThrottledClientException" + "target": "com.amazonaws.chime#GetPhoneNumber" }, { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DeleteVoiceConnectorStreamingConfiguration in the Amazon Chime SDK Voice Namespace" + "target": "com.amazonaws.chime#GetPhoneNumberOrder" }, - "smithy.api#documentation": "

Deletes the streaming configuration for the specified Amazon Chime Voice Connector.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteVoiceConnectorStreamingConfiguration, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "DELETE", - "uri": "/voice-connectors/{VoiceConnectorId}/streaming-configuration", - "code": 204 - } - } - }, - "com.amazonaws.chime#DeleteVoiceConnectorStreamingConfigurationRequest": { - "type": "structure", - "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#DeleteVoiceConnectorTermination": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DeleteVoiceConnectorTerminationRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ { - "target": "com.amazonaws.chime#BadRequestException" + "target": "com.amazonaws.chime#GetPhoneNumberSettings" }, { - "target": "com.amazonaws.chime#ForbiddenException" + "target": "com.amazonaws.chime#GetRetentionSettings" }, { - "target": "com.amazonaws.chime#NotFoundException" + "target": "com.amazonaws.chime#GetRoom" }, { - "target": "com.amazonaws.chime#ServiceFailureException" + "target": "com.amazonaws.chime#GetUser" }, { - "target": "com.amazonaws.chime#ServiceUnavailableException" + "target": "com.amazonaws.chime#GetUserSettings" }, { - "target": "com.amazonaws.chime#ThrottledClientException" + "target": "com.amazonaws.chime#InviteUsers" }, { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DeleteVoiceConnectorTermination in the Amazon Chime SDK Voice Namespace" + "target": "com.amazonaws.chime#ListAccounts" }, - "smithy.api#documentation": "

Deletes the termination settings for the specified Amazon Chime Voice Connector.

\n \n

If emergency calling is configured for the Amazon Chime Voice Connector, it must be deleted prior to deleting the termination settings.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteVoiceConnectorTermination, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "DELETE", - "uri": "/voice-connectors/{VoiceConnectorId}/termination", - "code": 204 - } - } - }, - "com.amazonaws.chime#DeleteVoiceConnectorTerminationCredentials": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DeleteVoiceConnectorTerminationCredentialsRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ { - "target": "com.amazonaws.chime#BadRequestException" + "target": "com.amazonaws.chime#ListBots" }, { - "target": "com.amazonaws.chime#ForbiddenException" + "target": "com.amazonaws.chime#ListPhoneNumberOrders" }, { - "target": "com.amazonaws.chime#NotFoundException" + "target": "com.amazonaws.chime#ListPhoneNumbers" }, { - "target": "com.amazonaws.chime#ServiceFailureException" + "target": "com.amazonaws.chime#ListRoomMemberships" }, { - "target": "com.amazonaws.chime#ServiceUnavailableException" + "target": "com.amazonaws.chime#ListRooms" }, { - "target": "com.amazonaws.chime#ThrottledClientException" + "target": "com.amazonaws.chime#ListSupportedPhoneNumberCountries" }, { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DeleteVoiceConnectorTerminationCredentials in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Deletes the specified SIP credentials used by your equipment to authenticate during call termination.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteVoiceConnectorTerminationCredentials, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "POST", - "uri": "/voice-connectors/{VoiceConnectorId}/termination/credentials?operation=delete", - "code": 204 - } - } - }, - "com.amazonaws.chime#DeleteVoiceConnectorTerminationCredentialsRequest": { - "type": "structure", - "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } + "target": "com.amazonaws.chime#ListUsers" }, - "Usernames": { - "target": "com.amazonaws.chime#SensitiveStringList", - "traits": { - "smithy.api#documentation": "

The RFC2617 compliant username associated with the SIP credentials, in US-ASCII format.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#DeleteVoiceConnectorTerminationRequest": { - "type": "structure", - "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#DescribeAppInstance": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DescribeAppInstanceRequest" - }, - "output": { - "target": "com.amazonaws.chime#DescribeAppInstanceResponse" - }, - "errors": [ { - "target": "com.amazonaws.chime#BadRequestException" + "target": "com.amazonaws.chime#LogoutUser" }, { - "target": "com.amazonaws.chime#ForbiddenException" + "target": "com.amazonaws.chime#PutEventsConfiguration" }, { - "target": "com.amazonaws.chime#ServiceFailureException" + "target": "com.amazonaws.chime#PutRetentionSettings" }, { - "target": "com.amazonaws.chime#ServiceUnavailableException" + "target": "com.amazonaws.chime#RedactConversationMessage" }, { - "target": "com.amazonaws.chime#ThrottledClientException" + "target": "com.amazonaws.chime#RedactRoomMessage" }, { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DescribeAppInstance in the Amazon Chime SDK Identity Namespace" + "target": "com.amazonaws.chime#RegenerateSecurityToken" }, - "smithy.api#documentation": "

Returns the full details of an AppInstance.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DescribeAppInstance, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "identity-" + { + "target": "com.amazonaws.chime#ResetPersonalPIN" }, - "smithy.api#http": { - "method": "GET", - "uri": "/app-instances/{AppInstanceArn}", - "code": 200 - } - } - }, - "com.amazonaws.chime#DescribeAppInstanceAdmin": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DescribeAppInstanceAdminRequest" - }, - "output": { - "target": "com.amazonaws.chime#DescribeAppInstanceAdminResponse" - }, - "errors": [ { - "target": "com.amazonaws.chime#BadRequestException" + "target": "com.amazonaws.chime#RestorePhoneNumber" }, { - "target": "com.amazonaws.chime#ForbiddenException" + "target": "com.amazonaws.chime#SearchAvailablePhoneNumbers" }, { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DescribeAppInstanceAdmin in the Amazon Chime SDK Identity Namespace" - }, - "smithy.api#documentation": "

Returns the full details of an AppInstanceAdmin.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DescribeAppInstanceAdmin, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "identity-" - }, - "smithy.api#http": { - "method": "GET", - "uri": "/app-instances/{AppInstanceArn}/admins/{AppInstanceAdminArn}", - "code": 200 - } - } - }, - "com.amazonaws.chime#DescribeAppInstanceAdminRequest": { - "type": "structure", - "members": { - "AppInstanceAdminArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the AppInstanceAdmin.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "AppInstanceArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the AppInstance.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#DescribeAppInstanceAdminResponse": { - "type": "structure", - "members": { - "AppInstanceAdmin": { - "target": "com.amazonaws.chime#AppInstanceAdmin", - "traits": { - "smithy.api#documentation": "

The ARN and name of the AppInstanceUser, the ARN of the AppInstance, and the created and\n last-updated timestamps. All timestamps use epoch milliseconds.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#DescribeAppInstanceRequest": { - "type": "structure", - "members": { - "AppInstanceArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the AppInstance.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#DescribeAppInstanceResponse": { - "type": "structure", - "members": { - "AppInstance": { - "target": "com.amazonaws.chime#AppInstance", - "traits": { - "smithy.api#documentation": "

The ARN, metadata, created and last-updated timestamps, and the name of the AppInstance. All\n timestamps use epoch milliseconds.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#DescribeAppInstanceUser": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DescribeAppInstanceUserRequest" - }, - "output": { - "target": "com.amazonaws.chime#DescribeAppInstanceUserResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" + "target": "com.amazonaws.chime#UpdateAccount" }, { - "target": "com.amazonaws.chime#ServiceUnavailableException" + "target": "com.amazonaws.chime#UpdateAccountSettings" }, { - "target": "com.amazonaws.chime#ThrottledClientException" + "target": "com.amazonaws.chime#UpdateBot" }, { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DescribeAppInstanceUser in the Amazon Chime SDK Identity Namespace" - }, - "smithy.api#documentation": "

Returns the full details of an AppInstanceUser.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DescribeAppInstanceUser, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "identity-" + "target": "com.amazonaws.chime#UpdateGlobalSettings" }, - "smithy.api#http": { - "method": "GET", - "uri": "/app-instance-users/{AppInstanceUserArn}", - "code": 200 - } - } - }, - "com.amazonaws.chime#DescribeAppInstanceUserRequest": { - "type": "structure", - "members": { - "AppInstanceUserArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the AppInstanceUser.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#DescribeAppInstanceUserResponse": { - "type": "structure", - "members": { - "AppInstanceUser": { - "target": "com.amazonaws.chime#AppInstanceUser", - "traits": { - "smithy.api#documentation": "

The name of the AppInstanceUser.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#DescribeChannel": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DescribeChannelRequest" - }, - "output": { - "target": "com.amazonaws.chime#DescribeChannelResponse" - }, - "errors": [ { - "target": "com.amazonaws.chime#BadRequestException" + "target": "com.amazonaws.chime#UpdatePhoneNumber" }, { - "target": "com.amazonaws.chime#ForbiddenException" + "target": "com.amazonaws.chime#UpdatePhoneNumberSettings" }, { - "target": "com.amazonaws.chime#ServiceFailureException" + "target": "com.amazonaws.chime#UpdateRoom" }, { - "target": "com.amazonaws.chime#ServiceUnavailableException" + "target": "com.amazonaws.chime#UpdateRoomMembership" }, { - "target": "com.amazonaws.chime#ThrottledClientException" + "target": "com.amazonaws.chime#UpdateUser" }, { - "target": "com.amazonaws.chime#UnauthorizedClientException" + "target": "com.amazonaws.chime#UpdateUserSettings" } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DescribeChannel in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

Returns the full details of a channel in an Amazon Chime\n AppInstance.

\n \n

The x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DescribeChannel, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, - "smithy.api#http": { - "method": "GET", - "uri": "/channels/{ChannelArn}", - "code": 200 - } - } - }, - "com.amazonaws.chime#DescribeChannelBan": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DescribeChannelBanRequest" - }, - "output": { - "target": "com.amazonaws.chime#DescribeChannelBanResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" + "aws.api#service": { + "sdkId": "Chime", + "arnNamespace": "chime", + "cloudFormationName": "Chime", + "cloudTrailEventSource": "chime.amazonaws.com", + "endpointPrefix": "chime" }, - { - "target": "com.amazonaws.chime#ThrottledClientException" + "aws.auth#sigv4": { + "name": "chime" }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { + "aws.protocols#restJson1": {}, "smithy.api#deprecated": { - "message": "Replaced by DescribeChannelBan in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

Returns the full details of a channel ban.

\n \n

The x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DescribeChannelBan, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, - "smithy.api#http": { - "method": "GET", - "uri": "/channels/{ChannelArn}/bans/{MemberArn}", - "code": 200 - } - } - }, - "com.amazonaws.chime#DescribeChannelBanRequest": { - "type": "structure", - "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel from which the user is banned.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MemberArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the member being banned.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#DescribeChannelBanResponse": { - "type": "structure", - "members": { - "ChannelBan": { - "target": "com.amazonaws.chime#ChannelBan", - "traits": { - "smithy.api#documentation": "

The details of the ban.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#DescribeChannelMembership": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DescribeChannelMembershipRequest" - }, - "output": { - "target": "com.amazonaws.chime#DescribeChannelMembershipResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" + "message": "This namespace has been deprecated" }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DescribeChannelMembership in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

Returns the full details of a user's channel membership.

\n \n

The x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DescribeChannelMembership, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, - "smithy.api#http": { - "method": "GET", - "uri": "/channels/{ChannelArn}/memberships/{MemberArn}", - "code": 200 - } - } - }, - "com.amazonaws.chime#DescribeChannelMembershipForAppInstanceUser": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DescribeChannelMembershipForAppInstanceUserRequest" - }, - "output": { - "target": "com.amazonaws.chime#DescribeChannelMembershipForAppInstanceUserResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DescribeChannelMembershipForAppInstanceUser in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

Returns the details of a channel based on the membership of the specified\n AppInstanceUser.

\n \n

The x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DescribeChannelMembershipForAppInstanceUser, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, - "smithy.api#http": { - "method": "GET", - "uri": "/channels/{ChannelArn}?scope=app-instance-user-membership", - "code": 200 - } - } - }, - "com.amazonaws.chime#DescribeChannelMembershipForAppInstanceUserRequest": { - "type": "structure", - "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel to which the user belongs.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "AppInstanceUserArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the user in a channel.

", - "smithy.api#httpQuery": "app-instance-user-arn", - "smithy.api#required": {} - } - }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#DescribeChannelMembershipForAppInstanceUserResponse": { - "type": "structure", - "members": { - "ChannelMembership": { - "target": "com.amazonaws.chime#ChannelMembershipForAppInstanceUserSummary", - "traits": { - "smithy.api#documentation": "

The channel to which a user belongs.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#DescribeChannelMembershipRequest": { - "type": "structure", - "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MemberArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the member.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#DescribeChannelMembershipResponse": { - "type": "structure", - "members": { - "ChannelMembership": { - "target": "com.amazonaws.chime#ChannelMembership", - "traits": { - "smithy.api#documentation": "

The details of the membership.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#DescribeChannelModeratedByAppInstanceUser": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DescribeChannelModeratedByAppInstanceUserRequest" - }, - "output": { - "target": "com.amazonaws.chime#DescribeChannelModeratedByAppInstanceUserResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DescribeChannelModeratedByAppInstanceUser in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

Returns the full details of a channel moderated by the specified\n AppInstanceUser.

\n \n

The x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DescribeChannelModeratedByAppInstanceUser, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, - "smithy.api#http": { - "method": "GET", - "uri": "/channels/{ChannelArn}?scope=app-instance-user-moderated-channel", - "code": 200 - } - } - }, - "com.amazonaws.chime#DescribeChannelModeratedByAppInstanceUserRequest": { - "type": "structure", - "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the moderated channel.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "AppInstanceUserArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the AppInstanceUser in the moderated channel.

", - "smithy.api#httpQuery": "app-instance-user-arn", - "smithy.api#required": {} - } - }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#DescribeChannelModeratedByAppInstanceUserResponse": { - "type": "structure", - "members": { - "Channel": { - "target": "com.amazonaws.chime#ChannelModeratedByAppInstanceUserSummary", - "traits": { - "smithy.api#documentation": "

The moderated channel.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#DescribeChannelModerator": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DescribeChannelModeratorRequest" - }, - "output": { - "target": "com.amazonaws.chime#DescribeChannelModeratorResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DescribeChannelModerator in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

Returns the full details of a single ChannelModerator.

\n \n

The x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DescribeChannelModerator, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, - "smithy.api#http": { - "method": "GET", - "uri": "/channels/{ChannelArn}/moderators/{ChannelModeratorArn}", - "code": 200 - } - } - }, - "com.amazonaws.chime#DescribeChannelModeratorRequest": { - "type": "structure", - "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "ChannelModeratorArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel moderator.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#DescribeChannelModeratorResponse": { - "type": "structure", - "members": { - "ChannelModerator": { - "target": "com.amazonaws.chime#ChannelModerator", - "traits": { - "smithy.api#documentation": "

The details of the channel moderator.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#DescribeChannelRequest": { - "type": "structure", - "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#DescribeChannelResponse": { - "type": "structure", - "members": { - "Channel": { - "target": "com.amazonaws.chime#Channel", - "traits": { - "smithy.api#documentation": "

The channel details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#DisassociatePhoneNumberFromUser": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DisassociatePhoneNumberFromUserRequest" - }, - "output": { - "target": "com.amazonaws.chime#DisassociatePhoneNumberFromUserResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Disassociates the primary provisioned phone number from the specified Amazon Chime user.

", - "smithy.api#http": { - "method": "POST", - "uri": "/accounts/{AccountId}/users/{UserId}?operation=disassociate-phone-number", - "code": 200 - } - } - }, - "com.amazonaws.chime#DisassociatePhoneNumberFromUserRequest": { - "type": "structure", - "members": { - "AccountId": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "UserId": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The user ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#DisassociatePhoneNumberFromUserResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#DisassociatePhoneNumbersFromVoiceConnector": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DisassociatePhoneNumbersFromVoiceConnectorRequest" - }, - "output": { - "target": "com.amazonaws.chime#DisassociatePhoneNumbersFromVoiceConnectorResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DisassociatePhoneNumbersFromVoiceConnector in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Disassociates the specified phone numbers from the specified Amazon Chime Voice Connector.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DisassociatePhoneNumbersFromVoiceConnector, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "POST", - "uri": "/voice-connectors/{VoiceConnectorId}?operation=disassociate-phone-numbers", - "code": 200 - } - } - }, - "com.amazonaws.chime#DisassociatePhoneNumbersFromVoiceConnectorGroup": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DisassociatePhoneNumbersFromVoiceConnectorGroupRequest" - }, - "output": { - "target": "com.amazonaws.chime#DisassociatePhoneNumbersFromVoiceConnectorGroupResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by DisassociatePhoneNumbersFromVoiceConnectorGroup in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Disassociates the specified phone numbers from the specified Amazon Chime Voice Connector group.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, DisassociatePhoneNumbersFromVoiceConnectorGroup, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "POST", - "uri": "/voice-connector-groups/{VoiceConnectorGroupId}?operation=disassociate-phone-numbers", - "code": 200 - } - } - }, - "com.amazonaws.chime#DisassociatePhoneNumbersFromVoiceConnectorGroupRequest": { - "type": "structure", - "members": { - "VoiceConnectorGroupId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector group ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "E164PhoneNumbers": { - "target": "com.amazonaws.chime#E164PhoneNumberList", - "traits": { - "smithy.api#documentation": "

List of phone numbers, in E.164 format.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#DisassociatePhoneNumbersFromVoiceConnectorGroupResponse": { - "type": "structure", - "members": { - "PhoneNumberErrors": { - "target": "com.amazonaws.chime#PhoneNumberErrorList", - "traits": { - "smithy.api#documentation": "

If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#DisassociatePhoneNumbersFromVoiceConnectorRequest": { - "type": "structure", - "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "E164PhoneNumbers": { - "target": "com.amazonaws.chime#E164PhoneNumberList", - "traits": { - "smithy.api#documentation": "

List of phone numbers, in E.164 format.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#DisassociatePhoneNumbersFromVoiceConnectorResponse": { - "type": "structure", - "members": { - "PhoneNumberErrors": { - "target": "com.amazonaws.chime#PhoneNumberErrorList", - "traits": { - "smithy.api#documentation": "

If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#DisassociateSigninDelegateGroupsFromAccount": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#DisassociateSigninDelegateGroupsFromAccountRequest" - }, - "output": { - "target": "com.amazonaws.chime#DisassociateSigninDelegateGroupsFromAccountResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Disassociates the specified sign-in delegate groups from the specified Amazon Chime account.

", - "smithy.api#http": { - "method": "POST", - "uri": "/accounts/{AccountId}?operation=disassociate-signin-delegate-groups", - "code": 200 - } - } - }, - "com.amazonaws.chime#DisassociateSigninDelegateGroupsFromAccountRequest": { - "type": "structure", - "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "GroupNames": { - "target": "com.amazonaws.chime#NonEmptyStringList", - "traits": { - "smithy.api#documentation": "

The sign-in delegate group names.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#DisassociateSigninDelegateGroupsFromAccountResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#E164PhoneNumber": { - "type": "string", - "traits": { - "smithy.api#pattern": "^\\+?[1-9]\\d{1,14}$", - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.chime#E164PhoneNumberList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#E164PhoneNumber" - } - }, - "com.amazonaws.chime#EmailAddress": { - "type": "string", - "traits": { - "smithy.api#pattern": "^.+@.+\\..+$", - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.chime#EmailStatus": { - "type": "enum", - "members": { - "NotSent": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "NotSent" - } - }, - "Sent": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Sent" - } - }, - "Failed": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Failed" - } - } - } - }, - "com.amazonaws.chime#EmergencyCallingConfiguration": { - "type": "structure", - "members": { - "DNIS": { - "target": "com.amazonaws.chime#DNISEmergencyCallingConfigurationList", - "traits": { - "smithy.api#documentation": "

The Dialed Number Identification Service (DNIS) emergency calling configuration details.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The emergency calling configuration details associated with an Amazon Chime Voice Connector.

" - } - }, - "com.amazonaws.chime#EngineTranscribeMedicalSettings": { - "type": "structure", - "members": { - "LanguageCode": { - "target": "com.amazonaws.chime#TranscribeMedicalLanguageCode", - "traits": { - "smithy.api#documentation": "

The language code specified for the Amazon Transcribe Medical engine.

", - "smithy.api#required": {} - } - }, - "Specialty": { - "target": "com.amazonaws.chime#TranscribeMedicalSpecialty", - "traits": { - "smithy.api#documentation": "

The specialty specified for the Amazon Transcribe Medical engine.

", - "smithy.api#required": {} - } - }, - "Type": { - "target": "com.amazonaws.chime#TranscribeMedicalType", - "traits": { - "smithy.api#documentation": "

The type of transcription.

", - "smithy.api#required": {} - } - }, - "VocabularyName": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The name of the vocabulary passed to Amazon Transcribe Medical.

" - } - }, - "Region": { - "target": "com.amazonaws.chime#TranscribeMedicalRegion", - "traits": { - "smithy.api#documentation": "

The AWS Region passed to Amazon Transcribe Medical. If you don't specify a Region, Amazon Chime uses the meeting's Region.

" - } - }, - "ContentIdentificationType": { - "target": "com.amazonaws.chime#TranscribeMedicalContentIdentificationType", - "traits": { - "smithy.api#documentation": "

Labels all personally identifiable information (PII) identified in your transcript. If you don't include PiiEntityTypes, all PII is identified.

\n

You can’t set ContentIdentificationType and ContentRedactionType.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Settings specific to the Amazon Transcribe Medical engine.

" - } - }, - "com.amazonaws.chime#EngineTranscribeSettings": { - "type": "structure", - "members": { - "LanguageCode": { - "target": "com.amazonaws.chime#TranscribeLanguageCode", - "traits": { - "smithy.api#documentation": "

Specify the language code that represents the language spoken.

\n

If you're unsure of the language spoken in your audio, consider using IdentifyLanguage to enable automatic language identification.

" - } - }, - "VocabularyFilterMethod": { - "target": "com.amazonaws.chime#TranscribeVocabularyFilterMethod", - "traits": { - "smithy.api#documentation": "

Specify how you want your vocabulary filter applied to your transcript.

\n

To replace words with ***, choose mask.

\n

To delete words, choose remove.

\n

To flag words without changing them, choose tag.

" - } - }, - "VocabularyFilterName": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

Specify the name of the custom vocabulary filter that you want to use when processing your transcription. Note that vocabulary filter names are case sensitive.

\n

If you use Amazon Transcribe in multiple Regions, the vocabulary filter must be available in Amazon Transcribe in each Region.

\n

If you include IdentifyLanguage and want to use one or more vocabulary filters with your transcription, use the VocabularyFilterNames parameter instead.

" - } - }, - "VocabularyName": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

Specify the name of the custom vocabulary that you want to use when processing your transcription. Note that vocabulary names are case sensitive.

\n

If you use Amazon Transcribe multiple Regions, the vocabulary must be available in Amazon Transcribe in each Region.

\n

If you include IdentifyLanguage and want to use one or more custom vocabularies with your transcription, use the VocabularyNames parameter instead.

" - } - }, - "Region": { - "target": "com.amazonaws.chime#TranscribeRegion", - "traits": { - "smithy.api#documentation": "

The AWS Region in which to use Amazon Transcribe.

\n

If you don't specify a Region, then the MediaRegion parameter of the \n CreateMeeting.html API will be used. However, if Amazon Transcribe is not \n available in the MediaRegion, then a TranscriptFailed event is sent.

\n

Use auto to use Amazon Transcribe in a Region near the meeting’s MediaRegion. For more information, refer to \n Choosing a transcription Region in the \n Amazon Chime SDK Developer Guide.

" - } - }, - "EnablePartialResultsStabilization": { - "target": "com.amazonaws.chime#Boolean", - "traits": { - "smithy.api#documentation": "

Enables partial result stabilization for your transcription. Partial result stabilization can reduce latency in your output, but may impact accuracy.

" - } - }, - "PartialResultsStability": { - "target": "com.amazonaws.chime#TranscribePartialResultsStability", - "traits": { - "smithy.api#documentation": "

Specify the level of stability to use when you enable partial results stabilization (EnablePartialResultsStabilization).

\n

Low stability provides the highest accuracy. High stability transcribes faster, but with slightly lower accuracy.

" - } - }, - "ContentIdentificationType": { - "target": "com.amazonaws.chime#TranscribeContentIdentificationType", - "traits": { - "smithy.api#documentation": "

Labels all personally identifiable information (PII) identified in your transcript. If you don't include PiiEntityTypes, all PII is identified.

\n

You can’t set ContentIdentificationType and ContentRedactionType.

" - } - }, - "ContentRedactionType": { - "target": "com.amazonaws.chime#TranscribeContentRedactionType", - "traits": { - "smithy.api#documentation": "

Content redaction is performed at the segment level. If you don't include PiiEntityTypes, all PII is redacted.

\n

You can’t set ContentIdentificationType and ContentRedactionType.

" - } - }, - "PiiEntityTypes": { - "target": "com.amazonaws.chime#TranscribePiiEntityTypes", - "traits": { - "smithy.api#documentation": "

Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL.

\n

Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY\n CREDIT_DEBIT_NUMBER, EMAIL,NAME, PHONE, PIN, \n SSN, or ALL.

\n

Note that if you include PiiEntityTypes, you must also include ContentIdentificationType or ContentRedactionType.

\n

If you include ContentRedactionType or ContentIdentificationType, but do not include PiiEntityTypes, all PII is redacted or identified.

" - } - }, - "LanguageModelName": { - "target": "com.amazonaws.chime#TranscribeLanguageModelName", - "traits": { - "smithy.api#documentation": "

Specify the name of the custom language model that you want to use when processing your transcription. Note that language model names are case sensitive.

\n

The language of the specified language model must match the language code. If the languages don't match, the custom language model isn't applied. There are no errors or warnings associated \n with a language mismatch.

\n

If you use Amazon Transcribe in multiple Regions, the custom language model must be available in Amazon Transcribe in each Region.

" - } - }, - "IdentifyLanguage": { - "target": "com.amazonaws.chime#Boolean", - "traits": { - "smithy.api#documentation": "

Enables automatic language identification for your transcription.

\n

If you include IdentifyLanguage, you can optionally use LanguageOptions to include a list of language codes that you think may be present in your audio stream. \n Including language options can improve transcription accuracy.

\n

You can also use PreferredLanguage to include a preferred language. Doing so can help Amazon Transcribe identify the language faster.

\n

You must include either LanguageCode or IdentifyLanguage.

\n

Language identification can't be combined with custom language models or redaction.

" - } - }, - "LanguageOptions": { - "target": "com.amazonaws.chime#TranscribeLanguageOptions", - "traits": { - "smithy.api#documentation": "

Specify two or more language codes that represent the languages you think may be present in your media; including more than five is not recommended. If you're unsure what languages \n are present, do not include this parameter.

\n

Including language options can improve the accuracy of language identification.

\n

If you include LanguageOptions, you must also include IdentifyLanguage.

\n \n

You can only include one language dialect per language. For example, you cannot include en-US and en-AU.

\n
" - } - }, - "PreferredLanguage": { - "target": "com.amazonaws.chime#TranscribeLanguageCode", - "traits": { - "smithy.api#documentation": "

Specify a preferred language from the subset of languages codes you specified in LanguageOptions.

\n

You can only use this parameter if you include IdentifyLanguage and LanguageOptions.

" - } - }, - "VocabularyNames": { - "target": "com.amazonaws.chime#TranscribeVocabularyNamesOrFilterNamesString", - "traits": { - "smithy.api#documentation": "

Specify the names of the custom vocabularies that you want to use when processing your transcription. Note that vocabulary names are case sensitive.

\n

If you use Amazon Transcribe in multiple Regions, the vocabulary must be available in Amazon Transcribe in each Region.

\n

If you don't include IdentifyLanguage and want to use a custom vocabulary with your transcription, use the VocabularyName parameter instead.

" - } - }, - "VocabularyFilterNames": { - "target": "com.amazonaws.chime#TranscribeVocabularyNamesOrFilterNamesString", - "traits": { - "smithy.api#documentation": "

Specify the names of the custom vocabulary filters that you want to use when processing your transcription. Note that vocabulary filter names are case sensitive.

\n

If you use Amazon Transcribe in multiple Regions, the vocabulary filter must be available in Amazon Transcribe in each Region.

\n

If you're not including IdentifyLanguage and want to use a custom vocabulary filter with your transcription, use the VocabularyFilterName \n parameter instead.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Settings specific for Amazon Transcribe as the live transcription engine.

\n

If you specify an invalid combination of parameters, a TranscriptFailed event will be sent with the contents of the BadRequestException generated by Amazon \n Transcribe. For more information on each parameter and which combinations are valid, refer to the \n StartStreamTranscription API in the \n Amazon Transcribe Developer Guide.

" - } - }, - "com.amazonaws.chime#ErrorCode": { - "type": "enum", - "members": { - "BadRequest": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "BadRequest" - } - }, - "Conflict": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Conflict" - } - }, - "Forbidden": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Forbidden" - } - }, - "NotFound": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "NotFound" - } - }, - "PreconditionFailed": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PreconditionFailed" - } - }, - "ResourceLimitExceeded": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ResourceLimitExceeded" - } - }, - "ServiceFailure": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ServiceFailure" - } - }, - "AccessDenied": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AccessDenied" - } - }, - "ServiceUnavailable": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ServiceUnavailable" - } - }, - "Throttled": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Throttled" - } - }, - "Throttling": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Throttling" - } - }, - "Unauthorized": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Unauthorized" - } - }, - "Unprocessable": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Unprocessable" - } - }, - "VoiceConnectorGroupAssociationsExist": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "VoiceConnectorGroupAssociationsExist" - } - }, - "PhoneNumberAssociationsExist": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PhoneNumberAssociationsExist" - } - } - } - }, - "com.amazonaws.chime#EventsConfiguration": { - "type": "structure", - "members": { - "BotId": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The bot ID.

" - } - }, - "OutboundEventsHTTPSEndpoint": { - "target": "com.amazonaws.chime#SensitiveString", - "traits": { - "smithy.api#documentation": "

HTTPS endpoint that allows a bot to receive outgoing events.

" - } - }, - "LambdaFunctionArn": { - "target": "com.amazonaws.chime#SensitiveString", - "traits": { - "smithy.api#documentation": "

Lambda function ARN that allows a bot to receive outgoing events.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The configuration that allows a bot to receive outgoing events. Can be either an HTTPS endpoint or a Lambda function ARN.

" - } - }, - "com.amazonaws.chime#ExternalMeetingIdType": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 2, - "max": 64 - }, - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.chime#ExternalUserIdList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#ExternalUserIdType" - }, - "traits": { - "smithy.api#length": { - "min": 1 - } - } - }, - "com.amazonaws.chime#ExternalUserIdType": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 2, - "max": 64 - }, - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.chime#ForbiddenException": { - "type": "structure", - "members": { - "Code": { - "target": "com.amazonaws.chime#ErrorCode" - }, - "Message": { - "target": "com.amazonaws.chime#String" - } - }, - "traits": { - "smithy.api#documentation": "

The client is permanently forbidden from making the request.

", - "smithy.api#error": "client", - "smithy.api#httpError": 403 - } - }, - "com.amazonaws.chime#FunctionArn": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 10000 - }, - "smithy.api#pattern": "^arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_]+(:(\\$LATEST|[a-zA-Z0-9-_]+))?$", - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.chime#GeoMatchLevel": { - "type": "enum", - "members": { - "Country": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Country" - } - }, - "AreaCode": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AreaCode" - } - } - } - }, - "com.amazonaws.chime#GeoMatchParams": { - "type": "structure", - "members": { - "Country": { - "target": "com.amazonaws.chime#Country", - "traits": { - "smithy.api#documentation": "

The country.

", - "smithy.api#required": {} - } - }, - "AreaCode": { - "target": "com.amazonaws.chime#AreaCode", - "traits": { - "smithy.api#documentation": "

The area code.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

The country and area code for a proxy phone number in a proxy phone session.

" - } - }, - "com.amazonaws.chime#GetAccount": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetAccountRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetAccountResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Retrieves details for the specified Amazon Chime account, such as account type and supported\n licenses.

", - "smithy.api#http": { - "method": "GET", - "uri": "/accounts/{AccountId}", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetAccountRequest": { - "type": "structure", - "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetAccountResponse": { - "type": "structure", - "members": { - "Account": { - "target": "com.amazonaws.chime#Account", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetAccountSettings": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetAccountSettingsRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetAccountSettingsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Retrieves account settings for the specified Amazon Chime account ID, such as remote control\n and dialout settings. For more information about these settings, see \n Use the Policies Page in the Amazon Chime Administration Guide.\n

", - "smithy.api#http": { - "method": "GET", - "uri": "/accounts/{AccountId}/settings", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetAccountSettingsRequest": { - "type": "structure", - "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetAccountSettingsResponse": { - "type": "structure", - "members": { - "AccountSettings": { - "target": "com.amazonaws.chime#AccountSettings", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account settings.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetAppInstanceRetentionSettings": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetAppInstanceRetentionSettingsRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetAppInstanceRetentionSettingsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by GetAppInstanceRetentionSettings in the Amazon Chime SDK Identity Namespace" - }, - "smithy.api#documentation": "

Gets the retention settings for an AppInstance.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, GetMessagingRetentionSettings, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "identity-" - }, - "smithy.api#http": { - "method": "GET", - "uri": "/app-instances/{AppInstanceArn}/retention-settings", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetAppInstanceRetentionSettingsRequest": { - "type": "structure", - "members": { - "AppInstanceArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the AppInstance.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetAppInstanceRetentionSettingsResponse": { - "type": "structure", - "members": { - "AppInstanceRetentionSettings": { - "target": "com.amazonaws.chime#AppInstanceRetentionSettings", - "traits": { - "smithy.api#documentation": "

The retention settings for the AppInstance.

" - } - }, - "InitiateDeletionTimestamp": { - "target": "com.amazonaws.chime#Timestamp", - "traits": { - "smithy.api#documentation": "

The timestamp representing the time at which the specified items are retained, in Epoch Seconds.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetAppInstanceStreamingConfigurations": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetAppInstanceStreamingConfigurationsRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetAppInstanceStreamingConfigurationsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by GetAppInstanceStreamingConfigurations in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

Gets the streaming settings for an AppInstance.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, GetMessagingStreamingConfigurations, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/app-instances/{AppInstanceArn}/streaming-configurations", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetAppInstanceStreamingConfigurationsRequest": { - "type": "structure", - "members": { - "AppInstanceArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the AppInstance.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetAppInstanceStreamingConfigurationsResponse": { - "type": "structure", - "members": { - "AppInstanceStreamingConfigurations": { - "target": "com.amazonaws.chime#AppInstanceStreamingConfigurationList", - "traits": { - "smithy.api#documentation": "

The streaming settings.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetAttendee": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetAttendeeRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetAttendeeResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by GetAttendee in the Amazon Chime SDK Meetings Namespace" - }, - "smithy.api#documentation": "

\nGets the Amazon Chime SDK attendee details for a specified meeting ID and attendee ID. For more information about the Amazon Chime SDK, see \nUsing the Amazon Chime SDK\nin the Amazon Chime SDK Developer Guide.\n

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, GetAttendee, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/meetings/{MeetingId}/attendees/{AttendeeId}", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetAttendeeRequest": { - "type": "structure", - "members": { - "MeetingId": { - "target": "com.amazonaws.chime#GuidString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK meeting ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "AttendeeId": { - "target": "com.amazonaws.chime#GuidString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK attendee ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetAttendeeResponse": { - "type": "structure", - "members": { - "Attendee": { - "target": "com.amazonaws.chime#Attendee", - "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK attendee information.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetBot": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetBotRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetBotResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Retrieves details for the specified bot, such as bot email address, bot type, status, and display name.

", - "smithy.api#http": { - "method": "GET", - "uri": "/accounts/{AccountId}/bots/{BotId}", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetBotRequest": { - "type": "structure", - "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "BotId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The bot ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetBotResponse": { - "type": "structure", - "members": { - "Bot": { - "target": "com.amazonaws.chime#Bot", - "traits": { - "smithy.api#documentation": "

The chat bot details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetChannelMessage": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetChannelMessageRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetChannelMessageResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by GetChannelMessage in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

Gets the full details of a channel message.

\n \n

The x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, GetChannelMessage, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, - "smithy.api#http": { - "method": "GET", - "uri": "/channels/{ChannelArn}/messages/{MessageId}", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetChannelMessageRequest": { - "type": "structure", - "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MessageId": { - "target": "com.amazonaws.chime#MessageId", - "traits": { - "smithy.api#documentation": "

The ID of the message.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetChannelMessageResponse": { - "type": "structure", - "members": { - "ChannelMessage": { - "target": "com.amazonaws.chime#ChannelMessage", - "traits": { - "smithy.api#documentation": "

The details of and content in the message.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetEventsConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetEventsConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetEventsConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ResourceLimitExceededException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Gets details for an events configuration that allows a bot to receive outgoing events, such as an HTTPS endpoint or Lambda function ARN.

", - "smithy.api#http": { - "method": "GET", - "uri": "/accounts/{AccountId}/bots/{BotId}/events-configuration", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetEventsConfigurationRequest": { - "type": "structure", - "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "BotId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The bot ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetEventsConfigurationResponse": { - "type": "structure", - "members": { - "EventsConfiguration": { - "target": "com.amazonaws.chime#EventsConfiguration", - "traits": { - "smithy.api#documentation": "

The events configuration details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetGlobalSettings": { - "type": "operation", - "input": { - "target": "smithy.api#Unit" - }, - "output": { - "target": "com.amazonaws.chime#GetGlobalSettingsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Retrieves global settings for the administrator's AWS account, such as Amazon Chime Business\n Calling and Amazon Chime Voice Connector settings.

", - "smithy.api#http": { - "method": "GET", - "uri": "/settings", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetGlobalSettingsResponse": { - "type": "structure", - "members": { - "BusinessCalling": { - "target": "com.amazonaws.chime#BusinessCallingSettings", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Business Calling settings.

" - } - }, - "VoiceConnector": { - "target": "com.amazonaws.chime#VoiceConnectorSettings", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector settings.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetMediaCapturePipeline": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetMediaCapturePipelineRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetMediaCapturePipelineResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by GetMediaCapturePipeline in the Amazon Chime SDK Media Pipelines Namespace" - }, - "smithy.api#documentation": "

Gets an existing media capture pipeline.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, \n GetMediaCapturePipeline, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/media-capture-pipelines/{MediaPipelineId}", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetMediaCapturePipelineRequest": { - "type": "structure", - "members": { - "MediaPipelineId": { - "target": "com.amazonaws.chime#GuidString", - "traits": { - "smithy.api#documentation": "

The ID of the pipeline that you want to get.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetMediaCapturePipelineResponse": { - "type": "structure", - "members": { - "MediaCapturePipeline": { - "target": "com.amazonaws.chime#MediaCapturePipeline", - "traits": { - "smithy.api#documentation": "

The media capture pipeline object.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetMeeting": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetMeetingRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetMeetingResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by GetMeeting in the Amazon Chime SDK Meetings Namespace" - }, - "smithy.api#documentation": "\n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, GetMeeting, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
\n

\nGets the Amazon Chime SDK meeting details for the specified meeting ID. For more information about the Amazon Chime SDK, see \nUsing the Amazon Chime SDK\nin the \nAmazon Chime SDK Developer Guide\n.\n

", - "smithy.api#http": { - "method": "GET", - "uri": "/meetings/{MeetingId}", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetMeetingRequest": { - "type": "structure", - "members": { - "MeetingId": { - "target": "com.amazonaws.chime#GuidString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK meeting ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetMeetingResponse": { - "type": "structure", - "members": { - "Meeting": { - "target": "com.amazonaws.chime#Meeting", - "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK meeting information.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetMessagingSessionEndpoint": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetMessagingSessionEndpointRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetMessagingSessionEndpointResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by GetMessagingSessionEndpoint in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

The details of the endpoint for the messaging session.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, GetMessagingSessionEndpoint, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, - "smithy.api#http": { - "method": "GET", - "uri": "/endpoints/messaging-session", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetMessagingSessionEndpointRequest": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetMessagingSessionEndpointResponse": { - "type": "structure", - "members": { - "Endpoint": { - "target": "com.amazonaws.chime#MessagingSessionEndpoint", - "traits": { - "smithy.api#documentation": "

The endpoint returned in the response.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetPhoneNumber": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetPhoneNumberRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetPhoneNumberResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Retrieves details for the specified phone number ID, such as associations, capabilities, and product type.

", - "smithy.api#http": { - "method": "GET", - "uri": "/phone-numbers/{PhoneNumberId}", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetPhoneNumberOrder": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetPhoneNumberOrderRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetPhoneNumberOrderResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Retrieves details for the specified phone number order, such as the order creation timestamp, phone\n numbers in E.164 format, product type, and order status.

", - "smithy.api#http": { - "method": "GET", - "uri": "/phone-number-orders/{PhoneNumberOrderId}", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetPhoneNumberOrderRequest": { - "type": "structure", - "members": { - "PhoneNumberOrderId": { - "target": "com.amazonaws.chime#GuidString", - "traits": { - "smithy.api#documentation": "

The ID for the phone number order.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetPhoneNumberOrderResponse": { - "type": "structure", - "members": { - "PhoneNumberOrder": { - "target": "com.amazonaws.chime#PhoneNumberOrder", - "traits": { - "smithy.api#documentation": "

The phone number order details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetPhoneNumberRequest": { - "type": "structure", - "members": { - "PhoneNumberId": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The phone number ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetPhoneNumberResponse": { - "type": "structure", - "members": { - "PhoneNumber": { - "target": "com.amazonaws.chime#PhoneNumber", - "traits": { - "smithy.api#documentation": "

The phone number details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetPhoneNumberSettings": { - "type": "operation", - "input": { - "target": "smithy.api#Unit" - }, - "output": { - "target": "com.amazonaws.chime#GetPhoneNumberSettingsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Retrieves the phone number settings for the administrator's AWS account, such as the default outbound calling name.

", - "smithy.api#http": { - "method": "GET", - "uri": "/settings/phone-number", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetPhoneNumberSettingsResponse": { - "type": "structure", - "members": { - "CallingName": { - "target": "com.amazonaws.chime#CallingName", - "traits": { - "smithy.api#documentation": "

The default outbound calling name for the account.

" - } - }, - "CallingNameUpdatedTimestamp": { - "target": "com.amazonaws.chime#Iso8601Timestamp", - "traits": { - "smithy.api#documentation": "

The updated outbound calling name timestamp, in ISO 8601 format.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetProxySession": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetProxySessionRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetProxySessionResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by GetProxySession in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Gets the specified proxy session details for the specified Amazon Chime Voice Connector.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, GetProxySession, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/voice-connectors/{VoiceConnectorId}/proxy-sessions/{ProxySessionId}", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetProxySessionRequest": { - "type": "structure", - "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString128", - "traits": { - "smithy.api#documentation": "

The Amazon Chime voice connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "ProxySessionId": { - "target": "com.amazonaws.chime#NonEmptyString128", - "traits": { - "smithy.api#documentation": "

The proxy session ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetProxySessionResponse": { - "type": "structure", - "members": { - "ProxySession": { - "target": "com.amazonaws.chime#ProxySession", - "traits": { - "smithy.api#documentation": "

The proxy session details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetRetentionSettings": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetRetentionSettingsRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetRetentionSettingsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

\nGets the retention settings for the specified Amazon Chime Enterprise account. For more information about retention settings, see \nManaging Chat Retention Policies in the Amazon Chime Administration Guide.\n

", - "smithy.api#http": { - "method": "GET", - "uri": "/accounts/{AccountId}/retention-settings", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetRetentionSettingsRequest": { - "type": "structure", - "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetRetentionSettingsResponse": { - "type": "structure", - "members": { - "RetentionSettings": { - "target": "com.amazonaws.chime#RetentionSettings", - "traits": { - "smithy.api#documentation": "

The retention settings.

" - } - }, - "InitiateDeletionTimestamp": { - "target": "com.amazonaws.chime#Iso8601Timestamp", - "traits": { - "smithy.api#documentation": "

The timestamp representing the time at which the specified items are permanently deleted, in ISO 8601 format.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetRoom": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetRoomRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetRoomResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Retrieves room details, such as the room name, for a room in an Amazon Chime Enterprise account.

", - "smithy.api#http": { - "method": "GET", - "uri": "/accounts/{AccountId}/rooms/{RoomId}", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetRoomRequest": { - "type": "structure", - "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "RoomId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The room ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetRoomResponse": { - "type": "structure", - "members": { - "Room": { - "target": "com.amazonaws.chime#Room", - "traits": { - "smithy.api#documentation": "

The room details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetSipMediaApplication": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetSipMediaApplicationRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetSipMediaApplicationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by GetSipMediaApplication in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Retrieves the information for a SIP media application, including name, AWS Region, and endpoints.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, GetSipMediaApplication, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/sip-media-applications/{SipMediaApplicationId}", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetSipMediaApplicationLoggingConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetSipMediaApplicationLoggingConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetSipMediaApplicationLoggingConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by GetSipMediaApplicationLoggingConfiguration in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Returns the logging configuration for the specified SIP media application.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, GetSipMediaApplicationLoggingConfiguration, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/sip-media-applications/{SipMediaApplicationId}/logging-configuration", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetSipMediaApplicationLoggingConfigurationRequest": { - "type": "structure", - "members": { - "SipMediaApplicationId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The SIP media application ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetSipMediaApplicationLoggingConfigurationResponse": { - "type": "structure", - "members": { - "SipMediaApplicationLoggingConfiguration": { - "target": "com.amazonaws.chime#SipMediaApplicationLoggingConfiguration", - "traits": { - "smithy.api#documentation": "

The actual logging configuration.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetSipMediaApplicationRequest": { - "type": "structure", - "members": { - "SipMediaApplicationId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The SIP media application ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetSipMediaApplicationResponse": { - "type": "structure", - "members": { - "SipMediaApplication": { - "target": "com.amazonaws.chime#SipMediaApplication", - "traits": { - "smithy.api#documentation": "

The SIP media application details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetSipRule": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetSipRuleRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetSipRuleResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by GetSipRule in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Retrieves the details of a SIP rule, such as the rule ID, name, triggers, and target endpoints.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, GetSipRule, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/sip-rules/{SipRuleId}", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetSipRuleRequest": { - "type": "structure", - "members": { - "SipRuleId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The SIP rule ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetSipRuleResponse": { - "type": "structure", - "members": { - "SipRule": { - "target": "com.amazonaws.chime#SipRule", - "traits": { - "smithy.api#documentation": "

The SIP rule details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetUser": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetUserRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetUserResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Retrieves details for the specified user ID, such as primary email address, license type,and personal meeting PIN.

\n

\nTo retrieve user details with an email address instead of a user ID, use the \nListUsers action, and then filter by email address.\n

", - "smithy.api#http": { - "method": "GET", - "uri": "/accounts/{AccountId}/users/{UserId}", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetUserRequest": { - "type": "structure", - "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "UserId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The user ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetUserResponse": { - "type": "structure", - "members": { - "User": { - "target": "com.amazonaws.chime#User", - "traits": { - "smithy.api#documentation": "

The user details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetUserSettings": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetUserSettingsRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetUserSettingsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Retrieves settings for the specified user ID, such as any associated phone number settings.

", - "smithy.api#http": { - "method": "GET", - "uri": "/accounts/{AccountId}/users/{UserId}/settings", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetUserSettingsRequest": { - "type": "structure", - "members": { - "AccountId": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "UserId": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The user ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetUserSettingsResponse": { - "type": "structure", - "members": { - "UserSettings": { - "target": "com.amazonaws.chime#UserSettings", - "traits": { - "smithy.api#documentation": "

The user settings.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetVoiceConnector": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetVoiceConnectorRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetVoiceConnectorResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by GetVoiceConnector in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Retrieves details for the specified Amazon Chime Voice Connector, such as timestamps,name, outbound host, and encryption requirements.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, GetVoiceConnector, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/voice-connectors/{VoiceConnectorId}", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetVoiceConnectorEmergencyCallingConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetVoiceConnectorEmergencyCallingConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetVoiceConnectorEmergencyCallingConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by GetVoiceConnectorEmergencyCallingConfiguration in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Gets the emergency calling configuration details for the specified Amazon Chime Voice Connector.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, GetVoiceConnectorEmergencyCallingConfiguration, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/voice-connectors/{VoiceConnectorId}/emergency-calling-configuration", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetVoiceConnectorEmergencyCallingConfigurationRequest": { - "type": "structure", - "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetVoiceConnectorEmergencyCallingConfigurationResponse": { - "type": "structure", - "members": { - "EmergencyCallingConfiguration": { - "target": "com.amazonaws.chime#EmergencyCallingConfiguration", - "traits": { - "smithy.api#documentation": "

The emergency calling configuration details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetVoiceConnectorGroup": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetVoiceConnectorGroupRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetVoiceConnectorGroupResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by GetVoiceConnectorGroup in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

\nRetrieves details for the specified Amazon Chime Voice Connector group, such as timestamps,name, and associated VoiceConnectorItems.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, GetVoiceConnectorGroup, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/voice-connector-groups/{VoiceConnectorGroupId}", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetVoiceConnectorGroupRequest": { - "type": "structure", - "members": { - "VoiceConnectorGroupId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector group ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetVoiceConnectorGroupResponse": { - "type": "structure", - "members": { - "VoiceConnectorGroup": { - "target": "com.amazonaws.chime#VoiceConnectorGroup", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector group details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetVoiceConnectorLoggingConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetVoiceConnectorLoggingConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetVoiceConnectorLoggingConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by GetVoiceConnectorLoggingConfiguration in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Retrieves the logging configuration details for the specified Amazon Chime Voice Connector. Shows whether SIP message logs are enabled for sending to \n Amazon CloudWatch Logs.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, GetVoiceConnectorLoggingConfiguration, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/voice-connectors/{VoiceConnectorId}/logging-configuration", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetVoiceConnectorLoggingConfigurationRequest": { - "type": "structure", - "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetVoiceConnectorLoggingConfigurationResponse": { - "type": "structure", - "members": { - "LoggingConfiguration": { - "target": "com.amazonaws.chime#LoggingConfiguration", - "traits": { - "smithy.api#documentation": "

The logging configuration details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetVoiceConnectorOrigination": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetVoiceConnectorOriginationRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetVoiceConnectorOriginationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by GetVoiceConnectorOrigination in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Retrieves origination setting details for the specified Amazon Chime Voice Connector.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, GetVoiceConnectorOrigination, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/voice-connectors/{VoiceConnectorId}/origination", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetVoiceConnectorOriginationRequest": { - "type": "structure", - "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetVoiceConnectorOriginationResponse": { - "type": "structure", - "members": { - "Origination": { - "target": "com.amazonaws.chime#Origination", - "traits": { - "smithy.api#documentation": "

The origination setting details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetVoiceConnectorProxy": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetVoiceConnectorProxyRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetVoiceConnectorProxyResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by GetVoiceConnectorProxy in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Gets the proxy configuration details for the specified Amazon Chime Voice Connector.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, GetVoiceConnectorProxy, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/voice-connectors/{VoiceConnectorId}/programmable-numbers/proxy", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetVoiceConnectorProxyRequest": { - "type": "structure", - "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString128", - "traits": { - "smithy.api#documentation": "

The Amazon Chime voice connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetVoiceConnectorProxyResponse": { - "type": "structure", - "members": { - "Proxy": { - "target": "com.amazonaws.chime#Proxy", - "traits": { - "smithy.api#documentation": "

The proxy configuration details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetVoiceConnectorRequest": { - "type": "structure", - "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetVoiceConnectorResponse": { - "type": "structure", - "members": { - "VoiceConnector": { - "target": "com.amazonaws.chime#VoiceConnector", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetVoiceConnectorStreamingConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetVoiceConnectorStreamingConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetVoiceConnectorStreamingConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by GetVoiceConnectorStreamingConfiguration in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Retrieves the streaming configuration details for the specified Amazon Chime Voice Connector.\n Shows whether media streaming is enabled for sending to Amazon Kinesis. It also shows\n the retention period, in hours, for the Amazon Kinesis data.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, GetVoiceConnectorStreamingConfiguration, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/voice-connectors/{VoiceConnectorId}/streaming-configuration", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetVoiceConnectorStreamingConfigurationRequest": { - "type": "structure", - "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetVoiceConnectorStreamingConfigurationResponse": { - "type": "structure", - "members": { - "StreamingConfiguration": { - "target": "com.amazonaws.chime#StreamingConfiguration", - "traits": { - "smithy.api#documentation": "

The streaming configuration details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetVoiceConnectorTermination": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetVoiceConnectorTerminationRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetVoiceConnectorTerminationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by GetVoiceConnectorTermination in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Retrieves termination setting details for the specified Amazon Chime Voice Connector.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, GetVoiceConnectorTermination, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/voice-connectors/{VoiceConnectorId}/termination", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetVoiceConnectorTerminationHealth": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#GetVoiceConnectorTerminationHealthRequest" - }, - "output": { - "target": "com.amazonaws.chime#GetVoiceConnectorTerminationHealthResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by GetVoiceConnectorTerminationHealth in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "\n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, GetVoiceConnectorTerminationHealth, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
\n

Retrieves information about the last time a SIP OPTIONS ping was received from\n your SIP infrastructure for the specified Amazon Chime Voice Connector.

", - "smithy.api#http": { - "method": "GET", - "uri": "/voice-connectors/{VoiceConnectorId}/termination/health", - "code": 200 - } - } - }, - "com.amazonaws.chime#GetVoiceConnectorTerminationHealthRequest": { - "type": "structure", - "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetVoiceConnectorTerminationHealthResponse": { - "type": "structure", - "members": { - "TerminationHealth": { - "target": "com.amazonaws.chime#TerminationHealth", - "traits": { - "smithy.api#documentation": "

The termination health details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GetVoiceConnectorTerminationRequest": { - "type": "structure", - "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#GetVoiceConnectorTerminationResponse": { - "type": "structure", - "members": { - "Termination": { - "target": "com.amazonaws.chime#Termination", - "traits": { - "smithy.api#documentation": "

The termination setting details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#GuidString": { - "type": "string", - "traits": { - "smithy.api#pattern": "^[a-fA-F0-9]{8}(?:-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}$" - } - }, - "com.amazonaws.chime#Identity": { - "type": "structure", - "members": { - "Arn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN in an Identity.

" - } - }, - "Name": { - "target": "com.amazonaws.chime#ResourceName", - "traits": { - "smithy.api#documentation": "

The name in an Identity.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The details of a user.

" - } - }, - "com.amazonaws.chime#Integer": { - "type": "integer" - }, - "com.amazonaws.chime#Invite": { - "type": "structure", - "members": { - "InviteId": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The invite ID.

" - } - }, - "Status": { - "target": "com.amazonaws.chime#InviteStatus", - "traits": { - "smithy.api#documentation": "

The status of the invite.

" - } - }, - "EmailAddress": { - "target": "com.amazonaws.chime#EmailAddress", - "traits": { - "smithy.api#documentation": "

The email address to which the invite is sent.

" - } - }, - "EmailStatus": { - "target": "com.amazonaws.chime#EmailStatus", - "traits": { - "smithy.api#documentation": "

The status of the invite email.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Invitation object returned after emailing users to invite them to join the Amazon Chime\n Team account.

" - } - }, - "com.amazonaws.chime#InviteList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#Invite" - } - }, - "com.amazonaws.chime#InviteStatus": { - "type": "enum", - "members": { - "Pending": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Pending" - } - }, - "Accepted": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Accepted" - } - }, - "Failed": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Failed" - } - } - } - }, - "com.amazonaws.chime#InviteUsers": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#InviteUsersRequest" - }, - "output": { - "target": "com.amazonaws.chime#InviteUsersResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Sends email to a maximum of 50 users, inviting them to the specified Amazon Chime\n Team account. Only Team account types are currently\n supported for this action.

", - "smithy.api#http": { - "method": "POST", - "uri": "/accounts/{AccountId}/users?operation=add", - "code": 201 - } - } - }, - "com.amazonaws.chime#InviteUsersRequest": { - "type": "structure", - "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "UserEmailList": { - "target": "com.amazonaws.chime#UserEmailList", - "traits": { - "smithy.api#documentation": "

The user email addresses to which to send the email invitation.

", - "smithy.api#required": {} - } - }, - "UserType": { - "target": "com.amazonaws.chime#UserType", - "traits": { - "smithy.api#documentation": "

The user type.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#InviteUsersResponse": { - "type": "structure", - "members": { - "Invites": { - "target": "com.amazonaws.chime#InviteList", - "traits": { - "smithy.api#documentation": "

The email invitation details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#Iso8601Timestamp": { - "type": "timestamp", - "traits": { - "smithy.api#timestampFormat": "date-time" - } - }, - "com.amazonaws.chime#JoinTokenString": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 2, - "max": 2048 - }, - "smithy.api#pattern": "^[a-zA-Z0-9+/]+$", - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.chime#License": { - "type": "enum", - "members": { - "Basic": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Basic" - } - }, - "Plus": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Plus" - } - }, - "Pro": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Pro" - } - }, - "ProTrial": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ProTrial" - } - } - } - }, - "com.amazonaws.chime#LicenseList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#License" - } - }, - "com.amazonaws.chime#ListAccounts": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListAccountsRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListAccountsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists the Amazon Chime accounts under the administrator's AWS account. You can filter accounts\n by account name prefix. To find out which Amazon Chime account a user belongs to, you can\n filter by the user's email address, which returns one account result.

", - "smithy.api#http": { - "method": "GET", - "uri": "/accounts", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.chime#ListAccountsRequest": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.chime#AccountName", - "traits": { - "smithy.api#documentation": "

Amazon Chime account name prefix with which to filter results.

", - "smithy.api#httpQuery": "name" - } - }, - "UserEmail": { - "target": "com.amazonaws.chime#EmailAddress", - "traits": { - "smithy.api#documentation": "

User email address with which to filter results.

", - "smithy.api#httpQuery": "user-email" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

", - "smithy.api#httpQuery": "next-token" - } - }, - "MaxResults": { - "target": "com.amazonaws.chime#ProfileServiceMaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return in a single call. Defaults to 100.

", - "smithy.api#httpQuery": "max-results" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListAccountsResponse": { - "type": "structure", - "members": { - "Accounts": { - "target": "com.amazonaws.chime#AccountList", - "traits": { - "smithy.api#documentation": "

List of Amazon Chime accounts and account details.

" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListAppInstanceAdmins": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListAppInstanceAdminsRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListAppInstanceAdminsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by ListAppInstanceAdmins in the Amazon Chime SDK Identity Namespace" - }, - "smithy.api#documentation": "

Returns a list of the administrators in the AppInstance.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, ListAppInstanceAdmins, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "identity-" - }, - "smithy.api#http": { - "method": "GET", - "uri": "/app-instances/{AppInstanceArn}/admins", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.chime#ListAppInstanceAdminsRequest": { - "type": "structure", - "members": { - "AppInstanceArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the AppInstance.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MaxResults": { - "target": "com.amazonaws.chime#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of administrators that you want to return.

", - "smithy.api#httpQuery": "max-results" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#NextToken", - "traits": { - "smithy.api#documentation": "

The token returned from previous API requests until the number of administrators is reached.

", - "smithy.api#httpQuery": "next-token" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListAppInstanceAdminsResponse": { - "type": "structure", - "members": { - "AppInstanceArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the AppInstance.

" - } - }, - "AppInstanceAdmins": { - "target": "com.amazonaws.chime#AppInstanceAdminList", - "traits": { - "smithy.api#documentation": "

The information for each administrator.

" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#NextToken", - "traits": { - "smithy.api#documentation": "

The token returned from previous API requests until the number of administrators is reached.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListAppInstanceUsers": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListAppInstanceUsersRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListAppInstanceUsersResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by ListAppInstanceUsers in the Amazon Chime SDK Identity Namespace" - }, - "smithy.api#documentation": "

List all AppInstanceUsers\n created under a single AppInstance.\n

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, ListAppInstanceUsers, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "identity-" - }, - "smithy.api#http": { - "method": "GET", - "uri": "/app-instance-users", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.chime#ListAppInstanceUsersRequest": { - "type": "structure", - "members": { - "AppInstanceArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the AppInstance.

", - "smithy.api#httpQuery": "app-instance-arn", - "smithy.api#required": {} - } - }, - "MaxResults": { - "target": "com.amazonaws.chime#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of requests that you want returned.

", - "smithy.api#httpQuery": "max-results" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#NextToken", - "traits": { - "smithy.api#documentation": "

The token passed by previous API calls until all requested users are returned.

", - "smithy.api#httpQuery": "next-token" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListAppInstanceUsersResponse": { - "type": "structure", - "members": { - "AppInstanceArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the AppInstance.

" - } - }, - "AppInstanceUsers": { - "target": "com.amazonaws.chime#AppInstanceUserList", - "traits": { - "smithy.api#documentation": "

The information for each requested AppInstanceUser.

" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#NextToken", - "traits": { - "smithy.api#documentation": "

The token passed by previous API calls until all requested users are returned.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListAppInstances": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListAppInstancesRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListAppInstancesResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by ListAppInstances in the Amazon Chime SDK Identity Namespace" - }, - "smithy.api#documentation": "

Lists all Amazon Chime AppInstances created under a single AWS account.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, ListAppInstances, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "identity-" - }, - "smithy.api#http": { - "method": "GET", - "uri": "/app-instances", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.chime#ListAppInstancesRequest": { - "type": "structure", - "members": { - "MaxResults": { - "target": "com.amazonaws.chime#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of AppInstances that you want to return.

", - "smithy.api#httpQuery": "max-results" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#NextToken", - "traits": { - "smithy.api#documentation": "

The token passed by previous API requests until you reach the maximum number of AppInstances.

", - "smithy.api#httpQuery": "next-token" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListAppInstancesResponse": { - "type": "structure", - "members": { - "AppInstances": { - "target": "com.amazonaws.chime#AppInstanceList", - "traits": { - "smithy.api#documentation": "

The information for each AppInstance.

" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#NextToken", - "traits": { - "smithy.api#documentation": "

The token passed by previous API requests until the maximum number of AppInstances is reached.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListAttendeeTags": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListAttendeeTagsRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListAttendeeTagsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Attendee Tags are not supported in the Amazon Chime SDK Meetings Namespace. Update your application to remove calls to this API." - }, - "smithy.api#documentation": "

Lists the tags applied to an Amazon Chime SDK attendee resource.

\n \n

ListAttendeeTags is not supported in the Amazon Chime SDK Meetings Namespace. Update your application to remove calls to this API.

\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/meetings/{MeetingId}/attendees/{AttendeeId}/tags", - "code": 200 - } - } - }, - "com.amazonaws.chime#ListAttendeeTagsRequest": { - "type": "structure", - "members": { - "MeetingId": { - "target": "com.amazonaws.chime#GuidString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK meeting ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "AttendeeId": { - "target": "com.amazonaws.chime#GuidString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK attendee ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListAttendeeTagsResponse": { - "type": "structure", - "members": { - "Tags": { - "target": "com.amazonaws.chime#TagList", - "traits": { - "smithy.api#documentation": "

A list of tag key-value pairs.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListAttendees": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListAttendeesRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListAttendeesResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by ListAttendees in the Amazon Chime SDK Meetings Namespace" - }, - "smithy.api#documentation": "

\nLists the attendees for the specified Amazon Chime SDK meeting. For more information about the Amazon Chime SDK, see \nUsing the Amazon Chime SDK\nin the Amazon Chime SDK Developer Guide.\n

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, ListAttendees, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/meetings/{MeetingId}/attendees", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.chime#ListAttendeesRequest": { - "type": "structure", - "members": { - "MeetingId": { - "target": "com.amazonaws.chime#GuidString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK meeting ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "NextToken": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

", - "smithy.api#httpQuery": "next-token" - } - }, - "MaxResults": { - "target": "com.amazonaws.chime#ResultMax", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return in a single call.

", - "smithy.api#httpQuery": "max-results" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListAttendeesResponse": { - "type": "structure", - "members": { - "Attendees": { - "target": "com.amazonaws.chime#AttendeeList", - "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK attendee information.

" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListBots": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListBotsRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListBotsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists the bots associated with the administrator's Amazon Chime Enterprise account ID.

", - "smithy.api#http": { - "method": "GET", - "uri": "/accounts/{AccountId}/bots", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.chime#ListBotsRequest": { - "type": "structure", - "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MaxResults": { - "target": "com.amazonaws.chime#ResultMax", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return in a single call. The default is 10.

", - "smithy.api#httpQuery": "max-results" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

", - "smithy.api#httpQuery": "next-token" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListBotsResponse": { - "type": "structure", - "members": { - "Bots": { - "target": "com.amazonaws.chime#BotList", - "traits": { - "smithy.api#documentation": "

List of bots and bot details.

" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListChannelBans": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListChannelBansRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListChannelBansResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by ListChannelBans in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

Lists all the users banned from a particular channel.

\n \n

The x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, ListChannelBans, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, - "smithy.api#http": { - "method": "GET", - "uri": "/channels/{ChannelArn}/bans", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.chime#ListChannelBansRequest": { - "type": "structure", - "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MaxResults": { - "target": "com.amazonaws.chime#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of bans that you want returned.

", - "smithy.api#httpQuery": "max-results" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#NextToken", - "traits": { - "smithy.api#documentation": "

The token passed by previous API calls until all requested bans are returned.

", - "smithy.api#httpQuery": "next-token" - } - }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListChannelBansResponse": { - "type": "structure", - "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel.

" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#NextToken", - "traits": { - "smithy.api#documentation": "

The token passed by previous API calls until all requested bans are returned.

" - } - }, - "ChannelBans": { - "target": "com.amazonaws.chime#ChannelBanSummaryList", - "traits": { - "smithy.api#documentation": "

The information for each requested ban.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListChannelMemberships": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListChannelMembershipsRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListChannelMembershipsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by ListChannelMemberships in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

Lists all channel memberships in a channel.

\n \n

The x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, ListChannelMemberships, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, - "smithy.api#http": { - "method": "GET", - "uri": "/channels/{ChannelArn}/memberships", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.chime#ListChannelMembershipsForAppInstanceUser": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListChannelMembershipsForAppInstanceUserRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListChannelMembershipsForAppInstanceUserResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by ListChannelMembershipsForAppInstanceUser in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

Lists all channels that a particular AppInstanceUser is a part of. Only an\n AppInstanceAdmin can call the API with a user ARN that is not their own.

\n \n

The x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, ListChannelMembershipsForAppInstanceUser, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, - "smithy.api#http": { - "method": "GET", - "uri": "/channels?scope=app-instance-user-memberships", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.chime#ListChannelMembershipsForAppInstanceUserRequest": { - "type": "structure", - "members": { - "AppInstanceUserArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the AppInstanceUsers

", - "smithy.api#httpQuery": "app-instance-user-arn" - } - }, - "MaxResults": { - "target": "com.amazonaws.chime#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of users that you want returned.

", - "smithy.api#httpQuery": "max-results" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#NextToken", - "traits": { - "smithy.api#documentation": "

The token returned from previous API requests until the number of channel memberships is reached.

", - "smithy.api#httpQuery": "next-token" - } - }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListChannelMembershipsForAppInstanceUserResponse": { - "type": "structure", - "members": { - "ChannelMemberships": { - "target": "com.amazonaws.chime#ChannelMembershipForAppInstanceUserSummaryList", - "traits": { - "smithy.api#documentation": "

The information for the requested channel memberships.

" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#NextToken", - "traits": { - "smithy.api#documentation": "

The token passed by previous API calls until all requested users are returned.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListChannelMembershipsRequest": { - "type": "structure", - "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The maximum number of channel memberships that you want returned.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Type": { - "target": "com.amazonaws.chime#ChannelMembershipType", - "traits": { - "smithy.api#documentation": "

The membership type of a user, DEFAULT or HIDDEN. Default\n members are always returned as part of ListChannelMemberships. Hidden members\n are only returned if the type filter in ListChannelMemberships equals\n HIDDEN. Otherwise hidden members are not returned.

", - "smithy.api#httpQuery": "type" - } - }, - "MaxResults": { - "target": "com.amazonaws.chime#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of channel memberships that you want returned.

", - "smithy.api#httpQuery": "max-results" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#NextToken", - "traits": { - "smithy.api#documentation": "

The token passed by previous API calls until all requested channel memberships are\n returned.

", - "smithy.api#httpQuery": "next-token" - } - }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListChannelMembershipsResponse": { - "type": "structure", - "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel.

" - } - }, - "ChannelMemberships": { - "target": "com.amazonaws.chime#ChannelMembershipSummaryList", - "traits": { - "smithy.api#documentation": "

The information for the requested channel memberships.

" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#NextToken", - "traits": { - "smithy.api#documentation": "

The token passed by previous API calls until all requested channel memberships are\n returned.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListChannelMessages": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListChannelMessagesRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListChannelMessagesResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by ListChannelMessages in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

List all the messages in a channel. Returns a paginated list of\n ChannelMessages. By default, sorted by creation timestamp in descending\n order.

\n \n

Redacted messages appear in the results as empty, since they are only redacted, not\n deleted. Deleted messages do not appear in the results. This action always returns the\n latest version of an edited message.

\n

Also, the x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, ListChannelMessages, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, - "smithy.api#http": { - "method": "GET", - "uri": "/channels/{ChannelArn}/messages", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.chime#ListChannelMessagesRequest": { - "type": "structure", - "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "SortOrder": { - "target": "com.amazonaws.chime#SortOrder", - "traits": { - "smithy.api#documentation": "

The order in which you want messages sorted. Default is Descending, based on time\n created.

", - "smithy.api#httpQuery": "sort-order" - } - }, - "NotBefore": { - "target": "com.amazonaws.chime#Timestamp", - "traits": { - "smithy.api#documentation": "

The initial or starting time stamp for your requested messages.

", - "smithy.api#httpQuery": "not-before" - } - }, - "NotAfter": { - "target": "com.amazonaws.chime#Timestamp", - "traits": { - "smithy.api#documentation": "

The final or ending time stamp for your requested messages.

", - "smithy.api#httpQuery": "not-after" - } - }, - "MaxResults": { - "target": "com.amazonaws.chime#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of messages that you want returned.

", - "smithy.api#httpQuery": "max-results" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#NextToken", - "traits": { - "smithy.api#documentation": "

The token passed by previous API calls until all requested messages are returned.

", - "smithy.api#httpQuery": "next-token" - } - }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListChannelMessagesResponse": { - "type": "structure", - "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel containing the requested messages.

" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#NextToken", - "traits": { - "smithy.api#documentation": "

The token passed by previous API calls until all requested messages are returned.

" - } - }, - "ChannelMessages": { - "target": "com.amazonaws.chime#ChannelMessageSummaryList", - "traits": { - "smithy.api#documentation": "

The information about, and content of, each requested message.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListChannelModerators": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListChannelModeratorsRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListChannelModeratorsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by ListChannelModerators in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

Lists all the moderators for a channel.

\n \n

The x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, ListChannelModerators, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, - "smithy.api#http": { - "method": "GET", - "uri": "/channels/{ChannelArn}/moderators", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.chime#ListChannelModeratorsRequest": { - "type": "structure", - "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MaxResults": { - "target": "com.amazonaws.chime#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of moderators that you want returned.

", - "smithy.api#httpQuery": "max-results" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#NextToken", - "traits": { - "smithy.api#documentation": "

The token passed by previous API calls until all requested moderators are\n returned.

", - "smithy.api#httpQuery": "next-token" - } - }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListChannelModeratorsResponse": { - "type": "structure", - "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel.

" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#NextToken", - "traits": { - "smithy.api#documentation": "

The token passed by previous API calls until all requested moderators are\n returned.

" - } - }, - "ChannelModerators": { - "target": "com.amazonaws.chime#ChannelModeratorSummaryList", - "traits": { - "smithy.api#documentation": "

The information about and names of each moderator.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListChannels": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListChannelsRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListChannelsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by ListChannels in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

Lists all Channels created under a single Chime App as a paginated list. You can specify\n filters to narrow results.

\n

\n Functionality & restrictions\n

\n
    \n
  • \n

    Use privacy = PUBLIC to retrieve all public channels in the\n account.

    \n
  • \n
  • \n

    Only an AppInstanceAdmin can set privacy = PRIVATE to\n list the private channels in an account.

    \n
  • \n
\n \n

The x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, ListChannels, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, - "smithy.api#http": { - "method": "GET", - "uri": "/channels", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.chime#ListChannelsModeratedByAppInstanceUser": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListChannelsModeratedByAppInstanceUserRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListChannelsModeratedByAppInstanceUserResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by ListChannelsModeratedByAppInstanceUser in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

A list of the channels moderated by an AppInstanceUser.

\n \n

The x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, ListChannelsModeratedByAppInstanceUser, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, - "smithy.api#http": { - "method": "GET", - "uri": "/channels?scope=app-instance-user-moderated-channels", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.chime#ListChannelsModeratedByAppInstanceUserRequest": { - "type": "structure", - "members": { - "AppInstanceUserArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the user in the moderated channel.

", - "smithy.api#httpQuery": "app-instance-user-arn" - } - }, - "MaxResults": { - "target": "com.amazonaws.chime#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of channels in the request.

", - "smithy.api#httpQuery": "max-results" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#NextToken", - "traits": { - "smithy.api#documentation": "

The token returned from previous API requests until the number of channels moderated by\n the user is reached.

", - "smithy.api#httpQuery": "next-token" - } - }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListChannelsModeratedByAppInstanceUserResponse": { - "type": "structure", - "members": { - "Channels": { - "target": "com.amazonaws.chime#ChannelModeratedByAppInstanceUserSummaryList", - "traits": { - "smithy.api#documentation": "

The moderated channels in the request.

" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#NextToken", - "traits": { - "smithy.api#documentation": "

The token returned from previous API requests until the number of channels moderated by\n the user is reached.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListChannelsRequest": { - "type": "structure", - "members": { - "AppInstanceArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the AppInstance.

", - "smithy.api#httpQuery": "app-instance-arn", - "smithy.api#required": {} - } - }, - "Privacy": { - "target": "com.amazonaws.chime#ChannelPrivacy", - "traits": { - "smithy.api#documentation": "

The privacy setting. PUBLIC retrieves all the public channels.\n PRIVATE retrieves private channels. Only an AppInstanceAdmin\n can retrieve private channels.

", - "smithy.api#httpQuery": "privacy" - } - }, - "MaxResults": { - "target": "com.amazonaws.chime#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of channels that you want to return.

", - "smithy.api#httpQuery": "max-results" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#NextToken", - "traits": { - "smithy.api#documentation": "

The token passed by previous API calls until all requested channels are returned.

", - "smithy.api#httpQuery": "next-token" - } - }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListChannelsResponse": { - "type": "structure", - "members": { - "Channels": { - "target": "com.amazonaws.chime#ChannelSummaryList", - "traits": { - "smithy.api#documentation": "

The information about each channel.

" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#NextToken", - "traits": { - "smithy.api#documentation": "

The token returned from previous API requests until the number of channels is\n reached.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListMediaCapturePipelines": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListMediaCapturePipelinesRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListMediaCapturePipelinesResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by ListMediaCapturePipelines in the Amazon Chime SDK Media Pipelines Namespace" - }, - "smithy.api#documentation": "

Returns a list of media capture pipelines.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, ListMediaCapturePipelines, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/media-capture-pipelines", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.chime#ListMediaCapturePipelinesRequest": { - "type": "structure", - "members": { - "NextToken": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The token used to retrieve the next page of results.

", - "smithy.api#httpQuery": "next-token" - } - }, - "MaxResults": { - "target": "com.amazonaws.chime#ResultMax", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return in a single call. Valid Range: 1 - 99.

", - "smithy.api#httpQuery": "max-results" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListMediaCapturePipelinesResponse": { - "type": "structure", - "members": { - "MediaCapturePipelines": { - "target": "com.amazonaws.chime#MediaCapturePipelineList", - "traits": { - "smithy.api#documentation": "

The media capture pipeline objects in the list.

" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The token used to retrieve the next page of results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListMeetingTags": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListMeetingTagsRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListMeetingTagsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Use ListTagsForResource in the Amazon Chime SDK Meetings Namespace." - }, - "smithy.api#documentation": "

Lists the tags applied to an Amazon Chime SDK meeting resource.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, ListTagsForResource, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/meetings/{MeetingId}/tags", - "code": 200 - } - } - }, - "com.amazonaws.chime#ListMeetingTagsRequest": { - "type": "structure", - "members": { - "MeetingId": { - "target": "com.amazonaws.chime#GuidString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK meeting ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListMeetingTagsResponse": { - "type": "structure", - "members": { - "Tags": { - "target": "com.amazonaws.chime#TagList", - "traits": { - "smithy.api#documentation": "

A list of tag key-value pairs.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListMeetings": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListMeetingsRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListMeetingsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "ListMeetings is not supported in the Amazon Chime SDK Meetings Namespace. Update your application to remove calls to this API." - }, - "smithy.api#documentation": "

Lists up to 100 active Amazon Chime SDK meetings.

\n \n

ListMeetings is not supported in the Amazon Chime SDK Meetings Namespace. Update your application to remove calls to this API.

\n
\n

For more information about the Amazon Chime SDK, see \n Using the Amazon Chime SDK\n in the Amazon Chime SDK Developer Guide.

", - "smithy.api#http": { - "method": "GET", - "uri": "/meetings", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.chime#ListMeetingsRequest": { - "type": "structure", - "members": { - "NextToken": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

", - "smithy.api#httpQuery": "next-token" - } - }, - "MaxResults": { - "target": "com.amazonaws.chime#ResultMax", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return in a single call.

", - "smithy.api#httpQuery": "max-results" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListMeetingsResponse": { - "type": "structure", - "members": { - "Meetings": { - "target": "com.amazonaws.chime#MeetingList", - "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK meeting information.

" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListPhoneNumberOrders": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListPhoneNumberOrdersRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListPhoneNumberOrdersResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists the phone number orders for the administrator's Amazon Chime account.

", - "smithy.api#http": { - "method": "GET", - "uri": "/phone-number-orders", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.chime#ListPhoneNumberOrdersRequest": { - "type": "structure", - "members": { - "NextToken": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

", - "smithy.api#httpQuery": "next-token" - } - }, - "MaxResults": { - "target": "com.amazonaws.chime#ResultMax", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return in a single call.

", - "smithy.api#httpQuery": "max-results" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListPhoneNumberOrdersResponse": { - "type": "structure", - "members": { - "PhoneNumberOrders": { - "target": "com.amazonaws.chime#PhoneNumberOrderList", - "traits": { - "smithy.api#documentation": "

The phone number order details.

" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListPhoneNumbers": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListPhoneNumbersRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListPhoneNumbersResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists the phone numbers for the specified Amazon Chime account, Amazon Chime user, Amazon Chime Voice Connector, or Amazon Chime Voice Connector group.

", - "smithy.api#http": { - "method": "GET", - "uri": "/phone-numbers", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.chime#ListPhoneNumbersRequest": { - "type": "structure", - "members": { - "Status": { - "target": "com.amazonaws.chime#PhoneNumberStatus", - "traits": { - "smithy.api#documentation": "

The phone number status.

", - "smithy.api#httpQuery": "status" - } - }, - "ProductType": { - "target": "com.amazonaws.chime#PhoneNumberProductType", - "traits": { - "smithy.api#documentation": "

The phone number product type.

", - "smithy.api#httpQuery": "product-type" - } - }, - "FilterName": { - "target": "com.amazonaws.chime#PhoneNumberAssociationName", - "traits": { - "smithy.api#documentation": "

The filter to use to limit the number of results.

", - "smithy.api#httpQuery": "filter-name" - } - }, - "FilterValue": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The value to use for the filter.

", - "smithy.api#httpQuery": "filter-value" - } - }, - "MaxResults": { - "target": "com.amazonaws.chime#ResultMax", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return in a single call.

", - "smithy.api#httpQuery": "max-results" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

", - "smithy.api#httpQuery": "next-token" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListPhoneNumbersResponse": { - "type": "structure", - "members": { - "PhoneNumbers": { - "target": "com.amazonaws.chime#PhoneNumberList", - "traits": { - "smithy.api#documentation": "

The phone number details.

" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListProxySessions": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListProxySessionsRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListProxySessionsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by ListProxySessions in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Lists the proxy sessions for the specified Amazon Chime Voice Connector.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, ListProxySessions, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/voice-connectors/{VoiceConnectorId}/proxy-sessions", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.chime#ListProxySessionsRequest": { - "type": "structure", - "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString128", - "traits": { - "smithy.api#documentation": "

The Amazon Chime voice connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Status": { - "target": "com.amazonaws.chime#ProxySessionStatus", - "traits": { - "smithy.api#documentation": "

The proxy session status.

", - "smithy.api#httpQuery": "status" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#NextTokenString", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

", - "smithy.api#httpQuery": "next-token" - } - }, - "MaxResults": { - "target": "com.amazonaws.chime#ResultMax", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return in a single call.

", - "smithy.api#httpQuery": "max-results" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListProxySessionsResponse": { - "type": "structure", - "members": { - "ProxySessions": { - "target": "com.amazonaws.chime#ProxySessions", - "traits": { - "smithy.api#documentation": "

The proxy session details.

" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#NextTokenString", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListRoomMemberships": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListRoomMembershipsRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListRoomMembershipsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists the membership details for the specified room in an Amazon Chime Enterprise account,\n such as the members' IDs, email addresses, and names.

", - "smithy.api#http": { - "method": "GET", - "uri": "/accounts/{AccountId}/rooms/{RoomId}/memberships", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.chime#ListRoomMembershipsRequest": { - "type": "structure", - "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "RoomId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The room ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MaxResults": { - "target": "com.amazonaws.chime#ResultMax", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return in a single call.

", - "smithy.api#httpQuery": "max-results" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

", - "smithy.api#httpQuery": "next-token" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListRoomMembershipsResponse": { - "type": "structure", - "members": { - "RoomMemberships": { - "target": "com.amazonaws.chime#RoomMembershipList", - "traits": { - "smithy.api#documentation": "

The room membership details.

" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListRooms": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListRoomsRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListRoomsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists the room details for the specified Amazon Chime Enterprise account. Optionally, filter the results by a member ID (user ID or bot ID) to see a list of rooms that the member belongs to.

", - "smithy.api#http": { - "method": "GET", - "uri": "/accounts/{AccountId}/rooms", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.chime#ListRoomsRequest": { - "type": "structure", - "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MemberId": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The member ID (user ID or bot ID).

", - "smithy.api#httpQuery": "member-id" - } - }, - "MaxResults": { - "target": "com.amazonaws.chime#ResultMax", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return in a single call.

", - "smithy.api#httpQuery": "max-results" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

", - "smithy.api#httpQuery": "next-token" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListRoomsResponse": { - "type": "structure", - "members": { - "Rooms": { - "target": "com.amazonaws.chime#RoomList", - "traits": { - "smithy.api#documentation": "

The room details.

" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListSipMediaApplications": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListSipMediaApplicationsRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListSipMediaApplicationsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by ListSipMediaApplications in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Lists the SIP media applications under the administrator's AWS account.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, ListSipMediaApplications, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/sip-media-applications", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.chime#ListSipMediaApplicationsRequest": { - "type": "structure", - "members": { - "MaxResults": { - "target": "com.amazonaws.chime#ResultMax", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return in a single call. Defaults to 100.

", - "smithy.api#httpQuery": "max-results" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#NextTokenString", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

", - "smithy.api#httpQuery": "next-token" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListSipMediaApplicationsResponse": { - "type": "structure", - "members": { - "SipMediaApplications": { - "target": "com.amazonaws.chime#SipMediaApplicationList", - "traits": { - "smithy.api#documentation": "

List of SIP media applications and application details.

" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#NextTokenString", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListSipRules": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListSipRulesRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListSipRulesResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by ListSipRules in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Lists the SIP rules under the administrator's AWS account.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, ListSipRules, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/sip-rules", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.chime#ListSipRulesRequest": { - "type": "structure", - "members": { - "SipMediaApplicationId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The SIP media application ID.

", - "smithy.api#httpQuery": "sip-media-application" - } - }, - "MaxResults": { - "target": "com.amazonaws.chime#ResultMax", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return in a single call. Defaults to 100.

", - "smithy.api#httpQuery": "max-results" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#NextTokenString", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

", - "smithy.api#httpQuery": "next-token" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListSipRulesResponse": { - "type": "structure", - "members": { - "SipRules": { - "target": "com.amazonaws.chime#SipRuleList", - "traits": { - "smithy.api#documentation": "

List of SIP rules and rule details.

" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#NextTokenString", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListSupportedPhoneNumberCountries": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListSupportedPhoneNumberCountriesRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListSupportedPhoneNumberCountriesResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#AccessDeniedException" - }, - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists supported phone number countries.

", - "smithy.api#http": { - "method": "GET", - "uri": "/phone-number-countries", - "code": 200 - } - } - }, - "com.amazonaws.chime#ListSupportedPhoneNumberCountriesRequest": { - "type": "structure", - "members": { - "ProductType": { - "target": "com.amazonaws.chime#PhoneNumberProductType", - "traits": { - "smithy.api#documentation": "

The phone number product type.

", - "smithy.api#httpQuery": "product-type", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListSupportedPhoneNumberCountriesResponse": { - "type": "structure", - "members": { - "PhoneNumberCountries": { - "target": "com.amazonaws.chime#PhoneNumberCountriesList", - "traits": { - "smithy.api#documentation": "

The supported phone number countries.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListTagsForResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListTagsForResourceRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListTagsForResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by ListTagsForResource in the Amazon Chime SDK Voice, Amazon Chime SDK Meetings, Amazon Chime SDK Identity, Amazon Chime SDK Messaging, and Amazon Chime SDK Media Pipelines Namespaces" - }, - "smithy.api#documentation": "

Lists the tags applied to an Amazon Chime SDK meeting and messaging resources.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the applicable latest version in the Amazon Chime SDK.

\n \n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/tags", - "code": 200 - } - } - }, - "com.amazonaws.chime#ListTagsForResourceRequest": { - "type": "structure", - "members": { - "ResourceARN": { - "target": "com.amazonaws.chime#Arn", - "traits": { - "smithy.api#documentation": "

The resource ARN.

", - "smithy.api#httpQuery": "arn", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListTagsForResourceResponse": { - "type": "structure", - "members": { - "Tags": { - "target": "com.amazonaws.chime#TagList", - "traits": { - "smithy.api#documentation": "

A list of tag-key value pairs.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListUsers": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListUsersRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListUsersResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists the users that belong to the specified Amazon Chime account. You can specify an email\n address to list only the user that the email address belongs to.

", - "smithy.api#http": { - "method": "GET", - "uri": "/accounts/{AccountId}/users", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.chime#ListUsersRequest": { - "type": "structure", - "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "UserEmail": { - "target": "com.amazonaws.chime#EmailAddress", - "traits": { - "smithy.api#documentation": "

Optional. The user email address used to filter results. Maximum 1.

", - "smithy.api#httpQuery": "user-email" - } - }, - "UserType": { - "target": "com.amazonaws.chime#UserType", - "traits": { - "smithy.api#documentation": "

The user type.

", - "smithy.api#httpQuery": "user-type" - } - }, - "MaxResults": { - "target": "com.amazonaws.chime#ProfileServiceMaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return in a single call. Defaults to 100.

", - "smithy.api#httpQuery": "max-results" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

", - "smithy.api#httpQuery": "next-token" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListUsersResponse": { - "type": "structure", - "members": { - "Users": { - "target": "com.amazonaws.chime#UserList", - "traits": { - "smithy.api#documentation": "

List of users and user details.

" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListVoiceConnectorGroups": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListVoiceConnectorGroupsRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListVoiceConnectorGroupsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by ListVoiceConnectorGroups in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Lists the Amazon Chime Voice Connector groups for the administrator's AWS account.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, ListVoiceConnectorGroups, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/voice-connector-groups", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.chime#ListVoiceConnectorGroupsRequest": { - "type": "structure", - "members": { - "NextToken": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

", - "smithy.api#httpQuery": "next-token" - } - }, - "MaxResults": { - "target": "com.amazonaws.chime#ResultMax", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return in a single call.

", - "smithy.api#httpQuery": "max-results" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListVoiceConnectorGroupsResponse": { - "type": "structure", - "members": { - "VoiceConnectorGroups": { - "target": "com.amazonaws.chime#VoiceConnectorGroupList", - "traits": { - "smithy.api#documentation": "

The details of the Amazon Chime Voice Connector groups.

" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListVoiceConnectorTerminationCredentials": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListVoiceConnectorTerminationCredentialsRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListVoiceConnectorTerminationCredentialsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by ListVoiceConnectorTerminationCredentials in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Lists the SIP credentials for the specified Amazon Chime Voice Connector.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, ListVoiceConnectorTerminationCredentials, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/voice-connectors/{VoiceConnectorId}/termination/credentials", - "code": 200 - } - } - }, - "com.amazonaws.chime#ListVoiceConnectorTerminationCredentialsRequest": { - "type": "structure", - "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListVoiceConnectorTerminationCredentialsResponse": { - "type": "structure", - "members": { - "Usernames": { - "target": "com.amazonaws.chime#SensitiveStringList", - "traits": { - "smithy.api#documentation": "

A list of user names.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ListVoiceConnectors": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ListVoiceConnectorsRequest" - }, - "output": { - "target": "com.amazonaws.chime#ListVoiceConnectorsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by ListVoiceConnectors in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Lists the Amazon Chime Voice Connectors for the administrator's AWS account.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, ListVoiceConnectors, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/voice-connectors", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.chime#ListVoiceConnectorsRequest": { - "type": "structure", - "members": { - "NextToken": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

", - "smithy.api#httpQuery": "next-token" - } - }, - "MaxResults": { - "target": "com.amazonaws.chime#ResultMax", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return in a single call.

", - "smithy.api#httpQuery": "max-results" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ListVoiceConnectorsResponse": { - "type": "structure", - "members": { - "VoiceConnectors": { - "target": "com.amazonaws.chime#VoiceConnectorList", - "traits": { - "smithy.api#documentation": "

The details of the Amazon Chime Voice Connectors.

" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#LoggingConfiguration": { - "type": "structure", - "members": { - "EnableSIPLogs": { - "target": "com.amazonaws.chime#Boolean", - "traits": { - "smithy.api#documentation": "

Boolean that enables SIP message logs to Amazon CloudWatch logs.

" - } - }, - "EnableMediaMetricLogs": { - "target": "com.amazonaws.chime#Boolean", - "traits": { - "smithy.api#documentation": "

Boolean that enables logging of detailed media metrics for Voice Connectors to Amazon CloudWatch logs.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The logging configuration associated with an Amazon Chime Voice Connector. Specifies whether SIP message logs are enabled for sending to Amazon CloudWatch Logs.

" - } - }, - "com.amazonaws.chime#LogoutUser": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#LogoutUserRequest" - }, - "output": { - "target": "com.amazonaws.chime#LogoutUserResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Logs out the specified user from all of the devices they are currently logged into.

", - "smithy.api#http": { - "method": "POST", - "uri": "/accounts/{AccountId}/users/{UserId}?operation=logout", - "code": 204 - } - } - }, - "com.amazonaws.chime#LogoutUserRequest": { - "type": "structure", - "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "UserId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The user ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#LogoutUserResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#MaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 50 - } - } - }, - "com.amazonaws.chime#MediaCapturePipeline": { - "type": "structure", - "members": { - "MediaPipelineId": { - "target": "com.amazonaws.chime#GuidString", - "traits": { - "smithy.api#documentation": "

The ID of a media capture pipeline.

" - } - }, - "SourceType": { - "target": "com.amazonaws.chime#MediaPipelineSourceType", - "traits": { - "smithy.api#documentation": "

Source type from which media artifacts are saved. You must use ChimeMeeting.

" - } - }, - "SourceArn": { - "target": "com.amazonaws.chime#Arn", - "traits": { - "smithy.api#documentation": "

ARN of the source from which the media artifacts will be saved.

" - } - }, - "Status": { - "target": "com.amazonaws.chime#MediaPipelineStatus", - "traits": { - "smithy.api#documentation": "

The status of the media capture pipeline.

" - } - }, - "SinkType": { - "target": "com.amazonaws.chime#MediaPipelineSinkType", - "traits": { - "smithy.api#documentation": "

Destination type to which the media artifacts are saved. You must use an S3 Bucket.

" - } - }, - "SinkArn": { - "target": "com.amazonaws.chime#Arn", - "traits": { - "smithy.api#documentation": "

ARN of the destination to which the media artifacts are saved.

" - } - }, - "CreatedTimestamp": { - "target": "com.amazonaws.chime#Iso8601Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the capture pipeline was created, in ISO 8601 format.

" - } - }, - "UpdatedTimestamp": { - "target": "com.amazonaws.chime#Iso8601Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the capture pipeline was updated, in ISO 8601 format.

" - } - }, - "ChimeSdkMeetingConfiguration": { - "target": "com.amazonaws.chime#ChimeSdkMeetingConfiguration", - "traits": { - "smithy.api#documentation": "

The configuration for a specified media capture pipeline. SourceType must be ChimeSdkMeeting.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A media capture pipeline object consisting of an ID, source type, source ARN, a sink type, a sink ARN, and a configuration object.

" - } - }, - "com.amazonaws.chime#MediaCapturePipelineList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#MediaCapturePipeline" - } - }, - "com.amazonaws.chime#MediaPipelineSinkType": { - "type": "enum", - "members": { - "S3Bucket": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "S3Bucket" - } - } - } - }, - "com.amazonaws.chime#MediaPipelineSourceType": { - "type": "enum", - "members": { - "ChimeSdkMeeting": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ChimeSdkMeeting" - } - } - } - }, - "com.amazonaws.chime#MediaPipelineStatus": { - "type": "enum", - "members": { - "Initializing": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Initializing" - } - }, - "InProgress": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "InProgress" - } - }, - "Failed": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Failed" - } - }, - "Stopping": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Stopping" - } - }, - "Stopped": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Stopped" - } - } - } - }, - "com.amazonaws.chime#MediaPlacement": { - "type": "structure", - "members": { - "AudioHostUrl": { - "target": "com.amazonaws.chime#UriType", - "traits": { - "smithy.api#documentation": "

The audio host URL.

" - } - }, - "AudioFallbackUrl": { - "target": "com.amazonaws.chime#UriType", - "traits": { - "smithy.api#documentation": "

The audio fallback URL.

" - } - }, - "ScreenDataUrl": { - "target": "com.amazonaws.chime#UriType", - "traits": { - "smithy.api#documentation": "

The screen data URL.

\n \n

\n This parameter is is no longer supported and no longer used by the Amazon Chime SDK.\n

\n
" - } - }, - "ScreenSharingUrl": { - "target": "com.amazonaws.chime#UriType", - "traits": { - "smithy.api#documentation": "

The screen sharing URL.

\n \n

\n This parameter is is no longer supported and no longer used by the Amazon Chime SDK..

\n
" - } - }, - "ScreenViewingUrl": { - "target": "com.amazonaws.chime#UriType", - "traits": { - "smithy.api#documentation": "

The screen viewing URL.

\n \n

\n This parameter is is no longer supported and no longer used by the Amazon Chime SDK.\n

\n
" - } - }, - "SignalingUrl": { - "target": "com.amazonaws.chime#UriType", - "traits": { - "smithy.api#documentation": "

The signaling URL.

" - } - }, - "TurnControlUrl": { - "target": "com.amazonaws.chime#UriType", - "traits": { - "smithy.api#documentation": "

The turn control URL.

\n \n

\n This parameter is is no longer supported and no longer used by the Amazon Chime SDK.\n

\n
" - } - }, - "EventIngestionUrl": { - "target": "com.amazonaws.chime#UriType", - "traits": { - "smithy.api#documentation": "

The event ingestion URL to which you send client meeting events.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A set of endpoints used by clients to connect to the media service group for an Amazon Chime SDK meeting.

" - } - }, - "com.amazonaws.chime#Meeting": { - "type": "structure", - "members": { - "MeetingId": { - "target": "com.amazonaws.chime#GuidString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK meeting ID.

" - } - }, - "ExternalMeetingId": { - "target": "com.amazonaws.chime#ExternalMeetingIdType", - "traits": { - "smithy.api#documentation": "

The external meeting ID.

" - } - }, - "MediaPlacement": { - "target": "com.amazonaws.chime#MediaPlacement", - "traits": { - "smithy.api#documentation": "

The media placement for the meeting.

" - } - }, - "MediaRegion": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The Region in which you create the meeting. Available values: af-south-1, ap-northeast-1, \n ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, \n eu-central-1, eu-north-1, eu-south-1,\n eu-west-1, eu-west-2, eu-west-3,\n sa-east-1, us-east-1, us-east-2,\n us-west-1, us-west-2.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A meeting created using the Amazon Chime SDK.

" - } - }, - "com.amazonaws.chime#MeetingList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#Meeting" - } - }, - "com.amazonaws.chime#MeetingNotificationConfiguration": { - "type": "structure", - "members": { - "SnsTopicArn": { - "target": "com.amazonaws.chime#Arn", - "traits": { - "smithy.api#documentation": "

The SNS topic ARN.

" - } - }, - "SqsQueueArn": { - "target": "com.amazonaws.chime#Arn", - "traits": { - "smithy.api#documentation": "

The SQS queue ARN.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The resource target configurations for receiving Amazon Chime SDK meeting and attendee event\n notifications. The Amazon Chime SDK supports resource targets located in the US East (N.\n Virginia) AWS Region (us-east-1).

" - } - }, - "com.amazonaws.chime#MeetingTagKeyList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#TagKey" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 50 - } - } - }, - "com.amazonaws.chime#MeetingTagList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#Tag" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 50 - } - } - }, - "com.amazonaws.chime#Member": { - "type": "structure", - "members": { - "MemberId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The member ID (user ID or bot ID).

" - } - }, - "MemberType": { - "target": "com.amazonaws.chime#MemberType", - "traits": { - "smithy.api#documentation": "

The member type.

" - } - }, - "Email": { - "target": "com.amazonaws.chime#SensitiveString", - "traits": { - "smithy.api#documentation": "

The member email address.

" - } - }, - "FullName": { - "target": "com.amazonaws.chime#SensitiveString", - "traits": { - "smithy.api#documentation": "

The member name.

" - } - }, - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The member details, such as email address, name, member ID, and member type.

" - } - }, - "com.amazonaws.chime#MemberArns": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#ChimeArn" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 100 - } - } - }, - "com.amazonaws.chime#MemberError": { - "type": "structure", - "members": { - "MemberId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The member ID.

" - } - }, - "ErrorCode": { - "target": "com.amazonaws.chime#ErrorCode", - "traits": { - "smithy.api#documentation": "

The error code.

" - } - }, - "ErrorMessage": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The error message.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The list of errors returned when a member action results in an error.

" - } - }, - "com.amazonaws.chime#MemberErrorList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#MemberError" - } - }, - "com.amazonaws.chime#MemberType": { - "type": "enum", - "members": { - "User": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "User" - } - }, - "Bot": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Bot" - } - }, - "Webhook": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Webhook" - } - } - } - }, - "com.amazonaws.chime#Members": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#Identity" - } - }, - "com.amazonaws.chime#MembershipItem": { - "type": "structure", - "members": { - "MemberId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The member ID.

" - } - }, - "Role": { - "target": "com.amazonaws.chime#RoomMembershipRole", - "traits": { - "smithy.api#documentation": "

The member role.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Membership details, such as member ID and member role.

" - } - }, - "com.amazonaws.chime#MembershipItemList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#MembershipItem" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 50 - } - } - }, - "com.amazonaws.chime#MessageId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - }, - "smithy.api#pattern": "^[-_a-zA-Z0-9]*$" - } - }, - "com.amazonaws.chime#MessagingSessionEndpoint": { - "type": "structure", - "members": { - "Url": { - "target": "com.amazonaws.chime#UrlType", - "traits": { - "smithy.api#documentation": "

The endpoint to which you establish a websocket connection.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The websocket endpoint used to connect to Amazon Chime SDK messaging.

" - } - }, - "com.amazonaws.chime#Metadata": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 1024 - }, - "smithy.api#pattern": ".*", - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.chime#NextToken": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 2048 - }, - "smithy.api#pattern": ".*", - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.chime#NextTokenString": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 65535 - } - } - }, - "com.amazonaws.chime#NonEmptyContent": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1 - }, - "smithy.api#pattern": "^[\\s\\S]*$", - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.chime#NonEmptyResourceName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - }, - "smithy.api#pattern": "^[\\u0009\\u000A\\u000D\\u0020-\\u007E\\u0085\\u00A0-\\uD7FF\\uE000-\\uFFFD\\u10000-\\u10FFFF]*$", - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.chime#NonEmptyString": { - "type": "string", - "traits": { - "smithy.api#pattern": "\\S" - } - }, - "com.amazonaws.chime#NonEmptyString128": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - }, - "smithy.api#pattern": "\\S" - } - }, - "com.amazonaws.chime#NonEmptyStringList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#String" - }, - "traits": { - "smithy.api#length": { - "min": 1 - } - } - }, - "com.amazonaws.chime#NonNullableBoolean": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } - }, - "com.amazonaws.chime#NotFoundException": { - "type": "structure", - "members": { - "Code": { - "target": "com.amazonaws.chime#ErrorCode" - }, - "Message": { - "target": "com.amazonaws.chime#String" - } - }, - "traits": { - "smithy.api#documentation": "

One or more of the resources in the request does not exist in the system.

", - "smithy.api#error": "client", - "smithy.api#httpError": 404 - } - }, - "com.amazonaws.chime#NotificationTarget": { - "type": "enum", - "members": { - "EventBridge": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "EventBridge" - } - }, - "SNS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SNS" - } - }, - "SQS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SQS" - } - } - } - }, - "com.amazonaws.chime#NullableBoolean": { - "type": "boolean" - }, - "com.amazonaws.chime#NumberSelectionBehavior": { - "type": "enum", - "members": { - "PreferSticky": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PreferSticky" - } - }, - "AvoidSticky": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AvoidSticky" - } - } - } - }, - "com.amazonaws.chime#OrderedPhoneNumber": { - "type": "structure", - "members": { - "E164PhoneNumber": { - "target": "com.amazonaws.chime#E164PhoneNumber", - "traits": { - "smithy.api#documentation": "

The phone number, in E.164 format.

" - } - }, - "Status": { - "target": "com.amazonaws.chime#OrderedPhoneNumberStatus", - "traits": { - "smithy.api#documentation": "

The phone number status.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A phone number for which an order has been placed.

" - } - }, - "com.amazonaws.chime#OrderedPhoneNumberList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#OrderedPhoneNumber" - } - }, - "com.amazonaws.chime#OrderedPhoneNumberStatus": { - "type": "enum", - "members": { - "Processing": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Processing" - } - }, - "Acquired": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Acquired" - } - }, - "Failed": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Failed" - } - } - } - }, - "com.amazonaws.chime#Origination": { - "type": "structure", - "members": { - "Routes": { - "target": "com.amazonaws.chime#OriginationRouteList", - "traits": { - "smithy.api#documentation": "

The call distribution properties defined for your SIP hosts. Valid range: Minimum value of 1.\n Maximum value of 20. This parameter is not required, but you must specify this parameter or Disabled.

" - } - }, - "Disabled": { - "target": "com.amazonaws.chime#Boolean", - "traits": { - "smithy.api#documentation": "

When origination settings are disabled, inbound calls are not enabled for your Amazon Chime\n Voice Connector. This parameter is not required, but you must specify this parameter or Routes.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Origination settings enable your SIP hosts to receive inbound calls using your Amazon Chime\n Voice Connector.

\n \n

The parameters listed below are not required, but you must use at least one.

\n
" - } - }, - "com.amazonaws.chime#OriginationRoute": { - "type": "structure", - "members": { - "Host": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The FQDN or IP address to contact for origination traffic.

" - } - }, - "Port": { - "target": "com.amazonaws.chime#Port", - "traits": { - "smithy.api#documentation": "

The designated origination route port. Defaults to 5060.

" - } - }, - "Protocol": { - "target": "com.amazonaws.chime#OriginationRouteProtocol", - "traits": { - "smithy.api#documentation": "

The protocol to use for the origination route. Encryption-enabled Amazon Chime Voice Connectors use TCP protocol by default.

" - } - }, - "Priority": { - "target": "com.amazonaws.chime#OriginationRoutePriority", - "traits": { - "smithy.api#documentation": "

The priority associated with the host, with 1 being the highest priority. Higher priority\n hosts are attempted first.

" - } - }, - "Weight": { - "target": "com.amazonaws.chime#OriginationRouteWeight", - "traits": { - "smithy.api#documentation": "

The weight associated with the host. If hosts are equal in priority, calls are redistributed among\n them based on their relative weight.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Origination routes define call distribution properties for your SIP hosts to receive inbound\n calls using your Amazon Chime Voice Connector. Limit: Ten origination routes for each\n Amazon Chime Voice Connector.

\n \n

The parameters listed below are not required, but you must use at least one.

\n
" - } - }, - "com.amazonaws.chime#OriginationRouteList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#OriginationRoute" - } - }, - "com.amazonaws.chime#OriginationRoutePriority": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 100 - } - } - }, - "com.amazonaws.chime#OriginationRouteProtocol": { - "type": "enum", - "members": { - "TCP": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "TCP" - } - }, - "UDP": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "UDP" - } - } - } - }, - "com.amazonaws.chime#OriginationRouteWeight": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 100 - } - } - }, - "com.amazonaws.chime#Participant": { - "type": "structure", - "members": { - "PhoneNumber": { - "target": "com.amazonaws.chime#E164PhoneNumber", - "traits": { - "smithy.api#documentation": "

The participant's phone number.

" - } - }, - "ProxyPhoneNumber": { - "target": "com.amazonaws.chime#E164PhoneNumber", - "traits": { - "smithy.api#documentation": "

The participant's proxy phone number.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The phone number and proxy phone number for a participant in an Amazon Chime Voice Connector proxy session.

" - } - }, - "com.amazonaws.chime#ParticipantPhoneNumberList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#E164PhoneNumber" - }, - "traits": { - "smithy.api#length": { - "min": 2, - "max": 2 - } - } - }, - "com.amazonaws.chime#Participants": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#Participant" - } - }, - "com.amazonaws.chime#PhoneNumber": { - "type": "structure", - "members": { - "PhoneNumberId": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The phone number ID.

" - } - }, - "E164PhoneNumber": { - "target": "com.amazonaws.chime#E164PhoneNumber", - "traits": { - "smithy.api#documentation": "

The phone number, in E.164 format.

" - } - }, - "Country": { - "target": "com.amazonaws.chime#Alpha2CountryCode", - "traits": { - "smithy.api#documentation": "

The phone number country. Format: ISO 3166-1 alpha-2.

" - } - }, - "Type": { - "target": "com.amazonaws.chime#PhoneNumberType", - "traits": { - "smithy.api#documentation": "

The phone number type.

" - } - }, - "ProductType": { - "target": "com.amazonaws.chime#PhoneNumberProductType", - "traits": { - "smithy.api#documentation": "

The phone number product type.

" - } - }, - "Status": { - "target": "com.amazonaws.chime#PhoneNumberStatus", - "traits": { - "smithy.api#documentation": "

The phone number status.

" - } - }, - "Capabilities": { - "target": "com.amazonaws.chime#PhoneNumberCapabilities", - "traits": { - "smithy.api#documentation": "

The phone number capabilities.

" - } - }, - "Associations": { - "target": "com.amazonaws.chime#PhoneNumberAssociationList", - "traits": { - "smithy.api#documentation": "

The phone number associations.

" - } - }, - "CallingName": { - "target": "com.amazonaws.chime#CallingName", - "traits": { - "smithy.api#documentation": "

The outbound calling name associated with the phone number.

" - } - }, - "CallingNameStatus": { - "target": "com.amazonaws.chime#CallingNameStatus", - "traits": { - "smithy.api#documentation": "

The outbound calling name status.

" - } - }, - "CreatedTimestamp": { - "target": "com.amazonaws.chime#Iso8601Timestamp", - "traits": { - "smithy.api#documentation": "

The phone number creation timestamp, in ISO 8601 format.

" - } - }, - "UpdatedTimestamp": { - "target": "com.amazonaws.chime#Iso8601Timestamp", - "traits": { - "smithy.api#documentation": "

The updated phone number timestamp, in ISO 8601 format.

" - } - }, - "DeletionTimestamp": { - "target": "com.amazonaws.chime#Iso8601Timestamp", - "traits": { - "smithy.api#documentation": "

The deleted phone number timestamp, in ISO 8601 format.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A phone number used for Amazon Chime Business Calling or an Amazon Chime Voice\n Connector.

" - } - }, - "com.amazonaws.chime#PhoneNumberAssociation": { - "type": "structure", - "members": { - "Value": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

Contains the ID for the entity specified in Name.

" - } - }, - "Name": { - "target": "com.amazonaws.chime#PhoneNumberAssociationName", - "traits": { - "smithy.api#documentation": "

Defines the association with an Amazon Chime account ID, user ID, Amazon Chime Voice Connector\n ID, or Amazon Chime Voice Connector group ID.

" - } - }, - "AssociatedTimestamp": { - "target": "com.amazonaws.chime#Iso8601Timestamp", - "traits": { - "smithy.api#documentation": "

The timestamp of the phone number association, in ISO 8601 format.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The phone number associations, such as Amazon Chime account ID, Amazon Chime user ID, Amazon\n Chime Voice Connector ID, or Amazon Chime Voice Connector group ID.

" - } - }, - "com.amazonaws.chime#PhoneNumberAssociationList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#PhoneNumberAssociation" - } - }, - "com.amazonaws.chime#PhoneNumberAssociationName": { - "type": "enum", - "members": { - "AccountId": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AccountId" - } - }, - "UserId": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "UserId" - } - }, - "VoiceConnectorId": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "VoiceConnectorId" - } - }, - "VoiceConnectorGroupId": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "VoiceConnectorGroupId" - } - }, - "SipRuleId": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SipRuleId" - } - } - } - }, - "com.amazonaws.chime#PhoneNumberCapabilities": { - "type": "structure", - "members": { - "InboundCall": { - "target": "com.amazonaws.chime#NullableBoolean", - "traits": { - "smithy.api#documentation": "

Allows or denies inbound calling for the specified phone number.

" - } - }, - "OutboundCall": { - "target": "com.amazonaws.chime#NullableBoolean", - "traits": { - "smithy.api#documentation": "

Allows or denies outbound calling for the specified phone number.

" - } - }, - "InboundSMS": { - "target": "com.amazonaws.chime#NullableBoolean", - "traits": { - "smithy.api#documentation": "

Allows or denies inbound SMS messaging for the specified phone number.

" - } - }, - "OutboundSMS": { - "target": "com.amazonaws.chime#NullableBoolean", - "traits": { - "smithy.api#documentation": "

Allows or denies outbound SMS messaging for the specified phone number.

" - } - }, - "InboundMMS": { - "target": "com.amazonaws.chime#NullableBoolean", - "traits": { - "smithy.api#documentation": "

Allows or denies inbound MMS messaging for the specified phone number.

" - } - }, - "OutboundMMS": { - "target": "com.amazonaws.chime#NullableBoolean", - "traits": { - "smithy.api#documentation": "

Allows or denies outbound MMS messaging for the specified phone number.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The phone number capabilities for Amazon Chime Business Calling phone numbers, such as enabled\n inbound and outbound calling and text messaging.

" - } - }, - "com.amazonaws.chime#PhoneNumberCountriesList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#PhoneNumberCountry" - } - }, - "com.amazonaws.chime#PhoneNumberCountry": { - "type": "structure", - "members": { - "CountryCode": { - "target": "com.amazonaws.chime#Alpha2CountryCode", - "traits": { - "smithy.api#documentation": "

The phone number country code. Format: ISO 3166-1 alpha-2.

" - } - }, - "SupportedPhoneNumberTypes": { - "target": "com.amazonaws.chime#PhoneNumberTypeList", - "traits": { - "smithy.api#documentation": "

The supported phone number types.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The phone number country.

" - } - }, - "com.amazonaws.chime#PhoneNumberError": { - "type": "structure", - "members": { - "PhoneNumberId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The phone number ID for which the action failed.

" - } - }, - "ErrorCode": { - "target": "com.amazonaws.chime#ErrorCode", - "traits": { - "smithy.api#documentation": "

The error code.

" - } - }, - "ErrorMessage": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The error message.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

If the phone number action fails for one or more of the phone numbers in the request, a list of\n the phone numbers is returned, along with error codes and error messages.

" - } - }, - "com.amazonaws.chime#PhoneNumberErrorList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#PhoneNumberError" - } - }, - "com.amazonaws.chime#PhoneNumberList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#PhoneNumber" - } - }, - "com.amazonaws.chime#PhoneNumberMaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 500 - } - } - }, - "com.amazonaws.chime#PhoneNumberOrder": { - "type": "structure", - "members": { - "PhoneNumberOrderId": { - "target": "com.amazonaws.chime#GuidString", - "traits": { - "smithy.api#documentation": "

The phone number order ID.

" - } - }, - "ProductType": { - "target": "com.amazonaws.chime#PhoneNumberProductType", - "traits": { - "smithy.api#documentation": "

The phone number order product type.

" - } - }, - "Status": { - "target": "com.amazonaws.chime#PhoneNumberOrderStatus", - "traits": { - "smithy.api#documentation": "

The status of the phone number order.

" - } - }, - "OrderedPhoneNumbers": { - "target": "com.amazonaws.chime#OrderedPhoneNumberList", - "traits": { - "smithy.api#documentation": "

The ordered phone number details, such as the phone number in E.164 format and the phone\n number status.

" - } - }, - "CreatedTimestamp": { - "target": "com.amazonaws.chime#Iso8601Timestamp", - "traits": { - "smithy.api#documentation": "

The phone number order creation time stamp, in ISO 8601 format.

" - } - }, - "UpdatedTimestamp": { - "target": "com.amazonaws.chime#Iso8601Timestamp", - "traits": { - "smithy.api#documentation": "

The updated phone number order time stamp, in ISO 8601 format.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The details of a phone number order created for Amazon Chime.

" - } - }, - "com.amazonaws.chime#PhoneNumberOrderList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#PhoneNumberOrder" - } - }, - "com.amazonaws.chime#PhoneNumberOrderStatus": { - "type": "enum", - "members": { - "Processing": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Processing" - } - }, - "Successful": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Successful" - } - }, - "Failed": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Failed" - } - }, - "Partial": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Partial" - } - } - } - }, - "com.amazonaws.chime#PhoneNumberProductType": { - "type": "enum", - "members": { - "BusinessCalling": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "BusinessCalling" - } - }, - "VoiceConnector": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "VoiceConnector" - } - }, - "SipMediaApplicationDialIn": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SipMediaApplicationDialIn" - } - } - } - }, - "com.amazonaws.chime#PhoneNumberStatus": { - "type": "enum", - "members": { - "AcquireInProgress": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AcquireInProgress" - } - }, - "AcquireFailed": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AcquireFailed" - } - }, - "Unassigned": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Unassigned" - } - }, - "Assigned": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Assigned" - } - }, - "ReleaseInProgress": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ReleaseInProgress" - } - }, - "DeleteInProgress": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DeleteInProgress" - } - }, - "ReleaseFailed": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ReleaseFailed" - } - }, - "DeleteFailed": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DeleteFailed" - } - } - } - }, - "com.amazonaws.chime#PhoneNumberType": { - "type": "enum", - "members": { - "Local": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Local" - } - }, - "TollFree": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "TollFree" - } - } - } - }, - "com.amazonaws.chime#PhoneNumberTypeList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#PhoneNumberType" - } - }, - "com.amazonaws.chime#Port": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 0, - "max": 65535 - } - } - }, - "com.amazonaws.chime#PositiveInteger": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1 - } - } - }, - "com.amazonaws.chime#ProfileServiceMaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 200 - } - } - }, - "com.amazonaws.chime#Proxy": { - "type": "structure", - "members": { - "DefaultSessionExpiryMinutes": { - "target": "com.amazonaws.chime#Integer", - "traits": { - "smithy.api#documentation": "

The default number of minutes allowed for proxy sessions.

" - } - }, - "Disabled": { - "target": "com.amazonaws.chime#Boolean", - "traits": { - "smithy.api#documentation": "

When true, stops proxy sessions from being created on the specified Amazon Chime Voice Connector.

" - } - }, - "FallBackPhoneNumber": { - "target": "com.amazonaws.chime#E164PhoneNumber", - "traits": { - "smithy.api#documentation": "

The phone number to route calls to after a proxy session expires.

" - } - }, - "PhoneNumberCountries": { - "target": "com.amazonaws.chime#StringList", - "traits": { - "smithy.api#documentation": "

The countries for proxy phone numbers to be selected from.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The proxy configuration for an Amazon Chime Voice Connector.

" - } - }, - "com.amazonaws.chime#ProxySession": { - "type": "structure", - "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString128", - "traits": { - "smithy.api#documentation": "

The Amazon Chime voice connector ID.

" - } - }, - "ProxySessionId": { - "target": "com.amazonaws.chime#NonEmptyString128", - "traits": { - "smithy.api#documentation": "

The proxy session ID.

" - } - }, - "Name": { - "target": "com.amazonaws.chime#String128", - "traits": { - "smithy.api#documentation": "

The name of the proxy session.

" - } - }, - "Status": { - "target": "com.amazonaws.chime#ProxySessionStatus", - "traits": { - "smithy.api#documentation": "

The status of the proxy session.

" - } - }, - "ExpiryMinutes": { - "target": "com.amazonaws.chime#PositiveInteger", - "traits": { - "smithy.api#documentation": "

The number of minutes allowed for the proxy session.

" - } - }, - "Capabilities": { - "target": "com.amazonaws.chime#CapabilityList", - "traits": { - "smithy.api#documentation": "

The proxy session capabilities.

" - } - }, - "CreatedTimestamp": { - "target": "com.amazonaws.chime#Iso8601Timestamp", - "traits": { - "smithy.api#documentation": "

The created time stamp, in ISO 8601 format.

" - } - }, - "UpdatedTimestamp": { - "target": "com.amazonaws.chime#Iso8601Timestamp", - "traits": { - "smithy.api#documentation": "

The updated time stamp, in ISO 8601 format.

" - } - }, - "EndedTimestamp": { - "target": "com.amazonaws.chime#Iso8601Timestamp", - "traits": { - "smithy.api#documentation": "

The ended time stamp, in ISO 8601 format.

" - } - }, - "Participants": { - "target": "com.amazonaws.chime#Participants", - "traits": { - "smithy.api#documentation": "

The proxy session participants.

" - } - }, - "NumberSelectionBehavior": { - "target": "com.amazonaws.chime#NumberSelectionBehavior", - "traits": { - "smithy.api#documentation": "

The preference for proxy phone number reuse, or stickiness, between the same participants across sessions.

" - } - }, - "GeoMatchLevel": { - "target": "com.amazonaws.chime#GeoMatchLevel", - "traits": { - "smithy.api#documentation": "

The preference for matching the country or area code of the proxy phone number with that of the first participant.

" - } - }, - "GeoMatchParams": { - "target": "com.amazonaws.chime#GeoMatchParams", - "traits": { - "smithy.api#documentation": "

The country and area code for the proxy phone number.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The proxy session for an Amazon Chime Voice Connector.

" - } - }, - "com.amazonaws.chime#ProxySessionNameString": { - "type": "string", - "traits": { - "smithy.api#pattern": "^$|^[a-zA-Z0-9 ]{0,30}$", - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.chime#ProxySessionStatus": { - "type": "enum", - "members": { - "Open": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Open" - } - }, - "InProgress": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "InProgress" - } - }, - "Closed": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Closed" - } - } - } - }, - "com.amazonaws.chime#ProxySessions": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#ProxySession" - } - }, - "com.amazonaws.chime#PutAppInstanceRetentionSettings": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#PutAppInstanceRetentionSettingsRequest" - }, - "output": { - "target": "com.amazonaws.chime#PutAppInstanceRetentionSettingsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ConflictException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by PutAppInstanceRetentionSettings in the Amazon Chime SDK Identity Namespace" - }, - "smithy.api#documentation": "

Sets the amount of time in days that a given AppInstance retains data.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, PutAppInstanceRetentionSettings, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "identity-" - }, - "smithy.api#http": { - "method": "PUT", - "uri": "/app-instances/{AppInstanceArn}/retention-settings", - "code": 200 - } - } - }, - "com.amazonaws.chime#PutAppInstanceRetentionSettingsRequest": { - "type": "structure", - "members": { - "AppInstanceArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the AppInstance.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "AppInstanceRetentionSettings": { - "target": "com.amazonaws.chime#AppInstanceRetentionSettings", - "traits": { - "smithy.api#documentation": "

The time in days to retain data. Data type: number.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#PutAppInstanceRetentionSettingsResponse": { - "type": "structure", - "members": { - "AppInstanceRetentionSettings": { - "target": "com.amazonaws.chime#AppInstanceRetentionSettings", - "traits": { - "smithy.api#documentation": "

The time in days to retain data. Data type: number.

" - } - }, - "InitiateDeletionTimestamp": { - "target": "com.amazonaws.chime#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the API deletes data.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#PutAppInstanceStreamingConfigurations": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#PutAppInstanceStreamingConfigurationsRequest" - }, - "output": { - "target": "com.amazonaws.chime#PutAppInstanceStreamingConfigurationsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by PutAppInstanceStreamingConfigurations in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

The data streaming configurations of an AppInstance.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, PutMessagingStreamingConfigurations, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "PUT", - "uri": "/app-instances/{AppInstanceArn}/streaming-configurations", - "code": 200 - } - } - }, - "com.amazonaws.chime#PutAppInstanceStreamingConfigurationsRequest": { - "type": "structure", - "members": { - "AppInstanceArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the AppInstance.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "AppInstanceStreamingConfigurations": { - "target": "com.amazonaws.chime#AppInstanceStreamingConfigurationList", - "traits": { - "smithy.api#documentation": "

The streaming configurations set for an AppInstance.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#PutAppInstanceStreamingConfigurationsResponse": { - "type": "structure", - "members": { - "AppInstanceStreamingConfigurations": { - "target": "com.amazonaws.chime#AppInstanceStreamingConfigurationList", - "traits": { - "smithy.api#documentation": "

The streaming configurations of an AppInstance.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#PutEventsConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#PutEventsConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.chime#PutEventsConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ResourceLimitExceededException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Creates an events configuration that allows a bot to receive outgoing events sent by Amazon\n Chime. Choose either an HTTPS endpoint or a Lambda function ARN. For more information,\n see Bot.

", - "smithy.api#http": { - "method": "PUT", - "uri": "/accounts/{AccountId}/bots/{BotId}/events-configuration", - "code": 201 - } - } - }, - "com.amazonaws.chime#PutEventsConfigurationRequest": { - "type": "structure", - "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "BotId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The bot ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "OutboundEventsHTTPSEndpoint": { - "target": "com.amazonaws.chime#SensitiveString", - "traits": { - "smithy.api#documentation": "

HTTPS endpoint that allows the bot to receive outgoing events.

" - } - }, - "LambdaFunctionArn": { - "target": "com.amazonaws.chime#SensitiveString", - "traits": { - "smithy.api#documentation": "

Lambda function ARN that allows the bot to receive outgoing events.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#PutEventsConfigurationResponse": { - "type": "structure", - "members": { - "EventsConfiguration": { - "target": "com.amazonaws.chime#EventsConfiguration", - "traits": { - "smithy.api#documentation": "

The configuration that allows a bot to receive outgoing events. Can be an HTTPS endpoint or an \n AWS Lambda function ARN.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#PutRetentionSettings": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#PutRetentionSettingsRequest" - }, - "output": { - "target": "com.amazonaws.chime#PutRetentionSettingsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ConflictException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

\nPuts retention settings for the specified Amazon Chime Enterprise account. We recommend using AWS CloudTrail to monitor usage of this API for your account. For more information, see \nLogging Amazon Chime API Calls with AWS CloudTrail\nin the Amazon Chime Administration Guide.

\n

\nTo turn off existing retention settings, remove the number of days from the corresponding \nRetentionDays\nfield in the \nRetentionSettings\nobject. For more information about retention settings, see \nManaging Chat Retention Policies\nin the Amazon Chime Administration Guide.

", - "smithy.api#http": { - "method": "PUT", - "uri": "/accounts/{AccountId}/retention-settings", - "code": 204 - } - } - }, - "com.amazonaws.chime#PutRetentionSettingsRequest": { - "type": "structure", - "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "RetentionSettings": { - "target": "com.amazonaws.chime#RetentionSettings", - "traits": { - "smithy.api#documentation": "

The retention settings.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#PutRetentionSettingsResponse": { - "type": "structure", - "members": { - "RetentionSettings": { - "target": "com.amazonaws.chime#RetentionSettings", - "traits": { - "smithy.api#documentation": "

The retention settings.

" - } - }, - "InitiateDeletionTimestamp": { - "target": "com.amazonaws.chime#Iso8601Timestamp", - "traits": { - "smithy.api#documentation": "

The timestamp representing the time at which the specified items are permanently deleted, in ISO 8601 format.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#PutSipMediaApplicationLoggingConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#PutSipMediaApplicationLoggingConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.chime#PutSipMediaApplicationLoggingConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by PutSipMediaApplicationLoggingConfiguration in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Updates the logging configuration for the specified SIP media application.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, PutSipMediaApplicationLoggingConfiguration, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "PUT", - "uri": "/sip-media-applications/{SipMediaApplicationId}/logging-configuration", - "code": 200 - } - } - }, - "com.amazonaws.chime#PutSipMediaApplicationLoggingConfigurationRequest": { - "type": "structure", - "members": { - "SipMediaApplicationId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The SIP media application ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "SipMediaApplicationLoggingConfiguration": { - "target": "com.amazonaws.chime#SipMediaApplicationLoggingConfiguration", - "traits": { - "smithy.api#documentation": "

The actual logging configuration.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#PutSipMediaApplicationLoggingConfigurationResponse": { - "type": "structure", - "members": { - "SipMediaApplicationLoggingConfiguration": { - "target": "com.amazonaws.chime#SipMediaApplicationLoggingConfiguration", - "traits": { - "smithy.api#documentation": "

The logging configuration of the SIP media application.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#PutVoiceConnectorEmergencyCallingConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#PutVoiceConnectorEmergencyCallingConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.chime#PutVoiceConnectorEmergencyCallingConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by PutVoiceConnectorEmergencyCallingConfiguration in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Puts emergency calling configuration details to the specified Amazon Chime Voice Connector, such as emergency phone numbers and calling countries. Origination and termination settings must be enabled for \n the Amazon Chime Voice Connector before emergency calling can be configured.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, PutVoiceConnectorEmergencyCallingConfiguration, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "PUT", - "uri": "/voice-connectors/{VoiceConnectorId}/emergency-calling-configuration", - "code": 200 - } - } - }, - "com.amazonaws.chime#PutVoiceConnectorEmergencyCallingConfigurationRequest": { - "type": "structure", - "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "EmergencyCallingConfiguration": { - "target": "com.amazonaws.chime#EmergencyCallingConfiguration", - "traits": { - "smithy.api#documentation": "

The emergency calling configuration details.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#PutVoiceConnectorEmergencyCallingConfigurationResponse": { - "type": "structure", - "members": { - "EmergencyCallingConfiguration": { - "target": "com.amazonaws.chime#EmergencyCallingConfiguration", - "traits": { - "smithy.api#documentation": "

The emergency calling configuration details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#PutVoiceConnectorLoggingConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#PutVoiceConnectorLoggingConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.chime#PutVoiceConnectorLoggingConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by PutVoiceConnectorLoggingConfiguration in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Adds a logging configuration for the specified Amazon Chime Voice Connector. The logging configuration specifies whether SIP message logs are enabled for sending to \n Amazon CloudWatch Logs.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, PutVoiceConnectorLoggingConfiguration, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "PUT", - "uri": "/voice-connectors/{VoiceConnectorId}/logging-configuration", - "code": 200 - } - } - }, - "com.amazonaws.chime#PutVoiceConnectorLoggingConfigurationRequest": { - "type": "structure", - "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "LoggingConfiguration": { - "target": "com.amazonaws.chime#LoggingConfiguration", - "traits": { - "smithy.api#documentation": "

The logging configuration details to add.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#PutVoiceConnectorLoggingConfigurationResponse": { - "type": "structure", - "members": { - "LoggingConfiguration": { - "target": "com.amazonaws.chime#LoggingConfiguration", - "traits": { - "smithy.api#documentation": "

The updated logging configuration details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#PutVoiceConnectorOrigination": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#PutVoiceConnectorOriginationRequest" - }, - "output": { - "target": "com.amazonaws.chime#PutVoiceConnectorOriginationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by PutVoiceConnectorOrigination in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Adds origination settings for the specified Amazon Chime Voice Connector.

\n \n

If emergency calling is configured for the Amazon Chime Voice Connector, it must be deleted prior to turning off origination settings.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, PutVoiceConnectorOrigination, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "PUT", - "uri": "/voice-connectors/{VoiceConnectorId}/origination", - "code": 200 - } - } - }, - "com.amazonaws.chime#PutVoiceConnectorOriginationRequest": { - "type": "structure", - "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Origination": { - "target": "com.amazonaws.chime#Origination", - "traits": { - "smithy.api#documentation": "

The origination setting details to add.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#PutVoiceConnectorOriginationResponse": { - "type": "structure", - "members": { - "Origination": { - "target": "com.amazonaws.chime#Origination", - "traits": { - "smithy.api#documentation": "

The updated origination setting details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#PutVoiceConnectorProxy": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#PutVoiceConnectorProxyRequest" - }, - "output": { - "target": "com.amazonaws.chime#PutVoiceConnectorProxyResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#AccessDeniedException" - }, - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by PutVoiceConnectorProxy in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Puts the specified proxy configuration to the specified Amazon Chime Voice Connector.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, PutVoiceConnectorProxy, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "PUT", - "uri": "/voice-connectors/{VoiceConnectorId}/programmable-numbers/proxy", - "code": 200 - } - } - }, - "com.amazonaws.chime#PutVoiceConnectorProxyRequest": { - "type": "structure", - "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString128", - "traits": { - "smithy.api#documentation": "

The Amazon Chime voice connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "DefaultSessionExpiryMinutes": { - "target": "com.amazonaws.chime#Integer", - "traits": { - "smithy.api#documentation": "

The default number of minutes allowed for proxy sessions.

", - "smithy.api#required": {} - } - }, - "PhoneNumberPoolCountries": { - "target": "com.amazonaws.chime#CountryList", - "traits": { - "smithy.api#documentation": "

The countries for proxy phone numbers to be selected from.

", - "smithy.api#required": {} - } - }, - "FallBackPhoneNumber": { - "target": "com.amazonaws.chime#E164PhoneNumber", - "traits": { - "smithy.api#documentation": "

The phone number to route calls to after a proxy session expires.

" - } - }, - "Disabled": { - "target": "com.amazonaws.chime#Boolean", - "traits": { - "smithy.api#documentation": "

When true, stops proxy sessions from being created on the specified Amazon Chime Voice Connector.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#PutVoiceConnectorProxyResponse": { - "type": "structure", - "members": { - "Proxy": { - "target": "com.amazonaws.chime#Proxy", - "traits": { - "smithy.api#documentation": "

The proxy configuration details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#PutVoiceConnectorStreamingConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#PutVoiceConnectorStreamingConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.chime#PutVoiceConnectorStreamingConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by PutVoiceConnectorStreamingConfiguration in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Adds a streaming configuration for the specified Amazon Chime Voice Connector. The streaming\n configuration specifies whether media streaming is enabled for sending to Kinesis.\n It also sets the retention period, in hours, for the Amazon Kinesis data.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, PutVoiceConnectorStreamingConfiguration, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "PUT", - "uri": "/voice-connectors/{VoiceConnectorId}/streaming-configuration", - "code": 200 - } - } - }, - "com.amazonaws.chime#PutVoiceConnectorStreamingConfigurationRequest": { - "type": "structure", - "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "StreamingConfiguration": { - "target": "com.amazonaws.chime#StreamingConfiguration", - "traits": { - "smithy.api#documentation": "

The streaming configuration details to add.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#PutVoiceConnectorStreamingConfigurationResponse": { - "type": "structure", - "members": { - "StreamingConfiguration": { - "target": "com.amazonaws.chime#StreamingConfiguration", - "traits": { - "smithy.api#documentation": "

The updated streaming configuration details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#PutVoiceConnectorTermination": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#PutVoiceConnectorTerminationRequest" - }, - "output": { - "target": "com.amazonaws.chime#PutVoiceConnectorTerminationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#AccessDeniedException" - }, - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by PutVoiceConnectorTermination in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Adds termination settings for the specified Amazon Chime Voice Connector.

\n \n

If emergency calling is configured for the Amazon Chime Voice Connector, it must be deleted prior to turning off termination settings.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, PutVoiceConnectorTermination, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "PUT", - "uri": "/voice-connectors/{VoiceConnectorId}/termination", - "code": 200 - } - } - }, - "com.amazonaws.chime#PutVoiceConnectorTerminationCredentials": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#PutVoiceConnectorTerminationCredentialsRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by PutVoiceConnectorTerminationCredentials in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Adds termination SIP credentials for the specified Amazon Chime Voice Connector.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, PutVoiceConnectorTerminationCredentials, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "POST", - "uri": "/voice-connectors/{VoiceConnectorId}/termination/credentials?operation=put", - "code": 204 - } - } - }, - "com.amazonaws.chime#PutVoiceConnectorTerminationCredentialsRequest": { - "type": "structure", - "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Credentials": { - "target": "com.amazonaws.chime#CredentialList", - "traits": { - "smithy.api#documentation": "

The termination SIP credentials.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#PutVoiceConnectorTerminationRequest": { - "type": "structure", - "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Termination": { - "target": "com.amazonaws.chime#Termination", - "traits": { - "smithy.api#documentation": "

The termination setting details to add.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#PutVoiceConnectorTerminationResponse": { - "type": "structure", - "members": { - "Termination": { - "target": "com.amazonaws.chime#Termination", - "traits": { - "smithy.api#documentation": "

The updated termination setting details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#RedactChannelMessage": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#RedactChannelMessageRequest" - }, - "output": { - "target": "com.amazonaws.chime#RedactChannelMessageResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by RedactChannelMessage in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

Redacts message content, but not metadata. The message exists in the back end, but the\n action returns null content, and the state shows as redacted.

\n \n

The x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, RedactChannelMessage, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, - "smithy.api#http": { - "method": "POST", - "uri": "/channels/{ChannelArn}/messages/{MessageId}?operation=redact", - "code": 200 - } - } - }, - "com.amazonaws.chime#RedactChannelMessageRequest": { - "type": "structure", - "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel containing the messages that you want to redact.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MessageId": { - "target": "com.amazonaws.chime#MessageId", - "traits": { - "smithy.api#documentation": "

The ID of the message being redacted.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#RedactChannelMessageResponse": { - "type": "structure", - "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel containing the messages that you want to redact.

" - } - }, - "MessageId": { - "target": "com.amazonaws.chime#MessageId", - "traits": { - "smithy.api#documentation": "

The ID of the message being redacted.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#RedactConversationMessage": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#RedactConversationMessageRequest" - }, - "output": { - "target": "com.amazonaws.chime#RedactConversationMessageResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Redacts the specified message from the specified Amazon Chime conversation.

", - "smithy.api#http": { - "method": "POST", - "uri": "/accounts/{AccountId}/conversations/{ConversationId}/messages/{MessageId}?operation=redact", - "code": 200 - } - } - }, - "com.amazonaws.chime#RedactConversationMessageRequest": { - "type": "structure", - "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "ConversationId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The conversation ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MessageId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The message ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#RedactConversationMessageResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#RedactRoomMessage": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#RedactRoomMessageRequest" - }, - "output": { - "target": "com.amazonaws.chime#RedactRoomMessageResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Redacts the specified message from the specified Amazon Chime channel.

", - "smithy.api#http": { - "method": "POST", - "uri": "/accounts/{AccountId}/rooms/{RoomId}/messages/{MessageId}?operation=redact", - "code": 200 - } - } - }, - "com.amazonaws.chime#RedactRoomMessageRequest": { - "type": "structure", - "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "RoomId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The room ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MessageId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The message ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#RedactRoomMessageResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#RegenerateSecurityToken": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#RegenerateSecurityTokenRequest" - }, - "output": { - "target": "com.amazonaws.chime#RegenerateSecurityTokenResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Regenerates the security token for a bot.

", - "smithy.api#http": { - "method": "POST", - "uri": "/accounts/{AccountId}/bots/{BotId}?operation=regenerate-security-token", - "code": 200 - } - } - }, - "com.amazonaws.chime#RegenerateSecurityTokenRequest": { - "type": "structure", - "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "BotId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The bot ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#RegenerateSecurityTokenResponse": { - "type": "structure", - "members": { - "Bot": { - "target": "com.amazonaws.chime#Bot", - "traits": { - "smithy.api#documentation": "

A resource that allows Enterprise account administrators to configure an interface that receives events from Amazon Chime.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#RegistrationStatus": { - "type": "enum", - "members": { - "Unregistered": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Unregistered" - } - }, - "Registered": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Registered" - } - }, - "Suspended": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Suspended" - } - } - } - }, - "com.amazonaws.chime#ResetPersonalPIN": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#ResetPersonalPINRequest" - }, - "output": { - "target": "com.amazonaws.chime#ResetPersonalPINResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Resets the personal meeting PIN for the specified user on an Amazon Chime account. Returns\n the User object with the updated personal meeting PIN.

", - "smithy.api#http": { - "method": "POST", - "uri": "/accounts/{AccountId}/users/{UserId}?operation=reset-personal-pin", - "code": 200 - } - } - }, - "com.amazonaws.chime#ResetPersonalPINRequest": { - "type": "structure", - "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "UserId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The user ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#ResetPersonalPINResponse": { - "type": "structure", - "members": { - "User": { - "target": "com.amazonaws.chime#User", - "traits": { - "smithy.api#documentation": "

The user details and new personal meeting PIN.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ResourceLimitExceededException": { - "type": "structure", - "members": { - "Code": { - "target": "com.amazonaws.chime#ErrorCode" - }, - "Message": { - "target": "com.amazonaws.chime#String" - } - }, - "traits": { - "smithy.api#documentation": "

The request exceeds the resource limit.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.chime#ResourceName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 256 - }, - "smithy.api#pattern": "^[\\u0009\\u000A\\u000D\\u0020-\\u007E\\u0085\\u00A0-\\uD7FF\\uE000-\\uFFFD\\u10000-\\u10FFFF]*$", - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.chime#RestorePhoneNumber": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#RestorePhoneNumberRequest" - }, - "output": { - "target": "com.amazonaws.chime#RestorePhoneNumberResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ResourceLimitExceededException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Moves a phone number from the Deletion queue back into the\n phone number Inventory.

", - "smithy.api#http": { - "method": "POST", - "uri": "/phone-numbers/{PhoneNumberId}?operation=restore", - "code": 200 - } - } - }, - "com.amazonaws.chime#RestorePhoneNumberRequest": { - "type": "structure", - "members": { - "PhoneNumberId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The phone number.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#RestorePhoneNumberResponse": { - "type": "structure", - "members": { - "PhoneNumber": { - "target": "com.amazonaws.chime#PhoneNumber", - "traits": { - "smithy.api#documentation": "

The phone number details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ResultMax": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 99 - } - } - }, - "com.amazonaws.chime#RetentionDays": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 5475 - } - } - }, - "com.amazonaws.chime#RetentionSettings": { - "type": "structure", - "members": { - "RoomRetentionSettings": { - "target": "com.amazonaws.chime#RoomRetentionSettings", - "traits": { - "smithy.api#documentation": "

The chat room retention settings.

" - } - }, - "ConversationRetentionSettings": { - "target": "com.amazonaws.chime#ConversationRetentionSettings", - "traits": { - "smithy.api#documentation": "

The chat conversation retention settings.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The retention settings for an Amazon Chime Enterprise account that determine how long to retain items such as chat-room messages and chat-conversation messages.

" - } - }, - "com.amazonaws.chime#Room": { - "type": "structure", - "members": { - "RoomId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The room ID.

" - } - }, - "Name": { - "target": "com.amazonaws.chime#SensitiveString", - "traits": { - "smithy.api#documentation": "

The room name.

" - } - }, - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

" - } - }, - "CreatedBy": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The identifier of the room creator.

" - } - }, - "CreatedTimestamp": { - "target": "com.amazonaws.chime#Iso8601Timestamp", - "traits": { - "smithy.api#documentation": "

The room creation timestamp, in ISO 8601 format.

" - } - }, - "UpdatedTimestamp": { - "target": "com.amazonaws.chime#Iso8601Timestamp", - "traits": { - "smithy.api#documentation": "

The room update timestamp, in ISO 8601 format.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The Amazon Chime chat room details.

" - } - }, - "com.amazonaws.chime#RoomList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#Room" - } - }, - "com.amazonaws.chime#RoomMembership": { - "type": "structure", - "members": { - "RoomId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The room ID.

" - } - }, - "Member": { - "target": "com.amazonaws.chime#Member", - "traits": { - "smithy.api#documentation": "

The member details, such as email address, name, member ID, and member type.

" - } - }, - "Role": { - "target": "com.amazonaws.chime#RoomMembershipRole", - "traits": { - "smithy.api#documentation": "

The membership role.

" - } - }, - "InvitedBy": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The identifier of the user that invited the room member.

" - } - }, - "UpdatedTimestamp": { - "target": "com.amazonaws.chime#Iso8601Timestamp", - "traits": { - "smithy.api#documentation": "

The room membership update timestamp, in ISO 8601 format.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The room membership details.

" - } - }, - "com.amazonaws.chime#RoomMembershipList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#RoomMembership" - } - }, - "com.amazonaws.chime#RoomMembershipRole": { - "type": "enum", - "members": { - "Administrator": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Administrator" - } - }, - "Member": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Member" - } - } - } - }, - "com.amazonaws.chime#RoomRetentionSettings": { - "type": "structure", - "members": { - "RetentionDays": { - "target": "com.amazonaws.chime#RetentionDays", - "traits": { - "smithy.api#documentation": "

The number of days for which to retain chat-room messages.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The retention settings that determine how long to retain chat-room messages for an Amazon Chime Enterprise account.

" - } - }, - "com.amazonaws.chime#SMAUpdateCallArgumentsMap": { - "type": "map", - "key": { - "target": "com.amazonaws.chime#SensitiveString" - }, - "value": { - "target": "com.amazonaws.chime#SensitiveString" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 20 - } - } - }, - "com.amazonaws.chime#SearchAvailablePhoneNumbers": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#SearchAvailablePhoneNumbersRequest" - }, - "output": { - "target": "com.amazonaws.chime#SearchAvailablePhoneNumbersResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#AccessDeniedException" - }, - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Searches for phone numbers that can be ordered. For US numbers, provide at least one of\n the following search filters: AreaCode, City,\n State, or TollFreePrefix. If you provide\n City, you must also provide State. Numbers outside the US only\n support the PhoneNumberType filter, which you must use.

", - "smithy.api#http": { - "method": "GET", - "uri": "/search?type=phone-numbers", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.chime#SearchAvailablePhoneNumbersRequest": { - "type": "structure", - "members": { - "AreaCode": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The area code used to filter results. Only applies to the US.

", - "smithy.api#httpQuery": "area-code" - } - }, - "City": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The city used to filter results. Only applies to the US.

", - "smithy.api#httpQuery": "city" - } - }, - "Country": { - "target": "com.amazonaws.chime#Alpha2CountryCode", - "traits": { - "smithy.api#documentation": "

The country used to filter results. Defaults to the US Format: ISO 3166-1 alpha-2.

", - "smithy.api#httpQuery": "country" - } - }, - "State": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The state used to filter results. Required only if you provide City. Only applies to the US.

", - "smithy.api#httpQuery": "state" - } - }, - "TollFreePrefix": { - "target": "com.amazonaws.chime#TollFreePrefix", - "traits": { - "smithy.api#documentation": "

The toll-free prefix that you use to filter results. Only applies to the US.

", - "smithy.api#httpQuery": "toll-free-prefix" - } - }, - "PhoneNumberType": { - "target": "com.amazonaws.chime#PhoneNumberType", - "traits": { - "smithy.api#documentation": "

The phone number type used to filter results. Required for non-US numbers.

", - "smithy.api#httpQuery": "phone-number-type" - } - }, - "MaxResults": { - "target": "com.amazonaws.chime#PhoneNumberMaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return in a single call.

", - "smithy.api#httpQuery": "max-results" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The token used to retrieve the next page of results.

", - "smithy.api#httpQuery": "next-token" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#SearchAvailablePhoneNumbersResponse": { - "type": "structure", - "members": { - "E164PhoneNumbers": { - "target": "com.amazonaws.chime#E164PhoneNumberList", - "traits": { - "smithy.api#documentation": "

List of phone numbers, in E.164 format.

" - } - }, - "NextToken": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The token used to retrieve the next page of search results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#SelectedVideoStreams": { - "type": "structure", - "members": { - "AttendeeIds": { - "target": "com.amazonaws.chime#AttendeeIdList", - "traits": { - "smithy.api#documentation": "

The attendee IDs of the streams selected for a media capture pipeline.

" - } - }, - "ExternalUserIds": { - "target": "com.amazonaws.chime#ExternalUserIdList", - "traits": { - "smithy.api#documentation": "

The external user IDs of the streams selected for a media capture pipeline.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The video streams to capture for a specified media capture pipeline. The total number of video streams can't exceed 25.

" - } - }, - "com.amazonaws.chime#SendChannelMessage": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#SendChannelMessageRequest" - }, - "output": { - "target": "com.amazonaws.chime#SendChannelMessageResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ConflictException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by SendChannelMessage in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

Sends a message to a particular channel that the member is a part of.

\n \n

The x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n

Also, STANDARD messages can contain 4KB of data and the 1KB of metadata.\n CONTROL messages can contain 30 bytes of data and no metadata.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, SendChannelMessage, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, - "smithy.api#http": { - "method": "POST", - "uri": "/channels/{ChannelArn}/messages", - "code": 201 - } - } - }, - "com.amazonaws.chime#SendChannelMessageRequest": { - "type": "structure", - "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Content": { - "target": "com.amazonaws.chime#NonEmptyContent", - "traits": { - "smithy.api#documentation": "

The content of the message.

", - "smithy.api#required": {} - } - }, - "Type": { - "target": "com.amazonaws.chime#ChannelMessageType", - "traits": { - "smithy.api#documentation": "

The type of message, STANDARD or CONTROL.

", - "smithy.api#required": {} - } - }, - "Persistence": { - "target": "com.amazonaws.chime#ChannelMessagePersistenceType", - "traits": { - "smithy.api#documentation": "

Boolean that controls whether the message is persisted on the back end. Required.

", - "smithy.api#required": {} - } - }, - "Metadata": { - "target": "com.amazonaws.chime#Metadata", - "traits": { - "smithy.api#documentation": "

The optional metadata for each message.

" - } - }, - "ClientRequestToken": { - "target": "com.amazonaws.chime#ClientRequestToken", - "traits": { - "smithy.api#documentation": "

The Idempotency token for each client request.

", - "smithy.api#idempotencyToken": {}, - "smithy.api#required": {} - } - }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#SendChannelMessageResponse": { - "type": "structure", - "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel.

" - } - }, - "MessageId": { - "target": "com.amazonaws.chime#MessageId", - "traits": { - "smithy.api#documentation": "

The ID string assigned to each message.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#SensitiveNonEmptyString": { - "type": "string", - "traits": { - "smithy.api#pattern": "\\S", - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.chime#SensitiveString": { - "type": "string", - "traits": { - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.chime#SensitiveStringList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#SensitiveString" - } - }, - "com.amazonaws.chime#ServiceFailureException": { - "type": "structure", - "members": { - "Code": { - "target": "com.amazonaws.chime#ErrorCode" - }, - "Message": { - "target": "com.amazonaws.chime#String" - } - }, - "traits": { - "smithy.api#documentation": "

The service encountered an unexpected error.

", - "smithy.api#error": "server", - "smithy.api#httpError": 500 - } - }, - "com.amazonaws.chime#ServiceUnavailableException": { - "type": "structure", - "members": { - "Code": { - "target": "com.amazonaws.chime#ErrorCode" - }, - "Message": { - "target": "com.amazonaws.chime#String" - } - }, - "traits": { - "smithy.api#documentation": "

The service is currently unavailable.

", - "smithy.api#error": "server", - "smithy.api#httpError": 503 - } - }, - "com.amazonaws.chime#SigninDelegateGroup": { - "type": "structure", - "members": { - "GroupName": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The group name.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

An Active Directory (AD) group whose members are granted permission to act as delegates.

" - } - }, - "com.amazonaws.chime#SigninDelegateGroupList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#SigninDelegateGroup" - } - }, - "com.amazonaws.chime#SipApplicationPriority": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1 - } - } - }, - "com.amazonaws.chime#SipHeadersMap": { - "type": "map", - "key": { - "target": "com.amazonaws.chime#SensitiveString" - }, - "value": { - "target": "com.amazonaws.chime#SensitiveString" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 20 - } - } - }, - "com.amazonaws.chime#SipMediaApplication": { - "type": "structure", - "members": { - "SipMediaApplicationId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The SIP media application ID.

" - } - }, - "AwsRegion": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The AWS Region in which the SIP media application is created.

" - } - }, - "Name": { - "target": "com.amazonaws.chime#SipMediaApplicationName", - "traits": { - "smithy.api#documentation": "

The name of the SIP media application.

" - } - }, - "Endpoints": { - "target": "com.amazonaws.chime#SipMediaApplicationEndpointList", - "traits": { - "smithy.api#documentation": "

List of endpoints for SIP media application. Currently, only one endpoint per SIP media application is permitted.

" - } - }, - "CreatedTimestamp": { - "target": "com.amazonaws.chime#Iso8601Timestamp", - "traits": { - "smithy.api#documentation": "

The SIP media application creation timestamp, in ISO 8601 format.

" - } - }, - "UpdatedTimestamp": { - "target": "com.amazonaws.chime#Iso8601Timestamp", - "traits": { - "smithy.api#documentation": "

The SIP media application updated timestamp, in ISO 8601 format.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The details of the SIP media application, including name and endpoints. An AWS account can have multiple SIP media applications.

" - } - }, - "com.amazonaws.chime#SipMediaApplicationCall": { - "type": "structure", - "members": { - "TransactionId": { - "target": "com.amazonaws.chime#GuidString", - "traits": { - "smithy.api#documentation": "

The transaction ID of a call.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A Call instance for a SIP media application.

" - } - }, - "com.amazonaws.chime#SipMediaApplicationEndpoint": { - "type": "structure", - "members": { - "LambdaArn": { - "target": "com.amazonaws.chime#FunctionArn", - "traits": { - "smithy.api#documentation": "

Valid Amazon Resource Name (ARN) of the Lambda function, version, or alias. The function must be created in the same AWS Region as the SIP media application.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The endpoint assigned to the SIP media application.

" - } - }, - "com.amazonaws.chime#SipMediaApplicationEndpointList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#SipMediaApplicationEndpoint" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1 - } - } - }, - "com.amazonaws.chime#SipMediaApplicationList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#SipMediaApplication" - } - }, - "com.amazonaws.chime#SipMediaApplicationLoggingConfiguration": { - "type": "structure", - "members": { - "EnableSipMediaApplicationMessageLogs": { - "target": "com.amazonaws.chime#Boolean", - "traits": { - "smithy.api#documentation": "

Enables application message logs for the SIP media application.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Logging configuration of the SIP media application.

" - } - }, - "com.amazonaws.chime#SipMediaApplicationName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - } - } - }, - "com.amazonaws.chime#SipRule": { - "type": "structure", - "members": { - "SipRuleId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The SIP rule ID.

" - } - }, - "Name": { - "target": "com.amazonaws.chime#SipRuleName", - "traits": { - "smithy.api#documentation": "

The name of the SIP rule.

" - } - }, - "Disabled": { - "target": "com.amazonaws.chime#Boolean", - "traits": { - "smithy.api#documentation": "

Indicates whether the SIP rule is enabled or disabled. You must disable a rule before you can delete it.

" - } - }, - "TriggerType": { - "target": "com.amazonaws.chime#SipRuleTriggerType", - "traits": { - "smithy.api#documentation": "

The type of trigger assigned to the SIP rule in TriggerValue, currently RequestUriHostname or \n ToPhoneNumber.

" - } - }, - "TriggerValue": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

If TriggerType is RequestUriHostname, then the value can be the\n outbound host name of the Amazon Chime Voice Connector. If TriggerType is\n ToPhoneNumber, then the value can be a customer-owned phone number in\n E164 format. SipRule is triggered when a SIP rule requests host name or\n ToPhoneNumber matches in the incoming SIP request.

" - } - }, - "TargetApplications": { - "target": "com.amazonaws.chime#SipRuleTargetApplicationList", - "traits": { - "smithy.api#documentation": "

Target SIP media application and other details, such as priority and AWS Region, to be\n specified in the SIP rule. Only one SIP rule per AWS Region can be provided.

" - } - }, - "CreatedTimestamp": { - "target": "com.amazonaws.chime#Iso8601Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the SIP rule was created, in ISO 8601 format.

" - } - }, - "UpdatedTimestamp": { - "target": "com.amazonaws.chime#Iso8601Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the SIP rule was last updated, in ISO 8601 format.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The SIP rule details, including name, triggers, and target applications. An AWS account can have multiple SIP rules.

" - } - }, - "com.amazonaws.chime#SipRuleList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#SipRule" - } - }, - "com.amazonaws.chime#SipRuleName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - } - } - }, - "com.amazonaws.chime#SipRuleTargetApplication": { - "type": "structure", - "members": { - "SipMediaApplicationId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The SIP media application ID.

" - } - }, - "Priority": { - "target": "com.amazonaws.chime#SipApplicationPriority", - "traits": { - "smithy.api#documentation": "

Priority of the SIP media application in the target list.

" - } - }, - "AwsRegion": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The AWS Region of the target application.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Target SIP media application and other details, such as priority and AWS Region, to be\n specified in the SIP rule. Only one SIP rule per AWS Region can be provided.

" - } - }, - "com.amazonaws.chime#SipRuleTargetApplicationList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#SipRuleTargetApplication" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 25 - } - } - }, - "com.amazonaws.chime#SipRuleTriggerType": { - "type": "enum", - "members": { - "ToPhoneNumber": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ToPhoneNumber" - } - }, - "RequestUriHostname": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "RequestUriHostname" - } - } - } - }, - "com.amazonaws.chime#SortOrder": { - "type": "enum", - "members": { - "ASCENDING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ASCENDING" - } - }, - "DESCENDING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DESCENDING" - } - } - } - }, - "com.amazonaws.chime#SourceConfiguration": { - "type": "structure", - "members": { - "SelectedVideoStreams": { - "target": "com.amazonaws.chime#SelectedVideoStreams", - "traits": { - "smithy.api#documentation": "

The selected video streams to capture for a specified media capture pipeline. The number of video streams can't exceed 25.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Source configuration for a specified media capture pipeline.

" - } - }, - "com.amazonaws.chime#StartMeetingTranscription": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#StartMeetingTranscriptionRequest" - }, - "output": { - "target": "com.amazonaws.chime#StartMeetingTranscriptionResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ResourceLimitExceededException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - }, - { - "target": "com.amazonaws.chime#UnprocessableEntityException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by StartMeetingTranscription in the Amazon Chime SDK Meetings Namespace" - }, - "smithy.api#documentation": "

Starts transcription for the specified meetingId. For more information, refer to \n Using Amazon Chime SDK live transcription\n in the Amazon Chime SDK Developer Guide.

\n

If you specify an invalid configuration, a TranscriptFailed event will be sent with the contents of the BadRequestException generated by Amazon Transcribe. \n For more information on each parameter and which combinations are valid, refer to the \n StartStreamTranscription API in the \n Amazon Transcribe Developer Guide.

\n \n

Amazon Chime SDK live transcription is powered by Amazon Transcribe. Use of Amazon Transcribe is subject to the \n AWS Service Terms, including the terms specific to the AWS Machine Learning and Artificial \n Intelligence Services.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, StartMeetingTranscription, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "POST", - "uri": "/meetings/{MeetingId}/transcription?operation=start", - "code": 200 - } - } - }, - "com.amazonaws.chime#StartMeetingTranscriptionRequest": { - "type": "structure", - "members": { - "MeetingId": { - "target": "com.amazonaws.chime#GuidString", - "traits": { - "smithy.api#documentation": "

The unique ID of the meeting being transcribed.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "TranscriptionConfiguration": { - "target": "com.amazonaws.chime#TranscriptionConfiguration", - "traits": { - "smithy.api#documentation": "

The configuration for the current transcription operation. Must contain EngineTranscribeSettings or EngineTranscribeMedicalSettings.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#StartMeetingTranscriptionResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#StopMeetingTranscription": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#StopMeetingTranscriptionRequest" - }, - "output": { - "target": "com.amazonaws.chime#StopMeetingTranscriptionResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - }, - { - "target": "com.amazonaws.chime#UnprocessableEntityException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by StopMeetingTranscription in the Amazon Chime SDK Meetings Namespace" - }, - "smithy.api#documentation": "

Stops transcription for the specified meetingId.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, StopMeetingTranscription, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "POST", - "uri": "/meetings/{MeetingId}/transcription?operation=stop", - "code": 200 - } - } - }, - "com.amazonaws.chime#StopMeetingTranscriptionRequest": { - "type": "structure", - "members": { - "MeetingId": { - "target": "com.amazonaws.chime#GuidString", - "traits": { - "smithy.api#documentation": "

The unique ID of the meeting for which you stop transcription.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#StopMeetingTranscriptionResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#StreamingConfiguration": { - "type": "structure", - "members": { - "DataRetentionInHours": { - "target": "com.amazonaws.chime#DataRetentionInHours", - "traits": { - "smithy.api#documentation": "

The retention period, in hours, for the Amazon Kinesis data.

", - "smithy.api#required": {} - } - }, - "Disabled": { - "target": "com.amazonaws.chime#Boolean", - "traits": { - "smithy.api#documentation": "

When true, media streaming to Amazon Kinesis is turned off.

" - } - }, - "StreamingNotificationTargets": { - "target": "com.amazonaws.chime#StreamingNotificationTargetList", - "traits": { - "smithy.api#documentation": "

The streaming notification targets.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The streaming configuration associated with an Amazon Chime Voice Connector. Specifies whether\n media streaming is enabled for sending to Amazon Kinesis, and shows the retention period\n for the Amazon Kinesis data, in hours.

" - } - }, - "com.amazonaws.chime#StreamingNotificationTarget": { - "type": "structure", - "members": { - "NotificationTarget": { - "target": "com.amazonaws.chime#NotificationTarget", - "traits": { - "smithy.api#documentation": "

The streaming notification target.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

The targeted recipient for a streaming configuration notification.

" - } - }, - "com.amazonaws.chime#StreamingNotificationTargetList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#StreamingNotificationTarget" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 3 - } - } - }, - "com.amazonaws.chime#String": { - "type": "string" - }, - "com.amazonaws.chime#String128": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 128 - } - } - }, - "com.amazonaws.chime#StringList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#String" - } - }, - "com.amazonaws.chime#Tag": { - "type": "structure", - "members": { - "Key": { - "target": "com.amazonaws.chime#TagKey", - "traits": { - "smithy.api#documentation": "

The key of the tag.

", - "smithy.api#required": {} - } - }, - "Value": { - "target": "com.amazonaws.chime#TagValue", - "traits": { - "smithy.api#documentation": "

The value of the tag.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Describes a tag applied to a resource.

" - } - }, - "com.amazonaws.chime#TagAttendee": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#TagAttendeeRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ResourceLimitExceededException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Attendee Tags are not supported in the Amazon Chime SDK Meetings Namespace. Update your application to remove calls to this API." - }, - "smithy.api#documentation": "

Applies the specified tags to the specified Amazon Chime attendee.

\n \n

TagAttendee is not supported in the Amazon Chime SDK Meetings Namespace. Update your application to remove calls to this API.

\n
", - "smithy.api#http": { - "method": "POST", - "uri": "/meetings/{MeetingId}/attendees/{AttendeeId}/tags?operation=add", - "code": 204 - } - } - }, - "com.amazonaws.chime#TagAttendeeRequest": { - "type": "structure", - "members": { - "MeetingId": { - "target": "com.amazonaws.chime#GuidString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK meeting ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "AttendeeId": { - "target": "com.amazonaws.chime#GuidString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK attendee ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Tags": { - "target": "com.amazonaws.chime#AttendeeTagList", - "traits": { - "smithy.api#documentation": "

The tag key-value pairs.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#TagKey": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - }, - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.chime#TagKeyList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#TagKey" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 50 - } - } - }, - "com.amazonaws.chime#TagList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#Tag" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 50 - } - } - }, - "com.amazonaws.chime#TagMeeting": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#TagMeetingRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ResourceLimitExceededException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Use TagResource in the Amazon Chime SDK Meetings Namespace." - }, - "smithy.api#documentation": "

Applies the specified tags to the specified Amazon Chime SDK meeting.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, TagResource, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "POST", - "uri": "/meetings/{MeetingId}/tags?operation=add", - "code": 204 - } - } - }, - "com.amazonaws.chime#TagMeetingRequest": { - "type": "structure", - "members": { - "MeetingId": { - "target": "com.amazonaws.chime#GuidString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK meeting ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Tags": { - "target": "com.amazonaws.chime#MeetingTagList", - "traits": { - "smithy.api#documentation": "

The tag key-value pairs.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#TagResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#TagResourceRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by TagResource in the Amazon Chime SDK Voice, Amazon Chime SDK Meetings, Amazon Chime SDK Identity, Amazon Chime SDK Messaging, and Amazon Chime SDK Media Pipelines Namespaces" - }, - "smithy.api#documentation": "

Applies the specified tags to the specified Amazon Chime SDK meeting resource.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, TagResource, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "POST", - "uri": "/tags?operation=tag-resource", - "code": 204 - } - } - }, - "com.amazonaws.chime#TagResourceRequest": { - "type": "structure", - "members": { - "ResourceARN": { - "target": "com.amazonaws.chime#Arn", - "traits": { - "smithy.api#documentation": "

The resource ARN.

", - "smithy.api#required": {} - } - }, - "Tags": { - "target": "com.amazonaws.chime#TagList", - "traits": { - "smithy.api#documentation": "

The tag key-value pairs.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#TagValue": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - }, - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.chime#TelephonySettings": { - "type": "structure", - "members": { - "InboundCalling": { - "target": "com.amazonaws.chime#Boolean", - "traits": { - "smithy.api#documentation": "

Allows or denies inbound calling.

", - "smithy.api#required": {} - } - }, - "OutboundCalling": { - "target": "com.amazonaws.chime#Boolean", - "traits": { - "smithy.api#documentation": "

Allows or denies outbound calling.

", - "smithy.api#required": {} - } - }, - "SMS": { - "target": "com.amazonaws.chime#Boolean", - "traits": { - "smithy.api#documentation": "

Allows or denies SMS messaging.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Settings that allow management of telephony permissions for an Amazon Chime user, such as\n inbound and outbound calling and text messaging.

" - } - }, - "com.amazonaws.chime#Termination": { - "type": "structure", - "members": { - "CpsLimit": { - "target": "com.amazonaws.chime#CpsLimit", - "traits": { - "smithy.api#documentation": "

The limit on calls per second. Max value based on account service quota. Default value of\n 1.

" - } - }, - "DefaultPhoneNumber": { - "target": "com.amazonaws.chime#E164PhoneNumber", - "traits": { - "smithy.api#documentation": "

The default caller ID phone number.

" - } - }, - "CallingRegions": { - "target": "com.amazonaws.chime#CallingRegionList", - "traits": { - "smithy.api#documentation": "

The countries to which calls are allowed, in ISO 3166-1 alpha-2 format. Required.

" - } - }, - "CidrAllowedList": { - "target": "com.amazonaws.chime#StringList", - "traits": { - "smithy.api#documentation": "

The IP addresses allowed to make calls, in CIDR format. Required.

" - } - }, - "Disabled": { - "target": "com.amazonaws.chime#Boolean", - "traits": { - "smithy.api#documentation": "

When termination settings are disabled, outbound calls can not be made.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Termination settings enable your SIP hosts to make outbound calls using your Amazon Chime\n Voice Connector.

" - } - }, - "com.amazonaws.chime#TerminationHealth": { - "type": "structure", - "members": { - "Timestamp": { - "target": "com.amazonaws.chime#Iso8601Timestamp", - "traits": { - "smithy.api#documentation": "

The timestamp, in ISO 8601 format.

" - } - }, - "Source": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The source IP address.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The termination health details, including the source IP address and timestamp of the last\n successful SIP OPTIONS message from your SIP infrastructure.

" - } - }, - "com.amazonaws.chime#ThrottledClientException": { - "type": "structure", - "members": { - "Code": { - "target": "com.amazonaws.chime#ErrorCode" - }, - "Message": { - "target": "com.amazonaws.chime#String" - } - }, - "traits": { - "smithy.api#documentation": "

The client exceeded its request rate limit.

", - "smithy.api#error": "client", - "smithy.api#httpError": 429 - } - }, - "com.amazonaws.chime#Timestamp": { - "type": "timestamp" - }, - "com.amazonaws.chime#TollFreePrefix": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 3, - "max": 3 - }, - "smithy.api#pattern": "^8(00|33|44|55|66|77|88)$" - } - }, - "com.amazonaws.chime#TranscribeContentIdentificationType": { - "type": "enum", - "members": { - "PII": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PII" - } - } - } - }, - "com.amazonaws.chime#TranscribeContentRedactionType": { - "type": "enum", - "members": { - "PII": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PII" - } - } - } - }, - "com.amazonaws.chime#TranscribeLanguageCode": { - "type": "enum", - "members": { - "EN_US": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "en-US" - } - }, - "EN_GB": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "en-GB" - } - }, - "ES_US": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "es-US" - } - }, - "FR_CA": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "fr-CA" - } - }, - "FR_FR": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "fr-FR" - } - }, - "EN_AU": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "en-AU" - } - }, - "IT_IT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "it-IT" - } - }, - "DE_DE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "de-DE" - } - }, - "PT_BR": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "pt-BR" - } - }, - "JA_JP": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ja-JP" - } - }, - "KO_KR": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ko-KR" - } - }, - "ZH_CN": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "zh-CN" - } - }, - "TH_TH": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "th-TH" - } - }, - "HI_IN": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "hi-IN" - } - } - } - }, - "com.amazonaws.chime#TranscribeLanguageModelName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 200 - }, - "smithy.api#pattern": "^[0-9a-zA-Z._-]+$" - } - }, - "com.amazonaws.chime#TranscribeLanguageOptions": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 200 - }, - "smithy.api#pattern": "^[a-zA-Z-,]+$" - } - }, - "com.amazonaws.chime#TranscribeMedicalContentIdentificationType": { - "type": "enum", - "members": { - "PHI": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PHI" - } - } - } - }, - "com.amazonaws.chime#TranscribeMedicalLanguageCode": { - "type": "enum", - "members": { - "EN_US": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "en-US" - } - } - } - }, - "com.amazonaws.chime#TranscribeMedicalRegion": { - "type": "enum", - "members": { - "US_EAST_1": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "us-east-1" - } - }, - "US_EAST_2": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "us-east-2" - } - }, - "US_WEST_2": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "us-west-2" - } - }, - "AP_SOUTHEAST_2": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ap-southeast-2" - } - }, - "CA_CENTRAL_1": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ca-central-1" - } - }, - "EU_WEST_1": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "eu-west-1" - } - }, - "AUTO": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "auto" - } - } - } - }, - "com.amazonaws.chime#TranscribeMedicalSpecialty": { - "type": "enum", - "members": { - "PrimaryCare": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PRIMARYCARE" - } - }, - "Cardiology": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CARDIOLOGY" - } - }, - "Neurology": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "NEUROLOGY" - } - }, - "Oncology": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ONCOLOGY" - } - }, - "Radiology": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "RADIOLOGY" - } - }, - "Urology": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "UROLOGY" - } - } - } - }, - "com.amazonaws.chime#TranscribeMedicalType": { - "type": "enum", - "members": { - "Conversation": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CONVERSATION" - } - }, - "Dictation": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DICTATION" - } - } - } - }, - "com.amazonaws.chime#TranscribePartialResultsStability": { - "type": "enum", - "members": { - "LOW": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "low" - } - }, - "MEDIUM": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "medium" - } - }, - "HIGH": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "high" - } - } - } - }, - "com.amazonaws.chime#TranscribePiiEntityTypes": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 300 - }, - "smithy.api#pattern": "^[A-Z_, ]+$" - } - }, - "com.amazonaws.chime#TranscribeRegion": { - "type": "enum", - "members": { - "US_EAST_2": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "us-east-2" - } - }, - "US_EAST_1": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "us-east-1" - } - }, - "US_WEST_2": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "us-west-2" - } - }, - "AP_NORTHEAST_2": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ap-northeast-2" - } - }, - "AP_SOUTHEAST_2": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ap-southeast-2" - } - }, - "AP_NORTHEAST_1": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ap-northeast-1" - } - }, - "CA_CENTRAL_1": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ca-central-1" - } - }, - "EU_CENTRAL_1": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "eu-central-1" - } - }, - "EU_WEST_1": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "eu-west-1" - } - }, - "EU_WEST_2": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "eu-west-2" - } - }, - "SA_EAST_1": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "sa-east-1" - } - }, - "AUTO": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "auto" - } - } - } - }, - "com.amazonaws.chime#TranscribeVocabularyFilterMethod": { - "type": "enum", - "members": { - "Remove": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "remove" - } - }, - "Mask": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "mask" - } - }, - "Tag": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "tag" - } - } - } - }, - "com.amazonaws.chime#TranscribeVocabularyNamesOrFilterNamesString": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 3000 - }, - "smithy.api#pattern": "^[a-zA-Z0-9,-._]+$" - } - }, - "com.amazonaws.chime#TranscriptionConfiguration": { - "type": "structure", - "members": { - "EngineTranscribeSettings": { - "target": "com.amazonaws.chime#EngineTranscribeSettings", - "traits": { - "smithy.api#documentation": "

The transcription configuration settings passed to Amazon Transcribe.

" - } - }, - "EngineTranscribeMedicalSettings": { - "target": "com.amazonaws.chime#EngineTranscribeMedicalSettings", - "traits": { - "smithy.api#documentation": "

The transcription configuration settings passed to Amazon Transcribe Medical.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The configuration for the current transcription operation. Must contain EngineTranscribeSettings or EngineTranscribeMedicalSettings.

" - } - }, - "com.amazonaws.chime#UCBuzzConsoleService": { - "type": "service", - "version": "2018-05-01", - "operations": [ - { - "target": "com.amazonaws.chime#AssociatePhoneNumbersWithVoiceConnector" - }, - { - "target": "com.amazonaws.chime#AssociatePhoneNumbersWithVoiceConnectorGroup" - }, - { - "target": "com.amazonaws.chime#AssociatePhoneNumberWithUser" - }, - { - "target": "com.amazonaws.chime#AssociateSigninDelegateGroupsWithAccount" - }, - { - "target": "com.amazonaws.chime#BatchCreateAttendee" - }, - { - "target": "com.amazonaws.chime#BatchCreateChannelMembership" - }, - { - "target": "com.amazonaws.chime#BatchCreateRoomMembership" - }, - { - "target": "com.amazonaws.chime#BatchDeletePhoneNumber" - }, - { - "target": "com.amazonaws.chime#BatchSuspendUser" - }, - { - "target": "com.amazonaws.chime#BatchUnsuspendUser" - }, - { - "target": "com.amazonaws.chime#BatchUpdatePhoneNumber" - }, - { - "target": "com.amazonaws.chime#BatchUpdateUser" - }, - { - "target": "com.amazonaws.chime#CreateAccount" - }, - { - "target": "com.amazonaws.chime#CreateAppInstance" - }, - { - "target": "com.amazonaws.chime#CreateAppInstanceAdmin" - }, - { - "target": "com.amazonaws.chime#CreateAppInstanceUser" - }, - { - "target": "com.amazonaws.chime#CreateAttendee" - }, - { - "target": "com.amazonaws.chime#CreateBot" - }, - { - "target": "com.amazonaws.chime#CreateChannel" - }, - { - "target": "com.amazonaws.chime#CreateChannelBan" - }, - { - "target": "com.amazonaws.chime#CreateChannelMembership" - }, - { - "target": "com.amazonaws.chime#CreateChannelModerator" - }, - { - "target": "com.amazonaws.chime#CreateMediaCapturePipeline" - }, - { - "target": "com.amazonaws.chime#CreateMeeting" - }, - { - "target": "com.amazonaws.chime#CreateMeetingDialOut" - }, - { - "target": "com.amazonaws.chime#CreateMeetingWithAttendees" - }, - { - "target": "com.amazonaws.chime#CreatePhoneNumberOrder" - }, - { - "target": "com.amazonaws.chime#CreateProxySession" - }, - { - "target": "com.amazonaws.chime#CreateRoom" - }, - { - "target": "com.amazonaws.chime#CreateRoomMembership" - }, - { - "target": "com.amazonaws.chime#CreateSipMediaApplication" - }, - { - "target": "com.amazonaws.chime#CreateSipMediaApplicationCall" - }, - { - "target": "com.amazonaws.chime#CreateSipRule" - }, - { - "target": "com.amazonaws.chime#CreateUser" - }, - { - "target": "com.amazonaws.chime#CreateVoiceConnector" - }, - { - "target": "com.amazonaws.chime#CreateVoiceConnectorGroup" - }, - { - "target": "com.amazonaws.chime#DeleteAccount" - }, - { - "target": "com.amazonaws.chime#DeleteAppInstance" - }, - { - "target": "com.amazonaws.chime#DeleteAppInstanceAdmin" - }, - { - "target": "com.amazonaws.chime#DeleteAppInstanceStreamingConfigurations" - }, - { - "target": "com.amazonaws.chime#DeleteAppInstanceUser" - }, - { - "target": "com.amazonaws.chime#DeleteAttendee" - }, - { - "target": "com.amazonaws.chime#DeleteChannel" - }, - { - "target": "com.amazonaws.chime#DeleteChannelBan" - }, - { - "target": "com.amazonaws.chime#DeleteChannelMembership" - }, - { - "target": "com.amazonaws.chime#DeleteChannelMessage" - }, - { - "target": "com.amazonaws.chime#DeleteChannelModerator" - }, - { - "target": "com.amazonaws.chime#DeleteEventsConfiguration" - }, - { - "target": "com.amazonaws.chime#DeleteMediaCapturePipeline" - }, - { - "target": "com.amazonaws.chime#DeleteMeeting" - }, - { - "target": "com.amazonaws.chime#DeletePhoneNumber" - }, - { - "target": "com.amazonaws.chime#DeleteProxySession" - }, - { - "target": "com.amazonaws.chime#DeleteRoom" - }, - { - "target": "com.amazonaws.chime#DeleteRoomMembership" - }, - { - "target": "com.amazonaws.chime#DeleteSipMediaApplication" - }, - { - "target": "com.amazonaws.chime#DeleteSipRule" - }, - { - "target": "com.amazonaws.chime#DeleteVoiceConnector" - }, - { - "target": "com.amazonaws.chime#DeleteVoiceConnectorEmergencyCallingConfiguration" - }, - { - "target": "com.amazonaws.chime#DeleteVoiceConnectorGroup" - }, - { - "target": "com.amazonaws.chime#DeleteVoiceConnectorOrigination" - }, - { - "target": "com.amazonaws.chime#DeleteVoiceConnectorProxy" - }, - { - "target": "com.amazonaws.chime#DeleteVoiceConnectorStreamingConfiguration" - }, - { - "target": "com.amazonaws.chime#DeleteVoiceConnectorTermination" - }, - { - "target": "com.amazonaws.chime#DeleteVoiceConnectorTerminationCredentials" - }, - { - "target": "com.amazonaws.chime#DescribeAppInstance" - }, - { - "target": "com.amazonaws.chime#DescribeAppInstanceAdmin" - }, - { - "target": "com.amazonaws.chime#DescribeAppInstanceUser" - }, - { - "target": "com.amazonaws.chime#DescribeChannel" - }, - { - "target": "com.amazonaws.chime#DescribeChannelBan" - }, - { - "target": "com.amazonaws.chime#DescribeChannelMembership" - }, - { - "target": "com.amazonaws.chime#DescribeChannelMembershipForAppInstanceUser" - }, - { - "target": "com.amazonaws.chime#DescribeChannelModeratedByAppInstanceUser" - }, - { - "target": "com.amazonaws.chime#DescribeChannelModerator" - }, - { - "target": "com.amazonaws.chime#DisassociatePhoneNumberFromUser" - }, - { - "target": "com.amazonaws.chime#DisassociatePhoneNumbersFromVoiceConnector" - }, - { - "target": "com.amazonaws.chime#DisassociatePhoneNumbersFromVoiceConnectorGroup" - }, - { - "target": "com.amazonaws.chime#DisassociateSigninDelegateGroupsFromAccount" - }, - { - "target": "com.amazonaws.chime#GetAccount" - }, - { - "target": "com.amazonaws.chime#GetAccountSettings" - }, - { - "target": "com.amazonaws.chime#GetAppInstanceRetentionSettings" - }, - { - "target": "com.amazonaws.chime#GetAppInstanceStreamingConfigurations" - }, - { - "target": "com.amazonaws.chime#GetAttendee" - }, - { - "target": "com.amazonaws.chime#GetBot" - }, - { - "target": "com.amazonaws.chime#GetChannelMessage" - }, - { - "target": "com.amazonaws.chime#GetEventsConfiguration" - }, - { - "target": "com.amazonaws.chime#GetGlobalSettings" - }, - { - "target": "com.amazonaws.chime#GetMediaCapturePipeline" - }, - { - "target": "com.amazonaws.chime#GetMeeting" - }, - { - "target": "com.amazonaws.chime#GetMessagingSessionEndpoint" - }, - { - "target": "com.amazonaws.chime#GetPhoneNumber" - }, - { - "target": "com.amazonaws.chime#GetPhoneNumberOrder" - }, - { - "target": "com.amazonaws.chime#GetPhoneNumberSettings" - }, - { - "target": "com.amazonaws.chime#GetProxySession" - }, - { - "target": "com.amazonaws.chime#GetRetentionSettings" - }, - { - "target": "com.amazonaws.chime#GetRoom" - }, - { - "target": "com.amazonaws.chime#GetSipMediaApplication" - }, - { - "target": "com.amazonaws.chime#GetSipMediaApplicationLoggingConfiguration" - }, - { - "target": "com.amazonaws.chime#GetSipRule" - }, - { - "target": "com.amazonaws.chime#GetUser" - }, - { - "target": "com.amazonaws.chime#GetUserSettings" - }, - { - "target": "com.amazonaws.chime#GetVoiceConnector" - }, - { - "target": "com.amazonaws.chime#GetVoiceConnectorEmergencyCallingConfiguration" - }, - { - "target": "com.amazonaws.chime#GetVoiceConnectorGroup" - }, - { - "target": "com.amazonaws.chime#GetVoiceConnectorLoggingConfiguration" - }, - { - "target": "com.amazonaws.chime#GetVoiceConnectorOrigination" - }, - { - "target": "com.amazonaws.chime#GetVoiceConnectorProxy" - }, - { - "target": "com.amazonaws.chime#GetVoiceConnectorStreamingConfiguration" - }, - { - "target": "com.amazonaws.chime#GetVoiceConnectorTermination" - }, - { - "target": "com.amazonaws.chime#GetVoiceConnectorTerminationHealth" - }, - { - "target": "com.amazonaws.chime#InviteUsers" - }, - { - "target": "com.amazonaws.chime#ListAccounts" - }, - { - "target": "com.amazonaws.chime#ListAppInstanceAdmins" - }, - { - "target": "com.amazonaws.chime#ListAppInstances" - }, - { - "target": "com.amazonaws.chime#ListAppInstanceUsers" - }, - { - "target": "com.amazonaws.chime#ListAttendees" - }, - { - "target": "com.amazonaws.chime#ListAttendeeTags" - }, - { - "target": "com.amazonaws.chime#ListBots" - }, - { - "target": "com.amazonaws.chime#ListChannelBans" - }, - { - "target": "com.amazonaws.chime#ListChannelMemberships" - }, - { - "target": "com.amazonaws.chime#ListChannelMembershipsForAppInstanceUser" - }, - { - "target": "com.amazonaws.chime#ListChannelMessages" - }, - { - "target": "com.amazonaws.chime#ListChannelModerators" - }, - { - "target": "com.amazonaws.chime#ListChannels" - }, - { - "target": "com.amazonaws.chime#ListChannelsModeratedByAppInstanceUser" - }, - { - "target": "com.amazonaws.chime#ListMediaCapturePipelines" - }, - { - "target": "com.amazonaws.chime#ListMeetings" - }, - { - "target": "com.amazonaws.chime#ListMeetingTags" - }, - { - "target": "com.amazonaws.chime#ListPhoneNumberOrders" - }, - { - "target": "com.amazonaws.chime#ListPhoneNumbers" - }, - { - "target": "com.amazonaws.chime#ListProxySessions" - }, - { - "target": "com.amazonaws.chime#ListRoomMemberships" - }, - { - "target": "com.amazonaws.chime#ListRooms" - }, - { - "target": "com.amazonaws.chime#ListSipMediaApplications" - }, - { - "target": "com.amazonaws.chime#ListSipRules" - }, - { - "target": "com.amazonaws.chime#ListSupportedPhoneNumberCountries" - }, - { - "target": "com.amazonaws.chime#ListTagsForResource" - }, - { - "target": "com.amazonaws.chime#ListUsers" - }, - { - "target": "com.amazonaws.chime#ListVoiceConnectorGroups" - }, - { - "target": "com.amazonaws.chime#ListVoiceConnectors" - }, - { - "target": "com.amazonaws.chime#ListVoiceConnectorTerminationCredentials" - }, - { - "target": "com.amazonaws.chime#LogoutUser" - }, - { - "target": "com.amazonaws.chime#PutAppInstanceRetentionSettings" - }, - { - "target": "com.amazonaws.chime#PutAppInstanceStreamingConfigurations" - }, - { - "target": "com.amazonaws.chime#PutEventsConfiguration" - }, - { - "target": "com.amazonaws.chime#PutRetentionSettings" - }, - { - "target": "com.amazonaws.chime#PutSipMediaApplicationLoggingConfiguration" - }, - { - "target": "com.amazonaws.chime#PutVoiceConnectorEmergencyCallingConfiguration" - }, - { - "target": "com.amazonaws.chime#PutVoiceConnectorLoggingConfiguration" - }, - { - "target": "com.amazonaws.chime#PutVoiceConnectorOrigination" - }, - { - "target": "com.amazonaws.chime#PutVoiceConnectorProxy" - }, - { - "target": "com.amazonaws.chime#PutVoiceConnectorStreamingConfiguration" - }, - { - "target": "com.amazonaws.chime#PutVoiceConnectorTermination" - }, - { - "target": "com.amazonaws.chime#PutVoiceConnectorTerminationCredentials" - }, - { - "target": "com.amazonaws.chime#RedactChannelMessage" - }, - { - "target": "com.amazonaws.chime#RedactConversationMessage" - }, - { - "target": "com.amazonaws.chime#RedactRoomMessage" - }, - { - "target": "com.amazonaws.chime#RegenerateSecurityToken" - }, - { - "target": "com.amazonaws.chime#ResetPersonalPIN" - }, - { - "target": "com.amazonaws.chime#RestorePhoneNumber" - }, - { - "target": "com.amazonaws.chime#SearchAvailablePhoneNumbers" - }, - { - "target": "com.amazonaws.chime#SendChannelMessage" - }, - { - "target": "com.amazonaws.chime#StartMeetingTranscription" - }, - { - "target": "com.amazonaws.chime#StopMeetingTranscription" - }, - { - "target": "com.amazonaws.chime#TagAttendee" - }, - { - "target": "com.amazonaws.chime#TagMeeting" - }, - { - "target": "com.amazonaws.chime#TagResource" - }, - { - "target": "com.amazonaws.chime#UntagAttendee" - }, - { - "target": "com.amazonaws.chime#UntagMeeting" - }, - { - "target": "com.amazonaws.chime#UntagResource" - }, - { - "target": "com.amazonaws.chime#UpdateAccount" - }, - { - "target": "com.amazonaws.chime#UpdateAccountSettings" - }, - { - "target": "com.amazonaws.chime#UpdateAppInstance" - }, - { - "target": "com.amazonaws.chime#UpdateAppInstanceUser" - }, - { - "target": "com.amazonaws.chime#UpdateBot" - }, - { - "target": "com.amazonaws.chime#UpdateChannel" - }, - { - "target": "com.amazonaws.chime#UpdateChannelMessage" - }, - { - "target": "com.amazonaws.chime#UpdateChannelReadMarker" - }, - { - "target": "com.amazonaws.chime#UpdateGlobalSettings" - }, - { - "target": "com.amazonaws.chime#UpdatePhoneNumber" - }, - { - "target": "com.amazonaws.chime#UpdatePhoneNumberSettings" - }, - { - "target": "com.amazonaws.chime#UpdateProxySession" - }, - { - "target": "com.amazonaws.chime#UpdateRoom" - }, - { - "target": "com.amazonaws.chime#UpdateRoomMembership" - }, - { - "target": "com.amazonaws.chime#UpdateSipMediaApplication" - }, - { - "target": "com.amazonaws.chime#UpdateSipMediaApplicationCall" - }, - { - "target": "com.amazonaws.chime#UpdateSipRule" - }, - { - "target": "com.amazonaws.chime#UpdateUser" - }, - { - "target": "com.amazonaws.chime#UpdateUserSettings" - }, - { - "target": "com.amazonaws.chime#UpdateVoiceConnector" - }, - { - "target": "com.amazonaws.chime#UpdateVoiceConnectorGroup" - }, - { - "target": "com.amazonaws.chime#ValidateE911Address" - } - ], - "traits": { - "aws.api#service": { - "sdkId": "Chime", - "arnNamespace": "chime", - "cloudFormationName": "Chime", - "cloudTrailEventSource": "chime.amazonaws.com", - "endpointPrefix": "chime" - }, - "aws.auth#sigv4": { - "name": "chime" - }, - "aws.protocols#restJson1": {}, - "smithy.api#deprecated": { - "message": "This namespace has been deprecated" - }, - "smithy.api#documentation": "\n

\n Most of these APIs are no longer supported and will not be updated. We recommend using the latest versions in the \n Amazon Chime SDK API reference, in the Amazon Chime SDK.

\n

Using the latest versions requires migrating to dedicated namespaces. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
\n

The Amazon Chime application programming interface (API) is designed so administrators can\n perform key tasks, such as creating and managing Amazon Chime accounts, users, and Voice\n Connectors. This guide provides detailed information about the Amazon Chime API,\n including operations, types, inputs and outputs, and error codes.

\n

You can use an AWS SDK, the AWS Command Line Interface (AWS CLI), or the REST API to make API calls for Amazon Chime. We recommend using an AWS SDK or the \n AWS CLI. The page for each API action contains a See Also section that includes links to information about using the action with a language-specific \n AWS SDK or the AWS CLI.

\n
\n
Using an AWS SDK
\n
\n

\n You don't need to write code to calculate a signature for request authentication. The SDK clients authenticate your requests by using access keys that you provide. For more information about AWS SDKs, see the \n AWS Developer Center.\n

\n
\n
Using the AWS CLI
\n
\n

Use your access keys with the AWS CLI to make API calls. For information about setting up the AWS CLI, see \n Installing the AWS Command Line Interface\n in the AWS Command Line Interface User Guide. For a list of available Amazon Chime commands, see the \n Amazon Chime commands in the \n AWS CLI Command Reference.\n

\n
\n
Using REST APIs
\n
\n

If you use REST to make API calls, you must authenticate your request by providing a signature. Amazon Chime supports Signature Version 4. For more information, see \n Signature Version 4 Signing Process\n in the Amazon Web Services General Reference.

\n

When making REST API calls, use the service name chime and REST endpoint https://service.chime.aws.amazon.com.

\n
\n
\n

Administrative permissions are controlled using AWS Identity and Access Management (IAM). For more information, see \n Identity and Access Management for Amazon Chime\n in the Amazon Chime Administration Guide.

", - "smithy.api#title": "Amazon Chime", - "smithy.rules#endpointRuleSet": { - "version": "1.0", - "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "String" - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "default": false, - "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", - "type": "Boolean" - }, - "UseFIPS": { - "builtIn": "AWS::UseFIPS", - "required": true, - "default": false, - "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", - "type": "Boolean" - }, - "Endpoint": { - "builtIn": "SDK::Endpoint", - "required": false, - "documentation": "Override the endpoint used to send this request", - "type": "String" - } - }, - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Endpoint" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Region" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - }, - "aws" - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - false - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - false - ] - } - ], - "endpoint": { - "url": "https://chime.us-east-1.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "chime", - "signingRegion": "us-east-1" - } - ] - }, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - }, - true - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://chime-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://chime.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [], - "endpoint": { - "url": "https://chime.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" - } - ] - }, - "smithy.rules#endpointTests": { - "testCases": [ - { - "documentation": "For region aws-global with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "chime", - "signingRegion": "us-east-1" - } - ] - }, - "url": "https://chime.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "aws-global", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://chime-fips.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://chime-fips.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://chime.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "chime", - "signingRegion": "us-east-1" - } - ] - }, - "url": "https://chime.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://chime-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://chime-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://chime.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://chime.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://chime-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://chime-fips.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://chime.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://chime.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://chime-fips.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://chime.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://chime-fips.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://chime.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", - "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", - "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "Missing region", - "expect": { - "error": "Invalid Configuration: Missing Region" - } - } - ], - "version": "1.0" - } - } - }, - "com.amazonaws.chime#UnauthorizedClientException": { - "type": "structure", - "members": { - "Code": { - "target": "com.amazonaws.chime#ErrorCode" - }, - "Message": { - "target": "com.amazonaws.chime#String" - } - }, - "traits": { - "smithy.api#documentation": "

The client is not currently authorized to make the request.

", - "smithy.api#error": "client", - "smithy.api#httpError": 401 - } - }, - "com.amazonaws.chime#UnprocessableEntityException": { - "type": "structure", - "members": { - "Code": { - "target": "com.amazonaws.chime#ErrorCode" - }, - "Message": { - "target": "com.amazonaws.chime#String" - } - }, - "traits": { - "smithy.api#documentation": "

The request was well-formed but was unable to be followed due to semantic errors.

", - "smithy.api#error": "client", - "smithy.api#httpError": 422 - } - }, - "com.amazonaws.chime#UntagAttendee": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#UntagAttendeeRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Attendee Tags are not supported in the Amazon Chime SDK Meetings Namespace. Update your application to remove calls to this API." - }, - "smithy.api#documentation": "

Untags the specified tags from the specified Amazon Chime SDK attendee.

\n \n

UntagAttendee is not supported in the Amazon Chime SDK Meetings Namespace. Update your application to remove calls to this API.

\n
", - "smithy.api#http": { - "method": "POST", - "uri": "/meetings/{MeetingId}/attendees/{AttendeeId}/tags?operation=delete", - "code": 204 - } - } - }, - "com.amazonaws.chime#UntagAttendeeRequest": { - "type": "structure", - "members": { - "MeetingId": { - "target": "com.amazonaws.chime#GuidString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK meeting ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "AttendeeId": { - "target": "com.amazonaws.chime#GuidString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK attendee ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "TagKeys": { - "target": "com.amazonaws.chime#AttendeeTagKeyList", - "traits": { - "smithy.api#documentation": "

The tag keys.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#UntagMeeting": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#UntagMeetingRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Use UntagResource in the Amazon Chime SDK Meetings Namespace." - }, - "smithy.api#documentation": "

Untags the specified tags from the specified Amazon Chime SDK meeting.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, UntagResource, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "POST", - "uri": "/meetings/{MeetingId}/tags?operation=delete", - "code": 204 - } - } - }, - "com.amazonaws.chime#UntagMeetingRequest": { - "type": "structure", - "members": { - "MeetingId": { - "target": "com.amazonaws.chime#GuidString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime SDK meeting ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "TagKeys": { - "target": "com.amazonaws.chime#MeetingTagKeyList", - "traits": { - "smithy.api#documentation": "

The tag keys.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#UntagResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#UntagResourceRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by UntagResource in the Amazon Chime SDK Voice, Amazon Chime SDK Meetings, Amazon Chime SDK Identity, Amazon Chime SDK Messaging, and Amazon Chime SDK Media Pipelines Namespaces" - }, - "smithy.api#documentation": "

Untags the specified tags from the specified Amazon Chime SDK meeting resource.

\n

Applies the specified tags to the specified Amazon Chime SDK meeting resource.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, UntagResource, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "POST", - "uri": "/tags?operation=untag-resource", - "code": 204 - } - } - }, - "com.amazonaws.chime#UntagResourceRequest": { - "type": "structure", - "members": { - "ResourceARN": { - "target": "com.amazonaws.chime#Arn", - "traits": { - "smithy.api#documentation": "

The resource ARN.

", - "smithy.api#required": {} - } - }, - "TagKeys": { - "target": "com.amazonaws.chime#TagKeyList", - "traits": { - "smithy.api#documentation": "

The tag keys.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#UpdateAccount": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#UpdateAccountRequest" - }, - "output": { - "target": "com.amazonaws.chime#UpdateAccountResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Updates account details for the specified Amazon Chime account. Currently, only account name and default license updates are supported for this action.

", - "smithy.api#http": { - "method": "POST", - "uri": "/accounts/{AccountId}", - "code": 200 - } - } - }, - "com.amazonaws.chime#UpdateAccountRequest": { - "type": "structure", - "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Name": { - "target": "com.amazonaws.chime#AccountName", - "traits": { - "smithy.api#documentation": "

The new name for the specified Amazon Chime account.

" - } - }, - "DefaultLicense": { - "target": "com.amazonaws.chime#License", - "traits": { - "smithy.api#documentation": "

The default license applied when you add users to an Amazon Chime account.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#UpdateAccountResponse": { - "type": "structure", - "members": { - "Account": { - "target": "com.amazonaws.chime#Account", - "traits": { - "smithy.api#documentation": "

The updated Amazon Chime account details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#UpdateAccountSettings": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#UpdateAccountSettingsRequest" - }, - "output": { - "target": "com.amazonaws.chime#UpdateAccountSettingsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ConflictException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Updates the settings for the specified Amazon Chime account. You can update settings for\n remote control of shared screens, or for the dial-out option. For more information about\n these settings, see Use\n the Policies Page in the Amazon Chime Administration\n Guide.

", - "smithy.api#http": { - "method": "PUT", - "uri": "/accounts/{AccountId}/settings", - "code": 204 - } - } - }, - "com.amazonaws.chime#UpdateAccountSettingsRequest": { - "type": "structure", - "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "AccountSettings": { - "target": "com.amazonaws.chime#AccountSettings", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account settings to update.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#UpdateAccountSettingsResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#UpdateAppInstance": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#UpdateAppInstanceRequest" - }, - "output": { - "target": "com.amazonaws.chime#UpdateAppInstanceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ConflictException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by UpdateAppInstance in the Amazon Chime SDK Identity Namespace" - }, - "smithy.api#documentation": "

Updates AppInstance metadata.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, UpdateAppInstance, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "identity-" - }, - "smithy.api#http": { - "method": "PUT", - "uri": "/app-instances/{AppInstanceArn}", - "code": 200 - } - } - }, - "com.amazonaws.chime#UpdateAppInstanceRequest": { - "type": "structure", - "members": { - "AppInstanceArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the AppInstance.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Name": { - "target": "com.amazonaws.chime#NonEmptyResourceName", - "traits": { - "smithy.api#documentation": "

The name that you want to change.

", - "smithy.api#required": {} - } - }, - "Metadata": { - "target": "com.amazonaws.chime#Metadata", - "traits": { - "smithy.api#documentation": "

The metadata that you want to change.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#UpdateAppInstanceResponse": { - "type": "structure", - "members": { - "AppInstanceArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the AppInstance.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#UpdateAppInstanceUser": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#UpdateAppInstanceUserRequest" - }, - "output": { - "target": "com.amazonaws.chime#UpdateAppInstanceUserResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ConflictException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by UpdateAppInstanceUser in the Amazon Chime SDK Identity Namespace" - }, - "smithy.api#documentation": "

Updates the details of an AppInstanceUser. You can update names and metadata.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, UpdateAppInstanceUser, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "identity-" - }, - "smithy.api#http": { - "method": "PUT", - "uri": "/app-instance-users/{AppInstanceUserArn}", - "code": 200 - } - } - }, - "com.amazonaws.chime#UpdateAppInstanceUserRequest": { - "type": "structure", - "members": { - "AppInstanceUserArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the AppInstanceUser.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Name": { - "target": "com.amazonaws.chime#UserName", - "traits": { - "smithy.api#documentation": "

The name of the AppInstanceUser.

", - "smithy.api#required": {} - } - }, - "Metadata": { - "target": "com.amazonaws.chime#Metadata", - "traits": { - "smithy.api#documentation": "

The metadata of the AppInstanceUser.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#UpdateAppInstanceUserResponse": { - "type": "structure", - "members": { - "AppInstanceUserArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the AppInstanceUser.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#UpdateBot": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#UpdateBotRequest" - }, - "output": { - "target": "com.amazonaws.chime#UpdateBotResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Updates the status of the specified bot, such as starting or stopping the bot from running in your Amazon Chime Enterprise account.

", - "smithy.api#http": { - "method": "POST", - "uri": "/accounts/{AccountId}/bots/{BotId}", - "code": 200 - } - } - }, - "com.amazonaws.chime#UpdateBotRequest": { - "type": "structure", - "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "BotId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The bot ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Disabled": { - "target": "com.amazonaws.chime#NullableBoolean", - "traits": { - "smithy.api#documentation": "

When true, stops the specified bot from running in your account.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#UpdateBotResponse": { - "type": "structure", - "members": { - "Bot": { - "target": "com.amazonaws.chime#Bot", - "traits": { - "smithy.api#documentation": "

The updated bot details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#UpdateChannel": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#UpdateChannelRequest" - }, - "output": { - "target": "com.amazonaws.chime#UpdateChannelResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ConflictException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by UpdateChannel in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

Update a channel's attributes.

\n

\n Restriction: You can't change a channel's privacy.

\n \n

The x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, UpdateChannel, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, - "smithy.api#http": { - "method": "PUT", - "uri": "/channels/{ChannelArn}", - "code": 200 - } - } - }, - "com.amazonaws.chime#UpdateChannelMessage": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#UpdateChannelMessageRequest" - }, - "output": { - "target": "com.amazonaws.chime#UpdateChannelMessageResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ConflictException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by UpdateChannelMessage in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

Updates the content of a message.

\n \n

The x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, UpdateChannelMessage, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, - "smithy.api#http": { - "method": "PUT", - "uri": "/channels/{ChannelArn}/messages/{MessageId}", - "code": 200 - } - } - }, - "com.amazonaws.chime#UpdateChannelMessageRequest": { - "type": "structure", - "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MessageId": { - "target": "com.amazonaws.chime#MessageId", - "traits": { - "smithy.api#documentation": "

The ID string of the message being updated.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Content": { - "target": "com.amazonaws.chime#Content", - "traits": { - "smithy.api#documentation": "

The content of the message being updated.

" - } - }, - "Metadata": { - "target": "com.amazonaws.chime#Metadata", - "traits": { - "smithy.api#documentation": "

The metadata of the message being updated.

" - } - }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#UpdateChannelMessageResponse": { - "type": "structure", - "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel.

" - } - }, - "MessageId": { - "target": "com.amazonaws.chime#MessageId", - "traits": { - "smithy.api#documentation": "

The ID string of the message being updated.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#UpdateChannelReadMarker": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#UpdateChannelReadMarkerRequest" - }, - "output": { - "target": "com.amazonaws.chime#UpdateChannelReadMarkerResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ConflictException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by UpdateChannelReadMarker in the Amazon Chime SDK Messaging Namespace" - }, - "smithy.api#documentation": "

The details of the time when a user last read messages in a channel.

\n \n

The x-amz-chime-bearer request header is mandatory. Use the\n AppInstanceUserArn of the user that makes the API call as the value in\n the header.

\n
\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, UpdateChannelReadMarker, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#endpoint": { - "hostPrefix": "messaging-" - }, - "smithy.api#http": { - "method": "PUT", - "uri": "/channels/{ChannelArn}/readMarker", - "code": 200 - } - } - }, - "com.amazonaws.chime#UpdateChannelReadMarkerRequest": { - "type": "structure", - "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#UpdateChannelReadMarkerResponse": { - "type": "structure", - "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#UpdateChannelRequest": { - "type": "structure", - "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Name": { - "target": "com.amazonaws.chime#NonEmptyResourceName", - "traits": { - "smithy.api#documentation": "

The name of the channel.

", - "smithy.api#required": {} - } - }, - "Mode": { - "target": "com.amazonaws.chime#ChannelMode", - "traits": { - "smithy.api#documentation": "

The mode of the update request.

", - "smithy.api#required": {} - } - }, - "Metadata": { - "target": "com.amazonaws.chime#Metadata", - "traits": { - "smithy.api#documentation": "

The metadata for the update request.

" - } - }, - "ChimeBearer": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The AppInstanceUserArn of the user that makes the API call.

", - "smithy.api#httpHeader": "x-amz-chime-bearer" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#UpdateChannelResponse": { - "type": "structure", - "members": { - "ChannelArn": { - "target": "com.amazonaws.chime#ChimeArn", - "traits": { - "smithy.api#documentation": "

The ARN of the channel.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#UpdateGlobalSettings": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#UpdateGlobalSettingsRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Updates global settings for the administrator's AWS account, such as Amazon Chime Business Calling and Amazon Chime Voice Connector settings.

", - "smithy.api#http": { - "method": "PUT", - "uri": "/settings", - "code": 204 - } - } - }, - "com.amazonaws.chime#UpdateGlobalSettingsRequest": { - "type": "structure", - "members": { - "BusinessCalling": { - "target": "com.amazonaws.chime#BusinessCallingSettings", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Business Calling settings.

" - } - }, - "VoiceConnector": { - "target": "com.amazonaws.chime#VoiceConnectorSettings", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector settings.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#UpdatePhoneNumber": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#UpdatePhoneNumberRequest" - }, - "output": { - "target": "com.amazonaws.chime#UpdatePhoneNumberResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ConflictException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Updates phone number details, such as product type or calling name, for the specified phone number ID. You can update one phone number detail at a time. For example, you can update either the product type or the calling name in one action.

\n

For toll-free numbers, you cannot use the Amazon Chime Business Calling product type. For numbers outside the U.S., you must use the Amazon Chime SIP Media Application Dial-In product type.

\n

Updates to outbound calling names can take 72 hours to complete. Pending updates to outbound calling names must be complete before you can request another update.

", - "smithy.api#http": { - "method": "POST", - "uri": "/phone-numbers/{PhoneNumberId}", - "code": 200 - } - } - }, - "com.amazonaws.chime#UpdatePhoneNumberRequest": { - "type": "structure", - "members": { - "PhoneNumberId": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The phone number ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "ProductType": { - "target": "com.amazonaws.chime#PhoneNumberProductType", - "traits": { - "smithy.api#documentation": "

The product type.

" - } - }, - "CallingName": { - "target": "com.amazonaws.chime#CallingName", - "traits": { - "smithy.api#documentation": "

The outbound calling name associated with the phone number.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#UpdatePhoneNumberRequestItem": { - "type": "structure", - "members": { - "PhoneNumberId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The phone number ID to update.

", - "smithy.api#required": {} - } - }, - "ProductType": { - "target": "com.amazonaws.chime#PhoneNumberProductType", - "traits": { - "smithy.api#documentation": "

The product type to update.

" - } - }, - "CallingName": { - "target": "com.amazonaws.chime#CallingName", - "traits": { - "smithy.api#documentation": "

The outbound calling name to update.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The phone number ID, product type, or calling name fields to update, used with the \nBatchUpdatePhoneNumber and UpdatePhoneNumber actions.

" - } - }, - "com.amazonaws.chime#UpdatePhoneNumberRequestItemList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#UpdatePhoneNumberRequestItem" - } - }, - "com.amazonaws.chime#UpdatePhoneNumberResponse": { - "type": "structure", - "members": { - "PhoneNumber": { - "target": "com.amazonaws.chime#PhoneNumber", - "traits": { - "smithy.api#documentation": "

The updated phone number details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#UpdatePhoneNumberSettings": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#UpdatePhoneNumberSettingsRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#documentation": "

Updates the phone number settings for the administrator's AWS account, such as the default\n outbound calling name. You can update the default outbound calling name once every seven\n days. Outbound calling names can take up to 72 hours to update.

", - "smithy.api#http": { - "method": "PUT", - "uri": "/settings/phone-number", - "code": 204 - } - } - }, - "com.amazonaws.chime#UpdatePhoneNumberSettingsRequest": { - "type": "structure", - "members": { - "CallingName": { - "target": "com.amazonaws.chime#CallingName", - "traits": { - "smithy.api#documentation": "

The default outbound calling name for the account.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#UpdateProxySession": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#UpdateProxySessionRequest" - }, - "output": { - "target": "com.amazonaws.chime#UpdateProxySessionResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" - }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Replaced by UpdateProxySession in the Amazon Chime SDK Voice Namespace" + "smithy.api#documentation": "\n

\n Most of these APIs are no longer supported and will not be updated. We recommend using the latest versions in the \n Amazon Chime SDK API reference, in the Amazon Chime SDK.

\n

Using the latest versions requires migrating to dedicated namespaces. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
\n

The Amazon Chime application programming interface (API) is designed so administrators can\n perform key tasks, such as creating and managing Amazon Chime accounts, users, and Voice\n Connectors. This guide provides detailed information about the Amazon Chime API,\n including operations, types, inputs and outputs, and error codes.

\n

You can use an AWS SDK, the AWS Command Line Interface (AWS CLI), or the REST API to make API calls for Amazon Chime. We recommend using an AWS SDK or the \n AWS CLI. The page for each API action contains a See Also section that includes links to information about using the action with a language-specific \n AWS SDK or the AWS CLI.

\n
\n
Using an AWS SDK
\n
\n

\n You don't need to write code to calculate a signature for request authentication. The SDK clients authenticate your requests by using access keys that you provide. For more information about AWS SDKs, see the \n AWS Developer Center.\n

\n
\n
Using the AWS CLI
\n
\n

Use your access keys with the AWS CLI to make API calls. For information about setting up the AWS CLI, see \n Installing the AWS Command Line Interface\n in the AWS Command Line Interface User Guide. For a list of available Amazon Chime commands, see the \n Amazon Chime commands in the \n AWS CLI Command Reference.\n

\n
\n
Using REST APIs
\n
\n

If you use REST to make API calls, you must authenticate your request by providing a signature. Amazon Chime supports Signature Version 4. For more information, see \n Signature Version 4 Signing Process\n in the Amazon Web Services General Reference.

\n

When making REST API calls, use the service name chime and REST endpoint https://service.chime.aws.amazon.com.

\n
\n
\n

Administrative permissions are controlled using AWS Identity and Access Management (IAM). For more information, see \n Identity and Access Management for Amazon Chime\n in the Amazon Chime Administration Guide.

", + "smithy.api#title": "Amazon Chime", + "smithy.rules#endpointRuleSet": { + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + }, + "aws" + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + false + ] + } + ], + "endpoint": { + "url": "https://chime.us-east-1.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "chime", + "signingRegion": "us-east-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + }, + true + ] + } + ], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://chime-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://chime.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [], + "endpoint": { + "url": "https://chime.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" + } + ] }, - "smithy.api#documentation": "

Updates the specified proxy session details, such as voice or SMS capabilities.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, UpdateProxySession, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "POST", - "uri": "/voice-connectors/{VoiceConnectorId}/proxy-sessions/{ProxySessionId}", - "code": 201 + "smithy.rules#endpointTests": { + "testCases": [ + { + "documentation": "For region aws-global with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "chime", + "signingRegion": "us-east-1" + } + ] + }, + "url": "https://chime.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "aws-global", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://chime-fips.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://chime-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://chime.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "chime", + "signingRegion": "us-east-1" + } + ] + }, + "url": "https://chime.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://chime-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://chime-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://chime.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://chime.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://chime-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://chime-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://chime.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://chime.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://chime-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://chime.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://chime-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://chime.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } + } + ], + "version": "1.0" } } }, - "com.amazonaws.chime#UpdateProxySessionRequest": { + "com.amazonaws.chime#UnauthorizedClientException": { "type": "structure", "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString128", - "traits": { - "smithy.api#documentation": "

The Amazon Chime voice connector ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "ProxySessionId": { - "target": "com.amazonaws.chime#NonEmptyString128", - "traits": { - "smithy.api#documentation": "

The proxy session ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Capabilities": { - "target": "com.amazonaws.chime#CapabilityList", - "traits": { - "smithy.api#documentation": "

The proxy session capabilities.

", - "smithy.api#required": {} - } + "Code": { + "target": "com.amazonaws.chime#ErrorCode" }, - "ExpiryMinutes": { - "target": "com.amazonaws.chime#PositiveInteger", - "traits": { - "smithy.api#documentation": "

The number of minutes allowed for the proxy session.

" - } + "Message": { + "target": "com.amazonaws.chime#String" } }, "traits": { - "smithy.api#input": {} + "smithy.api#documentation": "

The client is not currently authorized to make the request.

", + "smithy.api#error": "client", + "smithy.api#httpError": 401 } }, - "com.amazonaws.chime#UpdateProxySessionResponse": { + "com.amazonaws.chime#UnprocessableEntityException": { "type": "structure", "members": { - "ProxySession": { - "target": "com.amazonaws.chime#ProxySession", - "traits": { - "smithy.api#documentation": "

The proxy session details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#UpdateRoom": { - "type": "operation", - "input": { - "target": "com.amazonaws.chime#UpdateRoomRequest" - }, - "output": { - "target": "com.amazonaws.chime#UpdateRoomResponse" - }, - "errors": [ - { - "target": "com.amazonaws.chime#BadRequestException" - }, - { - "target": "com.amazonaws.chime#ForbiddenException" - }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ServiceFailureException" - }, - { - "target": "com.amazonaws.chime#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.chime#ThrottledClientException" + "Code": { + "target": "com.amazonaws.chime#ErrorCode" }, - { - "target": "com.amazonaws.chime#UnauthorizedClientException" + "Message": { + "target": "com.amazonaws.chime#String" } - ], + }, "traits": { - "smithy.api#documentation": "

Updates room details, such as the room name, for a room in an Amazon Chime Enterprise account.

", - "smithy.api#http": { - "method": "POST", - "uri": "/accounts/{AccountId}/rooms/{RoomId}", - "code": 200 - } + "smithy.api#documentation": "

The request was well-formed but was unable to be followed due to semantic errors.

", + "smithy.api#error": "client", + "smithy.api#httpError": 422 } }, - "com.amazonaws.chime#UpdateRoomMembership": { + "com.amazonaws.chime#UpdateAccount": { "type": "operation", "input": { - "target": "com.amazonaws.chime#UpdateRoomMembershipRequest" + "target": "com.amazonaws.chime#UpdateAccountRequest" }, "output": { - "target": "com.amazonaws.chime#UpdateRoomMembershipResponse" + "target": "com.amazonaws.chime#UpdateAccountResponse" }, "errors": [ { @@ -21429,67 +6828,15 @@ } ], "traits": { - "smithy.api#documentation": "

Updates room membership details, such as the member role, for a room in an Amazon Chime\n Enterprise account. The member role designates whether the member is a chat room\n administrator or a general chat room member. The member role can be updated only for\n user IDs.

", + "smithy.api#documentation": "

Updates account details for the specified Amazon Chime account. Currently, only account name and default license updates are supported for this action.

", "smithy.api#http": { "method": "POST", - "uri": "/accounts/{AccountId}/rooms/{RoomId}/memberships/{MemberId}", + "uri": "/accounts/{AccountId}", "code": 200 } } }, - "com.amazonaws.chime#UpdateRoomMembershipRequest": { - "type": "structure", - "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "RoomId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The room ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MemberId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The member ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Role": { - "target": "com.amazonaws.chime#RoomMembershipRole", - "traits": { - "smithy.api#documentation": "

The role of the member.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#UpdateRoomMembershipResponse": { - "type": "structure", - "members": { - "RoomMembership": { - "target": "com.amazonaws.chime#RoomMembership", - "traits": { - "smithy.api#documentation": "

The room membership details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#UpdateRoomRequest": { + "com.amazonaws.chime#UpdateAccountRequest": { "type": "structure", "members": { "AccountId": { @@ -21500,18 +6847,16 @@ "smithy.api#required": {} } }, - "RoomId": { - "target": "com.amazonaws.chime#NonEmptyString", + "Name": { + "target": "com.amazonaws.chime#AccountName", "traits": { - "smithy.api#documentation": "

The room ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

The new name for the specified Amazon Chime account.

" } }, - "Name": { - "target": "com.amazonaws.chime#SensitiveString", + "DefaultLicense": { + "target": "com.amazonaws.chime#License", "traits": { - "smithy.api#documentation": "

The room name.

" + "smithy.api#documentation": "

The default license applied when you add users to an Amazon Chime account.

" } } }, @@ -21519,13 +6864,13 @@ "smithy.api#input": {} } }, - "com.amazonaws.chime#UpdateRoomResponse": { + "com.amazonaws.chime#UpdateAccountResponse": { "type": "structure", "members": { - "Room": { - "target": "com.amazonaws.chime#Room", + "Account": { + "target": "com.amazonaws.chime#Account", "traits": { - "smithy.api#documentation": "

The room details.

" + "smithy.api#documentation": "

The updated Amazon Chime account details.

" } } }, @@ -21533,13 +6878,13 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#UpdateSipMediaApplication": { + "com.amazonaws.chime#UpdateAccountSettings": { "type": "operation", "input": { - "target": "com.amazonaws.chime#UpdateSipMediaApplicationRequest" + "target": "com.amazonaws.chime#UpdateAccountSettingsRequest" }, "output": { - "target": "com.amazonaws.chime#UpdateSipMediaApplicationResponse" + "target": "com.amazonaws.chime#UpdateAccountSettingsResponse" }, "errors": [ { @@ -21568,24 +6913,51 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by UpdateSipMediaApplication in the Amazon Chime SDK Voice Namespace" + "smithy.api#documentation": "

Updates the settings for the specified Amazon Chime account. You can update settings for\n remote control of shared screens, or for the dial-out option. For more information about\n these settings, see Use\n the Policies Page in the Amazon Chime Administration\n Guide.

", + "smithy.api#http": { + "method": "PUT", + "uri": "/accounts/{AccountId}/settings", + "code": 204 + } + } + }, + "com.amazonaws.chime#UpdateAccountSettingsRequest": { + "type": "structure", + "members": { + "AccountId": { + "target": "com.amazonaws.chime#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The Amazon Chime account ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } }, - "smithy.api#documentation": "

Updates the details of the specified SIP media application.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, UpdateSipMediaApplication, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", - "smithy.api#http": { - "method": "PUT", - "uri": "/sip-media-applications/{SipMediaApplicationId}", - "code": 200 + "AccountSettings": { + "target": "com.amazonaws.chime#AccountSettings", + "traits": { + "smithy.api#documentation": "

The Amazon Chime account settings to update.

", + "smithy.api#required": {} + } } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.chime#UpdateAccountSettingsResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} } }, - "com.amazonaws.chime#UpdateSipMediaApplicationCall": { + "com.amazonaws.chime#UpdateBot": { "type": "operation", "input": { - "target": "com.amazonaws.chime#UpdateSipMediaApplicationCallRequest" + "target": "com.amazonaws.chime#UpdateBotRequest" }, "output": { - "target": "com.amazonaws.chime#UpdateSipMediaApplicationCallResponse" + "target": "com.amazonaws.chime#UpdateBotResponse" }, "errors": [ { @@ -21597,9 +6969,6 @@ { "target": "com.amazonaws.chime#NotFoundException" }, - { - "target": "com.amazonaws.chime#ResourceLimitExceededException" - }, { "target": "com.amazonaws.chime#ServiceFailureException" }, @@ -21614,83 +6983,37 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by UpdateSipMediaApplicationCall in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Invokes the AWS Lambda function associated with the SIP media application and transaction ID in an update request. \n The Lambda function can then return a new set of actions.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, UpdateSipMediaApplicationCall, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", + "smithy.api#documentation": "

Updates the status of the specified bot, such as starting or stopping the bot from running in your Amazon Chime Enterprise account.

", "smithy.api#http": { "method": "POST", - "uri": "/sip-media-applications/{SipMediaApplicationId}/calls/{TransactionId}", - "code": 202 + "uri": "/accounts/{AccountId}/bots/{BotId}", + "code": 200 } } }, - "com.amazonaws.chime#UpdateSipMediaApplicationCallRequest": { + "com.amazonaws.chime#UpdateBotRequest": { "type": "structure", "members": { - "SipMediaApplicationId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The ID of the SIP media application handling the call.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "TransactionId": { + "AccountId": { "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The ID of the call transaction.

", + "smithy.api#documentation": "

The Amazon Chime account ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "Arguments": { - "target": "com.amazonaws.chime#SMAUpdateCallArgumentsMap", - "traits": { - "smithy.api#documentation": "

Arguments made available to the Lambda function as part of the CALL_UPDATE_REQUESTED event. Can contain 0-20 key-value pairs.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.chime#UpdateSipMediaApplicationCallResponse": { - "type": "structure", - "members": { - "SipMediaApplicationCall": { - "target": "com.amazonaws.chime#SipMediaApplicationCall", - "traits": { - "smithy.api#documentation": "

A Call instance for a SIP media application.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#UpdateSipMediaApplicationRequest": { - "type": "structure", - "members": { - "SipMediaApplicationId": { + "BotId": { "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The SIP media application ID.

", + "smithy.api#documentation": "

The bot ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "Name": { - "target": "com.amazonaws.chime#SipMediaApplicationName", - "traits": { - "smithy.api#documentation": "

The new name for the specified SIP media application.

" - } - }, - "Endpoints": { - "target": "com.amazonaws.chime#SipMediaApplicationEndpointList", + "Disabled": { + "target": "com.amazonaws.chime#NullableBoolean", "traits": { - "smithy.api#documentation": "

The new set of endpoints for the specified SIP media application.

" + "smithy.api#documentation": "

When true, stops the specified bot from running in your account.

" } } }, @@ -21698,13 +7021,13 @@ "smithy.api#input": {} } }, - "com.amazonaws.chime#UpdateSipMediaApplicationResponse": { + "com.amazonaws.chime#UpdateBotResponse": { "type": "structure", "members": { - "SipMediaApplication": { - "target": "com.amazonaws.chime#SipMediaApplication", + "Bot": { + "target": "com.amazonaws.chime#Bot", "traits": { - "smithy.api#documentation": "

The updated SIP media application details.

" + "smithy.api#documentation": "

The updated bot details.

" } } }, @@ -21712,30 +7035,21 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#UpdateSipRule": { + "com.amazonaws.chime#UpdateGlobalSettings": { "type": "operation", "input": { - "target": "com.amazonaws.chime#UpdateSipRuleRequest" + "target": "com.amazonaws.chime#UpdateGlobalSettingsRequest" }, "output": { - "target": "com.amazonaws.chime#UpdateSipRuleResponse" + "target": "smithy.api#Unit" }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" }, - { - "target": "com.amazonaws.chime#ConflictException" - }, { "target": "com.amazonaws.chime#ForbiddenException" }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, - { - "target": "com.amazonaws.chime#ResourceLimitExceededException" - }, { "target": "com.amazonaws.chime#ServiceFailureException" }, @@ -21750,45 +7064,27 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by UpdateSipRule in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Updates the details of the specified SIP rule.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, UpdateSipRule, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", + "smithy.api#documentation": "

Updates global settings for the administrator's AWS account, such as Amazon Chime Business Calling and Amazon Chime Voice Connector settings.

", "smithy.api#http": { "method": "PUT", - "uri": "/sip-rules/{SipRuleId}", - "code": 202 + "uri": "/settings", + "code": 204 } } }, - "com.amazonaws.chime#UpdateSipRuleRequest": { + "com.amazonaws.chime#UpdateGlobalSettingsRequest": { "type": "structure", "members": { - "SipRuleId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The SIP rule ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Name": { - "target": "com.amazonaws.chime#SipRuleName", - "traits": { - "smithy.api#documentation": "

The new name for the specified SIP rule.

", - "smithy.api#required": {} - } - }, - "Disabled": { - "target": "com.amazonaws.chime#NullableBoolean", + "BusinessCalling": { + "target": "com.amazonaws.chime#BusinessCallingSettings", "traits": { - "smithy.api#documentation": "

The new value specified to indicate whether the rule is disabled.

" + "smithy.api#documentation": "

The Amazon Chime Business Calling settings.

" } }, - "TargetApplications": { - "target": "com.amazonaws.chime#SipRuleTargetApplicationList", + "VoiceConnector": { + "target": "com.amazonaws.chime#VoiceConnectorSettings", "traits": { - "smithy.api#documentation": "

The new value of the list of target applications.

" + "smithy.api#documentation": "

The Amazon Chime Voice Connector settings.

" } } }, @@ -21796,32 +7092,21 @@ "smithy.api#input": {} } }, - "com.amazonaws.chime#UpdateSipRuleResponse": { - "type": "structure", - "members": { - "SipRule": { - "target": "com.amazonaws.chime#SipRule", - "traits": { - "smithy.api#documentation": "

Updated SIP rule details.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#UpdateUser": { + "com.amazonaws.chime#UpdatePhoneNumber": { "type": "operation", "input": { - "target": "com.amazonaws.chime#UpdateUserRequest" + "target": "com.amazonaws.chime#UpdatePhoneNumberRequest" }, "output": { - "target": "com.amazonaws.chime#UpdateUserResponse" + "target": "com.amazonaws.chime#UpdatePhoneNumberResponse" }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" }, + { + "target": "com.amazonaws.chime#ConflictException" + }, { "target": "com.amazonaws.chime#ForbiddenException" }, @@ -21842,49 +7127,35 @@ } ], "traits": { - "smithy.api#documentation": "

Updates user details for a specified user ID. Currently, only LicenseType updates are supported for this action.

", + "smithy.api#documentation": "

Updates phone number details, such as product type or calling name, for the specified phone number ID. You can update one phone number detail at a time. For example, you can update either the product type or the calling name in one action.

\n

For toll-free numbers, you cannot use the Amazon Chime Business Calling product type. For numbers outside the U.S., you must use the Amazon Chime SIP Media Application Dial-In product type.

\n

Updates to outbound calling names can take 72 hours to complete. Pending updates to outbound calling names must be complete before you can request another update.

", "smithy.api#http": { "method": "POST", - "uri": "/accounts/{AccountId}/users/{UserId}", + "uri": "/phone-numbers/{PhoneNumberId}", "code": 200 } } }, - "com.amazonaws.chime#UpdateUserRequest": { + "com.amazonaws.chime#UpdatePhoneNumberRequest": { "type": "structure", "members": { - "AccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "UserId": { - "target": "com.amazonaws.chime#NonEmptyString", + "PhoneNumberId": { + "target": "com.amazonaws.chime#String", "traits": { - "smithy.api#documentation": "

The user ID.

", + "smithy.api#documentation": "

The phone number ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "LicenseType": { - "target": "com.amazonaws.chime#License", - "traits": { - "smithy.api#documentation": "

The user license type to update. This must be a supported license type for the Amazon Chime\n account that the user belongs to.

" - } - }, - "UserType": { - "target": "com.amazonaws.chime#UserType", + "ProductType": { + "target": "com.amazonaws.chime#PhoneNumberProductType", "traits": { - "smithy.api#documentation": "

The user type.

" + "smithy.api#documentation": "

The product type.

" } }, - "AlexaForBusinessMetadata": { - "target": "com.amazonaws.chime#AlexaForBusinessMetadata", + "CallingName": { + "target": "com.amazonaws.chime#CallingName", "traits": { - "smithy.api#documentation": "

The Alexa for Business metadata.

" + "smithy.api#documentation": "

The outbound calling name associated with the phone number.

" } } }, @@ -21892,58 +7163,46 @@ "smithy.api#input": {} } }, - "com.amazonaws.chime#UpdateUserRequestItem": { + "com.amazonaws.chime#UpdatePhoneNumberRequestItem": { "type": "structure", "members": { - "UserId": { + "PhoneNumberId": { "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The user ID.

", + "smithy.api#documentation": "

The phone number ID to update.

", "smithy.api#required": {} } }, - "LicenseType": { - "target": "com.amazonaws.chime#License", - "traits": { - "smithy.api#documentation": "

The user license type.

" - } - }, - "UserType": { - "target": "com.amazonaws.chime#UserType", + "ProductType": { + "target": "com.amazonaws.chime#PhoneNumberProductType", "traits": { - "smithy.api#documentation": "

The user type.

" + "smithy.api#documentation": "

The product type to update.

" } }, - "AlexaForBusinessMetadata": { - "target": "com.amazonaws.chime#AlexaForBusinessMetadata", + "CallingName": { + "target": "com.amazonaws.chime#CallingName", "traits": { - "smithy.api#documentation": "

The Alexa for Business metadata.

" + "smithy.api#documentation": "

The outbound calling name to update.

" } } }, "traits": { - "smithy.api#documentation": "

The user ID and user fields to update, used with the \nBatchUpdateUser action.

" + "smithy.api#documentation": "

The phone number ID, product type, or calling name fields to update, used with the \nBatchUpdatePhoneNumber and UpdatePhoneNumber actions.

" } }, - "com.amazonaws.chime#UpdateUserRequestItemList": { + "com.amazonaws.chime#UpdatePhoneNumberRequestItemList": { "type": "list", "member": { - "target": "com.amazonaws.chime#UpdateUserRequestItem" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 20 - } + "target": "com.amazonaws.chime#UpdatePhoneNumberRequestItem" } }, - "com.amazonaws.chime#UpdateUserResponse": { + "com.amazonaws.chime#UpdatePhoneNumberResponse": { "type": "structure", "members": { - "User": { - "target": "com.amazonaws.chime#User", + "PhoneNumber": { + "target": "com.amazonaws.chime#PhoneNumber", "traits": { - "smithy.api#documentation": "

The updated user details.

" + "smithy.api#documentation": "

The updated phone number details.

" } } }, @@ -21951,10 +7210,10 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#UpdateUserSettings": { + "com.amazonaws.chime#UpdatePhoneNumberSettings": { "type": "operation", "input": { - "target": "com.amazonaws.chime#UpdateUserSettingsRequest" + "target": "com.amazonaws.chime#UpdatePhoneNumberSettingsRequest" }, "output": { "target": "smithy.api#Unit" @@ -21966,9 +7225,6 @@ { "target": "com.amazonaws.chime#ForbiddenException" }, - { - "target": "com.amazonaws.chime#NotFoundException" - }, { "target": "com.amazonaws.chime#ServiceFailureException" }, @@ -21983,37 +7239,21 @@ } ], "traits": { - "smithy.api#documentation": "

Updates the settings for the specified user, such as phone number settings.

", + "smithy.api#documentation": "

Updates the phone number settings for the administrator's AWS account, such as the default\n outbound calling name. You can update the default outbound calling name once every seven\n days. Outbound calling names can take up to 72 hours to update.

", "smithy.api#http": { "method": "PUT", - "uri": "/accounts/{AccountId}/users/{UserId}/settings", + "uri": "/settings/phone-number", "code": 204 } } }, - "com.amazonaws.chime#UpdateUserSettingsRequest": { + "com.amazonaws.chime#UpdatePhoneNumberSettingsRequest": { "type": "structure", "members": { - "AccountId": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "UserId": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The user ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "UserSettings": { - "target": "com.amazonaws.chime#UserSettings", + "CallingName": { + "target": "com.amazonaws.chime#CallingName", "traits": { - "smithy.api#documentation": "

The user settings to update.

", + "smithy.api#documentation": "

The default outbound calling name for the account.

", "smithy.api#required": {} } } @@ -22022,13 +7262,13 @@ "smithy.api#input": {} } }, - "com.amazonaws.chime#UpdateVoiceConnector": { + "com.amazonaws.chime#UpdateRoom": { "type": "operation", "input": { - "target": "com.amazonaws.chime#UpdateVoiceConnectorRequest" + "target": "com.amazonaws.chime#UpdateRoomRequest" }, "output": { - "target": "com.amazonaws.chime#UpdateVoiceConnectorResponse" + "target": "com.amazonaws.chime#UpdateRoomResponse" }, "errors": [ { @@ -22054,32 +7294,26 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by UpdateVoiceConnector in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Updates details for the specified Amazon Chime Voice Connector.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, UpdateVoiceConnector, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", + "smithy.api#documentation": "

Updates room details, such as the room name, for a room in an Amazon Chime Enterprise account.

", "smithy.api#http": { - "method": "PUT", - "uri": "/voice-connectors/{VoiceConnectorId}", + "method": "POST", + "uri": "/accounts/{AccountId}/rooms/{RoomId}", "code": 200 } } }, - "com.amazonaws.chime#UpdateVoiceConnectorGroup": { + "com.amazonaws.chime#UpdateRoomMembership": { "type": "operation", "input": { - "target": "com.amazonaws.chime#UpdateVoiceConnectorGroupRequest" + "target": "com.amazonaws.chime#UpdateRoomMembershipRequest" }, "output": { - "target": "com.amazonaws.chime#UpdateVoiceConnectorGroupResponse" + "target": "com.amazonaws.chime#UpdateRoomMembershipResponse" }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" }, - { - "target": "com.amazonaws.chime#ConflictException" - }, { "target": "com.amazonaws.chime#ForbiddenException" }, @@ -22100,54 +7334,59 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by UpdateVoiceConnectorGroup in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Updates details of the specified Amazon Chime Voice Connector group, such as the name and\n Amazon Chime Voice Connector priority ranking.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, UpdateVoiceConnectorGroup, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", + "smithy.api#documentation": "

Updates room membership details, such as the member role, for a room in an Amazon Chime\n Enterprise account. The member role designates whether the member is a chat room\n administrator or a general chat room member. The member role can be updated only for\n user IDs.

", "smithy.api#http": { - "method": "PUT", - "uri": "/voice-connector-groups/{VoiceConnectorGroupId}", - "code": 202 + "method": "POST", + "uri": "/accounts/{AccountId}/rooms/{RoomId}/memberships/{MemberId}", + "code": 200 } } }, - "com.amazonaws.chime#UpdateVoiceConnectorGroupRequest": { + "com.amazonaws.chime#UpdateRoomMembershipRequest": { "type": "structure", "members": { - "VoiceConnectorGroupId": { + "AccountId": { "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector group ID.

", + "smithy.api#documentation": "

The Amazon Chime account ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "Name": { - "target": "com.amazonaws.chime#VoiceConnectorGroupName", + "RoomId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The name of the Amazon Chime Voice Connector group.

", + "smithy.api#documentation": "

The room ID.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "VoiceConnectorItems": { - "target": "com.amazonaws.chime#VoiceConnectorItemList", + "MemberId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The VoiceConnectorItems to associate with the group.

", + "smithy.api#documentation": "

The member ID.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "Role": { + "target": "com.amazonaws.chime#RoomMembershipRole", + "traits": { + "smithy.api#documentation": "

The role of the member.

" + } } }, "traits": { "smithy.api#input": {} } }, - "com.amazonaws.chime#UpdateVoiceConnectorGroupResponse": { + "com.amazonaws.chime#UpdateRoomMembershipResponse": { "type": "structure", "members": { - "VoiceConnectorGroup": { - "target": "com.amazonaws.chime#VoiceConnectorGroup", + "RoomMembership": { + "target": "com.amazonaws.chime#RoomMembership", "traits": { - "smithy.api#documentation": "

The updated Amazon Chime Voice Connector group details.

" + "smithy.api#documentation": "

The room membership details.

" } } }, @@ -22155,29 +7394,29 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#UpdateVoiceConnectorRequest": { + "com.amazonaws.chime#UpdateRoomRequest": { "type": "structure", "members": { - "VoiceConnectorId": { + "AccountId": { "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector ID.

", + "smithy.api#documentation": "

The Amazon Chime account ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "Name": { - "target": "com.amazonaws.chime#VoiceConnectorName", + "RoomId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The name of the Amazon Chime Voice Connector.

", + "smithy.api#documentation": "

The room ID.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "RequireEncryption": { - "target": "com.amazonaws.chime#Boolean", + "Name": { + "target": "com.amazonaws.chime#SensitiveString", "traits": { - "smithy.api#documentation": "

When enabled, requires encryption for the Amazon Chime Voice Connector.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The room name.

" } } }, @@ -22185,13 +7424,13 @@ "smithy.api#input": {} } }, - "com.amazonaws.chime#UpdateVoiceConnectorResponse": { + "com.amazonaws.chime#UpdateRoomResponse": { "type": "structure", "members": { - "VoiceConnector": { - "target": "com.amazonaws.chime#VoiceConnector", + "Room": { + "target": "com.amazonaws.chime#Room", "traits": { - "smithy.api#documentation": "

The updated Amazon Chime Voice Connector details.

" + "smithy.api#documentation": "

The room details.

" } } }, @@ -22199,62 +7438,69 @@ "smithy.api#output": {} } }, - "com.amazonaws.chime#UriType": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 4096 + "com.amazonaws.chime#UpdateUser": { + "type": "operation", + "input": { + "target": "com.amazonaws.chime#UpdateUserRequest" + }, + "output": { + "target": "com.amazonaws.chime#UpdateUserResponse" + }, + "errors": [ + { + "target": "com.amazonaws.chime#BadRequestException" + }, + { + "target": "com.amazonaws.chime#ForbiddenException" + }, + { + "target": "com.amazonaws.chime#NotFoundException" + }, + { + "target": "com.amazonaws.chime#ServiceFailureException" + }, + { + "target": "com.amazonaws.chime#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.chime#ThrottledClientException" + }, + { + "target": "com.amazonaws.chime#UnauthorizedClientException" } - } - }, - "com.amazonaws.chime#UrlType": { - "type": "string", + ], "traits": { - "smithy.api#length": { - "min": 0, - "max": 4096 + "smithy.api#documentation": "

Updates user details for a specified user ID. Currently, only LicenseType updates are supported for this action.

", + "smithy.api#http": { + "method": "POST", + "uri": "/accounts/{AccountId}/users/{UserId}", + "code": 200 } } }, - "com.amazonaws.chime#User": { + "com.amazonaws.chime#UpdateUserRequest": { "type": "structure", "members": { - "UserId": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The user ID.

", - "smithy.api#required": {} - } - }, "AccountId": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The Amazon Chime account ID.

" - } - }, - "PrimaryEmail": { - "target": "com.amazonaws.chime#EmailAddress", - "traits": { - "smithy.api#documentation": "

The primary email address of the user.

" - } - }, - "PrimaryProvisionedNumber": { - "target": "com.amazonaws.chime#SensitiveString", + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The primary phone number associated with the user.

" + "smithy.api#documentation": "

The Amazon Chime account ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "DisplayName": { - "target": "com.amazonaws.chime#SensitiveString", + "UserId": { + "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The display name of the user.

" + "smithy.api#documentation": "

The user ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "LicenseType": { "target": "com.amazonaws.chime#License", "traits": { - "smithy.api#documentation": "

The license type for the user.

" + "smithy.api#documentation": "

The user license type to update. This must be a supported license type for the Amazon Chime\n account that the user belongs to.

" } }, "UserType": { @@ -22263,170 +7509,83 @@ "smithy.api#documentation": "

The user type.

" } }, - "UserRegistrationStatus": { - "target": "com.amazonaws.chime#RegistrationStatus", - "traits": { - "smithy.api#documentation": "

The user registration status.

" - } - }, - "UserInvitationStatus": { - "target": "com.amazonaws.chime#InviteStatus", - "traits": { - "smithy.api#documentation": "

The user invite status.

" - } - }, - "RegisteredOn": { - "target": "com.amazonaws.chime#Iso8601Timestamp", - "traits": { - "smithy.api#documentation": "

Date and time when the user is registered, in ISO 8601 format.

" - } - }, - "InvitedOn": { - "target": "com.amazonaws.chime#Iso8601Timestamp", - "traits": { - "smithy.api#documentation": "

Date and time when the user is invited to the Amazon Chime account, in ISO 8601 format.

" - } - }, "AlexaForBusinessMetadata": { "target": "com.amazonaws.chime#AlexaForBusinessMetadata", "traits": { "smithy.api#documentation": "

The Alexa for Business metadata.

" } - }, - "PersonalPIN": { - "target": "com.amazonaws.chime#String", - "traits": { - "smithy.api#documentation": "

The user's personal meeting PIN.

" - } } }, "traits": { - "smithy.api#documentation": "

The user on the Amazon Chime account.

" - } - }, - "com.amazonaws.chime#UserEmailList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#EmailAddress" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 50 - } + "smithy.api#input": {} } }, - "com.amazonaws.chime#UserError": { + "com.amazonaws.chime#UpdateUserRequestItem": { "type": "structure", "members": { "UserId": { "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The user ID for which the action failed.

" + "smithy.api#documentation": "

The user ID.

", + "smithy.api#required": {} } }, - "ErrorCode": { - "target": "com.amazonaws.chime#ErrorCode", + "LicenseType": { + "target": "com.amazonaws.chime#License", "traits": { - "smithy.api#documentation": "

The error code.

" + "smithy.api#documentation": "

The user license type.

" } }, - "ErrorMessage": { - "target": "com.amazonaws.chime#String", + "UserType": { + "target": "com.amazonaws.chime#UserType", "traits": { - "smithy.api#documentation": "

The error message.

" + "smithy.api#documentation": "

The user type.

" + } + }, + "AlexaForBusinessMetadata": { + "target": "com.amazonaws.chime#AlexaForBusinessMetadata", + "traits": { + "smithy.api#documentation": "

The Alexa for Business metadata.

" } } }, "traits": { - "smithy.api#documentation": "

The list of errors returned when errors are encountered during the BatchSuspendUser, BatchUnsuspendUser, or \n BatchUpdateUser actions. This includes user IDs, error codes, and error messages.

" - } - }, - "com.amazonaws.chime#UserErrorList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#UserError" - } - }, - "com.amazonaws.chime#UserId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 64 - }, - "smithy.api#pattern": "^[A-Za-z0-9]([A-Za-z0-9\\:\\-\\_\\.\\@]{0,62}[A-Za-z0-9])?$", - "smithy.api#sensitive": {} + "smithy.api#documentation": "

The user ID and user fields to update, used with the \nBatchUpdateUser action.

" } }, - "com.amazonaws.chime#UserIdList": { + "com.amazonaws.chime#UpdateUserRequestItemList": { "type": "list", "member": { - "target": "com.amazonaws.chime#NonEmptyString" + "target": "com.amazonaws.chime#UpdateUserRequestItem" }, "traits": { "smithy.api#length": { "min": 0, - "max": 50 - } - } - }, - "com.amazonaws.chime#UserList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#User" - } - }, - "com.amazonaws.chime#UserName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 100 - }, - "smithy.api#pattern": "\\S", - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.chime#UserSettings": { - "type": "structure", - "members": { - "Telephony": { - "target": "com.amazonaws.chime#TelephonySettings", - "traits": { - "smithy.api#documentation": "

The telephony settings associated with the user.

", - "smithy.api#required": {} - } + "max": 20 } - }, - "traits": { - "smithy.api#documentation": "

Settings associated with an Amazon Chime user, including inbound and outbound calling and text\n messaging.

" } }, - "com.amazonaws.chime#UserType": { - "type": "enum", + "com.amazonaws.chime#UpdateUserResponse": { + "type": "structure", "members": { - "PrivateUser": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PrivateUser" - } - }, - "SharedDevice": { - "target": "smithy.api#Unit", + "User": { + "target": "com.amazonaws.chime#User", "traits": { - "smithy.api#enumValue": "SharedDevice" + "smithy.api#documentation": "

The updated user details.

" } } + }, + "traits": { + "smithy.api#output": {} } }, - "com.amazonaws.chime#ValidateE911Address": { + "com.amazonaws.chime#UpdateUserSettings": { "type": "operation", "input": { - "target": "com.amazonaws.chime#ValidateE911AddressRequest" + "target": "com.amazonaws.chime#UpdateUserSettingsRequest" }, "output": { - "target": "com.amazonaws.chime#ValidateE911AddressResponse" + "target": "smithy.api#Unit" }, "errors": [ { @@ -22452,66 +7611,37 @@ } ], "traits": { - "smithy.api#deprecated": { - "message": "Replaced by ValidateE911Address in the Amazon Chime SDK Voice Namespace" - }, - "smithy.api#documentation": "

Validates an address to be used for 911 calls made with Amazon \n Chime Voice Connectors. You can use validated addresses \n in a Presence Information Data Format Location Object file that you include in SIP requests.\n That helps ensure that addresses are routed to the appropriate Public Safety Answering Point.

\n \n

\n This API is is no longer supported and will not be updated. We recommend using the latest version, ValidateE911Address, in the Amazon Chime SDK.

\n

Using the latest version requires migrating to a dedicated namespace. For more information, refer to \n Migrating from the Amazon Chime namespace in the \n Amazon Chime SDK Developer Guide.

\n
", + "smithy.api#documentation": "

Updates the settings for the specified user, such as phone number settings.

", "smithy.api#http": { - "method": "POST", - "uri": "/emergency-calling/address", - "code": 202 + "method": "PUT", + "uri": "/accounts/{AccountId}/users/{UserId}/settings", + "code": 204 } } }, - "com.amazonaws.chime#ValidateE911AddressRequest": { + "com.amazonaws.chime#UpdateUserSettingsRequest": { "type": "structure", "members": { - "AwsAccountId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The AWS account ID.

", - "smithy.api#required": {} - } - }, - "StreetNumber": { - "target": "com.amazonaws.chime#SensitiveNonEmptyString", - "traits": { - "smithy.api#documentation": "

The address street number, such as 200 or 2121.

", - "smithy.api#required": {} - } - }, - "StreetInfo": { - "target": "com.amazonaws.chime#SensitiveNonEmptyString", - "traits": { - "smithy.api#documentation": "

The address street information, such as 8th Avenue.

", - "smithy.api#required": {} - } - }, - "City": { - "target": "com.amazonaws.chime#SensitiveNonEmptyString", - "traits": { - "smithy.api#documentation": "

The address city, such as Portland.

", - "smithy.api#required": {} - } - }, - "State": { - "target": "com.amazonaws.chime#SensitiveNonEmptyString", + "AccountId": { + "target": "com.amazonaws.chime#String", "traits": { - "smithy.api#documentation": "

The address state, such as ME.

", + "smithy.api#documentation": "

The Amazon Chime account ID.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "Country": { - "target": "com.amazonaws.chime#SensitiveNonEmptyString", + "UserId": { + "target": "com.amazonaws.chime#String", "traits": { - "smithy.api#documentation": "

The address country, such as US.

", + "smithy.api#documentation": "

The user ID.

", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "PostalCode": { - "target": "com.amazonaws.chime#SensitiveNonEmptyString", + "UserSettings": { + "target": "com.amazonaws.chime#UserSettings", "traits": { - "smithy.api#documentation": "

The address postal code, such as 04352.

", + "smithy.api#documentation": "

The user settings to update.

", "smithy.api#required": {} } } @@ -22520,262 +7650,184 @@ "smithy.api#input": {} } }, - "com.amazonaws.chime#ValidateE911AddressResponse": { + "com.amazonaws.chime#User": { "type": "structure", "members": { - "ValidationResult": { - "target": "com.amazonaws.chime#ValidationResult", + "UserId": { + "target": "com.amazonaws.chime#String", "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

Number indicating the result of address validation. \n 0 means the address was perfect as is and successfully validated.\n 1 means the address was corrected. 2 means the address sent was \n not close enough and was not validated.

" + "smithy.api#documentation": "

The user ID.

", + "smithy.api#required": {} } }, - "AddressExternalId": { + "AccountId": { "target": "com.amazonaws.chime#String", "traits": { - "smithy.api#documentation": "

The ID that represents the address.

" + "smithy.api#documentation": "

The Amazon Chime account ID.

" } }, - "Address": { - "target": "com.amazonaws.chime#Address", + "PrimaryEmail": { + "target": "com.amazonaws.chime#EmailAddress", "traits": { - "smithy.api#documentation": "

The validated address.

" + "smithy.api#documentation": "

The primary email address of the user.

" } }, - "CandidateAddressList": { - "target": "com.amazonaws.chime#CandidateAddressList", - "traits": { - "smithy.api#documentation": "

The list of address suggestions.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.chime#ValidationResult": { - "type": "integer", - "traits": { - "smithy.api#default": 0, - "smithy.api#range": { - "min": 0, - "max": 2 - } - } - }, - "com.amazonaws.chime#VideoArtifactsConfiguration": { - "type": "structure", - "members": { - "State": { - "target": "com.amazonaws.chime#ArtifactsState", + "PrimaryProvisionedNumber": { + "target": "com.amazonaws.chime#SensitiveString", "traits": { - "smithy.api#documentation": "

Indicates whether the video artifact is enabled or disabled.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The primary phone number associated with the user.

" } }, - "MuxType": { - "target": "com.amazonaws.chime#VideoMuxType", - "traits": { - "smithy.api#documentation": "

The MUX type of the video artifact configuration object.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The video artifact configuration object.

" - } - }, - "com.amazonaws.chime#VideoMuxType": { - "type": "enum", - "members": { - "VideoOnly": { - "target": "smithy.api#Unit", + "DisplayName": { + "target": "com.amazonaws.chime#SensitiveString", "traits": { - "smithy.api#enumValue": "VideoOnly" + "smithy.api#documentation": "

The display name of the user.

" } - } - } - }, - "com.amazonaws.chime#VoiceConnector": { - "type": "structure", - "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString", + }, + "LicenseType": { + "target": "com.amazonaws.chime#License", "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector ID.

" + "smithy.api#documentation": "

The license type for the user.

" } }, - "AwsRegion": { - "target": "com.amazonaws.chime#VoiceConnectorAwsRegion", + "UserType": { + "target": "com.amazonaws.chime#UserType", "traits": { - "smithy.api#documentation": "

\nThe AWS Region in which the Amazon Chime Voice Connector is created. Default: \nus-east-1.\n

" + "smithy.api#documentation": "

The user type.

" } }, - "Name": { - "target": "com.amazonaws.chime#VoiceConnectorName", + "UserRegistrationStatus": { + "target": "com.amazonaws.chime#RegistrationStatus", "traits": { - "smithy.api#documentation": "

The name of the Amazon Chime Voice Connector.

" + "smithy.api#documentation": "

The user registration status.

" } }, - "OutboundHostName": { - "target": "com.amazonaws.chime#String", + "UserInvitationStatus": { + "target": "com.amazonaws.chime#InviteStatus", "traits": { - "smithy.api#documentation": "

The outbound host name for the Amazon Chime Voice Connector.

" + "smithy.api#documentation": "

The user invite status.

" } }, - "RequireEncryption": { - "target": "com.amazonaws.chime#Boolean", + "RegisteredOn": { + "target": "com.amazonaws.chime#Iso8601Timestamp", "traits": { - "smithy.api#documentation": "

Designates whether encryption is required for the Amazon Chime Voice Connector.

" + "smithy.api#documentation": "

Date and time when the user is registered, in ISO 8601 format.

" } }, - "CreatedTimestamp": { + "InvitedOn": { "target": "com.amazonaws.chime#Iso8601Timestamp", "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector creation timestamp, in ISO 8601 format.

" + "smithy.api#documentation": "

Date and time when the user is invited to the Amazon Chime account, in ISO 8601 format.

" } }, - "UpdatedTimestamp": { - "target": "com.amazonaws.chime#Iso8601Timestamp", + "AlexaForBusinessMetadata": { + "target": "com.amazonaws.chime#AlexaForBusinessMetadata", "traits": { - "smithy.api#documentation": "

The updated Amazon Chime Voice Connector timestamp, in ISO 8601 format.

" + "smithy.api#documentation": "

The Alexa for Business metadata.

" } }, - "VoiceConnectorArn": { - "target": "com.amazonaws.chime#NonEmptyString", + "PersonalPIN": { + "target": "com.amazonaws.chime#String", "traits": { - "smithy.api#documentation": "

The ARN of the specified Amazon Chime Voice Connector.

" + "smithy.api#documentation": "

The user's personal meeting PIN.

" } } }, "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector configuration, including outbound host name and encryption\n settings.

" + "smithy.api#documentation": "

The user on the Amazon Chime account.

" } }, - "com.amazonaws.chime#VoiceConnectorAwsRegion": { - "type": "enum", - "members": { - "US_EAST_1": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "us-east-1" - } - }, - "US_WEST_2": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "us-west-2" - } + "com.amazonaws.chime#UserEmailList": { + "type": "list", + "member": { + "target": "com.amazonaws.chime#EmailAddress" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 50 } } }, - "com.amazonaws.chime#VoiceConnectorGroup": { + "com.amazonaws.chime#UserError": { "type": "structure", "members": { - "VoiceConnectorGroupId": { + "UserId": { "target": "com.amazonaws.chime#NonEmptyString", "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector group ID.

" - } - }, - "Name": { - "target": "com.amazonaws.chime#VoiceConnectorGroupName", - "traits": { - "smithy.api#documentation": "

The name of the Amazon Chime Voice Connector group.

" - } - }, - "VoiceConnectorItems": { - "target": "com.amazonaws.chime#VoiceConnectorItemList", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connectors to which to route inbound calls.

" - } - }, - "CreatedTimestamp": { - "target": "com.amazonaws.chime#Iso8601Timestamp", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector group creation time stamp, in ISO 8601 format.

" + "smithy.api#documentation": "

The user ID for which the action failed.

" } }, - "UpdatedTimestamp": { - "target": "com.amazonaws.chime#Iso8601Timestamp", + "ErrorCode": { + "target": "com.amazonaws.chime#ErrorCode", "traits": { - "smithy.api#documentation": "

The updated Amazon Chime Voice Connector group time stamp, in ISO 8601 format.

" + "smithy.api#documentation": "

The error code.

" } }, - "VoiceConnectorGroupArn": { - "target": "com.amazonaws.chime#NonEmptyString", + "ErrorMessage": { + "target": "com.amazonaws.chime#String", "traits": { - "smithy.api#documentation": "

The ARN of the specified Amazon Chime Voice Connector group.

" + "smithy.api#documentation": "

The error message.

" } } }, "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector group configuration, including associated Amazon Chime Voice\n Connectors. You can include Amazon Chime Voice Connectors from different AWS Regions in\n your group. This creates a fault tolerant mechanism for fallback in case of availability\n events.

" + "smithy.api#documentation": "

The list of errors returned when errors are encountered during the BatchSuspendUser, BatchUnsuspendUser, or \n BatchUpdateUser actions. This includes user IDs, error codes, and error messages.

" } }, - "com.amazonaws.chime#VoiceConnectorGroupList": { + "com.amazonaws.chime#UserErrorList": { "type": "list", "member": { - "target": "com.amazonaws.chime#VoiceConnectorGroup" + "target": "com.amazonaws.chime#UserError" } }, - "com.amazonaws.chime#VoiceConnectorGroupName": { - "type": "string", + "com.amazonaws.chime#UserIdList": { + "type": "list", + "member": { + "target": "com.amazonaws.chime#NonEmptyString" + }, "traits": { "smithy.api#length": { - "min": 1, - "max": 256 + "min": 0, + "max": 50 } } }, - "com.amazonaws.chime#VoiceConnectorItem": { + "com.amazonaws.chime#UserList": { + "type": "list", + "member": { + "target": "com.amazonaws.chime#User" + } + }, + "com.amazonaws.chime#UserSettings": { "type": "structure", "members": { - "VoiceConnectorId": { - "target": "com.amazonaws.chime#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Chime Voice Connector ID.

", - "smithy.api#required": {} - } - }, - "Priority": { - "target": "com.amazonaws.chime#VoiceConnectorItemPriority", + "Telephony": { + "target": "com.amazonaws.chime#TelephonySettings", "traits": { - "smithy.api#documentation": "

The priority associated with the Amazon Chime Voice Connector, with 1 being the highest priority. Higher priority Amazon Chime Voice Connectors are attempted first.

", + "smithy.api#documentation": "

The telephony settings associated with the user.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

For Amazon Chime Voice Connector groups, the Amazon Chime Voice Connectors to which to route inbound calls. Includes priority configuration settings. Limit: 3 \nVoiceConnectorItems\nper Amazon Chime Voice Connector group.

" - } - }, - "com.amazonaws.chime#VoiceConnectorItemList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#VoiceConnectorItem" - } - }, - "com.amazonaws.chime#VoiceConnectorItemPriority": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 99 - } - } - }, - "com.amazonaws.chime#VoiceConnectorList": { - "type": "list", - "member": { - "target": "com.amazonaws.chime#VoiceConnector" + "smithy.api#documentation": "

Settings associated with an Amazon Chime user, including inbound and outbound calling and text\n messaging.

" } }, - "com.amazonaws.chime#VoiceConnectorName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 + "com.amazonaws.chime#UserType": { + "type": "enum", + "members": { + "PrivateUser": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PrivateUser" + } + }, + "SharedDevice": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SharedDevice" + } } } },