@aws-sdk/client-connect 3.188.0 → 3.192.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 +19 -0
- package/README.md +11 -9
- package/dist-cjs/Connect.js +105 -0
- package/dist-cjs/ConnectClient.js +11 -8
- package/dist-cjs/commands/AssociateApprovedOriginCommand.js +10 -0
- package/dist-cjs/commands/AssociateBotCommand.js +10 -0
- package/dist-cjs/commands/AssociateDefaultVocabularyCommand.js +10 -0
- package/dist-cjs/commands/AssociateInstanceStorageConfigCommand.js +10 -0
- package/dist-cjs/commands/AssociateLambdaFunctionCommand.js +10 -0
- package/dist-cjs/commands/AssociateLexBotCommand.js +10 -0
- package/dist-cjs/commands/AssociatePhoneNumberContactFlowCommand.js +10 -0
- package/dist-cjs/commands/AssociateQueueQuickConnectsCommand.js +10 -0
- package/dist-cjs/commands/AssociateRoutingProfileQueuesCommand.js +10 -0
- package/dist-cjs/commands/AssociateSecurityKeyCommand.js +10 -0
- package/dist-cjs/commands/ClaimPhoneNumberCommand.js +10 -0
- package/dist-cjs/commands/CreateAgentStatusCommand.js +10 -0
- package/dist-cjs/commands/CreateContactFlowCommand.js +10 -0
- package/dist-cjs/commands/CreateContactFlowModuleCommand.js +10 -0
- package/dist-cjs/commands/CreateHoursOfOperationCommand.js +10 -0
- package/dist-cjs/commands/CreateInstanceCommand.js +10 -0
- package/dist-cjs/commands/CreateIntegrationAssociationCommand.js +10 -0
- package/dist-cjs/commands/CreateQueueCommand.js +10 -0
- package/dist-cjs/commands/CreateQuickConnectCommand.js +10 -0
- package/dist-cjs/commands/CreateRoutingProfileCommand.js +10 -0
- package/dist-cjs/commands/CreateSecurityProfileCommand.js +10 -0
- package/dist-cjs/commands/CreateTaskTemplateCommand.js +10 -0
- package/dist-cjs/commands/CreateTrafficDistributionGroupCommand.js +46 -0
- package/dist-cjs/commands/CreateUseCaseCommand.js +10 -0
- package/dist-cjs/commands/CreateUserCommand.js +10 -0
- package/dist-cjs/commands/CreateUserHierarchyGroupCommand.js +10 -0
- package/dist-cjs/commands/CreateVocabularyCommand.js +10 -0
- package/dist-cjs/commands/DeleteContactFlowCommand.js +10 -0
- package/dist-cjs/commands/DeleteContactFlowModuleCommand.js +10 -0
- package/dist-cjs/commands/DeleteHoursOfOperationCommand.js +10 -0
- package/dist-cjs/commands/DeleteInstanceCommand.js +10 -0
- package/dist-cjs/commands/DeleteIntegrationAssociationCommand.js +10 -0
- package/dist-cjs/commands/DeleteQuickConnectCommand.js +10 -0
- package/dist-cjs/commands/DeleteSecurityProfileCommand.js +10 -0
- package/dist-cjs/commands/DeleteTaskTemplateCommand.js +10 -0
- package/dist-cjs/commands/DeleteTrafficDistributionGroupCommand.js +46 -0
- package/dist-cjs/commands/DeleteUseCaseCommand.js +10 -0
- package/dist-cjs/commands/DeleteUserCommand.js +10 -0
- package/dist-cjs/commands/DeleteUserHierarchyGroupCommand.js +10 -0
- package/dist-cjs/commands/DeleteVocabularyCommand.js +10 -0
- package/dist-cjs/commands/DescribeAgentStatusCommand.js +10 -0
- package/dist-cjs/commands/DescribeContactCommand.js +10 -0
- package/dist-cjs/commands/DescribeContactFlowCommand.js +10 -0
- package/dist-cjs/commands/DescribeContactFlowModuleCommand.js +10 -0
- package/dist-cjs/commands/DescribeHoursOfOperationCommand.js +10 -0
- package/dist-cjs/commands/DescribeInstanceAttributeCommand.js +10 -0
- package/dist-cjs/commands/DescribeInstanceCommand.js +10 -0
- package/dist-cjs/commands/DescribeInstanceStorageConfigCommand.js +10 -0
- package/dist-cjs/commands/DescribePhoneNumberCommand.js +10 -0
- package/dist-cjs/commands/DescribeQueueCommand.js +10 -0
- package/dist-cjs/commands/DescribeQuickConnectCommand.js +10 -0
- package/dist-cjs/commands/DescribeRoutingProfileCommand.js +10 -0
- package/dist-cjs/commands/DescribeSecurityProfileCommand.js +10 -0
- package/dist-cjs/commands/DescribeTrafficDistributionGroupCommand.js +46 -0
- package/dist-cjs/commands/DescribeUserCommand.js +10 -0
- package/dist-cjs/commands/DescribeUserHierarchyGroupCommand.js +10 -0
- package/dist-cjs/commands/DescribeUserHierarchyStructureCommand.js +10 -0
- package/dist-cjs/commands/DescribeVocabularyCommand.js +10 -0
- package/dist-cjs/commands/DisassociateApprovedOriginCommand.js +10 -0
- package/dist-cjs/commands/DisassociateBotCommand.js +10 -0
- package/dist-cjs/commands/DisassociateInstanceStorageConfigCommand.js +10 -0
- package/dist-cjs/commands/DisassociateLambdaFunctionCommand.js +10 -0
- package/dist-cjs/commands/DisassociateLexBotCommand.js +10 -0
- package/dist-cjs/commands/DisassociatePhoneNumberContactFlowCommand.js +10 -0
- package/dist-cjs/commands/DisassociateQueueQuickConnectsCommand.js +10 -0
- package/dist-cjs/commands/DisassociateRoutingProfileQueuesCommand.js +10 -0
- package/dist-cjs/commands/DisassociateSecurityKeyCommand.js +10 -0
- package/dist-cjs/commands/GetContactAttributesCommand.js +10 -0
- package/dist-cjs/commands/GetCurrentMetricDataCommand.js +10 -0
- package/dist-cjs/commands/GetCurrentUserDataCommand.js +10 -0
- package/dist-cjs/commands/GetFederationTokenCommand.js +10 -0
- package/dist-cjs/commands/GetMetricDataCommand.js +10 -0
- package/dist-cjs/commands/GetTaskTemplateCommand.js +10 -0
- package/dist-cjs/commands/GetTrafficDistributionCommand.js +46 -0
- package/dist-cjs/commands/ListAgentStatusesCommand.js +10 -0
- package/dist-cjs/commands/ListApprovedOriginsCommand.js +10 -0
- package/dist-cjs/commands/ListBotsCommand.js +10 -0
- package/dist-cjs/commands/ListContactFlowModulesCommand.js +10 -0
- package/dist-cjs/commands/ListContactFlowsCommand.js +10 -0
- package/dist-cjs/commands/ListContactReferencesCommand.js +10 -0
- package/dist-cjs/commands/ListDefaultVocabulariesCommand.js +10 -0
- package/dist-cjs/commands/ListHoursOfOperationsCommand.js +10 -0
- package/dist-cjs/commands/ListInstanceAttributesCommand.js +10 -0
- package/dist-cjs/commands/ListInstanceStorageConfigsCommand.js +10 -0
- package/dist-cjs/commands/ListInstancesCommand.js +10 -0
- package/dist-cjs/commands/ListIntegrationAssociationsCommand.js +10 -0
- package/dist-cjs/commands/ListLambdaFunctionsCommand.js +10 -0
- package/dist-cjs/commands/ListLexBotsCommand.js +12 -1
- package/dist-cjs/commands/ListPhoneNumbersCommand.js +13 -3
- package/dist-cjs/commands/ListPhoneNumbersV2Command.js +13 -3
- package/dist-cjs/commands/ListPromptsCommand.js +13 -3
- package/dist-cjs/commands/ListQueueQuickConnectsCommand.js +13 -3
- package/dist-cjs/commands/ListQueuesCommand.js +10 -0
- package/dist-cjs/commands/ListQuickConnectsCommand.js +10 -0
- package/dist-cjs/commands/ListRoutingProfileQueuesCommand.js +10 -0
- package/dist-cjs/commands/ListRoutingProfilesCommand.js +10 -0
- package/dist-cjs/commands/ListSecurityKeysCommand.js +10 -0
- package/dist-cjs/commands/ListSecurityProfilePermissionsCommand.js +10 -0
- package/dist-cjs/commands/ListSecurityProfilesCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/ListTaskTemplatesCommand.js +10 -0
- package/dist-cjs/commands/ListTrafficDistributionGroupsCommand.js +46 -0
- package/dist-cjs/commands/ListUseCasesCommand.js +10 -0
- package/dist-cjs/commands/ListUserHierarchyGroupsCommand.js +10 -0
- package/dist-cjs/commands/ListUsersCommand.js +10 -0
- package/dist-cjs/commands/PutUserStatusCommand.js +10 -0
- package/dist-cjs/commands/ReleasePhoneNumberCommand.js +10 -0
- package/dist-cjs/commands/ReplicateInstanceCommand.js +46 -0
- package/dist-cjs/commands/ResumeContactRecordingCommand.js +10 -0
- package/dist-cjs/commands/SearchAvailablePhoneNumbersCommand.js +10 -0
- package/dist-cjs/commands/SearchQueuesCommand.js +10 -0
- package/dist-cjs/commands/SearchRoutingProfilesCommand.js +10 -0
- package/dist-cjs/commands/SearchSecurityProfilesCommand.js +10 -0
- package/dist-cjs/commands/SearchUsersCommand.js +10 -0
- package/dist-cjs/commands/SearchVocabulariesCommand.js +10 -0
- package/dist-cjs/commands/StartChatContactCommand.js +10 -0
- package/dist-cjs/commands/StartContactRecordingCommand.js +10 -0
- package/dist-cjs/commands/StartContactStreamingCommand.js +10 -0
- package/dist-cjs/commands/StartOutboundVoiceContactCommand.js +10 -0
- package/dist-cjs/commands/StartTaskContactCommand.js +10 -0
- package/dist-cjs/commands/StopContactCommand.js +10 -0
- package/dist-cjs/commands/StopContactRecordingCommand.js +10 -0
- package/dist-cjs/commands/StopContactStreamingCommand.js +10 -0
- package/dist-cjs/commands/SuspendContactRecordingCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/TransferContactCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateAgentStatusCommand.js +10 -0
- package/dist-cjs/commands/UpdateContactAttributesCommand.js +10 -0
- package/dist-cjs/commands/UpdateContactCommand.js +10 -0
- package/dist-cjs/commands/UpdateContactFlowContentCommand.js +10 -0
- package/dist-cjs/commands/UpdateContactFlowMetadataCommand.js +10 -0
- package/dist-cjs/commands/UpdateContactFlowModuleContentCommand.js +10 -0
- package/dist-cjs/commands/UpdateContactFlowModuleMetadataCommand.js +10 -0
- package/dist-cjs/commands/UpdateContactFlowNameCommand.js +10 -0
- package/dist-cjs/commands/UpdateContactScheduleCommand.js +10 -0
- package/dist-cjs/commands/UpdateHoursOfOperationCommand.js +10 -0
- package/dist-cjs/commands/UpdateInstanceAttributeCommand.js +10 -0
- package/dist-cjs/commands/UpdateInstanceStorageConfigCommand.js +10 -0
- package/dist-cjs/commands/UpdatePhoneNumberCommand.js +10 -0
- package/dist-cjs/commands/UpdateQueueHoursOfOperationCommand.js +10 -0
- package/dist-cjs/commands/UpdateQueueMaxContactsCommand.js +10 -0
- package/dist-cjs/commands/UpdateQueueNameCommand.js +10 -0
- package/dist-cjs/commands/UpdateQueueOutboundCallerConfigCommand.js +10 -0
- package/dist-cjs/commands/UpdateQueueStatusCommand.js +10 -0
- package/dist-cjs/commands/UpdateQuickConnectConfigCommand.js +10 -0
- package/dist-cjs/commands/UpdateQuickConnectNameCommand.js +10 -0
- package/dist-cjs/commands/UpdateRoutingProfileConcurrencyCommand.js +10 -0
- package/dist-cjs/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.js +10 -0
- package/dist-cjs/commands/UpdateRoutingProfileNameCommand.js +10 -0
- package/dist-cjs/commands/UpdateRoutingProfileQueuesCommand.js +10 -0
- package/dist-cjs/commands/UpdateSecurityProfileCommand.js +10 -0
- package/dist-cjs/commands/UpdateTaskTemplateCommand.js +10 -0
- package/dist-cjs/commands/UpdateTrafficDistributionCommand.js +46 -0
- package/dist-cjs/commands/UpdateUserHierarchyCommand.js +10 -0
- package/dist-cjs/commands/UpdateUserHierarchyGroupNameCommand.js +10 -0
- package/dist-cjs/commands/UpdateUserHierarchyStructureCommand.js +10 -0
- package/dist-cjs/commands/UpdateUserIdentityInfoCommand.js +10 -0
- package/dist-cjs/commands/UpdateUserPhoneConfigCommand.js +10 -0
- package/dist-cjs/commands/UpdateUserRoutingProfileCommand.js +10 -0
- package/dist-cjs/commands/UpdateUserSecurityProfilesCommand.js +10 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +318 -0
- package/dist-cjs/models/models_0.js +74 -59
- package/dist-cjs/models/models_1.js +86 -3
- package/dist-cjs/pagination/ListTrafficDistributionGroupsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +593 -7
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/Connect.js +105 -0
- package/dist-es/ConnectClient.js +12 -9
- package/dist-es/commands/AssociateApprovedOriginCommand.js +10 -0
- package/dist-es/commands/AssociateBotCommand.js +10 -0
- package/dist-es/commands/AssociateDefaultVocabularyCommand.js +10 -0
- package/dist-es/commands/AssociateInstanceStorageConfigCommand.js +10 -0
- package/dist-es/commands/AssociateLambdaFunctionCommand.js +10 -0
- package/dist-es/commands/AssociateLexBotCommand.js +10 -0
- package/dist-es/commands/AssociatePhoneNumberContactFlowCommand.js +10 -0
- package/dist-es/commands/AssociateQueueQuickConnectsCommand.js +10 -0
- package/dist-es/commands/AssociateRoutingProfileQueuesCommand.js +10 -0
- package/dist-es/commands/AssociateSecurityKeyCommand.js +10 -0
- package/dist-es/commands/ClaimPhoneNumberCommand.js +10 -0
- package/dist-es/commands/CreateAgentStatusCommand.js +10 -0
- package/dist-es/commands/CreateContactFlowCommand.js +10 -0
- package/dist-es/commands/CreateContactFlowModuleCommand.js +10 -0
- package/dist-es/commands/CreateHoursOfOperationCommand.js +10 -0
- package/dist-es/commands/CreateInstanceCommand.js +10 -0
- package/dist-es/commands/CreateIntegrationAssociationCommand.js +10 -0
- package/dist-es/commands/CreateQueueCommand.js +10 -0
- package/dist-es/commands/CreateQuickConnectCommand.js +10 -0
- package/dist-es/commands/CreateRoutingProfileCommand.js +10 -0
- package/dist-es/commands/CreateSecurityProfileCommand.js +10 -0
- package/dist-es/commands/CreateTaskTemplateCommand.js +10 -0
- package/dist-es/commands/CreateTrafficDistributionGroupCommand.js +42 -0
- package/dist-es/commands/CreateUseCaseCommand.js +10 -0
- package/dist-es/commands/CreateUserCommand.js +10 -0
- package/dist-es/commands/CreateUserHierarchyGroupCommand.js +10 -0
- package/dist-es/commands/CreateVocabularyCommand.js +10 -0
- package/dist-es/commands/DeleteContactFlowCommand.js +10 -0
- package/dist-es/commands/DeleteContactFlowModuleCommand.js +10 -0
- package/dist-es/commands/DeleteHoursOfOperationCommand.js +10 -0
- package/dist-es/commands/DeleteInstanceCommand.js +10 -0
- package/dist-es/commands/DeleteIntegrationAssociationCommand.js +10 -0
- package/dist-es/commands/DeleteQuickConnectCommand.js +10 -0
- package/dist-es/commands/DeleteSecurityProfileCommand.js +10 -0
- package/dist-es/commands/DeleteTaskTemplateCommand.js +10 -0
- package/dist-es/commands/DeleteTrafficDistributionGroupCommand.js +42 -0
- package/dist-es/commands/DeleteUseCaseCommand.js +10 -0
- package/dist-es/commands/DeleteUserCommand.js +10 -0
- package/dist-es/commands/DeleteUserHierarchyGroupCommand.js +10 -0
- package/dist-es/commands/DeleteVocabularyCommand.js +10 -0
- package/dist-es/commands/DescribeAgentStatusCommand.js +10 -0
- package/dist-es/commands/DescribeContactCommand.js +10 -0
- package/dist-es/commands/DescribeContactFlowCommand.js +10 -0
- package/dist-es/commands/DescribeContactFlowModuleCommand.js +10 -0
- package/dist-es/commands/DescribeHoursOfOperationCommand.js +10 -0
- package/dist-es/commands/DescribeInstanceAttributeCommand.js +10 -0
- package/dist-es/commands/DescribeInstanceCommand.js +10 -0
- package/dist-es/commands/DescribeInstanceStorageConfigCommand.js +10 -0
- package/dist-es/commands/DescribePhoneNumberCommand.js +10 -0
- package/dist-es/commands/DescribeQueueCommand.js +10 -0
- package/dist-es/commands/DescribeQuickConnectCommand.js +10 -0
- package/dist-es/commands/DescribeRoutingProfileCommand.js +10 -0
- package/dist-es/commands/DescribeSecurityProfileCommand.js +10 -0
- package/dist-es/commands/DescribeTrafficDistributionGroupCommand.js +42 -0
- package/dist-es/commands/DescribeUserCommand.js +10 -0
- package/dist-es/commands/DescribeUserHierarchyGroupCommand.js +10 -0
- package/dist-es/commands/DescribeUserHierarchyStructureCommand.js +10 -0
- package/dist-es/commands/DescribeVocabularyCommand.js +10 -0
- package/dist-es/commands/DisassociateApprovedOriginCommand.js +10 -0
- package/dist-es/commands/DisassociateBotCommand.js +10 -0
- package/dist-es/commands/DisassociateInstanceStorageConfigCommand.js +10 -0
- package/dist-es/commands/DisassociateLambdaFunctionCommand.js +10 -0
- package/dist-es/commands/DisassociateLexBotCommand.js +10 -0
- package/dist-es/commands/DisassociatePhoneNumberContactFlowCommand.js +10 -0
- package/dist-es/commands/DisassociateQueueQuickConnectsCommand.js +10 -0
- package/dist-es/commands/DisassociateRoutingProfileQueuesCommand.js +10 -0
- package/dist-es/commands/DisassociateSecurityKeyCommand.js +10 -0
- package/dist-es/commands/GetContactAttributesCommand.js +10 -0
- package/dist-es/commands/GetCurrentMetricDataCommand.js +10 -0
- package/dist-es/commands/GetCurrentUserDataCommand.js +10 -0
- package/dist-es/commands/GetFederationTokenCommand.js +10 -0
- package/dist-es/commands/GetMetricDataCommand.js +10 -0
- package/dist-es/commands/GetTaskTemplateCommand.js +10 -0
- package/dist-es/commands/GetTrafficDistributionCommand.js +42 -0
- package/dist-es/commands/ListAgentStatusesCommand.js +10 -0
- package/dist-es/commands/ListApprovedOriginsCommand.js +10 -0
- package/dist-es/commands/ListBotsCommand.js +10 -0
- package/dist-es/commands/ListContactFlowModulesCommand.js +10 -0
- package/dist-es/commands/ListContactFlowsCommand.js +10 -0
- package/dist-es/commands/ListContactReferencesCommand.js +10 -0
- package/dist-es/commands/ListDefaultVocabulariesCommand.js +10 -0
- package/dist-es/commands/ListHoursOfOperationsCommand.js +10 -0
- package/dist-es/commands/ListInstanceAttributesCommand.js +10 -0
- package/dist-es/commands/ListInstanceStorageConfigsCommand.js +10 -0
- package/dist-es/commands/ListInstancesCommand.js +10 -0
- package/dist-es/commands/ListIntegrationAssociationsCommand.js +10 -0
- package/dist-es/commands/ListLambdaFunctionsCommand.js +10 -0
- package/dist-es/commands/ListLexBotsCommand.js +12 -1
- package/dist-es/commands/ListPhoneNumbersCommand.js +11 -1
- package/dist-es/commands/ListPhoneNumbersV2Command.js +11 -1
- package/dist-es/commands/ListPromptsCommand.js +11 -1
- package/dist-es/commands/ListQueueQuickConnectsCommand.js +11 -1
- package/dist-es/commands/ListQueuesCommand.js +10 -0
- package/dist-es/commands/ListQuickConnectsCommand.js +10 -0
- package/dist-es/commands/ListRoutingProfileQueuesCommand.js +10 -0
- package/dist-es/commands/ListRoutingProfilesCommand.js +10 -0
- package/dist-es/commands/ListSecurityKeysCommand.js +10 -0
- package/dist-es/commands/ListSecurityProfilePermissionsCommand.js +10 -0
- package/dist-es/commands/ListSecurityProfilesCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/ListTaskTemplatesCommand.js +10 -0
- package/dist-es/commands/ListTrafficDistributionGroupsCommand.js +42 -0
- package/dist-es/commands/ListUseCasesCommand.js +10 -0
- package/dist-es/commands/ListUserHierarchyGroupsCommand.js +10 -0
- package/dist-es/commands/ListUsersCommand.js +10 -0
- package/dist-es/commands/PutUserStatusCommand.js +10 -0
- package/dist-es/commands/ReleasePhoneNumberCommand.js +10 -0
- package/dist-es/commands/ReplicateInstanceCommand.js +42 -0
- package/dist-es/commands/ResumeContactRecordingCommand.js +10 -0
- package/dist-es/commands/SearchAvailablePhoneNumbersCommand.js +10 -0
- package/dist-es/commands/SearchQueuesCommand.js +10 -0
- package/dist-es/commands/SearchRoutingProfilesCommand.js +10 -0
- package/dist-es/commands/SearchSecurityProfilesCommand.js +10 -0
- package/dist-es/commands/SearchUsersCommand.js +10 -0
- package/dist-es/commands/SearchVocabulariesCommand.js +10 -0
- package/dist-es/commands/StartChatContactCommand.js +10 -0
- package/dist-es/commands/StartContactRecordingCommand.js +10 -0
- package/dist-es/commands/StartContactStreamingCommand.js +10 -0
- package/dist-es/commands/StartOutboundVoiceContactCommand.js +10 -0
- package/dist-es/commands/StartTaskContactCommand.js +10 -0
- package/dist-es/commands/StopContactCommand.js +10 -0
- package/dist-es/commands/StopContactRecordingCommand.js +10 -0
- package/dist-es/commands/StopContactStreamingCommand.js +10 -0
- package/dist-es/commands/SuspendContactRecordingCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/TransferContactCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateAgentStatusCommand.js +10 -0
- package/dist-es/commands/UpdateContactAttributesCommand.js +10 -0
- package/dist-es/commands/UpdateContactCommand.js +10 -0
- package/dist-es/commands/UpdateContactFlowContentCommand.js +10 -0
- package/dist-es/commands/UpdateContactFlowMetadataCommand.js +10 -0
- package/dist-es/commands/UpdateContactFlowModuleContentCommand.js +10 -0
- package/dist-es/commands/UpdateContactFlowModuleMetadataCommand.js +10 -0
- package/dist-es/commands/UpdateContactFlowNameCommand.js +10 -0
- package/dist-es/commands/UpdateContactScheduleCommand.js +10 -0
- package/dist-es/commands/UpdateHoursOfOperationCommand.js +10 -0
- package/dist-es/commands/UpdateInstanceAttributeCommand.js +10 -0
- package/dist-es/commands/UpdateInstanceStorageConfigCommand.js +10 -0
- package/dist-es/commands/UpdatePhoneNumberCommand.js +10 -0
- package/dist-es/commands/UpdateQueueHoursOfOperationCommand.js +10 -0
- package/dist-es/commands/UpdateQueueMaxContactsCommand.js +10 -0
- package/dist-es/commands/UpdateQueueNameCommand.js +10 -0
- package/dist-es/commands/UpdateQueueOutboundCallerConfigCommand.js +10 -0
- package/dist-es/commands/UpdateQueueStatusCommand.js +10 -0
- package/dist-es/commands/UpdateQuickConnectConfigCommand.js +10 -0
- package/dist-es/commands/UpdateQuickConnectNameCommand.js +10 -0
- package/dist-es/commands/UpdateRoutingProfileConcurrencyCommand.js +10 -0
- package/dist-es/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.js +10 -0
- package/dist-es/commands/UpdateRoutingProfileNameCommand.js +10 -0
- package/dist-es/commands/UpdateRoutingProfileQueuesCommand.js +10 -0
- package/dist-es/commands/UpdateSecurityProfileCommand.js +10 -0
- package/dist-es/commands/UpdateTaskTemplateCommand.js +10 -0
- package/dist-es/commands/UpdateTrafficDistributionCommand.js +42 -0
- package/dist-es/commands/UpdateUserHierarchyCommand.js +10 -0
- package/dist-es/commands/UpdateUserHierarchyGroupNameCommand.js +10 -0
- package/dist-es/commands/UpdateUserHierarchyStructureCommand.js +10 -0
- package/dist-es/commands/UpdateUserIdentityInfoCommand.js +10 -0
- package/dist-es/commands/UpdateUserPhoneConfigCommand.js +10 -0
- package/dist-es/commands/UpdateUserRoutingProfileCommand.js +10 -0
- package/dist-es/commands/UpdateUserSecurityProfilesCommand.js +10 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +315 -0
- package/dist-es/models/models_0.js +55 -39
- package/dist-es/models/models_1.js +62 -0
- package/dist-es/pagination/ListTrafficDistributionGroupsPaginator.js +32 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +571 -1
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/Connect.d.ts +234 -65
- package/dist-types/ConnectClient.d.ts +26 -20
- package/dist-types/commands/AssociateApprovedOriginCommand.d.ts +2 -0
- package/dist-types/commands/AssociateBotCommand.d.ts +4 -1
- package/dist-types/commands/AssociateDefaultVocabularyCommand.d.ts +2 -0
- package/dist-types/commands/AssociateInstanceStorageConfigCommand.d.ts +2 -0
- package/dist-types/commands/AssociateLambdaFunctionCommand.d.ts +4 -1
- package/dist-types/commands/AssociateLexBotCommand.d.ts +2 -0
- package/dist-types/commands/AssociatePhoneNumberContactFlowCommand.d.ts +13 -0
- package/dist-types/commands/AssociateQueueQuickConnectsCommand.d.ts +2 -0
- package/dist-types/commands/AssociateRoutingProfileQueuesCommand.d.ts +2 -0
- package/dist-types/commands/AssociateSecurityKeyCommand.d.ts +2 -0
- package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +9 -1
- package/dist-types/commands/CreateAgentStatusCommand.d.ts +2 -0
- package/dist-types/commands/CreateContactFlowCommand.d.ts +2 -0
- package/dist-types/commands/CreateContactFlowModuleCommand.d.ts +2 -0
- package/dist-types/commands/CreateHoursOfOperationCommand.d.ts +2 -0
- package/dist-types/commands/CreateInstanceCommand.d.ts +5 -3
- package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +4 -1
- package/dist-types/commands/CreateQueueCommand.d.ts +13 -0
- package/dist-types/commands/CreateQuickConnectCommand.d.ts +2 -0
- package/dist-types/commands/CreateRoutingProfileCommand.d.ts +2 -0
- package/dist-types/commands/CreateSecurityProfileCommand.d.ts +2 -0
- package/dist-types/commands/CreateTaskTemplateCommand.d.ts +2 -0
- package/dist-types/commands/CreateTrafficDistributionGroupCommand.d.ts +40 -0
- package/dist-types/commands/CreateUseCaseCommand.d.ts +2 -0
- package/dist-types/commands/CreateUserCommand.d.ts +5 -2
- package/dist-types/commands/CreateUserHierarchyGroupCommand.d.ts +2 -0
- package/dist-types/commands/CreateVocabularyCommand.d.ts +4 -2
- package/dist-types/commands/DeleteContactFlowCommand.d.ts +2 -0
- package/dist-types/commands/DeleteContactFlowModuleCommand.d.ts +2 -0
- package/dist-types/commands/DeleteHoursOfOperationCommand.d.ts +2 -0
- package/dist-types/commands/DeleteInstanceCommand.d.ts +2 -0
- package/dist-types/commands/DeleteIntegrationAssociationCommand.d.ts +4 -2
- package/dist-types/commands/DeleteQuickConnectCommand.d.ts +2 -0
- package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +2 -0
- package/dist-types/commands/DeleteTaskTemplateCommand.d.ts +2 -0
- package/dist-types/commands/DeleteTrafficDistributionGroupCommand.d.ts +41 -0
- package/dist-types/commands/DeleteUseCaseCommand.d.ts +2 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +4 -1
- package/dist-types/commands/DeleteUserHierarchyGroupCommand.d.ts +2 -0
- package/dist-types/commands/DeleteVocabularyCommand.d.ts +2 -0
- package/dist-types/commands/DescribeAgentStatusCommand.d.ts +2 -0
- package/dist-types/commands/DescribeContactCommand.d.ts +2 -0
- package/dist-types/commands/DescribeContactFlowCommand.d.ts +2 -0
- package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +2 -0
- package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +2 -0
- package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +2 -0
- package/dist-types/commands/DescribeInstanceCommand.d.ts +2 -0
- package/dist-types/commands/DescribeInstanceStorageConfigCommand.d.ts +2 -0
- package/dist-types/commands/DescribePhoneNumberCommand.d.ts +14 -1
- package/dist-types/commands/DescribeQueueCommand.d.ts +2 -0
- package/dist-types/commands/DescribeQuickConnectCommand.d.ts +2 -0
- package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +2 -0
- package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +2 -0
- package/dist-types/commands/DescribeTrafficDistributionGroupCommand.d.ts +37 -0
- package/dist-types/commands/DescribeUserCommand.d.ts +2 -0
- package/dist-types/commands/DescribeUserHierarchyGroupCommand.d.ts +2 -0
- package/dist-types/commands/DescribeUserHierarchyStructureCommand.d.ts +2 -0
- package/dist-types/commands/DescribeVocabularyCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateApprovedOriginCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateBotCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateInstanceStorageConfigCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateLambdaFunctionCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateLexBotCommand.d.ts +2 -0
- package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +13 -2
- package/dist-types/commands/DisassociateQueueQuickConnectsCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateRoutingProfileQueuesCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateSecurityKeyCommand.d.ts +2 -0
- package/dist-types/commands/GetContactAttributesCommand.d.ts +2 -0
- package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +2 -0
- package/dist-types/commands/GetCurrentUserDataCommand.d.ts +2 -0
- package/dist-types/commands/GetFederationTokenCommand.d.ts +3 -1
- package/dist-types/commands/GetMetricDataCommand.d.ts +2 -0
- package/dist-types/commands/GetTaskTemplateCommand.d.ts +4 -1
- package/dist-types/commands/GetTrafficDistributionCommand.d.ts +37 -0
- package/dist-types/commands/ListAgentStatusesCommand.d.ts +2 -0
- package/dist-types/commands/ListApprovedOriginsCommand.d.ts +2 -0
- package/dist-types/commands/ListBotsCommand.d.ts +2 -0
- package/dist-types/commands/ListContactFlowModulesCommand.d.ts +4 -1
- package/dist-types/commands/ListContactFlowsCommand.d.ts +4 -2
- package/dist-types/commands/ListContactReferencesCommand.d.ts +2 -0
- package/dist-types/commands/ListDefaultVocabulariesCommand.d.ts +2 -0
- package/dist-types/commands/ListHoursOfOperationsCommand.d.ts +4 -1
- package/dist-types/commands/ListInstanceAttributesCommand.d.ts +2 -0
- package/dist-types/commands/ListInstanceStorageConfigsCommand.d.ts +2 -0
- package/dist-types/commands/ListInstancesCommand.d.ts +2 -0
- package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +2 -0
- package/dist-types/commands/ListLambdaFunctionsCommand.d.ts +2 -0
- package/dist-types/commands/ListLexBotsCommand.d.ts +4 -1
- package/dist-types/commands/ListPhoneNumbersCommand.d.ts +12 -2
- package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +8 -3
- package/dist-types/commands/ListPromptsCommand.d.ts +3 -1
- package/dist-types/commands/ListQueueQuickConnectsCommand.d.ts +3 -1
- package/dist-types/commands/ListQueuesCommand.d.ts +2 -0
- package/dist-types/commands/ListQuickConnectsCommand.d.ts +4 -1
- package/dist-types/commands/ListRoutingProfileQueuesCommand.d.ts +2 -0
- package/dist-types/commands/ListRoutingProfilesCommand.d.ts +2 -0
- package/dist-types/commands/ListSecurityKeysCommand.d.ts +2 -0
- package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +2 -0
- package/dist-types/commands/ListSecurityProfilesCommand.d.ts +4 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -2
- package/dist-types/commands/ListTaskTemplatesCommand.d.ts +2 -0
- package/dist-types/commands/ListTrafficDistributionGroupsCommand.d.ts +37 -0
- package/dist-types/commands/ListUseCasesCommand.d.ts +2 -0
- package/dist-types/commands/ListUserHierarchyGroupsCommand.d.ts +3 -1
- package/dist-types/commands/ListUsersCommand.d.ts +4 -1
- package/dist-types/commands/PutUserStatusCommand.d.ts +4 -2
- package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +10 -1
- package/dist-types/commands/ReplicateInstanceCommand.d.ts +40 -0
- package/dist-types/commands/ResumeContactRecordingCommand.d.ts +2 -0
- package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +5 -1
- package/dist-types/commands/SearchQueuesCommand.d.ts +2 -0
- package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +2 -0
- package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +4 -1
- package/dist-types/commands/SearchUsersCommand.d.ts +7 -0
- package/dist-types/commands/SearchVocabulariesCommand.d.ts +4 -2
- package/dist-types/commands/StartChatContactCommand.d.ts +4 -2
- package/dist-types/commands/StartContactRecordingCommand.d.ts +2 -0
- package/dist-types/commands/StartContactStreamingCommand.d.ts +2 -0
- package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +4 -1
- package/dist-types/commands/StartTaskContactCommand.d.ts +2 -0
- package/dist-types/commands/StopContactCommand.d.ts +2 -0
- package/dist-types/commands/StopContactRecordingCommand.d.ts +2 -0
- package/dist-types/commands/StopContactStreamingCommand.d.ts +2 -0
- package/dist-types/commands/SuspendContactRecordingCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +5 -2
- package/dist-types/commands/TransferContactCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAgentStatusCommand.d.ts +2 -0
- package/dist-types/commands/UpdateContactAttributesCommand.d.ts +8 -5
- package/dist-types/commands/UpdateContactCommand.d.ts +2 -0
- package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +2 -0
- package/dist-types/commands/UpdateContactFlowMetadataCommand.d.ts +2 -0
- package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +2 -0
- package/dist-types/commands/UpdateContactFlowModuleMetadataCommand.d.ts +2 -0
- package/dist-types/commands/UpdateContactFlowNameCommand.d.ts +2 -0
- package/dist-types/commands/UpdateContactScheduleCommand.d.ts +2 -0
- package/dist-types/commands/UpdateHoursOfOperationCommand.d.ts +2 -0
- package/dist-types/commands/UpdateInstanceAttributeCommand.d.ts +2 -0
- package/dist-types/commands/UpdateInstanceStorageConfigCommand.d.ts +2 -0
- package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +9 -2
- package/dist-types/commands/UpdateQueueHoursOfOperationCommand.d.ts +2 -0
- package/dist-types/commands/UpdateQueueMaxContactsCommand.d.ts +2 -0
- package/dist-types/commands/UpdateQueueNameCommand.d.ts +2 -0
- package/dist-types/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +13 -0
- package/dist-types/commands/UpdateQueueStatusCommand.d.ts +2 -0
- package/dist-types/commands/UpdateQuickConnectConfigCommand.d.ts +2 -0
- package/dist-types/commands/UpdateQuickConnectNameCommand.d.ts +2 -0
- package/dist-types/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +2 -0
- package/dist-types/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +2 -0
- package/dist-types/commands/UpdateRoutingProfileNameCommand.d.ts +2 -0
- package/dist-types/commands/UpdateRoutingProfileQueuesCommand.d.ts +2 -0
- package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +2 -0
- package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +4 -2
- package/dist-types/commands/UpdateTrafficDistributionCommand.d.ts +41 -0
- package/dist-types/commands/UpdateUserHierarchyCommand.d.ts +2 -0
- package/dist-types/commands/UpdateUserHierarchyGroupNameCommand.d.ts +2 -0
- package/dist-types/commands/UpdateUserHierarchyStructureCommand.d.ts +2 -0
- package/dist-types/commands/UpdateUserIdentityInfoCommand.d.ts +4 -1
- package/dist-types/commands/UpdateUserPhoneConfigCommand.d.ts +2 -0
- package/dist-types/commands/UpdateUserRoutingProfileCommand.d.ts +2 -0
- package/dist-types/commands/UpdateUserSecurityProfilesCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +336 -314
- package/dist-types/models/models_1.d.ts +522 -50
- package/dist-types/pagination/ListTrafficDistributionGroupsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +21 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/Connect.d.ts +119 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +57 -8
- package/dist-types/ts3.4/commands/AssociateApprovedOriginCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AssociateBotCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AssociateDefaultVocabularyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AssociateInstanceStorageConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AssociateLambdaFunctionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AssociateLexBotCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AssociatePhoneNumberContactFlowCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AssociateQueueQuickConnectsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AssociateRoutingProfileQueuesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AssociateSecurityKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ClaimPhoneNumberCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateAgentStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateContactFlowCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateContactFlowModuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateHoursOfOperationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateInstanceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateIntegrationAssociationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateQueueCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateQuickConnectCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateRoutingProfileCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateSecurityProfileCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateTaskTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateTrafficDistributionGroupCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateUseCaseCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateUserHierarchyGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateVocabularyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteContactFlowCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteContactFlowModuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteHoursOfOperationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteInstanceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteIntegrationAssociationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteQuickConnectCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteSecurityProfileCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteTaskTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteTrafficDistributionGroupCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteUseCaseCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteUserHierarchyGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeAgentStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeContactCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeContactFlowCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeContactFlowModuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeHoursOfOperationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeInstanceAttributeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeInstanceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeInstanceStorageConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribePhoneNumberCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeQueueCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeQuickConnectCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeRoutingProfileCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeSecurityProfileCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeTrafficDistributionGroupCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeUserHierarchyGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeUserHierarchyStructureCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeVocabularyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisassociateApprovedOriginCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisassociateBotCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisassociateInstanceStorageConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisassociateLambdaFunctionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisassociateLexBotCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisassociateQueueQuickConnectsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisassociateRoutingProfileQueuesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisassociateSecurityKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetContactAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetCurrentMetricDataCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetCurrentUserDataCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetMetricDataCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetTaskTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetTrafficDistributionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListAgentStatusesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListApprovedOriginsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListBotsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListContactFlowModulesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListContactFlowsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListContactReferencesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListDefaultVocabulariesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListHoursOfOperationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListInstanceAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListInstanceStorageConfigsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListIntegrationAssociationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListLambdaFunctionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListLexBotsCommand.d.ts +4 -1
- package/dist-types/ts3.4/commands/ListPhoneNumbersCommand.d.ts +3 -1
- package/dist-types/ts3.4/commands/ListPhoneNumbersV2Command.d.ts +3 -1
- package/dist-types/ts3.4/commands/ListPromptsCommand.d.ts +3 -1
- package/dist-types/ts3.4/commands/ListQueueQuickConnectsCommand.d.ts +3 -1
- package/dist-types/ts3.4/commands/ListQueuesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListQuickConnectsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListRoutingProfileQueuesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListRoutingProfilesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListSecurityKeysCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListSecurityProfilePermissionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListSecurityProfilesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTaskTemplatesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTrafficDistributionGroupsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListUseCasesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListUserHierarchyGroupsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutUserStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ReleasePhoneNumberCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ReplicateInstanceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ResumeContactRecordingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SearchAvailablePhoneNumbersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SearchRoutingProfilesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SearchSecurityProfilesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SearchVocabulariesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartContactRecordingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartContactStreamingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartOutboundVoiceContactCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartTaskContactCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StopContactCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StopContactRecordingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StopContactStreamingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SuspendContactRecordingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TransferContactCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateAgentStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateContactAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateContactFlowContentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateContactFlowMetadataCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateContactFlowModuleContentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateContactFlowModuleMetadataCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateContactFlowNameCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateContactScheduleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateHoursOfOperationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateInstanceAttributeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateInstanceStorageConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdatePhoneNumberCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateQueueHoursOfOperationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateQueueMaxContactsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateQueueNameCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateQueueStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateQuickConnectConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateQuickConnectNameCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateRoutingProfileNameCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateRoutingProfileQueuesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateSecurityProfileCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateTaskTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateTrafficDistributionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateUserHierarchyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateUserHierarchyGroupNameCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateUserHierarchyStructureCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateUserIdentityInfoCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateUserPhoneConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateUserRoutingProfileCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateUserSecurityProfilesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +92 -111
- package/dist-types/ts3.4/models/models_1.d.ts +166 -1
- package/dist-types/ts3.4/pagination/ListTrafficDistributionGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +27 -26
- package/dist-cjs/endpoints.js +0 -132
- package/dist-es/endpoints.js +0 -128
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -2,7 +2,7 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
|
2
2
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, limitedParseDouble as __limitedParseDouble, map as __map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { ConnectServiceException as __BaseException } from "../models/ConnectServiceException";
|
|
5
|
-
import { AccessDeniedException, ContactFlowNotPublishedException, DuplicateResourceException, IdempotencyException, InternalServiceException, InvalidContactFlowException, InvalidContactFlowModuleException, InvalidParameterException, InvalidRequestException, LimitExceededException, PropertyValidationException, ResourceConflictException, ResourceInUseException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, UserNotFoundException, } from "../models/models_0";
|
|
5
|
+
import { AccessDeniedException, ContactFlowNotPublishedException, DuplicateResourceException, IdempotencyException, InternalServiceException, InvalidContactFlowException, InvalidContactFlowModuleException, InvalidParameterException, InvalidRequestException, LimitExceededException, PropertyValidationException, ResourceConflictException, ResourceInUseException, ResourceNotFoundException, ResourceNotReadyException, ServiceQuotaExceededException, ThrottlingException, UserNotFoundException, } from "../models/models_0";
|
|
6
6
|
import { ContactNotFoundException, DestinationNotAllowedException, OutboundContactNotPermittedException, } from "../models/models_1";
|
|
7
7
|
export const serializeAws_restJson1AssociateApprovedOriginCommand = async (input, context) => {
|
|
8
8
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -549,6 +549,30 @@ export const serializeAws_restJson1CreateTaskTemplateCommand = async (input, con
|
|
|
549
549
|
body,
|
|
550
550
|
});
|
|
551
551
|
};
|
|
552
|
+
export const serializeAws_restJson1CreateTrafficDistributionGroupCommand = async (input, context) => {
|
|
553
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
554
|
+
const headers = {
|
|
555
|
+
"content-type": "application/json",
|
|
556
|
+
};
|
|
557
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/traffic-distribution-group";
|
|
558
|
+
let body;
|
|
559
|
+
body = JSON.stringify({
|
|
560
|
+
ClientToken: input.ClientToken ?? generateIdempotencyToken(),
|
|
561
|
+
...(input.Description != null && { Description: input.Description }),
|
|
562
|
+
...(input.InstanceId != null && { InstanceId: input.InstanceId }),
|
|
563
|
+
...(input.Name != null && { Name: input.Name }),
|
|
564
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
|
|
565
|
+
});
|
|
566
|
+
return new __HttpRequest({
|
|
567
|
+
protocol,
|
|
568
|
+
hostname,
|
|
569
|
+
port,
|
|
570
|
+
method: "PUT",
|
|
571
|
+
headers,
|
|
572
|
+
path: resolvedPath,
|
|
573
|
+
body,
|
|
574
|
+
});
|
|
575
|
+
};
|
|
552
576
|
export const serializeAws_restJson1CreateUseCaseCommand = async (input, context) => {
|
|
553
577
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
554
578
|
const headers = {
|
|
@@ -798,6 +822,23 @@ export const serializeAws_restJson1DeleteTaskTemplateCommand = async (input, con
|
|
|
798
822
|
body,
|
|
799
823
|
});
|
|
800
824
|
};
|
|
825
|
+
export const serializeAws_restJson1DeleteTrafficDistributionGroupCommand = async (input, context) => {
|
|
826
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
827
|
+
const headers = {};
|
|
828
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
829
|
+
"/traffic-distribution-group/{TrafficDistributionGroupId}";
|
|
830
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "TrafficDistributionGroupId", () => input.TrafficDistributionGroupId, "{TrafficDistributionGroupId}", false);
|
|
831
|
+
let body;
|
|
832
|
+
return new __HttpRequest({
|
|
833
|
+
protocol,
|
|
834
|
+
hostname,
|
|
835
|
+
port,
|
|
836
|
+
method: "DELETE",
|
|
837
|
+
headers,
|
|
838
|
+
path: resolvedPath,
|
|
839
|
+
body,
|
|
840
|
+
});
|
|
841
|
+
};
|
|
801
842
|
export const serializeAws_restJson1DeleteUseCaseCommand = async (input, context) => {
|
|
802
843
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
803
844
|
const headers = {};
|
|
@@ -1102,6 +1143,23 @@ export const serializeAws_restJson1DescribeSecurityProfileCommand = async (input
|
|
|
1102
1143
|
body,
|
|
1103
1144
|
});
|
|
1104
1145
|
};
|
|
1146
|
+
export const serializeAws_restJson1DescribeTrafficDistributionGroupCommand = async (input, context) => {
|
|
1147
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1148
|
+
const headers = {};
|
|
1149
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1150
|
+
"/traffic-distribution-group/{TrafficDistributionGroupId}";
|
|
1151
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "TrafficDistributionGroupId", () => input.TrafficDistributionGroupId, "{TrafficDistributionGroupId}", false);
|
|
1152
|
+
let body;
|
|
1153
|
+
return new __HttpRequest({
|
|
1154
|
+
protocol,
|
|
1155
|
+
hostname,
|
|
1156
|
+
port,
|
|
1157
|
+
method: "GET",
|
|
1158
|
+
headers,
|
|
1159
|
+
path: resolvedPath,
|
|
1160
|
+
body,
|
|
1161
|
+
});
|
|
1162
|
+
};
|
|
1105
1163
|
export const serializeAws_restJson1DescribeUserCommand = async (input, context) => {
|
|
1106
1164
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1107
1165
|
const headers = {};
|
|
@@ -1499,6 +1557,22 @@ export const serializeAws_restJson1GetTaskTemplateCommand = async (input, contex
|
|
|
1499
1557
|
body,
|
|
1500
1558
|
});
|
|
1501
1559
|
};
|
|
1560
|
+
export const serializeAws_restJson1GetTrafficDistributionCommand = async (input, context) => {
|
|
1561
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1562
|
+
const headers = {};
|
|
1563
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/traffic-distribution/{Id}";
|
|
1564
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "Id", () => input.Id, "{Id}", false);
|
|
1565
|
+
let body;
|
|
1566
|
+
return new __HttpRequest({
|
|
1567
|
+
protocol,
|
|
1568
|
+
hostname,
|
|
1569
|
+
port,
|
|
1570
|
+
method: "GET",
|
|
1571
|
+
headers,
|
|
1572
|
+
path: resolvedPath,
|
|
1573
|
+
body,
|
|
1574
|
+
});
|
|
1575
|
+
};
|
|
1502
1576
|
export const serializeAws_restJson1ListAgentStatusesCommand = async (input, context) => {
|
|
1503
1577
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1504
1578
|
const headers = {};
|
|
@@ -2110,6 +2184,27 @@ export const serializeAws_restJson1ListTaskTemplatesCommand = async (input, cont
|
|
|
2110
2184
|
body,
|
|
2111
2185
|
});
|
|
2112
2186
|
};
|
|
2187
|
+
export const serializeAws_restJson1ListTrafficDistributionGroupsCommand = async (input, context) => {
|
|
2188
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2189
|
+
const headers = {};
|
|
2190
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/traffic-distribution-groups";
|
|
2191
|
+
const query = map({
|
|
2192
|
+
maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
2193
|
+
nextToken: [, input.NextToken],
|
|
2194
|
+
instanceId: [, input.InstanceId],
|
|
2195
|
+
});
|
|
2196
|
+
let body;
|
|
2197
|
+
return new __HttpRequest({
|
|
2198
|
+
protocol,
|
|
2199
|
+
hostname,
|
|
2200
|
+
port,
|
|
2201
|
+
method: "GET",
|
|
2202
|
+
headers,
|
|
2203
|
+
path: resolvedPath,
|
|
2204
|
+
query,
|
|
2205
|
+
body,
|
|
2206
|
+
});
|
|
2207
|
+
};
|
|
2113
2208
|
export const serializeAws_restJson1ListUseCasesCommand = async (input, context) => {
|
|
2114
2209
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2115
2210
|
const headers = {};
|
|
@@ -2218,6 +2313,29 @@ export const serializeAws_restJson1ReleasePhoneNumberCommand = async (input, con
|
|
|
2218
2313
|
body,
|
|
2219
2314
|
});
|
|
2220
2315
|
};
|
|
2316
|
+
export const serializeAws_restJson1ReplicateInstanceCommand = async (input, context) => {
|
|
2317
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2318
|
+
const headers = {
|
|
2319
|
+
"content-type": "application/json",
|
|
2320
|
+
};
|
|
2321
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/instance/{InstanceId}/replicate";
|
|
2322
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "InstanceId", () => input.InstanceId, "{InstanceId}", false);
|
|
2323
|
+
let body;
|
|
2324
|
+
body = JSON.stringify({
|
|
2325
|
+
ClientToken: input.ClientToken ?? generateIdempotencyToken(),
|
|
2326
|
+
...(input.ReplicaAlias != null && { ReplicaAlias: input.ReplicaAlias }),
|
|
2327
|
+
...(input.ReplicaRegion != null && { ReplicaRegion: input.ReplicaRegion }),
|
|
2328
|
+
});
|
|
2329
|
+
return new __HttpRequest({
|
|
2330
|
+
protocol,
|
|
2331
|
+
hostname,
|
|
2332
|
+
port,
|
|
2333
|
+
method: "POST",
|
|
2334
|
+
headers,
|
|
2335
|
+
path: resolvedPath,
|
|
2336
|
+
body,
|
|
2337
|
+
});
|
|
2338
|
+
};
|
|
2221
2339
|
export const serializeAws_restJson1ResumeContactRecordingCommand = async (input, context) => {
|
|
2222
2340
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2223
2341
|
const headers = {
|
|
@@ -3333,6 +3451,29 @@ export const serializeAws_restJson1UpdateTaskTemplateCommand = async (input, con
|
|
|
3333
3451
|
body,
|
|
3334
3452
|
});
|
|
3335
3453
|
};
|
|
3454
|
+
export const serializeAws_restJson1UpdateTrafficDistributionCommand = async (input, context) => {
|
|
3455
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
3456
|
+
const headers = {
|
|
3457
|
+
"content-type": "application/json",
|
|
3458
|
+
};
|
|
3459
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/traffic-distribution/{Id}";
|
|
3460
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "Id", () => input.Id, "{Id}", false);
|
|
3461
|
+
let body;
|
|
3462
|
+
body = JSON.stringify({
|
|
3463
|
+
...(input.TelephonyConfig != null && {
|
|
3464
|
+
TelephonyConfig: serializeAws_restJson1TelephonyConfig(input.TelephonyConfig, context),
|
|
3465
|
+
}),
|
|
3466
|
+
});
|
|
3467
|
+
return new __HttpRequest({
|
|
3468
|
+
protocol,
|
|
3469
|
+
hostname,
|
|
3470
|
+
port,
|
|
3471
|
+
method: "PUT",
|
|
3472
|
+
headers,
|
|
3473
|
+
path: resolvedPath,
|
|
3474
|
+
body,
|
|
3475
|
+
});
|
|
3476
|
+
};
|
|
3336
3477
|
export const serializeAws_restJson1UpdateUserHierarchyCommand = async (input, context) => {
|
|
3337
3478
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
3338
3479
|
const headers = {
|
|
@@ -4602,6 +4743,63 @@ const deserializeAws_restJson1CreateTaskTemplateCommandError = async (output, co
|
|
|
4602
4743
|
});
|
|
4603
4744
|
}
|
|
4604
4745
|
};
|
|
4746
|
+
export const deserializeAws_restJson1CreateTrafficDistributionGroupCommand = async (output, context) => {
|
|
4747
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4748
|
+
return deserializeAws_restJson1CreateTrafficDistributionGroupCommandError(output, context);
|
|
4749
|
+
}
|
|
4750
|
+
const contents = map({
|
|
4751
|
+
$metadata: deserializeMetadata(output),
|
|
4752
|
+
});
|
|
4753
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4754
|
+
if (data.Arn != null) {
|
|
4755
|
+
contents.Arn = __expectString(data.Arn);
|
|
4756
|
+
}
|
|
4757
|
+
if (data.Id != null) {
|
|
4758
|
+
contents.Id = __expectString(data.Id);
|
|
4759
|
+
}
|
|
4760
|
+
return contents;
|
|
4761
|
+
};
|
|
4762
|
+
const deserializeAws_restJson1CreateTrafficDistributionGroupCommandError = async (output, context) => {
|
|
4763
|
+
const parsedOutput = {
|
|
4764
|
+
...output,
|
|
4765
|
+
body: await parseErrorBody(output.body, context),
|
|
4766
|
+
};
|
|
4767
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4768
|
+
switch (errorCode) {
|
|
4769
|
+
case "AccessDeniedException":
|
|
4770
|
+
case "com.amazonaws.connect#AccessDeniedException":
|
|
4771
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
4772
|
+
case "InternalServiceException":
|
|
4773
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
4774
|
+
throw await deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context);
|
|
4775
|
+
case "InvalidRequestException":
|
|
4776
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
4777
|
+
throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
4778
|
+
case "ResourceConflictException":
|
|
4779
|
+
case "com.amazonaws.connect#ResourceConflictException":
|
|
4780
|
+
throw await deserializeAws_restJson1ResourceConflictExceptionResponse(parsedOutput, context);
|
|
4781
|
+
case "ResourceNotFoundException":
|
|
4782
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
4783
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
4784
|
+
case "ResourceNotReadyException":
|
|
4785
|
+
case "com.amazonaws.connect#ResourceNotReadyException":
|
|
4786
|
+
throw await deserializeAws_restJson1ResourceNotReadyExceptionResponse(parsedOutput, context);
|
|
4787
|
+
case "ServiceQuotaExceededException":
|
|
4788
|
+
case "com.amazonaws.connect#ServiceQuotaExceededException":
|
|
4789
|
+
throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
|
|
4790
|
+
case "ThrottlingException":
|
|
4791
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
4792
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
4793
|
+
default:
|
|
4794
|
+
const parsedBody = parsedOutput.body;
|
|
4795
|
+
throwDefaultError({
|
|
4796
|
+
output,
|
|
4797
|
+
parsedBody,
|
|
4798
|
+
exceptionCtor: __BaseException,
|
|
4799
|
+
errorCode,
|
|
4800
|
+
});
|
|
4801
|
+
}
|
|
4802
|
+
};
|
|
4605
4803
|
export const deserializeAws_restJson1CreateUseCaseCommand = async (output, context) => {
|
|
4606
4804
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4607
4805
|
return deserializeAws_restJson1CreateUseCaseCommandError(output, context);
|
|
@@ -5154,6 +5352,48 @@ const deserializeAws_restJson1DeleteTaskTemplateCommandError = async (output, co
|
|
|
5154
5352
|
});
|
|
5155
5353
|
}
|
|
5156
5354
|
};
|
|
5355
|
+
export const deserializeAws_restJson1DeleteTrafficDistributionGroupCommand = async (output, context) => {
|
|
5356
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5357
|
+
return deserializeAws_restJson1DeleteTrafficDistributionGroupCommandError(output, context);
|
|
5358
|
+
}
|
|
5359
|
+
const contents = map({
|
|
5360
|
+
$metadata: deserializeMetadata(output),
|
|
5361
|
+
});
|
|
5362
|
+
await collectBody(output.body, context);
|
|
5363
|
+
return contents;
|
|
5364
|
+
};
|
|
5365
|
+
const deserializeAws_restJson1DeleteTrafficDistributionGroupCommandError = async (output, context) => {
|
|
5366
|
+
const parsedOutput = {
|
|
5367
|
+
...output,
|
|
5368
|
+
body: await parseErrorBody(output.body, context),
|
|
5369
|
+
};
|
|
5370
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5371
|
+
switch (errorCode) {
|
|
5372
|
+
case "AccessDeniedException":
|
|
5373
|
+
case "com.amazonaws.connect#AccessDeniedException":
|
|
5374
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
5375
|
+
case "InternalServiceException":
|
|
5376
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
5377
|
+
throw await deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context);
|
|
5378
|
+
case "InvalidRequestException":
|
|
5379
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
5380
|
+
throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
5381
|
+
case "ResourceInUseException":
|
|
5382
|
+
case "com.amazonaws.connect#ResourceInUseException":
|
|
5383
|
+
throw await deserializeAws_restJson1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
5384
|
+
case "ThrottlingException":
|
|
5385
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
5386
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
5387
|
+
default:
|
|
5388
|
+
const parsedBody = parsedOutput.body;
|
|
5389
|
+
throwDefaultError({
|
|
5390
|
+
output,
|
|
5391
|
+
parsedBody,
|
|
5392
|
+
exceptionCtor: __BaseException,
|
|
5393
|
+
errorCode,
|
|
5394
|
+
});
|
|
5395
|
+
}
|
|
5396
|
+
};
|
|
5157
5397
|
export const deserializeAws_restJson1DeleteUseCaseCommand = async (output, context) => {
|
|
5158
5398
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5159
5399
|
return deserializeAws_restJson1DeleteUseCaseCommandError(output, context);
|
|
@@ -5919,6 +6159,51 @@ const deserializeAws_restJson1DescribeSecurityProfileCommandError = async (outpu
|
|
|
5919
6159
|
});
|
|
5920
6160
|
}
|
|
5921
6161
|
};
|
|
6162
|
+
export const deserializeAws_restJson1DescribeTrafficDistributionGroupCommand = async (output, context) => {
|
|
6163
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6164
|
+
return deserializeAws_restJson1DescribeTrafficDistributionGroupCommandError(output, context);
|
|
6165
|
+
}
|
|
6166
|
+
const contents = map({
|
|
6167
|
+
$metadata: deserializeMetadata(output),
|
|
6168
|
+
});
|
|
6169
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6170
|
+
if (data.TrafficDistributionGroup != null) {
|
|
6171
|
+
contents.TrafficDistributionGroup = deserializeAws_restJson1TrafficDistributionGroup(data.TrafficDistributionGroup, context);
|
|
6172
|
+
}
|
|
6173
|
+
return contents;
|
|
6174
|
+
};
|
|
6175
|
+
const deserializeAws_restJson1DescribeTrafficDistributionGroupCommandError = async (output, context) => {
|
|
6176
|
+
const parsedOutput = {
|
|
6177
|
+
...output,
|
|
6178
|
+
body: await parseErrorBody(output.body, context),
|
|
6179
|
+
};
|
|
6180
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6181
|
+
switch (errorCode) {
|
|
6182
|
+
case "AccessDeniedException":
|
|
6183
|
+
case "com.amazonaws.connect#AccessDeniedException":
|
|
6184
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
6185
|
+
case "InternalServiceException":
|
|
6186
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
6187
|
+
throw await deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context);
|
|
6188
|
+
case "InvalidRequestException":
|
|
6189
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
6190
|
+
throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
6191
|
+
case "ResourceNotFoundException":
|
|
6192
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
6193
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
6194
|
+
case "ThrottlingException":
|
|
6195
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
6196
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
6197
|
+
default:
|
|
6198
|
+
const parsedBody = parsedOutput.body;
|
|
6199
|
+
throwDefaultError({
|
|
6200
|
+
output,
|
|
6201
|
+
parsedBody,
|
|
6202
|
+
exceptionCtor: __BaseException,
|
|
6203
|
+
errorCode,
|
|
6204
|
+
});
|
|
6205
|
+
}
|
|
6206
|
+
};
|
|
5922
6207
|
export const deserializeAws_restJson1DescribeUserCommand = async (output, context) => {
|
|
5923
6208
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5924
6209
|
return deserializeAws_restJson1DescribeUserCommandError(output, context);
|
|
@@ -6789,6 +7074,57 @@ const deserializeAws_restJson1GetTaskTemplateCommandError = async (output, conte
|
|
|
6789
7074
|
});
|
|
6790
7075
|
}
|
|
6791
7076
|
};
|
|
7077
|
+
export const deserializeAws_restJson1GetTrafficDistributionCommand = async (output, context) => {
|
|
7078
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7079
|
+
return deserializeAws_restJson1GetTrafficDistributionCommandError(output, context);
|
|
7080
|
+
}
|
|
7081
|
+
const contents = map({
|
|
7082
|
+
$metadata: deserializeMetadata(output),
|
|
7083
|
+
});
|
|
7084
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
7085
|
+
if (data.Arn != null) {
|
|
7086
|
+
contents.Arn = __expectString(data.Arn);
|
|
7087
|
+
}
|
|
7088
|
+
if (data.Id != null) {
|
|
7089
|
+
contents.Id = __expectString(data.Id);
|
|
7090
|
+
}
|
|
7091
|
+
if (data.TelephonyConfig != null) {
|
|
7092
|
+
contents.TelephonyConfig = deserializeAws_restJson1TelephonyConfig(data.TelephonyConfig, context);
|
|
7093
|
+
}
|
|
7094
|
+
return contents;
|
|
7095
|
+
};
|
|
7096
|
+
const deserializeAws_restJson1GetTrafficDistributionCommandError = async (output, context) => {
|
|
7097
|
+
const parsedOutput = {
|
|
7098
|
+
...output,
|
|
7099
|
+
body: await parseErrorBody(output.body, context),
|
|
7100
|
+
};
|
|
7101
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7102
|
+
switch (errorCode) {
|
|
7103
|
+
case "AccessDeniedException":
|
|
7104
|
+
case "com.amazonaws.connect#AccessDeniedException":
|
|
7105
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
7106
|
+
case "InternalServiceException":
|
|
7107
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
7108
|
+
throw await deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context);
|
|
7109
|
+
case "InvalidRequestException":
|
|
7110
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
7111
|
+
throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
7112
|
+
case "ResourceNotFoundException":
|
|
7113
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
7114
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
7115
|
+
case "ThrottlingException":
|
|
7116
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
7117
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
7118
|
+
default:
|
|
7119
|
+
const parsedBody = parsedOutput.body;
|
|
7120
|
+
throwDefaultError({
|
|
7121
|
+
output,
|
|
7122
|
+
parsedBody,
|
|
7123
|
+
exceptionCtor: __BaseException,
|
|
7124
|
+
errorCode,
|
|
7125
|
+
});
|
|
7126
|
+
}
|
|
7127
|
+
};
|
|
6792
7128
|
export const deserializeAws_restJson1ListAgentStatusesCommand = async (output, context) => {
|
|
6793
7129
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6794
7130
|
return deserializeAws_restJson1ListAgentStatusesCommandError(output, context);
|
|
@@ -8067,6 +8403,51 @@ const deserializeAws_restJson1ListTaskTemplatesCommandError = async (output, con
|
|
|
8067
8403
|
});
|
|
8068
8404
|
}
|
|
8069
8405
|
};
|
|
8406
|
+
export const deserializeAws_restJson1ListTrafficDistributionGroupsCommand = async (output, context) => {
|
|
8407
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
8408
|
+
return deserializeAws_restJson1ListTrafficDistributionGroupsCommandError(output, context);
|
|
8409
|
+
}
|
|
8410
|
+
const contents = map({
|
|
8411
|
+
$metadata: deserializeMetadata(output),
|
|
8412
|
+
});
|
|
8413
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
8414
|
+
if (data.NextToken != null) {
|
|
8415
|
+
contents.NextToken = __expectString(data.NextToken);
|
|
8416
|
+
}
|
|
8417
|
+
if (data.TrafficDistributionGroupSummaryList != null) {
|
|
8418
|
+
contents.TrafficDistributionGroupSummaryList = deserializeAws_restJson1TrafficDistributionGroupSummaryList(data.TrafficDistributionGroupSummaryList, context);
|
|
8419
|
+
}
|
|
8420
|
+
return contents;
|
|
8421
|
+
};
|
|
8422
|
+
const deserializeAws_restJson1ListTrafficDistributionGroupsCommandError = async (output, context) => {
|
|
8423
|
+
const parsedOutput = {
|
|
8424
|
+
...output,
|
|
8425
|
+
body: await parseErrorBody(output.body, context),
|
|
8426
|
+
};
|
|
8427
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8428
|
+
switch (errorCode) {
|
|
8429
|
+
case "AccessDeniedException":
|
|
8430
|
+
case "com.amazonaws.connect#AccessDeniedException":
|
|
8431
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
8432
|
+
case "InternalServiceException":
|
|
8433
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
8434
|
+
throw await deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context);
|
|
8435
|
+
case "InvalidRequestException":
|
|
8436
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
8437
|
+
throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
8438
|
+
case "ThrottlingException":
|
|
8439
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
8440
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
8441
|
+
default:
|
|
8442
|
+
const parsedBody = parsedOutput.body;
|
|
8443
|
+
throwDefaultError({
|
|
8444
|
+
output,
|
|
8445
|
+
parsedBody,
|
|
8446
|
+
exceptionCtor: __BaseException,
|
|
8447
|
+
errorCode,
|
|
8448
|
+
});
|
|
8449
|
+
}
|
|
8450
|
+
};
|
|
8070
8451
|
export const deserializeAws_restJson1ListUseCasesCommand = async (output, context) => {
|
|
8071
8452
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
8072
8453
|
return deserializeAws_restJson1ListUseCasesCommandError(output, context);
|
|
@@ -8301,6 +8682,63 @@ const deserializeAws_restJson1ReleasePhoneNumberCommandError = async (output, co
|
|
|
8301
8682
|
});
|
|
8302
8683
|
}
|
|
8303
8684
|
};
|
|
8685
|
+
export const deserializeAws_restJson1ReplicateInstanceCommand = async (output, context) => {
|
|
8686
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
8687
|
+
return deserializeAws_restJson1ReplicateInstanceCommandError(output, context);
|
|
8688
|
+
}
|
|
8689
|
+
const contents = map({
|
|
8690
|
+
$metadata: deserializeMetadata(output),
|
|
8691
|
+
});
|
|
8692
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
8693
|
+
if (data.Arn != null) {
|
|
8694
|
+
contents.Arn = __expectString(data.Arn);
|
|
8695
|
+
}
|
|
8696
|
+
if (data.Id != null) {
|
|
8697
|
+
contents.Id = __expectString(data.Id);
|
|
8698
|
+
}
|
|
8699
|
+
return contents;
|
|
8700
|
+
};
|
|
8701
|
+
const deserializeAws_restJson1ReplicateInstanceCommandError = async (output, context) => {
|
|
8702
|
+
const parsedOutput = {
|
|
8703
|
+
...output,
|
|
8704
|
+
body: await parseErrorBody(output.body, context),
|
|
8705
|
+
};
|
|
8706
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8707
|
+
switch (errorCode) {
|
|
8708
|
+
case "AccessDeniedException":
|
|
8709
|
+
case "com.amazonaws.connect#AccessDeniedException":
|
|
8710
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
8711
|
+
case "InternalServiceException":
|
|
8712
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
8713
|
+
throw await deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context);
|
|
8714
|
+
case "InvalidRequestException":
|
|
8715
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
8716
|
+
throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
8717
|
+
case "ResourceConflictException":
|
|
8718
|
+
case "com.amazonaws.connect#ResourceConflictException":
|
|
8719
|
+
throw await deserializeAws_restJson1ResourceConflictExceptionResponse(parsedOutput, context);
|
|
8720
|
+
case "ResourceNotFoundException":
|
|
8721
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
8722
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
8723
|
+
case "ResourceNotReadyException":
|
|
8724
|
+
case "com.amazonaws.connect#ResourceNotReadyException":
|
|
8725
|
+
throw await deserializeAws_restJson1ResourceNotReadyExceptionResponse(parsedOutput, context);
|
|
8726
|
+
case "ServiceQuotaExceededException":
|
|
8727
|
+
case "com.amazonaws.connect#ServiceQuotaExceededException":
|
|
8728
|
+
throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
|
|
8729
|
+
case "ThrottlingException":
|
|
8730
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
8731
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
8732
|
+
default:
|
|
8733
|
+
const parsedBody = parsedOutput.body;
|
|
8734
|
+
throwDefaultError({
|
|
8735
|
+
output,
|
|
8736
|
+
parsedBody,
|
|
8737
|
+
exceptionCtor: __BaseException,
|
|
8738
|
+
errorCode,
|
|
8739
|
+
});
|
|
8740
|
+
}
|
|
8741
|
+
};
|
|
8304
8742
|
export const deserializeAws_restJson1ResumeContactRecordingCommand = async (output, context) => {
|
|
8305
8743
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
8306
8744
|
return deserializeAws_restJson1ResumeContactRecordingCommandError(output, context);
|
|
@@ -10332,6 +10770,51 @@ const deserializeAws_restJson1UpdateTaskTemplateCommandError = async (output, co
|
|
|
10332
10770
|
});
|
|
10333
10771
|
}
|
|
10334
10772
|
};
|
|
10773
|
+
export const deserializeAws_restJson1UpdateTrafficDistributionCommand = async (output, context) => {
|
|
10774
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10775
|
+
return deserializeAws_restJson1UpdateTrafficDistributionCommandError(output, context);
|
|
10776
|
+
}
|
|
10777
|
+
const contents = map({
|
|
10778
|
+
$metadata: deserializeMetadata(output),
|
|
10779
|
+
});
|
|
10780
|
+
await collectBody(output.body, context);
|
|
10781
|
+
return contents;
|
|
10782
|
+
};
|
|
10783
|
+
const deserializeAws_restJson1UpdateTrafficDistributionCommandError = async (output, context) => {
|
|
10784
|
+
const parsedOutput = {
|
|
10785
|
+
...output,
|
|
10786
|
+
body: await parseErrorBody(output.body, context),
|
|
10787
|
+
};
|
|
10788
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10789
|
+
switch (errorCode) {
|
|
10790
|
+
case "AccessDeniedException":
|
|
10791
|
+
case "com.amazonaws.connect#AccessDeniedException":
|
|
10792
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
10793
|
+
case "InternalServiceException":
|
|
10794
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
10795
|
+
throw await deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context);
|
|
10796
|
+
case "InvalidRequestException":
|
|
10797
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
10798
|
+
throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
10799
|
+
case "ResourceConflictException":
|
|
10800
|
+
case "com.amazonaws.connect#ResourceConflictException":
|
|
10801
|
+
throw await deserializeAws_restJson1ResourceConflictExceptionResponse(parsedOutput, context);
|
|
10802
|
+
case "ResourceNotFoundException":
|
|
10803
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
10804
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
10805
|
+
case "ThrottlingException":
|
|
10806
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
10807
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
10808
|
+
default:
|
|
10809
|
+
const parsedBody = parsedOutput.body;
|
|
10810
|
+
throwDefaultError({
|
|
10811
|
+
output,
|
|
10812
|
+
parsedBody,
|
|
10813
|
+
exceptionCtor: __BaseException,
|
|
10814
|
+
errorCode,
|
|
10815
|
+
});
|
|
10816
|
+
}
|
|
10817
|
+
};
|
|
10335
10818
|
export const deserializeAws_restJson1UpdateUserHierarchyCommand = async (output, context) => {
|
|
10336
10819
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10337
10820
|
return deserializeAws_restJson1UpdateUserHierarchyCommandError(output, context);
|
|
@@ -10846,6 +11329,18 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
10846
11329
|
});
|
|
10847
11330
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
10848
11331
|
};
|
|
11332
|
+
const deserializeAws_restJson1ResourceNotReadyExceptionResponse = async (parsedOutput, context) => {
|
|
11333
|
+
const contents = map({});
|
|
11334
|
+
const data = parsedOutput.body;
|
|
11335
|
+
if (data.Message != null) {
|
|
11336
|
+
contents.Message = __expectString(data.Message);
|
|
11337
|
+
}
|
|
11338
|
+
const exception = new ResourceNotReadyException({
|
|
11339
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
11340
|
+
...contents,
|
|
11341
|
+
});
|
|
11342
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
11343
|
+
};
|
|
10849
11344
|
const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
|
|
10850
11345
|
const contents = map({});
|
|
10851
11346
|
const data = parsedOutput.body;
|
|
@@ -10970,6 +11465,19 @@ const serializeAws_restJson1CurrentMetrics = (input, context) => {
|
|
|
10970
11465
|
return serializeAws_restJson1CurrentMetric(entry, context);
|
|
10971
11466
|
});
|
|
10972
11467
|
};
|
|
11468
|
+
const serializeAws_restJson1Distribution = (input, context) => {
|
|
11469
|
+
return {
|
|
11470
|
+
...(input.Percentage != null && { Percentage: input.Percentage }),
|
|
11471
|
+
...(input.Region != null && { Region: input.Region }),
|
|
11472
|
+
};
|
|
11473
|
+
};
|
|
11474
|
+
const serializeAws_restJson1DistributionList = (input, context) => {
|
|
11475
|
+
return input
|
|
11476
|
+
.filter((e) => e != null)
|
|
11477
|
+
.map((entry) => {
|
|
11478
|
+
return serializeAws_restJson1Distribution(entry, context);
|
|
11479
|
+
});
|
|
11480
|
+
};
|
|
10973
11481
|
const serializeAws_restJson1EncryptionConfig = (input, context) => {
|
|
10974
11482
|
return {
|
|
10975
11483
|
...(input.EncryptionType != null && { EncryptionType: input.EncryptionType }),
|
|
@@ -11455,6 +11963,13 @@ const serializeAws_restJson1TaskTemplateFields = (input, context) => {
|
|
|
11455
11963
|
return serializeAws_restJson1TaskTemplateField(entry, context);
|
|
11456
11964
|
});
|
|
11457
11965
|
};
|
|
11966
|
+
const serializeAws_restJson1TelephonyConfig = (input, context) => {
|
|
11967
|
+
return {
|
|
11968
|
+
...(input.Distributions != null && {
|
|
11969
|
+
Distributions: serializeAws_restJson1DistributionList(input.Distributions, context),
|
|
11970
|
+
}),
|
|
11971
|
+
};
|
|
11972
|
+
};
|
|
11458
11973
|
const serializeAws_restJson1Threshold = (input, context) => {
|
|
11459
11974
|
return {
|
|
11460
11975
|
...(input.Comparison != null && { Comparison: input.Comparison }),
|
|
@@ -11853,6 +12368,23 @@ const deserializeAws_restJson1Dimensions = (output, context) => {
|
|
|
11853
12368
|
Queue: output.Queue != null ? deserializeAws_restJson1QueueReference(output.Queue, context) : undefined,
|
|
11854
12369
|
};
|
|
11855
12370
|
};
|
|
12371
|
+
const deserializeAws_restJson1Distribution = (output, context) => {
|
|
12372
|
+
return {
|
|
12373
|
+
Percentage: __expectInt32(output.Percentage),
|
|
12374
|
+
Region: __expectString(output.Region),
|
|
12375
|
+
};
|
|
12376
|
+
};
|
|
12377
|
+
const deserializeAws_restJson1DistributionList = (output, context) => {
|
|
12378
|
+
const retVal = (output || [])
|
|
12379
|
+
.filter((e) => e != null)
|
|
12380
|
+
.map((entry) => {
|
|
12381
|
+
if (entry === null) {
|
|
12382
|
+
return null;
|
|
12383
|
+
}
|
|
12384
|
+
return deserializeAws_restJson1Distribution(entry, context);
|
|
12385
|
+
});
|
|
12386
|
+
return retVal;
|
|
12387
|
+
};
|
|
11856
12388
|
const deserializeAws_restJson1EmailReference = (output, context) => {
|
|
11857
12389
|
return {
|
|
11858
12390
|
Name: __expectString(output.Name),
|
|
@@ -12846,12 +13378,50 @@ const deserializeAws_restJson1TaskTemplateMetadata = (output, context) => {
|
|
|
12846
13378
|
Status: __expectString(output.Status),
|
|
12847
13379
|
};
|
|
12848
13380
|
};
|
|
13381
|
+
const deserializeAws_restJson1TelephonyConfig = (output, context) => {
|
|
13382
|
+
return {
|
|
13383
|
+
Distributions: output.Distributions != null
|
|
13384
|
+
? deserializeAws_restJson1DistributionList(output.Distributions, context)
|
|
13385
|
+
: undefined,
|
|
13386
|
+
};
|
|
13387
|
+
};
|
|
12849
13388
|
const deserializeAws_restJson1Threshold = (output, context) => {
|
|
12850
13389
|
return {
|
|
12851
13390
|
Comparison: __expectString(output.Comparison),
|
|
12852
13391
|
ThresholdValue: __limitedParseDouble(output.ThresholdValue),
|
|
12853
13392
|
};
|
|
12854
13393
|
};
|
|
13394
|
+
const deserializeAws_restJson1TrafficDistributionGroup = (output, context) => {
|
|
13395
|
+
return {
|
|
13396
|
+
Arn: __expectString(output.Arn),
|
|
13397
|
+
Description: __expectString(output.Description),
|
|
13398
|
+
Id: __expectString(output.Id),
|
|
13399
|
+
InstanceArn: __expectString(output.InstanceArn),
|
|
13400
|
+
Name: __expectString(output.Name),
|
|
13401
|
+
Status: __expectString(output.Status),
|
|
13402
|
+
Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
|
|
13403
|
+
};
|
|
13404
|
+
};
|
|
13405
|
+
const deserializeAws_restJson1TrafficDistributionGroupSummary = (output, context) => {
|
|
13406
|
+
return {
|
|
13407
|
+
Arn: __expectString(output.Arn),
|
|
13408
|
+
Id: __expectString(output.Id),
|
|
13409
|
+
InstanceArn: __expectString(output.InstanceArn),
|
|
13410
|
+
Name: __expectString(output.Name),
|
|
13411
|
+
Status: __expectString(output.Status),
|
|
13412
|
+
};
|
|
13413
|
+
};
|
|
13414
|
+
const deserializeAws_restJson1TrafficDistributionGroupSummaryList = (output, context) => {
|
|
13415
|
+
const retVal = (output || [])
|
|
13416
|
+
.filter((e) => e != null)
|
|
13417
|
+
.map((entry) => {
|
|
13418
|
+
if (entry === null) {
|
|
13419
|
+
return null;
|
|
13420
|
+
}
|
|
13421
|
+
return deserializeAws_restJson1TrafficDistributionGroupSummary(entry, context);
|
|
13422
|
+
});
|
|
13423
|
+
return retVal;
|
|
13424
|
+
};
|
|
12855
13425
|
const deserializeAws_restJson1UrlReference = (output, context) => {
|
|
12856
13426
|
return {
|
|
12857
13427
|
Name: __expectString(output.Name),
|