@aws-sdk/client-connect 3.442.0 → 3.444.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 (67) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/Connect.js +4 -0
  3. package/dist-cjs/commands/BatchPutContactCommand.js +51 -0
  4. package/dist-cjs/commands/CreatePersistentContactAssociationCommand.js +51 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +23 -2
  7. package/dist-cjs/models/models_1.js +1 -13
  8. package/dist-cjs/models/models_2.js +9 -1
  9. package/dist-cjs/protocols/Aws_restJson1.js +158 -9
  10. package/dist-es/Connect.js +4 -0
  11. package/dist-es/commands/BatchPutContactCommand.js +47 -0
  12. package/dist-es/commands/CreatePersistentContactAssociationCommand.js +47 -0
  13. package/dist-es/commands/index.js +2 -0
  14. package/dist-es/models/models_0.js +21 -0
  15. package/dist-es/models/models_1.js +0 -12
  16. package/dist-es/models/models_2.js +8 -0
  17. package/dist-es/protocols/Aws_restJson1.js +145 -0
  18. package/dist-types/Connect.d.ts +14 -0
  19. package/dist-types/ConnectClient.d.ts +4 -2
  20. package/dist-types/commands/BatchPutContactCommand.d.ts +133 -0
  21. package/dist-types/commands/CreatePersistentContactAssociationCommand.d.ts +98 -0
  22. package/dist-types/commands/CreateViewCommand.d.ts +7 -5
  23. package/dist-types/commands/CreateViewVersionCommand.d.ts +3 -3
  24. package/dist-types/commands/DeleteViewCommand.d.ts +2 -1
  25. package/dist-types/commands/DescribeTrafficDistributionGroupCommand.d.ts +2 -1
  26. package/dist-types/commands/DescribeUserCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeUserHierarchyGroupCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeUserHierarchyStructureCommand.d.ts +1 -2
  29. package/dist-types/commands/DescribeViewCommand.d.ts +4 -4
  30. package/dist-types/commands/ListViewVersionsCommand.d.ts +2 -1
  31. package/dist-types/commands/ReplicateInstanceCommand.d.ts +2 -3
  32. package/dist-types/commands/StopContactCommand.d.ts +3 -0
  33. package/dist-types/commands/SuspendContactRecordingCommand.d.ts +3 -3
  34. package/dist-types/commands/UpdateContactFlowModuleMetadataCommand.d.ts +1 -1
  35. package/dist-types/commands/UpdateContactFlowNameCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdateContactScheduleCommand.d.ts +1 -1
  37. package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +1 -2
  38. package/dist-types/commands/UpdateHoursOfOperationCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateInstanceAttributeCommand.d.ts +1 -1
  40. package/dist-types/commands/UpdateInstanceStorageConfigCommand.d.ts +1 -1
  41. package/dist-types/commands/UpdateViewContentCommand.d.ts +6 -4
  42. package/dist-types/commands/index.d.ts +2 -0
  43. package/dist-types/models/models_0.d.ts +368 -398
  44. package/dist-types/models/models_1.d.ts +409 -253
  45. package/dist-types/models/models_2.d.ts +229 -7
  46. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  47. package/dist-types/ts3.4/Connect.d.ts +40 -0
  48. package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
  49. package/dist-types/ts3.4/commands/BatchPutContactCommand.d.ts +38 -0
  50. package/dist-types/ts3.4/commands/CreatePersistentContactAssociationCommand.d.ts +42 -0
  51. package/dist-types/ts3.4/commands/DescribeTrafficDistributionGroupCommand.d.ts +2 -4
  52. package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/DescribeUserHierarchyGroupCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/DescribeUserHierarchyStructureCommand.d.ts +4 -2
  55. package/dist-types/ts3.4/commands/UpdateContactFlowModuleMetadataCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/UpdateContactFlowNameCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/UpdateContactScheduleCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/UpdateEvaluationFormCommand.d.ts +4 -2
  59. package/dist-types/ts3.4/commands/UpdateHoursOfOperationCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/UpdateInstanceAttributeCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/UpdateInstanceStorageConfigCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  63. package/dist-types/ts3.4/models/models_0.d.ts +77 -83
  64. package/dist-types/ts3.4/models/models_1.d.ts +81 -67
  65. package/dist-types/ts3.4/models/models_2.d.ts +62 -2
  66. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  67. package/package.json +1 -1
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>
@@ -388,6 +396,14 @@ CreateParticipant
388
396
 
