@aws-sdk/client-connect 3.235.0 → 3.237.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 (31) hide show
  1. package/dist-cjs/Connect.js +15 -0
  2. package/dist-cjs/commands/UpdateParticipantRoleConfigCommand.js +46 -0
  3. package/dist-cjs/commands/index.js +1 -0
  4. package/dist-cjs/endpoint/ruleset.js +3 -3
  5. package/dist-cjs/models/models_1.js +76 -4
  6. package/dist-cjs/protocols/Aws_restJson1.js +113 -5
  7. package/dist-es/Connect.js +15 -0
  8. package/dist-es/commands/UpdateParticipantRoleConfigCommand.js +42 -0
  9. package/dist-es/commands/index.js +1 -0
  10. package/dist-es/endpoint/ruleset.js +3 -3
  11. package/dist-es/models/models_1.js +65 -0
  12. package/dist-es/protocols/Aws_restJson1.js +107 -1
  13. package/dist-types/Connect.d.ts +32 -8
  14. package/dist-types/ConnectClient.d.ts +3 -2
  15. package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +2 -2
  16. package/dist-types/commands/CreateRuleCommand.d.ts +2 -2
  17. package/dist-types/commands/DismissUserContactCommand.d.ts +1 -1
  18. package/dist-types/commands/MonitorContactCommand.d.ts +1 -1
  19. package/dist-types/commands/UpdateParticipantRoleConfigCommand.d.ts +54 -0
  20. package/dist-types/commands/UpdateRuleCommand.d.ts +2 -2
  21. package/dist-types/commands/index.d.ts +1 -0
  22. package/dist-types/models/models_0.d.ts +2 -2
  23. package/dist-types/models/models_1.d.ts +161 -6
  24. package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
  25. package/dist-types/ts3.4/Connect.d.ts +17 -0
  26. package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
  27. package/dist-types/ts3.4/commands/UpdateParticipantRoleConfigCommand.d.ts +41 -0
  28. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  29. package/dist-types/ts3.4/models/models_1.d.ts +91 -0
  30. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  31. package/package.json +3 -3
@@ -146,6 +146,7 @@ const UpdateContactScheduleCommand_1 = require("./commands/UpdateContactSchedule
146
146
  const UpdateHoursOfOperationCommand_1 = require("./commands/UpdateHoursOfOperationCommand");
147
147
  const UpdateInstanceAttributeCommand_1 = require("./commands/UpdateInstanceAttributeCommand");
148
148
  const UpdateInstanceStorageConfigCommand_1 = require("./commands/UpdateInstanceStorageConfigCommand");
149
+ const UpdateParticipantRoleConfigCommand_1 = require("./commands/UpdateParticipantRoleConfigCommand");
149
150
  const UpdatePhoneNumberCommand_1 = require("./commands/UpdatePhoneNumberCommand");
150
151
  const UpdateQueueHoursOfOperationCommand_1 = require("./commands/UpdateQueueHoursOfOperationCommand");
151
152
  const UpdateQueueMaxContactsCommand_1 = require("./commands/UpdateQueueMaxContactsCommand");
@@ -2201,6 +2202,20 @@ class Connect extends ConnectClient_1.ConnectClient {
2201
2202
  return this.send(command, optionsOrCb);
2202
2203
  }
2203
2204
  }
2205
+ updateParticipantRoleConfig(args, optionsOrCb, cb) {
2206
+ const command = new UpdateParticipantRoleConfigCommand_1.UpdateParticipantRoleConfigCommand(args);
2207
+ if (typeof optionsOrCb === "function") {
2208
+ this.send(command, optionsOrCb);
2209
+ }
2210
+ else if (typeof cb === "function") {
2211
+ if (typeof optionsOrCb !== "object")
2212
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2213
+ this.send(command, optionsOrCb || {}, cb);
2214
+ }
2215
+ else {
2216
+ return this.send(command, optionsOrCb);
2217
+ }
2218
+ }
2204
2219
  updatePhoneNumber(args, optionsOrCb, cb) {
2205
2220
  const command = new UpdatePhoneNumberCommand_1.UpdatePhoneNumberCommand(args);
2206
2221
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateParticipantRoleConfigCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_1_1 = require("../models/models_1");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class UpdateParticipantRoleConfigCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
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, UpdateParticipantRoleConfigCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "ConnectClient";
28
+ const commandName = "UpdateParticipantRoleConfigCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_1_1.UpdateParticipantRoleConfigRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_1_1.UpdateParticipantRoleConfigResponseFilterSensitiveLog,
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.serializeAws_restJson1UpdateParticipantRoleConfigCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateParticipantRoleConfigCommand)(output, context);
44
+ }
45
+ }
46
+ exports.UpdateParticipantRoleConfigCommand = UpdateParticipantRoleConfigCommand;
@@ -146,6 +146,7 @@ tslib_1.__exportStar(require("./UpdateContactScheduleCommand"), exports);
146
146
  tslib_1.__exportStar(require("./UpdateHoursOfOperationCommand"), exports);
147
147
  tslib_1.__exportStar(require("./UpdateInstanceAttributeCommand"), exports);
148
148
  tslib_1.__exportStar(require("./UpdateInstanceStorageConfigCommand"), exports);
149
+ tslib_1.__exportStar(require("./UpdateParticipantRoleConfigCommand"), exports);
149
150
  tslib_1.__exportStar(require("./UpdatePhoneNumberCommand"), exports);
150
151
  tslib_1.__exportStar(require("./UpdateQueueHoursOfOperationCommand"), exports);
151
152
  tslib_1.__exportStar(require("./UpdateQueueMaxContactsCommand"), exports);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const r = "fn", s = "argv", t = "ref";
