@aws-sdk/client-connect 3.478.0 → 3.481.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/README.md +96 -0
- package/dist-cjs/Connect.js +24 -0
- package/dist-cjs/commands/ActivateEvaluationFormCommand.js +18 -41
- package/dist-cjs/commands/AssociateAnalyticsDataSetCommand.js +18 -41
- package/dist-cjs/commands/AssociateApprovedOriginCommand.js +18 -41
- package/dist-cjs/commands/AssociateBotCommand.js +18 -41
- package/dist-cjs/commands/AssociateDefaultVocabularyCommand.js +18 -41
- package/dist-cjs/commands/AssociateFlowCommand.js +18 -41
- package/dist-cjs/commands/AssociateInstanceStorageConfigCommand.js +18 -41
- package/dist-cjs/commands/AssociateLambdaFunctionCommand.js +18 -41
- package/dist-cjs/commands/AssociateLexBotCommand.js +18 -41
- package/dist-cjs/commands/AssociatePhoneNumberContactFlowCommand.js +18 -41
- package/dist-cjs/commands/AssociateQueueQuickConnectsCommand.js +18 -41
- package/dist-cjs/commands/AssociateRoutingProfileQueuesCommand.js +18 -41
- package/dist-cjs/commands/AssociateSecurityKeyCommand.js +18 -41
- package/dist-cjs/commands/AssociateTrafficDistributionGroupUserCommand.js +18 -41
- package/dist-cjs/commands/AssociateUserProficienciesCommand.js +28 -0
- package/dist-cjs/commands/BatchAssociateAnalyticsDataSetCommand.js +18 -41
- package/dist-cjs/commands/BatchDisassociateAnalyticsDataSetCommand.js +18 -41
- package/dist-cjs/commands/BatchGetFlowAssociationCommand.js +18 -41
- package/dist-cjs/commands/BatchPutContactCommand.js +18 -41
- package/dist-cjs/commands/ClaimPhoneNumberCommand.js +18 -41
- package/dist-cjs/commands/CreateAgentStatusCommand.js +18 -41
- package/dist-cjs/commands/CreateContactFlowCommand.js +18 -41
- package/dist-cjs/commands/CreateContactFlowModuleCommand.js +18 -41
- package/dist-cjs/commands/CreateEvaluationFormCommand.js +18 -41
- package/dist-cjs/commands/CreateHoursOfOperationCommand.js +18 -41
- package/dist-cjs/commands/CreateInstanceCommand.js +18 -41
- package/dist-cjs/commands/CreateIntegrationAssociationCommand.js +18 -41
- package/dist-cjs/commands/CreateParticipantCommand.js +18 -41
- package/dist-cjs/commands/CreatePersistentContactAssociationCommand.js +18 -41
- package/dist-cjs/commands/CreatePredefinedAttributeCommand.js +28 -0
- package/dist-cjs/commands/CreatePromptCommand.js +18 -41
- package/dist-cjs/commands/CreateQueueCommand.js +18 -41
- package/dist-cjs/commands/CreateQuickConnectCommand.js +18 -41
- package/dist-cjs/commands/CreateRoutingProfileCommand.js +18 -41
- package/dist-cjs/commands/CreateRuleCommand.js +18 -41
- package/dist-cjs/commands/CreateSecurityProfileCommand.js +18 -41
- package/dist-cjs/commands/CreateTaskTemplateCommand.js +18 -41
- package/dist-cjs/commands/CreateTrafficDistributionGroupCommand.js +18 -41
- package/dist-cjs/commands/CreateUseCaseCommand.js +18 -41
- package/dist-cjs/commands/CreateUserCommand.js +18 -41
- package/dist-cjs/commands/CreateUserHierarchyGroupCommand.js +18 -41
- package/dist-cjs/commands/CreateViewCommand.js +18 -41
- package/dist-cjs/commands/CreateViewVersionCommand.js +18 -41
- package/dist-cjs/commands/CreateVocabularyCommand.js +18 -41
- package/dist-cjs/commands/DeactivateEvaluationFormCommand.js +18 -41
- package/dist-cjs/commands/DeleteContactEvaluationCommand.js +18 -41
- package/dist-cjs/commands/DeleteContactFlowCommand.js +18 -41
- package/dist-cjs/commands/DeleteContactFlowModuleCommand.js +18 -41
- package/dist-cjs/commands/DeleteEvaluationFormCommand.js +18 -41
- package/dist-cjs/commands/DeleteHoursOfOperationCommand.js +18 -41
- package/dist-cjs/commands/DeleteInstanceCommand.js +18 -41
- package/dist-cjs/commands/DeleteIntegrationAssociationCommand.js +18 -41
- package/dist-cjs/commands/DeletePredefinedAttributeCommand.js +28 -0
- package/dist-cjs/commands/DeletePromptCommand.js +18 -41
- package/dist-cjs/commands/DeleteQueueCommand.js +18 -41
- package/dist-cjs/commands/DeleteQuickConnectCommand.js +18 -41
- package/dist-cjs/commands/DeleteRoutingProfileCommand.js +18 -41
- package/dist-cjs/commands/DeleteRuleCommand.js +18 -41
- package/dist-cjs/commands/DeleteSecurityProfileCommand.js +18 -41
- package/dist-cjs/commands/DeleteTaskTemplateCommand.js +18 -41
- package/dist-cjs/commands/DeleteTrafficDistributionGroupCommand.js +18 -41
- package/dist-cjs/commands/DeleteUseCaseCommand.js +18 -41
- package/dist-cjs/commands/DeleteUserCommand.js +18 -41
- package/dist-cjs/commands/DeleteUserHierarchyGroupCommand.js +18 -41
- package/dist-cjs/commands/DeleteViewCommand.js +18 -41
- package/dist-cjs/commands/DeleteViewVersionCommand.js +18 -41
- package/dist-cjs/commands/DeleteVocabularyCommand.js +18 -41
- package/dist-cjs/commands/DescribeAgentStatusCommand.js +18 -41
- package/dist-cjs/commands/DescribeContactCommand.js +18 -41
- package/dist-cjs/commands/DescribeContactEvaluationCommand.js +18 -41
- package/dist-cjs/commands/DescribeContactFlowCommand.js +18 -41
- package/dist-cjs/commands/DescribeContactFlowModuleCommand.js +18 -41
- package/dist-cjs/commands/DescribeEvaluationFormCommand.js +18 -41
- package/dist-cjs/commands/DescribeHoursOfOperationCommand.js +18 -41
- package/dist-cjs/commands/DescribeInstanceAttributeCommand.js +18 -41
- package/dist-cjs/commands/DescribeInstanceCommand.js +18 -41
- package/dist-cjs/commands/DescribeInstanceStorageConfigCommand.js +18 -41
- package/dist-cjs/commands/DescribePhoneNumberCommand.js +18 -41
- package/dist-cjs/commands/DescribePredefinedAttributeCommand.js +28 -0
- package/dist-cjs/commands/DescribePromptCommand.js +18 -41
- package/dist-cjs/commands/DescribeQueueCommand.js +18 -41
- package/dist-cjs/commands/DescribeQuickConnectCommand.js +18 -41
- package/dist-cjs/commands/DescribeRoutingProfileCommand.js +18 -41
- package/dist-cjs/commands/DescribeRuleCommand.js +18 -41
- package/dist-cjs/commands/DescribeSecurityProfileCommand.js +18 -41
- package/dist-cjs/commands/DescribeTrafficDistributionGroupCommand.js +18 -41
- package/dist-cjs/commands/DescribeUserCommand.js +18 -41
- package/dist-cjs/commands/DescribeUserHierarchyGroupCommand.js +18 -41
- package/dist-cjs/commands/DescribeUserHierarchyStructureCommand.js +18 -41
- package/dist-cjs/commands/DescribeViewCommand.js +18 -41
- package/dist-cjs/commands/DescribeVocabularyCommand.js +18 -41
- package/dist-cjs/commands/DisassociateAnalyticsDataSetCommand.js +18 -41
- package/dist-cjs/commands/DisassociateApprovedOriginCommand.js +18 -41
- package/dist-cjs/commands/DisassociateBotCommand.js +18 -41
- package/dist-cjs/commands/DisassociateFlowCommand.js +18 -41
- package/dist-cjs/commands/DisassociateInstanceStorageConfigCommand.js +18 -41
- package/dist-cjs/commands/DisassociateLambdaFunctionCommand.js +18 -41
- package/dist-cjs/commands/DisassociateLexBotCommand.js +18 -41
- package/dist-cjs/commands/DisassociatePhoneNumberContactFlowCommand.js +18 -41
- package/dist-cjs/commands/DisassociateQueueQuickConnectsCommand.js +18 -41
- package/dist-cjs/commands/DisassociateRoutingProfileQueuesCommand.js +18 -41
- package/dist-cjs/commands/DisassociateSecurityKeyCommand.js +18 -41
- package/dist-cjs/commands/DisassociateTrafficDistributionGroupUserCommand.js +18 -41
- package/dist-cjs/commands/DisassociateUserProficienciesCommand.js +28 -0
- package/dist-cjs/commands/DismissUserContactCommand.js +18 -41
- package/dist-cjs/commands/GetContactAttributesCommand.js +18 -41
- package/dist-cjs/commands/GetCurrentMetricDataCommand.js +18 -41
- package/dist-cjs/commands/GetCurrentUserDataCommand.js +18 -41
- package/dist-cjs/commands/GetFederationTokenCommand.js +18 -41
- package/dist-cjs/commands/GetFlowAssociationCommand.js +18 -41
- package/dist-cjs/commands/GetMetricDataCommand.js +18 -41
- package/dist-cjs/commands/GetMetricDataV2Command.js +18 -41
- package/dist-cjs/commands/GetPromptFileCommand.js +18 -41
- package/dist-cjs/commands/GetTaskTemplateCommand.js +18 -41
- package/dist-cjs/commands/GetTrafficDistributionCommand.js +18 -41
- package/dist-cjs/commands/ImportPhoneNumberCommand.js +18 -41
- package/dist-cjs/commands/ListAgentStatusesCommand.js +18 -41
- package/dist-cjs/commands/ListAnalyticsDataAssociationsCommand.js +18 -41
- package/dist-cjs/commands/ListApprovedOriginsCommand.js +18 -41
- package/dist-cjs/commands/ListBotsCommand.js +18 -41
- package/dist-cjs/commands/ListContactEvaluationsCommand.js +18 -41
- package/dist-cjs/commands/ListContactFlowModulesCommand.js +18 -41
- package/dist-cjs/commands/ListContactFlowsCommand.js +18 -41
- package/dist-cjs/commands/ListContactReferencesCommand.js +18 -41
- package/dist-cjs/commands/ListDefaultVocabulariesCommand.js +18 -41
- package/dist-cjs/commands/ListEvaluationFormVersionsCommand.js +18 -41
- package/dist-cjs/commands/ListEvaluationFormsCommand.js +18 -41
- package/dist-cjs/commands/ListFlowAssociationsCommand.js +18 -41
- package/dist-cjs/commands/ListHoursOfOperationsCommand.js +18 -41
- package/dist-cjs/commands/ListInstanceAttributesCommand.js +18 -41
- package/dist-cjs/commands/ListInstanceStorageConfigsCommand.js +18 -41
- package/dist-cjs/commands/ListInstancesCommand.js +18 -41
- package/dist-cjs/commands/ListIntegrationAssociationsCommand.js +18 -41
- package/dist-cjs/commands/ListLambdaFunctionsCommand.js +18 -41
- package/dist-cjs/commands/ListLexBotsCommand.js +18 -41
- package/dist-cjs/commands/ListPhoneNumbersCommand.js +18 -41
- package/dist-cjs/commands/ListPhoneNumbersV2Command.js +18 -41
- package/dist-cjs/commands/ListPredefinedAttributesCommand.js +28 -0
- package/dist-cjs/commands/ListPromptsCommand.js +18 -41
- package/dist-cjs/commands/ListQueueQuickConnectsCommand.js +18 -41
- package/dist-cjs/commands/ListQueuesCommand.js +18 -41
- package/dist-cjs/commands/ListQuickConnectsCommand.js +18 -41
- package/dist-cjs/commands/ListRealtimeContactAnalysisSegmentsV2Command.js +18 -41
- package/dist-cjs/commands/ListRoutingProfileQueuesCommand.js +18 -41
- package/dist-cjs/commands/ListRoutingProfilesCommand.js +18 -41
- package/dist-cjs/commands/ListRulesCommand.js +18 -41
- package/dist-cjs/commands/ListSecurityKeysCommand.js +18 -41
- package/dist-cjs/commands/ListSecurityProfileApplicationsCommand.js +18 -41
- package/dist-cjs/commands/ListSecurityProfilePermissionsCommand.js +18 -41
- package/dist-cjs/commands/ListSecurityProfilesCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListTaskTemplatesCommand.js +18 -41
- package/dist-cjs/commands/ListTrafficDistributionGroupUsersCommand.js +18 -41
- package/dist-cjs/commands/ListTrafficDistributionGroupsCommand.js +18 -41
- package/dist-cjs/commands/ListUseCasesCommand.js +18 -41
- package/dist-cjs/commands/ListUserHierarchyGroupsCommand.js +18 -41
- package/dist-cjs/commands/ListUserProficienciesCommand.js +28 -0
- package/dist-cjs/commands/ListUsersCommand.js +18 -41
- package/dist-cjs/commands/ListViewVersionsCommand.js +18 -41
- package/dist-cjs/commands/ListViewsCommand.js +18 -41
- package/dist-cjs/commands/MonitorContactCommand.js +18 -41
- package/dist-cjs/commands/PauseContactCommand.js +18 -41
- package/dist-cjs/commands/PutUserStatusCommand.js +18 -41
- package/dist-cjs/commands/ReleasePhoneNumberCommand.js +18 -41
- package/dist-cjs/commands/ReplicateInstanceCommand.js +18 -41
- package/dist-cjs/commands/ResumeContactCommand.js +18 -41
- package/dist-cjs/commands/ResumeContactRecordingCommand.js +18 -41
- package/dist-cjs/commands/SearchAvailablePhoneNumbersCommand.js +18 -41
- package/dist-cjs/commands/SearchContactsCommand.js +29 -0
- package/dist-cjs/commands/SearchHoursOfOperationsCommand.js +18 -41
- package/dist-cjs/commands/SearchPredefinedAttributesCommand.js +28 -0
- package/dist-cjs/commands/SearchPromptsCommand.js +18 -41
- package/dist-cjs/commands/SearchQueuesCommand.js +18 -41
- package/dist-cjs/commands/SearchQuickConnectsCommand.js +18 -41
- package/dist-cjs/commands/SearchResourceTagsCommand.js +18 -41
- package/dist-cjs/commands/SearchRoutingProfilesCommand.js +18 -41
- package/dist-cjs/commands/SearchSecurityProfilesCommand.js +18 -41
- package/dist-cjs/commands/SearchUsersCommand.js +18 -41
- package/dist-cjs/commands/SearchVocabulariesCommand.js +18 -41
- package/dist-cjs/commands/SendChatIntegrationEventCommand.js +18 -41
- package/dist-cjs/commands/StartChatContactCommand.js +18 -41
- package/dist-cjs/commands/StartContactEvaluationCommand.js +18 -41
- package/dist-cjs/commands/StartContactRecordingCommand.js +18 -41
- package/dist-cjs/commands/StartContactStreamingCommand.js +18 -41
- package/dist-cjs/commands/StartOutboundVoiceContactCommand.js +18 -41
- package/dist-cjs/commands/StartTaskContactCommand.js +18 -41
- package/dist-cjs/commands/StartWebRTCContactCommand.js +18 -41
- package/dist-cjs/commands/StopContactCommand.js +18 -41
- package/dist-cjs/commands/StopContactRecordingCommand.js +18 -41
- package/dist-cjs/commands/StopContactStreamingCommand.js +18 -41
- package/dist-cjs/commands/SubmitContactEvaluationCommand.js +18 -41
- package/dist-cjs/commands/SuspendContactRecordingCommand.js +18 -41
- package/dist-cjs/commands/TagContactCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/TransferContactCommand.js +18 -41
- package/dist-cjs/commands/UntagContactCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateAgentStatusCommand.js +18 -41
- package/dist-cjs/commands/UpdateContactAttributesCommand.js +18 -41
- package/dist-cjs/commands/UpdateContactCommand.js +18 -41
- package/dist-cjs/commands/UpdateContactEvaluationCommand.js +18 -41
- package/dist-cjs/commands/UpdateContactFlowContentCommand.js +18 -41
- package/dist-cjs/commands/UpdateContactFlowMetadataCommand.js +18 -41
- package/dist-cjs/commands/UpdateContactFlowModuleContentCommand.js +18 -41
- package/dist-cjs/commands/UpdateContactFlowModuleMetadataCommand.js +18 -41
- package/dist-cjs/commands/UpdateContactFlowNameCommand.js +18 -41
- package/dist-cjs/commands/UpdateContactRoutingDataCommand.js +28 -0
- package/dist-cjs/commands/UpdateContactScheduleCommand.js +18 -41
- package/dist-cjs/commands/UpdateEvaluationFormCommand.js +18 -41
- package/dist-cjs/commands/UpdateHoursOfOperationCommand.js +18 -41
- package/dist-cjs/commands/UpdateInstanceAttributeCommand.js +18 -41
- package/dist-cjs/commands/UpdateInstanceStorageConfigCommand.js +18 -41
- package/dist-cjs/commands/UpdateParticipantRoleConfigCommand.js +18 -41
- package/dist-cjs/commands/UpdatePhoneNumberCommand.js +18 -41
- package/dist-cjs/commands/UpdatePhoneNumberMetadataCommand.js +18 -41
- package/dist-cjs/commands/UpdatePredefinedAttributeCommand.js +28 -0
- package/dist-cjs/commands/UpdatePromptCommand.js +18 -41
- package/dist-cjs/commands/UpdateQueueHoursOfOperationCommand.js +18 -41
- package/dist-cjs/commands/UpdateQueueMaxContactsCommand.js +18 -41
- package/dist-cjs/commands/UpdateQueueNameCommand.js +18 -41
- package/dist-cjs/commands/UpdateQueueOutboundCallerConfigCommand.js +18 -41
- package/dist-cjs/commands/UpdateQueueStatusCommand.js +18 -41
- package/dist-cjs/commands/UpdateQuickConnectConfigCommand.js +18 -41
- package/dist-cjs/commands/UpdateQuickConnectNameCommand.js +18 -41
- package/dist-cjs/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.js +18 -41
- package/dist-cjs/commands/UpdateRoutingProfileConcurrencyCommand.js +18 -41
- package/dist-cjs/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.js +18 -41
- package/dist-cjs/commands/UpdateRoutingProfileNameCommand.js +18 -41
- package/dist-cjs/commands/UpdateRoutingProfileQueuesCommand.js +18 -41
- package/dist-cjs/commands/UpdateRuleCommand.js +18 -41
- package/dist-cjs/commands/UpdateSecurityProfileCommand.js +18 -41
- package/dist-cjs/commands/UpdateTaskTemplateCommand.js +18 -41
- package/dist-cjs/commands/UpdateTrafficDistributionCommand.js +18 -41
- package/dist-cjs/commands/UpdateUserHierarchyCommand.js +18 -41
- package/dist-cjs/commands/UpdateUserHierarchyGroupNameCommand.js +18 -41
- package/dist-cjs/commands/UpdateUserHierarchyStructureCommand.js +18 -41
- package/dist-cjs/commands/UpdateUserIdentityInfoCommand.js +18 -41
- package/dist-cjs/commands/UpdateUserPhoneConfigCommand.js +18 -41
- package/dist-cjs/commands/UpdateUserProficienciesCommand.js +28 -0
- package/dist-cjs/commands/UpdateUserRoutingProfileCommand.js +18 -41
- package/dist-cjs/commands/UpdateUserSecurityProfilesCommand.js +18 -41
- package/dist-cjs/commands/UpdateViewContentCommand.js +18 -41
- package/dist-cjs/commands/UpdateViewMetadataCommand.js +18 -41
- package/dist-cjs/commands/index.js +12 -0
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/models/models_0.js +10 -16
- package/dist-cjs/models/models_1.js +62 -25
- package/dist-cjs/models/models_2.js +39 -1
- package/dist-cjs/pagination/ListPredefinedAttributesPaginator.js +7 -0
- package/dist-cjs/pagination/ListUserProficienciesPaginator.js +7 -0
- package/dist-cjs/pagination/SearchContactsPaginator.js +7 -0
- package/dist-cjs/pagination/SearchPredefinedAttributesPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +4 -0
- package/dist-cjs/protocols/Aws_restJson1.js +878 -32
- package/dist-es/Connect.js +24 -0
- package/dist-es/commands/ActivateEvaluationFormCommand.js +18 -41
- package/dist-es/commands/AssociateAnalyticsDataSetCommand.js +18 -41
- package/dist-es/commands/AssociateApprovedOriginCommand.js +18 -41
- package/dist-es/commands/AssociateBotCommand.js +18 -41
- package/dist-es/commands/AssociateDefaultVocabularyCommand.js +18 -41
- package/dist-es/commands/AssociateFlowCommand.js +18 -41
- package/dist-es/commands/AssociateInstanceStorageConfigCommand.js +18 -41
- package/dist-es/commands/AssociateLambdaFunctionCommand.js +18 -41
- package/dist-es/commands/AssociateLexBotCommand.js +18 -41
- package/dist-es/commands/AssociatePhoneNumberContactFlowCommand.js +18 -41
- package/dist-es/commands/AssociateQueueQuickConnectsCommand.js +18 -41
- package/dist-es/commands/AssociateRoutingProfileQueuesCommand.js +18 -41
- package/dist-es/commands/AssociateSecurityKeyCommand.js +18 -41
- package/dist-es/commands/AssociateTrafficDistributionGroupUserCommand.js +18 -41
- package/dist-es/commands/AssociateUserProficienciesCommand.js +24 -0
- package/dist-es/commands/BatchAssociateAnalyticsDataSetCommand.js +18 -41
- package/dist-es/commands/BatchDisassociateAnalyticsDataSetCommand.js +18 -41
- package/dist-es/commands/BatchGetFlowAssociationCommand.js +18 -41
- package/dist-es/commands/BatchPutContactCommand.js +18 -41
- package/dist-es/commands/ClaimPhoneNumberCommand.js +18 -41
- package/dist-es/commands/CreateAgentStatusCommand.js +18 -41
- package/dist-es/commands/CreateContactFlowCommand.js +18 -41
- package/dist-es/commands/CreateContactFlowModuleCommand.js +18 -41
- package/dist-es/commands/CreateEvaluationFormCommand.js +18 -41
- package/dist-es/commands/CreateHoursOfOperationCommand.js +18 -41
- package/dist-es/commands/CreateInstanceCommand.js +18 -41
- package/dist-es/commands/CreateIntegrationAssociationCommand.js +18 -41
- package/dist-es/commands/CreateParticipantCommand.js +18 -41
- package/dist-es/commands/CreatePersistentContactAssociationCommand.js +18 -41
- package/dist-es/commands/CreatePredefinedAttributeCommand.js +24 -0
- package/dist-es/commands/CreatePromptCommand.js +18 -41
- package/dist-es/commands/CreateQueueCommand.js +18 -41
- package/dist-es/commands/CreateQuickConnectCommand.js +18 -41
- package/dist-es/commands/CreateRoutingProfileCommand.js +18 -41
- package/dist-es/commands/CreateRuleCommand.js +18 -41
- package/dist-es/commands/CreateSecurityProfileCommand.js +18 -41
- package/dist-es/commands/CreateTaskTemplateCommand.js +18 -41
- package/dist-es/commands/CreateTrafficDistributionGroupCommand.js +18 -41
- package/dist-es/commands/CreateUseCaseCommand.js +18 -41
- package/dist-es/commands/CreateUserCommand.js +18 -41
- package/dist-es/commands/CreateUserHierarchyGroupCommand.js +18 -41
- package/dist-es/commands/CreateViewCommand.js +18 -41
- package/dist-es/commands/CreateViewVersionCommand.js +18 -41
- package/dist-es/commands/CreateVocabularyCommand.js +18 -41
- package/dist-es/commands/DeactivateEvaluationFormCommand.js +18 -41
- package/dist-es/commands/DeleteContactEvaluationCommand.js +18 -41
- package/dist-es/commands/DeleteContactFlowCommand.js +18 -41
- package/dist-es/commands/DeleteContactFlowModuleCommand.js +18 -41
- package/dist-es/commands/DeleteEvaluationFormCommand.js +18 -41
- package/dist-es/commands/DeleteHoursOfOperationCommand.js +18 -41
- package/dist-es/commands/DeleteInstanceCommand.js +18 -41
- package/dist-es/commands/DeleteIntegrationAssociationCommand.js +18 -41
- package/dist-es/commands/DeletePredefinedAttributeCommand.js +24 -0
- package/dist-es/commands/DeletePromptCommand.js +18 -41
- package/dist-es/commands/DeleteQueueCommand.js +18 -41
- package/dist-es/commands/DeleteQuickConnectCommand.js +18 -41
- package/dist-es/commands/DeleteRoutingProfileCommand.js +18 -41
- package/dist-es/commands/DeleteRuleCommand.js +18 -41
- package/dist-es/commands/DeleteSecurityProfileCommand.js +18 -41
- package/dist-es/commands/DeleteTaskTemplateCommand.js +18 -41
- package/dist-es/commands/DeleteTrafficDistributionGroupCommand.js +18 -41
- package/dist-es/commands/DeleteUseCaseCommand.js +18 -41
- package/dist-es/commands/DeleteUserCommand.js +18 -41
- package/dist-es/commands/DeleteUserHierarchyGroupCommand.js +18 -41
- package/dist-es/commands/DeleteViewCommand.js +18 -41
- package/dist-es/commands/DeleteViewVersionCommand.js +18 -41
- package/dist-es/commands/DeleteVocabularyCommand.js +18 -41
- package/dist-es/commands/DescribeAgentStatusCommand.js +18 -41
- package/dist-es/commands/DescribeContactCommand.js +18 -41
- package/dist-es/commands/DescribeContactEvaluationCommand.js +18 -41
- package/dist-es/commands/DescribeContactFlowCommand.js +18 -41
- package/dist-es/commands/DescribeContactFlowModuleCommand.js +18 -41
- package/dist-es/commands/DescribeEvaluationFormCommand.js +18 -41
- package/dist-es/commands/DescribeHoursOfOperationCommand.js +18 -41
- package/dist-es/commands/DescribeInstanceAttributeCommand.js +18 -41
- package/dist-es/commands/DescribeInstanceCommand.js +18 -41
- package/dist-es/commands/DescribeInstanceStorageConfigCommand.js +18 -41
- package/dist-es/commands/DescribePhoneNumberCommand.js +18 -41
- package/dist-es/commands/DescribePredefinedAttributeCommand.js +24 -0
- package/dist-es/commands/DescribePromptCommand.js +18 -41
- package/dist-es/commands/DescribeQueueCommand.js +18 -41
- package/dist-es/commands/DescribeQuickConnectCommand.js +18 -41
- package/dist-es/commands/DescribeRoutingProfileCommand.js +18 -41
- package/dist-es/commands/DescribeRuleCommand.js +18 -41
- package/dist-es/commands/DescribeSecurityProfileCommand.js +18 -41
- package/dist-es/commands/DescribeTrafficDistributionGroupCommand.js +18 -41
- package/dist-es/commands/DescribeUserCommand.js +18 -41
- package/dist-es/commands/DescribeUserHierarchyGroupCommand.js +18 -41
- package/dist-es/commands/DescribeUserHierarchyStructureCommand.js +18 -41
- package/dist-es/commands/DescribeViewCommand.js +18 -41
- package/dist-es/commands/DescribeVocabularyCommand.js +18 -41
- package/dist-es/commands/DisassociateAnalyticsDataSetCommand.js +18 -41
- package/dist-es/commands/DisassociateApprovedOriginCommand.js +18 -41
- package/dist-es/commands/DisassociateBotCommand.js +18 -41
- package/dist-es/commands/DisassociateFlowCommand.js +18 -41
- package/dist-es/commands/DisassociateInstanceStorageConfigCommand.js +18 -41
- package/dist-es/commands/DisassociateLambdaFunctionCommand.js +18 -41
- package/dist-es/commands/DisassociateLexBotCommand.js +18 -41
- package/dist-es/commands/DisassociatePhoneNumberContactFlowCommand.js +18 -41
- package/dist-es/commands/DisassociateQueueQuickConnectsCommand.js +18 -41
- package/dist-es/commands/DisassociateRoutingProfileQueuesCommand.js +18 -41
- package/dist-es/commands/DisassociateSecurityKeyCommand.js +18 -41
- package/dist-es/commands/DisassociateTrafficDistributionGroupUserCommand.js +18 -41
- package/dist-es/commands/DisassociateUserProficienciesCommand.js +24 -0
- package/dist-es/commands/DismissUserContactCommand.js +18 -41
- package/dist-es/commands/GetContactAttributesCommand.js +18 -41
- package/dist-es/commands/GetCurrentMetricDataCommand.js +18 -41
- package/dist-es/commands/GetCurrentUserDataCommand.js +18 -41
- package/dist-es/commands/GetFederationTokenCommand.js +18 -41
- package/dist-es/commands/GetFlowAssociationCommand.js +18 -41
- package/dist-es/commands/GetMetricDataCommand.js +18 -41
- package/dist-es/commands/GetMetricDataV2Command.js +18 -41
- package/dist-es/commands/GetPromptFileCommand.js +18 -41
- package/dist-es/commands/GetTaskTemplateCommand.js +18 -41
- package/dist-es/commands/GetTrafficDistributionCommand.js +18 -41
- package/dist-es/commands/ImportPhoneNumberCommand.js +18 -41
- package/dist-es/commands/ListAgentStatusesCommand.js +18 -41
- package/dist-es/commands/ListAnalyticsDataAssociationsCommand.js +18 -41
- package/dist-es/commands/ListApprovedOriginsCommand.js +18 -41
- package/dist-es/commands/ListBotsCommand.js +18 -41
- package/dist-es/commands/ListContactEvaluationsCommand.js +18 -41
- package/dist-es/commands/ListContactFlowModulesCommand.js +18 -41
- package/dist-es/commands/ListContactFlowsCommand.js +18 -41
- package/dist-es/commands/ListContactReferencesCommand.js +18 -41
- package/dist-es/commands/ListDefaultVocabulariesCommand.js +18 -41
- package/dist-es/commands/ListEvaluationFormVersionsCommand.js +18 -41
- package/dist-es/commands/ListEvaluationFormsCommand.js +18 -41
- package/dist-es/commands/ListFlowAssociationsCommand.js +18 -41
- package/dist-es/commands/ListHoursOfOperationsCommand.js +18 -41
- package/dist-es/commands/ListInstanceAttributesCommand.js +18 -41
- package/dist-es/commands/ListInstanceStorageConfigsCommand.js +18 -41
- package/dist-es/commands/ListInstancesCommand.js +18 -41
- package/dist-es/commands/ListIntegrationAssociationsCommand.js +18 -41
- package/dist-es/commands/ListLambdaFunctionsCommand.js +18 -41
- package/dist-es/commands/ListLexBotsCommand.js +18 -41
- package/dist-es/commands/ListPhoneNumbersCommand.js +18 -41
- package/dist-es/commands/ListPhoneNumbersV2Command.js +18 -41
- package/dist-es/commands/ListPredefinedAttributesCommand.js +24 -0
- package/dist-es/commands/ListPromptsCommand.js +18 -41
- package/dist-es/commands/ListQueueQuickConnectsCommand.js +18 -41
- package/dist-es/commands/ListQueuesCommand.js +18 -41
- package/dist-es/commands/ListQuickConnectsCommand.js +18 -41
- package/dist-es/commands/ListRealtimeContactAnalysisSegmentsV2Command.js +18 -41
- package/dist-es/commands/ListRoutingProfileQueuesCommand.js +18 -41
- package/dist-es/commands/ListRoutingProfilesCommand.js +18 -41
- package/dist-es/commands/ListRulesCommand.js +18 -41
- package/dist-es/commands/ListSecurityKeysCommand.js +18 -41
- package/dist-es/commands/ListSecurityProfileApplicationsCommand.js +18 -41
- package/dist-es/commands/ListSecurityProfilePermissionsCommand.js +18 -41
- package/dist-es/commands/ListSecurityProfilesCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListTaskTemplatesCommand.js +18 -41
- package/dist-es/commands/ListTrafficDistributionGroupUsersCommand.js +18 -41
- package/dist-es/commands/ListTrafficDistributionGroupsCommand.js +18 -41
- package/dist-es/commands/ListUseCasesCommand.js +18 -41
- package/dist-es/commands/ListUserHierarchyGroupsCommand.js +18 -41
- package/dist-es/commands/ListUserProficienciesCommand.js +24 -0
- package/dist-es/commands/ListUsersCommand.js +18 -41
- package/dist-es/commands/ListViewVersionsCommand.js +18 -41
- package/dist-es/commands/ListViewsCommand.js +18 -41
- package/dist-es/commands/MonitorContactCommand.js +18 -41
- package/dist-es/commands/PauseContactCommand.js +18 -41
- package/dist-es/commands/PutUserStatusCommand.js +18 -41
- package/dist-es/commands/ReleasePhoneNumberCommand.js +18 -41
- package/dist-es/commands/ReplicateInstanceCommand.js +18 -41
- package/dist-es/commands/ResumeContactCommand.js +18 -41
- package/dist-es/commands/ResumeContactRecordingCommand.js +18 -41
- package/dist-es/commands/SearchAvailablePhoneNumbersCommand.js +18 -41
- package/dist-es/commands/SearchContactsCommand.js +25 -0
- package/dist-es/commands/SearchHoursOfOperationsCommand.js +18 -41
- package/dist-es/commands/SearchPredefinedAttributesCommand.js +24 -0
- package/dist-es/commands/SearchPromptsCommand.js +18 -41
- package/dist-es/commands/SearchQueuesCommand.js +18 -41
- package/dist-es/commands/SearchQuickConnectsCommand.js +18 -41
- package/dist-es/commands/SearchResourceTagsCommand.js +18 -41
- package/dist-es/commands/SearchRoutingProfilesCommand.js +18 -41
- package/dist-es/commands/SearchSecurityProfilesCommand.js +18 -41
- package/dist-es/commands/SearchUsersCommand.js +18 -41
- package/dist-es/commands/SearchVocabulariesCommand.js +18 -41
- package/dist-es/commands/SendChatIntegrationEventCommand.js +18 -41
- package/dist-es/commands/StartChatContactCommand.js +18 -41
- package/dist-es/commands/StartContactEvaluationCommand.js +18 -41
- package/dist-es/commands/StartContactRecordingCommand.js +18 -41
- package/dist-es/commands/StartContactStreamingCommand.js +18 -41
- package/dist-es/commands/StartOutboundVoiceContactCommand.js +18 -41
- package/dist-es/commands/StartTaskContactCommand.js +18 -41
- package/dist-es/commands/StartWebRTCContactCommand.js +18 -41
- package/dist-es/commands/StopContactCommand.js +18 -41
- package/dist-es/commands/StopContactRecordingCommand.js +18 -41
- package/dist-es/commands/StopContactStreamingCommand.js +18 -41
- package/dist-es/commands/SubmitContactEvaluationCommand.js +18 -41
- package/dist-es/commands/SuspendContactRecordingCommand.js +18 -41
- package/dist-es/commands/TagContactCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/TransferContactCommand.js +18 -41
- package/dist-es/commands/UntagContactCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateAgentStatusCommand.js +18 -41
- package/dist-es/commands/UpdateContactAttributesCommand.js +18 -41
- package/dist-es/commands/UpdateContactCommand.js +18 -41
- package/dist-es/commands/UpdateContactEvaluationCommand.js +18 -41
- package/dist-es/commands/UpdateContactFlowContentCommand.js +18 -41
- package/dist-es/commands/UpdateContactFlowMetadataCommand.js +18 -41
- package/dist-es/commands/UpdateContactFlowModuleContentCommand.js +18 -41
- package/dist-es/commands/UpdateContactFlowModuleMetadataCommand.js +18 -41
- package/dist-es/commands/UpdateContactFlowNameCommand.js +18 -41
- package/dist-es/commands/UpdateContactRoutingDataCommand.js +24 -0
- package/dist-es/commands/UpdateContactScheduleCommand.js +18 -41
- package/dist-es/commands/UpdateEvaluationFormCommand.js +18 -41
- package/dist-es/commands/UpdateHoursOfOperationCommand.js +18 -41
- package/dist-es/commands/UpdateInstanceAttributeCommand.js +18 -41
- package/dist-es/commands/UpdateInstanceStorageConfigCommand.js +18 -41
- package/dist-es/commands/UpdateParticipantRoleConfigCommand.js +18 -41
- package/dist-es/commands/UpdatePhoneNumberCommand.js +18 -41
- package/dist-es/commands/UpdatePhoneNumberMetadataCommand.js +18 -41
- package/dist-es/commands/UpdatePredefinedAttributeCommand.js +24 -0
- package/dist-es/commands/UpdatePromptCommand.js +18 -41
- package/dist-es/commands/UpdateQueueHoursOfOperationCommand.js +18 -41
- package/dist-es/commands/UpdateQueueMaxContactsCommand.js +18 -41
- package/dist-es/commands/UpdateQueueNameCommand.js +18 -41
- package/dist-es/commands/UpdateQueueOutboundCallerConfigCommand.js +18 -41
- package/dist-es/commands/UpdateQueueStatusCommand.js +18 -41
- package/dist-es/commands/UpdateQuickConnectConfigCommand.js +18 -41
- package/dist-es/commands/UpdateQuickConnectNameCommand.js +18 -41
- package/dist-es/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.js +18 -41
- package/dist-es/commands/UpdateRoutingProfileConcurrencyCommand.js +18 -41
- package/dist-es/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.js +18 -41
- package/dist-es/commands/UpdateRoutingProfileNameCommand.js +18 -41
- package/dist-es/commands/UpdateRoutingProfileQueuesCommand.js +18 -41
- package/dist-es/commands/UpdateRuleCommand.js +18 -41
- package/dist-es/commands/UpdateSecurityProfileCommand.js +18 -41
- package/dist-es/commands/UpdateTaskTemplateCommand.js +18 -41
- package/dist-es/commands/UpdateTrafficDistributionCommand.js +18 -41
- package/dist-es/commands/UpdateUserHierarchyCommand.js +18 -41
- package/dist-es/commands/UpdateUserHierarchyGroupNameCommand.js +18 -41
- package/dist-es/commands/UpdateUserHierarchyStructureCommand.js +18 -41
- package/dist-es/commands/UpdateUserIdentityInfoCommand.js +18 -41
- package/dist-es/commands/UpdateUserPhoneConfigCommand.js +18 -41
- package/dist-es/commands/UpdateUserProficienciesCommand.js +24 -0
- package/dist-es/commands/UpdateUserRoutingProfileCommand.js +18 -41
- package/dist-es/commands/UpdateUserSecurityProfilesCommand.js +18 -41
- package/dist-es/commands/UpdateViewContentCommand.js +18 -41
- package/dist-es/commands/UpdateViewMetadataCommand.js +18 -41
- package/dist-es/commands/index.js +12 -0
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/models/models_0.js +8 -14
- package/dist-es/models/models_1.js +55 -23
- package/dist-es/models/models_2.js +36 -0
- package/dist-es/pagination/ListPredefinedAttributesPaginator.js +4 -0
- package/dist-es/pagination/ListUserProficienciesPaginator.js +4 -0
- package/dist-es/pagination/SearchContactsPaginator.js +4 -0
- package/dist-es/pagination/SearchPredefinedAttributesPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +846 -24
- package/dist-types/Connect.d.ts +84 -0
- package/dist-types/ConnectClient.d.ts +14 -2
- package/dist-types/commands/ActivateEvaluationFormCommand.d.ts +6 -21
- package/dist-types/commands/AssociateAnalyticsDataSetCommand.d.ts +6 -21
- package/dist-types/commands/AssociateApprovedOriginCommand.d.ts +6 -21
- package/dist-types/commands/AssociateBotCommand.d.ts +6 -21
- package/dist-types/commands/AssociateDefaultVocabularyCommand.d.ts +6 -21
- package/dist-types/commands/AssociateFlowCommand.d.ts +6 -21
- package/dist-types/commands/AssociateInstanceStorageConfigCommand.d.ts +6 -21
- package/dist-types/commands/AssociateLambdaFunctionCommand.d.ts +6 -21
- package/dist-types/commands/AssociateLexBotCommand.d.ts +6 -21
- package/dist-types/commands/AssociatePhoneNumberContactFlowCommand.d.ts +6 -21
- package/dist-types/commands/AssociateQueueQuickConnectsCommand.d.ts +6 -21
- package/dist-types/commands/AssociateRoutingProfileQueuesCommand.d.ts +6 -21
- package/dist-types/commands/AssociateSecurityKeyCommand.d.ts +6 -21
- package/dist-types/commands/AssociateTrafficDistributionGroupUserCommand.d.ts +6 -21
- package/dist-types/commands/AssociateUserProficienciesCommand.d.ts +79 -0
- package/dist-types/commands/BatchAssociateAnalyticsDataSetCommand.d.ts +6 -21
- package/dist-types/commands/BatchDisassociateAnalyticsDataSetCommand.d.ts +6 -21
- package/dist-types/commands/BatchGetFlowAssociationCommand.d.ts +6 -21
- package/dist-types/commands/BatchPutContactCommand.d.ts +6 -21
- package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +6 -21
- package/dist-types/commands/CreateAgentStatusCommand.d.ts +6 -21
- package/dist-types/commands/CreateContactFlowCommand.d.ts +6 -21
- package/dist-types/commands/CreateContactFlowModuleCommand.d.ts +6 -21
- package/dist-types/commands/CreateEvaluationFormCommand.d.ts +6 -21
- package/dist-types/commands/CreateHoursOfOperationCommand.d.ts +6 -21
- package/dist-types/commands/CreateInstanceCommand.d.ts +6 -21
- package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +6 -21
- package/dist-types/commands/CreateParticipantCommand.d.ts +6 -21
- package/dist-types/commands/CreatePersistentContactAssociationCommand.d.ts +6 -21
- package/dist-types/commands/CreatePredefinedAttributeCommand.d.ts +83 -0
- package/dist-types/commands/CreatePromptCommand.d.ts +6 -21
- package/dist-types/commands/CreateQueueCommand.d.ts +6 -21
- package/dist-types/commands/CreateQuickConnectCommand.d.ts +6 -21
- package/dist-types/commands/CreateRoutingProfileCommand.d.ts +6 -21
- package/dist-types/commands/CreateRuleCommand.d.ts +6 -21
- package/dist-types/commands/CreateSecurityProfileCommand.d.ts +6 -21
- package/dist-types/commands/CreateTaskTemplateCommand.d.ts +6 -21
- package/dist-types/commands/CreateTrafficDistributionGroupCommand.d.ts +6 -21
- package/dist-types/commands/CreateUseCaseCommand.d.ts +6 -21
- package/dist-types/commands/CreateUserCommand.d.ts +6 -21
- package/dist-types/commands/CreateUserHierarchyGroupCommand.d.ts +6 -21
- package/dist-types/commands/CreateViewCommand.d.ts +6 -21
- package/dist-types/commands/CreateViewVersionCommand.d.ts +6 -21
- package/dist-types/commands/CreateVocabularyCommand.d.ts +6 -21
- package/dist-types/commands/DeactivateEvaluationFormCommand.d.ts +6 -21
- package/dist-types/commands/DeleteContactEvaluationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteContactFlowCommand.d.ts +6 -21
- package/dist-types/commands/DeleteContactFlowModuleCommand.d.ts +6 -21
- package/dist-types/commands/DeleteEvaluationFormCommand.d.ts +6 -21
- package/dist-types/commands/DeleteHoursOfOperationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteInstanceCommand.d.ts +6 -21
- package/dist-types/commands/DeleteIntegrationAssociationCommand.d.ts +6 -21
- package/dist-types/commands/DeletePredefinedAttributeCommand.d.ts +75 -0
- package/dist-types/commands/DeletePromptCommand.d.ts +6 -21
- package/dist-types/commands/DeleteQueueCommand.d.ts +6 -21
- package/dist-types/commands/DeleteQuickConnectCommand.d.ts +6 -21
- package/dist-types/commands/DeleteRoutingProfileCommand.d.ts +6 -21
- package/dist-types/commands/DeleteRuleCommand.d.ts +6 -21
- package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +6 -21
- package/dist-types/commands/DeleteTaskTemplateCommand.d.ts +6 -21
- package/dist-types/commands/DeleteTrafficDistributionGroupCommand.d.ts +6 -21
- package/dist-types/commands/DeleteUseCaseCommand.d.ts +6 -21
- package/dist-types/commands/DeleteUserCommand.d.ts +6 -21
- package/dist-types/commands/DeleteUserHierarchyGroupCommand.d.ts +6 -21
- package/dist-types/commands/DeleteViewCommand.d.ts +6 -21
- package/dist-types/commands/DeleteViewVersionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteVocabularyCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAgentStatusCommand.d.ts +6 -21
- package/dist-types/commands/DescribeContactCommand.d.ts +8 -21
- package/dist-types/commands/DescribeContactEvaluationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeContactFlowCommand.d.ts +6 -21
- package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEvaluationFormCommand.d.ts +6 -21
- package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +6 -21
- package/dist-types/commands/DescribeInstanceCommand.d.ts +6 -21
- package/dist-types/commands/DescribeInstanceStorageConfigCommand.d.ts +6 -21
- package/dist-types/commands/DescribePhoneNumberCommand.d.ts +8 -22
- package/dist-types/commands/DescribePredefinedAttributeCommand.d.ts +83 -0
- package/dist-types/commands/DescribePromptCommand.d.ts +7 -23
- package/dist-types/commands/DescribeQueueCommand.d.ts +6 -21
- package/dist-types/commands/DescribeQuickConnectCommand.d.ts +6 -21
- package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +6 -21
- package/dist-types/commands/DescribeRuleCommand.d.ts +6 -21
- package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +6 -21
- package/dist-types/commands/DescribeTrafficDistributionGroupCommand.d.ts +6 -21
- package/dist-types/commands/DescribeUserCommand.d.ts +6 -21
- package/dist-types/commands/DescribeUserHierarchyGroupCommand.d.ts +6 -21
- package/dist-types/commands/DescribeUserHierarchyStructureCommand.d.ts +6 -21
- package/dist-types/commands/DescribeViewCommand.d.ts +6 -21
- package/dist-types/commands/DescribeVocabularyCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateAnalyticsDataSetCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateApprovedOriginCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateBotCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateFlowCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateInstanceStorageConfigCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateLambdaFunctionCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateLexBotCommand.d.ts +6 -21
- package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateQueueQuickConnectsCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateRoutingProfileQueuesCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateSecurityKeyCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateTrafficDistributionGroupUserCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateUserProficienciesCommand.d.ts +78 -0
- package/dist-types/commands/DismissUserContactCommand.d.ts +6 -21
- package/dist-types/commands/GetContactAttributesCommand.d.ts +6 -21
- package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +11 -22
- package/dist-types/commands/GetCurrentUserDataCommand.d.ts +6 -21
- package/dist-types/commands/GetFederationTokenCommand.d.ts +6 -21
- package/dist-types/commands/GetFlowAssociationCommand.d.ts +6 -21
- package/dist-types/commands/GetMetricDataCommand.d.ts +11 -22
- package/dist-types/commands/GetMetricDataV2Command.d.ts +6 -21
- package/dist-types/commands/GetPromptFileCommand.d.ts +6 -21
- package/dist-types/commands/GetTaskTemplateCommand.d.ts +6 -21
- package/dist-types/commands/GetTrafficDistributionCommand.d.ts +6 -21
- package/dist-types/commands/ImportPhoneNumberCommand.d.ts +6 -21
- package/dist-types/commands/ListAgentStatusesCommand.d.ts +6 -21
- package/dist-types/commands/ListAnalyticsDataAssociationsCommand.d.ts +6 -21
- package/dist-types/commands/ListApprovedOriginsCommand.d.ts +6 -21
- package/dist-types/commands/ListBotsCommand.d.ts +6 -21
- package/dist-types/commands/ListContactEvaluationsCommand.d.ts +6 -21
- package/dist-types/commands/ListContactFlowModulesCommand.d.ts +6 -21
- package/dist-types/commands/ListContactFlowsCommand.d.ts +6 -21
- package/dist-types/commands/ListContactReferencesCommand.d.ts +6 -21
- package/dist-types/commands/ListDefaultVocabulariesCommand.d.ts +6 -21
- package/dist-types/commands/ListEvaluationFormVersionsCommand.d.ts +6 -21
- package/dist-types/commands/ListEvaluationFormsCommand.d.ts +6 -21
- package/dist-types/commands/ListFlowAssociationsCommand.d.ts +6 -21
- package/dist-types/commands/ListHoursOfOperationsCommand.d.ts +6 -21
- package/dist-types/commands/ListInstanceAttributesCommand.d.ts +6 -21
- package/dist-types/commands/ListInstanceStorageConfigsCommand.d.ts +6 -21
- package/dist-types/commands/ListInstancesCommand.d.ts +6 -21
- package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +6 -21
- package/dist-types/commands/ListLambdaFunctionsCommand.d.ts +6 -21
- package/dist-types/commands/ListLexBotsCommand.d.ts +6 -21
- package/dist-types/commands/ListPhoneNumbersCommand.d.ts +6 -21
- package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +6 -21
- package/dist-types/commands/ListPredefinedAttributesCommand.d.ts +82 -0
- package/dist-types/commands/ListPromptsCommand.d.ts +6 -21
- package/dist-types/commands/ListQueueQuickConnectsCommand.d.ts +6 -21
- package/dist-types/commands/ListQueuesCommand.d.ts +6 -21
- package/dist-types/commands/ListQuickConnectsCommand.d.ts +6 -21
- package/dist-types/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +6 -21
- package/dist-types/commands/ListRoutingProfileQueuesCommand.d.ts +6 -21
- package/dist-types/commands/ListRoutingProfilesCommand.d.ts +6 -21
- package/dist-types/commands/ListRulesCommand.d.ts +6 -21
- package/dist-types/commands/ListSecurityKeysCommand.d.ts +6 -21
- package/dist-types/commands/ListSecurityProfileApplicationsCommand.d.ts +6 -21
- package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +6 -21
- package/dist-types/commands/ListSecurityProfilesCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListTaskTemplatesCommand.d.ts +6 -21
- package/dist-types/commands/ListTrafficDistributionGroupUsersCommand.d.ts +6 -21
- package/dist-types/commands/ListTrafficDistributionGroupsCommand.d.ts +6 -21
- package/dist-types/commands/ListUseCasesCommand.d.ts +6 -21
- package/dist-types/commands/ListUserHierarchyGroupsCommand.d.ts +6 -21
- package/dist-types/commands/ListUserProficienciesCommand.d.ts +85 -0
- package/dist-types/commands/ListUsersCommand.d.ts +6 -21
- package/dist-types/commands/ListViewVersionsCommand.d.ts +6 -21
- package/dist-types/commands/ListViewsCommand.d.ts +6 -21
- package/dist-types/commands/MonitorContactCommand.d.ts +6 -21
- package/dist-types/commands/PauseContactCommand.d.ts +8 -22
- package/dist-types/commands/PutUserStatusCommand.d.ts +6 -21
- package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +6 -21
- package/dist-types/commands/ReplicateInstanceCommand.d.ts +6 -21
- package/dist-types/commands/ResumeContactCommand.d.ts +8 -22
- package/dist-types/commands/ResumeContactRecordingCommand.d.ts +6 -21
- package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +6 -21
- package/dist-types/commands/SearchContactsCommand.d.ts +162 -0
- package/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +7 -23
- package/dist-types/commands/SearchPredefinedAttributesCommand.d.ts +113 -0
- package/dist-types/commands/SearchPromptsCommand.d.ts +7 -23
- package/dist-types/commands/SearchQueuesCommand.d.ts +7 -23
- package/dist-types/commands/SearchQuickConnectsCommand.d.ts +7 -23
- package/dist-types/commands/SearchResourceTagsCommand.d.ts +7 -22
- package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +7 -23
- package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +7 -23
- package/dist-types/commands/SearchUsersCommand.d.ts +6 -21
- package/dist-types/commands/SearchVocabulariesCommand.d.ts +6 -21
- package/dist-types/commands/SendChatIntegrationEventCommand.d.ts +6 -21
- package/dist-types/commands/StartChatContactCommand.d.ts +6 -21
- package/dist-types/commands/StartContactEvaluationCommand.d.ts +6 -21
- package/dist-types/commands/StartContactRecordingCommand.d.ts +6 -21
- package/dist-types/commands/StartContactStreamingCommand.d.ts +6 -21
- package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +6 -21
- package/dist-types/commands/StartTaskContactCommand.d.ts +6 -21
- package/dist-types/commands/StartWebRTCContactCommand.d.ts +6 -21
- package/dist-types/commands/StopContactCommand.d.ts +6 -21
- package/dist-types/commands/StopContactRecordingCommand.d.ts +6 -21
- package/dist-types/commands/StopContactStreamingCommand.d.ts +6 -21
- package/dist-types/commands/SubmitContactEvaluationCommand.d.ts +6 -21
- package/dist-types/commands/SuspendContactRecordingCommand.d.ts +6 -21
- package/dist-types/commands/TagContactCommand.d.ts +9 -24
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/TransferContactCommand.d.ts +6 -21
- package/dist-types/commands/UntagContactCommand.d.ts +9 -23
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateAgentStatusCommand.d.ts +6 -21
- package/dist-types/commands/UpdateContactAttributesCommand.d.ts +6 -21
- package/dist-types/commands/UpdateContactCommand.d.ts +6 -21
- package/dist-types/commands/UpdateContactEvaluationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +6 -21
- package/dist-types/commands/UpdateContactFlowMetadataCommand.d.ts +6 -21
- package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +6 -21
- package/dist-types/commands/UpdateContactFlowModuleMetadataCommand.d.ts +6 -21
- package/dist-types/commands/UpdateContactFlowNameCommand.d.ts +6 -21
- package/dist-types/commands/UpdateContactRoutingDataCommand.d.ts +86 -0
- package/dist-types/commands/UpdateContactScheduleCommand.d.ts +6 -21
- package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +6 -21
- package/dist-types/commands/UpdateHoursOfOperationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateInstanceAttributeCommand.d.ts +6 -21
- package/dist-types/commands/UpdateInstanceStorageConfigCommand.d.ts +6 -21
- package/dist-types/commands/UpdateParticipantRoleConfigCommand.d.ts +6 -21
- package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +6 -21
- package/dist-types/commands/UpdatePhoneNumberMetadataCommand.d.ts +6 -21
- package/dist-types/commands/UpdatePredefinedAttributeCommand.d.ts +77 -0
- package/dist-types/commands/UpdatePromptCommand.d.ts +6 -21
- package/dist-types/commands/UpdateQueueHoursOfOperationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateQueueMaxContactsCommand.d.ts +6 -21
- package/dist-types/commands/UpdateQueueNameCommand.d.ts +6 -21
- package/dist-types/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +6 -21
- package/dist-types/commands/UpdateQueueStatusCommand.d.ts +6 -21
- package/dist-types/commands/UpdateQuickConnectConfigCommand.d.ts +6 -21
- package/dist-types/commands/UpdateQuickConnectNameCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRoutingProfileNameCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRoutingProfileQueuesCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRuleCommand.d.ts +6 -21
- package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +6 -21
- package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +6 -21
- package/dist-types/commands/UpdateTrafficDistributionCommand.d.ts +6 -21
- package/dist-types/commands/UpdateUserHierarchyCommand.d.ts +6 -21
- package/dist-types/commands/UpdateUserHierarchyGroupNameCommand.d.ts +6 -21
- package/dist-types/commands/UpdateUserHierarchyStructureCommand.d.ts +6 -21
- package/dist-types/commands/UpdateUserIdentityInfoCommand.d.ts +6 -21
- package/dist-types/commands/UpdateUserPhoneConfigCommand.d.ts +6 -21
- package/dist-types/commands/UpdateUserProficienciesCommand.d.ts +79 -0
- package/dist-types/commands/UpdateUserRoutingProfileCommand.d.ts +6 -21
- package/dist-types/commands/UpdateUserSecurityProfilesCommand.d.ts +6 -21
- package/dist-types/commands/UpdateViewContentCommand.d.ts +6 -21
- package/dist-types/commands/UpdateViewMetadataCommand.d.ts +6 -21
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/models/models_0.d.ts +159 -185
- package/dist-types/models/models_1.d.ts +495 -423
- package/dist-types/models/models_2.d.ts +875 -12
- package/dist-types/pagination/ListPredefinedAttributesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListUserProficienciesPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchContactsPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchPredefinedAttributesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +108 -0
- package/dist-types/ts3.4/Connect.d.ts +204 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +72 -0
- package/dist-types/ts3.4/commands/ActivateEvaluationFormCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/AssociateAnalyticsDataSetCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/AssociateApprovedOriginCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/AssociateBotCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/AssociateDefaultVocabularyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/AssociateFlowCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/AssociateInstanceStorageConfigCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/AssociateLambdaFunctionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/AssociateLexBotCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/AssociatePhoneNumberContactFlowCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/AssociateQueueQuickConnectsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/AssociateRoutingProfileQueuesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/AssociateSecurityKeyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/AssociateTrafficDistributionGroupUserCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/AssociateUserProficienciesCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/BatchAssociateAnalyticsDataSetCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchDisassociateAnalyticsDataSetCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchGetFlowAssociationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchPutContactCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ClaimPhoneNumberCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateAgentStatusCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateContactFlowCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateContactFlowModuleCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateEvaluationFormCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateHoursOfOperationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateInstanceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateIntegrationAssociationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateParticipantCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreatePersistentContactAssociationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreatePredefinedAttributeCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/CreatePromptCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateQueueCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateQuickConnectCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateRoutingProfileCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateSecurityProfileCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateTaskTemplateCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateTrafficDistributionGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateUseCaseCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateUserHierarchyGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateViewCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateViewVersionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateVocabularyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeactivateEvaluationFormCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteContactEvaluationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteContactFlowCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteContactFlowModuleCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteEvaluationFormCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteHoursOfOperationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteInstanceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteIntegrationAssociationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeletePredefinedAttributeCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/DeletePromptCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteQueueCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteQuickConnectCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteRoutingProfileCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteSecurityProfileCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteTaskTemplateCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteTrafficDistributionGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteUseCaseCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteUserHierarchyGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteViewCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteViewVersionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeAgentStatusCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeContactCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeContactEvaluationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeContactFlowCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeContactFlowModuleCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeEvaluationFormCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeHoursOfOperationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeInstanceAttributeCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeInstanceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeInstanceStorageConfigCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribePhoneNumberCommand.d.ts +16 -27
- package/dist-types/ts3.4/commands/DescribePredefinedAttributeCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/DescribePromptCommand.d.ts +18 -25
- package/dist-types/ts3.4/commands/DescribeQueueCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeQuickConnectCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeRoutingProfileCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeRuleCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeSecurityProfileCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeTrafficDistributionGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeUserHierarchyGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeUserHierarchyStructureCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeViewCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeVocabularyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DisassociateAnalyticsDataSetCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisassociateApprovedOriginCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisassociateBotCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DisassociateFlowCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DisassociateInstanceStorageConfigCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisassociateLambdaFunctionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisassociateLexBotCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisassociateQueueQuickConnectsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisassociateRoutingProfileQueuesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisassociateSecurityKeyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisassociateTrafficDistributionGroupUserCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisassociateUserProficienciesCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/DismissUserContactCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetContactAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetCurrentMetricDataCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetCurrentUserDataCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetFlowAssociationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMetricDataCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMetricDataV2Command.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetPromptFileCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetTaskTemplateCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetTrafficDistributionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ImportPhoneNumberCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListAgentStatusesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListAnalyticsDataAssociationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListApprovedOriginsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListBotsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListContactEvaluationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListContactFlowModulesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListContactFlowsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListContactReferencesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDefaultVocabulariesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListEvaluationFormVersionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListEvaluationFormsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListFlowAssociationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListHoursOfOperationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListInstanceAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListInstanceStorageConfigsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListIntegrationAssociationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListLambdaFunctionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListLexBotsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListPhoneNumbersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListPhoneNumbersV2Command.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListPredefinedAttributesCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/ListPromptsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListQueueQuickConnectsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListQueuesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListQuickConnectsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListRoutingProfileQueuesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListRoutingProfilesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListSecurityKeysCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListSecurityProfileApplicationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListSecurityProfilePermissionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListSecurityProfilesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTaskTemplatesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTrafficDistributionGroupUsersCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTrafficDistributionGroupsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListUseCasesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListUserHierarchyGroupsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListUserProficienciesCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListViewVersionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListViewsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/MonitorContactCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PauseContactCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutUserStatusCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ReleasePhoneNumberCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ReplicateInstanceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ResumeContactCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ResumeContactRecordingCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SearchAvailablePhoneNumbersCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SearchContactsCommand.d.ts +29 -0
- package/dist-types/ts3.4/commands/SearchHoursOfOperationsCommand.d.ts +16 -26
- package/dist-types/ts3.4/commands/SearchPredefinedAttributesCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/SearchPromptsCommand.d.ts +18 -25
- package/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +15 -25
- package/dist-types/ts3.4/commands/SearchQuickConnectsCommand.d.ts +18 -25
- package/dist-types/ts3.4/commands/SearchResourceTagsCommand.d.ts +15 -24
- package/dist-types/ts3.4/commands/SearchRoutingProfilesCommand.d.ts +16 -26
- package/dist-types/ts3.4/commands/SearchSecurityProfilesCommand.d.ts +16 -26
- package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SearchVocabulariesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SendChatIntegrationEventCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartContactEvaluationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartContactRecordingCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartContactStreamingCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartOutboundVoiceContactCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartTaskContactCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartWebRTCContactCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopContactCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopContactRecordingCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StopContactStreamingCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SubmitContactEvaluationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SuspendContactRecordingCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagContactCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TransferContactCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagContactCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateAgentStatusCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateContactAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateContactEvaluationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateContactFlowContentCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateContactFlowMetadataCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateContactFlowModuleContentCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateContactFlowModuleMetadataCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateContactFlowNameCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateContactRoutingDataCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/UpdateContactScheduleCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateEvaluationFormCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateHoursOfOperationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateInstanceAttributeCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateInstanceStorageConfigCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateParticipantRoleConfigCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdatePhoneNumberCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdatePhoneNumberMetadataCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdatePredefinedAttributeCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/UpdatePromptCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateQueueHoursOfOperationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateQueueMaxContactsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateQueueNameCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateQueueStatusCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateQuickConnectConfigCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateQuickConnectNameCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateRoutingProfileNameCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateRoutingProfileQueuesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateSecurityProfileCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateTaskTemplateCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateTrafficDistributionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateUserHierarchyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateUserHierarchyGroupNameCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateUserHierarchyStructureCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateUserIdentityInfoCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateUserPhoneConfigCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateUserProficienciesCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/UpdateUserRoutingProfileCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateUserSecurityProfilesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateViewContentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateViewMetadataCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/models/models_0.d.ts +46 -42
- package/dist-types/ts3.4/models/models_1.d.ts +153 -113
- package/dist-types/ts3.4/models/models_2.d.ts +215 -10
- package/dist-types/ts3.4/pagination/ListPredefinedAttributesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListUserProficienciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchContactsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchPredefinedAttributesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +144 -0
- package/package.json +9 -9
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { awsExpectUnion as __expectUnion } from "@aws-sdk/core";
|
|
2
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, map, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
5
|
import { ConnectServiceException as __BaseException } from "../models/ConnectServiceException";
|
|
6
6
|
import { AccessDeniedException, ContactFlowNotPublishedException, DuplicateResourceException, EvaluationAnswerData, IdempotencyException, InternalServiceException, InvalidContactFlowException, InvalidContactFlowModuleException, InvalidParameterException, InvalidRequestException, LimitExceededException, PropertyValidationException, ResourceConflictException, ResourceInUseException, ResourceNotFoundException, ResourceNotReadyException, ServiceQuotaExceededException, ThrottlingException, TooManyRequestsException, } from "../models/models_0";
|
|
7
|
-
import { ConflictException,
|
|
8
|
-
import { ContactNotFoundException, DestinationNotAllowedException, EvaluationFormItem, OutboundContactNotPermittedException, } from "../models/models_2";
|
|
7
|
+
import { ConflictException, OutputTypeNotFoundException, UserNotFoundException, } from "../models/models_1";
|
|
8
|
+
import { ContactNotFoundException, DestinationNotAllowedException, EvaluationFormItem, MaximumResultReturnedException, OutboundContactNotPermittedException, } from "../models/models_2";
|
|
9
9
|
export const se_ActivateEvaluationFormCommand = async (input, context) => {
|
|
10
10
|
const b = rb(input, context);
|
|
11
11
|
const headers = {
|
|
@@ -213,6 +213,21 @@ export const se_AssociateTrafficDistributionGroupUserCommand = async (input, con
|
|
|
213
213
|
b.m("PUT").h(headers).b(body);
|
|
214
214
|
return b.build();
|
|
215
215
|
};
|
|
216
|
+
export const se_AssociateUserProficienciesCommand = async (input, context) => {
|
|
217
|
+
const b = rb(input, context);
|
|
218
|
+
const headers = {
|
|
219
|
+
"content-type": "application/json",
|
|
220
|
+
};
|
|
221
|
+
b.bp("/users/{InstanceId}/{UserId}/associate-proficiencies");
|
|
222
|
+
b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
|
|
223
|
+
b.p("UserId", () => input.UserId, "{UserId}", false);
|
|
224
|
+
let body;
|
|
225
|
+
body = JSON.stringify(take(input, {
|
|
226
|
+
UserProficiencies: (_) => se_UserProficiencyList(_, context),
|
|
227
|
+
}));
|
|
228
|
+
b.m("POST").h(headers).b(body);
|
|
229
|
+
return b.build();
|
|
230
|
+
};
|
|
216
231
|
export const se_BatchAssociateAnalyticsDataSetCommand = async (input, context) => {
|
|
217
232
|
const b = rb(input, context);
|
|
218
233
|
const headers = {
|
|
@@ -452,6 +467,21 @@ export const se_CreatePersistentContactAssociationCommand = async (input, contex
|
|
|
452
467
|
b.m("POST").h(headers).b(body);
|
|
453
468
|
return b.build();
|
|
454
469
|
};
|
|
470
|
+
export const se_CreatePredefinedAttributeCommand = async (input, context) => {
|
|
471
|
+
const b = rb(input, context);
|
|
472
|
+
const headers = {
|
|
473
|
+
"content-type": "application/json",
|
|
474
|
+
};
|
|
475
|
+
b.bp("/predefined-attributes/{InstanceId}");
|
|
476
|
+
b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
|
|
477
|
+
let body;
|
|
478
|
+
body = JSON.stringify(take(input, {
|
|
479
|
+
Name: [],
|
|
480
|
+
Values: (_) => _json(_),
|
|
481
|
+
}));
|
|
482
|
+
b.m("PUT").h(headers).b(body);
|
|
483
|
+
return b.build();
|
|
484
|
+
};
|
|
455
485
|
export const se_CreatePromptCommand = async (input, context) => {
|
|
456
486
|
const b = rb(input, context);
|
|
457
487
|
const headers = {
|
|
@@ -797,6 +827,16 @@ export const se_DeleteIntegrationAssociationCommand = async (input, context) =>
|
|
|
797
827
|
b.m("DELETE").h(headers).b(body);
|
|
798
828
|
return b.build();
|
|
799
829
|
};
|
|
830
|
+
export const se_DeletePredefinedAttributeCommand = async (input, context) => {
|
|
831
|
+
const b = rb(input, context);
|
|
832
|
+
const headers = {};
|
|
833
|
+
b.bp("/predefined-attributes/{InstanceId}/{Name}");
|
|
834
|
+
b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
|
|
835
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
836
|
+
let body;
|
|
837
|
+
b.m("DELETE").h(headers).b(body);
|
|
838
|
+
return b.build();
|
|
839
|
+
};
|
|
800
840
|
export const se_DeletePromptCommand = async (input, context) => {
|
|
801
841
|
const b = rb(input, context);
|
|
802
842
|
const headers = {};
|
|
@@ -1052,6 +1092,16 @@ export const se_DescribePhoneNumberCommand = async (input, context) => {
|
|
|
1052
1092
|
b.m("GET").h(headers).b(body);
|
|
1053
1093
|
return b.build();
|
|
1054
1094
|
};
|
|
1095
|
+
export const se_DescribePredefinedAttributeCommand = async (input, context) => {
|
|
1096
|
+
const b = rb(input, context);
|
|
1097
|
+
const headers = {};
|
|
1098
|
+
b.bp("/predefined-attributes/{InstanceId}/{Name}");
|
|
1099
|
+
b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
|
|
1100
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
1101
|
+
let body;
|
|
1102
|
+
b.m("GET").h(headers).b(body);
|
|
1103
|
+
return b.build();
|
|
1104
|
+
};
|
|
1055
1105
|
export const se_DescribePromptCommand = async (input, context) => {
|
|
1056
1106
|
const b = rb(input, context);
|
|
1057
1107
|
const headers = {};
|
|
@@ -1326,6 +1376,21 @@ export const se_DisassociateTrafficDistributionGroupUserCommand = async (input,
|
|
|
1326
1376
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
1327
1377
|
return b.build();
|
|
1328
1378
|
};
|
|
1379
|
+
export const se_DisassociateUserProficienciesCommand = async (input, context) => {
|
|
1380
|
+
const b = rb(input, context);
|
|
1381
|
+
const headers = {
|
|
1382
|
+
"content-type": "application/json",
|
|
1383
|
+
};
|
|
1384
|
+
b.bp("/users/{InstanceId}/{UserId}/disassociate-proficiencies");
|
|
1385
|
+
b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
|
|
1386
|
+
b.p("UserId", () => input.UserId, "{UserId}", false);
|
|
1387
|
+
let body;
|
|
1388
|
+
body = JSON.stringify(take(input, {
|
|
1389
|
+
UserProficiencies: (_) => _json(_),
|
|
1390
|
+
}));
|
|
1391
|
+
b.m("POST").h(headers).b(body);
|
|
1392
|
+
return b.build();
|
|
1393
|
+
};
|
|
1329
1394
|
export const se_DismissUserContactCommand = async (input, context) => {
|
|
1330
1395
|
const b = rb(input, context);
|
|
1331
1396
|
const headers = {
|
|
@@ -1796,6 +1861,19 @@ export const se_ListPhoneNumbersV2Command = async (input, context) => {
|
|
|
1796
1861
|
b.m("POST").h(headers).b(body);
|
|
1797
1862
|
return b.build();
|
|
1798
1863
|
};
|
|
1864
|
+
export const se_ListPredefinedAttributesCommand = async (input, context) => {
|
|
1865
|
+
const b = rb(input, context);
|
|
1866
|
+
const headers = {};
|
|
1867
|
+
b.bp("/predefined-attributes/{InstanceId}");
|
|
1868
|
+
b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
|
|
1869
|
+
const query = map({
|
|
1870
|
+
[_nT]: [, input[_NT]],
|
|
1871
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
1872
|
+
});
|
|
1873
|
+
let body;
|
|
1874
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1875
|
+
return b.build();
|
|
1876
|
+
};
|
|
1799
1877
|
export const se_ListPromptsCommand = async (input, context) => {
|
|
1800
1878
|
const b = rb(input, context);
|
|
1801
1879
|
const headers = {};
|
|
@@ -2042,6 +2120,20 @@ export const se_ListUserHierarchyGroupsCommand = async (input, context) => {
|
|
|
2042
2120
|
b.m("GET").h(headers).q(query).b(body);
|
|
2043
2121
|
return b.build();
|
|
2044
2122
|
};
|
|
2123
|
+
export const se_ListUserProficienciesCommand = async (input, context) => {
|
|
2124
|
+
const b = rb(input, context);
|
|
2125
|
+
const headers = {};
|
|
2126
|
+
b.bp("/users/{InstanceId}/{UserId}/proficiencies");
|
|
2127
|
+
b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
|
|
2128
|
+
b.p("UserId", () => input.UserId, "{UserId}", false);
|
|
2129
|
+
const query = map({
|
|
2130
|
+
[_nT]: [, input[_NT]],
|
|
2131
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
2132
|
+
});
|
|
2133
|
+
let body;
|
|
2134
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
2135
|
+
return b.build();
|
|
2136
|
+
};
|
|
2045
2137
|
export const se_ListUsersCommand = async (input, context) => {
|
|
2046
2138
|
const b = rb(input, context);
|
|
2047
2139
|
const headers = {};
|
|
@@ -2207,6 +2299,24 @@ export const se_SearchAvailablePhoneNumbersCommand = async (input, context) => {
|
|
|
2207
2299
|
b.m("POST").h(headers).b(body);
|
|
2208
2300
|
return b.build();
|
|
2209
2301
|
};
|
|
2302
|
+
export const se_SearchContactsCommand = async (input, context) => {
|
|
2303
|
+
const b = rb(input, context);
|
|
2304
|
+
const headers = {
|
|
2305
|
+
"content-type": "application/json",
|
|
2306
|
+
};
|
|
2307
|
+
b.bp("/search-contacts");
|
|
2308
|
+
let body;
|
|
2309
|
+
body = JSON.stringify(take(input, {
|
|
2310
|
+
InstanceId: [],
|
|
2311
|
+
MaxResults: [],
|
|
2312
|
+
NextToken: [],
|
|
2313
|
+
SearchCriteria: (_) => _json(_),
|
|
2314
|
+
Sort: (_) => _json(_),
|
|
2315
|
+
TimeRange: (_) => se_SearchContactsTimeRange(_, context),
|
|
2316
|
+
}));
|
|
2317
|
+
b.m("POST").h(headers).b(body);
|
|
2318
|
+
return b.build();
|
|
2319
|
+
};
|
|
2210
2320
|
export const se_SearchHoursOfOperationsCommand = async (input, context) => {
|
|
2211
2321
|
const b = rb(input, context);
|
|
2212
2322
|
const headers = {
|
|
@@ -2224,6 +2334,22 @@ export const se_SearchHoursOfOperationsCommand = async (input, context) => {
|
|
|
2224
2334
|
b.m("POST").h(headers).b(body);
|
|
2225
2335
|
return b.build();
|
|
2226
2336
|
};
|
|
2337
|
+
export const se_SearchPredefinedAttributesCommand = async (input, context) => {
|
|
2338
|
+
const b = rb(input, context);
|
|
2339
|
+
const headers = {
|
|
2340
|
+
"content-type": "application/json",
|
|
2341
|
+
};
|
|
2342
|
+
b.bp("/search-predefined-attributes");
|
|
2343
|
+
let body;
|
|
2344
|
+
body = JSON.stringify(take(input, {
|
|
2345
|
+
InstanceId: [],
|
|
2346
|
+
MaxResults: [],
|
|
2347
|
+
NextToken: [],
|
|
2348
|
+
SearchCriteria: (_) => se_PredefinedAttributeSearchCriteria(_, context),
|
|
2349
|
+
}));
|
|
2350
|
+
b.m("POST").h(headers).b(body);
|
|
2351
|
+
return b.build();
|
|
2352
|
+
};
|
|
2227
2353
|
export const se_SearchPromptsCommand = async (input, context) => {
|
|
2228
2354
|
const b = rb(input, context);
|
|
2229
2355
|
const headers = {
|
|
@@ -2821,6 +2947,22 @@ export const se_UpdateContactFlowNameCommand = async (input, context) => {
|
|
|
2821
2947
|
b.m("POST").h(headers).b(body);
|
|
2822
2948
|
return b.build();
|
|
2823
2949
|
};
|
|
2950
|
+
export const se_UpdateContactRoutingDataCommand = async (input, context) => {
|
|
2951
|
+
const b = rb(input, context);
|
|
2952
|
+
const headers = {
|
|
2953
|
+
"content-type": "application/json",
|
|
2954
|
+
};
|
|
2955
|
+
b.bp("/contacts/{InstanceId}/{ContactId}/routing-data");
|
|
2956
|
+
b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
|
|
2957
|
+
b.p("ContactId", () => input.ContactId, "{ContactId}", false);
|
|
2958
|
+
let body;
|
|
2959
|
+
body = JSON.stringify(take(input, {
|
|
2960
|
+
QueuePriority: [],
|
|
2961
|
+
QueueTimeAdjustmentSeconds: [],
|
|
2962
|
+
}));
|
|
2963
|
+
b.m("POST").h(headers).b(body);
|
|
2964
|
+
return b.build();
|
|
2965
|
+
};
|
|
2824
2966
|
export const se_UpdateContactScheduleCommand = async (input, context) => {
|
|
2825
2967
|
const b = rb(input, context);
|
|
2826
2968
|
const headers = {
|
|
@@ -2954,6 +3096,21 @@ export const se_UpdatePhoneNumberMetadataCommand = async (input, context) => {
|
|
|
2954
3096
|
b.m("PUT").h(headers).b(body);
|
|
2955
3097
|
return b.build();
|
|
2956
3098
|
};
|
|
3099
|
+
export const se_UpdatePredefinedAttributeCommand = async (input, context) => {
|
|
3100
|
+
const b = rb(input, context);
|
|
3101
|
+
const headers = {
|
|
3102
|
+
"content-type": "application/json",
|
|
3103
|
+
};
|
|
3104
|
+
b.bp("/predefined-attributes/{InstanceId}/{Name}");
|
|
3105
|
+
b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
|
|
3106
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
3107
|
+
let body;
|
|
3108
|
+
body = JSON.stringify(take(input, {
|
|
3109
|
+
Values: (_) => _json(_),
|
|
3110
|
+
}));
|
|
3111
|
+
b.m("POST").h(headers).b(body);
|
|
3112
|
+
return b.build();
|
|
3113
|
+
};
|
|
2957
3114
|
export const se_UpdatePromptCommand = async (input, context) => {
|
|
2958
3115
|
const b = rb(input, context);
|
|
2959
3116
|
const headers = {
|
|
@@ -3302,6 +3459,21 @@ export const se_UpdateUserPhoneConfigCommand = async (input, context) => {
|
|
|
3302
3459
|
b.m("POST").h(headers).b(body);
|
|
3303
3460
|
return b.build();
|
|
3304
3461
|
};
|
|
3462
|
+
export const se_UpdateUserProficienciesCommand = async (input, context) => {
|
|
3463
|
+
const b = rb(input, context);
|
|
3464
|
+
const headers = {
|
|
3465
|
+
"content-type": "application/json",
|
|
3466
|
+
};
|
|
3467
|
+
b.bp("/users/{InstanceId}/{UserId}/proficiencies");
|
|
3468
|
+
b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
|
|
3469
|
+
b.p("UserId", () => input.UserId, "{UserId}", false);
|
|
3470
|
+
let body;
|
|
3471
|
+
body = JSON.stringify(take(input, {
|
|
3472
|
+
UserProficiencies: (_) => se_UserProficiencyList(_, context),
|
|
3473
|
+
}));
|
|
3474
|
+
b.m("POST").h(headers).b(body);
|
|
3475
|
+
return b.build();
|
|
3476
|
+
};
|
|
3305
3477
|
export const se_UpdateUserRoutingProfileCommand = async (input, context) => {
|
|
3306
3478
|
const b = rb(input, context);
|
|
3307
3479
|
const headers = {
|
|
@@ -4001,6 +4173,47 @@ const de_AssociateTrafficDistributionGroupUserCommandError = async (output, cont
|
|
|
4001
4173
|
});
|
|
4002
4174
|
}
|
|
4003
4175
|
};
|
|
4176
|
+
export const de_AssociateUserProficienciesCommand = async (output, context) => {
|
|
4177
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4178
|
+
return de_AssociateUserProficienciesCommandError(output, context);
|
|
4179
|
+
}
|
|
4180
|
+
const contents = map({
|
|
4181
|
+
$metadata: deserializeMetadata(output),
|
|
4182
|
+
});
|
|
4183
|
+
await collectBody(output.body, context);
|
|
4184
|
+
return contents;
|
|
4185
|
+
};
|
|
4186
|
+
const de_AssociateUserProficienciesCommandError = async (output, context) => {
|
|
4187
|
+
const parsedOutput = {
|
|
4188
|
+
...output,
|
|
4189
|
+
body: await parseErrorBody(output.body, context),
|
|
4190
|
+
};
|
|
4191
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4192
|
+
switch (errorCode) {
|
|
4193
|
+
case "InternalServiceException":
|
|
4194
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
4195
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
4196
|
+
case "InvalidParameterException":
|
|
4197
|
+
case "com.amazonaws.connect#InvalidParameterException":
|
|
4198
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
4199
|
+
case "InvalidRequestException":
|
|
4200
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
4201
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
4202
|
+
case "ResourceNotFoundException":
|
|
4203
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
4204
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4205
|
+
case "ThrottlingException":
|
|
4206
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
4207
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4208
|
+
default:
|
|
4209
|
+
const parsedBody = parsedOutput.body;
|
|
4210
|
+
return throwDefaultError({
|
|
4211
|
+
output,
|
|
4212
|
+
parsedBody,
|
|
4213
|
+
errorCode,
|
|
4214
|
+
});
|
|
4215
|
+
}
|
|
4216
|
+
};
|
|
4004
4217
|
export const de_BatchAssociateAnalyticsDataSetCommand = async (output, context) => {
|
|
4005
4218
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4006
4219
|
return de_BatchAssociateAnalyticsDataSetCommandError(output, context);
|
|
@@ -4694,6 +4907,53 @@ const de_CreatePersistentContactAssociationCommandError = async (output, context
|
|
|
4694
4907
|
});
|
|
4695
4908
|
}
|
|
4696
4909
|
};
|
|
4910
|
+
export const de_CreatePredefinedAttributeCommand = async (output, context) => {
|
|
4911
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4912
|
+
return de_CreatePredefinedAttributeCommandError(output, context);
|
|
4913
|
+
}
|
|
4914
|
+
const contents = map({
|
|
4915
|
+
$metadata: deserializeMetadata(output),
|
|
4916
|
+
});
|
|
4917
|
+
await collectBody(output.body, context);
|
|
4918
|
+
return contents;
|
|
4919
|
+
};
|
|
4920
|
+
const de_CreatePredefinedAttributeCommandError = async (output, context) => {
|
|
4921
|
+
const parsedOutput = {
|
|
4922
|
+
...output,
|
|
4923
|
+
body: await parseErrorBody(output.body, context),
|
|
4924
|
+
};
|
|
4925
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4926
|
+
switch (errorCode) {
|
|
4927
|
+
case "DuplicateResourceException":
|
|
4928
|
+
case "com.amazonaws.connect#DuplicateResourceException":
|
|
4929
|
+
throw await de_DuplicateResourceExceptionRes(parsedOutput, context);
|
|
4930
|
+
case "InternalServiceException":
|
|
4931
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
4932
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
4933
|
+
case "InvalidParameterException":
|
|
4934
|
+
case "com.amazonaws.connect#InvalidParameterException":
|
|
4935
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
4936
|
+
case "InvalidRequestException":
|
|
4937
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
4938
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
4939
|
+
case "LimitExceededException":
|
|
4940
|
+
case "com.amazonaws.connect#LimitExceededException":
|
|
4941
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
4942
|
+
case "ResourceNotFoundException":
|
|
4943
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
4944
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4945
|
+
case "ThrottlingException":
|
|
4946
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
4947
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4948
|
+
default:
|
|
4949
|
+
const parsedBody = parsedOutput.body;
|
|
4950
|
+
return throwDefaultError({
|
|
4951
|
+
output,
|
|
4952
|
+
parsedBody,
|
|
4953
|
+
errorCode,
|
|
4954
|
+
});
|
|
4955
|
+
}
|
|
4956
|
+
};
|
|
4697
4957
|
export const de_CreatePromptCommand = async (output, context) => {
|
|
4698
4958
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4699
4959
|
return de_CreatePromptCommandError(output, context);
|
|
@@ -5752,9 +6012,9 @@ const de_DeleteIntegrationAssociationCommandError = async (output, context) => {
|
|
|
5752
6012
|
});
|
|
5753
6013
|
}
|
|
5754
6014
|
};
|
|
5755
|
-
export const
|
|
6015
|
+
export const de_DeletePredefinedAttributeCommand = async (output, context) => {
|
|
5756
6016
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5757
|
-
return
|
|
6017
|
+
return de_DeletePredefinedAttributeCommandError(output, context);
|
|
5758
6018
|
}
|
|
5759
6019
|
const contents = map({
|
|
5760
6020
|
$metadata: deserializeMetadata(output),
|
|
@@ -5762,7 +6022,7 @@ export const de_DeletePromptCommand = async (output, context) => {
|
|
|
5762
6022
|
await collectBody(output.body, context);
|
|
5763
6023
|
return contents;
|
|
5764
6024
|
};
|
|
5765
|
-
const
|
|
6025
|
+
const de_DeletePredefinedAttributeCommandError = async (output, context) => {
|
|
5766
6026
|
const parsedOutput = {
|
|
5767
6027
|
...output,
|
|
5768
6028
|
body: await parseErrorBody(output.body, context),
|
|
@@ -5778,6 +6038,9 @@ const de_DeletePromptCommandError = async (output, context) => {
|
|
|
5778
6038
|
case "InvalidRequestException":
|
|
5779
6039
|
case "com.amazonaws.connect#InvalidRequestException":
|
|
5780
6040
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
6041
|
+
case "ResourceInUseException":
|
|
6042
|
+
case "com.amazonaws.connect#ResourceInUseException":
|
|
6043
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
5781
6044
|
case "ResourceNotFoundException":
|
|
5782
6045
|
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
5783
6046
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
@@ -5793,9 +6056,9 @@ const de_DeletePromptCommandError = async (output, context) => {
|
|
|
5793
6056
|
});
|
|
5794
6057
|
}
|
|
5795
6058
|
};
|
|
5796
|
-
export const
|
|
6059
|
+
export const de_DeletePromptCommand = async (output, context) => {
|
|
5797
6060
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5798
|
-
return
|
|
6061
|
+
return de_DeletePromptCommandError(output, context);
|
|
5799
6062
|
}
|
|
5800
6063
|
const contents = map({
|
|
5801
6064
|
$metadata: deserializeMetadata(output),
|
|
@@ -5803,7 +6066,7 @@ export const de_DeleteQueueCommand = async (output, context) => {
|
|
|
5803
6066
|
await collectBody(output.body, context);
|
|
5804
6067
|
return contents;
|
|
5805
6068
|
};
|
|
5806
|
-
const
|
|
6069
|
+
const de_DeletePromptCommandError = async (output, context) => {
|
|
5807
6070
|
const parsedOutput = {
|
|
5808
6071
|
...output,
|
|
5809
6072
|
body: await parseErrorBody(output.body, context),
|
|
@@ -5819,9 +6082,6 @@ const de_DeleteQueueCommandError = async (output, context) => {
|
|
|
5819
6082
|
case "InvalidRequestException":
|
|
5820
6083
|
case "com.amazonaws.connect#InvalidRequestException":
|
|
5821
6084
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
5822
|
-
case "ResourceInUseException":
|
|
5823
|
-
case "com.amazonaws.connect#ResourceInUseException":
|
|
5824
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
5825
6085
|
case "ResourceNotFoundException":
|
|
5826
6086
|
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
5827
6087
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
@@ -5837,9 +6097,9 @@ const de_DeleteQueueCommandError = async (output, context) => {
|
|
|
5837
6097
|
});
|
|
5838
6098
|
}
|
|
5839
6099
|
};
|
|
5840
|
-
export const
|
|
6100
|
+
export const de_DeleteQueueCommand = async (output, context) => {
|
|
5841
6101
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5842
|
-
return
|
|
6102
|
+
return de_DeleteQueueCommandError(output, context);
|
|
5843
6103
|
}
|
|
5844
6104
|
const contents = map({
|
|
5845
6105
|
$metadata: deserializeMetadata(output),
|
|
@@ -5847,7 +6107,7 @@ export const de_DeleteQuickConnectCommand = async (output, context) => {
|
|
|
5847
6107
|
await collectBody(output.body, context);
|
|
5848
6108
|
return contents;
|
|
5849
6109
|
};
|
|
5850
|
-
const
|
|
6110
|
+
const de_DeleteQueueCommandError = async (output, context) => {
|
|
5851
6111
|
const parsedOutput = {
|
|
5852
6112
|
...output,
|
|
5853
6113
|
body: await parseErrorBody(output.body, context),
|
|
@@ -5863,6 +6123,9 @@ const de_DeleteQuickConnectCommandError = async (output, context) => {
|
|
|
5863
6123
|
case "InvalidRequestException":
|
|
5864
6124
|
case "com.amazonaws.connect#InvalidRequestException":
|
|
5865
6125
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
6126
|
+
case "ResourceInUseException":
|
|
6127
|
+
case "com.amazonaws.connect#ResourceInUseException":
|
|
6128
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
5866
6129
|
case "ResourceNotFoundException":
|
|
5867
6130
|
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
5868
6131
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
@@ -5878,9 +6141,9 @@ const de_DeleteQuickConnectCommandError = async (output, context) => {
|
|
|
5878
6141
|
});
|
|
5879
6142
|
}
|
|
5880
6143
|
};
|
|
5881
|
-
export const
|
|
6144
|
+
export const de_DeleteQuickConnectCommand = async (output, context) => {
|
|
5882
6145
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5883
|
-
return
|
|
6146
|
+
return de_DeleteQuickConnectCommandError(output, context);
|
|
5884
6147
|
}
|
|
5885
6148
|
const contents = map({
|
|
5886
6149
|
$metadata: deserializeMetadata(output),
|
|
@@ -5888,7 +6151,7 @@ export const de_DeleteRoutingProfileCommand = async (output, context) => {
|
|
|
5888
6151
|
await collectBody(output.body, context);
|
|
5889
6152
|
return contents;
|
|
5890
6153
|
};
|
|
5891
|
-
const
|
|
6154
|
+
const de_DeleteQuickConnectCommandError = async (output, context) => {
|
|
5892
6155
|
const parsedOutput = {
|
|
5893
6156
|
...output,
|
|
5894
6157
|
body: await parseErrorBody(output.body, context),
|
|
@@ -5904,9 +6167,6 @@ const de_DeleteRoutingProfileCommandError = async (output, context) => {
|
|
|
5904
6167
|
case "InvalidRequestException":
|
|
5905
6168
|
case "com.amazonaws.connect#InvalidRequestException":
|
|
5906
6169
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
5907
|
-
case "ResourceInUseException":
|
|
5908
|
-
case "com.amazonaws.connect#ResourceInUseException":
|
|
5909
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
5910
6170
|
case "ResourceNotFoundException":
|
|
5911
6171
|
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
5912
6172
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
@@ -5922,9 +6182,9 @@ const de_DeleteRoutingProfileCommandError = async (output, context) => {
|
|
|
5922
6182
|
});
|
|
5923
6183
|
}
|
|
5924
6184
|
};
|
|
5925
|
-
export const
|
|
6185
|
+
export const de_DeleteRoutingProfileCommand = async (output, context) => {
|
|
5926
6186
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5927
|
-
return
|
|
6187
|
+
return de_DeleteRoutingProfileCommandError(output, context);
|
|
5928
6188
|
}
|
|
5929
6189
|
const contents = map({
|
|
5930
6190
|
$metadata: deserializeMetadata(output),
|
|
@@ -5932,7 +6192,51 @@ export const de_DeleteRuleCommand = async (output, context) => {
|
|
|
5932
6192
|
await collectBody(output.body, context);
|
|
5933
6193
|
return contents;
|
|
5934
6194
|
};
|
|
5935
|
-
const
|
|
6195
|
+
const de_DeleteRoutingProfileCommandError = async (output, context) => {
|
|
6196
|
+
const parsedOutput = {
|
|
6197
|
+
...output,
|
|
6198
|
+
body: await parseErrorBody(output.body, context),
|
|
6199
|
+
};
|
|
6200
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6201
|
+
switch (errorCode) {
|
|
6202
|
+
case "InternalServiceException":
|
|
6203
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
6204
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
6205
|
+
case "InvalidParameterException":
|
|
6206
|
+
case "com.amazonaws.connect#InvalidParameterException":
|
|
6207
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
6208
|
+
case "InvalidRequestException":
|
|
6209
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
6210
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
6211
|
+
case "ResourceInUseException":
|
|
6212
|
+
case "com.amazonaws.connect#ResourceInUseException":
|
|
6213
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
6214
|
+
case "ResourceNotFoundException":
|
|
6215
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
6216
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6217
|
+
case "ThrottlingException":
|
|
6218
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
6219
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6220
|
+
default:
|
|
6221
|
+
const parsedBody = parsedOutput.body;
|
|
6222
|
+
return throwDefaultError({
|
|
6223
|
+
output,
|
|
6224
|
+
parsedBody,
|
|
6225
|
+
errorCode,
|
|
6226
|
+
});
|
|
6227
|
+
}
|
|
6228
|
+
};
|
|
6229
|
+
export const de_DeleteRuleCommand = async (output, context) => {
|
|
6230
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6231
|
+
return de_DeleteRuleCommandError(output, context);
|
|
6232
|
+
}
|
|
6233
|
+
const contents = map({
|
|
6234
|
+
$metadata: deserializeMetadata(output),
|
|
6235
|
+
});
|
|
6236
|
+
await collectBody(output.body, context);
|
|
6237
|
+
return contents;
|
|
6238
|
+
};
|
|
6239
|
+
const de_DeleteRuleCommandError = async (output, context) => {
|
|
5936
6240
|
const parsedOutput = {
|
|
5937
6241
|
...output,
|
|
5938
6242
|
body: await parseErrorBody(output.body, context),
|
|
@@ -6849,6 +7153,51 @@ const de_DescribePhoneNumberCommandError = async (output, context) => {
|
|
|
6849
7153
|
});
|
|
6850
7154
|
}
|
|
6851
7155
|
};
|
|
7156
|
+
export const de_DescribePredefinedAttributeCommand = async (output, context) => {
|
|
7157
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7158
|
+
return de_DescribePredefinedAttributeCommandError(output, context);
|
|
7159
|
+
}
|
|
7160
|
+
const contents = map({
|
|
7161
|
+
$metadata: deserializeMetadata(output),
|
|
7162
|
+
});
|
|
7163
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
7164
|
+
const doc = take(data, {
|
|
7165
|
+
PredefinedAttribute: (_) => de_PredefinedAttribute(_, context),
|
|
7166
|
+
});
|
|
7167
|
+
Object.assign(contents, doc);
|
|
7168
|
+
return contents;
|
|
7169
|
+
};
|
|
7170
|
+
const de_DescribePredefinedAttributeCommandError = async (output, context) => {
|
|
7171
|
+
const parsedOutput = {
|
|
7172
|
+
...output,
|
|
7173
|
+
body: await parseErrorBody(output.body, context),
|
|
7174
|
+
};
|
|
7175
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7176
|
+
switch (errorCode) {
|
|
7177
|
+
case "InternalServiceException":
|
|
7178
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
7179
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
7180
|
+
case "InvalidParameterException":
|
|
7181
|
+
case "com.amazonaws.connect#InvalidParameterException":
|
|
7182
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
7183
|
+
case "InvalidRequestException":
|
|
7184
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
7185
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
7186
|
+
case "ResourceNotFoundException":
|
|
7187
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
7188
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
7189
|
+
case "ThrottlingException":
|
|
7190
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
7191
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
7192
|
+
default:
|
|
7193
|
+
const parsedBody = parsedOutput.body;
|
|
7194
|
+
return throwDefaultError({
|
|
7195
|
+
output,
|
|
7196
|
+
parsedBody,
|
|
7197
|
+
errorCode,
|
|
7198
|
+
});
|
|
7199
|
+
}
|
|
7200
|
+
};
|
|
6852
7201
|
export const de_DescribePromptCommand = async (output, context) => {
|
|
6853
7202
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6854
7203
|
return de_DescribePromptCommandError(output, context);
|
|
@@ -7887,6 +8236,47 @@ const de_DisassociateTrafficDistributionGroupUserCommandError = async (output, c
|
|
|
7887
8236
|
});
|
|
7888
8237
|
}
|
|
7889
8238
|
};
|
|
8239
|
+
export const de_DisassociateUserProficienciesCommand = async (output, context) => {
|
|
8240
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
8241
|
+
return de_DisassociateUserProficienciesCommandError(output, context);
|
|
8242
|
+
}
|
|
8243
|
+
const contents = map({
|
|
8244
|
+
$metadata: deserializeMetadata(output),
|
|
8245
|
+
});
|
|
8246
|
+
await collectBody(output.body, context);
|
|
8247
|
+
return contents;
|
|
8248
|
+
};
|
|
8249
|
+
const de_DisassociateUserProficienciesCommandError = async (output, context) => {
|
|
8250
|
+
const parsedOutput = {
|
|
8251
|
+
...output,
|
|
8252
|
+
body: await parseErrorBody(output.body, context),
|
|
8253
|
+
};
|
|
8254
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8255
|
+
switch (errorCode) {
|
|
8256
|
+
case "InternalServiceException":
|
|
8257
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
8258
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
8259
|
+
case "InvalidParameterException":
|
|
8260
|
+
case "com.amazonaws.connect#InvalidParameterException":
|
|
8261
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
8262
|
+
case "InvalidRequestException":
|
|
8263
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
8264
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
8265
|
+
case "ResourceNotFoundException":
|
|
8266
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
8267
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
8268
|
+
case "ThrottlingException":
|
|
8269
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
8270
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
8271
|
+
default:
|
|
8272
|
+
const parsedBody = parsedOutput.body;
|
|
8273
|
+
return throwDefaultError({
|
|
8274
|
+
output,
|
|
8275
|
+
parsedBody,
|
|
8276
|
+
errorCode,
|
|
8277
|
+
});
|
|
8278
|
+
}
|
|
8279
|
+
};
|
|
7890
8280
|
export const de_DismissUserContactCommand = async (output, context) => {
|
|
7891
8281
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7892
8282
|
return de_DismissUserContactCommandError(output, context);
|
|
@@ -9405,6 +9795,52 @@ const de_ListPhoneNumbersV2CommandError = async (output, context) => {
|
|
|
9405
9795
|
});
|
|
9406
9796
|
}
|
|
9407
9797
|
};
|
|
9798
|
+
export const de_ListPredefinedAttributesCommand = async (output, context) => {
|
|
9799
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
9800
|
+
return de_ListPredefinedAttributesCommandError(output, context);
|
|
9801
|
+
}
|
|
9802
|
+
const contents = map({
|
|
9803
|
+
$metadata: deserializeMetadata(output),
|
|
9804
|
+
});
|
|
9805
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
9806
|
+
const doc = take(data, {
|
|
9807
|
+
NextToken: __expectString,
|
|
9808
|
+
PredefinedAttributeSummaryList: (_) => de_PredefinedAttributeSummaryList(_, context),
|
|
9809
|
+
});
|
|
9810
|
+
Object.assign(contents, doc);
|
|
9811
|
+
return contents;
|
|
9812
|
+
};
|
|
9813
|
+
const de_ListPredefinedAttributesCommandError = async (output, context) => {
|
|
9814
|
+
const parsedOutput = {
|
|
9815
|
+
...output,
|
|
9816
|
+
body: await parseErrorBody(output.body, context),
|
|
9817
|
+
};
|
|
9818
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9819
|
+
switch (errorCode) {
|
|
9820
|
+
case "InternalServiceException":
|
|
9821
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
9822
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
9823
|
+
case "InvalidParameterException":
|
|
9824
|
+
case "com.amazonaws.connect#InvalidParameterException":
|
|
9825
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
9826
|
+
case "InvalidRequestException":
|
|
9827
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
9828
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
9829
|
+
case "ResourceNotFoundException":
|
|
9830
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
9831
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
9832
|
+
case "ThrottlingException":
|
|
9833
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
9834
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
9835
|
+
default:
|
|
9836
|
+
const parsedBody = parsedOutput.body;
|
|
9837
|
+
return throwDefaultError({
|
|
9838
|
+
output,
|
|
9839
|
+
parsedBody,
|
|
9840
|
+
errorCode,
|
|
9841
|
+
});
|
|
9842
|
+
}
|
|
9843
|
+
};
|
|
9408
9844
|
export const de_ListPromptsCommand = async (output, context) => {
|
|
9409
9845
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
9410
9846
|
return de_ListPromptsCommandError(output, context);
|
|
@@ -10239,6 +10675,54 @@ const de_ListUserHierarchyGroupsCommandError = async (output, context) => {
|
|
|
10239
10675
|
});
|
|
10240
10676
|
}
|
|
10241
10677
|
};
|
|
10678
|
+
export const de_ListUserProficienciesCommand = async (output, context) => {
|
|
10679
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10680
|
+
return de_ListUserProficienciesCommandError(output, context);
|
|
10681
|
+
}
|
|
10682
|
+
const contents = map({
|
|
10683
|
+
$metadata: deserializeMetadata(output),
|
|
10684
|
+
});
|
|
10685
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10686
|
+
const doc = take(data, {
|
|
10687
|
+
LastModifiedRegion: __expectString,
|
|
10688
|
+
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
10689
|
+
NextToken: __expectString,
|
|
10690
|
+
UserProficiencyList: (_) => de_UserProficiencyList(_, context),
|
|
10691
|
+
});
|
|
10692
|
+
Object.assign(contents, doc);
|
|
10693
|
+
return contents;
|
|
10694
|
+
};
|
|
10695
|
+
const de_ListUserProficienciesCommandError = async (output, context) => {
|
|
10696
|
+
const parsedOutput = {
|
|
10697
|
+
...output,
|
|
10698
|
+
body: await parseErrorBody(output.body, context),
|
|
10699
|
+
};
|
|
10700
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10701
|
+
switch (errorCode) {
|
|
10702
|
+
case "InternalServiceException":
|
|
10703
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
10704
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
10705
|
+
case "InvalidParameterException":
|
|
10706
|
+
case "com.amazonaws.connect#InvalidParameterException":
|
|
10707
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
10708
|
+
case "InvalidRequestException":
|
|
10709
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
10710
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
10711
|
+
case "ResourceNotFoundException":
|
|
10712
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
10713
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
10714
|
+
case "ThrottlingException":
|
|
10715
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
10716
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
10717
|
+
default:
|
|
10718
|
+
const parsedBody = parsedOutput.body;
|
|
10719
|
+
return throwDefaultError({
|
|
10720
|
+
output,
|
|
10721
|
+
parsedBody,
|
|
10722
|
+
errorCode,
|
|
10723
|
+
});
|
|
10724
|
+
}
|
|
10725
|
+
};
|
|
10242
10726
|
export const de_ListUsersCommand = async (output, context) => {
|
|
10243
10727
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10244
10728
|
return de_ListUsersCommandError(output, context);
|
|
@@ -10756,6 +11240,53 @@ const de_SearchAvailablePhoneNumbersCommandError = async (output, context) => {
|
|
|
10756
11240
|
});
|
|
10757
11241
|
}
|
|
10758
11242
|
};
|
|
11243
|
+
export const de_SearchContactsCommand = async (output, context) => {
|
|
11244
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11245
|
+
return de_SearchContactsCommandError(output, context);
|
|
11246
|
+
}
|
|
11247
|
+
const contents = map({
|
|
11248
|
+
$metadata: deserializeMetadata(output),
|
|
11249
|
+
});
|
|
11250
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
11251
|
+
const doc = take(data, {
|
|
11252
|
+
Contacts: (_) => de_Contacts(_, context),
|
|
11253
|
+
NextToken: __expectString,
|
|
11254
|
+
TotalCount: __expectLong,
|
|
11255
|
+
});
|
|
11256
|
+
Object.assign(contents, doc);
|
|
11257
|
+
return contents;
|
|
11258
|
+
};
|
|
11259
|
+
const de_SearchContactsCommandError = async (output, context) => {
|
|
11260
|
+
const parsedOutput = {
|
|
11261
|
+
...output,
|
|
11262
|
+
body: await parseErrorBody(output.body, context),
|
|
11263
|
+
};
|
|
11264
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
11265
|
+
switch (errorCode) {
|
|
11266
|
+
case "InternalServiceException":
|
|
11267
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
11268
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
11269
|
+
case "InvalidParameterException":
|
|
11270
|
+
case "com.amazonaws.connect#InvalidParameterException":
|
|
11271
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
11272
|
+
case "InvalidRequestException":
|
|
11273
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
11274
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
11275
|
+
case "ResourceNotFoundException":
|
|
11276
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
11277
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
11278
|
+
case "ThrottlingException":
|
|
11279
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
11280
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
11281
|
+
default:
|
|
11282
|
+
const parsedBody = parsedOutput.body;
|
|
11283
|
+
return throwDefaultError({
|
|
11284
|
+
output,
|
|
11285
|
+
parsedBody,
|
|
11286
|
+
errorCode,
|
|
11287
|
+
});
|
|
11288
|
+
}
|
|
11289
|
+
};
|
|
10759
11290
|
export const de_SearchHoursOfOperationsCommand = async (output, context) => {
|
|
10760
11291
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10761
11292
|
return de_SearchHoursOfOperationsCommandError(output, context);
|
|
@@ -10803,6 +11334,53 @@ const de_SearchHoursOfOperationsCommandError = async (output, context) => {
|
|
|
10803
11334
|
});
|
|
10804
11335
|
}
|
|
10805
11336
|
};
|
|
11337
|
+
export const de_SearchPredefinedAttributesCommand = async (output, context) => {
|
|
11338
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11339
|
+
return de_SearchPredefinedAttributesCommandError(output, context);
|
|
11340
|
+
}
|
|
11341
|
+
const contents = map({
|
|
11342
|
+
$metadata: deserializeMetadata(output),
|
|
11343
|
+
});
|
|
11344
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
11345
|
+
const doc = take(data, {
|
|
11346
|
+
ApproximateTotalCount: __expectLong,
|
|
11347
|
+
NextToken: __expectString,
|
|
11348
|
+
PredefinedAttributes: (_) => de_PredefinedAttributeSearchSummaryList(_, context),
|
|
11349
|
+
});
|
|
11350
|
+
Object.assign(contents, doc);
|
|
11351
|
+
return contents;
|
|
11352
|
+
};
|
|
11353
|
+
const de_SearchPredefinedAttributesCommandError = async (output, context) => {
|
|
11354
|
+
const parsedOutput = {
|
|
11355
|
+
...output,
|
|
11356
|
+
body: await parseErrorBody(output.body, context),
|
|
11357
|
+
};
|
|
11358
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
11359
|
+
switch (errorCode) {
|
|
11360
|
+
case "InternalServiceException":
|
|
11361
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
11362
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
11363
|
+
case "InvalidParameterException":
|
|
11364
|
+
case "com.amazonaws.connect#InvalidParameterException":
|
|
11365
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
11366
|
+
case "InvalidRequestException":
|
|
11367
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
11368
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
11369
|
+
case "ResourceNotFoundException":
|
|
11370
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
11371
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
11372
|
+
case "ThrottlingException":
|
|
11373
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
11374
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
11375
|
+
default:
|
|
11376
|
+
const parsedBody = parsedOutput.body;
|
|
11377
|
+
return throwDefaultError({
|
|
11378
|
+
output,
|
|
11379
|
+
parsedBody,
|
|
11380
|
+
errorCode,
|
|
11381
|
+
});
|
|
11382
|
+
}
|
|
11383
|
+
};
|
|
10806
11384
|
export const de_SearchPromptsCommand = async (output, context) => {
|
|
10807
11385
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10808
11386
|
return de_SearchPromptsCommandError(output, context);
|
|
@@ -12356,6 +12934,50 @@ const de_UpdateContactFlowNameCommandError = async (output, context) => {
|
|
|
12356
12934
|
});
|
|
12357
12935
|
}
|
|
12358
12936
|
};
|
|
12937
|
+
export const de_UpdateContactRoutingDataCommand = async (output, context) => {
|
|
12938
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
12939
|
+
return de_UpdateContactRoutingDataCommandError(output, context);
|
|
12940
|
+
}
|
|
12941
|
+
const contents = map({
|
|
12942
|
+
$metadata: deserializeMetadata(output),
|
|
12943
|
+
});
|
|
12944
|
+
await collectBody(output.body, context);
|
|
12945
|
+
return contents;
|
|
12946
|
+
};
|
|
12947
|
+
const de_UpdateContactRoutingDataCommandError = async (output, context) => {
|
|
12948
|
+
const parsedOutput = {
|
|
12949
|
+
...output,
|
|
12950
|
+
body: await parseErrorBody(output.body, context),
|
|
12951
|
+
};
|
|
12952
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
12953
|
+
switch (errorCode) {
|
|
12954
|
+
case "AccessDeniedException":
|
|
12955
|
+
case "com.amazonaws.connect#AccessDeniedException":
|
|
12956
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
12957
|
+
case "InternalServiceException":
|
|
12958
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
12959
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
12960
|
+
case "InvalidParameterException":
|
|
12961
|
+
case "com.amazonaws.connect#InvalidParameterException":
|
|
12962
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
12963
|
+
case "ResourceConflictException":
|
|
12964
|
+
case "com.amazonaws.connect#ResourceConflictException":
|
|
12965
|
+
throw await de_ResourceConflictExceptionRes(parsedOutput, context);
|
|
12966
|
+
case "ResourceNotFoundException":
|
|
12967
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
12968
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
12969
|
+
case "ThrottlingException":
|
|
12970
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
12971
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
12972
|
+
default:
|
|
12973
|
+
const parsedBody = parsedOutput.body;
|
|
12974
|
+
return throwDefaultError({
|
|
12975
|
+
output,
|
|
12976
|
+
parsedBody,
|
|
12977
|
+
errorCode,
|
|
12978
|
+
});
|
|
12979
|
+
}
|
|
12980
|
+
};
|
|
12359
12981
|
export const de_UpdateContactScheduleCommand = async (output, context) => {
|
|
12360
12982
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
12361
12983
|
return de_UpdateContactScheduleCommandError(output, context);
|
|
@@ -12722,6 +13344,47 @@ const de_UpdatePhoneNumberMetadataCommandError = async (output, context) => {
|
|
|
12722
13344
|
});
|
|
12723
13345
|
}
|
|
12724
13346
|
};
|
|
13347
|
+
export const de_UpdatePredefinedAttributeCommand = async (output, context) => {
|
|
13348
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
13349
|
+
return de_UpdatePredefinedAttributeCommandError(output, context);
|
|
13350
|
+
}
|
|
13351
|
+
const contents = map({
|
|
13352
|
+
$metadata: deserializeMetadata(output),
|
|
13353
|
+
});
|
|
13354
|
+
await collectBody(output.body, context);
|
|
13355
|
+
return contents;
|
|
13356
|
+
};
|
|
13357
|
+
const de_UpdatePredefinedAttributeCommandError = async (output, context) => {
|
|
13358
|
+
const parsedOutput = {
|
|
13359
|
+
...output,
|
|
13360
|
+
body: await parseErrorBody(output.body, context),
|
|
13361
|
+
};
|
|
13362
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
13363
|
+
switch (errorCode) {
|
|
13364
|
+
case "InternalServiceException":
|
|
13365
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
13366
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
13367
|
+
case "InvalidParameterException":
|
|
13368
|
+
case "com.amazonaws.connect#InvalidParameterException":
|
|
13369
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
13370
|
+
case "InvalidRequestException":
|
|
13371
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
13372
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
13373
|
+
case "ResourceNotFoundException":
|
|
13374
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
13375
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
13376
|
+
case "ThrottlingException":
|
|
13377
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
13378
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
13379
|
+
default:
|
|
13380
|
+
const parsedBody = parsedOutput.body;
|
|
13381
|
+
return throwDefaultError({
|
|
13382
|
+
output,
|
|
13383
|
+
parsedBody,
|
|
13384
|
+
errorCode,
|
|
13385
|
+
});
|
|
13386
|
+
}
|
|
13387
|
+
};
|
|
12725
13388
|
export const de_UpdatePromptCommand = async (output, context) => {
|
|
12726
13389
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
12727
13390
|
return de_UpdatePromptCommandError(output, context);
|
|
@@ -13665,6 +14328,47 @@ const de_UpdateUserPhoneConfigCommandError = async (output, context) => {
|
|
|
13665
14328
|
});
|
|
13666
14329
|
}
|
|
13667
14330
|
};
|
|
14331
|
+
export const de_UpdateUserProficienciesCommand = async (output, context) => {
|
|
14332
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
14333
|
+
return de_UpdateUserProficienciesCommandError(output, context);
|
|
14334
|
+
}
|
|
14335
|
+
const contents = map({
|
|
14336
|
+
$metadata: deserializeMetadata(output),
|
|
14337
|
+
});
|
|
14338
|
+
await collectBody(output.body, context);
|
|
14339
|
+
return contents;
|
|
14340
|
+
};
|
|
14341
|
+
const de_UpdateUserProficienciesCommandError = async (output, context) => {
|
|
14342
|
+
const parsedOutput = {
|
|
14343
|
+
...output,
|
|
14344
|
+
body: await parseErrorBody(output.body, context),
|
|
14345
|
+
};
|
|
14346
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
14347
|
+
switch (errorCode) {
|
|
14348
|
+
case "InternalServiceException":
|
|
14349
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
14350
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
14351
|
+
case "InvalidParameterException":
|
|
14352
|
+
case "com.amazonaws.connect#InvalidParameterException":
|
|
14353
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
14354
|
+
case "InvalidRequestException":
|
|
14355
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
14356
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
14357
|
+
case "ResourceNotFoundException":
|
|
14358
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
14359
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
14360
|
+
case "ThrottlingException":
|
|
14361
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
14362
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
14363
|
+
default:
|
|
14364
|
+
const parsedBody = parsedOutput.body;
|
|
14365
|
+
return throwDefaultError({
|
|
14366
|
+
output,
|
|
14367
|
+
parsedBody,
|
|
14368
|
+
errorCode,
|
|
14369
|
+
});
|
|
14370
|
+
}
|
|
14371
|
+
};
|
|
13668
14372
|
export const de_UpdateUserRoutingProfileCommand = async (output, context) => {
|
|
13669
14373
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
13670
14374
|
return de_UpdateUserRoutingProfileCommandError(output, context);
|
|
@@ -14303,6 +15007,20 @@ const se_MetricV2 = (input, context) => {
|
|
|
14303
15007
|
Threshold: (_) => se_ThresholdCollections(_, context),
|
|
14304
15008
|
});
|
|
14305
15009
|
};
|
|
15010
|
+
const se_PredefinedAttributeSearchConditionList = (input, context) => {
|
|
15011
|
+
return input
|
|
15012
|
+
.filter((e) => e != null)
|
|
15013
|
+
.map((entry) => {
|
|
15014
|
+
return se_PredefinedAttributeSearchCriteria(entry, context);
|
|
15015
|
+
});
|
|
15016
|
+
};
|
|
15017
|
+
const se_PredefinedAttributeSearchCriteria = (input, context) => {
|
|
15018
|
+
return take(input, {
|
|
15019
|
+
AndConditions: (_) => se_PredefinedAttributeSearchConditionList(_, context),
|
|
15020
|
+
OrConditions: (_) => se_PredefinedAttributeSearchConditionList(_, context),
|
|
15021
|
+
StringCondition: _json,
|
|
15022
|
+
});
|
|
15023
|
+
};
|
|
14306
15024
|
const se_PromptSearchConditionList = (input, context) => {
|
|
14307
15025
|
return input
|
|
14308
15026
|
.filter((e) => e != null)
|
|
@@ -14379,6 +15097,13 @@ const se_RuleActions = (input, context) => {
|
|
|
14379
15097
|
return se_RuleAction(entry, context);
|
|
14380
15098
|
});
|
|
14381
15099
|
};
|
|
15100
|
+
const se_SearchContactsTimeRange = (input, context) => {
|
|
15101
|
+
return take(input, {
|
|
15102
|
+
EndTime: (_) => Math.round(_.getTime() / 1000),
|
|
15103
|
+
StartTime: (_) => Math.round(_.getTime() / 1000),
|
|
15104
|
+
Type: [],
|
|
15105
|
+
});
|
|
15106
|
+
};
|
|
14382
15107
|
const se_SecurityProfileSearchConditionList = (input, context) => {
|
|
14383
15108
|
return input
|
|
14384
15109
|
.filter((e) => e != null)
|
|
@@ -14417,6 +15142,20 @@ const se_UpdateCaseActionDefinition = (input, context) => {
|
|
|
14417
15142
|
Fields: (_) => se_FieldValues(_, context),
|
|
14418
15143
|
});
|
|
14419
15144
|
};
|
|
15145
|
+
const se_UserProficiency = (input, context) => {
|
|
15146
|
+
return take(input, {
|
|
15147
|
+
AttributeName: [],
|
|
15148
|
+
AttributeValue: [],
|
|
15149
|
+
Level: __serializeFloat,
|
|
15150
|
+
});
|
|
15151
|
+
};
|
|
15152
|
+
const se_UserProficiencyList = (input, context) => {
|
|
15153
|
+
return input
|
|
15154
|
+
.filter((e) => e != null)
|
|
15155
|
+
.map((entry) => {
|
|
15156
|
+
return se_UserProficiency(entry, context);
|
|
15157
|
+
});
|
|
15158
|
+
};
|
|
14420
15159
|
const se_UserSearchConditionList = (input, context) => {
|
|
14421
15160
|
return input
|
|
14422
15161
|
.filter((e) => e != null)
|
|
@@ -14514,6 +15253,8 @@ const de_Contact = (output, context) => {
|
|
|
14514
15253
|
Name: __expectString,
|
|
14515
15254
|
PreviousContactId: __expectString,
|
|
14516
15255
|
QueueInfo: (_) => de_QueueInfo(_, context),
|
|
15256
|
+
QueuePriority: __expectLong,
|
|
15257
|
+
QueueTimeAdjustmentSeconds: __expectInt32,
|
|
14517
15258
|
RelatedContactId: __expectString,
|
|
14518
15259
|
ScheduledTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
14519
15260
|
Tags: _json,
|
|
@@ -14522,6 +15263,41 @@ const de_Contact = (output, context) => {
|
|
|
14522
15263
|
WisdomInfo: _json,
|
|
14523
15264
|
});
|
|
14524
15265
|
};
|
|
15266
|
+
const de_Contacts = (output, context) => {
|
|
15267
|
+
const retVal = (output || [])
|
|
15268
|
+
.filter((e) => e != null)
|
|
15269
|
+
.map((entry) => {
|
|
15270
|
+
return de_ContactSearchSummary(entry, context);
|
|
15271
|
+
});
|
|
15272
|
+
return retVal;
|
|
15273
|
+
};
|
|
15274
|
+
const de_ContactSearchSummary = (output, context) => {
|
|
15275
|
+
return take(output, {
|
|
15276
|
+
AgentInfo: (_) => de_ContactSearchSummaryAgentInfo(_, context),
|
|
15277
|
+
Arn: __expectString,
|
|
15278
|
+
Channel: __expectString,
|
|
15279
|
+
DisconnectTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
15280
|
+
Id: __expectString,
|
|
15281
|
+
InitialContactId: __expectString,
|
|
15282
|
+
InitiationMethod: __expectString,
|
|
15283
|
+
InitiationTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
15284
|
+
PreviousContactId: __expectString,
|
|
15285
|
+
QueueInfo: (_) => de_ContactSearchSummaryQueueInfo(_, context),
|
|
15286
|
+
ScheduledTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
15287
|
+
});
|
|
15288
|
+
};
|
|
15289
|
+
const de_ContactSearchSummaryAgentInfo = (output, context) => {
|
|
15290
|
+
return take(output, {
|
|
15291
|
+
ConnectedToAgentTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
15292
|
+
Id: __expectString,
|
|
15293
|
+
});
|
|
15294
|
+
};
|
|
15295
|
+
const de_ContactSearchSummaryQueueInfo = (output, context) => {
|
|
15296
|
+
return take(output, {
|
|
15297
|
+
EnqueueTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
15298
|
+
Id: __expectString,
|
|
15299
|
+
});
|
|
15300
|
+
};
|
|
14525
15301
|
const de_CreateCaseActionDefinition = (output, context) => {
|
|
14526
15302
|
return take(output, {
|
|
14527
15303
|
Fields: (_) => de_FieldValues(_, context),
|
|
@@ -14997,6 +15773,37 @@ const de_MetricV2 = (output, context) => {
|
|
|
14997
15773
|
Threshold: (_) => de_ThresholdCollections(_, context),
|
|
14998
15774
|
});
|
|
14999
15775
|
};
|
|
15776
|
+
const de_PredefinedAttribute = (output, context) => {
|
|
15777
|
+
return take(output, {
|
|
15778
|
+
LastModifiedRegion: __expectString,
|
|
15779
|
+
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
15780
|
+
Name: __expectString,
|
|
15781
|
+
Values: (_) => _json(__expectUnion(_)),
|
|
15782
|
+
});
|
|
15783
|
+
};
|
|
15784
|
+
const de_PredefinedAttributeSearchSummaryList = (output, context) => {
|
|
15785
|
+
const retVal = (output || [])
|
|
15786
|
+
.filter((e) => e != null)
|
|
15787
|
+
.map((entry) => {
|
|
15788
|
+
return de_PredefinedAttribute(entry, context);
|
|
15789
|
+
});
|
|
15790
|
+
return retVal;
|
|
15791
|
+
};
|
|
15792
|
+
const de_PredefinedAttributeSummary = (output, context) => {
|
|
15793
|
+
return take(output, {
|
|
15794
|
+
LastModifiedRegion: __expectString,
|
|
15795
|
+
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
15796
|
+
Name: __expectString,
|
|
15797
|
+
});
|
|
15798
|
+
};
|
|
15799
|
+
const de_PredefinedAttributeSummaryList = (output, context) => {
|
|
15800
|
+
const retVal = (output || [])
|
|
15801
|
+
.filter((e) => e != null)
|
|
15802
|
+
.map((entry) => {
|
|
15803
|
+
return de_PredefinedAttributeSummary(entry, context);
|
|
15804
|
+
});
|
|
15805
|
+
return retVal;
|
|
15806
|
+
};
|
|
15000
15807
|
const de_Prompt = (output, context) => {
|
|
15001
15808
|
return take(output, {
|
|
15002
15809
|
Description: __expectString,
|
|
@@ -15420,6 +16227,21 @@ const de_UserDataList = (output, context) => {
|
|
|
15420
16227
|
});
|
|
15421
16228
|
return retVal;
|
|
15422
16229
|
};
|
|
16230
|
+
const de_UserProficiency = (output, context) => {
|
|
16231
|
+
return take(output, {
|
|
16232
|
+
AttributeName: __expectString,
|
|
16233
|
+
AttributeValue: __expectString,
|
|
16234
|
+
Level: __limitedParseFloat32,
|
|
16235
|
+
});
|
|
16236
|
+
};
|
|
16237
|
+
const de_UserProficiencyList = (output, context) => {
|
|
16238
|
+
const retVal = (output || [])
|
|
16239
|
+
.filter((e) => e != null)
|
|
16240
|
+
.map((entry) => {
|
|
16241
|
+
return de_UserProficiency(entry, context);
|
|
16242
|
+
});
|
|
16243
|
+
return retVal;
|
|
16244
|
+
};
|
|
15423
16245
|
const de_UserSummary = (output, context) => {
|
|
15424
16246
|
return take(output, {
|
|
15425
16247
|
Arn: __expectString,
|