389
397
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/createparticipantcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/createparticipantcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/createparticipantcommandoutput.html)
390
398
 
399
+ </details>
400
+ <details>
401
+ <summary>
402
+ CreatePersistentContactAssociation
403
+ </summary>
404
+
405
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/createpersistentcontactassociationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/createpersistentcontactassociationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/createpersistentcontactassociationcommandoutput.html)
406
+
391
407
  </details>
392
408
  <details>
393
409
  <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");
@@ -24,6 +25,7 @@ const CreateHoursOfOperationCommand_1 = require("./commands/CreateHoursOfOperati
24
25
  const CreateInstanceCommand_1 = require("./commands/CreateInstanceCommand");
25
26
  const CreateIntegrationAssociationCommand_1 = require("./commands/CreateIntegrationAssociationCommand");
26
27
  const CreateParticipantCommand_1 = require("./commands/CreateParticipantCommand");
28
+ const CreatePersistentContactAssociationCommand_1 = require("./commands/CreatePersistentContactAssociationCommand");
27
29
  const CreatePromptCommand_1 = require("./commands/CreatePromptCommand");
28
30
  const CreateQueueCommand_1 = require("./commands/CreateQueueCommand");
29
31
  const CreateQuickConnectCommand_1 = require("./commands/CreateQuickConnectCommand");
@@ -229,6 +231,7 @@ const commands = {
229
231
  AssociateSecurityKeyCommand: AssociateSecurityKeyCommand_1.AssociateSecurityKeyCommand,
230
232
  AssociateTrafficDistributionGroupUserCommand: AssociateTrafficDistributionGroupUserCommand_1.AssociateTrafficDistributionGroupUserCommand,
231
233
  BatchGetFlowAssociationCommand: BatchGetFlowAssociationCommand_1.BatchGetFlowAssociationCommand,
234
+ BatchPutContactCommand: BatchPutContactCommand_1.BatchPutContactCommand,
232
235
  ClaimPhoneNumberCommand: ClaimPhoneNumberCommand_1.ClaimPhoneNumberCommand,
233
236
  CreateAgentStatusCommand: CreateAgentStatusCommand_1.CreateAgentStatusCommand,
234
237
  CreateContactFlowCommand: CreateContactFlowCommand_1.CreateContactFlowCommand,
@@ -238,6 +241,7 @@ const commands = {
238
241
  CreateInstanceCommand: CreateInstanceCommand_1.CreateInstanceCommand,
239
242
  CreateIntegrationAssociationCommand: CreateIntegrationAssociationCommand_1.CreateIntegrationAssociationCommand,
240
243
  CreateParticipantCommand: CreateParticipantCommand_1.CreateParticipantCommand,
244
+ CreatePersistentContactAssociationCommand: CreatePersistentContactAssociationCommand_1.CreatePersistentContactAssociationCommand,
241
245
  CreatePromptCommand: CreatePromptCommand_1.CreatePromptCommand,
242
246
  CreateQueueCommand: CreateQueueCommand_1.CreateQueueCommand,
243
247
  CreateQuickConnectCommand: CreateQuickConnectCommand_1.CreateQuickConnectCommand,
@@ -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;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreatePersistentContactAssociationCommand = 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 CreatePersistentContactAssociationCommand 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, CreatePersistentContactAssociationCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "ConnectClient";
29
+ const commandName = "CreatePersistentContactAssociationCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonConnectService",
38
+ operation: "CreatePersistentContactAssociation",
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_CreatePersistentContactAssociationCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_CreatePersistentContactAssociationCommand)(output, context);
49
+ }
50
+ }
51
+ exports.CreatePersistentContactAssociationCommand = CreatePersistentContactAssociationCommand;
@@ -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);
@@ -23,6 +24,7 @@ tslib_1.__exportStar(require("./CreateHoursOfOperationCommand"), exports);
23
24
  tslib_1.__exportStar(require("./CreateInstanceCommand"), exports);
24
25
  tslib_1.__exportStar(require("./CreateIntegrationAssociationCommand"), exports);
25
26
  tslib_1.__exportStar(require("./CreateParticipantCommand"), exports);
27
+ tslib_1.__exportStar(require("./CreatePersistentContactAssociationCommand"), exports);
26
28
  tslib_1.__exportStar(require("./CreatePromptCommand"), exports);
