@aws-sdk/client-connect 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 +30 -0
- package/dist-cjs/ConnectClient.js +13 -13
- package/dist-cjs/commands/AssociateApprovedOriginCommand.js +3 -3
- package/dist-cjs/commands/AssociateBotCommand.js +3 -3
- package/dist-cjs/commands/AssociateDefaultVocabularyCommand.js +3 -3
- package/dist-cjs/commands/AssociateInstanceStorageConfigCommand.js +3 -3
- package/dist-cjs/commands/AssociateLambdaFunctionCommand.js +3 -3
- package/dist-cjs/commands/AssociateLexBotCommand.js +3 -3
- package/dist-cjs/commands/AssociateQueueQuickConnectsCommand.js +3 -3
- package/dist-cjs/commands/AssociateRoutingProfileQueuesCommand.js +3 -3
- package/dist-cjs/commands/AssociateSecurityKeyCommand.js +3 -3
- package/dist-cjs/commands/CreateAgentStatusCommand.js +3 -3
- package/dist-cjs/commands/CreateContactFlowCommand.js +3 -3
- package/dist-cjs/commands/CreateContactFlowModuleCommand.js +3 -3
- package/dist-cjs/commands/CreateHoursOfOperationCommand.js +3 -3
- package/dist-cjs/commands/CreateInstanceCommand.js +3 -3
- package/dist-cjs/commands/CreateIntegrationAssociationCommand.js +3 -3
- package/dist-cjs/commands/CreateQueueCommand.js +3 -3
- package/dist-cjs/commands/CreateQuickConnectCommand.js +3 -3
- package/dist-cjs/commands/CreateRoutingProfileCommand.js +3 -3
- package/dist-cjs/commands/CreateSecurityProfileCommand.js +3 -3
- package/dist-cjs/commands/CreateUseCaseCommand.js +3 -3
- package/dist-cjs/commands/CreateUserCommand.js +3 -3
- package/dist-cjs/commands/CreateUserHierarchyGroupCommand.js +3 -3
- package/dist-cjs/commands/CreateVocabularyCommand.js +3 -3
- package/dist-cjs/commands/DeleteContactFlowCommand.js +3 -3
- package/dist-cjs/commands/DeleteContactFlowModuleCommand.js +3 -3
- package/dist-cjs/commands/DeleteHoursOfOperationCommand.js +3 -3
- package/dist-cjs/commands/DeleteInstanceCommand.js +3 -3
- package/dist-cjs/commands/DeleteIntegrationAssociationCommand.js +3 -3
- package/dist-cjs/commands/DeleteQuickConnectCommand.js +3 -3
- package/dist-cjs/commands/DeleteSecurityProfileCommand.js +3 -3
- package/dist-cjs/commands/DeleteUseCaseCommand.js +3 -3
- package/dist-cjs/commands/DeleteUserCommand.js +3 -3
- package/dist-cjs/commands/DeleteUserHierarchyGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteVocabularyCommand.js +3 -3
- package/dist-cjs/commands/DescribeAgentStatusCommand.js +3 -3
- package/dist-cjs/commands/DescribeContactCommand.js +3 -3
- package/dist-cjs/commands/DescribeContactFlowCommand.js +3 -3
- package/dist-cjs/commands/DescribeContactFlowModuleCommand.js +3 -3
- package/dist-cjs/commands/DescribeHoursOfOperationCommand.js +3 -3
- package/dist-cjs/commands/DescribeInstanceAttributeCommand.js +3 -3
- package/dist-cjs/commands/DescribeInstanceCommand.js +3 -3
- package/dist-cjs/commands/DescribeInstanceStorageConfigCommand.js +3 -3
- package/dist-cjs/commands/DescribeQueueCommand.js +3 -3
- package/dist-cjs/commands/DescribeQuickConnectCommand.js +3 -3
- package/dist-cjs/commands/DescribeRoutingProfileCommand.js +3 -3
- package/dist-cjs/commands/DescribeSecurityProfileCommand.js +3 -3
- package/dist-cjs/commands/DescribeUserCommand.js +3 -3
- package/dist-cjs/commands/DescribeUserHierarchyGroupCommand.js +3 -3
- package/dist-cjs/commands/DescribeUserHierarchyStructureCommand.js +3 -3
- package/dist-cjs/commands/DescribeVocabularyCommand.js +3 -3
- package/dist-cjs/commands/DisassociateApprovedOriginCommand.js +3 -3
- package/dist-cjs/commands/DisassociateBotCommand.js +3 -3
- package/dist-cjs/commands/DisassociateInstanceStorageConfigCommand.js +3 -3
- package/dist-cjs/commands/DisassociateLambdaFunctionCommand.js +3 -3
- package/dist-cjs/commands/DisassociateLexBotCommand.js +3 -3
- package/dist-cjs/commands/DisassociateQueueQuickConnectsCommand.js +3 -3
- package/dist-cjs/commands/DisassociateRoutingProfileQueuesCommand.js +3 -3
- package/dist-cjs/commands/DisassociateSecurityKeyCommand.js +3 -3
- package/dist-cjs/commands/GetContactAttributesCommand.js +3 -3
- package/dist-cjs/commands/GetCurrentMetricDataCommand.js +3 -3
- package/dist-cjs/commands/GetFederationTokenCommand.js +3 -3
- package/dist-cjs/commands/GetMetricDataCommand.js +3 -3
- package/dist-cjs/commands/ListAgentStatusesCommand.js +3 -3
- package/dist-cjs/commands/ListApprovedOriginsCommand.js +3 -3
- package/dist-cjs/commands/ListBotsCommand.js +3 -3
- package/dist-cjs/commands/ListContactFlowModulesCommand.js +3 -3
- package/dist-cjs/commands/ListContactFlowsCommand.js +3 -3
- package/dist-cjs/commands/ListContactReferencesCommand.js +3 -3
- package/dist-cjs/commands/ListDefaultVocabulariesCommand.js +3 -3
- package/dist-cjs/commands/ListHoursOfOperationsCommand.js +3 -3
- package/dist-cjs/commands/ListInstanceAttributesCommand.js +3 -3
- package/dist-cjs/commands/ListInstanceStorageConfigsCommand.js +3 -3
- package/dist-cjs/commands/ListInstancesCommand.js +3 -3
- package/dist-cjs/commands/ListIntegrationAssociationsCommand.js +3 -3
- package/dist-cjs/commands/ListLambdaFunctionsCommand.js +3 -3
- package/dist-cjs/commands/ListLexBotsCommand.js +3 -3
- package/dist-cjs/commands/ListPhoneNumbersCommand.js +3 -3
- package/dist-cjs/commands/ListPromptsCommand.js +3 -3
- package/dist-cjs/commands/ListQueueQuickConnectsCommand.js +3 -3
- package/dist-cjs/commands/ListQueuesCommand.js +3 -3
- package/dist-cjs/commands/ListQuickConnectsCommand.js +3 -3
- package/dist-cjs/commands/ListRoutingProfileQueuesCommand.js +3 -3
- package/dist-cjs/commands/ListRoutingProfilesCommand.js +3 -3
- package/dist-cjs/commands/ListSecurityKeysCommand.js +3 -3
- package/dist-cjs/commands/ListSecurityProfilePermissionsCommand.js +3 -3
- package/dist-cjs/commands/ListSecurityProfilesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListUseCasesCommand.js +3 -3
- package/dist-cjs/commands/ListUserHierarchyGroupsCommand.js +3 -3
- package/dist-cjs/commands/ListUsersCommand.js +3 -3
- package/dist-cjs/commands/ResumeContactRecordingCommand.js +3 -3
- package/dist-cjs/commands/SearchVocabulariesCommand.js +3 -3
- package/dist-cjs/commands/StartChatContactCommand.js +3 -3
- package/dist-cjs/commands/StartContactRecordingCommand.js +3 -3
- package/dist-cjs/commands/StartContactStreamingCommand.js +3 -3
- package/dist-cjs/commands/StartOutboundVoiceContactCommand.js +3 -3
- package/dist-cjs/commands/StartTaskContactCommand.js +3 -3
- package/dist-cjs/commands/StopContactCommand.js +3 -3
- package/dist-cjs/commands/StopContactRecordingCommand.js +3 -3
- package/dist-cjs/commands/StopContactStreamingCommand.js +3 -3
- package/dist-cjs/commands/SuspendContactRecordingCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateAgentStatusCommand.js +3 -3
- package/dist-cjs/commands/UpdateContactAttributesCommand.js +3 -3
- package/dist-cjs/commands/UpdateContactCommand.js +3 -3
- package/dist-cjs/commands/UpdateContactFlowContentCommand.js +3 -3
- package/dist-cjs/commands/UpdateContactFlowMetadataCommand.js +3 -3
- package/dist-cjs/commands/UpdateContactFlowModuleContentCommand.js +3 -3
- package/dist-cjs/commands/UpdateContactFlowModuleMetadataCommand.js +3 -3
- package/dist-cjs/commands/UpdateContactFlowNameCommand.js +3 -3
- package/dist-cjs/commands/UpdateContactScheduleCommand.js +3 -3
- package/dist-cjs/commands/UpdateHoursOfOperationCommand.js +3 -3
- package/dist-cjs/commands/UpdateInstanceAttributeCommand.js +3 -3
- package/dist-cjs/commands/UpdateInstanceStorageConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateQueueHoursOfOperationCommand.js +3 -3
- package/dist-cjs/commands/UpdateQueueMaxContactsCommand.js +3 -3
- package/dist-cjs/commands/UpdateQueueNameCommand.js +3 -3
- package/dist-cjs/commands/UpdateQueueOutboundCallerConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateQueueStatusCommand.js +3 -3
- package/dist-cjs/commands/UpdateQuickConnectConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateQuickConnectNameCommand.js +3 -3
- package/dist-cjs/commands/UpdateRoutingProfileConcurrencyCommand.js +3 -3
- package/dist-cjs/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.js +3 -3
- package/dist-cjs/commands/UpdateRoutingProfileNameCommand.js +3 -3
- package/dist-cjs/commands/UpdateRoutingProfileQueuesCommand.js +3 -3
- package/dist-cjs/commands/UpdateSecurityProfileCommand.js +3 -3
- package/dist-cjs/commands/UpdateUserHierarchyCommand.js +3 -3
- package/dist-cjs/commands/UpdateUserHierarchyGroupNameCommand.js +3 -3
- package/dist-cjs/commands/UpdateUserHierarchyStructureCommand.js +3 -3
- package/dist-cjs/commands/UpdateUserIdentityInfoCommand.js +3 -3
- package/dist-cjs/commands/UpdateUserPhoneConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateUserRoutingProfileCommand.js +3 -3
- package/dist-cjs/commands/UpdateUserSecurityProfilesCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +765 -751
- 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/Connect.js +134 -134
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/GetCurrentMetricDataPaginator.js +4 -4
- package/dist-es/pagination/GetMetricDataPaginator.js +4 -4
- package/dist-es/pagination/ListAgentStatusesPaginator.js +4 -4
- package/dist-es/pagination/ListApprovedOriginsPaginator.js +4 -4
- package/dist-es/pagination/ListBotsPaginator.js +4 -4
- package/dist-es/pagination/ListContactFlowModulesPaginator.js +4 -4
- package/dist-es/pagination/ListContactFlowsPaginator.js +4 -4
- package/dist-es/pagination/ListContactReferencesPaginator.js +4 -4
- package/dist-es/pagination/ListDefaultVocabulariesPaginator.js +4 -4
- package/dist-es/pagination/ListHoursOfOperationsPaginator.js +4 -4
- package/dist-es/pagination/ListInstanceAttributesPaginator.js +4 -4
- package/dist-es/pagination/ListInstanceStorageConfigsPaginator.js +4 -4
- package/dist-es/pagination/ListInstancesPaginator.js +4 -4
- package/dist-es/pagination/ListIntegrationAssociationsPaginator.js +4 -4
- package/dist-es/pagination/ListLambdaFunctionsPaginator.js +4 -4
- package/dist-es/pagination/ListLexBotsPaginator.js +4 -4
- package/dist-es/pagination/ListPhoneNumbersPaginator.js +4 -4
- package/dist-es/pagination/ListPromptsPaginator.js +4 -4
- package/dist-es/pagination/ListQueueQuickConnectsPaginator.js +4 -4
- package/dist-es/pagination/ListQueuesPaginator.js +4 -4
- package/dist-es/pagination/ListQuickConnectsPaginator.js +4 -4
- package/dist-es/pagination/ListRoutingProfileQueuesPaginator.js +4 -4
- package/dist-es/pagination/ListRoutingProfilesPaginator.js +4 -4
- package/dist-es/pagination/ListSecurityKeysPaginator.js +4 -4
- package/dist-es/pagination/ListSecurityProfilePermissionsPaginator.js +4 -4
- package/dist-es/pagination/ListSecurityProfilesPaginator.js +4 -4
- package/dist-es/pagination/ListUseCasesPaginator.js +4 -4
- package/dist-es/pagination/ListUserHierarchyGroupsPaginator.js +4 -4
- package/dist-es/pagination/ListUsersPaginator.js +4 -4
- package/dist-es/pagination/SearchVocabulariesPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +148 -135
- package/dist-types/Connect.d.ts +26 -2
- package/dist-types/ConnectClient.d.ts +2 -2
- package/dist-types/commands/StartContactRecordingCommand.d.ts +11 -1
- package/dist-types/commands/StopContactCommand.d.ts +15 -1
- package/dist-types/models/models_0.d.ts +6 -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/ConnectClient.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +3 -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
|
@@ -15,7 +15,7 @@ export var serializeAws_restJson1AssociateApprovedOriginCommand = function (inpu
|
|
|
15
15
|
headers = {
|
|
16
16
|
"content-type": "application/json",
|
|
17
17
|
};
|
|
18
|
-
resolvedPath = ""
|
|
18
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/instance/{InstanceId}/approved-origin";
|
|
19
19
|
if (input.InstanceId !== undefined) {
|
|
20
20
|
labelValue = input.InstanceId;
|
|
21
21
|
if (labelValue.length <= 0) {
|
|
@@ -49,7 +49,7 @@ export var serializeAws_restJson1AssociateBotCommand = function (input, context)
|
|
|
49
49
|
headers = {
|
|
50
50
|
"content-type": "application/json",
|
|
51
51
|
};
|
|
52
|
-
resolvedPath = ""
|
|
52
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/instance/{InstanceId}/bot";
|
|
53
53
|
if (input.InstanceId !== undefined) {
|
|
54
54
|
labelValue = input.InstanceId;
|
|
55
55
|
if (labelValue.length <= 0) {
|
|
@@ -85,7 +85,7 @@ export var serializeAws_restJson1AssociateDefaultVocabularyCommand = function (i
|
|
|
85
85
|
headers = {
|
|
86
86
|
"content-type": "application/json",
|
|
87
87
|
};
|
|
88
|
-
resolvedPath = ""
|
|
88
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
89
89
|
"/default-vocabulary/{InstanceId}/{LanguageCode}";
|
|
90
90
|
if (input.InstanceId !== undefined) {
|
|
91
91
|
labelValue = input.InstanceId;
|
|
@@ -130,7 +130,7 @@ export var serializeAws_restJson1AssociateInstanceStorageConfigCommand = functio
|
|
|
130
130
|
headers = {
|
|
131
131
|
"content-type": "application/json",
|
|
132
132
|
};
|
|
133
|
-
resolvedPath = ""
|
|
133
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/instance/{InstanceId}/storage-config";
|
|
134
134
|
if (input.InstanceId !== undefined) {
|
|
135
135
|
labelValue = input.InstanceId;
|
|
136
136
|
if (labelValue.length <= 0) {
|
|
@@ -167,7 +167,7 @@ export var serializeAws_restJson1AssociateLambdaFunctionCommand = function (inpu
|
|
|
167
167
|
headers = {
|
|
168
168
|
"content-type": "application/json",
|
|
169
169
|
};
|
|
170
|
-
resolvedPath = ""
|
|
170
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/instance/{InstanceId}/lambda-function";
|
|
171
171
|
if (input.InstanceId !== undefined) {
|
|
172
172
|
labelValue = input.InstanceId;
|
|
173
173
|
if (labelValue.length <= 0) {
|
|
@@ -201,7 +201,7 @@ export var serializeAws_restJson1AssociateLexBotCommand = function (input, conte
|
|
|
201
201
|
headers = {
|
|
202
202
|
"content-type": "application/json",
|
|
203
203
|
};
|
|
204
|
-
resolvedPath = ""
|
|
204
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/instance/{InstanceId}/lex-bot";
|
|
205
205
|
if (input.InstanceId !== undefined) {
|
|
206
206
|
labelValue = input.InstanceId;
|
|
207
207
|
if (labelValue.length <= 0) {
|
|
@@ -236,7 +236,7 @@ export var serializeAws_restJson1AssociateQueueQuickConnectsCommand = function (
|
|
|
236
236
|
headers = {
|
|
237
237
|
"content-type": "application/json",
|
|
238
238
|
};
|
|
239
|
-
resolvedPath = ""
|
|
239
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
240
240
|
"/queues/{InstanceId}/{QueueId}/associate-quick-connects";
|
|
241
241
|
if (input.InstanceId !== undefined) {
|
|
242
242
|
labelValue = input.InstanceId;
|
|
@@ -284,7 +284,7 @@ export var serializeAws_restJson1AssociateRoutingProfileQueuesCommand = function
|
|
|
284
284
|
headers = {
|
|
285
285
|
"content-type": "application/json",
|
|
286
286
|
};
|
|
287
|
-
resolvedPath = ""
|
|
287
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
288
288
|
"/routing-profiles/{InstanceId}/{RoutingProfileId}/associate-queues";
|
|
289
289
|
if (input.InstanceId !== undefined) {
|
|
290
290
|
labelValue = input.InstanceId;
|
|
@@ -332,7 +332,7 @@ export var serializeAws_restJson1AssociateSecurityKeyCommand = function (input,
|
|
|
332
332
|
headers = {
|
|
333
333
|
"content-type": "application/json",
|
|
334
334
|
};
|
|
335
|
-
resolvedPath = ""
|
|
335
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/instance/{InstanceId}/security-key";
|
|
336
336
|
if (input.InstanceId !== undefined) {
|
|
337
337
|
labelValue = input.InstanceId;
|
|
338
338
|
if (labelValue.length <= 0) {
|
|
@@ -366,7 +366,7 @@ export var serializeAws_restJson1CreateAgentStatusCommand = function (input, con
|
|
|
366
366
|
headers = {
|
|
367
367
|
"content-type": "application/json",
|
|
368
368
|
};
|
|
369
|
-
resolvedPath = ""
|
|
369
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/agent-status/{InstanceId}";
|
|
370
370
|
if (input.InstanceId !== undefined) {
|
|
371
371
|
labelValue = input.InstanceId;
|
|
372
372
|
if (labelValue.length <= 0) {
|
|
@@ -400,7 +400,7 @@ export var serializeAws_restJson1CreateContactFlowCommand = function (input, con
|
|
|
400
400
|
headers = {
|
|
401
401
|
"content-type": "application/json",
|
|
402
402
|
};
|
|
403
|
-
resolvedPath = ""
|
|
403
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/contact-flows/{InstanceId}";
|
|
404
404
|
if (input.InstanceId !== undefined) {
|
|
405
405
|
labelValue = input.InstanceId;
|
|
406
406
|
if (labelValue.length <= 0) {
|
|
@@ -435,7 +435,7 @@ export var serializeAws_restJson1CreateContactFlowModuleCommand = function (inpu
|
|
|
435
435
|
headers = {
|
|
436
436
|
"content-type": "application/json",
|
|
437
437
|
};
|
|
438
|
-
resolvedPath = ""
|
|
438
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/contact-flow-modules/{InstanceId}";
|
|
439
439
|
if (input.InstanceId !== undefined) {
|
|
440
440
|
labelValue = input.InstanceId;
|
|
441
441
|
if (labelValue.length <= 0) {
|
|
@@ -469,7 +469,7 @@ export var serializeAws_restJson1CreateHoursOfOperationCommand = function (input
|
|
|
469
469
|
headers = {
|
|
470
470
|
"content-type": "application/json",
|
|
471
471
|
};
|
|
472
|
-
resolvedPath = ""
|
|
472
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/hours-of-operations/{InstanceId}";
|
|
473
473
|
if (input.InstanceId !== undefined) {
|
|
474
474
|
labelValue = input.InstanceId;
|
|
475
475
|
if (labelValue.length <= 0) {
|
|
@@ -504,7 +504,7 @@ export var serializeAws_restJson1CreateInstanceCommand = function (input, contex
|
|
|
504
504
|
headers = {
|
|
505
505
|
"content-type": "application/json",
|
|
506
506
|
};
|
|
507
|
-
resolvedPath = ""
|
|
507
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/instance";
|
|
508
508
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClientToken !== undefined && input.ClientToken !== null && { ClientToken: input.ClientToken })), (input.DirectoryId !== undefined && input.DirectoryId !== null && { DirectoryId: input.DirectoryId })), (input.IdentityManagementType !== undefined &&
|
|
509
509
|
input.IdentityManagementType !== null && { IdentityManagementType: input.IdentityManagementType })), (input.InboundCallsEnabled !== undefined &&
|
|
510
510
|
input.InboundCallsEnabled !== null && { InboundCallsEnabled: input.InboundCallsEnabled })), (input.InstanceAlias !== undefined && input.InstanceAlias !== null && { InstanceAlias: input.InstanceAlias })), (input.OutboundCallsEnabled !== undefined &&
|
|
@@ -531,7 +531,7 @@ export var serializeAws_restJson1CreateIntegrationAssociationCommand = function
|
|
|
531
531
|
headers = {
|
|
532
532
|
"content-type": "application/json",
|
|
533
533
|
};
|
|
534
|
-
resolvedPath = ""
|
|
534
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
535
535
|
"/instance/{InstanceId}/integration-associations";
|
|
536
536
|
if (input.InstanceId !== undefined) {
|
|
537
537
|
labelValue = input.InstanceId;
|
|
@@ -570,7 +570,7 @@ export var serializeAws_restJson1CreateQueueCommand = function (input, context)
|
|
|
570
570
|
headers = {
|
|
571
571
|
"content-type": "application/json",
|
|
572
572
|
};
|
|
573
|
-
resolvedPath = ""
|
|
573
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/queues/{InstanceId}";
|
|
574
574
|
if (input.InstanceId !== undefined) {
|
|
575
575
|
labelValue = input.InstanceId;
|
|
576
576
|
if (labelValue.length <= 0) {
|
|
@@ -611,7 +611,7 @@ export var serializeAws_restJson1CreateQuickConnectCommand = function (input, co
|
|
|
611
611
|
headers = {
|
|
612
612
|
"content-type": "application/json",
|
|
613
613
|
};
|
|
614
|
-
resolvedPath = ""
|
|
614
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/quick-connects/{InstanceId}";
|
|
615
615
|
if (input.InstanceId !== undefined) {
|
|
616
616
|
labelValue = input.InstanceId;
|
|
617
617
|
if (labelValue.length <= 0) {
|
|
@@ -648,7 +648,7 @@ export var serializeAws_restJson1CreateRoutingProfileCommand = function (input,
|
|
|
648
648
|
headers = {
|
|
649
649
|
"content-type": "application/json",
|
|
650
650
|
};
|
|
651
|
-
resolvedPath = ""
|
|
651
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/routing-profiles/{InstanceId}";
|
|
652
652
|
if (input.InstanceId !== undefined) {
|
|
653
653
|
labelValue = input.InstanceId;
|
|
654
654
|
if (labelValue.length <= 0) {
|
|
@@ -689,7 +689,7 @@ export var serializeAws_restJson1CreateSecurityProfileCommand = function (input,
|
|
|
689
689
|
headers = {
|
|
690
690
|
"content-type": "application/json",
|
|
691
691
|
};
|
|
692
|
-
resolvedPath = ""
|
|
692
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/security-profiles/{InstanceId}";
|
|
693
693
|
if (input.InstanceId !== undefined) {
|
|
694
694
|
labelValue = input.InstanceId;
|
|
695
695
|
if (labelValue.length <= 0) {
|
|
@@ -725,7 +725,7 @@ export var serializeAws_restJson1CreateUseCaseCommand = function (input, context
|
|
|
725
725
|
headers = {
|
|
726
726
|
"content-type": "application/json",
|
|
727
727
|
};
|
|
728
|
-
resolvedPath = ""
|
|
728
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
729
729
|
"/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases";
|
|
730
730
|
if (input.InstanceId !== undefined) {
|
|
731
731
|
labelValue = input.InstanceId;
|
|
@@ -770,7 +770,7 @@ export var serializeAws_restJson1CreateUserCommand = function (input, context) {
|
|
|
770
770
|
headers = {
|
|
771
771
|
"content-type": "application/json",
|
|
772
772
|
};
|
|
773
|
-
resolvedPath = ""
|
|
773
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/users/{InstanceId}";
|
|
774
774
|
if (input.InstanceId !== undefined) {
|
|
775
775
|
labelValue = input.InstanceId;
|
|
776
776
|
if (labelValue.length <= 0) {
|
|
@@ -814,7 +814,7 @@ export var serializeAws_restJson1CreateUserHierarchyGroupCommand = function (inp
|
|
|
814
814
|
headers = {
|
|
815
815
|
"content-type": "application/json",
|
|
816
816
|
};
|
|
817
|
-
resolvedPath = ""
|
|
817
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/user-hierarchy-groups/{InstanceId}";
|
|
818
818
|
if (input.InstanceId !== undefined) {
|
|
819
819
|
labelValue = input.InstanceId;
|
|
820
820
|
if (labelValue.length <= 0) {
|
|
@@ -849,7 +849,7 @@ export var serializeAws_restJson1CreateVocabularyCommand = function (input, cont
|
|
|
849
849
|
headers = {
|
|
850
850
|
"content-type": "application/json",
|
|
851
851
|
};
|
|
852
|
-
resolvedPath = ""
|
|
852
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/vocabulary/{InstanceId}";
|
|
853
853
|
if (input.InstanceId !== undefined) {
|
|
854
854
|
labelValue = input.InstanceId;
|
|
855
855
|
if (labelValue.length <= 0) {
|
|
@@ -882,7 +882,7 @@ export var serializeAws_restJson1DeleteContactFlowCommand = function (input, con
|
|
|
882
882
|
case 1:
|
|
883
883
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
884
884
|
headers = {};
|
|
885
|
-
resolvedPath = ""
|
|
885
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
886
886
|
"/contact-flows/{InstanceId}/{ContactFlowId}";
|
|
887
887
|
if (input.InstanceId !== undefined) {
|
|
888
888
|
labelValue = input.InstanceId;
|
|
@@ -924,7 +924,7 @@ export var serializeAws_restJson1DeleteContactFlowModuleCommand = function (inpu
|
|
|
924
924
|
case 1:
|
|
925
925
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
926
926
|
headers = {};
|
|
927
|
-
resolvedPath = ""
|
|
927
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
928
928
|
"/contact-flow-modules/{InstanceId}/{ContactFlowModuleId}";
|
|
929
929
|
if (input.InstanceId !== undefined) {
|
|
930
930
|
labelValue = input.InstanceId;
|
|
@@ -966,7 +966,7 @@ export var serializeAws_restJson1DeleteHoursOfOperationCommand = function (input
|
|
|
966
966
|
case 1:
|
|
967
967
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
968
968
|
headers = {};
|
|
969
|
-
resolvedPath = ""
|
|
969
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
970
970
|
"/hours-of-operations/{InstanceId}/{HoursOfOperationId}";
|
|
971
971
|
if (input.InstanceId !== undefined) {
|
|
972
972
|
labelValue = input.InstanceId;
|
|
@@ -1008,7 +1008,7 @@ export var serializeAws_restJson1DeleteInstanceCommand = function (input, contex
|
|
|
1008
1008
|
case 1:
|
|
1009
1009
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1010
1010
|
headers = {};
|
|
1011
|
-
resolvedPath = ""
|
|
1011
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/instance/{InstanceId}";
|
|
1012
1012
|
if (input.InstanceId !== undefined) {
|
|
1013
1013
|
labelValue = input.InstanceId;
|
|
1014
1014
|
if (labelValue.length <= 0) {
|
|
@@ -1039,7 +1039,7 @@ export var serializeAws_restJson1DeleteIntegrationAssociationCommand = function
|
|
|
1039
1039
|
case 1:
|
|
1040
1040
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1041
1041
|
headers = {};
|
|
1042
|
-
resolvedPath = ""
|
|
1042
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1043
1043
|
"/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}";
|
|
1044
1044
|
if (input.InstanceId !== undefined) {
|
|
1045
1045
|
labelValue = input.InstanceId;
|
|
@@ -1081,7 +1081,7 @@ export var serializeAws_restJson1DeleteQuickConnectCommand = function (input, co
|
|
|
1081
1081
|
case 1:
|
|
1082
1082
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1083
1083
|
headers = {};
|
|
1084
|
-
resolvedPath = ""
|
|
1084
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1085
1085
|
"/quick-connects/{InstanceId}/{QuickConnectId}";
|
|
1086
1086
|
if (input.InstanceId !== undefined) {
|
|
1087
1087
|
labelValue = input.InstanceId;
|
|
@@ -1123,7 +1123,7 @@ export var serializeAws_restJson1DeleteSecurityProfileCommand = function (input,
|
|
|
1123
1123
|
case 1:
|
|
1124
1124
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1125
1125
|
headers = {};
|
|
1126
|
-
resolvedPath = ""
|
|
1126
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1127
1127
|
"/security-profiles/{InstanceId}/{SecurityProfileId}";
|
|
1128
1128
|
if (input.InstanceId !== undefined) {
|
|
1129
1129
|
labelValue = input.InstanceId;
|
|
@@ -1165,7 +1165,7 @@ export var serializeAws_restJson1DeleteUseCaseCommand = function (input, context
|
|
|
1165
1165
|
case 1:
|
|
1166
1166
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1167
1167
|
headers = {};
|
|
1168
|
-
resolvedPath = ""
|
|
1168
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1169
1169
|
"/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases/{UseCaseId}";
|
|
1170
1170
|
if (input.InstanceId !== undefined) {
|
|
1171
1171
|
labelValue = input.InstanceId;
|
|
@@ -1217,7 +1217,7 @@ export var serializeAws_restJson1DeleteUserCommand = function (input, context) {
|
|
|
1217
1217
|
case 1:
|
|
1218
1218
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1219
1219
|
headers = {};
|
|
1220
|
-
resolvedPath = ""
|
|
1220
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/users/{InstanceId}/{UserId}";
|
|
1221
1221
|
if (input.InstanceId !== undefined) {
|
|
1222
1222
|
labelValue = input.InstanceId;
|
|
1223
1223
|
if (labelValue.length <= 0) {
|
|
@@ -1258,7 +1258,7 @@ export var serializeAws_restJson1DeleteUserHierarchyGroupCommand = function (inp
|
|
|
1258
1258
|
case 1:
|
|
1259
1259
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1260
1260
|
headers = {};
|
|
1261
|
-
resolvedPath = ""
|
|
1261
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1262
1262
|
"/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}";
|
|
1263
1263
|
if (input.HierarchyGroupId !== undefined) {
|
|
1264
1264
|
labelValue = input.HierarchyGroupId;
|
|
@@ -1300,7 +1300,7 @@ export var serializeAws_restJson1DeleteVocabularyCommand = function (input, cont
|
|
|
1300
1300
|
case 1:
|
|
1301
1301
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1302
1302
|
headers = {};
|
|
1303
|
-
resolvedPath = ""
|
|
1303
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1304
1304
|
"/vocabulary-remove/{InstanceId}/{VocabularyId}";
|
|
1305
1305
|
if (input.InstanceId !== undefined) {
|
|
1306
1306
|
labelValue = input.InstanceId;
|
|
@@ -1342,7 +1342,7 @@ export var serializeAws_restJson1DescribeAgentStatusCommand = function (input, c
|
|
|
1342
1342
|
case 1:
|
|
1343
1343
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1344
1344
|
headers = {};
|
|
1345
|
-
resolvedPath = ""
|
|
1345
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1346
1346
|
"/agent-status/{InstanceId}/{AgentStatusId}";
|
|
1347
1347
|
if (input.InstanceId !== undefined) {
|
|
1348
1348
|
labelValue = input.InstanceId;
|
|
@@ -1384,7 +1384,7 @@ export var serializeAws_restJson1DescribeContactCommand = function (input, conte
|
|
|
1384
1384
|
case 1:
|
|
1385
1385
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1386
1386
|
headers = {};
|
|
1387
|
-
resolvedPath = ""
|
|
1387
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/contacts/{InstanceId}/{ContactId}";
|
|
1388
1388
|
if (input.InstanceId !== undefined) {
|
|
1389
1389
|
labelValue = input.InstanceId;
|
|
1390
1390
|
if (labelValue.length <= 0) {
|
|
@@ -1425,7 +1425,7 @@ export var serializeAws_restJson1DescribeContactFlowCommand = function (input, c
|
|
|
1425
1425
|
case 1:
|
|
1426
1426
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1427
1427
|
headers = {};
|
|
1428
|
-
resolvedPath = ""
|
|
1428
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1429
1429
|
"/contact-flows/{InstanceId}/{ContactFlowId}";
|
|
1430
1430
|
if (input.InstanceId !== undefined) {
|
|
1431
1431
|
labelValue = input.InstanceId;
|
|
@@ -1467,7 +1467,7 @@ export var serializeAws_restJson1DescribeContactFlowModuleCommand = function (in
|
|
|
1467
1467
|
case 1:
|
|
1468
1468
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1469
1469
|
headers = {};
|
|
1470
|
-
resolvedPath = ""
|
|
1470
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1471
1471
|
"/contact-flow-modules/{InstanceId}/{ContactFlowModuleId}";
|
|
1472
1472
|
if (input.InstanceId !== undefined) {
|
|
1473
1473
|
labelValue = input.InstanceId;
|
|
@@ -1509,7 +1509,7 @@ export var serializeAws_restJson1DescribeHoursOfOperationCommand = function (inp
|
|
|
1509
1509
|
case 1:
|
|
1510
1510
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1511
1511
|
headers = {};
|
|
1512
|
-
resolvedPath = ""
|
|
1512
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1513
1513
|
"/hours-of-operations/{InstanceId}/{HoursOfOperationId}";
|
|
1514
1514
|
if (input.InstanceId !== undefined) {
|
|
1515
1515
|
labelValue = input.InstanceId;
|
|
@@ -1551,7 +1551,7 @@ export var serializeAws_restJson1DescribeInstanceCommand = function (input, cont
|
|
|
1551
1551
|
case 1:
|
|
1552
1552
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1553
1553
|
headers = {};
|
|
1554
|
-
resolvedPath = ""
|
|
1554
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/instance/{InstanceId}";
|
|
1555
1555
|
if (input.InstanceId !== undefined) {
|
|
1556
1556
|
labelValue = input.InstanceId;
|
|
1557
1557
|
if (labelValue.length <= 0) {
|
|
@@ -1582,7 +1582,7 @@ export var serializeAws_restJson1DescribeInstanceAttributeCommand = function (in
|
|
|
1582
1582
|
case 1:
|
|
1583
1583
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1584
1584
|
headers = {};
|
|
1585
|
-
resolvedPath = ""
|
|
1585
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1586
1586
|
"/instance/{InstanceId}/attribute/{AttributeType}";
|
|
1587
1587
|
if (input.InstanceId !== undefined) {
|
|
1588
1588
|
labelValue = input.InstanceId;
|
|
@@ -1624,7 +1624,7 @@ export var serializeAws_restJson1DescribeInstanceStorageConfigCommand = function
|
|
|
1624
1624
|
case 1:
|
|
1625
1625
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1626
1626
|
headers = {};
|
|
1627
|
-
resolvedPath = ""
|
|
1627
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1628
1628
|
"/instance/{InstanceId}/storage-config/{AssociationId}";
|
|
1629
1629
|
if (input.InstanceId !== undefined) {
|
|
1630
1630
|
labelValue = input.InstanceId;
|
|
@@ -1668,7 +1668,7 @@ export var serializeAws_restJson1DescribeQueueCommand = function (input, context
|
|
|
1668
1668
|
case 1:
|
|
1669
1669
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1670
1670
|
headers = {};
|
|
1671
|
-
resolvedPath = ""
|
|
1671
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/queues/{InstanceId}/{QueueId}";
|
|
1672
1672
|
if (input.InstanceId !== undefined) {
|
|
1673
1673
|
labelValue = input.InstanceId;
|
|
1674
1674
|
if (labelValue.length <= 0) {
|
|
@@ -1709,7 +1709,7 @@ export var serializeAws_restJson1DescribeQuickConnectCommand = function (input,
|
|
|
1709
1709
|
case 1:
|
|
1710
1710
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1711
1711
|
headers = {};
|
|
1712
|
-
resolvedPath = ""
|
|
1712
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1713
1713
|
"/quick-connects/{InstanceId}/{QuickConnectId}";
|
|
1714
1714
|
if (input.InstanceId !== undefined) {
|
|
1715
1715
|
labelValue = input.InstanceId;
|
|
@@ -1751,7 +1751,7 @@ export var serializeAws_restJson1DescribeRoutingProfileCommand = function (input
|
|
|
1751
1751
|
case 1:
|
|
1752
1752
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1753
1753
|
headers = {};
|
|
1754
|
-
resolvedPath = ""
|
|
1754
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1755
1755
|
"/routing-profiles/{InstanceId}/{RoutingProfileId}";
|
|
1756
1756
|
if (input.InstanceId !== undefined) {
|
|
1757
1757
|
labelValue = input.InstanceId;
|
|
@@ -1793,7 +1793,7 @@ export var serializeAws_restJson1DescribeSecurityProfileCommand = function (inpu
|
|
|
1793
1793
|
case 1:
|
|
1794
1794
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1795
1795
|
headers = {};
|
|
1796
|
-
resolvedPath = ""
|
|
1796
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1797
1797
|
"/security-profiles/{InstanceId}/{SecurityProfileId}";
|
|
1798
1798
|
if (input.SecurityProfileId !== undefined) {
|
|
1799
1799
|
labelValue = input.SecurityProfileId;
|
|
@@ -1835,7 +1835,7 @@ export var serializeAws_restJson1DescribeUserCommand = function (input, context)
|
|
|
1835
1835
|
case 1:
|
|
1836
1836
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1837
1837
|
headers = {};
|
|
1838
|
-
resolvedPath = ""
|
|
1838
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/users/{InstanceId}/{UserId}";
|
|
1839
1839
|
if (input.UserId !== undefined) {
|
|
1840
1840
|
labelValue = input.UserId;
|
|
1841
1841
|
if (labelValue.length <= 0) {
|
|
@@ -1876,7 +1876,7 @@ export var serializeAws_restJson1DescribeUserHierarchyGroupCommand = function (i
|
|
|
1876
1876
|
case 1:
|
|
1877
1877
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1878
1878
|
headers = {};
|
|
1879
|
-
resolvedPath = ""
|
|
1879
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1880
1880
|
"/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}";
|
|
1881
1881
|
if (input.HierarchyGroupId !== undefined) {
|
|
1882
1882
|
labelValue = input.HierarchyGroupId;
|
|
@@ -1918,7 +1918,7 @@ export var serializeAws_restJson1DescribeUserHierarchyStructureCommand = functio
|
|
|
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 || "") + "/user-hierarchy-structure/{InstanceId}";
|
|
1922
1922
|
if (input.InstanceId !== undefined) {
|
|
1923
1923
|
labelValue = input.InstanceId;
|
|
1924
1924
|
if (labelValue.length <= 0) {
|
|
@@ -1949,7 +1949,7 @@ export var serializeAws_restJson1DescribeVocabularyCommand = 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 || "") + "/vocabulary/{InstanceId}/{VocabularyId}";
|
|
1953
1953
|
if (input.InstanceId !== undefined) {
|
|
1954
1954
|
labelValue = input.InstanceId;
|
|
1955
1955
|
if (labelValue.length <= 0) {
|
|
@@ -1990,7 +1990,7 @@ export var serializeAws_restJson1DisassociateApprovedOriginCommand = function (i
|
|
|
1990
1990
|
case 1:
|
|
1991
1991
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1992
1992
|
headers = {};
|
|
1993
|
-
resolvedPath = ""
|
|
1993
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/instance/{InstanceId}/approved-origin";
|
|
1994
1994
|
if (input.InstanceId !== undefined) {
|
|
1995
1995
|
labelValue = input.InstanceId;
|
|
1996
1996
|
if (labelValue.length <= 0) {
|
|
@@ -2025,7 +2025,7 @@ export var serializeAws_restJson1DisassociateBotCommand = function (input, conte
|
|
|
2025
2025
|
headers = {
|
|
2026
2026
|
"content-type": "application/json",
|
|
2027
2027
|
};
|
|
2028
|
-
resolvedPath = ""
|
|
2028
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/instance/{InstanceId}/bot";
|
|
2029
2029
|
if (input.InstanceId !== undefined) {
|
|
2030
2030
|
labelValue = input.InstanceId;
|
|
2031
2031
|
if (labelValue.length <= 0) {
|
|
@@ -2059,7 +2059,7 @@ export var serializeAws_restJson1DisassociateInstanceStorageConfigCommand = func
|
|
|
2059
2059
|
case 1:
|
|
2060
2060
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2061
2061
|
headers = {};
|
|
2062
|
-
resolvedPath = ""
|
|
2062
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2063
2063
|
"/instance/{InstanceId}/storage-config/{AssociationId}";
|
|
2064
2064
|
if (input.InstanceId !== undefined) {
|
|
2065
2065
|
labelValue = input.InstanceId;
|
|
@@ -2103,7 +2103,7 @@ export var serializeAws_restJson1DisassociateLambdaFunctionCommand = function (i
|
|
|
2103
2103
|
case 1:
|
|
2104
2104
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2105
2105
|
headers = {};
|
|
2106
|
-
resolvedPath = ""
|
|
2106
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/instance/{InstanceId}/lambda-function";
|
|
2107
2107
|
if (input.InstanceId !== undefined) {
|
|
2108
2108
|
labelValue = input.InstanceId;
|
|
2109
2109
|
if (labelValue.length <= 0) {
|
|
@@ -2136,7 +2136,7 @@ export var serializeAws_restJson1DisassociateLexBotCommand = function (input, co
|
|
|
2136
2136
|
case 1:
|
|
2137
2137
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2138
2138
|
headers = {};
|
|
2139
|
-
resolvedPath = ""
|
|
2139
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/instance/{InstanceId}/lex-bot";
|
|
2140
2140
|
if (input.InstanceId !== undefined) {
|
|
2141
2141
|
labelValue = input.InstanceId;
|
|
2142
2142
|
if (labelValue.length <= 0) {
|
|
@@ -2171,7 +2171,7 @@ export var serializeAws_restJson1DisassociateQueueQuickConnectsCommand = functio
|
|
|
2171
2171
|
headers = {
|
|
2172
2172
|
"content-type": "application/json",
|
|
2173
2173
|
};
|
|
2174
|
-
resolvedPath = ""
|
|
2174
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2175
2175
|
"/queues/{InstanceId}/{QueueId}/disassociate-quick-connects";
|
|
2176
2176
|
if (input.InstanceId !== undefined) {
|
|
2177
2177
|
labelValue = input.InstanceId;
|
|
@@ -2219,7 +2219,7 @@ export var serializeAws_restJson1DisassociateRoutingProfileQueuesCommand = funct
|
|
|
2219
2219
|
headers = {
|
|
2220
2220
|
"content-type": "application/json",
|
|
2221
2221
|
};
|
|
2222
|
-
resolvedPath = ""
|
|
2222
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2223
2223
|
"/routing-profiles/{InstanceId}/{RoutingProfileId}/disassociate-queues";
|
|
2224
2224
|
if (input.InstanceId !== undefined) {
|
|
2225
2225
|
labelValue = input.InstanceId;
|
|
@@ -2265,7 +2265,7 @@ export var serializeAws_restJson1DisassociateSecurityKeyCommand = function (inpu
|
|
|
2265
2265
|
case 1:
|
|
2266
2266
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2267
2267
|
headers = {};
|
|
2268
|
-
resolvedPath = ""
|
|
2268
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2269
2269
|
"/instance/{InstanceId}/security-key/{AssociationId}";
|
|
2270
2270
|
if (input.InstanceId !== undefined) {
|
|
2271
2271
|
labelValue = input.InstanceId;
|
|
@@ -2307,7 +2307,7 @@ export var serializeAws_restJson1GetContactAttributesCommand = function (input,
|
|
|
2307
2307
|
case 1:
|
|
2308
2308
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2309
2309
|
headers = {};
|
|
2310
|
-
resolvedPath = ""
|
|
2310
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2311
2311
|
"/contact/attributes/{InstanceId}/{InitialContactId}";
|
|
2312
2312
|
if (input.InstanceId !== undefined) {
|
|
2313
2313
|
labelValue = input.InstanceId;
|
|
@@ -2351,7 +2351,7 @@ export var serializeAws_restJson1GetCurrentMetricDataCommand = function (input,
|
|
|
2351
2351
|
headers = {
|
|
2352
2352
|
"content-type": "application/json",
|
|
2353
2353
|
};
|
|
2354
|
-
resolvedPath = ""
|
|
2354
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/metrics/current/{InstanceId}";
|
|
2355
2355
|
if (input.InstanceId !== undefined) {
|
|
2356
2356
|
labelValue = input.InstanceId;
|
|
2357
2357
|
if (labelValue.length <= 0) {
|
|
@@ -2388,7 +2388,7 @@ export var serializeAws_restJson1GetFederationTokenCommand = function (input, co
|
|
|
2388
2388
|
case 1:
|
|
2389
2389
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2390
2390
|
headers = {};
|
|
2391
|
-
resolvedPath = ""
|
|
2391
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/user/federate/{InstanceId}";
|
|
2392
2392
|
if (input.InstanceId !== undefined) {
|
|
2393
2393
|
labelValue = input.InstanceId;
|
|
2394
2394
|
if (labelValue.length <= 0) {
|
|
@@ -2421,7 +2421,7 @@ export var serializeAws_restJson1GetMetricDataCommand = function (input, context
|
|
|
2421
2421
|
headers = {
|
|
2422
2422
|
"content-type": "application/json",
|
|
2423
2423
|
};
|
|
2424
|
-
resolvedPath = ""
|
|
2424
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/metrics/historical/{InstanceId}";
|
|
2425
2425
|
if (input.InstanceId !== undefined) {
|
|
2426
2426
|
labelValue = input.InstanceId;
|
|
2427
2427
|
if (labelValue.length <= 0) {
|
|
@@ -2460,7 +2460,7 @@ export var serializeAws_restJson1ListAgentStatusesCommand = function (input, con
|
|
|
2460
2460
|
case 1:
|
|
2461
2461
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2462
2462
|
headers = {};
|
|
2463
|
-
resolvedPath = ""
|
|
2463
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/agent-status/{InstanceId}";
|
|
2464
2464
|
if (input.InstanceId !== undefined) {
|
|
2465
2465
|
labelValue = input.InstanceId;
|
|
2466
2466
|
if (labelValue.length <= 0) {
|
|
@@ -2495,7 +2495,7 @@ export var serializeAws_restJson1ListApprovedOriginsCommand = function (input, c
|
|
|
2495
2495
|
case 1:
|
|
2496
2496
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2497
2497
|
headers = {};
|
|
2498
|
-
resolvedPath = ""
|
|
2498
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/instance/{InstanceId}/approved-origins";
|
|
2499
2499
|
if (input.InstanceId !== undefined) {
|
|
2500
2500
|
labelValue = input.InstanceId;
|
|
2501
2501
|
if (labelValue.length <= 0) {
|
|
@@ -2528,7 +2528,7 @@ export var serializeAws_restJson1ListBotsCommand = function (input, context) { r
|
|
|
2528
2528
|
case 1:
|
|
2529
2529
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2530
2530
|
headers = {};
|
|
2531
|
-
resolvedPath = ""
|
|
2531
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/instance/{InstanceId}/bots";
|
|
2532
2532
|
if (input.InstanceId !== undefined) {
|
|
2533
2533
|
labelValue = input.InstanceId;
|
|
2534
2534
|
if (labelValue.length <= 0) {
|
|
@@ -2561,7 +2561,7 @@ export var serializeAws_restJson1ListContactFlowModulesCommand = function (input
|
|
|
2561
2561
|
case 1:
|
|
2562
2562
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2563
2563
|
headers = {};
|
|
2564
|
-
resolvedPath = ""
|
|
2564
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2565
2565
|
"/contact-flow-modules-summary/{InstanceId}";
|
|
2566
2566
|
if (input.InstanceId !== undefined) {
|
|
2567
2567
|
labelValue = input.InstanceId;
|
|
@@ -2595,7 +2595,7 @@ export var serializeAws_restJson1ListContactFlowsCommand = function (input, cont
|
|
|
2595
2595
|
case 1:
|
|
2596
2596
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2597
2597
|
headers = {};
|
|
2598
|
-
resolvedPath = ""
|
|
2598
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/contact-flows-summary/{InstanceId}";
|
|
2599
2599
|
if (input.InstanceId !== undefined) {
|
|
2600
2600
|
labelValue = input.InstanceId;
|
|
2601
2601
|
if (labelValue.length <= 0) {
|
|
@@ -2630,7 +2630,7 @@ export var serializeAws_restJson1ListContactReferencesCommand = function (input,
|
|
|
2630
2630
|
case 1:
|
|
2631
2631
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2632
2632
|
headers = {};
|
|
2633
|
-
resolvedPath = ""
|
|
2633
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2634
2634
|
"/contact/references/{InstanceId}/{ContactId}";
|
|
2635
2635
|
if (input.InstanceId !== undefined) {
|
|
2636
2636
|
labelValue = input.InstanceId;
|
|
@@ -2678,7 +2678,7 @@ export var serializeAws_restJson1ListDefaultVocabulariesCommand = function (inpu
|
|
|
2678
2678
|
headers = {
|
|
2679
2679
|
"content-type": "application/json",
|
|
2680
2680
|
};
|
|
2681
|
-
resolvedPath = ""
|
|
2681
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/default-vocabulary-summary/{InstanceId}";
|
|
2682
2682
|
if (input.InstanceId !== undefined) {
|
|
2683
2683
|
labelValue = input.InstanceId;
|
|
2684
2684
|
if (labelValue.length <= 0) {
|
|
@@ -2710,7 +2710,7 @@ export var serializeAws_restJson1ListHoursOfOperationsCommand = function (input,
|
|
|
2710
2710
|
case 1:
|
|
2711
2711
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2712
2712
|
headers = {};
|
|
2713
|
-
resolvedPath = ""
|
|
2713
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/hours-of-operations-summary/{InstanceId}";
|
|
2714
2714
|
if (input.InstanceId !== undefined) {
|
|
2715
2715
|
labelValue = input.InstanceId;
|
|
2716
2716
|
if (labelValue.length <= 0) {
|
|
@@ -2743,7 +2743,7 @@ export var serializeAws_restJson1ListInstanceAttributesCommand = function (input
|
|
|
2743
2743
|
case 1:
|
|
2744
2744
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2745
2745
|
headers = {};
|
|
2746
|
-
resolvedPath = ""
|
|
2746
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/instance/{InstanceId}/attributes";
|
|
2747
2747
|
if (input.InstanceId !== undefined) {
|
|
2748
2748
|
labelValue = input.InstanceId;
|
|
2749
2749
|
if (labelValue.length <= 0) {
|
|
@@ -2776,7 +2776,7 @@ export var serializeAws_restJson1ListInstancesCommand = function (input, context
|
|
|
2776
2776
|
case 1:
|
|
2777
2777
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2778
2778
|
headers = {};
|
|
2779
|
-
resolvedPath = ""
|
|
2779
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/instance";
|
|
2780
2780
|
query = __assign(__assign({}, (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }));
|
|
2781
2781
|
return [2, new __HttpRequest({
|
|
2782
2782
|
protocol: protocol,
|
|
@@ -2799,7 +2799,7 @@ export var serializeAws_restJson1ListInstanceStorageConfigsCommand = function (i
|
|
|
2799
2799
|
case 1:
|
|
2800
2800
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2801
2801
|
headers = {};
|
|
2802
|
-
resolvedPath = ""
|
|
2802
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/instance/{InstanceId}/storage-configs";
|
|
2803
2803
|
if (input.InstanceId !== undefined) {
|
|
2804
2804
|
labelValue = input.InstanceId;
|
|
2805
2805
|
if (labelValue.length <= 0) {
|
|
@@ -2832,7 +2832,7 @@ export var serializeAws_restJson1ListIntegrationAssociationsCommand = function (
|
|
|
2832
2832
|
case 1:
|
|
2833
2833
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2834
2834
|
headers = {};
|
|
2835
|
-
resolvedPath = ""
|
|
2835
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2836
2836
|
"/instance/{InstanceId}/integration-associations";
|
|
2837
2837
|
if (input.InstanceId !== undefined) {
|
|
2838
2838
|
labelValue = input.InstanceId;
|
|
@@ -2866,7 +2866,7 @@ export var serializeAws_restJson1ListLambdaFunctionsCommand = function (input, c
|
|
|
2866
2866
|
case 1:
|
|
2867
2867
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2868
2868
|
headers = {};
|
|
2869
|
-
resolvedPath = ""
|
|
2869
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/instance/{InstanceId}/lambda-functions";
|
|
2870
2870
|
if (input.InstanceId !== undefined) {
|
|
2871
2871
|
labelValue = input.InstanceId;
|
|
2872
2872
|
if (labelValue.length <= 0) {
|
|
@@ -2899,7 +2899,7 @@ export var serializeAws_restJson1ListLexBotsCommand = function (input, context)
|
|
|
2899
2899
|
case 1:
|
|
2900
2900
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2901
2901
|
headers = {};
|
|
2902
|
-
resolvedPath = ""
|
|
2902
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/instance/{InstanceId}/lex-bots";
|
|
2903
2903
|
if (input.InstanceId !== undefined) {
|
|
2904
2904
|
labelValue = input.InstanceId;
|
|
2905
2905
|
if (labelValue.length <= 0) {
|
|
@@ -2932,7 +2932,7 @@ export var serializeAws_restJson1ListPhoneNumbersCommand = function (input, cont
|
|
|
2932
2932
|
case 1:
|
|
2933
2933
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2934
2934
|
headers = {};
|
|
2935
|
-
resolvedPath = ""
|
|
2935
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/phone-numbers-summary/{InstanceId}";
|
|
2936
2936
|
if (input.InstanceId !== undefined) {
|
|
2937
2937
|
labelValue = input.InstanceId;
|
|
2938
2938
|
if (labelValue.length <= 0) {
|
|
@@ -2969,7 +2969,7 @@ export var serializeAws_restJson1ListPromptsCommand = function (input, context)
|
|
|
2969
2969
|
case 1:
|
|
2970
2970
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2971
2971
|
headers = {};
|
|
2972
|
-
resolvedPath = ""
|
|
2972
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prompts-summary/{InstanceId}";
|
|
2973
2973
|
if (input.InstanceId !== undefined) {
|
|
2974
2974
|
labelValue = input.InstanceId;
|
|
2975
2975
|
if (labelValue.length <= 0) {
|
|
@@ -3002,7 +3002,7 @@ export var serializeAws_restJson1ListQueueQuickConnectsCommand = function (input
|
|
|
3002
3002
|
case 1:
|
|
3003
3003
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3004
3004
|
headers = {};
|
|
3005
|
-
resolvedPath = ""
|
|
3005
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
3006
3006
|
"/queues/{InstanceId}/{QueueId}/quick-connects";
|
|
3007
3007
|
if (input.InstanceId !== undefined) {
|
|
3008
3008
|
labelValue = input.InstanceId;
|
|
@@ -3046,7 +3046,7 @@ export var serializeAws_restJson1ListQueuesCommand = function (input, context) {
|
|
|
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 || "") + "/queues-summary/{InstanceId}";
|
|
3050
3050
|
if (input.InstanceId !== undefined) {
|
|
3051
3051
|
labelValue = input.InstanceId;
|
|
3052
3052
|
if (labelValue.length <= 0) {
|
|
@@ -3079,7 +3079,7 @@ export var serializeAws_restJson1ListQuickConnectsCommand = function (input, con
|
|
|
3079
3079
|
case 1:
|
|
3080
3080
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3081
3081
|
headers = {};
|
|
3082
|
-
resolvedPath = ""
|
|
3082
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/quick-connects/{InstanceId}";
|
|
3083
3083
|
if (input.InstanceId !== undefined) {
|
|
3084
3084
|
labelValue = input.InstanceId;
|
|
3085
3085
|
if (labelValue.length <= 0) {
|
|
@@ -3114,7 +3114,7 @@ export var serializeAws_restJson1ListRoutingProfileQueuesCommand = function (inp
|
|
|
3114
3114
|
case 1:
|
|
3115
3115
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3116
3116
|
headers = {};
|
|
3117
|
-
resolvedPath = ""
|
|
3117
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
3118
3118
|
"/routing-profiles/{InstanceId}/{RoutingProfileId}/queues";
|
|
3119
3119
|
if (input.InstanceId !== undefined) {
|
|
3120
3120
|
labelValue = input.InstanceId;
|
|
@@ -3158,7 +3158,7 @@ export var serializeAws_restJson1ListRoutingProfilesCommand = function (input, c
|
|
|
3158
3158
|
case 1:
|
|
3159
3159
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3160
3160
|
headers = {};
|
|
3161
|
-
resolvedPath = ""
|
|
3161
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/routing-profiles-summary/{InstanceId}";
|
|
3162
3162
|
if (input.InstanceId !== undefined) {
|
|
3163
3163
|
labelValue = input.InstanceId;
|
|
3164
3164
|
if (labelValue.length <= 0) {
|
|
@@ -3191,7 +3191,7 @@ export var serializeAws_restJson1ListSecurityKeysCommand = function (input, cont
|
|
|
3191
3191
|
case 1:
|
|
3192
3192
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3193
3193
|
headers = {};
|
|
3194
|
-
resolvedPath = ""
|
|
3194
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/instance/{InstanceId}/security-keys";
|
|
3195
3195
|
if (input.InstanceId !== undefined) {
|
|
3196
3196
|
labelValue = input.InstanceId;
|
|
3197
3197
|
if (labelValue.length <= 0) {
|
|
@@ -3224,7 +3224,7 @@ export var serializeAws_restJson1ListSecurityProfilePermissionsCommand = functio
|
|
|
3224
3224
|
case 1:
|
|
3225
3225
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3226
3226
|
headers = {};
|
|
3227
|
-
resolvedPath = ""
|
|
3227
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
3228
3228
|
"/security-profiles-permissions/{InstanceId}/{SecurityProfileId}";
|
|
3229
3229
|
if (input.SecurityProfileId !== undefined) {
|
|
3230
3230
|
labelValue = input.SecurityProfileId;
|
|
@@ -3268,7 +3268,7 @@ export var serializeAws_restJson1ListSecurityProfilesCommand = function (input,
|
|
|
3268
3268
|
case 1:
|
|
3269
3269
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3270
3270
|
headers = {};
|
|
3271
|
-
resolvedPath = ""
|
|
3271
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/security-profiles-summary/{InstanceId}";
|
|
3272
3272
|
if (input.InstanceId !== undefined) {
|
|
3273
3273
|
labelValue = input.InstanceId;
|
|
3274
3274
|
if (labelValue.length <= 0) {
|
|
@@ -3301,7 +3301,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
3301
3301
|
case 1:
|
|
3302
3302
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3303
3303
|
headers = {};
|
|
3304
|
-
resolvedPath = ""
|
|
3304
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
3305
3305
|
if (input.resourceArn !== undefined) {
|
|
3306
3306
|
labelValue = input.resourceArn;
|
|
3307
3307
|
if (labelValue.length <= 0) {
|
|
@@ -3332,7 +3332,7 @@ export var serializeAws_restJson1ListUseCasesCommand = function (input, context)
|
|
|
3332
3332
|
case 1:
|
|
3333
3333
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3334
3334
|
headers = {};
|
|
3335
|
-
resolvedPath = ""
|
|
3335
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
3336
3336
|
"/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases";
|
|
3337
3337
|
if (input.InstanceId !== undefined) {
|
|
3338
3338
|
labelValue = input.InstanceId;
|
|
@@ -3376,7 +3376,7 @@ export var serializeAws_restJson1ListUserHierarchyGroupsCommand = function (inpu
|
|
|
3376
3376
|
case 1:
|
|
3377
3377
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3378
3378
|
headers = {};
|
|
3379
|
-
resolvedPath = ""
|
|
3379
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
3380
3380
|
"/user-hierarchy-groups-summary/{InstanceId}";
|
|
3381
3381
|
if (input.InstanceId !== undefined) {
|
|
3382
3382
|
labelValue = input.InstanceId;
|
|
@@ -3410,7 +3410,7 @@ export var serializeAws_restJson1ListUsersCommand = function (input, context) {
|
|
|
3410
3410
|
case 1:
|
|
3411
3411
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3412
3412
|
headers = {};
|
|
3413
|
-
resolvedPath = ""
|
|
3413
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/users-summary/{InstanceId}";
|
|
3414
3414
|
if (input.InstanceId !== undefined) {
|
|
3415
3415
|
labelValue = input.InstanceId;
|
|
3416
3416
|
if (labelValue.length <= 0) {
|
|
@@ -3445,7 +3445,7 @@ export var serializeAws_restJson1ResumeContactRecordingCommand = function (input
|
|
|
3445
3445
|
headers = {
|
|
3446
3446
|
"content-type": "application/json",
|
|
3447
3447
|
};
|
|
3448
|
-
resolvedPath = ""
|
|
3448
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/contact/resume-recording";
|
|
3449
3449
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.ContactId !== undefined && input.ContactId !== null && { ContactId: input.ContactId })), (input.InitialContactId !== undefined &&
|
|
3450
3450
|
input.InitialContactId !== null && { InitialContactId: input.InitialContactId })), (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId })));
|
|
3451
3451
|
return [2, new __HttpRequest({
|
|
@@ -3470,7 +3470,7 @@ export var serializeAws_restJson1SearchVocabulariesCommand = function (input, co
|
|
|
3470
3470
|
headers = {
|
|
3471
3471
|
"content-type": "application/json",
|
|
3472
3472
|
};
|
|
3473
|
-
resolvedPath = ""
|
|
3473
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/vocabulary-summary/{InstanceId}";
|
|
3474
3474
|
if (input.InstanceId !== undefined) {
|
|
3475
3475
|
labelValue = input.InstanceId;
|
|
3476
3476
|
if (labelValue.length <= 0) {
|
|
@@ -3506,8 +3506,8 @@ export var serializeAws_restJson1StartChatContactCommand = function (input, cont
|
|
|
3506
3506
|
headers = {
|
|
3507
3507
|
"content-type": "application/json",
|
|
3508
3508
|
};
|
|
3509
|
-
resolvedPath = ""
|
|
3510
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Attributes !== undefined &&
|
|
3509
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/contact/chat";
|
|
3510
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Attributes !== undefined &&
|
|
3511
3511
|
input.Attributes !== null && { Attributes: serializeAws_restJson1Attributes(input.Attributes, context) })), (input.ChatDurationInMinutes !== undefined &&
|
|
3512
3512
|
input.ChatDurationInMinutes !== null && { ChatDurationInMinutes: input.ChatDurationInMinutes })), { ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.ContactFlowId !== undefined && input.ContactFlowId !== null && { ContactFlowId: input.ContactFlowId })), (input.InitialMessage !== undefined &&
|
|
3513
3513
|
input.InitialMessage !== null && {
|
|
@@ -3515,6 +3515,9 @@ export var serializeAws_restJson1StartChatContactCommand = function (input, cont
|
|
|
3515
3515
|
})), (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId })), (input.ParticipantDetails !== undefined &&
|
|
3516
3516
|
input.ParticipantDetails !== null && {
|
|
3517
3517
|
ParticipantDetails: serializeAws_restJson1ParticipantDetails(input.ParticipantDetails, context),
|
|
3518
|
+
})), (input.SupportedMessagingContentTypes !== undefined &&
|
|
3519
|
+
input.SupportedMessagingContentTypes !== null && {
|
|
3520
|
+
SupportedMessagingContentTypes: serializeAws_restJson1SupportedMessagingContentTypes(input.SupportedMessagingContentTypes, context),
|
|
3518
3521
|
})));
|
|
3519
3522
|
return [2, new __HttpRequest({
|
|
3520
3523
|
protocol: protocol,
|
|
@@ -3538,7 +3541,7 @@ export var serializeAws_restJson1StartContactRecordingCommand = function (input,
|
|
|
3538
3541
|
headers = {
|
|
3539
3542
|
"content-type": "application/json",
|
|
3540
3543
|
};
|
|
3541
|
-
resolvedPath = ""
|
|
3544
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/contact/start-recording";
|
|
3542
3545
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.ContactId !== undefined && input.ContactId !== null && { ContactId: input.ContactId })), (input.InitialContactId !== undefined &&
|
|
3543
3546
|
input.InitialContactId !== null && { InitialContactId: input.InitialContactId })), (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId })), (input.VoiceRecordingConfiguration !== undefined &&
|
|
3544
3547
|
input.VoiceRecordingConfiguration !== null && {
|
|
@@ -3567,7 +3570,7 @@ export var serializeAws_restJson1StartContactStreamingCommand = function (input,
|
|
|
3567
3570
|
headers = {
|
|
3568
3571
|
"content-type": "application/json",
|
|
3569
3572
|
};
|
|
3570
|
-
resolvedPath = ""
|
|
3573
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/contact/start-streaming";
|
|
3571
3574
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.ChatStreamingConfiguration !== undefined &&
|
|
3572
3575
|
input.ChatStreamingConfiguration !== null && {
|
|
3573
3576
|
ChatStreamingConfiguration: serializeAws_restJson1ChatStreamingConfiguration(input.ChatStreamingConfiguration, context),
|
|
@@ -3595,7 +3598,7 @@ export var serializeAws_restJson1StartOutboundVoiceContactCommand = function (in
|
|
|
3595
3598
|
headers = {
|
|
3596
3599
|
"content-type": "application/json",
|
|
3597
3600
|
};
|
|
3598
|
-
resolvedPath = ""
|
|
3601
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/contact/outbound-voice";
|
|
3599
3602
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AnswerMachineDetectionConfig !== undefined &&
|
|
3600
3603
|
input.AnswerMachineDetectionConfig !== null && {
|
|
3601
3604
|
AnswerMachineDetectionConfig: serializeAws_restJson1AnswerMachineDetectionConfig(input.AnswerMachineDetectionConfig, context),
|
|
@@ -3626,7 +3629,7 @@ export var serializeAws_restJson1StartTaskContactCommand = function (input, cont
|
|
|
3626
3629
|
headers = {
|
|
3627
3630
|
"content-type": "application/json",
|
|
3628
3631
|
};
|
|
3629
|
-
resolvedPath = ""
|
|
3632
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/contact/task";
|
|
3630
3633
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Attributes !== undefined &&
|
|
3631
3634
|
input.Attributes !== null && { Attributes: serializeAws_restJson1Attributes(input.Attributes, context) })), { ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.ContactFlowId !== undefined && input.ContactFlowId !== null && { ContactFlowId: input.ContactFlowId })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.PreviousContactId !== undefined &&
|
|
3632
3635
|
input.PreviousContactId !== null && { PreviousContactId: input.PreviousContactId })), (input.References !== undefined &&
|
|
@@ -3654,7 +3657,7 @@ export var serializeAws_restJson1StopContactCommand = function (input, context)
|
|
|
3654
3657
|
headers = {
|
|
3655
3658
|
"content-type": "application/json",
|
|
3656
3659
|
};
|
|
3657
|
-
resolvedPath = ""
|
|
3660
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/contact/stop";
|
|
3658
3661
|
body = JSON.stringify(__assign(__assign({}, (input.ContactId !== undefined && input.ContactId !== null && { ContactId: input.ContactId })), (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId })));
|
|
3659
3662
|
return [2, new __HttpRequest({
|
|
3660
3663
|
protocol: protocol,
|
|
@@ -3678,7 +3681,7 @@ export var serializeAws_restJson1StopContactRecordingCommand = function (input,
|
|
|
3678
3681
|
headers = {
|
|
3679
3682
|
"content-type": "application/json",
|
|
3680
3683
|
};
|
|
3681
|
-
resolvedPath = ""
|
|
3684
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/contact/stop-recording";
|
|
3682
3685
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.ContactId !== undefined && input.ContactId !== null && { ContactId: input.ContactId })), (input.InitialContactId !== undefined &&
|
|
3683
3686
|
input.InitialContactId !== null && { InitialContactId: input.InitialContactId })), (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId })));
|
|
3684
3687
|
return [2, new __HttpRequest({
|
|
@@ -3703,7 +3706,7 @@ export var serializeAws_restJson1StopContactStreamingCommand = function (input,
|
|
|
3703
3706
|
headers = {
|
|
3704
3707
|
"content-type": "application/json",
|
|
3705
3708
|
};
|
|
3706
|
-
resolvedPath = ""
|
|
3709
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/contact/stop-streaming";
|
|
3707
3710
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.ContactId !== undefined && input.ContactId !== null && { ContactId: input.ContactId })), (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId })), (input.StreamingId !== undefined && input.StreamingId !== null && { StreamingId: input.StreamingId })));
|
|
3708
3711
|
return [2, new __HttpRequest({
|
|
3709
3712
|
protocol: protocol,
|
|
@@ -3727,7 +3730,7 @@ export var serializeAws_restJson1SuspendContactRecordingCommand = function (inpu
|
|
|
3727
3730
|
headers = {
|
|
3728
3731
|
"content-type": "application/json",
|
|
3729
3732
|
};
|
|
3730
|
-
resolvedPath = ""
|
|
3733
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/contact/suspend-recording";
|
|
3731
3734
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.ContactId !== undefined && input.ContactId !== null && { ContactId: input.ContactId })), (input.InitialContactId !== undefined &&
|
|
3732
3735
|
input.InitialContactId !== null && { InitialContactId: input.InitialContactId })), (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId })));
|
|
3733
3736
|
return [2, new __HttpRequest({
|
|
@@ -3752,7 +3755,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
3752
3755
|
headers = {
|
|
3753
3756
|
"content-type": "application/json",
|
|
3754
3757
|
};
|
|
3755
|
-
resolvedPath = ""
|
|
3758
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
3756
3759
|
if (input.resourceArn !== undefined) {
|
|
3757
3760
|
labelValue = input.resourceArn;
|
|
3758
3761
|
if (labelValue.length <= 0) {
|
|
@@ -3784,7 +3787,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
3784
3787
|
case 1:
|
|
3785
3788
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3786
3789
|
headers = {};
|
|
3787
|
-
resolvedPath = ""
|
|
3790
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
3788
3791
|
if (input.resourceArn !== undefined) {
|
|
3789
3792
|
labelValue = input.resourceArn;
|
|
3790
3793
|
if (labelValue.length <= 0) {
|
|
@@ -3819,7 +3822,7 @@ export var serializeAws_restJson1UpdateAgentStatusCommand = function (input, con
|
|
|
3819
3822
|
headers = {
|
|
3820
3823
|
"content-type": "application/json",
|
|
3821
3824
|
};
|
|
3822
|
-
resolvedPath = ""
|
|
3825
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
3823
3826
|
"/agent-status/{InstanceId}/{AgentStatusId}";
|
|
3824
3827
|
if (input.InstanceId !== undefined) {
|
|
3825
3828
|
labelValue = input.InstanceId;
|
|
@@ -3865,7 +3868,7 @@ export var serializeAws_restJson1UpdateContactCommand = function (input, context
|
|
|
3865
3868
|
headers = {
|
|
3866
3869
|
"content-type": "application/json",
|
|
3867
3870
|
};
|
|
3868
|
-
resolvedPath = ""
|
|
3871
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/contacts/{InstanceId}/{ContactId}";
|
|
3869
3872
|
if (input.InstanceId !== undefined) {
|
|
3870
3873
|
labelValue = input.InstanceId;
|
|
3871
3874
|
if (labelValue.length <= 0) {
|
|
@@ -3910,7 +3913,7 @@ export var serializeAws_restJson1UpdateContactAttributesCommand = function (inpu
|
|
|
3910
3913
|
headers = {
|
|
3911
3914
|
"content-type": "application/json",
|
|
3912
3915
|
};
|
|
3913
|
-
resolvedPath = ""
|
|
3916
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/contact/attributes";
|
|
3914
3917
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.Attributes !== undefined &&
|
|
3915
3918
|
input.Attributes !== null && { Attributes: serializeAws_restJson1Attributes(input.Attributes, context) })), (input.InitialContactId !== undefined &&
|
|
3916
3919
|
input.InitialContactId !== null && { InitialContactId: input.InitialContactId })), (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId })));
|
|
@@ -3936,7 +3939,7 @@ export var serializeAws_restJson1UpdateContactFlowContentCommand = function (inp
|
|
|
3936
3939
|
headers = {
|
|
3937
3940
|
"content-type": "application/json",
|
|
3938
3941
|
};
|
|
3939
|
-
resolvedPath = ""
|
|
3942
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
3940
3943
|
"/contact-flows/{InstanceId}/{ContactFlowId}/content";
|
|
3941
3944
|
if (input.InstanceId !== undefined) {
|
|
3942
3945
|
labelValue = input.InstanceId;
|
|
@@ -3981,7 +3984,7 @@ export var serializeAws_restJson1UpdateContactFlowMetadataCommand = function (in
|
|
|
3981
3984
|
headers = {
|
|
3982
3985
|
"content-type": "application/json",
|
|
3983
3986
|
};
|
|
3984
|
-
resolvedPath = ""
|
|
3987
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
3985
3988
|
"/contact-flows/{InstanceId}/{ContactFlowId}/metadata";
|
|
3986
3989
|
if (input.InstanceId !== undefined) {
|
|
3987
3990
|
labelValue = input.InstanceId;
|
|
@@ -4027,7 +4030,7 @@ export var serializeAws_restJson1UpdateContactFlowModuleContentCommand = functio
|
|
|
4027
4030
|
headers = {
|
|
4028
4031
|
"content-type": "application/json",
|
|
4029
4032
|
};
|
|
4030
|
-
resolvedPath = ""
|
|
4033
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
4031
4034
|
"/contact-flow-modules/{InstanceId}/{ContactFlowModuleId}/content";
|
|
4032
4035
|
if (input.InstanceId !== undefined) {
|
|
4033
4036
|
labelValue = input.InstanceId;
|
|
@@ -4072,7 +4075,7 @@ export var serializeAws_restJson1UpdateContactFlowModuleMetadataCommand = functi
|
|
|
4072
4075
|
headers = {
|
|
4073
4076
|
"content-type": "application/json",
|
|
4074
4077
|
};
|
|
4075
|
-
resolvedPath = ""
|
|
4078
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
4076
4079
|
"/contact-flow-modules/{InstanceId}/{ContactFlowModuleId}/metadata";
|
|
4077
4080
|
if (input.InstanceId !== undefined) {
|
|
4078
4081
|
labelValue = input.InstanceId;
|
|
@@ -4117,7 +4120,7 @@ export var serializeAws_restJson1UpdateContactFlowNameCommand = function (input,
|
|
|
4117
4120
|
headers = {
|
|
4118
4121
|
"content-type": "application/json",
|
|
4119
4122
|
};
|
|
4120
|
-
resolvedPath = ""
|
|
4123
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
4121
4124
|
"/contact-flows/{InstanceId}/{ContactFlowId}/name";
|
|
4122
4125
|
if (input.InstanceId !== undefined) {
|
|
4123
4126
|
labelValue = input.InstanceId;
|
|
@@ -4162,7 +4165,7 @@ export var serializeAws_restJson1UpdateContactScheduleCommand = function (input,
|
|
|
4162
4165
|
headers = {
|
|
4163
4166
|
"content-type": "application/json",
|
|
4164
4167
|
};
|
|
4165
|
-
resolvedPath = ""
|
|
4168
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/contact/schedule";
|
|
4166
4169
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.ContactId !== undefined && input.ContactId !== null && { ContactId: input.ContactId })), (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId })), (input.ScheduledTime !== undefined &&
|
|
4167
4170
|
input.ScheduledTime !== null && { ScheduledTime: Math.round(input.ScheduledTime.getTime() / 1000) })));
|
|
4168
4171
|
return [2, new __HttpRequest({
|
|
@@ -4187,7 +4190,7 @@ export var serializeAws_restJson1UpdateHoursOfOperationCommand = function (input
|
|
|
4187
4190
|
headers = {
|
|
4188
4191
|
"content-type": "application/json",
|
|
4189
4192
|
};
|
|
4190
|
-
resolvedPath = ""
|
|
4193
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
4191
4194
|
"/hours-of-operations/{InstanceId}/{HoursOfOperationId}";
|
|
4192
4195
|
if (input.InstanceId !== undefined) {
|
|
4193
4196
|
labelValue = input.InstanceId;
|
|
@@ -4233,7 +4236,7 @@ export var serializeAws_restJson1UpdateInstanceAttributeCommand = function (inpu
|
|
|
4233
4236
|
headers = {
|
|
4234
4237
|
"content-type": "application/json",
|
|
4235
4238
|
};
|
|
4236
|
-
resolvedPath = ""
|
|
4239
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
4237
4240
|
"/instance/{InstanceId}/attribute/{AttributeType}";
|
|
4238
4241
|
if (input.InstanceId !== undefined) {
|
|
4239
4242
|
labelValue = input.InstanceId;
|
|
@@ -4278,7 +4281,7 @@ export var serializeAws_restJson1UpdateInstanceStorageConfigCommand = function (
|
|
|
4278
4281
|
headers = {
|
|
4279
4282
|
"content-type": "application/json",
|
|
4280
4283
|
};
|
|
4281
|
-
resolvedPath = ""
|
|
4284
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
4282
4285
|
"/instance/{InstanceId}/storage-config/{AssociationId}";
|
|
4283
4286
|
if (input.InstanceId !== undefined) {
|
|
4284
4287
|
labelValue = input.InstanceId;
|
|
@@ -4328,7 +4331,7 @@ export var serializeAws_restJson1UpdateQueueHoursOfOperationCommand = function (
|
|
|
4328
4331
|
headers = {
|
|
4329
4332
|
"content-type": "application/json",
|
|
4330
4333
|
};
|
|
4331
|
-
resolvedPath = ""
|
|
4334
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
4332
4335
|
"/queues/{InstanceId}/{QueueId}/hours-of-operation";
|
|
4333
4336
|
if (input.InstanceId !== undefined) {
|
|
4334
4337
|
labelValue = input.InstanceId;
|
|
@@ -4374,7 +4377,7 @@ export var serializeAws_restJson1UpdateQueueMaxContactsCommand = function (input
|
|
|
4374
4377
|
headers = {
|
|
4375
4378
|
"content-type": "application/json",
|
|
4376
4379
|
};
|
|
4377
|
-
resolvedPath = ""
|
|
4380
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
4378
4381
|
"/queues/{InstanceId}/{QueueId}/max-contacts";
|
|
4379
4382
|
if (input.InstanceId !== undefined) {
|
|
4380
4383
|
labelValue = input.InstanceId;
|
|
@@ -4419,7 +4422,7 @@ export var serializeAws_restJson1UpdateQueueNameCommand = function (input, conte
|
|
|
4419
4422
|
headers = {
|
|
4420
4423
|
"content-type": "application/json",
|
|
4421
4424
|
};
|
|
4422
|
-
resolvedPath = ""
|
|
4425
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/queues/{InstanceId}/{QueueId}/name";
|
|
4423
4426
|
if (input.InstanceId !== undefined) {
|
|
4424
4427
|
labelValue = input.InstanceId;
|
|
4425
4428
|
if (labelValue.length <= 0) {
|
|
@@ -4463,7 +4466,7 @@ export var serializeAws_restJson1UpdateQueueOutboundCallerConfigCommand = functi
|
|
|
4463
4466
|
headers = {
|
|
4464
4467
|
"content-type": "application/json",
|
|
4465
4468
|
};
|
|
4466
|
-
resolvedPath = ""
|
|
4469
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
4467
4470
|
"/queues/{InstanceId}/{QueueId}/outbound-caller-config";
|
|
4468
4471
|
if (input.InstanceId !== undefined) {
|
|
4469
4472
|
labelValue = input.InstanceId;
|
|
@@ -4511,7 +4514,7 @@ export var serializeAws_restJson1UpdateQueueStatusCommand = function (input, con
|
|
|
4511
4514
|
headers = {
|
|
4512
4515
|
"content-type": "application/json",
|
|
4513
4516
|
};
|
|
4514
|
-
resolvedPath = ""
|
|
4517
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/queues/{InstanceId}/{QueueId}/status";
|
|
4515
4518
|
if (input.InstanceId !== undefined) {
|
|
4516
4519
|
labelValue = input.InstanceId;
|
|
4517
4520
|
if (labelValue.length <= 0) {
|
|
@@ -4555,7 +4558,7 @@ export var serializeAws_restJson1UpdateQuickConnectConfigCommand = function (inp
|
|
|
4555
4558
|
headers = {
|
|
4556
4559
|
"content-type": "application/json",
|
|
4557
4560
|
};
|
|
4558
|
-
resolvedPath = ""
|
|
4561
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
4559
4562
|
"/quick-connects/{InstanceId}/{QuickConnectId}/config";
|
|
4560
4563
|
if (input.InstanceId !== undefined) {
|
|
4561
4564
|
labelValue = input.InstanceId;
|
|
@@ -4603,7 +4606,7 @@ export var serializeAws_restJson1UpdateQuickConnectNameCommand = function (input
|
|
|
4603
4606
|
headers = {
|
|
4604
4607
|
"content-type": "application/json",
|
|
4605
4608
|
};
|
|
4606
|
-
resolvedPath = ""
|
|
4609
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
4607
4610
|
"/quick-connects/{InstanceId}/{QuickConnectId}/name";
|
|
4608
4611
|
if (input.InstanceId !== undefined) {
|
|
4609
4612
|
labelValue = input.InstanceId;
|
|
@@ -4648,7 +4651,7 @@ export var serializeAws_restJson1UpdateRoutingProfileConcurrencyCommand = functi
|
|
|
4648
4651
|
headers = {
|
|
4649
4652
|
"content-type": "application/json",
|
|
4650
4653
|
};
|
|
4651
|
-
resolvedPath = ""
|
|
4654
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
4652
4655
|
"/routing-profiles/{InstanceId}/{RoutingProfileId}/concurrency";
|
|
4653
4656
|
if (input.InstanceId !== undefined) {
|
|
4654
4657
|
labelValue = input.InstanceId;
|
|
@@ -4696,7 +4699,7 @@ export var serializeAws_restJson1UpdateRoutingProfileDefaultOutboundQueueCommand
|
|
|
4696
4699
|
headers = {
|
|
4697
4700
|
"content-type": "application/json",
|
|
4698
4701
|
};
|
|
4699
|
-
resolvedPath = ""
|
|
4702
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
4700
4703
|
"/routing-profiles/{InstanceId}/{RoutingProfileId}/default-outbound-queue";
|
|
4701
4704
|
if (input.InstanceId !== undefined) {
|
|
4702
4705
|
labelValue = input.InstanceId;
|
|
@@ -4742,7 +4745,7 @@ export var serializeAws_restJson1UpdateRoutingProfileNameCommand = function (inp
|
|
|
4742
4745
|
headers = {
|
|
4743
4746
|
"content-type": "application/json",
|
|
4744
4747
|
};
|
|
4745
|
-
resolvedPath = ""
|
|
4748
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
4746
4749
|
"/routing-profiles/{InstanceId}/{RoutingProfileId}/name";
|
|
4747
4750
|
if (input.InstanceId !== undefined) {
|
|
4748
4751
|
labelValue = input.InstanceId;
|
|
@@ -4787,7 +4790,7 @@ export var serializeAws_restJson1UpdateRoutingProfileQueuesCommand = function (i
|
|
|
4787
4790
|
headers = {
|
|
4788
4791
|
"content-type": "application/json",
|
|
4789
4792
|
};
|
|
4790
|
-
resolvedPath = ""
|
|
4793
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
4791
4794
|
"/routing-profiles/{InstanceId}/{RoutingProfileId}/queues";
|
|
4792
4795
|
if (input.InstanceId !== undefined) {
|
|
4793
4796
|
labelValue = input.InstanceId;
|
|
@@ -4835,7 +4838,7 @@ export var serializeAws_restJson1UpdateSecurityProfileCommand = function (input,
|
|
|
4835
4838
|
headers = {
|
|
4836
4839
|
"content-type": "application/json",
|
|
4837
4840
|
};
|
|
4838
|
-
resolvedPath = ""
|
|
4841
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
4839
4842
|
"/security-profiles/{InstanceId}/{SecurityProfileId}";
|
|
4840
4843
|
if (input.SecurityProfileId !== undefined) {
|
|
4841
4844
|
labelValue = input.SecurityProfileId;
|
|
@@ -4881,7 +4884,7 @@ export var serializeAws_restJson1UpdateUserHierarchyCommand = function (input, c
|
|
|
4881
4884
|
headers = {
|
|
4882
4885
|
"content-type": "application/json",
|
|
4883
4886
|
};
|
|
4884
|
-
resolvedPath = ""
|
|
4887
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/users/{InstanceId}/{UserId}/hierarchy";
|
|
4885
4888
|
if (input.UserId !== undefined) {
|
|
4886
4889
|
labelValue = input.UserId;
|
|
4887
4890
|
if (labelValue.length <= 0) {
|
|
@@ -4926,7 +4929,7 @@ export var serializeAws_restJson1UpdateUserHierarchyGroupNameCommand = function
|
|
|
4926
4929
|
headers = {
|
|
4927
4930
|
"content-type": "application/json",
|
|
4928
4931
|
};
|
|
4929
|
-
resolvedPath = ""
|
|
4932
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
4930
4933
|
"/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}/name";
|
|
4931
4934
|
if (input.HierarchyGroupId !== undefined) {
|
|
4932
4935
|
labelValue = input.HierarchyGroupId;
|
|
@@ -4971,7 +4974,7 @@ export var serializeAws_restJson1UpdateUserHierarchyStructureCommand = function
|
|
|
4971
4974
|
headers = {
|
|
4972
4975
|
"content-type": "application/json",
|
|
4973
4976
|
};
|
|
4974
|
-
resolvedPath = ""
|
|
4977
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/user-hierarchy-structure/{InstanceId}";
|
|
4975
4978
|
if (input.InstanceId !== undefined) {
|
|
4976
4979
|
labelValue = input.InstanceId;
|
|
4977
4980
|
if (labelValue.length <= 0) {
|
|
@@ -5008,7 +5011,7 @@ export var serializeAws_restJson1UpdateUserIdentityInfoCommand = function (input
|
|
|
5008
5011
|
headers = {
|
|
5009
5012
|
"content-type": "application/json",
|
|
5010
5013
|
};
|
|
5011
|
-
resolvedPath = ""
|
|
5014
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
5012
5015
|
"/users/{InstanceId}/{UserId}/identity-info";
|
|
5013
5016
|
if (input.UserId !== undefined) {
|
|
5014
5017
|
labelValue = input.UserId;
|
|
@@ -5056,7 +5059,7 @@ export var serializeAws_restJson1UpdateUserPhoneConfigCommand = function (input,
|
|
|
5056
5059
|
headers = {
|
|
5057
5060
|
"content-type": "application/json",
|
|
5058
5061
|
};
|
|
5059
|
-
resolvedPath = ""
|
|
5062
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/users/{InstanceId}/{UserId}/phone-config";
|
|
5060
5063
|
if (input.UserId !== undefined) {
|
|
5061
5064
|
labelValue = input.UserId;
|
|
5062
5065
|
if (labelValue.length <= 0) {
|
|
@@ -5101,7 +5104,7 @@ export var serializeAws_restJson1UpdateUserRoutingProfileCommand = function (inp
|
|
|
5101
5104
|
headers = {
|
|
5102
5105
|
"content-type": "application/json",
|
|
5103
5106
|
};
|
|
5104
|
-
resolvedPath = ""
|
|
5107
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
5105
5108
|
"/users/{InstanceId}/{UserId}/routing-profile";
|
|
5106
5109
|
if (input.UserId !== undefined) {
|
|
5107
5110
|
labelValue = input.UserId;
|
|
@@ -5147,7 +5150,7 @@ export var serializeAws_restJson1UpdateUserSecurityProfilesCommand = function (i
|
|
|
5147
5150
|
headers = {
|
|
5148
5151
|
"content-type": "application/json",
|
|
5149
5152
|
};
|
|
5150
|
-
resolvedPath = ""
|
|
5153
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
5151
5154
|
"/users/{InstanceId}/{UserId}/security-profiles";
|
|
5152
5155
|
if (input.UserId !== undefined) {
|
|
5153
5156
|
labelValue = input.UserId;
|
|
@@ -15313,6 +15316,16 @@ var serializeAws_restJson1SecurityProfileIds = function (input, context) {
|
|
|
15313
15316
|
return entry;
|
|
15314
15317
|
});
|
|
15315
15318
|
};
|
|
15319
|
+
var serializeAws_restJson1SupportedMessagingContentTypes = function (input, context) {
|
|
15320
|
+
return input
|
|
15321
|
+
.filter(function (e) { return e != null; })
|
|
15322
|
+
.map(function (entry) {
|
|
15323
|
+
if (entry === null) {
|
|
15324
|
+
return null;
|
|
15325
|
+
}
|
|
15326
|
+
return entry;
|
|
15327
|
+
});
|
|
15328
|
+
};
|
|
15316
15329
|
var serializeAws_restJson1TagMap = function (input, context) {
|
|
15317
15330
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
15318
15331
|
var _b;
|