@aws-sdk/client-connect 3.442.0 → 3.443.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 (44) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/Connect.js +2 -0
  3. package/dist-cjs/commands/CreatePersistentContactAssociationCommand.js +51 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/models/models_0.js +6 -2
  6. package/dist-cjs/models/models_1.js +1 -13
  7. package/dist-cjs/models/models_2.js +9 -1
  8. package/dist-cjs/protocols/Aws_restJson1.js +84 -9
  9. package/dist-es/Connect.js +2 -0
  10. package/dist-es/commands/CreatePersistentContactAssociationCommand.js +47 -0
  11. package/dist-es/commands/index.js +1 -0
  12. package/dist-es/models/models_0.js +4 -0
  13. package/dist-es/models/models_1.js +0 -12
  14. package/dist-es/models/models_2.js +8 -0
  15. package/dist-es/protocols/Aws_restJson1.js +73 -0
  16. package/dist-types/Connect.d.ts +7 -0
  17. package/dist-types/ConnectClient.d.ts +3 -2
  18. package/dist-types/commands/CreatePersistentContactAssociationCommand.d.ts +98 -0
  19. package/dist-types/commands/CreateViewCommand.d.ts +7 -5
  20. package/dist-types/commands/CreateViewVersionCommand.d.ts +3 -3
  21. package/dist-types/commands/DeleteViewCommand.d.ts +2 -1
  22. package/dist-types/commands/DescribeUserHierarchyGroupCommand.d.ts +2 -1
  23. package/dist-types/commands/DescribeUserHierarchyStructureCommand.d.ts +1 -2
  24. package/dist-types/commands/DescribeViewCommand.d.ts +4 -4
  25. package/dist-types/commands/ListViewVersionsCommand.d.ts +2 -1
  26. package/dist-types/commands/ReplicateInstanceCommand.d.ts +2 -3
  27. package/dist-types/commands/SuspendContactRecordingCommand.d.ts +3 -3
  28. package/dist-types/commands/UpdateViewContentCommand.d.ts +6 -4
  29. package/dist-types/commands/index.d.ts +1 -0
  30. package/dist-types/models/models_0.d.ts +180 -72
  31. package/dist-types/models/models_1.d.ts +78 -59
  32. package/dist-types/models/models_2.d.ts +34 -6
  33. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  34. package/dist-types/ts3.4/Connect.d.ts +23 -0
  35. package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
  36. package/dist-types/ts3.4/commands/CreatePersistentContactAssociationCommand.d.ts +42 -0
  37. package/dist-types/ts3.4/commands/DescribeUserHierarchyGroupCommand.d.ts +2 -4
  38. package/dist-types/ts3.4/commands/DescribeUserHierarchyStructureCommand.d.ts +4 -2
  39. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  40. package/dist-types/ts3.4/models/models_0.d.ts +16 -13
  41. package/dist-types/ts3.4/models/models_1.d.ts +15 -19
  42. package/dist-types/ts3.4/models/models_2.d.ts +12 -2
  43. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  44. package/package.json +1 -1
package/README.md CHANGED
@@ -388,6 +388,14 @@ CreateParticipant
388
388
 
