@aws-sdk/client-connect 3.443.0 → 3.445.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.
Files changed (51) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/Connect.js +2 -0
  3. package/dist-cjs/commands/BatchPutContactCommand.js +51 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/models/models_0.js +19 -2
  6. package/dist-cjs/protocols/Aws_restJson1.js +83 -9
  7. package/dist-es/Connect.js +2 -0
  8. package/dist-es/commands/BatchPutContactCommand.js +47 -0
  9. package/dist-es/commands/index.js +1 -0
  10. package/dist-es/models/models_0.js +17 -0
  11. package/dist-es/protocols/Aws_restJson1.js +72 -0
  12. package/dist-types/Connect.d.ts +7 -0
  13. package/dist-types/ConnectClient.d.ts +3 -2
  14. package/dist-types/commands/BatchPutContactCommand.d.ts +133 -0
  15. package/dist-types/commands/DescribeTrafficDistributionGroupCommand.d.ts +2 -1
  16. package/dist-types/commands/DescribeUserCommand.d.ts +1 -1
  17. package/dist-types/commands/DescribeUserHierarchyGroupCommand.d.ts +1 -2
  18. package/dist-types/commands/StopContactCommand.d.ts +3 -0
  19. package/dist-types/commands/UpdateContactFlowModuleMetadataCommand.d.ts +1 -1
  20. package/dist-types/commands/UpdateContactFlowNameCommand.d.ts +1 -1
  21. package/dist-types/commands/UpdateContactScheduleCommand.d.ts +1 -1
  22. package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +1 -2
  23. package/dist-types/commands/UpdateHoursOfOperationCommand.d.ts +1 -1
  24. package/dist-types/commands/UpdateInstanceAttributeCommand.d.ts +1 -1
  25. package/dist-types/commands/UpdateInstanceStorageConfigCommand.d.ts +1 -1
  26. package/dist-types/commands/index.d.ts +1 -0
  27. package/dist-types/index.d.ts +2 -0
  28. package/dist-types/models/models_0.d.ts +191 -329
  29. package/dist-types/models/models_1.d.ts +332 -195
  30. package/dist-types/models/models_2.d.ts +195 -1
  31. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  32. package/dist-types/ts3.4/Connect.d.ts +17 -0
  33. package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
  34. package/dist-types/ts3.4/commands/BatchPutContactCommand.d.ts +38 -0
  35. package/dist-types/ts3.4/commands/DescribeTrafficDistributionGroupCommand.d.ts +2 -4
  36. package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/DescribeUserHierarchyGroupCommand.d.ts +4 -2
  38. package/dist-types/ts3.4/commands/UpdateContactFlowModuleMetadataCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/UpdateContactFlowNameCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/UpdateContactScheduleCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/UpdateEvaluationFormCommand.d.ts +4 -2
  42. package/dist-types/ts3.4/commands/UpdateHoursOfOperationCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/UpdateInstanceAttributeCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/UpdateInstanceStorageConfigCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  46. package/dist-types/ts3.4/index.d.ts +2 -0
  47. package/dist-types/ts3.4/models/models_0.d.ts +61 -70
  48. package/dist-types/ts3.4/models/models_1.d.ts +67 -49
  49. package/dist-types/ts3.4/models/models_2.d.ts +50 -0
  50. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  51. package/package.json +4 -4
package/README.md CHANGED
@@ -316,6 +316,14 @@ BatchGetFlowAssociation
316
316
 
317
317
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/batchgetflowassociationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/batchgetflowassociationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/batchgetflowassociationcommandoutput.html)
318
318
 
319
+ </details>
320
+ <details>
321
+ <summary>
322
+ BatchPutContact
323
+ </summary>
324
+
325
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/batchputcontactcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/batchputcontactcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/batchputcontactcommandoutput.html)
326
+
319
327
  </details>
320
328
  <details>
321
329
  <summary>
