@aws-sdk/client-connect 3.477.0 → 3.479.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/AssociateUserProficienciesCommand.js +51 -0
- package/dist-cjs/commands/CreatePredefinedAttributeCommand.js +51 -0
- package/dist-cjs/commands/DeletePredefinedAttributeCommand.js +51 -0
- package/dist-cjs/commands/DescribePredefinedAttributeCommand.js +51 -0
- package/dist-cjs/commands/DisassociateUserProficienciesCommand.js +51 -0
- package/dist-cjs/commands/ListPredefinedAttributesCommand.js +51 -0
- package/dist-cjs/commands/ListUserProficienciesCommand.js +51 -0
- package/dist-cjs/commands/SearchContactsCommand.js +52 -0
- package/dist-cjs/commands/SearchPredefinedAttributesCommand.js +51 -0
- package/dist-cjs/commands/UpdateContactRoutingDataCommand.js +51 -0
- package/dist-cjs/commands/UpdatePredefinedAttributeCommand.js +51 -0
- package/dist-cjs/commands/UpdateUserProficienciesCommand.js +51 -0
- package/dist-cjs/commands/index.js +12 -0
- 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/GetCurrentMetricDataPaginator.js +2 -24
- package/dist-cjs/pagination/GetCurrentUserDataPaginator.js +2 -24
- package/dist-cjs/pagination/GetMetricDataPaginator.js +2 -24
- package/dist-cjs/pagination/GetMetricDataV2Paginator.js +2 -24
- package/dist-cjs/pagination/ListAgentStatusesPaginator.js +2 -24
- package/dist-cjs/pagination/ListApprovedOriginsPaginator.js +2 -24
- package/dist-cjs/pagination/ListBotsPaginator.js +2 -24
- package/dist-cjs/pagination/ListContactEvaluationsPaginator.js +2 -23
- package/dist-cjs/pagination/ListContactFlowModulesPaginator.js +2 -24
- package/dist-cjs/pagination/ListContactFlowsPaginator.js +2 -24
- package/dist-cjs/pagination/ListContactReferencesPaginator.js +2 -23
- package/dist-cjs/pagination/ListDefaultVocabulariesPaginator.js +2 -24
- package/dist-cjs/pagination/ListEvaluationFormVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEvaluationFormsPaginator.js +2 -24
- package/dist-cjs/pagination/ListFlowAssociationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListHoursOfOperationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListInstanceAttributesPaginator.js +2 -24
- package/dist-cjs/pagination/ListInstanceStorageConfigsPaginator.js +2 -24
- package/dist-cjs/pagination/ListInstancesPaginator.js +2 -24
- package/dist-cjs/pagination/ListIntegrationAssociationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListLambdaFunctionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListLexBotsPaginator.js +2 -24
- package/dist-cjs/pagination/ListPhoneNumbersPaginator.js +2 -24
- package/dist-cjs/pagination/ListPhoneNumbersV2Paginator.js +2 -24
- package/dist-cjs/pagination/ListPredefinedAttributesPaginator.js +7 -0
- package/dist-cjs/pagination/ListPromptsPaginator.js +2 -24
- package/dist-cjs/pagination/ListQueueQuickConnectsPaginator.js +2 -24
- package/dist-cjs/pagination/ListQueuesPaginator.js +2 -24
- package/dist-cjs/pagination/ListQuickConnectsPaginator.js +2 -24
- package/dist-cjs/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.js +2 -24
- package/dist-cjs/pagination/ListRoutingProfileQueuesPaginator.js +2 -24
- package/dist-cjs/pagination/ListRoutingProfilesPaginator.js +2 -24
- package/dist-cjs/pagination/ListRulesPaginator.js +2 -24
- package/dist-cjs/pagination/ListSecurityKeysPaginator.js +2 -24
- package/dist-cjs/pagination/ListSecurityProfileApplicationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListSecurityProfilePermissionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListSecurityProfilesPaginator.js +2 -24
- package/dist-cjs/pagination/ListTaskTemplatesPaginator.js +2 -24
- package/dist-cjs/pagination/ListTrafficDistributionGroupUsersPaginator.js +2 -24
- package/dist-cjs/pagination/ListTrafficDistributionGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListUseCasesPaginator.js +2 -24
- package/dist-cjs/pagination/ListUserHierarchyGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListUserProficienciesPaginator.js +7 -0
- package/dist-cjs/pagination/ListUsersPaginator.js +2 -24
- package/dist-cjs/pagination/ListViewVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListViewsPaginator.js +2 -24
- package/dist-cjs/pagination/SearchAvailablePhoneNumbersPaginator.js +2 -24
- package/dist-cjs/pagination/SearchContactsPaginator.js +7 -0
- package/dist-cjs/pagination/SearchHoursOfOperationsPaginator.js +2 -24
- package/dist-cjs/pagination/SearchPredefinedAttributesPaginator.js +7 -0
- package/dist-cjs/pagination/SearchPromptsPaginator.js +2 -24
- package/dist-cjs/pagination/SearchQueuesPaginator.js +2 -24
- package/dist-cjs/pagination/SearchQuickConnectsPaginator.js +2 -24
- package/dist-cjs/pagination/SearchResourceTagsPaginator.js +2 -24
- package/dist-cjs/pagination/SearchRoutingProfilesPaginator.js +2 -24
- package/dist-cjs/pagination/SearchSecurityProfilesPaginator.js +2 -24
- package/dist-cjs/pagination/SearchUsersPaginator.js +2 -24
- package/dist-cjs/pagination/SearchVocabulariesPaginator.js +2 -24
- 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/AssociateUserProficienciesCommand.js +47 -0
- package/dist-es/commands/CreatePredefinedAttributeCommand.js +47 -0
- package/dist-es/commands/DeletePredefinedAttributeCommand.js +47 -0
- package/dist-es/commands/DescribePredefinedAttributeCommand.js +47 -0
- package/dist-es/commands/DisassociateUserProficienciesCommand.js +47 -0
- package/dist-es/commands/ListPredefinedAttributesCommand.js +47 -0
- package/dist-es/commands/ListUserProficienciesCommand.js +47 -0
- package/dist-es/commands/SearchContactsCommand.js +48 -0
- package/dist-es/commands/SearchPredefinedAttributesCommand.js +47 -0
- package/dist-es/commands/UpdateContactRoutingDataCommand.js +47 -0
- package/dist-es/commands/UpdatePredefinedAttributeCommand.js +47 -0
- package/dist-es/commands/UpdateUserProficienciesCommand.js +47 -0
- package/dist-es/commands/index.js +12 -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/GetCurrentMetricDataPaginator.js +2 -23
- package/dist-es/pagination/GetCurrentUserDataPaginator.js +2 -23
- package/dist-es/pagination/GetMetricDataPaginator.js +2 -23
- package/dist-es/pagination/GetMetricDataV2Paginator.js +2 -23
- package/dist-es/pagination/ListAgentStatusesPaginator.js +2 -23
- package/dist-es/pagination/ListApprovedOriginsPaginator.js +2 -23
- package/dist-es/pagination/ListBotsPaginator.js +2 -23
- package/dist-es/pagination/ListContactEvaluationsPaginator.js +2 -22
- package/dist-es/pagination/ListContactFlowModulesPaginator.js +2 -23
- package/dist-es/pagination/ListContactFlowsPaginator.js +2 -23
- package/dist-es/pagination/ListContactReferencesPaginator.js +2 -22
- package/dist-es/pagination/ListDefaultVocabulariesPaginator.js +2 -23
- package/dist-es/pagination/ListEvaluationFormVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListEvaluationFormsPaginator.js +2 -23
- package/dist-es/pagination/ListFlowAssociationsPaginator.js +2 -23
- package/dist-es/pagination/ListHoursOfOperationsPaginator.js +2 -23
- package/dist-es/pagination/ListInstanceAttributesPaginator.js +2 -23
- package/dist-es/pagination/ListInstanceStorageConfigsPaginator.js +2 -23
- package/dist-es/pagination/ListInstancesPaginator.js +2 -23
- package/dist-es/pagination/ListIntegrationAssociationsPaginator.js +2 -23
- package/dist-es/pagination/ListLambdaFunctionsPaginator.js +2 -23
- package/dist-es/pagination/ListLexBotsPaginator.js +2 -23
- package/dist-es/pagination/ListPhoneNumbersPaginator.js +2 -23
- package/dist-es/pagination/ListPhoneNumbersV2Paginator.js +2 -23
- package/dist-es/pagination/ListPredefinedAttributesPaginator.js +4 -0
- package/dist-es/pagination/ListPromptsPaginator.js +2 -23
- package/dist-es/pagination/ListQueueQuickConnectsPaginator.js +2 -23
- package/dist-es/pagination/ListQueuesPaginator.js +2 -23
- package/dist-es/pagination/ListQuickConnectsPaginator.js +2 -23
- package/dist-es/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.js +2 -23
- package/dist-es/pagination/ListRoutingProfileQueuesPaginator.js +2 -23
- package/dist-es/pagination/ListRoutingProfilesPaginator.js +2 -23
- package/dist-es/pagination/ListRulesPaginator.js +2 -23
- package/dist-es/pagination/ListSecurityKeysPaginator.js +2 -23
- package/dist-es/pagination/ListSecurityProfileApplicationsPaginator.js +2 -23
- package/dist-es/pagination/ListSecurityProfilePermissionsPaginator.js +2 -23
- package/dist-es/pagination/ListSecurityProfilesPaginator.js +2 -23
- package/dist-es/pagination/ListTaskTemplatesPaginator.js +2 -23
- package/dist-es/pagination/ListTrafficDistributionGroupUsersPaginator.js +2 -23
- package/dist-es/pagination/ListTrafficDistributionGroupsPaginator.js +2 -23
- package/dist-es/pagination/ListUseCasesPaginator.js +2 -23
- package/dist-es/pagination/ListUserHierarchyGroupsPaginator.js +2 -23
- package/dist-es/pagination/ListUserProficienciesPaginator.js +4 -0
- package/dist-es/pagination/ListUsersPaginator.js +2 -23
- package/dist-es/pagination/ListViewVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListViewsPaginator.js +2 -23
- package/dist-es/pagination/SearchAvailablePhoneNumbersPaginator.js +2 -23
- package/dist-es/pagination/SearchContactsPaginator.js +4 -0
- package/dist-es/pagination/SearchHoursOfOperationsPaginator.js +2 -23
- package/dist-es/pagination/SearchPredefinedAttributesPaginator.js +4 -0
- package/dist-es/pagination/SearchPromptsPaginator.js +2 -23
- package/dist-es/pagination/SearchQueuesPaginator.js +2 -23
- package/dist-es/pagination/SearchQuickConnectsPaginator.js +2 -23
- package/dist-es/pagination/SearchResourceTagsPaginator.js +2 -23
- package/dist-es/pagination/SearchRoutingProfilesPaginator.js +2 -23
- package/dist-es/pagination/SearchSecurityProfilesPaginator.js +2 -23
- package/dist-es/pagination/SearchUsersPaginator.js +2 -23
- package/dist-es/pagination/SearchVocabulariesPaginator.js +2 -23
- 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/AssociateUserProficienciesCommand.d.ts +94 -0
- package/dist-types/commands/CreatePredefinedAttributeCommand.d.ts +98 -0
- package/dist-types/commands/DeletePredefinedAttributeCommand.d.ts +90 -0
- package/dist-types/commands/DescribeContactCommand.d.ts +2 -0
- package/dist-types/commands/DescribePhoneNumberCommand.d.ts +2 -1
- package/dist-types/commands/DescribePredefinedAttributeCommand.d.ts +98 -0
- package/dist-types/commands/DescribePromptCommand.d.ts +1 -2
- package/dist-types/commands/DisassociateUserProficienciesCommand.d.ts +93 -0
- package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +5 -1
- package/dist-types/commands/GetMetricDataCommand.d.ts +5 -1
- package/dist-types/commands/ListPredefinedAttributesCommand.d.ts +97 -0
- package/dist-types/commands/ListUserProficienciesCommand.d.ts +100 -0
- package/dist-types/commands/PauseContactCommand.d.ts +2 -1
- package/dist-types/commands/ResumeContactCommand.d.ts +2 -1
- package/dist-types/commands/SearchContactsCommand.d.ts +177 -0
- package/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +1 -2
- package/dist-types/commands/SearchPredefinedAttributesCommand.d.ts +128 -0
- package/dist-types/commands/SearchPromptsCommand.d.ts +1 -2
- package/dist-types/commands/SearchQueuesCommand.d.ts +1 -2
- package/dist-types/commands/SearchQuickConnectsCommand.d.ts +1 -2
- package/dist-types/commands/SearchResourceTagsCommand.d.ts +1 -1
- package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +1 -2
- package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +1 -2
- package/dist-types/commands/TagContactCommand.d.ts +3 -3
- package/dist-types/commands/UntagContactCommand.d.ts +3 -2
- package/dist-types/commands/UpdateContactRoutingDataCommand.d.ts +101 -0
- package/dist-types/commands/UpdatePredefinedAttributeCommand.d.ts +92 -0
- package/dist-types/commands/UpdateUserProficienciesCommand.d.ts +94 -0
- package/dist-types/commands/index.d.ts +12 -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/GetCurrentMetricDataPaginator.d.ts +1 -1
- package/dist-types/pagination/GetCurrentUserDataPaginator.d.ts +1 -1
- package/dist-types/pagination/GetMetricDataPaginator.d.ts +1 -1
- package/dist-types/pagination/GetMetricDataV2Paginator.d.ts +1 -1
- package/dist-types/pagination/ListAgentStatusesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListApprovedOriginsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListBotsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListContactEvaluationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListContactFlowModulesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListContactFlowsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListContactReferencesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDefaultVocabulariesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEvaluationFormVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEvaluationFormsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFlowAssociationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListHoursOfOperationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListInstanceAttributesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListInstanceStorageConfigsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListInstancesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListIntegrationAssociationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLambdaFunctionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLexBotsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPhoneNumbersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPhoneNumbersV2Paginator.d.ts +1 -1
- package/dist-types/pagination/ListPredefinedAttributesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPromptsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListQueueQuickConnectsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListQueuesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListQuickConnectsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.d.ts +1 -1
- package/dist-types/pagination/ListRoutingProfileQueuesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRoutingProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRulesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSecurityKeysPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSecurityProfileApplicationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSecurityProfilePermissionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSecurityProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTaskTemplatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTrafficDistributionGroupUsersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTrafficDistributionGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListUseCasesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListUserHierarchyGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListUserProficienciesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListUsersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListViewVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListViewsPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchAvailablePhoneNumbersPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchContactsPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchHoursOfOperationsPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchPredefinedAttributesPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchPromptsPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchQueuesPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchQuickConnectsPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchResourceTagsPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchRoutingProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchSecurityProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchUsersPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchVocabulariesPaginator.d.ts +1 -1
- 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/AssociateUserProficienciesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreatePredefinedAttributeCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeletePredefinedAttributeCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribePhoneNumberCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribePredefinedAttributeCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribePromptCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DisassociateUserProficienciesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListPredefinedAttributesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListUserProficienciesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/SearchContactsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/SearchHoursOfOperationsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/SearchPredefinedAttributesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/SearchPromptsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/SearchQuickConnectsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/SearchResourceTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchRoutingProfilesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/SearchSecurityProfilesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/UpdateContactRoutingDataCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdatePredefinedAttributeCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateUserProficienciesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -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/GetCurrentMetricDataPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetCurrentUserDataPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetMetricDataPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetMetricDataV2Paginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAgentStatusesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListApprovedOriginsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListBotsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListContactEvaluationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListContactFlowModulesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListContactFlowsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListContactReferencesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDefaultVocabulariesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEvaluationFormVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEvaluationFormsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFlowAssociationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListHoursOfOperationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListInstanceAttributesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListInstanceStorageConfigsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListInstancesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListIntegrationAssociationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListLambdaFunctionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListLexBotsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPhoneNumbersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPhoneNumbersV2Paginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPredefinedAttributesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPromptsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListQueueQuickConnectsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListQueuesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListQuickConnectsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRoutingProfileQueuesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRoutingProfilesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRulesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSecurityKeysPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSecurityProfileApplicationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSecurityProfilePermissionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSecurityProfilesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTaskTemplatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTrafficDistributionGroupUsersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTrafficDistributionGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListUseCasesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListUserHierarchyGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListUserProficienciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListViewVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListViewsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchAvailablePhoneNumbersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchContactsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchHoursOfOperationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchPredefinedAttributesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchPromptsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchQueuesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchQuickConnectsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchResourceTagsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchRoutingProfilesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchSecurityProfilesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchUsersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchVocabulariesPaginator.d.ts +3 -3
- 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 +5 -5
package/dist-es/Connect.js
CHANGED
|
@@ -13,6 +13,7 @@ import { AssociateQueueQuickConnectsCommand, } from "./commands/AssociateQueueQu
|
|
|
13
13
|
import { AssociateRoutingProfileQueuesCommand, } from "./commands/AssociateRoutingProfileQueuesCommand";
|
|
14
14
|
import { AssociateSecurityKeyCommand, } from "./commands/AssociateSecurityKeyCommand";
|
|
15
15
|
import { AssociateTrafficDistributionGroupUserCommand, } from "./commands/AssociateTrafficDistributionGroupUserCommand";
|
|
16
|
+
import { AssociateUserProficienciesCommand, } from "./commands/AssociateUserProficienciesCommand";
|
|
16
17
|
import { BatchAssociateAnalyticsDataSetCommand, } from "./commands/BatchAssociateAnalyticsDataSetCommand";
|
|
17
18
|
import { BatchDisassociateAnalyticsDataSetCommand, } from "./commands/BatchDisassociateAnalyticsDataSetCommand";
|
|
18
19
|
import { BatchGetFlowAssociationCommand, } from "./commands/BatchGetFlowAssociationCommand";
|
|
@@ -27,6 +28,7 @@ import { CreateInstanceCommand, } from "./commands/CreateInstanceCommand";
|
|
|
27
28
|
import { CreateIntegrationAssociationCommand, } from "./commands/CreateIntegrationAssociationCommand";
|
|
28
29
|
import { CreateParticipantCommand, } from "./commands/CreateParticipantCommand";
|
|
29
30
|
import { CreatePersistentContactAssociationCommand, } from "./commands/CreatePersistentContactAssociationCommand";
|
|
31
|
+
import { CreatePredefinedAttributeCommand, } from "./commands/CreatePredefinedAttributeCommand";
|
|
30
32
|
import { CreatePromptCommand, } from "./commands/CreatePromptCommand";
|
|
31
33
|
import { CreateQueueCommand } from "./commands/CreateQueueCommand";
|
|
32
34
|
import { CreateQuickConnectCommand, } from "./commands/CreateQuickConnectCommand";
|
|
@@ -49,6 +51,7 @@ import { DeleteEvaluationFormCommand, } from "./commands/DeleteEvaluationFormCom
|
|
|
49
51
|
import { DeleteHoursOfOperationCommand, } from "./commands/DeleteHoursOfOperationCommand";
|
|
50
52
|
import { DeleteInstanceCommand, } from "./commands/DeleteInstanceCommand";
|
|
51
53
|
import { DeleteIntegrationAssociationCommand, } from "./commands/DeleteIntegrationAssociationCommand";
|
|
54
|
+
import { DeletePredefinedAttributeCommand, } from "./commands/DeletePredefinedAttributeCommand";
|
|
52
55
|
import { DeletePromptCommand, } from "./commands/DeletePromptCommand";
|
|
53
56
|
import { DeleteQueueCommand } from "./commands/DeleteQueueCommand";
|
|
54
57
|
import { DeleteQuickConnectCommand, } from "./commands/DeleteQuickConnectCommand";
|
|
@@ -74,6 +77,7 @@ import { DescribeInstanceAttributeCommand, } from "./commands/DescribeInstanceAt
|
|
|
74
77
|
import { DescribeInstanceCommand, } from "./commands/DescribeInstanceCommand";
|
|
75
78
|
import { DescribeInstanceStorageConfigCommand, } from "./commands/DescribeInstanceStorageConfigCommand";
|
|
76
79
|
import { DescribePhoneNumberCommand, } from "./commands/DescribePhoneNumberCommand";
|
|
80
|
+
import { DescribePredefinedAttributeCommand, } from "./commands/DescribePredefinedAttributeCommand";
|
|
77
81
|
import { DescribePromptCommand, } from "./commands/DescribePromptCommand";
|
|
78
82
|
import { DescribeQueueCommand, } from "./commands/DescribeQueueCommand";
|
|
79
83
|
import { DescribeQuickConnectCommand, } from "./commands/DescribeQuickConnectCommand";
|
|
@@ -98,6 +102,7 @@ import { DisassociateQueueQuickConnectsCommand, } from "./commands/DisassociateQ
|
|
|
98
102
|
import { DisassociateRoutingProfileQueuesCommand, } from "./commands/DisassociateRoutingProfileQueuesCommand";
|
|
99
103
|
import { DisassociateSecurityKeyCommand, } from "./commands/DisassociateSecurityKeyCommand";
|
|
100
104
|
import { DisassociateTrafficDistributionGroupUserCommand, } from "./commands/DisassociateTrafficDistributionGroupUserCommand";
|
|
105
|
+
import { DisassociateUserProficienciesCommand, } from "./commands/DisassociateUserProficienciesCommand";
|
|
101
106
|
import { DismissUserContactCommand, } from "./commands/DismissUserContactCommand";
|
|
102
107
|
import { GetContactAttributesCommand, } from "./commands/GetContactAttributesCommand";
|
|
103
108
|
import { GetCurrentMetricDataCommand, } from "./commands/GetCurrentMetricDataCommand";
|
|
@@ -131,6 +136,7 @@ import { ListLambdaFunctionsCommand, } from "./commands/ListLambdaFunctionsComma
|
|
|
131
136
|
import { ListLexBotsCommand } from "./commands/ListLexBotsCommand";
|
|
132
137
|
import { ListPhoneNumbersCommand, } from "./commands/ListPhoneNumbersCommand";
|
|
133
138
|
import { ListPhoneNumbersV2Command, } from "./commands/ListPhoneNumbersV2Command";
|
|
139
|
+
import { ListPredefinedAttributesCommand, } from "./commands/ListPredefinedAttributesCommand";
|
|
134
140
|
import { ListPromptsCommand } from "./commands/ListPromptsCommand";
|
|
135
141
|
import { ListQueueQuickConnectsCommand, } from "./commands/ListQueueQuickConnectsCommand";
|
|
136
142
|
import { ListQueuesCommand } from "./commands/ListQueuesCommand";
|
|
@@ -149,6 +155,7 @@ import { ListTrafficDistributionGroupsCommand, } from "./commands/ListTrafficDis
|
|
|
149
155
|
import { ListTrafficDistributionGroupUsersCommand, } from "./commands/ListTrafficDistributionGroupUsersCommand";
|
|
150
156
|
import { ListUseCasesCommand, } from "./commands/ListUseCasesCommand";
|
|
151
157
|
import { ListUserHierarchyGroupsCommand, } from "./commands/ListUserHierarchyGroupsCommand";
|
|
158
|
+
import { ListUserProficienciesCommand, } from "./commands/ListUserProficienciesCommand";
|
|
152
159
|
import { ListUsersCommand } from "./commands/ListUsersCommand";
|
|
153
160
|
import { ListViewsCommand } from "./commands/ListViewsCommand";
|
|
154
161
|
import { ListViewVersionsCommand, } from "./commands/ListViewVersionsCommand";
|
|
@@ -160,7 +167,9 @@ import { ReplicateInstanceCommand, } from "./commands/ReplicateInstanceCommand";
|
|
|
160
167
|
import { ResumeContactCommand, } from "./commands/ResumeContactCommand";
|
|
161
168
|
import { ResumeContactRecordingCommand, } from "./commands/ResumeContactRecordingCommand";
|
|
162
169
|
import { SearchAvailablePhoneNumbersCommand, } from "./commands/SearchAvailablePhoneNumbersCommand";
|
|
170
|
+
import { SearchContactsCommand, } from "./commands/SearchContactsCommand";
|
|
163
171
|
import { SearchHoursOfOperationsCommand, } from "./commands/SearchHoursOfOperationsCommand";
|
|
172
|
+
import { SearchPredefinedAttributesCommand, } from "./commands/SearchPredefinedAttributesCommand";
|
|
164
173
|
import { SearchPromptsCommand, } from "./commands/SearchPromptsCommand";
|
|
165
174
|
import { SearchQueuesCommand, } from "./commands/SearchQueuesCommand";
|
|
166
175
|
import { SearchQuickConnectsCommand, } from "./commands/SearchQuickConnectsCommand";
|
|
@@ -196,6 +205,7 @@ import { UpdateContactFlowMetadataCommand, } from "./commands/UpdateContactFlowM
|
|
|
196
205
|
import { UpdateContactFlowModuleContentCommand, } from "./commands/UpdateContactFlowModuleContentCommand";
|
|
197
206
|
import { UpdateContactFlowModuleMetadataCommand, } from "./commands/UpdateContactFlowModuleMetadataCommand";
|
|
198
207
|
import { UpdateContactFlowNameCommand, } from "./commands/UpdateContactFlowNameCommand";
|
|
208
|
+
import { UpdateContactRoutingDataCommand, } from "./commands/UpdateContactRoutingDataCommand";
|
|
199
209
|
import { UpdateContactScheduleCommand, } from "./commands/UpdateContactScheduleCommand";
|
|
200
210
|
import { UpdateEvaluationFormCommand, } from "./commands/UpdateEvaluationFormCommand";
|
|
201
211
|
import { UpdateHoursOfOperationCommand, } from "./commands/UpdateHoursOfOperationCommand";
|
|
@@ -204,6 +214,7 @@ import { UpdateInstanceStorageConfigCommand, } from "./commands/UpdateInstanceSt
|
|
|
204
214
|
import { UpdateParticipantRoleConfigCommand, } from "./commands/UpdateParticipantRoleConfigCommand";
|
|
205
215
|
import { UpdatePhoneNumberCommand, } from "./commands/UpdatePhoneNumberCommand";
|
|
206
216
|
import { UpdatePhoneNumberMetadataCommand, } from "./commands/UpdatePhoneNumberMetadataCommand";
|
|
217
|
+
import { UpdatePredefinedAttributeCommand, } from "./commands/UpdatePredefinedAttributeCommand";
|
|
207
218
|
import { UpdatePromptCommand, } from "./commands/UpdatePromptCommand";
|
|
208
219
|
import { UpdateQueueHoursOfOperationCommand, } from "./commands/UpdateQueueHoursOfOperationCommand";
|
|
209
220
|
import { UpdateQueueMaxContactsCommand, } from "./commands/UpdateQueueMaxContactsCommand";
|
|
@@ -226,6 +237,7 @@ import { UpdateUserHierarchyGroupNameCommand, } from "./commands/UpdateUserHiera
|
|
|
226
237
|
import { UpdateUserHierarchyStructureCommand, } from "./commands/UpdateUserHierarchyStructureCommand";
|
|
227
238
|
import { UpdateUserIdentityInfoCommand, } from "./commands/UpdateUserIdentityInfoCommand";
|
|
228
239
|
import { UpdateUserPhoneConfigCommand, } from "./commands/UpdateUserPhoneConfigCommand";
|
|
240
|
+
import { UpdateUserProficienciesCommand, } from "./commands/UpdateUserProficienciesCommand";
|
|
229
241
|
import { UpdateUserRoutingProfileCommand, } from "./commands/UpdateUserRoutingProfileCommand";
|
|
230
242
|
import { UpdateUserSecurityProfilesCommand, } from "./commands/UpdateUserSecurityProfilesCommand";
|
|
231
243
|
import { UpdateViewContentCommand, } from "./commands/UpdateViewContentCommand";
|
|
@@ -246,6 +258,7 @@ const commands = {
|
|
|
246
258
|
AssociateRoutingProfileQueuesCommand,
|
|
247
259
|
AssociateSecurityKeyCommand,
|
|
248
260
|
AssociateTrafficDistributionGroupUserCommand,
|
|
261
|
+
AssociateUserProficienciesCommand,
|
|
249
262
|
BatchAssociateAnalyticsDataSetCommand,
|
|
250
263
|
BatchDisassociateAnalyticsDataSetCommand,
|
|
251
264
|
BatchGetFlowAssociationCommand,
|
|
@@ -260,6 +273,7 @@ const commands = {
|
|
|
260
273
|
CreateIntegrationAssociationCommand,
|
|
261
274
|
CreateParticipantCommand,
|
|
262
275
|
CreatePersistentContactAssociationCommand,
|
|
276
|
+
CreatePredefinedAttributeCommand,
|
|
263
277
|
CreatePromptCommand,
|
|
264
278
|
CreateQueueCommand,
|
|
265
279
|
CreateQuickConnectCommand,
|
|
@@ -282,6 +296,7 @@ const commands = {
|
|
|
282
296
|
DeleteHoursOfOperationCommand,
|
|
283
297
|
DeleteInstanceCommand,
|
|
284
298
|
DeleteIntegrationAssociationCommand,
|
|
299
|
+
DeletePredefinedAttributeCommand,
|
|
285
300
|
DeletePromptCommand,
|
|
286
301
|
DeleteQueueCommand,
|
|
287
302
|
DeleteQuickConnectCommand,
|
|
@@ -307,6 +322,7 @@ const commands = {
|
|
|
307
322
|
DescribeInstanceAttributeCommand,
|
|
308
323
|
DescribeInstanceStorageConfigCommand,
|
|
309
324
|
DescribePhoneNumberCommand,
|
|
325
|
+
DescribePredefinedAttributeCommand,
|
|
310
326
|
DescribePromptCommand,
|
|
311
327
|
DescribeQueueCommand,
|
|
312
328
|
DescribeQuickConnectCommand,
|
|
@@ -331,6 +347,7 @@ const commands = {
|
|
|
331
347
|
DisassociateRoutingProfileQueuesCommand,
|
|
332
348
|
DisassociateSecurityKeyCommand,
|
|
333
349
|
DisassociateTrafficDistributionGroupUserCommand,
|
|
350
|
+
DisassociateUserProficienciesCommand,
|
|
334
351
|
DismissUserContactCommand,
|
|
335
352
|
GetContactAttributesCommand,
|
|
336
353
|
GetCurrentMetricDataCommand,
|
|
@@ -364,6 +381,7 @@ const commands = {
|
|
|
364
381
|
ListLexBotsCommand,
|
|
365
382
|
ListPhoneNumbersCommand,
|
|
366
383
|
ListPhoneNumbersV2Command,
|
|
384
|
+
ListPredefinedAttributesCommand,
|
|
367
385
|
ListPromptsCommand,
|
|
368
386
|
ListQueueQuickConnectsCommand,
|
|
369
387
|
ListQueuesCommand,
|
|
@@ -382,6 +400,7 @@ const commands = {
|
|
|
382
400
|
ListTrafficDistributionGroupUsersCommand,
|
|
383
401
|
ListUseCasesCommand,
|
|
384
402
|
ListUserHierarchyGroupsCommand,
|
|
403
|
+
ListUserProficienciesCommand,
|
|
385
404
|
ListUsersCommand,
|
|
386
405
|
ListViewsCommand,
|
|
387
406
|
ListViewVersionsCommand,
|
|
@@ -393,7 +412,9 @@ const commands = {
|
|
|
393
412
|
ResumeContactCommand,
|
|
394
413
|
ResumeContactRecordingCommand,
|
|
395
414
|
SearchAvailablePhoneNumbersCommand,
|
|
415
|
+
SearchContactsCommand,
|
|
396
416
|
SearchHoursOfOperationsCommand,
|
|
417
|
+
SearchPredefinedAttributesCommand,
|
|
397
418
|
SearchPromptsCommand,
|
|
398
419
|
SearchQueuesCommand,
|
|
399
420
|
SearchQuickConnectsCommand,
|
|
@@ -429,6 +450,7 @@ const commands = {
|
|
|
429
450
|
UpdateContactFlowModuleContentCommand,
|
|
430
451
|
UpdateContactFlowModuleMetadataCommand,
|
|
431
452
|
UpdateContactFlowNameCommand,
|
|
453
|
+
UpdateContactRoutingDataCommand,
|
|
432
454
|
UpdateContactScheduleCommand,
|
|
433
455
|
UpdateEvaluationFormCommand,
|
|
434
456
|
UpdateHoursOfOperationCommand,
|
|
@@ -437,6 +459,7 @@ const commands = {
|
|
|
437
459
|
UpdateParticipantRoleConfigCommand,
|
|
438
460
|
UpdatePhoneNumberCommand,
|
|
439
461
|
UpdatePhoneNumberMetadataCommand,
|
|
462
|
+
UpdatePredefinedAttributeCommand,
|
|
440
463
|
UpdatePromptCommand,
|
|
441
464
|
UpdateQueueHoursOfOperationCommand,
|
|
442
465
|
UpdateQueueMaxContactsCommand,
|
|
@@ -459,6 +482,7 @@ const commands = {
|
|
|
459
482
|
UpdateUserHierarchyStructureCommand,
|
|
460
483
|
UpdateUserIdentityInfoCommand,
|
|
461
484
|
UpdateUserPhoneConfigCommand,
|
|
485
|
+
UpdateUserProficienciesCommand,
|
|
462
486
|
UpdateUserRoutingProfileCommand,
|
|
463
487
|
UpdateUserSecurityProfilesCommand,
|
|
464
488
|
UpdateViewContentCommand,
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_AssociateUserProficienciesCommand, se_AssociateUserProficienciesCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class AssociateUserProficienciesCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, AssociateUserProficienciesCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "ConnectClient";
|
|
26
|
+
const commandName = "AssociateUserProficienciesCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonConnectService",
|
|
35
|
+
operation: "AssociateUserProficiencies",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_AssociateUserProficienciesCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_AssociateUserProficienciesCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_CreatePredefinedAttributeCommand, se_CreatePredefinedAttributeCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreatePredefinedAttributeCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreatePredefinedAttributeCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "ConnectClient";
|
|
26
|
+
const commandName = "CreatePredefinedAttributeCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonConnectService",
|
|
35
|
+
operation: "CreatePredefinedAttribute",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_CreatePredefinedAttributeCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_CreatePredefinedAttributeCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_DeletePredefinedAttributeCommand, se_DeletePredefinedAttributeCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeletePredefinedAttributeCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeletePredefinedAttributeCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "ConnectClient";
|
|
26
|
+
const commandName = "DeletePredefinedAttributeCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonConnectService",
|
|
35
|
+
operation: "DeletePredefinedAttribute",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_DeletePredefinedAttributeCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_DeletePredefinedAttributeCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_DescribePredefinedAttributeCommand, se_DescribePredefinedAttributeCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DescribePredefinedAttributeCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribePredefinedAttributeCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "ConnectClient";
|
|
26
|
+
const commandName = "DescribePredefinedAttributeCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonConnectService",
|
|
35
|
+
operation: "DescribePredefinedAttribute",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_DescribePredefinedAttributeCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_DescribePredefinedAttributeCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_DisassociateUserProficienciesCommand, se_DisassociateUserProficienciesCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DisassociateUserProficienciesCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DisassociateUserProficienciesCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "ConnectClient";
|
|
26
|
+
const commandName = "DisassociateUserProficienciesCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonConnectService",
|
|
35
|
+
operation: "DisassociateUserProficiencies",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_DisassociateUserProficienciesCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_DisassociateUserProficienciesCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_ListPredefinedAttributesCommand, se_ListPredefinedAttributesCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListPredefinedAttributesCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListPredefinedAttributesCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "ConnectClient";
|
|
26
|
+
const commandName = "ListPredefinedAttributesCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonConnectService",
|
|
35
|
+
operation: "ListPredefinedAttributes",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_ListPredefinedAttributesCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_ListPredefinedAttributesCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_ListUserProficienciesCommand, se_ListUserProficienciesCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListUserProficienciesCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListUserProficienciesCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "ConnectClient";
|
|
26
|
+
const commandName = "ListUserProficienciesCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonConnectService",
|
|
35
|
+
operation: "ListUserProficiencies",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_ListUserProficienciesCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_ListUserProficienciesCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { SearchContactsRequestFilterSensitiveLog, } from "../models/models_2";
|
|
6
|
+
import { de_SearchContactsCommand, se_SearchContactsCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class SearchContactsCommand extends $Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, SearchContactsCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "ConnectClient";
|
|
27
|
+
const commandName = "SearchContactsCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: SearchContactsRequestFilterSensitiveLog,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
+
service: "AmazonConnectService",
|
|
36
|
+
operation: "SearchContacts",
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
const { requestHandler } = configuration;
|
|
40
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
+
}
|
|
42
|
+
serialize(input, context) {
|
|
43
|
+
return se_SearchContactsCommand(input, context);
|
|
44
|
+
}
|
|
45
|
+
deserialize(output, context) {
|
|
46
|
+
return de_SearchContactsCommand(output, context);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_SearchPredefinedAttributesCommand, se_SearchPredefinedAttributesCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class SearchPredefinedAttributesCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, SearchPredefinedAttributesCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "ConnectClient";
|
|
26
|
+
const commandName = "SearchPredefinedAttributesCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonConnectService",
|
|
35
|
+
operation: "SearchPredefinedAttributes",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_SearchPredefinedAttributesCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_SearchPredefinedAttributesCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_UpdateContactRoutingDataCommand, se_UpdateContactRoutingDataCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateContactRoutingDataCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateContactRoutingDataCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "ConnectClient";
|
|
26
|
+
const commandName = "UpdateContactRoutingDataCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonConnectService",
|
|
35
|
+
operation: "UpdateContactRoutingData",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_UpdateContactRoutingDataCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_UpdateContactRoutingDataCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|