@aws-sdk/client-connect 3.198.0 → 3.200.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.
- package/CHANGELOG.md +19 -0
- package/dist-cjs/Connect.js +15 -0
- package/dist-cjs/commands/DismissUserContactCommand.js +46 -0
- package/dist-cjs/commands/ListLambdaFunctionsCommand.js +2 -1
- package/dist-cjs/commands/ListLexBotsCommand.js +1 -2
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +11 -11
- package/dist-cjs/models/models_1.js +12 -4
- package/dist-cjs/protocols/Aws_restJson1.js +75 -6
- package/dist-es/Connect.js +15 -0
- package/dist-es/commands/DismissUserContactCommand.js +42 -0
- package/dist-es/commands/ListLambdaFunctionsCommand.js +2 -1
- package/dist-es/commands/ListLexBotsCommand.js +1 -2
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +6 -6
- package/dist-es/models/models_1.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +67 -0
- package/dist-types/Connect.d.ts +16 -5
- package/dist-types/ConnectClient.d.ts +3 -2
- package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +1 -1
- package/dist-types/commands/DismissUserContactCommand.d.ts +40 -0
- package/dist-types/commands/ListLambdaFunctionsCommand.d.ts +2 -1
- package/dist-types/commands/ListLexBotsCommand.d.ts +1 -2
- package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +2 -1
- package/dist-types/commands/UpdateTrafficDistributionCommand.d.ts +3 -3
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +31 -40
- package/dist-types/models/models_1.d.ts +36 -2
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/Connect.d.ts +17 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/DismissUserContactCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListLambdaFunctionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListLexBotsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +12 -15
- package/dist-types/ts3.4/models/models_1.d.ts +15 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +29 -29
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.200.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.199.0...v3.200.0) (2022-10-31)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-connect:** Amazon connect now support a new API DismissUserContact to dismiss or remove terminated contacts in Agent CCP ([9e340c3](https://github.com/aws/aws-sdk-js-v3/commit/9e340c32f2d498744cc5549b68fe5b531f09c225))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.199.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.198.0...v3.199.0) (2022-10-28)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-connect
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [3.198.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.197.0...v3.198.0) (2022-10-27)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @aws-sdk/client-connect
|
package/dist-cjs/Connect.js
CHANGED
|
@@ -68,6 +68,7 @@ const DisassociatePhoneNumberContactFlowCommand_1 = require("./commands/Disassoc
|
|
|
68
68
|
const DisassociateQueueQuickConnectsCommand_1 = require("./commands/DisassociateQueueQuickConnectsCommand");
|
|
69
69
|
const DisassociateRoutingProfileQueuesCommand_1 = require("./commands/DisassociateRoutingProfileQueuesCommand");
|
|
70
70
|
const DisassociateSecurityKeyCommand_1 = require("./commands/DisassociateSecurityKeyCommand");
|
|
71
|
+
const DismissUserContactCommand_1 = require("./commands/DismissUserContactCommand");
|
|
71
72
|
const GetContactAttributesCommand_1 = require("./commands/GetContactAttributesCommand");
|
|
72
73
|
const GetCurrentMetricDataCommand_1 = require("./commands/GetCurrentMetricDataCommand");
|
|
73
74
|
const GetCurrentUserDataCommand_1 = require("./commands/GetCurrentUserDataCommand");
|
|
@@ -1102,6 +1103,20 @@ class Connect extends ConnectClient_1.ConnectClient {
|
|
|
1102
1103
|
return this.send(command, optionsOrCb);
|
|
1103
1104
|
}
|
|
1104
1105
|
}
|
|
1106
|
+
dismissUserContact(args, optionsOrCb, cb) {
|
|
1107
|
+
const command = new DismissUserContactCommand_1.DismissUserContactCommand(args);
|
|
1108
|
+
if (typeof optionsOrCb === "function") {
|
|
1109
|
+
this.send(command, optionsOrCb);
|
|
1110
|
+
}
|
|
1111
|
+
else if (typeof cb === "function") {
|
|
1112
|
+
if (typeof optionsOrCb !== "object")
|
|
1113
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1114
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1115
|
+
}
|
|
1116
|
+
else {
|
|
1117
|
+
return this.send(command, optionsOrCb);
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1105
1120
|
getContactAttributes(args, optionsOrCb, cb) {
|
|
1106
1121
|
const command = new GetContactAttributesCommand_1.GetContactAttributesCommand(args);
|
|
1107
1122
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DismissUserContactCommand = 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_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class DismissUserContactCommand 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, DismissUserContactCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "ConnectClient";
|
|
28
|
+
const commandName = "DismissUserContactCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.DismissUserContactRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.DismissUserContactResponseFilterSensitiveLog,
|
|
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_restJson1DismissUserContactCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DismissUserContactCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DismissUserContactCommand = DismissUserContactCommand;
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const models_1_1 = require("../models/models_1");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class ListLambdaFunctionsCommand extends smithy_client_1.Command {
|
|
10
11
|
constructor(input) {
|
|
@@ -31,7 +32,7 @@ class ListLambdaFunctionsCommand extends smithy_client_1.Command {
|
|
|
31
32
|
clientName,
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: models_0_1.ListLambdaFunctionsRequestFilterSensitiveLog,
|
|
34
|
-
outputFilterSensitiveLog:
|
|
35
|
+
outputFilterSensitiveLog: models_1_1.ListLambdaFunctionsResponseFilterSensitiveLog,
|
|
35
36
|
};
|
|
36
37
|
const { requestHandler } = configuration;
|
|
37
38
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.ListLexBotsCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const models_1_1 = require("../models/models_1");
|
|
9
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
9
|
class ListLexBotsCommand extends smithy_client_1.Command {
|
|
@@ -31,7 +30,7 @@ class ListLexBotsCommand extends smithy_client_1.Command {
|
|
|
31
30
|
logger,
|
|
32
31
|
clientName,
|
|
33
32
|
commandName,
|
|
34
|
-
inputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: models_1_1.ListLexBotsRequestFilterSensitiveLog,
|
|
35
34
|
outputFilterSensitiveLog: models_1_1.ListLexBotsResponseFilterSensitiveLog,
|
|
36
35
|
};
|
|
37
36
|
const { requestHandler } = configuration;
|
|
@@ -68,6 +68,7 @@ tslib_1.__exportStar(require("./DisassociatePhoneNumberContactFlowCommand"), exp
|
|
|
68
68
|
tslib_1.__exportStar(require("./DisassociateQueueQuickConnectsCommand"), exports);
|
|
69
69
|
tslib_1.__exportStar(require("./DisassociateRoutingProfileQueuesCommand"), exports);
|
|
70
70
|
tslib_1.__exportStar(require("./DisassociateSecurityKeyCommand"), exports);
|
|
71
|
+
tslib_1.__exportStar(require("./DismissUserContactCommand"), exports);
|
|
71
72
|
tslib_1.__exportStar(require("./GetContactAttributesCommand"), exports);
|
|
72
73
|
tslib_1.__exportStar(require("./GetCurrentMetricDataCommand"), exports);
|
|
73
74
|
tslib_1.__exportStar(require("./GetCurrentUserDataCommand"), exports);
|
|
@@ -4,9 +4,9 @@ exports.CurrentMetricName = exports.TrafficDistributionGroupStatus = exports.Que
|
|
|
4
4
|
exports.HoursOfOperationConfigFilterSensitiveLog = exports.HoursOfOperationTimeSliceFilterSensitiveLog = exports.CreateContactFlowModuleResponseFilterSensitiveLog = exports.CreateContactFlowModuleRequestFilterSensitiveLog = exports.ProblemDetailFilterSensitiveLog = exports.CreateContactFlowResponseFilterSensitiveLog = exports.CreateContactFlowRequestFilterSensitiveLog = exports.CreateAgentStatusResponseFilterSensitiveLog = exports.CreateAgentStatusRequestFilterSensitiveLog = exports.ClaimPhoneNumberResponseFilterSensitiveLog = exports.ClaimPhoneNumberRequestFilterSensitiveLog = exports.AssociateSecurityKeyResponseFilterSensitiveLog = exports.AssociateSecurityKeyRequestFilterSensitiveLog = exports.AssociateRoutingProfileQueuesRequestFilterSensitiveLog = exports.RoutingProfileQueueConfigFilterSensitiveLog = exports.RoutingProfileQueueReferenceFilterSensitiveLog = exports.AssociateQueueQuickConnectsRequestFilterSensitiveLog = exports.AssociatePhoneNumberContactFlowRequestFilterSensitiveLog = exports.AssociateLexBotRequestFilterSensitiveLog = exports.AssociateLambdaFunctionRequestFilterSensitiveLog = exports.AssociateInstanceStorageConfigResponseFilterSensitiveLog = exports.AssociateInstanceStorageConfigRequestFilterSensitiveLog = exports.InstanceStorageConfigFilterSensitiveLog = exports.S3ConfigFilterSensitiveLog = exports.KinesisVideoStreamConfigFilterSensitiveLog = exports.EncryptionConfigFilterSensitiveLog = exports.KinesisStreamConfigFilterSensitiveLog = exports.KinesisFirehoseConfigFilterSensitiveLog = exports.AssociateDefaultVocabularyResponseFilterSensitiveLog = exports.AssociateDefaultVocabularyRequestFilterSensitiveLog = exports.AssociateBotRequestFilterSensitiveLog = exports.LexV2BotFilterSensitiveLog = exports.LexBotFilterSensitiveLog = exports.AssociateApprovedOriginRequestFilterSensitiveLog = exports.AgentStatusSummaryFilterSensitiveLog = exports.AgentStatusReferenceFilterSensitiveLog = exports.AgentStatusFilterSensitiveLog = exports.AgentInfoFilterSensitiveLog = exports.AgentContactReferenceFilterSensitiveLog = exports.QueueReferenceFilterSensitiveLog = exports.ReferenceSummary = exports.ReferenceStatus = exports.ReferenceType = exports.LexVersion = exports.Comparison = exports.Statistic = exports.HistoricalMetricName = exports.UserNotFoundException = exports.Grouping = exports.Unit = void 0;
|
|
5
5
|
exports.DeleteQuickConnectRequestFilterSensitiveLog = exports.DeleteIntegrationAssociationRequestFilterSensitiveLog = exports.DeleteInstanceRequestFilterSensitiveLog = exports.DeleteHoursOfOperationRequestFilterSensitiveLog = exports.DeleteContactFlowModuleResponseFilterSensitiveLog = exports.DeleteContactFlowModuleRequestFilterSensitiveLog = exports.DeleteContactFlowRequestFilterSensitiveLog = exports.CreateVocabularyResponseFilterSensitiveLog = exports.CreateVocabularyRequestFilterSensitiveLog = exports.CreateUserHierarchyGroupResponseFilterSensitiveLog = exports.CreateUserHierarchyGroupRequestFilterSensitiveLog = exports.CreateUserResponseFilterSensitiveLog = exports.CreateUserRequestFilterSensitiveLog = exports.UserPhoneConfigFilterSensitiveLog = exports.UserIdentityInfoFilterSensitiveLog = exports.CreateUseCaseResponseFilterSensitiveLog = exports.CreateUseCaseRequestFilterSensitiveLog = exports.CreateTrafficDistributionGroupResponseFilterSensitiveLog = exports.CreateTrafficDistributionGroupRequestFilterSensitiveLog = exports.PropertyValidationExceptionPropertyFilterSensitiveLog = exports.CreateTaskTemplateResponseFilterSensitiveLog = exports.CreateTaskTemplateRequestFilterSensitiveLog = exports.TaskTemplateFieldFilterSensitiveLog = exports.TaskTemplateDefaultsFilterSensitiveLog = exports.TaskTemplateDefaultFieldValueFilterSensitiveLog = exports.TaskTemplateConstraintsFilterSensitiveLog = exports.RequiredFieldInfoFilterSensitiveLog = exports.ReadOnlyFieldInfoFilterSensitiveLog = exports.InvisibleFieldInfoFilterSensitiveLog = exports.TaskTemplateFieldIdentifierFilterSensitiveLog = exports.CreateSecurityProfileResponseFilterSensitiveLog = exports.CreateSecurityProfileRequestFilterSensitiveLog = exports.CreateRoutingProfileResponseFilterSensitiveLog = exports.CreateRoutingProfileRequestFilterSensitiveLog = exports.MediaConcurrencyFilterSensitiveLog = exports.CreateQuickConnectResponseFilterSensitiveLog = exports.CreateQuickConnectRequestFilterSensitiveLog = exports.QuickConnectConfigFilterSensitiveLog = exports.UserQuickConnectConfigFilterSensitiveLog = exports.QueueQuickConnectConfigFilterSensitiveLog = exports.PhoneNumberQuickConnectConfigFilterSensitiveLog = exports.CreateQueueResponseFilterSensitiveLog = exports.CreateQueueRequestFilterSensitiveLog = exports.OutboundCallerConfigFilterSensitiveLog = exports.CreateIntegrationAssociationResponseFilterSensitiveLog = exports.CreateIntegrationAssociationRequestFilterSensitiveLog = exports.CreateInstanceResponseFilterSensitiveLog = exports.CreateInstanceRequestFilterSensitiveLog = exports.CreateHoursOfOperationResponseFilterSensitiveLog = exports.CreateHoursOfOperationRequestFilterSensitiveLog = void 0;
|
|
6
6
|
exports.DescribeSecurityProfileResponseFilterSensitiveLog = exports.SecurityProfileFilterSensitiveLog = exports.DescribeSecurityProfileRequestFilterSensitiveLog = exports.DescribeRoutingProfileResponseFilterSensitiveLog = exports.RoutingProfileFilterSensitiveLog = exports.DescribeRoutingProfileRequestFilterSensitiveLog = exports.DescribeQuickConnectResponseFilterSensitiveLog = exports.QuickConnectFilterSensitiveLog = exports.DescribeQuickConnectRequestFilterSensitiveLog = exports.DescribeQueueResponseFilterSensitiveLog = exports.QueueFilterSensitiveLog = exports.DescribeQueueRequestFilterSensitiveLog = exports.DescribePhoneNumberResponseFilterSensitiveLog = exports.ClaimedPhoneNumberSummaryFilterSensitiveLog = exports.PhoneNumberStatusFilterSensitiveLog = exports.DescribePhoneNumberRequestFilterSensitiveLog = exports.DescribeInstanceStorageConfigResponseFilterSensitiveLog = exports.DescribeInstanceStorageConfigRequestFilterSensitiveLog = exports.DescribeInstanceAttributeResponseFilterSensitiveLog = exports.AttributeFilterSensitiveLog = exports.DescribeInstanceAttributeRequestFilterSensitiveLog = exports.DescribeInstanceResponseFilterSensitiveLog = exports.InstanceFilterSensitiveLog = exports.InstanceStatusReasonFilterSensitiveLog = exports.DescribeInstanceRequestFilterSensitiveLog = exports.DescribeHoursOfOperationResponseFilterSensitiveLog = exports.HoursOfOperationFilterSensitiveLog = exports.DescribeHoursOfOperationRequestFilterSensitiveLog = exports.DescribeContactFlowModuleResponseFilterSensitiveLog = exports.ContactFlowModuleFilterSensitiveLog = exports.DescribeContactFlowModuleRequestFilterSensitiveLog = exports.DescribeContactFlowResponseFilterSensitiveLog = exports.ContactFlowFilterSensitiveLog = exports.DescribeContactFlowRequestFilterSensitiveLog = exports.DescribeContactResponseFilterSensitiveLog = exports.ContactFilterSensitiveLog = exports.QueueInfoFilterSensitiveLog = exports.DescribeContactRequestFilterSensitiveLog = exports.DescribeAgentStatusResponseFilterSensitiveLog = exports.DescribeAgentStatusRequestFilterSensitiveLog = exports.DeleteVocabularyResponseFilterSensitiveLog = exports.DeleteVocabularyRequestFilterSensitiveLog = exports.DeleteUserHierarchyGroupRequestFilterSensitiveLog = exports.DeleteUserRequestFilterSensitiveLog = exports.DeleteUseCaseRequestFilterSensitiveLog = exports.DeleteTrafficDistributionGroupResponseFilterSensitiveLog = exports.DeleteTrafficDistributionGroupRequestFilterSensitiveLog = exports.DeleteTaskTemplateResponseFilterSensitiveLog = exports.DeleteTaskTemplateRequestFilterSensitiveLog = exports.DeleteSecurityProfileRequestFilterSensitiveLog = void 0;
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
7
|
+
exports.GetFederationTokenResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.GetFederationTokenRequestFilterSensitiveLog = exports.GetCurrentUserDataResponseFilterSensitiveLog = exports.UserDataFilterSensitiveLog = exports.UserReferenceFilterSensitiveLog = exports.RoutingProfileReferenceFilterSensitiveLog = exports.HierarchyPathReferenceFilterSensitiveLog = exports.HierarchyGroupSummaryReferenceFilterSensitiveLog = exports.GetCurrentUserDataRequestFilterSensitiveLog = exports.UserDataFiltersFilterSensitiveLog = exports.ContactFilterFilterSensitiveLog = exports.GetCurrentMetricDataResponseFilterSensitiveLog = exports.CurrentMetricResultFilterSensitiveLog = exports.DimensionsFilterSensitiveLog = exports.CurrentMetricDataFilterSensitiveLog = exports.GetCurrentMetricDataRequestFilterSensitiveLog = exports.FiltersFilterSensitiveLog = exports.CurrentMetricFilterSensitiveLog = exports.GetContactAttributesResponseFilterSensitiveLog = exports.GetContactAttributesRequestFilterSensitiveLog = exports.DismissUserContactResponseFilterSensitiveLog = exports.DismissUserContactRequestFilterSensitiveLog = exports.DisassociateSecurityKeyRequestFilterSensitiveLog = exports.DisassociateRoutingProfileQueuesRequestFilterSensitiveLog = exports.DisassociateQueueQuickConnectsRequestFilterSensitiveLog = exports.DisassociatePhoneNumberContactFlowRequestFilterSensitiveLog = exports.DisassociateLexBotRequestFilterSensitiveLog = exports.DisassociateLambdaFunctionRequestFilterSensitiveLog = exports.DisassociateInstanceStorageConfigRequestFilterSensitiveLog = exports.DisassociateBotRequestFilterSensitiveLog = exports.DisassociateApprovedOriginRequestFilterSensitiveLog = exports.DescribeVocabularyResponseFilterSensitiveLog = exports.VocabularyFilterSensitiveLog = exports.DescribeVocabularyRequestFilterSensitiveLog = exports.DescribeUserHierarchyStructureResponseFilterSensitiveLog = exports.HierarchyStructureFilterSensitiveLog = exports.HierarchyLevelFilterSensitiveLog = exports.DescribeUserHierarchyStructureRequestFilterSensitiveLog = exports.DescribeUserHierarchyGroupResponseFilterSensitiveLog = exports.HierarchyGroupFilterSensitiveLog = exports.HierarchyPathFilterSensitiveLog = exports.HierarchyGroupSummaryFilterSensitiveLog = exports.DescribeUserHierarchyGroupRequestFilterSensitiveLog = exports.DescribeUserResponseFilterSensitiveLog = exports.UserFilterSensitiveLog = exports.DescribeUserRequestFilterSensitiveLog = exports.DescribeTrafficDistributionGroupResponseFilterSensitiveLog = exports.TrafficDistributionGroupFilterSensitiveLog = exports.DescribeTrafficDistributionGroupRequestFilterSensitiveLog = void 0;
|
|
8
|
+
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.NumberReferenceFilterSensitiveLog = exports.EmailReferenceFilterSensitiveLog = exports.DateReferenceFilterSensitiveLog = exports.AttachmentReferenceFilterSensitiveLog = exports.ListContactReferencesRequestFilterSensitiveLog = exports.ListContactFlowsResponseFilterSensitiveLog = exports.ContactFlowSummaryFilterSensitiveLog = exports.ListContactFlowsRequestFilterSensitiveLog = exports.ListContactFlowModulesResponseFilterSensitiveLog = exports.ContactFlowModuleSummaryFilterSensitiveLog = exports.ListContactFlowModulesRequestFilterSensitiveLog = exports.ListBotsResponseFilterSensitiveLog = exports.LexBotConfigFilterSensitiveLog = exports.ListBotsRequestFilterSensitiveLog = exports.ListApprovedOriginsResponseFilterSensitiveLog = exports.ListApprovedOriginsRequestFilterSensitiveLog = exports.ListAgentStatusResponseFilterSensitiveLog = exports.ListAgentStatusRequestFilterSensitiveLog = exports.GetTrafficDistributionResponseFilterSensitiveLog = exports.TelephonyConfigFilterSensitiveLog = exports.DistributionFilterSensitiveLog = exports.GetTrafficDistributionRequestFilterSensitiveLog = exports.GetTaskTemplateResponseFilterSensitiveLog = exports.GetTaskTemplateRequestFilterSensitiveLog = exports.GetMetricDataResponseFilterSensitiveLog = exports.HistoricalMetricResultFilterSensitiveLog = exports.HistoricalMetricDataFilterSensitiveLog = exports.GetMetricDataRequestFilterSensitiveLog = exports.HistoricalMetricFilterSensitiveLog = exports.ThresholdFilterSensitiveLog = void 0;
|
|
9
|
+
exports.ListLambdaFunctionsRequestFilterSensitiveLog = void 0;
|
|
10
10
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
11
11
|
const ConnectServiceException_1 = require("./ConnectServiceException");
|
|
12
12
|
class AccessDeniedException extends ConnectServiceException_1.ConnectServiceException {
|
|
@@ -1522,6 +1522,14 @@ const DisassociateSecurityKeyRequestFilterSensitiveLog = (obj) => ({
|
|
|
1522
1522
|
...obj,
|
|
1523
1523
|
});
|
|
1524
1524
|
exports.DisassociateSecurityKeyRequestFilterSensitiveLog = DisassociateSecurityKeyRequestFilterSensitiveLog;
|
|
1525
|
+
const DismissUserContactRequestFilterSensitiveLog = (obj) => ({
|
|
1526
|
+
...obj,
|
|
1527
|
+
});
|
|
1528
|
+
exports.DismissUserContactRequestFilterSensitiveLog = DismissUserContactRequestFilterSensitiveLog;
|
|
1529
|
+
const DismissUserContactResponseFilterSensitiveLog = (obj) => ({
|
|
1530
|
+
...obj,
|
|
1531
|
+
});
|
|
1532
|
+
exports.DismissUserContactResponseFilterSensitiveLog = DismissUserContactResponseFilterSensitiveLog;
|
|
1525
1533
|
const GetContactAttributesRequestFilterSensitiveLog = (obj) => ({
|
|
1526
1534
|
...obj,
|
|
1527
1535
|
});
|
|
@@ -1833,11 +1841,3 @@ const ListLambdaFunctionsRequestFilterSensitiveLog = (obj) => ({
|
|
|
1833
1841
|
...obj,
|
|
1834
1842
|
});
|
|
1835
1843
|
exports.ListLambdaFunctionsRequestFilterSensitiveLog = ListLambdaFunctionsRequestFilterSensitiveLog;
|
|
1836
|
-
const ListLambdaFunctionsResponseFilterSensitiveLog = (obj) => ({
|
|
1837
|
-
...obj,
|
|
1838
|
-
});
|
|
1839
|
-
exports.ListLambdaFunctionsResponseFilterSensitiveLog = ListLambdaFunctionsResponseFilterSensitiveLog;
|
|
1840
|
-
const ListLexBotsRequestFilterSensitiveLog = (obj) => ({
|
|
1841
|
-
...obj,
|
|
1842
|
-
});
|
|
1843
|
-
exports.ListLexBotsRequestFilterSensitiveLog = ListLexBotsRequestFilterSensitiveLog;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
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 = void 0;
|
|
3
|
+
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.ListRoutingProfilesResponseFilterSensitiveLog = exports.RoutingProfileSummaryFilterSensitiveLog = exports.ListRoutingProfilesRequestFilterSensitiveLog = exports.ListRoutingProfileQueuesResponseFilterSensitiveLog = exports.RoutingProfileQueueConfigSummaryFilterSensitiveLog = exports.ListRoutingProfileQueuesRequestFilterSensitiveLog = exports.ListQuickConnectsResponseFilterSensitiveLog = 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.ContactNotFoundException = exports.TrafficType = exports.OutboundContactNotPermittedException = exports.DestinationNotAllowedException = exports.VoiceRecordingTrack = exports.HierarchyGroupMatchType = exports.StringComparisonType = exports.SearchableQueueType = exports.QueueType = void 0;
|
|
4
|
+
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 = exports.AvailableNumberSummaryFilterSensitiveLog = exports.SearchAvailablePhoneNumbersRequestFilterSensitiveLog = exports.ResumeContactRecordingResponseFilterSensitiveLog = exports.ResumeContactRecordingRequestFilterSensitiveLog = exports.ReplicateInstanceResponseFilterSensitiveLog = exports.ReplicateInstanceRequestFilterSensitiveLog = exports.ReleasePhoneNumberRequestFilterSensitiveLog = exports.PutUserStatusResponseFilterSensitiveLog = exports.PutUserStatusRequestFilterSensitiveLog = exports.ListUsersResponseFilterSensitiveLog = exports.UserSummaryFilterSensitiveLog = exports.ListUsersRequestFilterSensitiveLog = exports.ListUserHierarchyGroupsResponseFilterSensitiveLog = exports.ListUserHierarchyGroupsRequestFilterSensitiveLog = exports.ListUseCasesResponseFilterSensitiveLog = exports.UseCaseFilterSensitiveLog = exports.ListUseCasesRequestFilterSensitiveLog = exports.ListTrafficDistributionGroupsResponseFilterSensitiveLog = void 0;
|
|
5
|
+
exports.UpdateTrafficDistributionResponseFilterSensitiveLog = exports.UpdateTrafficDistributionRequestFilterSensitiveLog = exports.UpdateTaskTemplateResponseFilterSensitiveLog = exports.UpdateTaskTemplateRequestFilterSensitiveLog = exports.UpdateSecurityProfileRequestFilterSensitiveLog = 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 = 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.ReferenceFilterSensitiveLog = 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 = void 0;
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
8
|
const ConnectServiceException_1 = require("./ConnectServiceException");
|
|
9
9
|
var QueueType;
|
|
@@ -79,6 +79,14 @@ class ContactNotFoundException extends ConnectServiceException_1.ConnectServiceE
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
exports.ContactNotFoundException = ContactNotFoundException;
|
|
82
|
+
const ListLambdaFunctionsResponseFilterSensitiveLog = (obj) => ({
|
|
83
|
+
...obj,
|
|
84
|
+
});
|
|
85
|
+
exports.ListLambdaFunctionsResponseFilterSensitiveLog = ListLambdaFunctionsResponseFilterSensitiveLog;
|
|
86
|
+
const ListLexBotsRequestFilterSensitiveLog = (obj) => ({
|
|
87
|
+
...obj,
|
|
88
|
+
});
|
|
89
|
+
exports.ListLexBotsRequestFilterSensitiveLog = ListLexBotsRequestFilterSensitiveLog;
|
|
82
90
|
const ListLexBotsResponseFilterSensitiveLog = (obj) => ({
|
|
83
91
|
...obj,
|
|
84
92
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.serializeAws_restJson1DescribeQueueCommand = exports.serializeAws_restJson1DescribePhoneNumberCommand = 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_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_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
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
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_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 = void 0;
|
|
4
|
+
exports.serializeAws_restJson1ListSecurityProfilesCommand = exports.serializeAws_restJson1ListSecurityProfilePermissionsCommand = exports.serializeAws_restJson1ListSecurityKeysCommand = 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_restJson1DescribeRoutingProfileCommand = exports.serializeAws_restJson1DescribeQuickConnectCommand = void 0;
|
|
5
|
+
exports.serializeAws_restJson1UpdateRoutingProfileDefaultOutboundQueueCommand = exports.serializeAws_restJson1UpdateRoutingProfileConcurrencyCommand = exports.serializeAws_restJson1UpdateQuickConnectNameCommand = exports.serializeAws_restJson1UpdateQuickConnectConfigCommand = exports.serializeAws_restJson1UpdateQueueStatusCommand = 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_restJson1ListUsersCommand = exports.serializeAws_restJson1ListUserHierarchyGroupsCommand = exports.serializeAws_restJson1ListUseCasesCommand = exports.serializeAws_restJson1ListTrafficDistributionGroupsCommand = exports.serializeAws_restJson1ListTaskTemplatesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = void 0;
|
|
6
|
+
exports.deserializeAws_restJson1DeleteUserCommand = exports.deserializeAws_restJson1DeleteUseCaseCommand = exports.deserializeAws_restJson1DeleteTrafficDistributionGroupCommand = exports.deserializeAws_restJson1DeleteTaskTemplateCommand = exports.deserializeAws_restJson1DeleteSecurityProfileCommand = exports.deserializeAws_restJson1DeleteQuickConnectCommand = exports.deserializeAws_restJson1DeleteIntegrationAssociationCommand = 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_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_restJson1UpdateRoutingProfileQueuesCommand = exports.serializeAws_restJson1UpdateRoutingProfileNameCommand = void 0;
|
|
7
|
+
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 = 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_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 = void 0;
|
|
8
|
+
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 = 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_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_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 = 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_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 = 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");
|
|
@@ -1503,6 +1503,29 @@ const serializeAws_restJson1DisassociateSecurityKeyCommand = async (input, conte
|
|
|
1503
1503
|
});
|
|
1504
1504
|
};
|
|
1505
1505
|
exports.serializeAws_restJson1DisassociateSecurityKeyCommand = serializeAws_restJson1DisassociateSecurityKeyCommand;
|
|
1506
|
+
const serializeAws_restJson1DismissUserContactCommand = async (input, context) => {
|
|
1507
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1508
|
+
const headers = {
|
|
1509
|
+
"content-type": "application/json",
|
|
1510
|
+
};
|
|
1511
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/users/{InstanceId}/{UserId}/contact";
|
|
1512
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "UserId", () => input.UserId, "{UserId}", false);
|
|
1513
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "InstanceId", () => input.InstanceId, "{InstanceId}", false);
|
|
1514
|
+
let body;
|
|
1515
|
+
body = JSON.stringify({
|
|
1516
|
+
...(input.ContactId != null && { ContactId: input.ContactId }),
|
|
1517
|
+
});
|
|
1518
|
+
return new protocol_http_1.HttpRequest({
|
|
1519
|
+
protocol,
|
|
1520
|
+
hostname,
|
|
1521
|
+
port,
|
|
1522
|
+
method: "POST",
|
|
1523
|
+
headers,
|
|
1524
|
+
path: resolvedPath,
|
|
1525
|
+
body,
|
|
1526
|
+
});
|
|
1527
|
+
};
|
|
1528
|
+
exports.serializeAws_restJson1DismissUserContactCommand = serializeAws_restJson1DismissUserContactCommand;
|
|
1506
1529
|
const serializeAws_restJson1GetContactAttributesCommand = async (input, context) => {
|
|
1507
1530
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1508
1531
|
const headers = {};
|
|
@@ -7008,6 +7031,52 @@ const deserializeAws_restJson1DisassociateSecurityKeyCommandError = async (outpu
|
|
|
7008
7031
|
});
|
|
7009
7032
|
}
|
|
7010
7033
|
};
|
|
7034
|
+
const deserializeAws_restJson1DismissUserContactCommand = async (output, context) => {
|
|
7035
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7036
|
+
return deserializeAws_restJson1DismissUserContactCommandError(output, context);
|
|
7037
|
+
}
|
|
7038
|
+
const contents = map({
|
|
7039
|
+
$metadata: deserializeMetadata(output),
|
|
7040
|
+
});
|
|
7041
|
+
await collectBody(output.body, context);
|
|
7042
|
+
return contents;
|
|
7043
|
+
};
|
|
7044
|
+
exports.deserializeAws_restJson1DismissUserContactCommand = deserializeAws_restJson1DismissUserContactCommand;
|
|
7045
|
+
const deserializeAws_restJson1DismissUserContactCommandError = async (output, context) => {
|
|
7046
|
+
const parsedOutput = {
|
|
7047
|
+
...output,
|
|
7048
|
+
body: await parseErrorBody(output.body, context),
|
|
7049
|
+
};
|
|
7050
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7051
|
+
switch (errorCode) {
|
|
7052
|
+
case "AccessDeniedException":
|
|
7053
|
+
case "com.amazonaws.connect#AccessDeniedException":
|
|
7054
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
7055
|
+
case "InternalServiceException":
|
|
7056
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
7057
|
+
throw await deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context);
|
|
7058
|
+
case "InvalidParameterException":
|
|
7059
|
+
case "com.amazonaws.connect#InvalidParameterException":
|
|
7060
|
+
throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
|
|
7061
|
+
case "InvalidRequestException":
|
|
7062
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
7063
|
+
throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
7064
|
+
case "ResourceNotFoundException":
|
|
7065
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
7066
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
7067
|
+
case "ThrottlingException":
|
|
7068
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
7069
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
7070
|
+
default:
|
|
7071
|
+
const parsedBody = parsedOutput.body;
|
|
7072
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7073
|
+
output,
|
|
7074
|
+
parsedBody,
|
|
7075
|
+
exceptionCtor: ConnectServiceException_1.ConnectServiceException,
|
|
7076
|
+
errorCode,
|
|
7077
|
+
});
|
|
7078
|
+
}
|
|
7079
|
+
};
|
|
7011
7080
|
const deserializeAws_restJson1GetContactAttributesCommand = async (output, context) => {
|
|
7012
7081
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7013
7082
|
return deserializeAws_restJson1GetContactAttributesCommandError(output, context);
|
package/dist-es/Connect.js
CHANGED
|
@@ -65,6 +65,7 @@ import { DisassociatePhoneNumberContactFlowCommand, } from "./commands/Disassoci
|
|
|
65
65
|
import { DisassociateQueueQuickConnectsCommand, } from "./commands/DisassociateQueueQuickConnectsCommand";
|
|
66
66
|
import { DisassociateRoutingProfileQueuesCommand, } from "./commands/DisassociateRoutingProfileQueuesCommand";
|
|
67
67
|
import { DisassociateSecurityKeyCommand, } from "./commands/DisassociateSecurityKeyCommand";
|
|
68
|
+
import { DismissUserContactCommand, } from "./commands/DismissUserContactCommand";
|
|
68
69
|
import { GetContactAttributesCommand, } from "./commands/GetContactAttributesCommand";
|
|
69
70
|
import { GetCurrentMetricDataCommand, } from "./commands/GetCurrentMetricDataCommand";
|
|
70
71
|
import { GetCurrentUserDataCommand, } from "./commands/GetCurrentUserDataCommand";
|
|
@@ -1099,6 +1100,20 @@ export class Connect extends ConnectClient {
|
|
|
1099
1100
|
return this.send(command, optionsOrCb);
|
|
1100
1101
|
}
|
|
1101
1102
|
}
|
|
1103
|
+
dismissUserContact(args, optionsOrCb, cb) {
|
|
1104
|
+
const command = new DismissUserContactCommand(args);
|
|
1105
|
+
if (typeof optionsOrCb === "function") {
|
|
1106
|
+
this.send(command, optionsOrCb);
|
|
1107
|
+
}
|
|
1108
|
+
else if (typeof cb === "function") {
|
|
1109
|
+
if (typeof optionsOrCb !== "object")
|
|
1110
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1111
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1112
|
+
}
|
|
1113
|
+
else {
|
|
1114
|
+
return this.send(command, optionsOrCb);
|
|
1115
|
+
}
|
|
1116
|
+
}
|
|
1102
1117
|
getContactAttributes(args, optionsOrCb, cb) {
|
|
1103
1118
|
const command = new GetContactAttributesCommand(args);
|
|
1104
1119
|
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 { DismissUserContactRequestFilterSensitiveLog, DismissUserContactResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DismissUserContactCommand, serializeAws_restJson1DismissUserContactCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class DismissUserContactCommand 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, DismissUserContactCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ConnectClient";
|
|
25
|
+
const commandName = "DismissUserContactCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: DismissUserContactRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: DismissUserContactResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1DismissUserContactCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1DismissUserContactCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ListLambdaFunctionsRequestFilterSensitiveLog
|
|
4
|
+
import { ListLambdaFunctionsRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
|
+
import { ListLambdaFunctionsResponseFilterSensitiveLog } from "../models/models_1";
|
|
5
6
|
import { deserializeAws_restJson1ListLambdaFunctionsCommand, serializeAws_restJson1ListLambdaFunctionsCommand, } from "../protocols/Aws_restJson1";
|
|
6
7
|
export class ListLambdaFunctionsCommand extends $Command {
|
|
7
8
|
constructor(input) {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ListLexBotsRequestFilterSensitiveLog } from "../models/
|
|
5
|
-
import { ListLexBotsResponseFilterSensitiveLog } from "../models/models_1";
|
|
4
|
+
import { ListLexBotsRequestFilterSensitiveLog, ListLexBotsResponseFilterSensitiveLog, } from "../models/models_1";
|
|
6
5
|
import { deserializeAws_restJson1ListLexBotsCommand, serializeAws_restJson1ListLexBotsCommand, } from "../protocols/Aws_restJson1";
|
|
7
6
|
export class ListLexBotsCommand extends $Command {
|
|
8
7
|
constructor(input) {
|
|
@@ -65,6 +65,7 @@ export * from "./DisassociatePhoneNumberContactFlowCommand";
|
|
|
65
65
|
export * from "./DisassociateQueueQuickConnectsCommand";
|
|
66
66
|
export * from "./DisassociateRoutingProfileQueuesCommand";
|
|
67
67
|
export * from "./DisassociateSecurityKeyCommand";
|
|
68
|
+
export * from "./DismissUserContactCommand";
|
|
68
69
|
export * from "./GetContactAttributesCommand";
|
|
69
70
|
export * from "./GetCurrentMetricDataCommand";
|
|
70
71
|
export * from "./GetCurrentUserDataCommand";
|
|
@@ -1328,6 +1328,12 @@ export const DisassociateRoutingProfileQueuesRequestFilterSensitiveLog = (obj) =
|
|
|
1328
1328
|
export const DisassociateSecurityKeyRequestFilterSensitiveLog = (obj) => ({
|
|
1329
1329
|
...obj,
|
|
1330
1330
|
});
|
|
1331
|
+
export const DismissUserContactRequestFilterSensitiveLog = (obj) => ({
|
|
1332
|
+
...obj,
|
|
1333
|
+
});
|
|
1334
|
+
export const DismissUserContactResponseFilterSensitiveLog = (obj) => ({
|
|
1335
|
+
...obj,
|
|
1336
|
+
});
|
|
1331
1337
|
export const GetContactAttributesRequestFilterSensitiveLog = (obj) => ({
|
|
1332
1338
|
...obj,
|
|
1333
1339
|
});
|
|
@@ -1567,9 +1573,3 @@ export const ListIntegrationAssociationsResponseFilterSensitiveLog = (obj) => ({
|
|
|
1567
1573
|
export const ListLambdaFunctionsRequestFilterSensitiveLog = (obj) => ({
|
|
1568
1574
|
...obj,
|
|
1569
1575
|
});
|
|
1570
|
-
export const ListLambdaFunctionsResponseFilterSensitiveLog = (obj) => ({
|
|
1571
|
-
...obj,
|
|
1572
|
-
});
|
|
1573
|
-
export const ListLexBotsRequestFilterSensitiveLog = (obj) => ({
|
|
1574
|
-
...obj,
|
|
1575
|
-
});
|