@aws-sdk/client-connect 3.100.0 → 3.104.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/dist-cjs/Connect.js +90 -0
- package/dist-cjs/commands/CreateTaskTemplateCommand.js +36 -0
- package/dist-cjs/commands/DeleteTaskTemplateCommand.js +36 -0
- package/dist-cjs/commands/GetTaskTemplateCommand.js +36 -0
- package/dist-cjs/commands/ListSecurityKeysCommand.js +3 -3
- package/dist-cjs/commands/ListSecurityProfilePermissionsCommand.js +3 -3
- package/dist-cjs/commands/ListSecurityProfilesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListTaskTemplatesCommand.js +36 -0
- package/dist-cjs/commands/ListUseCasesCommand.js +3 -3
- package/dist-cjs/commands/ListUserHierarchyGroupsCommand.js +3 -3
- package/dist-cjs/commands/ListUsersCommand.js +3 -3
- package/dist-cjs/commands/PutUserStatusCommand.js +3 -3
- package/dist-cjs/commands/ReleasePhoneNumberCommand.js +2 -2
- package/dist-cjs/commands/ResumeContactRecordingCommand.js +3 -3
- package/dist-cjs/commands/TransferContactCommand.js +36 -0
- package/dist-cjs/commands/UpdateTaskTemplateCommand.js +36 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/models/models_0.js +183 -143
- package/dist-cjs/models/models_1.js +183 -2
- package/dist-cjs/pagination/ListTaskTemplatesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1044 -38
- package/dist-es/Connect.js +90 -0
- package/dist-es/commands/CreateTaskTemplateCommand.js +39 -0
- package/dist-es/commands/DeleteTaskTemplateCommand.js +39 -0
- package/dist-es/commands/GetTaskTemplateCommand.js +39 -0
- package/dist-es/commands/ListSecurityKeysCommand.js +1 -1
- package/dist-es/commands/ListSecurityProfilePermissionsCommand.js +1 -1
- package/dist-es/commands/ListSecurityProfilesCommand.js +1 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -1
- package/dist-es/commands/ListTaskTemplatesCommand.js +39 -0
- package/dist-es/commands/ListUseCasesCommand.js +1 -1
- package/dist-es/commands/ListUserHierarchyGroupsCommand.js +1 -1
- package/dist-es/commands/ListUsersCommand.js +1 -1
- package/dist-es/commands/PutUserStatusCommand.js +1 -1
- package/dist-es/commands/ReleasePhoneNumberCommand.js +1 -1
- package/dist-es/commands/ResumeContactRecordingCommand.js +1 -1
- package/dist-es/commands/TransferContactCommand.js +39 -0
- package/dist-es/commands/UpdateTaskTemplateCommand.js +39 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +139 -92
- package/dist-es/models/models_1.js +120 -0
- package/dist-es/pagination/ListTaskTemplatesPaginator.js +75 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +1175 -54
- package/dist-types/Connect.d.ts +97 -22
- package/dist-types/ConnectClient.d.ts +8 -2
- package/dist-types/commands/AssociateDefaultVocabularyCommand.d.ts +2 -1
- package/dist-types/commands/CreateTaskTemplateCommand.d.ts +35 -0
- package/dist-types/commands/DeleteTaskTemplateCommand.d.ts +35 -0
- package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +2 -1
- package/dist-types/commands/GetTaskTemplateCommand.d.ts +35 -0
- package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +1 -1
- package/dist-types/commands/ListSecurityKeysCommand.d.ts +1 -1
- package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +1 -1
- package/dist-types/commands/ListSecurityProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTaskTemplatesCommand.d.ts +35 -0
- package/dist-types/commands/ListUseCasesCommand.d.ts +1 -1
- package/dist-types/commands/ListUserHierarchyGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListUsersCommand.d.ts +1 -1
- package/dist-types/commands/PutUserStatusCommand.d.ts +5 -6
- package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +1 -1
- package/dist-types/commands/ResumeContactRecordingCommand.d.ts +1 -1
- package/dist-types/commands/SearchVocabulariesCommand.d.ts +2 -1
- package/dist-types/commands/StartChatContactCommand.d.ts +3 -3
- package/dist-types/commands/StartContactRecordingCommand.d.ts +9 -7
- package/dist-types/commands/StopContactCommand.d.ts +3 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/TransferContactCommand.d.ts +58 -0
- package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +2 -1
- package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +573 -470
- package/dist-types/models/models_1.d.ts +719 -26
- package/dist-types/pagination/ListTaskTemplatesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/Connect.d.ts +30 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +8 -2
- package/dist-types/ts3.4/commands/CreateTaskTemplateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteTaskTemplateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetTaskTemplateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListSecurityKeysCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSecurityProfilePermissionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSecurityProfilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTaskTemplatesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListUseCasesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUserHierarchyGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutUserStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ReleasePhoneNumberCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResumeContactRecordingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TransferContactCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateTaskTemplateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +333 -254
- package/dist-types/ts3.4/models/models_1.d.ts +388 -2
- package/dist-types/ts3.4/pagination/ListTaskTemplatesPaginator.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 +18 -0
- package/package.json +1 -1
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.104.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.103.0...v3.104.0) (2022-06-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-connect:** This release adds the following features: 1) New APIs to manage (create, list, update) task template resources, 2) Updates to startTaskContact API to support task templates, and 3) new TransferContact API to programmatically transfer in-progress tasks via a contact flow. ([e10c8ed](https://github.com/aws/aws-sdk-js-v3/commit/e10c8edbdff1c5c94d95951ed3bd175123f0bd0d))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-connect
|
package/dist-cjs/Connect.js
CHANGED
|
@@ -22,6 +22,7 @@ const CreateQueueCommand_1 = require("./commands/CreateQueueCommand");
|
|
|
22
22
|
const CreateQuickConnectCommand_1 = require("./commands/CreateQuickConnectCommand");
|
|
23
23
|
const CreateRoutingProfileCommand_1 = require("./commands/CreateRoutingProfileCommand");
|
|
24
24
|
const CreateSecurityProfileCommand_1 = require("./commands/CreateSecurityProfileCommand");
|
|
25
|
+
const CreateTaskTemplateCommand_1 = require("./commands/CreateTaskTemplateCommand");
|
|
25
26
|
const CreateUseCaseCommand_1 = require("./commands/CreateUseCaseCommand");
|
|
26
27
|
const CreateUserCommand_1 = require("./commands/CreateUserCommand");
|
|
27
28
|
const CreateUserHierarchyGroupCommand_1 = require("./commands/CreateUserHierarchyGroupCommand");
|
|
@@ -33,6 +34,7 @@ const DeleteInstanceCommand_1 = require("./commands/DeleteInstanceCommand");
|
|
|
33
34
|
const DeleteIntegrationAssociationCommand_1 = require("./commands/DeleteIntegrationAssociationCommand");
|
|
34
35
|
const DeleteQuickConnectCommand_1 = require("./commands/DeleteQuickConnectCommand");
|
|
35
36
|
const DeleteSecurityProfileCommand_1 = require("./commands/DeleteSecurityProfileCommand");
|
|
37
|
+
const DeleteTaskTemplateCommand_1 = require("./commands/DeleteTaskTemplateCommand");
|
|
36
38
|
const DeleteUseCaseCommand_1 = require("./commands/DeleteUseCaseCommand");
|
|
37
39
|
const DeleteUserCommand_1 = require("./commands/DeleteUserCommand");
|
|
38
40
|
const DeleteUserHierarchyGroupCommand_1 = require("./commands/DeleteUserHierarchyGroupCommand");
|
|
@@ -67,6 +69,7 @@ const GetContactAttributesCommand_1 = require("./commands/GetContactAttributesCo
|
|
|
67
69
|
const GetCurrentMetricDataCommand_1 = require("./commands/GetCurrentMetricDataCommand");
|
|
68
70
|
const GetFederationTokenCommand_1 = require("./commands/GetFederationTokenCommand");
|
|
69
71
|
const GetMetricDataCommand_1 = require("./commands/GetMetricDataCommand");
|
|
72
|
+
const GetTaskTemplateCommand_1 = require("./commands/GetTaskTemplateCommand");
|
|
70
73
|
const ListAgentStatusesCommand_1 = require("./commands/ListAgentStatusesCommand");
|
|
71
74
|
const ListApprovedOriginsCommand_1 = require("./commands/ListApprovedOriginsCommand");
|
|
72
75
|
const ListBotsCommand_1 = require("./commands/ListBotsCommand");
|
|
@@ -93,6 +96,7 @@ const ListSecurityKeysCommand_1 = require("./commands/ListSecurityKeysCommand");
|
|
|
93
96
|
const ListSecurityProfilePermissionsCommand_1 = require("./commands/ListSecurityProfilePermissionsCommand");
|
|
94
97
|
const ListSecurityProfilesCommand_1 = require("./commands/ListSecurityProfilesCommand");
|
|
95
98
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
99
|
+
const ListTaskTemplatesCommand_1 = require("./commands/ListTaskTemplatesCommand");
|
|
96
100
|
const ListUseCasesCommand_1 = require("./commands/ListUseCasesCommand");
|
|
97
101
|
const ListUserHierarchyGroupsCommand_1 = require("./commands/ListUserHierarchyGroupsCommand");
|
|
98
102
|
const ListUsersCommand_1 = require("./commands/ListUsersCommand");
|
|
@@ -112,6 +116,7 @@ const StopContactRecordingCommand_1 = require("./commands/StopContactRecordingCo
|
|
|
112
116
|
const StopContactStreamingCommand_1 = require("./commands/StopContactStreamingCommand");
|
|
113
117
|
const SuspendContactRecordingCommand_1 = require("./commands/SuspendContactRecordingCommand");
|
|
114
118
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
119
|
+
const TransferContactCommand_1 = require("./commands/TransferContactCommand");
|
|
115
120
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
116
121
|
const UpdateAgentStatusCommand_1 = require("./commands/UpdateAgentStatusCommand");
|
|
117
122
|
const UpdateContactAttributesCommand_1 = require("./commands/UpdateContactAttributesCommand");
|
|
@@ -138,6 +143,7 @@ const UpdateRoutingProfileDefaultOutboundQueueCommand_1 = require("./commands/Up
|
|
|
138
143
|
const UpdateRoutingProfileNameCommand_1 = require("./commands/UpdateRoutingProfileNameCommand");
|
|
139
144
|
const UpdateRoutingProfileQueuesCommand_1 = require("./commands/UpdateRoutingProfileQueuesCommand");
|
|
140
145
|
const UpdateSecurityProfileCommand_1 = require("./commands/UpdateSecurityProfileCommand");
|
|
146
|
+
const UpdateTaskTemplateCommand_1 = require("./commands/UpdateTaskTemplateCommand");
|
|
141
147
|
const UpdateUserHierarchyCommand_1 = require("./commands/UpdateUserHierarchyCommand");
|
|
142
148
|
const UpdateUserHierarchyGroupNameCommand_1 = require("./commands/UpdateUserHierarchyGroupNameCommand");
|
|
143
149
|
const UpdateUserHierarchyStructureCommand_1 = require("./commands/UpdateUserHierarchyStructureCommand");
|
|
@@ -441,6 +447,20 @@ class Connect extends ConnectClient_1.ConnectClient {
|
|
|
441
447
|
return this.send(command, optionsOrCb);
|
|
442
448
|
}
|
|
443
449
|
}
|
|
450
|
+
createTaskTemplate(args, optionsOrCb, cb) {
|
|
451
|
+
const command = new CreateTaskTemplateCommand_1.CreateTaskTemplateCommand(args);
|
|
452
|
+
if (typeof optionsOrCb === "function") {
|
|
453
|
+
this.send(command, optionsOrCb);
|
|
454
|
+
}
|
|
455
|
+
else if (typeof cb === "function") {
|
|
456
|
+
if (typeof optionsOrCb !== "object")
|
|
457
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
458
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
459
|
+
}
|
|
460
|
+
else {
|
|
461
|
+
return this.send(command, optionsOrCb);
|
|
462
|
+
}
|
|
463
|
+
}
|
|
444
464
|
createUseCase(args, optionsOrCb, cb) {
|
|
445
465
|
const command = new CreateUseCaseCommand_1.CreateUseCaseCommand(args);
|
|
446
466
|
if (typeof optionsOrCb === "function") {
|
|
@@ -595,6 +615,20 @@ class Connect extends ConnectClient_1.ConnectClient {
|
|
|
595
615
|
return this.send(command, optionsOrCb);
|
|
596
616
|
}
|
|
597
617
|
}
|
|
618
|
+
deleteTaskTemplate(args, optionsOrCb, cb) {
|
|
619
|
+
const command = new DeleteTaskTemplateCommand_1.DeleteTaskTemplateCommand(args);
|
|
620
|
+
if (typeof optionsOrCb === "function") {
|
|
621
|
+
this.send(command, optionsOrCb);
|
|
622
|
+
}
|
|
623
|
+
else if (typeof cb === "function") {
|
|
624
|
+
if (typeof optionsOrCb !== "object")
|
|
625
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
626
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
627
|
+
}
|
|
628
|
+
else {
|
|
629
|
+
return this.send(command, optionsOrCb);
|
|
630
|
+
}
|
|
631
|
+
}
|
|
598
632
|
deleteUseCase(args, optionsOrCb, cb) {
|
|
599
633
|
const command = new DeleteUseCaseCommand_1.DeleteUseCaseCommand(args);
|
|
600
634
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1071,6 +1105,20 @@ class Connect extends ConnectClient_1.ConnectClient {
|
|
|
1071
1105
|
return this.send(command, optionsOrCb);
|
|
1072
1106
|
}
|
|
1073
1107
|
}
|
|
1108
|
+
getTaskTemplate(args, optionsOrCb, cb) {
|
|
1109
|
+
const command = new GetTaskTemplateCommand_1.GetTaskTemplateCommand(args);
|
|
1110
|
+
if (typeof optionsOrCb === "function") {
|
|
1111
|
+
this.send(command, optionsOrCb);
|
|
1112
|
+
}
|
|
1113
|
+
else if (typeof cb === "function") {
|
|
1114
|
+
if (typeof optionsOrCb !== "object")
|
|
1115
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1116
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1117
|
+
}
|
|
1118
|
+
else {
|
|
1119
|
+
return this.send(command, optionsOrCb);
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1074
1122
|
listAgentStatuses(args, optionsOrCb, cb) {
|
|
1075
1123
|
const command = new ListAgentStatusesCommand_1.ListAgentStatusesCommand(args);
|
|
1076
1124
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1435,6 +1483,20 @@ class Connect extends ConnectClient_1.ConnectClient {
|
|
|
1435
1483
|
return this.send(command, optionsOrCb);
|
|
1436
1484
|
}
|
|
1437
1485
|
}
|
|
1486
|
+
listTaskTemplates(args, optionsOrCb, cb) {
|
|
1487
|
+
const command = new ListTaskTemplatesCommand_1.ListTaskTemplatesCommand(args);
|
|
1488
|
+
if (typeof optionsOrCb === "function") {
|
|
1489
|
+
this.send(command, optionsOrCb);
|
|
1490
|
+
}
|
|
1491
|
+
else if (typeof cb === "function") {
|
|
1492
|
+
if (typeof optionsOrCb !== "object")
|
|
1493
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1494
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1495
|
+
}
|
|
1496
|
+
else {
|
|
1497
|
+
return this.send(command, optionsOrCb);
|
|
1498
|
+
}
|
|
1499
|
+
}
|
|
1438
1500
|
listUseCases(args, optionsOrCb, cb) {
|
|
1439
1501
|
const command = new ListUseCasesCommand_1.ListUseCasesCommand(args);
|
|
1440
1502
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1701,6 +1763,20 @@ class Connect extends ConnectClient_1.ConnectClient {
|
|
|
1701
1763
|
return this.send(command, optionsOrCb);
|
|
1702
1764
|
}
|
|
1703
1765
|
}
|
|
1766
|
+
transferContact(args, optionsOrCb, cb) {
|
|
1767
|
+
const command = new TransferContactCommand_1.TransferContactCommand(args);
|
|
1768
|
+
if (typeof optionsOrCb === "function") {
|
|
1769
|
+
this.send(command, optionsOrCb);
|
|
1770
|
+
}
|
|
1771
|
+
else if (typeof cb === "function") {
|
|
1772
|
+
if (typeof optionsOrCb !== "object")
|
|
1773
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1774
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1775
|
+
}
|
|
1776
|
+
else {
|
|
1777
|
+
return this.send(command, optionsOrCb);
|
|
1778
|
+
}
|
|
1779
|
+
}
|
|
1704
1780
|
untagResource(args, optionsOrCb, cb) {
|
|
1705
1781
|
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
1706
1782
|
if (typeof optionsOrCb === "function") {
|
|
@@ -2065,6 +2141,20 @@ class Connect extends ConnectClient_1.ConnectClient {
|
|
|
2065
2141
|
return this.send(command, optionsOrCb);
|
|
2066
2142
|
}
|
|
2067
2143
|
}
|
|
2144
|
+
updateTaskTemplate(args, optionsOrCb, cb) {
|
|
2145
|
+
const command = new UpdateTaskTemplateCommand_1.UpdateTaskTemplateCommand(args);
|
|
2146
|
+
if (typeof optionsOrCb === "function") {
|
|
2147
|
+
this.send(command, optionsOrCb);
|
|
2148
|
+
}
|
|
2149
|
+
else if (typeof cb === "function") {
|
|
2150
|
+
if (typeof optionsOrCb !== "object")
|
|
2151
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2152
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
2153
|
+
}
|
|
2154
|
+
else {
|
|
2155
|
+
return this.send(command, optionsOrCb);
|
|
2156
|
+
}
|
|
2157
|
+
}
|
|
2068
2158
|
updateUserHierarchy(args, optionsOrCb, cb) {
|
|
2069
2159
|
const command = new UpdateUserHierarchyCommand_1.UpdateUserHierarchyCommand(args);
|
|
2070
2160
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateTaskTemplateCommand = 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 CreateTaskTemplateCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, 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 = "CreateTaskTemplateCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateTaskTemplateRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateTaskTemplateResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1CreateTaskTemplateCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1CreateTaskTemplateCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateTaskTemplateCommand = CreateTaskTemplateCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteTaskTemplateCommand = 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 DeleteTaskTemplateCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, 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 = "DeleteTaskTemplateCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteTaskTemplateRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DeleteTaskTemplateResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DeleteTaskTemplateCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteTaskTemplateCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DeleteTaskTemplateCommand = DeleteTaskTemplateCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetTaskTemplateCommand = 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 GetTaskTemplateCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, 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 = "GetTaskTemplateCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetTaskTemplateRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetTaskTemplateResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetTaskTemplateCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetTaskTemplateCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetTaskTemplateCommand = GetTaskTemplateCommand;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ListSecurityKeysCommand = 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 ListSecurityKeysCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class ListSecurityKeysCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.ListSecurityKeysRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.ListSecurityKeysResponse.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.ListSecurityProfilePermissionsCommand = 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 ListSecurityProfilePermissionsCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class ListSecurityProfilePermissionsCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.ListSecurityProfilePermissionsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.ListSecurityProfilePermissionsResponse.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.ListSecurityProfilesCommand = 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 ListSecurityProfilesCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class ListSecurityProfilesCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.ListSecurityProfilesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.ListSecurityProfilesResponse.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.ListTagsForResourceCommand = 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 ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.ListTagsForResourceRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.ListTagsForResourceResponse.filterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListTaskTemplatesCommand = 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 ListTaskTemplatesCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, 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 = "ListTaskTemplatesCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.ListTaskTemplatesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.ListTaskTemplatesResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListTaskTemplatesCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListTaskTemplatesCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListTaskTemplatesCommand = ListTaskTemplatesCommand;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ListUseCasesCommand = 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 ListUseCasesCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class ListUseCasesCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.ListUseCasesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.ListUseCasesResponse.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.ListUserHierarchyGroupsCommand = 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 ListUserHierarchyGroupsCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class ListUserHierarchyGroupsCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.ListUserHierarchyGroupsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.ListUserHierarchyGroupsResponse.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.ListUsersCommand = 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 ListUsersCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class ListUsersCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.ListUsersRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.ListUsersResponse.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.PutUserStatusCommand = 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 PutUserStatusCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class PutUserStatusCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.PutUserStatusRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.PutUserStatusResponse.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.ReleasePhoneNumberCommand = 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 ReleasePhoneNumberCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,7 +20,7 @@ class ReleasePhoneNumberCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.ReleasePhoneNumberRequest.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.ResumeContactRecordingCommand = 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 ResumeContactRecordingCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class ResumeContactRecordingCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.ResumeContactRecordingRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.ResumeContactRecordingResponse.filterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TransferContactCommand = 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 TransferContactCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, 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 = "TransferContactCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.TransferContactRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.TransferContactResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1TransferContactCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1TransferContactCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.TransferContactCommand = TransferContactCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateTaskTemplateCommand = 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 UpdateTaskTemplateCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, 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 = "UpdateTaskTemplateCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.UpdateTaskTemplateRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.UpdateTaskTemplateResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateTaskTemplateCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateTaskTemplateCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UpdateTaskTemplateCommand = UpdateTaskTemplateCommand;
|