389
389
  [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
390
 
391
+ </details>
392
+ <details>
393
+ <summary>
394
+ CreatePersistentContactAssociation
395
+ </summary>
396
+
397
+ [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)
398
+
391
399
  </details>
392
400
  <details>
393
401
  <summary>
@@ -24,6 +24,7 @@ const CreateHoursOfOperationCommand_1 = require("./commands/CreateHoursOfOperati
24
24
  const CreateInstanceCommand_1 = require("./commands/CreateInstanceCommand");
25
25
  const CreateIntegrationAssociationCommand_1 = require("./commands/CreateIntegrationAssociationCommand");
26
26
  const CreateParticipantCommand_1 = require("./commands/CreateParticipantCommand");
27
+ const CreatePersistentContactAssociationCommand_1 = require("./commands/CreatePersistentContactAssociationCommand");
27
28
  const CreatePromptCommand_1 = require("./commands/CreatePromptCommand");
28
29
  const CreateQueueCommand_1 = require("./commands/CreateQueueCommand");
29
30
  const CreateQuickConnectCommand_1 = require("./commands/CreateQuickConnectCommand");
@@ -238,6 +239,7 @@ const commands = {
238
239
  CreateInstanceCommand: CreateInstanceCommand_1.CreateInstanceCommand,
239
240
  CreateIntegrationAssociationCommand: CreateIntegrationAssociationCommand_1.CreateIntegrationAssociationCommand,
240
241
  CreateParticipantCommand: CreateParticipantCommand_1.CreateParticipantCommand,
242
+ CreatePersistentContactAssociationCommand: CreatePersistentContactAssociationCommand_1.CreatePersistentContactAssociationCommand,
241
243
  CreatePromptCommand: CreatePromptCommand_1.CreatePromptCommand,
242
244
  CreateQueueCommand: CreateQueueCommand_1.CreateQueueCommand,
243
245
  CreateQuickConnectCommand: CreateQuickConnectCommand_1.CreateQuickConnectCommand,
@@ -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;
@@ -23,6 +23,7 @@ tslib_1.__exportStar(require("./CreateHoursOfOperationCommand"), exports);
23
23
  tslib_1.__exportStar(require("./CreateInstanceCommand"), exports);
24
24
  tslib_1.__exportStar(require("./CreateIntegrationAssociationCommand"), exports);
25
25
  tslib_1.__exportStar(require("./CreateParticipantCommand"), exports);
26
+ tslib_1.__exportStar(require("./CreatePersistentContactAssociationCommand"), exports);
26
27
  tslib_1.__exportStar(require("./CreatePromptCommand"), exports);
27
28
  tslib_1.__exportStar(require("./CreateQueueCommand"), exports);
28
29
  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.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;
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 {
@@ -387,6 +387,10 @@ exports.ParticipantRole = {
387
387
  CUSTOM_BOT: "CUSTOM_BOT",
388
388
  SYSTEM: "SYSTEM",
389
389
  };
390
+ exports.RehydrationType = {
391
+ ENTIRE_PAST_SESSION: "ENTIRE_PAST_SESSION",
392
+ FROM_SEGMENT: "FROM_SEGMENT",
393
+ };
390
394
  exports.QuickConnectType = {
391
395
  PHONE_NUMBER: "PHONE_NUMBER",
392
396
  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_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;
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");
@@ -552,6 +552,32 @@ const se_CreateParticipantCommand = async (input, context) => {
552
552
  });
553
553
  };
554
554
  exports.se_CreateParticipantCommand = se_CreateParticipantCommand;
555
+ const se_CreatePersistentContactAssociationCommand = async (input, context) => {
556
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
557
+ const headers = {
558
+ "content-type": "application/json",
559
+ };
560
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
561
+ "/contact/persistent-contact-association/{InstanceId}/{InitialContactId}";
562
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "InstanceId", () => input.InstanceId, "{InstanceId}", false);
563
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "InitialContactId", () => input.InitialContactId, "{InitialContactId}", false);
564
+ let body;
565
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
566
+ ClientToken: [],
567
+ RehydrationType: [],
568
+ SourceContactId: [],
569
+ }));
570
+ return new protocol_http_1.HttpRequest({
571
+ protocol,
572
+ hostname,
573
+ port,
574
+ method: "POST",
575
+ headers,
576
+ path: resolvedPath,
577
+ body,
578
+ });
579
+ };
580
+ exports.se_CreatePersistentContactAssociationCommand = se_CreatePersistentContactAssociationCommand;
555
581
  const se_CreatePromptCommand = async (input, context) => {
556
582
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
557
583
  const headers = {
@@ -5988,6 +6014,55 @@ const de_CreateParticipantCommandError = async (output, context) => {
5988
6014
  });
5989
6015
  }
5990
6016
  };
