@aws-sdk/client-chime 3.53.0 → 3.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/ChimeClient.js +13 -13
- package/dist-cjs/commands/AssociatePhoneNumberWithUserCommand.js +3 -3
- package/dist-cjs/commands/AssociatePhoneNumbersWithVoiceConnectorCommand.js +3 -3
- package/dist-cjs/commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand.js +3 -3
- package/dist-cjs/commands/AssociateSigninDelegateGroupsWithAccountCommand.js +3 -3
- package/dist-cjs/commands/BatchCreateAttendeeCommand.js +3 -3
- package/dist-cjs/commands/BatchCreateChannelMembershipCommand.js +3 -3
- package/dist-cjs/commands/BatchCreateRoomMembershipCommand.js +3 -3
- package/dist-cjs/commands/BatchDeletePhoneNumberCommand.js +3 -3
- package/dist-cjs/commands/BatchSuspendUserCommand.js +3 -3
- package/dist-cjs/commands/BatchUnsuspendUserCommand.js +3 -3
- package/dist-cjs/commands/BatchUpdatePhoneNumberCommand.js +3 -3
- package/dist-cjs/commands/BatchUpdateUserCommand.js +3 -3
- package/dist-cjs/commands/CreateAccountCommand.js +3 -3
- package/dist-cjs/commands/CreateAppInstanceAdminCommand.js +3 -3
- package/dist-cjs/commands/CreateAppInstanceCommand.js +3 -3
- package/dist-cjs/commands/CreateAppInstanceUserCommand.js +3 -3
- package/dist-cjs/commands/CreateAttendeeCommand.js +3 -3
- package/dist-cjs/commands/CreateBotCommand.js +3 -3
- package/dist-cjs/commands/CreateChannelBanCommand.js +3 -3
- package/dist-cjs/commands/CreateChannelCommand.js +3 -3
- package/dist-cjs/commands/CreateChannelMembershipCommand.js +3 -3
- package/dist-cjs/commands/CreateChannelModeratorCommand.js +3 -3
- package/dist-cjs/commands/CreateMediaCapturePipelineCommand.js +3 -3
- package/dist-cjs/commands/CreateMeetingCommand.js +3 -3
- package/dist-cjs/commands/CreateMeetingDialOutCommand.js +3 -3
- package/dist-cjs/commands/CreateMeetingWithAttendeesCommand.js +3 -3
- package/dist-cjs/commands/CreatePhoneNumberOrderCommand.js +3 -3
- package/dist-cjs/commands/CreateProxySessionCommand.js +3 -3
- package/dist-cjs/commands/CreateRoomCommand.js +3 -3
- package/dist-cjs/commands/CreateRoomMembershipCommand.js +3 -3
- package/dist-cjs/commands/CreateSipMediaApplicationCallCommand.js +3 -3
- package/dist-cjs/commands/CreateSipMediaApplicationCommand.js +3 -3
- package/dist-cjs/commands/CreateSipRuleCommand.js +3 -3
- package/dist-cjs/commands/CreateUserCommand.js +3 -3
- package/dist-cjs/commands/CreateVoiceConnectorCommand.js +3 -3
- package/dist-cjs/commands/CreateVoiceConnectorGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteAccountCommand.js +3 -3
- package/dist-cjs/commands/DeleteAppInstanceAdminCommand.js +3 -3
- package/dist-cjs/commands/DeleteAppInstanceCommand.js +3 -3
- package/dist-cjs/commands/DeleteAppInstanceStreamingConfigurationsCommand.js +3 -3
- package/dist-cjs/commands/DeleteAppInstanceUserCommand.js +3 -3
- package/dist-cjs/commands/DeleteAttendeeCommand.js +3 -3
- package/dist-cjs/commands/DeleteChannelBanCommand.js +3 -3
- package/dist-cjs/commands/DeleteChannelCommand.js +3 -3
- package/dist-cjs/commands/DeleteChannelMembershipCommand.js +3 -3
- package/dist-cjs/commands/DeleteChannelMessageCommand.js +3 -3
- package/dist-cjs/commands/DeleteChannelModeratorCommand.js +3 -3
- package/dist-cjs/commands/DeleteEventsConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DeleteMediaCapturePipelineCommand.js +3 -3
- package/dist-cjs/commands/DeleteMeetingCommand.js +3 -3
- package/dist-cjs/commands/DeletePhoneNumberCommand.js +3 -3
- package/dist-cjs/commands/DeleteProxySessionCommand.js +3 -3
- package/dist-cjs/commands/DeleteRoomCommand.js +3 -3
- package/dist-cjs/commands/DeleteRoomMembershipCommand.js +3 -3
- package/dist-cjs/commands/DeleteSipMediaApplicationCommand.js +3 -3
- package/dist-cjs/commands/DeleteSipRuleCommand.js +3 -3
- package/dist-cjs/commands/DeleteVoiceConnectorCommand.js +3 -3
- package/dist-cjs/commands/DeleteVoiceConnectorEmergencyCallingConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DeleteVoiceConnectorGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteVoiceConnectorOriginationCommand.js +3 -3
- package/dist-cjs/commands/DeleteVoiceConnectorProxyCommand.js +3 -3
- package/dist-cjs/commands/DeleteVoiceConnectorStreamingConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DeleteVoiceConnectorTerminationCommand.js +3 -3
- package/dist-cjs/commands/DeleteVoiceConnectorTerminationCredentialsCommand.js +3 -3
- package/dist-cjs/commands/DescribeAppInstanceAdminCommand.js +3 -3
- package/dist-cjs/commands/DescribeAppInstanceCommand.js +3 -3
- package/dist-cjs/commands/DescribeAppInstanceUserCommand.js +3 -3
- package/dist-cjs/commands/DescribeChannelBanCommand.js +3 -3
- package/dist-cjs/commands/DescribeChannelCommand.js +3 -3
- package/dist-cjs/commands/DescribeChannelMembershipCommand.js +3 -3
- package/dist-cjs/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +3 -3
- package/dist-cjs/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +3 -3
- package/dist-cjs/commands/DescribeChannelModeratorCommand.js +3 -3
- package/dist-cjs/commands/DisassociatePhoneNumberFromUserCommand.js +3 -3
- package/dist-cjs/commands/DisassociatePhoneNumbersFromVoiceConnectorCommand.js +3 -3
- package/dist-cjs/commands/DisassociatePhoneNumbersFromVoiceConnectorGroupCommand.js +3 -3
- package/dist-cjs/commands/DisassociateSigninDelegateGroupsFromAccountCommand.js +3 -3
- package/dist-cjs/commands/GetAccountCommand.js +3 -3
- package/dist-cjs/commands/GetAccountSettingsCommand.js +3 -3
- package/dist-cjs/commands/GetAppInstanceRetentionSettingsCommand.js +3 -3
- package/dist-cjs/commands/GetAppInstanceStreamingConfigurationsCommand.js +3 -3
- package/dist-cjs/commands/GetAttendeeCommand.js +3 -3
- package/dist-cjs/commands/GetBotCommand.js +3 -3
- package/dist-cjs/commands/GetChannelMessageCommand.js +3 -3
- package/dist-cjs/commands/GetEventsConfigurationCommand.js +3 -3
- package/dist-cjs/commands/GetGlobalSettingsCommand.js +3 -3
- package/dist-cjs/commands/GetMediaCapturePipelineCommand.js +3 -3
- package/dist-cjs/commands/GetMeetingCommand.js +3 -3
- package/dist-cjs/commands/GetMessagingSessionEndpointCommand.js +3 -3
- package/dist-cjs/commands/GetPhoneNumberCommand.js +3 -3
- package/dist-cjs/commands/GetPhoneNumberOrderCommand.js +3 -3
- package/dist-cjs/commands/GetPhoneNumberSettingsCommand.js +3 -3
- package/dist-cjs/commands/GetProxySessionCommand.js +3 -3
- package/dist-cjs/commands/GetRetentionSettingsCommand.js +3 -3
- package/dist-cjs/commands/GetRoomCommand.js +3 -3
- package/dist-cjs/commands/GetSipMediaApplicationCommand.js +3 -3
- package/dist-cjs/commands/GetSipMediaApplicationLoggingConfigurationCommand.js +3 -3
- package/dist-cjs/commands/GetSipRuleCommand.js +3 -3
- package/dist-cjs/commands/GetUserCommand.js +3 -3
- package/dist-cjs/commands/GetUserSettingsCommand.js +3 -3
- package/dist-cjs/commands/GetVoiceConnectorCommand.js +3 -3
- package/dist-cjs/commands/GetVoiceConnectorEmergencyCallingConfigurationCommand.js +3 -3
- package/dist-cjs/commands/GetVoiceConnectorGroupCommand.js +3 -3
- package/dist-cjs/commands/GetVoiceConnectorLoggingConfigurationCommand.js +3 -3
- package/dist-cjs/commands/GetVoiceConnectorOriginationCommand.js +3 -3
- package/dist-cjs/commands/GetVoiceConnectorProxyCommand.js +3 -3
- package/dist-cjs/commands/GetVoiceConnectorStreamingConfigurationCommand.js +3 -3
- package/dist-cjs/commands/GetVoiceConnectorTerminationCommand.js +3 -3
- package/dist-cjs/commands/GetVoiceConnectorTerminationHealthCommand.js +3 -3
- package/dist-cjs/commands/InviteUsersCommand.js +3 -3
- package/dist-cjs/commands/ListAccountsCommand.js +3 -3
- package/dist-cjs/commands/ListAppInstanceAdminsCommand.js +3 -3
- package/dist-cjs/commands/ListAppInstanceUsersCommand.js +3 -3
- package/dist-cjs/commands/ListAppInstancesCommand.js +3 -3
- package/dist-cjs/commands/ListAttendeeTagsCommand.js +3 -3
- package/dist-cjs/commands/ListAttendeesCommand.js +3 -3
- package/dist-cjs/commands/ListBotsCommand.js +3 -3
- package/dist-cjs/commands/ListChannelBansCommand.js +3 -3
- package/dist-cjs/commands/ListChannelMembershipsCommand.js +3 -3
- package/dist-cjs/commands/ListChannelMembershipsForAppInstanceUserCommand.js +3 -3
- package/dist-cjs/commands/ListChannelMessagesCommand.js +3 -3
- package/dist-cjs/commands/ListChannelModeratorsCommand.js +3 -3
- package/dist-cjs/commands/ListChannelsCommand.js +3 -3
- package/dist-cjs/commands/ListChannelsModeratedByAppInstanceUserCommand.js +3 -3
- package/dist-cjs/commands/ListMediaCapturePipelinesCommand.js +3 -3
- package/dist-cjs/commands/ListMeetingTagsCommand.js +3 -3
- package/dist-cjs/commands/ListMeetingsCommand.js +3 -3
- package/dist-cjs/commands/ListPhoneNumberOrdersCommand.js +3 -3
- package/dist-cjs/commands/ListPhoneNumbersCommand.js +3 -3
- package/dist-cjs/commands/ListProxySessionsCommand.js +3 -3
- package/dist-cjs/commands/ListRoomMembershipsCommand.js +3 -3
- package/dist-cjs/commands/ListRoomsCommand.js +3 -3
- package/dist-cjs/commands/ListSipMediaApplicationsCommand.js +3 -3
- package/dist-cjs/commands/ListSipRulesCommand.js +3 -3
- package/dist-cjs/commands/ListSupportedPhoneNumberCountriesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListUsersCommand.js +3 -3
- package/dist-cjs/commands/ListVoiceConnectorGroupsCommand.js +3 -3
- package/dist-cjs/commands/ListVoiceConnectorTerminationCredentialsCommand.js +3 -3
- package/dist-cjs/commands/ListVoiceConnectorsCommand.js +3 -3
- package/dist-cjs/commands/LogoutUserCommand.js +3 -3
- package/dist-cjs/commands/PutAppInstanceRetentionSettingsCommand.js +3 -3
- package/dist-cjs/commands/PutAppInstanceStreamingConfigurationsCommand.js +3 -3
- package/dist-cjs/commands/PutEventsConfigurationCommand.js +3 -3
- package/dist-cjs/commands/PutRetentionSettingsCommand.js +3 -3
- package/dist-cjs/commands/PutSipMediaApplicationLoggingConfigurationCommand.js +3 -3
- package/dist-cjs/commands/PutVoiceConnectorEmergencyCallingConfigurationCommand.js +3 -3
- package/dist-cjs/commands/PutVoiceConnectorLoggingConfigurationCommand.js +3 -3
- package/dist-cjs/commands/PutVoiceConnectorOriginationCommand.js +3 -3
- package/dist-cjs/commands/PutVoiceConnectorProxyCommand.js +3 -3
- package/dist-cjs/commands/PutVoiceConnectorStreamingConfigurationCommand.js +3 -3
- package/dist-cjs/commands/PutVoiceConnectorTerminationCommand.js +3 -3
- package/dist-cjs/commands/PutVoiceConnectorTerminationCredentialsCommand.js +3 -3
- package/dist-cjs/commands/RedactChannelMessageCommand.js +3 -3
- package/dist-cjs/commands/RedactConversationMessageCommand.js +3 -3
- package/dist-cjs/commands/RedactRoomMessageCommand.js +3 -3
- package/dist-cjs/commands/RegenerateSecurityTokenCommand.js +3 -3
- package/dist-cjs/commands/ResetPersonalPINCommand.js +3 -3
- package/dist-cjs/commands/RestorePhoneNumberCommand.js +3 -3
- package/dist-cjs/commands/SearchAvailablePhoneNumbersCommand.js +3 -3
- package/dist-cjs/commands/SendChannelMessageCommand.js +3 -3
- package/dist-cjs/commands/StartMeetingTranscriptionCommand.js +3 -3
- package/dist-cjs/commands/StopMeetingTranscriptionCommand.js +3 -3
- package/dist-cjs/commands/TagAttendeeCommand.js +3 -3
- package/dist-cjs/commands/TagMeetingCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagAttendeeCommand.js +3 -3
- package/dist-cjs/commands/UntagMeetingCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateAccountCommand.js +3 -3
- package/dist-cjs/commands/UpdateAccountSettingsCommand.js +3 -3
- package/dist-cjs/commands/UpdateAppInstanceCommand.js +3 -3
- package/dist-cjs/commands/UpdateAppInstanceUserCommand.js +3 -3
- package/dist-cjs/commands/UpdateBotCommand.js +3 -3
- package/dist-cjs/commands/UpdateChannelCommand.js +3 -3
- package/dist-cjs/commands/UpdateChannelMessageCommand.js +3 -3
- package/dist-cjs/commands/UpdateChannelReadMarkerCommand.js +3 -3
- package/dist-cjs/commands/UpdateGlobalSettingsCommand.js +3 -3
- package/dist-cjs/commands/UpdatePhoneNumberCommand.js +3 -3
- package/dist-cjs/commands/UpdatePhoneNumberSettingsCommand.js +3 -3
- package/dist-cjs/commands/UpdateProxySessionCommand.js +3 -3
- package/dist-cjs/commands/UpdateRoomCommand.js +3 -3
- package/dist-cjs/commands/UpdateRoomMembershipCommand.js +3 -3
- package/dist-cjs/commands/UpdateSipMediaApplicationCallCommand.js +3 -3
- package/dist-cjs/commands/UpdateSipMediaApplicationCommand.js +3 -3
- package/dist-cjs/commands/UpdateSipRuleCommand.js +3 -3
- package/dist-cjs/commands/UpdateUserCommand.js +3 -3
- package/dist-cjs/commands/UpdateUserSettingsCommand.js +3 -3
- package/dist-cjs/commands/UpdateVoiceConnectorCommand.js +3 -3
- package/dist-cjs/commands/UpdateVoiceConnectorGroupCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +961 -955
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/Chime.js +190 -190
- package/dist-es/pagination/ListAccountsPaginator.js +4 -4
- package/dist-es/pagination/ListAppInstanceAdminsPaginator.js +4 -4
- package/dist-es/pagination/ListAppInstanceUsersPaginator.js +4 -4
- package/dist-es/pagination/ListAppInstancesPaginator.js +4 -4
- package/dist-es/pagination/ListAttendeesPaginator.js +4 -4
- package/dist-es/pagination/ListBotsPaginator.js +4 -4
- package/dist-es/pagination/ListChannelBansPaginator.js +4 -4
- package/dist-es/pagination/ListChannelMembershipsForAppInstanceUserPaginator.js +4 -4
- package/dist-es/pagination/ListChannelMembershipsPaginator.js +4 -4
- package/dist-es/pagination/ListChannelMessagesPaginator.js +4 -4
- package/dist-es/pagination/ListChannelModeratorsPaginator.js +4 -4
- package/dist-es/pagination/ListChannelsModeratedByAppInstanceUserPaginator.js +4 -4
- package/dist-es/pagination/ListChannelsPaginator.js +4 -4
- package/dist-es/pagination/ListMediaCapturePipelinesPaginator.js +4 -4
- package/dist-es/pagination/ListMeetingsPaginator.js +4 -4
- package/dist-es/pagination/ListPhoneNumberOrdersPaginator.js +4 -4
- package/dist-es/pagination/ListPhoneNumbersPaginator.js +4 -4
- package/dist-es/pagination/ListProxySessionsPaginator.js +4 -4
- package/dist-es/pagination/ListRoomMembershipsPaginator.js +4 -4
- package/dist-es/pagination/ListRoomsPaginator.js +4 -4
- package/dist-es/pagination/ListSipMediaApplicationsPaginator.js +4 -4
- package/dist-es/pagination/ListSipRulesPaginator.js +4 -4
- package/dist-es/pagination/ListUsersPaginator.js +4 -4
- package/dist-es/pagination/ListVoiceConnectorGroupsPaginator.js +4 -4
- package/dist-es/pagination/ListVoiceConnectorsPaginator.js +4 -4
- package/dist-es/pagination/SearchAvailablePhoneNumbersPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +220 -214
- package/dist-types/Chime.d.ts +1 -1
- package/dist-types/ChimeClient.d.ts +2 -2
- package/dist-types/commands/UpdateSipMediaApplicationCallCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +3 -3
- package/dist-types/models/models_1.d.ts +5 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/ChimeClient.d.ts +2 -2
- package/dist-types/ts3.4/models/models_1.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -14,7 +14,7 @@ export var serializeAws_restJson1AssociatePhoneNumbersWithVoiceConnectorCommand
|
|
|
14
14
|
headers = {
|
|
15
15
|
"content-type": "application/json",
|
|
16
16
|
};
|
|
17
|
-
resolvedPath = ""
|
|
17
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/voice-connectors/{VoiceConnectorId}";
|
|
18
18
|
if (input.VoiceConnectorId !== undefined) {
|
|
19
19
|
labelValue = input.VoiceConnectorId;
|
|
20
20
|
if (labelValue.length <= 0) {
|
|
@@ -56,7 +56,7 @@ export var serializeAws_restJson1AssociatePhoneNumbersWithVoiceConnectorGroupCom
|
|
|
56
56
|
headers = {
|
|
57
57
|
"content-type": "application/json",
|
|
58
58
|
};
|
|
59
|
-
resolvedPath = ""
|
|
59
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
60
60
|
"/voice-connector-groups/{VoiceConnectorGroupId}";
|
|
61
61
|
if (input.VoiceConnectorGroupId !== undefined) {
|
|
62
62
|
labelValue = input.VoiceConnectorGroupId;
|
|
@@ -99,7 +99,7 @@ export var serializeAws_restJson1AssociatePhoneNumberWithUserCommand = function
|
|
|
99
99
|
headers = {
|
|
100
100
|
"content-type": "application/json",
|
|
101
101
|
};
|
|
102
|
-
resolvedPath = ""
|
|
102
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}/users/{UserId}";
|
|
103
103
|
if (input.AccountId !== undefined) {
|
|
104
104
|
labelValue = input.AccountId;
|
|
105
105
|
if (labelValue.length <= 0) {
|
|
@@ -148,7 +148,7 @@ export var serializeAws_restJson1AssociateSigninDelegateGroupsWithAccountCommand
|
|
|
148
148
|
headers = {
|
|
149
149
|
"content-type": "application/json",
|
|
150
150
|
};
|
|
151
|
-
resolvedPath = ""
|
|
151
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}";
|
|
152
152
|
if (input.AccountId !== undefined) {
|
|
153
153
|
labelValue = input.AccountId;
|
|
154
154
|
if (labelValue.length <= 0) {
|
|
@@ -189,7 +189,7 @@ export var serializeAws_restJson1BatchCreateAttendeeCommand = function (input, c
|
|
|
189
189
|
headers = {
|
|
190
190
|
"content-type": "application/json",
|
|
191
191
|
};
|
|
192
|
-
resolvedPath = ""
|
|
192
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/meetings/{MeetingId}/attendees";
|
|
193
193
|
if (input.MeetingId !== undefined) {
|
|
194
194
|
labelValue = input.MeetingId;
|
|
195
195
|
if (labelValue.length <= 0) {
|
|
@@ -228,7 +228,7 @@ export var serializeAws_restJson1BatchCreateChannelMembershipCommand = function
|
|
|
228
228
|
case 1:
|
|
229
229
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
230
230
|
headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
231
|
-
resolvedPath = ""
|
|
231
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels/{ChannelArn}/memberships";
|
|
232
232
|
if (input.ChannelArn !== undefined) {
|
|
233
233
|
labelValue = input.ChannelArn;
|
|
234
234
|
if (labelValue.length <= 0) {
|
|
@@ -276,7 +276,7 @@ export var serializeAws_restJson1BatchCreateRoomMembershipCommand = function (in
|
|
|
276
276
|
headers = {
|
|
277
277
|
"content-type": "application/json",
|
|
278
278
|
};
|
|
279
|
-
resolvedPath = ""
|
|
279
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
280
280
|
"/accounts/{AccountId}/rooms/{RoomId}/memberships";
|
|
281
281
|
if (input.AccountId !== undefined) {
|
|
282
282
|
labelValue = input.AccountId;
|
|
@@ -328,7 +328,7 @@ export var serializeAws_restJson1BatchDeletePhoneNumberCommand = function (input
|
|
|
328
328
|
headers = {
|
|
329
329
|
"content-type": "application/json",
|
|
330
330
|
};
|
|
331
|
-
resolvedPath = ""
|
|
331
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/phone-numbers";
|
|
332
332
|
query = {
|
|
333
333
|
operation: "batch-delete",
|
|
334
334
|
};
|
|
@@ -359,7 +359,7 @@ export var serializeAws_restJson1BatchSuspendUserCommand = function (input, cont
|
|
|
359
359
|
headers = {
|
|
360
360
|
"content-type": "application/json",
|
|
361
361
|
};
|
|
362
|
-
resolvedPath = ""
|
|
362
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}/users";
|
|
363
363
|
if (input.AccountId !== undefined) {
|
|
364
364
|
labelValue = input.AccountId;
|
|
365
365
|
if (labelValue.length <= 0) {
|
|
@@ -398,7 +398,7 @@ export var serializeAws_restJson1BatchUnsuspendUserCommand = function (input, co
|
|
|
398
398
|
headers = {
|
|
399
399
|
"content-type": "application/json",
|
|
400
400
|
};
|
|
401
|
-
resolvedPath = ""
|
|
401
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}/users";
|
|
402
402
|
if (input.AccountId !== undefined) {
|
|
403
403
|
labelValue = input.AccountId;
|
|
404
404
|
if (labelValue.length <= 0) {
|
|
@@ -437,7 +437,7 @@ export var serializeAws_restJson1BatchUpdatePhoneNumberCommand = function (input
|
|
|
437
437
|
headers = {
|
|
438
438
|
"content-type": "application/json",
|
|
439
439
|
};
|
|
440
|
-
resolvedPath = ""
|
|
440
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/phone-numbers";
|
|
441
441
|
query = {
|
|
442
442
|
operation: "batch-update",
|
|
443
443
|
};
|
|
@@ -468,7 +468,7 @@ export var serializeAws_restJson1BatchUpdateUserCommand = function (input, conte
|
|
|
468
468
|
headers = {
|
|
469
469
|
"content-type": "application/json",
|
|
470
470
|
};
|
|
471
|
-
resolvedPath = ""
|
|
471
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}/users";
|
|
472
472
|
if (input.AccountId !== undefined) {
|
|
473
473
|
labelValue = input.AccountId;
|
|
474
474
|
if (labelValue.length <= 0) {
|
|
@@ -505,7 +505,7 @@ export var serializeAws_restJson1CreateAccountCommand = function (input, context
|
|
|
505
505
|
headers = {
|
|
506
506
|
"content-type": "application/json",
|
|
507
507
|
};
|
|
508
|
-
resolvedPath = ""
|
|
508
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts";
|
|
509
509
|
body = JSON.stringify(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })));
|
|
510
510
|
return [2, new __HttpRequest({
|
|
511
511
|
protocol: protocol,
|
|
@@ -530,7 +530,7 @@ export var serializeAws_restJson1CreateAppInstanceCommand = function (input, con
|
|
|
530
530
|
headers = {
|
|
531
531
|
"content-type": "application/json",
|
|
532
532
|
};
|
|
533
|
-
resolvedPath = ""
|
|
533
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/app-instances";
|
|
534
534
|
body = JSON.stringify(__assign(__assign(__assign({ ClientRequestToken: (_c = input.ClientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.Metadata !== undefined && input.Metadata !== null && { Metadata: input.Metadata })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Tags !== undefined &&
|
|
535
535
|
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
536
536
|
return [4, context.endpoint()];
|
|
@@ -564,7 +564,7 @@ export var serializeAws_restJson1CreateAppInstanceAdminCommand = function (input
|
|
|
564
564
|
headers = {
|
|
565
565
|
"content-type": "application/json",
|
|
566
566
|
};
|
|
567
|
-
resolvedPath = ""
|
|
567
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/app-instances/{AppInstanceArn}/admins";
|
|
568
568
|
if (input.AppInstanceArn !== undefined) {
|
|
569
569
|
labelValue = input.AppInstanceArn;
|
|
570
570
|
if (labelValue.length <= 0) {
|
|
@@ -609,7 +609,7 @@ export var serializeAws_restJson1CreateAppInstanceUserCommand = function (input,
|
|
|
609
609
|
headers = {
|
|
610
610
|
"content-type": "application/json",
|
|
611
611
|
};
|
|
612
|
-
resolvedPath = ""
|
|
612
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/app-instance-users";
|
|
613
613
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AppInstanceArn !== undefined &&
|
|
614
614
|
input.AppInstanceArn !== null && { AppInstanceArn: input.AppInstanceArn })), (input.AppInstanceUserId !== undefined &&
|
|
615
615
|
input.AppInstanceUserId !== null && { AppInstanceUserId: input.AppInstanceUserId })), { ClientRequestToken: (_c = input.ClientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.Metadata !== undefined && input.Metadata !== null && { Metadata: input.Metadata })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Tags !== undefined &&
|
|
@@ -645,7 +645,7 @@ export var serializeAws_restJson1CreateAttendeeCommand = function (input, contex
|
|
|
645
645
|
headers = {
|
|
646
646
|
"content-type": "application/json",
|
|
647
647
|
};
|
|
648
|
-
resolvedPath = ""
|
|
648
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/meetings/{MeetingId}/attendees";
|
|
649
649
|
if (input.MeetingId !== undefined) {
|
|
650
650
|
labelValue = input.MeetingId;
|
|
651
651
|
if (labelValue.length <= 0) {
|
|
@@ -681,7 +681,7 @@ export var serializeAws_restJson1CreateBotCommand = function (input, context) {
|
|
|
681
681
|
headers = {
|
|
682
682
|
"content-type": "application/json",
|
|
683
683
|
};
|
|
684
|
-
resolvedPath = ""
|
|
684
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}/bots";
|
|
685
685
|
if (input.AccountId !== undefined) {
|
|
686
686
|
labelValue = input.AccountId;
|
|
687
687
|
if (labelValue.length <= 0) {
|
|
@@ -714,7 +714,7 @@ export var serializeAws_restJson1CreateChannelCommand = function (input, context
|
|
|
714
714
|
case 1:
|
|
715
715
|
_a = _d.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
716
716
|
headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
717
|
-
resolvedPath = ""
|
|
717
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels";
|
|
718
718
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AppInstanceArn !== undefined &&
|
|
719
719
|
input.AppInstanceArn !== null && { AppInstanceArn: input.AppInstanceArn })), { ClientRequestToken: (_c = input.ClientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.Metadata !== undefined && input.Metadata !== null && { Metadata: input.Metadata })), (input.Mode !== undefined && input.Mode !== null && { Mode: input.Mode })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Privacy !== undefined && input.Privacy !== null && { Privacy: input.Privacy })), (input.Tags !== undefined &&
|
|
720
720
|
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
@@ -747,7 +747,7 @@ export var serializeAws_restJson1CreateChannelBanCommand = function (input, cont
|
|
|
747
747
|
case 1:
|
|
748
748
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
749
749
|
headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
750
|
-
resolvedPath = ""
|
|
750
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels/{ChannelArn}/bans";
|
|
751
751
|
if (input.ChannelArn !== undefined) {
|
|
752
752
|
labelValue = input.ChannelArn;
|
|
753
753
|
if (labelValue.length <= 0) {
|
|
@@ -788,7 +788,7 @@ export var serializeAws_restJson1CreateChannelMembershipCommand = function (inpu
|
|
|
788
788
|
case 1:
|
|
789
789
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
790
790
|
headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
791
|
-
resolvedPath = ""
|
|
791
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels/{ChannelArn}/memberships";
|
|
792
792
|
if (input.ChannelArn !== undefined) {
|
|
793
793
|
labelValue = input.ChannelArn;
|
|
794
794
|
if (labelValue.length <= 0) {
|
|
@@ -829,7 +829,7 @@ export var serializeAws_restJson1CreateChannelModeratorCommand = function (input
|
|
|
829
829
|
case 1:
|
|
830
830
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
831
831
|
headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
832
|
-
resolvedPath = ""
|
|
832
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels/{ChannelArn}/moderators";
|
|
833
833
|
if (input.ChannelArn !== undefined) {
|
|
834
834
|
labelValue = input.ChannelArn;
|
|
835
835
|
if (labelValue.length <= 0) {
|
|
@@ -874,7 +874,7 @@ export var serializeAws_restJson1CreateMediaCapturePipelineCommand = function (i
|
|
|
874
874
|
headers = {
|
|
875
875
|
"content-type": "application/json",
|
|
876
876
|
};
|
|
877
|
-
resolvedPath = ""
|
|
877
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/media-capture-pipelines";
|
|
878
878
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ChimeSdkMeetingConfiguration !== undefined &&
|
|
879
879
|
input.ChimeSdkMeetingConfiguration !== null && {
|
|
880
880
|
ChimeSdkMeetingConfiguration: serializeAws_restJson1ChimeSdkMeetingConfiguration(input.ChimeSdkMeetingConfiguration, context),
|
|
@@ -902,7 +902,7 @@ export var serializeAws_restJson1CreateMeetingCommand = function (input, context
|
|
|
902
902
|
headers = {
|
|
903
903
|
"content-type": "application/json",
|
|
904
904
|
};
|
|
905
|
-
resolvedPath = ""
|
|
905
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/meetings";
|
|
906
906
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_c = input.ClientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.ExternalMeetingId !== undefined &&
|
|
907
907
|
input.ExternalMeetingId !== null && { ExternalMeetingId: input.ExternalMeetingId })), (input.MediaRegion !== undefined && input.MediaRegion !== null && { MediaRegion: input.MediaRegion })), (input.MeetingHostId !== undefined && input.MeetingHostId !== null && { MeetingHostId: input.MeetingHostId })), (input.NotificationsConfiguration !== undefined &&
|
|
908
908
|
input.NotificationsConfiguration !== null && {
|
|
@@ -931,7 +931,7 @@ export var serializeAws_restJson1CreateMeetingDialOutCommand = function (input,
|
|
|
931
931
|
headers = {
|
|
932
932
|
"content-type": "application/json",
|
|
933
933
|
};
|
|
934
|
-
resolvedPath = ""
|
|
934
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/meetings/{MeetingId}/dial-outs";
|
|
935
935
|
if (input.MeetingId !== undefined) {
|
|
936
936
|
labelValue = input.MeetingId;
|
|
937
937
|
if (labelValue.length <= 0) {
|
|
@@ -967,7 +967,7 @@ export var serializeAws_restJson1CreateMeetingWithAttendeesCommand = function (i
|
|
|
967
967
|
headers = {
|
|
968
968
|
"content-type": "application/json",
|
|
969
969
|
};
|
|
970
|
-
resolvedPath = ""
|
|
970
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/meetings";
|
|
971
971
|
query = {
|
|
972
972
|
operation: "create-attendees",
|
|
973
973
|
};
|
|
@@ -1003,7 +1003,7 @@ export var serializeAws_restJson1CreatePhoneNumberOrderCommand = function (input
|
|
|
1003
1003
|
headers = {
|
|
1004
1004
|
"content-type": "application/json",
|
|
1005
1005
|
};
|
|
1006
|
-
resolvedPath = ""
|
|
1006
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/phone-number-orders";
|
|
1007
1007
|
body = JSON.stringify(__assign(__assign({}, (input.E164PhoneNumbers !== undefined &&
|
|
1008
1008
|
input.E164PhoneNumbers !== null && {
|
|
1009
1009
|
E164PhoneNumbers: serializeAws_restJson1E164PhoneNumberList(input.E164PhoneNumbers, context),
|
|
@@ -1030,7 +1030,7 @@ export var serializeAws_restJson1CreateProxySessionCommand = function (input, co
|
|
|
1030
1030
|
headers = {
|
|
1031
1031
|
"content-type": "application/json",
|
|
1032
1032
|
};
|
|
1033
|
-
resolvedPath = ""
|
|
1033
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1034
1034
|
"/voice-connectors/{VoiceConnectorId}/proxy-sessions";
|
|
1035
1035
|
if (input.VoiceConnectorId !== undefined) {
|
|
1036
1036
|
labelValue = input.VoiceConnectorId;
|
|
@@ -1076,7 +1076,7 @@ export var serializeAws_restJson1CreateRoomCommand = function (input, context) {
|
|
|
1076
1076
|
headers = {
|
|
1077
1077
|
"content-type": "application/json",
|
|
1078
1078
|
};
|
|
1079
|
-
resolvedPath = ""
|
|
1079
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}/rooms";
|
|
1080
1080
|
if (input.AccountId !== undefined) {
|
|
1081
1081
|
labelValue = input.AccountId;
|
|
1082
1082
|
if (labelValue.length <= 0) {
|
|
@@ -1110,7 +1110,7 @@ export var serializeAws_restJson1CreateRoomMembershipCommand = function (input,
|
|
|
1110
1110
|
headers = {
|
|
1111
1111
|
"content-type": "application/json",
|
|
1112
1112
|
};
|
|
1113
|
-
resolvedPath = ""
|
|
1113
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1114
1114
|
"/accounts/{AccountId}/rooms/{RoomId}/memberships";
|
|
1115
1115
|
if (input.AccountId !== undefined) {
|
|
1116
1116
|
labelValue = input.AccountId;
|
|
@@ -1155,7 +1155,7 @@ export var serializeAws_restJson1CreateSipMediaApplicationCommand = function (in
|
|
|
1155
1155
|
headers = {
|
|
1156
1156
|
"content-type": "application/json",
|
|
1157
1157
|
};
|
|
1158
|
-
resolvedPath = ""
|
|
1158
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sip-media-applications";
|
|
1159
1159
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.AwsRegion !== undefined && input.AwsRegion !== null && { AwsRegion: input.AwsRegion })), (input.Endpoints !== undefined &&
|
|
1160
1160
|
input.Endpoints !== null && {
|
|
1161
1161
|
Endpoints: serializeAws_restJson1SipMediaApplicationEndpointList(input.Endpoints, context),
|
|
@@ -1182,7 +1182,7 @@ export var serializeAws_restJson1CreateSipMediaApplicationCallCommand = function
|
|
|
1182
1182
|
headers = {
|
|
1183
1183
|
"content-type": "application/json",
|
|
1184
1184
|
};
|
|
1185
|
-
resolvedPath = ""
|
|
1185
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1186
1186
|
"/sip-media-applications/{SipMediaApplicationId}/calls";
|
|
1187
1187
|
if (input.SipMediaApplicationId !== undefined) {
|
|
1188
1188
|
labelValue = input.SipMediaApplicationId;
|
|
@@ -1219,7 +1219,7 @@ export var serializeAws_restJson1CreateSipRuleCommand = function (input, context
|
|
|
1219
1219
|
headers = {
|
|
1220
1220
|
"content-type": "application/json",
|
|
1221
1221
|
};
|
|
1222
|
-
resolvedPath = ""
|
|
1222
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sip-rules";
|
|
1223
1223
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Disabled !== undefined && input.Disabled !== null && { Disabled: input.Disabled })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.TargetApplications !== undefined &&
|
|
1224
1224
|
input.TargetApplications !== null && {
|
|
1225
1225
|
TargetApplications: serializeAws_restJson1SipRuleTargetApplicationList(input.TargetApplications, context),
|
|
@@ -1246,7 +1246,7 @@ export var serializeAws_restJson1CreateUserCommand = function (input, context) {
|
|
|
1246
1246
|
headers = {
|
|
1247
1247
|
"content-type": "application/json",
|
|
1248
1248
|
};
|
|
1249
|
-
resolvedPath = ""
|
|
1249
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}/users";
|
|
1250
1250
|
if (input.AccountId !== undefined) {
|
|
1251
1251
|
labelValue = input.AccountId;
|
|
1252
1252
|
if (labelValue.length <= 0) {
|
|
@@ -1284,7 +1284,7 @@ export var serializeAws_restJson1CreateVoiceConnectorCommand = function (input,
|
|
|
1284
1284
|
headers = {
|
|
1285
1285
|
"content-type": "application/json",
|
|
1286
1286
|
};
|
|
1287
|
-
resolvedPath = ""
|
|
1287
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/voice-connectors";
|
|
1288
1288
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.AwsRegion !== undefined && input.AwsRegion !== null && { AwsRegion: input.AwsRegion })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.RequireEncryption !== undefined &&
|
|
1289
1289
|
input.RequireEncryption !== null && { RequireEncryption: input.RequireEncryption })));
|
|
1290
1290
|
return [2, new __HttpRequest({
|
|
@@ -1309,7 +1309,7 @@ export var serializeAws_restJson1CreateVoiceConnectorGroupCommand = function (in
|
|
|
1309
1309
|
headers = {
|
|
1310
1310
|
"content-type": "application/json",
|
|
1311
1311
|
};
|
|
1312
|
-
resolvedPath = ""
|
|
1312
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/voice-connector-groups";
|
|
1313
1313
|
body = JSON.stringify(__assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.VoiceConnectorItems !== undefined &&
|
|
1314
1314
|
input.VoiceConnectorItems !== null && {
|
|
1315
1315
|
VoiceConnectorItems: serializeAws_restJson1VoiceConnectorItemList(input.VoiceConnectorItems, context),
|
|
@@ -1334,7 +1334,7 @@ export var serializeAws_restJson1DeleteAccountCommand = function (input, context
|
|
|
1334
1334
|
case 1:
|
|
1335
1335
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1336
1336
|
headers = {};
|
|
1337
|
-
resolvedPath = ""
|
|
1337
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}";
|
|
1338
1338
|
if (input.AccountId !== undefined) {
|
|
1339
1339
|
labelValue = input.AccountId;
|
|
1340
1340
|
if (labelValue.length <= 0) {
|
|
@@ -1365,7 +1365,7 @@ export var serializeAws_restJson1DeleteAppInstanceCommand = function (input, con
|
|
|
1365
1365
|
case 1:
|
|
1366
1366
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1367
1367
|
headers = {};
|
|
1368
|
-
resolvedPath = ""
|
|
1368
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/app-instances/{AppInstanceArn}";
|
|
1369
1369
|
if (input.AppInstanceArn !== undefined) {
|
|
1370
1370
|
labelValue = input.AppInstanceArn;
|
|
1371
1371
|
if (labelValue.length <= 0) {
|
|
@@ -1405,7 +1405,7 @@ export var serializeAws_restJson1DeleteAppInstanceAdminCommand = function (input
|
|
|
1405
1405
|
case 1:
|
|
1406
1406
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1407
1407
|
headers = {};
|
|
1408
|
-
resolvedPath = ""
|
|
1408
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1409
1409
|
"/app-instances/{AppInstanceArn}/admins/{AppInstanceAdminArn}";
|
|
1410
1410
|
if (input.AppInstanceAdminArn !== undefined) {
|
|
1411
1411
|
labelValue = input.AppInstanceAdminArn;
|
|
@@ -1456,7 +1456,7 @@ export var serializeAws_restJson1DeleteAppInstanceStreamingConfigurationsCommand
|
|
|
1456
1456
|
case 1:
|
|
1457
1457
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1458
1458
|
headers = {};
|
|
1459
|
-
resolvedPath = ""
|
|
1459
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1460
1460
|
"/app-instances/{AppInstanceArn}/streaming-configurations";
|
|
1461
1461
|
if (input.AppInstanceArn !== undefined) {
|
|
1462
1462
|
labelValue = input.AppInstanceArn;
|
|
@@ -1488,7 +1488,7 @@ export var serializeAws_restJson1DeleteAppInstanceUserCommand = function (input,
|
|
|
1488
1488
|
case 1:
|
|
1489
1489
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1490
1490
|
headers = {};
|
|
1491
|
-
resolvedPath = ""
|
|
1491
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/app-instance-users/{AppInstanceUserArn}";
|
|
1492
1492
|
if (input.AppInstanceUserArn !== undefined) {
|
|
1493
1493
|
labelValue = input.AppInstanceUserArn;
|
|
1494
1494
|
if (labelValue.length <= 0) {
|
|
@@ -1528,7 +1528,7 @@ export var serializeAws_restJson1DeleteAttendeeCommand = function (input, contex
|
|
|
1528
1528
|
case 1:
|
|
1529
1529
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1530
1530
|
headers = {};
|
|
1531
|
-
resolvedPath = ""
|
|
1531
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1532
1532
|
"/meetings/{MeetingId}/attendees/{AttendeeId}";
|
|
1533
1533
|
if (input.MeetingId !== undefined) {
|
|
1534
1534
|
labelValue = input.MeetingId;
|
|
@@ -1570,7 +1570,7 @@ export var serializeAws_restJson1DeleteChannelCommand = function (input, context
|
|
|
1570
1570
|
case 1:
|
|
1571
1571
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1572
1572
|
headers = __assign({}, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
1573
|
-
resolvedPath = ""
|
|
1573
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels/{ChannelArn}";
|
|
1574
1574
|
if (input.ChannelArn !== undefined) {
|
|
1575
1575
|
labelValue = input.ChannelArn;
|
|
1576
1576
|
if (labelValue.length <= 0) {
|
|
@@ -1610,7 +1610,7 @@ export var serializeAws_restJson1DeleteChannelBanCommand = function (input, cont
|
|
|
1610
1610
|
case 1:
|
|
1611
1611
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1612
1612
|
headers = __assign({}, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
1613
|
-
resolvedPath = ""
|
|
1613
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels/{ChannelArn}/bans/{MemberArn}";
|
|
1614
1614
|
if (input.ChannelArn !== undefined) {
|
|
1615
1615
|
labelValue = input.ChannelArn;
|
|
1616
1616
|
if (labelValue.length <= 0) {
|
|
@@ -1660,7 +1660,7 @@ export var serializeAws_restJson1DeleteChannelMembershipCommand = function (inpu
|
|
|
1660
1660
|
case 1:
|
|
1661
1661
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1662
1662
|
headers = __assign({}, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
1663
|
-
resolvedPath = ""
|
|
1663
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1664
1664
|
"/channels/{ChannelArn}/memberships/{MemberArn}";
|
|
1665
1665
|
if (input.ChannelArn !== undefined) {
|
|
1666
1666
|
labelValue = input.ChannelArn;
|
|
@@ -1711,7 +1711,7 @@ export var serializeAws_restJson1DeleteChannelMessageCommand = function (input,
|
|
|
1711
1711
|
case 1:
|
|
1712
1712
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1713
1713
|
headers = __assign({}, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
1714
|
-
resolvedPath = ""
|
|
1714
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1715
1715
|
"/channels/{ChannelArn}/messages/{MessageId}";
|
|
1716
1716
|
if (input.ChannelArn !== undefined) {
|
|
1717
1717
|
labelValue = input.ChannelArn;
|
|
@@ -1762,7 +1762,7 @@ export var serializeAws_restJson1DeleteChannelModeratorCommand = function (input
|
|
|
1762
1762
|
case 1:
|
|
1763
1763
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1764
1764
|
headers = __assign({}, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
1765
|
-
resolvedPath = ""
|
|
1765
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1766
1766
|
"/channels/{ChannelArn}/moderators/{ChannelModeratorArn}";
|
|
1767
1767
|
if (input.ChannelArn !== undefined) {
|
|
1768
1768
|
labelValue = input.ChannelArn;
|
|
@@ -1813,7 +1813,7 @@ export var serializeAws_restJson1DeleteEventsConfigurationCommand = function (in
|
|
|
1813
1813
|
case 1:
|
|
1814
1814
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1815
1815
|
headers = {};
|
|
1816
|
-
resolvedPath = ""
|
|
1816
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1817
1817
|
"/accounts/{AccountId}/bots/{BotId}/events-configuration";
|
|
1818
1818
|
if (input.AccountId !== undefined) {
|
|
1819
1819
|
labelValue = input.AccountId;
|
|
@@ -1855,7 +1855,7 @@ export var serializeAws_restJson1DeleteMediaCapturePipelineCommand = function (i
|
|
|
1855
1855
|
case 1:
|
|
1856
1856
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1857
1857
|
headers = {};
|
|
1858
|
-
resolvedPath = ""
|
|
1858
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1859
1859
|
"/media-capture-pipelines/{MediaPipelineId}";
|
|
1860
1860
|
if (input.MediaPipelineId !== undefined) {
|
|
1861
1861
|
labelValue = input.MediaPipelineId;
|
|
@@ -1887,7 +1887,7 @@ export var serializeAws_restJson1DeleteMeetingCommand = function (input, context
|
|
|
1887
1887
|
case 1:
|
|
1888
1888
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1889
1889
|
headers = {};
|
|
1890
|
-
resolvedPath = ""
|
|
1890
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/meetings/{MeetingId}";
|
|
1891
1891
|
if (input.MeetingId !== undefined) {
|
|
1892
1892
|
labelValue = input.MeetingId;
|
|
1893
1893
|
if (labelValue.length <= 0) {
|
|
@@ -1918,7 +1918,7 @@ export var serializeAws_restJson1DeletePhoneNumberCommand = function (input, con
|
|
|
1918
1918
|
case 1:
|
|
1919
1919
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1920
1920
|
headers = {};
|
|
1921
|
-
resolvedPath = ""
|
|
1921
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/phone-numbers/{PhoneNumberId}";
|
|
1922
1922
|
if (input.PhoneNumberId !== undefined) {
|
|
1923
1923
|
labelValue = input.PhoneNumberId;
|
|
1924
1924
|
if (labelValue.length <= 0) {
|
|
@@ -1949,7 +1949,7 @@ export var serializeAws_restJson1DeleteProxySessionCommand = function (input, co
|
|
|
1949
1949
|
case 1:
|
|
1950
1950
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1951
1951
|
headers = {};
|
|
1952
|
-
resolvedPath = ""
|
|
1952
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1953
1953
|
"/voice-connectors/{VoiceConnectorId}/proxy-sessions/{ProxySessionId}";
|
|
1954
1954
|
if (input.VoiceConnectorId !== undefined) {
|
|
1955
1955
|
labelValue = input.VoiceConnectorId;
|
|
@@ -1991,7 +1991,7 @@ export var serializeAws_restJson1DeleteRoomCommand = function (input, context) {
|
|
|
1991
1991
|
case 1:
|
|
1992
1992
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1993
1993
|
headers = {};
|
|
1994
|
-
resolvedPath = ""
|
|
1994
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}/rooms/{RoomId}";
|
|
1995
1995
|
if (input.AccountId !== undefined) {
|
|
1996
1996
|
labelValue = input.AccountId;
|
|
1997
1997
|
if (labelValue.length <= 0) {
|
|
@@ -2032,7 +2032,7 @@ export var serializeAws_restJson1DeleteRoomMembershipCommand = function (input,
|
|
|
2032
2032
|
case 1:
|
|
2033
2033
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2034
2034
|
headers = {};
|
|
2035
|
-
resolvedPath = ""
|
|
2035
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2036
2036
|
"/accounts/{AccountId}/rooms/{RoomId}/memberships/{MemberId}";
|
|
2037
2037
|
if (input.AccountId !== undefined) {
|
|
2038
2038
|
labelValue = input.AccountId;
|
|
@@ -2084,7 +2084,7 @@ export var serializeAws_restJson1DeleteSipMediaApplicationCommand = function (in
|
|
|
2084
2084
|
case 1:
|
|
2085
2085
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2086
2086
|
headers = {};
|
|
2087
|
-
resolvedPath = ""
|
|
2087
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2088
2088
|
"/sip-media-applications/{SipMediaApplicationId}";
|
|
2089
2089
|
if (input.SipMediaApplicationId !== undefined) {
|
|
2090
2090
|
labelValue = input.SipMediaApplicationId;
|
|
@@ -2116,7 +2116,7 @@ export var serializeAws_restJson1DeleteSipRuleCommand = function (input, context
|
|
|
2116
2116
|
case 1:
|
|
2117
2117
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2118
2118
|
headers = {};
|
|
2119
|
-
resolvedPath = ""
|
|
2119
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sip-rules/{SipRuleId}";
|
|
2120
2120
|
if (input.SipRuleId !== undefined) {
|
|
2121
2121
|
labelValue = input.SipRuleId;
|
|
2122
2122
|
if (labelValue.length <= 0) {
|
|
@@ -2147,7 +2147,7 @@ export var serializeAws_restJson1DeleteVoiceConnectorCommand = function (input,
|
|
|
2147
2147
|
case 1:
|
|
2148
2148
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2149
2149
|
headers = {};
|
|
2150
|
-
resolvedPath = ""
|
|
2150
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/voice-connectors/{VoiceConnectorId}";
|
|
2151
2151
|
if (input.VoiceConnectorId !== undefined) {
|
|
2152
2152
|
labelValue = input.VoiceConnectorId;
|
|
2153
2153
|
if (labelValue.length <= 0) {
|
|
@@ -2178,7 +2178,7 @@ export var serializeAws_restJson1DeleteVoiceConnectorEmergencyCallingConfigurati
|
|
|
2178
2178
|
case 1:
|
|
2179
2179
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2180
2180
|
headers = {};
|
|
2181
|
-
resolvedPath = ""
|
|
2181
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2182
2182
|
"/voice-connectors/{VoiceConnectorId}/emergency-calling-configuration";
|
|
2183
2183
|
if (input.VoiceConnectorId !== undefined) {
|
|
2184
2184
|
labelValue = input.VoiceConnectorId;
|
|
@@ -2210,7 +2210,7 @@ export var serializeAws_restJson1DeleteVoiceConnectorGroupCommand = function (in
|
|
|
2210
2210
|
case 1:
|
|
2211
2211
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2212
2212
|
headers = {};
|
|
2213
|
-
resolvedPath = ""
|
|
2213
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2214
2214
|
"/voice-connector-groups/{VoiceConnectorGroupId}";
|
|
2215
2215
|
if (input.VoiceConnectorGroupId !== undefined) {
|
|
2216
2216
|
labelValue = input.VoiceConnectorGroupId;
|
|
@@ -2242,7 +2242,7 @@ export var serializeAws_restJson1DeleteVoiceConnectorOriginationCommand = functi
|
|
|
2242
2242
|
case 1:
|
|
2243
2243
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2244
2244
|
headers = {};
|
|
2245
|
-
resolvedPath = ""
|
|
2245
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2246
2246
|
"/voice-connectors/{VoiceConnectorId}/origination";
|
|
2247
2247
|
if (input.VoiceConnectorId !== undefined) {
|
|
2248
2248
|
labelValue = input.VoiceConnectorId;
|
|
@@ -2274,7 +2274,7 @@ export var serializeAws_restJson1DeleteVoiceConnectorProxyCommand = function (in
|
|
|
2274
2274
|
case 1:
|
|
2275
2275
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2276
2276
|
headers = {};
|
|
2277
|
-
resolvedPath = ""
|
|
2277
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2278
2278
|
"/voice-connectors/{VoiceConnectorId}/programmable-numbers/proxy";
|
|
2279
2279
|
if (input.VoiceConnectorId !== undefined) {
|
|
2280
2280
|
labelValue = input.VoiceConnectorId;
|
|
@@ -2306,7 +2306,7 @@ export var serializeAws_restJson1DeleteVoiceConnectorStreamingConfigurationComma
|
|
|
2306
2306
|
case 1:
|
|
2307
2307
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2308
2308
|
headers = {};
|
|
2309
|
-
resolvedPath = ""
|
|
2309
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2310
2310
|
"/voice-connectors/{VoiceConnectorId}/streaming-configuration";
|
|
2311
2311
|
if (input.VoiceConnectorId !== undefined) {
|
|
2312
2312
|
labelValue = input.VoiceConnectorId;
|
|
@@ -2338,7 +2338,7 @@ export var serializeAws_restJson1DeleteVoiceConnectorTerminationCommand = functi
|
|
|
2338
2338
|
case 1:
|
|
2339
2339
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2340
2340
|
headers = {};
|
|
2341
|
-
resolvedPath = ""
|
|
2341
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2342
2342
|
"/voice-connectors/{VoiceConnectorId}/termination";
|
|
2343
2343
|
if (input.VoiceConnectorId !== undefined) {
|
|
2344
2344
|
labelValue = input.VoiceConnectorId;
|
|
@@ -2372,7 +2372,7 @@ export var serializeAws_restJson1DeleteVoiceConnectorTerminationCredentialsComma
|
|
|
2372
2372
|
headers = {
|
|
2373
2373
|
"content-type": "application/json",
|
|
2374
2374
|
};
|
|
2375
|
-
resolvedPath = ""
|
|
2375
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2376
2376
|
"/voice-connectors/{VoiceConnectorId}/termination/credentials";
|
|
2377
2377
|
if (input.VoiceConnectorId !== undefined) {
|
|
2378
2378
|
labelValue = input.VoiceConnectorId;
|
|
@@ -2410,7 +2410,7 @@ export var serializeAws_restJson1DescribeAppInstanceCommand = function (input, c
|
|
|
2410
2410
|
case 1:
|
|
2411
2411
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2412
2412
|
headers = {};
|
|
2413
|
-
resolvedPath = ""
|
|
2413
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/app-instances/{AppInstanceArn}";
|
|
2414
2414
|
if (input.AppInstanceArn !== undefined) {
|
|
2415
2415
|
labelValue = input.AppInstanceArn;
|
|
2416
2416
|
if (labelValue.length <= 0) {
|
|
@@ -2450,7 +2450,7 @@ export var serializeAws_restJson1DescribeAppInstanceAdminCommand = function (inp
|
|
|
2450
2450
|
case 1:
|
|
2451
2451
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2452
2452
|
headers = {};
|
|
2453
|
-
resolvedPath = ""
|
|
2453
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2454
2454
|
"/app-instances/{AppInstanceArn}/admins/{AppInstanceAdminArn}";
|
|
2455
2455
|
if (input.AppInstanceAdminArn !== undefined) {
|
|
2456
2456
|
labelValue = input.AppInstanceAdminArn;
|
|
@@ -2501,7 +2501,7 @@ export var serializeAws_restJson1DescribeAppInstanceUserCommand = function (inpu
|
|
|
2501
2501
|
case 1:
|
|
2502
2502
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2503
2503
|
headers = {};
|
|
2504
|
-
resolvedPath = ""
|
|
2504
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/app-instance-users/{AppInstanceUserArn}";
|
|
2505
2505
|
if (input.AppInstanceUserArn !== undefined) {
|
|
2506
2506
|
labelValue = input.AppInstanceUserArn;
|
|
2507
2507
|
if (labelValue.length <= 0) {
|
|
@@ -2541,7 +2541,7 @@ export var serializeAws_restJson1DescribeChannelCommand = function (input, conte
|
|
|
2541
2541
|
case 1:
|
|
2542
2542
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2543
2543
|
headers = __assign({}, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
2544
|
-
resolvedPath = ""
|
|
2544
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels/{ChannelArn}";
|
|
2545
2545
|
if (input.ChannelArn !== undefined) {
|
|
2546
2546
|
labelValue = input.ChannelArn;
|
|
2547
2547
|
if (labelValue.length <= 0) {
|
|
@@ -2581,7 +2581,7 @@ export var serializeAws_restJson1DescribeChannelBanCommand = function (input, co
|
|
|
2581
2581
|
case 1:
|
|
2582
2582
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2583
2583
|
headers = __assign({}, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
2584
|
-
resolvedPath = ""
|
|
2584
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels/{ChannelArn}/bans/{MemberArn}";
|
|
2585
2585
|
if (input.ChannelArn !== undefined) {
|
|
2586
2586
|
labelValue = input.ChannelArn;
|
|
2587
2587
|
if (labelValue.length <= 0) {
|
|
@@ -2631,7 +2631,7 @@ export var serializeAws_restJson1DescribeChannelMembershipCommand = function (in
|
|
|
2631
2631
|
case 1:
|
|
2632
2632
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2633
2633
|
headers = __assign({}, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
2634
|
-
resolvedPath = ""
|
|
2634
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2635
2635
|
"/channels/{ChannelArn}/memberships/{MemberArn}";
|
|
2636
2636
|
if (input.ChannelArn !== undefined) {
|
|
2637
2637
|
labelValue = input.ChannelArn;
|
|
@@ -2682,7 +2682,7 @@ export var serializeAws_restJson1DescribeChannelMembershipForAppInstanceUserComm
|
|
|
2682
2682
|
case 1:
|
|
2683
2683
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2684
2684
|
headers = __assign({}, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
2685
|
-
resolvedPath = ""
|
|
2685
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels/{ChannelArn}";
|
|
2686
2686
|
if (input.ChannelArn !== undefined) {
|
|
2687
2687
|
labelValue = input.ChannelArn;
|
|
2688
2688
|
if (labelValue.length <= 0) {
|
|
@@ -2724,7 +2724,7 @@ export var serializeAws_restJson1DescribeChannelModeratedByAppInstanceUserComman
|
|
|
2724
2724
|
case 1:
|
|
2725
2725
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2726
2726
|
headers = __assign({}, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
2727
|
-
resolvedPath = ""
|
|
2727
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels/{ChannelArn}";
|
|
2728
2728
|
if (input.ChannelArn !== undefined) {
|
|
2729
2729
|
labelValue = input.ChannelArn;
|
|
2730
2730
|
if (labelValue.length <= 0) {
|
|
@@ -2766,7 +2766,7 @@ export var serializeAws_restJson1DescribeChannelModeratorCommand = function (inp
|
|
|
2766
2766
|
case 1:
|
|
2767
2767
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2768
2768
|
headers = __assign({}, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
2769
|
-
resolvedPath = ""
|
|
2769
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2770
2770
|
"/channels/{ChannelArn}/moderators/{ChannelModeratorArn}";
|
|
2771
2771
|
if (input.ChannelArn !== undefined) {
|
|
2772
2772
|
labelValue = input.ChannelArn;
|
|
@@ -2817,7 +2817,7 @@ export var serializeAws_restJson1DisassociatePhoneNumberFromUserCommand = functi
|
|
|
2817
2817
|
case 1:
|
|
2818
2818
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2819
2819
|
headers = {};
|
|
2820
|
-
resolvedPath = ""
|
|
2820
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}/users/{UserId}";
|
|
2821
2821
|
if (input.AccountId !== undefined) {
|
|
2822
2822
|
labelValue = input.AccountId;
|
|
2823
2823
|
if (labelValue.length <= 0) {
|
|
@@ -2864,7 +2864,7 @@ export var serializeAws_restJson1DisassociatePhoneNumbersFromVoiceConnectorComma
|
|
|
2864
2864
|
headers = {
|
|
2865
2865
|
"content-type": "application/json",
|
|
2866
2866
|
};
|
|
2867
|
-
resolvedPath = ""
|
|
2867
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/voice-connectors/{VoiceConnectorId}";
|
|
2868
2868
|
if (input.VoiceConnectorId !== undefined) {
|
|
2869
2869
|
labelValue = input.VoiceConnectorId;
|
|
2870
2870
|
if (labelValue.length <= 0) {
|
|
@@ -2905,7 +2905,7 @@ export var serializeAws_restJson1DisassociatePhoneNumbersFromVoiceConnectorGroup
|
|
|
2905
2905
|
headers = {
|
|
2906
2906
|
"content-type": "application/json",
|
|
2907
2907
|
};
|
|
2908
|
-
resolvedPath = ""
|
|
2908
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2909
2909
|
"/voice-connector-groups/{VoiceConnectorGroupId}";
|
|
2910
2910
|
if (input.VoiceConnectorGroupId !== undefined) {
|
|
2911
2911
|
labelValue = input.VoiceConnectorGroupId;
|
|
@@ -2947,7 +2947,7 @@ export var serializeAws_restJson1DisassociateSigninDelegateGroupsFromAccountComm
|
|
|
2947
2947
|
headers = {
|
|
2948
2948
|
"content-type": "application/json",
|
|
2949
2949
|
};
|
|
2950
|
-
resolvedPath = ""
|
|
2950
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}";
|
|
2951
2951
|
if (input.AccountId !== undefined) {
|
|
2952
2952
|
labelValue = input.AccountId;
|
|
2953
2953
|
if (labelValue.length <= 0) {
|
|
@@ -2984,7 +2984,7 @@ export var serializeAws_restJson1GetAccountCommand = function (input, context) {
|
|
|
2984
2984
|
case 1:
|
|
2985
2985
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2986
2986
|
headers = {};
|
|
2987
|
-
resolvedPath = ""
|
|
2987
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}";
|
|
2988
2988
|
if (input.AccountId !== undefined) {
|
|
2989
2989
|
labelValue = input.AccountId;
|
|
2990
2990
|
if (labelValue.length <= 0) {
|
|
@@ -3015,7 +3015,7 @@ export var serializeAws_restJson1GetAccountSettingsCommand = function (input, co
|
|
|
3015
3015
|
case 1:
|
|
3016
3016
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3017
3017
|
headers = {};
|
|
3018
|
-
resolvedPath = ""
|
|
3018
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}/settings";
|
|
3019
3019
|
if (input.AccountId !== undefined) {
|
|
3020
3020
|
labelValue = input.AccountId;
|
|
3021
3021
|
if (labelValue.length <= 0) {
|
|
@@ -3046,7 +3046,7 @@ export var serializeAws_restJson1GetAppInstanceRetentionSettingsCommand = functi
|
|
|
3046
3046
|
case 1:
|
|
3047
3047
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3048
3048
|
headers = {};
|
|
3049
|
-
resolvedPath = ""
|
|
3049
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
3050
3050
|
"/app-instances/{AppInstanceArn}/retention-settings";
|
|
3051
3051
|
if (input.AppInstanceArn !== undefined) {
|
|
3052
3052
|
labelValue = input.AppInstanceArn;
|
|
@@ -3087,7 +3087,7 @@ export var serializeAws_restJson1GetAppInstanceStreamingConfigurationsCommand =
|
|
|
3087
3087
|
case 1:
|
|
3088
3088
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3089
3089
|
headers = {};
|
|
3090
|
-
resolvedPath = ""
|
|
3090
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
3091
3091
|
"/app-instances/{AppInstanceArn}/streaming-configurations";
|
|
3092
3092
|
if (input.AppInstanceArn !== undefined) {
|
|
3093
3093
|
labelValue = input.AppInstanceArn;
|
|
@@ -3119,7 +3119,7 @@ export var serializeAws_restJson1GetAttendeeCommand = function (input, context)
|
|
|
3119
3119
|
case 1:
|
|
3120
3120
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3121
3121
|
headers = {};
|
|
3122
|
-
resolvedPath = ""
|
|
3122
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
3123
3123
|
"/meetings/{MeetingId}/attendees/{AttendeeId}";
|
|
3124
3124
|
if (input.MeetingId !== undefined) {
|
|
3125
3125
|
labelValue = input.MeetingId;
|
|
@@ -3161,7 +3161,7 @@ export var serializeAws_restJson1GetBotCommand = function (input, context) { ret
|
|
|
3161
3161
|
case 1:
|
|
3162
3162
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3163
3163
|
headers = {};
|
|
3164
|
-
resolvedPath = ""
|
|
3164
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}/bots/{BotId}";
|
|
3165
3165
|
if (input.AccountId !== undefined) {
|
|
3166
3166
|
labelValue = input.AccountId;
|
|
3167
3167
|
if (labelValue.length <= 0) {
|
|
@@ -3202,7 +3202,7 @@ export var serializeAws_restJson1GetChannelMessageCommand = function (input, con
|
|
|
3202
3202
|
case 1:
|
|
3203
3203
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3204
3204
|
headers = __assign({}, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
3205
|
-
resolvedPath = ""
|
|
3205
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
3206
3206
|
"/channels/{ChannelArn}/messages/{MessageId}";
|
|
3207
3207
|
if (input.ChannelArn !== undefined) {
|
|
3208
3208
|
labelValue = input.ChannelArn;
|
|
@@ -3253,7 +3253,7 @@ export var serializeAws_restJson1GetEventsConfigurationCommand = function (input
|
|
|
3253
3253
|
case 1:
|
|
3254
3254
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3255
3255
|
headers = {};
|
|
3256
|
-
resolvedPath = ""
|
|
3256
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
3257
3257
|
"/accounts/{AccountId}/bots/{BotId}/events-configuration";
|
|
3258
3258
|
if (input.AccountId !== undefined) {
|
|
3259
3259
|
labelValue = input.AccountId;
|
|
@@ -3297,7 +3297,7 @@ export var serializeAws_restJson1GetGlobalSettingsCommand = function (input, con
|
|
|
3297
3297
|
headers = {
|
|
3298
3298
|
"content-type": "application/json",
|
|
3299
3299
|
};
|
|
3300
|
-
resolvedPath = ""
|
|
3300
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/settings";
|
|
3301
3301
|
body = "";
|
|
3302
3302
|
return [2, new __HttpRequest({
|
|
3303
3303
|
protocol: protocol,
|
|
@@ -3319,7 +3319,7 @@ export var serializeAws_restJson1GetMediaCapturePipelineCommand = function (inpu
|
|
|
3319
3319
|
case 1:
|
|
3320
3320
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3321
3321
|
headers = {};
|
|
3322
|
-
resolvedPath = ""
|
|
3322
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
3323
3323
|
"/media-capture-pipelines/{MediaPipelineId}";
|
|
3324
3324
|
if (input.MediaPipelineId !== undefined) {
|
|
3325
3325
|
labelValue = input.MediaPipelineId;
|
|
@@ -3351,7 +3351,7 @@ export var serializeAws_restJson1GetMeetingCommand = function (input, context) {
|
|
|
3351
3351
|
case 1:
|
|
3352
3352
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3353
3353
|
headers = {};
|
|
3354
|
-
resolvedPath = ""
|
|
3354
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/meetings/{MeetingId}";
|
|
3355
3355
|
if (input.MeetingId !== undefined) {
|
|
3356
3356
|
labelValue = input.MeetingId;
|
|
3357
3357
|
if (labelValue.length <= 0) {
|
|
@@ -3384,7 +3384,7 @@ export var serializeAws_restJson1GetMessagingSessionEndpointCommand = function (
|
|
|
3384
3384
|
headers = {
|
|
3385
3385
|
"content-type": "application/json",
|
|
3386
3386
|
};
|
|
3387
|
-
resolvedPath = ""
|
|
3387
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/endpoints/messaging-session";
|
|
3388
3388
|
body = "";
|
|
3389
3389
|
return [4, context.endpoint()];
|
|
3390
3390
|
case 2:
|
|
@@ -3415,7 +3415,7 @@ export var serializeAws_restJson1GetPhoneNumberCommand = function (input, contex
|
|
|
3415
3415
|
case 1:
|
|
3416
3416
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3417
3417
|
headers = {};
|
|
3418
|
-
resolvedPath = ""
|
|
3418
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/phone-numbers/{PhoneNumberId}";
|
|
3419
3419
|
if (input.PhoneNumberId !== undefined) {
|
|
3420
3420
|
labelValue = input.PhoneNumberId;
|
|
3421
3421
|
if (labelValue.length <= 0) {
|
|
@@ -3446,7 +3446,7 @@ export var serializeAws_restJson1GetPhoneNumberOrderCommand = function (input, c
|
|
|
3446
3446
|
case 1:
|
|
3447
3447
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3448
3448
|
headers = {};
|
|
3449
|
-
resolvedPath = ""
|
|
3449
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/phone-number-orders/{PhoneNumberOrderId}";
|
|
3450
3450
|
if (input.PhoneNumberOrderId !== undefined) {
|
|
3451
3451
|
labelValue = input.PhoneNumberOrderId;
|
|
3452
3452
|
if (labelValue.length <= 0) {
|
|
@@ -3479,7 +3479,7 @@ export var serializeAws_restJson1GetPhoneNumberSettingsCommand = function (input
|
|
|
3479
3479
|
headers = {
|
|
3480
3480
|
"content-type": "application/json",
|
|
3481
3481
|
};
|
|
3482
|
-
resolvedPath = ""
|
|
3482
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/settings/phone-number";
|
|
3483
3483
|
body = "";
|
|
3484
3484
|
return [2, new __HttpRequest({
|
|
3485
3485
|
protocol: protocol,
|
|
@@ -3501,7 +3501,7 @@ export var serializeAws_restJson1GetProxySessionCommand = function (input, conte
|
|
|
3501
3501
|
case 1:
|
|
3502
3502
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3503
3503
|
headers = {};
|
|
3504
|
-
resolvedPath = ""
|
|
3504
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
3505
3505
|
"/voice-connectors/{VoiceConnectorId}/proxy-sessions/{ProxySessionId}";
|
|
3506
3506
|
if (input.VoiceConnectorId !== undefined) {
|
|
3507
3507
|
labelValue = input.VoiceConnectorId;
|
|
@@ -3543,7 +3543,7 @@ export var serializeAws_restJson1GetRetentionSettingsCommand = function (input,
|
|
|
3543
3543
|
case 1:
|
|
3544
3544
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3545
3545
|
headers = {};
|
|
3546
|
-
resolvedPath = ""
|
|
3546
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}/retention-settings";
|
|
3547
3547
|
if (input.AccountId !== undefined) {
|
|
3548
3548
|
labelValue = input.AccountId;
|
|
3549
3549
|
if (labelValue.length <= 0) {
|
|
@@ -3574,7 +3574,7 @@ export var serializeAws_restJson1GetRoomCommand = function (input, context) { re
|
|
|
3574
3574
|
case 1:
|
|
3575
3575
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3576
3576
|
headers = {};
|
|
3577
|
-
resolvedPath = ""
|
|
3577
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}/rooms/{RoomId}";
|
|
3578
3578
|
if (input.AccountId !== undefined) {
|
|
3579
3579
|
labelValue = input.AccountId;
|
|
3580
3580
|
if (labelValue.length <= 0) {
|
|
@@ -3615,7 +3615,7 @@ export var serializeAws_restJson1GetSipMediaApplicationCommand = function (input
|
|
|
3615
3615
|
case 1:
|
|
3616
3616
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3617
3617
|
headers = {};
|
|
3618
|
-
resolvedPath = ""
|
|
3618
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
3619
3619
|
"/sip-media-applications/{SipMediaApplicationId}";
|
|
3620
3620
|
if (input.SipMediaApplicationId !== undefined) {
|
|
3621
3621
|
labelValue = input.SipMediaApplicationId;
|
|
@@ -3647,7 +3647,7 @@ export var serializeAws_restJson1GetSipMediaApplicationLoggingConfigurationComma
|
|
|
3647
3647
|
case 1:
|
|
3648
3648
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3649
3649
|
headers = {};
|
|
3650
|
-
resolvedPath = ""
|
|
3650
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
3651
3651
|
"/sip-media-applications/{SipMediaApplicationId}/logging-configuration";
|
|
3652
3652
|
if (input.SipMediaApplicationId !== undefined) {
|
|
3653
3653
|
labelValue = input.SipMediaApplicationId;
|
|
@@ -3679,7 +3679,7 @@ export var serializeAws_restJson1GetSipRuleCommand = function (input, context) {
|
|
|
3679
3679
|
case 1:
|
|
3680
3680
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3681
3681
|
headers = {};
|
|
3682
|
-
resolvedPath = ""
|
|
3682
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sip-rules/{SipRuleId}";
|
|
3683
3683
|
if (input.SipRuleId !== undefined) {
|
|
3684
3684
|
labelValue = input.SipRuleId;
|
|
3685
3685
|
if (labelValue.length <= 0) {
|
|
@@ -3710,7 +3710,7 @@ export var serializeAws_restJson1GetUserCommand = function (input, context) { re
|
|
|
3710
3710
|
case 1:
|
|
3711
3711
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3712
3712
|
headers = {};
|
|
3713
|
-
resolvedPath = ""
|
|
3713
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}/users/{UserId}";
|
|
3714
3714
|
if (input.AccountId !== undefined) {
|
|
3715
3715
|
labelValue = input.AccountId;
|
|
3716
3716
|
if (labelValue.length <= 0) {
|
|
@@ -3751,7 +3751,7 @@ export var serializeAws_restJson1GetUserSettingsCommand = function (input, conte
|
|
|
3751
3751
|
case 1:
|
|
3752
3752
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3753
3753
|
headers = {};
|
|
3754
|
-
resolvedPath = ""
|
|
3754
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
3755
3755
|
"/accounts/{AccountId}/users/{UserId}/settings";
|
|
3756
3756
|
if (input.AccountId !== undefined) {
|
|
3757
3757
|
labelValue = input.AccountId;
|
|
@@ -3793,7 +3793,7 @@ export var serializeAws_restJson1GetVoiceConnectorCommand = function (input, con
|
|
|
3793
3793
|
case 1:
|
|
3794
3794
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3795
3795
|
headers = {};
|
|
3796
|
-
resolvedPath = ""
|
|
3796
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/voice-connectors/{VoiceConnectorId}";
|
|
3797
3797
|
if (input.VoiceConnectorId !== undefined) {
|
|
3798
3798
|
labelValue = input.VoiceConnectorId;
|
|
3799
3799
|
if (labelValue.length <= 0) {
|
|
@@ -3824,7 +3824,7 @@ export var serializeAws_restJson1GetVoiceConnectorEmergencyCallingConfigurationC
|
|
|
3824
3824
|
case 1:
|
|
3825
3825
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3826
3826
|
headers = {};
|
|
3827
|
-
resolvedPath = ""
|
|
3827
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
3828
3828
|
"/voice-connectors/{VoiceConnectorId}/emergency-calling-configuration";
|
|
3829
3829
|
if (input.VoiceConnectorId !== undefined) {
|
|
3830
3830
|
labelValue = input.VoiceConnectorId;
|
|
@@ -3856,7 +3856,7 @@ export var serializeAws_restJson1GetVoiceConnectorGroupCommand = function (input
|
|
|
3856
3856
|
case 1:
|
|
3857
3857
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3858
3858
|
headers = {};
|
|
3859
|
-
resolvedPath = ""
|
|
3859
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
3860
3860
|
"/voice-connector-groups/{VoiceConnectorGroupId}";
|
|
3861
3861
|
if (input.VoiceConnectorGroupId !== undefined) {
|
|
3862
3862
|
labelValue = input.VoiceConnectorGroupId;
|
|
@@ -3888,7 +3888,7 @@ export var serializeAws_restJson1GetVoiceConnectorLoggingConfigurationCommand =
|
|
|
3888
3888
|
case 1:
|
|
3889
3889
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3890
3890
|
headers = {};
|
|
3891
|
-
resolvedPath = ""
|
|
3891
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
3892
3892
|
"/voice-connectors/{VoiceConnectorId}/logging-configuration";
|
|
3893
3893
|
if (input.VoiceConnectorId !== undefined) {
|
|
3894
3894
|
labelValue = input.VoiceConnectorId;
|
|
@@ -3920,7 +3920,7 @@ export var serializeAws_restJson1GetVoiceConnectorOriginationCommand = function
|
|
|
3920
3920
|
case 1:
|
|
3921
3921
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3922
3922
|
headers = {};
|
|
3923
|
-
resolvedPath = ""
|
|
3923
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
3924
3924
|
"/voice-connectors/{VoiceConnectorId}/origination";
|
|
3925
3925
|
if (input.VoiceConnectorId !== undefined) {
|
|
3926
3926
|
labelValue = input.VoiceConnectorId;
|
|
@@ -3952,7 +3952,7 @@ export var serializeAws_restJson1GetVoiceConnectorProxyCommand = function (input
|
|
|
3952
3952
|
case 1:
|
|
3953
3953
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3954
3954
|
headers = {};
|
|
3955
|
-
resolvedPath = ""
|
|
3955
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
3956
3956
|
"/voice-connectors/{VoiceConnectorId}/programmable-numbers/proxy";
|
|
3957
3957
|
if (input.VoiceConnectorId !== undefined) {
|
|
3958
3958
|
labelValue = input.VoiceConnectorId;
|
|
@@ -3984,7 +3984,7 @@ export var serializeAws_restJson1GetVoiceConnectorStreamingConfigurationCommand
|
|
|
3984
3984
|
case 1:
|
|
3985
3985
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3986
3986
|
headers = {};
|
|
3987
|
-
resolvedPath = ""
|
|
3987
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
3988
3988
|
"/voice-connectors/{VoiceConnectorId}/streaming-configuration";
|
|
3989
3989
|
if (input.VoiceConnectorId !== undefined) {
|
|
3990
3990
|
labelValue = input.VoiceConnectorId;
|
|
@@ -4016,7 +4016,7 @@ export var serializeAws_restJson1GetVoiceConnectorTerminationCommand = function
|
|
|
4016
4016
|
case 1:
|
|
4017
4017
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4018
4018
|
headers = {};
|
|
4019
|
-
resolvedPath = ""
|
|
4019
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
4020
4020
|
"/voice-connectors/{VoiceConnectorId}/termination";
|
|
4021
4021
|
if (input.VoiceConnectorId !== undefined) {
|
|
4022
4022
|
labelValue = input.VoiceConnectorId;
|
|
@@ -4048,7 +4048,7 @@ export var serializeAws_restJson1GetVoiceConnectorTerminationHealthCommand = fun
|
|
|
4048
4048
|
case 1:
|
|
4049
4049
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4050
4050
|
headers = {};
|
|
4051
|
-
resolvedPath = ""
|
|
4051
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
4052
4052
|
"/voice-connectors/{VoiceConnectorId}/termination/health";
|
|
4053
4053
|
if (input.VoiceConnectorId !== undefined) {
|
|
4054
4054
|
labelValue = input.VoiceConnectorId;
|
|
@@ -4082,7 +4082,7 @@ export var serializeAws_restJson1InviteUsersCommand = function (input, context)
|
|
|
4082
4082
|
headers = {
|
|
4083
4083
|
"content-type": "application/json",
|
|
4084
4084
|
};
|
|
4085
|
-
resolvedPath = ""
|
|
4085
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}/users";
|
|
4086
4086
|
if (input.AccountId !== undefined) {
|
|
4087
4087
|
labelValue = input.AccountId;
|
|
4088
4088
|
if (labelValue.length <= 0) {
|
|
@@ -4121,7 +4121,7 @@ export var serializeAws_restJson1ListAccountsCommand = function (input, context)
|
|
|
4121
4121
|
case 1:
|
|
4122
4122
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4123
4123
|
headers = {};
|
|
4124
|
-
resolvedPath = ""
|
|
4124
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts";
|
|
4125
4125
|
query = __assign(__assign(__assign(__assign({}, (input.Name !== undefined && { name: input.Name })), (input.UserEmail !== undefined && { "user-email": input.UserEmail })), (input.NextToken !== undefined && { "next-token": input.NextToken })), (input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }));
|
|
4126
4126
|
return [2, new __HttpRequest({
|
|
4127
4127
|
protocol: protocol,
|
|
@@ -4144,7 +4144,7 @@ export var serializeAws_restJson1ListAppInstanceAdminsCommand = function (input,
|
|
|
4144
4144
|
case 1:
|
|
4145
4145
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4146
4146
|
headers = {};
|
|
4147
|
-
resolvedPath = ""
|
|
4147
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/app-instances/{AppInstanceArn}/admins";
|
|
4148
4148
|
if (input.AppInstanceArn !== undefined) {
|
|
4149
4149
|
labelValue = input.AppInstanceArn;
|
|
4150
4150
|
if (labelValue.length <= 0) {
|
|
@@ -4186,7 +4186,7 @@ export var serializeAws_restJson1ListAppInstancesCommand = function (input, cont
|
|
|
4186
4186
|
case 1:
|
|
4187
4187
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4188
4188
|
headers = {};
|
|
4189
|
-
resolvedPath = ""
|
|
4189
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/app-instances";
|
|
4190
4190
|
query = __assign(__assign({}, (input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() })), (input.NextToken !== undefined && { "next-token": input.NextToken }));
|
|
4191
4191
|
return [4, context.endpoint()];
|
|
4192
4192
|
case 2:
|
|
@@ -4218,7 +4218,7 @@ export var serializeAws_restJson1ListAppInstanceUsersCommand = function (input,
|
|
|
4218
4218
|
case 1:
|
|
4219
4219
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4220
4220
|
headers = {};
|
|
4221
|
-
resolvedPath = ""
|
|
4221
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/app-instance-users";
|
|
4222
4222
|
query = __assign(__assign(__assign({}, (input.AppInstanceArn !== undefined && { "app-instance-arn": input.AppInstanceArn })), (input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() })), (input.NextToken !== undefined && { "next-token": input.NextToken }));
|
|
4223
4223
|
return [4, context.endpoint()];
|
|
4224
4224
|
case 2:
|
|
@@ -4250,7 +4250,7 @@ export var serializeAws_restJson1ListAttendeesCommand = function (input, context
|
|
|
4250
4250
|
case 1:
|
|
4251
4251
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4252
4252
|
headers = {};
|
|
4253
|
-
resolvedPath = ""
|
|
4253
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/meetings/{MeetingId}/attendees";
|
|
4254
4254
|
if (input.MeetingId !== undefined) {
|
|
4255
4255
|
labelValue = input.MeetingId;
|
|
4256
4256
|
if (labelValue.length <= 0) {
|
|
@@ -4283,7 +4283,7 @@ export var serializeAws_restJson1ListAttendeeTagsCommand = function (input, cont
|
|
|
4283
4283
|
case 1:
|
|
4284
4284
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4285
4285
|
headers = {};
|
|
4286
|
-
resolvedPath = ""
|
|
4286
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
4287
4287
|
"/meetings/{MeetingId}/attendees/{AttendeeId}/tags";
|
|
4288
4288
|
if (input.MeetingId !== undefined) {
|
|
4289
4289
|
labelValue = input.MeetingId;
|
|
@@ -4325,7 +4325,7 @@ export var serializeAws_restJson1ListBotsCommand = function (input, context) { r
|
|
|
4325
4325
|
case 1:
|
|
4326
4326
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4327
4327
|
headers = {};
|
|
4328
|
-
resolvedPath = ""
|
|
4328
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}/bots";
|
|
4329
4329
|
if (input.AccountId !== undefined) {
|
|
4330
4330
|
labelValue = input.AccountId;
|
|
4331
4331
|
if (labelValue.length <= 0) {
|
|
@@ -4358,7 +4358,7 @@ export var serializeAws_restJson1ListChannelBansCommand = function (input, conte
|
|
|
4358
4358
|
case 1:
|
|
4359
4359
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4360
4360
|
headers = __assign({}, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
4361
|
-
resolvedPath = ""
|
|
4361
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels/{ChannelArn}/bans";
|
|
4362
4362
|
if (input.ChannelArn !== undefined) {
|
|
4363
4363
|
labelValue = input.ChannelArn;
|
|
4364
4364
|
if (labelValue.length <= 0) {
|
|
@@ -4400,7 +4400,7 @@ export var serializeAws_restJson1ListChannelMembershipsCommand = function (input
|
|
|
4400
4400
|
case 1:
|
|
4401
4401
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4402
4402
|
headers = __assign({}, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
4403
|
-
resolvedPath = ""
|
|
4403
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels/{ChannelArn}/memberships";
|
|
4404
4404
|
if (input.ChannelArn !== undefined) {
|
|
4405
4405
|
labelValue = input.ChannelArn;
|
|
4406
4406
|
if (labelValue.length <= 0) {
|
|
@@ -4442,7 +4442,7 @@ export var serializeAws_restJson1ListChannelMembershipsForAppInstanceUserCommand
|
|
|
4442
4442
|
case 1:
|
|
4443
4443
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4444
4444
|
headers = __assign({}, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
4445
|
-
resolvedPath = ""
|
|
4445
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels";
|
|
4446
4446
|
query = __assign(__assign(__assign({ scope: "app-instance-user-memberships" }, (input.AppInstanceUserArn !== undefined && { "app-instance-user-arn": input.AppInstanceUserArn })), (input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() })), (input.NextToken !== undefined && { "next-token": input.NextToken }));
|
|
4447
4447
|
return [4, context.endpoint()];
|
|
4448
4448
|
case 2:
|
|
@@ -4474,7 +4474,7 @@ export var serializeAws_restJson1ListChannelMessagesCommand = function (input, c
|
|
|
4474
4474
|
case 1:
|
|
4475
4475
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4476
4476
|
headers = __assign({}, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
4477
|
-
resolvedPath = ""
|
|
4477
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels/{ChannelArn}/messages";
|
|
4478
4478
|
if (input.ChannelArn !== undefined) {
|
|
4479
4479
|
labelValue = input.ChannelArn;
|
|
4480
4480
|
if (labelValue.length <= 0) {
|
|
@@ -4518,7 +4518,7 @@ export var serializeAws_restJson1ListChannelModeratorsCommand = function (input,
|
|
|
4518
4518
|
case 1:
|
|
4519
4519
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4520
4520
|
headers = __assign({}, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
4521
|
-
resolvedPath = ""
|
|
4521
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels/{ChannelArn}/moderators";
|
|
4522
4522
|
if (input.ChannelArn !== undefined) {
|
|
4523
4523
|
labelValue = input.ChannelArn;
|
|
4524
4524
|
if (labelValue.length <= 0) {
|
|
@@ -4560,7 +4560,7 @@ export var serializeAws_restJson1ListChannelsCommand = function (input, context)
|
|
|
4560
4560
|
case 1:
|
|
4561
4561
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4562
4562
|
headers = __assign({}, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
4563
|
-
resolvedPath = ""
|
|
4563
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels";
|
|
4564
4564
|
query = __assign(__assign(__assign(__assign({}, (input.AppInstanceArn !== undefined && { "app-instance-arn": input.AppInstanceArn })), (input.Privacy !== undefined && { privacy: input.Privacy })), (input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() })), (input.NextToken !== undefined && { "next-token": input.NextToken }));
|
|
4565
4565
|
return [4, context.endpoint()];
|
|
4566
4566
|
case 2:
|
|
@@ -4592,7 +4592,7 @@ export var serializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand =
|
|
|
4592
4592
|
case 1:
|
|
4593
4593
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4594
4594
|
headers = __assign({}, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
4595
|
-
resolvedPath = ""
|
|
4595
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels";
|
|
4596
4596
|
query = __assign(__assign(__assign({ scope: "app-instance-user-moderated-channels" }, (input.AppInstanceUserArn !== undefined && { "app-instance-user-arn": input.AppInstanceUserArn })), (input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() })), (input.NextToken !== undefined && { "next-token": input.NextToken }));
|
|
4597
4597
|
return [4, context.endpoint()];
|
|
4598
4598
|
case 2:
|
|
@@ -4624,7 +4624,7 @@ export var serializeAws_restJson1ListMediaCapturePipelinesCommand = function (in
|
|
|
4624
4624
|
case 1:
|
|
4625
4625
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4626
4626
|
headers = {};
|
|
4627
|
-
resolvedPath = ""
|
|
4627
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/media-capture-pipelines";
|
|
4628
4628
|
query = __assign(__assign({}, (input.NextToken !== undefined && { "next-token": input.NextToken })), (input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }));
|
|
4629
4629
|
return [2, new __HttpRequest({
|
|
4630
4630
|
protocol: protocol,
|
|
@@ -4647,7 +4647,7 @@ export var serializeAws_restJson1ListMeetingsCommand = function (input, context)
|
|
|
4647
4647
|
case 1:
|
|
4648
4648
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4649
4649
|
headers = {};
|
|
4650
|
-
resolvedPath = ""
|
|
4650
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/meetings";
|
|
4651
4651
|
query = __assign(__assign({}, (input.NextToken !== undefined && { "next-token": input.NextToken })), (input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }));
|
|
4652
4652
|
return [2, new __HttpRequest({
|
|
4653
4653
|
protocol: protocol,
|
|
@@ -4670,7 +4670,7 @@ export var serializeAws_restJson1ListMeetingTagsCommand = function (input, conte
|
|
|
4670
4670
|
case 1:
|
|
4671
4671
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4672
4672
|
headers = {};
|
|
4673
|
-
resolvedPath = ""
|
|
4673
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/meetings/{MeetingId}/tags";
|
|
4674
4674
|
if (input.MeetingId !== undefined) {
|
|
4675
4675
|
labelValue = input.MeetingId;
|
|
4676
4676
|
if (labelValue.length <= 0) {
|
|
@@ -4701,7 +4701,7 @@ export var serializeAws_restJson1ListPhoneNumberOrdersCommand = function (input,
|
|
|
4701
4701
|
case 1:
|
|
4702
4702
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4703
4703
|
headers = {};
|
|
4704
|
-
resolvedPath = ""
|
|
4704
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/phone-number-orders";
|
|
4705
4705
|
query = __assign(__assign({}, (input.NextToken !== undefined && { "next-token": input.NextToken })), (input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }));
|
|
4706
4706
|
return [2, new __HttpRequest({
|
|
4707
4707
|
protocol: protocol,
|
|
@@ -4724,7 +4724,7 @@ export var serializeAws_restJson1ListPhoneNumbersCommand = function (input, cont
|
|
|
4724
4724
|
case 1:
|
|
4725
4725
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4726
4726
|
headers = {};
|
|
4727
|
-
resolvedPath = ""
|
|
4727
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/phone-numbers";
|
|
4728
4728
|
query = __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Status !== undefined && { status: input.Status })), (input.ProductType !== undefined && { "product-type": input.ProductType })), (input.FilterName !== undefined && { "filter-name": input.FilterName })), (input.FilterValue !== undefined && { "filter-value": input.FilterValue })), (input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() })), (input.NextToken !== undefined && { "next-token": input.NextToken }));
|
|
4729
4729
|
return [2, new __HttpRequest({
|
|
4730
4730
|
protocol: protocol,
|
|
@@ -4747,7 +4747,7 @@ export var serializeAws_restJson1ListProxySessionsCommand = function (input, con
|
|
|
4747
4747
|
case 1:
|
|
4748
4748
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4749
4749
|
headers = {};
|
|
4750
|
-
resolvedPath = ""
|
|
4750
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
4751
4751
|
"/voice-connectors/{VoiceConnectorId}/proxy-sessions";
|
|
4752
4752
|
if (input.VoiceConnectorId !== undefined) {
|
|
4753
4753
|
labelValue = input.VoiceConnectorId;
|
|
@@ -4781,7 +4781,7 @@ export var serializeAws_restJson1ListRoomMembershipsCommand = function (input, c
|
|
|
4781
4781
|
case 1:
|
|
4782
4782
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4783
4783
|
headers = {};
|
|
4784
|
-
resolvedPath = ""
|
|
4784
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
4785
4785
|
"/accounts/{AccountId}/rooms/{RoomId}/memberships";
|
|
4786
4786
|
if (input.AccountId !== undefined) {
|
|
4787
4787
|
labelValue = input.AccountId;
|
|
@@ -4825,7 +4825,7 @@ export var serializeAws_restJson1ListRoomsCommand = function (input, context) {
|
|
|
4825
4825
|
case 1:
|
|
4826
4826
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4827
4827
|
headers = {};
|
|
4828
|
-
resolvedPath = ""
|
|
4828
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}/rooms";
|
|
4829
4829
|
if (input.AccountId !== undefined) {
|
|
4830
4830
|
labelValue = input.AccountId;
|
|
4831
4831
|
if (labelValue.length <= 0) {
|
|
@@ -4858,7 +4858,7 @@ export var serializeAws_restJson1ListSipMediaApplicationsCommand = function (inp
|
|
|
4858
4858
|
case 1:
|
|
4859
4859
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4860
4860
|
headers = {};
|
|
4861
|
-
resolvedPath = ""
|
|
4861
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sip-media-applications";
|
|
4862
4862
|
query = __assign(__assign({}, (input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() })), (input.NextToken !== undefined && { "next-token": input.NextToken }));
|
|
4863
4863
|
return [2, new __HttpRequest({
|
|
4864
4864
|
protocol: protocol,
|
|
@@ -4881,7 +4881,7 @@ export var serializeAws_restJson1ListSipRulesCommand = function (input, context)
|
|
|
4881
4881
|
case 1:
|
|
4882
4882
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4883
4883
|
headers = {};
|
|
4884
|
-
resolvedPath = ""
|
|
4884
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sip-rules";
|
|
4885
4885
|
query = __assign(__assign(__assign({}, (input.SipMediaApplicationId !== undefined && { "sip-media-application": input.SipMediaApplicationId })), (input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() })), (input.NextToken !== undefined && { "next-token": input.NextToken }));
|
|
4886
4886
|
return [2, new __HttpRequest({
|
|
4887
4887
|
protocol: protocol,
|
|
@@ -4904,7 +4904,7 @@ export var serializeAws_restJson1ListSupportedPhoneNumberCountriesCommand = func
|
|
|
4904
4904
|
case 1:
|
|
4905
4905
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4906
4906
|
headers = {};
|
|
4907
|
-
resolvedPath = ""
|
|
4907
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/phone-number-countries";
|
|
4908
4908
|
query = __assign({}, (input.ProductType !== undefined && { "product-type": input.ProductType }));
|
|
4909
4909
|
return [2, new __HttpRequest({
|
|
4910
4910
|
protocol: protocol,
|
|
@@ -4927,7 +4927,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
4927
4927
|
case 1:
|
|
4928
4928
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4929
4929
|
headers = {};
|
|
4930
|
-
resolvedPath = ""
|
|
4930
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags";
|
|
4931
4931
|
query = __assign({}, (input.ResourceARN !== undefined && { arn: input.ResourceARN }));
|
|
4932
4932
|
return [2, new __HttpRequest({
|
|
4933
4933
|
protocol: protocol,
|
|
@@ -4950,7 +4950,7 @@ export var serializeAws_restJson1ListUsersCommand = function (input, context) {
|
|
|
4950
4950
|
case 1:
|
|
4951
4951
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4952
4952
|
headers = {};
|
|
4953
|
-
resolvedPath = ""
|
|
4953
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}/users";
|
|
4954
4954
|
if (input.AccountId !== undefined) {
|
|
4955
4955
|
labelValue = input.AccountId;
|
|
4956
4956
|
if (labelValue.length <= 0) {
|
|
@@ -4983,7 +4983,7 @@ export var serializeAws_restJson1ListVoiceConnectorGroupsCommand = function (inp
|
|
|
4983
4983
|
case 1:
|
|
4984
4984
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
4985
4985
|
headers = {};
|
|
4986
|
-
resolvedPath = ""
|
|
4986
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/voice-connector-groups";
|
|
4987
4987
|
query = __assign(__assign({}, (input.NextToken !== undefined && { "next-token": input.NextToken })), (input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }));
|
|
4988
4988
|
return [2, new __HttpRequest({
|
|
4989
4989
|
protocol: protocol,
|
|
@@ -5006,7 +5006,7 @@ export var serializeAws_restJson1ListVoiceConnectorsCommand = function (input, c
|
|
|
5006
5006
|
case 1:
|
|
5007
5007
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
5008
5008
|
headers = {};
|
|
5009
|
-
resolvedPath = ""
|
|
5009
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/voice-connectors";
|
|
5010
5010
|
query = __assign(__assign({}, (input.NextToken !== undefined && { "next-token": input.NextToken })), (input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }));
|
|
5011
5011
|
return [2, new __HttpRequest({
|
|
5012
5012
|
protocol: protocol,
|
|
@@ -5029,7 +5029,7 @@ export var serializeAws_restJson1ListVoiceConnectorTerminationCredentialsCommand
|
|
|
5029
5029
|
case 1:
|
|
5030
5030
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
5031
5031
|
headers = {};
|
|
5032
|
-
resolvedPath = ""
|
|
5032
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
5033
5033
|
"/voice-connectors/{VoiceConnectorId}/termination/credentials";
|
|
5034
5034
|
if (input.VoiceConnectorId !== undefined) {
|
|
5035
5035
|
labelValue = input.VoiceConnectorId;
|
|
@@ -5061,7 +5061,7 @@ export var serializeAws_restJson1LogoutUserCommand = function (input, context) {
|
|
|
5061
5061
|
case 1:
|
|
5062
5062
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
5063
5063
|
headers = {};
|
|
5064
|
-
resolvedPath = ""
|
|
5064
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}/users/{UserId}";
|
|
5065
5065
|
if (input.AccountId !== undefined) {
|
|
5066
5066
|
labelValue = input.AccountId;
|
|
5067
5067
|
if (labelValue.length <= 0) {
|
|
@@ -5108,7 +5108,7 @@ export var serializeAws_restJson1PutAppInstanceRetentionSettingsCommand = functi
|
|
|
5108
5108
|
headers = {
|
|
5109
5109
|
"content-type": "application/json",
|
|
5110
5110
|
};
|
|
5111
|
-
resolvedPath = ""
|
|
5111
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
5112
5112
|
"/app-instances/{AppInstanceArn}/retention-settings";
|
|
5113
5113
|
if (input.AppInstanceArn !== undefined) {
|
|
5114
5114
|
labelValue = input.AppInstanceArn;
|
|
@@ -5155,7 +5155,7 @@ export var serializeAws_restJson1PutAppInstanceStreamingConfigurationsCommand =
|
|
|
5155
5155
|
headers = {
|
|
5156
5156
|
"content-type": "application/json",
|
|
5157
5157
|
};
|
|
5158
|
-
resolvedPath = ""
|
|
5158
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
5159
5159
|
"/app-instances/{AppInstanceArn}/streaming-configurations";
|
|
5160
5160
|
if (input.AppInstanceArn !== undefined) {
|
|
5161
5161
|
labelValue = input.AppInstanceArn;
|
|
@@ -5193,7 +5193,7 @@ export var serializeAws_restJson1PutEventsConfigurationCommand = function (input
|
|
|
5193
5193
|
headers = {
|
|
5194
5194
|
"content-type": "application/json",
|
|
5195
5195
|
};
|
|
5196
|
-
resolvedPath = ""
|
|
5196
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
5197
5197
|
"/accounts/{AccountId}/bots/{BotId}/events-configuration";
|
|
5198
5198
|
if (input.AccountId !== undefined) {
|
|
5199
5199
|
labelValue = input.AccountId;
|
|
@@ -5240,7 +5240,7 @@ export var serializeAws_restJson1PutRetentionSettingsCommand = function (input,
|
|
|
5240
5240
|
headers = {
|
|
5241
5241
|
"content-type": "application/json",
|
|
5242
5242
|
};
|
|
5243
|
-
resolvedPath = ""
|
|
5243
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}/retention-settings";
|
|
5244
5244
|
if (input.AccountId !== undefined) {
|
|
5245
5245
|
labelValue = input.AccountId;
|
|
5246
5246
|
if (labelValue.length <= 0) {
|
|
@@ -5277,7 +5277,7 @@ export var serializeAws_restJson1PutSipMediaApplicationLoggingConfigurationComma
|
|
|
5277
5277
|
headers = {
|
|
5278
5278
|
"content-type": "application/json",
|
|
5279
5279
|
};
|
|
5280
|
-
resolvedPath = ""
|
|
5280
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
5281
5281
|
"/sip-media-applications/{SipMediaApplicationId}/logging-configuration";
|
|
5282
5282
|
if (input.SipMediaApplicationId !== undefined) {
|
|
5283
5283
|
labelValue = input.SipMediaApplicationId;
|
|
@@ -5315,7 +5315,7 @@ export var serializeAws_restJson1PutVoiceConnectorEmergencyCallingConfigurationC
|
|
|
5315
5315
|
headers = {
|
|
5316
5316
|
"content-type": "application/json",
|
|
5317
5317
|
};
|
|
5318
|
-
resolvedPath = ""
|
|
5318
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
5319
5319
|
"/voice-connectors/{VoiceConnectorId}/emergency-calling-configuration";
|
|
5320
5320
|
if (input.VoiceConnectorId !== undefined) {
|
|
5321
5321
|
labelValue = input.VoiceConnectorId;
|
|
@@ -5353,7 +5353,7 @@ export var serializeAws_restJson1PutVoiceConnectorLoggingConfigurationCommand =
|
|
|
5353
5353
|
headers = {
|
|
5354
5354
|
"content-type": "application/json",
|
|
5355
5355
|
};
|
|
5356
|
-
resolvedPath = ""
|
|
5356
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
5357
5357
|
"/voice-connectors/{VoiceConnectorId}/logging-configuration";
|
|
5358
5358
|
if (input.VoiceConnectorId !== undefined) {
|
|
5359
5359
|
labelValue = input.VoiceConnectorId;
|
|
@@ -5391,7 +5391,7 @@ export var serializeAws_restJson1PutVoiceConnectorOriginationCommand = function
|
|
|
5391
5391
|
headers = {
|
|
5392
5392
|
"content-type": "application/json",
|
|
5393
5393
|
};
|
|
5394
|
-
resolvedPath = ""
|
|
5394
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
5395
5395
|
"/voice-connectors/{VoiceConnectorId}/origination";
|
|
5396
5396
|
if (input.VoiceConnectorId !== undefined) {
|
|
5397
5397
|
labelValue = input.VoiceConnectorId;
|
|
@@ -5427,7 +5427,7 @@ export var serializeAws_restJson1PutVoiceConnectorProxyCommand = function (input
|
|
|
5427
5427
|
headers = {
|
|
5428
5428
|
"content-type": "application/json",
|
|
5429
5429
|
};
|
|
5430
|
-
resolvedPath = ""
|
|
5430
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
5431
5431
|
"/voice-connectors/{VoiceConnectorId}/programmable-numbers/proxy";
|
|
5432
5432
|
if (input.VoiceConnectorId !== undefined) {
|
|
5433
5433
|
labelValue = input.VoiceConnectorId;
|
|
@@ -5467,7 +5467,7 @@ export var serializeAws_restJson1PutVoiceConnectorStreamingConfigurationCommand
|
|
|
5467
5467
|
headers = {
|
|
5468
5468
|
"content-type": "application/json",
|
|
5469
5469
|
};
|
|
5470
|
-
resolvedPath = ""
|
|
5470
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
5471
5471
|
"/voice-connectors/{VoiceConnectorId}/streaming-configuration";
|
|
5472
5472
|
if (input.VoiceConnectorId !== undefined) {
|
|
5473
5473
|
labelValue = input.VoiceConnectorId;
|
|
@@ -5505,7 +5505,7 @@ export var serializeAws_restJson1PutVoiceConnectorTerminationCommand = function
|
|
|
5505
5505
|
headers = {
|
|
5506
5506
|
"content-type": "application/json",
|
|
5507
5507
|
};
|
|
5508
|
-
resolvedPath = ""
|
|
5508
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
5509
5509
|
"/voice-connectors/{VoiceConnectorId}/termination";
|
|
5510
5510
|
if (input.VoiceConnectorId !== undefined) {
|
|
5511
5511
|
labelValue = input.VoiceConnectorId;
|
|
@@ -5541,7 +5541,7 @@ export var serializeAws_restJson1PutVoiceConnectorTerminationCredentialsCommand
|
|
|
5541
5541
|
headers = {
|
|
5542
5542
|
"content-type": "application/json",
|
|
5543
5543
|
};
|
|
5544
|
-
resolvedPath = ""
|
|
5544
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
5545
5545
|
"/voice-connectors/{VoiceConnectorId}/termination/credentials";
|
|
5546
5546
|
if (input.VoiceConnectorId !== undefined) {
|
|
5547
5547
|
labelValue = input.VoiceConnectorId;
|
|
@@ -5579,7 +5579,7 @@ export var serializeAws_restJson1RedactChannelMessageCommand = function (input,
|
|
|
5579
5579
|
case 1:
|
|
5580
5580
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
5581
5581
|
headers = __assign({}, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
5582
|
-
resolvedPath = ""
|
|
5582
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
5583
5583
|
"/channels/{ChannelArn}/messages/{MessageId}";
|
|
5584
5584
|
if (input.ChannelArn !== undefined) {
|
|
5585
5585
|
labelValue = input.ChannelArn;
|
|
@@ -5634,7 +5634,7 @@ export var serializeAws_restJson1RedactConversationMessageCommand = function (in
|
|
|
5634
5634
|
case 1:
|
|
5635
5635
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
5636
5636
|
headers = {};
|
|
5637
|
-
resolvedPath = ""
|
|
5637
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
5638
5638
|
"/accounts/{AccountId}/conversations/{ConversationId}/messages/{MessageId}";
|
|
5639
5639
|
if (input.AccountId !== undefined) {
|
|
5640
5640
|
labelValue = input.AccountId;
|
|
@@ -5690,7 +5690,7 @@ export var serializeAws_restJson1RedactRoomMessageCommand = function (input, con
|
|
|
5690
5690
|
case 1:
|
|
5691
5691
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
5692
5692
|
headers = {};
|
|
5693
|
-
resolvedPath = ""
|
|
5693
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
5694
5694
|
"/accounts/{AccountId}/rooms/{RoomId}/messages/{MessageId}";
|
|
5695
5695
|
if (input.AccountId !== undefined) {
|
|
5696
5696
|
labelValue = input.AccountId;
|
|
@@ -5746,7 +5746,7 @@ export var serializeAws_restJson1RegenerateSecurityTokenCommand = function (inpu
|
|
|
5746
5746
|
case 1:
|
|
5747
5747
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
5748
5748
|
headers = {};
|
|
5749
|
-
resolvedPath = ""
|
|
5749
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}/bots/{BotId}";
|
|
5750
5750
|
if (input.AccountId !== undefined) {
|
|
5751
5751
|
labelValue = input.AccountId;
|
|
5752
5752
|
if (labelValue.length <= 0) {
|
|
@@ -5791,7 +5791,7 @@ export var serializeAws_restJson1ResetPersonalPINCommand = function (input, cont
|
|
|
5791
5791
|
case 1:
|
|
5792
5792
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
5793
5793
|
headers = {};
|
|
5794
|
-
resolvedPath = ""
|
|
5794
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}/users/{UserId}";
|
|
5795
5795
|
if (input.AccountId !== undefined) {
|
|
5796
5796
|
labelValue = input.AccountId;
|
|
5797
5797
|
if (labelValue.length <= 0) {
|
|
@@ -5836,7 +5836,7 @@ export var serializeAws_restJson1RestorePhoneNumberCommand = function (input, co
|
|
|
5836
5836
|
case 1:
|
|
5837
5837
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
5838
5838
|
headers = {};
|
|
5839
|
-
resolvedPath = ""
|
|
5839
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/phone-numbers/{PhoneNumberId}";
|
|
5840
5840
|
if (input.PhoneNumberId !== undefined) {
|
|
5841
5841
|
labelValue = input.PhoneNumberId;
|
|
5842
5842
|
if (labelValue.length <= 0) {
|
|
@@ -5871,7 +5871,7 @@ export var serializeAws_restJson1SearchAvailablePhoneNumbersCommand = function (
|
|
|
5871
5871
|
case 1:
|
|
5872
5872
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
5873
5873
|
headers = {};
|
|
5874
|
-
resolvedPath = ""
|
|
5874
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/search";
|
|
5875
5875
|
query = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ type: "phone-numbers" }, (input.AreaCode !== undefined && { "area-code": input.AreaCode })), (input.City !== undefined && { city: input.City })), (input.Country !== undefined && { country: input.Country })), (input.State !== undefined && { state: input.State })), (input.TollFreePrefix !== undefined && { "toll-free-prefix": input.TollFreePrefix })), (input.PhoneNumberType !== undefined && { "phone-number-type": input.PhoneNumberType })), (input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() })), (input.NextToken !== undefined && { "next-token": input.NextToken }));
|
|
5876
5876
|
return [2, new __HttpRequest({
|
|
5877
5877
|
protocol: protocol,
|
|
@@ -5895,7 +5895,7 @@ export var serializeAws_restJson1SendChannelMessageCommand = function (input, co
|
|
|
5895
5895
|
case 1:
|
|
5896
5896
|
_a = _d.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
5897
5897
|
headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
5898
|
-
resolvedPath = ""
|
|
5898
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels/{ChannelArn}/messages";
|
|
5899
5899
|
if (input.ChannelArn !== undefined) {
|
|
5900
5900
|
labelValue = input.ChannelArn;
|
|
5901
5901
|
if (labelValue.length <= 0) {
|
|
@@ -5938,7 +5938,7 @@ export var serializeAws_restJson1StartMeetingTranscriptionCommand = function (in
|
|
|
5938
5938
|
headers = {
|
|
5939
5939
|
"content-type": "application/json",
|
|
5940
5940
|
};
|
|
5941
|
-
resolvedPath = ""
|
|
5941
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/meetings/{MeetingId}/transcription";
|
|
5942
5942
|
if (input.MeetingId !== undefined) {
|
|
5943
5943
|
labelValue = input.MeetingId;
|
|
5944
5944
|
if (labelValue.length <= 0) {
|
|
@@ -5977,7 +5977,7 @@ export var serializeAws_restJson1StopMeetingTranscriptionCommand = function (inp
|
|
|
5977
5977
|
case 1:
|
|
5978
5978
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
5979
5979
|
headers = {};
|
|
5980
|
-
resolvedPath = ""
|
|
5980
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/meetings/{MeetingId}/transcription";
|
|
5981
5981
|
if (input.MeetingId !== undefined) {
|
|
5982
5982
|
labelValue = input.MeetingId;
|
|
5983
5983
|
if (labelValue.length <= 0) {
|
|
@@ -6014,7 +6014,7 @@ export var serializeAws_restJson1TagAttendeeCommand = function (input, context)
|
|
|
6014
6014
|
headers = {
|
|
6015
6015
|
"content-type": "application/json",
|
|
6016
6016
|
};
|
|
6017
|
-
resolvedPath = ""
|
|
6017
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
6018
6018
|
"/meetings/{MeetingId}/attendees/{AttendeeId}/tags";
|
|
6019
6019
|
if (input.MeetingId !== undefined) {
|
|
6020
6020
|
labelValue = input.MeetingId;
|
|
@@ -6064,7 +6064,7 @@ export var serializeAws_restJson1TagMeetingCommand = function (input, context) {
|
|
|
6064
6064
|
headers = {
|
|
6065
6065
|
"content-type": "application/json",
|
|
6066
6066
|
};
|
|
6067
|
-
resolvedPath = ""
|
|
6067
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/meetings/{MeetingId}/tags";
|
|
6068
6068
|
if (input.MeetingId !== undefined) {
|
|
6069
6069
|
labelValue = input.MeetingId;
|
|
6070
6070
|
if (labelValue.length <= 0) {
|
|
@@ -6103,7 +6103,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
6103
6103
|
headers = {
|
|
6104
6104
|
"content-type": "application/json",
|
|
6105
6105
|
};
|
|
6106
|
-
resolvedPath = ""
|
|
6106
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags";
|
|
6107
6107
|
query = {
|
|
6108
6108
|
operation: "tag-resource",
|
|
6109
6109
|
};
|
|
@@ -6132,7 +6132,7 @@ export var serializeAws_restJson1UntagAttendeeCommand = function (input, context
|
|
|
6132
6132
|
headers = {
|
|
6133
6133
|
"content-type": "application/json",
|
|
6134
6134
|
};
|
|
6135
|
-
resolvedPath = ""
|
|
6135
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
6136
6136
|
"/meetings/{MeetingId}/attendees/{AttendeeId}/tags";
|
|
6137
6137
|
if (input.MeetingId !== undefined) {
|
|
6138
6138
|
labelValue = input.MeetingId;
|
|
@@ -6182,7 +6182,7 @@ export var serializeAws_restJson1UntagMeetingCommand = function (input, context)
|
|
|
6182
6182
|
headers = {
|
|
6183
6183
|
"content-type": "application/json",
|
|
6184
6184
|
};
|
|
6185
|
-
resolvedPath = ""
|
|
6185
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/meetings/{MeetingId}/tags";
|
|
6186
6186
|
if (input.MeetingId !== undefined) {
|
|
6187
6187
|
labelValue = input.MeetingId;
|
|
6188
6188
|
if (labelValue.length <= 0) {
|
|
@@ -6221,7 +6221,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
6221
6221
|
headers = {
|
|
6222
6222
|
"content-type": "application/json",
|
|
6223
6223
|
};
|
|
6224
|
-
resolvedPath = ""
|
|
6224
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags";
|
|
6225
6225
|
query = {
|
|
6226
6226
|
operation: "untag-resource",
|
|
6227
6227
|
};
|
|
@@ -6250,7 +6250,7 @@ export var serializeAws_restJson1UpdateAccountCommand = function (input, context
|
|
|
6250
6250
|
headers = {
|
|
6251
6251
|
"content-type": "application/json",
|
|
6252
6252
|
};
|
|
6253
|
-
resolvedPath = ""
|
|
6253
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}";
|
|
6254
6254
|
if (input.AccountId !== undefined) {
|
|
6255
6255
|
labelValue = input.AccountId;
|
|
6256
6256
|
if (labelValue.length <= 0) {
|
|
@@ -6285,7 +6285,7 @@ export var serializeAws_restJson1UpdateAccountSettingsCommand = function (input,
|
|
|
6285
6285
|
headers = {
|
|
6286
6286
|
"content-type": "application/json",
|
|
6287
6287
|
};
|
|
6288
|
-
resolvedPath = ""
|
|
6288
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}/settings";
|
|
6289
6289
|
if (input.AccountId !== undefined) {
|
|
6290
6290
|
labelValue = input.AccountId;
|
|
6291
6291
|
if (labelValue.length <= 0) {
|
|
@@ -6322,7 +6322,7 @@ export var serializeAws_restJson1UpdateAppInstanceCommand = function (input, con
|
|
|
6322
6322
|
headers = {
|
|
6323
6323
|
"content-type": "application/json",
|
|
6324
6324
|
};
|
|
6325
|
-
resolvedPath = ""
|
|
6325
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/app-instances/{AppInstanceArn}";
|
|
6326
6326
|
if (input.AppInstanceArn !== undefined) {
|
|
6327
6327
|
labelValue = input.AppInstanceArn;
|
|
6328
6328
|
if (labelValue.length <= 0) {
|
|
@@ -6365,7 +6365,7 @@ export var serializeAws_restJson1UpdateAppInstanceUserCommand = function (input,
|
|
|
6365
6365
|
headers = {
|
|
6366
6366
|
"content-type": "application/json",
|
|
6367
6367
|
};
|
|
6368
|
-
resolvedPath = ""
|
|
6368
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/app-instance-users/{AppInstanceUserArn}";
|
|
6369
6369
|
if (input.AppInstanceUserArn !== undefined) {
|
|
6370
6370
|
labelValue = input.AppInstanceUserArn;
|
|
6371
6371
|
if (labelValue.length <= 0) {
|
|
@@ -6408,7 +6408,7 @@ export var serializeAws_restJson1UpdateBotCommand = function (input, context) {
|
|
|
6408
6408
|
headers = {
|
|
6409
6409
|
"content-type": "application/json",
|
|
6410
6410
|
};
|
|
6411
|
-
resolvedPath = ""
|
|
6411
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}/bots/{BotId}";
|
|
6412
6412
|
if (input.AccountId !== undefined) {
|
|
6413
6413
|
labelValue = input.AccountId;
|
|
6414
6414
|
if (labelValue.length <= 0) {
|
|
@@ -6450,7 +6450,7 @@ export var serializeAws_restJson1UpdateChannelCommand = function (input, context
|
|
|
6450
6450
|
case 1:
|
|
6451
6451
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
6452
6452
|
headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
6453
|
-
resolvedPath = ""
|
|
6453
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels/{ChannelArn}";
|
|
6454
6454
|
if (input.ChannelArn !== undefined) {
|
|
6455
6455
|
labelValue = input.ChannelArn;
|
|
6456
6456
|
if (labelValue.length <= 0) {
|
|
@@ -6491,7 +6491,7 @@ export var serializeAws_restJson1UpdateChannelMessageCommand = function (input,
|
|
|
6491
6491
|
case 1:
|
|
6492
6492
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
6493
6493
|
headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
6494
|
-
resolvedPath = ""
|
|
6494
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
6495
6495
|
"/channels/{ChannelArn}/messages/{MessageId}";
|
|
6496
6496
|
if (input.ChannelArn !== undefined) {
|
|
6497
6497
|
labelValue = input.ChannelArn;
|
|
@@ -6543,7 +6543,7 @@ export var serializeAws_restJson1UpdateChannelReadMarkerCommand = function (inpu
|
|
|
6543
6543
|
case 1:
|
|
6544
6544
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
6545
6545
|
headers = __assign({}, (isSerializableHeaderValue(input.ChimeBearer) && { "x-amz-chime-bearer": input.ChimeBearer }));
|
|
6546
|
-
resolvedPath = ""
|
|
6546
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels/{ChannelArn}/readMarker";
|
|
6547
6547
|
if (input.ChannelArn !== undefined) {
|
|
6548
6548
|
labelValue = input.ChannelArn;
|
|
6549
6549
|
if (labelValue.length <= 0) {
|
|
@@ -6585,7 +6585,7 @@ export var serializeAws_restJson1UpdateGlobalSettingsCommand = function (input,
|
|
|
6585
6585
|
headers = {
|
|
6586
6586
|
"content-type": "application/json",
|
|
6587
6587
|
};
|
|
6588
|
-
resolvedPath = ""
|
|
6588
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/settings";
|
|
6589
6589
|
body = JSON.stringify(__assign(__assign({}, (input.BusinessCalling !== undefined &&
|
|
6590
6590
|
input.BusinessCalling !== null && {
|
|
6591
6591
|
BusinessCalling: serializeAws_restJson1BusinessCallingSettings(input.BusinessCalling, context),
|
|
@@ -6615,7 +6615,7 @@ export var serializeAws_restJson1UpdatePhoneNumberCommand = function (input, con
|
|
|
6615
6615
|
headers = {
|
|
6616
6616
|
"content-type": "application/json",
|
|
6617
6617
|
};
|
|
6618
|
-
resolvedPath = ""
|
|
6618
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/phone-numbers/{PhoneNumberId}";
|
|
6619
6619
|
if (input.PhoneNumberId !== undefined) {
|
|
6620
6620
|
labelValue = input.PhoneNumberId;
|
|
6621
6621
|
if (labelValue.length <= 0) {
|
|
@@ -6649,7 +6649,7 @@ export var serializeAws_restJson1UpdatePhoneNumberSettingsCommand = function (in
|
|
|
6649
6649
|
headers = {
|
|
6650
6650
|
"content-type": "application/json",
|
|
6651
6651
|
};
|
|
6652
|
-
resolvedPath = ""
|
|
6652
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/settings/phone-number";
|
|
6653
6653
|
body = JSON.stringify(__assign({}, (input.CallingName !== undefined && input.CallingName !== null && { CallingName: input.CallingName })));
|
|
6654
6654
|
return [2, new __HttpRequest({
|
|
6655
6655
|
protocol: protocol,
|
|
@@ -6673,7 +6673,7 @@ export var serializeAws_restJson1UpdateProxySessionCommand = function (input, co
|
|
|
6673
6673
|
headers = {
|
|
6674
6674
|
"content-type": "application/json",
|
|
6675
6675
|
};
|
|
6676
|
-
resolvedPath = ""
|
|
6676
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
6677
6677
|
"/voice-connectors/{VoiceConnectorId}/proxy-sessions/{ProxySessionId}";
|
|
6678
6678
|
if (input.VoiceConnectorId !== undefined) {
|
|
6679
6679
|
labelValue = input.VoiceConnectorId;
|
|
@@ -6721,7 +6721,7 @@ export var serializeAws_restJson1UpdateRoomCommand = function (input, context) {
|
|
|
6721
6721
|
headers = {
|
|
6722
6722
|
"content-type": "application/json",
|
|
6723
6723
|
};
|
|
6724
|
-
resolvedPath = ""
|
|
6724
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}/rooms/{RoomId}";
|
|
6725
6725
|
if (input.AccountId !== undefined) {
|
|
6726
6726
|
labelValue = input.AccountId;
|
|
6727
6727
|
if (labelValue.length <= 0) {
|
|
@@ -6765,7 +6765,7 @@ export var serializeAws_restJson1UpdateRoomMembershipCommand = function (input,
|
|
|
6765
6765
|
headers = {
|
|
6766
6766
|
"content-type": "application/json",
|
|
6767
6767
|
};
|
|
6768
|
-
resolvedPath = ""
|
|
6768
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
6769
6769
|
"/accounts/{AccountId}/rooms/{RoomId}/memberships/{MemberId}";
|
|
6770
6770
|
if (input.AccountId !== undefined) {
|
|
6771
6771
|
labelValue = input.AccountId;
|
|
@@ -6820,7 +6820,7 @@ export var serializeAws_restJson1UpdateSipMediaApplicationCommand = function (in
|
|
|
6820
6820
|
headers = {
|
|
6821
6821
|
"content-type": "application/json",
|
|
6822
6822
|
};
|
|
6823
|
-
resolvedPath = ""
|
|
6823
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
6824
6824
|
"/sip-media-applications/{SipMediaApplicationId}";
|
|
6825
6825
|
if (input.SipMediaApplicationId !== undefined) {
|
|
6826
6826
|
labelValue = input.SipMediaApplicationId;
|
|
@@ -6858,7 +6858,7 @@ export var serializeAws_restJson1UpdateSipMediaApplicationCallCommand = function
|
|
|
6858
6858
|
headers = {
|
|
6859
6859
|
"content-type": "application/json",
|
|
6860
6860
|
};
|
|
6861
|
-
resolvedPath = ""
|
|
6861
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
6862
6862
|
"/sip-media-applications/{SipMediaApplicationId}/calls/{TransactionId}";
|
|
6863
6863
|
if (input.SipMediaApplicationId !== undefined) {
|
|
6864
6864
|
labelValue = input.SipMediaApplicationId;
|
|
@@ -6906,7 +6906,7 @@ export var serializeAws_restJson1UpdateSipRuleCommand = function (input, context
|
|
|
6906
6906
|
headers = {
|
|
6907
6907
|
"content-type": "application/json",
|
|
6908
6908
|
};
|
|
6909
|
-
resolvedPath = ""
|
|
6909
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sip-rules/{SipRuleId}";
|
|
6910
6910
|
if (input.SipRuleId !== undefined) {
|
|
6911
6911
|
labelValue = input.SipRuleId;
|
|
6912
6912
|
if (labelValue.length <= 0) {
|
|
@@ -6943,7 +6943,7 @@ export var serializeAws_restJson1UpdateUserCommand = function (input, context) {
|
|
|
6943
6943
|
headers = {
|
|
6944
6944
|
"content-type": "application/json",
|
|
6945
6945
|
};
|
|
6946
|
-
resolvedPath = ""
|
|
6946
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/{AccountId}/users/{UserId}";
|
|
6947
6947
|
if (input.AccountId !== undefined) {
|
|
6948
6948
|
labelValue = input.AccountId;
|
|
6949
6949
|
if (labelValue.length <= 0) {
|
|
@@ -6990,7 +6990,7 @@ export var serializeAws_restJson1UpdateUserSettingsCommand = function (input, co
|
|
|
6990
6990
|
headers = {
|
|
6991
6991
|
"content-type": "application/json",
|
|
6992
6992
|
};
|
|
6993
|
-
resolvedPath = ""
|
|
6993
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
6994
6994
|
"/accounts/{AccountId}/users/{UserId}/settings";
|
|
6995
6995
|
if (input.AccountId !== undefined) {
|
|
6996
6996
|
labelValue = input.AccountId;
|
|
@@ -7036,7 +7036,7 @@ export var serializeAws_restJson1UpdateVoiceConnectorCommand = function (input,
|
|
|
7036
7036
|
headers = {
|
|
7037
7037
|
"content-type": "application/json",
|
|
7038
7038
|
};
|
|
7039
|
-
resolvedPath = ""
|
|
7039
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/voice-connectors/{VoiceConnectorId}";
|
|
7040
7040
|
if (input.VoiceConnectorId !== undefined) {
|
|
7041
7041
|
labelValue = input.VoiceConnectorId;
|
|
7042
7042
|
if (labelValue.length <= 0) {
|
|
@@ -7071,7 +7071,7 @@ export var serializeAws_restJson1UpdateVoiceConnectorGroupCommand = function (in
|
|
|
7071
7071
|
headers = {
|
|
7072
7072
|
"content-type": "application/json",
|
|
7073
7073
|
};
|
|
7074
|
-
resolvedPath = ""
|
|
7074
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
7075
7075
|
"/voice-connector-groups/{VoiceConnectorGroupId}";
|
|
7076
7076
|
if (input.VoiceConnectorGroupId !== undefined) {
|
|
7077
7077
|
labelValue = input.VoiceConnectorGroupId;
|
|
@@ -9118,37 +9118,41 @@ var deserializeAws_restJson1CreateMeetingDialOutCommandError = function (output,
|
|
|
9118
9118
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9119
9119
|
_b = errorCode;
|
|
9120
9120
|
switch (_b) {
|
|
9121
|
-
case "
|
|
9122
|
-
case "com.amazonaws.chime#
|
|
9123
|
-
case "
|
|
9124
|
-
case "com.amazonaws.chime#
|
|
9125
|
-
case "
|
|
9126
|
-
case "com.amazonaws.chime#
|
|
9127
|
-
case "
|
|
9128
|
-
case "com.amazonaws.chime#
|
|
9129
|
-
case "
|
|
9130
|
-
case "com.amazonaws.chime#
|
|
9131
|
-
case "
|
|
9132
|
-
case "com.amazonaws.chime#
|
|
9133
|
-
case "
|
|
9134
|
-
case "com.amazonaws.chime#
|
|
9121
|
+
case "AccessDeniedException": return [3, 2];
|
|
9122
|
+
case "com.amazonaws.chime#AccessDeniedException": return [3, 2];
|
|
9123
|
+
case "BadRequestException": return [3, 4];
|
|
9124
|
+
case "com.amazonaws.chime#BadRequestException": return [3, 4];
|
|
9125
|
+
case "ForbiddenException": return [3, 6];
|
|
9126
|
+
case "com.amazonaws.chime#ForbiddenException": return [3, 6];
|
|
9127
|
+
case "ResourceLimitExceededException": return [3, 8];
|
|
9128
|
+
case "com.amazonaws.chime#ResourceLimitExceededException": return [3, 8];
|
|
9129
|
+
case "ServiceFailureException": return [3, 10];
|
|
9130
|
+
case "com.amazonaws.chime#ServiceFailureException": return [3, 10];
|
|
9131
|
+
case "ServiceUnavailableException": return [3, 12];
|
|
9132
|
+
case "com.amazonaws.chime#ServiceUnavailableException": return [3, 12];
|
|
9133
|
+
case "ThrottledClientException": return [3, 14];
|
|
9134
|
+
case "com.amazonaws.chime#ThrottledClientException": return [3, 14];
|
|
9135
|
+
case "UnauthorizedClientException": return [3, 16];
|
|
9136
|
+
case "com.amazonaws.chime#UnauthorizedClientException": return [3, 16];
|
|
9135
9137
|
}
|
|
9136
|
-
return [3,
|
|
9137
|
-
case 2: return [4,
|
|
9138
|
+
return [3, 18];
|
|
9139
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
9138
9140
|
case 3: throw _d.sent();
|
|
9139
|
-
case 4: return [4,
|
|
9141
|
+
case 4: return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
|
|
9140
9142
|
case 5: throw _d.sent();
|
|
9141
|
-
case 6: return [4,
|
|
9143
|
+
case 6: return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
9142
9144
|
case 7: throw _d.sent();
|
|
9143
|
-
case 8: return [4,
|
|
9145
|
+
case 8: return [4, deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context)];
|
|
9144
9146
|
case 9: throw _d.sent();
|
|
9145
|
-
case 10: return [4,
|
|
9147
|
+
case 10: return [4, deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context)];
|
|
9146
9148
|
case 11: throw _d.sent();
|
|
9147
|
-
case 12: return [4,
|
|
9149
|
+
case 12: return [4, deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context)];
|
|
9148
9150
|
case 13: throw _d.sent();
|
|
9149
|
-
case 14: return [4,
|
|
9151
|
+
case 14: return [4, deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context)];
|
|
9150
9152
|
case 15: throw _d.sent();
|
|
9151
|
-
case 16:
|
|
9153
|
+
case 16: return [4, deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context)];
|
|
9154
|
+
case 17: throw _d.sent();
|
|
9155
|
+
case 18:
|
|
9152
9156
|
parsedBody = parsedOutput.body;
|
|
9153
9157
|
response = new __BaseException({
|
|
9154
9158
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -22622,7 +22626,8 @@ var serializeAws_restJson1GeoMatchParams = function (input, context) {
|
|
|
22622
22626
|
return __assign(__assign({}, (input.AreaCode !== undefined && input.AreaCode !== null && { AreaCode: input.AreaCode })), (input.Country !== undefined && input.Country !== null && { Country: input.Country }));
|
|
22623
22627
|
};
|
|
22624
22628
|
var serializeAws_restJson1LoggingConfiguration = function (input, context) {
|
|
22625
|
-
return __assign({}, (input.
|
|
22629
|
+
return __assign(__assign({}, (input.EnableMediaMetricLogs !== undefined &&
|
|
22630
|
+
input.EnableMediaMetricLogs !== null && { EnableMediaMetricLogs: input.EnableMediaMetricLogs })), (input.EnableSIPLogs !== undefined && input.EnableSIPLogs !== null && { EnableSIPLogs: input.EnableSIPLogs }));
|
|
22626
22631
|
};
|
|
22627
22632
|
var serializeAws_restJson1MeetingNotificationConfiguration = function (input, context) {
|
|
22628
22633
|
return __assign(__assign({}, (input.SnsTopicArn !== undefined && input.SnsTopicArn !== null && { SnsTopicArn: input.SnsTopicArn })), (input.SqsQueueArn !== undefined && input.SqsQueueArn !== null && { SqsQueueArn: input.SqsQueueArn }));
|
|
@@ -23636,6 +23641,7 @@ var deserializeAws_restJson1LicenseList = function (output, context) {
|
|
|
23636
23641
|
};
|
|
23637
23642
|
var deserializeAws_restJson1LoggingConfiguration = function (output, context) {
|
|
23638
23643
|
return {
|
|
23644
|
+
EnableMediaMetricLogs: __expectBoolean(output.EnableMediaMetricLogs),
|
|
23639
23645
|
EnableSIPLogs: __expectBoolean(output.EnableSIPLogs),
|
|
23640
23646
|
};
|
|
23641
23647
|
};
|