5
- const a = true, b = false, c = "String", d = "Boolean", e = "PartitionResult", f = "tree", g = "error", h = "endpoint", i = { [t]: "Endpoint" }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, k = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, l = {}, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, n = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, o = [j], p = [], q = [k];
6
- const _data = { version: "1.0", parameters: { Region: { builtIn: "AWS::Region", required: a, documentation: "The AWS region used to dispatch the request.", type: c }, UseDualStack: { builtIn: "AWS::UseDualStack", required: a, default: b, documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", type: d }, UseFIPS: { builtIn: "AWS::UseFIPS", required: a, default: b, documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", type: d }, Endpoint: { builtIn: "SDK::Endpoint", required: b, documentation: "Override the endpoint used to send this request", type: c } }, rules: [{ conditions: [{ [r]: "aws.partition", [s]: [{ [t]: "Region" }], assign: e }], type: f, rules: [{ conditions: [{ [r]: "isSet", [s]: [i] }], type: f, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: g }, { conditions: p, type: f, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: g }, { conditions: p, endpoint: { url: i, properties: l, headers: l }, type: h }] }] }, { conditions: [j, k], type: f, rules: [{ conditions: [m, n], type: f, rules: [{ conditions: p, endpoint: { url: "https://connect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: h }] }, { conditions: p, error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: g }] }, { conditions: o, type: f, rules: [{ conditions: [m], type: f, rules: [{ conditions: p, type: f, rules: [{ conditions: p, endpoint: { url: "https://connect-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: h }] }] }, { conditions: p, error: "FIPS is enabled but this partition does not support FIPS", type: g }] }, { conditions: q, type: f, rules: [{ conditions: [n], type: f, rules: [{ conditions: p, endpoint: { url: "https://connect.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: h }] }, { conditions: p, error: "DualStack is enabled but this partition does not support DualStack", type: g }] }, { conditions: p, endpoint: { url: "https://connect.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: h }] }] };
4
+ const q = "fn", r = "argv", s = "ref";
5
+ const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
6
+ const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://connect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://connect-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://connect.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://connect.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
7
7
  exports.ruleSet = _data;
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListQuickConnectsRequestFilterSensitiveLog = exports.ListQueuesResponseFilterSensitiveLog = exports.QueueSummaryFilterSensitiveLog = exports.ListQueuesRequestFilterSensitiveLog = exports.ListQueueQuickConnectsResponseFilterSensitiveLog = exports.QuickConnectSummaryFilterSensitiveLog = exports.ListQueueQuickConnectsRequestFilterSensitiveLog = exports.ListPromptsResponseFilterSensitiveLog = exports.PromptSummaryFilterSensitiveLog = exports.ListPromptsRequestFilterSensitiveLog = exports.ListPhoneNumbersV2ResponseFilterSensitiveLog = exports.ListPhoneNumbersSummaryFilterSensitiveLog = exports.ListPhoneNumbersV2RequestFilterSensitiveLog = exports.ListPhoneNumbersResponseFilterSensitiveLog = exports.PhoneNumberSummaryFilterSensitiveLog = exports.ListPhoneNumbersRequestFilterSensitiveLog = exports.ListLexBotsResponseFilterSensitiveLog = exports.ListLexBotsRequestFilterSensitiveLog = exports.ListLambdaFunctionsResponseFilterSensitiveLog = exports.ListLambdaFunctionsRequestFilterSensitiveLog = exports.ListIntegrationAssociationsResponseFilterSensitiveLog = exports.IntegrationAssociationSummaryFilterSensitiveLog = exports.ListIntegrationAssociationsRequestFilterSensitiveLog = exports.ListInstanceStorageConfigsResponseFilterSensitiveLog = exports.ListInstanceStorageConfigsRequestFilterSensitiveLog = exports.ListInstancesResponseFilterSensitiveLog = exports.InstanceSummaryFilterSensitiveLog = exports.ListInstancesRequestFilterSensitiveLog = exports.ListInstanceAttributesResponseFilterSensitiveLog = exports.ListInstanceAttributesRequestFilterSensitiveLog = exports.ListHoursOfOperationsResponseFilterSensitiveLog = exports.HoursOfOperationSummaryFilterSensitiveLog = exports.ListHoursOfOperationsRequestFilterSensitiveLog = exports.ListDefaultVocabulariesResponseFilterSensitiveLog = exports.DefaultVocabularyFilterSensitiveLog = exports.ListDefaultVocabulariesRequestFilterSensitiveLog = exports.ListContactReferencesResponseFilterSensitiveLog = exports.ReferenceSummaryFilterSensitiveLog = exports.UrlReferenceFilterSensitiveLog = exports.StringReferenceFilterSensitiveLog = exports.ContactNotFoundException = exports.TrafficType = exports.OutboundContactNotPermittedException = exports.DestinationNotAllowedException = exports.VoiceRecordingTrack = exports.HierarchyGroupMatchType = exports.StringComparisonType = exports.SearchableQueueType = exports.QueueType = exports.ReferenceSummary = void 0;
4
- exports.QueueSearchFilterFilterSensitiveLog = exports.ControlPlaneTagFilterFilterSensitiveLog = exports.TagConditionFilterSensitiveLog = exports.StringConditionFilterSensitiveLog = exports.SearchAvailablePhoneNumbersResponseFilterSensitiveLog = exports.AvailableNumberSummaryFilterSensitiveLog = exports.SearchAvailablePhoneNumbersRequestFilterSensitiveLog = exports.ResumeContactRecordingResponseFilterSensitiveLog = exports.ResumeContactRecordingRequestFilterSensitiveLog = exports.ReplicateInstanceResponseFilterSensitiveLog = exports.ReplicateInstanceRequestFilterSensitiveLog = exports.ReleasePhoneNumberRequestFilterSensitiveLog = exports.PutUserStatusResponseFilterSensitiveLog = exports.PutUserStatusRequestFilterSensitiveLog = exports.MonitorContactResponseFilterSensitiveLog = exports.MonitorContactRequestFilterSensitiveLog = exports.ListUsersResponseFilterSensitiveLog = exports.UserSummaryFilterSensitiveLog = exports.ListUsersRequestFilterSensitiveLog = exports.ListUserHierarchyGroupsResponseFilterSensitiveLog = exports.ListUserHierarchyGroupsRequestFilterSensitiveLog = exports.ListUseCasesResponseFilterSensitiveLog = exports.UseCaseFilterSensitiveLog = exports.ListUseCasesRequestFilterSensitiveLog = exports.ListTrafficDistributionGroupsResponseFilterSensitiveLog = exports.TrafficDistributionGroupSummaryFilterSensitiveLog = exports.ListTrafficDistributionGroupsRequestFilterSensitiveLog = exports.ListTaskTemplatesResponseFilterSensitiveLog = exports.TaskTemplateMetadataFilterSensitiveLog = exports.ListTaskTemplatesRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListSecurityProfilesResponseFilterSensitiveLog = exports.SecurityProfileSummaryFilterSensitiveLog = exports.ListSecurityProfilesRequestFilterSensitiveLog = exports.ListSecurityProfilePermissionsResponseFilterSensitiveLog = exports.ListSecurityProfilePermissionsRequestFilterSensitiveLog = exports.ListSecurityKeysResponseFilterSensitiveLog = exports.SecurityKeyFilterSensitiveLog = exports.ListSecurityKeysRequestFilterSensitiveLog = exports.ListRulesResponseFilterSensitiveLog = exports.RuleSummaryFilterSensitiveLog = exports.ListRulesRequestFilterSensitiveLog = exports.ListRoutingProfilesResponseFilterSensitiveLog = exports.RoutingProfileSummaryFilterSensitiveLog = exports.ListRoutingProfilesRequestFilterSensitiveLog = exports.ListRoutingProfileQueuesResponseFilterSensitiveLog = exports.RoutingProfileQueueConfigSummaryFilterSensitiveLog = exports.ListRoutingProfileQueuesRequestFilterSensitiveLog = exports.ListQuickConnectsResponseFilterSensitiveLog = void 0;
5
- exports.UpdateContactFlowModuleContentResponseFilterSensitiveLog = exports.UpdateContactFlowModuleContentRequestFilterSensitiveLog = exports.UpdateContactFlowMetadataRequestFilterSensitiveLog = exports.UpdateContactFlowContentRequestFilterSensitiveLog = exports.UpdateContactAttributesResponseFilterSensitiveLog = exports.UpdateContactAttributesRequestFilterSensitiveLog = exports.UpdateContactResponseFilterSensitiveLog = exports.UpdateContactRequestFilterSensitiveLog = exports.UpdateAgentStatusRequestFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TransferContactResponseFilterSensitiveLog = exports.TransferContactRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.SuspendContactRecordingResponseFilterSensitiveLog = exports.SuspendContactRecordingRequestFilterSensitiveLog = exports.StopContactStreamingResponseFilterSensitiveLog = exports.StopContactStreamingRequestFilterSensitiveLog = exports.StopContactRecordingResponseFilterSensitiveLog = exports.StopContactRecordingRequestFilterSensitiveLog = exports.StopContactResponseFilterSensitiveLog = exports.StopContactRequestFilterSensitiveLog = exports.StartTaskContactResponseFilterSensitiveLog = exports.StartTaskContactRequestFilterSensitiveLog = exports.StartOutboundVoiceContactResponseFilterSensitiveLog = exports.StartOutboundVoiceContactRequestFilterSensitiveLog = exports.AnswerMachineDetectionConfigFilterSensitiveLog = exports.StartContactStreamingResponseFilterSensitiveLog = exports.StartContactStreamingRequestFilterSensitiveLog = exports.ChatStreamingConfigurationFilterSensitiveLog = exports.StartContactRecordingResponseFilterSensitiveLog = exports.StartContactRecordingRequestFilterSensitiveLog = exports.VoiceRecordingConfigurationFilterSensitiveLog = exports.StartChatContactResponseFilterSensitiveLog = exports.StartChatContactRequestFilterSensitiveLog = exports.ParticipantDetailsFilterSensitiveLog = exports.ChatMessageFilterSensitiveLog = exports.SearchVocabulariesResponseFilterSensitiveLog = exports.VocabularySummaryFilterSensitiveLog = exports.SearchVocabulariesRequestFilterSensitiveLog = exports.SearchUsersResponseFilterSensitiveLog = exports.UserSearchSummaryFilterSensitiveLog = exports.UserIdentityInfoLiteFilterSensitiveLog = exports.UserSearchFilterFilterSensitiveLog = exports.HierarchyGroupConditionFilterSensitiveLog = exports.SearchSecurityProfilesResponseFilterSensitiveLog = exports.SecurityProfileSearchSummaryFilterSensitiveLog = exports.SecurityProfilesSearchFilterFilterSensitiveLog = exports.SearchRoutingProfilesResponseFilterSensitiveLog = exports.RoutingProfileSearchFilterFilterSensitiveLog = exports.SearchQueuesResponseFilterSensitiveLog = void 0;
6
- exports.SearchUsersRequestFilterSensitiveLog = exports.SearchSecurityProfilesRequestFilterSensitiveLog = exports.SearchRoutingProfilesRequestFilterSensitiveLog = exports.SearchQueuesRequestFilterSensitiveLog = exports.UserSearchCriteriaFilterSensitiveLog = exports.SecurityProfileSearchCriteriaFilterSensitiveLog = exports.RoutingProfileSearchCriteriaFilterSensitiveLog = exports.QueueSearchCriteriaFilterSensitiveLog = exports.UpdateUserSecurityProfilesRequestFilterSensitiveLog = exports.UpdateUserRoutingProfileRequestFilterSensitiveLog = exports.UpdateUserPhoneConfigRequestFilterSensitiveLog = exports.UpdateUserIdentityInfoRequestFilterSensitiveLog = exports.UpdateUserHierarchyStructureRequestFilterSensitiveLog = exports.HierarchyStructureUpdateFilterSensitiveLog = exports.HierarchyLevelUpdateFilterSensitiveLog = exports.UpdateUserHierarchyGroupNameRequestFilterSensitiveLog = exports.UpdateUserHierarchyRequestFilterSensitiveLog = exports.UpdateTrafficDistributionResponseFilterSensitiveLog = exports.UpdateTrafficDistributionRequestFilterSensitiveLog = exports.UpdateTaskTemplateResponseFilterSensitiveLog = exports.UpdateTaskTemplateRequestFilterSensitiveLog = exports.UpdateSecurityProfileRequestFilterSensitiveLog = exports.UpdateRuleRequestFilterSensitiveLog = exports.UpdateRoutingProfileQueuesRequestFilterSensitiveLog = exports.UpdateRoutingProfileNameRequestFilterSensitiveLog = exports.UpdateRoutingProfileDefaultOutboundQueueRequestFilterSensitiveLog = exports.UpdateRoutingProfileConcurrencyRequestFilterSensitiveLog = exports.UpdateQuickConnectNameRequestFilterSensitiveLog = exports.UpdateQuickConnectConfigRequestFilterSensitiveLog = exports.UpdateQueueStatusRequestFilterSensitiveLog = exports.UpdateQueueOutboundCallerConfigRequestFilterSensitiveLog = exports.UpdateQueueNameRequestFilterSensitiveLog = exports.UpdateQueueMaxContactsRequestFilterSensitiveLog = exports.UpdateQueueHoursOfOperationRequestFilterSensitiveLog = exports.UpdatePhoneNumberResponseFilterSensitiveLog = exports.UpdatePhoneNumberRequestFilterSensitiveLog = exports.UpdateInstanceStorageConfigRequestFilterSensitiveLog = exports.UpdateInstanceAttributeRequestFilterSensitiveLog = exports.UpdateHoursOfOperationRequestFilterSensitiveLog = exports.UpdateContactScheduleResponseFilterSensitiveLog = exports.UpdateContactScheduleRequestFilterSensitiveLog = exports.UpdateContactFlowNameRequestFilterSensitiveLog = exports.UpdateContactFlowModuleMetadataResponseFilterSensitiveLog = exports.UpdateContactFlowModuleMetadataRequestFilterSensitiveLog = void 0;
3
+ exports.QuickConnectSummaryFilterSensitiveLog = exports.ListQueueQuickConnectsRequestFilterSensitiveLog = exports.ListPromptsResponseFilterSensitiveLog = exports.PromptSummaryFilterSensitiveLog = exports.ListPromptsRequestFilterSensitiveLog = exports.ListPhoneNumbersV2ResponseFilterSensitiveLog = exports.ListPhoneNumbersSummaryFilterSensitiveLog = exports.ListPhoneNumbersV2RequestFilterSensitiveLog = exports.ListPhoneNumbersResponseFilterSensitiveLog = exports.PhoneNumberSummaryFilterSensitiveLog = exports.ListPhoneNumbersRequestFilterSensitiveLog = exports.ListLexBotsResponseFilterSensitiveLog = exports.ListLexBotsRequestFilterSensitiveLog = exports.ListLambdaFunctionsResponseFilterSensitiveLog = exports.ListLambdaFunctionsRequestFilterSensitiveLog = exports.ListIntegrationAssociationsResponseFilterSensitiveLog = exports.IntegrationAssociationSummaryFilterSensitiveLog = exports.ListIntegrationAssociationsRequestFilterSensitiveLog = exports.ListInstanceStorageConfigsResponseFilterSensitiveLog = exports.ListInstanceStorageConfigsRequestFilterSensitiveLog = exports.ListInstancesResponseFilterSensitiveLog = exports.InstanceSummaryFilterSensitiveLog = exports.ListInstancesRequestFilterSensitiveLog = exports.ListInstanceAttributesResponseFilterSensitiveLog = exports.ListInstanceAttributesRequestFilterSensitiveLog = exports.ListHoursOfOperationsResponseFilterSensitiveLog = exports.HoursOfOperationSummaryFilterSensitiveLog = exports.ListHoursOfOperationsRequestFilterSensitiveLog = exports.ListDefaultVocabulariesResponseFilterSensitiveLog = exports.DefaultVocabularyFilterSensitiveLog = exports.ListDefaultVocabulariesRequestFilterSensitiveLog = exports.ListContactReferencesResponseFilterSensitiveLog = exports.ReferenceSummaryFilterSensitiveLog = exports.UrlReferenceFilterSensitiveLog = exports.StringReferenceFilterSensitiveLog = exports.UpdateParticipantRoleConfigChannelInfo = exports.ParticipantTimerValue = exports.ParticipantTimerAction = exports.ParticipantTimerType = exports.TimerEligibleParticipantRoles = exports.ContactNotFoundException = exports.TrafficType = exports.OutboundContactNotPermittedException = exports.DestinationNotAllowedException = exports.VoiceRecordingTrack = exports.HierarchyGroupMatchType = exports.StringComparisonType = exports.SearchableQueueType = exports.QueueType = exports.ReferenceSummary = void 0;
4
+ exports.AvailableNumberSummaryFilterSensitiveLog = exports.SearchAvailablePhoneNumbersRequestFilterSensitiveLog = exports.ResumeContactRecordingResponseFilterSensitiveLog = exports.ResumeContactRecordingRequestFilterSensitiveLog = exports.ReplicateInstanceResponseFilterSensitiveLog = exports.ReplicateInstanceRequestFilterSensitiveLog = exports.ReleasePhoneNumberRequestFilterSensitiveLog = exports.PutUserStatusResponseFilterSensitiveLog = exports.PutUserStatusRequestFilterSensitiveLog = exports.MonitorContactResponseFilterSensitiveLog = exports.MonitorContactRequestFilterSensitiveLog = exports.ListUsersResponseFilterSensitiveLog = exports.UserSummaryFilterSensitiveLog = exports.ListUsersRequestFilterSensitiveLog = exports.ListUserHierarchyGroupsResponseFilterSensitiveLog = exports.ListUserHierarchyGroupsRequestFilterSensitiveLog = exports.ListUseCasesResponseFilterSensitiveLog = exports.UseCaseFilterSensitiveLog = exports.ListUseCasesRequestFilterSensitiveLog = exports.ListTrafficDistributionGroupsResponseFilterSensitiveLog = exports.TrafficDistributionGroupSummaryFilterSensitiveLog = exports.ListTrafficDistributionGroupsRequestFilterSensitiveLog = exports.ListTaskTemplatesResponseFilterSensitiveLog = exports.TaskTemplateMetadataFilterSensitiveLog = exports.ListTaskTemplatesRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListSecurityProfilesResponseFilterSensitiveLog = exports.SecurityProfileSummaryFilterSensitiveLog = exports.ListSecurityProfilesRequestFilterSensitiveLog = exports.ListSecurityProfilePermissionsResponseFilterSensitiveLog = exports.ListSecurityProfilePermissionsRequestFilterSensitiveLog = exports.ListSecurityKeysResponseFilterSensitiveLog = exports.SecurityKeyFilterSensitiveLog = exports.ListSecurityKeysRequestFilterSensitiveLog = exports.ListRulesResponseFilterSensitiveLog = exports.RuleSummaryFilterSensitiveLog = exports.ListRulesRequestFilterSensitiveLog = exports.ListRoutingProfilesResponseFilterSensitiveLog = exports.RoutingProfileSummaryFilterSensitiveLog = exports.ListRoutingProfilesRequestFilterSensitiveLog = exports.ListRoutingProfileQueuesResponseFilterSensitiveLog = exports.RoutingProfileQueueConfigSummaryFilterSensitiveLog = exports.ListRoutingProfileQueuesRequestFilterSensitiveLog = exports.ListQuickConnectsResponseFilterSensitiveLog = exports.ListQuickConnectsRequestFilterSensitiveLog = exports.ListQueuesResponseFilterSensitiveLog = exports.QueueSummaryFilterSensitiveLog = exports.ListQueuesRequestFilterSensitiveLog = exports.ListQueueQuickConnectsResponseFilterSensitiveLog = void 0;
5
+ exports.UpdateContactAttributesRequestFilterSensitiveLog = exports.UpdateContactResponseFilterSensitiveLog = exports.UpdateContactRequestFilterSensitiveLog = exports.UpdateAgentStatusRequestFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TransferContactResponseFilterSensitiveLog = exports.TransferContactRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.SuspendContactRecordingResponseFilterSensitiveLog = exports.SuspendContactRecordingRequestFilterSensitiveLog = exports.StopContactStreamingResponseFilterSensitiveLog = exports.StopContactStreamingRequestFilterSensitiveLog = exports.StopContactRecordingResponseFilterSensitiveLog = exports.StopContactRecordingRequestFilterSensitiveLog = exports.StopContactResponseFilterSensitiveLog = exports.StopContactRequestFilterSensitiveLog = exports.StartTaskContactResponseFilterSensitiveLog = exports.StartTaskContactRequestFilterSensitiveLog = exports.StartOutboundVoiceContactResponseFilterSensitiveLog = exports.StartOutboundVoiceContactRequestFilterSensitiveLog = exports.AnswerMachineDetectionConfigFilterSensitiveLog = exports.StartContactStreamingResponseFilterSensitiveLog = exports.StartContactStreamingRequestFilterSensitiveLog = exports.ChatStreamingConfigurationFilterSensitiveLog = exports.StartContactRecordingResponseFilterSensitiveLog = exports.StartContactRecordingRequestFilterSensitiveLog = exports.VoiceRecordingConfigurationFilterSensitiveLog = exports.StartChatContactResponseFilterSensitiveLog = exports.StartChatContactRequestFilterSensitiveLog = exports.ParticipantDetailsFilterSensitiveLog = exports.ChatMessageFilterSensitiveLog = exports.SearchVocabulariesResponseFilterSensitiveLog = exports.VocabularySummaryFilterSensitiveLog = exports.SearchVocabulariesRequestFilterSensitiveLog = exports.SearchUsersResponseFilterSensitiveLog = exports.UserSearchSummaryFilterSensitiveLog = exports.UserIdentityInfoLiteFilterSensitiveLog = exports.UserSearchFilterFilterSensitiveLog = exports.HierarchyGroupConditionFilterSensitiveLog = exports.SearchSecurityProfilesResponseFilterSensitiveLog = exports.SecurityProfileSearchSummaryFilterSensitiveLog = exports.SecurityProfilesSearchFilterFilterSensitiveLog = exports.SearchRoutingProfilesResponseFilterSensitiveLog = exports.RoutingProfileSearchFilterFilterSensitiveLog = exports.SearchQueuesResponseFilterSensitiveLog = exports.QueueSearchFilterFilterSensitiveLog = exports.ControlPlaneTagFilterFilterSensitiveLog = exports.TagConditionFilterSensitiveLog = exports.StringConditionFilterSensitiveLog = exports.SearchAvailablePhoneNumbersResponseFilterSensitiveLog = void 0;
6
+ exports.SecurityProfileSearchCriteriaFilterSensitiveLog = exports.RoutingProfileSearchCriteriaFilterSensitiveLog = exports.QueueSearchCriteriaFilterSensitiveLog = exports.UpdateUserSecurityProfilesRequestFilterSensitiveLog = exports.UpdateUserRoutingProfileRequestFilterSensitiveLog = exports.UpdateUserPhoneConfigRequestFilterSensitiveLog = exports.UpdateUserIdentityInfoRequestFilterSensitiveLog = exports.UpdateUserHierarchyStructureRequestFilterSensitiveLog = exports.HierarchyStructureUpdateFilterSensitiveLog = exports.HierarchyLevelUpdateFilterSensitiveLog = exports.UpdateUserHierarchyGroupNameRequestFilterSensitiveLog = exports.UpdateUserHierarchyRequestFilterSensitiveLog = exports.UpdateTrafficDistributionResponseFilterSensitiveLog = exports.UpdateTrafficDistributionRequestFilterSensitiveLog = exports.UpdateTaskTemplateResponseFilterSensitiveLog = exports.UpdateTaskTemplateRequestFilterSensitiveLog = exports.UpdateSecurityProfileRequestFilterSensitiveLog = exports.UpdateRuleRequestFilterSensitiveLog = exports.UpdateRoutingProfileQueuesRequestFilterSensitiveLog = exports.UpdateRoutingProfileNameRequestFilterSensitiveLog = exports.UpdateRoutingProfileDefaultOutboundQueueRequestFilterSensitiveLog = exports.UpdateRoutingProfileConcurrencyRequestFilterSensitiveLog = exports.UpdateQuickConnectNameRequestFilterSensitiveLog = exports.UpdateQuickConnectConfigRequestFilterSensitiveLog = exports.UpdateQueueStatusRequestFilterSensitiveLog = exports.UpdateQueueOutboundCallerConfigRequestFilterSensitiveLog = exports.UpdateQueueNameRequestFilterSensitiveLog = exports.UpdateQueueMaxContactsRequestFilterSensitiveLog = exports.UpdateQueueHoursOfOperationRequestFilterSensitiveLog = exports.UpdatePhoneNumberResponseFilterSensitiveLog = exports.UpdatePhoneNumberRequestFilterSensitiveLog = exports.UpdateParticipantRoleConfigResponseFilterSensitiveLog = exports.UpdateParticipantRoleConfigRequestFilterSensitiveLog = exports.UpdateParticipantRoleConfigChannelInfoFilterSensitiveLog = exports.ChatParticipantRoleConfigFilterSensitiveLog = exports.ParticipantTimerConfigurationFilterSensitiveLog = exports.ParticipantTimerValueFilterSensitiveLog = exports.UpdateInstanceStorageConfigRequestFilterSensitiveLog = exports.UpdateInstanceAttributeRequestFilterSensitiveLog = exports.UpdateHoursOfOperationRequestFilterSensitiveLog = exports.UpdateContactScheduleResponseFilterSensitiveLog = exports.UpdateContactScheduleRequestFilterSensitiveLog = exports.UpdateContactFlowNameRequestFilterSensitiveLog = exports.UpdateContactFlowModuleMetadataResponseFilterSensitiveLog = exports.UpdateContactFlowModuleMetadataRequestFilterSensitiveLog = exports.UpdateContactFlowModuleContentResponseFilterSensitiveLog = exports.UpdateContactFlowModuleContentRequestFilterSensitiveLog = exports.UpdateContactFlowMetadataRequestFilterSensitiveLog = exports.UpdateContactFlowContentRequestFilterSensitiveLog = exports.UpdateContactAttributesResponseFilterSensitiveLog = void 0;
7
+ exports.SearchUsersRequestFilterSensitiveLog = exports.SearchSecurityProfilesRequestFilterSensitiveLog = exports.SearchRoutingProfilesRequestFilterSensitiveLog = exports.SearchQueuesRequestFilterSensitiveLog = exports.UserSearchCriteriaFilterSensitiveLog = void 0;
7
8
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
9
  const ConnectServiceException_1 = require("./ConnectServiceException");
9
10
  const models_0_1 = require("./models_0");
@@ -98,6 +99,38 @@ class ContactNotFoundException extends ConnectServiceException_1.ConnectServiceE
98
99
  }
99
100
  }
100
101
  exports.ContactNotFoundException = ContactNotFoundException;
102
+ var TimerEligibleParticipantRoles;
103
+ (function (TimerEligibleParticipantRoles) {
104
+ TimerEligibleParticipantRoles["AGENT"] = "AGENT";
105
+ TimerEligibleParticipantRoles["CUSTOMER"] = "CUSTOMER";
106
+ })(TimerEligibleParticipantRoles = exports.TimerEligibleParticipantRoles || (exports.TimerEligibleParticipantRoles = {}));
107
+ var ParticipantTimerType;
108
+ (function (ParticipantTimerType) {
109
+ ParticipantTimerType["DISCONNECT_NONCUSTOMER"] = "DISCONNECT_NONCUSTOMER";
110
+ ParticipantTimerType["IDLE"] = "IDLE";
111
+ })(ParticipantTimerType = exports.ParticipantTimerType || (exports.ParticipantTimerType = {}));
112
+ var ParticipantTimerAction;
113
+ (function (ParticipantTimerAction) {
114
+ ParticipantTimerAction["Unset"] = "Unset";
115
+ })(ParticipantTimerAction = exports.ParticipantTimerAction || (exports.ParticipantTimerAction = {}));
116
+ var ParticipantTimerValue;
117
+ (function (ParticipantTimerValue) {
118
+ ParticipantTimerValue.visit = (value, visitor) => {
119
+ if (value.ParticipantTimerAction !== undefined)
120
+ return visitor.ParticipantTimerAction(value.ParticipantTimerAction);
121
+ if (value.ParticipantTimerDurationInMinutes !== undefined)
122
+ return visitor.ParticipantTimerDurationInMinutes(value.ParticipantTimerDurationInMinutes);
123
+ return visitor._(value.$unknown[0], value.$unknown[1]);
124
+ };
125
+ })(ParticipantTimerValue = exports.ParticipantTimerValue || (exports.ParticipantTimerValue = {}));
126
+ var UpdateParticipantRoleConfigChannelInfo;
127
+ (function (UpdateParticipantRoleConfigChannelInfo) {
128
+ UpdateParticipantRoleConfigChannelInfo.visit = (value, visitor) => {
129
+ if (value.Chat !== undefined)
130
+ return visitor.Chat(value.Chat);
131
+ return visitor._(value.$unknown[0], value.$unknown[1]);
132
+ };
133
+ })(UpdateParticipantRoleConfigChannelInfo = exports.UpdateParticipantRoleConfigChannelInfo || (exports.UpdateParticipantRoleConfigChannelInfo = {}));
101
134
  const StringReferenceFilterSensitiveLog = (obj) => ({
102
135
  ...obj,
103
136
  });
@@ -711,6 +744,45 @@ const UpdateInstanceStorageConfigRequestFilterSensitiveLog = (obj) => ({
711
744
  ...obj,
712
745
  });
713
746
  exports.UpdateInstanceStorageConfigRequestFilterSensitiveLog = UpdateInstanceStorageConfigRequestFilterSensitiveLog;
747
+ const ParticipantTimerValueFilterSensitiveLog = (obj) => {
748
+ if (obj.ParticipantTimerAction !== undefined)
749
+ return { ParticipantTimerAction: obj.ParticipantTimerAction };
750
+ if (obj.ParticipantTimerDurationInMinutes !== undefined)
751
+ return { ParticipantTimerDurationInMinutes: obj.ParticipantTimerDurationInMinutes };
752
+ if (obj.$unknown !== undefined)
753
+ return { [obj.$unknown[0]]: "UNKNOWN" };
754
+ };
755
+ exports.ParticipantTimerValueFilterSensitiveLog = ParticipantTimerValueFilterSensitiveLog;
756
+ const ParticipantTimerConfigurationFilterSensitiveLog = (obj) => ({
757
+ ...obj,
758
+ ...(obj.TimerValue && { TimerValue: (0, exports.ParticipantTimerValueFilterSensitiveLog)(obj.TimerValue) }),
759
+ });
760
+ exports.ParticipantTimerConfigurationFilterSensitiveLog = ParticipantTimerConfigurationFilterSensitiveLog;
761
+ const ChatParticipantRoleConfigFilterSensitiveLog = (obj) => ({
762
+ ...obj,
763
+ ...(obj.ParticipantTimerConfigList && {
764
+ ParticipantTimerConfigList: obj.ParticipantTimerConfigList.map((item) => (0, exports.ParticipantTimerConfigurationFilterSensitiveLog)(item)),
765
+ }),
766
+ });
767
+ exports.ChatParticipantRoleConfigFilterSensitiveLog = ChatParticipantRoleConfigFilterSensitiveLog;
768
+ const UpdateParticipantRoleConfigChannelInfoFilterSensitiveLog = (obj) => {
769
+ if (obj.Chat !== undefined)
770
+ return { Chat: (0, exports.ChatParticipantRoleConfigFilterSensitiveLog)(obj.Chat) };
771
+ if (obj.$unknown !== undefined)
772
+ return { [obj.$unknown[0]]: "UNKNOWN" };
773
+ };
774
+ exports.UpdateParticipantRoleConfigChannelInfoFilterSensitiveLog = UpdateParticipantRoleConfigChannelInfoFilterSensitiveLog;
775
+ const UpdateParticipantRoleConfigRequestFilterSensitiveLog = (obj) => ({
776
+ ...obj,
777
+ ...(obj.ChannelConfiguration && {
778
+ ChannelConfiguration: (0, exports.UpdateParticipantRoleConfigChannelInfoFilterSensitiveLog)(obj.ChannelConfiguration),
779
+ }),
780
+ });
781
+ exports.UpdateParticipantRoleConfigRequestFilterSensitiveLog = UpdateParticipantRoleConfigRequestFilterSensitiveLog;
782
+ const UpdateParticipantRoleConfigResponseFilterSensitiveLog = (obj) => ({
783
+ ...obj,
784
+ });
785
+ exports.UpdateParticipantRoleConfigResponseFilterSensitiveLog = UpdateParticipantRoleConfigResponseFilterSensitiveLog;
714
786
  const UpdatePhoneNumberRequestFilterSensitiveLog = (obj) => ({
715
787
  ...obj,
716
788
  });
@@ -2,11 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.serializeAws_restJson1DescribeInstanceStorageConfigCommand = exports.serializeAws_restJson1DescribeInstanceAttributeCommand = exports.serializeAws_restJson1DescribeInstanceCommand = exports.serializeAws_restJson1DescribeHoursOfOperationCommand = exports.serializeAws_restJson1DescribeContactFlowModuleCommand = exports.serializeAws_restJson1DescribeContactFlowCommand = exports.serializeAws_restJson1DescribeContactCommand = exports.serializeAws_restJson1DescribeAgentStatusCommand = exports.serializeAws_restJson1DeleteVocabularyCommand = exports.serializeAws_restJson1DeleteUserHierarchyGroupCommand = exports.serializeAws_restJson1DeleteUserCommand = exports.serializeAws_restJson1DeleteUseCaseCommand = exports.serializeAws_restJson1DeleteTrafficDistributionGroupCommand = exports.serializeAws_restJson1DeleteTaskTemplateCommand = exports.serializeAws_restJson1DeleteSecurityProfileCommand = exports.serializeAws_restJson1DeleteRuleCommand = exports.serializeAws_restJson1DeleteQuickConnectCommand = exports.serializeAws_restJson1DeleteIntegrationAssociationCommand = exports.serializeAws_restJson1DeleteInstanceCommand = exports.serializeAws_restJson1DeleteHoursOfOperationCommand = exports.serializeAws_restJson1DeleteContactFlowModuleCommand = exports.serializeAws_restJson1DeleteContactFlowCommand = exports.serializeAws_restJson1CreateVocabularyCommand = exports.serializeAws_restJson1CreateUserHierarchyGroupCommand = exports.serializeAws_restJson1CreateUserCommand = exports.serializeAws_restJson1CreateUseCaseCommand = exports.serializeAws_restJson1CreateTrafficDistributionGroupCommand = exports.serializeAws_restJson1CreateTaskTemplateCommand = exports.serializeAws_restJson1CreateSecurityProfileCommand = exports.serializeAws_restJson1CreateRuleCommand = exports.serializeAws_restJson1CreateRoutingProfileCommand = exports.serializeAws_restJson1CreateQuickConnectCommand = exports.serializeAws_restJson1CreateQueueCommand = exports.serializeAws_restJson1CreateIntegrationAssociationCommand = exports.serializeAws_restJson1CreateInstanceCommand = exports.serializeAws_restJson1CreateHoursOfOperationCommand = exports.serializeAws_restJson1CreateContactFlowModuleCommand = exports.serializeAws_restJson1CreateContactFlowCommand = exports.serializeAws_restJson1CreateAgentStatusCommand = exports.serializeAws_restJson1ClaimPhoneNumberCommand = exports.serializeAws_restJson1AssociateSecurityKeyCommand = exports.serializeAws_restJson1AssociateRoutingProfileQueuesCommand = exports.serializeAws_restJson1AssociateQueueQuickConnectsCommand = exports.serializeAws_restJson1AssociatePhoneNumberContactFlowCommand = exports.serializeAws_restJson1AssociateLexBotCommand = exports.serializeAws_restJson1AssociateLambdaFunctionCommand = exports.serializeAws_restJson1AssociateInstanceStorageConfigCommand = exports.serializeAws_restJson1AssociateDefaultVocabularyCommand = exports.serializeAws_restJson1AssociateBotCommand = exports.serializeAws_restJson1AssociateApprovedOriginCommand = void 0;
4
4
  exports.serializeAws_restJson1ListRoutingProfilesCommand = exports.serializeAws_restJson1ListRoutingProfileQueuesCommand = exports.serializeAws_restJson1ListQuickConnectsCommand = exports.serializeAws_restJson1ListQueuesCommand = exports.serializeAws_restJson1ListQueueQuickConnectsCommand = exports.serializeAws_restJson1ListPromptsCommand = exports.serializeAws_restJson1ListPhoneNumbersV2Command = exports.serializeAws_restJson1ListPhoneNumbersCommand = exports.serializeAws_restJson1ListLexBotsCommand = exports.serializeAws_restJson1ListLambdaFunctionsCommand = exports.serializeAws_restJson1ListIntegrationAssociationsCommand = exports.serializeAws_restJson1ListInstanceStorageConfigsCommand = exports.serializeAws_restJson1ListInstancesCommand = exports.serializeAws_restJson1ListInstanceAttributesCommand = exports.serializeAws_restJson1ListHoursOfOperationsCommand = exports.serializeAws_restJson1ListDefaultVocabulariesCommand = exports.serializeAws_restJson1ListContactReferencesCommand = exports.serializeAws_restJson1ListContactFlowsCommand = exports.serializeAws_restJson1ListContactFlowModulesCommand = exports.serializeAws_restJson1ListBotsCommand = exports.serializeAws_restJson1ListApprovedOriginsCommand = exports.serializeAws_restJson1ListAgentStatusesCommand = exports.serializeAws_restJson1GetTrafficDistributionCommand = exports.serializeAws_restJson1GetTaskTemplateCommand = exports.serializeAws_restJson1GetMetricDataCommand = exports.serializeAws_restJson1GetFederationTokenCommand = exports.serializeAws_restJson1GetCurrentUserDataCommand = exports.serializeAws_restJson1GetCurrentMetricDataCommand = exports.serializeAws_restJson1GetContactAttributesCommand = exports.serializeAws_restJson1DismissUserContactCommand = exports.serializeAws_restJson1DisassociateSecurityKeyCommand = exports.serializeAws_restJson1DisassociateRoutingProfileQueuesCommand = exports.serializeAws_restJson1DisassociateQueueQuickConnectsCommand = exports.serializeAws_restJson1DisassociatePhoneNumberContactFlowCommand = exports.serializeAws_restJson1DisassociateLexBotCommand = exports.serializeAws_restJson1DisassociateLambdaFunctionCommand = exports.serializeAws_restJson1DisassociateInstanceStorageConfigCommand = exports.serializeAws_restJson1DisassociateBotCommand = exports.serializeAws_restJson1DisassociateApprovedOriginCommand = exports.serializeAws_restJson1DescribeVocabularyCommand = exports.serializeAws_restJson1DescribeUserHierarchyStructureCommand = exports.serializeAws_restJson1DescribeUserHierarchyGroupCommand = exports.serializeAws_restJson1DescribeUserCommand = exports.serializeAws_restJson1DescribeTrafficDistributionGroupCommand = exports.serializeAws_restJson1DescribeSecurityProfileCommand = exports.serializeAws_restJson1DescribeRuleCommand = exports.serializeAws_restJson1DescribeRoutingProfileCommand = exports.serializeAws_restJson1DescribeQuickConnectCommand = exports.serializeAws_restJson1DescribeQueueCommand = exports.serializeAws_restJson1DescribePhoneNumberCommand = void 0;
5
- exports.serializeAws_restJson1UpdateQueueOutboundCallerConfigCommand = exports.serializeAws_restJson1UpdateQueueNameCommand = exports.serializeAws_restJson1UpdateQueueMaxContactsCommand = exports.serializeAws_restJson1UpdateQueueHoursOfOperationCommand = exports.serializeAws_restJson1UpdatePhoneNumberCommand = exports.serializeAws_restJson1UpdateInstanceStorageConfigCommand = exports.serializeAws_restJson1UpdateInstanceAttributeCommand = exports.serializeAws_restJson1UpdateHoursOfOperationCommand = exports.serializeAws_restJson1UpdateContactScheduleCommand = exports.serializeAws_restJson1UpdateContactFlowNameCommand = exports.serializeAws_restJson1UpdateContactFlowModuleMetadataCommand = exports.serializeAws_restJson1UpdateContactFlowModuleContentCommand = exports.serializeAws_restJson1UpdateContactFlowMetadataCommand = exports.serializeAws_restJson1UpdateContactFlowContentCommand = exports.serializeAws_restJson1UpdateContactAttributesCommand = exports.serializeAws_restJson1UpdateContactCommand = exports.serializeAws_restJson1UpdateAgentStatusCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TransferContactCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1SuspendContactRecordingCommand = exports.serializeAws_restJson1StopContactStreamingCommand = exports.serializeAws_restJson1StopContactRecordingCommand = exports.serializeAws_restJson1StopContactCommand = exports.serializeAws_restJson1StartTaskContactCommand = exports.serializeAws_restJson1StartOutboundVoiceContactCommand = exports.serializeAws_restJson1StartContactStreamingCommand = exports.serializeAws_restJson1StartContactRecordingCommand = exports.serializeAws_restJson1StartChatContactCommand = exports.serializeAws_restJson1SearchVocabulariesCommand = exports.serializeAws_restJson1SearchUsersCommand = exports.serializeAws_restJson1SearchSecurityProfilesCommand = exports.serializeAws_restJson1SearchRoutingProfilesCommand = exports.serializeAws_restJson1SearchQueuesCommand = exports.serializeAws_restJson1SearchAvailablePhoneNumbersCommand = exports.serializeAws_restJson1ResumeContactRecordingCommand = exports.serializeAws_restJson1ReplicateInstanceCommand = exports.serializeAws_restJson1ReleasePhoneNumberCommand = exports.serializeAws_restJson1PutUserStatusCommand = exports.serializeAws_restJson1MonitorContactCommand = exports.serializeAws_restJson1ListUsersCommand = exports.serializeAws_restJson1ListUserHierarchyGroupsCommand = exports.serializeAws_restJson1ListUseCasesCommand = exports.serializeAws_restJson1ListTrafficDistributionGroupsCommand = exports.serializeAws_restJson1ListTaskTemplatesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListSecurityProfilesCommand = exports.serializeAws_restJson1ListSecurityProfilePermissionsCommand = exports.serializeAws_restJson1ListSecurityKeysCommand = exports.serializeAws_restJson1ListRulesCommand = void 0;
6
- exports.deserializeAws_restJson1DeleteInstanceCommand = exports.deserializeAws_restJson1DeleteHoursOfOperationCommand = exports.deserializeAws_restJson1DeleteContactFlowModuleCommand = exports.deserializeAws_restJson1DeleteContactFlowCommand = exports.deserializeAws_restJson1CreateVocabularyCommand = exports.deserializeAws_restJson1CreateUserHierarchyGroupCommand = exports.deserializeAws_restJson1CreateUserCommand = exports.deserializeAws_restJson1CreateUseCaseCommand = exports.deserializeAws_restJson1CreateTrafficDistributionGroupCommand = exports.deserializeAws_restJson1CreateTaskTemplateCommand = exports.deserializeAws_restJson1CreateSecurityProfileCommand = exports.deserializeAws_restJson1CreateRuleCommand = exports.deserializeAws_restJson1CreateRoutingProfileCommand = exports.deserializeAws_restJson1CreateQuickConnectCommand = exports.deserializeAws_restJson1CreateQueueCommand = exports.deserializeAws_restJson1CreateIntegrationAssociationCommand = exports.deserializeAws_restJson1CreateInstanceCommand = exports.deserializeAws_restJson1CreateHoursOfOperationCommand = exports.deserializeAws_restJson1CreateContactFlowModuleCommand = exports.deserializeAws_restJson1CreateContactFlowCommand = exports.deserializeAws_restJson1CreateAgentStatusCommand = exports.deserializeAws_restJson1ClaimPhoneNumberCommand = exports.deserializeAws_restJson1AssociateSecurityKeyCommand = exports.deserializeAws_restJson1AssociateRoutingProfileQueuesCommand = exports.deserializeAws_restJson1AssociateQueueQuickConnectsCommand = exports.deserializeAws_restJson1AssociatePhoneNumberContactFlowCommand = exports.deserializeAws_restJson1AssociateLexBotCommand = exports.deserializeAws_restJson1AssociateLambdaFunctionCommand = exports.deserializeAws_restJson1AssociateInstanceStorageConfigCommand = exports.deserializeAws_restJson1AssociateDefaultVocabularyCommand = exports.deserializeAws_restJson1AssociateBotCommand = exports.deserializeAws_restJson1AssociateApprovedOriginCommand = exports.serializeAws_restJson1UpdateUserSecurityProfilesCommand = exports.serializeAws_restJson1UpdateUserRoutingProfileCommand = exports.serializeAws_restJson1UpdateUserPhoneConfigCommand = exports.serializeAws_restJson1UpdateUserIdentityInfoCommand = exports.serializeAws_restJson1UpdateUserHierarchyStructureCommand = exports.serializeAws_restJson1UpdateUserHierarchyGroupNameCommand = exports.serializeAws_restJson1UpdateUserHierarchyCommand = exports.serializeAws_restJson1UpdateTrafficDistributionCommand = exports.serializeAws_restJson1UpdateTaskTemplateCommand = exports.serializeAws_restJson1UpdateSecurityProfileCommand = exports.serializeAws_restJson1UpdateRuleCommand = exports.serializeAws_restJson1UpdateRoutingProfileQueuesCommand = exports.serializeAws_restJson1UpdateRoutingProfileNameCommand = exports.serializeAws_restJson1UpdateRoutingProfileDefaultOutboundQueueCommand = exports.serializeAws_restJson1UpdateRoutingProfileConcurrencyCommand = exports.serializeAws_restJson1UpdateQuickConnectNameCommand = exports.serializeAws_restJson1UpdateQuickConnectConfigCommand = exports.serializeAws_restJson1UpdateQueueStatusCommand = void 0;
7
- exports.deserializeAws_restJson1ListContactFlowModulesCommand = exports.deserializeAws_restJson1ListBotsCommand = exports.deserializeAws_restJson1ListApprovedOriginsCommand = exports.deserializeAws_restJson1ListAgentStatusesCommand = exports.deserializeAws_restJson1GetTrafficDistributionCommand = exports.deserializeAws_restJson1GetTaskTemplateCommand = exports.deserializeAws_restJson1GetMetricDataCommand = exports.deserializeAws_restJson1GetFederationTokenCommand = exports.deserializeAws_restJson1GetCurrentUserDataCommand = exports.deserializeAws_restJson1GetCurrentMetricDataCommand = exports.deserializeAws_restJson1GetContactAttributesCommand = exports.deserializeAws_restJson1DismissUserContactCommand = exports.deserializeAws_restJson1DisassociateSecurityKeyCommand = exports.deserializeAws_restJson1DisassociateRoutingProfileQueuesCommand = exports.deserializeAws_restJson1DisassociateQueueQuickConnectsCommand = exports.deserializeAws_restJson1DisassociatePhoneNumberContactFlowCommand = exports.deserializeAws_restJson1DisassociateLexBotCommand = exports.deserializeAws_restJson1DisassociateLambdaFunctionCommand = exports.deserializeAws_restJson1DisassociateInstanceStorageConfigCommand = exports.deserializeAws_restJson1DisassociateBotCommand = exports.deserializeAws_restJson1DisassociateApprovedOriginCommand = exports.deserializeAws_restJson1DescribeVocabularyCommand = exports.deserializeAws_restJson1DescribeUserHierarchyStructureCommand = exports.deserializeAws_restJson1DescribeUserHierarchyGroupCommand = exports.deserializeAws_restJson1DescribeUserCommand = exports.deserializeAws_restJson1DescribeTrafficDistributionGroupCommand = exports.deserializeAws_restJson1DescribeSecurityProfileCommand = exports.deserializeAws_restJson1DescribeRuleCommand = exports.deserializeAws_restJson1DescribeRoutingProfileCommand = exports.deserializeAws_restJson1DescribeQuickConnectCommand = exports.deserializeAws_restJson1DescribeQueueCommand = exports.deserializeAws_restJson1DescribePhoneNumberCommand = exports.deserializeAws_restJson1DescribeInstanceStorageConfigCommand = exports.deserializeAws_restJson1DescribeInstanceAttributeCommand = exports.deserializeAws_restJson1DescribeInstanceCommand = exports.deserializeAws_restJson1DescribeHoursOfOperationCommand = exports.deserializeAws_restJson1DescribeContactFlowModuleCommand = exports.deserializeAws_restJson1DescribeContactFlowCommand = exports.deserializeAws_restJson1DescribeContactCommand = exports.deserializeAws_restJson1DescribeAgentStatusCommand = exports.deserializeAws_restJson1DeleteVocabularyCommand = exports.deserializeAws_restJson1DeleteUserHierarchyGroupCommand = exports.deserializeAws_restJson1DeleteUserCommand = exports.deserializeAws_restJson1DeleteUseCaseCommand = exports.deserializeAws_restJson1DeleteTrafficDistributionGroupCommand = exports.deserializeAws_restJson1DeleteTaskTemplateCommand = exports.deserializeAws_restJson1DeleteSecurityProfileCommand = exports.deserializeAws_restJson1DeleteRuleCommand = exports.deserializeAws_restJson1DeleteQuickConnectCommand = exports.deserializeAws_restJson1DeleteIntegrationAssociationCommand = void 0;
8
- exports.deserializeAws_restJson1TransferContactCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1SuspendContactRecordingCommand = exports.deserializeAws_restJson1StopContactStreamingCommand = exports.deserializeAws_restJson1StopContactRecordingCommand = exports.deserializeAws_restJson1StopContactCommand = exports.deserializeAws_restJson1StartTaskContactCommand = exports.deserializeAws_restJson1StartOutboundVoiceContactCommand = exports.deserializeAws_restJson1StartContactStreamingCommand = exports.deserializeAws_restJson1StartContactRecordingCommand = exports.deserializeAws_restJson1StartChatContactCommand = exports.deserializeAws_restJson1SearchVocabulariesCommand = exports.deserializeAws_restJson1SearchUsersCommand = exports.deserializeAws_restJson1SearchSecurityProfilesCommand = exports.deserializeAws_restJson1SearchRoutingProfilesCommand = exports.deserializeAws_restJson1SearchQueuesCommand = exports.deserializeAws_restJson1SearchAvailablePhoneNumbersCommand = exports.deserializeAws_restJson1ResumeContactRecordingCommand = exports.deserializeAws_restJson1ReplicateInstanceCommand = exports.deserializeAws_restJson1ReleasePhoneNumberCommand = exports.deserializeAws_restJson1PutUserStatusCommand = exports.deserializeAws_restJson1MonitorContactCommand = exports.deserializeAws_restJson1ListUsersCommand = exports.deserializeAws_restJson1ListUserHierarchyGroupsCommand = exports.deserializeAws_restJson1ListUseCasesCommand = exports.deserializeAws_restJson1ListTrafficDistributionGroupsCommand = exports.deserializeAws_restJson1ListTaskTemplatesCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListSecurityProfilesCommand = exports.deserializeAws_restJson1ListSecurityProfilePermissionsCommand = exports.deserializeAws_restJson1ListSecurityKeysCommand = exports.deserializeAws_restJson1ListRulesCommand = exports.deserializeAws_restJson1ListRoutingProfilesCommand = exports.deserializeAws_restJson1ListRoutingProfileQueuesCommand = exports.deserializeAws_restJson1ListQuickConnectsCommand = exports.deserializeAws_restJson1ListQueuesCommand = exports.deserializeAws_restJson1ListQueueQuickConnectsCommand = exports.deserializeAws_restJson1ListPromptsCommand = exports.deserializeAws_restJson1ListPhoneNumbersV2Command = exports.deserializeAws_restJson1ListPhoneNumbersCommand = exports.deserializeAws_restJson1ListLexBotsCommand = exports.deserializeAws_restJson1ListLambdaFunctionsCommand = exports.deserializeAws_restJson1ListIntegrationAssociationsCommand = exports.deserializeAws_restJson1ListInstanceStorageConfigsCommand = exports.deserializeAws_restJson1ListInstancesCommand = exports.deserializeAws_restJson1ListInstanceAttributesCommand = exports.deserializeAws_restJson1ListHoursOfOperationsCommand = exports.deserializeAws_restJson1ListDefaultVocabulariesCommand = exports.deserializeAws_restJson1ListContactReferencesCommand = exports.deserializeAws_restJson1ListContactFlowsCommand = void 0;
9
- exports.deserializeAws_restJson1UpdateUserSecurityProfilesCommand = exports.deserializeAws_restJson1UpdateUserRoutingProfileCommand = exports.deserializeAws_restJson1UpdateUserPhoneConfigCommand = exports.deserializeAws_restJson1UpdateUserIdentityInfoCommand = exports.deserializeAws_restJson1UpdateUserHierarchyStructureCommand = exports.deserializeAws_restJson1UpdateUserHierarchyGroupNameCommand = exports.deserializeAws_restJson1UpdateUserHierarchyCommand = exports.deserializeAws_restJson1UpdateTrafficDistributionCommand = exports.deserializeAws_restJson1UpdateTaskTemplateCommand = exports.deserializeAws_restJson1UpdateSecurityProfileCommand = exports.deserializeAws_restJson1UpdateRuleCommand = exports.deserializeAws_restJson1UpdateRoutingProfileQueuesCommand = exports.deserializeAws_restJson1UpdateRoutingProfileNameCommand = exports.deserializeAws_restJson1UpdateRoutingProfileDefaultOutboundQueueCommand = exports.deserializeAws_restJson1UpdateRoutingProfileConcurrencyCommand = exports.deserializeAws_restJson1UpdateQuickConnectNameCommand = exports.deserializeAws_restJson1UpdateQuickConnectConfigCommand = exports.deserializeAws_restJson1UpdateQueueStatusCommand = exports.deserializeAws_restJson1UpdateQueueOutboundCallerConfigCommand = exports.deserializeAws_restJson1UpdateQueueNameCommand = exports.deserializeAws_restJson1UpdateQueueMaxContactsCommand = exports.deserializeAws_restJson1UpdateQueueHoursOfOperationCommand = exports.deserializeAws_restJson1UpdatePhoneNumberCommand = exports.deserializeAws_restJson1UpdateInstanceStorageConfigCommand = exports.deserializeAws_restJson1UpdateInstanceAttributeCommand = exports.deserializeAws_restJson1UpdateHoursOfOperationCommand = exports.deserializeAws_restJson1UpdateContactScheduleCommand = exports.deserializeAws_restJson1UpdateContactFlowNameCommand = exports.deserializeAws_restJson1UpdateContactFlowModuleMetadataCommand = exports.deserializeAws_restJson1UpdateContactFlowModuleContentCommand = exports.deserializeAws_restJson1UpdateContactFlowMetadataCommand = exports.deserializeAws_restJson1UpdateContactFlowContentCommand = exports.deserializeAws_restJson1UpdateContactAttributesCommand = exports.deserializeAws_restJson1UpdateContactCommand = exports.deserializeAws_restJson1UpdateAgentStatusCommand = exports.deserializeAws_restJson1UntagResourceCommand = void 0;
5
+ exports.serializeAws_restJson1UpdateQueueNameCommand = exports.serializeAws_restJson1UpdateQueueMaxContactsCommand = exports.serializeAws_restJson1UpdateQueueHoursOfOperationCommand = exports.serializeAws_restJson1UpdatePhoneNumberCommand = exports.serializeAws_restJson1UpdateParticipantRoleConfigCommand = exports.serializeAws_restJson1UpdateInstanceStorageConfigCommand = exports.serializeAws_restJson1UpdateInstanceAttributeCommand = exports.serializeAws_restJson1UpdateHoursOfOperationCommand = exports.serializeAws_restJson1UpdateContactScheduleCommand = exports.serializeAws_restJson1UpdateContactFlowNameCommand = exports.serializeAws_restJson1UpdateContactFlowModuleMetadataCommand = exports.serializeAws_restJson1UpdateContactFlowModuleContentCommand = exports.serializeAws_restJson1UpdateContactFlowMetadataCommand = exports.serializeAws_restJson1UpdateContactFlowContentCommand = exports.serializeAws_restJson1UpdateContactAttributesCommand = exports.serializeAws_restJson1UpdateContactCommand = exports.serializeAws_restJson1UpdateAgentStatusCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TransferContactCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1SuspendContactRecordingCommand = exports.serializeAws_restJson1StopContactStreamingCommand = exports.serializeAws_restJson1StopContactRecordingCommand = exports.serializeAws_restJson1StopContactCommand = exports.serializeAws_restJson1StartTaskContactCommand = exports.serializeAws_restJson1StartOutboundVoiceContactCommand = exports.serializeAws_restJson1StartContactStreamingCommand = exports.serializeAws_restJson1StartContactRecordingCommand = exports.serializeAws_restJson1StartChatContactCommand = exports.serializeAws_restJson1SearchVocabulariesCommand = exports.serializeAws_restJson1SearchUsersCommand = exports.serializeAws_restJson1SearchSecurityProfilesCommand = exports.serializeAws_restJson1SearchRoutingProfilesCommand = exports.serializeAws_restJson1SearchQueuesCommand = exports.serializeAws_restJson1SearchAvailablePhoneNumbersCommand = exports.serializeAws_restJson1ResumeContactRecordingCommand = exports.serializeAws_restJson1ReplicateInstanceCommand = exports.serializeAws_restJson1ReleasePhoneNumberCommand = exports.serializeAws_restJson1PutUserStatusCommand = exports.serializeAws_restJson1MonitorContactCommand = exports.serializeAws_restJson1ListUsersCommand = exports.serializeAws_restJson1ListUserHierarchyGroupsCommand = exports.serializeAws_restJson1ListUseCasesCommand = exports.serializeAws_restJson1ListTrafficDistributionGroupsCommand = exports.serializeAws_restJson1ListTaskTemplatesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListSecurityProfilesCommand = exports.serializeAws_restJson1ListSecurityProfilePermissionsCommand = exports.serializeAws_restJson1ListSecurityKeysCommand = exports.serializeAws_restJson1ListRulesCommand = void 0;
6
+ exports.deserializeAws_restJson1DeleteHoursOfOperationCommand = exports.deserializeAws_restJson1DeleteContactFlowModuleCommand = exports.deserializeAws_restJson1DeleteContactFlowCommand = exports.deserializeAws_restJson1CreateVocabularyCommand = exports.deserializeAws_restJson1CreateUserHierarchyGroupCommand = exports.deserializeAws_restJson1CreateUserCommand = exports.deserializeAws_restJson1CreateUseCaseCommand = exports.deserializeAws_restJson1CreateTrafficDistributionGroupCommand = exports.deserializeAws_restJson1CreateTaskTemplateCommand = exports.deserializeAws_restJson1CreateSecurityProfileCommand = exports.deserializeAws_restJson1CreateRuleCommand = exports.deserializeAws_restJson1CreateRoutingProfileCommand = exports.deserializeAws_restJson1CreateQuickConnectCommand = exports.deserializeAws_restJson1CreateQueueCommand = exports.deserializeAws_restJson1CreateIntegrationAssociationCommand = exports.deserializeAws_restJson1CreateInstanceCommand = exports.deserializeAws_restJson1CreateHoursOfOperationCommand = exports.deserializeAws_restJson1CreateContactFlowModuleCommand = exports.deserializeAws_restJson1CreateContactFlowCommand = exports.deserializeAws_restJson1CreateAgentStatusCommand = exports.deserializeAws_restJson1ClaimPhoneNumberCommand = exports.deserializeAws_restJson1AssociateSecurityKeyCommand = exports.deserializeAws_restJson1AssociateRoutingProfileQueuesCommand = exports.deserializeAws_restJson1AssociateQueueQuickConnectsCommand = exports.deserializeAws_restJson1AssociatePhoneNumberContactFlowCommand = exports.deserializeAws_restJson1AssociateLexBotCommand = exports.deserializeAws_restJson1AssociateLambdaFunctionCommand = exports.deserializeAws_restJson1AssociateInstanceStorageConfigCommand = exports.deserializeAws_restJson1AssociateDefaultVocabularyCommand = exports.deserializeAws_restJson1AssociateBotCommand = exports.deserializeAws_restJson1AssociateApprovedOriginCommand = exports.serializeAws_restJson1UpdateUserSecurityProfilesCommand = exports.serializeAws_restJson1UpdateUserRoutingProfileCommand = exports.serializeAws_restJson1UpdateUserPhoneConfigCommand = exports.serializeAws_restJson1UpdateUserIdentityInfoCommand = exports.serializeAws_restJson1UpdateUserHierarchyStructureCommand = exports.serializeAws_restJson1UpdateUserHierarchyGroupNameCommand = exports.serializeAws_restJson1UpdateUserHierarchyCommand = exports.serializeAws_restJson1UpdateTrafficDistributionCommand = exports.serializeAws_restJson1UpdateTaskTemplateCommand = exports.serializeAws_restJson1UpdateSecurityProfileCommand = exports.serializeAws_restJson1UpdateRuleCommand = exports.serializeAws_restJson1UpdateRoutingProfileQueuesCommand = exports.serializeAws_restJson1UpdateRoutingProfileNameCommand = exports.serializeAws_restJson1UpdateRoutingProfileDefaultOutboundQueueCommand = exports.serializeAws_restJson1UpdateRoutingProfileConcurrencyCommand = exports.serializeAws_restJson1UpdateQuickConnectNameCommand = exports.serializeAws_restJson1UpdateQuickConnectConfigCommand = exports.serializeAws_restJson1UpdateQueueStatusCommand = exports.serializeAws_restJson1UpdateQueueOutboundCallerConfigCommand = void 0;
7
+ exports.deserializeAws_restJson1ListBotsCommand = exports.deserializeAws_restJson1ListApprovedOriginsCommand = exports.deserializeAws_restJson1ListAgentStatusesCommand = exports.deserializeAws_restJson1GetTrafficDistributionCommand = exports.deserializeAws_restJson1GetTaskTemplateCommand = exports.deserializeAws_restJson1GetMetricDataCommand = exports.deserializeAws_restJson1GetFederationTokenCommand = exports.deserializeAws_restJson1GetCurrentUserDataCommand = exports.deserializeAws_restJson1GetCurrentMetricDataCommand = exports.deserializeAws_restJson1GetContactAttributesCommand = exports.deserializeAws_restJson1DismissUserContactCommand = exports.deserializeAws_restJson1DisassociateSecurityKeyCommand = exports.deserializeAws_restJson1DisassociateRoutingProfileQueuesCommand = exports.deserializeAws_restJson1DisassociateQueueQuickConnectsCommand = exports.deserializeAws_restJson1DisassociatePhoneNumberContactFlowCommand = exports.deserializeAws_restJson1DisassociateLexBotCommand = exports.deserializeAws_restJson1DisassociateLambdaFunctionCommand = exports.deserializeAws_restJson1DisassociateInstanceStorageConfigCommand = exports.deserializeAws_restJson1DisassociateBotCommand = exports.deserializeAws_restJson1DisassociateApprovedOriginCommand = exports.deserializeAws_restJson1DescribeVocabularyCommand = exports.deserializeAws_restJson1DescribeUserHierarchyStructureCommand = exports.deserializeAws_restJson1DescribeUserHierarchyGroupCommand = exports.deserializeAws_restJson1DescribeUserCommand = exports.deserializeAws_restJson1DescribeTrafficDistributionGroupCommand = exports.deserializeAws_restJson1DescribeSecurityProfileCommand = exports.deserializeAws_restJson1DescribeRuleCommand = exports.deserializeAws_restJson1DescribeRoutingProfileCommand = exports.deserializeAws_restJson1DescribeQuickConnectCommand = exports.deserializeAws_restJson1DescribeQueueCommand = exports.deserializeAws_restJson1DescribePhoneNumberCommand = exports.deserializeAws_restJson1DescribeInstanceStorageConfigCommand = exports.deserializeAws_restJson1DescribeInstanceAttributeCommand = exports.deserializeAws_restJson1DescribeInstanceCommand = exports.deserializeAws_restJson1DescribeHoursOfOperationCommand = exports.deserializeAws_restJson1DescribeContactFlowModuleCommand = exports.deserializeAws_restJson1DescribeContactFlowCommand = exports.deserializeAws_restJson1DescribeContactCommand = exports.deserializeAws_restJson1DescribeAgentStatusCommand = exports.deserializeAws_restJson1DeleteVocabularyCommand = exports.deserializeAws_restJson1DeleteUserHierarchyGroupCommand = exports.deserializeAws_restJson1DeleteUserCommand = exports.deserializeAws_restJson1DeleteUseCaseCommand = exports.deserializeAws_restJson1DeleteTrafficDistributionGroupCommand = exports.deserializeAws_restJson1DeleteTaskTemplateCommand = exports.deserializeAws_restJson1DeleteSecurityProfileCommand = exports.deserializeAws_restJson1DeleteRuleCommand = exports.deserializeAws_restJson1DeleteQuickConnectCommand = exports.deserializeAws_restJson1DeleteIntegrationAssociationCommand = exports.deserializeAws_restJson1DeleteInstanceCommand = void 0;
8
+ exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1SuspendContactRecordingCommand = exports.deserializeAws_restJson1StopContactStreamingCommand = exports.deserializeAws_restJson1StopContactRecordingCommand = exports.deserializeAws_restJson1StopContactCommand = exports.deserializeAws_restJson1StartTaskContactCommand = exports.deserializeAws_restJson1StartOutboundVoiceContactCommand = exports.deserializeAws_restJson1StartContactStreamingCommand = exports.deserializeAws_restJson1StartContactRecordingCommand = exports.deserializeAws_restJson1StartChatContactCommand = exports.deserializeAws_restJson1SearchVocabulariesCommand = exports.deserializeAws_restJson1SearchUsersCommand = exports.deserializeAws_restJson1SearchSecurityProfilesCommand = exports.deserializeAws_restJson1SearchRoutingProfilesCommand = exports.deserializeAws_restJson1SearchQueuesCommand = exports.deserializeAws_restJson1SearchAvailablePhoneNumbersCommand = exports.deserializeAws_restJson1ResumeContactRecordingCommand = exports.deserializeAws_restJson1ReplicateInstanceCommand = exports.deserializeAws_restJson1ReleasePhoneNumberCommand = exports.deserializeAws_restJson1PutUserStatusCommand = exports.deserializeAws_restJson1MonitorContactCommand = exports.deserializeAws_restJson1ListUsersCommand = exports.deserializeAws_restJson1ListUserHierarchyGroupsCommand = exports.deserializeAws_restJson1ListUseCasesCommand = exports.deserializeAws_restJson1ListTrafficDistributionGroupsCommand = exports.deserializeAws_restJson1ListTaskTemplatesCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListSecurityProfilesCommand = exports.deserializeAws_restJson1ListSecurityProfilePermissionsCommand = exports.deserializeAws_restJson1ListSecurityKeysCommand = exports.deserializeAws_restJson1ListRulesCommand = exports.deserializeAws_restJson1ListRoutingProfilesCommand = exports.deserializeAws_restJson1ListRoutingProfileQueuesCommand = exports.deserializeAws_restJson1ListQuickConnectsCommand = exports.deserializeAws_restJson1ListQueuesCommand = exports.deserializeAws_restJson1ListQueueQuickConnectsCommand = exports.deserializeAws_restJson1ListPromptsCommand = exports.deserializeAws_restJson1ListPhoneNumbersV2Command = exports.deserializeAws_restJson1ListPhoneNumbersCommand = exports.deserializeAws_restJson1ListLexBotsCommand = exports.deserializeAws_restJson1ListLambdaFunctionsCommand = exports.deserializeAws_restJson1ListIntegrationAssociationsCommand = exports.deserializeAws_restJson1ListInstanceStorageConfigsCommand = exports.deserializeAws_restJson1ListInstancesCommand = exports.deserializeAws_restJson1ListInstanceAttributesCommand = exports.deserializeAws_restJson1ListHoursOfOperationsCommand = exports.deserializeAws_restJson1ListDefaultVocabulariesCommand = exports.deserializeAws_restJson1ListContactReferencesCommand = exports.deserializeAws_restJson1ListContactFlowsCommand = exports.deserializeAws_restJson1ListContactFlowModulesCommand = void 0;
9
+ exports.deserializeAws_restJson1UpdateUserSecurityProfilesCommand = exports.deserializeAws_restJson1UpdateUserRoutingProfileCommand = exports.deserializeAws_restJson1UpdateUserPhoneConfigCommand = exports.deserializeAws_restJson1UpdateUserIdentityInfoCommand = exports.deserializeAws_restJson1UpdateUserHierarchyStructureCommand = exports.deserializeAws_restJson1UpdateUserHierarchyGroupNameCommand = exports.deserializeAws_restJson1UpdateUserHierarchyCommand = exports.deserializeAws_restJson1UpdateTrafficDistributionCommand = exports.deserializeAws_restJson1UpdateTaskTemplateCommand = exports.deserializeAws_restJson1UpdateSecurityProfileCommand = exports.deserializeAws_restJson1UpdateRuleCommand = exports.deserializeAws_restJson1UpdateRoutingProfileQueuesCommand = exports.deserializeAws_restJson1UpdateRoutingProfileNameCommand = exports.deserializeAws_restJson1UpdateRoutingProfileDefaultOutboundQueueCommand = exports.deserializeAws_restJson1UpdateRoutingProfileConcurrencyCommand = exports.deserializeAws_restJson1UpdateQuickConnectNameCommand = exports.deserializeAws_restJson1UpdateQuickConnectConfigCommand = exports.deserializeAws_restJson1UpdateQueueStatusCommand = exports.deserializeAws_restJson1UpdateQueueOutboundCallerConfigCommand = exports.deserializeAws_restJson1UpdateQueueNameCommand = exports.deserializeAws_restJson1UpdateQueueMaxContactsCommand = exports.deserializeAws_restJson1UpdateQueueHoursOfOperationCommand = exports.deserializeAws_restJson1UpdatePhoneNumberCommand = exports.deserializeAws_restJson1UpdateParticipantRoleConfigCommand = exports.deserializeAws_restJson1UpdateInstanceStorageConfigCommand = exports.deserializeAws_restJson1UpdateInstanceAttributeCommand = exports.deserializeAws_restJson1UpdateHoursOfOperationCommand = exports.deserializeAws_restJson1UpdateContactScheduleCommand = exports.deserializeAws_restJson1UpdateContactFlowNameCommand = exports.deserializeAws_restJson1UpdateContactFlowModuleMetadataCommand = exports.deserializeAws_restJson1UpdateContactFlowModuleContentCommand = exports.deserializeAws_restJson1UpdateContactFlowMetadataCommand = exports.deserializeAws_restJson1UpdateContactFlowContentCommand = exports.deserializeAws_restJson1UpdateContactAttributesCommand = exports.deserializeAws_restJson1UpdateContactCommand = exports.deserializeAws_restJson1UpdateAgentStatusCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TransferContactCommand = void 0;
10
10
  const protocol_http_1 = require("@aws-sdk/protocol-http");
11
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const uuid_1 = require("uuid");
@@ -3406,6 +3406,32 @@ const serializeAws_restJson1UpdateInstanceStorageConfigCommand = async (input, c
3406
3406
  });
3407
3407
  };
3408
3408
  exports.serializeAws_restJson1UpdateInstanceStorageConfigCommand = serializeAws_restJson1UpdateInstanceStorageConfigCommand;
3409
+ const serializeAws_restJson1UpdateParticipantRoleConfigCommand = async (input, context) => {
3410
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3411
+ const headers = {
3412
+ "content-type": "application/json",
3413
+ };
3414
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
3415
+ "/contact/participant-role-config/{InstanceId}/{ContactId}";
3416
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "InstanceId", () => input.InstanceId, "{InstanceId}", false);
3417
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ContactId", () => input.ContactId, "{ContactId}", false);
3418
+ let body;
3419
+ body = JSON.stringify({
3420
+ ...(input.ChannelConfiguration != null && {
3421
+ ChannelConfiguration: serializeAws_restJson1UpdateParticipantRoleConfigChannelInfo(input.ChannelConfiguration, context),
3422
+ }),
3423
+ });
3424
+ return new protocol_http_1.HttpRequest({
3425
+ protocol,
3426
+ hostname,
3427
+ port,
3428
+ method: "PUT",
3429
+ headers,
3430
+ path: resolvedPath,
3431
+ body,
3432
+ });
3433
+ };
3434
+ exports.serializeAws_restJson1UpdateParticipantRoleConfigCommand = serializeAws_restJson1UpdateParticipantRoleConfigCommand;
3409
3435
  const serializeAws_restJson1UpdatePhoneNumberCommand = async (input, context) => {
3410
3436
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3411
3437
  const headers = {
@@ -10917,6 +10943,52 @@ const deserializeAws_restJson1UpdateInstanceStorageConfigCommandError = async (o
10917
10943
  });
10918
10944
  }
10919
10945
  };