6017
+ const de_CreatePersistentContactAssociationCommand = async (output, context) => {
6018
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
6019
+ return de_CreatePersistentContactAssociationCommandError(output, context);
6020
+ }
6021
+ const contents = (0, smithy_client_1.map)({
6022
+ $metadata: deserializeMetadata(output),
6023
+ });
6024
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6025
+ const doc = (0, smithy_client_1.take)(data, {
6026
+ ContinuedFromContactId: smithy_client_1.expectString,
6027
+ });
6028
+ Object.assign(contents, doc);
6029
+ return contents;
6030
+ };
6031
+ exports.de_CreatePersistentContactAssociationCommand = de_CreatePersistentContactAssociationCommand;
6032
+ const de_CreatePersistentContactAssociationCommandError = async (output, context) => {
6033
+ const parsedOutput = {
6034
+ ...output,
6035
+ body: await parseErrorBody(output.body, context),
6036
+ };
6037
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
6038
+ switch (errorCode) {
6039
+ case "AccessDeniedException":
6040
+ case "com.amazonaws.connect#AccessDeniedException":
6041
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
6042
+ case "InternalServiceException":
6043
+ case "com.amazonaws.connect#InternalServiceException":
6044
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
6045
+ case "InvalidParameterException":
6046
+ case "com.amazonaws.connect#InvalidParameterException":
6047
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
6048
+ case "InvalidRequestException":
6049
+ case "com.amazonaws.connect#InvalidRequestException":
6050
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
6051
+ case "ResourceNotFoundException":
6052
+ case "com.amazonaws.connect#ResourceNotFoundException":
6053
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
6054
+ case "ThrottlingException":
6055
+ case "com.amazonaws.connect#ThrottlingException":
6056
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
6057
+ default:
6058
+ const parsedBody = parsedOutput.body;
6059
+ return throwDefaultError({
6060
+ output,
6061
+ parsedBody,
6062
+ errorCode,
6063
+ });
6064
+ }
6065
+ };
5991
6066
  const de_CreatePromptCommand = async (output, context) => {
5992
6067
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5993
6068
  return de_CreatePromptCommandError(output, context);
@@ -21,6 +21,7 @@ import { CreateHoursOfOperationCommand, } from "./commands/CreateHoursOfOperatio
21
21
  import { CreateInstanceCommand, } from "./commands/CreateInstanceCommand";
22
22
  import { CreateIntegrationAssociationCommand, } from "./commands/CreateIntegrationAssociationCommand";
23
23
  import { CreateParticipantCommand, } from "./commands/CreateParticipantCommand";
24
+ import { CreatePersistentContactAssociationCommand, } from "./commands/CreatePersistentContactAssociationCommand";
24
25
  import { CreatePromptCommand, } from "./commands/CreatePromptCommand";
25
26
  import { CreateQueueCommand } from "./commands/CreateQueueCommand";
26
27
  import { CreateQuickConnectCommand, } from "./commands/CreateQuickConnectCommand";
@@ -235,6 +236,7 @@ const commands = {
235
236
  CreateInstanceCommand,
236
237
  CreateIntegrationAssociationCommand,
237
238
  CreateParticipantCommand,
239
+ CreatePersistentContactAssociationCommand,
238
240
  CreatePromptCommand,
239
241
  CreateQueueCommand,
240
242
  CreateQuickConnectCommand,
@@ -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_CreatePersistentContactAssociationCommand, se_CreatePersistentContactAssociationCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class CreatePersistentContactAssociationCommand 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, CreatePersistentContactAssociationCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "ConnectClient";
26
+ const commandName = "CreatePersistentContactAssociationCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonConnectService",
35
+ operation: "CreatePersistentContactAssociation",
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_CreatePersistentContactAssociationCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_CreatePersistentContactAssociationCommand(output, context);
46
+ }
47
+ }
@@ -20,6 +20,7 @@ export * from "./CreateHoursOfOperationCommand";
20
20
  export * from "./CreateInstanceCommand";
21
21
  export * from "./CreateIntegrationAssociationCommand";
22
22
  export * from "./CreateParticipantCommand";
23
+ export * from "./CreatePersistentContactAssociationCommand";
23
24
  export * from "./CreatePromptCommand";
24
25
  export * from "./CreateQueueCommand";
25
26
  export * from "./CreateQuickConnectCommand";
