@aws-sdk/client-connect 3.31.0 → 3.32.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 +8 -0
- package/dist/cjs/ConnectClient.js +13 -13
- package/dist/cjs/ConnectClient.js.map +1 -1
- package/dist/cjs/commands/AssociateApprovedOriginCommand.js +3 -3
- package/dist/cjs/commands/AssociateApprovedOriginCommand.js.map +1 -1
- package/dist/cjs/commands/AssociateBotCommand.js +3 -3
- package/dist/cjs/commands/AssociateBotCommand.js.map +1 -1
- package/dist/cjs/commands/AssociateInstanceStorageConfigCommand.js +3 -3
- package/dist/cjs/commands/AssociateInstanceStorageConfigCommand.js.map +1 -1
- package/dist/cjs/commands/AssociateLambdaFunctionCommand.js +3 -3
- package/dist/cjs/commands/AssociateLambdaFunctionCommand.js.map +1 -1
- package/dist/cjs/commands/AssociateLexBotCommand.js +3 -3
- package/dist/cjs/commands/AssociateLexBotCommand.js.map +1 -1
- package/dist/cjs/commands/AssociateQueueQuickConnectsCommand.js +3 -3
- package/dist/cjs/commands/AssociateQueueQuickConnectsCommand.js.map +1 -1
- package/dist/cjs/commands/AssociateRoutingProfileQueuesCommand.js +3 -3
- package/dist/cjs/commands/AssociateRoutingProfileQueuesCommand.js.map +1 -1
- package/dist/cjs/commands/AssociateSecurityKeyCommand.js +3 -3
- package/dist/cjs/commands/AssociateSecurityKeyCommand.js.map +1 -1
- package/dist/cjs/commands/CreateAgentStatusCommand.js +3 -3
- package/dist/cjs/commands/CreateAgentStatusCommand.js.map +1 -1
- package/dist/cjs/commands/CreateContactFlowCommand.js +3 -3
- package/dist/cjs/commands/CreateContactFlowCommand.js.map +1 -1
- package/dist/cjs/commands/CreateHoursOfOperationCommand.js +3 -3
- package/dist/cjs/commands/CreateHoursOfOperationCommand.js.map +1 -1
- package/dist/cjs/commands/CreateInstanceCommand.js +3 -3
- package/dist/cjs/commands/CreateInstanceCommand.js.map +1 -1
- package/dist/cjs/commands/CreateIntegrationAssociationCommand.js +3 -3
- package/dist/cjs/commands/CreateIntegrationAssociationCommand.js.map +1 -1
- package/dist/cjs/commands/CreateQueueCommand.js +3 -3
- package/dist/cjs/commands/CreateQueueCommand.js.map +1 -1
- package/dist/cjs/commands/CreateQuickConnectCommand.js +3 -3
- package/dist/cjs/commands/CreateQuickConnectCommand.js.map +1 -1
- package/dist/cjs/commands/CreateRoutingProfileCommand.js +3 -3
- package/dist/cjs/commands/CreateRoutingProfileCommand.js.map +1 -1
- package/dist/cjs/commands/CreateUseCaseCommand.js +3 -3
- package/dist/cjs/commands/CreateUseCaseCommand.js.map +1 -1
- package/dist/cjs/commands/CreateUserCommand.js +3 -3
- package/dist/cjs/commands/CreateUserCommand.js.map +1 -1
- package/dist/cjs/commands/CreateUserHierarchyGroupCommand.js +3 -3
- package/dist/cjs/commands/CreateUserHierarchyGroupCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteHoursOfOperationCommand.js +3 -3
- package/dist/cjs/commands/DeleteHoursOfOperationCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteInstanceCommand.js +3 -3
- package/dist/cjs/commands/DeleteInstanceCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteIntegrationAssociationCommand.js +3 -3
- package/dist/cjs/commands/DeleteIntegrationAssociationCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteQuickConnectCommand.js +3 -3
- package/dist/cjs/commands/DeleteQuickConnectCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteUseCaseCommand.js +3 -3
- package/dist/cjs/commands/DeleteUseCaseCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteUserCommand.js +3 -3
- package/dist/cjs/commands/DeleteUserCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteUserHierarchyGroupCommand.js +3 -3
- package/dist/cjs/commands/DeleteUserHierarchyGroupCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeAgentStatusCommand.js +3 -3
- package/dist/cjs/commands/DescribeAgentStatusCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeContactFlowCommand.js +3 -3
- package/dist/cjs/commands/DescribeContactFlowCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeHoursOfOperationCommand.js +3 -3
- package/dist/cjs/commands/DescribeHoursOfOperationCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeInstanceAttributeCommand.js +3 -3
- package/dist/cjs/commands/DescribeInstanceAttributeCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeInstanceCommand.js +3 -3
- package/dist/cjs/commands/DescribeInstanceCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeInstanceStorageConfigCommand.js +3 -3
- package/dist/cjs/commands/DescribeInstanceStorageConfigCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeQueueCommand.js +3 -3
- package/dist/cjs/commands/DescribeQueueCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeQuickConnectCommand.js +3 -3
- package/dist/cjs/commands/DescribeQuickConnectCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeRoutingProfileCommand.js +3 -3
- package/dist/cjs/commands/DescribeRoutingProfileCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeUserCommand.js +3 -3
- package/dist/cjs/commands/DescribeUserCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeUserHierarchyGroupCommand.js +3 -3
- package/dist/cjs/commands/DescribeUserHierarchyGroupCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeUserHierarchyStructureCommand.js +3 -3
- package/dist/cjs/commands/DescribeUserHierarchyStructureCommand.js.map +1 -1
- package/dist/cjs/commands/DisassociateApprovedOriginCommand.js +3 -3
- package/dist/cjs/commands/DisassociateApprovedOriginCommand.js.map +1 -1
- package/dist/cjs/commands/DisassociateBotCommand.js +3 -3
- package/dist/cjs/commands/DisassociateBotCommand.js.map +1 -1
- package/dist/cjs/commands/DisassociateInstanceStorageConfigCommand.js +3 -3
- package/dist/cjs/commands/DisassociateInstanceStorageConfigCommand.js.map +1 -1
- package/dist/cjs/commands/DisassociateLambdaFunctionCommand.js +3 -3
- package/dist/cjs/commands/DisassociateLambdaFunctionCommand.js.map +1 -1
- package/dist/cjs/commands/DisassociateLexBotCommand.js +3 -3
- package/dist/cjs/commands/DisassociateLexBotCommand.js.map +1 -1
- package/dist/cjs/commands/DisassociateQueueQuickConnectsCommand.js +3 -3
- package/dist/cjs/commands/DisassociateQueueQuickConnectsCommand.js.map +1 -1
- package/dist/cjs/commands/DisassociateRoutingProfileQueuesCommand.js +3 -3
- package/dist/cjs/commands/DisassociateRoutingProfileQueuesCommand.js.map +1 -1
- package/dist/cjs/commands/DisassociateSecurityKeyCommand.js +3 -3
- package/dist/cjs/commands/DisassociateSecurityKeyCommand.js.map +1 -1
- package/dist/cjs/commands/GetContactAttributesCommand.js +3 -3
- package/dist/cjs/commands/GetContactAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/GetCurrentMetricDataCommand.js +3 -3
- package/dist/cjs/commands/GetCurrentMetricDataCommand.js.map +1 -1
- package/dist/cjs/commands/GetFederationTokenCommand.js +3 -3
- package/dist/cjs/commands/GetFederationTokenCommand.js.map +1 -1
- package/dist/cjs/commands/GetMetricDataCommand.js +3 -3
- package/dist/cjs/commands/GetMetricDataCommand.js.map +1 -1
- package/dist/cjs/commands/ListAgentStatusesCommand.js +3 -3
- package/dist/cjs/commands/ListAgentStatusesCommand.js.map +1 -1
- package/dist/cjs/commands/ListApprovedOriginsCommand.js +3 -3
- package/dist/cjs/commands/ListApprovedOriginsCommand.js.map +1 -1
- package/dist/cjs/commands/ListBotsCommand.js +3 -3
- package/dist/cjs/commands/ListBotsCommand.js.map +1 -1
- package/dist/cjs/commands/ListContactFlowsCommand.js +3 -3
- package/dist/cjs/commands/ListContactFlowsCommand.js.map +1 -1
- package/dist/cjs/commands/ListHoursOfOperationsCommand.js +3 -3
- package/dist/cjs/commands/ListHoursOfOperationsCommand.js.map +1 -1
- package/dist/cjs/commands/ListInstanceAttributesCommand.js +3 -3
- package/dist/cjs/commands/ListInstanceAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/ListInstanceStorageConfigsCommand.js +3 -3
- package/dist/cjs/commands/ListInstanceStorageConfigsCommand.js.map +1 -1
- package/dist/cjs/commands/ListInstancesCommand.js +3 -3
- package/dist/cjs/commands/ListInstancesCommand.js.map +1 -1
- package/dist/cjs/commands/ListIntegrationAssociationsCommand.js +3 -3
- package/dist/cjs/commands/ListIntegrationAssociationsCommand.js.map +1 -1
- package/dist/cjs/commands/ListLambdaFunctionsCommand.js +3 -3
- package/dist/cjs/commands/ListLambdaFunctionsCommand.js.map +1 -1
- package/dist/cjs/commands/ListLexBotsCommand.js +3 -3
- package/dist/cjs/commands/ListLexBotsCommand.js.map +1 -1
- package/dist/cjs/commands/ListPhoneNumbersCommand.js +3 -3
- package/dist/cjs/commands/ListPhoneNumbersCommand.js.map +1 -1
- package/dist/cjs/commands/ListPromptsCommand.js +3 -3
- package/dist/cjs/commands/ListPromptsCommand.js.map +1 -1
- package/dist/cjs/commands/ListQueueQuickConnectsCommand.js +3 -3
- package/dist/cjs/commands/ListQueueQuickConnectsCommand.js.map +1 -1
- package/dist/cjs/commands/ListQueuesCommand.js +3 -3
- package/dist/cjs/commands/ListQueuesCommand.js.map +1 -1
- package/dist/cjs/commands/ListQuickConnectsCommand.js +3 -3
- package/dist/cjs/commands/ListQuickConnectsCommand.js.map +1 -1
- package/dist/cjs/commands/ListRoutingProfileQueuesCommand.js +3 -3
- package/dist/cjs/commands/ListRoutingProfileQueuesCommand.js.map +1 -1
- package/dist/cjs/commands/ListRoutingProfilesCommand.js +3 -3
- package/dist/cjs/commands/ListRoutingProfilesCommand.js.map +1 -1
- package/dist/cjs/commands/ListSecurityKeysCommand.js +3 -3
- package/dist/cjs/commands/ListSecurityKeysCommand.js.map +1 -1
- package/dist/cjs/commands/ListSecurityProfilesCommand.js +3 -3
- package/dist/cjs/commands/ListSecurityProfilesCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/ListUseCasesCommand.js +3 -3
- package/dist/cjs/commands/ListUseCasesCommand.js.map +1 -1
- package/dist/cjs/commands/ListUserHierarchyGroupsCommand.js +3 -3
- package/dist/cjs/commands/ListUserHierarchyGroupsCommand.js.map +1 -1
- package/dist/cjs/commands/ListUsersCommand.js +3 -3
- package/dist/cjs/commands/ListUsersCommand.js.map +1 -1
- package/dist/cjs/commands/ResumeContactRecordingCommand.js +3 -3
- package/dist/cjs/commands/ResumeContactRecordingCommand.js.map +1 -1
- package/dist/cjs/commands/StartChatContactCommand.js +3 -3
- package/dist/cjs/commands/StartChatContactCommand.js.map +1 -1
- package/dist/cjs/commands/StartContactRecordingCommand.js +3 -3
- package/dist/cjs/commands/StartContactRecordingCommand.js.map +1 -1
- package/dist/cjs/commands/StartOutboundVoiceContactCommand.js +3 -3
- package/dist/cjs/commands/StartOutboundVoiceContactCommand.js.map +1 -1
- package/dist/cjs/commands/StartTaskContactCommand.js +3 -3
- package/dist/cjs/commands/StartTaskContactCommand.js.map +1 -1
- package/dist/cjs/commands/StopContactCommand.js +3 -3
- package/dist/cjs/commands/StopContactCommand.js.map +1 -1
- package/dist/cjs/commands/StopContactRecordingCommand.js +3 -3
- package/dist/cjs/commands/StopContactRecordingCommand.js.map +1 -1
- package/dist/cjs/commands/SuspendContactRecordingCommand.js +3 -3
- package/dist/cjs/commands/SuspendContactRecordingCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateAgentStatusCommand.js +3 -3
- package/dist/cjs/commands/UpdateAgentStatusCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateContactAttributesCommand.js +3 -3
- package/dist/cjs/commands/UpdateContactAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateContactFlowContentCommand.js +3 -3
- package/dist/cjs/commands/UpdateContactFlowContentCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateContactFlowNameCommand.js +3 -3
- package/dist/cjs/commands/UpdateContactFlowNameCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateHoursOfOperationCommand.js +3 -3
- package/dist/cjs/commands/UpdateHoursOfOperationCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateInstanceAttributeCommand.js +3 -3
- package/dist/cjs/commands/UpdateInstanceAttributeCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateInstanceStorageConfigCommand.js +3 -3
- package/dist/cjs/commands/UpdateInstanceStorageConfigCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateQueueHoursOfOperationCommand.js +3 -3
- package/dist/cjs/commands/UpdateQueueHoursOfOperationCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateQueueMaxContactsCommand.js +3 -3
- package/dist/cjs/commands/UpdateQueueMaxContactsCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateQueueNameCommand.js +3 -3
- package/dist/cjs/commands/UpdateQueueNameCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateQueueOutboundCallerConfigCommand.js +3 -3
- package/dist/cjs/commands/UpdateQueueOutboundCallerConfigCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateQueueStatusCommand.js +3 -3
- package/dist/cjs/commands/UpdateQueueStatusCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateQuickConnectConfigCommand.js +3 -3
- package/dist/cjs/commands/UpdateQuickConnectConfigCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateQuickConnectNameCommand.js +3 -3
- package/dist/cjs/commands/UpdateQuickConnectNameCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateRoutingProfileConcurrencyCommand.js +3 -3
- package/dist/cjs/commands/UpdateRoutingProfileConcurrencyCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.js +3 -3
- package/dist/cjs/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateRoutingProfileNameCommand.js +3 -3
- package/dist/cjs/commands/UpdateRoutingProfileNameCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateRoutingProfileQueuesCommand.js +3 -3
- package/dist/cjs/commands/UpdateRoutingProfileQueuesCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateUserHierarchyCommand.js +3 -3
- package/dist/cjs/commands/UpdateUserHierarchyCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateUserHierarchyGroupNameCommand.js +3 -3
- package/dist/cjs/commands/UpdateUserHierarchyGroupNameCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateUserHierarchyStructureCommand.js +3 -3
- package/dist/cjs/commands/UpdateUserHierarchyStructureCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateUserIdentityInfoCommand.js +3 -3
- package/dist/cjs/commands/UpdateUserIdentityInfoCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateUserPhoneConfigCommand.js +3 -3
- package/dist/cjs/commands/UpdateUserPhoneConfigCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateUserRoutingProfileCommand.js +3 -3
- package/dist/cjs/commands/UpdateUserRoutingProfileCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateUserSecurityProfilesCommand.js +3 -3
- package/dist/cjs/commands/UpdateUserSecurityProfilesCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +138 -138
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_restJson1.js +465 -465
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/pagination/GetCurrentMetricDataPaginator.js +4 -4
- package/dist/es/pagination/GetCurrentMetricDataPaginator.js.map +1 -1
- package/dist/es/pagination/GetMetricDataPaginator.js +4 -4
- package/dist/es/pagination/GetMetricDataPaginator.js.map +1 -1
- package/dist/es/pagination/ListAgentStatusesPaginator.js +4 -4
- package/dist/es/pagination/ListAgentStatusesPaginator.js.map +1 -1
- package/dist/es/pagination/ListApprovedOriginsPaginator.js +4 -4
- package/dist/es/pagination/ListApprovedOriginsPaginator.js.map +1 -1
- package/dist/es/pagination/ListBotsPaginator.js +4 -4
- package/dist/es/pagination/ListBotsPaginator.js.map +1 -1
- package/dist/es/pagination/ListContactFlowsPaginator.js +4 -4
- package/dist/es/pagination/ListContactFlowsPaginator.js.map +1 -1
- package/dist/es/pagination/ListHoursOfOperationsPaginator.js +4 -4
- package/dist/es/pagination/ListHoursOfOperationsPaginator.js.map +1 -1
- package/dist/es/pagination/ListInstanceAttributesPaginator.js +4 -4
- package/dist/es/pagination/ListInstanceAttributesPaginator.js.map +1 -1
- package/dist/es/pagination/ListInstanceStorageConfigsPaginator.js +4 -4
- package/dist/es/pagination/ListInstanceStorageConfigsPaginator.js.map +1 -1
- package/dist/es/pagination/ListInstancesPaginator.js +4 -4
- package/dist/es/pagination/ListInstancesPaginator.js.map +1 -1
- package/dist/es/pagination/ListIntegrationAssociationsPaginator.js +4 -4
- package/dist/es/pagination/ListIntegrationAssociationsPaginator.js.map +1 -1
- package/dist/es/pagination/ListLambdaFunctionsPaginator.js +4 -4
- package/dist/es/pagination/ListLambdaFunctionsPaginator.js.map +1 -1
- package/dist/es/pagination/ListLexBotsPaginator.js +4 -4
- package/dist/es/pagination/ListLexBotsPaginator.js.map +1 -1
- package/dist/es/pagination/ListPhoneNumbersPaginator.js +4 -4
- package/dist/es/pagination/ListPhoneNumbersPaginator.js.map +1 -1
- package/dist/es/pagination/ListPromptsPaginator.js +4 -4
- package/dist/es/pagination/ListPromptsPaginator.js.map +1 -1
- package/dist/es/pagination/ListQueueQuickConnectsPaginator.js +4 -4
- package/dist/es/pagination/ListQueueQuickConnectsPaginator.js.map +1 -1
- package/dist/es/pagination/ListQueuesPaginator.js +4 -4
- package/dist/es/pagination/ListQueuesPaginator.js.map +1 -1
- package/dist/es/pagination/ListQuickConnectsPaginator.js +4 -4
- package/dist/es/pagination/ListQuickConnectsPaginator.js.map +1 -1
- package/dist/es/pagination/ListRoutingProfileQueuesPaginator.js +4 -4
- package/dist/es/pagination/ListRoutingProfileQueuesPaginator.js.map +1 -1
- package/dist/es/pagination/ListRoutingProfilesPaginator.js +4 -4
- package/dist/es/pagination/ListRoutingProfilesPaginator.js.map +1 -1
- package/dist/es/pagination/ListSecurityKeysPaginator.js +4 -4
- package/dist/es/pagination/ListSecurityKeysPaginator.js.map +1 -1
- package/dist/es/pagination/ListSecurityProfilesPaginator.js +4 -4
- package/dist/es/pagination/ListSecurityProfilesPaginator.js.map +1 -1
- package/dist/es/pagination/ListUseCasesPaginator.js +4 -4
- package/dist/es/pagination/ListUseCasesPaginator.js.map +1 -1
- package/dist/es/pagination/ListUserHierarchyGroupsPaginator.js +4 -4
- package/dist/es/pagination/ListUserHierarchyGroupsPaginator.js.map +1 -1
- package/dist/es/pagination/ListUsersPaginator.js +4 -4
- package/dist/es/pagination/ListUsersPaginator.js.map +1 -1
- package/package.json +31 -31
- package/tsconfig.json +1 -2
|
@@ -19,7 +19,7 @@ const serializeAws_restJson1AssociateApprovedOriginCommand = async (input, conte
|
|
|
19
19
|
if (labelValue.length <= 0) {
|
|
20
20
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
21
21
|
}
|
|
22
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
22
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
23
23
|
}
|
|
24
24
|
else {
|
|
25
25
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -50,7 +50,7 @@ const serializeAws_restJson1AssociateBotCommand = async (input, context) => {
|
|
|
50
50
|
if (labelValue.length <= 0) {
|
|
51
51
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
52
52
|
}
|
|
53
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
53
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
54
54
|
}
|
|
55
55
|
else {
|
|
56
56
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -84,7 +84,7 @@ const serializeAws_restJson1AssociateInstanceStorageConfigCommand = async (input
|
|
|
84
84
|
if (labelValue.length <= 0) {
|
|
85
85
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
86
86
|
}
|
|
87
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
87
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
88
88
|
}
|
|
89
89
|
else {
|
|
90
90
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -119,7 +119,7 @@ const serializeAws_restJson1AssociateLambdaFunctionCommand = async (input, conte
|
|
|
119
119
|
if (labelValue.length <= 0) {
|
|
120
120
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
121
121
|
}
|
|
122
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
122
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
123
123
|
}
|
|
124
124
|
else {
|
|
125
125
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -150,7 +150,7 @@ const serializeAws_restJson1AssociateLexBotCommand = async (input, context) => {
|
|
|
150
150
|
if (labelValue.length <= 0) {
|
|
151
151
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
152
152
|
}
|
|
153
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
153
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
154
154
|
}
|
|
155
155
|
else {
|
|
156
156
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -183,7 +183,7 @@ const serializeAws_restJson1AssociateQueueQuickConnectsCommand = async (input, c
|
|
|
183
183
|
if (labelValue.length <= 0) {
|
|
184
184
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
185
185
|
}
|
|
186
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
186
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
187
187
|
}
|
|
188
188
|
else {
|
|
189
189
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -193,7 +193,7 @@ const serializeAws_restJson1AssociateQueueQuickConnectsCommand = async (input, c
|
|
|
193
193
|
if (labelValue.length <= 0) {
|
|
194
194
|
throw new Error("Empty value provided for input HTTP label: QueueId.");
|
|
195
195
|
}
|
|
196
|
-
resolvedPath = resolvedPath.replace("{QueueId}",
|
|
196
|
+
resolvedPath = resolvedPath.replace("{QueueId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
197
197
|
}
|
|
198
198
|
else {
|
|
199
199
|
throw new Error("No value provided for input HTTP label: QueueId.");
|
|
@@ -228,7 +228,7 @@ const serializeAws_restJson1AssociateRoutingProfileQueuesCommand = async (input,
|
|
|
228
228
|
if (labelValue.length <= 0) {
|
|
229
229
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
230
230
|
}
|
|
231
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
231
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
232
232
|
}
|
|
233
233
|
else {
|
|
234
234
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -238,7 +238,7 @@ const serializeAws_restJson1AssociateRoutingProfileQueuesCommand = async (input,
|
|
|
238
238
|
if (labelValue.length <= 0) {
|
|
239
239
|
throw new Error("Empty value provided for input HTTP label: RoutingProfileId.");
|
|
240
240
|
}
|
|
241
|
-
resolvedPath = resolvedPath.replace("{RoutingProfileId}",
|
|
241
|
+
resolvedPath = resolvedPath.replace("{RoutingProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
242
242
|
}
|
|
243
243
|
else {
|
|
244
244
|
throw new Error("No value provided for input HTTP label: RoutingProfileId.");
|
|
@@ -272,7 +272,7 @@ const serializeAws_restJson1AssociateSecurityKeyCommand = async (input, context)
|
|
|
272
272
|
if (labelValue.length <= 0) {
|
|
273
273
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
274
274
|
}
|
|
275
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
275
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
276
276
|
}
|
|
277
277
|
else {
|
|
278
278
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -303,7 +303,7 @@ const serializeAws_restJson1CreateAgentStatusCommand = async (input, context) =>
|
|
|
303
303
|
if (labelValue.length <= 0) {
|
|
304
304
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
305
305
|
}
|
|
306
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
306
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
307
307
|
}
|
|
308
308
|
else {
|
|
309
309
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -338,7 +338,7 @@ const serializeAws_restJson1CreateContactFlowCommand = async (input, context) =>
|
|
|
338
338
|
if (labelValue.length <= 0) {
|
|
339
339
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
340
340
|
}
|
|
341
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
341
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
342
342
|
}
|
|
343
343
|
else {
|
|
344
344
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -373,7 +373,7 @@ const serializeAws_restJson1CreateHoursOfOperationCommand = async (input, contex
|
|
|
373
373
|
if (labelValue.length <= 0) {
|
|
374
374
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
375
375
|
}
|
|
376
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
376
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
377
377
|
}
|
|
378
378
|
else {
|
|
379
379
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -439,7 +439,7 @@ const serializeAws_restJson1CreateIntegrationAssociationCommand = async (input,
|
|
|
439
439
|
if (labelValue.length <= 0) {
|
|
440
440
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
441
441
|
}
|
|
442
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
442
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
443
443
|
}
|
|
444
444
|
else {
|
|
445
445
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -479,7 +479,7 @@ const serializeAws_restJson1CreateQueueCommand = async (input, context) => {
|
|
|
479
479
|
if (labelValue.length <= 0) {
|
|
480
480
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
481
481
|
}
|
|
482
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
482
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
483
483
|
}
|
|
484
484
|
else {
|
|
485
485
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -523,7 +523,7 @@ const serializeAws_restJson1CreateQuickConnectCommand = async (input, context) =
|
|
|
523
523
|
if (labelValue.length <= 0) {
|
|
524
524
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
525
525
|
}
|
|
526
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
526
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
527
527
|
}
|
|
528
528
|
else {
|
|
529
529
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -560,7 +560,7 @@ const serializeAws_restJson1CreateRoutingProfileCommand = async (input, context)
|
|
|
560
560
|
if (labelValue.length <= 0) {
|
|
561
561
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
562
562
|
}
|
|
563
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
563
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
564
564
|
}
|
|
565
565
|
else {
|
|
566
566
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -604,7 +604,7 @@ const serializeAws_restJson1CreateUseCaseCommand = async (input, context) => {
|
|
|
604
604
|
if (labelValue.length <= 0) {
|
|
605
605
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
606
606
|
}
|
|
607
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
607
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
608
608
|
}
|
|
609
609
|
else {
|
|
610
610
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -614,7 +614,7 @@ const serializeAws_restJson1CreateUseCaseCommand = async (input, context) => {
|
|
|
614
614
|
if (labelValue.length <= 0) {
|
|
615
615
|
throw new Error("Empty value provided for input HTTP label: IntegrationAssociationId.");
|
|
616
616
|
}
|
|
617
|
-
resolvedPath = resolvedPath.replace("{IntegrationAssociationId}",
|
|
617
|
+
resolvedPath = resolvedPath.replace("{IntegrationAssociationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
618
618
|
}
|
|
619
619
|
else {
|
|
620
620
|
throw new Error("No value provided for input HTTP label: IntegrationAssociationId.");
|
|
@@ -646,7 +646,7 @@ const serializeAws_restJson1CreateUserCommand = async (input, context) => {
|
|
|
646
646
|
if (labelValue.length <= 0) {
|
|
647
647
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
648
648
|
}
|
|
649
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
649
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
650
650
|
}
|
|
651
651
|
else {
|
|
652
652
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -695,7 +695,7 @@ const serializeAws_restJson1CreateUserHierarchyGroupCommand = async (input, cont
|
|
|
695
695
|
if (labelValue.length <= 0) {
|
|
696
696
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
697
697
|
}
|
|
698
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
698
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
699
699
|
}
|
|
700
700
|
else {
|
|
701
701
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -726,7 +726,7 @@ const serializeAws_restJson1DeleteHoursOfOperationCommand = async (input, contex
|
|
|
726
726
|
if (labelValue.length <= 0) {
|
|
727
727
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
728
728
|
}
|
|
729
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
729
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
730
730
|
}
|
|
731
731
|
else {
|
|
732
732
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -736,7 +736,7 @@ const serializeAws_restJson1DeleteHoursOfOperationCommand = async (input, contex
|
|
|
736
736
|
if (labelValue.length <= 0) {
|
|
737
737
|
throw new Error("Empty value provided for input HTTP label: HoursOfOperationId.");
|
|
738
738
|
}
|
|
739
|
-
resolvedPath = resolvedPath.replace("{HoursOfOperationId}",
|
|
739
|
+
resolvedPath = resolvedPath.replace("{HoursOfOperationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
740
740
|
}
|
|
741
741
|
else {
|
|
742
742
|
throw new Error("No value provided for input HTTP label: HoursOfOperationId.");
|
|
@@ -762,7 +762,7 @@ const serializeAws_restJson1DeleteInstanceCommand = async (input, context) => {
|
|
|
762
762
|
if (labelValue.length <= 0) {
|
|
763
763
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
764
764
|
}
|
|
765
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
765
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
766
766
|
}
|
|
767
767
|
else {
|
|
768
768
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -789,7 +789,7 @@ const serializeAws_restJson1DeleteIntegrationAssociationCommand = async (input,
|
|
|
789
789
|
if (labelValue.length <= 0) {
|
|
790
790
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
791
791
|
}
|
|
792
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
792
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
793
793
|
}
|
|
794
794
|
else {
|
|
795
795
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -799,7 +799,7 @@ const serializeAws_restJson1DeleteIntegrationAssociationCommand = async (input,
|
|
|
799
799
|
if (labelValue.length <= 0) {
|
|
800
800
|
throw new Error("Empty value provided for input HTTP label: IntegrationAssociationId.");
|
|
801
801
|
}
|
|
802
|
-
resolvedPath = resolvedPath.replace("{IntegrationAssociationId}",
|
|
802
|
+
resolvedPath = resolvedPath.replace("{IntegrationAssociationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
803
803
|
}
|
|
804
804
|
else {
|
|
805
805
|
throw new Error("No value provided for input HTTP label: IntegrationAssociationId.");
|
|
@@ -826,7 +826,7 @@ const serializeAws_restJson1DeleteQuickConnectCommand = async (input, context) =
|
|
|
826
826
|
if (labelValue.length <= 0) {
|
|
827
827
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
828
828
|
}
|
|
829
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
829
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
830
830
|
}
|
|
831
831
|
else {
|
|
832
832
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -836,7 +836,7 @@ const serializeAws_restJson1DeleteQuickConnectCommand = async (input, context) =
|
|
|
836
836
|
if (labelValue.length <= 0) {
|
|
837
837
|
throw new Error("Empty value provided for input HTTP label: QuickConnectId.");
|
|
838
838
|
}
|
|
839
|
-
resolvedPath = resolvedPath.replace("{QuickConnectId}",
|
|
839
|
+
resolvedPath = resolvedPath.replace("{QuickConnectId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
840
840
|
}
|
|
841
841
|
else {
|
|
842
842
|
throw new Error("No value provided for input HTTP label: QuickConnectId.");
|
|
@@ -863,7 +863,7 @@ const serializeAws_restJson1DeleteUseCaseCommand = async (input, context) => {
|
|
|
863
863
|
if (labelValue.length <= 0) {
|
|
864
864
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
865
865
|
}
|
|
866
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
866
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
867
867
|
}
|
|
868
868
|
else {
|
|
869
869
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -873,7 +873,7 @@ const serializeAws_restJson1DeleteUseCaseCommand = async (input, context) => {
|
|
|
873
873
|
if (labelValue.length <= 0) {
|
|
874
874
|
throw new Error("Empty value provided for input HTTP label: IntegrationAssociationId.");
|
|
875
875
|
}
|
|
876
|
-
resolvedPath = resolvedPath.replace("{IntegrationAssociationId}",
|
|
876
|
+
resolvedPath = resolvedPath.replace("{IntegrationAssociationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
877
877
|
}
|
|
878
878
|
else {
|
|
879
879
|
throw new Error("No value provided for input HTTP label: IntegrationAssociationId.");
|
|
@@ -883,7 +883,7 @@ const serializeAws_restJson1DeleteUseCaseCommand = async (input, context) => {
|
|
|
883
883
|
if (labelValue.length <= 0) {
|
|
884
884
|
throw new Error("Empty value provided for input HTTP label: UseCaseId.");
|
|
885
885
|
}
|
|
886
|
-
resolvedPath = resolvedPath.replace("{UseCaseId}",
|
|
886
|
+
resolvedPath = resolvedPath.replace("{UseCaseId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
887
887
|
}
|
|
888
888
|
else {
|
|
889
889
|
throw new Error("No value provided for input HTTP label: UseCaseId.");
|
|
@@ -909,7 +909,7 @@ const serializeAws_restJson1DeleteUserCommand = async (input, context) => {
|
|
|
909
909
|
if (labelValue.length <= 0) {
|
|
910
910
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
911
911
|
}
|
|
912
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
912
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
913
913
|
}
|
|
914
914
|
else {
|
|
915
915
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -919,7 +919,7 @@ const serializeAws_restJson1DeleteUserCommand = async (input, context) => {
|
|
|
919
919
|
if (labelValue.length <= 0) {
|
|
920
920
|
throw new Error("Empty value provided for input HTTP label: UserId.");
|
|
921
921
|
}
|
|
922
|
-
resolvedPath = resolvedPath.replace("{UserId}",
|
|
922
|
+
resolvedPath = resolvedPath.replace("{UserId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
923
923
|
}
|
|
924
924
|
else {
|
|
925
925
|
throw new Error("No value provided for input HTTP label: UserId.");
|
|
@@ -946,7 +946,7 @@ const serializeAws_restJson1DeleteUserHierarchyGroupCommand = async (input, cont
|
|
|
946
946
|
if (labelValue.length <= 0) {
|
|
947
947
|
throw new Error("Empty value provided for input HTTP label: HierarchyGroupId.");
|
|
948
948
|
}
|
|
949
|
-
resolvedPath = resolvedPath.replace("{HierarchyGroupId}",
|
|
949
|
+
resolvedPath = resolvedPath.replace("{HierarchyGroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
950
950
|
}
|
|
951
951
|
else {
|
|
952
952
|
throw new Error("No value provided for input HTTP label: HierarchyGroupId.");
|
|
@@ -956,7 +956,7 @@ const serializeAws_restJson1DeleteUserHierarchyGroupCommand = async (input, cont
|
|
|
956
956
|
if (labelValue.length <= 0) {
|
|
957
957
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
958
958
|
}
|
|
959
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
959
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
960
960
|
}
|
|
961
961
|
else {
|
|
962
962
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -983,7 +983,7 @@ const serializeAws_restJson1DescribeAgentStatusCommand = async (input, context)
|
|
|
983
983
|
if (labelValue.length <= 0) {
|
|
984
984
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
985
985
|
}
|
|
986
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
986
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
987
987
|
}
|
|
988
988
|
else {
|
|
989
989
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -993,7 +993,7 @@ const serializeAws_restJson1DescribeAgentStatusCommand = async (input, context)
|
|
|
993
993
|
if (labelValue.length <= 0) {
|
|
994
994
|
throw new Error("Empty value provided for input HTTP label: AgentStatusId.");
|
|
995
995
|
}
|
|
996
|
-
resolvedPath = resolvedPath.replace("{AgentStatusId}",
|
|
996
|
+
resolvedPath = resolvedPath.replace("{AgentStatusId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
997
997
|
}
|
|
998
998
|
else {
|
|
999
999
|
throw new Error("No value provided for input HTTP label: AgentStatusId.");
|
|
@@ -1020,7 +1020,7 @@ const serializeAws_restJson1DescribeContactFlowCommand = async (input, context)
|
|
|
1020
1020
|
if (labelValue.length <= 0) {
|
|
1021
1021
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1022
1022
|
}
|
|
1023
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1023
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1024
1024
|
}
|
|
1025
1025
|
else {
|
|
1026
1026
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -1030,7 +1030,7 @@ const serializeAws_restJson1DescribeContactFlowCommand = async (input, context)
|
|
|
1030
1030
|
if (labelValue.length <= 0) {
|
|
1031
1031
|
throw new Error("Empty value provided for input HTTP label: ContactFlowId.");
|
|
1032
1032
|
}
|
|
1033
|
-
resolvedPath = resolvedPath.replace("{ContactFlowId}",
|
|
1033
|
+
resolvedPath = resolvedPath.replace("{ContactFlowId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1034
1034
|
}
|
|
1035
1035
|
else {
|
|
1036
1036
|
throw new Error("No value provided for input HTTP label: ContactFlowId.");
|
|
@@ -1057,7 +1057,7 @@ const serializeAws_restJson1DescribeHoursOfOperationCommand = async (input, cont
|
|
|
1057
1057
|
if (labelValue.length <= 0) {
|
|
1058
1058
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1059
1059
|
}
|
|
1060
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1060
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1061
1061
|
}
|
|
1062
1062
|
else {
|
|
1063
1063
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -1067,7 +1067,7 @@ const serializeAws_restJson1DescribeHoursOfOperationCommand = async (input, cont
|
|
|
1067
1067
|
if (labelValue.length <= 0) {
|
|
1068
1068
|
throw new Error("Empty value provided for input HTTP label: HoursOfOperationId.");
|
|
1069
1069
|
}
|
|
1070
|
-
resolvedPath = resolvedPath.replace("{HoursOfOperationId}",
|
|
1070
|
+
resolvedPath = resolvedPath.replace("{HoursOfOperationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1071
1071
|
}
|
|
1072
1072
|
else {
|
|
1073
1073
|
throw new Error("No value provided for input HTTP label: HoursOfOperationId.");
|
|
@@ -1093,7 +1093,7 @@ const serializeAws_restJson1DescribeInstanceCommand = async (input, context) =>
|
|
|
1093
1093
|
if (labelValue.length <= 0) {
|
|
1094
1094
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1095
1095
|
}
|
|
1096
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1096
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1097
1097
|
}
|
|
1098
1098
|
else {
|
|
1099
1099
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -1120,7 +1120,7 @@ const serializeAws_restJson1DescribeInstanceAttributeCommand = async (input, con
|
|
|
1120
1120
|
if (labelValue.length <= 0) {
|
|
1121
1121
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1122
1122
|
}
|
|
1123
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1123
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1124
1124
|
}
|
|
1125
1125
|
else {
|
|
1126
1126
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -1130,7 +1130,7 @@ const serializeAws_restJson1DescribeInstanceAttributeCommand = async (input, con
|
|
|
1130
1130
|
if (labelValue.length <= 0) {
|
|
1131
1131
|
throw new Error("Empty value provided for input HTTP label: AttributeType.");
|
|
1132
1132
|
}
|
|
1133
|
-
resolvedPath = resolvedPath.replace("{AttributeType}",
|
|
1133
|
+
resolvedPath = resolvedPath.replace("{AttributeType}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1134
1134
|
}
|
|
1135
1135
|
else {
|
|
1136
1136
|
throw new Error("No value provided for input HTTP label: AttributeType.");
|
|
@@ -1157,7 +1157,7 @@ const serializeAws_restJson1DescribeInstanceStorageConfigCommand = async (input,
|
|
|
1157
1157
|
if (labelValue.length <= 0) {
|
|
1158
1158
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1159
1159
|
}
|
|
1160
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1160
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1161
1161
|
}
|
|
1162
1162
|
else {
|
|
1163
1163
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -1167,7 +1167,7 @@ const serializeAws_restJson1DescribeInstanceStorageConfigCommand = async (input,
|
|
|
1167
1167
|
if (labelValue.length <= 0) {
|
|
1168
1168
|
throw new Error("Empty value provided for input HTTP label: AssociationId.");
|
|
1169
1169
|
}
|
|
1170
|
-
resolvedPath = resolvedPath.replace("{AssociationId}",
|
|
1170
|
+
resolvedPath = resolvedPath.replace("{AssociationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1171
1171
|
}
|
|
1172
1172
|
else {
|
|
1173
1173
|
throw new Error("No value provided for input HTTP label: AssociationId.");
|
|
@@ -1197,7 +1197,7 @@ const serializeAws_restJson1DescribeQueueCommand = async (input, context) => {
|
|
|
1197
1197
|
if (labelValue.length <= 0) {
|
|
1198
1198
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1199
1199
|
}
|
|
1200
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1200
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1201
1201
|
}
|
|
1202
1202
|
else {
|
|
1203
1203
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -1207,7 +1207,7 @@ const serializeAws_restJson1DescribeQueueCommand = async (input, context) => {
|
|
|
1207
1207
|
if (labelValue.length <= 0) {
|
|
1208
1208
|
throw new Error("Empty value provided for input HTTP label: QueueId.");
|
|
1209
1209
|
}
|
|
1210
|
-
resolvedPath = resolvedPath.replace("{QueueId}",
|
|
1210
|
+
resolvedPath = resolvedPath.replace("{QueueId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1211
1211
|
}
|
|
1212
1212
|
else {
|
|
1213
1213
|
throw new Error("No value provided for input HTTP label: QueueId.");
|
|
@@ -1234,7 +1234,7 @@ const serializeAws_restJson1DescribeQuickConnectCommand = async (input, context)
|
|
|
1234
1234
|
if (labelValue.length <= 0) {
|
|
1235
1235
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1236
1236
|
}
|
|
1237
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1237
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1238
1238
|
}
|
|
1239
1239
|
else {
|
|
1240
1240
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -1244,7 +1244,7 @@ const serializeAws_restJson1DescribeQuickConnectCommand = async (input, context)
|
|
|
1244
1244
|
if (labelValue.length <= 0) {
|
|
1245
1245
|
throw new Error("Empty value provided for input HTTP label: QuickConnectId.");
|
|
1246
1246
|
}
|
|
1247
|
-
resolvedPath = resolvedPath.replace("{QuickConnectId}",
|
|
1247
|
+
resolvedPath = resolvedPath.replace("{QuickConnectId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1248
1248
|
}
|
|
1249
1249
|
else {
|
|
1250
1250
|
throw new Error("No value provided for input HTTP label: QuickConnectId.");
|
|
@@ -1271,7 +1271,7 @@ const serializeAws_restJson1DescribeRoutingProfileCommand = async (input, contex
|
|
|
1271
1271
|
if (labelValue.length <= 0) {
|
|
1272
1272
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1273
1273
|
}
|
|
1274
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1274
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1275
1275
|
}
|
|
1276
1276
|
else {
|
|
1277
1277
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -1281,7 +1281,7 @@ const serializeAws_restJson1DescribeRoutingProfileCommand = async (input, contex
|
|
|
1281
1281
|
if (labelValue.length <= 0) {
|
|
1282
1282
|
throw new Error("Empty value provided for input HTTP label: RoutingProfileId.");
|
|
1283
1283
|
}
|
|
1284
|
-
resolvedPath = resolvedPath.replace("{RoutingProfileId}",
|
|
1284
|
+
resolvedPath = resolvedPath.replace("{RoutingProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1285
1285
|
}
|
|
1286
1286
|
else {
|
|
1287
1287
|
throw new Error("No value provided for input HTTP label: RoutingProfileId.");
|
|
@@ -1307,7 +1307,7 @@ const serializeAws_restJson1DescribeUserCommand = async (input, context) => {
|
|
|
1307
1307
|
if (labelValue.length <= 0) {
|
|
1308
1308
|
throw new Error("Empty value provided for input HTTP label: UserId.");
|
|
1309
1309
|
}
|
|
1310
|
-
resolvedPath = resolvedPath.replace("{UserId}",
|
|
1310
|
+
resolvedPath = resolvedPath.replace("{UserId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1311
1311
|
}
|
|
1312
1312
|
else {
|
|
1313
1313
|
throw new Error("No value provided for input HTTP label: UserId.");
|
|
@@ -1317,7 +1317,7 @@ const serializeAws_restJson1DescribeUserCommand = async (input, context) => {
|
|
|
1317
1317
|
if (labelValue.length <= 0) {
|
|
1318
1318
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1319
1319
|
}
|
|
1320
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1320
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1321
1321
|
}
|
|
1322
1322
|
else {
|
|
1323
1323
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -1344,7 +1344,7 @@ const serializeAws_restJson1DescribeUserHierarchyGroupCommand = async (input, co
|
|
|
1344
1344
|
if (labelValue.length <= 0) {
|
|
1345
1345
|
throw new Error("Empty value provided for input HTTP label: HierarchyGroupId.");
|
|
1346
1346
|
}
|
|
1347
|
-
resolvedPath = resolvedPath.replace("{HierarchyGroupId}",
|
|
1347
|
+
resolvedPath = resolvedPath.replace("{HierarchyGroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1348
1348
|
}
|
|
1349
1349
|
else {
|
|
1350
1350
|
throw new Error("No value provided for input HTTP label: HierarchyGroupId.");
|
|
@@ -1354,7 +1354,7 @@ const serializeAws_restJson1DescribeUserHierarchyGroupCommand = async (input, co
|
|
|
1354
1354
|
if (labelValue.length <= 0) {
|
|
1355
1355
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1356
1356
|
}
|
|
1357
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1357
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1358
1358
|
}
|
|
1359
1359
|
else {
|
|
1360
1360
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -1380,7 +1380,7 @@ const serializeAws_restJson1DescribeUserHierarchyStructureCommand = async (input
|
|
|
1380
1380
|
if (labelValue.length <= 0) {
|
|
1381
1381
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1382
1382
|
}
|
|
1383
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1383
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1384
1384
|
}
|
|
1385
1385
|
else {
|
|
1386
1386
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -1406,7 +1406,7 @@ const serializeAws_restJson1DisassociateApprovedOriginCommand = async (input, co
|
|
|
1406
1406
|
if (labelValue.length <= 0) {
|
|
1407
1407
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1408
1408
|
}
|
|
1409
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1409
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1410
1410
|
}
|
|
1411
1411
|
else {
|
|
1412
1412
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -1438,7 +1438,7 @@ const serializeAws_restJson1DisassociateBotCommand = async (input, context) => {
|
|
|
1438
1438
|
if (labelValue.length <= 0) {
|
|
1439
1439
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1440
1440
|
}
|
|
1441
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1441
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1442
1442
|
}
|
|
1443
1443
|
else {
|
|
1444
1444
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -1471,7 +1471,7 @@ const serializeAws_restJson1DisassociateInstanceStorageConfigCommand = async (in
|
|
|
1471
1471
|
if (labelValue.length <= 0) {
|
|
1472
1472
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1473
1473
|
}
|
|
1474
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1474
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1475
1475
|
}
|
|
1476
1476
|
else {
|
|
1477
1477
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -1481,7 +1481,7 @@ const serializeAws_restJson1DisassociateInstanceStorageConfigCommand = async (in
|
|
|
1481
1481
|
if (labelValue.length <= 0) {
|
|
1482
1482
|
throw new Error("Empty value provided for input HTTP label: AssociationId.");
|
|
1483
1483
|
}
|
|
1484
|
-
resolvedPath = resolvedPath.replace("{AssociationId}",
|
|
1484
|
+
resolvedPath = resolvedPath.replace("{AssociationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1485
1485
|
}
|
|
1486
1486
|
else {
|
|
1487
1487
|
throw new Error("No value provided for input HTTP label: AssociationId.");
|
|
@@ -1511,7 +1511,7 @@ const serializeAws_restJson1DisassociateLambdaFunctionCommand = async (input, co
|
|
|
1511
1511
|
if (labelValue.length <= 0) {
|
|
1512
1512
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1513
1513
|
}
|
|
1514
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1514
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1515
1515
|
}
|
|
1516
1516
|
else {
|
|
1517
1517
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -1541,7 +1541,7 @@ const serializeAws_restJson1DisassociateLexBotCommand = async (input, context) =
|
|
|
1541
1541
|
if (labelValue.length <= 0) {
|
|
1542
1542
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1543
1543
|
}
|
|
1544
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1544
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1545
1545
|
}
|
|
1546
1546
|
else {
|
|
1547
1547
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -1575,7 +1575,7 @@ const serializeAws_restJson1DisassociateQueueQuickConnectsCommand = async (input
|
|
|
1575
1575
|
if (labelValue.length <= 0) {
|
|
1576
1576
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1577
1577
|
}
|
|
1578
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1578
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1579
1579
|
}
|
|
1580
1580
|
else {
|
|
1581
1581
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -1585,7 +1585,7 @@ const serializeAws_restJson1DisassociateQueueQuickConnectsCommand = async (input
|
|
|
1585
1585
|
if (labelValue.length <= 0) {
|
|
1586
1586
|
throw new Error("Empty value provided for input HTTP label: QueueId.");
|
|
1587
1587
|
}
|
|
1588
|
-
resolvedPath = resolvedPath.replace("{QueueId}",
|
|
1588
|
+
resolvedPath = resolvedPath.replace("{QueueId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1589
1589
|
}
|
|
1590
1590
|
else {
|
|
1591
1591
|
throw new Error("No value provided for input HTTP label: QueueId.");
|
|
@@ -1620,7 +1620,7 @@ const serializeAws_restJson1DisassociateRoutingProfileQueuesCommand = async (inp
|
|
|
1620
1620
|
if (labelValue.length <= 0) {
|
|
1621
1621
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1622
1622
|
}
|
|
1623
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1623
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1624
1624
|
}
|
|
1625
1625
|
else {
|
|
1626
1626
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -1630,7 +1630,7 @@ const serializeAws_restJson1DisassociateRoutingProfileQueuesCommand = async (inp
|
|
|
1630
1630
|
if (labelValue.length <= 0) {
|
|
1631
1631
|
throw new Error("Empty value provided for input HTTP label: RoutingProfileId.");
|
|
1632
1632
|
}
|
|
1633
|
-
resolvedPath = resolvedPath.replace("{RoutingProfileId}",
|
|
1633
|
+
resolvedPath = resolvedPath.replace("{RoutingProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1634
1634
|
}
|
|
1635
1635
|
else {
|
|
1636
1636
|
throw new Error("No value provided for input HTTP label: RoutingProfileId.");
|
|
@@ -1663,7 +1663,7 @@ const serializeAws_restJson1DisassociateSecurityKeyCommand = async (input, conte
|
|
|
1663
1663
|
if (labelValue.length <= 0) {
|
|
1664
1664
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1665
1665
|
}
|
|
1666
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1666
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1667
1667
|
}
|
|
1668
1668
|
else {
|
|
1669
1669
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -1673,7 +1673,7 @@ const serializeAws_restJson1DisassociateSecurityKeyCommand = async (input, conte
|
|
|
1673
1673
|
if (labelValue.length <= 0) {
|
|
1674
1674
|
throw new Error("Empty value provided for input HTTP label: AssociationId.");
|
|
1675
1675
|
}
|
|
1676
|
-
resolvedPath = resolvedPath.replace("{AssociationId}",
|
|
1676
|
+
resolvedPath = resolvedPath.replace("{AssociationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1677
1677
|
}
|
|
1678
1678
|
else {
|
|
1679
1679
|
throw new Error("No value provided for input HTTP label: AssociationId.");
|
|
@@ -1700,7 +1700,7 @@ const serializeAws_restJson1GetContactAttributesCommand = async (input, context)
|
|
|
1700
1700
|
if (labelValue.length <= 0) {
|
|
1701
1701
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1702
1702
|
}
|
|
1703
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1703
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1704
1704
|
}
|
|
1705
1705
|
else {
|
|
1706
1706
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -1710,7 +1710,7 @@ const serializeAws_restJson1GetContactAttributesCommand = async (input, context)
|
|
|
1710
1710
|
if (labelValue.length <= 0) {
|
|
1711
1711
|
throw new Error("Empty value provided for input HTTP label: InitialContactId.");
|
|
1712
1712
|
}
|
|
1713
|
-
resolvedPath = resolvedPath.replace("{InitialContactId}",
|
|
1713
|
+
resolvedPath = resolvedPath.replace("{InitialContactId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1714
1714
|
}
|
|
1715
1715
|
else {
|
|
1716
1716
|
throw new Error("No value provided for input HTTP label: InitialContactId.");
|
|
@@ -1738,7 +1738,7 @@ const serializeAws_restJson1GetCurrentMetricDataCommand = async (input, context)
|
|
|
1738
1738
|
if (labelValue.length <= 0) {
|
|
1739
1739
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1740
1740
|
}
|
|
1741
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1741
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1742
1742
|
}
|
|
1743
1743
|
else {
|
|
1744
1744
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -1776,7 +1776,7 @@ const serializeAws_restJson1GetFederationTokenCommand = async (input, context) =
|
|
|
1776
1776
|
if (labelValue.length <= 0) {
|
|
1777
1777
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1778
1778
|
}
|
|
1779
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1779
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1780
1780
|
}
|
|
1781
1781
|
else {
|
|
1782
1782
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -1804,7 +1804,7 @@ const serializeAws_restJson1GetMetricDataCommand = async (input, context) => {
|
|
|
1804
1804
|
if (labelValue.length <= 0) {
|
|
1805
1805
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1806
1806
|
}
|
|
1807
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1807
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1808
1808
|
}
|
|
1809
1809
|
else {
|
|
1810
1810
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -1846,7 +1846,7 @@ const serializeAws_restJson1ListAgentStatusesCommand = async (input, context) =>
|
|
|
1846
1846
|
if (labelValue.length <= 0) {
|
|
1847
1847
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1848
1848
|
}
|
|
1849
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1849
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1850
1850
|
}
|
|
1851
1851
|
else {
|
|
1852
1852
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -1880,7 +1880,7 @@ const serializeAws_restJson1ListApprovedOriginsCommand = async (input, context)
|
|
|
1880
1880
|
if (labelValue.length <= 0) {
|
|
1881
1881
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1882
1882
|
}
|
|
1883
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1883
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1884
1884
|
}
|
|
1885
1885
|
else {
|
|
1886
1886
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -1911,7 +1911,7 @@ const serializeAws_restJson1ListBotsCommand = async (input, context) => {
|
|
|
1911
1911
|
if (labelValue.length <= 0) {
|
|
1912
1912
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1913
1913
|
}
|
|
1914
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1914
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1915
1915
|
}
|
|
1916
1916
|
else {
|
|
1917
1917
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -1943,7 +1943,7 @@ const serializeAws_restJson1ListContactFlowsCommand = async (input, context) =>
|
|
|
1943
1943
|
if (labelValue.length <= 0) {
|
|
1944
1944
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1945
1945
|
}
|
|
1946
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1946
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1947
1947
|
}
|
|
1948
1948
|
else {
|
|
1949
1949
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -1977,7 +1977,7 @@ const serializeAws_restJson1ListHoursOfOperationsCommand = async (input, context
|
|
|
1977
1977
|
if (labelValue.length <= 0) {
|
|
1978
1978
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
1979
1979
|
}
|
|
1980
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
1980
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1981
1981
|
}
|
|
1982
1982
|
else {
|
|
1983
1983
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -2008,7 +2008,7 @@ const serializeAws_restJson1ListInstanceAttributesCommand = async (input, contex
|
|
|
2008
2008
|
if (labelValue.length <= 0) {
|
|
2009
2009
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
2010
2010
|
}
|
|
2011
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
2011
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2012
2012
|
}
|
|
2013
2013
|
else {
|
|
2014
2014
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -2060,7 +2060,7 @@ const serializeAws_restJson1ListInstanceStorageConfigsCommand = async (input, co
|
|
|
2060
2060
|
if (labelValue.length <= 0) {
|
|
2061
2061
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
2062
2062
|
}
|
|
2063
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
2063
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2064
2064
|
}
|
|
2065
2065
|
else {
|
|
2066
2066
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -2093,7 +2093,7 @@ const serializeAws_restJson1ListIntegrationAssociationsCommand = async (input, c
|
|
|
2093
2093
|
if (labelValue.length <= 0) {
|
|
2094
2094
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
2095
2095
|
}
|
|
2096
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
2096
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2097
2097
|
}
|
|
2098
2098
|
else {
|
|
2099
2099
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -2124,7 +2124,7 @@ const serializeAws_restJson1ListLambdaFunctionsCommand = async (input, context)
|
|
|
2124
2124
|
if (labelValue.length <= 0) {
|
|
2125
2125
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
2126
2126
|
}
|
|
2127
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
2127
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2128
2128
|
}
|
|
2129
2129
|
else {
|
|
2130
2130
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -2155,7 +2155,7 @@ const serializeAws_restJson1ListLexBotsCommand = async (input, context) => {
|
|
|
2155
2155
|
if (labelValue.length <= 0) {
|
|
2156
2156
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
2157
2157
|
}
|
|
2158
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
2158
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2159
2159
|
}
|
|
2160
2160
|
else {
|
|
2161
2161
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -2186,7 +2186,7 @@ const serializeAws_restJson1ListPhoneNumbersCommand = async (input, context) =>
|
|
|
2186
2186
|
if (labelValue.length <= 0) {
|
|
2187
2187
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
2188
2188
|
}
|
|
2189
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
2189
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2190
2190
|
}
|
|
2191
2191
|
else {
|
|
2192
2192
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -2223,7 +2223,7 @@ const serializeAws_restJson1ListPromptsCommand = async (input, context) => {
|
|
|
2223
2223
|
if (labelValue.length <= 0) {
|
|
2224
2224
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
2225
2225
|
}
|
|
2226
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
2226
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2227
2227
|
}
|
|
2228
2228
|
else {
|
|
2229
2229
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -2255,7 +2255,7 @@ const serializeAws_restJson1ListQueueQuickConnectsCommand = async (input, contex
|
|
|
2255
2255
|
if (labelValue.length <= 0) {
|
|
2256
2256
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
2257
2257
|
}
|
|
2258
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
2258
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2259
2259
|
}
|
|
2260
2260
|
else {
|
|
2261
2261
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -2265,7 +2265,7 @@ const serializeAws_restJson1ListQueueQuickConnectsCommand = async (input, contex
|
|
|
2265
2265
|
if (labelValue.length <= 0) {
|
|
2266
2266
|
throw new Error("Empty value provided for input HTTP label: QueueId.");
|
|
2267
2267
|
}
|
|
2268
|
-
resolvedPath = resolvedPath.replace("{QueueId}",
|
|
2268
|
+
resolvedPath = resolvedPath.replace("{QueueId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2269
2269
|
}
|
|
2270
2270
|
else {
|
|
2271
2271
|
throw new Error("No value provided for input HTTP label: QueueId.");
|
|
@@ -2296,7 +2296,7 @@ const serializeAws_restJson1ListQueuesCommand = async (input, context) => {
|
|
|
2296
2296
|
if (labelValue.length <= 0) {
|
|
2297
2297
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
2298
2298
|
}
|
|
2299
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
2299
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2300
2300
|
}
|
|
2301
2301
|
else {
|
|
2302
2302
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -2328,7 +2328,7 @@ const serializeAws_restJson1ListQuickConnectsCommand = async (input, context) =>
|
|
|
2328
2328
|
if (labelValue.length <= 0) {
|
|
2329
2329
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
2330
2330
|
}
|
|
2331
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
2331
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2332
2332
|
}
|
|
2333
2333
|
else {
|
|
2334
2334
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -2363,7 +2363,7 @@ const serializeAws_restJson1ListRoutingProfileQueuesCommand = async (input, cont
|
|
|
2363
2363
|
if (labelValue.length <= 0) {
|
|
2364
2364
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
2365
2365
|
}
|
|
2366
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
2366
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2367
2367
|
}
|
|
2368
2368
|
else {
|
|
2369
2369
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -2373,7 +2373,7 @@ const serializeAws_restJson1ListRoutingProfileQueuesCommand = async (input, cont
|
|
|
2373
2373
|
if (labelValue.length <= 0) {
|
|
2374
2374
|
throw new Error("Empty value provided for input HTTP label: RoutingProfileId.");
|
|
2375
2375
|
}
|
|
2376
|
-
resolvedPath = resolvedPath.replace("{RoutingProfileId}",
|
|
2376
|
+
resolvedPath = resolvedPath.replace("{RoutingProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2377
2377
|
}
|
|
2378
2378
|
else {
|
|
2379
2379
|
throw new Error("No value provided for input HTTP label: RoutingProfileId.");
|
|
@@ -2404,7 +2404,7 @@ const serializeAws_restJson1ListRoutingProfilesCommand = async (input, context)
|
|
|
2404
2404
|
if (labelValue.length <= 0) {
|
|
2405
2405
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
2406
2406
|
}
|
|
2407
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
2407
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2408
2408
|
}
|
|
2409
2409
|
else {
|
|
2410
2410
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -2435,7 +2435,7 @@ const serializeAws_restJson1ListSecurityKeysCommand = async (input, context) =>
|
|
|
2435
2435
|
if (labelValue.length <= 0) {
|
|
2436
2436
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
2437
2437
|
}
|
|
2438
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
2438
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2439
2439
|
}
|
|
2440
2440
|
else {
|
|
2441
2441
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -2466,7 +2466,7 @@ const serializeAws_restJson1ListSecurityProfilesCommand = async (input, context)
|
|
|
2466
2466
|
if (labelValue.length <= 0) {
|
|
2467
2467
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
2468
2468
|
}
|
|
2469
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
2469
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2470
2470
|
}
|
|
2471
2471
|
else {
|
|
2472
2472
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -2497,7 +2497,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
2497
2497
|
if (labelValue.length <= 0) {
|
|
2498
2498
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
2499
2499
|
}
|
|
2500
|
-
resolvedPath = resolvedPath.replace("{resourceArn}",
|
|
2500
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2501
2501
|
}
|
|
2502
2502
|
else {
|
|
2503
2503
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -2524,7 +2524,7 @@ const serializeAws_restJson1ListUseCasesCommand = async (input, context) => {
|
|
|
2524
2524
|
if (labelValue.length <= 0) {
|
|
2525
2525
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
2526
2526
|
}
|
|
2527
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
2527
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2528
2528
|
}
|
|
2529
2529
|
else {
|
|
2530
2530
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -2534,7 +2534,7 @@ const serializeAws_restJson1ListUseCasesCommand = async (input, context) => {
|
|
|
2534
2534
|
if (labelValue.length <= 0) {
|
|
2535
2535
|
throw new Error("Empty value provided for input HTTP label: IntegrationAssociationId.");
|
|
2536
2536
|
}
|
|
2537
|
-
resolvedPath = resolvedPath.replace("{IntegrationAssociationId}",
|
|
2537
|
+
resolvedPath = resolvedPath.replace("{IntegrationAssociationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2538
2538
|
}
|
|
2539
2539
|
else {
|
|
2540
2540
|
throw new Error("No value provided for input HTTP label: IntegrationAssociationId.");
|
|
@@ -2566,7 +2566,7 @@ const serializeAws_restJson1ListUserHierarchyGroupsCommand = async (input, conte
|
|
|
2566
2566
|
if (labelValue.length <= 0) {
|
|
2567
2567
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
2568
2568
|
}
|
|
2569
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
2569
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2570
2570
|
}
|
|
2571
2571
|
else {
|
|
2572
2572
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -2597,7 +2597,7 @@ const serializeAws_restJson1ListUsersCommand = async (input, context) => {
|
|
|
2597
2597
|
if (labelValue.length <= 0) {
|
|
2598
2598
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
2599
2599
|
}
|
|
2600
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
2600
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2601
2601
|
}
|
|
2602
2602
|
else {
|
|
2603
2603
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -2654,7 +2654,7 @@ const serializeAws_restJson1StartChatContactCommand = async (input, context) =>
|
|
|
2654
2654
|
body = JSON.stringify({
|
|
2655
2655
|
...(input.Attributes !== undefined &&
|
|
2656
2656
|
input.Attributes !== null && { Attributes: serializeAws_restJson1Attributes(input.Attributes, context) }),
|
|
2657
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a :
|
|
2657
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
2658
2658
|
...(input.ContactFlowId !== undefined && input.ContactFlowId !== null && { ContactFlowId: input.ContactFlowId }),
|
|
2659
2659
|
...(input.InitialMessage !== undefined &&
|
|
2660
2660
|
input.InitialMessage !== null && {
|
|
@@ -2716,7 +2716,7 @@ const serializeAws_restJson1StartOutboundVoiceContactCommand = async (input, con
|
|
|
2716
2716
|
body = JSON.stringify({
|
|
2717
2717
|
...(input.Attributes !== undefined &&
|
|
2718
2718
|
input.Attributes !== null && { Attributes: serializeAws_restJson1Attributes(input.Attributes, context) }),
|
|
2719
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a :
|
|
2719
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
2720
2720
|
...(input.ContactFlowId !== undefined && input.ContactFlowId !== null && { ContactFlowId: input.ContactFlowId }),
|
|
2721
2721
|
...(input.DestinationPhoneNumber !== undefined &&
|
|
2722
2722
|
input.DestinationPhoneNumber !== null && { DestinationPhoneNumber: input.DestinationPhoneNumber }),
|
|
@@ -2747,7 +2747,7 @@ const serializeAws_restJson1StartTaskContactCommand = async (input, context) =>
|
|
|
2747
2747
|
body = JSON.stringify({
|
|
2748
2748
|
...(input.Attributes !== undefined &&
|
|
2749
2749
|
input.Attributes !== null && { Attributes: serializeAws_restJson1Attributes(input.Attributes, context) }),
|
|
2750
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a :
|
|
2750
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
2751
2751
|
...(input.ContactFlowId !== undefined && input.ContactFlowId !== null && { ContactFlowId: input.ContactFlowId }),
|
|
2752
2752
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
2753
2753
|
...(input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId }),
|
|
@@ -2849,7 +2849,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
2849
2849
|
if (labelValue.length <= 0) {
|
|
2850
2850
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
2851
2851
|
}
|
|
2852
|
-
resolvedPath = resolvedPath.replace("{resourceArn}",
|
|
2852
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2853
2853
|
}
|
|
2854
2854
|
else {
|
|
2855
2855
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -2878,7 +2878,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
2878
2878
|
if (labelValue.length <= 0) {
|
|
2879
2879
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
2880
2880
|
}
|
|
2881
|
-
resolvedPath = resolvedPath.replace("{resourceArn}",
|
|
2881
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2882
2882
|
}
|
|
2883
2883
|
else {
|
|
2884
2884
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -2911,7 +2911,7 @@ const serializeAws_restJson1UpdateAgentStatusCommand = async (input, context) =>
|
|
|
2911
2911
|
if (labelValue.length <= 0) {
|
|
2912
2912
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
2913
2913
|
}
|
|
2914
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
2914
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2915
2915
|
}
|
|
2916
2916
|
else {
|
|
2917
2917
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -2921,7 +2921,7 @@ const serializeAws_restJson1UpdateAgentStatusCommand = async (input, context) =>
|
|
|
2921
2921
|
if (labelValue.length <= 0) {
|
|
2922
2922
|
throw new Error("Empty value provided for input HTTP label: AgentStatusId.");
|
|
2923
2923
|
}
|
|
2924
|
-
resolvedPath = resolvedPath.replace("{AgentStatusId}",
|
|
2924
|
+
resolvedPath = resolvedPath.replace("{AgentStatusId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2925
2925
|
}
|
|
2926
2926
|
else {
|
|
2927
2927
|
throw new Error("No value provided for input HTTP label: AgentStatusId.");
|
|
@@ -2983,7 +2983,7 @@ const serializeAws_restJson1UpdateContactFlowContentCommand = async (input, cont
|
|
|
2983
2983
|
if (labelValue.length <= 0) {
|
|
2984
2984
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
2985
2985
|
}
|
|
2986
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
2986
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2987
2987
|
}
|
|
2988
2988
|
else {
|
|
2989
2989
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -2993,7 +2993,7 @@ const serializeAws_restJson1UpdateContactFlowContentCommand = async (input, cont
|
|
|
2993
2993
|
if (labelValue.length <= 0) {
|
|
2994
2994
|
throw new Error("Empty value provided for input HTTP label: ContactFlowId.");
|
|
2995
2995
|
}
|
|
2996
|
-
resolvedPath = resolvedPath.replace("{ContactFlowId}",
|
|
2996
|
+
resolvedPath = resolvedPath.replace("{ContactFlowId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2997
2997
|
}
|
|
2998
2998
|
else {
|
|
2999
2999
|
throw new Error("No value provided for input HTTP label: ContactFlowId.");
|
|
@@ -3025,7 +3025,7 @@ const serializeAws_restJson1UpdateContactFlowNameCommand = async (input, context
|
|
|
3025
3025
|
if (labelValue.length <= 0) {
|
|
3026
3026
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
3027
3027
|
}
|
|
3028
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
3028
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3029
3029
|
}
|
|
3030
3030
|
else {
|
|
3031
3031
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -3035,7 +3035,7 @@ const serializeAws_restJson1UpdateContactFlowNameCommand = async (input, context
|
|
|
3035
3035
|
if (labelValue.length <= 0) {
|
|
3036
3036
|
throw new Error("Empty value provided for input HTTP label: ContactFlowId.");
|
|
3037
3037
|
}
|
|
3038
|
-
resolvedPath = resolvedPath.replace("{ContactFlowId}",
|
|
3038
|
+
resolvedPath = resolvedPath.replace("{ContactFlowId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3039
3039
|
}
|
|
3040
3040
|
else {
|
|
3041
3041
|
throw new Error("No value provided for input HTTP label: ContactFlowId.");
|
|
@@ -3068,7 +3068,7 @@ const serializeAws_restJson1UpdateHoursOfOperationCommand = async (input, contex
|
|
|
3068
3068
|
if (labelValue.length <= 0) {
|
|
3069
3069
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
3070
3070
|
}
|
|
3071
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
3071
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3072
3072
|
}
|
|
3073
3073
|
else {
|
|
3074
3074
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -3078,7 +3078,7 @@ const serializeAws_restJson1UpdateHoursOfOperationCommand = async (input, contex
|
|
|
3078
3078
|
if (labelValue.length <= 0) {
|
|
3079
3079
|
throw new Error("Empty value provided for input HTTP label: HoursOfOperationId.");
|
|
3080
3080
|
}
|
|
3081
|
-
resolvedPath = resolvedPath.replace("{HoursOfOperationId}",
|
|
3081
|
+
resolvedPath = resolvedPath.replace("{HoursOfOperationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3082
3082
|
}
|
|
3083
3083
|
else {
|
|
3084
3084
|
throw new Error("No value provided for input HTTP label: HoursOfOperationId.");
|
|
@@ -3114,7 +3114,7 @@ const serializeAws_restJson1UpdateInstanceAttributeCommand = async (input, conte
|
|
|
3114
3114
|
if (labelValue.length <= 0) {
|
|
3115
3115
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
3116
3116
|
}
|
|
3117
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
3117
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3118
3118
|
}
|
|
3119
3119
|
else {
|
|
3120
3120
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -3124,7 +3124,7 @@ const serializeAws_restJson1UpdateInstanceAttributeCommand = async (input, conte
|
|
|
3124
3124
|
if (labelValue.length <= 0) {
|
|
3125
3125
|
throw new Error("Empty value provided for input HTTP label: AttributeType.");
|
|
3126
3126
|
}
|
|
3127
|
-
resolvedPath = resolvedPath.replace("{AttributeType}",
|
|
3127
|
+
resolvedPath = resolvedPath.replace("{AttributeType}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3128
3128
|
}
|
|
3129
3129
|
else {
|
|
3130
3130
|
throw new Error("No value provided for input HTTP label: AttributeType.");
|
|
@@ -3156,7 +3156,7 @@ const serializeAws_restJson1UpdateInstanceStorageConfigCommand = async (input, c
|
|
|
3156
3156
|
if (labelValue.length <= 0) {
|
|
3157
3157
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
3158
3158
|
}
|
|
3159
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
3159
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3160
3160
|
}
|
|
3161
3161
|
else {
|
|
3162
3162
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -3166,7 +3166,7 @@ const serializeAws_restJson1UpdateInstanceStorageConfigCommand = async (input, c
|
|
|
3166
3166
|
if (labelValue.length <= 0) {
|
|
3167
3167
|
throw new Error("Empty value provided for input HTTP label: AssociationId.");
|
|
3168
3168
|
}
|
|
3169
|
-
resolvedPath = resolvedPath.replace("{AssociationId}",
|
|
3169
|
+
resolvedPath = resolvedPath.replace("{AssociationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3170
3170
|
}
|
|
3171
3171
|
else {
|
|
3172
3172
|
throw new Error("No value provided for input HTTP label: AssociationId.");
|
|
@@ -3205,7 +3205,7 @@ const serializeAws_restJson1UpdateQueueHoursOfOperationCommand = async (input, c
|
|
|
3205
3205
|
if (labelValue.length <= 0) {
|
|
3206
3206
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
3207
3207
|
}
|
|
3208
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
3208
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3209
3209
|
}
|
|
3210
3210
|
else {
|
|
3211
3211
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -3215,7 +3215,7 @@ const serializeAws_restJson1UpdateQueueHoursOfOperationCommand = async (input, c
|
|
|
3215
3215
|
if (labelValue.length <= 0) {
|
|
3216
3216
|
throw new Error("Empty value provided for input HTTP label: QueueId.");
|
|
3217
3217
|
}
|
|
3218
|
-
resolvedPath = resolvedPath.replace("{QueueId}",
|
|
3218
|
+
resolvedPath = resolvedPath.replace("{QueueId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3219
3219
|
}
|
|
3220
3220
|
else {
|
|
3221
3221
|
throw new Error("No value provided for input HTTP label: QueueId.");
|
|
@@ -3248,7 +3248,7 @@ const serializeAws_restJson1UpdateQueueMaxContactsCommand = async (input, contex
|
|
|
3248
3248
|
if (labelValue.length <= 0) {
|
|
3249
3249
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
3250
3250
|
}
|
|
3251
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
3251
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3252
3252
|
}
|
|
3253
3253
|
else {
|
|
3254
3254
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -3258,7 +3258,7 @@ const serializeAws_restJson1UpdateQueueMaxContactsCommand = async (input, contex
|
|
|
3258
3258
|
if (labelValue.length <= 0) {
|
|
3259
3259
|
throw new Error("Empty value provided for input HTTP label: QueueId.");
|
|
3260
3260
|
}
|
|
3261
|
-
resolvedPath = resolvedPath.replace("{QueueId}",
|
|
3261
|
+
resolvedPath = resolvedPath.replace("{QueueId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3262
3262
|
}
|
|
3263
3263
|
else {
|
|
3264
3264
|
throw new Error("No value provided for input HTTP label: QueueId.");
|
|
@@ -3289,7 +3289,7 @@ const serializeAws_restJson1UpdateQueueNameCommand = async (input, context) => {
|
|
|
3289
3289
|
if (labelValue.length <= 0) {
|
|
3290
3290
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
3291
3291
|
}
|
|
3292
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
3292
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3293
3293
|
}
|
|
3294
3294
|
else {
|
|
3295
3295
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -3299,7 +3299,7 @@ const serializeAws_restJson1UpdateQueueNameCommand = async (input, context) => {
|
|
|
3299
3299
|
if (labelValue.length <= 0) {
|
|
3300
3300
|
throw new Error("Empty value provided for input HTTP label: QueueId.");
|
|
3301
3301
|
}
|
|
3302
|
-
resolvedPath = resolvedPath.replace("{QueueId}",
|
|
3302
|
+
resolvedPath = resolvedPath.replace("{QueueId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3303
3303
|
}
|
|
3304
3304
|
else {
|
|
3305
3305
|
throw new Error("No value provided for input HTTP label: QueueId.");
|
|
@@ -3332,7 +3332,7 @@ const serializeAws_restJson1UpdateQueueOutboundCallerConfigCommand = async (inpu
|
|
|
3332
3332
|
if (labelValue.length <= 0) {
|
|
3333
3333
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
3334
3334
|
}
|
|
3335
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
3335
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3336
3336
|
}
|
|
3337
3337
|
else {
|
|
3338
3338
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -3342,7 +3342,7 @@ const serializeAws_restJson1UpdateQueueOutboundCallerConfigCommand = async (inpu
|
|
|
3342
3342
|
if (labelValue.length <= 0) {
|
|
3343
3343
|
throw new Error("Empty value provided for input HTTP label: QueueId.");
|
|
3344
3344
|
}
|
|
3345
|
-
resolvedPath = resolvedPath.replace("{QueueId}",
|
|
3345
|
+
resolvedPath = resolvedPath.replace("{QueueId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3346
3346
|
}
|
|
3347
3347
|
else {
|
|
3348
3348
|
throw new Error("No value provided for input HTTP label: QueueId.");
|
|
@@ -3376,7 +3376,7 @@ const serializeAws_restJson1UpdateQueueStatusCommand = async (input, context) =>
|
|
|
3376
3376
|
if (labelValue.length <= 0) {
|
|
3377
3377
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
3378
3378
|
}
|
|
3379
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
3379
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3380
3380
|
}
|
|
3381
3381
|
else {
|
|
3382
3382
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -3386,7 +3386,7 @@ const serializeAws_restJson1UpdateQueueStatusCommand = async (input, context) =>
|
|
|
3386
3386
|
if (labelValue.length <= 0) {
|
|
3387
3387
|
throw new Error("Empty value provided for input HTTP label: QueueId.");
|
|
3388
3388
|
}
|
|
3389
|
-
resolvedPath = resolvedPath.replace("{QueueId}",
|
|
3389
|
+
resolvedPath = resolvedPath.replace("{QueueId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3390
3390
|
}
|
|
3391
3391
|
else {
|
|
3392
3392
|
throw new Error("No value provided for input HTTP label: QueueId.");
|
|
@@ -3418,7 +3418,7 @@ const serializeAws_restJson1UpdateQuickConnectConfigCommand = async (input, cont
|
|
|
3418
3418
|
if (labelValue.length <= 0) {
|
|
3419
3419
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
3420
3420
|
}
|
|
3421
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
3421
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3422
3422
|
}
|
|
3423
3423
|
else {
|
|
3424
3424
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -3428,7 +3428,7 @@ const serializeAws_restJson1UpdateQuickConnectConfigCommand = async (input, cont
|
|
|
3428
3428
|
if (labelValue.length <= 0) {
|
|
3429
3429
|
throw new Error("Empty value provided for input HTTP label: QuickConnectId.");
|
|
3430
3430
|
}
|
|
3431
|
-
resolvedPath = resolvedPath.replace("{QuickConnectId}",
|
|
3431
|
+
resolvedPath = resolvedPath.replace("{QuickConnectId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3432
3432
|
}
|
|
3433
3433
|
else {
|
|
3434
3434
|
throw new Error("No value provided for input HTTP label: QuickConnectId.");
|
|
@@ -3463,7 +3463,7 @@ const serializeAws_restJson1UpdateQuickConnectNameCommand = async (input, contex
|
|
|
3463
3463
|
if (labelValue.length <= 0) {
|
|
3464
3464
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
3465
3465
|
}
|
|
3466
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
3466
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3467
3467
|
}
|
|
3468
3468
|
else {
|
|
3469
3469
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -3473,7 +3473,7 @@ const serializeAws_restJson1UpdateQuickConnectNameCommand = async (input, contex
|
|
|
3473
3473
|
if (labelValue.length <= 0) {
|
|
3474
3474
|
throw new Error("Empty value provided for input HTTP label: QuickConnectId.");
|
|
3475
3475
|
}
|
|
3476
|
-
resolvedPath = resolvedPath.replace("{QuickConnectId}",
|
|
3476
|
+
resolvedPath = resolvedPath.replace("{QuickConnectId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3477
3477
|
}
|
|
3478
3478
|
else {
|
|
3479
3479
|
throw new Error("No value provided for input HTTP label: QuickConnectId.");
|
|
@@ -3506,7 +3506,7 @@ const serializeAws_restJson1UpdateRoutingProfileConcurrencyCommand = async (inpu
|
|
|
3506
3506
|
if (labelValue.length <= 0) {
|
|
3507
3507
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
3508
3508
|
}
|
|
3509
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
3509
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3510
3510
|
}
|
|
3511
3511
|
else {
|
|
3512
3512
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -3516,7 +3516,7 @@ const serializeAws_restJson1UpdateRoutingProfileConcurrencyCommand = async (inpu
|
|
|
3516
3516
|
if (labelValue.length <= 0) {
|
|
3517
3517
|
throw new Error("Empty value provided for input HTTP label: RoutingProfileId.");
|
|
3518
3518
|
}
|
|
3519
|
-
resolvedPath = resolvedPath.replace("{RoutingProfileId}",
|
|
3519
|
+
resolvedPath = resolvedPath.replace("{RoutingProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3520
3520
|
}
|
|
3521
3521
|
else {
|
|
3522
3522
|
throw new Error("No value provided for input HTTP label: RoutingProfileId.");
|
|
@@ -3551,7 +3551,7 @@ const serializeAws_restJson1UpdateRoutingProfileDefaultOutboundQueueCommand = as
|
|
|
3551
3551
|
if (labelValue.length <= 0) {
|
|
3552
3552
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
3553
3553
|
}
|
|
3554
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
3554
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3555
3555
|
}
|
|
3556
3556
|
else {
|
|
3557
3557
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -3561,7 +3561,7 @@ const serializeAws_restJson1UpdateRoutingProfileDefaultOutboundQueueCommand = as
|
|
|
3561
3561
|
if (labelValue.length <= 0) {
|
|
3562
3562
|
throw new Error("Empty value provided for input HTTP label: RoutingProfileId.");
|
|
3563
3563
|
}
|
|
3564
|
-
resolvedPath = resolvedPath.replace("{RoutingProfileId}",
|
|
3564
|
+
resolvedPath = resolvedPath.replace("{RoutingProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3565
3565
|
}
|
|
3566
3566
|
else {
|
|
3567
3567
|
throw new Error("No value provided for input HTTP label: RoutingProfileId.");
|
|
@@ -3594,7 +3594,7 @@ const serializeAws_restJson1UpdateRoutingProfileNameCommand = async (input, cont
|
|
|
3594
3594
|
if (labelValue.length <= 0) {
|
|
3595
3595
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
3596
3596
|
}
|
|
3597
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
3597
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3598
3598
|
}
|
|
3599
3599
|
else {
|
|
3600
3600
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -3604,7 +3604,7 @@ const serializeAws_restJson1UpdateRoutingProfileNameCommand = async (input, cont
|
|
|
3604
3604
|
if (labelValue.length <= 0) {
|
|
3605
3605
|
throw new Error("Empty value provided for input HTTP label: RoutingProfileId.");
|
|
3606
3606
|
}
|
|
3607
|
-
resolvedPath = resolvedPath.replace("{RoutingProfileId}",
|
|
3607
|
+
resolvedPath = resolvedPath.replace("{RoutingProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3608
3608
|
}
|
|
3609
3609
|
else {
|
|
3610
3610
|
throw new Error("No value provided for input HTTP label: RoutingProfileId.");
|
|
@@ -3637,7 +3637,7 @@ const serializeAws_restJson1UpdateRoutingProfileQueuesCommand = async (input, co
|
|
|
3637
3637
|
if (labelValue.length <= 0) {
|
|
3638
3638
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
3639
3639
|
}
|
|
3640
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
3640
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3641
3641
|
}
|
|
3642
3642
|
else {
|
|
3643
3643
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -3647,7 +3647,7 @@ const serializeAws_restJson1UpdateRoutingProfileQueuesCommand = async (input, co
|
|
|
3647
3647
|
if (labelValue.length <= 0) {
|
|
3648
3648
|
throw new Error("Empty value provided for input HTTP label: RoutingProfileId.");
|
|
3649
3649
|
}
|
|
3650
|
-
resolvedPath = resolvedPath.replace("{RoutingProfileId}",
|
|
3650
|
+
resolvedPath = resolvedPath.replace("{RoutingProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3651
3651
|
}
|
|
3652
3652
|
else {
|
|
3653
3653
|
throw new Error("No value provided for input HTTP label: RoutingProfileId.");
|
|
@@ -3681,7 +3681,7 @@ const serializeAws_restJson1UpdateUserHierarchyCommand = async (input, context)
|
|
|
3681
3681
|
if (labelValue.length <= 0) {
|
|
3682
3682
|
throw new Error("Empty value provided for input HTTP label: UserId.");
|
|
3683
3683
|
}
|
|
3684
|
-
resolvedPath = resolvedPath.replace("{UserId}",
|
|
3684
|
+
resolvedPath = resolvedPath.replace("{UserId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3685
3685
|
}
|
|
3686
3686
|
else {
|
|
3687
3687
|
throw new Error("No value provided for input HTTP label: UserId.");
|
|
@@ -3691,7 +3691,7 @@ const serializeAws_restJson1UpdateUserHierarchyCommand = async (input, context)
|
|
|
3691
3691
|
if (labelValue.length <= 0) {
|
|
3692
3692
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
3693
3693
|
}
|
|
3694
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
3694
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3695
3695
|
}
|
|
3696
3696
|
else {
|
|
3697
3697
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -3724,7 +3724,7 @@ const serializeAws_restJson1UpdateUserHierarchyGroupNameCommand = async (input,
|
|
|
3724
3724
|
if (labelValue.length <= 0) {
|
|
3725
3725
|
throw new Error("Empty value provided for input HTTP label: HierarchyGroupId.");
|
|
3726
3726
|
}
|
|
3727
|
-
resolvedPath = resolvedPath.replace("{HierarchyGroupId}",
|
|
3727
|
+
resolvedPath = resolvedPath.replace("{HierarchyGroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3728
3728
|
}
|
|
3729
3729
|
else {
|
|
3730
3730
|
throw new Error("No value provided for input HTTP label: HierarchyGroupId.");
|
|
@@ -3734,7 +3734,7 @@ const serializeAws_restJson1UpdateUserHierarchyGroupNameCommand = async (input,
|
|
|
3734
3734
|
if (labelValue.length <= 0) {
|
|
3735
3735
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
3736
3736
|
}
|
|
3737
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
3737
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3738
3738
|
}
|
|
3739
3739
|
else {
|
|
3740
3740
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -3765,7 +3765,7 @@ const serializeAws_restJson1UpdateUserHierarchyStructureCommand = async (input,
|
|
|
3765
3765
|
if (labelValue.length <= 0) {
|
|
3766
3766
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
3767
3767
|
}
|
|
3768
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
3768
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3769
3769
|
}
|
|
3770
3770
|
else {
|
|
3771
3771
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -3800,7 +3800,7 @@ const serializeAws_restJson1UpdateUserIdentityInfoCommand = async (input, contex
|
|
|
3800
3800
|
if (labelValue.length <= 0) {
|
|
3801
3801
|
throw new Error("Empty value provided for input HTTP label: UserId.");
|
|
3802
3802
|
}
|
|
3803
|
-
resolvedPath = resolvedPath.replace("{UserId}",
|
|
3803
|
+
resolvedPath = resolvedPath.replace("{UserId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3804
3804
|
}
|
|
3805
3805
|
else {
|
|
3806
3806
|
throw new Error("No value provided for input HTTP label: UserId.");
|
|
@@ -3810,7 +3810,7 @@ const serializeAws_restJson1UpdateUserIdentityInfoCommand = async (input, contex
|
|
|
3810
3810
|
if (labelValue.length <= 0) {
|
|
3811
3811
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
3812
3812
|
}
|
|
3813
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
3813
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3814
3814
|
}
|
|
3815
3815
|
else {
|
|
3816
3816
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -3844,7 +3844,7 @@ const serializeAws_restJson1UpdateUserPhoneConfigCommand = async (input, context
|
|
|
3844
3844
|
if (labelValue.length <= 0) {
|
|
3845
3845
|
throw new Error("Empty value provided for input HTTP label: UserId.");
|
|
3846
3846
|
}
|
|
3847
|
-
resolvedPath = resolvedPath.replace("{UserId}",
|
|
3847
|
+
resolvedPath = resolvedPath.replace("{UserId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3848
3848
|
}
|
|
3849
3849
|
else {
|
|
3850
3850
|
throw new Error("No value provided for input HTTP label: UserId.");
|
|
@@ -3854,7 +3854,7 @@ const serializeAws_restJson1UpdateUserPhoneConfigCommand = async (input, context
|
|
|
3854
3854
|
if (labelValue.length <= 0) {
|
|
3855
3855
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
3856
3856
|
}
|
|
3857
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
3857
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3858
3858
|
}
|
|
3859
3859
|
else {
|
|
3860
3860
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -3887,7 +3887,7 @@ const serializeAws_restJson1UpdateUserRoutingProfileCommand = async (input, cont
|
|
|
3887
3887
|
if (labelValue.length <= 0) {
|
|
3888
3888
|
throw new Error("Empty value provided for input HTTP label: UserId.");
|
|
3889
3889
|
}
|
|
3890
|
-
resolvedPath = resolvedPath.replace("{UserId}",
|
|
3890
|
+
resolvedPath = resolvedPath.replace("{UserId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3891
3891
|
}
|
|
3892
3892
|
else {
|
|
3893
3893
|
throw new Error("No value provided for input HTTP label: UserId.");
|
|
@@ -3897,7 +3897,7 @@ const serializeAws_restJson1UpdateUserRoutingProfileCommand = async (input, cont
|
|
|
3897
3897
|
if (labelValue.length <= 0) {
|
|
3898
3898
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
3899
3899
|
}
|
|
3900
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
3900
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3901
3901
|
}
|
|
3902
3902
|
else {
|
|
3903
3903
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -3930,7 +3930,7 @@ const serializeAws_restJson1UpdateUserSecurityProfilesCommand = async (input, co
|
|
|
3930
3930
|
if (labelValue.length <= 0) {
|
|
3931
3931
|
throw new Error("Empty value provided for input HTTP label: UserId.");
|
|
3932
3932
|
}
|
|
3933
|
-
resolvedPath = resolvedPath.replace("{UserId}",
|
|
3933
|
+
resolvedPath = resolvedPath.replace("{UserId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3934
3934
|
}
|
|
3935
3935
|
else {
|
|
3936
3936
|
throw new Error("No value provided for input HTTP label: UserId.");
|
|
@@ -3940,7 +3940,7 @@ const serializeAws_restJson1UpdateUserSecurityProfilesCommand = async (input, co
|
|
|
3940
3940
|
if (labelValue.length <= 0) {
|
|
3941
3941
|
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
3942
3942
|
}
|
|
3943
|
-
resolvedPath = resolvedPath.replace("{InstanceId}",
|
|
3943
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
3944
3944
|
}
|
|
3945
3945
|
else {
|
|
3946
3946
|
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
@@ -4155,9 +4155,9 @@ const deserializeAws_restJson1AssociateInstanceStorageConfigCommand = async (out
|
|
|
4155
4155
|
$metadata: deserializeMetadata(output),
|
|
4156
4156
|
AssociationId: undefined,
|
|
4157
4157
|
};
|
|
4158
|
-
const data =
|
|
4158
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4159
4159
|
if (data.AssociationId !== undefined && data.AssociationId !== null) {
|
|
4160
|
-
contents.AssociationId =
|
|
4160
|
+
contents.AssociationId = smithy_client_1.expectString(data.AssociationId);
|
|
4161
4161
|
}
|
|
4162
4162
|
return Promise.resolve(contents);
|
|
4163
4163
|
};
|
|
@@ -4587,9 +4587,9 @@ const deserializeAws_restJson1AssociateSecurityKeyCommand = async (output, conte
|
|
|
4587
4587
|
$metadata: deserializeMetadata(output),
|
|
4588
4588
|
AssociationId: undefined,
|
|
4589
4589
|
};
|
|
4590
|
-
const data =
|
|
4590
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4591
4591
|
if (data.AssociationId !== undefined && data.AssociationId !== null) {
|
|
4592
|
-
contents.AssociationId =
|
|
4592
|
+
contents.AssociationId = smithy_client_1.expectString(data.AssociationId);
|
|
4593
4593
|
}
|
|
4594
4594
|
return Promise.resolve(contents);
|
|
4595
4595
|
};
|
|
@@ -4684,12 +4684,12 @@ const deserializeAws_restJson1CreateAgentStatusCommand = async (output, context)
|
|
|
4684
4684
|
AgentStatusARN: undefined,
|
|
4685
4685
|
AgentStatusId: undefined,
|
|
4686
4686
|
};
|
|
4687
|
-
const data =
|
|
4687
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4688
4688
|
if (data.AgentStatusARN !== undefined && data.AgentStatusARN !== null) {
|
|
4689
|
-
contents.AgentStatusARN =
|
|
4689
|
+
contents.AgentStatusARN = smithy_client_1.expectString(data.AgentStatusARN);
|
|
4690
4690
|
}
|
|
4691
4691
|
if (data.AgentStatusId !== undefined && data.AgentStatusId !== null) {
|
|
4692
|
-
contents.AgentStatusId =
|
|
4692
|
+
contents.AgentStatusId = smithy_client_1.expectString(data.AgentStatusId);
|
|
4693
4693
|
}
|
|
4694
4694
|
return Promise.resolve(contents);
|
|
4695
4695
|
};
|
|
@@ -4784,12 +4784,12 @@ const deserializeAws_restJson1CreateContactFlowCommand = async (output, context)
|
|
|
4784
4784
|
ContactFlowArn: undefined,
|
|
4785
4785
|
ContactFlowId: undefined,
|
|
4786
4786
|
};
|
|
4787
|
-
const data =
|
|
4787
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4788
4788
|
if (data.ContactFlowArn !== undefined && data.ContactFlowArn !== null) {
|
|
4789
|
-
contents.ContactFlowArn =
|
|
4789
|
+
contents.ContactFlowArn = smithy_client_1.expectString(data.ContactFlowArn);
|
|
4790
4790
|
}
|
|
4791
4791
|
if (data.ContactFlowId !== undefined && data.ContactFlowId !== null) {
|
|
4792
|
-
contents.ContactFlowId =
|
|
4792
|
+
contents.ContactFlowId = smithy_client_1.expectString(data.ContactFlowId);
|
|
4793
4793
|
}
|
|
4794
4794
|
return Promise.resolve(contents);
|
|
4795
4795
|
};
|
|
@@ -4892,12 +4892,12 @@ const deserializeAws_restJson1CreateHoursOfOperationCommand = async (output, con
|
|
|
4892
4892
|
HoursOfOperationArn: undefined,
|
|
4893
4893
|
HoursOfOperationId: undefined,
|
|
4894
4894
|
};
|
|
4895
|
-
const data =
|
|
4895
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4896
4896
|
if (data.HoursOfOperationArn !== undefined && data.HoursOfOperationArn !== null) {
|
|
4897
|
-
contents.HoursOfOperationArn =
|
|
4897
|
+
contents.HoursOfOperationArn = smithy_client_1.expectString(data.HoursOfOperationArn);
|
|
4898
4898
|
}
|
|
4899
4899
|
if (data.HoursOfOperationId !== undefined && data.HoursOfOperationId !== null) {
|
|
4900
|
-
contents.HoursOfOperationId =
|
|
4900
|
+
contents.HoursOfOperationId = smithy_client_1.expectString(data.HoursOfOperationId);
|
|
4901
4901
|
}
|
|
4902
4902
|
return Promise.resolve(contents);
|
|
4903
4903
|
};
|
|
@@ -4992,12 +4992,12 @@ const deserializeAws_restJson1CreateInstanceCommand = async (output, context) =>
|
|
|
4992
4992
|
Arn: undefined,
|
|
4993
4993
|
Id: undefined,
|
|
4994
4994
|
};
|
|
4995
|
-
const data =
|
|
4995
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4996
4996
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
4997
|
-
contents.Arn =
|
|
4997
|
+
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
4998
4998
|
}
|
|
4999
4999
|
if (data.Id !== undefined && data.Id !== null) {
|
|
5000
|
-
contents.Id =
|
|
5000
|
+
contents.Id = smithy_client_1.expectString(data.Id);
|
|
5001
5001
|
}
|
|
5002
5002
|
return Promise.resolve(contents);
|
|
5003
5003
|
};
|
|
@@ -5076,12 +5076,12 @@ const deserializeAws_restJson1CreateIntegrationAssociationCommand = async (outpu
|
|
|
5076
5076
|
IntegrationAssociationArn: undefined,
|
|
5077
5077
|
IntegrationAssociationId: undefined,
|
|
5078
5078
|
};
|
|
5079
|
-
const data =
|
|
5079
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5080
5080
|
if (data.IntegrationAssociationArn !== undefined && data.IntegrationAssociationArn !== null) {
|
|
5081
|
-
contents.IntegrationAssociationArn =
|
|
5081
|
+
contents.IntegrationAssociationArn = smithy_client_1.expectString(data.IntegrationAssociationArn);
|
|
5082
5082
|
}
|
|
5083
5083
|
if (data.IntegrationAssociationId !== undefined && data.IntegrationAssociationId !== null) {
|
|
5084
|
-
contents.IntegrationAssociationId =
|
|
5084
|
+
contents.IntegrationAssociationId = smithy_client_1.expectString(data.IntegrationAssociationId);
|
|
5085
5085
|
}
|
|
5086
5086
|
return Promise.resolve(contents);
|
|
5087
5087
|
};
|
|
@@ -5160,12 +5160,12 @@ const deserializeAws_restJson1CreateQueueCommand = async (output, context) => {
|
|
|
5160
5160
|
QueueArn: undefined,
|
|
5161
5161
|
QueueId: undefined,
|
|
5162
5162
|
};
|
|
5163
|
-
const data =
|
|
5163
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5164
5164
|
if (data.QueueArn !== undefined && data.QueueArn !== null) {
|
|
5165
|
-
contents.QueueArn =
|
|
5165
|
+
contents.QueueArn = smithy_client_1.expectString(data.QueueArn);
|
|
5166
5166
|
}
|
|
5167
5167
|
if (data.QueueId !== undefined && data.QueueId !== null) {
|
|
5168
|
-
contents.QueueId =
|
|
5168
|
+
contents.QueueId = smithy_client_1.expectString(data.QueueId);
|
|
5169
5169
|
}
|
|
5170
5170
|
return Promise.resolve(contents);
|
|
5171
5171
|
};
|
|
@@ -5260,12 +5260,12 @@ const deserializeAws_restJson1CreateQuickConnectCommand = async (output, context
|
|
|
5260
5260
|
QuickConnectARN: undefined,
|
|
5261
5261
|
QuickConnectId: undefined,
|
|
5262
5262
|
};
|
|
5263
|
-
const data =
|
|
5263
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5264
5264
|
if (data.QuickConnectARN !== undefined && data.QuickConnectARN !== null) {
|
|
5265
|
-
contents.QuickConnectARN =
|
|
5265
|
+
contents.QuickConnectARN = smithy_client_1.expectString(data.QuickConnectARN);
|
|
5266
5266
|
}
|
|
5267
5267
|
if (data.QuickConnectId !== undefined && data.QuickConnectId !== null) {
|
|
5268
|
-
contents.QuickConnectId =
|
|
5268
|
+
contents.QuickConnectId = smithy_client_1.expectString(data.QuickConnectId);
|
|
5269
5269
|
}
|
|
5270
5270
|
return Promise.resolve(contents);
|
|
5271
5271
|
};
|
|
@@ -5360,12 +5360,12 @@ const deserializeAws_restJson1CreateRoutingProfileCommand = async (output, conte
|
|
|
5360
5360
|
RoutingProfileArn: undefined,
|
|
5361
5361
|
RoutingProfileId: undefined,
|
|
5362
5362
|
};
|
|
5363
|
-
const data =
|
|
5363
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5364
5364
|
if (data.RoutingProfileArn !== undefined && data.RoutingProfileArn !== null) {
|
|
5365
|
-
contents.RoutingProfileArn =
|
|
5365
|
+
contents.RoutingProfileArn = smithy_client_1.expectString(data.RoutingProfileArn);
|
|
5366
5366
|
}
|
|
5367
5367
|
if (data.RoutingProfileId !== undefined && data.RoutingProfileId !== null) {
|
|
5368
|
-
contents.RoutingProfileId =
|
|
5368
|
+
contents.RoutingProfileId = smithy_client_1.expectString(data.RoutingProfileId);
|
|
5369
5369
|
}
|
|
5370
5370
|
return Promise.resolve(contents);
|
|
5371
5371
|
};
|
|
@@ -5460,12 +5460,12 @@ const deserializeAws_restJson1CreateUseCaseCommand = async (output, context) =>
|
|
|
5460
5460
|
UseCaseArn: undefined,
|
|
5461
5461
|
UseCaseId: undefined,
|
|
5462
5462
|
};
|
|
5463
|
-
const data =
|
|
5463
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5464
5464
|
if (data.UseCaseArn !== undefined && data.UseCaseArn !== null) {
|
|
5465
|
-
contents.UseCaseArn =
|
|
5465
|
+
contents.UseCaseArn = smithy_client_1.expectString(data.UseCaseArn);
|
|
5466
5466
|
}
|
|
5467
5467
|
if (data.UseCaseId !== undefined && data.UseCaseId !== null) {
|
|
5468
|
-
contents.UseCaseId =
|
|
5468
|
+
contents.UseCaseId = smithy_client_1.expectString(data.UseCaseId);
|
|
5469
5469
|
}
|
|
5470
5470
|
return Promise.resolve(contents);
|
|
5471
5471
|
};
|
|
@@ -5544,12 +5544,12 @@ const deserializeAws_restJson1CreateUserCommand = async (output, context) => {
|
|
|
5544
5544
|
UserArn: undefined,
|
|
5545
5545
|
UserId: undefined,
|
|
5546
5546
|
};
|
|
5547
|
-
const data =
|
|
5547
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5548
5548
|
if (data.UserArn !== undefined && data.UserArn !== null) {
|
|
5549
|
-
contents.UserArn =
|
|
5549
|
+
contents.UserArn = smithy_client_1.expectString(data.UserArn);
|
|
5550
5550
|
}
|
|
5551
5551
|
if (data.UserId !== undefined && data.UserId !== null) {
|
|
5552
|
-
contents.UserId =
|
|
5552
|
+
contents.UserId = smithy_client_1.expectString(data.UserId);
|
|
5553
5553
|
}
|
|
5554
5554
|
return Promise.resolve(contents);
|
|
5555
5555
|
};
|
|
@@ -5644,12 +5644,12 @@ const deserializeAws_restJson1CreateUserHierarchyGroupCommand = async (output, c
|
|
|
5644
5644
|
HierarchyGroupArn: undefined,
|
|
5645
5645
|
HierarchyGroupId: undefined,
|
|
5646
5646
|
};
|
|
5647
|
-
const data =
|
|
5647
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5648
5648
|
if (data.HierarchyGroupArn !== undefined && data.HierarchyGroupArn !== null) {
|
|
5649
|
-
contents.HierarchyGroupArn =
|
|
5649
|
+
contents.HierarchyGroupArn = smithy_client_1.expectString(data.HierarchyGroupArn);
|
|
5650
5650
|
}
|
|
5651
5651
|
if (data.HierarchyGroupId !== undefined && data.HierarchyGroupId !== null) {
|
|
5652
|
-
contents.HierarchyGroupId =
|
|
5652
|
+
contents.HierarchyGroupId = smithy_client_1.expectString(data.HierarchyGroupId);
|
|
5653
5653
|
}
|
|
5654
5654
|
return Promise.resolve(contents);
|
|
5655
5655
|
};
|
|
@@ -6251,7 +6251,7 @@ const deserializeAws_restJson1DescribeAgentStatusCommand = async (output, contex
|
|
|
6251
6251
|
$metadata: deserializeMetadata(output),
|
|
6252
6252
|
AgentStatus: undefined,
|
|
6253
6253
|
};
|
|
6254
|
-
const data =
|
|
6254
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6255
6255
|
if (data.AgentStatus !== undefined && data.AgentStatus !== null) {
|
|
6256
6256
|
contents.AgentStatus = deserializeAws_restJson1AgentStatus(data.AgentStatus, context);
|
|
6257
6257
|
}
|
|
@@ -6331,7 +6331,7 @@ const deserializeAws_restJson1DescribeContactFlowCommand = async (output, contex
|
|
|
6331
6331
|
$metadata: deserializeMetadata(output),
|
|
6332
6332
|
ContactFlow: undefined,
|
|
6333
6333
|
};
|
|
6334
|
-
const data =
|
|
6334
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6335
6335
|
if (data.ContactFlow !== undefined && data.ContactFlow !== null) {
|
|
6336
6336
|
contents.ContactFlow = deserializeAws_restJson1ContactFlow(data.ContactFlow, context);
|
|
6337
6337
|
}
|
|
@@ -6419,7 +6419,7 @@ const deserializeAws_restJson1DescribeHoursOfOperationCommand = async (output, c
|
|
|
6419
6419
|
$metadata: deserializeMetadata(output),
|
|
6420
6420
|
HoursOfOperation: undefined,
|
|
6421
6421
|
};
|
|
6422
|
-
const data =
|
|
6422
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6423
6423
|
if (data.HoursOfOperation !== undefined && data.HoursOfOperation !== null) {
|
|
6424
6424
|
contents.HoursOfOperation = deserializeAws_restJson1HoursOfOperation(data.HoursOfOperation, context);
|
|
6425
6425
|
}
|
|
@@ -6499,7 +6499,7 @@ const deserializeAws_restJson1DescribeInstanceCommand = async (output, context)
|
|
|
6499
6499
|
$metadata: deserializeMetadata(output),
|
|
6500
6500
|
Instance: undefined,
|
|
6501
6501
|
};
|
|
6502
|
-
const data =
|
|
6502
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6503
6503
|
if (data.Instance !== undefined && data.Instance !== null) {
|
|
6504
6504
|
contents.Instance = deserializeAws_restJson1Instance(data.Instance, context);
|
|
6505
6505
|
}
|
|
@@ -6563,7 +6563,7 @@ const deserializeAws_restJson1DescribeInstanceAttributeCommand = async (output,
|
|
|
6563
6563
|
$metadata: deserializeMetadata(output),
|
|
6564
6564
|
Attribute: undefined,
|
|
6565
6565
|
};
|
|
6566
|
-
const data =
|
|
6566
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6567
6567
|
if (data.Attribute !== undefined && data.Attribute !== null) {
|
|
6568
6568
|
contents.Attribute = deserializeAws_restJson1Attribute(data.Attribute, context);
|
|
6569
6569
|
}
|
|
@@ -6643,7 +6643,7 @@ const deserializeAws_restJson1DescribeInstanceStorageConfigCommand = async (outp
|
|
|
6643
6643
|
$metadata: deserializeMetadata(output),
|
|
6644
6644
|
StorageConfig: undefined,
|
|
6645
6645
|
};
|
|
6646
|
-
const data =
|
|
6646
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6647
6647
|
if (data.StorageConfig !== undefined && data.StorageConfig !== null) {
|
|
6648
6648
|
contents.StorageConfig = deserializeAws_restJson1InstanceStorageConfig(data.StorageConfig, context);
|
|
6649
6649
|
}
|
|
@@ -6723,7 +6723,7 @@ const deserializeAws_restJson1DescribeQueueCommand = async (output, context) =>
|
|
|
6723
6723
|
$metadata: deserializeMetadata(output),
|
|
6724
6724
|
Queue: undefined,
|
|
6725
6725
|
};
|
|
6726
|
-
const data =
|
|
6726
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6727
6727
|
if (data.Queue !== undefined && data.Queue !== null) {
|
|
6728
6728
|
contents.Queue = deserializeAws_restJson1Queue(data.Queue, context);
|
|
6729
6729
|
}
|
|
@@ -6803,7 +6803,7 @@ const deserializeAws_restJson1DescribeQuickConnectCommand = async (output, conte
|
|
|
6803
6803
|
$metadata: deserializeMetadata(output),
|
|
6804
6804
|
QuickConnect: undefined,
|
|
6805
6805
|
};
|
|
6806
|
-
const data =
|
|
6806
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6807
6807
|
if (data.QuickConnect !== undefined && data.QuickConnect !== null) {
|
|
6808
6808
|
contents.QuickConnect = deserializeAws_restJson1QuickConnect(data.QuickConnect, context);
|
|
6809
6809
|
}
|
|
@@ -6883,7 +6883,7 @@ const deserializeAws_restJson1DescribeRoutingProfileCommand = async (output, con
|
|
|
6883
6883
|
$metadata: deserializeMetadata(output),
|
|
6884
6884
|
RoutingProfile: undefined,
|
|
6885
6885
|
};
|
|
6886
|
-
const data =
|
|
6886
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6887
6887
|
if (data.RoutingProfile !== undefined && data.RoutingProfile !== null) {
|
|
6888
6888
|
contents.RoutingProfile = deserializeAws_restJson1RoutingProfile(data.RoutingProfile, context);
|
|
6889
6889
|
}
|
|
@@ -6963,7 +6963,7 @@ const deserializeAws_restJson1DescribeUserCommand = async (output, context) => {
|
|
|
6963
6963
|
$metadata: deserializeMetadata(output),
|
|
6964
6964
|
User: undefined,
|
|
6965
6965
|
};
|
|
6966
|
-
const data =
|
|
6966
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6967
6967
|
if (data.User !== undefined && data.User !== null) {
|
|
6968
6968
|
contents.User = deserializeAws_restJson1User(data.User, context);
|
|
6969
6969
|
}
|
|
@@ -7043,7 +7043,7 @@ const deserializeAws_restJson1DescribeUserHierarchyGroupCommand = async (output,
|
|
|
7043
7043
|
$metadata: deserializeMetadata(output),
|
|
7044
7044
|
HierarchyGroup: undefined,
|
|
7045
7045
|
};
|
|
7046
|
-
const data =
|
|
7046
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7047
7047
|
if (data.HierarchyGroup !== undefined && data.HierarchyGroup !== null) {
|
|
7048
7048
|
contents.HierarchyGroup = deserializeAws_restJson1HierarchyGroup(data.HierarchyGroup, context);
|
|
7049
7049
|
}
|
|
@@ -7123,7 +7123,7 @@ const deserializeAws_restJson1DescribeUserHierarchyStructureCommand = async (out
|
|
|
7123
7123
|
$metadata: deserializeMetadata(output),
|
|
7124
7124
|
HierarchyStructure: undefined,
|
|
7125
7125
|
};
|
|
7126
|
-
const data =
|
|
7126
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7127
7127
|
if (data.HierarchyStructure !== undefined && data.HierarchyStructure !== null) {
|
|
7128
7128
|
contents.HierarchyStructure = deserializeAws_restJson1HierarchyStructure(data.HierarchyStructure, context);
|
|
7129
7129
|
}
|
|
@@ -7803,7 +7803,7 @@ const deserializeAws_restJson1GetContactAttributesCommand = async (output, conte
|
|
|
7803
7803
|
$metadata: deserializeMetadata(output),
|
|
7804
7804
|
Attributes: undefined,
|
|
7805
7805
|
};
|
|
7806
|
-
const data =
|
|
7806
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7807
7807
|
if (data.Attributes !== undefined && data.Attributes !== null) {
|
|
7808
7808
|
contents.Attributes = deserializeAws_restJson1Attributes(data.Attributes, context);
|
|
7809
7809
|
}
|
|
@@ -7869,15 +7869,15 @@ const deserializeAws_restJson1GetCurrentMetricDataCommand = async (output, conte
|
|
|
7869
7869
|
MetricResults: undefined,
|
|
7870
7870
|
NextToken: undefined,
|
|
7871
7871
|
};
|
|
7872
|
-
const data =
|
|
7872
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7873
7873
|
if (data.DataSnapshotTime !== undefined && data.DataSnapshotTime !== null) {
|
|
7874
|
-
contents.DataSnapshotTime =
|
|
7874
|
+
contents.DataSnapshotTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.DataSnapshotTime)));
|
|
7875
7875
|
}
|
|
7876
7876
|
if (data.MetricResults !== undefined && data.MetricResults !== null) {
|
|
7877
7877
|
contents.MetricResults = deserializeAws_restJson1CurrentMetricResults(data.MetricResults, context);
|
|
7878
7878
|
}
|
|
7879
7879
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
7880
|
-
contents.NextToken =
|
|
7880
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
7881
7881
|
}
|
|
7882
7882
|
return Promise.resolve(contents);
|
|
7883
7883
|
};
|
|
@@ -7955,7 +7955,7 @@ const deserializeAws_restJson1GetFederationTokenCommand = async (output, context
|
|
|
7955
7955
|
$metadata: deserializeMetadata(output),
|
|
7956
7956
|
Credentials: undefined,
|
|
7957
7957
|
};
|
|
7958
|
-
const data =
|
|
7958
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7959
7959
|
if (data.Credentials !== undefined && data.Credentials !== null) {
|
|
7960
7960
|
contents.Credentials = deserializeAws_restJson1Credentials(data.Credentials, context);
|
|
7961
7961
|
}
|
|
@@ -8044,12 +8044,12 @@ const deserializeAws_restJson1GetMetricDataCommand = async (output, context) =>
|
|
|
8044
8044
|
MetricResults: undefined,
|
|
8045
8045
|
NextToken: undefined,
|
|
8046
8046
|
};
|
|
8047
|
-
const data =
|
|
8047
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
8048
8048
|
if (data.MetricResults !== undefined && data.MetricResults !== null) {
|
|
8049
8049
|
contents.MetricResults = deserializeAws_restJson1HistoricalMetricResults(data.MetricResults, context);
|
|
8050
8050
|
}
|
|
8051
8051
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
8052
|
-
contents.NextToken =
|
|
8052
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
8053
8053
|
}
|
|
8054
8054
|
return Promise.resolve(contents);
|
|
8055
8055
|
};
|
|
@@ -8128,12 +8128,12 @@ const deserializeAws_restJson1ListAgentStatusesCommand = async (output, context)
|
|
|
8128
8128
|
AgentStatusSummaryList: undefined,
|
|
8129
8129
|
NextToken: undefined,
|
|
8130
8130
|
};
|
|
8131
|
-
const data =
|
|
8131
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
8132
8132
|
if (data.AgentStatusSummaryList !== undefined && data.AgentStatusSummaryList !== null) {
|
|
8133
8133
|
contents.AgentStatusSummaryList = deserializeAws_restJson1AgentStatusSummaryList(data.AgentStatusSummaryList, context);
|
|
8134
8134
|
}
|
|
8135
8135
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
8136
|
-
contents.NextToken =
|
|
8136
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
8137
8137
|
}
|
|
8138
8138
|
return Promise.resolve(contents);
|
|
8139
8139
|
};
|
|
@@ -8212,9 +8212,9 @@ const deserializeAws_restJson1ListApprovedOriginsCommand = async (output, contex
|
|
|
8212
8212
|
NextToken: undefined,
|
|
8213
8213
|
Origins: undefined,
|
|
8214
8214
|
};
|
|
8215
|
-
const data =
|
|
8215
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
8216
8216
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
8217
|
-
contents.NextToken =
|
|
8217
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
8218
8218
|
}
|
|
8219
8219
|
if (data.Origins !== undefined && data.Origins !== null) {
|
|
8220
8220
|
contents.Origins = deserializeAws_restJson1OriginsList(data.Origins, context);
|
|
@@ -8296,12 +8296,12 @@ const deserializeAws_restJson1ListBotsCommand = async (output, context) => {
|
|
|
8296
8296
|
LexBots: undefined,
|
|
8297
8297
|
NextToken: undefined,
|
|
8298
8298
|
};
|
|
8299
|
-
const data =
|
|
8299
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
8300
8300
|
if (data.LexBots !== undefined && data.LexBots !== null) {
|
|
8301
8301
|
contents.LexBots = deserializeAws_restJson1LexBotConfigList(data.LexBots, context);
|
|
8302
8302
|
}
|
|
8303
8303
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
8304
|
-
contents.NextToken =
|
|
8304
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
8305
8305
|
}
|
|
8306
8306
|
return Promise.resolve(contents);
|
|
8307
8307
|
};
|
|
@@ -8372,12 +8372,12 @@ const deserializeAws_restJson1ListContactFlowsCommand = async (output, context)
|
|
|
8372
8372
|
ContactFlowSummaryList: undefined,
|
|
8373
8373
|
NextToken: undefined,
|
|
8374
8374
|
};
|
|
8375
|
-
const data =
|
|
8375
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
8376
8376
|
if (data.ContactFlowSummaryList !== undefined && data.ContactFlowSummaryList !== null) {
|
|
8377
8377
|
contents.ContactFlowSummaryList = deserializeAws_restJson1ContactFlowSummaryList(data.ContactFlowSummaryList, context);
|
|
8378
8378
|
}
|
|
8379
8379
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
8380
|
-
contents.NextToken =
|
|
8380
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
8381
8381
|
}
|
|
8382
8382
|
return Promise.resolve(contents);
|
|
8383
8383
|
};
|
|
@@ -8456,12 +8456,12 @@ const deserializeAws_restJson1ListHoursOfOperationsCommand = async (output, cont
|
|
|
8456
8456
|
HoursOfOperationSummaryList: undefined,
|
|
8457
8457
|
NextToken: undefined,
|
|
8458
8458
|
};
|
|
8459
|
-
const data =
|
|
8459
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
8460
8460
|
if (data.HoursOfOperationSummaryList !== undefined && data.HoursOfOperationSummaryList !== null) {
|
|
8461
8461
|
contents.HoursOfOperationSummaryList = deserializeAws_restJson1HoursOfOperationSummaryList(data.HoursOfOperationSummaryList, context);
|
|
8462
8462
|
}
|
|
8463
8463
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
8464
|
-
contents.NextToken =
|
|
8464
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
8465
8465
|
}
|
|
8466
8466
|
return Promise.resolve(contents);
|
|
8467
8467
|
};
|
|
@@ -8540,12 +8540,12 @@ const deserializeAws_restJson1ListInstanceAttributesCommand = async (output, con
|
|
|
8540
8540
|
Attributes: undefined,
|
|
8541
8541
|
NextToken: undefined,
|
|
8542
8542
|
};
|
|
8543
|
-
const data =
|
|
8543
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
8544
8544
|
if (data.Attributes !== undefined && data.Attributes !== null) {
|
|
8545
8545
|
contents.Attributes = deserializeAws_restJson1AttributesList(data.Attributes, context);
|
|
8546
8546
|
}
|
|
8547
8547
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
8548
|
-
contents.NextToken =
|
|
8548
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
8549
8549
|
}
|
|
8550
8550
|
return Promise.resolve(contents);
|
|
8551
8551
|
};
|
|
@@ -8624,12 +8624,12 @@ const deserializeAws_restJson1ListInstancesCommand = async (output, context) =>
|
|
|
8624
8624
|
InstanceSummaryList: undefined,
|
|
8625
8625
|
NextToken: undefined,
|
|
8626
8626
|
};
|
|
8627
|
-
const data =
|
|
8627
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
8628
8628
|
if (data.InstanceSummaryList !== undefined && data.InstanceSummaryList !== null) {
|
|
8629
8629
|
contents.InstanceSummaryList = deserializeAws_restJson1InstanceSummaryList(data.InstanceSummaryList, context);
|
|
8630
8630
|
}
|
|
8631
8631
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
8632
|
-
contents.NextToken =
|
|
8632
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
8633
8633
|
}
|
|
8634
8634
|
return Promise.resolve(contents);
|
|
8635
8635
|
};
|
|
@@ -8684,9 +8684,9 @@ const deserializeAws_restJson1ListInstanceStorageConfigsCommand = async (output,
|
|
|
8684
8684
|
NextToken: undefined,
|
|
8685
8685
|
StorageConfigs: undefined,
|
|
8686
8686
|
};
|
|
8687
|
-
const data =
|
|
8687
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
8688
8688
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
8689
|
-
contents.NextToken =
|
|
8689
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
8690
8690
|
}
|
|
8691
8691
|
if (data.StorageConfigs !== undefined && data.StorageConfigs !== null) {
|
|
8692
8692
|
contents.StorageConfigs = deserializeAws_restJson1InstanceStorageConfigs(data.StorageConfigs, context);
|
|
@@ -8768,12 +8768,12 @@ const deserializeAws_restJson1ListIntegrationAssociationsCommand = async (output
|
|
|
8768
8768
|
IntegrationAssociationSummaryList: undefined,
|
|
8769
8769
|
NextToken: undefined,
|
|
8770
8770
|
};
|
|
8771
|
-
const data =
|
|
8771
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
8772
8772
|
if (data.IntegrationAssociationSummaryList !== undefined && data.IntegrationAssociationSummaryList !== null) {
|
|
8773
8773
|
contents.IntegrationAssociationSummaryList = deserializeAws_restJson1IntegrationAssociationSummaryList(data.IntegrationAssociationSummaryList, context);
|
|
8774
8774
|
}
|
|
8775
8775
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
8776
|
-
contents.NextToken =
|
|
8776
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
8777
8777
|
}
|
|
8778
8778
|
return Promise.resolve(contents);
|
|
8779
8779
|
};
|
|
@@ -8844,12 +8844,12 @@ const deserializeAws_restJson1ListLambdaFunctionsCommand = async (output, contex
|
|
|
8844
8844
|
LambdaFunctions: undefined,
|
|
8845
8845
|
NextToken: undefined,
|
|
8846
8846
|
};
|
|
8847
|
-
const data =
|
|
8847
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
8848
8848
|
if (data.LambdaFunctions !== undefined && data.LambdaFunctions !== null) {
|
|
8849
8849
|
contents.LambdaFunctions = deserializeAws_restJson1FunctionArnsList(data.LambdaFunctions, context);
|
|
8850
8850
|
}
|
|
8851
8851
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
8852
|
-
contents.NextToken =
|
|
8852
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
8853
8853
|
}
|
|
8854
8854
|
return Promise.resolve(contents);
|
|
8855
8855
|
};
|
|
@@ -8928,12 +8928,12 @@ const deserializeAws_restJson1ListLexBotsCommand = async (output, context) => {
|
|
|
8928
8928
|
LexBots: undefined,
|
|
8929
8929
|
NextToken: undefined,
|
|
8930
8930
|
};
|
|
8931
|
-
const data =
|
|
8931
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
8932
8932
|
if (data.LexBots !== undefined && data.LexBots !== null) {
|
|
8933
8933
|
contents.LexBots = deserializeAws_restJson1LexBotsList(data.LexBots, context);
|
|
8934
8934
|
}
|
|
8935
8935
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
8936
|
-
contents.NextToken =
|
|
8936
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
8937
8937
|
}
|
|
8938
8938
|
return Promise.resolve(contents);
|
|
8939
8939
|
};
|
|
@@ -9012,9 +9012,9 @@ const deserializeAws_restJson1ListPhoneNumbersCommand = async (output, context)
|
|
|
9012
9012
|
NextToken: undefined,
|
|
9013
9013
|
PhoneNumberSummaryList: undefined,
|
|
9014
9014
|
};
|
|
9015
|
-
const data =
|
|
9015
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
9016
9016
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
9017
|
-
contents.NextToken =
|
|
9017
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
9018
9018
|
}
|
|
9019
9019
|
if (data.PhoneNumberSummaryList !== undefined && data.PhoneNumberSummaryList !== null) {
|
|
9020
9020
|
contents.PhoneNumberSummaryList = deserializeAws_restJson1PhoneNumberSummaryList(data.PhoneNumberSummaryList, context);
|
|
@@ -9096,9 +9096,9 @@ const deserializeAws_restJson1ListPromptsCommand = async (output, context) => {
|
|
|
9096
9096
|
NextToken: undefined,
|
|
9097
9097
|
PromptSummaryList: undefined,
|
|
9098
9098
|
};
|
|
9099
|
-
const data =
|
|
9099
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
9100
9100
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
9101
|
-
contents.NextToken =
|
|
9101
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
9102
9102
|
}
|
|
9103
9103
|
if (data.PromptSummaryList !== undefined && data.PromptSummaryList !== null) {
|
|
9104
9104
|
contents.PromptSummaryList = deserializeAws_restJson1PromptSummaryList(data.PromptSummaryList, context);
|
|
@@ -9180,9 +9180,9 @@ const deserializeAws_restJson1ListQueueQuickConnectsCommand = async (output, con
|
|
|
9180
9180
|
NextToken: undefined,
|
|
9181
9181
|
QuickConnectSummaryList: undefined,
|
|
9182
9182
|
};
|
|
9183
|
-
const data =
|
|
9183
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
9184
9184
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
9185
|
-
contents.NextToken =
|
|
9185
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
9186
9186
|
}
|
|
9187
9187
|
if (data.QuickConnectSummaryList !== undefined && data.QuickConnectSummaryList !== null) {
|
|
9188
9188
|
contents.QuickConnectSummaryList = deserializeAws_restJson1QuickConnectSummaryList(data.QuickConnectSummaryList, context);
|
|
@@ -9264,9 +9264,9 @@ const deserializeAws_restJson1ListQueuesCommand = async (output, context) => {
|
|
|
9264
9264
|
NextToken: undefined,
|
|
9265
9265
|
QueueSummaryList: undefined,
|
|
9266
9266
|
};
|
|
9267
|
-
const data =
|
|
9267
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
9268
9268
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
9269
|
-
contents.NextToken =
|
|
9269
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
9270
9270
|
}
|
|
9271
9271
|
if (data.QueueSummaryList !== undefined && data.QueueSummaryList !== null) {
|
|
9272
9272
|
contents.QueueSummaryList = deserializeAws_restJson1QueueSummaryList(data.QueueSummaryList, context);
|
|
@@ -9348,9 +9348,9 @@ const deserializeAws_restJson1ListQuickConnectsCommand = async (output, context)
|
|
|
9348
9348
|
NextToken: undefined,
|
|
9349
9349
|
QuickConnectSummaryList: undefined,
|
|
9350
9350
|
};
|
|
9351
|
-
const data =
|
|
9351
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
9352
9352
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
9353
|
-
contents.NextToken =
|
|
9353
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
9354
9354
|
}
|
|
9355
9355
|
if (data.QuickConnectSummaryList !== undefined && data.QuickConnectSummaryList !== null) {
|
|
9356
9356
|
contents.QuickConnectSummaryList = deserializeAws_restJson1QuickConnectSummaryList(data.QuickConnectSummaryList, context);
|
|
@@ -9432,9 +9432,9 @@ const deserializeAws_restJson1ListRoutingProfileQueuesCommand = async (output, c
|
|
|
9432
9432
|
NextToken: undefined,
|
|
9433
9433
|
RoutingProfileQueueConfigSummaryList: undefined,
|
|
9434
9434
|
};
|
|
9435
|
-
const data =
|
|
9435
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
9436
9436
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
9437
|
-
contents.NextToken =
|
|
9437
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
9438
9438
|
}
|
|
9439
9439
|
if (data.RoutingProfileQueueConfigSummaryList !== undefined && data.RoutingProfileQueueConfigSummaryList !== null) {
|
|
9440
9440
|
contents.RoutingProfileQueueConfigSummaryList = deserializeAws_restJson1RoutingProfileQueueConfigSummaryList(data.RoutingProfileQueueConfigSummaryList, context);
|
|
@@ -9516,9 +9516,9 @@ const deserializeAws_restJson1ListRoutingProfilesCommand = async (output, contex
|
|
|
9516
9516
|
NextToken: undefined,
|
|
9517
9517
|
RoutingProfileSummaryList: undefined,
|
|
9518
9518
|
};
|
|
9519
|
-
const data =
|
|
9519
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
9520
9520
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
9521
|
-
contents.NextToken =
|
|
9521
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
9522
9522
|
}
|
|
9523
9523
|
if (data.RoutingProfileSummaryList !== undefined && data.RoutingProfileSummaryList !== null) {
|
|
9524
9524
|
contents.RoutingProfileSummaryList = deserializeAws_restJson1RoutingProfileSummaryList(data.RoutingProfileSummaryList, context);
|
|
@@ -9600,9 +9600,9 @@ const deserializeAws_restJson1ListSecurityKeysCommand = async (output, context)
|
|
|
9600
9600
|
NextToken: undefined,
|
|
9601
9601
|
SecurityKeys: undefined,
|
|
9602
9602
|
};
|
|
9603
|
-
const data =
|
|
9603
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
9604
9604
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
9605
|
-
contents.NextToken =
|
|
9605
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
9606
9606
|
}
|
|
9607
9607
|
if (data.SecurityKeys !== undefined && data.SecurityKeys !== null) {
|
|
9608
9608
|
contents.SecurityKeys = deserializeAws_restJson1SecurityKeysList(data.SecurityKeys, context);
|
|
@@ -9684,9 +9684,9 @@ const deserializeAws_restJson1ListSecurityProfilesCommand = async (output, conte
|
|
|
9684
9684
|
NextToken: undefined,
|
|
9685
9685
|
SecurityProfileSummaryList: undefined,
|
|
9686
9686
|
};
|
|
9687
|
-
const data =
|
|
9687
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
9688
9688
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
9689
|
-
contents.NextToken =
|
|
9689
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
9690
9690
|
}
|
|
9691
9691
|
if (data.SecurityProfileSummaryList !== undefined && data.SecurityProfileSummaryList !== null) {
|
|
9692
9692
|
contents.SecurityProfileSummaryList = deserializeAws_restJson1SecurityProfileSummaryList(data.SecurityProfileSummaryList, context);
|
|
@@ -9767,7 +9767,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
9767
9767
|
$metadata: deserializeMetadata(output),
|
|
9768
9768
|
tags: undefined,
|
|
9769
9769
|
};
|
|
9770
|
-
const data =
|
|
9770
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
9771
9771
|
if (data.tags !== undefined && data.tags !== null) {
|
|
9772
9772
|
contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
|
|
9773
9773
|
}
|
|
@@ -9848,9 +9848,9 @@ const deserializeAws_restJson1ListUseCasesCommand = async (output, context) => {
|
|
|
9848
9848
|
NextToken: undefined,
|
|
9849
9849
|
UseCaseSummaryList: undefined,
|
|
9850
9850
|
};
|
|
9851
|
-
const data =
|
|
9851
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
9852
9852
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
9853
|
-
contents.NextToken =
|
|
9853
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
9854
9854
|
}
|
|
9855
9855
|
if (data.UseCaseSummaryList !== undefined && data.UseCaseSummaryList !== null) {
|
|
9856
9856
|
contents.UseCaseSummaryList = deserializeAws_restJson1UseCaseSummaryList(data.UseCaseSummaryList, context);
|
|
@@ -9924,9 +9924,9 @@ const deserializeAws_restJson1ListUserHierarchyGroupsCommand = async (output, co
|
|
|
9924
9924
|
NextToken: undefined,
|
|
9925
9925
|
UserHierarchyGroupSummaryList: undefined,
|
|
9926
9926
|
};
|
|
9927
|
-
const data =
|
|
9927
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
9928
9928
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
9929
|
-
contents.NextToken =
|
|
9929
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
9930
9930
|
}
|
|
9931
9931
|
if (data.UserHierarchyGroupSummaryList !== undefined && data.UserHierarchyGroupSummaryList !== null) {
|
|
9932
9932
|
contents.UserHierarchyGroupSummaryList = deserializeAws_restJson1HierarchyGroupSummaryList(data.UserHierarchyGroupSummaryList, context);
|
|
@@ -10008,9 +10008,9 @@ const deserializeAws_restJson1ListUsersCommand = async (output, context) => {
|
|
|
10008
10008
|
NextToken: undefined,
|
|
10009
10009
|
UserSummaryList: undefined,
|
|
10010
10010
|
};
|
|
10011
|
-
const data =
|
|
10011
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
10012
10012
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
10013
|
-
contents.NextToken =
|
|
10013
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
10014
10014
|
}
|
|
10015
10015
|
if (data.UserSummaryList !== undefined && data.UserSummaryList !== null) {
|
|
10016
10016
|
contents.UserSummaryList = deserializeAws_restJson1UserSummaryList(data.UserSummaryList, context);
|
|
@@ -10153,15 +10153,15 @@ const deserializeAws_restJson1StartChatContactCommand = async (output, context)
|
|
|
10153
10153
|
ParticipantId: undefined,
|
|
10154
10154
|
ParticipantToken: undefined,
|
|
10155
10155
|
};
|
|
10156
|
-
const data =
|
|
10156
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
10157
10157
|
if (data.ContactId !== undefined && data.ContactId !== null) {
|
|
10158
|
-
contents.ContactId =
|
|
10158
|
+
contents.ContactId = smithy_client_1.expectString(data.ContactId);
|
|
10159
10159
|
}
|
|
10160
10160
|
if (data.ParticipantId !== undefined && data.ParticipantId !== null) {
|
|
10161
|
-
contents.ParticipantId =
|
|
10161
|
+
contents.ParticipantId = smithy_client_1.expectString(data.ParticipantId);
|
|
10162
10162
|
}
|
|
10163
10163
|
if (data.ParticipantToken !== undefined && data.ParticipantToken !== null) {
|
|
10164
|
-
contents.ParticipantToken =
|
|
10164
|
+
contents.ParticipantToken = smithy_client_1.expectString(data.ParticipantToken);
|
|
10165
10165
|
}
|
|
10166
10166
|
return Promise.resolve(contents);
|
|
10167
10167
|
};
|
|
@@ -10307,9 +10307,9 @@ const deserializeAws_restJson1StartOutboundVoiceContactCommand = async (output,
|
|
|
10307
10307
|
$metadata: deserializeMetadata(output),
|
|
10308
10308
|
ContactId: undefined,
|
|
10309
10309
|
};
|
|
10310
|
-
const data =
|
|
10310
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
10311
10311
|
if (data.ContactId !== undefined && data.ContactId !== null) {
|
|
10312
|
-
contents.ContactId =
|
|
10312
|
+
contents.ContactId = smithy_client_1.expectString(data.ContactId);
|
|
10313
10313
|
}
|
|
10314
10314
|
return Promise.resolve(contents);
|
|
10315
10315
|
};
|
|
@@ -10403,9 +10403,9 @@ const deserializeAws_restJson1StartTaskContactCommand = async (output, context)
|
|
|
10403
10403
|
$metadata: deserializeMetadata(output),
|
|
10404
10404
|
ContactId: undefined,
|
|
10405
10405
|
};
|
|
10406
|
-
const data =
|
|
10406
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
10407
10407
|
if (data.ContactId !== undefined && data.ContactId !== null) {
|
|
10408
|
-
contents.ContactId =
|
|
10408
|
+
contents.ContactId = smithy_client_1.expectString(data.ContactId);
|
|
10409
10409
|
}
|
|
10410
10410
|
return Promise.resolve(contents);
|
|
10411
10411
|
};
|
|
@@ -12804,7 +12804,7 @@ const deserializeAws_restJson1ContactFlowNotPublishedExceptionResponse = async (
|
|
|
12804
12804
|
};
|
|
12805
12805
|
const data = parsedOutput.body;
|
|
12806
12806
|
if (data.Message !== undefined && data.Message !== null) {
|
|
12807
|
-
contents.Message =
|
|
12807
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
12808
12808
|
}
|
|
12809
12809
|
return contents;
|
|
12810
12810
|
};
|
|
@@ -12817,7 +12817,7 @@ const deserializeAws_restJson1ContactNotFoundExceptionResponse = async (parsedOu
|
|
|
12817
12817
|
};
|
|
12818
12818
|
const data = parsedOutput.body;
|
|
12819
12819
|
if (data.Message !== undefined && data.Message !== null) {
|
|
12820
|
-
contents.Message =
|
|
12820
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
12821
12821
|
}
|
|
12822
12822
|
return contents;
|
|
12823
12823
|
};
|
|
@@ -12830,7 +12830,7 @@ const deserializeAws_restJson1DestinationNotAllowedExceptionResponse = async (pa
|
|
|
12830
12830
|
};
|
|
12831
12831
|
const data = parsedOutput.body;
|
|
12832
12832
|
if (data.Message !== undefined && data.Message !== null) {
|
|
12833
|
-
contents.Message =
|
|
12833
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
12834
12834
|
}
|
|
12835
12835
|
return contents;
|
|
12836
12836
|
};
|
|
@@ -12843,7 +12843,7 @@ const deserializeAws_restJson1DuplicateResourceExceptionResponse = async (parsed
|
|
|
12843
12843
|
};
|
|
12844
12844
|
const data = parsedOutput.body;
|
|
12845
12845
|
if (data.Message !== undefined && data.Message !== null) {
|
|
12846
|
-
contents.Message =
|
|
12846
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
12847
12847
|
}
|
|
12848
12848
|
return contents;
|
|
12849
12849
|
};
|
|
@@ -12856,7 +12856,7 @@ const deserializeAws_restJson1InternalServiceExceptionResponse = async (parsedOu
|
|
|
12856
12856
|
};
|
|
12857
12857
|
const data = parsedOutput.body;
|
|
12858
12858
|
if (data.Message !== undefined && data.Message !== null) {
|
|
12859
|
-
contents.Message =
|
|
12859
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
12860
12860
|
}
|
|
12861
12861
|
return contents;
|
|
12862
12862
|
};
|
|
@@ -12882,7 +12882,7 @@ const deserializeAws_restJson1InvalidParameterExceptionResponse = async (parsedO
|
|
|
12882
12882
|
};
|
|
12883
12883
|
const data = parsedOutput.body;
|
|
12884
12884
|
if (data.Message !== undefined && data.Message !== null) {
|
|
12885
|
-
contents.Message =
|
|
12885
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
12886
12886
|
}
|
|
12887
12887
|
return contents;
|
|
12888
12888
|
};
|
|
@@ -12895,7 +12895,7 @@ const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOut
|
|
|
12895
12895
|
};
|
|
12896
12896
|
const data = parsedOutput.body;
|
|
12897
12897
|
if (data.Message !== undefined && data.Message !== null) {
|
|
12898
|
-
contents.Message =
|
|
12898
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
12899
12899
|
}
|
|
12900
12900
|
return contents;
|
|
12901
12901
|
};
|
|
@@ -12908,7 +12908,7 @@ const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutp
|
|
|
12908
12908
|
};
|
|
12909
12909
|
const data = parsedOutput.body;
|
|
12910
12910
|
if (data.Message !== undefined && data.Message !== null) {
|
|
12911
|
-
contents.Message =
|
|
12911
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
12912
12912
|
}
|
|
12913
12913
|
return contents;
|
|
12914
12914
|
};
|
|
@@ -12921,7 +12921,7 @@ const deserializeAws_restJson1OutboundContactNotPermittedExceptionResponse = asy
|
|
|
12921
12921
|
};
|
|
12922
12922
|
const data = parsedOutput.body;
|
|
12923
12923
|
if (data.Message !== undefined && data.Message !== null) {
|
|
12924
|
-
contents.Message =
|
|
12924
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
12925
12925
|
}
|
|
12926
12926
|
return contents;
|
|
12927
12927
|
};
|
|
@@ -12934,7 +12934,7 @@ const deserializeAws_restJson1ResourceConflictExceptionResponse = async (parsedO
|
|
|
12934
12934
|
};
|
|
12935
12935
|
const data = parsedOutput.body;
|
|
12936
12936
|
if (data.Message !== undefined && data.Message !== null) {
|
|
12937
|
-
contents.Message =
|
|
12937
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
12938
12938
|
}
|
|
12939
12939
|
return contents;
|
|
12940
12940
|
};
|
|
@@ -12949,13 +12949,13 @@ const deserializeAws_restJson1ResourceInUseExceptionResponse = async (parsedOutp
|
|
|
12949
12949
|
};
|
|
12950
12950
|
const data = parsedOutput.body;
|
|
12951
12951
|
if (data.Message !== undefined && data.Message !== null) {
|
|
12952
|
-
contents.Message =
|
|
12952
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
12953
12953
|
}
|
|
12954
12954
|
if (data.ResourceId !== undefined && data.ResourceId !== null) {
|
|
12955
|
-
contents.ResourceId =
|
|
12955
|
+
contents.ResourceId = smithy_client_1.expectString(data.ResourceId);
|
|
12956
12956
|
}
|
|
12957
12957
|
if (data.ResourceType !== undefined && data.ResourceType !== null) {
|
|
12958
|
-
contents.ResourceType =
|
|
12958
|
+
contents.ResourceType = smithy_client_1.expectString(data.ResourceType);
|
|
12959
12959
|
}
|
|
12960
12960
|
return contents;
|
|
12961
12961
|
};
|
|
@@ -12968,7 +12968,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
12968
12968
|
};
|
|
12969
12969
|
const data = parsedOutput.body;
|
|
12970
12970
|
if (data.Message !== undefined && data.Message !== null) {
|
|
12971
|
-
contents.Message =
|
|
12971
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
12972
12972
|
}
|
|
12973
12973
|
return contents;
|
|
12974
12974
|
};
|
|
@@ -12981,7 +12981,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
|
|
|
12981
12981
|
};
|
|
12982
12982
|
const data = parsedOutput.body;
|
|
12983
12983
|
if (data.Message !== undefined && data.Message !== null) {
|
|
12984
|
-
contents.Message =
|
|
12984
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
12985
12985
|
}
|
|
12986
12986
|
return contents;
|
|
12987
12987
|
};
|
|
@@ -12994,7 +12994,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
|
|
|
12994
12994
|
};
|
|
12995
12995
|
const data = parsedOutput.body;
|
|
12996
12996
|
if (data.Message !== undefined && data.Message !== null) {
|
|
12997
|
-
contents.Message =
|
|
12997
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
12998
12998
|
}
|
|
12999
12999
|
return contents;
|
|
13000
13000
|
};
|
|
@@ -13007,7 +13007,7 @@ const deserializeAws_restJson1UserNotFoundExceptionResponse = async (parsedOutpu
|
|
|
13007
13007
|
};
|
|
13008
13008
|
const data = parsedOutput.body;
|
|
13009
13009
|
if (data.Message !== undefined && data.Message !== null) {
|
|
13010
|
-
contents.Message =
|
|
13010
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
13011
13011
|
}
|
|
13012
13012
|
return contents;
|
|
13013
13013
|
};
|
|
@@ -13366,7 +13366,7 @@ const serializeAws_restJson1Threshold = (input, context) => {
|
|
|
13366
13366
|
return {
|
|
13367
13367
|
...(input.Comparison !== undefined && input.Comparison !== null && { Comparison: input.Comparison }),
|
|
13368
13368
|
...(input.ThresholdValue !== undefined &&
|
|
13369
|
-
input.ThresholdValue !== null && { ThresholdValue:
|
|
13369
|
+
input.ThresholdValue !== null && { ThresholdValue: smithy_client_1.serializeFloat(input.ThresholdValue) }),
|
|
13370
13370
|
};
|
|
13371
13371
|
};
|
|
13372
13372
|
const serializeAws_restJson1UserIdentityInfo = (input, context) => {
|
|
@@ -13400,24 +13400,24 @@ const serializeAws_restJson1VoiceRecordingConfiguration = (input, context) => {
|
|
|
13400
13400
|
};
|
|
13401
13401
|
const deserializeAws_restJson1AgentStatus = (output, context) => {
|
|
13402
13402
|
return {
|
|
13403
|
-
AgentStatusARN:
|
|
13404
|
-
AgentStatusId:
|
|
13405
|
-
Description:
|
|
13406
|
-
DisplayOrder:
|
|
13407
|
-
Name:
|
|
13408
|
-
State:
|
|
13403
|
+
AgentStatusARN: smithy_client_1.expectString(output.AgentStatusARN),
|
|
13404
|
+
AgentStatusId: smithy_client_1.expectString(output.AgentStatusId),
|
|
13405
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
13406
|
+
DisplayOrder: smithy_client_1.expectInt32(output.DisplayOrder),
|
|
13407
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
13408
|
+
State: smithy_client_1.expectString(output.State),
|
|
13409
13409
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
13410
13410
|
? deserializeAws_restJson1TagMap(output.Tags, context)
|
|
13411
13411
|
: undefined,
|
|
13412
|
-
Type:
|
|
13412
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
13413
13413
|
};
|
|
13414
13414
|
};
|
|
13415
13415
|
const deserializeAws_restJson1AgentStatusSummary = (output, context) => {
|
|
13416
13416
|
return {
|
|
13417
|
-
Arn:
|
|
13418
|
-
Id:
|
|
13419
|
-
Name:
|
|
13420
|
-
Type:
|
|
13417
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
13418
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
13419
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
13420
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
13421
13421
|
};
|
|
13422
13422
|
};
|
|
13423
13423
|
const deserializeAws_restJson1AgentStatusSummaryList = (output, context) => {
|
|
@@ -13432,8 +13432,8 @@ const deserializeAws_restJson1AgentStatusSummaryList = (output, context) => {
|
|
|
13432
13432
|
};
|
|
13433
13433
|
const deserializeAws_restJson1Attribute = (output, context) => {
|
|
13434
13434
|
return {
|
|
13435
|
-
AttributeType:
|
|
13436
|
-
Value:
|
|
13435
|
+
AttributeType: smithy_client_1.expectString(output.AttributeType),
|
|
13436
|
+
Value: smithy_client_1.expectString(output.Value),
|
|
13437
13437
|
};
|
|
13438
13438
|
};
|
|
13439
13439
|
const deserializeAws_restJson1Attributes = (output, context) => {
|
|
@@ -13443,7 +13443,7 @@ const deserializeAws_restJson1Attributes = (output, context) => {
|
|
|
13443
13443
|
}
|
|
13444
13444
|
return {
|
|
13445
13445
|
...acc,
|
|
13446
|
-
[key]:
|
|
13446
|
+
[key]: smithy_client_1.expectString(value),
|
|
13447
13447
|
};
|
|
13448
13448
|
}, {});
|
|
13449
13449
|
};
|
|
@@ -13459,23 +13459,23 @@ const deserializeAws_restJson1AttributesList = (output, context) => {
|
|
|
13459
13459
|
};
|
|
13460
13460
|
const deserializeAws_restJson1ContactFlow = (output, context) => {
|
|
13461
13461
|
return {
|
|
13462
|
-
Arn:
|
|
13463
|
-
Content:
|
|
13464
|
-
Description:
|
|
13465
|
-
Id:
|
|
13466
|
-
Name:
|
|
13462
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
13463
|
+
Content: smithy_client_1.expectString(output.Content),
|
|
13464
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
13465
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
13466
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
13467
13467
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
13468
13468
|
? deserializeAws_restJson1TagMap(output.Tags, context)
|
|
13469
13469
|
: undefined,
|
|
13470
|
-
Type:
|
|
13470
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
13471
13471
|
};
|
|
13472
13472
|
};
|
|
13473
13473
|
const deserializeAws_restJson1ContactFlowSummary = (output, context) => {
|
|
13474
13474
|
return {
|
|
13475
|
-
Arn:
|
|
13476
|
-
ContactFlowType:
|
|
13477
|
-
Id:
|
|
13478
|
-
Name:
|
|
13475
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
13476
|
+
ContactFlowType: smithy_client_1.expectString(output.ContactFlowType),
|
|
13477
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
13478
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
13479
13479
|
};
|
|
13480
13480
|
};
|
|
13481
13481
|
const deserializeAws_restJson1ContactFlowSummaryList = (output, context) => {
|
|
@@ -13490,20 +13490,20 @@ const deserializeAws_restJson1ContactFlowSummaryList = (output, context) => {
|
|
|
13490
13490
|
};
|
|
13491
13491
|
const deserializeAws_restJson1Credentials = (output, context) => {
|
|
13492
13492
|
return {
|
|
13493
|
-
AccessToken:
|
|
13493
|
+
AccessToken: smithy_client_1.expectString(output.AccessToken),
|
|
13494
13494
|
AccessTokenExpiration: output.AccessTokenExpiration !== undefined && output.AccessTokenExpiration !== null
|
|
13495
|
-
?
|
|
13495
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.AccessTokenExpiration)))
|
|
13496
13496
|
: undefined,
|
|
13497
|
-
RefreshToken:
|
|
13497
|
+
RefreshToken: smithy_client_1.expectString(output.RefreshToken),
|
|
13498
13498
|
RefreshTokenExpiration: output.RefreshTokenExpiration !== undefined && output.RefreshTokenExpiration !== null
|
|
13499
|
-
?
|
|
13499
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.RefreshTokenExpiration)))
|
|
13500
13500
|
: undefined,
|
|
13501
13501
|
};
|
|
13502
13502
|
};
|
|
13503
13503
|
const deserializeAws_restJson1CurrentMetric = (output, context) => {
|
|
13504
13504
|
return {
|
|
13505
|
-
Name:
|
|
13506
|
-
Unit:
|
|
13505
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
13506
|
+
Unit: smithy_client_1.expectString(output.Unit),
|
|
13507
13507
|
};
|
|
13508
13508
|
};
|
|
13509
13509
|
const deserializeAws_restJson1CurrentMetricData = (output, context) => {
|
|
@@ -13511,7 +13511,7 @@ const deserializeAws_restJson1CurrentMetricData = (output, context) => {
|
|
|
13511
13511
|
Metric: output.Metric !== undefined && output.Metric !== null
|
|
13512
13512
|
? deserializeAws_restJson1CurrentMetric(output.Metric, context)
|
|
13513
13513
|
: undefined,
|
|
13514
|
-
Value:
|
|
13514
|
+
Value: smithy_client_1.limitedParseDouble(output.Value),
|
|
13515
13515
|
};
|
|
13516
13516
|
};
|
|
13517
13517
|
const deserializeAws_restJson1CurrentMetricDataCollections = (output, context) => {
|
|
@@ -13546,7 +13546,7 @@ const deserializeAws_restJson1CurrentMetricResults = (output, context) => {
|
|
|
13546
13546
|
};
|
|
13547
13547
|
const deserializeAws_restJson1Dimensions = (output, context) => {
|
|
13548
13548
|
return {
|
|
13549
|
-
Channel:
|
|
13549
|
+
Channel: smithy_client_1.expectString(output.Channel),
|
|
13550
13550
|
Queue: output.Queue !== undefined && output.Queue !== null
|
|
13551
13551
|
? deserializeAws_restJson1QueueReference(output.Queue, context)
|
|
13552
13552
|
: undefined,
|
|
@@ -13554,8 +13554,8 @@ const deserializeAws_restJson1Dimensions = (output, context) => {
|
|
|
13554
13554
|
};
|
|
13555
13555
|
const deserializeAws_restJson1EncryptionConfig = (output, context) => {
|
|
13556
13556
|
return {
|
|
13557
|
-
EncryptionType:
|
|
13558
|
-
KeyId:
|
|
13557
|
+
EncryptionType: smithy_client_1.expectString(output.EncryptionType),
|
|
13558
|
+
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
13559
13559
|
};
|
|
13560
13560
|
};
|
|
13561
13561
|
const deserializeAws_restJson1FunctionArnsList = (output, context) => {
|
|
@@ -13565,25 +13565,25 @@ const deserializeAws_restJson1FunctionArnsList = (output, context) => {
|
|
|
13565
13565
|
if (entry === null) {
|
|
13566
13566
|
return null;
|
|
13567
13567
|
}
|
|
13568
|
-
return
|
|
13568
|
+
return smithy_client_1.expectString(entry);
|
|
13569
13569
|
});
|
|
13570
13570
|
};
|
|
13571
13571
|
const deserializeAws_restJson1HierarchyGroup = (output, context) => {
|
|
13572
13572
|
return {
|
|
13573
|
-
Arn:
|
|
13573
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
13574
13574
|
HierarchyPath: output.HierarchyPath !== undefined && output.HierarchyPath !== null
|
|
13575
13575
|
? deserializeAws_restJson1HierarchyPath(output.HierarchyPath, context)
|
|
13576
13576
|
: undefined,
|
|
13577
|
-
Id:
|
|
13578
|
-
LevelId:
|
|
13579
|
-
Name:
|
|
13577
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
13578
|
+
LevelId: smithy_client_1.expectString(output.LevelId),
|
|
13579
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
13580
13580
|
};
|
|
13581
13581
|
};
|
|
13582
13582
|
const deserializeAws_restJson1HierarchyGroupSummary = (output, context) => {
|
|
13583
13583
|
return {
|
|
13584
|
-
Arn:
|
|
13585
|
-
Id:
|
|
13586
|
-
Name:
|
|
13584
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
13585
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
13586
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
13587
13587
|
};
|
|
13588
13588
|
};
|
|
13589
13589
|
const deserializeAws_restJson1HierarchyGroupSummaryList = (output, context) => {
|
|
@@ -13598,9 +13598,9 @@ const deserializeAws_restJson1HierarchyGroupSummaryList = (output, context) => {
|
|
|
13598
13598
|
};
|
|
13599
13599
|
const deserializeAws_restJson1HierarchyLevel = (output, context) => {
|
|
13600
13600
|
return {
|
|
13601
|
-
Arn:
|
|
13602
|
-
Id:
|
|
13603
|
-
Name:
|
|
13601
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
13602
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
13603
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
13604
13604
|
};
|
|
13605
13605
|
};
|
|
13606
13606
|
const deserializeAws_restJson1HierarchyPath = (output, context) => {
|
|
@@ -13643,12 +13643,12 @@ const deserializeAws_restJson1HierarchyStructure = (output, context) => {
|
|
|
13643
13643
|
};
|
|
13644
13644
|
const deserializeAws_restJson1HistoricalMetric = (output, context) => {
|
|
13645
13645
|
return {
|
|
13646
|
-
Name:
|
|
13647
|
-
Statistic:
|
|
13646
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
13647
|
+
Statistic: smithy_client_1.expectString(output.Statistic),
|
|
13648
13648
|
Threshold: output.Threshold !== undefined && output.Threshold !== null
|
|
13649
13649
|
? deserializeAws_restJson1Threshold(output.Threshold, context)
|
|
13650
13650
|
: undefined,
|
|
13651
|
-
Unit:
|
|
13651
|
+
Unit: smithy_client_1.expectString(output.Unit),
|
|
13652
13652
|
};
|
|
13653
13653
|
};
|
|
13654
13654
|
const deserializeAws_restJson1HistoricalMetricData = (output, context) => {
|
|
@@ -13656,7 +13656,7 @@ const deserializeAws_restJson1HistoricalMetricData = (output, context) => {
|
|
|
13656
13656
|
Metric: output.Metric !== undefined && output.Metric !== null
|
|
13657
13657
|
? deserializeAws_restJson1HistoricalMetric(output.Metric, context)
|
|
13658
13658
|
: undefined,
|
|
13659
|
-
Value:
|
|
13659
|
+
Value: smithy_client_1.limitedParseDouble(output.Value),
|
|
13660
13660
|
};
|
|
13661
13661
|
};
|
|
13662
13662
|
const deserializeAws_restJson1HistoricalMetricDataCollections = (output, context) => {
|
|
@@ -13694,19 +13694,19 @@ const deserializeAws_restJson1HoursOfOperation = (output, context) => {
|
|
|
13694
13694
|
Config: output.Config !== undefined && output.Config !== null
|
|
13695
13695
|
? deserializeAws_restJson1HoursOfOperationConfigList(output.Config, context)
|
|
13696
13696
|
: undefined,
|
|
13697
|
-
Description:
|
|
13698
|
-
HoursOfOperationArn:
|
|
13699
|
-
HoursOfOperationId:
|
|
13700
|
-
Name:
|
|
13697
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
13698
|
+
HoursOfOperationArn: smithy_client_1.expectString(output.HoursOfOperationArn),
|
|
13699
|
+
HoursOfOperationId: smithy_client_1.expectString(output.HoursOfOperationId),
|
|
13700
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
13701
13701
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
13702
13702
|
? deserializeAws_restJson1TagMap(output.Tags, context)
|
|
13703
13703
|
: undefined,
|
|
13704
|
-
TimeZone:
|
|
13704
|
+
TimeZone: smithy_client_1.expectString(output.TimeZone),
|
|
13705
13705
|
};
|
|
13706
13706
|
};
|
|
13707
13707
|
const deserializeAws_restJson1HoursOfOperationConfig = (output, context) => {
|
|
13708
13708
|
return {
|
|
13709
|
-
Day:
|
|
13709
|
+
Day: smithy_client_1.expectString(output.Day),
|
|
13710
13710
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
13711
13711
|
? deserializeAws_restJson1HoursOfOperationTimeSlice(output.EndTime, context)
|
|
13712
13712
|
: undefined,
|
|
@@ -13727,9 +13727,9 @@ const deserializeAws_restJson1HoursOfOperationConfigList = (output, context) =>
|
|
|
13727
13727
|
};
|
|
13728
13728
|
const deserializeAws_restJson1HoursOfOperationSummary = (output, context) => {
|
|
13729
13729
|
return {
|
|
13730
|
-
Arn:
|
|
13731
|
-
Id:
|
|
13732
|
-
Name:
|
|
13730
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
13731
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
13732
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
13733
13733
|
};
|
|
13734
13734
|
};
|
|
13735
13735
|
const deserializeAws_restJson1HoursOfOperationSummaryList = (output, context) => {
|
|
@@ -13744,23 +13744,23 @@ const deserializeAws_restJson1HoursOfOperationSummaryList = (output, context) =>
|
|
|
13744
13744
|
};
|
|
13745
13745
|
const deserializeAws_restJson1HoursOfOperationTimeSlice = (output, context) => {
|
|
13746
13746
|
return {
|
|
13747
|
-
Hours:
|
|
13748
|
-
Minutes:
|
|
13747
|
+
Hours: smithy_client_1.expectInt32(output.Hours),
|
|
13748
|
+
Minutes: smithy_client_1.expectInt32(output.Minutes),
|
|
13749
13749
|
};
|
|
13750
13750
|
};
|
|
13751
13751
|
const deserializeAws_restJson1Instance = (output, context) => {
|
|
13752
13752
|
return {
|
|
13753
|
-
Arn:
|
|
13753
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
13754
13754
|
CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
13755
|
-
?
|
|
13755
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
|
|
13756
13756
|
: undefined,
|
|
13757
|
-
Id:
|
|
13758
|
-
IdentityManagementType:
|
|
13759
|
-
InboundCallsEnabled:
|
|
13760
|
-
InstanceAlias:
|
|
13761
|
-
InstanceStatus:
|
|
13762
|
-
OutboundCallsEnabled:
|
|
13763
|
-
ServiceRole:
|
|
13757
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
13758
|
+
IdentityManagementType: smithy_client_1.expectString(output.IdentityManagementType),
|
|
13759
|
+
InboundCallsEnabled: smithy_client_1.expectBoolean(output.InboundCallsEnabled),
|
|
13760
|
+
InstanceAlias: smithy_client_1.expectString(output.InstanceAlias),
|
|
13761
|
+
InstanceStatus: smithy_client_1.expectString(output.InstanceStatus),
|
|
13762
|
+
OutboundCallsEnabled: smithy_client_1.expectBoolean(output.OutboundCallsEnabled),
|
|
13763
|
+
ServiceRole: smithy_client_1.expectString(output.ServiceRole),
|
|
13764
13764
|
StatusReason: output.StatusReason !== undefined && output.StatusReason !== null
|
|
13765
13765
|
? deserializeAws_restJson1InstanceStatusReason(output.StatusReason, context)
|
|
13766
13766
|
: undefined,
|
|
@@ -13768,12 +13768,12 @@ const deserializeAws_restJson1Instance = (output, context) => {
|
|
|
13768
13768
|
};
|
|
13769
13769
|
const deserializeAws_restJson1InstanceStatusReason = (output, context) => {
|
|
13770
13770
|
return {
|
|
13771
|
-
Message:
|
|
13771
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
13772
13772
|
};
|
|
13773
13773
|
};
|
|
13774
13774
|
const deserializeAws_restJson1InstanceStorageConfig = (output, context) => {
|
|
13775
13775
|
return {
|
|
13776
|
-
AssociationId:
|
|
13776
|
+
AssociationId: smithy_client_1.expectString(output.AssociationId),
|
|
13777
13777
|
KinesisFirehoseConfig: output.KinesisFirehoseConfig !== undefined && output.KinesisFirehoseConfig !== null
|
|
13778
13778
|
? deserializeAws_restJson1KinesisFirehoseConfig(output.KinesisFirehoseConfig, context)
|
|
13779
13779
|
: undefined,
|
|
@@ -13786,7 +13786,7 @@ const deserializeAws_restJson1InstanceStorageConfig = (output, context) => {
|
|
|
13786
13786
|
S3Config: output.S3Config !== undefined && output.S3Config !== null
|
|
13787
13787
|
? deserializeAws_restJson1S3Config(output.S3Config, context)
|
|
13788
13788
|
: undefined,
|
|
13789
|
-
StorageType:
|
|
13789
|
+
StorageType: smithy_client_1.expectString(output.StorageType),
|
|
13790
13790
|
};
|
|
13791
13791
|
};
|
|
13792
13792
|
const deserializeAws_restJson1InstanceStorageConfigs = (output, context) => {
|
|
@@ -13801,17 +13801,17 @@ const deserializeAws_restJson1InstanceStorageConfigs = (output, context) => {
|
|
|
13801
13801
|
};
|
|
13802
13802
|
const deserializeAws_restJson1InstanceSummary = (output, context) => {
|
|
13803
13803
|
return {
|
|
13804
|
-
Arn:
|
|
13804
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
13805
13805
|
CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
13806
|
-
?
|
|
13806
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
|
|
13807
13807
|
: undefined,
|
|
13808
|
-
Id:
|
|
13809
|
-
IdentityManagementType:
|
|
13810
|
-
InboundCallsEnabled:
|
|
13811
|
-
InstanceAlias:
|
|
13812
|
-
InstanceStatus:
|
|
13813
|
-
OutboundCallsEnabled:
|
|
13814
|
-
ServiceRole:
|
|
13808
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
13809
|
+
IdentityManagementType: smithy_client_1.expectString(output.IdentityManagementType),
|
|
13810
|
+
InboundCallsEnabled: smithy_client_1.expectBoolean(output.InboundCallsEnabled),
|
|
13811
|
+
InstanceAlias: smithy_client_1.expectString(output.InstanceAlias),
|
|
13812
|
+
InstanceStatus: smithy_client_1.expectString(output.InstanceStatus),
|
|
13813
|
+
OutboundCallsEnabled: smithy_client_1.expectBoolean(output.OutboundCallsEnabled),
|
|
13814
|
+
ServiceRole: smithy_client_1.expectString(output.ServiceRole),
|
|
13815
13815
|
};
|
|
13816
13816
|
};
|
|
13817
13817
|
const deserializeAws_restJson1InstanceSummaryList = (output, context) => {
|
|
@@ -13826,14 +13826,14 @@ const deserializeAws_restJson1InstanceSummaryList = (output, context) => {
|
|
|
13826
13826
|
};
|
|
13827
13827
|
const deserializeAws_restJson1IntegrationAssociationSummary = (output, context) => {
|
|
13828
13828
|
return {
|
|
13829
|
-
InstanceId:
|
|
13830
|
-
IntegrationArn:
|
|
13831
|
-
IntegrationAssociationArn:
|
|
13832
|
-
IntegrationAssociationId:
|
|
13833
|
-
IntegrationType:
|
|
13834
|
-
SourceApplicationName:
|
|
13835
|
-
SourceApplicationUrl:
|
|
13836
|
-
SourceType:
|
|
13829
|
+
InstanceId: smithy_client_1.expectString(output.InstanceId),
|
|
13830
|
+
IntegrationArn: smithy_client_1.expectString(output.IntegrationArn),
|
|
13831
|
+
IntegrationAssociationArn: smithy_client_1.expectString(output.IntegrationAssociationArn),
|
|
13832
|
+
IntegrationAssociationId: smithy_client_1.expectString(output.IntegrationAssociationId),
|
|
13833
|
+
IntegrationType: smithy_client_1.expectString(output.IntegrationType),
|
|
13834
|
+
SourceApplicationName: smithy_client_1.expectString(output.SourceApplicationName),
|
|
13835
|
+
SourceApplicationUrl: smithy_client_1.expectString(output.SourceApplicationUrl),
|
|
13836
|
+
SourceType: smithy_client_1.expectString(output.SourceType),
|
|
13837
13837
|
};
|
|
13838
13838
|
};
|
|
13839
13839
|
const deserializeAws_restJson1IntegrationAssociationSummaryList = (output, context) => {
|
|
@@ -13848,12 +13848,12 @@ const deserializeAws_restJson1IntegrationAssociationSummaryList = (output, conte
|
|
|
13848
13848
|
};
|
|
13849
13849
|
const deserializeAws_restJson1KinesisFirehoseConfig = (output, context) => {
|
|
13850
13850
|
return {
|
|
13851
|
-
FirehoseArn:
|
|
13851
|
+
FirehoseArn: smithy_client_1.expectString(output.FirehoseArn),
|
|
13852
13852
|
};
|
|
13853
13853
|
};
|
|
13854
13854
|
const deserializeAws_restJson1KinesisStreamConfig = (output, context) => {
|
|
13855
13855
|
return {
|
|
13856
|
-
StreamArn:
|
|
13856
|
+
StreamArn: smithy_client_1.expectString(output.StreamArn),
|
|
13857
13857
|
};
|
|
13858
13858
|
};
|
|
13859
13859
|
const deserializeAws_restJson1KinesisVideoStreamConfig = (output, context) => {
|
|
@@ -13861,14 +13861,14 @@ const deserializeAws_restJson1KinesisVideoStreamConfig = (output, context) => {
|
|
|
13861
13861
|
EncryptionConfig: output.EncryptionConfig !== undefined && output.EncryptionConfig !== null
|
|
13862
13862
|
? deserializeAws_restJson1EncryptionConfig(output.EncryptionConfig, context)
|
|
13863
13863
|
: undefined,
|
|
13864
|
-
Prefix:
|
|
13865
|
-
RetentionPeriodHours:
|
|
13864
|
+
Prefix: smithy_client_1.expectString(output.Prefix),
|
|
13865
|
+
RetentionPeriodHours: smithy_client_1.expectInt32(output.RetentionPeriodHours),
|
|
13866
13866
|
};
|
|
13867
13867
|
};
|
|
13868
13868
|
const deserializeAws_restJson1LexBot = (output, context) => {
|
|
13869
13869
|
return {
|
|
13870
|
-
LexRegion:
|
|
13871
|
-
Name:
|
|
13870
|
+
LexRegion: smithy_client_1.expectString(output.LexRegion),
|
|
13871
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
13872
13872
|
};
|
|
13873
13873
|
};
|
|
13874
13874
|
const deserializeAws_restJson1LexBotConfig = (output, context) => {
|
|
@@ -13903,7 +13903,7 @@ const deserializeAws_restJson1LexBotsList = (output, context) => {
|
|
|
13903
13903
|
};
|
|
13904
13904
|
const deserializeAws_restJson1LexV2Bot = (output, context) => {
|
|
13905
13905
|
return {
|
|
13906
|
-
AliasArn:
|
|
13906
|
+
AliasArn: smithy_client_1.expectString(output.AliasArn),
|
|
13907
13907
|
};
|
|
13908
13908
|
};
|
|
13909
13909
|
const deserializeAws_restJson1MediaConcurrencies = (output, context) => {
|
|
@@ -13918,8 +13918,8 @@ const deserializeAws_restJson1MediaConcurrencies = (output, context) => {
|
|
|
13918
13918
|
};
|
|
13919
13919
|
const deserializeAws_restJson1MediaConcurrency = (output, context) => {
|
|
13920
13920
|
return {
|
|
13921
|
-
Channel:
|
|
13922
|
-
Concurrency:
|
|
13921
|
+
Channel: smithy_client_1.expectString(output.Channel),
|
|
13922
|
+
Concurrency: smithy_client_1.expectInt32(output.Concurrency),
|
|
13923
13923
|
};
|
|
13924
13924
|
};
|
|
13925
13925
|
const deserializeAws_restJson1OriginsList = (output, context) => {
|
|
@@ -13929,28 +13929,28 @@ const deserializeAws_restJson1OriginsList = (output, context) => {
|
|
|
13929
13929
|
if (entry === null) {
|
|
13930
13930
|
return null;
|
|
13931
13931
|
}
|
|
13932
|
-
return
|
|
13932
|
+
return smithy_client_1.expectString(entry);
|
|
13933
13933
|
});
|
|
13934
13934
|
};
|
|
13935
13935
|
const deserializeAws_restJson1OutboundCallerConfig = (output, context) => {
|
|
13936
13936
|
return {
|
|
13937
|
-
OutboundCallerIdName:
|
|
13938
|
-
OutboundCallerIdNumberId:
|
|
13939
|
-
OutboundFlowId:
|
|
13937
|
+
OutboundCallerIdName: smithy_client_1.expectString(output.OutboundCallerIdName),
|
|
13938
|
+
OutboundCallerIdNumberId: smithy_client_1.expectString(output.OutboundCallerIdNumberId),
|
|
13939
|
+
OutboundFlowId: smithy_client_1.expectString(output.OutboundFlowId),
|
|
13940
13940
|
};
|
|
13941
13941
|
};
|
|
13942
13942
|
const deserializeAws_restJson1PhoneNumberQuickConnectConfig = (output, context) => {
|
|
13943
13943
|
return {
|
|
13944
|
-
PhoneNumber:
|
|
13944
|
+
PhoneNumber: smithy_client_1.expectString(output.PhoneNumber),
|
|
13945
13945
|
};
|
|
13946
13946
|
};
|
|
13947
13947
|
const deserializeAws_restJson1PhoneNumberSummary = (output, context) => {
|
|
13948
13948
|
return {
|
|
13949
|
-
Arn:
|
|
13950
|
-
Id:
|
|
13951
|
-
PhoneNumber:
|
|
13952
|
-
PhoneNumberCountryCode:
|
|
13953
|
-
PhoneNumberType:
|
|
13949
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
13950
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
13951
|
+
PhoneNumber: smithy_client_1.expectString(output.PhoneNumber),
|
|
13952
|
+
PhoneNumberCountryCode: smithy_client_1.expectString(output.PhoneNumberCountryCode),
|
|
13953
|
+
PhoneNumberType: smithy_client_1.expectString(output.PhoneNumberType),
|
|
13954
13954
|
};
|
|
13955
13955
|
};
|
|
13956
13956
|
const deserializeAws_restJson1PhoneNumberSummaryList = (output, context) => {
|
|
@@ -13965,7 +13965,7 @@ const deserializeAws_restJson1PhoneNumberSummaryList = (output, context) => {
|
|
|
13965
13965
|
};
|
|
13966
13966
|
const deserializeAws_restJson1ProblemDetail = (output, context) => {
|
|
13967
13967
|
return {
|
|
13968
|
-
message:
|
|
13968
|
+
message: smithy_client_1.expectString(output.message),
|
|
13969
13969
|
};
|
|
13970
13970
|
};
|
|
13971
13971
|
const deserializeAws_restJson1Problems = (output, context) => {
|
|
@@ -13980,9 +13980,9 @@ const deserializeAws_restJson1Problems = (output, context) => {
|
|
|
13980
13980
|
};
|
|
13981
13981
|
const deserializeAws_restJson1PromptSummary = (output, context) => {
|
|
13982
13982
|
return {
|
|
13983
|
-
Arn:
|
|
13984
|
-
Id:
|
|
13985
|
-
Name:
|
|
13983
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
13984
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
13985
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
13986
13986
|
};
|
|
13987
13987
|
};
|
|
13988
13988
|
const deserializeAws_restJson1PromptSummaryList = (output, context) => {
|
|
@@ -13997,16 +13997,16 @@ const deserializeAws_restJson1PromptSummaryList = (output, context) => {
|
|
|
13997
13997
|
};
|
|
13998
13998
|
const deserializeAws_restJson1Queue = (output, context) => {
|
|
13999
13999
|
return {
|
|
14000
|
-
Description:
|
|
14001
|
-
HoursOfOperationId:
|
|
14002
|
-
MaxContacts:
|
|
14003
|
-
Name:
|
|
14000
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
14001
|
+
HoursOfOperationId: smithy_client_1.expectString(output.HoursOfOperationId),
|
|
14002
|
+
MaxContacts: smithy_client_1.expectInt32(output.MaxContacts),
|
|
14003
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
14004
14004
|
OutboundCallerConfig: output.OutboundCallerConfig !== undefined && output.OutboundCallerConfig !== null
|
|
14005
14005
|
? deserializeAws_restJson1OutboundCallerConfig(output.OutboundCallerConfig, context)
|
|
14006
14006
|
: undefined,
|
|
14007
|
-
QueueArn:
|
|
14008
|
-
QueueId:
|
|
14009
|
-
Status:
|
|
14007
|
+
QueueArn: smithy_client_1.expectString(output.QueueArn),
|
|
14008
|
+
QueueId: smithy_client_1.expectString(output.QueueId),
|
|
14009
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
14010
14010
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
14011
14011
|
? deserializeAws_restJson1TagMap(output.Tags, context)
|
|
14012
14012
|
: undefined,
|
|
@@ -14014,22 +14014,22 @@ const deserializeAws_restJson1Queue = (output, context) => {
|
|
|
14014
14014
|
};
|
|
14015
14015
|
const deserializeAws_restJson1QueueQuickConnectConfig = (output, context) => {
|
|
14016
14016
|
return {
|
|
14017
|
-
ContactFlowId:
|
|
14018
|
-
QueueId:
|
|
14017
|
+
ContactFlowId: smithy_client_1.expectString(output.ContactFlowId),
|
|
14018
|
+
QueueId: smithy_client_1.expectString(output.QueueId),
|
|
14019
14019
|
};
|
|
14020
14020
|
};
|
|
14021
14021
|
const deserializeAws_restJson1QueueReference = (output, context) => {
|
|
14022
14022
|
return {
|
|
14023
|
-
Arn:
|
|
14024
|
-
Id:
|
|
14023
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
14024
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
14025
14025
|
};
|
|
14026
14026
|
};
|
|
14027
14027
|
const deserializeAws_restJson1QueueSummary = (output, context) => {
|
|
14028
14028
|
return {
|
|
14029
|
-
Arn:
|
|
14030
|
-
Id:
|
|
14031
|
-
Name:
|
|
14032
|
-
QueueType:
|
|
14029
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
14030
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
14031
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
14032
|
+
QueueType: smithy_client_1.expectString(output.QueueType),
|
|
14033
14033
|
};
|
|
14034
14034
|
};
|
|
14035
14035
|
const deserializeAws_restJson1QueueSummaryList = (output, context) => {
|
|
@@ -14044,13 +14044,13 @@ const deserializeAws_restJson1QueueSummaryList = (output, context) => {
|
|
|
14044
14044
|
};
|
|
14045
14045
|
const deserializeAws_restJson1QuickConnect = (output, context) => {
|
|
14046
14046
|
return {
|
|
14047
|
-
Description:
|
|
14048
|
-
Name:
|
|
14049
|
-
QuickConnectARN:
|
|
14047
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
14048
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
14049
|
+
QuickConnectARN: smithy_client_1.expectString(output.QuickConnectARN),
|
|
14050
14050
|
QuickConnectConfig: output.QuickConnectConfig !== undefined && output.QuickConnectConfig !== null
|
|
14051
14051
|
? deserializeAws_restJson1QuickConnectConfig(output.QuickConnectConfig, context)
|
|
14052
14052
|
: undefined,
|
|
14053
|
-
QuickConnectId:
|
|
14053
|
+
QuickConnectId: smithy_client_1.expectString(output.QuickConnectId),
|
|
14054
14054
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
14055
14055
|
? deserializeAws_restJson1TagMap(output.Tags, context)
|
|
14056
14056
|
: undefined,
|
|
@@ -14064,7 +14064,7 @@ const deserializeAws_restJson1QuickConnectConfig = (output, context) => {
|
|
|
14064
14064
|
QueueConfig: output.QueueConfig !== undefined && output.QueueConfig !== null
|
|
14065
14065
|
? deserializeAws_restJson1QueueQuickConnectConfig(output.QueueConfig, context)
|
|
14066
14066
|
: undefined,
|
|
14067
|
-
QuickConnectType:
|
|
14067
|
+
QuickConnectType: smithy_client_1.expectString(output.QuickConnectType),
|
|
14068
14068
|
UserConfig: output.UserConfig !== undefined && output.UserConfig !== null
|
|
14069
14069
|
? deserializeAws_restJson1UserQuickConnectConfig(output.UserConfig, context)
|
|
14070
14070
|
: undefined,
|
|
@@ -14072,10 +14072,10 @@ const deserializeAws_restJson1QuickConnectConfig = (output, context) => {
|
|
|
14072
14072
|
};
|
|
14073
14073
|
const deserializeAws_restJson1QuickConnectSummary = (output, context) => {
|
|
14074
14074
|
return {
|
|
14075
|
-
Arn:
|
|
14076
|
-
Id:
|
|
14077
|
-
Name:
|
|
14078
|
-
QuickConnectType:
|
|
14075
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
14076
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
14077
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
14078
|
+
QuickConnectType: smithy_client_1.expectString(output.QuickConnectType),
|
|
14079
14079
|
};
|
|
14080
14080
|
};
|
|
14081
14081
|
const deserializeAws_restJson1QuickConnectSummaryList = (output, context) => {
|
|
@@ -14090,15 +14090,15 @@ const deserializeAws_restJson1QuickConnectSummaryList = (output, context) => {
|
|
|
14090
14090
|
};
|
|
14091
14091
|
const deserializeAws_restJson1RoutingProfile = (output, context) => {
|
|
14092
14092
|
return {
|
|
14093
|
-
DefaultOutboundQueueId:
|
|
14094
|
-
Description:
|
|
14095
|
-
InstanceId:
|
|
14093
|
+
DefaultOutboundQueueId: smithy_client_1.expectString(output.DefaultOutboundQueueId),
|
|
14094
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
14095
|
+
InstanceId: smithy_client_1.expectString(output.InstanceId),
|
|
14096
14096
|
MediaConcurrencies: output.MediaConcurrencies !== undefined && output.MediaConcurrencies !== null
|
|
14097
14097
|
? deserializeAws_restJson1MediaConcurrencies(output.MediaConcurrencies, context)
|
|
14098
14098
|
: undefined,
|
|
14099
|
-
Name:
|
|
14100
|
-
RoutingProfileArn:
|
|
14101
|
-
RoutingProfileId:
|
|
14099
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
14100
|
+
RoutingProfileArn: smithy_client_1.expectString(output.RoutingProfileArn),
|
|
14101
|
+
RoutingProfileId: smithy_client_1.expectString(output.RoutingProfileId),
|
|
14102
14102
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
14103
14103
|
? deserializeAws_restJson1TagMap(output.Tags, context)
|
|
14104
14104
|
: undefined,
|
|
@@ -14106,12 +14106,12 @@ const deserializeAws_restJson1RoutingProfile = (output, context) => {
|
|
|
14106
14106
|
};
|
|
14107
14107
|
const deserializeAws_restJson1RoutingProfileQueueConfigSummary = (output, context) => {
|
|
14108
14108
|
return {
|
|
14109
|
-
Channel:
|
|
14110
|
-
Delay:
|
|
14111
|
-
Priority:
|
|
14112
|
-
QueueArn:
|
|
14113
|
-
QueueId:
|
|
14114
|
-
QueueName:
|
|
14109
|
+
Channel: smithy_client_1.expectString(output.Channel),
|
|
14110
|
+
Delay: smithy_client_1.expectInt32(output.Delay),
|
|
14111
|
+
Priority: smithy_client_1.expectInt32(output.Priority),
|
|
14112
|
+
QueueArn: smithy_client_1.expectString(output.QueueArn),
|
|
14113
|
+
QueueId: smithy_client_1.expectString(output.QueueId),
|
|
14114
|
+
QueueName: smithy_client_1.expectString(output.QueueName),
|
|
14115
14115
|
};
|
|
14116
14116
|
};
|
|
14117
14117
|
const deserializeAws_restJson1RoutingProfileQueueConfigSummaryList = (output, context) => {
|
|
@@ -14126,9 +14126,9 @@ const deserializeAws_restJson1RoutingProfileQueueConfigSummaryList = (output, co
|
|
|
14126
14126
|
};
|
|
14127
14127
|
const deserializeAws_restJson1RoutingProfileSummary = (output, context) => {
|
|
14128
14128
|
return {
|
|
14129
|
-
Arn:
|
|
14130
|
-
Id:
|
|
14131
|
-
Name:
|
|
14129
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
14130
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
14131
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
14132
14132
|
};
|
|
14133
14133
|
};
|
|
14134
14134
|
const deserializeAws_restJson1RoutingProfileSummaryList = (output, context) => {
|
|
@@ -14143,8 +14143,8 @@ const deserializeAws_restJson1RoutingProfileSummaryList = (output, context) => {
|
|
|
14143
14143
|
};
|
|
14144
14144
|
const deserializeAws_restJson1S3Config = (output, context) => {
|
|
14145
14145
|
return {
|
|
14146
|
-
BucketName:
|
|
14147
|
-
BucketPrefix:
|
|
14146
|
+
BucketName: smithy_client_1.expectString(output.BucketName),
|
|
14147
|
+
BucketPrefix: smithy_client_1.expectString(output.BucketPrefix),
|
|
14148
14148
|
EncryptionConfig: output.EncryptionConfig !== undefined && output.EncryptionConfig !== null
|
|
14149
14149
|
? deserializeAws_restJson1EncryptionConfig(output.EncryptionConfig, context)
|
|
14150
14150
|
: undefined,
|
|
@@ -14152,11 +14152,11 @@ const deserializeAws_restJson1S3Config = (output, context) => {
|
|
|
14152
14152
|
};
|
|
14153
14153
|
const deserializeAws_restJson1SecurityKey = (output, context) => {
|
|
14154
14154
|
return {
|
|
14155
|
-
AssociationId:
|
|
14155
|
+
AssociationId: smithy_client_1.expectString(output.AssociationId),
|
|
14156
14156
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
14157
|
-
?
|
|
14157
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
14158
14158
|
: undefined,
|
|
14159
|
-
Key:
|
|
14159
|
+
Key: smithy_client_1.expectString(output.Key),
|
|
14160
14160
|
};
|
|
14161
14161
|
};
|
|
14162
14162
|
const deserializeAws_restJson1SecurityKeysList = (output, context) => {
|
|
@@ -14176,14 +14176,14 @@ const deserializeAws_restJson1SecurityProfileIds = (output, context) => {
|
|
|
14176
14176
|
if (entry === null) {
|
|
14177
14177
|
return null;
|
|
14178
14178
|
}
|
|
14179
|
-
return
|
|
14179
|
+
return smithy_client_1.expectString(entry);
|
|
14180
14180
|
});
|
|
14181
14181
|
};
|
|
14182
14182
|
const deserializeAws_restJson1SecurityProfileSummary = (output, context) => {
|
|
14183
14183
|
return {
|
|
14184
|
-
Arn:
|
|
14185
|
-
Id:
|
|
14186
|
-
Name:
|
|
14184
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
14185
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
14186
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
14187
14187
|
};
|
|
14188
14188
|
};
|
|
14189
14189
|
const deserializeAws_restJson1SecurityProfileSummaryList = (output, context) => {
|
|
@@ -14203,21 +14203,21 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
14203
14203
|
}
|
|
14204
14204
|
return {
|
|
14205
14205
|
...acc,
|
|
14206
|
-
[key]:
|
|
14206
|
+
[key]: smithy_client_1.expectString(value),
|
|
14207
14207
|
};
|
|
14208
14208
|
}, {});
|
|
14209
14209
|
};
|
|
14210
14210
|
const deserializeAws_restJson1Threshold = (output, context) => {
|
|
14211
14211
|
return {
|
|
14212
|
-
Comparison:
|
|
14213
|
-
ThresholdValue:
|
|
14212
|
+
Comparison: smithy_client_1.expectString(output.Comparison),
|
|
14213
|
+
ThresholdValue: smithy_client_1.limitedParseDouble(output.ThresholdValue),
|
|
14214
14214
|
};
|
|
14215
14215
|
};
|
|
14216
14216
|
const deserializeAws_restJson1UseCase = (output, context) => {
|
|
14217
14217
|
return {
|
|
14218
|
-
UseCaseArn:
|
|
14219
|
-
UseCaseId:
|
|
14220
|
-
UseCaseType:
|
|
14218
|
+
UseCaseArn: smithy_client_1.expectString(output.UseCaseArn),
|
|
14219
|
+
UseCaseId: smithy_client_1.expectString(output.UseCaseId),
|
|
14220
|
+
UseCaseType: smithy_client_1.expectString(output.UseCaseType),
|
|
14221
14221
|
};
|
|
14222
14222
|
};
|
|
14223
14223
|
const deserializeAws_restJson1UseCaseSummaryList = (output, context) => {
|
|
@@ -14232,52 +14232,52 @@ const deserializeAws_restJson1UseCaseSummaryList = (output, context) => {
|
|
|
14232
14232
|
};
|
|
14233
14233
|
const deserializeAws_restJson1User = (output, context) => {
|
|
14234
14234
|
return {
|
|
14235
|
-
Arn:
|
|
14236
|
-
DirectoryUserId:
|
|
14237
|
-
HierarchyGroupId:
|
|
14238
|
-
Id:
|
|
14235
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
14236
|
+
DirectoryUserId: smithy_client_1.expectString(output.DirectoryUserId),
|
|
14237
|
+
HierarchyGroupId: smithy_client_1.expectString(output.HierarchyGroupId),
|
|
14238
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
14239
14239
|
IdentityInfo: output.IdentityInfo !== undefined && output.IdentityInfo !== null
|
|
14240
14240
|
? deserializeAws_restJson1UserIdentityInfo(output.IdentityInfo, context)
|
|
14241
14241
|
: undefined,
|
|
14242
14242
|
PhoneConfig: output.PhoneConfig !== undefined && output.PhoneConfig !== null
|
|
14243
14243
|
? deserializeAws_restJson1UserPhoneConfig(output.PhoneConfig, context)
|
|
14244
14244
|
: undefined,
|
|
14245
|
-
RoutingProfileId:
|
|
14245
|
+
RoutingProfileId: smithy_client_1.expectString(output.RoutingProfileId),
|
|
14246
14246
|
SecurityProfileIds: output.SecurityProfileIds !== undefined && output.SecurityProfileIds !== null
|
|
14247
14247
|
? deserializeAws_restJson1SecurityProfileIds(output.SecurityProfileIds, context)
|
|
14248
14248
|
: undefined,
|
|
14249
14249
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
14250
14250
|
? deserializeAws_restJson1TagMap(output.Tags, context)
|
|
14251
14251
|
: undefined,
|
|
14252
|
-
Username:
|
|
14252
|
+
Username: smithy_client_1.expectString(output.Username),
|
|
14253
14253
|
};
|
|
14254
14254
|
};
|
|
14255
14255
|
const deserializeAws_restJson1UserIdentityInfo = (output, context) => {
|
|
14256
14256
|
return {
|
|
14257
|
-
Email:
|
|
14258
|
-
FirstName:
|
|
14259
|
-
LastName:
|
|
14257
|
+
Email: smithy_client_1.expectString(output.Email),
|
|
14258
|
+
FirstName: smithy_client_1.expectString(output.FirstName),
|
|
14259
|
+
LastName: smithy_client_1.expectString(output.LastName),
|
|
14260
14260
|
};
|
|
14261
14261
|
};
|
|
14262
14262
|
const deserializeAws_restJson1UserPhoneConfig = (output, context) => {
|
|
14263
14263
|
return {
|
|
14264
|
-
AfterContactWorkTimeLimit:
|
|
14265
|
-
AutoAccept:
|
|
14266
|
-
DeskPhoneNumber:
|
|
14267
|
-
PhoneType:
|
|
14264
|
+
AfterContactWorkTimeLimit: smithy_client_1.expectInt32(output.AfterContactWorkTimeLimit),
|
|
14265
|
+
AutoAccept: smithy_client_1.expectBoolean(output.AutoAccept),
|
|
14266
|
+
DeskPhoneNumber: smithy_client_1.expectString(output.DeskPhoneNumber),
|
|
14267
|
+
PhoneType: smithy_client_1.expectString(output.PhoneType),
|
|
14268
14268
|
};
|
|
14269
14269
|
};
|
|
14270
14270
|
const deserializeAws_restJson1UserQuickConnectConfig = (output, context) => {
|
|
14271
14271
|
return {
|
|
14272
|
-
ContactFlowId:
|
|
14273
|
-
UserId:
|
|
14272
|
+
ContactFlowId: smithy_client_1.expectString(output.ContactFlowId),
|
|
14273
|
+
UserId: smithy_client_1.expectString(output.UserId),
|
|
14274
14274
|
};
|
|
14275
14275
|
};
|
|
14276
14276
|
const deserializeAws_restJson1UserSummary = (output, context) => {
|
|
14277
14277
|
return {
|
|
14278
|
-
Arn:
|
|
14279
|
-
Id:
|
|
14280
|
-
Username:
|
|
14278
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
14279
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
14280
|
+
Username: smithy_client_1.expectString(output.Username),
|
|
14281
14281
|
};
|
|
14282
14282
|
};
|
|
14283
14283
|
const deserializeAws_restJson1UserSummaryList = (output, context) => {
|