@aws-sdk/client-connect 3.42.0 → 3.43.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 +11 -0
- package/README.md +2 -4
- package/dist-cjs/Connect.js +120 -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/DescribeContactFlowModuleCommand.js +36 -0
- package/dist-cjs/commands/ListContactFlowModulesCommand.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 +3 -3
- 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 +3 -3
- 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/index.js +8 -0
- package/dist-cjs/models/models_0.js +99 -102
- package/dist-cjs/models/models_1.js +127 -1
- package/dist-cjs/pagination/ListContactFlowModulesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1271 -167
- package/dist-es/Connect.js +120 -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/DescribeContactFlowModuleCommand.js +39 -0
- package/dist-es/commands/ListContactFlowModulesCommand.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 +1 -1
- 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 +1 -1
- 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/index.js +8 -0
- package/dist-es/models/models_0.js +67 -64
- package/dist-es/models/models_1.js +84 -0
- package/dist-es/pagination/ListContactFlowModulesPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +1423 -192
- package/dist-types/Connect.d.ts +78 -21
- package/dist-types/ConnectClient.d.ts +13 -7
- package/dist-types/commands/CreateContactFlowModuleCommand.d.ts +35 -0
- package/dist-types/commands/CreateHoursOfOperationCommand.d.ts +2 -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/DescribeContactCommand.d.ts +2 -1
- package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +35 -0
- package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +2 -1
- package/dist-types/commands/ListBotsCommand.d.ts +2 -2
- package/dist-types/commands/ListContactFlowModulesCommand.d.ts +35 -0
- package/dist-types/commands/StartContactStreamingCommand.d.ts +1 -1
- package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +2 -3
- package/dist-types/commands/StartTaskContactCommand.d.ts +1 -2
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- 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 +2 -2
- 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 +1 -1
- 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/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +307 -363
- package/dist-types/models/models_1.d.ts +429 -1
- package/dist-types/pagination/ListContactFlowModulesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +24 -0
- package/dist-types/ts3.4/Connect.d.ts +40 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +10 -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/DescribeContactFlowModuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListContactFlowModulesCommand.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 +1 -1
- 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 +1 -1
- 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/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +174 -198
- package/dist-types/ts3.4/models/models_1.d.ts +255 -1
- package/dist-types/ts3.4/pagination/ListContactFlowModulesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
7
18
|
|
|
8
19
|
|
package/README.md
CHANGED
|
@@ -15,10 +15,8 @@ appropriate agents.</p>
|
|
|
15
15
|
<p>There are limits to the number of Amazon Connect resources that you can create. There are also limits
|
|
16
16
|
to the number of requests that you can make per second. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html">Amazon Connect
|
|
17
17
|
Service Quotas</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
|
|
18
|
-
<p>You can
|
|
19
|
-
|
|
20
|
-
programmatically to an AWS service by using an endpoint. For a list of Amazon Connect endpoints, see
|
|
21
|
-
<a href="https://docs.aws.amazon.com/general/latest/gr/connect_region.html">Amazon Connect
|
|
18
|
+
<p>You can connect programmatically to an AWS service by using an endpoint. For a list of Amazon Connect
|
|
19
|
+
endpoints, see <a href="https://docs.aws.amazon.com/general/latest/gr/connect_region.html">Amazon Connect
|
|
22
20
|
Endpoints</a>.</p>
|
|
23
21
|
<note>
|
|
24
22
|
<p>Working with contact flows? Check out the <a href="https://docs.aws.amazon.com/connect/latest/adminguide/flow-language.html">Amazon Connect Flow language</a>.</p>
|
package/dist-cjs/Connect.js
CHANGED
|
@@ -11,6 +11,7 @@ const AssociateRoutingProfileQueuesCommand_1 = require("./commands/AssociateRout
|
|
|
11
11
|
const AssociateSecurityKeyCommand_1 = require("./commands/AssociateSecurityKeyCommand");
|
|
12
12
|
const CreateAgentStatusCommand_1 = require("./commands/CreateAgentStatusCommand");
|
|
13
13
|
const CreateContactFlowCommand_1 = require("./commands/CreateContactFlowCommand");
|
|
14
|
+
const CreateContactFlowModuleCommand_1 = require("./commands/CreateContactFlowModuleCommand");
|
|
14
15
|
const CreateHoursOfOperationCommand_1 = require("./commands/CreateHoursOfOperationCommand");
|
|
15
16
|
const CreateInstanceCommand_1 = require("./commands/CreateInstanceCommand");
|
|
16
17
|
const CreateIntegrationAssociationCommand_1 = require("./commands/CreateIntegrationAssociationCommand");
|
|
@@ -21,6 +22,8 @@ const CreateSecurityProfileCommand_1 = require("./commands/CreateSecurityProfile
|
|
|
21
22
|
const CreateUseCaseCommand_1 = require("./commands/CreateUseCaseCommand");
|
|
22
23
|
const CreateUserCommand_1 = require("./commands/CreateUserCommand");
|
|
23
24
|
const CreateUserHierarchyGroupCommand_1 = require("./commands/CreateUserHierarchyGroupCommand");
|
|
25
|
+
const DeleteContactFlowCommand_1 = require("./commands/DeleteContactFlowCommand");
|
|
26
|
+
const DeleteContactFlowModuleCommand_1 = require("./commands/DeleteContactFlowModuleCommand");
|
|
24
27
|
const DeleteHoursOfOperationCommand_1 = require("./commands/DeleteHoursOfOperationCommand");
|
|
25
28
|
const DeleteInstanceCommand_1 = require("./commands/DeleteInstanceCommand");
|
|
26
29
|
const DeleteIntegrationAssociationCommand_1 = require("./commands/DeleteIntegrationAssociationCommand");
|
|
@@ -32,6 +35,7 @@ const DeleteUserHierarchyGroupCommand_1 = require("./commands/DeleteUserHierarch
|
|
|
32
35
|
const DescribeAgentStatusCommand_1 = require("./commands/DescribeAgentStatusCommand");
|
|
33
36
|
const DescribeContactCommand_1 = require("./commands/DescribeContactCommand");
|
|
34
37
|
const DescribeContactFlowCommand_1 = require("./commands/DescribeContactFlowCommand");
|
|
38
|
+
const DescribeContactFlowModuleCommand_1 = require("./commands/DescribeContactFlowModuleCommand");
|
|
35
39
|
const DescribeHoursOfOperationCommand_1 = require("./commands/DescribeHoursOfOperationCommand");
|
|
36
40
|
const DescribeInstanceAttributeCommand_1 = require("./commands/DescribeInstanceAttributeCommand");
|
|
37
41
|
const DescribeInstanceCommand_1 = require("./commands/DescribeInstanceCommand");
|
|
@@ -58,6 +62,7 @@ const GetMetricDataCommand_1 = require("./commands/GetMetricDataCommand");
|
|
|
58
62
|
const ListAgentStatusesCommand_1 = require("./commands/ListAgentStatusesCommand");
|
|
59
63
|
const ListApprovedOriginsCommand_1 = require("./commands/ListApprovedOriginsCommand");
|
|
60
64
|
const ListBotsCommand_1 = require("./commands/ListBotsCommand");
|
|
65
|
+
const ListContactFlowModulesCommand_1 = require("./commands/ListContactFlowModulesCommand");
|
|
61
66
|
const ListContactFlowsCommand_1 = require("./commands/ListContactFlowsCommand");
|
|
62
67
|
const ListContactReferencesCommand_1 = require("./commands/ListContactReferencesCommand");
|
|
63
68
|
const ListHoursOfOperationsCommand_1 = require("./commands/ListHoursOfOperationsCommand");
|
|
@@ -97,6 +102,9 @@ const UpdateAgentStatusCommand_1 = require("./commands/UpdateAgentStatusCommand"
|
|
|
97
102
|
const UpdateContactAttributesCommand_1 = require("./commands/UpdateContactAttributesCommand");
|
|
98
103
|
const UpdateContactCommand_1 = require("./commands/UpdateContactCommand");
|
|
99
104
|
const UpdateContactFlowContentCommand_1 = require("./commands/UpdateContactFlowContentCommand");
|
|
105
|
+
const UpdateContactFlowMetadataCommand_1 = require("./commands/UpdateContactFlowMetadataCommand");
|
|
106
|
+
const UpdateContactFlowModuleContentCommand_1 = require("./commands/UpdateContactFlowModuleContentCommand");
|
|
107
|
+
const UpdateContactFlowModuleMetadataCommand_1 = require("./commands/UpdateContactFlowModuleMetadataCommand");
|
|
100
108
|
const UpdateContactFlowNameCommand_1 = require("./commands/UpdateContactFlowNameCommand");
|
|
101
109
|
const UpdateContactScheduleCommand_1 = require("./commands/UpdateContactScheduleCommand");
|
|
102
110
|
const UpdateHoursOfOperationCommand_1 = require("./commands/UpdateHoursOfOperationCommand");
|
|
@@ -263,6 +271,20 @@ class Connect extends ConnectClient_1.ConnectClient {
|
|
|
263
271
|
return this.send(command, optionsOrCb);
|
|
264
272
|
}
|
|
265
273
|
}
|
|
274
|
+
createContactFlowModule(args, optionsOrCb, cb) {
|
|
275
|
+
const command = new CreateContactFlowModuleCommand_1.CreateContactFlowModuleCommand(args);
|
|
276
|
+
if (typeof optionsOrCb === "function") {
|
|
277
|
+
this.send(command, optionsOrCb);
|
|
278
|
+
}
|
|
279
|
+
else if (typeof cb === "function") {
|
|
280
|
+
if (typeof optionsOrCb !== "object")
|
|
281
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
282
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
283
|
+
}
|
|
284
|
+
else {
|
|
285
|
+
return this.send(command, optionsOrCb);
|
|
286
|
+
}
|
|
287
|
+
}
|
|
266
288
|
createHoursOfOperation(args, optionsOrCb, cb) {
|
|
267
289
|
const command = new CreateHoursOfOperationCommand_1.CreateHoursOfOperationCommand(args);
|
|
268
290
|
if (typeof optionsOrCb === "function") {
|
|
@@ -403,6 +425,34 @@ class Connect extends ConnectClient_1.ConnectClient {
|
|
|
403
425
|
return this.send(command, optionsOrCb);
|
|
404
426
|
}
|
|
405
427
|
}
|
|
428
|
+
deleteContactFlow(args, optionsOrCb, cb) {
|
|
429
|
+
const command = new DeleteContactFlowCommand_1.DeleteContactFlowCommand(args);
|
|
430
|
+
if (typeof optionsOrCb === "function") {
|
|
431
|
+
this.send(command, optionsOrCb);
|
|
432
|
+
}
|
|
433
|
+
else if (typeof cb === "function") {
|
|
434
|
+
if (typeof optionsOrCb !== "object")
|
|
435
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
436
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
437
|
+
}
|
|
438
|
+
else {
|
|
439
|
+
return this.send(command, optionsOrCb);
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
deleteContactFlowModule(args, optionsOrCb, cb) {
|
|
443
|
+
const command = new DeleteContactFlowModuleCommand_1.DeleteContactFlowModuleCommand(args);
|
|
444
|
+
if (typeof optionsOrCb === "function") {
|
|
445
|
+
this.send(command, optionsOrCb);
|
|
446
|
+
}
|
|
447
|
+
else if (typeof cb === "function") {
|
|
448
|
+
if (typeof optionsOrCb !== "object")
|
|
449
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
450
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
451
|
+
}
|
|
452
|
+
else {
|
|
453
|
+
return this.send(command, optionsOrCb);
|
|
454
|
+
}
|
|
455
|
+
}
|
|
406
456
|
deleteHoursOfOperation(args, optionsOrCb, cb) {
|
|
407
457
|
const command = new DeleteHoursOfOperationCommand_1.DeleteHoursOfOperationCommand(args);
|
|
408
458
|
if (typeof optionsOrCb === "function") {
|
|
@@ -557,6 +607,20 @@ class Connect extends ConnectClient_1.ConnectClient {
|
|
|
557
607
|
return this.send(command, optionsOrCb);
|
|
558
608
|
}
|
|
559
609
|
}
|
|
610
|
+
describeContactFlowModule(args, optionsOrCb, cb) {
|
|
611
|
+
const command = new DescribeContactFlowModuleCommand_1.DescribeContactFlowModuleCommand(args);
|
|
612
|
+
if (typeof optionsOrCb === "function") {
|
|
613
|
+
this.send(command, optionsOrCb);
|
|
614
|
+
}
|
|
615
|
+
else if (typeof cb === "function") {
|
|
616
|
+
if (typeof optionsOrCb !== "object")
|
|
617
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
618
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
619
|
+
}
|
|
620
|
+
else {
|
|
621
|
+
return this.send(command, optionsOrCb);
|
|
622
|
+
}
|
|
623
|
+
}
|
|
560
624
|
describeHoursOfOperation(args, optionsOrCb, cb) {
|
|
561
625
|
const command = new DescribeHoursOfOperationCommand_1.DescribeHoursOfOperationCommand(args);
|
|
562
626
|
if (typeof optionsOrCb === "function") {
|
|
@@ -921,6 +985,20 @@ class Connect extends ConnectClient_1.ConnectClient {
|
|
|
921
985
|
return this.send(command, optionsOrCb);
|
|
922
986
|
}
|
|
923
987
|
}
|
|
988
|
+
listContactFlowModules(args, optionsOrCb, cb) {
|
|
989
|
+
const command = new ListContactFlowModulesCommand_1.ListContactFlowModulesCommand(args);
|
|
990
|
+
if (typeof optionsOrCb === "function") {
|
|
991
|
+
this.send(command, optionsOrCb);
|
|
992
|
+
}
|
|
993
|
+
else if (typeof cb === "function") {
|
|
994
|
+
if (typeof optionsOrCb !== "object")
|
|
995
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
996
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
997
|
+
}
|
|
998
|
+
else {
|
|
999
|
+
return this.send(command, optionsOrCb);
|
|
1000
|
+
}
|
|
1001
|
+
}
|
|
924
1002
|
listContactFlows(args, optionsOrCb, cb) {
|
|
925
1003
|
const command = new ListContactFlowsCommand_1.ListContactFlowsCommand(args);
|
|
926
1004
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1467,6 +1545,48 @@ class Connect extends ConnectClient_1.ConnectClient {
|
|
|
1467
1545
|
return this.send(command, optionsOrCb);
|
|
1468
1546
|
}
|
|
1469
1547
|
}
|
|
1548
|
+
updateContactFlowMetadata(args, optionsOrCb, cb) {
|
|
1549
|
+
const command = new UpdateContactFlowMetadataCommand_1.UpdateContactFlowMetadataCommand(args);
|
|
1550
|
+
if (typeof optionsOrCb === "function") {
|
|
1551
|
+
this.send(command, optionsOrCb);
|
|
1552
|
+
}
|
|
1553
|
+
else if (typeof cb === "function") {
|
|
1554
|
+
if (typeof optionsOrCb !== "object")
|
|
1555
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1556
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1557
|
+
}
|
|
1558
|
+
else {
|
|
1559
|
+
return this.send(command, optionsOrCb);
|
|
1560
|
+
}
|
|
1561
|
+
}
|
|
1562
|
+
updateContactFlowModuleContent(args, optionsOrCb, cb) {
|
|
1563
|
+
const command = new UpdateContactFlowModuleContentCommand_1.UpdateContactFlowModuleContentCommand(args);
|
|
1564
|
+
if (typeof optionsOrCb === "function") {
|
|
1565
|
+
this.send(command, optionsOrCb);
|
|
1566
|
+
}
|
|
1567
|
+
else if (typeof cb === "function") {
|
|
1568
|
+
if (typeof optionsOrCb !== "object")
|
|
1569
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1570
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1571
|
+
}
|
|
1572
|
+
else {
|
|
1573
|
+
return this.send(command, optionsOrCb);
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
updateContactFlowModuleMetadata(args, optionsOrCb, cb) {
|
|
1577
|
+
const command = new UpdateContactFlowModuleMetadataCommand_1.UpdateContactFlowModuleMetadataCommand(args);
|
|
1578
|
+
if (typeof optionsOrCb === "function") {
|
|
1579
|
+
this.send(command, optionsOrCb);
|
|
1580
|
+
}
|
|
1581
|
+
else if (typeof cb === "function") {
|
|
1582
|
+
if (typeof optionsOrCb !== "object")
|
|
1583
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1584
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1585
|
+
}
|
|
1586
|
+
else {
|
|
1587
|
+
return this.send(command, optionsOrCb);
|
|
1588
|
+
}
|
|
1589
|
+
}
|
|
1470
1590
|
updateContactFlowName(args, optionsOrCb, cb) {
|
|
1471
1591
|
const command = new UpdateContactFlowNameCommand_1.UpdateContactFlowNameCommand(args);
|
|
1472
1592
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateContactFlowModuleCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class CreateContactFlowModuleCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ConnectClient";
|
|
18
|
+
const commandName = "CreateContactFlowModuleCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateContactFlowModuleRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateContactFlowModuleResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1CreateContactFlowModuleCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1CreateContactFlowModuleCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateContactFlowModuleCommand = CreateContactFlowModuleCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteContactFlowCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DeleteContactFlowCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ConnectClient";
|
|
18
|
+
const commandName = "DeleteContactFlowCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteContactFlowRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: (output) => output,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1DeleteContactFlowCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1DeleteContactFlowCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DeleteContactFlowCommand = DeleteContactFlowCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteContactFlowModuleCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DeleteContactFlowModuleCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ConnectClient";
|
|
18
|
+
const commandName = "DeleteContactFlowModuleCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteContactFlowModuleRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DeleteContactFlowModuleResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1DeleteContactFlowModuleCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1DeleteContactFlowModuleCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DeleteContactFlowModuleCommand = DeleteContactFlowModuleCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeContactFlowModuleCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DescribeContactFlowModuleCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ConnectClient";
|
|
18
|
+
const commandName = "DescribeContactFlowModuleCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DescribeContactFlowModuleRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DescribeContactFlowModuleResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1DescribeContactFlowModuleCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1DescribeContactFlowModuleCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DescribeContactFlowModuleCommand = DescribeContactFlowModuleCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListContactFlowModulesCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListContactFlowModulesCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ConnectClient";
|
|
18
|
+
const commandName = "ListContactFlowModulesCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListContactFlowModulesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListContactFlowModulesResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1ListContactFlowModulesCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1ListContactFlowModulesCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListContactFlowModulesCommand = ListContactFlowModulesCommand;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.TagResourceCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
class TagResourceCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,7 +20,7 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.TagResourceRequest.filterSensitiveLog,
|
|
24
24
|
outputFilterSensitiveLog: (output) => output,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UntagResourceCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
class UntagResourceCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,7 +20,7 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.UntagResourceRequest.filterSensitiveLog,
|
|
24
24
|
outputFilterSensitiveLog: (output) => output,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpdateAgentStatusCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
class UpdateAgentStatusCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,7 +20,7 @@ class UpdateAgentStatusCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.UpdateAgentStatusRequest.filterSensitiveLog,
|
|
24
24
|
outputFilterSensitiveLog: (output) => output,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpdateContactAttributesCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
class UpdateContactAttributesCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class UpdateContactAttributesCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.UpdateContactAttributesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.UpdateContactAttributesResponse.filterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpdateContactCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
class UpdateContactCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class UpdateContactCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.UpdateContactRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.UpdateContactResponse.filterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpdateContactFlowContentCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
class UpdateContactFlowContentCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,7 +20,7 @@ class UpdateContactFlowContentCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.UpdateContactFlowContentRequest.filterSensitiveLog,
|
|
24
24
|
outputFilterSensitiveLog: (output) => output,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateContactFlowMetadataCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class UpdateContactFlowMetadataCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ConnectClient";
|
|
18
|
+
const commandName = "UpdateContactFlowMetadataCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.UpdateContactFlowMetadataRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: (output) => output,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1UpdateContactFlowMetadataCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1UpdateContactFlowMetadataCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UpdateContactFlowMetadataCommand = UpdateContactFlowMetadataCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateContactFlowModuleContentCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class UpdateContactFlowModuleContentCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ConnectClient";
|
|
18
|
+
const commandName = "UpdateContactFlowModuleContentCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.UpdateContactFlowModuleContentRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.UpdateContactFlowModuleContentResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1UpdateContactFlowModuleContentCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1UpdateContactFlowModuleContentCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UpdateContactFlowModuleContentCommand = UpdateContactFlowModuleContentCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateContactFlowModuleMetadataCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class UpdateContactFlowModuleMetadataCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ConnectClient";
|
|
18
|
+
const commandName = "UpdateContactFlowModuleMetadataCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.UpdateContactFlowModuleMetadataRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.UpdateContactFlowModuleMetadataResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1UpdateContactFlowModuleMetadataCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1UpdateContactFlowModuleMetadataCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UpdateContactFlowModuleMetadataCommand = UpdateContactFlowModuleMetadataCommand;
|