@aws-sdk/client-connect 3.366.0 → 3.370.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 +16 -0
- package/dist-cjs/Connect.js +4 -0
- package/dist-cjs/commands/DeleteQueueCommand.js +46 -0
- package/dist-cjs/commands/DeleteRoutingProfileCommand.js +46 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +135 -8
- package/dist-es/Connect.js +4 -0
- package/dist-es/commands/DeleteQueueCommand.js +42 -0
- package/dist-es/commands/DeleteRoutingProfileCommand.js +42 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +123 -0
- package/dist-types/Connect.d.ts +14 -0
- package/dist-types/ConnectClient.d.ts +4 -2
- package/dist-types/commands/CreateEvaluationFormCommand.d.ts +3 -4
- package/dist-types/commands/CreateParticipantCommand.d.ts +1 -1
- package/dist-types/commands/CreatePromptCommand.d.ts +1 -3
- package/dist-types/commands/DeleteQueueCommand.d.ts +90 -0
- package/dist-types/commands/DeleteRoutingProfileCommand.d.ts +90 -0
- package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +1 -2
- package/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +1 -2
- package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +3 -4
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +60 -220
- package/dist-types/models/models_1.d.ts +188 -55
- package/dist-types/models/models_2.d.ts +54 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/Connect.d.ts +34 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/DeleteQueueCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/DeleteRoutingProfileCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetCurrentMetricDataCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +18 -23
- package/dist-types/ts3.4/models/models_1.d.ts +15 -11
- package/dist-types/ts3.4/models/models_2.d.ts +12 -2
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +17 -18
package/README.md
CHANGED
|
@@ -540,6 +540,14 @@ DeletePrompt
|
|
|
540
540
|
|
|
541
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
542
|
|
|
543
|
+
</details>
|
|
544
|
+
<details>
|
|
545
|
+
<summary>
|
|
546
|
+
DeleteQueue
|
|
547
|
+
</summary>
|
|
548
|
+
|
|
549
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/deletequeuecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/deletequeuecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/deletequeuecommandoutput.html)
|
|
550
|
+
|
|
543
551
|
</details>
|
|
544
552
|
<details>
|
|
545
553
|
<summary>
|
|
@@ -548,6 +556,14 @@ DeleteQuickConnect
|
|
|
548
556
|
|
|
549
557
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/deletequickconnectcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/deletequickconnectcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/deletequickconnectcommandoutput.html)
|
|
550
558
|
|
|
559
|
+
</details>
|
|
560
|
+
<details>
|
|
561
|
+
<summary>
|
|
562
|
+
DeleteRoutingProfile
|
|
563
|
+
</summary>
|
|
564
|
+
|
|
565
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/deleteroutingprofilecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/deleteroutingprofilecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/deleteroutingprofilecommandoutput.html)
|
|
566
|
+
|
|
551
567
|
</details>
|
|
552
568
|
<details>
|
|
553
569
|
<summary>
|
package/dist-cjs/Connect.js
CHANGED
|
@@ -43,7 +43,9 @@ const DeleteHoursOfOperationCommand_1 = require("./commands/DeleteHoursOfOperati
|
|
|
43
43
|
const DeleteInstanceCommand_1 = require("./commands/DeleteInstanceCommand");
|
|
44
44
|
const DeleteIntegrationAssociationCommand_1 = require("./commands/DeleteIntegrationAssociationCommand");
|
|
45
45
|
const DeletePromptCommand_1 = require("./commands/DeletePromptCommand");
|
|
46
|
+
const DeleteQueueCommand_1 = require("./commands/DeleteQueueCommand");
|
|
46
47
|
const DeleteQuickConnectCommand_1 = require("./commands/DeleteQuickConnectCommand");
|
|
48
|
+
const DeleteRoutingProfileCommand_1 = require("./commands/DeleteRoutingProfileCommand");
|
|
47
49
|
const DeleteRuleCommand_1 = require("./commands/DeleteRuleCommand");
|
|
48
50
|
const DeleteSecurityProfileCommand_1 = require("./commands/DeleteSecurityProfileCommand");
|
|
49
51
|
const DeleteTaskTemplateCommand_1 = require("./commands/DeleteTaskTemplateCommand");
|
|
@@ -239,7 +241,9 @@ const commands = {
|
|
|
239
241
|
DeleteInstanceCommand: DeleteInstanceCommand_1.DeleteInstanceCommand,
|
|
240
242
|
DeleteIntegrationAssociationCommand: DeleteIntegrationAssociationCommand_1.DeleteIntegrationAssociationCommand,
|
|
241
243
|
DeletePromptCommand: DeletePromptCommand_1.DeletePromptCommand,
|
|
244
|
+
DeleteQueueCommand: DeleteQueueCommand_1.DeleteQueueCommand,
|
|
242
245
|
DeleteQuickConnectCommand: DeleteQuickConnectCommand_1.DeleteQuickConnectCommand,
|
|
246
|
+
DeleteRoutingProfileCommand: DeleteRoutingProfileCommand_1.DeleteRoutingProfileCommand,
|
|
243
247
|
DeleteRuleCommand: DeleteRuleCommand_1.DeleteRuleCommand,
|
|
244
248
|
DeleteSecurityProfileCommand: DeleteSecurityProfileCommand_1.DeleteSecurityProfileCommand,
|
|
245
249
|
DeleteTaskTemplateCommand: DeleteTaskTemplateCommand_1.DeleteTaskTemplateCommand,
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteQueueCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class DeleteQueueCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteQueueCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "ConnectClient";
|
|
28
|
+
const commandName = "DeleteQueueCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_DeleteQueueCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_DeleteQueueCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DeleteQueueCommand = DeleteQueueCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteRoutingProfileCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class DeleteRoutingProfileCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteRoutingProfileCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "ConnectClient";
|
|
28
|
+
const commandName = "DeleteRoutingProfileCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_DeleteRoutingProfileCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_DeleteRoutingProfileCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DeleteRoutingProfileCommand = DeleteRoutingProfileCommand;
|
|
@@ -42,7 +42,9 @@ tslib_1.__exportStar(require("./DeleteHoursOfOperationCommand"), exports);
|
|
|
42
42
|
tslib_1.__exportStar(require("./DeleteInstanceCommand"), exports);
|
|
43
43
|
tslib_1.__exportStar(require("./DeleteIntegrationAssociationCommand"), exports);
|
|
44
44
|
tslib_1.__exportStar(require("./DeletePromptCommand"), exports);
|
|
45
|
+
tslib_1.__exportStar(require("./DeleteQueueCommand"), exports);
|
|
45
46
|
tslib_1.__exportStar(require("./DeleteQuickConnectCommand"), exports);
|
|
47
|
+
tslib_1.__exportStar(require("./DeleteRoutingProfileCommand"), exports);
|
|
46
48
|
tslib_1.__exportStar(require("./DeleteRuleCommand"), exports);
|
|
47
49
|
tslib_1.__exportStar(require("./DeleteSecurityProfileCommand"), exports);
|
|
48
50
|
tslib_1.__exportStar(require("./DeleteTaskTemplateCommand"), exports);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.de_UpdateUserSecurityProfilesCommand = exports.de_UpdateUserRoutingProfileCommand = exports.de_UpdateUserPhoneConfigCommand = exports.de_UpdateUserIdentityInfoCommand = exports.de_UpdateUserHierarchyStructureCommand = exports.de_UpdateUserHierarchyGroupNameCommand = exports.de_UpdateUserHierarchyCommand = exports.de_UpdateTrafficDistributionCommand = exports.de_UpdateTaskTemplateCommand = exports.de_UpdateSecurityProfileCommand = exports.de_UpdateRuleCommand = exports.de_UpdateRoutingProfileQueuesCommand = exports.de_UpdateRoutingProfileNameCommand = exports.de_UpdateRoutingProfileDefaultOutboundQueueCommand = exports.de_UpdateRoutingProfileConcurrencyCommand = exports.de_UpdateQuickConnectNameCommand = exports.de_UpdateQuickConnectConfigCommand = exports.de_UpdateQueueStatusCommand = exports.de_UpdateQueueOutboundCallerConfigCommand = exports.de_UpdateQueueNameCommand = exports.de_UpdateQueueMaxContactsCommand = exports.de_UpdateQueueHoursOfOperationCommand = exports.de_UpdatePromptCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateParticipantRoleConfigCommand = exports.de_UpdateInstanceStorageConfigCommand = exports.de_UpdateInstanceAttributeCommand = exports.de_UpdateHoursOfOperationCommand = exports.de_UpdateEvaluationFormCommand = exports.de_UpdateContactScheduleCommand = exports.de_UpdateContactFlowNameCommand = exports.de_UpdateContactFlowModuleMetadataCommand = exports.de_UpdateContactFlowModuleContentCommand = exports.de_UpdateContactFlowMetadataCommand = exports.de_UpdateContactFlowContentCommand = exports.de_UpdateContactEvaluationCommand = exports.de_UpdateContactAttributesCommand = exports.de_UpdateContactCommand = void 0;
|
|
3
|
+
exports.se_DeleteUserCommand = exports.se_DeleteUseCaseCommand = exports.se_DeleteTrafficDistributionGroupCommand = exports.se_DeleteTaskTemplateCommand = exports.se_DeleteSecurityProfileCommand = exports.se_DeleteRuleCommand = exports.se_DeleteRoutingProfileCommand = exports.se_DeleteQuickConnectCommand = exports.se_DeleteQueueCommand = exports.se_DeletePromptCommand = exports.se_DeleteIntegrationAssociationCommand = exports.se_DeleteInstanceCommand = exports.se_DeleteHoursOfOperationCommand = exports.se_DeleteEvaluationFormCommand = exports.se_DeleteContactFlowModuleCommand = exports.se_DeleteContactFlowCommand = exports.se_DeleteContactEvaluationCommand = exports.se_DeactivateEvaluationFormCommand = exports.se_CreateVocabularyCommand = exports.se_CreateUserHierarchyGroupCommand = exports.se_CreateUserCommand = exports.se_CreateUseCaseCommand = exports.se_CreateTrafficDistributionGroupCommand = exports.se_CreateTaskTemplateCommand = exports.se_CreateSecurityProfileCommand = exports.se_CreateRuleCommand = exports.se_CreateRoutingProfileCommand = exports.se_CreateQuickConnectCommand = exports.se_CreateQueueCommand = exports.se_CreatePromptCommand = exports.se_CreateParticipantCommand = exports.se_CreateIntegrationAssociationCommand = exports.se_CreateInstanceCommand = exports.se_CreateHoursOfOperationCommand = exports.se_CreateEvaluationFormCommand = exports.se_CreateContactFlowModuleCommand = exports.se_CreateContactFlowCommand = exports.se_CreateAgentStatusCommand = exports.se_ClaimPhoneNumberCommand = exports.se_AssociateSecurityKeyCommand = exports.se_AssociateRoutingProfileQueuesCommand = exports.se_AssociateQueueQuickConnectsCommand = exports.se_AssociatePhoneNumberContactFlowCommand = exports.se_AssociateLexBotCommand = exports.se_AssociateLambdaFunctionCommand = exports.se_AssociateInstanceStorageConfigCommand = exports.se_AssociateDefaultVocabularyCommand = exports.se_AssociateBotCommand = exports.se_AssociateApprovedOriginCommand = exports.se_ActivateEvaluationFormCommand = void 0;
|
|
4
|
+
exports.se_ListContactReferencesCommand = exports.se_ListContactFlowsCommand = exports.se_ListContactFlowModulesCommand = exports.se_ListContactEvaluationsCommand = exports.se_ListBotsCommand = exports.se_ListApprovedOriginsCommand = exports.se_ListAgentStatusesCommand = exports.se_GetTrafficDistributionCommand = exports.se_GetTaskTemplateCommand = exports.se_GetPromptFileCommand = exports.se_GetMetricDataV2Command = exports.se_GetMetricDataCommand = exports.se_GetFederationTokenCommand = exports.se_GetCurrentUserDataCommand = exports.se_GetCurrentMetricDataCommand = exports.se_GetContactAttributesCommand = exports.se_DismissUserContactCommand = exports.se_DisassociateSecurityKeyCommand = exports.se_DisassociateRoutingProfileQueuesCommand = exports.se_DisassociateQueueQuickConnectsCommand = exports.se_DisassociatePhoneNumberContactFlowCommand = exports.se_DisassociateLexBotCommand = exports.se_DisassociateLambdaFunctionCommand = exports.se_DisassociateInstanceStorageConfigCommand = exports.se_DisassociateBotCommand = exports.se_DisassociateApprovedOriginCommand = exports.se_DescribeVocabularyCommand = exports.se_DescribeUserHierarchyStructureCommand = exports.se_DescribeUserHierarchyGroupCommand = exports.se_DescribeUserCommand = exports.se_DescribeTrafficDistributionGroupCommand = exports.se_DescribeSecurityProfileCommand = exports.se_DescribeRuleCommand = exports.se_DescribeRoutingProfileCommand = exports.se_DescribeQuickConnectCommand = exports.se_DescribeQueueCommand = exports.se_DescribePromptCommand = exports.se_DescribePhoneNumberCommand = exports.se_DescribeInstanceStorageConfigCommand = exports.se_DescribeInstanceAttributeCommand = exports.se_DescribeInstanceCommand = exports.se_DescribeHoursOfOperationCommand = exports.se_DescribeEvaluationFormCommand = exports.se_DescribeContactFlowModuleCommand = exports.se_DescribeContactFlowCommand = exports.se_DescribeContactEvaluationCommand = exports.se_DescribeContactCommand = exports.se_DescribeAgentStatusCommand = exports.se_DeleteVocabularyCommand = exports.se_DeleteUserHierarchyGroupCommand = void 0;
|
|
5
|
+
exports.se_StopContactCommand = exports.se_StartTaskContactCommand = exports.se_StartOutboundVoiceContactCommand = exports.se_StartContactStreamingCommand = exports.se_StartContactRecordingCommand = exports.se_StartContactEvaluationCommand = exports.se_StartChatContactCommand = exports.se_SearchVocabulariesCommand = exports.se_SearchUsersCommand = exports.se_SearchSecurityProfilesCommand = exports.se_SearchRoutingProfilesCommand = exports.se_SearchResourceTagsCommand = exports.se_SearchQuickConnectsCommand = exports.se_SearchQueuesCommand = exports.se_SearchPromptsCommand = exports.se_SearchHoursOfOperationsCommand = exports.se_SearchAvailablePhoneNumbersCommand = exports.se_ResumeContactRecordingCommand = exports.se_ReplicateInstanceCommand = exports.se_ReleasePhoneNumberCommand = exports.se_PutUserStatusCommand = exports.se_MonitorContactCommand = exports.se_ListUsersCommand = exports.se_ListUserHierarchyGroupsCommand = exports.se_ListUseCasesCommand = exports.se_ListTrafficDistributionGroupsCommand = exports.se_ListTaskTemplatesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSecurityProfilesCommand = exports.se_ListSecurityProfilePermissionsCommand = exports.se_ListSecurityKeysCommand = exports.se_ListRulesCommand = exports.se_ListRoutingProfilesCommand = exports.se_ListRoutingProfileQueuesCommand = exports.se_ListQuickConnectsCommand = exports.se_ListQueuesCommand = exports.se_ListQueueQuickConnectsCommand = exports.se_ListPromptsCommand = exports.se_ListPhoneNumbersV2Command = exports.se_ListPhoneNumbersCommand = exports.se_ListLexBotsCommand = exports.se_ListLambdaFunctionsCommand = exports.se_ListIntegrationAssociationsCommand = exports.se_ListInstanceStorageConfigsCommand = exports.se_ListInstancesCommand = exports.se_ListInstanceAttributesCommand = exports.se_ListHoursOfOperationsCommand = exports.se_ListEvaluationFormVersionsCommand = exports.se_ListEvaluationFormsCommand = exports.se_ListDefaultVocabulariesCommand = void 0;
|
|
6
|
+
exports.de_AssociateDefaultVocabularyCommand = exports.de_AssociateBotCommand = exports.de_AssociateApprovedOriginCommand = exports.de_ActivateEvaluationFormCommand = exports.se_UpdateUserSecurityProfilesCommand = exports.se_UpdateUserRoutingProfileCommand = exports.se_UpdateUserPhoneConfigCommand = exports.se_UpdateUserIdentityInfoCommand = exports.se_UpdateUserHierarchyStructureCommand = exports.se_UpdateUserHierarchyGroupNameCommand = exports.se_UpdateUserHierarchyCommand = exports.se_UpdateTrafficDistributionCommand = exports.se_UpdateTaskTemplateCommand = exports.se_UpdateSecurityProfileCommand = exports.se_UpdateRuleCommand = exports.se_UpdateRoutingProfileQueuesCommand = exports.se_UpdateRoutingProfileNameCommand = exports.se_UpdateRoutingProfileDefaultOutboundQueueCommand = exports.se_UpdateRoutingProfileConcurrencyCommand = exports.se_UpdateQuickConnectNameCommand = exports.se_UpdateQuickConnectConfigCommand = exports.se_UpdateQueueStatusCommand = exports.se_UpdateQueueOutboundCallerConfigCommand = exports.se_UpdateQueueNameCommand = exports.se_UpdateQueueMaxContactsCommand = exports.se_UpdateQueueHoursOfOperationCommand = exports.se_UpdatePromptCommand = exports.se_UpdatePhoneNumberCommand = exports.se_UpdateParticipantRoleConfigCommand = exports.se_UpdateInstanceStorageConfigCommand = exports.se_UpdateInstanceAttributeCommand = exports.se_UpdateHoursOfOperationCommand = exports.se_UpdateEvaluationFormCommand = exports.se_UpdateContactScheduleCommand = exports.se_UpdateContactFlowNameCommand = exports.se_UpdateContactFlowModuleMetadataCommand = exports.se_UpdateContactFlowModuleContentCommand = exports.se_UpdateContactFlowMetadataCommand = exports.se_UpdateContactFlowContentCommand = exports.se_UpdateContactEvaluationCommand = exports.se_UpdateContactAttributesCommand = exports.se_UpdateContactCommand = exports.se_UpdateAgentStatusCommand = exports.se_UntagResourceCommand = exports.se_TransferContactCommand = exports.se_TagResourceCommand = exports.se_SuspendContactRecordingCommand = exports.se_SubmitContactEvaluationCommand = exports.se_StopContactStreamingCommand = exports.se_StopContactRecordingCommand = void 0;
|
|
7
|
+
exports.de_DescribeContactCommand = exports.de_DescribeAgentStatusCommand = exports.de_DeleteVocabularyCommand = exports.de_DeleteUserHierarchyGroupCommand = exports.de_DeleteUserCommand = exports.de_DeleteUseCaseCommand = exports.de_DeleteTrafficDistributionGroupCommand = exports.de_DeleteTaskTemplateCommand = exports.de_DeleteSecurityProfileCommand = exports.de_DeleteRuleCommand = exports.de_DeleteRoutingProfileCommand = exports.de_DeleteQuickConnectCommand = exports.de_DeleteQueueCommand = exports.de_DeletePromptCommand = exports.de_DeleteIntegrationAssociationCommand = exports.de_DeleteInstanceCommand = exports.de_DeleteHoursOfOperationCommand = exports.de_DeleteEvaluationFormCommand = exports.de_DeleteContactFlowModuleCommand = exports.de_DeleteContactFlowCommand = exports.de_DeleteContactEvaluationCommand = exports.de_DeactivateEvaluationFormCommand = exports.de_CreateVocabularyCommand = exports.de_CreateUserHierarchyGroupCommand = exports.de_CreateUserCommand = exports.de_CreateUseCaseCommand = exports.de_CreateTrafficDistributionGroupCommand = exports.de_CreateTaskTemplateCommand = exports.de_CreateSecurityProfileCommand = exports.de_CreateRuleCommand = exports.de_CreateRoutingProfileCommand = exports.de_CreateQuickConnectCommand = exports.de_CreateQueueCommand = exports.de_CreatePromptCommand = exports.de_CreateParticipantCommand = exports.de_CreateIntegrationAssociationCommand = exports.de_CreateInstanceCommand = exports.de_CreateHoursOfOperationCommand = exports.de_CreateEvaluationFormCommand = exports.de_CreateContactFlowModuleCommand = exports.de_CreateContactFlowCommand = exports.de_CreateAgentStatusCommand = exports.de_ClaimPhoneNumberCommand = exports.de_AssociateSecurityKeyCommand = exports.de_AssociateRoutingProfileQueuesCommand = exports.de_AssociateQueueQuickConnectsCommand = exports.de_AssociatePhoneNumberContactFlowCommand = exports.de_AssociateLexBotCommand = exports.de_AssociateLambdaFunctionCommand = exports.de_AssociateInstanceStorageConfigCommand = void 0;
|
|
8
|
+
exports.de_ListHoursOfOperationsCommand = exports.de_ListEvaluationFormVersionsCommand = exports.de_ListEvaluationFormsCommand = exports.de_ListDefaultVocabulariesCommand = exports.de_ListContactReferencesCommand = exports.de_ListContactFlowsCommand = exports.de_ListContactFlowModulesCommand = exports.de_ListContactEvaluationsCommand = exports.de_ListBotsCommand = exports.de_ListApprovedOriginsCommand = exports.de_ListAgentStatusesCommand = exports.de_GetTrafficDistributionCommand = exports.de_GetTaskTemplateCommand = exports.de_GetPromptFileCommand = exports.de_GetMetricDataV2Command = exports.de_GetMetricDataCommand = exports.de_GetFederationTokenCommand = exports.de_GetCurrentUserDataCommand = exports.de_GetCurrentMetricDataCommand = exports.de_GetContactAttributesCommand = exports.de_DismissUserContactCommand = exports.de_DisassociateSecurityKeyCommand = exports.de_DisassociateRoutingProfileQueuesCommand = exports.de_DisassociateQueueQuickConnectsCommand = exports.de_DisassociatePhoneNumberContactFlowCommand = exports.de_DisassociateLexBotCommand = exports.de_DisassociateLambdaFunctionCommand = exports.de_DisassociateInstanceStorageConfigCommand = exports.de_DisassociateBotCommand = exports.de_DisassociateApprovedOriginCommand = exports.de_DescribeVocabularyCommand = exports.de_DescribeUserHierarchyStructureCommand = exports.de_DescribeUserHierarchyGroupCommand = exports.de_DescribeUserCommand = exports.de_DescribeTrafficDistributionGroupCommand = exports.de_DescribeSecurityProfileCommand = exports.de_DescribeRuleCommand = exports.de_DescribeRoutingProfileCommand = exports.de_DescribeQuickConnectCommand = exports.de_DescribeQueueCommand = exports.de_DescribePromptCommand = exports.de_DescribePhoneNumberCommand = exports.de_DescribeInstanceStorageConfigCommand = exports.de_DescribeInstanceAttributeCommand = exports.de_DescribeInstanceCommand = exports.de_DescribeHoursOfOperationCommand = exports.de_DescribeEvaluationFormCommand = exports.de_DescribeContactFlowModuleCommand = exports.de_DescribeContactFlowCommand = exports.de_DescribeContactEvaluationCommand = void 0;
|
|
9
|
+
exports.de_SuspendContactRecordingCommand = exports.de_SubmitContactEvaluationCommand = exports.de_StopContactStreamingCommand = exports.de_StopContactRecordingCommand = exports.de_StopContactCommand = exports.de_StartTaskContactCommand = exports.de_StartOutboundVoiceContactCommand = exports.de_StartContactStreamingCommand = exports.de_StartContactRecordingCommand = exports.de_StartContactEvaluationCommand = exports.de_StartChatContactCommand = exports.de_SearchVocabulariesCommand = exports.de_SearchUsersCommand = exports.de_SearchSecurityProfilesCommand = exports.de_SearchRoutingProfilesCommand = exports.de_SearchResourceTagsCommand = exports.de_SearchQuickConnectsCommand = exports.de_SearchQueuesCommand = exports.de_SearchPromptsCommand = exports.de_SearchHoursOfOperationsCommand = exports.de_SearchAvailablePhoneNumbersCommand = exports.de_ResumeContactRecordingCommand = exports.de_ReplicateInstanceCommand = exports.de_ReleasePhoneNumberCommand = exports.de_PutUserStatusCommand = exports.de_MonitorContactCommand = exports.de_ListUsersCommand = exports.de_ListUserHierarchyGroupsCommand = exports.de_ListUseCasesCommand = exports.de_ListTrafficDistributionGroupsCommand = exports.de_ListTaskTemplatesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSecurityProfilesCommand = exports.de_ListSecurityProfilePermissionsCommand = exports.de_ListSecurityKeysCommand = exports.de_ListRulesCommand = exports.de_ListRoutingProfilesCommand = exports.de_ListRoutingProfileQueuesCommand = exports.de_ListQuickConnectsCommand = exports.de_ListQueuesCommand = exports.de_ListQueueQuickConnectsCommand = exports.de_ListPromptsCommand = exports.de_ListPhoneNumbersV2Command = exports.de_ListPhoneNumbersCommand = exports.de_ListLexBotsCommand = exports.de_ListLambdaFunctionsCommand = exports.de_ListIntegrationAssociationsCommand = exports.de_ListInstanceStorageConfigsCommand = exports.de_ListInstancesCommand = exports.de_ListInstanceAttributesCommand = void 0;
|
|
10
|
+
exports.de_UpdateUserSecurityProfilesCommand = exports.de_UpdateUserRoutingProfileCommand = exports.de_UpdateUserPhoneConfigCommand = exports.de_UpdateUserIdentityInfoCommand = exports.de_UpdateUserHierarchyStructureCommand = exports.de_UpdateUserHierarchyGroupNameCommand = exports.de_UpdateUserHierarchyCommand = exports.de_UpdateTrafficDistributionCommand = exports.de_UpdateTaskTemplateCommand = exports.de_UpdateSecurityProfileCommand = exports.de_UpdateRuleCommand = exports.de_UpdateRoutingProfileQueuesCommand = exports.de_UpdateRoutingProfileNameCommand = exports.de_UpdateRoutingProfileDefaultOutboundQueueCommand = exports.de_UpdateRoutingProfileConcurrencyCommand = exports.de_UpdateQuickConnectNameCommand = exports.de_UpdateQuickConnectConfigCommand = exports.de_UpdateQueueStatusCommand = exports.de_UpdateQueueOutboundCallerConfigCommand = exports.de_UpdateQueueNameCommand = exports.de_UpdateQueueMaxContactsCommand = exports.de_UpdateQueueHoursOfOperationCommand = exports.de_UpdatePromptCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateParticipantRoleConfigCommand = exports.de_UpdateInstanceStorageConfigCommand = exports.de_UpdateInstanceAttributeCommand = exports.de_UpdateHoursOfOperationCommand = exports.de_UpdateEvaluationFormCommand = exports.de_UpdateContactScheduleCommand = exports.de_UpdateContactFlowNameCommand = exports.de_UpdateContactFlowModuleMetadataCommand = exports.de_UpdateContactFlowModuleContentCommand = exports.de_UpdateContactFlowMetadataCommand = exports.de_UpdateContactFlowContentCommand = exports.de_UpdateContactEvaluationCommand = exports.de_UpdateContactAttributesCommand = exports.de_UpdateContactCommand = exports.de_UpdateAgentStatusCommand = exports.de_UntagResourceCommand = exports.de_TransferContactCommand = exports.de_TagResourceCommand = void 0;
|
|
11
11
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
12
12
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
13
13
|
const uuid_1 = require("uuid");
|
|
@@ -996,6 +996,24 @@ const se_DeletePromptCommand = async (input, context) => {
|
|
|
996
996
|
});
|
|
997
997
|
};
|
|
998
998
|
exports.se_DeletePromptCommand = se_DeletePromptCommand;
|
|
999
|
+
const se_DeleteQueueCommand = async (input, context) => {
|
|
1000
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1001
|
+
const headers = {};
|
|
1002
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/queues/{InstanceId}/{QueueId}";
|
|
1003
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "InstanceId", () => input.InstanceId, "{InstanceId}", false);
|
|
1004
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "QueueId", () => input.QueueId, "{QueueId}", false);
|
|
1005
|
+
let body;
|
|
1006
|
+
return new protocol_http_1.HttpRequest({
|
|
1007
|
+
protocol,
|
|
1008
|
+
hostname,
|
|
1009
|
+
port,
|
|
1010
|
+
method: "DELETE",
|
|
1011
|
+
headers,
|
|
1012
|
+
path: resolvedPath,
|
|
1013
|
+
body,
|
|
1014
|
+
});
|
|
1015
|
+
};
|
|
1016
|
+
exports.se_DeleteQueueCommand = se_DeleteQueueCommand;
|
|
999
1017
|
const se_DeleteQuickConnectCommand = async (input, context) => {
|
|
1000
1018
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1001
1019
|
const headers = {};
|
|
@@ -1015,6 +1033,25 @@ const se_DeleteQuickConnectCommand = async (input, context) => {
|
|
|
1015
1033
|
});
|
|
1016
1034
|
};
|
|
1017
1035
|
exports.se_DeleteQuickConnectCommand = se_DeleteQuickConnectCommand;
|
|
1036
|
+
const se_DeleteRoutingProfileCommand = async (input, context) => {
|
|
1037
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1038
|
+
const headers = {};
|
|
1039
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1040
|
+
"/routing-profiles/{InstanceId}/{RoutingProfileId}";
|
|
1041
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "InstanceId", () => input.InstanceId, "{InstanceId}", false);
|
|
1042
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RoutingProfileId", () => input.RoutingProfileId, "{RoutingProfileId}", false);
|
|
1043
|
+
let body;
|
|
1044
|
+
return new protocol_http_1.HttpRequest({
|
|
1045
|
+
protocol,
|
|
1046
|
+
hostname,
|
|
1047
|
+
port,
|
|
1048
|
+
method: "DELETE",
|
|
1049
|
+
headers,
|
|
1050
|
+
path: resolvedPath,
|
|
1051
|
+
body,
|
|
1052
|
+
});
|
|
1053
|
+
};
|
|
1054
|
+
exports.se_DeleteRoutingProfileCommand = se_DeleteRoutingProfileCommand;
|
|
1018
1055
|
const se_DeleteRuleCommand = async (input, context) => {
|
|
1019
1056
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1020
1057
|
const headers = {};
|
|
@@ -6488,6 +6525,51 @@ const de_DeletePromptCommandError = async (output, context) => {
|
|
|
6488
6525
|
});
|
|
6489
6526
|
}
|
|
6490
6527
|
};
|
|
6528
|
+
const de_DeleteQueueCommand = async (output, context) => {
|
|
6529
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6530
|
+
return de_DeleteQueueCommandError(output, context);
|
|
6531
|
+
}
|
|
6532
|
+
const contents = (0, smithy_client_1.map)({
|
|
6533
|
+
$metadata: deserializeMetadata(output),
|
|
6534
|
+
});
|
|
6535
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
6536
|
+
return contents;
|
|
6537
|
+
};
|
|
6538
|
+
exports.de_DeleteQueueCommand = de_DeleteQueueCommand;
|
|
6539
|
+
const de_DeleteQueueCommandError = async (output, context) => {
|
|
6540
|
+
const parsedOutput = {
|
|
6541
|
+
...output,
|
|
6542
|
+
body: await parseErrorBody(output.body, context),
|
|
6543
|
+
};
|
|
6544
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6545
|
+
switch (errorCode) {
|
|
6546
|
+
case "InternalServiceException":
|
|
6547
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
6548
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
6549
|
+
case "InvalidParameterException":
|
|
6550
|
+
case "com.amazonaws.connect#InvalidParameterException":
|
|
6551
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
6552
|
+
case "InvalidRequestException":
|
|
6553
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
6554
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
6555
|
+
case "ResourceInUseException":
|
|
6556
|
+
case "com.amazonaws.connect#ResourceInUseException":
|
|
6557
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
6558
|
+
case "ResourceNotFoundException":
|
|
6559
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
6560
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6561
|
+
case "ThrottlingException":
|
|
6562
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
6563
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6564
|
+
default:
|
|
6565
|
+
const parsedBody = parsedOutput.body;
|
|
6566
|
+
return throwDefaultError({
|
|
6567
|
+
output,
|
|
6568
|
+
parsedBody,
|
|
6569
|
+
errorCode,
|
|
6570
|
+
});
|
|
6571
|
+
}
|
|
6572
|
+
};
|
|
6491
6573
|
const de_DeleteQuickConnectCommand = async (output, context) => {
|
|
6492
6574
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6493
6575
|
return de_DeleteQuickConnectCommandError(output, context);
|
|
@@ -6530,6 +6612,51 @@ const de_DeleteQuickConnectCommandError = async (output, context) => {
|
|
|
6530
6612
|
});
|
|
6531
6613
|
}
|
|
6532
6614
|
};
|
|
6615
|
+
const de_DeleteRoutingProfileCommand = async (output, context) => {
|
|
6616
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6617
|
+
return de_DeleteRoutingProfileCommandError(output, context);
|
|
6618
|
+
}
|
|
6619
|
+
const contents = (0, smithy_client_1.map)({
|
|
6620
|
+
$metadata: deserializeMetadata(output),
|
|
6621
|
+
});
|
|
6622
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
6623
|
+
return contents;
|
|
6624
|
+
};
|
|
6625
|
+
exports.de_DeleteRoutingProfileCommand = de_DeleteRoutingProfileCommand;
|
|
6626
|
+
const de_DeleteRoutingProfileCommandError = async (output, context) => {
|
|
6627
|
+
const parsedOutput = {
|
|
6628
|
+
...output,
|
|
6629
|
+
body: await parseErrorBody(output.body, context),
|
|
6630
|
+
};
|
|
6631
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6632
|
+
switch (errorCode) {
|
|
6633
|
+
case "InternalServiceException":
|
|
6634
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
6635
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
6636
|
+
case "InvalidParameterException":
|
|
6637
|
+
case "com.amazonaws.connect#InvalidParameterException":
|
|
6638
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
6639
|
+
case "InvalidRequestException":
|
|
6640
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
6641
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
6642
|
+
case "ResourceInUseException":
|
|
6643
|
+
case "com.amazonaws.connect#ResourceInUseException":
|
|
6644
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
6645
|
+
case "ResourceNotFoundException":
|
|
6646
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
6647
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6648
|
+
case "ThrottlingException":
|
|
6649
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
6650
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6651
|
+
default:
|
|
6652
|
+
const parsedBody = parsedOutput.body;
|
|
6653
|
+
return throwDefaultError({
|
|
6654
|
+
output,
|
|
6655
|
+
parsedBody,
|
|
6656
|
+
errorCode,
|
|
6657
|
+
});
|
|
6658
|
+
}
|
|
6659
|
+
};
|
|
6533
6660
|
const de_DeleteRuleCommand = async (output, context) => {
|
|
6534
6661
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6535
6662
|
return de_DeleteRuleCommandError(output, context);
|
package/dist-es/Connect.js
CHANGED
|
@@ -40,7 +40,9 @@ import { DeleteHoursOfOperationCommand, } from "./commands/DeleteHoursOfOperatio
|
|
|
40
40
|
import { DeleteInstanceCommand, } from "./commands/DeleteInstanceCommand";
|
|
41
41
|
import { DeleteIntegrationAssociationCommand, } from "./commands/DeleteIntegrationAssociationCommand";
|
|
42
42
|
import { DeletePromptCommand, } from "./commands/DeletePromptCommand";
|
|
43
|
+
import { DeleteQueueCommand } from "./commands/DeleteQueueCommand";
|
|
43
44
|
import { DeleteQuickConnectCommand, } from "./commands/DeleteQuickConnectCommand";
|
|
45
|
+
import { DeleteRoutingProfileCommand, } from "./commands/DeleteRoutingProfileCommand";
|
|
44
46
|
import { DeleteRuleCommand } from "./commands/DeleteRuleCommand";
|
|
45
47
|
import { DeleteSecurityProfileCommand, } from "./commands/DeleteSecurityProfileCommand";
|
|
46
48
|
import { DeleteTaskTemplateCommand, } from "./commands/DeleteTaskTemplateCommand";
|
|
@@ -236,7 +238,9 @@ const commands = {
|
|
|
236
238
|
DeleteInstanceCommand,
|
|
237
239
|
DeleteIntegrationAssociationCommand,
|
|
238
240
|
DeletePromptCommand,
|
|
241
|
+
DeleteQueueCommand,
|
|
239
242
|
DeleteQuickConnectCommand,
|
|
243
|
+
DeleteRoutingProfileCommand,
|
|
240
244
|
DeleteRuleCommand,
|
|
241
245
|
DeleteSecurityProfileCommand,
|
|
242
246
|
DeleteTaskTemplateCommand,
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_DeleteQueueCommand, se_DeleteQueueCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteQueueCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteQueueCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ConnectClient";
|
|
25
|
+
const commandName = "DeleteQueueCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DeleteQueueCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DeleteQueueCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_DeleteRoutingProfileCommand, se_DeleteRoutingProfileCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteRoutingProfileCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteRoutingProfileCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ConnectClient";
|
|
25
|
+
const commandName = "DeleteRoutingProfileCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DeleteRoutingProfileCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DeleteRoutingProfileCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -39,7 +39,9 @@ export * from "./DeleteHoursOfOperationCommand";
|
|
|
39
39
|
export * from "./DeleteInstanceCommand";
|
|
40
40
|
export * from "./DeleteIntegrationAssociationCommand";
|
|
41
41
|
export * from "./DeletePromptCommand";
|
|
42
|
+
export * from "./DeleteQueueCommand";
|
|
42
43
|
export * from "./DeleteQuickConnectCommand";
|
|
44
|
+
export * from "./DeleteRoutingProfileCommand";
|
|
43
45
|
export * from "./DeleteRuleCommand";
|
|
44
46
|
export * from "./DeleteSecurityProfileCommand";
|
|
45
47
|
export * from "./DeleteTaskTemplateCommand";
|