10946
+ const deserializeAws_restJson1UpdateParticipantRoleConfigCommand = async (output, context) => {
10947
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
10948
+ return deserializeAws_restJson1UpdateParticipantRoleConfigCommandError(output, context);
10949
+ }
10950
+ const contents = map({
10951
+ $metadata: deserializeMetadata(output),
10952
+ });
10953
+ await collectBody(output.body, context);
10954
+ return contents;
10955
+ };
10956
+ exports.deserializeAws_restJson1UpdateParticipantRoleConfigCommand = deserializeAws_restJson1UpdateParticipantRoleConfigCommand;
10957
+ const deserializeAws_restJson1UpdateParticipantRoleConfigCommandError = async (output, context) => {
10958
+ const parsedOutput = {
10959
+ ...output,
10960
+ body: await parseErrorBody(output.body, context),
10961
+ };
10962
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
10963
+ switch (errorCode) {
10964
+ case "AccessDeniedException":
10965
+ case "com.amazonaws.connect#AccessDeniedException":
10966
+ throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
10967
+ case "InternalServiceException":
10968
+ case "com.amazonaws.connect#InternalServiceException":
10969
+ throw await deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context);
10970
+ case "InvalidParameterException":
10971
+ case "com.amazonaws.connect#InvalidParameterException":
10972
+ throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
10973
+ case "InvalidRequestException":
10974
+ case "com.amazonaws.connect#InvalidRequestException":
10975
+ throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
10976
+ case "ResourceNotFoundException":
10977
+ case "com.amazonaws.connect#ResourceNotFoundException":
10978
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
10979
+ case "ThrottlingException":
10980
+ case "com.amazonaws.connect#ThrottlingException":
10981
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
10982
+ default:
10983
+ const parsedBody = parsedOutput.body;
10984
+ (0, smithy_client_1.throwDefaultError)({
10985
+ output,
10986
+ parsedBody,
10987
+ exceptionCtor: ConnectServiceException_1.ConnectServiceException,
10988
+ errorCode,
10989
+ });
10990
+ }
10991
+ };
10920
10992
  const deserializeAws_restJson1UpdatePhoneNumberCommand = async (output, context) => {
10921
10993
  if (output.statusCode !== 200 && output.statusCode >= 300) {
10922
10994
  return deserializeAws_restJson1UpdatePhoneNumberCommandError(output, context);
@@ -12286,6 +12358,13 @@ const serializeAws_restJson1ChatMessage = (input, context) => {
12286
12358
  ...(input.ContentType != null && { ContentType: input.ContentType }),
12287
12359
  };
12288
12360
  };
12361
+ const serializeAws_restJson1ChatParticipantRoleConfig = (input, context) => {
12362
+ return {
12363
+ ...(input.ParticipantTimerConfigList != null && {
12364
+ ParticipantTimerConfigList: serializeAws_restJson1ParticipantTimerConfigList(input.ParticipantTimerConfigList, context),
12365
+ }),
12366
+ };
12367
+ };
12289
12368
  const serializeAws_restJson1ChatStreamingConfiguration = (input, context) => {
12290
12369
  return {
12291
12370
  ...(input.StreamingEndpointArn != null && { StreamingEndpointArn: input.StreamingEndpointArn }),
@@ -12525,6 +12604,29 @@ const serializeAws_restJson1ParticipantDetails = (input, context) => {
12525
12604
  ...(input.DisplayName != null && { DisplayName: input.DisplayName }),
12526
12605
  };
12527
12606
  };
12607
+ const serializeAws_restJson1ParticipantTimerConfigList = (input, context) => {
12608
+ return input
12609
+ .filter((e) => e != null)
12610
+ .map((entry) => {
12611
+ return serializeAws_restJson1ParticipantTimerConfiguration(entry, context);
12612
+ });
12613
+ };
12614
+ const serializeAws_restJson1ParticipantTimerConfiguration = (input, context) => {
12615
+ return {
12616
+ ...(input.ParticipantRole != null && { ParticipantRole: input.ParticipantRole }),
12617
+ ...(input.TimerType != null && { TimerType: input.TimerType }),
12618
+ ...(input.TimerValue != null && {
12619
+ TimerValue: serializeAws_restJson1ParticipantTimerValue(input.TimerValue, context),
12620
+ }),
12621
+ };
12622
+ };
12623
+ const serializeAws_restJson1ParticipantTimerValue = (input, context) => {
12624
+ return models_1_1.ParticipantTimerValue.visit(input, {
12625
+ ParticipantTimerAction: (value) => ({ ParticipantTimerAction: value }),
12626
+ ParticipantTimerDurationInMinutes: (value) => ({ ParticipantTimerDurationInMinutes: value }),
12627
+ _: (name, value) => ({ name: value }),
12628
+ });
12629
+ };
12528
12630
  const serializeAws_restJson1PermissionsList = (input, context) => {
12529
12631
  return input
12530
12632
  .filter((e) => e != null)
@@ -12916,6 +13018,12 @@ const serializeAws_restJson1Threshold = (input, context) => {
12916
13018
  ...(input.ThresholdValue != null && { ThresholdValue: (0, smithy_client_1.serializeFloat)(input.ThresholdValue) }),
12917
13019
  };
12918
13020
  };
13021
+ const serializeAws_restJson1UpdateParticipantRoleConfigChannelInfo = (input, context) => {
13022
+ return models_1_1.UpdateParticipantRoleConfigChannelInfo.visit(input, {
13023
+ Chat: (value) => ({ Chat: serializeAws_restJson1ChatParticipantRoleConfig(value, context) }),
13024
+ _: (name, value) => ({ name: value }),
13025
+ });
13026
+ };
12919
13027
  const serializeAws_restJson1UserDataFilters = (input, context) => {
12920
13028
  return {
12921
13029
  ...(input.ContactFilter != null && {
@@ -143,6 +143,7 @@ import { UpdateContactScheduleCommand, } from "./commands/UpdateContactScheduleC
143
143
  import { UpdateHoursOfOperationCommand, } from "./commands/UpdateHoursOfOperationCommand";
144
144
  import { UpdateInstanceAttributeCommand, } from "./commands/UpdateInstanceAttributeCommand";
145
145
  import { UpdateInstanceStorageConfigCommand, } from "./commands/UpdateInstanceStorageConfigCommand";
146
+ import { UpdateParticipantRoleConfigCommand, } from "./commands/UpdateParticipantRoleConfigCommand";
146
147
  import { UpdatePhoneNumberCommand, } from "./commands/UpdatePhoneNumberCommand";
147
148
  import { UpdateQueueHoursOfOperationCommand, } from "./commands/UpdateQueueHoursOfOperationCommand";
148
149
  import { UpdateQueueMaxContactsCommand, } from "./commands/UpdateQueueMaxContactsCommand";
@@ -2198,6 +2199,20 @@ export class Connect extends ConnectClient {
2198
2199
  return this.send(command, optionsOrCb);
2199
2200
  }
2200
2201
  }
2202
+ updateParticipantRoleConfig(args, optionsOrCb, cb) {
2203
+ const command = new UpdateParticipantRoleConfigCommand(args);
2204
+ if (typeof optionsOrCb === "function") {
2205
+ this.send(command, optionsOrCb);
2206
+ }
2207
+ else if (typeof cb === "function") {
2208
+ if (typeof optionsOrCb !== "object")
2209
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2210
+ this.send(command, optionsOrCb || {}, cb);
2211
+ }
2212
+ else {
2213
+ return this.send(command, optionsOrCb);
2214
+ }
2215
+ }
2201
2216
  updatePhoneNumber(args, optionsOrCb, cb) {
2202
2217
  const command = new UpdatePhoneNumberCommand(args);
2203
2218
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateParticipantRoleConfigRequestFilterSensitiveLog, UpdateParticipantRoleConfigResponseFilterSensitiveLog, } from "../models/models_1";
5
+ import { deserializeAws_restJson1UpdateParticipantRoleConfigCommand, serializeAws_restJson1UpdateParticipantRoleConfigCommand, } from "../protocols/Aws_restJson1";
6
+ export class UpdateParticipantRoleConfigCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
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
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateParticipantRoleConfigCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "ConnectClient";
25
+ const commandName = "UpdateParticipantRoleConfigCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: UpdateParticipantRoleConfigRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: UpdateParticipantRoleConfigResponseFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1UpdateParticipantRoleConfigCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1UpdateParticipantRoleConfigCommand(output, context);
41
+ }
42
+ }
@@ -143,6 +143,7 @@ export * from "./UpdateContactScheduleCommand";
143
143
  export * from "./UpdateHoursOfOperationCommand";
144
144
  export * from "./UpdateInstanceAttributeCommand";
145
145
  export * from "./UpdateInstanceStorageConfigCommand";
146
+ export * from "./UpdateParticipantRoleConfigCommand";
146
147
  export * from "./UpdatePhoneNumberCommand";
147
148
  export * from "./UpdateQueueHoursOfOperationCommand";
148
149
  export * from "./UpdateQueueMaxContactsCommand";
@@ -1,4 +1,4 @@
1
- const r = "fn", s = "argv", t = "ref";
2
- const a = true, b = false, c = "String", d = "Boolean", e = "PartitionResult", f = "tree", g = "error", h = "endpoint", i = { [t]: "Endpoint" }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, k = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, l = {}, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, n = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, o = [j], p = [], q = [k];
3
- const _data = { version: "1.0", parameters: { Region: { builtIn: "AWS::Region", required: a, documentation: "The AWS region used to dispatch the request.", type: c }, UseDualStack: { builtIn: "AWS::UseDualStack", required: a, default: b, documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", type: d }, UseFIPS: { builtIn: "AWS::UseFIPS", required: a, default: b, documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", type: d }, Endpoint: { builtIn: "SDK::Endpoint", required: b, documentation: "Override the endpoint used to send this request", type: c } }, rules: [{ conditions: [{ [r]: "aws.partition", [s]: [{ [t]: "Region" }], assign: e }], type: f, rules: [{ conditions: [{ [r]: "isSet", [s]: [i] }], type: f, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: g }, { conditions: p, type: f, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: g }, { conditions: p, endpoint: { url: i, properties: l, headers: l }, type: h }] }] }, { conditions: [j, k], type: f, rules: [{ conditions: [m, n], type: f, rules: [{ conditions: p, endpoint: { url: "https://connect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: h }] }, { conditions: p, error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: g }] }, { conditions: o, type: f, rules: [{ conditions: [m], type: f, rules: [{ conditions: p, type: f, rules: [{ conditions: p, endpoint: { url: "https://connect-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: h }] }] }, { conditions: p, error: "FIPS is enabled but this partition does not support FIPS", type: g }] }, { conditions: q, type: f, rules: [{ conditions: [n], type: f, rules: [{ conditions: p, endpoint: { url: "https://connect.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: h }] }, { conditions: p, error: "DualStack is enabled but this partition does not support DualStack", type: g }] }, { conditions: p, endpoint: { url: "https://connect.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: h }] }] };
1
+ const q = "fn", r = "argv", s = "ref";
2
+ const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
3
+ const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://connect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://connect-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://connect.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://connect.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
4
4
  export const ruleSet = _data;