@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/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";
|
|
@@ -30,6 +33,7 @@ import { DeleteUserHierarchyGroupCommand, } from "./commands/DeleteUserHierarchy
|
|
|
30
33
|
import { DescribeAgentStatusCommand, } from "./commands/DescribeAgentStatusCommand";
|
|
31
34
|
import { DescribeContactCommand, } from "./commands/DescribeContactCommand";
|
|
32
35
|
import { DescribeContactFlowCommand, } from "./commands/DescribeContactFlowCommand";
|
|
36
|
+
import { DescribeContactFlowModuleCommand, } from "./commands/DescribeContactFlowModuleCommand";
|
|
33
37
|
import { DescribeHoursOfOperationCommand, } from "./commands/DescribeHoursOfOperationCommand";
|
|
34
38
|
import { DescribeInstanceAttributeCommand, } from "./commands/DescribeInstanceAttributeCommand";
|
|
35
39
|
import { DescribeInstanceCommand, } from "./commands/DescribeInstanceCommand";
|
|
@@ -56,6 +60,7 @@ import { GetMetricDataCommand, } from "./commands/GetMetricDataCommand";
|
|
|
56
60
|
import { ListAgentStatusesCommand, } from "./commands/ListAgentStatusesCommand";
|
|
57
61
|
import { ListApprovedOriginsCommand, } from "./commands/ListApprovedOriginsCommand";
|
|
58
62
|
import { ListBotsCommand } from "./commands/ListBotsCommand";
|
|
63
|
+
import { ListContactFlowModulesCommand, } from "./commands/ListContactFlowModulesCommand";
|
|
59
64
|
import { ListContactFlowsCommand, } from "./commands/ListContactFlowsCommand";
|
|
60
65
|
import { ListContactReferencesCommand, } from "./commands/ListContactReferencesCommand";
|
|
61
66
|
import { ListHoursOfOperationsCommand, } from "./commands/ListHoursOfOperationsCommand";
|
|
@@ -95,6 +100,9 @@ import { UpdateAgentStatusCommand, } from "./commands/UpdateAgentStatusCommand";
|
|
|
95
100
|
import { UpdateContactAttributesCommand, } from "./commands/UpdateContactAttributesCommand";
|
|
96
101
|
import { UpdateContactCommand, } from "./commands/UpdateContactCommand";
|
|
97
102
|
import { UpdateContactFlowContentCommand, } from "./commands/UpdateContactFlowContentCommand";
|
|
103
|
+
import { UpdateContactFlowMetadataCommand, } from "./commands/UpdateContactFlowMetadataCommand";
|
|
104
|
+
import { UpdateContactFlowModuleContentCommand, } from "./commands/UpdateContactFlowModuleContentCommand";
|
|
105
|
+
import { UpdateContactFlowModuleMetadataCommand, } from "./commands/UpdateContactFlowModuleMetadataCommand";
|
|
98
106
|
import { UpdateContactFlowNameCommand, } from "./commands/UpdateContactFlowNameCommand";
|
|
99
107
|
import { UpdateContactScheduleCommand, } from "./commands/UpdateContactScheduleCommand";
|
|
100
108
|
import { UpdateHoursOfOperationCommand, } from "./commands/UpdateHoursOfOperationCommand";
|
|
@@ -265,6 +273,20 @@ var Connect = (function (_super) {
|
|
|
265
273
|
return this.send(command, optionsOrCb);
|
|
266
274
|
}
|
|
267
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
|
+
};
|
|
268
290
|
Connect.prototype.createHoursOfOperation = function (args, optionsOrCb, cb) {
|
|
269
291
|
var command = new CreateHoursOfOperationCommand(args);
|
|
270
292
|
if (typeof optionsOrCb === "function") {
|
|
@@ -405,6 +427,34 @@ var Connect = (function (_super) {
|
|
|
405
427
|
return this.send(command, optionsOrCb);
|
|
406
428
|
}
|
|
407
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
|
+
};
|
|
408
458
|
Connect.prototype.deleteHoursOfOperation = function (args, optionsOrCb, cb) {
|
|
409
459
|
var command = new DeleteHoursOfOperationCommand(args);
|
|
410
460
|
if (typeof optionsOrCb === "function") {
|
|
@@ -559,6 +609,20 @@ var Connect = (function (_super) {
|
|
|
559
609
|
return this.send(command, optionsOrCb);
|
|
560
610
|
}
|
|
561
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
|
+
};
|
|
562
626
|
Connect.prototype.describeHoursOfOperation = function (args, optionsOrCb, cb) {
|
|
563
627
|
var command = new DescribeHoursOfOperationCommand(args);
|
|
564
628
|
if (typeof optionsOrCb === "function") {
|
|
@@ -923,6 +987,20 @@ var Connect = (function (_super) {
|
|
|
923
987
|
return this.send(command, optionsOrCb);
|
|
924
988
|
}
|
|
925
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
|
+
};
|
|
926
1004
|
Connect.prototype.listContactFlows = function (args, optionsOrCb, cb) {
|
|
927
1005
|
var command = new ListContactFlowsCommand(args);
|
|
928
1006
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1469,6 +1547,48 @@ var Connect = (function (_super) {
|
|
|
1469
1547
|
return this.send(command, optionsOrCb);
|
|
1470
1548
|
}
|
|
1471
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
|
+
};
|
|
1472
1592
|
Connect.prototype.updateContactFlowName = function (args, optionsOrCb, cb) {
|
|
1473
1593
|
var command = new UpdateContactFlowNameCommand(args);
|
|
1474
1594
|
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 { 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 };
|
|
@@ -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);
|
|
@@ -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 { UpdateContactRequest, UpdateContactResponse } from "../models/
|
|
4
|
+
import { UpdateContactRequest, UpdateContactResponse } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_restJson1UpdateContactCommand, serializeAws_restJson1UpdateContactCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var UpdateContactCommand = (function (_super) {
|
|
7
7
|
__extends(UpdateContactCommand, _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 { UpdateContactFlowContentRequest } from "../models/
|
|
4
|
+
import { UpdateContactFlowContentRequest } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_restJson1UpdateContactFlowContentCommand, serializeAws_restJson1UpdateContactFlowContentCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var UpdateContactFlowContentCommand = (function (_super) {
|
|
7
7
|
__extends(UpdateContactFlowContentCommand, _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 { UpdateContactFlowMetadataRequest } from "../models/models_1";
|
|
5
|
+
import { deserializeAws_restJson1UpdateContactFlowMetadataCommand, serializeAws_restJson1UpdateContactFlowMetadataCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var UpdateContactFlowMetadataCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateContactFlowMetadataCommand, _super);
|
|
8
|
+
function UpdateContactFlowMetadataCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateContactFlowMetadataCommand.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 = "UpdateContactFlowMetadataCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateContactFlowMetadataRequest.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
|
+
UpdateContactFlowMetadataCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1UpdateContactFlowMetadataCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateContactFlowMetadataCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1UpdateContactFlowMetadataCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateContactFlowMetadataCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateContactFlowMetadataCommand };
|
|
@@ -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 { UpdateContactFlowModuleContentRequest, UpdateContactFlowModuleContentResponse } from "../models/models_1";
|
|
5
|
+
import { deserializeAws_restJson1UpdateContactFlowModuleContentCommand, serializeAws_restJson1UpdateContactFlowModuleContentCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var UpdateContactFlowModuleContentCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateContactFlowModuleContentCommand, _super);
|
|
8
|
+
function UpdateContactFlowModuleContentCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateContactFlowModuleContentCommand.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 = "UpdateContactFlowModuleContentCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateContactFlowModuleContentRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdateContactFlowModuleContentResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateContactFlowModuleContentCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1UpdateContactFlowModuleContentCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateContactFlowModuleContentCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1UpdateContactFlowModuleContentCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateContactFlowModuleContentCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateContactFlowModuleContentCommand };
|
|
@@ -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 { UpdateContactFlowModuleMetadataRequest, UpdateContactFlowModuleMetadataResponse } from "../models/models_1";
|
|
5
|
+
import { deserializeAws_restJson1UpdateContactFlowModuleMetadataCommand, serializeAws_restJson1UpdateContactFlowModuleMetadataCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var UpdateContactFlowModuleMetadataCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateContactFlowModuleMetadataCommand, _super);
|
|
8
|
+
function UpdateContactFlowModuleMetadataCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateContactFlowModuleMetadataCommand.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 = "UpdateContactFlowModuleMetadataCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateContactFlowModuleMetadataRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdateContactFlowModuleMetadataResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateContactFlowModuleMetadataCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1UpdateContactFlowModuleMetadataCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateContactFlowModuleMetadataCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1UpdateContactFlowModuleMetadataCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateContactFlowModuleMetadataCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateContactFlowModuleMetadataCommand };
|
|
@@ -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 { UpdateContactFlowNameRequest } from "../models/
|
|
4
|
+
import { UpdateContactFlowNameRequest } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_restJson1UpdateContactFlowNameCommand, serializeAws_restJson1UpdateContactFlowNameCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var UpdateContactFlowNameCommand = (function (_super) {
|
|
7
7
|
__extends(UpdateContactFlowNameCommand, _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 { UpdateContactScheduleRequest, UpdateContactScheduleResponse } from "../models/
|
|
4
|
+
import { UpdateContactScheduleRequest, UpdateContactScheduleResponse } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_restJson1UpdateContactScheduleCommand, serializeAws_restJson1UpdateContactScheduleCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var UpdateContactScheduleCommand = (function (_super) {
|
|
7
7
|
__extends(UpdateContactScheduleCommand, _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 { UpdateHoursOfOperationRequest } from "../models/
|
|
4
|
+
import { UpdateHoursOfOperationRequest } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_restJson1UpdateHoursOfOperationCommand, serializeAws_restJson1UpdateHoursOfOperationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var UpdateHoursOfOperationCommand = (function (_super) {
|
|
7
7
|
__extends(UpdateHoursOfOperationCommand, _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 { UpdateInstanceAttributeRequest } from "../models/
|
|
4
|
+
import { UpdateInstanceAttributeRequest } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_restJson1UpdateInstanceAttributeCommand, serializeAws_restJson1UpdateInstanceAttributeCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var UpdateInstanceAttributeCommand = (function (_super) {
|
|
7
7
|
__extends(UpdateInstanceAttributeCommand, _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 { UpdateInstanceStorageConfigRequest } from "../models/
|
|
4
|
+
import { UpdateInstanceStorageConfigRequest } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_restJson1UpdateInstanceStorageConfigCommand, serializeAws_restJson1UpdateInstanceStorageConfigCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var UpdateInstanceStorageConfigCommand = (function (_super) {
|
|
7
7
|
__extends(UpdateInstanceStorageConfigCommand, _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 { UpdateQueueHoursOfOperationRequest } from "../models/
|
|
4
|
+
import { UpdateQueueHoursOfOperationRequest } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_restJson1UpdateQueueHoursOfOperationCommand, serializeAws_restJson1UpdateQueueHoursOfOperationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var UpdateQueueHoursOfOperationCommand = (function (_super) {
|
|
7
7
|
__extends(UpdateQueueHoursOfOperationCommand, _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 { UpdateQueueMaxContactsRequest } from "../models/
|
|
4
|
+
import { UpdateQueueMaxContactsRequest } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_restJson1UpdateQueueMaxContactsCommand, serializeAws_restJson1UpdateQueueMaxContactsCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var UpdateQueueMaxContactsCommand = (function (_super) {
|
|
7
7
|
__extends(UpdateQueueMaxContactsCommand, _super);
|