@@ -15,6 +15,7 @@ const AssociateRoutingProfileQueuesCommand_1 = require("./commands/AssociateRout
15
15
  const AssociateSecurityKeyCommand_1 = require("./commands/AssociateSecurityKeyCommand");
16
16
  const AssociateTrafficDistributionGroupUserCommand_1 = require("./commands/AssociateTrafficDistributionGroupUserCommand");
17
17
  const BatchGetFlowAssociationCommand_1 = require("./commands/BatchGetFlowAssociationCommand");
18
+ const BatchPutContactCommand_1 = require("./commands/BatchPutContactCommand");
18
19
  const ClaimPhoneNumberCommand_1 = require("./commands/ClaimPhoneNumberCommand");
19
20
  const CreateAgentStatusCommand_1 = require("./commands/CreateAgentStatusCommand");
20
21
  const CreateContactFlowCommand_1 = require("./commands/CreateContactFlowCommand");
@@ -230,6 +231,7 @@ const commands = {
230
231
  AssociateSecurityKeyCommand: AssociateSecurityKeyCommand_1.AssociateSecurityKeyCommand,
231
232
  AssociateTrafficDistributionGroupUserCommand: AssociateTrafficDistributionGroupUserCommand_1.AssociateTrafficDistributionGroupUserCommand,
232
233
  BatchGetFlowAssociationCommand: BatchGetFlowAssociationCommand_1.BatchGetFlowAssociationCommand,
234
+ BatchPutContactCommand: BatchPutContactCommand_1.BatchPutContactCommand,
233
235
  ClaimPhoneNumberCommand: ClaimPhoneNumberCommand_1.ClaimPhoneNumberCommand,
234
236
  CreateAgentStatusCommand: CreateAgentStatusCommand_1.CreateAgentStatusCommand,
235
237
  CreateContactFlowCommand: CreateContactFlowCommand_1.CreateContactFlowCommand,
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BatchPutContactCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class BatchPutContactCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchPutContactCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "ConnectClient";
29
+ const commandName = "BatchPutContactCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonConnectService",
38
+ operation: "BatchPutContact",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_BatchPutContactCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_BatchPutContactCommand)(output, context);
49
+ }
50
+ }
51
+ exports.BatchPutContactCommand = BatchPutContactCommand;
@@ -14,6 +14,7 @@ tslib_1.__exportStar(require("./AssociateRoutingProfileQueuesCommand"), exports)
14
14
  tslib_1.__exportStar(require("./AssociateSecurityKeyCommand"), exports);
15
15
  tslib_1.__exportStar(require("./AssociateTrafficDistributionGroupUserCommand"), exports);
16
16
  tslib_1.__exportStar(require("./BatchGetFlowAssociationCommand"), exports);
17
+ tslib_1.__exportStar(require("./BatchPutContactCommand"), exports);
17
18
  tslib_1.__exportStar(require("./ClaimPhoneNumberCommand"), exports);
18
19
  tslib_1.__exportStar(require("./CreateAgentStatusCommand"), exports);
19
20
  tslib_1.__exportStar(require("./CreateContactFlowCommand"), exports);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TaskTemplateFieldType = exports.EventSourceName = exports.RulePublishStatus = exports.ReferenceType = exports.NotificationDeliveryType = exports.NotificationContentType = exports.BehaviorType = exports.QuickConnectType = exports.RehydrationType = exports.ParticipantRole = exports.SourceType = exports.IntegrationType = exports.DirectoryType = exports.HoursOfOperationDays = exports.EvaluationFormScoringStatus = exports.EvaluationFormScoringMode = exports.EvaluationFormQuestionTypeProperties = exports.EvaluationFormSingleSelectQuestionDisplayMode = exports.EvaluationFormSingleSelectQuestionAutomationOption = exports.SingleSelectQuestionRuleCategoryAutomationCondition = exports.EvaluationFormNumericQuestionAutomation = exports.NumericQuestionPropertyAutomationLabel = exports.EvaluationFormQuestionType = exports.InvalidContactFlowModuleException = exports.InvalidContactFlowException = exports.ContactFlowType = exports.DuplicateResourceException = exports.IdempotencyException = exports.ListFlowAssociationResourceType = exports.StorageType = exports.EncryptionType = exports.InstanceStorageResourceType = exports.VocabularyLanguageCode = exports.LimitExceededException = exports.ServiceQuotaExceededException = exports.InvalidRequestException = exports.MonitorCapability = exports.AgentStatusType = exports.AgentStatusState = exports.ContactInitiationMethod = exports.Channel = exports.ContactState = exports.AgentAvailabilityTimer = exports.ThrottlingException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.InvalidParameterException = exports.InternalServiceException = exports.ActionType = exports.AccessDeniedException = void 0;
