@aws-sdk/client-connect 3.41.0 → 3.46.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 +50 -0
- package/README.md +2 -4
- package/dist-cjs/Connect.js +180 -0
- package/dist-cjs/commands/CreateContactFlowModuleCommand.js +36 -0
- package/dist-cjs/commands/DeleteContactFlowCommand.js +36 -0
- package/dist-cjs/commands/DeleteContactFlowModuleCommand.js +36 -0
- package/dist-cjs/commands/DescribeContactCommand.js +36 -0
- package/dist-cjs/commands/DescribeContactFlowModuleCommand.js +36 -0
- package/dist-cjs/commands/ListContactFlowModulesCommand.js +36 -0
- package/dist-cjs/commands/ListContactReferencesCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateAgentStatusCommand.js +2 -2
- package/dist-cjs/commands/UpdateContactAttributesCommand.js +3 -3
- package/dist-cjs/commands/UpdateContactCommand.js +36 -0
- package/dist-cjs/commands/UpdateContactFlowContentCommand.js +2 -2
- package/dist-cjs/commands/UpdateContactFlowMetadataCommand.js +36 -0
- package/dist-cjs/commands/UpdateContactFlowModuleContentCommand.js +36 -0
- package/dist-cjs/commands/UpdateContactFlowModuleMetadataCommand.js +36 -0
- package/dist-cjs/commands/UpdateContactFlowNameCommand.js +2 -2
- package/dist-cjs/commands/UpdateContactScheduleCommand.js +36 -0
- package/dist-cjs/commands/UpdateHoursOfOperationCommand.js +2 -2
- package/dist-cjs/commands/UpdateInstanceAttributeCommand.js +2 -2
- package/dist-cjs/commands/UpdateInstanceStorageConfigCommand.js +2 -2
- package/dist-cjs/commands/UpdateQueueHoursOfOperationCommand.js +2 -2
- package/dist-cjs/commands/UpdateQueueMaxContactsCommand.js +2 -2
- package/dist-cjs/commands/UpdateQueueNameCommand.js +2 -2
- package/dist-cjs/commands/UpdateQueueOutboundCallerConfigCommand.js +2 -2
- package/dist-cjs/commands/UpdateQueueStatusCommand.js +2 -2
- package/dist-cjs/commands/UpdateQuickConnectConfigCommand.js +2 -2
- package/dist-cjs/commands/UpdateQuickConnectNameCommand.js +2 -2
- package/dist-cjs/commands/UpdateRoutingProfileConcurrencyCommand.js +2 -2
- package/dist-cjs/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.js +2 -2
- package/dist-cjs/commands/UpdateRoutingProfileNameCommand.js +2 -2
- package/dist-cjs/commands/UpdateRoutingProfileQueuesCommand.js +2 -2
- package/dist-cjs/commands/UpdateSecurityProfileCommand.js +2 -2
- package/dist-cjs/commands/UpdateUserHierarchyCommand.js +2 -2
- package/dist-cjs/commands/UpdateUserHierarchyGroupNameCommand.js +2 -2
- package/dist-cjs/commands/UpdateUserHierarchyStructureCommand.js +2 -2
- package/dist-cjs/commands/UpdateUserIdentityInfoCommand.js +2 -2
- package/dist-cjs/commands/index.js +12 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +193 -178
- package/dist-cjs/models/models_1.js +223 -1
- package/dist-cjs/pagination/ListContactFlowModulesPaginator.js +35 -0
- package/dist-cjs/pagination/ListContactReferencesPaginator.js +34 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1829 -169
- package/dist-cjs/runtimeConfig.js +0 -2
- package/dist-es/Connect.js +180 -0
- package/dist-es/commands/CreateContactFlowModuleCommand.js +39 -0
- package/dist-es/commands/DeleteContactFlowCommand.js +39 -0
- package/dist-es/commands/DeleteContactFlowModuleCommand.js +39 -0
- package/dist-es/commands/DescribeContactCommand.js +39 -0
- package/dist-es/commands/DescribeContactFlowModuleCommand.js +39 -0
- package/dist-es/commands/ListContactFlowModulesCommand.js +39 -0
- package/dist-es/commands/ListContactReferencesCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +1 -1
- package/dist-es/commands/UntagResourceCommand.js +1 -1
- package/dist-es/commands/UpdateAgentStatusCommand.js +1 -1
- package/dist-es/commands/UpdateContactAttributesCommand.js +1 -1
- package/dist-es/commands/UpdateContactCommand.js +39 -0
- package/dist-es/commands/UpdateContactFlowContentCommand.js +1 -1
- package/dist-es/commands/UpdateContactFlowMetadataCommand.js +39 -0
- package/dist-es/commands/UpdateContactFlowModuleContentCommand.js +39 -0
- package/dist-es/commands/UpdateContactFlowModuleMetadataCommand.js +39 -0
- package/dist-es/commands/UpdateContactFlowNameCommand.js +1 -1
- package/dist-es/commands/UpdateContactScheduleCommand.js +39 -0
- package/dist-es/commands/UpdateHoursOfOperationCommand.js +1 -1
- package/dist-es/commands/UpdateInstanceAttributeCommand.js +1 -1
- package/dist-es/commands/UpdateInstanceStorageConfigCommand.js +1 -1
- package/dist-es/commands/UpdateQueueHoursOfOperationCommand.js +1 -1
- package/dist-es/commands/UpdateQueueMaxContactsCommand.js +1 -1
- package/dist-es/commands/UpdateQueueNameCommand.js +1 -1
- package/dist-es/commands/UpdateQueueOutboundCallerConfigCommand.js +1 -1
- package/dist-es/commands/UpdateQueueStatusCommand.js +1 -1
- package/dist-es/commands/UpdateQuickConnectConfigCommand.js +1 -1
- package/dist-es/commands/UpdateQuickConnectNameCommand.js +1 -1
- package/dist-es/commands/UpdateRoutingProfileConcurrencyCommand.js +1 -1
- package/dist-es/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.js +1 -1
- package/dist-es/commands/UpdateRoutingProfileNameCommand.js +1 -1
- package/dist-es/commands/UpdateRoutingProfileQueuesCommand.js +1 -1
- package/dist-es/commands/UpdateSecurityProfileCommand.js +1 -1
- package/dist-es/commands/UpdateUserHierarchyCommand.js +1 -1
- package/dist-es/commands/UpdateUserHierarchyGroupNameCommand.js +1 -1
- package/dist-es/commands/UpdateUserHierarchyStructureCommand.js +1 -1
- package/dist-es/commands/UpdateUserIdentityInfoCommand.js +1 -1
- package/dist-es/commands/index.js +12 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +143 -116
- package/dist-es/models/models_1.js +148 -0
- package/dist-es/pagination/ListContactFlowModulesPaginator.js +74 -0
- package/dist-es/pagination/ListContactReferencesPaginator.js +73 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +2179 -332
- package/dist-es/runtimeConfig.js +0 -2
- package/dist-types/Connect.d.ts +112 -14
- package/dist-types/ConnectClient.d.ts +17 -7
- package/dist-types/commands/CreateContactFlowModuleCommand.d.ts +35 -0
- package/dist-types/commands/CreateHoursOfOperationCommand.d.ts +2 -1
- package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteContactFlowCommand.d.ts +35 -0
- package/dist-types/commands/DeleteContactFlowModuleCommand.d.ts +35 -0
- package/dist-types/commands/DeleteHoursOfOperationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteIntegrationAssociationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeContactCommand.d.ts +40 -0
- package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +35 -0
- package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +2 -1
- package/dist-types/commands/ListContactFlowModulesCommand.d.ts +35 -0
- package/dist-types/commands/ListContactReferencesCommand.d.ts +37 -0
- package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListSecurityProfilesCommand.d.ts +1 -2
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAgentStatusCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactAttributesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactCommand.d.ts +41 -0
- package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactFlowMetadataCommand.d.ts +35 -0
- package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +35 -0
- package/dist-types/commands/UpdateContactFlowModuleMetadataCommand.d.ts +35 -0
- package/dist-types/commands/UpdateContactFlowNameCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactScheduleCommand.d.ts +35 -0
- package/dist-types/commands/UpdateHoursOfOperationCommand.d.ts +3 -2
- package/dist-types/commands/UpdateInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/UpdateInstanceStorageConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQueueHoursOfOperationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQueueMaxContactsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQueueNameCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQueueStatusCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQuickConnectConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQuickConnectNameCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRoutingProfileNameCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRoutingProfileQueuesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserHierarchyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserHierarchyStructureCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserIdentityInfoCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +592 -643
- package/dist-types/models/models_1.d.ts +771 -1
- package/dist-types/pagination/ListContactFlowModulesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListContactReferencesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/Connect.d.ts +60 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +14 -2
- package/dist-types/ts3.4/commands/CreateContactFlowModuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteContactFlowCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteContactFlowModuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeContactCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeContactFlowModuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListContactFlowModulesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListContactReferencesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAgentStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateContactAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateContactFlowContentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateContactFlowMetadataCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateContactFlowModuleContentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateContactFlowModuleMetadataCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateContactFlowNameCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateContactScheduleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateHoursOfOperationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateInstanceStorageConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQueueHoursOfOperationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQueueMaxContactsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQueueNameCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQueueStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQuickConnectConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQuickConnectNameCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRoutingProfileNameCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRoutingProfileQueuesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSecurityProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateUserHierarchyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateUserHierarchyStructureCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateUserIdentityInfoCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/models/models_0.d.ts +347 -359
- package/dist-types/ts3.4/models/models_1.d.ts +455 -1
- package/dist-types/ts3.4/pagination/ListContactFlowModulesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListContactReferencesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +36 -43
|
@@ -15,10 +15,8 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
|
15
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
18
|
const getRuntimeConfig = (config) => {
|
|
20
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
|
-
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
22
20
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
21
|
return {
|
|
24
22
|
...clientSharedValues,
|
package/dist-es/Connect.js
CHANGED
|
@@ -9,6 +9,7 @@ import { AssociateRoutingProfileQueuesCommand, } from "./commands/AssociateRouti
|
|
|
9
9
|
import { AssociateSecurityKeyCommand, } from "./commands/AssociateSecurityKeyCommand";
|
|
10
10
|
import { CreateAgentStatusCommand, } from "./commands/CreateAgentStatusCommand";
|
|
11
11
|
import { CreateContactFlowCommand, } from "./commands/CreateContactFlowCommand";
|
|
12
|
+
import { CreateContactFlowModuleCommand, } from "./commands/CreateContactFlowModuleCommand";
|
|
12
13
|
import { CreateHoursOfOperationCommand, } from "./commands/CreateHoursOfOperationCommand";
|
|
13
14
|
import { CreateInstanceCommand, } from "./commands/CreateInstanceCommand";
|
|
14
15
|
import { CreateIntegrationAssociationCommand, } from "./commands/CreateIntegrationAssociationCommand";
|
|
@@ -19,6 +20,8 @@ import { CreateSecurityProfileCommand, } from "./commands/CreateSecurityProfileC
|
|
|
19
20
|
import { CreateUseCaseCommand, } from "./commands/CreateUseCaseCommand";
|
|
20
21
|
import { CreateUserCommand } from "./commands/CreateUserCommand";
|
|
21
22
|
import { CreateUserHierarchyGroupCommand, } from "./commands/CreateUserHierarchyGroupCommand";
|
|
23
|
+
import { DeleteContactFlowCommand, } from "./commands/DeleteContactFlowCommand";
|
|
24
|
+
import { DeleteContactFlowModuleCommand, } from "./commands/DeleteContactFlowModuleCommand";
|
|
22
25
|
import { DeleteHoursOfOperationCommand, } from "./commands/DeleteHoursOfOperationCommand";
|
|
23
26
|
import { DeleteInstanceCommand, } from "./commands/DeleteInstanceCommand";
|
|
24
27
|
import { DeleteIntegrationAssociationCommand, } from "./commands/DeleteIntegrationAssociationCommand";
|
|
@@ -28,7 +31,9 @@ import { DeleteUseCaseCommand, } from "./commands/DeleteUseCaseCommand";
|
|
|
28
31
|
import { DeleteUserCommand } from "./commands/DeleteUserCommand";
|
|
29
32
|
import { DeleteUserHierarchyGroupCommand, } from "./commands/DeleteUserHierarchyGroupCommand";
|
|
30
33
|
import { DescribeAgentStatusCommand, } from "./commands/DescribeAgentStatusCommand";
|
|
34
|
+
import { DescribeContactCommand, } from "./commands/DescribeContactCommand";
|
|
31
35
|
import { DescribeContactFlowCommand, } from "./commands/DescribeContactFlowCommand";
|
|
36
|
+
import { DescribeContactFlowModuleCommand, } from "./commands/DescribeContactFlowModuleCommand";
|
|
32
37
|
import { DescribeHoursOfOperationCommand, } from "./commands/DescribeHoursOfOperationCommand";
|
|
33
38
|
import { DescribeInstanceAttributeCommand, } from "./commands/DescribeInstanceAttributeCommand";
|
|
34
39
|
import { DescribeInstanceCommand, } from "./commands/DescribeInstanceCommand";
|
|
@@ -55,7 +60,9 @@ import { GetMetricDataCommand, } from "./commands/GetMetricDataCommand";
|
|
|
55
60
|
import { ListAgentStatusesCommand, } from "./commands/ListAgentStatusesCommand";
|
|
56
61
|
import { ListApprovedOriginsCommand, } from "./commands/ListApprovedOriginsCommand";
|
|
57
62
|
import { ListBotsCommand } from "./commands/ListBotsCommand";
|
|
63
|
+
import { ListContactFlowModulesCommand, } from "./commands/ListContactFlowModulesCommand";
|
|
58
64
|
import { ListContactFlowsCommand, } from "./commands/ListContactFlowsCommand";
|
|
65
|
+
import { ListContactReferencesCommand, } from "./commands/ListContactReferencesCommand";
|
|
59
66
|
import { ListHoursOfOperationsCommand, } from "./commands/ListHoursOfOperationsCommand";
|
|
60
67
|
import { ListInstanceAttributesCommand, } from "./commands/ListInstanceAttributesCommand";
|
|
61
68
|
import { ListInstancesCommand, } from "./commands/ListInstancesCommand";
|
|
@@ -91,8 +98,13 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
91
98
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
92
99
|
import { UpdateAgentStatusCommand, } from "./commands/UpdateAgentStatusCommand";
|
|
93
100
|
import { UpdateContactAttributesCommand, } from "./commands/UpdateContactAttributesCommand";
|
|
101
|
+
import { UpdateContactCommand, } from "./commands/UpdateContactCommand";
|
|
94
102
|
import { UpdateContactFlowContentCommand, } from "./commands/UpdateContactFlowContentCommand";
|
|
103
|
+
import { UpdateContactFlowMetadataCommand, } from "./commands/UpdateContactFlowMetadataCommand";
|
|
104
|
+
import { UpdateContactFlowModuleContentCommand, } from "./commands/UpdateContactFlowModuleContentCommand";
|
|
105
|
+
import { UpdateContactFlowModuleMetadataCommand, } from "./commands/UpdateContactFlowModuleMetadataCommand";
|
|
95
106
|
import { UpdateContactFlowNameCommand, } from "./commands/UpdateContactFlowNameCommand";
|
|
107
|
+
import { UpdateContactScheduleCommand, } from "./commands/UpdateContactScheduleCommand";
|
|
96
108
|
import { UpdateHoursOfOperationCommand, } from "./commands/UpdateHoursOfOperationCommand";
|
|
97
109
|
import { UpdateInstanceAttributeCommand, } from "./commands/UpdateInstanceAttributeCommand";
|
|
98
110
|
import { UpdateInstanceStorageConfigCommand, } from "./commands/UpdateInstanceStorageConfigCommand";
|
|
@@ -261,6 +273,20 @@ var Connect = (function (_super) {
|
|
|
261
273
|
return this.send(command, optionsOrCb);
|
|
262
274
|
}
|
|
263
275
|
};
|
|
276
|
+
Connect.prototype.createContactFlowModule = function (args, optionsOrCb, cb) {
|
|
277
|
+
var command = new CreateContactFlowModuleCommand(args);
|
|
278
|
+
if (typeof optionsOrCb === "function") {
|
|
279
|
+
this.send(command, optionsOrCb);
|
|
280
|
+
}
|
|
281
|
+
else if (typeof cb === "function") {
|
|
282
|
+
if (typeof optionsOrCb !== "object")
|
|
283
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
284
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
285
|
+
}
|
|
286
|
+
else {
|
|
287
|
+
return this.send(command, optionsOrCb);
|
|
288
|
+
}
|
|
289
|
+
};
|
|
264
290
|
Connect.prototype.createHoursOfOperation = function (args, optionsOrCb, cb) {
|
|
265
291
|
var command = new CreateHoursOfOperationCommand(args);
|
|
266
292
|
if (typeof optionsOrCb === "function") {
|
|
@@ -401,6 +427,34 @@ var Connect = (function (_super) {
|
|
|
401
427
|
return this.send(command, optionsOrCb);
|
|
402
428
|
}
|
|
403
429
|
};
|
|
430
|
+
Connect.prototype.deleteContactFlow = function (args, optionsOrCb, cb) {
|
|
431
|
+
var command = new DeleteContactFlowCommand(args);
|
|
432
|
+
if (typeof optionsOrCb === "function") {
|
|
433
|
+
this.send(command, optionsOrCb);
|
|
434
|
+
}
|
|
435
|
+
else if (typeof cb === "function") {
|
|
436
|
+
if (typeof optionsOrCb !== "object")
|
|
437
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
438
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
439
|
+
}
|
|
440
|
+
else {
|
|
441
|
+
return this.send(command, optionsOrCb);
|
|
442
|
+
}
|
|
443
|
+
};
|
|
444
|
+
Connect.prototype.deleteContactFlowModule = function (args, optionsOrCb, cb) {
|
|
445
|
+
var command = new DeleteContactFlowModuleCommand(args);
|
|
446
|
+
if (typeof optionsOrCb === "function") {
|
|
447
|
+
this.send(command, optionsOrCb);
|
|
448
|
+
}
|
|
449
|
+
else if (typeof cb === "function") {
|
|
450
|
+
if (typeof optionsOrCb !== "object")
|
|
451
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
452
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
453
|
+
}
|
|
454
|
+
else {
|
|
455
|
+
return this.send(command, optionsOrCb);
|
|
456
|
+
}
|
|
457
|
+
};
|
|
404
458
|
Connect.prototype.deleteHoursOfOperation = function (args, optionsOrCb, cb) {
|
|
405
459
|
var command = new DeleteHoursOfOperationCommand(args);
|
|
406
460
|
if (typeof optionsOrCb === "function") {
|
|
@@ -527,6 +581,20 @@ var Connect = (function (_super) {
|
|
|
527
581
|
return this.send(command, optionsOrCb);
|
|
528
582
|
}
|
|
529
583
|
};
|
|
584
|
+
Connect.prototype.describeContact = function (args, optionsOrCb, cb) {
|
|
585
|
+
var command = new DescribeContactCommand(args);
|
|
586
|
+
if (typeof optionsOrCb === "function") {
|
|
587
|
+
this.send(command, optionsOrCb);
|
|
588
|
+
}
|
|
589
|
+
else if (typeof cb === "function") {
|
|
590
|
+
if (typeof optionsOrCb !== "object")
|
|
591
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
592
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
593
|
+
}
|
|
594
|
+
else {
|
|
595
|
+
return this.send(command, optionsOrCb);
|
|
596
|
+
}
|
|
597
|
+
};
|
|
530
598
|
Connect.prototype.describeContactFlow = function (args, optionsOrCb, cb) {
|
|
531
599
|
var command = new DescribeContactFlowCommand(args);
|
|
532
600
|
if (typeof optionsOrCb === "function") {
|
|
@@ -541,6 +609,20 @@ var Connect = (function (_super) {
|
|
|
541
609
|
return this.send(command, optionsOrCb);
|
|
542
610
|
}
|
|
543
611
|
};
|
|
612
|
+
Connect.prototype.describeContactFlowModule = function (args, optionsOrCb, cb) {
|
|
613
|
+
var command = new DescribeContactFlowModuleCommand(args);
|
|
614
|
+
if (typeof optionsOrCb === "function") {
|
|
615
|
+
this.send(command, optionsOrCb);
|
|
616
|
+
}
|
|
617
|
+
else if (typeof cb === "function") {
|
|
618
|
+
if (typeof optionsOrCb !== "object")
|
|
619
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
620
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
621
|
+
}
|
|
622
|
+
else {
|
|
623
|
+
return this.send(command, optionsOrCb);
|
|
624
|
+
}
|
|
625
|
+
};
|
|
544
626
|
Connect.prototype.describeHoursOfOperation = function (args, optionsOrCb, cb) {
|
|
545
627
|
var command = new DescribeHoursOfOperationCommand(args);
|
|
546
628
|
if (typeof optionsOrCb === "function") {
|
|
@@ -905,6 +987,20 @@ var Connect = (function (_super) {
|
|
|
905
987
|
return this.send(command, optionsOrCb);
|
|
906
988
|
}
|
|
907
989
|
};
|
|
990
|
+
Connect.prototype.listContactFlowModules = function (args, optionsOrCb, cb) {
|
|
991
|
+
var command = new ListContactFlowModulesCommand(args);
|
|
992
|
+
if (typeof optionsOrCb === "function") {
|
|
993
|
+
this.send(command, optionsOrCb);
|
|
994
|
+
}
|
|
995
|
+
else if (typeof cb === "function") {
|
|
996
|
+
if (typeof optionsOrCb !== "object")
|
|
997
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
998
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
999
|
+
}
|
|
1000
|
+
else {
|
|
1001
|
+
return this.send(command, optionsOrCb);
|
|
1002
|
+
}
|
|
1003
|
+
};
|
|
908
1004
|
Connect.prototype.listContactFlows = function (args, optionsOrCb, cb) {
|
|
909
1005
|
var command = new ListContactFlowsCommand(args);
|
|
910
1006
|
if (typeof optionsOrCb === "function") {
|
|
@@ -919,6 +1015,20 @@ var Connect = (function (_super) {
|
|
|
919
1015
|
return this.send(command, optionsOrCb);
|
|
920
1016
|
}
|
|
921
1017
|
};
|
|
1018
|
+
Connect.prototype.listContactReferences = function (args, optionsOrCb, cb) {
|
|
1019
|
+
var command = new ListContactReferencesCommand(args);
|
|
1020
|
+
if (typeof optionsOrCb === "function") {
|
|
1021
|
+
this.send(command, optionsOrCb);
|
|
1022
|
+
}
|
|
1023
|
+
else if (typeof cb === "function") {
|
|
1024
|
+
if (typeof optionsOrCb !== "object")
|
|
1025
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
1026
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1027
|
+
}
|
|
1028
|
+
else {
|
|
1029
|
+
return this.send(command, optionsOrCb);
|
|
1030
|
+
}
|
|
1031
|
+
};
|
|
922
1032
|
Connect.prototype.listHoursOfOperations = function (args, optionsOrCb, cb) {
|
|
923
1033
|
var command = new ListHoursOfOperationsCommand(args);
|
|
924
1034
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1395,6 +1505,20 @@ var Connect = (function (_super) {
|
|
|
1395
1505
|
return this.send(command, optionsOrCb);
|
|
1396
1506
|
}
|
|
1397
1507
|
};
|
|
1508
|
+
Connect.prototype.updateContact = function (args, optionsOrCb, cb) {
|
|
1509
|
+
var command = new UpdateContactCommand(args);
|
|
1510
|
+
if (typeof optionsOrCb === "function") {
|
|
1511
|
+
this.send(command, optionsOrCb);
|
|
1512
|
+
}
|
|
1513
|
+
else if (typeof cb === "function") {
|
|
1514
|
+
if (typeof optionsOrCb !== "object")
|
|
1515
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
1516
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1517
|
+
}
|
|
1518
|
+
else {
|
|
1519
|
+
return this.send(command, optionsOrCb);
|
|
1520
|
+
}
|
|
1521
|
+
};
|
|
1398
1522
|
Connect.prototype.updateContactAttributes = function (args, optionsOrCb, cb) {
|
|
1399
1523
|
var command = new UpdateContactAttributesCommand(args);
|
|
1400
1524
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1423,6 +1547,48 @@ var Connect = (function (_super) {
|
|
|
1423
1547
|
return this.send(command, optionsOrCb);
|
|
1424
1548
|
}
|
|
1425
1549
|
};
|
|
1550
|
+
Connect.prototype.updateContactFlowMetadata = function (args, optionsOrCb, cb) {
|
|
1551
|
+
var command = new UpdateContactFlowMetadataCommand(args);
|
|
1552
|
+
if (typeof optionsOrCb === "function") {
|
|
1553
|
+
this.send(command, optionsOrCb);
|
|
1554
|
+
}
|
|
1555
|
+
else if (typeof cb === "function") {
|
|
1556
|
+
if (typeof optionsOrCb !== "object")
|
|
1557
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
1558
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1559
|
+
}
|
|
1560
|
+
else {
|
|
1561
|
+
return this.send(command, optionsOrCb);
|
|
1562
|
+
}
|
|
1563
|
+
};
|
|
1564
|
+
Connect.prototype.updateContactFlowModuleContent = function (args, optionsOrCb, cb) {
|
|
1565
|
+
var command = new UpdateContactFlowModuleContentCommand(args);
|
|
1566
|
+
if (typeof optionsOrCb === "function") {
|
|
1567
|
+
this.send(command, optionsOrCb);
|
|
1568
|
+
}
|
|
1569
|
+
else if (typeof cb === "function") {
|
|
1570
|
+
if (typeof optionsOrCb !== "object")
|
|
1571
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
1572
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1573
|
+
}
|
|
1574
|
+
else {
|
|
1575
|
+
return this.send(command, optionsOrCb);
|
|
1576
|
+
}
|
|
1577
|
+
};
|
|
1578
|
+
Connect.prototype.updateContactFlowModuleMetadata = function (args, optionsOrCb, cb) {
|
|
1579
|
+
var command = new UpdateContactFlowModuleMetadataCommand(args);
|
|
1580
|
+
if (typeof optionsOrCb === "function") {
|
|
1581
|
+
this.send(command, optionsOrCb);
|
|
1582
|
+
}
|
|
1583
|
+
else if (typeof cb === "function") {
|
|
1584
|
+
if (typeof optionsOrCb !== "object")
|
|
1585
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
1586
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1587
|
+
}
|
|
1588
|
+
else {
|
|
1589
|
+
return this.send(command, optionsOrCb);
|
|
1590
|
+
}
|
|
1591
|
+
};
|
|
1426
1592
|
Connect.prototype.updateContactFlowName = function (args, optionsOrCb, cb) {
|
|
1427
1593
|
var command = new UpdateContactFlowNameCommand(args);
|
|
1428
1594
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1437,6 +1603,20 @@ var Connect = (function (_super) {
|
|
|
1437
1603
|
return this.send(command, optionsOrCb);
|
|
1438
1604
|
}
|
|
1439
1605
|
};
|
|
1606
|
+
Connect.prototype.updateContactSchedule = function (args, optionsOrCb, cb) {
|
|
1607
|
+
var command = new UpdateContactScheduleCommand(args);
|
|
1608
|
+
if (typeof optionsOrCb === "function") {
|
|
1609
|
+
this.send(command, optionsOrCb);
|
|
1610
|
+
}
|
|
1611
|
+
else if (typeof cb === "function") {
|
|
1612
|
+
if (typeof optionsOrCb !== "object")
|
|
1613
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
1614
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1615
|
+
}
|
|
1616
|
+
else {
|
|
1617
|
+
return this.send(command, optionsOrCb);
|
|
1618
|
+
}
|
|
1619
|
+
};
|
|
1440
1620
|
Connect.prototype.updateHoursOfOperation = function (args, optionsOrCb, cb) {
|
|
1441
1621
|
var command = new UpdateHoursOfOperationCommand(args);
|
|
1442
1622
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateContactFlowModuleRequest, CreateContactFlowModuleResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateContactFlowModuleCommand, serializeAws_restJson1CreateContactFlowModuleCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var CreateContactFlowModuleCommand = (function (_super) {
|
|
7
|
+
__extends(CreateContactFlowModuleCommand, _super);
|
|
8
|
+
function CreateContactFlowModuleCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateContactFlowModuleCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ConnectClient";
|
|
18
|
+
var commandName = "CreateContactFlowModuleCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateContactFlowModuleRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateContactFlowModuleResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateContactFlowModuleCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1CreateContactFlowModuleCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateContactFlowModuleCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1CreateContactFlowModuleCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateContactFlowModuleCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateContactFlowModuleCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteContactFlowRequest } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DeleteContactFlowCommand, serializeAws_restJson1DeleteContactFlowCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DeleteContactFlowCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteContactFlowCommand, _super);
|
|
8
|
+
function DeleteContactFlowCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DeleteContactFlowCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ConnectClient";
|
|
18
|
+
var commandName = "DeleteContactFlowCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DeleteContactFlowRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteContactFlowCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DeleteContactFlowCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DeleteContactFlowCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DeleteContactFlowCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DeleteContactFlowCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteContactFlowCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteContactFlowModuleRequest, DeleteContactFlowModuleResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DeleteContactFlowModuleCommand, serializeAws_restJson1DeleteContactFlowModuleCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DeleteContactFlowModuleCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteContactFlowModuleCommand, _super);
|
|
8
|
+
function DeleteContactFlowModuleCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DeleteContactFlowModuleCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ConnectClient";
|
|
18
|
+
var commandName = "DeleteContactFlowModuleCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DeleteContactFlowModuleRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteContactFlowModuleResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteContactFlowModuleCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DeleteContactFlowModuleCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DeleteContactFlowModuleCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DeleteContactFlowModuleCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DeleteContactFlowModuleCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteContactFlowModuleCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeContactRequest, DescribeContactResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DescribeContactCommand, serializeAws_restJson1DescribeContactCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DescribeContactCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeContactCommand, _super);
|
|
8
|
+
function DescribeContactCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DescribeContactCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ConnectClient";
|
|
18
|
+
var commandName = "DescribeContactCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DescribeContactRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeContactResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeContactCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DescribeContactCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DescribeContactCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DescribeContactCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DescribeContactCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeContactCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeContactFlowModuleRequest, DescribeContactFlowModuleResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DescribeContactFlowModuleCommand, serializeAws_restJson1DescribeContactFlowModuleCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DescribeContactFlowModuleCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeContactFlowModuleCommand, _super);
|
|
8
|
+
function DescribeContactFlowModuleCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DescribeContactFlowModuleCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ConnectClient";
|
|
18
|
+
var commandName = "DescribeContactFlowModuleCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DescribeContactFlowModuleRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeContactFlowModuleResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeContactFlowModuleCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DescribeContactFlowModuleCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DescribeContactFlowModuleCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DescribeContactFlowModuleCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DescribeContactFlowModuleCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeContactFlowModuleCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListContactFlowModulesRequest, ListContactFlowModulesResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListContactFlowModulesCommand, serializeAws_restJson1ListContactFlowModulesCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ListContactFlowModulesCommand = (function (_super) {
|
|
7
|
+
__extends(ListContactFlowModulesCommand, _super);
|
|
8
|
+
function ListContactFlowModulesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListContactFlowModulesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ConnectClient";
|
|
18
|
+
var commandName = "ListContactFlowModulesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListContactFlowModulesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListContactFlowModulesResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListContactFlowModulesCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1ListContactFlowModulesCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListContactFlowModulesCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1ListContactFlowModulesCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListContactFlowModulesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListContactFlowModulesCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListContactReferencesRequest, ListContactReferencesResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListContactReferencesCommand, serializeAws_restJson1ListContactReferencesCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ListContactReferencesCommand = (function (_super) {
|
|
7
|
+
__extends(ListContactReferencesCommand, _super);
|
|
8
|
+
function ListContactReferencesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListContactReferencesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ConnectClient";
|
|
18
|
+
var commandName = "ListContactReferencesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListContactReferencesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListContactReferencesResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListContactReferencesCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1ListContactReferencesCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListContactReferencesCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1ListContactReferencesCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListContactReferencesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListContactReferencesCommand };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { TagResourceRequest } from "../models/
|
|
4
|
+
import { TagResourceRequest } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var TagResourceCommand = (function (_super) {
|
|
7
7
|
__extends(TagResourceCommand, _super);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UntagResourceRequest } from "../models/
|
|
4
|
+
import { UntagResourceRequest } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var UntagResourceCommand = (function (_super) {
|
|
7
7
|
__extends(UntagResourceCommand, _super);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UpdateAgentStatusRequest } from "../models/
|
|
4
|
+
import { UpdateAgentStatusRequest } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_restJson1UpdateAgentStatusCommand, serializeAws_restJson1UpdateAgentStatusCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var UpdateAgentStatusCommand = (function (_super) {
|
|
7
7
|
__extends(UpdateAgentStatusCommand, _super);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UpdateContactAttributesRequest, UpdateContactAttributesResponse } from "../models/
|
|
4
|
+
import { UpdateContactAttributesRequest, UpdateContactAttributesResponse } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_restJson1UpdateContactAttributesCommand, serializeAws_restJson1UpdateContactAttributesCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var UpdateContactAttributesCommand = (function (_super) {
|
|
7
7
|
__extends(UpdateContactAttributesCommand, _super);
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateContactRequest, UpdateContactResponse } from "../models/models_1";
|
|
5
|
+
import { deserializeAws_restJson1UpdateContactCommand, serializeAws_restJson1UpdateContactCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var UpdateContactCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateContactCommand, _super);
|
|
8
|
+
function UpdateContactCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateContactCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ConnectClient";
|
|
18
|
+
var commandName = "UpdateContactCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateContactRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdateContactResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateContactCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1UpdateContactCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateContactCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1UpdateContactCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateContactCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateContactCommand };
|