27
29
  tslib_1.__exportStar(require("./CreateQueueCommand"), exports);
28
30
  tslib_1.__exportStar(require("./CreateQuickConnectCommand"), exports);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TaskTemplateStatus = exports.TaskTemplateFieldType = exports.EventSourceName = exports.RulePublishStatus = exports.ReferenceType = exports.NotificationDeliveryType = exports.NotificationContentType = exports.BehaviorType = exports.QuickConnectType = 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 = 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({
@@ -387,6 +404,10 @@ exports.ParticipantRole = {
387
404
  CUSTOM_BOT: "CUSTOM_BOT",
388
405
  SYSTEM: "SYSTEM",
389
406
  };
407
+ exports.RehydrationType = {
408
+ ENTIRE_PAST_SESSION: "ENTIRE_PAST_SESSION",
409
+ FROM_SEGMENT: "FROM_SEGMENT",
410
+ };
390
411
  exports.QuickConnectType = {
391
412
  PHONE_NUMBER: "PHONE_NUMBER",
392
413
  QUEUE: "QUEUE",
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ReplicateInstanceRequestFilterSensitiveLog = exports.ListViewVersionsResponseFilterSensitiveLog = exports.ViewVersionSummaryFilterSensitiveLog = exports.ListViewsResponseFilterSensitiveLog = exports.ViewSummaryFilterSensitiveLog = exports.ListInstancesResponseFilterSensitiveLog = exports.InstanceSummaryFilterSensitiveLog = exports.GetFederationTokenResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.DescribeViewResponseFilterSensitiveLog = exports.ParticipantTimerType = exports.TimerEligibleParticipantRoles = exports.ContactNotFoundException = exports.TrafficType = exports.OutboundContactNotPermittedException = exports.DestinationNotAllowedException = exports.VoiceRecordingTrack = exports.RehydrationType = exports.HierarchyGroupMatchType = exports.MaximumResultReturnedException = exports.SearchableQueueType = exports.StringComparisonType = exports.QueueType = exports.ReferenceSummary = exports.ReferenceStatus = exports.LexVersion = exports.IntervalPeriod = exports.Comparison = exports.Statistic = exports.HistoricalMetricName = exports.UserNotFoundException = exports.SortOrder = exports.Grouping = exports.Unit = exports.CurrentMetricName = void 0;
3
+ exports.ReplicateInstanceRequestFilterSensitiveLog = exports.ListViewVersionsResponseFilterSensitiveLog = exports.ViewVersionSummaryFilterSensitiveLog = exports.ListViewsResponseFilterSensitiveLog = exports.ViewSummaryFilterSensitiveLog = exports.ListInstancesResponseFilterSensitiveLog = exports.InstanceSummaryFilterSensitiveLog = exports.GetFederationTokenResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.DescribeViewResponseFilterSensitiveLog = exports.ContactNotFoundException = exports.TrafficType = exports.OutboundContactNotPermittedException = exports.DestinationNotAllowedException = exports.VoiceRecordingTrack = exports.HierarchyGroupMatchType = exports.MaximumResultReturnedException = exports.SearchableQueueType = exports.StringComparisonType = exports.QueueType = exports.ReferenceSummary = exports.ReferenceStatus = exports.LexVersion = exports.IntervalPeriod = exports.Comparison = exports.Statistic = exports.HistoricalMetricName = exports.UserNotFoundException = exports.SortOrder = exports.Grouping = exports.Unit = exports.CurrentMetricName = void 0;
4
4
  const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const ConnectServiceException_1 = require("./ConnectServiceException");
6
6
  const models_0_1 = require("./models_0");
@@ -146,10 +146,6 @@ exports.HierarchyGroupMatchType = {
146
146
  EXACT: "EXACT",
147
147
  WITH_CHILD_GROUPS: "WITH_CHILD_GROUPS",
148
148
  };
149
- exports.RehydrationType = {
150
- ENTIRE_PAST_SESSION: "ENTIRE_PAST_SESSION",
151
- FROM_SEGMENT: "FROM_SEGMENT",
152
- };
153
149
  exports.VoiceRecordingTrack = {
154
150
  ALL: "ALL",
155
151
  FROM_AGENT: "FROM_AGENT",
@@ -201,14 +197,6 @@ class ContactNotFoundException extends ConnectServiceException_1.ConnectServiceE
201
197
  }
202
198
  }
203
199
  exports.ContactNotFoundException = ContactNotFoundException;
204
- exports.TimerEligibleParticipantRoles = {
205
- AGENT: "AGENT",
206
- CUSTOMER: "CUSTOMER",
207
- };
208
- exports.ParticipantTimerType = {
209
- DISCONNECT_NONCUSTOMER: "DISCONNECT_NONCUSTOMER",
210
- IDLE: "IDLE",
211
- };
212
200
  const DescribeViewResponseFilterSensitiveLog = (obj) => ({
213
201
  ...obj,
214
202
  ...(obj.View && { View: (0, models_0_1.ViewFilterSensitiveLog)(obj.View) }),
@@ -1,8 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateViewMetadataRequestFilterSensitiveLog = exports.UpdateViewContentResponseFilterSensitiveLog = exports.UpdateViewContentRequestFilterSensitiveLog = exports.EvaluationFormItem = exports.UpdateParticipantRoleConfigChannelInfo = exports.ParticipantTimerValue = exports.ParticipantTimerAction = void 0;
3
+ exports.UpdateViewMetadataRequestFilterSensitiveLog = exports.UpdateViewContentResponseFilterSensitiveLog = exports.UpdateViewContentRequestFilterSensitiveLog = exports.EvaluationFormItem = exports.UpdateParticipantRoleConfigChannelInfo = exports.ParticipantTimerValue = exports.ParticipantTimerAction = exports.ParticipantTimerType = exports.TimerEligibleParticipantRoles = void 0;
4
4
  const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const models_0_1 = require("./models_0");
6
+ exports.TimerEligibleParticipantRoles = {
7
+ AGENT: "AGENT",
8
+ CUSTOMER: "CUSTOMER",
9
+ };
10
+ exports.ParticipantTimerType = {
11
+ DISCONNECT_NONCUSTOMER: "DISCONNECT_NONCUSTOMER",
12
+ IDLE: "IDLE",
13
+ };
6
14
  exports.ParticipantTimerAction = {
7
15
  Unset: "Unset",
8
16
  };
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.se_DeleteSecurityProfileCommand = 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_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_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_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 = void 0;
5
- 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_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 = void 0;
6
- exports.se_UpdateRuleCommand = 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 = void 0;
7
- exports.de_DeleteContactEvaluationCommand = exports.de_DeactivateEvaluationFormCommand = 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_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 = void 0;
8
- 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_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 = void 0;
9
- exports.de_ListUsersCommand = exports.de_ListUserHierarchyGroupsCommand = 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 = void 0;
10
- exports.de_UpdateQueueHoursOfOperationCommand = exports.de_UpdatePromptCommand = 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 = 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 = 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 = {
@@ -552,6 +575,32 @@ const se_CreateParticipantCommand = async (input, context) => {
552
575
  });
553
576
  };
554
577
  exports.se_CreateParticipantCommand = se_CreateParticipantCommand;
578
+ const se_CreatePersistentContactAssociationCommand = async (input, context) => {
579
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
580
+ const headers = {
581
+ "content-type": "application/json",
582
+ };
583
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
584
+ "/contact/persistent-contact-association/{InstanceId}/{InitialContactId}";
585
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "InstanceId", () => input.InstanceId, "{InstanceId}", false);
586
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "InitialContactId", () => input.InitialContactId, "{InitialContactId}", false);
587
+ let body;
588
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
589
+ ClientToken: [],
590
+ RehydrationType: [],
591
+ SourceContactId: [],
592
+ }));
593
+ return new protocol_http_1.HttpRequest({
594
+ protocol,
595
+ hostname,
596
+ port,
597
+ method: "POST",
598
+ headers,
599
+ path: resolvedPath,
600
+ body,
601
+ });
602
+ };
603
+ exports.se_CreatePersistentContactAssociationCommand = se_CreatePersistentContactAssociationCommand;
555
604
  const se_CreatePromptCommand = async (input, context) => {
556
605
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
557
606
  const headers = {
@@ -3675,6 +3724,7 @@ const se_StopContactCommand = async (input, context) => {
3675
3724
  let body;
3676
3725
  body = JSON.stringify((0, smithy_client_1.take)(input, {
3677
3726
  ContactId: [],
3727
+ DisconnectReason: (_) => (0, smithy_client_1._json)(_),
3678
3728
  InstanceId: [],
3679
3729
  }));
3680
3730
  return new protocol_http_1.HttpRequest({
@@ -5523,6 +5573,56 @@ const de_BatchGetFlowAssociationCommandError = async (output, context) => {
5523
5573
  });
5524
5574
  }
5525
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
+ };
5526
5626
  const de_ClaimPhoneNumberCommand = async (output, context) => {
5527
5627
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5528
5628
  return de_ClaimPhoneNumberCommandError(output, context);
@@ -5988,6 +6088,55 @@ const de_CreateParticipantCommandError = async (output, context) => {
5988
6088
  });
5989
6089
  }
5990
6090
  };