@@ -370,6 +370,10 @@ export const ParticipantRole = {
370
370
  CUSTOM_BOT: "CUSTOM_BOT",
371
371
  SYSTEM: "SYSTEM",
372
372
  };
373
+ export const RehydrationType = {
374
+ ENTIRE_PAST_SESSION: "ENTIRE_PAST_SESSION",
375
+ FROM_SEGMENT: "FROM_SEGMENT",
376
+ };
373
377
  export const QuickConnectType = {
374
378
  PHONE_NUMBER: "PHONE_NUMBER",
375
379
  QUEUE: "QUEUE",
@@ -141,10 +141,6 @@ export const HierarchyGroupMatchType = {
141
141
  EXACT: "EXACT",
142
142
  WITH_CHILD_GROUPS: "WITH_CHILD_GROUPS",
143
143
  };
144
- export const RehydrationType = {
145
- ENTIRE_PAST_SESSION: "ENTIRE_PAST_SESSION",
146
- FROM_SEGMENT: "FROM_SEGMENT",
147
- };
148
144
  export const VoiceRecordingTrack = {
149
145
  ALL: "ALL",
150
146
  FROM_AGENT: "FROM_AGENT",
@@ -193,14 +189,6 @@ export class ContactNotFoundException extends __BaseException {
193
189
  this.Message = opts.Message;
194
190
  }
195
191
  }
196
- export const TimerEligibleParticipantRoles = {
197
- AGENT: "AGENT",
198
- CUSTOMER: "CUSTOMER",
199
- };
200
- export const ParticipantTimerType = {
201
- DISCONNECT_NONCUSTOMER: "DISCONNECT_NONCUSTOMER",
202
- IDLE: "IDLE",
203
- };
204
192
  export const DescribeViewResponseFilterSensitiveLog = (obj) => ({
205
193
  ...obj,
206
194
  ...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
@@ -1,5 +1,13 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { ViewFilterSensitiveLog, ViewInputContentFilterSensitiveLog, } from "./models_0";
3
+ export const TimerEligibleParticipantRoles = {
4
+ AGENT: "AGENT",
5
+ CUSTOMER: "CUSTOMER",
6
+ };
7
+ export const ParticipantTimerType = {
8
+ DISCONNECT_NONCUSTOMER: "DISCONNECT_NONCUSTOMER",
9
+ IDLE: "IDLE",
10
+ };
3
11
  export const ParticipantTimerAction = {
4
12
  Unset: "Unset",
5
13
  };
@@ -519,6 +519,31 @@ export const se_CreateParticipantCommand = async (input, context) => {
519
519
  body,
520
520
  });
521
521
  };
522
+ export const se_CreatePersistentContactAssociationCommand = async (input, context) => {
523
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
524
+ const headers = {
525
+ "content-type": "application/json",
526
+ };
527
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
528
+ "/contact/persistent-contact-association/{InstanceId}/{InitialContactId}";
529
+ resolvedPath = __resolvedPath(resolvedPath, input, "InstanceId", () => input.InstanceId, "{InstanceId}", false);
530
+ resolvedPath = __resolvedPath(resolvedPath, input, "InitialContactId", () => input.InitialContactId, "{InitialContactId}", false);
531
+ let body;
532
+ body = JSON.stringify(take(input, {
533
+ ClientToken: [],
534
+ RehydrationType: [],
535
+ SourceContactId: [],
536
+ }));
537
+ return new __HttpRequest({
538
+ protocol,
539
+ hostname,
540
+ port,
541
+ method: "POST",
542
+ headers,
543
+ path: resolvedPath,
544
+ body,
545
+ });
546
+ };
522
547
  export const se_CreatePromptCommand = async (input, context) => {
523
548
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
524
549
  const headers = {
@@ -5743,6 +5768,54 @@ const de_CreateParticipantCommandError = async (output, context) => {
5743
5768
  });
5744
5769
  }
5745
5770
  };
