@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,14 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
|
-
const
|
|
5
|
+
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
7
|
var _a, _b, _c, _d, _e;
|
|
8
8
|
return ({
|
|
9
9
|
apiVersion: "2017-08-08",
|
|
10
10
|
disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
endpointProvider: (_b = config === null || config === void 0 ? void 0 : config.endpointProvider) !== null && _b !== void 0 ? _b : endpointResolver_1.defaultEndpointResolver,
|
|
12
|
+
logger: (_c = config === null || config === void 0 ? void 0 : config.logger) !== null && _c !== void 0 ? _c : {},
|
|
13
13
|
serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "Connect",
|
|
14
14
|
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : url_parser_1.parseUrl,
|
|
15
15
|
});
|
package/dist-es/Connect.js
CHANGED
|
@@ -20,6 +20,7 @@ import { CreateQuickConnectCommand, } from "./commands/CreateQuickConnectCommand
|
|
|
20
20
|
import { CreateRoutingProfileCommand, } from "./commands/CreateRoutingProfileCommand";
|
|
21
21
|
import { CreateSecurityProfileCommand, } from "./commands/CreateSecurityProfileCommand";
|
|
22
22
|
import { CreateTaskTemplateCommand, } from "./commands/CreateTaskTemplateCommand";
|
|
23
|
+
import { CreateTrafficDistributionGroupCommand, } from "./commands/CreateTrafficDistributionGroupCommand";
|
|
23
24
|
import { CreateUseCaseCommand, } from "./commands/CreateUseCaseCommand";
|
|
24
25
|
import { CreateUserCommand } from "./commands/CreateUserCommand";
|
|
25
26
|
import { CreateUserHierarchyGroupCommand, } from "./commands/CreateUserHierarchyGroupCommand";
|
|
@@ -32,6 +33,7 @@ import { DeleteIntegrationAssociationCommand, } from "./commands/DeleteIntegrati
|
|
|
32
33
|
import { DeleteQuickConnectCommand, } from "./commands/DeleteQuickConnectCommand";
|
|
33
34
|
import { DeleteSecurityProfileCommand, } from "./commands/DeleteSecurityProfileCommand";
|
|
34
35
|
import { DeleteTaskTemplateCommand, } from "./commands/DeleteTaskTemplateCommand";
|
|
36
|
+
import { DeleteTrafficDistributionGroupCommand, } from "./commands/DeleteTrafficDistributionGroupCommand";
|
|
35
37
|
import { DeleteUseCaseCommand, } from "./commands/DeleteUseCaseCommand";
|
|
36
38
|
import { DeleteUserCommand } from "./commands/DeleteUserCommand";
|
|
37
39
|
import { DeleteUserHierarchyGroupCommand, } from "./commands/DeleteUserHierarchyGroupCommand";
|
|
@@ -49,6 +51,7 @@ import { DescribeQueueCommand, } from "./commands/DescribeQueueCommand";
|
|
|
49
51
|
import { DescribeQuickConnectCommand, } from "./commands/DescribeQuickConnectCommand";
|
|
50
52
|
import { DescribeRoutingProfileCommand, } from "./commands/DescribeRoutingProfileCommand";
|
|
51
53
|
import { DescribeSecurityProfileCommand, } from "./commands/DescribeSecurityProfileCommand";
|
|
54
|
+
import { DescribeTrafficDistributionGroupCommand, } from "./commands/DescribeTrafficDistributionGroupCommand";
|
|
52
55
|
import { DescribeUserCommand, } from "./commands/DescribeUserCommand";
|
|
53
56
|
import { DescribeUserHierarchyGroupCommand, } from "./commands/DescribeUserHierarchyGroupCommand";
|
|
54
57
|
import { DescribeUserHierarchyStructureCommand, } from "./commands/DescribeUserHierarchyStructureCommand";
|
|
@@ -68,6 +71,7 @@ import { GetCurrentUserDataCommand, } from "./commands/GetCurrentUserDataCommand
|
|
|
68
71
|
import { GetFederationTokenCommand, } from "./commands/GetFederationTokenCommand";
|
|
69
72
|
import { GetMetricDataCommand, } from "./commands/GetMetricDataCommand";
|
|
70
73
|
import { GetTaskTemplateCommand, } from "./commands/GetTaskTemplateCommand";
|
|
74
|
+
import { GetTrafficDistributionCommand, } from "./commands/GetTrafficDistributionCommand";
|
|
71
75
|
import { ListAgentStatusesCommand, } from "./commands/ListAgentStatusesCommand";
|
|
72
76
|
import { ListApprovedOriginsCommand, } from "./commands/ListApprovedOriginsCommand";
|
|
73
77
|
import { ListBotsCommand } from "./commands/ListBotsCommand";
|
|
@@ -95,11 +99,13 @@ import { ListSecurityProfilePermissionsCommand, } from "./commands/ListSecurityP
|
|
|
95
99
|
import { ListSecurityProfilesCommand, } from "./commands/ListSecurityProfilesCommand";
|
|
96
100
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
97
101
|
import { ListTaskTemplatesCommand, } from "./commands/ListTaskTemplatesCommand";
|
|
102
|
+
import { ListTrafficDistributionGroupsCommand, } from "./commands/ListTrafficDistributionGroupsCommand";
|
|
98
103
|
import { ListUseCasesCommand, } from "./commands/ListUseCasesCommand";
|
|
99
104
|
import { ListUserHierarchyGroupsCommand, } from "./commands/ListUserHierarchyGroupsCommand";
|
|
100
105
|
import { ListUsersCommand } from "./commands/ListUsersCommand";
|
|
101
106
|
import { PutUserStatusCommand, } from "./commands/PutUserStatusCommand";
|
|
102
107
|
import { ReleasePhoneNumberCommand, } from "./commands/ReleasePhoneNumberCommand";
|
|
108
|
+
import { ReplicateInstanceCommand, } from "./commands/ReplicateInstanceCommand";
|
|
103
109
|
import { ResumeContactRecordingCommand, } from "./commands/ResumeContactRecordingCommand";
|
|
104
110
|
import { SearchAvailablePhoneNumbersCommand, } from "./commands/SearchAvailablePhoneNumbersCommand";
|
|
105
111
|
import { SearchQueuesCommand, } from "./commands/SearchQueuesCommand";
|
|
@@ -145,6 +151,7 @@ import { UpdateRoutingProfileNameCommand, } from "./commands/UpdateRoutingProfil
|
|
|
145
151
|
import { UpdateRoutingProfileQueuesCommand, } from "./commands/UpdateRoutingProfileQueuesCommand";
|
|
146
152
|
import { UpdateSecurityProfileCommand, } from "./commands/UpdateSecurityProfileCommand";
|
|
147
153
|
import { UpdateTaskTemplateCommand, } from "./commands/UpdateTaskTemplateCommand";
|
|
154
|
+
import { UpdateTrafficDistributionCommand, } from "./commands/UpdateTrafficDistributionCommand";
|
|
148
155
|
import { UpdateUserHierarchyCommand, } from "./commands/UpdateUserHierarchyCommand";
|
|
149
156
|
import { UpdateUserHierarchyGroupNameCommand, } from "./commands/UpdateUserHierarchyGroupNameCommand";
|
|
150
157
|
import { UpdateUserHierarchyStructureCommand, } from "./commands/UpdateUserHierarchyStructureCommand";
|
|
@@ -462,6 +469,20 @@ export class Connect extends ConnectClient {
|
|
|
462
469
|
return this.send(command, optionsOrCb);
|
|
463
470
|
}
|
|
464
471
|
}
|
|
472
|
+
createTrafficDistributionGroup(args, optionsOrCb, cb) {
|
|
473
|
+
const command = new CreateTrafficDistributionGroupCommand(args);
|
|
474
|
+
if (typeof optionsOrCb === "function") {
|
|
475
|
+
this.send(command, optionsOrCb);
|
|
476
|
+
}
|
|
477
|
+
else if (typeof cb === "function") {
|
|
478
|
+
if (typeof optionsOrCb !== "object")
|
|
479
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
480
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
481
|
+
}
|
|
482
|
+
else {
|
|
483
|
+
return this.send(command, optionsOrCb);
|
|
484
|
+
}
|
|
485
|
+
}
|
|
465
486
|
createUseCase(args, optionsOrCb, cb) {
|
|
466
487
|
const command = new CreateUseCaseCommand(args);
|
|
467
488
|
if (typeof optionsOrCb === "function") {
|
|
@@ -630,6 +651,20 @@ export class Connect extends ConnectClient {
|
|
|
630
651
|
return this.send(command, optionsOrCb);
|
|
631
652
|
}
|
|
632
653
|
}
|
|
654
|
+
deleteTrafficDistributionGroup(args, optionsOrCb, cb) {
|
|
655
|
+
const command = new DeleteTrafficDistributionGroupCommand(args);
|
|
656
|
+
if (typeof optionsOrCb === "function") {
|
|
657
|
+
this.send(command, optionsOrCb);
|
|
658
|
+
}
|
|
659
|
+
else if (typeof cb === "function") {
|
|
660
|
+
if (typeof optionsOrCb !== "object")
|
|
661
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
662
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
663
|
+
}
|
|
664
|
+
else {
|
|
665
|
+
return this.send(command, optionsOrCb);
|
|
666
|
+
}
|
|
667
|
+
}
|
|
633
668
|
deleteUseCase(args, optionsOrCb, cb) {
|
|
634
669
|
const command = new DeleteUseCaseCommand(args);
|
|
635
670
|
if (typeof optionsOrCb === "function") {
|
|
@@ -868,6 +903,20 @@ export class Connect extends ConnectClient {
|
|
|
868
903
|
return this.send(command, optionsOrCb);
|
|
869
904
|
}
|
|
870
905
|
}
|
|
906
|
+
describeTrafficDistributionGroup(args, optionsOrCb, cb) {
|
|
907
|
+
const command = new DescribeTrafficDistributionGroupCommand(args);
|
|
908
|
+
if (typeof optionsOrCb === "function") {
|
|
909
|
+
this.send(command, optionsOrCb);
|
|
910
|
+
}
|
|
911
|
+
else if (typeof cb === "function") {
|
|
912
|
+
if (typeof optionsOrCb !== "object")
|
|
913
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
914
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
915
|
+
}
|
|
916
|
+
else {
|
|
917
|
+
return this.send(command, optionsOrCb);
|
|
918
|
+
}
|
|
919
|
+
}
|
|
871
920
|
describeUser(args, optionsOrCb, cb) {
|
|
872
921
|
const command = new DescribeUserCommand(args);
|
|
873
922
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1134,6 +1183,20 @@ export class Connect extends ConnectClient {
|
|
|
1134
1183
|
return this.send(command, optionsOrCb);
|
|
1135
1184
|
}
|
|
1136
1185
|
}
|
|
1186
|
+
getTrafficDistribution(args, optionsOrCb, cb) {
|
|
1187
|
+
const command = new GetTrafficDistributionCommand(args);
|
|
1188
|
+
if (typeof optionsOrCb === "function") {
|
|
1189
|
+
this.send(command, optionsOrCb);
|
|
1190
|
+
}
|
|
1191
|
+
else if (typeof cb === "function") {
|
|
1192
|
+
if (typeof optionsOrCb !== "object")
|
|
1193
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1194
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1195
|
+
}
|
|
1196
|
+
else {
|
|
1197
|
+
return this.send(command, optionsOrCb);
|
|
1198
|
+
}
|
|
1199
|
+
}
|
|
1137
1200
|
listAgentStatuses(args, optionsOrCb, cb) {
|
|
1138
1201
|
const command = new ListAgentStatusesCommand(args);
|
|
1139
1202
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1512,6 +1575,20 @@ export class Connect extends ConnectClient {
|
|
|
1512
1575
|
return this.send(command, optionsOrCb);
|
|
1513
1576
|
}
|
|
1514
1577
|
}
|
|
1578
|
+
listTrafficDistributionGroups(args, optionsOrCb, cb) {
|
|
1579
|
+
const command = new ListTrafficDistributionGroupsCommand(args);
|
|
1580
|
+
if (typeof optionsOrCb === "function") {
|
|
1581
|
+
this.send(command, optionsOrCb);
|
|
1582
|
+
}
|
|
1583
|
+
else if (typeof cb === "function") {
|
|
1584
|
+
if (typeof optionsOrCb !== "object")
|
|
1585
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1586
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1587
|
+
}
|
|
1588
|
+
else {
|
|
1589
|
+
return this.send(command, optionsOrCb);
|
|
1590
|
+
}
|
|
1591
|
+
}
|
|
1515
1592
|
listUseCases(args, optionsOrCb, cb) {
|
|
1516
1593
|
const command = new ListUseCasesCommand(args);
|
|
1517
1594
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1582,6 +1659,20 @@ export class Connect extends ConnectClient {
|
|
|
1582
1659
|
return this.send(command, optionsOrCb);
|
|
1583
1660
|
}
|
|
1584
1661
|
}
|
|
1662
|
+
replicateInstance(args, optionsOrCb, cb) {
|
|
1663
|
+
const command = new ReplicateInstanceCommand(args);
|
|
1664
|
+
if (typeof optionsOrCb === "function") {
|
|
1665
|
+
this.send(command, optionsOrCb);
|
|
1666
|
+
}
|
|
1667
|
+
else if (typeof cb === "function") {
|
|
1668
|
+
if (typeof optionsOrCb !== "object")
|
|
1669
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1670
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1671
|
+
}
|
|
1672
|
+
else {
|
|
1673
|
+
return this.send(command, optionsOrCb);
|
|
1674
|
+
}
|
|
1675
|
+
}
|
|
1585
1676
|
resumeContactRecording(args, optionsOrCb, cb) {
|
|
1586
1677
|
const command = new ResumeContactRecordingCommand(args);
|
|
1587
1678
|
if (typeof optionsOrCb === "function") {
|
|
@@ -2212,6 +2303,20 @@ export class Connect extends ConnectClient {
|
|
|
2212
2303
|
return this.send(command, optionsOrCb);
|
|
2213
2304
|
}
|
|
2214
2305
|
}
|
|
2306
|
+
updateTrafficDistribution(args, optionsOrCb, cb) {
|
|
2307
|
+
const command = new UpdateTrafficDistributionCommand(args);
|
|
2308
|
+
if (typeof optionsOrCb === "function") {
|
|
2309
|
+
this.send(command, optionsOrCb);
|
|
2310
|
+
}
|
|
2311
|
+
else if (typeof cb === "function") {
|
|
2312
|
+
if (typeof optionsOrCb !== "object")
|
|
2313
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2314
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
2315
|
+
}
|
|
2316
|
+
else {
|
|
2317
|
+
return this.send(command, optionsOrCb);
|
|
2318
|
+
}
|
|
2319
|
+
}
|
|
2215
2320
|
updateUserHierarchy(args, optionsOrCb, cb) {
|
|
2216
2321
|
const command = new UpdateUserHierarchyCommand(args);
|
|
2217
2322
|
if (typeof optionsOrCb === "function") {
|
package/dist-es/ConnectClient.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { resolveRegionConfig } from "@aws-sdk/config-resolver";
|
|
2
2
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
|
+
import { resolveEndpointConfig } from "@aws-sdk/middleware-endpoint";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
4
5
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
5
6
|
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
@@ -7,18 +8,20 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
|
7
8
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
|
+
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
10
12
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
13
|
export class ConnectClient extends __Client {
|
|
12
14
|
constructor(configuration) {
|
|
13
15
|
const _config_0 = __getRuntimeConfig(configuration);
|
|
14
|
-
const _config_1 =
|
|
15
|
-
const _config_2 =
|
|
16
|
-
const _config_3 =
|
|
17
|
-
const _config_4 =
|
|
18
|
-
const _config_5 =
|
|
19
|
-
const _config_6 =
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
17
|
+
const _config_2 = resolveRegionConfig(_config_1);
|
|
18
|
+
const _config_3 = resolveEndpointConfig(_config_2);
|
|
19
|
+
const _config_4 = resolveRetryConfig(_config_3);
|
|
20
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
21
|
+
const _config_6 = resolveAwsAuthConfig(_config_5);
|
|
22
|
+
const _config_7 = resolveUserAgentConfig(_config_6);
|
|
23
|
+
super(_config_7);
|
|
24
|
+
this.config = _config_7;
|
|
22
25
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
23
26
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
24
27
|
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AssociateApprovedOriginRequestFilterSensitiveLog } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class AssociateApprovedOriginCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, AssociateApprovedOriginCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ConnectClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AssociateBotRequestFilterSensitiveLog } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class AssociateBotCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, AssociateBotCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ConnectClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AssociateDefaultVocabularyRequestFilterSensitiveLog, AssociateDefaultVocabularyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class AssociateDefaultVocabularyCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, AssociateDefaultVocabularyCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ConnectClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AssociateInstanceStorageConfigRequestFilterSensitiveLog, AssociateInstanceStorageConfigResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class AssociateInstanceStorageConfigCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, AssociateInstanceStorageConfigCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ConnectClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AssociateLambdaFunctionRequestFilterSensitiveLog } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class AssociateLambdaFunctionCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, AssociateLambdaFunctionCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ConnectClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AssociateLexBotRequestFilterSensitiveLog } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class AssociateLexBotCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, AssociateLexBotCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ConnectClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AssociatePhoneNumberContactFlowRequestFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class AssociatePhoneNumberContactFlowCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, AssociatePhoneNumberContactFlowCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ConnectClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AssociateQueueQuickConnectsRequestFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class AssociateQueueQuickConnectsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, AssociateQueueQuickConnectsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ConnectClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AssociateRoutingProfileQueuesRequestFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class AssociateRoutingProfileQueuesCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, AssociateRoutingProfileQueuesCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ConnectClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AssociateSecurityKeyRequestFilterSensitiveLog, AssociateSecurityKeyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class AssociateSecurityKeyCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, AssociateSecurityKeyCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ConnectClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ClaimPhoneNumberRequestFilterSensitiveLog, ClaimPhoneNumberResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ClaimPhoneNumberCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ClaimPhoneNumberCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ConnectClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateAgentStatusRequestFilterSensitiveLog, CreateAgentStatusResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateAgentStatusCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateAgentStatusCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ConnectClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateContactFlowRequestFilterSensitiveLog, CreateContactFlowResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateContactFlowCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateContactFlowCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ConnectClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateContactFlowModuleRequestFilterSensitiveLog, CreateContactFlowModuleResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateContactFlowModuleCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateContactFlowModuleCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ConnectClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateHoursOfOperationRequestFilterSensitiveLog, CreateHoursOfOperationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateHoursOfOperationCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateHoursOfOperationCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ConnectClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateInstanceRequestFilterSensitiveLog, CreateInstanceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateInstanceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateInstanceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "ConnectClient";
|