6091
+ const de_CreatePersistentContactAssociationCommand = async (output, context) => {
6092
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
6093
+ return de_CreatePersistentContactAssociationCommandError(output, context);
6094
+ }
6095
+ const contents = (0, smithy_client_1.map)({
6096
+ $metadata: deserializeMetadata(output),
6097
+ });
6098
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6099
+ const doc = (0, smithy_client_1.take)(data, {
6100
+ ContinuedFromContactId: smithy_client_1.expectString,
6101
+ });
6102
+ Object.assign(contents, doc);
6103
+ return contents;
6104
+ };
6105
+ exports.de_CreatePersistentContactAssociationCommand = de_CreatePersistentContactAssociationCommand;
6106
+ const de_CreatePersistentContactAssociationCommandError = async (output, context) => {
6107
+ const parsedOutput = {
6108
+ ...output,
6109
+ body: await parseErrorBody(output.body, context),
6110
+ };
6111
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
6112
+ switch (errorCode) {
6113
+ case "AccessDeniedException":
6114
+ case "com.amazonaws.connect#AccessDeniedException":
6115
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
6116
+ case "InternalServiceException":
6117
+ case "com.amazonaws.connect#InternalServiceException":
6118
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
6119
+ case "InvalidParameterException":
6120
+ case "com.amazonaws.connect#InvalidParameterException":
6121
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
6122
+ case "InvalidRequestException":
6123
+ case "com.amazonaws.connect#InvalidRequestException":
6124
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
6125
+ case "ResourceNotFoundException":
6126
+ case "com.amazonaws.connect#ResourceNotFoundException":
6127
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
6128
+ case "ThrottlingException":
6129
+ case "com.amazonaws.connect#ThrottlingException":
6130
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
6131
+ default:
6132
+ const parsedBody = parsedOutput.body;
6133
+ return throwDefaultError({
6134
+ output,
6135
+ parsedBody,
6136
+ errorCode,
6137
+ });
6138
+ }
6139
+ };
5991
6140
  const de_CreatePromptCommand = async (output, context) => {
5992
6141
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5993
6142
  return de_CreatePromptCommandError(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";
@@ -21,6 +22,7 @@ import { CreateHoursOfOperationCommand, } from "./commands/CreateHoursOfOperatio
21
22
  import { CreateInstanceCommand, } from "./commands/CreateInstanceCommand";
22
23
  import { CreateIntegrationAssociationCommand, } from "./commands/CreateIntegrationAssociationCommand";
23
24
  import { CreateParticipantCommand, } from "./commands/CreateParticipantCommand";
25
+ import { CreatePersistentContactAssociationCommand, } from "./commands/CreatePersistentContactAssociationCommand";
24
26
  import { CreatePromptCommand, } from "./commands/CreatePromptCommand";
25
27
  import { CreateQueueCommand } from "./commands/CreateQueueCommand";
26
28
  import { CreateQuickConnectCommand, } from "./commands/CreateQuickConnectCommand";
@@ -226,6 +228,7 @@ const commands = {
226
228
  AssociateSecurityKeyCommand,
227
229
  AssociateTrafficDistributionGroupUserCommand,
228
230
  BatchGetFlowAssociationCommand,
231
+ BatchPutContactCommand,
229
232
  ClaimPhoneNumberCommand,
230
233
  CreateAgentStatusCommand,
231
234
  CreateContactFlowCommand,
@@ -235,6 +238,7 @@ const commands = {
235
238
  CreateInstanceCommand,
236
239
  CreateIntegrationAssociationCommand,
237
240
  CreateParticipantCommand,
241
+ CreatePersistentContactAssociationCommand,
238
242
  CreatePromptCommand,
239
243
  CreateQueueCommand,
240
244
  CreateQuickConnectCommand,