4
- exports.DescribeInstanceResponseFilterSensitiveLog = exports.InstanceFilterSensitiveLog = exports.CreateViewVersionResponseFilterSensitiveLog = exports.CreateViewResponseFilterSensitiveLog = exports.ViewFilterSensitiveLog = exports.ViewContentFilterSensitiveLog = exports.CreateViewRequestFilterSensitiveLog = exports.ViewInputContentFilterSensitiveLog = exports.CreateInstanceRequestFilterSensitiveLog = exports.TrafficDistributionGroupStatus = exports.QueueStatus = exports.PhoneNumberType = exports.PhoneNumberWorkflowStatus = exports.PhoneNumberCountryCode = exports.InstanceAttributeType = exports.InstanceStatus = exports.EvaluationFormVersionStatus = exports.ContactFlowModuleStatus = exports.ContactFlowModuleState = exports.ContactFlowState = exports.ContactFlowNotPublishedException = exports.EvaluationStatus = exports.EvaluationAnswerData = exports.VocabularyState = exports.TooManyRequestsException = exports.ResourceInUseException = exports.ResourceType = exports.ViewType = exports.ViewStatus = exports.PhoneType = exports.UseCaseType = exports.ResourceNotReadyException = exports.PropertyValidationException = exports.PropertyValidationExceptionReason = exports.TaskTemplateStatus = void 0;
3
+ exports.RulePublishStatus = exports.ReferenceType = exports.NotificationDeliveryType = exports.NotificationContentType = exports.BehaviorType = exports.QuickConnectType = exports.RehydrationType = exports.ParticipantRole = exports.SourceType = exports.IntegrationType = exports.DirectoryType = exports.HoursOfOperationDays = exports.EvaluationFormScoringStatus = exports.EvaluationFormScoringMode = exports.EvaluationFormQuestionTypeProperties = exports.EvaluationFormSingleSelectQuestionDisplayMode = exports.EvaluationFormSingleSelectQuestionAutomationOption = exports.SingleSelectQuestionRuleCategoryAutomationCondition = exports.EvaluationFormNumericQuestionAutomation = exports.NumericQuestionPropertyAutomationLabel = exports.EvaluationFormQuestionType = exports.InvalidContactFlowModuleException = exports.InvalidContactFlowException = exports.ContactFlowType = exports.DuplicateResourceException = exports.IdempotencyException = exports.FailureReasonCode = exports.EndpointType = exports.ListFlowAssociationResourceType = exports.StorageType = exports.EncryptionType = exports.InstanceStorageResourceType = exports.VocabularyLanguageCode = exports.LimitExceededException = exports.ServiceQuotaExceededException = exports.InvalidRequestException = exports.MonitorCapability = exports.AgentStatusType = exports.AgentStatusState = exports.ContactInitiationMethod = exports.Channel = exports.ContactState = exports.AgentAvailabilityTimer = exports.ThrottlingException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.InvalidParameterException = exports.InternalServiceException = exports.ActionType = exports.AccessDeniedException = void 0;
4
+ exports.DescribeInstanceResponseFilterSensitiveLog = exports.InstanceFilterSensitiveLog = exports.CreateViewVersionResponseFilterSensitiveLog = exports.CreateViewResponseFilterSensitiveLog = exports.ViewFilterSensitiveLog = exports.ViewContentFilterSensitiveLog = exports.CreateViewRequestFilterSensitiveLog = exports.ViewInputContentFilterSensitiveLog = exports.CreateInstanceRequestFilterSensitiveLog = exports.TrafficDistributionGroupStatus = exports.QueueStatus = exports.PhoneNumberType = exports.PhoneNumberWorkflowStatus = exports.PhoneNumberCountryCode = exports.InstanceAttributeType = exports.InstanceStatus = exports.EvaluationFormVersionStatus = exports.ContactFlowModuleStatus = exports.ContactFlowModuleState = exports.ContactFlowState = exports.ContactFlowNotPublishedException = exports.EvaluationStatus = exports.EvaluationAnswerData = exports.VocabularyState = exports.TooManyRequestsException = exports.ResourceInUseException = exports.ResourceType = exports.ViewType = exports.ViewStatus = exports.PhoneType = exports.UseCaseType = exports.ResourceNotReadyException = exports.PropertyValidationException = exports.PropertyValidationExceptionReason = exports.TaskTemplateStatus = exports.TaskTemplateFieldType = exports.EventSourceName = void 0;
5
5
  const smithy_client_1 = require("@smithy/smithy-client");
6
6
  const ConnectServiceException_1 = require("./ConnectServiceException");
