@aws-sdk/client-connect 3.332.0 → 3.335.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/README.md +40 -0
- package/dist-cjs/Connect.js +10 -0
- package/dist-cjs/commands/CreatePromptCommand.js +45 -0
- package/dist-cjs/commands/DeletePromptCommand.js +45 -0
- package/dist-cjs/commands/DescribePromptCommand.js +45 -0
- package/dist-cjs/commands/GetPromptFileCommand.js +45 -0
- package/dist-cjs/commands/UpdatePromptCommand.js +45 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +344 -9
- package/dist-es/Connect.js +10 -0
- package/dist-es/commands/CreatePromptCommand.js +41 -0
- package/dist-es/commands/DeletePromptCommand.js +41 -0
- package/dist-es/commands/DescribePromptCommand.js +41 -0
- package/dist-es/commands/GetPromptFileCommand.js +41 -0
- package/dist-es/commands/UpdatePromptCommand.js +41 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +326 -1
- package/dist-types/Connect.d.ts +35 -0
- package/dist-types/ConnectClient.d.ts +10 -4
- package/dist-types/commands/CreatePromptCommand.d.ts +94 -0
- package/dist-types/commands/DeletePromptCommand.d.ts +83 -0
- package/dist-types/commands/DescribePromptCommand.d.ts +93 -0
- package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +2 -1
- package/dist-types/commands/GetPromptFileCommand.d.ts +85 -0
- package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +3 -3
- package/dist-types/commands/UpdatePromptCommand.d.ts +89 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +99 -94
- package/dist-types/models/models_1.d.ts +156 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +47 -2
- package/dist-types/runtimeConfig.browser.d.ts +12 -12
- package/dist-types/runtimeConfig.d.ts +9 -9
- package/dist-types/runtimeConfig.native.d.ts +13 -13
- package/dist-types/runtimeConfig.shared.d.ts +4 -4
- package/dist-types/ts3.4/Connect.d.ts +85 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +37 -5
- package/dist-types/ts3.4/commands/CreatePromptCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeletePromptCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/DescribePromptCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetCurrentMetricDataCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetPromptFileCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdatePromptCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +29 -26
- package/dist-types/ts3.4/models/models_1.d.ts +47 -3
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +62 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +18 -15
- package/dist-types/ts3.4/runtimeConfig.d.ts +12 -12
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -15
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -372,6 +372,14 @@ CreateParticipant
|
|
|
372
372
|
|
|
373
373
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/createparticipantcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/createparticipantcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/createparticipantcommandoutput.html)
|
|
374
374
|
|
|
375
|
+
</details>
|
|
376
|
+
<details>
|
|
377
|
+
<summary>
|
|
378
|
+
CreatePrompt
|
|
379
|
+
</summary>
|
|
380
|
+
|
|
381
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/createpromptcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/createpromptcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/createpromptcommandoutput.html)
|
|
382
|
+
|
|
375
383
|
</details>
|
|
376
384
|
<details>
|
|
377
385
|
<summary>
|
|
@@ -524,6 +532,14 @@ DeleteIntegrationAssociation
|
|
|
524
532
|
|
|
525
533
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/deleteintegrationassociationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/deleteintegrationassociationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/deleteintegrationassociationcommandoutput.html)
|
|
526
534
|
|
|
535
|
+
</details>
|
|
536
|
+
<details>
|
|
537
|
+
<summary>
|
|
538
|
+
DeletePrompt
|
|
539
|
+
</summary>
|
|
540
|
+
|
|
541
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/deletepromptcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/deletepromptcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/deletepromptcommandoutput.html)
|
|
542
|
+
|
|
527
543
|
</details>
|
|
528
544
|
<details>
|
|
529
545
|
<summary>
|
|
@@ -684,6 +700,14 @@ DescribePhoneNumber
|
|
|
684
700
|
|
|
685
701
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/describephonenumbercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/describephonenumbercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/describephonenumbercommandoutput.html)
|
|
686
702
|
|
|
703
|
+
</details>
|
|
704
|
+
<details>
|
|
705
|
+
<summary>
|
|
706
|
+
DescribePrompt
|
|
707
|
+
</summary>
|
|
708
|
+
|
|
709
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/describepromptcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/describepromptcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/describepromptcommandoutput.html)
|
|
710
|
+
|
|
687
711
|
</details>
|
|
688
712
|
<details>
|
|
689
713
|
<summary>
|
|
@@ -892,6 +916,14 @@ GetMetricDataV2
|
|
|
892
916
|
|
|
893
917
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/getmetricdatav2command.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/getmetricdatav2commandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/getmetricdatav2commandoutput.html)
|
|
894
918
|
|
|
919
|
+
</details>
|
|
920
|
+
<details>
|
|
921
|
+
<summary>
|
|
922
|
+
GetPromptFile
|
|
923
|
+
</summary>
|
|
924
|
+
|
|
925
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/getpromptfilecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/getpromptfilecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/getpromptfilecommandoutput.html)
|
|
926
|
+
|
|
895
927
|
</details>
|
|
896
928
|
<details>
|
|
897
929
|
<summary>
|
|
@@ -1516,6 +1548,14 @@ UpdatePhoneNumber
|
|
|
1516
1548
|
|
|
1517
1549
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/updatephonenumbercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/updatephonenumbercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/updatephonenumbercommandoutput.html)
|
|
1518
1550
|
|
|
1551
|
+
</details>
|
|
1552
|
+
<details>
|
|
1553
|
+
<summary>
|
|
1554
|
+
UpdatePrompt
|
|
1555
|
+
</summary>
|
|
1556
|
+
|
|
1557
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/updatepromptcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/updatepromptcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/updatepromptcommandoutput.html)
|
|
1558
|
+
|
|
1519
1559
|
</details>
|
|
1520
1560
|
<details>
|
|
1521
1561
|
<summary>
|
package/dist-cjs/Connect.js
CHANGED
|
@@ -22,6 +22,7 @@ const CreateHoursOfOperationCommand_1 = require("./commands/CreateHoursOfOperati
|
|
|
22
22
|
const CreateInstanceCommand_1 = require("./commands/CreateInstanceCommand");
|
|
23
23
|
const CreateIntegrationAssociationCommand_1 = require("./commands/CreateIntegrationAssociationCommand");
|
|
24
24
|
const CreateParticipantCommand_1 = require("./commands/CreateParticipantCommand");
|
|
25
|
+
const CreatePromptCommand_1 = require("./commands/CreatePromptCommand");
|
|
25
26
|
const CreateQueueCommand_1 = require("./commands/CreateQueueCommand");
|
|
26
27
|
const CreateQuickConnectCommand_1 = require("./commands/CreateQuickConnectCommand");
|
|
27
28
|
const CreateRoutingProfileCommand_1 = require("./commands/CreateRoutingProfileCommand");
|
|
@@ -41,6 +42,7 @@ const DeleteEvaluationFormCommand_1 = require("./commands/DeleteEvaluationFormCo
|
|
|
41
42
|
const DeleteHoursOfOperationCommand_1 = require("./commands/DeleteHoursOfOperationCommand");
|
|
42
43
|
const DeleteInstanceCommand_1 = require("./commands/DeleteInstanceCommand");
|
|
43
44
|
const DeleteIntegrationAssociationCommand_1 = require("./commands/DeleteIntegrationAssociationCommand");
|
|
45
|
+
const DeletePromptCommand_1 = require("./commands/DeletePromptCommand");
|
|
44
46
|
const DeleteQuickConnectCommand_1 = require("./commands/DeleteQuickConnectCommand");
|
|
45
47
|
const DeleteRuleCommand_1 = require("./commands/DeleteRuleCommand");
|
|
46
48
|
const DeleteSecurityProfileCommand_1 = require("./commands/DeleteSecurityProfileCommand");
|
|
@@ -61,6 +63,7 @@ const DescribeInstanceAttributeCommand_1 = require("./commands/DescribeInstanceA
|
|
|
61
63
|
const DescribeInstanceCommand_1 = require("./commands/DescribeInstanceCommand");
|
|
62
64
|
const DescribeInstanceStorageConfigCommand_1 = require("./commands/DescribeInstanceStorageConfigCommand");
|
|
63
65
|
const DescribePhoneNumberCommand_1 = require("./commands/DescribePhoneNumberCommand");
|
|
66
|
+
const DescribePromptCommand_1 = require("./commands/DescribePromptCommand");
|
|
64
67
|
const DescribeQueueCommand_1 = require("./commands/DescribeQueueCommand");
|
|
65
68
|
const DescribeQuickConnectCommand_1 = require("./commands/DescribeQuickConnectCommand");
|
|
66
69
|
const DescribeRoutingProfileCommand_1 = require("./commands/DescribeRoutingProfileCommand");
|
|
@@ -87,6 +90,7 @@ const GetCurrentUserDataCommand_1 = require("./commands/GetCurrentUserDataComman
|
|
|
87
90
|
const GetFederationTokenCommand_1 = require("./commands/GetFederationTokenCommand");
|
|
88
91
|
const GetMetricDataCommand_1 = require("./commands/GetMetricDataCommand");
|
|
89
92
|
const GetMetricDataV2Command_1 = require("./commands/GetMetricDataV2Command");
|
|
93
|
+
const GetPromptFileCommand_1 = require("./commands/GetPromptFileCommand");
|
|
90
94
|
const GetTaskTemplateCommand_1 = require("./commands/GetTaskTemplateCommand");
|
|
91
95
|
const GetTrafficDistributionCommand_1 = require("./commands/GetTrafficDistributionCommand");
|
|
92
96
|
const ListAgentStatusesCommand_1 = require("./commands/ListAgentStatusesCommand");
|
|
@@ -165,6 +169,7 @@ const UpdateInstanceAttributeCommand_1 = require("./commands/UpdateInstanceAttri
|
|
|
165
169
|
const UpdateInstanceStorageConfigCommand_1 = require("./commands/UpdateInstanceStorageConfigCommand");
|
|
166
170
|
const UpdateParticipantRoleConfigCommand_1 = require("./commands/UpdateParticipantRoleConfigCommand");
|
|
167
171
|
const UpdatePhoneNumberCommand_1 = require("./commands/UpdatePhoneNumberCommand");
|
|
172
|
+
const UpdatePromptCommand_1 = require("./commands/UpdatePromptCommand");
|
|
168
173
|
const UpdateQueueHoursOfOperationCommand_1 = require("./commands/UpdateQueueHoursOfOperationCommand");
|
|
169
174
|
const UpdateQueueMaxContactsCommand_1 = require("./commands/UpdateQueueMaxContactsCommand");
|
|
170
175
|
const UpdateQueueNameCommand_1 = require("./commands/UpdateQueueNameCommand");
|
|
@@ -209,6 +214,7 @@ const commands = {
|
|
|
209
214
|
CreateInstanceCommand: CreateInstanceCommand_1.CreateInstanceCommand,
|
|
210
215
|
CreateIntegrationAssociationCommand: CreateIntegrationAssociationCommand_1.CreateIntegrationAssociationCommand,
|
|
211
216
|
CreateParticipantCommand: CreateParticipantCommand_1.CreateParticipantCommand,
|
|
217
|
+
CreatePromptCommand: CreatePromptCommand_1.CreatePromptCommand,
|
|
212
218
|
CreateQueueCommand: CreateQueueCommand_1.CreateQueueCommand,
|
|
213
219
|
CreateQuickConnectCommand: CreateQuickConnectCommand_1.CreateQuickConnectCommand,
|
|
214
220
|
CreateRoutingProfileCommand: CreateRoutingProfileCommand_1.CreateRoutingProfileCommand,
|
|
@@ -228,6 +234,7 @@ const commands = {
|
|
|
228
234
|
DeleteHoursOfOperationCommand: DeleteHoursOfOperationCommand_1.DeleteHoursOfOperationCommand,
|
|
229
235
|
DeleteInstanceCommand: DeleteInstanceCommand_1.DeleteInstanceCommand,
|
|
230
236
|
DeleteIntegrationAssociationCommand: DeleteIntegrationAssociationCommand_1.DeleteIntegrationAssociationCommand,
|
|
237
|
+
DeletePromptCommand: DeletePromptCommand_1.DeletePromptCommand,
|
|
231
238
|
DeleteQuickConnectCommand: DeleteQuickConnectCommand_1.DeleteQuickConnectCommand,
|
|
232
239
|
DeleteRuleCommand: DeleteRuleCommand_1.DeleteRuleCommand,
|
|
233
240
|
DeleteSecurityProfileCommand: DeleteSecurityProfileCommand_1.DeleteSecurityProfileCommand,
|
|
@@ -248,6 +255,7 @@ const commands = {
|
|
|
248
255
|
DescribeInstanceAttributeCommand: DescribeInstanceAttributeCommand_1.DescribeInstanceAttributeCommand,
|
|
249
256
|
DescribeInstanceStorageConfigCommand: DescribeInstanceStorageConfigCommand_1.DescribeInstanceStorageConfigCommand,
|
|
250
257
|
DescribePhoneNumberCommand: DescribePhoneNumberCommand_1.DescribePhoneNumberCommand,
|
|
258
|
+
DescribePromptCommand: DescribePromptCommand_1.DescribePromptCommand,
|
|
251
259
|
DescribeQueueCommand: DescribeQueueCommand_1.DescribeQueueCommand,
|
|
252
260
|
DescribeQuickConnectCommand: DescribeQuickConnectCommand_1.DescribeQuickConnectCommand,
|
|
253
261
|
DescribeRoutingProfileCommand: DescribeRoutingProfileCommand_1.DescribeRoutingProfileCommand,
|
|
@@ -274,6 +282,7 @@ const commands = {
|
|
|
274
282
|
GetFederationTokenCommand: GetFederationTokenCommand_1.GetFederationTokenCommand,
|
|
275
283
|
GetMetricDataCommand: GetMetricDataCommand_1.GetMetricDataCommand,
|
|
276
284
|
GetMetricDataV2Command: GetMetricDataV2Command_1.GetMetricDataV2Command,
|
|
285
|
+
GetPromptFileCommand: GetPromptFileCommand_1.GetPromptFileCommand,
|
|
277
286
|
GetTaskTemplateCommand: GetTaskTemplateCommand_1.GetTaskTemplateCommand,
|
|
278
287
|
GetTrafficDistributionCommand: GetTrafficDistributionCommand_1.GetTrafficDistributionCommand,
|
|
279
288
|
ListAgentStatusesCommand: ListAgentStatusesCommand_1.ListAgentStatusesCommand,
|
|
@@ -352,6 +361,7 @@ const commands = {
|
|
|
352
361
|
UpdateInstanceStorageConfigCommand: UpdateInstanceStorageConfigCommand_1.UpdateInstanceStorageConfigCommand,
|
|
353
362
|
UpdateParticipantRoleConfigCommand: UpdateParticipantRoleConfigCommand_1.UpdateParticipantRoleConfigCommand,
|
|
354
363
|
UpdatePhoneNumberCommand: UpdatePhoneNumberCommand_1.UpdatePhoneNumberCommand,
|
|
364
|
+
UpdatePromptCommand: UpdatePromptCommand_1.UpdatePromptCommand,
|
|
355
365
|
UpdateQueueHoursOfOperationCommand: UpdateQueueHoursOfOperationCommand_1.UpdateQueueHoursOfOperationCommand,
|
|
356
366
|
UpdateQueueMaxContactsCommand: UpdateQueueMaxContactsCommand_1.UpdateQueueMaxContactsCommand,
|
|
357
367
|
UpdateQueueNameCommand: UpdateQueueNameCommand_1.UpdateQueueNameCommand,
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreatePromptCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class CreatePromptCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreatePromptCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "ConnectClient";
|
|
27
|
+
const commandName = "CreatePromptCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.se_CreatePromptCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.de_CreatePromptCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.CreatePromptCommand = CreatePromptCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeletePromptCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DeletePromptCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeletePromptCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "ConnectClient";
|
|
27
|
+
const commandName = "DeletePromptCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.se_DeletePromptCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.de_DeletePromptCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.DeletePromptCommand = DeletePromptCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribePromptCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DescribePromptCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribePromptCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "ConnectClient";
|
|
27
|
+
const commandName = "DescribePromptCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.se_DescribePromptCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.de_DescribePromptCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.DescribePromptCommand = DescribePromptCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetPromptFileCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class GetPromptFileCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetPromptFileCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "ConnectClient";
|
|
27
|
+
const commandName = "GetPromptFileCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.se_GetPromptFileCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.de_GetPromptFileCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.GetPromptFileCommand = GetPromptFileCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdatePromptCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class UpdatePromptCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdatePromptCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "ConnectClient";
|
|
27
|
+
const commandName = "UpdatePromptCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.se_UpdatePromptCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.de_UpdatePromptCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.UpdatePromptCommand = UpdatePromptCommand;
|
|
@@ -21,6 +21,7 @@ tslib_1.__exportStar(require("./CreateHoursOfOperationCommand"), exports);
|
|
|
21
21
|
tslib_1.__exportStar(require("./CreateInstanceCommand"), exports);
|
|
22
22
|
tslib_1.__exportStar(require("./CreateIntegrationAssociationCommand"), exports);
|
|
23
23
|
tslib_1.__exportStar(require("./CreateParticipantCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./CreatePromptCommand"), exports);
|
|
24
25
|
tslib_1.__exportStar(require("./CreateQueueCommand"), exports);
|
|
25
26
|
tslib_1.__exportStar(require("./CreateQuickConnectCommand"), exports);
|
|
26
27
|
tslib_1.__exportStar(require("./CreateRoutingProfileCommand"), exports);
|
|
@@ -40,6 +41,7 @@ tslib_1.__exportStar(require("./DeleteEvaluationFormCommand"), exports);
|
|
|
40
41
|
tslib_1.__exportStar(require("./DeleteHoursOfOperationCommand"), exports);
|
|
41
42
|
tslib_1.__exportStar(require("./DeleteInstanceCommand"), exports);
|
|
42
43
|
tslib_1.__exportStar(require("./DeleteIntegrationAssociationCommand"), exports);
|
|
44
|
+
tslib_1.__exportStar(require("./DeletePromptCommand"), exports);
|
|
43
45
|
tslib_1.__exportStar(require("./DeleteQuickConnectCommand"), exports);
|
|
44
46
|
tslib_1.__exportStar(require("./DeleteRuleCommand"), exports);
|
|
45
47
|
tslib_1.__exportStar(require("./DeleteSecurityProfileCommand"), exports);
|
|
@@ -60,6 +62,7 @@ tslib_1.__exportStar(require("./DescribeInstanceAttributeCommand"), exports);
|
|
|
60
62
|
tslib_1.__exportStar(require("./DescribeInstanceCommand"), exports);
|
|
61
63
|
tslib_1.__exportStar(require("./DescribeInstanceStorageConfigCommand"), exports);
|
|
62
64
|
tslib_1.__exportStar(require("./DescribePhoneNumberCommand"), exports);
|
|
65
|
+
tslib_1.__exportStar(require("./DescribePromptCommand"), exports);
|
|
63
66
|
tslib_1.__exportStar(require("./DescribeQueueCommand"), exports);
|
|
64
67
|
tslib_1.__exportStar(require("./DescribeQuickConnectCommand"), exports);
|
|
65
68
|
tslib_1.__exportStar(require("./DescribeRoutingProfileCommand"), exports);
|
|
@@ -86,6 +89,7 @@ tslib_1.__exportStar(require("./GetCurrentUserDataCommand"), exports);
|
|
|
86
89
|
tslib_1.__exportStar(require("./GetFederationTokenCommand"), exports);
|
|
87
90
|
tslib_1.__exportStar(require("./GetMetricDataCommand"), exports);
|
|
88
91
|
tslib_1.__exportStar(require("./GetMetricDataV2Command"), exports);
|
|
92
|
+
tslib_1.__exportStar(require("./GetPromptFileCommand"), exports);
|
|
89
93
|
tslib_1.__exportStar(require("./GetTaskTemplateCommand"), exports);
|
|
90
94
|
tslib_1.__exportStar(require("./GetTrafficDistributionCommand"), exports);
|
|
91
95
|
tslib_1.__exportStar(require("./ListAgentStatusesCommand"), exports);
|
|
@@ -164,6 +168,7 @@ tslib_1.__exportStar(require("./UpdateInstanceAttributeCommand"), exports);
|
|
|
164
168
|
tslib_1.__exportStar(require("./UpdateInstanceStorageConfigCommand"), exports);
|
|
165
169
|
tslib_1.__exportStar(require("./UpdateParticipantRoleConfigCommand"), exports);
|
|
166
170
|
tslib_1.__exportStar(require("./UpdatePhoneNumberCommand"), exports);
|
|
171
|
+
tslib_1.__exportStar(require("./UpdatePromptCommand"), exports);
|
|
167
172
|
tslib_1.__exportStar(require("./UpdateQueueHoursOfOperationCommand"), exports);
|
|
168
173
|
tslib_1.__exportStar(require("./UpdateQueueMaxContactsCommand"), exports);
|
|
169
174
|
tslib_1.__exportStar(require("./UpdateQueueNameCommand"), exports);
|