@aws-sdk/client-connect 3.72.0 → 3.74.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 +120 -0
- package/dist-cjs/commands/AssociatePhoneNumberContactFlowCommand.js +36 -0
- package/dist-cjs/commands/ClaimPhoneNumberCommand.js +36 -0
- package/dist-cjs/commands/DescribePhoneNumberCommand.js +36 -0
- package/dist-cjs/commands/DisassociatePhoneNumberContactFlowCommand.js +36 -0
- package/dist-cjs/commands/ListPhoneNumbersV2Command.js +36 -0
- package/dist-cjs/commands/ReleasePhoneNumberCommand.js +36 -0
- package/dist-cjs/commands/SearchAvailablePhoneNumbersCommand.js +37 -0
- package/dist-cjs/commands/SearchVocabulariesCommand.js +3 -3
- package/dist-cjs/commands/StartChatContactCommand.js +3 -3
- package/dist-cjs/commands/StartContactRecordingCommand.js +3 -3
- package/dist-cjs/commands/StartContactStreamingCommand.js +3 -3
- package/dist-cjs/commands/UpdatePhoneNumberCommand.js +36 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/models/models_0.js +795 -803
- package/dist-cjs/models/models_1.js +118 -2
- package/dist-cjs/pagination/ListPhoneNumbersV2Paginator.js +35 -0
- package/dist-cjs/pagination/SearchAvailablePhoneNumbersPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +744 -12
- package/dist-es/Connect.js +120 -0
- package/dist-es/commands/AssociatePhoneNumberContactFlowCommand.js +39 -0
- package/dist-es/commands/ClaimPhoneNumberCommand.js +39 -0
- package/dist-es/commands/DescribePhoneNumberCommand.js +39 -0
- package/dist-es/commands/DisassociatePhoneNumberContactFlowCommand.js +39 -0
- package/dist-es/commands/ListPhoneNumbersV2Command.js +39 -0
- package/dist-es/commands/ReleasePhoneNumberCommand.js +39 -0
- package/dist-es/commands/SearchAvailablePhoneNumbersCommand.js +40 -0
- package/dist-es/commands/SearchVocabulariesCommand.js +1 -1
- package/dist-es/commands/StartChatContactCommand.js +1 -1
- package/dist-es/commands/StartContactRecordingCommand.js +1 -1
- package/dist-es/commands/StartContactStreamingCommand.js +1 -1
- package/dist-es/commands/UpdatePhoneNumberCommand.js +39 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +320 -329
- package/dist-es/models/models_1.js +83 -0
- package/dist-es/pagination/ListPhoneNumbersV2Paginator.js +74 -0
- package/dist-es/pagination/SearchAvailablePhoneNumbersPaginator.js +74 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +960 -36
- package/dist-types/Connect.d.ts +59 -1
- package/dist-types/ConnectClient.d.ts +10 -2
- package/dist-types/commands/AssociatePhoneNumberContactFlowCommand.d.ts +35 -0
- package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +35 -0
- package/dist-types/commands/DescribePhoneNumberCommand.d.ts +35 -0
- package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +35 -0
- package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +37 -0
- package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +35 -0
- package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +36 -0
- package/dist-types/commands/SearchVocabulariesCommand.d.ts +1 -1
- package/dist-types/commands/StartChatContactCommand.d.ts +1 -1
- package/dist-types/commands/StartContactRecordingCommand.d.ts +1 -1
- package/dist-types/commands/StartContactStreamingCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +778 -763
- package/dist-types/models/models_1.d.ts +377 -1
- package/dist-types/pagination/ListPhoneNumbersV2Paginator.d.ts +4 -0
- package/dist-types/pagination/SearchAvailablePhoneNumbersPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -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/AssociatePhoneNumberContactFlowCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ClaimPhoneNumberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribePhoneNumberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPhoneNumbersV2Command.d.ts +17 -0
- package/dist-types/ts3.4/commands/ReleasePhoneNumberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SearchAvailablePhoneNumbersCommand.d.ts +18 -0
- package/dist-types/ts3.4/commands/SearchVocabulariesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartContactRecordingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartContactStreamingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdatePhoneNumberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +767 -749
- package/dist-types/ts3.4/models/models_1.d.ts +212 -1
- package/dist-types/ts3.4/pagination/ListPhoneNumbersV2Paginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/SearchAvailablePhoneNumbersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +4 -4
package/dist-es/Connect.js
CHANGED
|
@@ -5,9 +5,11 @@ import { AssociateDefaultVocabularyCommand, } from "./commands/AssociateDefaultV
|
|
|
5
5
|
import { AssociateInstanceStorageConfigCommand, } from "./commands/AssociateInstanceStorageConfigCommand";
|
|
6
6
|
import { AssociateLambdaFunctionCommand, } from "./commands/AssociateLambdaFunctionCommand";
|
|
7
7
|
import { AssociateLexBotCommand, } from "./commands/AssociateLexBotCommand";
|
|
8
|
+
import { AssociatePhoneNumberContactFlowCommand, } from "./commands/AssociatePhoneNumberContactFlowCommand";
|
|
8
9
|
import { AssociateQueueQuickConnectsCommand, } from "./commands/AssociateQueueQuickConnectsCommand";
|
|
9
10
|
import { AssociateRoutingProfileQueuesCommand, } from "./commands/AssociateRoutingProfileQueuesCommand";
|
|
10
11
|
import { AssociateSecurityKeyCommand, } from "./commands/AssociateSecurityKeyCommand";
|
|
12
|
+
import { ClaimPhoneNumberCommand, } from "./commands/ClaimPhoneNumberCommand";
|
|
11
13
|
import { CreateAgentStatusCommand, } from "./commands/CreateAgentStatusCommand";
|
|
12
14
|
import { CreateContactFlowCommand, } from "./commands/CreateContactFlowCommand";
|
|
13
15
|
import { CreateContactFlowModuleCommand, } from "./commands/CreateContactFlowModuleCommand";
|
|
@@ -41,6 +43,7 @@ import { DescribeHoursOfOperationCommand, } from "./commands/DescribeHoursOfOper
|
|
|
41
43
|
import { DescribeInstanceAttributeCommand, } from "./commands/DescribeInstanceAttributeCommand";
|
|
42
44
|
import { DescribeInstanceCommand, } from "./commands/DescribeInstanceCommand";
|
|
43
45
|
import { DescribeInstanceStorageConfigCommand, } from "./commands/DescribeInstanceStorageConfigCommand";
|
|
46
|
+
import { DescribePhoneNumberCommand, } from "./commands/DescribePhoneNumberCommand";
|
|
44
47
|
import { DescribeQueueCommand, } from "./commands/DescribeQueueCommand";
|
|
45
48
|
import { DescribeQuickConnectCommand, } from "./commands/DescribeQuickConnectCommand";
|
|
46
49
|
import { DescribeRoutingProfileCommand, } from "./commands/DescribeRoutingProfileCommand";
|
|
@@ -54,6 +57,7 @@ import { DisassociateBotCommand, } from "./commands/DisassociateBotCommand";
|
|
|
54
57
|
import { DisassociateInstanceStorageConfigCommand, } from "./commands/DisassociateInstanceStorageConfigCommand";
|
|
55
58
|
import { DisassociateLambdaFunctionCommand, } from "./commands/DisassociateLambdaFunctionCommand";
|
|
56
59
|
import { DisassociateLexBotCommand, } from "./commands/DisassociateLexBotCommand";
|
|
60
|
+
import { DisassociatePhoneNumberContactFlowCommand, } from "./commands/DisassociatePhoneNumberContactFlowCommand";
|
|
57
61
|
import { DisassociateQueueQuickConnectsCommand, } from "./commands/DisassociateQueueQuickConnectsCommand";
|
|
58
62
|
import { DisassociateRoutingProfileQueuesCommand, } from "./commands/DisassociateRoutingProfileQueuesCommand";
|
|
59
63
|
import { DisassociateSecurityKeyCommand, } from "./commands/DisassociateSecurityKeyCommand";
|
|
@@ -76,6 +80,7 @@ import { ListIntegrationAssociationsCommand, } from "./commands/ListIntegrationA
|
|
|
76
80
|
import { ListLambdaFunctionsCommand, } from "./commands/ListLambdaFunctionsCommand";
|
|
77
81
|
import { ListLexBotsCommand } from "./commands/ListLexBotsCommand";
|
|
78
82
|
import { ListPhoneNumbersCommand, } from "./commands/ListPhoneNumbersCommand";
|
|
83
|
+
import { ListPhoneNumbersV2Command, } from "./commands/ListPhoneNumbersV2Command";
|
|
79
84
|
import { ListPromptsCommand } from "./commands/ListPromptsCommand";
|
|
80
85
|
import { ListQueueQuickConnectsCommand, } from "./commands/ListQueueQuickConnectsCommand";
|
|
81
86
|
import { ListQueuesCommand } from "./commands/ListQueuesCommand";
|
|
@@ -89,7 +94,9 @@ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceComma
|
|
|
89
94
|
import { ListUseCasesCommand, } from "./commands/ListUseCasesCommand";
|
|
90
95
|
import { ListUserHierarchyGroupsCommand, } from "./commands/ListUserHierarchyGroupsCommand";
|
|
91
96
|
import { ListUsersCommand } from "./commands/ListUsersCommand";
|
|
97
|
+
import { ReleasePhoneNumberCommand, } from "./commands/ReleasePhoneNumberCommand";
|
|
92
98
|
import { ResumeContactRecordingCommand, } from "./commands/ResumeContactRecordingCommand";
|
|
99
|
+
import { SearchAvailablePhoneNumbersCommand, } from "./commands/SearchAvailablePhoneNumbersCommand";
|
|
93
100
|
import { SearchVocabulariesCommand, } from "./commands/SearchVocabulariesCommand";
|
|
94
101
|
import { StartChatContactCommand, } from "./commands/StartChatContactCommand";
|
|
95
102
|
import { StartContactRecordingCommand, } from "./commands/StartContactRecordingCommand";
|
|
@@ -114,6 +121,7 @@ import { UpdateContactScheduleCommand, } from "./commands/UpdateContactScheduleC
|
|
|
114
121
|
import { UpdateHoursOfOperationCommand, } from "./commands/UpdateHoursOfOperationCommand";
|
|
115
122
|
import { UpdateInstanceAttributeCommand, } from "./commands/UpdateInstanceAttributeCommand";
|
|
116
123
|
import { UpdateInstanceStorageConfigCommand, } from "./commands/UpdateInstanceStorageConfigCommand";
|
|
124
|
+
import { UpdatePhoneNumberCommand, } from "./commands/UpdatePhoneNumberCommand";
|
|
117
125
|
import { UpdateQueueHoursOfOperationCommand, } from "./commands/UpdateQueueHoursOfOperationCommand";
|
|
118
126
|
import { UpdateQueueMaxContactsCommand, } from "./commands/UpdateQueueMaxContactsCommand";
|
|
119
127
|
import { UpdateQueueNameCommand, } from "./commands/UpdateQueueNameCommand";
|
|
@@ -223,6 +231,20 @@ var Connect = (function (_super) {
|
|
|
223
231
|
return this.send(command, optionsOrCb);
|
|
224
232
|
}
|
|
225
233
|
};
|
|
234
|
+
Connect.prototype.associatePhoneNumberContactFlow = function (args, optionsOrCb, cb) {
|
|
235
|
+
var command = new AssociatePhoneNumberContactFlowCommand(args);
|
|
236
|
+
if (typeof optionsOrCb === "function") {
|
|
237
|
+
this.send(command, optionsOrCb);
|
|
238
|
+
}
|
|
239
|
+
else if (typeof cb === "function") {
|
|
240
|
+
if (typeof optionsOrCb !== "object")
|
|
241
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
242
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
243
|
+
}
|
|
244
|
+
else {
|
|
245
|
+
return this.send(command, optionsOrCb);
|
|
246
|
+
}
|
|
247
|
+
};
|
|
226
248
|
Connect.prototype.associateQueueQuickConnects = function (args, optionsOrCb, cb) {
|
|
227
249
|
var command = new AssociateQueueQuickConnectsCommand(args);
|
|
228
250
|
if (typeof optionsOrCb === "function") {
|
|
@@ -265,6 +287,20 @@ var Connect = (function (_super) {
|
|
|
265
287
|
return this.send(command, optionsOrCb);
|
|
266
288
|
}
|
|
267
289
|
};
|
|
290
|
+
Connect.prototype.claimPhoneNumber = function (args, optionsOrCb, cb) {
|
|
291
|
+
var command = new ClaimPhoneNumberCommand(args);
|
|
292
|
+
if (typeof optionsOrCb === "function") {
|
|
293
|
+
this.send(command, optionsOrCb);
|
|
294
|
+
}
|
|
295
|
+
else if (typeof cb === "function") {
|
|
296
|
+
if (typeof optionsOrCb !== "object")
|
|
297
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
298
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
299
|
+
}
|
|
300
|
+
else {
|
|
301
|
+
return this.send(command, optionsOrCb);
|
|
302
|
+
}
|
|
303
|
+
};
|
|
268
304
|
Connect.prototype.createAgentStatus = function (args, optionsOrCb, cb) {
|
|
269
305
|
var command = new CreateAgentStatusCommand(args);
|
|
270
306
|
if (typeof optionsOrCb === "function") {
|
|
@@ -727,6 +763,20 @@ var Connect = (function (_super) {
|
|
|
727
763
|
return this.send(command, optionsOrCb);
|
|
728
764
|
}
|
|
729
765
|
};
|
|
766
|
+
Connect.prototype.describePhoneNumber = function (args, optionsOrCb, cb) {
|
|
767
|
+
var command = new DescribePhoneNumberCommand(args);
|
|
768
|
+
if (typeof optionsOrCb === "function") {
|
|
769
|
+
this.send(command, optionsOrCb);
|
|
770
|
+
}
|
|
771
|
+
else if (typeof cb === "function") {
|
|
772
|
+
if (typeof optionsOrCb !== "object")
|
|
773
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
774
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
775
|
+
}
|
|
776
|
+
else {
|
|
777
|
+
return this.send(command, optionsOrCb);
|
|
778
|
+
}
|
|
779
|
+
};
|
|
730
780
|
Connect.prototype.describeQueue = function (args, optionsOrCb, cb) {
|
|
731
781
|
var command = new DescribeQueueCommand(args);
|
|
732
782
|
if (typeof optionsOrCb === "function") {
|
|
@@ -909,6 +959,20 @@ var Connect = (function (_super) {
|
|
|
909
959
|
return this.send(command, optionsOrCb);
|
|
910
960
|
}
|
|
911
961
|
};
|
|
962
|
+
Connect.prototype.disassociatePhoneNumberContactFlow = function (args, optionsOrCb, cb) {
|
|
963
|
+
var command = new DisassociatePhoneNumberContactFlowCommand(args);
|
|
964
|
+
if (typeof optionsOrCb === "function") {
|
|
965
|
+
this.send(command, optionsOrCb);
|
|
966
|
+
}
|
|
967
|
+
else if (typeof cb === "function") {
|
|
968
|
+
if (typeof optionsOrCb !== "object")
|
|
969
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
970
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
971
|
+
}
|
|
972
|
+
else {
|
|
973
|
+
return this.send(command, optionsOrCb);
|
|
974
|
+
}
|
|
975
|
+
};
|
|
912
976
|
Connect.prototype.disassociateQueueQuickConnects = function (args, optionsOrCb, cb) {
|
|
913
977
|
var command = new DisassociateQueueQuickConnectsCommand(args);
|
|
914
978
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1217,6 +1281,20 @@ var Connect = (function (_super) {
|
|
|
1217
1281
|
return this.send(command, optionsOrCb);
|
|
1218
1282
|
}
|
|
1219
1283
|
};
|
|
1284
|
+
Connect.prototype.listPhoneNumbersV2 = function (args, optionsOrCb, cb) {
|
|
1285
|
+
var command = new ListPhoneNumbersV2Command(args);
|
|
1286
|
+
if (typeof optionsOrCb === "function") {
|
|
1287
|
+
this.send(command, optionsOrCb);
|
|
1288
|
+
}
|
|
1289
|
+
else if (typeof cb === "function") {
|
|
1290
|
+
if (typeof optionsOrCb !== "object")
|
|
1291
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1292
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1293
|
+
}
|
|
1294
|
+
else {
|
|
1295
|
+
return this.send(command, optionsOrCb);
|
|
1296
|
+
}
|
|
1297
|
+
};
|
|
1220
1298
|
Connect.prototype.listPrompts = function (args, optionsOrCb, cb) {
|
|
1221
1299
|
var command = new ListPromptsCommand(args);
|
|
1222
1300
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1399,6 +1477,20 @@ var Connect = (function (_super) {
|
|
|
1399
1477
|
return this.send(command, optionsOrCb);
|
|
1400
1478
|
}
|
|
1401
1479
|
};
|
|
1480
|
+
Connect.prototype.releasePhoneNumber = function (args, optionsOrCb, cb) {
|
|
1481
|
+
var command = new ReleasePhoneNumberCommand(args);
|
|
1482
|
+
if (typeof optionsOrCb === "function") {
|
|
1483
|
+
this.send(command, optionsOrCb);
|
|
1484
|
+
}
|
|
1485
|
+
else if (typeof cb === "function") {
|
|
1486
|
+
if (typeof optionsOrCb !== "object")
|
|
1487
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1488
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1489
|
+
}
|
|
1490
|
+
else {
|
|
1491
|
+
return this.send(command, optionsOrCb);
|
|
1492
|
+
}
|
|
1493
|
+
};
|
|
1402
1494
|
Connect.prototype.resumeContactRecording = function (args, optionsOrCb, cb) {
|
|
1403
1495
|
var command = new ResumeContactRecordingCommand(args);
|
|
1404
1496
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1413,6 +1505,20 @@ var Connect = (function (_super) {
|
|
|
1413
1505
|
return this.send(command, optionsOrCb);
|
|
1414
1506
|
}
|
|
1415
1507
|
};
|
|
1508
|
+
Connect.prototype.searchAvailablePhoneNumbers = function (args, optionsOrCb, cb) {
|
|
1509
|
+
var command = new SearchAvailablePhoneNumbersCommand(args);
|
|
1510
|
+
if (typeof optionsOrCb === "function") {
|
|
1511
|
+
this.send(command, optionsOrCb);
|
|
1512
|
+
}
|
|
1513
|
+
else if (typeof cb === "function") {
|
|
1514
|
+
if (typeof optionsOrCb !== "object")
|
|
1515
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1516
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1517
|
+
}
|
|
1518
|
+
else {
|
|
1519
|
+
return this.send(command, optionsOrCb);
|
|
1520
|
+
}
|
|
1521
|
+
};
|
|
1416
1522
|
Connect.prototype.searchVocabularies = function (args, optionsOrCb, cb) {
|
|
1417
1523
|
var command = new SearchVocabulariesCommand(args);
|
|
1418
1524
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1749,6 +1855,20 @@ var Connect = (function (_super) {
|
|
|
1749
1855
|
return this.send(command, optionsOrCb);
|
|
1750
1856
|
}
|
|
1751
1857
|
};
|
|
1858
|
+
Connect.prototype.updatePhoneNumber = function (args, optionsOrCb, cb) {
|
|
1859
|
+
var command = new UpdatePhoneNumberCommand(args);
|
|
1860
|
+
if (typeof optionsOrCb === "function") {
|
|
1861
|
+
this.send(command, optionsOrCb);
|
|
1862
|
+
}
|
|
1863
|
+
else if (typeof cb === "function") {
|
|
1864
|
+
if (typeof optionsOrCb !== "object")
|
|
1865
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1866
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1867
|
+
}
|
|
1868
|
+
else {
|
|
1869
|
+
return this.send(command, optionsOrCb);
|
|
1870
|
+
}
|
|
1871
|
+
};
|
|
1752
1872
|
Connect.prototype.updateQueueHoursOfOperation = function (args, optionsOrCb, cb) {
|
|
1753
1873
|
var command = new UpdateQueueHoursOfOperationCommand(args);
|
|
1754
1874
|
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 { AssociatePhoneNumberContactFlowRequest } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1AssociatePhoneNumberContactFlowCommand, serializeAws_restJson1AssociatePhoneNumberContactFlowCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var AssociatePhoneNumberContactFlowCommand = (function (_super) {
|
|
7
|
+
__extends(AssociatePhoneNumberContactFlowCommand, _super);
|
|
8
|
+
function AssociatePhoneNumberContactFlowCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
AssociatePhoneNumberContactFlowCommand.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 = "AssociatePhoneNumberContactFlowCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: AssociatePhoneNumberContactFlowRequest.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
|
+
AssociatePhoneNumberContactFlowCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1AssociatePhoneNumberContactFlowCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
AssociatePhoneNumberContactFlowCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1AssociatePhoneNumberContactFlowCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return AssociatePhoneNumberContactFlowCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AssociatePhoneNumberContactFlowCommand };
|
|
@@ -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 { ClaimPhoneNumberRequest, ClaimPhoneNumberResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ClaimPhoneNumberCommand, serializeAws_restJson1ClaimPhoneNumberCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ClaimPhoneNumberCommand = (function (_super) {
|
|
7
|
+
__extends(ClaimPhoneNumberCommand, _super);
|
|
8
|
+
function ClaimPhoneNumberCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ClaimPhoneNumberCommand.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 = "ClaimPhoneNumberCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ClaimPhoneNumberRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ClaimPhoneNumberResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ClaimPhoneNumberCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1ClaimPhoneNumberCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ClaimPhoneNumberCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1ClaimPhoneNumberCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ClaimPhoneNumberCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ClaimPhoneNumberCommand };
|
|
@@ -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 { DescribePhoneNumberRequest, DescribePhoneNumberResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DescribePhoneNumberCommand, serializeAws_restJson1DescribePhoneNumberCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DescribePhoneNumberCommand = (function (_super) {
|
|
7
|
+
__extends(DescribePhoneNumberCommand, _super);
|
|
8
|
+
function DescribePhoneNumberCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DescribePhoneNumberCommand.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 = "DescribePhoneNumberCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DescribePhoneNumberRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribePhoneNumberResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribePhoneNumberCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DescribePhoneNumberCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DescribePhoneNumberCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DescribePhoneNumberCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DescribePhoneNumberCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribePhoneNumberCommand };
|
|
@@ -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 { DisassociatePhoneNumberContactFlowRequest } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DisassociatePhoneNumberContactFlowCommand, serializeAws_restJson1DisassociatePhoneNumberContactFlowCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DisassociatePhoneNumberContactFlowCommand = (function (_super) {
|
|
7
|
+
__extends(DisassociatePhoneNumberContactFlowCommand, _super);
|
|
8
|
+
function DisassociatePhoneNumberContactFlowCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DisassociatePhoneNumberContactFlowCommand.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 = "DisassociatePhoneNumberContactFlowCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DisassociatePhoneNumberContactFlowRequest.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
|
+
DisassociatePhoneNumberContactFlowCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DisassociatePhoneNumberContactFlowCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DisassociatePhoneNumberContactFlowCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DisassociatePhoneNumberContactFlowCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DisassociatePhoneNumberContactFlowCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DisassociatePhoneNumberContactFlowCommand };
|
|
@@ -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 { ListPhoneNumbersV2Request, ListPhoneNumbersV2Response } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListPhoneNumbersV2Command, serializeAws_restJson1ListPhoneNumbersV2Command, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ListPhoneNumbersV2Command = (function (_super) {
|
|
7
|
+
__extends(ListPhoneNumbersV2Command, _super);
|
|
8
|
+
function ListPhoneNumbersV2Command(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListPhoneNumbersV2Command.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 = "ListPhoneNumbersV2Command";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListPhoneNumbersV2Request.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListPhoneNumbersV2Response.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListPhoneNumbersV2Command.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1ListPhoneNumbersV2Command(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListPhoneNumbersV2Command.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1ListPhoneNumbersV2Command(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListPhoneNumbersV2Command;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListPhoneNumbersV2Command };
|
|
@@ -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 { ReleasePhoneNumberRequest } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ReleasePhoneNumberCommand, serializeAws_restJson1ReleasePhoneNumberCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ReleasePhoneNumberCommand = (function (_super) {
|
|
7
|
+
__extends(ReleasePhoneNumberCommand, _super);
|
|
8
|
+
function ReleasePhoneNumberCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ReleasePhoneNumberCommand.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 = "ReleasePhoneNumberCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ReleasePhoneNumberRequest.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
|
+
ReleasePhoneNumberCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1ReleasePhoneNumberCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ReleasePhoneNumberCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1ReleasePhoneNumberCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ReleasePhoneNumberCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ReleasePhoneNumberCommand };
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { SearchAvailablePhoneNumbersRequest } from "../models/models_0";
|
|
5
|
+
import { SearchAvailablePhoneNumbersResponse } from "../models/models_1";
|
|
6
|
+
import { deserializeAws_restJson1SearchAvailablePhoneNumbersCommand, serializeAws_restJson1SearchAvailablePhoneNumbersCommand, } from "../protocols/Aws_restJson1";
|
|
7
|
+
var SearchAvailablePhoneNumbersCommand = (function (_super) {
|
|
8
|
+
__extends(SearchAvailablePhoneNumbersCommand, _super);
|
|
9
|
+
function SearchAvailablePhoneNumbersCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
13
|
+
}
|
|
14
|
+
SearchAvailablePhoneNumbersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
15
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
17
|
+
var logger = configuration.logger;
|
|
18
|
+
var clientName = "ConnectClient";
|
|
19
|
+
var commandName = "SearchAvailablePhoneNumbersCommand";
|
|
20
|
+
var handlerExecutionContext = {
|
|
21
|
+
logger: logger,
|
|
22
|
+
clientName: clientName,
|
|
23
|
+
commandName: commandName,
|
|
24
|
+
inputFilterSensitiveLog: SearchAvailablePhoneNumbersRequest.filterSensitiveLog,
|
|
25
|
+
outputFilterSensitiveLog: SearchAvailablePhoneNumbersResponse.filterSensitiveLog,
|
|
26
|
+
};
|
|
27
|
+
var requestHandler = configuration.requestHandler;
|
|
28
|
+
return stack.resolve(function (request) {
|
|
29
|
+
return requestHandler.handle(request.request, options || {});
|
|
30
|
+
}, handlerExecutionContext);
|
|
31
|
+
};
|
|
32
|
+
SearchAvailablePhoneNumbersCommand.prototype.serialize = function (input, context) {
|
|
33
|
+
return serializeAws_restJson1SearchAvailablePhoneNumbersCommand(input, context);
|
|
34
|
+
};
|
|
35
|
+
SearchAvailablePhoneNumbersCommand.prototype.deserialize = function (output, context) {
|
|
36
|
+
return deserializeAws_restJson1SearchAvailablePhoneNumbersCommand(output, context);
|
|
37
|
+
};
|
|
38
|
+
return SearchAvailablePhoneNumbersCommand;
|
|
39
|
+
}($Command));
|
|
40
|
+
export { SearchAvailablePhoneNumbersCommand };
|
|
@@ -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 { SearchVocabulariesRequest, SearchVocabulariesResponse } from "../models/
|
|
4
|
+
import { SearchVocabulariesRequest, SearchVocabulariesResponse } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_restJson1SearchVocabulariesCommand, serializeAws_restJson1SearchVocabulariesCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var SearchVocabulariesCommand = (function (_super) {
|
|
7
7
|
__extends(SearchVocabulariesCommand, _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 { StartChatContactRequest, StartChatContactResponse } from "../models/
|
|
4
|
+
import { StartChatContactRequest, StartChatContactResponse } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_restJson1StartChatContactCommand, serializeAws_restJson1StartChatContactCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var StartChatContactCommand = (function (_super) {
|
|
7
7
|
__extends(StartChatContactCommand, _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 { StartContactRecordingRequest, StartContactRecordingResponse } from "../models/
|
|
4
|
+
import { StartContactRecordingRequest, StartContactRecordingResponse } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_restJson1StartContactRecordingCommand, serializeAws_restJson1StartContactRecordingCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var StartContactRecordingCommand = (function (_super) {
|
|
7
7
|
__extends(StartContactRecordingCommand, _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 { StartContactStreamingRequest, StartContactStreamingResponse } from "../models/
|
|
4
|
+
import { StartContactStreamingRequest, StartContactStreamingResponse } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_restJson1StartContactStreamingCommand, serializeAws_restJson1StartContactStreamingCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var StartContactStreamingCommand = (function (_super) {
|
|
7
7
|
__extends(StartContactStreamingCommand, _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 { UpdatePhoneNumberRequest, UpdatePhoneNumberResponse } from "../models/models_1";
|
|
5
|
+
import { deserializeAws_restJson1UpdatePhoneNumberCommand, serializeAws_restJson1UpdatePhoneNumberCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var UpdatePhoneNumberCommand = (function (_super) {
|
|
7
|
+
__extends(UpdatePhoneNumberCommand, _super);
|
|
8
|
+
function UpdatePhoneNumberCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdatePhoneNumberCommand.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 = "UpdatePhoneNumberCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdatePhoneNumberRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdatePhoneNumberResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdatePhoneNumberCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1UpdatePhoneNumberCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdatePhoneNumberCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1UpdatePhoneNumberCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdatePhoneNumberCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdatePhoneNumberCommand };
|
|
@@ -4,9 +4,11 @@ export * from "./AssociateDefaultVocabularyCommand";
|
|
|
4
4
|
export * from "./AssociateInstanceStorageConfigCommand";
|
|
5
5
|
export * from "./AssociateLambdaFunctionCommand";
|
|
6
6
|
export * from "./AssociateLexBotCommand";
|
|
7
|
+
export * from "./AssociatePhoneNumberContactFlowCommand";
|
|
7
8
|
export * from "./AssociateQueueQuickConnectsCommand";
|
|
8
9
|
export * from "./AssociateRoutingProfileQueuesCommand";
|
|
9
10
|
export * from "./AssociateSecurityKeyCommand";
|
|
11
|
+
export * from "./ClaimPhoneNumberCommand";
|
|
10
12
|
export * from "./CreateAgentStatusCommand";
|
|
11
13
|
export * from "./CreateContactFlowCommand";
|
|
12
14
|
export * from "./CreateContactFlowModuleCommand";
|
|
@@ -40,6 +42,7 @@ export * from "./DescribeHoursOfOperationCommand";
|
|
|
40
42
|
export * from "./DescribeInstanceAttributeCommand";
|
|
41
43
|
export * from "./DescribeInstanceCommand";
|
|
42
44
|
export * from "./DescribeInstanceStorageConfigCommand";
|
|
45
|
+
export * from "./DescribePhoneNumberCommand";
|
|
43
46
|
export * from "./DescribeQueueCommand";
|
|
44
47
|
export * from "./DescribeQuickConnectCommand";
|
|
45
48
|
export * from "./DescribeRoutingProfileCommand";
|
|
@@ -53,6 +56,7 @@ export * from "./DisassociateBotCommand";
|
|
|
53
56
|
export * from "./DisassociateInstanceStorageConfigCommand";
|
|
54
57
|
export * from "./DisassociateLambdaFunctionCommand";
|
|
55
58
|
export * from "./DisassociateLexBotCommand";
|
|
59
|
+
export * from "./DisassociatePhoneNumberContactFlowCommand";
|
|
56
60
|
export * from "./DisassociateQueueQuickConnectsCommand";
|
|
57
61
|
export * from "./DisassociateRoutingProfileQueuesCommand";
|
|
58
62
|
export * from "./DisassociateSecurityKeyCommand";
|
|
@@ -75,6 +79,7 @@ export * from "./ListIntegrationAssociationsCommand";
|
|
|
75
79
|
export * from "./ListLambdaFunctionsCommand";
|
|
76
80
|
export * from "./ListLexBotsCommand";
|
|
77
81
|
export * from "./ListPhoneNumbersCommand";
|
|
82
|
+
export * from "./ListPhoneNumbersV2Command";
|
|
78
83
|
export * from "./ListPromptsCommand";
|
|
79
84
|
export * from "./ListQueueQuickConnectsCommand";
|
|
80
85
|
export * from "./ListQueuesCommand";
|
|
@@ -88,7 +93,9 @@ export * from "./ListTagsForResourceCommand";
|
|
|
88
93
|
export * from "./ListUseCasesCommand";
|
|
89
94
|
export * from "./ListUserHierarchyGroupsCommand";
|
|
90
95
|
export * from "./ListUsersCommand";
|
|
96
|
+
export * from "./ReleasePhoneNumberCommand";
|
|
91
97
|
export * from "./ResumeContactRecordingCommand";
|
|
98
|
+
export * from "./SearchAvailablePhoneNumbersCommand";
|
|
92
99
|
export * from "./SearchVocabulariesCommand";
|
|
93
100
|
export * from "./StartChatContactCommand";
|
|
94
101
|
export * from "./StartContactRecordingCommand";
|
|
@@ -113,6 +120,7 @@ export * from "./UpdateContactScheduleCommand";
|
|
|
113
120
|
export * from "./UpdateHoursOfOperationCommand";
|
|
114
121
|
export * from "./UpdateInstanceAttributeCommand";
|
|
115
122
|
export * from "./UpdateInstanceStorageConfigCommand";
|
|
123
|
+
export * from "./UpdatePhoneNumberCommand";
|
|
116
124
|
export * from "./UpdateQueueHoursOfOperationCommand";
|
|
117
125
|
export * from "./UpdateQueueMaxContactsCommand";
|
|
118
126
|
export * from "./UpdateQueueNameCommand";
|