@aws-sdk/client-connect 3.47.1 → 3.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -0
- package/README.md +2 -3
- package/dist-cjs/Connect.js +90 -0
- package/dist-cjs/commands/AssociateDefaultVocabularyCommand.js +36 -0
- package/dist-cjs/commands/CreateVocabularyCommand.js +36 -0
- package/dist-cjs/commands/DeleteVocabularyCommand.js +36 -0
- package/dist-cjs/commands/DescribeVocabularyCommand.js +36 -0
- package/dist-cjs/commands/ListDefaultVocabulariesCommand.js +36 -0
- package/dist-cjs/commands/SearchVocabulariesCommand.js +36 -0
- package/dist-cjs/commands/StartOutboundVoiceContactCommand.js +3 -3
- package/dist-cjs/commands/StartTaskContactCommand.js +3 -3
- package/dist-cjs/commands/StopContactCommand.js +3 -3
- package/dist-cjs/commands/StopContactRecordingCommand.js +3 -3
- package/dist-cjs/commands/StopContactStreamingCommand.js +3 -3
- package/dist-cjs/commands/SuspendContactRecordingCommand.js +3 -3
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/models/models_0.js +127 -95
- package/dist-cjs/models/models_1.js +91 -1
- package/dist-cjs/pagination/ListDefaultVocabulariesPaginator.js +35 -0
- package/dist-cjs/pagination/SearchVocabulariesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +800 -7
- package/dist-es/Connect.js +90 -0
- package/dist-es/commands/AssociateDefaultVocabularyCommand.js +39 -0
- package/dist-es/commands/CreateVocabularyCommand.js +39 -0
- package/dist-es/commands/DeleteVocabularyCommand.js +39 -0
- package/dist-es/commands/DescribeVocabularyCommand.js +39 -0
- package/dist-es/commands/ListDefaultVocabulariesCommand.js +39 -0
- package/dist-es/commands/SearchVocabulariesCommand.js +39 -0
- package/dist-es/commands/StartOutboundVoiceContactCommand.js +1 -1
- package/dist-es/commands/StartTaskContactCommand.js +1 -1
- package/dist-es/commands/StopContactCommand.js +1 -1
- package/dist-es/commands/StopContactRecordingCommand.js +1 -1
- package/dist-es/commands/StopContactStreamingCommand.js +1 -1
- package/dist-es/commands/SuspendContactRecordingCommand.js +1 -1
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +91 -61
- package/dist-es/models/models_1.js +61 -0
- package/dist-es/pagination/ListDefaultVocabulariesPaginator.js +74 -0
- package/dist-es/pagination/SearchVocabulariesPaginator.js +74 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +948 -63
- package/dist-types/Connect.d.ts +63 -16
- package/dist-types/ConnectClient.d.ts +10 -5
- package/dist-types/commands/AssociateDefaultVocabularyCommand.d.ts +35 -0
- package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +1 -1
- package/dist-types/commands/CreateVocabularyCommand.d.ts +37 -0
- package/dist-types/commands/DeleteIntegrationAssociationCommand.d.ts +2 -2
- package/dist-types/commands/DeleteVocabularyCommand.d.ts +35 -0
- package/dist-types/commands/DescribeVocabularyCommand.d.ts +35 -0
- package/dist-types/commands/ListBotsCommand.d.ts +2 -2
- package/dist-types/commands/ListDefaultVocabulariesCommand.d.ts +35 -0
- package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +2 -2
- package/dist-types/commands/SearchVocabulariesCommand.d.ts +35 -0
- package/dist-types/commands/StartChatContactCommand.d.ts +4 -1
- package/dist-types/commands/StartContactStreamingCommand.d.ts +1 -1
- package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +4 -3
- package/dist-types/commands/StartTaskContactCommand.d.ts +1 -1
- package/dist-types/commands/StopContactCommand.d.ts +1 -1
- package/dist-types/commands/StopContactRecordingCommand.d.ts +1 -1
- package/dist-types/commands/StopContactStreamingCommand.d.ts +1 -1
- package/dist-types/commands/SuspendContactRecordingCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +445 -347
- package/dist-types/models/models_1.d.ts +337 -2
- package/dist-types/pagination/ListDefaultVocabulariesPaginator.d.ts +4 -0
- package/dist-types/pagination/SearchVocabulariesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/package.json +39 -33
- package/dist-types/ts3.4/Connect.d.ts +0 -645
- package/dist-types/ts3.4/ConnectClient.d.ts +0 -201
- package/dist-types/ts3.4/commands/AssociateApprovedOriginCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/AssociateBotCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/AssociateInstanceStorageConfigCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/AssociateLambdaFunctionCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/AssociateLexBotCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/AssociateQueueQuickConnectsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/AssociateRoutingProfileQueuesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/AssociateSecurityKeyCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateAgentStatusCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateContactFlowCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateContactFlowModuleCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateHoursOfOperationCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateInstanceCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateIntegrationAssociationCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateQueueCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateQuickConnectCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateRoutingProfileCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateSecurityProfileCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateUseCaseCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateUserHierarchyGroupCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DeleteContactFlowCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DeleteContactFlowModuleCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DeleteHoursOfOperationCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DeleteInstanceCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DeleteIntegrationAssociationCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DeleteQuickConnectCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DeleteSecurityProfileCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DeleteUseCaseCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DeleteUserHierarchyGroupCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeAgentStatusCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeContactCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeContactFlowCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeContactFlowModuleCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeHoursOfOperationCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeInstanceAttributeCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeInstanceCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeInstanceStorageConfigCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeQueueCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeQuickConnectCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeRoutingProfileCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeSecurityProfileCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeUserHierarchyGroupCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeUserHierarchyStructureCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DisassociateApprovedOriginCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DisassociateBotCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DisassociateInstanceStorageConfigCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DisassociateLambdaFunctionCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DisassociateLexBotCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DisassociateQueueQuickConnectsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DisassociateRoutingProfileQueuesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DisassociateSecurityKeyCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/GetContactAttributesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/GetCurrentMetricDataCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/GetMetricDataCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListAgentStatusesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListApprovedOriginsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListBotsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListContactFlowModulesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListContactFlowsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListContactReferencesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListHoursOfOperationsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListInstanceAttributesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListInstanceStorageConfigsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListIntegrationAssociationsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListLambdaFunctionsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListLexBotsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListPhoneNumbersCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListPromptsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListQueueQuickConnectsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListQueuesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListQuickConnectsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListRoutingProfileQueuesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListRoutingProfilesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListSecurityKeysCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListSecurityProfilePermissionsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListSecurityProfilesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListUseCasesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListUserHierarchyGroupsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ResumeContactRecordingCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/StartContactRecordingCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/StartContactStreamingCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/StartOutboundVoiceContactCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/StartTaskContactCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/StopContactCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/StopContactRecordingCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/StopContactStreamingCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/SuspendContactRecordingCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateAgentStatusCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateContactAttributesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateContactFlowContentCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateContactFlowMetadataCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateContactFlowModuleContentCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateContactFlowModuleMetadataCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateContactFlowNameCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateContactScheduleCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateHoursOfOperationCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateInstanceAttributeCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateInstanceStorageConfigCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateQueueHoursOfOperationCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateQueueMaxContactsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateQueueNameCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateQueueStatusCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateQuickConnectConfigCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateQuickConnectNameCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateRoutingProfileNameCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateRoutingProfileQueuesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateSecurityProfileCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateUserHierarchyCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateUserHierarchyGroupNameCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateUserHierarchyStructureCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateUserIdentityInfoCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateUserPhoneConfigCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateUserRoutingProfileCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateUserSecurityProfilesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/index.d.ts +0 -128
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/index.d.ts +0 -5
- package/dist-types/ts3.4/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/models_0.d.ts +0 -3648
- package/dist-types/ts3.4/models/models_1.d.ts +0 -491
- package/dist-types/ts3.4/pagination/GetCurrentMetricDataPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/GetMetricDataPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +0 -6
- package/dist-types/ts3.4/pagination/ListAgentStatusesPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListApprovedOriginsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListBotsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListContactFlowModulesPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListContactFlowsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListContactReferencesPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListHoursOfOperationsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListInstanceAttributesPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListInstanceStorageConfigsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListInstancesPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListIntegrationAssociationsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListLambdaFunctionsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListLexBotsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListPhoneNumbersPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListPromptsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListQueueQuickConnectsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListQueuesPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListQuickConnectsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListRoutingProfileQueuesPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListRoutingProfilesPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListSecurityKeysPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListSecurityProfilePermissionsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListSecurityProfilesPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListUseCasesPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListUserHierarchyGroupsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/index.d.ts +0 -29
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -386
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +0 -38
- package/dist-types/ts3.4/runtimeConfig.d.ts +0 -38
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +0 -37
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -11
|
@@ -39,6 +39,38 @@ export var AssociateBotRequest;
|
|
|
39
39
|
(function (AssociateBotRequest) {
|
|
40
40
|
AssociateBotRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
41
41
|
})(AssociateBotRequest || (AssociateBotRequest = {}));
|
|
42
|
+
export var VocabularyLanguageCode;
|
|
43
|
+
(function (VocabularyLanguageCode) {
|
|
44
|
+
VocabularyLanguageCode["AR_AE"] = "ar-AE";
|
|
45
|
+
VocabularyLanguageCode["DE_CH"] = "de-CH";
|
|
46
|
+
VocabularyLanguageCode["DE_DE"] = "de-DE";
|
|
47
|
+
VocabularyLanguageCode["EN_AB"] = "en-AB";
|
|
48
|
+
VocabularyLanguageCode["EN_AU"] = "en-AU";
|
|
49
|
+
VocabularyLanguageCode["EN_GB"] = "en-GB";
|
|
50
|
+
VocabularyLanguageCode["EN_IE"] = "en-IE";
|
|
51
|
+
VocabularyLanguageCode["EN_IN"] = "en-IN";
|
|
52
|
+
VocabularyLanguageCode["EN_US"] = "en-US";
|
|
53
|
+
VocabularyLanguageCode["EN_WL"] = "en-WL";
|
|
54
|
+
VocabularyLanguageCode["ES_ES"] = "es-ES";
|
|
55
|
+
VocabularyLanguageCode["ES_US"] = "es-US";
|
|
56
|
+
VocabularyLanguageCode["FR_CA"] = "fr-CA";
|
|
57
|
+
VocabularyLanguageCode["FR_FR"] = "fr-FR";
|
|
58
|
+
VocabularyLanguageCode["HI_IN"] = "hi-IN";
|
|
59
|
+
VocabularyLanguageCode["IT_IT"] = "it-IT";
|
|
60
|
+
VocabularyLanguageCode["JA_JP"] = "ja-JP";
|
|
61
|
+
VocabularyLanguageCode["KO_KR"] = "ko-KR";
|
|
62
|
+
VocabularyLanguageCode["PT_BR"] = "pt-BR";
|
|
63
|
+
VocabularyLanguageCode["PT_PT"] = "pt-PT";
|
|
64
|
+
VocabularyLanguageCode["ZH_CN"] = "zh-CN";
|
|
65
|
+
})(VocabularyLanguageCode || (VocabularyLanguageCode = {}));
|
|
66
|
+
export var AssociateDefaultVocabularyRequest;
|
|
67
|
+
(function (AssociateDefaultVocabularyRequest) {
|
|
68
|
+
AssociateDefaultVocabularyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
69
|
+
})(AssociateDefaultVocabularyRequest || (AssociateDefaultVocabularyRequest = {}));
|
|
70
|
+
export var AssociateDefaultVocabularyResponse;
|
|
71
|
+
(function (AssociateDefaultVocabularyResponse) {
|
|
72
|
+
AssociateDefaultVocabularyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
73
|
+
})(AssociateDefaultVocabularyResponse || (AssociateDefaultVocabularyResponse = {}));
|
|
42
74
|
export var InstanceStorageResourceType;
|
|
43
75
|
(function (InstanceStorageResourceType) {
|
|
44
76
|
InstanceStorageResourceType["AGENT_EVENTS"] = "AGENT_EVENTS";
|
|
@@ -334,6 +366,21 @@ export var CreateUserHierarchyGroupResponse;
|
|
|
334
366
|
(function (CreateUserHierarchyGroupResponse) {
|
|
335
367
|
CreateUserHierarchyGroupResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
336
368
|
})(CreateUserHierarchyGroupResponse || (CreateUserHierarchyGroupResponse = {}));
|
|
369
|
+
export var CreateVocabularyRequest;
|
|
370
|
+
(function (CreateVocabularyRequest) {
|
|
371
|
+
CreateVocabularyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
372
|
+
})(CreateVocabularyRequest || (CreateVocabularyRequest = {}));
|
|
373
|
+
export var VocabularyState;
|
|
374
|
+
(function (VocabularyState) {
|
|
375
|
+
VocabularyState["ACTIVE"] = "ACTIVE";
|
|
376
|
+
VocabularyState["CREATION_FAILED"] = "CREATION_FAILED";
|
|
377
|
+
VocabularyState["CREATION_IN_PROGRESS"] = "CREATION_IN_PROGRESS";
|
|
378
|
+
VocabularyState["DELETE_IN_PROGRESS"] = "DELETE_IN_PROGRESS";
|
|
379
|
+
})(VocabularyState || (VocabularyState = {}));
|
|
380
|
+
export var CreateVocabularyResponse;
|
|
381
|
+
(function (CreateVocabularyResponse) {
|
|
382
|
+
CreateVocabularyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
383
|
+
})(CreateVocabularyResponse || (CreateVocabularyResponse = {}));
|
|
337
384
|
export var DeleteContactFlowRequest;
|
|
338
385
|
(function (DeleteContactFlowRequest) {
|
|
339
386
|
DeleteContactFlowRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -388,6 +435,14 @@ export var DeleteUserHierarchyGroupRequest;
|
|
|
388
435
|
(function (DeleteUserHierarchyGroupRequest) {
|
|
389
436
|
DeleteUserHierarchyGroupRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
390
437
|
})(DeleteUserHierarchyGroupRequest || (DeleteUserHierarchyGroupRequest = {}));
|
|
438
|
+
export var DeleteVocabularyRequest;
|
|
439
|
+
(function (DeleteVocabularyRequest) {
|
|
440
|
+
DeleteVocabularyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
441
|
+
})(DeleteVocabularyRequest || (DeleteVocabularyRequest = {}));
|
|
442
|
+
export var DeleteVocabularyResponse;
|
|
443
|
+
(function (DeleteVocabularyResponse) {
|
|
444
|
+
DeleteVocabularyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
445
|
+
})(DeleteVocabularyResponse || (DeleteVocabularyResponse = {}));
|
|
391
446
|
export var DescribeAgentStatusRequest;
|
|
392
447
|
(function (DescribeAgentStatusRequest) {
|
|
393
448
|
DescribeAgentStatusRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -625,6 +680,18 @@ export var DescribeUserHierarchyStructureResponse;
|
|
|
625
680
|
(function (DescribeUserHierarchyStructureResponse) {
|
|
626
681
|
DescribeUserHierarchyStructureResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
627
682
|
})(DescribeUserHierarchyStructureResponse || (DescribeUserHierarchyStructureResponse = {}));
|
|
683
|
+
export var DescribeVocabularyRequest;
|
|
684
|
+
(function (DescribeVocabularyRequest) {
|
|
685
|
+
DescribeVocabularyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
686
|
+
})(DescribeVocabularyRequest || (DescribeVocabularyRequest = {}));
|
|
687
|
+
export var Vocabulary;
|
|
688
|
+
(function (Vocabulary) {
|
|
689
|
+
Vocabulary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
690
|
+
})(Vocabulary || (Vocabulary = {}));
|
|
691
|
+
export var DescribeVocabularyResponse;
|
|
692
|
+
(function (DescribeVocabularyResponse) {
|
|
693
|
+
DescribeVocabularyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
694
|
+
})(DescribeVocabularyResponse || (DescribeVocabularyResponse = {}));
|
|
628
695
|
export var DisassociateApprovedOriginRequest;
|
|
629
696
|
(function (DisassociateApprovedOriginRequest) {
|
|
630
697
|
DisassociateApprovedOriginRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -902,6 +969,18 @@ export var ListContactReferencesResponse;
|
|
|
902
969
|
ReferenceSummaryList: obj.ReferenceSummaryList.map(function (item) { return ReferenceSummary.filterSensitiveLog(item); }),
|
|
903
970
|
}))); };
|
|
904
971
|
})(ListContactReferencesResponse || (ListContactReferencesResponse = {}));
|
|
972
|
+
export var ListDefaultVocabulariesRequest;
|
|
973
|
+
(function (ListDefaultVocabulariesRequest) {
|
|
974
|
+
ListDefaultVocabulariesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
975
|
+
})(ListDefaultVocabulariesRequest || (ListDefaultVocabulariesRequest = {}));
|
|
976
|
+
export var DefaultVocabulary;
|
|
977
|
+
(function (DefaultVocabulary) {
|
|
978
|
+
DefaultVocabulary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
979
|
+
})(DefaultVocabulary || (DefaultVocabulary = {}));
|
|
980
|
+
export var ListDefaultVocabulariesResponse;
|
|
981
|
+
(function (ListDefaultVocabulariesResponse) {
|
|
982
|
+
ListDefaultVocabulariesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
983
|
+
})(ListDefaultVocabulariesResponse || (ListDefaultVocabulariesResponse = {}));
|
|
905
984
|
export var ListHoursOfOperationsRequest;
|
|
906
985
|
(function (ListHoursOfOperationsRequest) {
|
|
907
986
|
ListHoursOfOperationsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1382,6 +1461,18 @@ export var ResumeContactRecordingResponse;
|
|
|
1382
1461
|
(function (ResumeContactRecordingResponse) {
|
|
1383
1462
|
ResumeContactRecordingResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1384
1463
|
})(ResumeContactRecordingResponse || (ResumeContactRecordingResponse = {}));
|
|
1464
|
+
export var SearchVocabulariesRequest;
|
|
1465
|
+
(function (SearchVocabulariesRequest) {
|
|
1466
|
+
SearchVocabulariesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1467
|
+
})(SearchVocabulariesRequest || (SearchVocabulariesRequest = {}));
|
|
1468
|
+
export var VocabularySummary;
|
|
1469
|
+
(function (VocabularySummary) {
|
|
1470
|
+
VocabularySummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1471
|
+
})(VocabularySummary || (VocabularySummary = {}));
|
|
1472
|
+
export var SearchVocabulariesResponse;
|
|
1473
|
+
(function (SearchVocabulariesResponse) {
|
|
1474
|
+
SearchVocabulariesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1475
|
+
})(SearchVocabulariesResponse || (SearchVocabulariesResponse = {}));
|
|
1385
1476
|
export var ChatMessage;
|
|
1386
1477
|
(function (ChatMessage) {
|
|
1387
1478
|
ChatMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1428,64 +1519,3 @@ export var StartContactStreamingResponse;
|
|
|
1428
1519
|
(function (StartContactStreamingResponse) {
|
|
1429
1520
|
StartContactStreamingResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1430
1521
|
})(StartContactStreamingResponse || (StartContactStreamingResponse = {}));
|
|
1431
|
-
export var AnswerMachineDetectionConfig;
|
|
1432
|
-
(function (AnswerMachineDetectionConfig) {
|
|
1433
|
-
AnswerMachineDetectionConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1434
|
-
})(AnswerMachineDetectionConfig || (AnswerMachineDetectionConfig = {}));
|
|
1435
|
-
export var TrafficType;
|
|
1436
|
-
(function (TrafficType) {
|
|
1437
|
-
TrafficType["CAMPAIGN"] = "CAMPAIGN";
|
|
1438
|
-
TrafficType["GENERAL"] = "GENERAL";
|
|
1439
|
-
})(TrafficType || (TrafficType = {}));
|
|
1440
|
-
export var StartOutboundVoiceContactRequest;
|
|
1441
|
-
(function (StartOutboundVoiceContactRequest) {
|
|
1442
|
-
StartOutboundVoiceContactRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1443
|
-
})(StartOutboundVoiceContactRequest || (StartOutboundVoiceContactRequest = {}));
|
|
1444
|
-
export var StartOutboundVoiceContactResponse;
|
|
1445
|
-
(function (StartOutboundVoiceContactResponse) {
|
|
1446
|
-
StartOutboundVoiceContactResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1447
|
-
})(StartOutboundVoiceContactResponse || (StartOutboundVoiceContactResponse = {}));
|
|
1448
|
-
export var Reference;
|
|
1449
|
-
(function (Reference) {
|
|
1450
|
-
Reference.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1451
|
-
})(Reference || (Reference = {}));
|
|
1452
|
-
export var StartTaskContactRequest;
|
|
1453
|
-
(function (StartTaskContactRequest) {
|
|
1454
|
-
StartTaskContactRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1455
|
-
})(StartTaskContactRequest || (StartTaskContactRequest = {}));
|
|
1456
|
-
export var StartTaskContactResponse;
|
|
1457
|
-
(function (StartTaskContactResponse) {
|
|
1458
|
-
StartTaskContactResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1459
|
-
})(StartTaskContactResponse || (StartTaskContactResponse = {}));
|
|
1460
|
-
export var StopContactRequest;
|
|
1461
|
-
(function (StopContactRequest) {
|
|
1462
|
-
StopContactRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1463
|
-
})(StopContactRequest || (StopContactRequest = {}));
|
|
1464
|
-
export var StopContactResponse;
|
|
1465
|
-
(function (StopContactResponse) {
|
|
1466
|
-
StopContactResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1467
|
-
})(StopContactResponse || (StopContactResponse = {}));
|
|
1468
|
-
export var StopContactRecordingRequest;
|
|
1469
|
-
(function (StopContactRecordingRequest) {
|
|
1470
|
-
StopContactRecordingRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1471
|
-
})(StopContactRecordingRequest || (StopContactRecordingRequest = {}));
|
|
1472
|
-
export var StopContactRecordingResponse;
|
|
1473
|
-
(function (StopContactRecordingResponse) {
|
|
1474
|
-
StopContactRecordingResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1475
|
-
})(StopContactRecordingResponse || (StopContactRecordingResponse = {}));
|
|
1476
|
-
export var StopContactStreamingRequest;
|
|
1477
|
-
(function (StopContactStreamingRequest) {
|
|
1478
|
-
StopContactStreamingRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1479
|
-
})(StopContactStreamingRequest || (StopContactStreamingRequest = {}));
|
|
1480
|
-
export var StopContactStreamingResponse;
|
|
1481
|
-
(function (StopContactStreamingResponse) {
|
|
1482
|
-
StopContactStreamingResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1483
|
-
})(StopContactStreamingResponse || (StopContactStreamingResponse = {}));
|
|
1484
|
-
export var SuspendContactRecordingRequest;
|
|
1485
|
-
(function (SuspendContactRecordingRequest) {
|
|
1486
|
-
SuspendContactRecordingRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1487
|
-
})(SuspendContactRecordingRequest || (SuspendContactRecordingRequest = {}));
|
|
1488
|
-
export var SuspendContactRecordingResponse;
|
|
1489
|
-
(function (SuspendContactRecordingResponse) {
|
|
1490
|
-
SuspendContactRecordingResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1491
|
-
})(SuspendContactRecordingResponse || (SuspendContactRecordingResponse = {}));
|
|
@@ -1,4 +1,65 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
+
export var AnswerMachineDetectionConfig;
|
|
3
|
+
(function (AnswerMachineDetectionConfig) {
|
|
4
|
+
AnswerMachineDetectionConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
|
+
})(AnswerMachineDetectionConfig || (AnswerMachineDetectionConfig = {}));
|
|
6
|
+
export var TrafficType;
|
|
7
|
+
(function (TrafficType) {
|
|
8
|
+
TrafficType["CAMPAIGN"] = "CAMPAIGN";
|
|
9
|
+
TrafficType["GENERAL"] = "GENERAL";
|
|
10
|
+
})(TrafficType || (TrafficType = {}));
|
|
11
|
+
export var StartOutboundVoiceContactRequest;
|
|
12
|
+
(function (StartOutboundVoiceContactRequest) {
|
|
13
|
+
StartOutboundVoiceContactRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
14
|
+
})(StartOutboundVoiceContactRequest || (StartOutboundVoiceContactRequest = {}));
|
|
15
|
+
export var StartOutboundVoiceContactResponse;
|
|
16
|
+
(function (StartOutboundVoiceContactResponse) {
|
|
17
|
+
StartOutboundVoiceContactResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
18
|
+
})(StartOutboundVoiceContactResponse || (StartOutboundVoiceContactResponse = {}));
|
|
19
|
+
export var Reference;
|
|
20
|
+
(function (Reference) {
|
|
21
|
+
Reference.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
22
|
+
})(Reference || (Reference = {}));
|
|
23
|
+
export var StartTaskContactRequest;
|
|
24
|
+
(function (StartTaskContactRequest) {
|
|
25
|
+
StartTaskContactRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
26
|
+
})(StartTaskContactRequest || (StartTaskContactRequest = {}));
|
|
27
|
+
export var StartTaskContactResponse;
|
|
28
|
+
(function (StartTaskContactResponse) {
|
|
29
|
+
StartTaskContactResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
30
|
+
})(StartTaskContactResponse || (StartTaskContactResponse = {}));
|
|
31
|
+
export var StopContactRequest;
|
|
32
|
+
(function (StopContactRequest) {
|
|
33
|
+
StopContactRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
34
|
+
})(StopContactRequest || (StopContactRequest = {}));
|
|
35
|
+
export var StopContactResponse;
|
|
36
|
+
(function (StopContactResponse) {
|
|
37
|
+
StopContactResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
38
|
+
})(StopContactResponse || (StopContactResponse = {}));
|
|
39
|
+
export var StopContactRecordingRequest;
|
|
40
|
+
(function (StopContactRecordingRequest) {
|
|
41
|
+
StopContactRecordingRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
42
|
+
})(StopContactRecordingRequest || (StopContactRecordingRequest = {}));
|
|
43
|
+
export var StopContactRecordingResponse;
|
|
44
|
+
(function (StopContactRecordingResponse) {
|
|
45
|
+
StopContactRecordingResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
46
|
+
})(StopContactRecordingResponse || (StopContactRecordingResponse = {}));
|
|
47
|
+
export var StopContactStreamingRequest;
|
|
48
|
+
(function (StopContactStreamingRequest) {
|
|
49
|
+
StopContactStreamingRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
50
|
+
})(StopContactStreamingRequest || (StopContactStreamingRequest = {}));
|
|
51
|
+
export var StopContactStreamingResponse;
|
|
52
|
+
(function (StopContactStreamingResponse) {
|
|
53
|
+
StopContactStreamingResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
54
|
+
})(StopContactStreamingResponse || (StopContactStreamingResponse = {}));
|
|
55
|
+
export var SuspendContactRecordingRequest;
|
|
56
|
+
(function (SuspendContactRecordingRequest) {
|
|
57
|
+
SuspendContactRecordingRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
58
|
+
})(SuspendContactRecordingRequest || (SuspendContactRecordingRequest = {}));
|
|
59
|
+
export var SuspendContactRecordingResponse;
|
|
60
|
+
(function (SuspendContactRecordingResponse) {
|
|
61
|
+
SuspendContactRecordingResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
62
|
+
})(SuspendContactRecordingResponse || (SuspendContactRecordingResponse = {}));
|
|
2
63
|
export var TagResourceRequest;
|
|
3
64
|
(function (TagResourceRequest) {
|
|
4
65
|
TagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListDefaultVocabulariesCommand, } from "../commands/ListDefaultVocabulariesCommand";
|
|
3
|
+
import { Connect } from "../Connect";
|
|
4
|
+
import { ConnectClient } from "../ConnectClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListDefaultVocabulariesCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listDefaultVocabularies.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListDefaultVocabularies(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListDefaultVocabularies_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof Connect)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof ConnectClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
token = page.NextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { SearchVocabulariesCommand, } from "../commands/SearchVocabulariesCommand";
|
|
3
|
+
import { Connect } from "../Connect";
|
|
4
|
+
import { ConnectClient } from "../ConnectClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new SearchVocabulariesCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.searchVocabularies.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateSearchVocabularies(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateSearchVocabularies_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof Connect)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof ConnectClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
token = page.NextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|
|
@@ -7,6 +7,7 @@ export * from "./ListBotsPaginator";
|
|
|
7
7
|
export * from "./ListContactFlowModulesPaginator";
|
|
8
8
|
export * from "./ListContactFlowsPaginator";
|
|
9
9
|
export * from "./ListContactReferencesPaginator";
|
|
10
|
+
export * from "./ListDefaultVocabulariesPaginator";
|
|
10
11
|
export * from "./ListHoursOfOperationsPaginator";
|
|
11
12
|
export * from "./ListInstanceAttributesPaginator";
|
|
12
13
|
export * from "./ListInstanceStorageConfigsPaginator";
|
|
@@ -27,3 +28,4 @@ export * from "./ListSecurityProfilesPaginator";
|
|
|
27
28
|
export * from "./ListUseCasesPaginator";
|
|
28
29
|
export * from "./ListUserHierarchyGroupsPaginator";
|
|
29
30
|
export * from "./ListUsersPaginator";
|
|
31
|
+
export * from "./SearchVocabulariesPaginator";
|