@aws-sdk/client-connect 3.382.0 → 3.385.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 (35) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/Connect.js +2 -0
  3. package/dist-cjs/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.js +46 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/endpoint/ruleset.js +1 -1
  6. package/dist-cjs/models/models_0.js +6 -6
  7. package/dist-cjs/models/models_1.js +5 -1
  8. package/dist-cjs/protocols/Aws_restJson1.js +72 -5
  9. package/dist-es/Connect.js +2 -0
  10. package/dist-es/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.js +42 -0
  11. package/dist-es/commands/index.js +1 -0
  12. package/dist-es/endpoint/ruleset.js +1 -1
  13. package/dist-es/models/models_0.js +4 -4
  14. package/dist-es/models/models_1.js +4 -0
  15. package/dist-es/protocols/Aws_restJson1.js +65 -0
  16. package/dist-types/Connect.d.ts +7 -0
  17. package/dist-types/ConnectClient.d.ts +3 -2
  18. package/dist-types/commands/CreateRoutingProfileCommand.d.ts +1 -0
  19. package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +1 -0
  20. package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +1 -0
  21. package/dist-types/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.d.ts +92 -0
  22. package/dist-types/commands/index.d.ts +1 -0
  23. package/dist-types/models/models_0.d.ts +30 -12
  24. package/dist-types/models/models_1.d.ts +37 -67
  25. package/dist-types/models/models_2.d.ts +67 -1
  26. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  27. package/dist-types/ts3.4/Connect.d.ts +23 -0
  28. package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
  29. package/dist-types/ts3.4/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.d.ts +38 -0
  30. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +8 -5
  32. package/dist-types/ts3.4/models/models_1.d.ts +11 -15
  33. package/dist-types/ts3.4/models/models_2.d.ts +14 -2
  34. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  35. package/package.json +3 -3
package/README.md CHANGED
@@ -1660,6 +1660,14 @@ UpdateQuickConnectName
1660
1660
 
1661
1661
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/updatequickconnectnamecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/updatequickconnectnamecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/updatequickconnectnamecommandoutput.html)
1662
1662
 
1663
+ </details>
1664
+ <details>
1665
+ <summary>
1666
+ UpdateRoutingProfileAgentAvailabilityTimer
1667
+ </summary>
1668
+
1669
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/updateroutingprofileagentavailabilitytimercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/updateroutingprofileagentavailabilitytimercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/updateroutingprofileagentavailabilitytimercommandoutput.html)
1670
+
1663
1671
  </details>
1664
1672
  <details>
1665
1673
  <summary>