5771
+ export const de_CreatePersistentContactAssociationCommand = async (output, context) => {
5772
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
5773
+ return de_CreatePersistentContactAssociationCommandError(output, context);
5774
+ }
5775
+ const contents = map({
5776
+ $metadata: deserializeMetadata(output),
5777
+ });
5778
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
5779
+ const doc = take(data, {
5780
+ ContinuedFromContactId: __expectString,
5781
+ });
5782
+ Object.assign(contents, doc);
5783
+ return contents;
5784
+ };
5785
+ const de_CreatePersistentContactAssociationCommandError = async (output, context) => {
5786
+ const parsedOutput = {
5787
+ ...output,
5788
+ body: await parseErrorBody(output.body, context),
5789
+ };
5790
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
5791
+ switch (errorCode) {
5792
+ case "AccessDeniedException":
5793
+ case "com.amazonaws.connect#AccessDeniedException":
5794
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
5795
+ case "InternalServiceException":
5796
+ case "com.amazonaws.connect#InternalServiceException":
5797
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
5798
+ case "InvalidParameterException":
5799
+ case "com.amazonaws.connect#InvalidParameterException":
5800
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
5801
+ case "InvalidRequestException":
5802
+ case "com.amazonaws.connect#InvalidRequestException":
5803
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
5804
+ case "ResourceNotFoundException":
5805
+ case "com.amazonaws.connect#ResourceNotFoundException":
5806
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
5807
+ case "ThrottlingException":
5808
+ case "com.amazonaws.connect#ThrottlingException":
5809
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
5810
+ default:
5811
+ const parsedBody = parsedOutput.body;
5812
+ return throwDefaultError({
5813
+ output,
5814
+ parsedBody,
5815
+ errorCode,
5816
+ });
5817
+ }
5818
+ };
5746
5819
  export const de_CreatePromptCommand = async (output, context) => {
5747
5820
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5748
5821
  return de_CreatePromptCommandError(output, context);
@@ -21,6 +21,7 @@ import { CreateHoursOfOperationCommandInput, CreateHoursOfOperationCommandOutput
21
21
  import { CreateInstanceCommandInput, CreateInstanceCommandOutput } from "./commands/CreateInstanceCommand";
22
22
  import { CreateIntegrationAssociationCommandInput, CreateIntegrationAssociationCommandOutput } from "./commands/CreateIntegrationAssociationCommand";
23
23
  import { CreateParticipantCommandInput, CreateParticipantCommandOutput } from "./commands/CreateParticipantCommand";
24
+ import { CreatePersistentContactAssociationCommandInput, CreatePersistentContactAssociationCommandOutput } from "./commands/CreatePersistentContactAssociationCommand";
24
25
  import { CreatePromptCommandInput, CreatePromptCommandOutput } from "./commands/CreatePromptCommand";
25
26
  import { CreateQueueCommandInput, CreateQueueCommandOutput } from "./commands/CreateQueueCommand";
26
27
  import { CreateQuickConnectCommandInput, CreateQuickConnectCommandOutput } from "./commands/CreateQuickConnectCommand";
@@ -345,6 +346,12 @@ export interface Connect {
345
346
  createParticipant(args: CreateParticipantCommandInput, options?: __HttpHandlerOptions): Promise<CreateParticipantCommandOutput>;
346
347
  createParticipant(args: CreateParticipantCommandInput, cb: (err: any, data?: CreateParticipantCommandOutput) => void): void;
347
348
  createParticipant(args: CreateParticipantCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateParticipantCommandOutput) => void): void;
349
+ /**
350
+ * @see {@link CreatePersistentContactAssociationCommand}
351
+ */
352
+ createPersistentContactAssociation(args: CreatePersistentContactAssociationCommandInput, options?: __HttpHandlerOptions): Promise<CreatePersistentContactAssociationCommandOutput>;
353
+ createPersistentContactAssociation(args: CreatePersistentContactAssociationCommandInput, cb: (err: any, data?: CreatePersistentContactAssociationCommandOutput) => void): void;
354
+ createPersistentContactAssociation(args: CreatePersistentContactAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePersistentContactAssociationCommandOutput) => void): void;
348
355
  /**
349
356
  * @see {@link CreatePromptCommand}
350
357
  */