@aws-sdk/client-connect 3.211.0 → 3.212.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/dist-cjs/Connect.js +15 -0
- package/dist-cjs/commands/ListLambdaFunctionsCommand.js +1 -2
- package/dist-cjs/commands/MonitorContactCommand.js +46 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +12 -11
- package/dist-cjs/models/models_1.js +16 -4
- package/dist-cjs/protocols/Aws_restJson1.js +106 -29
- package/dist-es/Connect.js +15 -0
- package/dist-es/commands/ListLambdaFunctionsCommand.js +1 -2
- package/dist-es/commands/MonitorContactCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +5 -3
- package/dist-es/models/models_1.js +9 -0
- package/dist-es/protocols/Aws_restJson1.js +99 -24
- package/dist-types/Connect.d.ts +11 -2
- package/dist-types/ConnectClient.d.ts +3 -2
- package/dist-types/commands/DismissUserContactCommand.d.ts +3 -2
- package/dist-types/commands/ListLambdaFunctionsCommand.d.ts +1 -2
- package/dist-types/commands/MonitorContactCommand.d.ts +38 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +21 -24
- package/dist-types/models/models_1.d.ts +100 -8
- 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/ListLambdaFunctionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/MonitorContactCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +4 -8
- package/dist-types/ts3.4/models/models_1.d.ts +26 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +28 -28
package/dist-cjs/Connect.js
CHANGED
|
@@ -107,6 +107,7 @@ const ListTrafficDistributionGroupsCommand_1 = require("./commands/ListTrafficDi
|
|
|
107
107
|
const ListUseCasesCommand_1 = require("./commands/ListUseCasesCommand");
|
|
108
108
|
const ListUserHierarchyGroupsCommand_1 = require("./commands/ListUserHierarchyGroupsCommand");
|
|
109
109
|
const ListUsersCommand_1 = require("./commands/ListUsersCommand");
|
|
110
|
+
const MonitorContactCommand_1 = require("./commands/MonitorContactCommand");
|
|
110
111
|
const PutUserStatusCommand_1 = require("./commands/PutUserStatusCommand");
|
|
111
112
|
const ReleasePhoneNumberCommand_1 = require("./commands/ReleasePhoneNumberCommand");
|
|
112
113
|
const ReplicateInstanceCommand_1 = require("./commands/ReplicateInstanceCommand");
|
|
@@ -1649,6 +1650,20 @@ class Connect extends ConnectClient_1.ConnectClient {
|
|
|
1649
1650
|
return this.send(command, optionsOrCb);
|
|
1650
1651
|
}
|
|
1651
1652
|
}
|
|
1653
|
+
monitorContact(args, optionsOrCb, cb) {
|
|
1654
|
+
const command = new MonitorContactCommand_1.MonitorContactCommand(args);
|
|
1655
|
+
if (typeof optionsOrCb === "function") {
|
|
1656
|
+
this.send(command, optionsOrCb);
|
|
1657
|
+
}
|
|
1658
|
+
else if (typeof cb === "function") {
|
|
1659
|
+
if (typeof optionsOrCb !== "object")
|
|
1660
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1661
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1662
|
+
}
|
|
1663
|
+
else {
|
|
1664
|
+
return this.send(command, optionsOrCb);
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1652
1667
|
putUserStatus(args, optionsOrCb, cb) {
|
|
1653
1668
|
const command = new PutUserStatusCommand_1.PutUserStatusCommand(args);
|
|
1654
1669
|
if (typeof optionsOrCb === "function") {
|
|
@@ -4,7 +4,6 @@ exports.ListLambdaFunctionsCommand = 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 ListLambdaFunctionsCommand extends smithy_client_1.Command {
|
|
@@ -31,7 +30,7 @@ class ListLambdaFunctionsCommand extends smithy_client_1.Command {
|
|
|
31
30
|
logger,
|
|
32
31
|
clientName,
|
|
33
32
|
commandName,
|
|
34
|
-
inputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: models_1_1.ListLambdaFunctionsRequestFilterSensitiveLog,
|
|
35
34
|
outputFilterSensitiveLog: models_1_1.ListLambdaFunctionsResponseFilterSensitiveLog,
|
|
36
35
|
};
|
|
37
36
|
const { requestHandler } = configuration;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MonitorContactCommand = 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 MonitorContactCommand 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, MonitorContactCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "ConnectClient";
|
|
28
|
+
const commandName = "MonitorContactCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_1_1.MonitorContactRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_1_1.MonitorContactResponseFilterSensitiveLog,
|
|
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_restJson1MonitorContactCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1MonitorContactCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.MonitorContactCommand = MonitorContactCommand;
|
|
@@ -107,6 +107,7 @@ tslib_1.__exportStar(require("./ListTrafficDistributionGroupsCommand"), exports)
|
|
|
107
107
|
tslib_1.__exportStar(require("./ListUseCasesCommand"), exports);
|
|
108
108
|
tslib_1.__exportStar(require("./ListUserHierarchyGroupsCommand"), exports);
|
|
109
109
|
tslib_1.__exportStar(require("./ListUsersCommand"), exports);
|
|
110
|
+
tslib_1.__exportStar(require("./MonitorContactCommand"), exports);
|
|
110
111
|
tslib_1.__exportStar(require("./PutUserStatusCommand"), exports);
|
|
111
112
|
tslib_1.__exportStar(require("./ReleasePhoneNumberCommand"), exports);
|
|
112
113
|
tslib_1.__exportStar(require("./ReplicateInstanceCommand"), exports);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
3
|
+
exports.TrafficDistributionGroupStatus = exports.QueueStatus = exports.PhoneNumberType = exports.PhoneNumberWorkflowStatus = exports.PhoneNumberCountryCode = exports.InstanceAttributeType = exports.InstanceStatus = exports.ContactFlowModuleStatus = exports.ContactFlowModuleState = exports.ContactFlowState = exports.ContactFlowNotPublishedException = exports.ResourceInUseException = exports.ResourceType = exports.VocabularyState = exports.PhoneType = exports.UseCaseType = exports.ResourceNotReadyException = exports.PropertyValidationException = exports.PropertyValidationExceptionReason = exports.TaskTemplateStatus = exports.TaskTemplateFieldType = exports.QuickConnectType = exports.SourceType = exports.IntegrationType = exports.DirectoryType = exports.HoursOfOperationDays = exports.InvalidContactFlowModuleException = exports.InvalidContactFlowException = exports.ContactFlowType = exports.DuplicateResourceException = exports.IdempotencyException = exports.StorageType = exports.EncryptionType = exports.InstanceStorageResourceType = exports.VocabularyLanguageCode = exports.LimitExceededException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.InvalidRequestException = exports.InvalidParameterException = exports.InternalServiceException = exports.MonitorCapability = exports.AgentStatusType = exports.AgentStatusState = exports.ContactInitiationMethod = exports.Channel = exports.ContactState = exports.AccessDeniedException = void 0;
|
|
4
|
+
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 = exports.CurrentMetricName = void 0;
|
|
5
|
+
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 = exports.HoursOfOperationConfigFilterSensitiveLog = void 0;
|
|
6
|
+
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 = exports.DeleteQuickConnectRequestFilterSensitiveLog = void 0;
|
|
7
|
+
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 = exports.DescribeSecurityProfileResponseFilterSensitiveLog = void 0;
|
|
8
|
+
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 = exports.GetFederationTokenResponseFilterSensitiveLog = void 0;
|
|
9
|
+
exports.ListIntegrationAssociationsResponseFilterSensitiveLog = 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 {
|
|
@@ -61,6 +61,11 @@ var AgentStatusType;
|
|
|
61
61
|
AgentStatusType["OFFLINE"] = "OFFLINE";
|
|
62
62
|
AgentStatusType["ROUTABLE"] = "ROUTABLE";
|
|
63
63
|
})(AgentStatusType = exports.AgentStatusType || (exports.AgentStatusType = {}));
|
|
64
|
+
var MonitorCapability;
|
|
65
|
+
(function (MonitorCapability) {
|
|
66
|
+
MonitorCapability["BARGE"] = "BARGE";
|
|
67
|
+
MonitorCapability["SILENT_MONITOR"] = "SILENT_MONITOR";
|
|
68
|
+
})(MonitorCapability = exports.MonitorCapability || (exports.MonitorCapability = {}));
|
|
64
69
|
class InternalServiceException extends ConnectServiceException_1.ConnectServiceException {
|
|
65
70
|
constructor(opts) {
|
|
66
71
|
super({
|
|
@@ -1838,7 +1843,3 @@ const ListIntegrationAssociationsResponseFilterSensitiveLog = (obj) => ({
|
|
|
1838
1843
|
...obj,
|
|
1839
1844
|
});
|
|
1840
1845
|
exports.ListIntegrationAssociationsResponseFilterSensitiveLog = ListIntegrationAssociationsResponseFilterSensitiveLog;
|
|
1841
|
-
const ListLambdaFunctionsRequestFilterSensitiveLog = (obj) => ({
|
|
1842
|
-
...obj,
|
|
1843
|
-
});
|
|
1844
|
-
exports.ListLambdaFunctionsRequestFilterSensitiveLog = ListLambdaFunctionsRequestFilterSensitiveLog;
|
|
@@ -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 = exports.UpdateUserHierarchyGroupNameRequestFilterSensitiveLog = exports.UpdateUserHierarchyRequestFilterSensitiveLog = void 0;
|
|
3
|
+
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.ListLambdaFunctionsRequestFilterSensitiveLog = exports.ContactNotFoundException = exports.TrafficType = exports.OutboundContactNotPermittedException = exports.DestinationNotAllowedException = exports.VoiceRecordingTrack = exports.HierarchyGroupMatchType = exports.StringComparisonType = exports.SearchableQueueType = exports.QueueType = void 0;
|
|
4
|
+
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.MonitorContactResponseFilterSensitiveLog = exports.MonitorContactRequestFilterSensitiveLog = exports.ListUsersResponseFilterSensitiveLog = exports.UserSummaryFilterSensitiveLog = exports.ListUsersRequestFilterSensitiveLog = exports.ListUserHierarchyGroupsResponseFilterSensitiveLog = exports.ListUserHierarchyGroupsRequestFilterSensitiveLog = exports.ListUseCasesResponseFilterSensitiveLog = exports.UseCaseFilterSensitiveLog = exports.ListUseCasesRequestFilterSensitiveLog = exports.ListTrafficDistributionGroupsResponseFilterSensitiveLog = exports.TrafficDistributionGroupSummaryFilterSensitiveLog = void 0;
|
|
5
|
+
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 = exports.StartOutboundVoiceContactResponseFilterSensitiveLog = exports.StartOutboundVoiceContactRequestFilterSensitiveLog = exports.AnswerMachineDetectionConfigFilterSensitiveLog = 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 = 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,10 @@ class ContactNotFoundException extends ConnectServiceException_1.ConnectServiceE
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
exports.ContactNotFoundException = ContactNotFoundException;
|
|
82
|
+
const ListLambdaFunctionsRequestFilterSensitiveLog = (obj) => ({
|
|
83
|
+
...obj,
|
|
84
|
+
});
|
|
85
|
+
exports.ListLambdaFunctionsRequestFilterSensitiveLog = ListLambdaFunctionsRequestFilterSensitiveLog;
|
|
82
86
|
const ListLambdaFunctionsResponseFilterSensitiveLog = (obj) => ({
|
|
83
87
|
...obj,
|
|
84
88
|
});
|
|
@@ -279,6 +283,14 @@ const ListUsersResponseFilterSensitiveLog = (obj) => ({
|
|
|
279
283
|
...obj,
|
|
280
284
|
});
|
|
281
285
|
exports.ListUsersResponseFilterSensitiveLog = ListUsersResponseFilterSensitiveLog;
|
|
286
|
+
const MonitorContactRequestFilterSensitiveLog = (obj) => ({
|
|
287
|
+
...obj,
|
|
288
|
+
});
|
|
289
|
+
exports.MonitorContactRequestFilterSensitiveLog = MonitorContactRequestFilterSensitiveLog;
|
|
290
|
+
const MonitorContactResponseFilterSensitiveLog = (obj) => ({
|
|
291
|
+
...obj,
|
|
292
|
+
});
|
|
293
|
+
exports.MonitorContactResponseFilterSensitiveLog = MonitorContactResponseFilterSensitiveLog;
|
|
282
294
|
const PutUserStatusRequestFilterSensitiveLog = (obj) => ({
|
|
283
295
|
...obj,
|
|
284
296
|
});
|
|
@@ -2,11 +2,11 @@
|
|
|
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
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.
|
|
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 = exports.deserializeAws_restJson1UpdateInstanceStorageConfigCommand = exports.deserializeAws_restJson1UpdateInstanceAttributeCommand = void 0;
|
|
5
|
+
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_restJson1MonitorContactCommand = exports.serializeAws_restJson1ListUsersCommand = exports.serializeAws_restJson1ListUserHierarchyGroupsCommand = exports.serializeAws_restJson1ListUseCasesCommand = exports.serializeAws_restJson1ListTrafficDistributionGroupsCommand = exports.serializeAws_restJson1ListTaskTemplatesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = void 0;
|
|
6
|
+
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 = exports.serializeAws_restJson1UpdateRoutingProfileDefaultOutboundQueueCommand = void 0;
|
|
7
|
+
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 = exports.deserializeAws_restJson1DeleteUserCommand = void 0;
|
|
8
|
+
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_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_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 = 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 = exports.deserializeAws_restJson1UpdateHoursOfOperationCommand = exports.deserializeAws_restJson1UpdateContactScheduleCommand = 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");
|
|
@@ -2408,6 +2408,33 @@ const serializeAws_restJson1ListUsersCommand = async (input, context) => {
|
|
|
2408
2408
|
});
|
|
2409
2409
|
};
|
|
2410
2410
|
exports.serializeAws_restJson1ListUsersCommand = serializeAws_restJson1ListUsersCommand;
|
|
2411
|
+
const serializeAws_restJson1MonitorContactCommand = async (input, context) => {
|
|
2412
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2413
|
+
const headers = {
|
|
2414
|
+
"content-type": "application/json",
|
|
2415
|
+
};
|
|
2416
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/contact/monitor";
|
|
2417
|
+
let body;
|
|
2418
|
+
body = JSON.stringify({
|
|
2419
|
+
...(input.AllowedMonitorCapabilities != null && {
|
|
2420
|
+
AllowedMonitorCapabilities: serializeAws_restJson1AllowedMonitorCapabilities(input.AllowedMonitorCapabilities, context),
|
|
2421
|
+
}),
|
|
2422
|
+
ClientToken: input.ClientToken ?? (0, uuid_1.v4)(),
|
|
2423
|
+
...(input.ContactId != null && { ContactId: input.ContactId }),
|
|
2424
|
+
...(input.InstanceId != null && { InstanceId: input.InstanceId }),
|
|
2425
|
+
...(input.UserId != null && { UserId: input.UserId }),
|
|
2426
|
+
});
|
|
2427
|
+
return new protocol_http_1.HttpRequest({
|
|
2428
|
+
protocol,
|
|
2429
|
+
hostname,
|
|
2430
|
+
port,
|
|
2431
|
+
method: "POST",
|
|
2432
|
+
headers,
|
|
2433
|
+
path: resolvedPath,
|
|
2434
|
+
body,
|
|
2435
|
+
});
|
|
2436
|
+
};
|
|
2437
|
+
exports.serializeAws_restJson1MonitorContactCommand = serializeAws_restJson1MonitorContactCommand;
|
|
2411
2438
|
const serializeAws_restJson1PutUserStatusCommand = async (input, context) => {
|
|
2412
2439
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2413
2440
|
const headers = {
|
|
@@ -8942,6 +8969,61 @@ const deserializeAws_restJson1ListUsersCommandError = async (output, context) =>
|
|
|
8942
8969
|
});
|
|
8943
8970
|
}
|
|
8944
8971
|
};
|
|
8972
|
+
const deserializeAws_restJson1MonitorContactCommand = async (output, context) => {
|
|
8973
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
8974
|
+
return deserializeAws_restJson1MonitorContactCommandError(output, context);
|
|
8975
|
+
}
|
|
8976
|
+
const contents = map({
|
|
8977
|
+
$metadata: deserializeMetadata(output),
|
|
8978
|
+
});
|
|
8979
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
8980
|
+
if (data.ContactArn != null) {
|
|
8981
|
+
contents.ContactArn = (0, smithy_client_1.expectString)(data.ContactArn);
|
|
8982
|
+
}
|
|
8983
|
+
if (data.ContactId != null) {
|
|
8984
|
+
contents.ContactId = (0, smithy_client_1.expectString)(data.ContactId);
|
|
8985
|
+
}
|
|
8986
|
+
return contents;
|
|
8987
|
+
};
|
|
8988
|
+
exports.deserializeAws_restJson1MonitorContactCommand = deserializeAws_restJson1MonitorContactCommand;
|
|
8989
|
+
const deserializeAws_restJson1MonitorContactCommandError = async (output, context) => {
|
|
8990
|
+
const parsedOutput = {
|
|
8991
|
+
...output,
|
|
8992
|
+
body: await parseErrorBody(output.body, context),
|
|
8993
|
+
};
|
|
8994
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8995
|
+
switch (errorCode) {
|
|
8996
|
+
case "AccessDeniedException":
|
|
8997
|
+
case "com.amazonaws.connect#AccessDeniedException":
|
|
8998
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
8999
|
+
case "IdempotencyException":
|
|
9000
|
+
case "com.amazonaws.connect#IdempotencyException":
|
|
9001
|
+
throw await deserializeAws_restJson1IdempotencyExceptionResponse(parsedOutput, context);
|
|
9002
|
+
case "InternalServiceException":
|
|
9003
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
9004
|
+
throw await deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context);
|
|
9005
|
+
case "InvalidRequestException":
|
|
9006
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
9007
|
+
throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
9008
|
+
case "ResourceNotFoundException":
|
|
9009
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
9010
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
9011
|
+
case "ServiceQuotaExceededException":
|
|
9012
|
+
case "com.amazonaws.connect#ServiceQuotaExceededException":
|
|
9013
|
+
throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
|
|
9014
|
+
case "ThrottlingException":
|
|
9015
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
9016
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
9017
|
+
default:
|
|
9018
|
+
const parsedBody = parsedOutput.body;
|
|
9019
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
9020
|
+
output,
|
|
9021
|
+
parsedBody,
|
|
9022
|
+
exceptionCtor: ConnectServiceException_1.ConnectServiceException,
|
|
9023
|
+
errorCode,
|
|
9024
|
+
});
|
|
9025
|
+
}
|
|
9026
|
+
};
|
|
8945
9027
|
const deserializeAws_restJson1PutUserStatusCommand = async (output, context) => {
|
|
8946
9028
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
8947
9029
|
return deserializeAws_restJson1PutUserStatusCommandError(output, context);
|
|
@@ -11786,6 +11868,13 @@ const deserializeAws_restJson1UserNotFoundExceptionResponse = async (parsedOutpu
|
|
|
11786
11868
|
});
|
|
11787
11869
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
11788
11870
|
};
|
|
11871
|
+
const serializeAws_restJson1AllowedMonitorCapabilities = (input, context) => {
|
|
11872
|
+
return input
|
|
11873
|
+
.filter((e) => e != null)
|
|
11874
|
+
.map((entry) => {
|
|
11875
|
+
return entry;
|
|
11876
|
+
});
|
|
11877
|
+
};
|
|
11789
11878
|
const serializeAws_restJson1AnswerMachineDetectionConfig = (input, context) => {
|
|
11790
11879
|
return {
|
|
11791
11880
|
...(input.AwaitAnswerMachinePrompt != null && { AwaitAnswerMachinePrompt: input.AwaitAnswerMachinePrompt }),
|
|
@@ -11799,10 +11888,8 @@ const serializeAws_restJson1Attributes = (input, context) => {
|
|
|
11799
11888
|
if (value === null) {
|
|
11800
11889
|
return acc;
|
|
11801
11890
|
}
|
|
11802
|
-
|
|
11803
|
-
|
|
11804
|
-
[key]: value,
|
|
11805
|
-
};
|
|
11891
|
+
acc[key] = value;
|
|
11892
|
+
return acc;
|
|
11806
11893
|
}, {});
|
|
11807
11894
|
};
|
|
11808
11895
|
const serializeAws_restJson1Channels = (input, context) => {
|
|
@@ -11835,10 +11922,8 @@ const serializeAws_restJson1ContactReferences = (input, context) => {
|
|
|
11835
11922
|
if (value === null) {
|
|
11836
11923
|
return acc;
|
|
11837
11924
|
}
|
|
11838
|
-
|
|
11839
|
-
|
|
11840
|
-
[key]: serializeAws_restJson1Reference(value, context),
|
|
11841
|
-
};
|
|
11925
|
+
acc[key] = serializeAws_restJson1Reference(value, context);
|
|
11926
|
+
return acc;
|
|
11842
11927
|
}, {});
|
|
11843
11928
|
};
|
|
11844
11929
|
const serializeAws_restJson1ContactStates = (input, context) => {
|
|
@@ -12304,10 +12389,8 @@ const serializeAws_restJson1TagMap = (input, context) => {
|
|
|
12304
12389
|
if (value === null) {
|
|
12305
12390
|
return acc;
|
|
12306
12391
|
}
|
|
12307
|
-
|
|
12308
|
-
|
|
12309
|
-
[key]: value,
|
|
12310
|
-
};
|
|
12392
|
+
acc[key] = value;
|
|
12393
|
+
return acc;
|
|
12311
12394
|
}, {});
|
|
12312
12395
|
};
|
|
12313
12396
|
const serializeAws_restJson1TagOrConditionList = (input, context) => {
|
|
@@ -12542,10 +12625,8 @@ const deserializeAws_restJson1Attributes = (output, context) => {
|
|
|
12542
12625
|
if (value === null) {
|
|
12543
12626
|
return acc;
|
|
12544
12627
|
}
|
|
12545
|
-
|
|
12546
|
-
|
|
12547
|
-
[key]: (0, smithy_client_1.expectString)(value),
|
|
12548
|
-
};
|
|
12628
|
+
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
12629
|
+
return acc;
|
|
12549
12630
|
}, {});
|
|
12550
12631
|
};
|
|
12551
12632
|
const deserializeAws_restJson1AttributesList = (output, context) => {
|
|
@@ -12582,10 +12663,8 @@ const deserializeAws_restJson1ChannelToCountMap = (output, context) => {
|
|
|
12582
12663
|
if (value === null) {
|
|
12583
12664
|
return acc;
|
|
12584
12665
|
}
|
|
12585
|
-
|
|
12586
|
-
|
|
12587
|
-
[key]: (0, smithy_client_1.expectInt32)(value),
|
|
12588
|
-
};
|
|
12666
|
+
acc[key] = (0, smithy_client_1.expectInt32)(value);
|
|
12667
|
+
return acc;
|
|
12589
12668
|
}, {});
|
|
12590
12669
|
};
|
|
12591
12670
|
const deserializeAws_restJson1ClaimedPhoneNumberSummary = (output, context) => {
|
|
@@ -13692,10 +13771,8 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
13692
13771
|
if (value === null) {
|
|
13693
13772
|
return acc;
|
|
13694
13773
|
}
|
|
13695
|
-
|
|
13696
|
-
|
|
13697
|
-
[key]: (0, smithy_client_1.expectString)(value),
|
|
13698
|
-
};
|
|
13774
|
+
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
13775
|
+
return acc;
|
|
13699
13776
|
}, {});
|
|
13700
13777
|
};
|
|
13701
13778
|
const deserializeAws_restJson1TaskTemplateConstraints = (output, context) => {
|
package/dist-es/Connect.js
CHANGED
|
@@ -104,6 +104,7 @@ import { ListTrafficDistributionGroupsCommand, } from "./commands/ListTrafficDis
|
|
|
104
104
|
import { ListUseCasesCommand, } from "./commands/ListUseCasesCommand";
|
|
105
105
|
import { ListUserHierarchyGroupsCommand, } from "./commands/ListUserHierarchyGroupsCommand";
|
|
106
106
|
import { ListUsersCommand } from "./commands/ListUsersCommand";
|
|
107
|
+
import { MonitorContactCommand, } from "./commands/MonitorContactCommand";
|
|
107
108
|
import { PutUserStatusCommand, } from "./commands/PutUserStatusCommand";
|
|
108
109
|
import { ReleasePhoneNumberCommand, } from "./commands/ReleasePhoneNumberCommand";
|
|
109
110
|
import { ReplicateInstanceCommand, } from "./commands/ReplicateInstanceCommand";
|
|
@@ -1646,6 +1647,20 @@ export class Connect extends ConnectClient {
|
|
|
1646
1647
|
return this.send(command, optionsOrCb);
|
|
1647
1648
|
}
|
|
1648
1649
|
}
|
|
1650
|
+
monitorContact(args, optionsOrCb, cb) {
|
|
1651
|
+
const command = new MonitorContactCommand(args);
|
|
1652
|
+
if (typeof optionsOrCb === "function") {
|
|
1653
|
+
this.send(command, optionsOrCb);
|
|
1654
|
+
}
|
|
1655
|
+
else if (typeof cb === "function") {
|
|
1656
|
+
if (typeof optionsOrCb !== "object")
|
|
1657
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1658
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1659
|
+
}
|
|
1660
|
+
else {
|
|
1661
|
+
return this.send(command, optionsOrCb);
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1649
1664
|
putUserStatus(args, optionsOrCb, cb) {
|
|
1650
1665
|
const command = new PutUserStatusCommand(args);
|
|
1651
1666
|
if (typeof optionsOrCb === "function") {
|
|
@@ -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 { ListLambdaFunctionsRequestFilterSensitiveLog } from "../models/
|
|
5
|
-
import { ListLambdaFunctionsResponseFilterSensitiveLog } from "../models/models_1";
|
|
4
|
+
import { ListLambdaFunctionsRequestFilterSensitiveLog, ListLambdaFunctionsResponseFilterSensitiveLog, } from "../models/models_1";
|
|
6
5
|
import { deserializeAws_restJson1ListLambdaFunctionsCommand, serializeAws_restJson1ListLambdaFunctionsCommand, } from "../protocols/Aws_restJson1";
|
|
7
6
|
export class ListLambdaFunctionsCommand extends $Command {
|
|
8
7
|
constructor(input) {
|