@@ -183,6 +183,7 @@ const UpdateQueueOutboundCallerConfigCommand_1 = require("./commands/UpdateQueue
183
183
  const UpdateQueueStatusCommand_1 = require("./commands/UpdateQueueStatusCommand");
184
184
  const UpdateQuickConnectConfigCommand_1 = require("./commands/UpdateQuickConnectConfigCommand");
185
185
  const UpdateQuickConnectNameCommand_1 = require("./commands/UpdateQuickConnectNameCommand");
186
+ const UpdateRoutingProfileAgentAvailabilityTimerCommand_1 = require("./commands/UpdateRoutingProfileAgentAvailabilityTimerCommand");
186
187
  const UpdateRoutingProfileConcurrencyCommand_1 = require("./commands/UpdateRoutingProfileConcurrencyCommand");
187
188
  const UpdateRoutingProfileDefaultOutboundQueueCommand_1 = require("./commands/UpdateRoutingProfileDefaultOutboundQueueCommand");
188
189
  const UpdateRoutingProfileNameCommand_1 = require("./commands/UpdateRoutingProfileNameCommand");
@@ -381,6 +382,7 @@ const commands = {
381
382
  UpdateQueueStatusCommand: UpdateQueueStatusCommand_1.UpdateQueueStatusCommand,
382
383
  UpdateQuickConnectConfigCommand: UpdateQuickConnectConfigCommand_1.UpdateQuickConnectConfigCommand,
383
384
  UpdateQuickConnectNameCommand: UpdateQuickConnectNameCommand_1.UpdateQuickConnectNameCommand,
385
+ UpdateRoutingProfileAgentAvailabilityTimerCommand: UpdateRoutingProfileAgentAvailabilityTimerCommand_1.UpdateRoutingProfileAgentAvailabilityTimerCommand,
384
386
  UpdateRoutingProfileConcurrencyCommand: UpdateRoutingProfileConcurrencyCommand_1.UpdateRoutingProfileConcurrencyCommand,
385
387
  UpdateRoutingProfileDefaultOutboundQueueCommand: UpdateRoutingProfileDefaultOutboundQueueCommand_1.UpdateRoutingProfileDefaultOutboundQueueCommand,
386
388
  UpdateRoutingProfileNameCommand: UpdateRoutingProfileNameCommand_1.UpdateRoutingProfileNameCommand,
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateRoutingProfileAgentAvailabilityTimerCommand = 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 Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class UpdateRoutingProfileAgentAvailabilityTimerCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
16
+ };
17
+ }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateRoutingProfileAgentAvailabilityTimerCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "ConnectClient";
28
+ const commandName = "UpdateRoutingProfileAgentAvailabilityTimerCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: (_) => _,
34
+ outputFilterSensitiveLog: (_) => _,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.se_UpdateRoutingProfileAgentAvailabilityTimerCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.de_UpdateRoutingProfileAgentAvailabilityTimerCommand)(output, context);
44
+ }
45
+ }
46
+ exports.UpdateRoutingProfileAgentAvailabilityTimerCommand = UpdateRoutingProfileAgentAvailabilityTimerCommand;
@@ -182,6 +182,7 @@ tslib_1.__exportStar(require("./UpdateQueueOutboundCallerConfigCommand"), export
182
182
  tslib_1.__exportStar(require("./UpdateQueueStatusCommand"), exports);
183
183
  tslib_1.__exportStar(require("./UpdateQuickConnectConfigCommand"), exports);
184
184
  tslib_1.__exportStar(require("./UpdateQuickConnectNameCommand"), exports);
185
+ tslib_1.__exportStar(require("./UpdateRoutingProfileAgentAvailabilityTimerCommand"), exports);
185
186
  tslib_1.__exportStar(require("./UpdateRoutingProfileConcurrencyCommand"), exports);
186
187
  tslib_1.__exportStar(require("./UpdateRoutingProfileDefaultOutboundQueueCommand"), exports);
187
188
  tslib_1.__exportStar(require("./UpdateRoutingProfileNameCommand"), exports);
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
4
  const s = "required", t = "fn", u = "argv", v = "ref";
5
5
  const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
6
- const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://connect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://connect.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://connect-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://connect.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://connect.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
6
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }, { conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ endpoint: { url: "https://connect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://connect.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://connect-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ endpoint: { url: "https://connect.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://connect.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
7
7
  exports.ruleSet = _data;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PropertyValidationException = exports.PropertyValidationExceptionReason = 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.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.ThrottlingException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.InvalidParameterException = exports.InternalServiceException = exports.ActionType = exports.AccessDeniedException = void 0;
4
- exports.DescribeInstanceResponseFilterSensitiveLog = exports.InstanceFilterSensitiveLog = exports.CreateInstanceRequestFilterSensitiveLog = exports.SortOrder = exports.Grouping = exports.Unit = exports.CurrentMetricName = 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.ResourceInUseException = exports.ResourceType = exports.VocabularyState = exports.PhoneType = exports.UseCaseType = exports.ResourceNotReadyException = void 0;
3
+ exports.PropertyValidationExceptionReason = 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.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.CreateInstanceRequestFilterSensitiveLog = exports.Grouping = exports.Unit = exports.CurrentMetricName = 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.ResourceInUseException = exports.ResourceType = exports.VocabularyState = exports.PhoneType = exports.UseCaseType = exports.ResourceNotReadyException = exports.PropertyValidationException = 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 {
@@ -94,6 +94,10 @@ class ThrottlingException extends ConnectServiceException_1.ConnectServiceExcept
94
94
  }
95
95
  }
96
96
  exports.ThrottlingException = ThrottlingException;
97
+ exports.AgentAvailabilityTimer = {
98
+ TIME_SINCE_LAST_ACTIVITY: "TIME_SINCE_LAST_ACTIVITY",
99
+ TIME_SINCE_LAST_INBOUND: "TIME_SINCE_LAST_INBOUND",
100
+ };
97
101
  exports.ContactState = {
98
102
  CONNECTED: "CONNECTED",
99
103
  CONNECTED_ONHOLD: "CONNECTED_ONHOLD",
@@ -860,10 +864,6 @@ exports.Grouping = {
860
864
  QUEUE: "QUEUE",
861
865
  ROUTING_PROFILE: "ROUTING_PROFILE",
862
866
  };
863
- exports.SortOrder = {
864
- ASCENDING: "ASCENDING",
865
- DESCENDING: "DESCENDING",
866
- };
867
867
  const CreateInstanceRequestFilterSensitiveLog = (obj) => ({
868
868
  ...obj,
869
869
  ...(obj.InstanceAlias && { InstanceAlias: smithy_client_1.SENSITIVE_STRING }),
@@ -1,8 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ReplicateInstanceRequestFilterSensitiveLog = exports.ListInstancesResponseFilterSensitiveLog = exports.InstanceSummaryFilterSensitiveLog = exports.GetFederationTokenResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.EvaluationFormItem = exports.UpdateParticipantRoleConfigChannelInfo = exports.ParticipantTimerValue = exports.ParticipantTimerAction = 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.Comparison = exports.Statistic = exports.HistoricalMetricName = exports.UserNotFoundException = void 0;
3
+ exports.ReplicateInstanceRequestFilterSensitiveLog = exports.ListInstancesResponseFilterSensitiveLog = exports.InstanceSummaryFilterSensitiveLog = exports.GetFederationTokenResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.EvaluationFormItem = exports.UpdateParticipantRoleConfigChannelInfo = exports.ParticipantTimerValue = exports.ParticipantTimerAction = 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.Comparison = exports.Statistic = exports.HistoricalMetricName = exports.UserNotFoundException = exports.SortOrder = void 0;
4
4
  const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const ConnectServiceException_1 = require("./ConnectServiceException");
6
+ exports.SortOrder = {
7
+ ASCENDING: "ASCENDING",
8
+ DESCENDING: "DESCENDING",
9
+ };
6
10
  class UserNotFoundException extends ConnectServiceException_1.ConnectServiceException {
7
11
  constructor(opts) {
8
12
  super({
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.se_DeleteUserCommand = exports.se_DeleteUseCaseCommand = exports.se_DeleteTrafficDistributionGroupCommand = exports.se_DeleteTaskTemplateCommand = 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_CreateUserHierarchyGroupCommand = exports.se_CreateUserCommand = exports.se_CreateUseCaseCommand = exports.se_CreateTrafficDistributionGroupCommand = exports.se_CreateTaskTemplateCommand = exports.se_CreateSecurityProfileCommand = exports.se_CreateRuleCommand = exports.se_CreateRoutingProfileCommand = exports.se_CreateQuickConnectCommand = exports.se_CreateQueueCommand = exports.se_CreatePromptCommand = exports.se_CreateParticipantCommand = exports.se_CreateIntegrationAssociationCommand = exports.se_CreateInstanceCommand = exports.se_CreateHoursOfOperationCommand = exports.se_CreateEvaluationFormCommand = exports.se_CreateContactFlowModuleCommand = exports.se_CreateContactFlowCommand = exports.se_CreateAgentStatusCommand = exports.se_ClaimPhoneNumberCommand = exports.se_AssociateSecurityKeyCommand = exports.se_AssociateRoutingProfileQueuesCommand = exports.se_AssociateQueueQuickConnectsCommand = exports.se_AssociatePhoneNumberContactFlowCommand = exports.se_AssociateLexBotCommand = exports.se_AssociateLambdaFunctionCommand = exports.se_AssociateInstanceStorageConfigCommand = exports.se_AssociateDefaultVocabularyCommand = exports.se_AssociateBotCommand = exports.se_AssociateApprovedOriginCommand = exports.se_ActivateEvaluationFormCommand = void 0;
4
4
  exports.se_ListContactReferencesCommand = exports.se_ListContactFlowsCommand = exports.se_ListContactFlowModulesCommand = exports.se_ListContactEvaluationsCommand = exports.se_ListBotsCommand = exports.se_ListApprovedOriginsCommand = exports.se_ListAgentStatusesCommand = exports.se_GetTrafficDistributionCommand = exports.se_GetTaskTemplateCommand = exports.se_GetPromptFileCommand = exports.se_GetMetricDataV2Command = exports.se_GetMetricDataCommand = exports.se_GetFederationTokenCommand = exports.se_GetCurrentUserDataCommand = exports.se_GetCurrentMetricDataCommand = exports.se_GetContactAttributesCommand = exports.se_DismissUserContactCommand = exports.se_DisassociateSecurityKeyCommand = exports.se_DisassociateRoutingProfileQueuesCommand = exports.se_DisassociateQueueQuickConnectsCommand = exports.se_DisassociatePhoneNumberContactFlowCommand = exports.se_DisassociateLexBotCommand = exports.se_DisassociateLambdaFunctionCommand = exports.se_DisassociateInstanceStorageConfigCommand = exports.se_DisassociateBotCommand = exports.se_DisassociateApprovedOriginCommand = exports.se_DescribeVocabularyCommand = exports.se_DescribeUserHierarchyStructureCommand = exports.se_DescribeUserHierarchyGroupCommand = exports.se_DescribeUserCommand = exports.se_DescribeTrafficDistributionGroupCommand = exports.se_DescribeSecurityProfileCommand = exports.se_DescribeRuleCommand = exports.se_DescribeRoutingProfileCommand = exports.se_DescribeQuickConnectCommand = exports.se_DescribeQueueCommand = exports.se_DescribePromptCommand = exports.se_DescribePhoneNumberCommand = exports.se_DescribeInstanceStorageConfigCommand = exports.se_DescribeInstanceAttributeCommand = exports.se_DescribeInstanceCommand = exports.se_DescribeHoursOfOperationCommand = exports.se_DescribeEvaluationFormCommand = exports.se_DescribeContactFlowModuleCommand = exports.se_DescribeContactFlowCommand = exports.se_DescribeContactEvaluationCommand = exports.se_DescribeContactCommand = exports.se_DescribeAgentStatusCommand = exports.se_DeleteVocabularyCommand = exports.se_DeleteUserHierarchyGroupCommand = void 0;
5
5
  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 = exports.se_SearchPromptsCommand = exports.se_SearchHoursOfOperationsCommand = exports.se_SearchAvailablePhoneNumbersCommand = exports.se_ResumeContactRecordingCommand = exports.se_ReplicateInstanceCommand = exports.se_ReleasePhoneNumberCommand = exports.se_PutUserStatusCommand = exports.se_MonitorContactCommand = exports.se_ListUsersCommand = exports.se_ListUserHierarchyGroupsCommand = exports.se_ListUseCasesCommand = exports.se_ListTrafficDistributionGroupsCommand = exports.se_ListTaskTemplatesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSecurityProfilesCommand = exports.se_ListSecurityProfilePermissionsCommand = exports.se_ListSecurityKeysCommand = exports.se_ListRulesCommand = exports.se_ListRoutingProfilesCommand = exports.se_ListRoutingProfileQueuesCommand = exports.se_ListQuickConnectsCommand = exports.se_ListQueuesCommand = exports.se_ListQueueQuickConnectsCommand = exports.se_ListPromptsCommand = exports.se_ListPhoneNumbersV2Command = exports.se_ListPhoneNumbersCommand = exports.se_ListLexBotsCommand = exports.se_ListLambdaFunctionsCommand = exports.se_ListIntegrationAssociationsCommand = exports.se_ListInstanceStorageConfigsCommand = exports.se_ListInstancesCommand = exports.se_ListInstanceAttributesCommand = exports.se_ListHoursOfOperationsCommand = exports.se_ListEvaluationFormVersionsCommand = exports.se_ListEvaluationFormsCommand = exports.se_ListDefaultVocabulariesCommand = void 0;
6
- exports.de_AssociateDefaultVocabularyCommand = exports.de_AssociateBotCommand = exports.de_AssociateApprovedOriginCommand = exports.de_ActivateEvaluationFormCommand = exports.se_UpdateUserSecurityProfilesCommand = exports.se_UpdateUserRoutingProfileCommand = exports.se_UpdateUserPhoneConfigCommand = exports.se_UpdateUserIdentityInfoCommand = exports.se_UpdateUserHierarchyStructureCommand = exports.se_UpdateUserHierarchyGroupNameCommand = exports.se_UpdateUserHierarchyCommand = exports.se_UpdateTrafficDistributionCommand = exports.se_UpdateTaskTemplateCommand = exports.se_UpdateSecurityProfileCommand = exports.se_UpdateRuleCommand = exports.se_UpdateRoutingProfileQueuesCommand = exports.se_UpdateRoutingProfileNameCommand = exports.se_UpdateRoutingProfileDefaultOutboundQueueCommand = exports.se_UpdateRoutingProfileConcurrencyCommand = exports.se_UpdateQuickConnectNameCommand = exports.se_UpdateQuickConnectConfigCommand = exports.se_UpdateQueueStatusCommand = exports.se_UpdateQueueOutboundCallerConfigCommand = exports.se_UpdateQueueNameCommand = exports.se_UpdateQueueMaxContactsCommand = exports.se_UpdateQueueHoursOfOperationCommand = exports.se_UpdatePromptCommand = exports.se_UpdatePhoneNumberCommand = exports.se_UpdateParticipantRoleConfigCommand = exports.se_UpdateInstanceStorageConfigCommand = exports.se_UpdateInstanceAttributeCommand = exports.se_UpdateHoursOfOperationCommand = exports.se_UpdateEvaluationFormCommand = exports.se_UpdateContactScheduleCommand = exports.se_UpdateContactFlowNameCommand = exports.se_UpdateContactFlowModuleMetadataCommand = exports.se_UpdateContactFlowModuleContentCommand = exports.se_UpdateContactFlowMetadataCommand = exports.se_UpdateContactFlowContentCommand = exports.se_UpdateContactEvaluationCommand = exports.se_UpdateContactAttributesCommand = exports.se_UpdateContactCommand = exports.se_UpdateAgentStatusCommand = exports.se_UntagResourceCommand = exports.se_TransferContactCommand = exports.se_TagResourceCommand = exports.se_SuspendContactRecordingCommand = exports.se_SubmitContactEvaluationCommand = exports.se_StopContactStreamingCommand = exports.se_StopContactRecordingCommand = void 0;
7
- exports.de_DescribeContactCommand = exports.de_DescribeAgentStatusCommand = exports.de_DeleteVocabularyCommand = exports.de_DeleteUserHierarchyGroupCommand = exports.de_DeleteUserCommand = exports.de_DeleteUseCaseCommand = exports.de_DeleteTrafficDistributionGroupCommand = exports.de_DeleteTaskTemplateCommand = exports.de_DeleteSecurityProfileCommand = exports.de_DeleteRuleCommand = exports.de_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_CreateUserHierarchyGroupCommand = exports.de_CreateUserCommand = exports.de_CreateUseCaseCommand = exports.de_CreateTrafficDistributionGroupCommand = exports.de_CreateTaskTemplateCommand = exports.de_CreateSecurityProfileCommand = exports.de_CreateRuleCommand = exports.de_CreateRoutingProfileCommand = exports.de_CreateQuickConnectCommand = exports.de_CreateQueueCommand = exports.de_CreatePromptCommand = exports.de_CreateParticipantCommand = exports.de_CreateIntegrationAssociationCommand = exports.de_CreateInstanceCommand = exports.de_CreateHoursOfOperationCommand = exports.de_CreateEvaluationFormCommand = exports.de_CreateContactFlowModuleCommand = exports.de_CreateContactFlowCommand = exports.de_CreateAgentStatusCommand = exports.de_ClaimPhoneNumberCommand = exports.de_AssociateSecurityKeyCommand = exports.de_AssociateRoutingProfileQueuesCommand = exports.de_AssociateQueueQuickConnectsCommand = exports.de_AssociatePhoneNumberContactFlowCommand = exports.de_AssociateLexBotCommand = exports.de_AssociateLambdaFunctionCommand = exports.de_AssociateInstanceStorageConfigCommand = void 0;
8
- exports.de_ListHoursOfOperationsCommand = exports.de_ListEvaluationFormVersionsCommand = exports.de_ListEvaluationFormsCommand = exports.de_ListDefaultVocabulariesCommand = exports.de_ListContactReferencesCommand = exports.de_ListContactFlowsCommand = exports.de_ListContactFlowModulesCommand = exports.de_ListContactEvaluationsCommand = exports.de_ListBotsCommand = exports.de_ListApprovedOriginsCommand = exports.de_ListAgentStatusesCommand = exports.de_GetTrafficDistributionCommand = exports.de_GetTaskTemplateCommand = exports.de_GetPromptFileCommand = exports.de_GetMetricDataV2Command = exports.de_GetMetricDataCommand = exports.de_GetFederationTokenCommand = exports.de_GetCurrentUserDataCommand = exports.de_GetCurrentMetricDataCommand = exports.de_GetContactAttributesCommand = exports.de_DismissUserContactCommand = exports.de_DisassociateSecurityKeyCommand = exports.de_DisassociateRoutingProfileQueuesCommand = exports.de_DisassociateQueueQuickConnectsCommand = exports.de_DisassociatePhoneNumberContactFlowCommand = exports.de_DisassociateLexBotCommand = exports.de_DisassociateLambdaFunctionCommand = exports.de_DisassociateInstanceStorageConfigCommand = exports.de_DisassociateBotCommand = exports.de_DisassociateApprovedOriginCommand = exports.de_DescribeVocabularyCommand = exports.de_DescribeUserHierarchyStructureCommand = exports.de_DescribeUserHierarchyGroupCommand = exports.de_DescribeUserCommand = exports.de_DescribeTrafficDistributionGroupCommand = exports.de_DescribeSecurityProfileCommand = exports.de_DescribeRuleCommand = exports.de_DescribeRoutingProfileCommand = exports.de_DescribeQuickConnectCommand = exports.de_DescribeQueueCommand = exports.de_DescribePromptCommand = exports.de_DescribePhoneNumberCommand = exports.de_DescribeInstanceStorageConfigCommand = exports.de_DescribeInstanceAttributeCommand = exports.de_DescribeInstanceCommand = exports.de_DescribeHoursOfOperationCommand = exports.de_DescribeEvaluationFormCommand = exports.de_DescribeContactFlowModuleCommand = exports.de_DescribeContactFlowCommand = exports.de_DescribeContactEvaluationCommand = void 0;
9
- 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_ListUsersCommand = exports.de_ListUserHierarchyGroupsCommand = exports.de_ListUseCasesCommand = exports.de_ListTrafficDistributionGroupsCommand = exports.de_ListTaskTemplatesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSecurityProfilesCommand = exports.de_ListSecurityProfilePermissionsCommand = exports.de_ListSecurityKeysCommand = exports.de_ListRulesCommand = exports.de_ListRoutingProfilesCommand = exports.de_ListRoutingProfileQueuesCommand = exports.de_ListQuickConnectsCommand = exports.de_ListQueuesCommand = exports.de_ListQueueQuickConnectsCommand = exports.de_ListPromptsCommand = exports.de_ListPhoneNumbersV2Command = exports.de_ListPhoneNumbersCommand = exports.de_ListLexBotsCommand = exports.de_ListLambdaFunctionsCommand = exports.de_ListIntegrationAssociationsCommand = exports.de_ListInstanceStorageConfigsCommand = exports.de_ListInstancesCommand = exports.de_ListInstanceAttributesCommand = void 0;
10
- exports.de_UpdateUserSecurityProfilesCommand = exports.de_UpdateUserRoutingProfileCommand = exports.de_UpdateUserPhoneConfigCommand = exports.de_UpdateUserIdentityInfoCommand = exports.de_UpdateUserHierarchyStructureCommand = exports.de_UpdateUserHierarchyGroupNameCommand = exports.de_UpdateUserHierarchyCommand = exports.de_UpdateTrafficDistributionCommand = exports.de_UpdateTaskTemplateCommand = exports.de_UpdateSecurityProfileCommand = exports.de_UpdateRuleCommand = exports.de_UpdateRoutingProfileQueuesCommand = exports.de_UpdateRoutingProfileNameCommand = exports.de_UpdateRoutingProfileDefaultOutboundQueueCommand = exports.de_UpdateRoutingProfileConcurrencyCommand = exports.de_UpdateQuickConnectNameCommand = exports.de_UpdateQuickConnectConfigCommand = exports.de_UpdateQueueStatusCommand = exports.de_UpdateQueueOutboundCallerConfigCommand = exports.de_UpdateQueueNameCommand = exports.de_UpdateQueueMaxContactsCommand = exports.de_UpdateQueueHoursOfOperationCommand = exports.de_UpdatePromptCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateParticipantRoleConfigCommand = exports.de_UpdateInstanceStorageConfigCommand = exports.de_UpdateInstanceAttributeCommand = exports.de_UpdateHoursOfOperationCommand = exports.de_UpdateEvaluationFormCommand = exports.de_UpdateContactScheduleCommand = exports.de_UpdateContactFlowNameCommand = exports.de_UpdateContactFlowModuleMetadataCommand = exports.de_UpdateContactFlowModuleContentCommand = exports.de_UpdateContactFlowMetadataCommand = exports.de_UpdateContactFlowContentCommand = exports.de_UpdateContactEvaluationCommand = exports.de_UpdateContactAttributesCommand = exports.de_UpdateContactCommand = exports.de_UpdateAgentStatusCommand = exports.de_UntagResourceCommand = exports.de_TransferContactCommand = exports.de_TagResourceCommand = void 0;
6
+ exports.de_AssociateBotCommand = exports.de_AssociateApprovedOriginCommand = exports.de_ActivateEvaluationFormCommand = exports.se_UpdateUserSecurityProfilesCommand = exports.se_UpdateUserRoutingProfileCommand = exports.se_UpdateUserPhoneConfigCommand = exports.se_UpdateUserIdentityInfoCommand = exports.se_UpdateUserHierarchyStructureCommand = exports.se_UpdateUserHierarchyGroupNameCommand = exports.se_UpdateUserHierarchyCommand = exports.se_UpdateTrafficDistributionCommand = exports.se_UpdateTaskTemplateCommand = exports.se_UpdateSecurityProfileCommand = exports.se_UpdateRuleCommand = exports.se_UpdateRoutingProfileQueuesCommand = exports.se_UpdateRoutingProfileNameCommand = exports.se_UpdateRoutingProfileDefaultOutboundQueueCommand = exports.se_UpdateRoutingProfileConcurrencyCommand = exports.se_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_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 = void 0;
7
+ exports.de_DescribeAgentStatusCommand = exports.de_DeleteVocabularyCommand = exports.de_DeleteUserHierarchyGroupCommand = exports.de_DeleteUserCommand = exports.de_DeleteUseCaseCommand = exports.de_DeleteTrafficDistributionGroupCommand = exports.de_DeleteTaskTemplateCommand = exports.de_DeleteSecurityProfileCommand = exports.de_DeleteRuleCommand = exports.de_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_CreateUserHierarchyGroupCommand = exports.de_CreateUserCommand = exports.de_CreateUseCaseCommand = exports.de_CreateTrafficDistributionGroupCommand = exports.de_CreateTaskTemplateCommand = exports.de_CreateSecurityProfileCommand = exports.de_CreateRuleCommand = exports.de_CreateRoutingProfileCommand = exports.de_CreateQuickConnectCommand = exports.de_CreateQueueCommand = exports.de_CreatePromptCommand = exports.de_CreateParticipantCommand = exports.de_CreateIntegrationAssociationCommand = exports.de_CreateInstanceCommand = exports.de_CreateHoursOfOperationCommand = exports.de_CreateEvaluationFormCommand = exports.de_CreateContactFlowModuleCommand = exports.de_CreateContactFlowCommand = exports.de_CreateAgentStatusCommand = exports.de_ClaimPhoneNumberCommand = exports.de_AssociateSecurityKeyCommand = exports.de_AssociateRoutingProfileQueuesCommand = exports.de_AssociateQueueQuickConnectsCommand = exports.de_AssociatePhoneNumberContactFlowCommand = exports.de_AssociateLexBotCommand = exports.de_AssociateLambdaFunctionCommand = exports.de_AssociateInstanceStorageConfigCommand = exports.de_AssociateDefaultVocabularyCommand = void 0;
8
+ exports.de_ListEvaluationFormVersionsCommand = exports.de_ListEvaluationFormsCommand = exports.de_ListDefaultVocabulariesCommand = exports.de_ListContactReferencesCommand = exports.de_ListContactFlowsCommand = exports.de_ListContactFlowModulesCommand = exports.de_ListContactEvaluationsCommand = exports.de_ListBotsCommand = exports.de_ListApprovedOriginsCommand = exports.de_ListAgentStatusesCommand = exports.de_GetTrafficDistributionCommand = exports.de_GetTaskTemplateCommand = exports.de_GetPromptFileCommand = exports.de_GetMetricDataV2Command = exports.de_GetMetricDataCommand = exports.de_GetFederationTokenCommand = exports.de_GetCurrentUserDataCommand = exports.de_GetCurrentMetricDataCommand = exports.de_GetContactAttributesCommand = exports.de_DismissUserContactCommand = exports.de_DisassociateSecurityKeyCommand = exports.de_DisassociateRoutingProfileQueuesCommand = exports.de_DisassociateQueueQuickConnectsCommand = exports.de_DisassociatePhoneNumberContactFlowCommand = exports.de_DisassociateLexBotCommand = exports.de_DisassociateLambdaFunctionCommand = exports.de_DisassociateInstanceStorageConfigCommand = exports.de_DisassociateBotCommand = exports.de_DisassociateApprovedOriginCommand = exports.de_DescribeVocabularyCommand = exports.de_DescribeUserHierarchyStructureCommand = exports.de_DescribeUserHierarchyGroupCommand = exports.de_DescribeUserCommand = exports.de_DescribeTrafficDistributionGroupCommand = exports.de_DescribeSecurityProfileCommand = exports.de_DescribeRuleCommand = exports.de_DescribeRoutingProfileCommand = exports.de_DescribeQuickConnectCommand = exports.de_DescribeQueueCommand = exports.de_DescribePromptCommand = exports.de_DescribePhoneNumberCommand = exports.de_DescribeInstanceStorageConfigCommand = exports.de_DescribeInstanceAttributeCommand = exports.de_DescribeInstanceCommand = exports.de_DescribeHoursOfOperationCommand = exports.de_DescribeEvaluationFormCommand = exports.de_DescribeContactFlowModuleCommand = exports.de_DescribeContactFlowCommand = exports.de_DescribeContactEvaluationCommand = exports.de_DescribeContactCommand = void 0;
9
+ 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_ListUsersCommand = exports.de_ListUserHierarchyGroupsCommand = exports.de_ListUseCasesCommand = exports.de_ListTrafficDistributionGroupsCommand = exports.de_ListTaskTemplatesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSecurityProfilesCommand = exports.de_ListSecurityProfilePermissionsCommand = exports.de_ListSecurityKeysCommand = exports.de_ListRulesCommand = exports.de_ListRoutingProfilesCommand = exports.de_ListRoutingProfileQueuesCommand = exports.de_ListQuickConnectsCommand = exports.de_ListQueuesCommand = exports.de_ListQueueQuickConnectsCommand = exports.de_ListPromptsCommand = exports.de_ListPhoneNumbersV2Command = exports.de_ListPhoneNumbersCommand = exports.de_ListLexBotsCommand = exports.de_ListLambdaFunctionsCommand = exports.de_ListIntegrationAssociationsCommand = exports.de_ListInstanceStorageConfigsCommand = exports.de_ListInstancesCommand = exports.de_ListInstanceAttributesCommand = exports.de_ListHoursOfOperationsCommand = void 0;
10
+ exports.de_UpdateUserSecurityProfilesCommand = exports.de_UpdateUserRoutingProfileCommand = exports.de_UpdateUserPhoneConfigCommand = exports.de_UpdateUserIdentityInfoCommand = exports.de_UpdateUserHierarchyStructureCommand = exports.de_UpdateUserHierarchyGroupNameCommand = exports.de_UpdateUserHierarchyCommand = exports.de_UpdateTrafficDistributionCommand = exports.de_UpdateTaskTemplateCommand = exports.de_UpdateSecurityProfileCommand = exports.de_UpdateRuleCommand = exports.de_UpdateRoutingProfileQueuesCommand = exports.de_UpdateRoutingProfileNameCommand = exports.de_UpdateRoutingProfileDefaultOutboundQueueCommand = exports.de_UpdateRoutingProfileConcurrencyCommand = exports.de_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_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 = void 0;
11
11
  const protocol_http_1 = require("@smithy/protocol-http");
12
12
  const smithy_client_1 = require("@smithy/smithy-client");
13
13
  const uuid_1 = require("uuid");
@@ -588,6 +588,7 @@ const se_CreateRoutingProfileCommand = async (input, context) => {
588
588
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "InstanceId", () => input.InstanceId, "{InstanceId}", false);
589
589
  let body;
590
590
  body = JSON.stringify((0, smithy_client_1.take)(input, {
591
+ AgentAvailabilityTimer: [],
591
592
  DefaultOutboundQueueId: [],
592
593
  Description: [],
593
594
  MediaConcurrencies: (_) => (0, smithy_client_1._json)(_),
@@ -4173,6 +4174,30 @@ const se_UpdateQuickConnectNameCommand = async (input, context) => {
4173
4174
  });
4174
4175
  };
4175
4176
  exports.se_UpdateQuickConnectNameCommand = se_UpdateQuickConnectNameCommand;
4177
+ const se_UpdateRoutingProfileAgentAvailabilityTimerCommand = async (input, context) => {
4178
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
4179
+ const headers = {
4180
+ "content-type": "application/json",
4181
+ };
4182
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
4183
+ "/routing-profiles/{InstanceId}/{RoutingProfileId}/agent-availability-timer";
4184
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "InstanceId", () => input.InstanceId, "{InstanceId}", false);
4185
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RoutingProfileId", () => input.RoutingProfileId, "{RoutingProfileId}", false);
4186
+ let body;
4187
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
4188
+ AgentAvailabilityTimer: [],
4189
+ }));
4190
+ return new protocol_http_1.HttpRequest({
4191
+ protocol,
4192
+ hostname,
4193
+ port,
4194
+ method: "POST",
4195
+ headers,
4196
+ path: resolvedPath,
4197
+ body,
4198
+ });
4199
+ };
4200
+ exports.se_UpdateRoutingProfileAgentAvailabilityTimerCommand = se_UpdateRoutingProfileAgentAvailabilityTimerCommand;
4176
4201
  const se_UpdateRoutingProfileConcurrencyCommand = async (input, context) => {
4177
4202
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
4178
4203
  const headers = {
@@ -12889,6 +12914,48 @@ const de_UpdateQuickConnectNameCommandError = async (output, context) => {
12889
12914
  });
12890
12915
  }
12891
12916
  };
12917
+ const de_UpdateRoutingProfileAgentAvailabilityTimerCommand = async (output, context) => {
12918
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
12919
+ return de_UpdateRoutingProfileAgentAvailabilityTimerCommandError(output, context);
12920
+ }
12921
+ const contents = (0, smithy_client_1.map)({
12922
+ $metadata: deserializeMetadata(output),
12923
+ });
12924
+ await (0, smithy_client_1.collectBody)(output.body, context);
12925
+ return contents;
12926
+ };
12927
+ exports.de_UpdateRoutingProfileAgentAvailabilityTimerCommand = de_UpdateRoutingProfileAgentAvailabilityTimerCommand;
12928
+ const de_UpdateRoutingProfileAgentAvailabilityTimerCommandError = async (output, context) => {
12929
+ const parsedOutput = {
12930
+ ...output,
12931
+ body: await parseErrorBody(output.body, context),
12932
+ };
12933
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
12934
+ switch (errorCode) {
12935
+ case "InternalServiceException":
12936
+ case "com.amazonaws.connect#InternalServiceException":
12937
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
12938
+ case "InvalidParameterException":
12939
+ case "com.amazonaws.connect#InvalidParameterException":
12940
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
12941
+ case "InvalidRequestException":
12942
+ case "com.amazonaws.connect#InvalidRequestException":
12943
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
12944
+ case "ResourceNotFoundException":
12945
+ case "com.amazonaws.connect#ResourceNotFoundException":
12946
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
12947
+ case "ThrottlingException":
12948
+ case "com.amazonaws.connect#ThrottlingException":
12949
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
12950
+ default:
12951
+ const parsedBody = parsedOutput.body;
12952
+ return throwDefaultError({
12953
+ output,
12954
+ parsedBody,
12955
+ errorCode,
12956
+ });
12957
+ }
12958
+ };
12892
12959
  const de_UpdateRoutingProfileConcurrencyCommand = async (output, context) => {
12893
12960
  if (output.statusCode !== 200 && output.statusCode >= 300) {
12894
12961
  return de_UpdateRoutingProfileConcurrencyCommandError(output, context);
@@ -180,6 +180,7 @@ import { UpdateQueueOutboundCallerConfigCommand, } from "./commands/UpdateQueueO
180
180
  import { UpdateQueueStatusCommand, } from "./commands/UpdateQueueStatusCommand";
181
181
  import { UpdateQuickConnectConfigCommand, } from "./commands/UpdateQuickConnectConfigCommand";
182
182
  import { UpdateQuickConnectNameCommand, } from "./commands/UpdateQuickConnectNameCommand";
183
+ import { UpdateRoutingProfileAgentAvailabilityTimerCommand, } from "./commands/UpdateRoutingProfileAgentAvailabilityTimerCommand";
183
184
  import { UpdateRoutingProfileConcurrencyCommand, } from "./commands/UpdateRoutingProfileConcurrencyCommand";
184
185
  import { UpdateRoutingProfileDefaultOutboundQueueCommand, } from "./commands/UpdateRoutingProfileDefaultOutboundQueueCommand";
185
186
  import { UpdateRoutingProfileNameCommand, } from "./commands/UpdateRoutingProfileNameCommand";
@@ -378,6 +379,7 @@ const commands = {
378
379
  UpdateQueueStatusCommand,
379
380
  UpdateQuickConnectConfigCommand,
380
381
  UpdateQuickConnectNameCommand,
382
+ UpdateRoutingProfileAgentAvailabilityTimerCommand,
381
383
  UpdateRoutingProfileConcurrencyCommand,
382
384
  UpdateRoutingProfileDefaultOutboundQueueCommand,
383
385
  UpdateRoutingProfileNameCommand,
@@ -0,0 +1,42 @@
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 { de_UpdateRoutingProfileAgentAvailabilityTimerCommand, se_UpdateRoutingProfileAgentAvailabilityTimerCommand, } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class UpdateRoutingProfileAgentAvailabilityTimerCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateRoutingProfileAgentAvailabilityTimerCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "ConnectClient";
25
+ const commandName = "UpdateRoutingProfileAgentAvailabilityTimerCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_UpdateRoutingProfileAgentAvailabilityTimerCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_UpdateRoutingProfileAgentAvailabilityTimerCommand(output, context);
41
+ }
42
+ }
@@ -179,6 +179,7 @@ export * from "./UpdateQueueOutboundCallerConfigCommand";
179
179
  export * from "./UpdateQueueStatusCommand";
180
180
  export * from "./UpdateQuickConnectConfigCommand";
181
181
  export * from "./UpdateQuickConnectNameCommand";
182
+ export * from "./UpdateRoutingProfileAgentAvailabilityTimerCommand";
182
183
  export * from "./UpdateRoutingProfileConcurrencyCommand";
183
184
  export * from "./UpdateRoutingProfileDefaultOutboundQueueCommand";
184
185
  export * from "./UpdateRoutingProfileNameCommand";
@@ -1,4 +1,4 @@
1
1
  const s = "required", t = "fn", u = "argv", v = "ref";
2
2
  const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
3
- const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://connect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://connect.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://connect-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://connect.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://connect.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
3
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }, { conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ endpoint: { url: "https://connect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://connect.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://connect-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ endpoint: { url: "https://connect.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://connect.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
4
4
  export const ruleSet = _data;
@@ -84,6 +84,10 @@ export class ThrottlingException extends __BaseException {
84
84
  this.Message = opts.Message;
85
85
  }
86
86
  }
87
+ export const AgentAvailabilityTimer = {
88
+ TIME_SINCE_LAST_ACTIVITY: "TIME_SINCE_LAST_ACTIVITY",
89
+ TIME_SINCE_LAST_INBOUND: "TIME_SINCE_LAST_INBOUND",
90
+ };
87
91
  export const ContactState = {
88
92
  CONNECTED: "CONNECTED",
89
93
  CONNECTED_ONHOLD: "CONNECTED_ONHOLD",
@@ -839,10 +843,6 @@ export const Grouping = {
839
843
  QUEUE: "QUEUE",
840
844
  ROUTING_PROFILE: "ROUTING_PROFILE",
841
845
  };
842
- export const SortOrder = {
843
- ASCENDING: "ASCENDING",
844
- DESCENDING: "DESCENDING",
845
- };
846
846
  export const CreateInstanceRequestFilterSensitiveLog = (obj) => ({
847
847
  ...obj,
848
848
  ...(obj.InstanceAlias && { InstanceAlias: SENSITIVE_STRING }),
@@ -1,5 +1,9 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
+ export const SortOrder = {
4
+ ASCENDING: "ASCENDING",
5
+ DESCENDING: "DESCENDING",
6
+ };
3
7
  export class UserNotFoundException extends __BaseException {
4
8
  constructor(opts) {
5
9
  super({
@@ -555,6 +555,7 @@ export const se_CreateRoutingProfileCommand = async (input, context) => {
555
555
  resolvedPath = __resolvedPath(resolvedPath, input, "InstanceId", () => input.InstanceId, "{InstanceId}", false);
556
556
  let body;
557
557
  body = JSON.stringify(take(input, {
558
+ AgentAvailabilityTimer: [],
558
559
  DefaultOutboundQueueId: [],
559
560
  Description: [],
560
561
  MediaConcurrencies: (_) => _json(_),
@@ -3982,6 +3983,29 @@ export const se_UpdateQuickConnectNameCommand = async (input, context) => {
3982
3983
  body,
3983
3984
  });
3984
3985
  };
3986
+ export const se_UpdateRoutingProfileAgentAvailabilityTimerCommand = async (input, context) => {
3987
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3988
+ const headers = {
3989
+ "content-type": "application/json",
3990
+ };
3991
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
3992
+ "/routing-profiles/{InstanceId}/{RoutingProfileId}/agent-availability-timer";
3993
+ resolvedPath = __resolvedPath(resolvedPath, input, "InstanceId", () => input.InstanceId, "{InstanceId}", false);
3994
+ resolvedPath = __resolvedPath(resolvedPath, input, "RoutingProfileId", () => input.RoutingProfileId, "{RoutingProfileId}", false);
3995
+ let body;
3996
+ body = JSON.stringify(take(input, {
3997
+ AgentAvailabilityTimer: [],
3998
+ }));
3999
+ return new __HttpRequest({
4000
+ protocol,
4001
+ hostname,
4002
+ port,
4003
+ method: "POST",
4004
+ headers,
4005
+ path: resolvedPath,
4006
+ body,
4007
+ });
4008
+ };
3985
4009
  export const se_UpdateRoutingProfileConcurrencyCommand = async (input, context) => {
3986
4010
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3987
4011
  const headers = {
@@ -12502,6 +12526,47 @@ const de_UpdateQuickConnectNameCommandError = async (output, context) => {
12502
12526
  });
12503
12527
  }
12504
12528
  };
12529
+ export const de_UpdateRoutingProfileAgentAvailabilityTimerCommand = async (output, context) => {
12530
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
12531
+ return de_UpdateRoutingProfileAgentAvailabilityTimerCommandError(output, context);
12532
+ }
12533
+ const contents = map({
12534
+ $metadata: deserializeMetadata(output),
12535
+ });
12536
+ await collectBody(output.body, context);
12537
+ return contents;
12538
+ };
12539
+ const de_UpdateRoutingProfileAgentAvailabilityTimerCommandError = async (output, context) => {
12540
+ const parsedOutput = {
12541
+ ...output,
12542
+ body: await parseErrorBody(output.body, context),
12543
+ };
12544
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
12545
+ switch (errorCode) {
12546
+ case "InternalServiceException":
12547
+ case "com.amazonaws.connect#InternalServiceException":
12548
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
12549
+ case "InvalidParameterException":
12550
+ case "com.amazonaws.connect#InvalidParameterException":
12551
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
12552
+ case "InvalidRequestException":
12553
+ case "com.amazonaws.connect#InvalidRequestException":
12554
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
12555
+ case "ResourceNotFoundException":
12556
+ case "com.amazonaws.connect#ResourceNotFoundException":
12557
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
12558
+ case "ThrottlingException":
12559
+ case "com.amazonaws.connect#ThrottlingException":
12560
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
12561
+ default:
12562
+ const parsedBody = parsedOutput.body;
12563
+ return throwDefaultError({
12564
+ output,
12565
+ parsedBody,
12566
+ errorCode,
12567
+ });
12568
+ }
12569
+ };
12505
12570
  export const de_UpdateRoutingProfileConcurrencyCommand = async (output, context) => {
12506
12571
  if (output.statusCode !== 200 && output.statusCode >= 300) {
12507
12572
  return de_UpdateRoutingProfileConcurrencyCommandError(output, context);
@@ -180,6 +180,7 @@ import { UpdateQueueOutboundCallerConfigCommandInput, UpdateQueueOutboundCallerC
180
180
  import { UpdateQueueStatusCommandInput, UpdateQueueStatusCommandOutput } from "./commands/UpdateQueueStatusCommand";
181
181
  import { UpdateQuickConnectConfigCommandInput, UpdateQuickConnectConfigCommandOutput } from "./commands/UpdateQuickConnectConfigCommand";
182
182
  import { UpdateQuickConnectNameCommandInput, UpdateQuickConnectNameCommandOutput } from "./commands/UpdateQuickConnectNameCommand";
183
+ import { UpdateRoutingProfileAgentAvailabilityTimerCommandInput, UpdateRoutingProfileAgentAvailabilityTimerCommandOutput } from "./commands/UpdateRoutingProfileAgentAvailabilityTimerCommand";
183
184
  import { UpdateRoutingProfileConcurrencyCommandInput, UpdateRoutingProfileConcurrencyCommandOutput } from "./commands/UpdateRoutingProfileConcurrencyCommand";
184
185
  import { UpdateRoutingProfileDefaultOutboundQueueCommandInput, UpdateRoutingProfileDefaultOutboundQueueCommandOutput } from "./commands/UpdateRoutingProfileDefaultOutboundQueueCommand";
185
186
  import { UpdateRoutingProfileNameCommandInput, UpdateRoutingProfileNameCommandOutput } from "./commands/UpdateRoutingProfileNameCommand";
@@ -1283,6 +1284,12 @@ export interface Connect {
1283
1284
  updateQuickConnectName(args: UpdateQuickConnectNameCommandInput, options?: __HttpHandlerOptions): Promise<UpdateQuickConnectNameCommandOutput>;
1284
1285
  updateQuickConnectName(args: UpdateQuickConnectNameCommandInput, cb: (err: any, data?: UpdateQuickConnectNameCommandOutput) => void): void;
1285
1286
  updateQuickConnectName(args: UpdateQuickConnectNameCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateQuickConnectNameCommandOutput) => void): void;
1287
+ /**
1288
+ * @see {@link UpdateRoutingProfileAgentAvailabilityTimerCommand}
1289
+ */
1290
+ updateRoutingProfileAgentAvailabilityTimer(args: UpdateRoutingProfileAgentAvailabilityTimerCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRoutingProfileAgentAvailabilityTimerCommandOutput>;
1291
+ updateRoutingProfileAgentAvailabilityTimer(args: UpdateRoutingProfileAgentAvailabilityTimerCommandInput, cb: (err: any, data?: UpdateRoutingProfileAgentAvailabilityTimerCommandOutput) => void): void;
1292
+ updateRoutingProfileAgentAvailabilityTimer(args: UpdateRoutingProfileAgentAvailabilityTimerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRoutingProfileAgentAvailabilityTimerCommandOutput) => void): void;
1286
1293
  /**
1287
1294
  * @see {@link UpdateRoutingProfileConcurrencyCommand}
1288
1295
  */