7
7
  class AccessDeniedException extends ConnectServiceException_1.ConnectServiceException {
@@ -230,6 +230,23 @@ exports.ListFlowAssociationResourceType = {
230
230
  SMS_PHONE_NUMBER: "SMS_PHONE_NUMBER",
231
231
  VOICE_PHONE_NUMBER: "VOICE_PHONE_NUMBER",
232
232
  };
233
+ exports.EndpointType = {
234
+ CONTACT_FLOW: "CONTACT_FLOW",
235
+ TELEPHONE_NUMBER: "TELEPHONE_NUMBER",
236
+ VOIP: "VOIP",
237
+ };
238
+ exports.FailureReasonCode = {
239
+ IDEMPOTENCY_EXCEPTION: "IDEMPOTENCY_EXCEPTION",
240
+ INTERNAL_ERROR: "INTERNAL_ERROR",
241
+ INVALID_ATTRIBUTE_KEY: "INVALID_ATTRIBUTE_KEY",
242
+ INVALID_CUSTOMER_ENDPOINT: "INVALID_CUSTOMER_ENDPOINT",
243
+ INVALID_QUEUE: "INVALID_QUEUE",
244
+ INVALID_SYSTEM_ENDPOINT: "INVALID_SYSTEM_ENDPOINT",
245
+ MISSING_CAMPAIGN: "MISSING_CAMPAIGN",
246
+ MISSING_CUSTOMER_ENDPOINT: "MISSING_CUSTOMER_ENDPOINT",
247
+ MISSING_QUEUE_ID_AND_SYSTEM_ENDPOINT: "MISSING_QUEUE_ID_AND_SYSTEM_ENDPOINT",
248
+ REQUEST_THROTTLED: "REQUEST_THROTTLED",
249
+ };
233
250
  class IdempotencyException extends ConnectServiceException_1.ConnectServiceException {
234
251
  constructor(opts) {
235
252
  super({
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.se_DeleteRuleCommand = exports.se_DeleteRoutingProfileCommand = exports.se_DeleteQuickConnectCommand = exports.se_DeleteQueueCommand = 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_CreateViewVersionCommand = exports.se_CreateViewCommand = 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_CreatePersistentContactAssociationCommand = 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_BatchGetFlowAssociationCommand = exports.se_AssociateTrafficDistributionGroupUserCommand = 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
- 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_DisassociateTrafficDistributionGroupUserCommand = 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_DescribeViewCommand = 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 = exports.se_DeleteVocabularyCommand = exports.se_DeleteViewVersionCommand = exports.se_DeleteViewCommand = exports.se_DeleteUserHierarchyGroupCommand = exports.se_DeleteUserCommand = exports.se_DeleteUseCaseCommand = exports.se_DeleteTrafficDistributionGroupCommand = exports.se_DeleteTaskTemplateCommand = exports.se_DeleteSecurityProfileCommand = void 0;
5
- 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_ListViewVersionsCommand = exports.se_ListViewsCommand = exports.se_ListUsersCommand = exports.se_ListUserHierarchyGroupsCommand = exports.se_ListUseCasesCommand = exports.se_ListTrafficDistributionGroupUsersCommand = exports.se_ListTrafficDistributionGroupsCommand = exports.se_ListTaskTemplatesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSecurityProfilesCommand = exports.se_ListSecurityProfilePermissionsCommand = exports.se_ListSecurityProfileApplicationsCommand = 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 = 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 = void 0;
6
- exports.se_UpdateRoutingProfileQueuesCommand = exports.se_UpdateRoutingProfileNameCommand = exports.se_UpdateRoutingProfileDefaultOutboundQueueCommand = exports.se_UpdateRoutingProfileConcurrencyCommand = exports.se_UpdateRoutingProfileAgentAvailabilityTimerCommand = 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_UpdatePhoneNumberMetadataCommand = 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 = 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_SearchResourceTagsCommand = exports.se_SearchQuickConnectsCommand = void 0;
7
- exports.de_CreateVocabularyCommand = exports.de_CreateViewVersionCommand = exports.de_CreateViewCommand = 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_CreatePersistentContactAssociationCommand = 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_BatchGetFlowAssociationCommand = exports.de_AssociateTrafficDistributionGroupUserCommand = exports.de_AssociateSecurityKeyCommand = exports.de_AssociateRoutingProfileQueuesCommand = exports.de_AssociateQueueQuickConnectsCommand = exports.de_AssociatePhoneNumberContactFlowCommand = exports.de_AssociateLexBotCommand = exports.de_AssociateLambdaFunctionCommand = exports.de_AssociateInstanceStorageConfigCommand = exports.de_AssociateDefaultVocabularyCommand = exports.de_AssociateBotCommand = exports.de_AssociateApprovedOriginCommand = exports.de_ActivateEvaluationFormCommand = exports.se_UpdateViewMetadataCommand = exports.se_UpdateViewContentCommand = 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 = void 0;
8
- exports.de_DisassociateLexBotCommand = exports.de_DisassociateLambdaFunctionCommand = exports.de_DisassociateInstanceStorageConfigCommand = exports.de_DisassociateBotCommand = exports.de_DisassociateApprovedOriginCommand = exports.de_DescribeVocabularyCommand = exports.de_DescribeViewCommand = 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 = 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_DeleteViewVersionCommand = exports.de_DeleteViewCommand = exports.de_DeleteUserHierarchyGroupCommand = exports.de_DeleteUserCommand = exports.de_DeleteUseCaseCommand = exports.de_DeleteTrafficDistributionGroupCommand = exports.de_DeleteTaskTemplateCommand = exports.de_DeleteSecurityProfileCommand = exports.de_DeleteRuleCommand = exports.de_DeleteRoutingProfileCommand = exports.de_DeleteQuickConnectCommand = exports.de_DeleteQueueCommand = 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 = void 0;
9
- exports.de_ListUseCasesCommand = exports.de_ListTrafficDistributionGroupUsersCommand = exports.de_ListTrafficDistributionGroupsCommand = exports.de_ListTaskTemplatesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSecurityProfilesCommand = exports.de_ListSecurityProfilePermissionsCommand = exports.de_ListSecurityProfileApplicationsCommand = 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 = 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_DisassociateTrafficDistributionGroupUserCommand = exports.de_DisassociateSecurityKeyCommand = exports.de_DisassociateRoutingProfileQueuesCommand = exports.de_DisassociateQueueQuickConnectsCommand = exports.de_DisassociatePhoneNumberContactFlowCommand = void 0;
10
- exports.de_UpdatePhoneNumberMetadataCommand = 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 = 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_SearchResourceTagsCommand = 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_ListViewVersionsCommand = exports.de_ListViewsCommand = exports.de_ListUsersCommand = exports.de_ListUserHierarchyGroupsCommand = void 0;
11
- exports.de_UpdateViewMetadataCommand = exports.de_UpdateViewContentCommand = 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_UpdateRoutingProfileAgentAvailabilityTimerCommand = exports.de_UpdateQuickConnectNameCommand = exports.de_UpdateQuickConnectConfigCommand = exports.de_UpdateQueueStatusCommand = exports.de_UpdateQueueOutboundCallerConfigCommand = exports.de_UpdateQueueNameCommand = exports.de_UpdateQueueMaxContactsCommand = exports.de_UpdateQueueHoursOfOperationCommand = exports.de_UpdatePromptCommand = void 0;
3
+ exports.se_DeleteRoutingProfileCommand = exports.se_DeleteQuickConnectCommand = exports.se_DeleteQueueCommand = 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_CreateViewVersionCommand = exports.se_CreateViewCommand = 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_CreatePersistentContactAssociationCommand = 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_BatchPutContactCommand = exports.se_BatchGetFlowAssociationCommand = exports.se_AssociateTrafficDistributionGroupUserCommand = 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
+ exports.se_GetMetricDataV2Command = exports.se_GetMetricDataCommand = exports.se_GetFederationTokenCommand = exports.se_GetCurrentUserDataCommand = exports.se_GetCurrentMetricDataCommand = exports.se_GetContactAttributesCommand = exports.se_DismissUserContactCommand = exports.se_DisassociateTrafficDistributionGroupUserCommand = 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_DescribeViewCommand = 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 = exports.se_DeleteVocabularyCommand = exports.se_DeleteViewVersionCommand = exports.se_DeleteViewCommand = exports.se_DeleteUserHierarchyGroupCommand = exports.se_DeleteUserCommand = exports.se_DeleteUseCaseCommand = exports.se_DeleteTrafficDistributionGroupCommand = exports.se_DeleteTaskTemplateCommand = exports.se_DeleteSecurityProfileCommand = exports.se_DeleteRuleCommand = void 0;
5
+ 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_ListViewVersionsCommand = exports.se_ListViewsCommand = exports.se_ListUsersCommand = exports.se_ListUserHierarchyGroupsCommand = exports.se_ListUseCasesCommand = exports.se_ListTrafficDistributionGroupUsersCommand = exports.se_ListTrafficDistributionGroupsCommand = exports.se_ListTaskTemplatesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSecurityProfilesCommand = exports.se_ListSecurityProfilePermissionsCommand = exports.se_ListSecurityProfileApplicationsCommand = 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 = 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 = void 0;
6
+ exports.se_UpdateRoutingProfileNameCommand = exports.se_UpdateRoutingProfileDefaultOutboundQueueCommand = exports.se_UpdateRoutingProfileConcurrencyCommand = exports.se_UpdateRoutingProfileAgentAvailabilityTimerCommand = 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_UpdatePhoneNumberMetadataCommand = 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 = 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_SearchResourceTagsCommand = exports.se_SearchQuickConnectsCommand = exports.se_SearchQueuesCommand = void 0;
7
+ exports.de_CreateViewCommand = 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_CreatePersistentContactAssociationCommand = 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_BatchPutContactCommand = exports.de_BatchGetFlowAssociationCommand = exports.de_AssociateTrafficDistributionGroupUserCommand = exports.de_AssociateSecurityKeyCommand = exports.de_AssociateRoutingProfileQueuesCommand = exports.de_AssociateQueueQuickConnectsCommand = exports.de_AssociatePhoneNumberContactFlowCommand = exports.de_AssociateLexBotCommand = exports.de_AssociateLambdaFunctionCommand = exports.de_AssociateInstanceStorageConfigCommand = exports.de_AssociateDefaultVocabularyCommand = exports.de_AssociateBotCommand = exports.de_AssociateApprovedOriginCommand = exports.de_ActivateEvaluationFormCommand = exports.se_UpdateViewMetadataCommand = exports.se_UpdateViewContentCommand = 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 = void 0;
8
+ exports.de_DisassociateInstanceStorageConfigCommand = exports.de_DisassociateBotCommand = exports.de_DisassociateApprovedOriginCommand = exports.de_DescribeVocabularyCommand = exports.de_DescribeViewCommand = 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 = 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_DeleteViewVersionCommand = exports.de_DeleteViewCommand = exports.de_DeleteUserHierarchyGroupCommand = exports.de_DeleteUserCommand = exports.de_DeleteUseCaseCommand = exports.de_DeleteTrafficDistributionGroupCommand = exports.de_DeleteTaskTemplateCommand = exports.de_DeleteSecurityProfileCommand = exports.de_DeleteRuleCommand = exports.de_DeleteRoutingProfileCommand = exports.de_DeleteQuickConnectCommand = exports.de_DeleteQueueCommand = 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_CreateViewVersionCommand = void 0;
9
+ exports.de_ListTrafficDistributionGroupsCommand = exports.de_ListTaskTemplatesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSecurityProfilesCommand = exports.de_ListSecurityProfilePermissionsCommand = exports.de_ListSecurityProfileApplicationsCommand = 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 = 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_DisassociateTrafficDistributionGroupUserCommand = exports.de_DisassociateSecurityKeyCommand = exports.de_DisassociateRoutingProfileQueuesCommand = exports.de_DisassociateQueueQuickConnectsCommand = exports.de_DisassociatePhoneNumberContactFlowCommand = exports.de_DisassociateLexBotCommand = exports.de_DisassociateLambdaFunctionCommand = void 0;
10
+ 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 = 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_SearchResourceTagsCommand = 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_ListViewVersionsCommand = exports.de_ListViewsCommand = exports.de_ListUsersCommand = exports.de_ListUserHierarchyGroupsCommand = exports.de_ListUseCasesCommand = exports.de_ListTrafficDistributionGroupUsersCommand = void 0;
11
+ exports.de_UpdateViewMetadataCommand = exports.de_UpdateViewContentCommand = 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_UpdateRoutingProfileAgentAvailabilityTimerCommand = 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_UpdatePhoneNumberMetadataCommand = exports.de_UpdatePhoneNumberCommand = void 0;
12
12
  const core_1 = require("@aws-sdk/core");
13
13
  const protocol_http_1 = require("@smithy/protocol-http");
14
14
  const smithy_client_1 = require("@smithy/smithy-client");
@@ -318,6 +318,29 @@ const se_BatchGetFlowAssociationCommand = async (input, context) => {
318
318
  });
319
319
  };
320
320
  exports.se_BatchGetFlowAssociationCommand = se_BatchGetFlowAssociationCommand;
321
+ const se_BatchPutContactCommand = async (input, context) => {
322
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
323
+ const headers = {
324
+ "content-type": "application/json",
325
+ };
326
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/contact/batch/{InstanceId}";
327
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "InstanceId", () => input.InstanceId, "{InstanceId}", false);
328
+ let body;
329
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
330
+ ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
331
+ ContactDataRequestList: (_) => (0, smithy_client_1._json)(_),
332
+ }));
333
+ return new protocol_http_1.HttpRequest({
334
+ protocol,
335
+ hostname,
336
+ port,
337
+ method: "PUT",
338
+ headers,
339
+ path: resolvedPath,
340
+ body,
341
+ });
342
+ };
343
+ exports.se_BatchPutContactCommand = se_BatchPutContactCommand;
321
344
  const se_ClaimPhoneNumberCommand = async (input, context) => {
322
345
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
323
346
  const headers = {
@@ -3701,6 +3724,7 @@ const se_StopContactCommand = async (input, context) => {
3701
3724
  let body;
3702
3725
  body = JSON.stringify((0, smithy_client_1.take)(input, {
3703
3726
  ContactId: [],
3727
+ DisconnectReason: (_) => (0, smithy_client_1._json)(_),
3704
3728
  InstanceId: [],
3705
3729
  }));
3706
3730
  return new protocol_http_1.HttpRequest({
@@ -5549,6 +5573,56 @@ const de_BatchGetFlowAssociationCommandError = async (output, context) => {
5549
5573
  });
5550
5574
  }
5551
5575
  };
5576
+ const de_BatchPutContactCommand = async (output, context) => {
5577
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
5578
+ return de_BatchPutContactCommandError(output, context);
5579
+ }
5580
+ const contents = (0, smithy_client_1.map)({
5581
+ $metadata: deserializeMetadata(output),
5582
+ });
5583
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5584
+ const doc = (0, smithy_client_1.take)(data, {
5585
+ FailedRequestList: smithy_client_1._json,
5586
+ SuccessfulRequestList: smithy_client_1._json,
5587
+ });
5588
+ Object.assign(contents, doc);
5589
+ return contents;
5590
+ };
5591
+ exports.de_BatchPutContactCommand = de_BatchPutContactCommand;
5592
+ const de_BatchPutContactCommandError = async (output, context) => {
5593
+ const parsedOutput = {
5594
+ ...output,
5595
+ body: await parseErrorBody(output.body, context),
5596
+ };
5597
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
5598
+ switch (errorCode) {
5599
+ case "AccessDeniedException":
5600
+ case "com.amazonaws.connect#AccessDeniedException":
5601
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
5602
+ case "IdempotencyException":
5603
+ case "com.amazonaws.connect#IdempotencyException":
5604
+ throw await de_IdempotencyExceptionRes(parsedOutput, context);
5605
+ case "InternalServiceException":
5606
+ case "com.amazonaws.connect#InternalServiceException":
5607
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
5608
+ case "InvalidRequestException":
5609
+ case "com.amazonaws.connect#InvalidRequestException":
5610
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
5611
+ case "LimitExceededException":
5612
+ case "com.amazonaws.connect#LimitExceededException":
5613
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
5614
+ case "ResourceNotFoundException":
5615
+ case "com.amazonaws.connect#ResourceNotFoundException":
5616
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
5617
+ default:
5618
+ const parsedBody = parsedOutput.body;
5619
+ return throwDefaultError({
5620
+ output,
5621
+ parsedBody,
5622
+ errorCode,
5623
+ });
5624
+ }
5625
+ };
5552
5626
  const de_ClaimPhoneNumberCommand = async (output, context) => {
5553
5627
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5554
5628
  return de_ClaimPhoneNumberCommandError(output, context);
@@ -12,6 +12,7 @@ import { AssociateRoutingProfileQueuesCommand, } from "./commands/AssociateRouti
12
12
  import { AssociateSecurityKeyCommand, } from "./commands/AssociateSecurityKeyCommand";
13
13
  import { AssociateTrafficDistributionGroupUserCommand, } from "./commands/AssociateTrafficDistributionGroupUserCommand";
14
14
  import { BatchGetFlowAssociationCommand, } from "./commands/BatchGetFlowAssociationCommand";
15
+ import { BatchPutContactCommand, } from "./commands/BatchPutContactCommand";
15
16
  import { ClaimPhoneNumberCommand, } from "./commands/ClaimPhoneNumberCommand";
16
17
  import { CreateAgentStatusCommand, } from "./commands/CreateAgentStatusCommand";
17
18
  import { CreateContactFlowCommand, } from "./commands/CreateContactFlowCommand";
@@ -227,6 +228,7 @@ const commands = {
227
228
  AssociateSecurityKeyCommand,
228
229
  AssociateTrafficDistributionGroupUserCommand,
229
230
  BatchGetFlowAssociationCommand,
231
+ BatchPutContactCommand,
230
232
  ClaimPhoneNumberCommand,
231
233
  CreateAgentStatusCommand,
232
234
  CreateContactFlowCommand,
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_BatchPutContactCommand, se_BatchPutContactCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class BatchPutContactCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, BatchPutContactCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "ConnectClient";
26
+ const commandName = "BatchPutContactCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonConnectService",
35
+ operation: "BatchPutContact",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_BatchPutContactCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_BatchPutContactCommand(output, context);
46
+ }
47
+ }
@@ -11,6 +11,7 @@ export * from "./AssociateRoutingProfileQueuesCommand";
11
11
  export * from "./AssociateSecurityKeyCommand";
12
12
  export * from "./AssociateTrafficDistributionGroupUserCommand";
13
13
  export * from "./BatchGetFlowAssociationCommand";
14
+ export * from "./BatchPutContactCommand";
14
15
  export * from "./ClaimPhoneNumberCommand";
15
16
  export * from "./CreateAgentStatusCommand";
16
17
  export * from "./CreateContactFlowCommand";
@@ -217,6 +217,23 @@ export const ListFlowAssociationResourceType = {
217
217
  SMS_PHONE_NUMBER: "SMS_PHONE_NUMBER",
218
218
  VOICE_PHONE_NUMBER: "VOICE_PHONE_NUMBER",
219
219
  };
220
+ export const EndpointType = {
221
+ CONTACT_FLOW: "CONTACT_FLOW",
222
+ TELEPHONE_NUMBER: "TELEPHONE_NUMBER",
223
+ VOIP: "VOIP",
224
+ };
225
+ export const FailureReasonCode = {
226
+ IDEMPOTENCY_EXCEPTION: "IDEMPOTENCY_EXCEPTION",
227
+ INTERNAL_ERROR: "INTERNAL_ERROR",
228
+ INVALID_ATTRIBUTE_KEY: "INVALID_ATTRIBUTE_KEY",
229
+ INVALID_CUSTOMER_ENDPOINT: "INVALID_CUSTOMER_ENDPOINT",
230
+ INVALID_QUEUE: "INVALID_QUEUE",
231
+ INVALID_SYSTEM_ENDPOINT: "INVALID_SYSTEM_ENDPOINT",
232
+ MISSING_CAMPAIGN: "MISSING_CAMPAIGN",
233
+ MISSING_CUSTOMER_ENDPOINT: "MISSING_CUSTOMER_ENDPOINT",
234
+ MISSING_QUEUE_ID_AND_SYSTEM_ENDPOINT: "MISSING_QUEUE_ID_AND_SYSTEM_ENDPOINT",
235
+ REQUEST_THROTTLED: "REQUEST_THROTTLED",
236
+ };
220
237
  export class IdempotencyException extends __BaseException {
221
238
  constructor(opts) {
222
239
  super({
@@ -294,6 +294,28 @@ export const se_BatchGetFlowAssociationCommand = async (input, context) => {
294
294
  body,
295
295
  });
296
296
  };
297
+ export const se_BatchPutContactCommand = async (input, context) => {
298
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
299
+ const headers = {
300
+ "content-type": "application/json",
301
+ };
302
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/contact/batch/{InstanceId}";
303
+ resolvedPath = __resolvedPath(resolvedPath, input, "InstanceId", () => input.InstanceId, "{InstanceId}", false);
304
+ let body;
305
+ body = JSON.stringify(take(input, {
306
+ ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
307
+ ContactDataRequestList: (_) => _json(_),
308
+ }));
309
+ return new __HttpRequest({
310
+ protocol,
311
+ hostname,
312
+ port,
313
+ method: "PUT",
314
+ headers,
315
+ path: resolvedPath,
316
+ body,
317
+ });
318
+ };
297
319
  export const se_ClaimPhoneNumberCommand = async (input, context) => {
298
320
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
299
321
  const headers = {
@@ -3528,6 +3550,7 @@ export const se_StopContactCommand = async (input, context) => {
3528
3550
  let body;
3529
3551
  body = JSON.stringify(take(input, {
3530
3552
  ContactId: [],
3553
+ DisconnectReason: (_) => _json(_),
3531
3554
  InstanceId: [],
3532
3555
  }));
3533
3556
  return new __HttpRequest({
@@ -5312,6 +5335,55 @@ const de_BatchGetFlowAssociationCommandError = async (output, context) => {
5312
5335
  });
5313
5336
  }
5314
5337
  };
5338
+ export const de_BatchPutContactCommand = async (output, context) => {
5339
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
5340
+ return de_BatchPutContactCommandError(output, context);
5341
+ }
5342
+ const contents = map({
5343
+ $metadata: deserializeMetadata(output),
5344
+ });
5345
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
5346
+ const doc = take(data, {
5347
+ FailedRequestList: _json,
5348
+ SuccessfulRequestList: _json,
5349
+ });
5350
+ Object.assign(contents, doc);
5351
+ return contents;
5352
+ };
5353
+ const de_BatchPutContactCommandError = async (output, context) => {
5354
+ const parsedOutput = {
5355
+ ...output,
5356
+ body: await parseErrorBody(output.body, context),
5357
+ };
5358
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
5359
+ switch (errorCode) {
5360
+ case "AccessDeniedException":
5361
+ case "com.amazonaws.connect#AccessDeniedException":
5362
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
5363
+ case "IdempotencyException":
5364
+ case "com.amazonaws.connect#IdempotencyException":
5365
+ throw await de_IdempotencyExceptionRes(parsedOutput, context);
5366
+ case "InternalServiceException":
5367
+ case "com.amazonaws.connect#InternalServiceException":
5368
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
5369
+ case "InvalidRequestException":
5370
+ case "com.amazonaws.connect#InvalidRequestException":
5371
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
5372
+ case "LimitExceededException":
5373
+ case "com.amazonaws.connect#LimitExceededException":
5374
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
5375
+ case "ResourceNotFoundException":
5376
+ case "com.amazonaws.connect#ResourceNotFoundException":
5377
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
5378
+ default:
5379
+ const parsedBody = parsedOutput.body;
5380
+ return throwDefaultError({
5381
+ output,
5382
+ parsedBody,
5383
+ errorCode,
5384
+ });
5385
+ }
5386
+ };
5315
5387
  export const de_ClaimPhoneNumberCommand = async (output, context) => {
5316
5388
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5317
5389
  return de_ClaimPhoneNumberCommandError(output, context);
@@ -12,6 +12,7 @@ import { AssociateRoutingProfileQueuesCommandInput, AssociateRoutingProfileQueue
12
12
  import { AssociateSecurityKeyCommandInput, AssociateSecurityKeyCommandOutput } from "./commands/AssociateSecurityKeyCommand";
13
13
  import { AssociateTrafficDistributionGroupUserCommandInput, AssociateTrafficDistributionGroupUserCommandOutput } from "./commands/AssociateTrafficDistributionGroupUserCommand";
14
14
  import { BatchGetFlowAssociationCommandInput, BatchGetFlowAssociationCommandOutput } from "./commands/BatchGetFlowAssociationCommand";
15
+ import { BatchPutContactCommandInput, BatchPutContactCommandOutput } from "./commands/BatchPutContactCommand";
15
16
  import { ClaimPhoneNumberCommandInput, ClaimPhoneNumberCommandOutput } from "./commands/ClaimPhoneNumberCommand";
16
17
  import { CreateAgentStatusCommandInput, CreateAgentStatusCommandOutput } from "./commands/CreateAgentStatusCommand";
17
18
  import { CreateContactFlowCommandInput, CreateContactFlowCommandOutput } from "./commands/CreateContactFlowCommand";
@@ -292,6 +293,12 @@ export interface Connect {
292
293
  batchGetFlowAssociation(args: BatchGetFlowAssociationCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetFlowAssociationCommandOutput>;
293
294
  batchGetFlowAssociation(args: BatchGetFlowAssociationCommandInput, cb: (err: any, data?: BatchGetFlowAssociationCommandOutput) => void): void;
294
295
  batchGetFlowAssociation(args: BatchGetFlowAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetFlowAssociationCommandOutput) => void): void;
296
+ /**
297
+ * @see {@link BatchPutContactCommand}
298
+ */
299
+ batchPutContact(args: BatchPutContactCommandInput, options?: __HttpHandlerOptions): Promise<BatchPutContactCommandOutput>;
300
+ batchPutContact(args: BatchPutContactCommandInput, cb: (err: any, data?: BatchPutContactCommandOutput) => void): void;
301
+ batchPutContact(args: BatchPutContactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchPutContactCommandOutput) => void): void;
295
302
  /**
296
303
  * @see {@link ClaimPhoneNumberCommand}
297
304
  */