@aws-sdk/client-connect 3.348.0 → 3.352.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 +24 -0
- package/dist-cjs/Connect.js +6 -0
- package/dist-cjs/commands/SearchHoursOfOperationsCommand.js +46 -0
- package/dist-cjs/commands/SearchPromptsCommand.js +46 -0
- package/dist-cjs/commands/SearchQuickConnectsCommand.js +46 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/index.js +1 -0
- package/dist-cjs/models/models_1.js +4 -4
- package/dist-cjs/models/models_2.js +2 -0
- package/dist-cjs/pagination/SearchHoursOfOperationsPaginator.js +29 -0
- package/dist-cjs/pagination/SearchPromptsPaginator.js +29 -0
- package/dist-cjs/pagination/SearchQuickConnectsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +267 -6
- package/dist-es/Connect.js +6 -0
- package/dist-es/commands/SearchHoursOfOperationsCommand.js +42 -0
- package/dist-es/commands/SearchPromptsCommand.js +42 -0
- package/dist-es/commands/SearchQuickConnectsCommand.js +42 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_1.js +3 -3
- package/dist-es/models/models_2.js +1 -0
- package/dist-es/pagination/SearchHoursOfOperationsPaginator.js +25 -0
- package/dist-es/pagination/SearchPromptsPaginator.js +25 -0
- package/dist-es/pagination/SearchQuickConnectsPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +255 -0
- package/dist-types/Connect.d.ts +21 -0
- package/dist-types/ConnectClient.d.ts +5 -2
- package/dist-types/commands/DescribeEvaluationFormCommand.d.ts +1 -1
- package/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +161 -0
- package/dist-types/commands/SearchPromptsCommand.d.ts +147 -0
- package/dist-types/commands/SearchQueuesCommand.d.ts +2 -1
- package/dist-types/commands/SearchQuickConnectsCommand.d.ts +161 -0
- package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +2 -1
- package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +2 -1
- package/dist-types/commands/SearchUsersCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1 -1
- package/dist-types/models/models_1.d.ts +202 -163
- package/dist-types/models/models_2.d.ts +216 -0
- package/dist-types/pagination/SearchHoursOfOperationsPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchPromptsPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchQuickConnectsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/Connect.d.ts +51 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DescribeEvaluationFormCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchHoursOfOperationsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/SearchPromptsCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/SearchQuickConnectsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/SearchRoutingProfilesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchSecurityProfilesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +47 -36
- package/dist-types/ts3.4/models/models_2.d.ts +69 -0
- package/dist-types/ts3.4/pagination/SearchHoursOfOperationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchPromptsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchQuickConnectsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +6 -6
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.se_DeleteVocabularyCommand = exports.se_DeleteUserHierarchyGroupCommand = exports.se_DeleteUserCommand = exports.se_DeleteUseCaseCommand = exports.se_DeleteTrafficDistributionGroupCommand = exports.se_DeleteTaskTemplateCommand = exports.se_DeleteSecurityProfileCommand = exports.se_DeleteRuleCommand = exports.se_DeleteQuickConnectCommand = exports.se_DeletePromptCommand = exports.se_DeleteIntegrationAssociationCommand = exports.se_DeleteInstanceCommand = exports.se_DeleteHoursOfOperationCommand = exports.se_DeleteEvaluationFormCommand = exports.se_DeleteContactFlowModuleCommand = exports.se_DeleteContactFlowCommand = exports.se_DeleteContactEvaluationCommand = exports.se_DeactivateEvaluationFormCommand = exports.se_CreateVocabularyCommand = exports.se_CreateUserHierarchyGroupCommand = exports.se_CreateUserCommand = exports.se_CreateUseCaseCommand = exports.se_CreateTrafficDistributionGroupCommand = exports.se_CreateTaskTemplateCommand = exports.se_CreateSecurityProfileCommand = exports.se_CreateRuleCommand = exports.se_CreateRoutingProfileCommand = exports.se_CreateQuickConnectCommand = exports.se_CreateQueueCommand = exports.se_CreatePromptCommand = exports.se_CreateParticipantCommand = exports.se_CreateIntegrationAssociationCommand = exports.se_CreateInstanceCommand = exports.se_CreateHoursOfOperationCommand = exports.se_CreateEvaluationFormCommand = exports.se_CreateContactFlowModuleCommand = exports.se_CreateContactFlowCommand = exports.se_CreateAgentStatusCommand = exports.se_ClaimPhoneNumberCommand = exports.se_AssociateSecurityKeyCommand = exports.se_AssociateRoutingProfileQueuesCommand = exports.se_AssociateQueueQuickConnectsCommand = exports.se_AssociatePhoneNumberContactFlowCommand = exports.se_AssociateLexBotCommand = exports.se_AssociateLambdaFunctionCommand = exports.se_AssociateInstanceStorageConfigCommand = exports.se_AssociateDefaultVocabularyCommand = exports.se_AssociateBotCommand = exports.se_AssociateApprovedOriginCommand = exports.se_ActivateEvaluationFormCommand = void 0;
|
|
4
4
|
exports.se_ListEvaluationFormsCommand = exports.se_ListDefaultVocabulariesCommand = exports.se_ListContactReferencesCommand = exports.se_ListContactFlowsCommand = exports.se_ListContactFlowModulesCommand = exports.se_ListContactEvaluationsCommand = exports.se_ListBotsCommand = exports.se_ListApprovedOriginsCommand = exports.se_ListAgentStatusesCommand = exports.se_GetTrafficDistributionCommand = exports.se_GetTaskTemplateCommand = exports.se_GetPromptFileCommand = exports.se_GetMetricDataV2Command = exports.se_GetMetricDataCommand = exports.se_GetFederationTokenCommand = exports.se_GetCurrentUserDataCommand = exports.se_GetCurrentMetricDataCommand = exports.se_GetContactAttributesCommand = exports.se_DismissUserContactCommand = exports.se_DisassociateSecurityKeyCommand = exports.se_DisassociateRoutingProfileQueuesCommand = exports.se_DisassociateQueueQuickConnectsCommand = exports.se_DisassociatePhoneNumberContactFlowCommand = exports.se_DisassociateLexBotCommand = exports.se_DisassociateLambdaFunctionCommand = exports.se_DisassociateInstanceStorageConfigCommand = exports.se_DisassociateBotCommand = exports.se_DisassociateApprovedOriginCommand = exports.se_DescribeVocabularyCommand = exports.se_DescribeUserHierarchyStructureCommand = exports.se_DescribeUserHierarchyGroupCommand = exports.se_DescribeUserCommand = exports.se_DescribeTrafficDistributionGroupCommand = exports.se_DescribeSecurityProfileCommand = exports.se_DescribeRuleCommand = exports.se_DescribeRoutingProfileCommand = exports.se_DescribeQuickConnectCommand = exports.se_DescribeQueueCommand = exports.se_DescribePromptCommand = exports.se_DescribePhoneNumberCommand = exports.se_DescribeInstanceStorageConfigCommand = exports.se_DescribeInstanceAttributeCommand = exports.se_DescribeInstanceCommand = exports.se_DescribeHoursOfOperationCommand = exports.se_DescribeEvaluationFormCommand = exports.se_DescribeContactFlowModuleCommand = exports.se_DescribeContactFlowCommand = exports.se_DescribeContactEvaluationCommand = exports.se_DescribeContactCommand = exports.se_DescribeAgentStatusCommand = void 0;
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.de_UpdateUserSecurityProfilesCommand = exports.de_UpdateUserRoutingProfileCommand = exports.de_UpdateUserPhoneConfigCommand = exports.de_UpdateUserIdentityInfoCommand = exports.de_UpdateUserHierarchyStructureCommand = exports.de_UpdateUserHierarchyGroupNameCommand = exports.de_UpdateUserHierarchyCommand = exports.de_UpdateTrafficDistributionCommand = exports.de_UpdateTaskTemplateCommand = exports.de_UpdateSecurityProfileCommand = exports.de_UpdateRuleCommand = exports.de_UpdateRoutingProfileQueuesCommand = exports.de_UpdateRoutingProfileNameCommand = exports.de_UpdateRoutingProfileDefaultOutboundQueueCommand = exports.de_UpdateRoutingProfileConcurrencyCommand = exports.de_UpdateQuickConnectNameCommand = exports.de_UpdateQuickConnectConfigCommand = exports.de_UpdateQueueStatusCommand = exports.de_UpdateQueueOutboundCallerConfigCommand = exports.de_UpdateQueueNameCommand = exports.de_UpdateQueueMaxContactsCommand = exports.de_UpdateQueueHoursOfOperationCommand = exports.de_UpdatePromptCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateParticipantRoleConfigCommand = exports.de_UpdateInstanceStorageConfigCommand = exports.de_UpdateInstanceAttributeCommand = exports.de_UpdateHoursOfOperationCommand = exports.de_UpdateEvaluationFormCommand = exports.de_UpdateContactScheduleCommand = void 0;
|
|
5
|
+
exports.se_SubmitContactEvaluationCommand = exports.se_StopContactStreamingCommand = exports.se_StopContactRecordingCommand = exports.se_StopContactCommand = exports.se_StartTaskContactCommand = exports.se_StartOutboundVoiceContactCommand = exports.se_StartContactStreamingCommand = exports.se_StartContactRecordingCommand = exports.se_StartContactEvaluationCommand = exports.se_StartChatContactCommand = exports.se_SearchVocabulariesCommand = exports.se_SearchUsersCommand = exports.se_SearchSecurityProfilesCommand = exports.se_SearchRoutingProfilesCommand = exports.se_SearchQuickConnectsCommand = exports.se_SearchQueuesCommand = exports.se_SearchPromptsCommand = exports.se_SearchHoursOfOperationsCommand = exports.se_SearchAvailablePhoneNumbersCommand = exports.se_ResumeContactRecordingCommand = exports.se_ReplicateInstanceCommand = exports.se_ReleasePhoneNumberCommand = exports.se_PutUserStatusCommand = exports.se_MonitorContactCommand = exports.se_ListUsersCommand = exports.se_ListUserHierarchyGroupsCommand = exports.se_ListUseCasesCommand = exports.se_ListTrafficDistributionGroupsCommand = exports.se_ListTaskTemplatesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSecurityProfilesCommand = exports.se_ListSecurityProfilePermissionsCommand = exports.se_ListSecurityKeysCommand = exports.se_ListRulesCommand = exports.se_ListRoutingProfilesCommand = exports.se_ListRoutingProfileQueuesCommand = exports.se_ListQuickConnectsCommand = exports.se_ListQueuesCommand = exports.se_ListQueueQuickConnectsCommand = exports.se_ListPromptsCommand = exports.se_ListPhoneNumbersV2Command = exports.se_ListPhoneNumbersCommand = exports.se_ListLexBotsCommand = exports.se_ListLambdaFunctionsCommand = exports.se_ListIntegrationAssociationsCommand = exports.se_ListInstanceStorageConfigsCommand = exports.se_ListInstancesCommand = exports.se_ListInstanceAttributesCommand = exports.se_ListHoursOfOperationsCommand = exports.se_ListEvaluationFormVersionsCommand = void 0;
|
|
6
|
+
exports.de_AssociateLexBotCommand = exports.de_AssociateLambdaFunctionCommand = exports.de_AssociateInstanceStorageConfigCommand = exports.de_AssociateDefaultVocabularyCommand = exports.de_AssociateBotCommand = exports.de_AssociateApprovedOriginCommand = exports.de_ActivateEvaluationFormCommand = exports.se_UpdateUserSecurityProfilesCommand = exports.se_UpdateUserRoutingProfileCommand = exports.se_UpdateUserPhoneConfigCommand = exports.se_UpdateUserIdentityInfoCommand = exports.se_UpdateUserHierarchyStructureCommand = exports.se_UpdateUserHierarchyGroupNameCommand = exports.se_UpdateUserHierarchyCommand = exports.se_UpdateTrafficDistributionCommand = exports.se_UpdateTaskTemplateCommand = exports.se_UpdateSecurityProfileCommand = exports.se_UpdateRuleCommand = exports.se_UpdateRoutingProfileQueuesCommand = exports.se_UpdateRoutingProfileNameCommand = exports.se_UpdateRoutingProfileDefaultOutboundQueueCommand = exports.se_UpdateRoutingProfileConcurrencyCommand = exports.se_UpdateQuickConnectNameCommand = exports.se_UpdateQuickConnectConfigCommand = exports.se_UpdateQueueStatusCommand = exports.se_UpdateQueueOutboundCallerConfigCommand = exports.se_UpdateQueueNameCommand = exports.se_UpdateQueueMaxContactsCommand = exports.se_UpdateQueueHoursOfOperationCommand = exports.se_UpdatePromptCommand = exports.se_UpdatePhoneNumberCommand = exports.se_UpdateParticipantRoleConfigCommand = exports.se_UpdateInstanceStorageConfigCommand = exports.se_UpdateInstanceAttributeCommand = exports.se_UpdateHoursOfOperationCommand = exports.se_UpdateEvaluationFormCommand = exports.se_UpdateContactScheduleCommand = exports.se_UpdateContactFlowNameCommand = exports.se_UpdateContactFlowModuleMetadataCommand = exports.se_UpdateContactFlowModuleContentCommand = exports.se_UpdateContactFlowMetadataCommand = exports.se_UpdateContactFlowContentCommand = exports.se_UpdateContactEvaluationCommand = exports.se_UpdateContactAttributesCommand = exports.se_UpdateContactCommand = exports.se_UpdateAgentStatusCommand = exports.se_UntagResourceCommand = exports.se_TransferContactCommand = exports.se_TagResourceCommand = exports.se_SuspendContactRecordingCommand = void 0;
|
|
7
|
+
exports.de_DescribeHoursOfOperationCommand = exports.de_DescribeEvaluationFormCommand = exports.de_DescribeContactFlowModuleCommand = exports.de_DescribeContactFlowCommand = exports.de_DescribeContactEvaluationCommand = exports.de_DescribeContactCommand = exports.de_DescribeAgentStatusCommand = exports.de_DeleteVocabularyCommand = exports.de_DeleteUserHierarchyGroupCommand = exports.de_DeleteUserCommand = exports.de_DeleteUseCaseCommand = exports.de_DeleteTrafficDistributionGroupCommand = exports.de_DeleteTaskTemplateCommand = exports.de_DeleteSecurityProfileCommand = exports.de_DeleteRuleCommand = exports.de_DeleteQuickConnectCommand = exports.de_DeletePromptCommand = exports.de_DeleteIntegrationAssociationCommand = exports.de_DeleteInstanceCommand = exports.de_DeleteHoursOfOperationCommand = exports.de_DeleteEvaluationFormCommand = exports.de_DeleteContactFlowModuleCommand = exports.de_DeleteContactFlowCommand = exports.de_DeleteContactEvaluationCommand = exports.de_DeactivateEvaluationFormCommand = exports.de_CreateVocabularyCommand = exports.de_CreateUserHierarchyGroupCommand = exports.de_CreateUserCommand = exports.de_CreateUseCaseCommand = exports.de_CreateTrafficDistributionGroupCommand = exports.de_CreateTaskTemplateCommand = exports.de_CreateSecurityProfileCommand = exports.de_CreateRuleCommand = exports.de_CreateRoutingProfileCommand = exports.de_CreateQuickConnectCommand = exports.de_CreateQueueCommand = exports.de_CreatePromptCommand = exports.de_CreateParticipantCommand = exports.de_CreateIntegrationAssociationCommand = exports.de_CreateInstanceCommand = exports.de_CreateHoursOfOperationCommand = exports.de_CreateEvaluationFormCommand = exports.de_CreateContactFlowModuleCommand = exports.de_CreateContactFlowCommand = exports.de_CreateAgentStatusCommand = exports.de_ClaimPhoneNumberCommand = exports.de_AssociateSecurityKeyCommand = exports.de_AssociateRoutingProfileQueuesCommand = exports.de_AssociateQueueQuickConnectsCommand = exports.de_AssociatePhoneNumberContactFlowCommand = void 0;
|
|
8
|
+
exports.de_ListLambdaFunctionsCommand = exports.de_ListIntegrationAssociationsCommand = exports.de_ListInstanceStorageConfigsCommand = exports.de_ListInstancesCommand = exports.de_ListInstanceAttributesCommand = exports.de_ListHoursOfOperationsCommand = exports.de_ListEvaluationFormVersionsCommand = exports.de_ListEvaluationFormsCommand = exports.de_ListDefaultVocabulariesCommand = exports.de_ListContactReferencesCommand = exports.de_ListContactFlowsCommand = exports.de_ListContactFlowModulesCommand = exports.de_ListContactEvaluationsCommand = exports.de_ListBotsCommand = exports.de_ListApprovedOriginsCommand = exports.de_ListAgentStatusesCommand = exports.de_GetTrafficDistributionCommand = exports.de_GetTaskTemplateCommand = exports.de_GetPromptFileCommand = exports.de_GetMetricDataV2Command = exports.de_GetMetricDataCommand = exports.de_GetFederationTokenCommand = exports.de_GetCurrentUserDataCommand = exports.de_GetCurrentMetricDataCommand = exports.de_GetContactAttributesCommand = exports.de_DismissUserContactCommand = exports.de_DisassociateSecurityKeyCommand = exports.de_DisassociateRoutingProfileQueuesCommand = exports.de_DisassociateQueueQuickConnectsCommand = exports.de_DisassociatePhoneNumberContactFlowCommand = exports.de_DisassociateLexBotCommand = exports.de_DisassociateLambdaFunctionCommand = exports.de_DisassociateInstanceStorageConfigCommand = exports.de_DisassociateBotCommand = exports.de_DisassociateApprovedOriginCommand = exports.de_DescribeVocabularyCommand = exports.de_DescribeUserHierarchyStructureCommand = exports.de_DescribeUserHierarchyGroupCommand = exports.de_DescribeUserCommand = exports.de_DescribeTrafficDistributionGroupCommand = exports.de_DescribeSecurityProfileCommand = exports.de_DescribeRuleCommand = exports.de_DescribeRoutingProfileCommand = exports.de_DescribeQuickConnectCommand = exports.de_DescribeQueueCommand = exports.de_DescribePromptCommand = exports.de_DescribePhoneNumberCommand = exports.de_DescribeInstanceStorageConfigCommand = exports.de_DescribeInstanceAttributeCommand = exports.de_DescribeInstanceCommand = void 0;
|
|
9
|
+
exports.de_UpdateContactAttributesCommand = exports.de_UpdateContactCommand = exports.de_UpdateAgentStatusCommand = exports.de_UntagResourceCommand = exports.de_TransferContactCommand = exports.de_TagResourceCommand = exports.de_SuspendContactRecordingCommand = exports.de_SubmitContactEvaluationCommand = exports.de_StopContactStreamingCommand = exports.de_StopContactRecordingCommand = exports.de_StopContactCommand = exports.de_StartTaskContactCommand = exports.de_StartOutboundVoiceContactCommand = exports.de_StartContactStreamingCommand = exports.de_StartContactRecordingCommand = exports.de_StartContactEvaluationCommand = exports.de_StartChatContactCommand = exports.de_SearchVocabulariesCommand = exports.de_SearchUsersCommand = exports.de_SearchSecurityProfilesCommand = exports.de_SearchRoutingProfilesCommand = exports.de_SearchQuickConnectsCommand = exports.de_SearchQueuesCommand = exports.de_SearchPromptsCommand = exports.de_SearchHoursOfOperationsCommand = exports.de_SearchAvailablePhoneNumbersCommand = exports.de_ResumeContactRecordingCommand = exports.de_ReplicateInstanceCommand = exports.de_ReleasePhoneNumberCommand = exports.de_PutUserStatusCommand = exports.de_MonitorContactCommand = exports.de_ListUsersCommand = exports.de_ListUserHierarchyGroupsCommand = exports.de_ListUseCasesCommand = exports.de_ListTrafficDistributionGroupsCommand = exports.de_ListTaskTemplatesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSecurityProfilesCommand = exports.de_ListSecurityProfilePermissionsCommand = exports.de_ListSecurityKeysCommand = exports.de_ListRulesCommand = exports.de_ListRoutingProfilesCommand = exports.de_ListRoutingProfileQueuesCommand = exports.de_ListQuickConnectsCommand = exports.de_ListQueuesCommand = exports.de_ListQueueQuickConnectsCommand = exports.de_ListPromptsCommand = exports.de_ListPhoneNumbersV2Command = exports.de_ListPhoneNumbersCommand = exports.de_ListLexBotsCommand = void 0;
|
|
10
|
+
exports.de_UpdateUserSecurityProfilesCommand = exports.de_UpdateUserRoutingProfileCommand = exports.de_UpdateUserPhoneConfigCommand = exports.de_UpdateUserIdentityInfoCommand = exports.de_UpdateUserHierarchyStructureCommand = exports.de_UpdateUserHierarchyGroupNameCommand = exports.de_UpdateUserHierarchyCommand = exports.de_UpdateTrafficDistributionCommand = exports.de_UpdateTaskTemplateCommand = exports.de_UpdateSecurityProfileCommand = exports.de_UpdateRuleCommand = exports.de_UpdateRoutingProfileQueuesCommand = exports.de_UpdateRoutingProfileNameCommand = exports.de_UpdateRoutingProfileDefaultOutboundQueueCommand = exports.de_UpdateRoutingProfileConcurrencyCommand = exports.de_UpdateQuickConnectNameCommand = exports.de_UpdateQuickConnectConfigCommand = exports.de_UpdateQueueStatusCommand = exports.de_UpdateQueueOutboundCallerConfigCommand = exports.de_UpdateQueueNameCommand = exports.de_UpdateQueueMaxContactsCommand = exports.de_UpdateQueueHoursOfOperationCommand = exports.de_UpdatePromptCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateParticipantRoleConfigCommand = exports.de_UpdateInstanceStorageConfigCommand = exports.de_UpdateInstanceAttributeCommand = exports.de_UpdateHoursOfOperationCommand = exports.de_UpdateEvaluationFormCommand = exports.de_UpdateContactScheduleCommand = exports.de_UpdateContactFlowNameCommand = exports.de_UpdateContactFlowModuleMetadataCommand = exports.de_UpdateContactFlowModuleContentCommand = exports.de_UpdateContactFlowMetadataCommand = exports.de_UpdateContactFlowContentCommand = exports.de_UpdateContactEvaluationCommand = void 0;
|
|
11
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
12
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
13
13
|
const uuid_1 = require("uuid");
|
|
@@ -2960,6 +2960,56 @@ const se_SearchAvailablePhoneNumbersCommand = async (input, context) => {
|
|
|
2960
2960
|
});
|
|
2961
2961
|
};
|
|
2962
2962
|
exports.se_SearchAvailablePhoneNumbersCommand = se_SearchAvailablePhoneNumbersCommand;
|
|
2963
|
+
const se_SearchHoursOfOperationsCommand = async (input, context) => {
|
|
2964
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2965
|
+
const headers = {
|
|
2966
|
+
"content-type": "application/json",
|
|
2967
|
+
};
|
|
2968
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/search-hours-of-operations";
|
|
2969
|
+
let body;
|
|
2970
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
2971
|
+
InstanceId: [],
|
|
2972
|
+
MaxResults: [],
|
|
2973
|
+
NextToken: [],
|
|
2974
|
+
SearchCriteria: (_) => se_HoursOfOperationSearchCriteria(_, context),
|
|
2975
|
+
SearchFilter: (_) => (0, smithy_client_1._json)(_),
|
|
2976
|
+
}));
|
|
2977
|
+
return new protocol_http_1.HttpRequest({
|
|
2978
|
+
protocol,
|
|
2979
|
+
hostname,
|
|
2980
|
+
port,
|
|
2981
|
+
method: "POST",
|
|
2982
|
+
headers,
|
|
2983
|
+
path: resolvedPath,
|
|
2984
|
+
body,
|
|
2985
|
+
});
|
|
2986
|
+
};
|
|
2987
|
+
exports.se_SearchHoursOfOperationsCommand = se_SearchHoursOfOperationsCommand;
|
|
2988
|
+
const se_SearchPromptsCommand = async (input, context) => {
|
|
2989
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2990
|
+
const headers = {
|
|
2991
|
+
"content-type": "application/json",
|
|
2992
|
+
};
|
|
2993
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/search-prompts";
|
|
2994
|
+
let body;
|
|
2995
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
2996
|
+
InstanceId: [],
|
|
2997
|
+
MaxResults: [],
|
|
2998
|
+
NextToken: [],
|
|
2999
|
+
SearchCriteria: (_) => se_PromptSearchCriteria(_, context),
|
|
3000
|
+
SearchFilter: (_) => (0, smithy_client_1._json)(_),
|
|
3001
|
+
}));
|
|
3002
|
+
return new protocol_http_1.HttpRequest({
|
|
3003
|
+
protocol,
|
|
3004
|
+
hostname,
|
|
3005
|
+
port,
|
|
3006
|
+
method: "POST",
|
|
3007
|
+
headers,
|
|
3008
|
+
path: resolvedPath,
|
|
3009
|
+
body,
|
|
3010
|
+
});
|
|
3011
|
+
};
|
|
3012
|
+
exports.se_SearchPromptsCommand = se_SearchPromptsCommand;
|
|
2963
3013
|
const se_SearchQueuesCommand = async (input, context) => {
|
|
2964
3014
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2965
3015
|
const headers = {
|
|
@@ -2985,6 +3035,31 @@ const se_SearchQueuesCommand = async (input, context) => {
|
|
|
2985
3035
|
});
|
|
2986
3036
|
};
|
|
2987
3037
|
exports.se_SearchQueuesCommand = se_SearchQueuesCommand;
|
|
3038
|
+
const se_SearchQuickConnectsCommand = async (input, context) => {
|
|
3039
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
3040
|
+
const headers = {
|
|
3041
|
+
"content-type": "application/json",
|
|
3042
|
+
};
|
|
3043
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/search-quick-connects";
|
|
3044
|
+
let body;
|
|
3045
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
3046
|
+
InstanceId: [],
|
|
3047
|
+
MaxResults: [],
|
|
3048
|
+
NextToken: [],
|
|
3049
|
+
SearchCriteria: (_) => se_QuickConnectSearchCriteria(_, context),
|
|
3050
|
+
SearchFilter: (_) => (0, smithy_client_1._json)(_),
|
|
3051
|
+
}));
|
|
3052
|
+
return new protocol_http_1.HttpRequest({
|
|
3053
|
+
protocol,
|
|
3054
|
+
hostname,
|
|
3055
|
+
port,
|
|
3056
|
+
method: "POST",
|
|
3057
|
+
headers,
|
|
3058
|
+
path: resolvedPath,
|
|
3059
|
+
body,
|
|
3060
|
+
});
|
|
3061
|
+
};
|
|
3062
|
+
exports.se_SearchQuickConnectsCommand = se_SearchQuickConnectsCommand;
|
|
2988
3063
|
const se_SearchRoutingProfilesCommand = async (input, context) => {
|
|
2989
3064
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2990
3065
|
const headers = {
|
|
@@ -10539,6 +10614,102 @@ const de_SearchAvailablePhoneNumbersCommandError = async (output, context) => {
|
|
|
10539
10614
|
});
|
|
10540
10615
|
}
|
|
10541
10616
|
};
|
|
10617
|
+
const de_SearchHoursOfOperationsCommand = async (output, context) => {
|
|
10618
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10619
|
+
return de_SearchHoursOfOperationsCommandError(output, context);
|
|
10620
|
+
}
|
|
10621
|
+
const contents = (0, smithy_client_1.map)({
|
|
10622
|
+
$metadata: deserializeMetadata(output),
|
|
10623
|
+
});
|
|
10624
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
10625
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
10626
|
+
ApproximateTotalCount: smithy_client_1.expectLong,
|
|
10627
|
+
HoursOfOperations: smithy_client_1._json,
|
|
10628
|
+
NextToken: smithy_client_1.expectString,
|
|
10629
|
+
});
|
|
10630
|
+
Object.assign(contents, doc);
|
|
10631
|
+
return contents;
|
|
10632
|
+
};
|
|
10633
|
+
exports.de_SearchHoursOfOperationsCommand = de_SearchHoursOfOperationsCommand;
|
|
10634
|
+
const de_SearchHoursOfOperationsCommandError = async (output, context) => {
|
|
10635
|
+
const parsedOutput = {
|
|
10636
|
+
...output,
|
|
10637
|
+
body: await parseErrorBody(output.body, context),
|
|
10638
|
+
};
|
|
10639
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10640
|
+
switch (errorCode) {
|
|
10641
|
+
case "InternalServiceException":
|
|
10642
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
10643
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
10644
|
+
case "InvalidParameterException":
|
|
10645
|
+
case "com.amazonaws.connect#InvalidParameterException":
|
|
10646
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
10647
|
+
case "InvalidRequestException":
|
|
10648
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
10649
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
10650
|
+
case "ResourceNotFoundException":
|
|
10651
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
10652
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
10653
|
+
case "ThrottlingException":
|
|
10654
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
10655
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
10656
|
+
default:
|
|
10657
|
+
const parsedBody = parsedOutput.body;
|
|
10658
|
+
return throwDefaultError({
|
|
10659
|
+
output,
|
|
10660
|
+
parsedBody,
|
|
10661
|
+
errorCode,
|
|
10662
|
+
});
|
|
10663
|
+
}
|
|
10664
|
+
};
|
|
10665
|
+
const de_SearchPromptsCommand = async (output, context) => {
|
|
10666
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10667
|
+
return de_SearchPromptsCommandError(output, context);
|
|
10668
|
+
}
|
|
10669
|
+
const contents = (0, smithy_client_1.map)({
|
|
10670
|
+
$metadata: deserializeMetadata(output),
|
|
10671
|
+
});
|
|
10672
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
10673
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
10674
|
+
ApproximateTotalCount: smithy_client_1.expectLong,
|
|
10675
|
+
NextToken: smithy_client_1.expectString,
|
|
10676
|
+
Prompts: smithy_client_1._json,
|
|
10677
|
+
});
|
|
10678
|
+
Object.assign(contents, doc);
|
|
10679
|
+
return contents;
|
|
10680
|
+
};
|
|
10681
|
+
exports.de_SearchPromptsCommand = de_SearchPromptsCommand;
|
|
10682
|
+
const de_SearchPromptsCommandError = async (output, context) => {
|
|
10683
|
+
const parsedOutput = {
|
|
10684
|
+
...output,
|
|
10685
|
+
body: await parseErrorBody(output.body, context),
|
|
10686
|
+
};
|
|
10687
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10688
|
+
switch (errorCode) {
|
|
10689
|
+
case "InternalServiceException":
|
|
10690
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
10691
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
10692
|
+
case "InvalidParameterException":
|
|
10693
|
+
case "com.amazonaws.connect#InvalidParameterException":
|
|
10694
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
10695
|
+
case "InvalidRequestException":
|
|
10696
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
10697
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
10698
|
+
case "ResourceNotFoundException":
|
|
10699
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
10700
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
10701
|
+
case "ThrottlingException":
|
|
10702
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
10703
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
10704
|
+
default:
|
|
10705
|
+
const parsedBody = parsedOutput.body;
|
|
10706
|
+
return throwDefaultError({
|
|
10707
|
+
output,
|
|
10708
|
+
parsedBody,
|
|
10709
|
+
errorCode,
|
|
10710
|
+
});
|
|
10711
|
+
}
|
|
10712
|
+
};
|
|
10542
10713
|
const de_SearchQueuesCommand = async (output, context) => {
|
|
10543
10714
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10544
10715
|
return de_SearchQueuesCommandError(output, context);
|
|
@@ -10587,6 +10758,54 @@ const de_SearchQueuesCommandError = async (output, context) => {
|
|
|
10587
10758
|
});
|
|
10588
10759
|
}
|
|
10589
10760
|
};
|
|
10761
|
+
const de_SearchQuickConnectsCommand = async (output, context) => {
|
|
10762
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10763
|
+
return de_SearchQuickConnectsCommandError(output, context);
|
|
10764
|
+
}
|
|
10765
|
+
const contents = (0, smithy_client_1.map)({
|
|
10766
|
+
$metadata: deserializeMetadata(output),
|
|
10767
|
+
});
|
|
10768
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
10769
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
10770
|
+
ApproximateTotalCount: smithy_client_1.expectLong,
|
|
10771
|
+
NextToken: smithy_client_1.expectString,
|
|
10772
|
+
QuickConnects: smithy_client_1._json,
|
|
10773
|
+
});
|
|
10774
|
+
Object.assign(contents, doc);
|
|
10775
|
+
return contents;
|
|
10776
|
+
};
|
|
10777
|
+
exports.de_SearchQuickConnectsCommand = de_SearchQuickConnectsCommand;
|
|
10778
|
+
const de_SearchQuickConnectsCommandError = async (output, context) => {
|
|
10779
|
+
const parsedOutput = {
|
|
10780
|
+
...output,
|
|
10781
|
+
body: await parseErrorBody(output.body, context),
|
|
10782
|
+
};
|
|
10783
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10784
|
+
switch (errorCode) {
|
|
10785
|
+
case "InternalServiceException":
|
|
10786
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
10787
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
10788
|
+
case "InvalidParameterException":
|
|
10789
|
+
case "com.amazonaws.connect#InvalidParameterException":
|
|
10790
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
10791
|
+
case "InvalidRequestException":
|
|
10792
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
10793
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
10794
|
+
case "ResourceNotFoundException":
|
|
10795
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
10796
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
10797
|
+
case "ThrottlingException":
|
|
10798
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
10799
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
10800
|
+
default:
|
|
10801
|
+
const parsedBody = parsedOutput.body;
|
|
10802
|
+
return throwDefaultError({
|
|
10803
|
+
output,
|
|
10804
|
+
parsedBody,
|
|
10805
|
+
errorCode,
|
|
10806
|
+
});
|
|
10807
|
+
}
|
|
10808
|
+
};
|
|
10590
10809
|
const de_SearchRoutingProfilesCommand = async (output, context) => {
|
|
10591
10810
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10592
10811
|
return de_SearchRoutingProfilesCommandError(output, context);
|
|
@@ -13479,6 +13698,20 @@ const se_HistoricalMetrics = (input, context) => {
|
|
|
13479
13698
|
return se_HistoricalMetric(entry, context);
|
|
13480
13699
|
});
|
|
13481
13700
|
};
|
|
13701
|
+
const se_HoursOfOperationSearchConditionList = (input, context) => {
|
|
13702
|
+
return input
|
|
13703
|
+
.filter((e) => e != null)
|
|
13704
|
+
.map((entry) => {
|
|
13705
|
+
return se_HoursOfOperationSearchCriteria(entry, context);
|
|
13706
|
+
});
|
|
13707
|
+
};
|
|
13708
|
+
const se_HoursOfOperationSearchCriteria = (input, context) => {
|
|
13709
|
+
return (0, smithy_client_1.take)(input, {
|
|
13710
|
+
AndConditions: (_) => se_HoursOfOperationSearchConditionList(_, context),
|
|
13711
|
+
OrConditions: (_) => se_HoursOfOperationSearchConditionList(_, context),
|
|
13712
|
+
StringCondition: smithy_client_1._json,
|
|
13713
|
+
});
|
|
13714
|
+
};
|
|
13482
13715
|
const se_MetricsV2 = (input, context) => {
|
|
13483
13716
|
return input
|
|
13484
13717
|
.filter((e) => e != null)
|
|
@@ -13493,6 +13726,20 @@ const se_MetricV2 = (input, context) => {
|
|
|
13493
13726
|
Threshold: (_) => se_ThresholdCollections(_, context),
|
|
13494
13727
|
});
|
|
13495
13728
|
};
|
|
13729
|
+
const se_PromptSearchConditionList = (input, context) => {
|
|
13730
|
+
return input
|
|
13731
|
+
.filter((e) => e != null)
|
|
13732
|
+
.map((entry) => {
|
|
13733
|
+
return se_PromptSearchCriteria(entry, context);
|
|
13734
|
+
});
|
|
13735
|
+
};
|
|
13736
|
+
const se_PromptSearchCriteria = (input, context) => {
|
|
13737
|
+
return (0, smithy_client_1.take)(input, {
|
|
13738
|
+
AndConditions: (_) => se_PromptSearchConditionList(_, context),
|
|
13739
|
+
OrConditions: (_) => se_PromptSearchConditionList(_, context),
|
|
13740
|
+
StringCondition: smithy_client_1._json,
|
|
13741
|
+
});
|
|
13742
|
+
};
|
|
13496
13743
|
const se_QueueSearchConditionList = (input, context) => {
|
|
13497
13744
|
return input
|
|
13498
13745
|
.filter((e) => e != null)
|
|
@@ -13508,6 +13755,20 @@ const se_QueueSearchCriteria = (input, context) => {
|
|
|
13508
13755
|
StringCondition: smithy_client_1._json,
|
|
13509
13756
|
});
|
|
13510
13757
|
};
|
|
13758
|
+
const se_QuickConnectSearchConditionList = (input, context) => {
|
|
13759
|
+
return input
|
|
13760
|
+
.filter((e) => e != null)
|
|
13761
|
+
.map((entry) => {
|
|
13762
|
+
return se_QuickConnectSearchCriteria(entry, context);
|
|
13763
|
+
});
|
|
13764
|
+
};
|
|
13765
|
+
const se_QuickConnectSearchCriteria = (input, context) => {
|
|
13766
|
+
return (0, smithy_client_1.take)(input, {
|
|
13767
|
+
AndConditions: (_) => se_QuickConnectSearchConditionList(_, context),
|
|
13768
|
+
OrConditions: (_) => se_QuickConnectSearchConditionList(_, context),
|
|
13769
|
+
StringCondition: smithy_client_1._json,
|
|
13770
|
+
});
|
|
13771
|
+
};
|
|
13511
13772
|
const se_RoutingProfileSearchConditionList = (input, context) => {
|
|
13512
13773
|
return input
|
|
13513
13774
|
.filter((e) => e != null)
|
package/dist-es/Connect.js
CHANGED
|
@@ -131,7 +131,10 @@ import { ReleasePhoneNumberCommand, } from "./commands/ReleasePhoneNumberCommand
|
|
|
131
131
|
import { ReplicateInstanceCommand, } from "./commands/ReplicateInstanceCommand";
|
|
132
132
|
import { ResumeContactRecordingCommand, } from "./commands/ResumeContactRecordingCommand";
|
|
133
133
|
import { SearchAvailablePhoneNumbersCommand, } from "./commands/SearchAvailablePhoneNumbersCommand";
|
|
134
|
+
import { SearchHoursOfOperationsCommand, } from "./commands/SearchHoursOfOperationsCommand";
|
|
135
|
+
import { SearchPromptsCommand, } from "./commands/SearchPromptsCommand";
|
|
134
136
|
import { SearchQueuesCommand, } from "./commands/SearchQueuesCommand";
|
|
137
|
+
import { SearchQuickConnectsCommand, } from "./commands/SearchQuickConnectsCommand";
|
|
135
138
|
import { SearchRoutingProfilesCommand, } from "./commands/SearchRoutingProfilesCommand";
|
|
136
139
|
import { SearchSecurityProfilesCommand, } from "./commands/SearchSecurityProfilesCommand";
|
|
137
140
|
import { SearchUsersCommand } from "./commands/SearchUsersCommand";
|
|
@@ -323,7 +326,10 @@ const commands = {
|
|
|
323
326
|
ReplicateInstanceCommand,
|
|
324
327
|
ResumeContactRecordingCommand,
|
|
325
328
|
SearchAvailablePhoneNumbersCommand,
|
|
329
|
+
SearchHoursOfOperationsCommand,
|
|
330
|
+
SearchPromptsCommand,
|
|
326
331
|
SearchQueuesCommand,
|
|
332
|
+
SearchQuickConnectsCommand,
|
|
327
333
|
SearchRoutingProfilesCommand,
|
|
328
334
|
SearchSecurityProfilesCommand,
|
|
329
335
|
SearchUsersCommand,
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_SearchHoursOfOperationsCommand, se_SearchHoursOfOperationsCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class SearchHoursOfOperationsCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, SearchHoursOfOperationsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ConnectClient";
|
|
25
|
+
const commandName = "SearchHoursOfOperationsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_SearchHoursOfOperationsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_SearchHoursOfOperationsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_SearchPromptsCommand, se_SearchPromptsCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class SearchPromptsCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, SearchPromptsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ConnectClient";
|
|
25
|
+
const commandName = "SearchPromptsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_SearchPromptsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_SearchPromptsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_SearchQuickConnectsCommand, se_SearchQuickConnectsCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class SearchQuickConnectsCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, SearchQuickConnectsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ConnectClient";
|
|
25
|
+
const commandName = "SearchQuickConnectsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_SearchQuickConnectsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_SearchQuickConnectsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -130,7 +130,10 @@ export * from "./ReleasePhoneNumberCommand";
|
|
|
130
130
|
export * from "./ReplicateInstanceCommand";
|
|
131
131
|
export * from "./ResumeContactRecordingCommand";
|
|
132
132
|
export * from "./SearchAvailablePhoneNumbersCommand";
|
|
133
|
+
export * from "./SearchHoursOfOperationsCommand";
|
|
134
|
+
export * from "./SearchPromptsCommand";
|
|
133
135
|
export * from "./SearchQueuesCommand";
|
|
136
|
+
export * from "./SearchQuickConnectsCommand";
|
|
134
137
|
export * from "./SearchRoutingProfilesCommand";
|
|
135
138
|
export * from "./SearchSecurityProfilesCommand";
|
|
136
139
|
export * from "./SearchUsersCommand";
|
package/dist-es/models/index.js
CHANGED
|
@@ -78,14 +78,14 @@ export const QueueType = {
|
|
|
78
78
|
AGENT: "AGENT",
|
|
79
79
|
STANDARD: "STANDARD",
|
|
80
80
|
};
|
|
81
|
-
export const SearchableQueueType = {
|
|
82
|
-
STANDARD: "STANDARD",
|
|
83
|
-
};
|
|
84
81
|
export const StringComparisonType = {
|
|
85
82
|
CONTAINS: "CONTAINS",
|
|
86
83
|
EXACT: "EXACT",
|
|
87
84
|
STARTS_WITH: "STARTS_WITH",
|
|
88
85
|
};
|
|
86
|
+
export const SearchableQueueType = {
|
|
87
|
+
STANDARD: "STANDARD",
|
|
88
|
+
};
|
|
89
89
|
export const HierarchyGroupMatchType = {
|
|
90
90
|
EXACT: "EXACT",
|
|
91
91
|
WITH_CHILD_GROUPS: "WITH_CHILD_GROUPS",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { SearchHoursOfOperationsCommand, } from "../commands/SearchHoursOfOperationsCommand";
|
|
2
|
+
import { ConnectClient } from "../ConnectClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new SearchHoursOfOperationsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateSearchHoursOfOperations(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.NextToken = token;
|
|
12
|
+
input["MaxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof ConnectClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.NextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { SearchPromptsCommand, } from "../commands/SearchPromptsCommand";
|
|
2
|
+
import { ConnectClient } from "../ConnectClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new SearchPromptsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateSearchPrompts(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.NextToken = token;
|
|
12
|
+
input["MaxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof ConnectClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.NextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { SearchQuickConnectsCommand, } from "../commands/SearchQuickConnectsCommand";
|
|
2
|
+
import { ConnectClient } from "../ConnectClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new SearchQuickConnectsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateSearchQuickConnects(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.NextToken = token;
|
|
12
|
+
input["MaxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof ConnectClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.NextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|