@aws-sdk/client-connect 3.458.0 → 3.461.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 +104 -0
- package/dist-cjs/Connect.js +26 -0
- package/dist-cjs/commands/AssociateAnalyticsDataSetCommand.js +51 -0
- package/dist-cjs/commands/AssociateFlowCommand.js +51 -0
- package/dist-cjs/commands/BatchAssociateAnalyticsDataSetCommand.js +51 -0
- package/dist-cjs/commands/BatchDisassociateAnalyticsDataSetCommand.js +51 -0
- package/dist-cjs/commands/DisassociateAnalyticsDataSetCommand.js +51 -0
- package/dist-cjs/commands/DisassociateFlowCommand.js +51 -0
- package/dist-cjs/commands/GetFlowAssociationCommand.js +51 -0
- package/dist-cjs/commands/ImportPhoneNumberCommand.js +51 -0
- package/dist-cjs/commands/ListAnalyticsDataAssociationsCommand.js +51 -0
- package/dist-cjs/commands/ListFlowAssociationsCommand.js +51 -0
- package/dist-cjs/commands/ListRealtimeContactAnalysisSegmentsV2Command.js +51 -0
- package/dist-cjs/commands/SendChatIntegrationEventCommand.js +51 -0
- package/dist-cjs/commands/StartWebRTCContactCommand.js +52 -0
- package/dist-cjs/commands/index.js +13 -0
- package/dist-cjs/models/models_0.js +11 -10
- package/dist-cjs/models/models_1.js +81 -51
- package/dist-cjs/models/models_2.js +72 -1
- package/dist-cjs/pagination/ListFlowAssociationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1056 -31
- package/dist-es/Connect.js +26 -0
- package/dist-es/commands/AssociateAnalyticsDataSetCommand.js +47 -0
- package/dist-es/commands/AssociateFlowCommand.js +47 -0
- package/dist-es/commands/BatchAssociateAnalyticsDataSetCommand.js +47 -0
- package/dist-es/commands/BatchDisassociateAnalyticsDataSetCommand.js +47 -0
- package/dist-es/commands/DisassociateAnalyticsDataSetCommand.js +47 -0
- package/dist-es/commands/DisassociateFlowCommand.js +47 -0
- package/dist-es/commands/GetFlowAssociationCommand.js +47 -0
- package/dist-es/commands/ImportPhoneNumberCommand.js +47 -0
- package/dist-es/commands/ListAnalyticsDataAssociationsCommand.js +47 -0
- package/dist-es/commands/ListFlowAssociationsCommand.js +47 -0
- package/dist-es/commands/ListRealtimeContactAnalysisSegmentsV2Command.js +47 -0
- package/dist-es/commands/SendChatIntegrationEventCommand.js +47 -0
- package/dist-es/commands/StartWebRTCContactCommand.js +48 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/models/models_0.js +9 -8
- package/dist-es/models/models_1.js +79 -47
- package/dist-es/models/models_2.js +65 -0
- package/dist-es/pagination/ListFlowAssociationsPaginator.js +25 -0
- package/dist-es/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +1019 -21
- package/dist-types/Connect.d.ts +91 -0
- package/dist-types/ConnectClient.d.ts +15 -2
- package/dist-types/commands/AssociateAnalyticsDataSetCommand.d.ts +95 -0
- package/dist-types/commands/AssociateFlowCommand.d.ts +92 -0
- package/dist-types/commands/BatchAssociateAnalyticsDataSetCommand.d.ts +107 -0
- package/dist-types/commands/BatchDisassociateAnalyticsDataSetCommand.d.ts +102 -0
- package/dist-types/commands/CreateRuleCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserCommand.d.ts +1 -3
- package/dist-types/commands/DescribePhoneNumberCommand.d.ts +2 -1
- package/dist-types/commands/DescribeQuickConnectCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRuleCommand.d.ts +2 -2
- package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrafficDistributionGroupCommand.d.ts +1 -2
- package/dist-types/commands/DescribeUserCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateAnalyticsDataSetCommand.d.ts +89 -0
- package/dist-types/commands/DisassociateFlowCommand.d.ts +91 -0
- package/dist-types/commands/GetFlowAssociationCommand.d.ts +95 -0
- package/dist-types/commands/ImportPhoneNumberCommand.d.ts +100 -0
- package/dist-types/commands/ListAnalyticsDataAssociationsCommand.d.ts +101 -0
- package/dist-types/commands/ListFlowAssociationsCommand.d.ts +101 -0
- package/dist-types/commands/ListPhoneNumbersCommand.d.ts +2 -2
- package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +4 -2
- package/dist-types/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +185 -0
- package/dist-types/commands/ListRulesCommand.d.ts +2 -2
- package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +1 -1
- package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +2 -2
- package/dist-types/commands/SendChatIntegrationEventCommand.d.ts +125 -0
- package/dist-types/commands/StartChatContactCommand.d.ts +1 -1
- package/dist-types/commands/StartContactEvaluationCommand.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/StartOutboundVoiceContactCommand.d.ts +1 -1
- package/dist-types/commands/StartTaskContactCommand.d.ts +1 -1
- package/dist-types/commands/StartWebRTCContactCommand.d.ts +137 -0
- package/dist-types/commands/StopContactCommand.d.ts +1 -1
- package/dist-types/commands/StopContactRecordingCommand.d.ts +1 -1
- package/dist-types/commands/StopContactStreamingCommand.d.ts +1 -1
- package/dist-types/commands/SubmitContactEvaluationCommand.d.ts +1 -1
- package/dist-types/commands/SuspendContactRecordingCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/TransferContactCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAgentStatusCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactAttributesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactEvaluationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactFlowMetadataCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +271 -381
- package/dist-types/models/models_1.d.ts +3355 -3077
- package/dist-types/models/models_2.d.ts +1427 -2
- package/dist-types/pagination/ListFlowAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
- package/dist-types/ts3.4/Connect.d.ts +233 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +78 -0
- package/dist-types/ts3.4/commands/AssociateAnalyticsDataSetCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/AssociateFlowCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/BatchAssociateAnalyticsDataSetCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/BatchDisassociateAnalyticsDataSetCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeQuickConnectCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeRoutingProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeRuleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSecurityProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrafficDistributionGroupCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DisassociateAnalyticsDataSetCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DisassociateFlowCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetFlowAssociationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ImportPhoneNumberCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListAnalyticsDataAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListFlowAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +42 -0
- package/dist-types/ts3.4/commands/SendChatIntegrationEventCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartContactEvaluationCommand.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/StartOutboundVoiceContactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartTaskContactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartWebRTCContactCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StopContactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopContactRecordingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopContactStreamingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SubmitContactEvaluationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SuspendContactRecordingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TransferContactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAgentStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateContactAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateContactEvaluationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateContactFlowContentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateContactFlowMetadataCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateContactFlowModuleContentCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +69 -94
- package/dist-types/ts3.4/models/models_1.d.ts +388 -256
- package/dist-types/ts3.4/models/models_2.d.ts +334 -0
- package/dist-types/ts3.4/pagination/ListFlowAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
- package/package.json +12 -12
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
+
import { BatchAssociateAnalyticsDataSetRequest, BatchAssociateAnalyticsDataSetResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchAssociateAnalyticsDataSetCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchAssociateAnalyticsDataSetCommandInput extends BatchAssociateAnalyticsDataSetRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchAssociateAnalyticsDataSetCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchAssociateAnalyticsDataSetCommandOutput extends BatchAssociateAnalyticsDataSetResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>This API is in preview release for Amazon Connect and is subject to change.</p>
|
|
27
|
+
* <p>Associates a list of analytics datasets for a given Amazon Connect instance to a target account. You can
|
|
28
|
+
* associate multiple datasets in a single call.</p>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { ConnectClient, BatchAssociateAnalyticsDataSetCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
33
|
+
* // const { ConnectClient, BatchAssociateAnalyticsDataSetCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
34
|
+
* const client = new ConnectClient(config);
|
|
35
|
+
* const input = { // BatchAssociateAnalyticsDataSetRequest
|
|
36
|
+
* InstanceId: "STRING_VALUE", // required
|
|
37
|
+
* DataSetIds: [ // DataSetIds // required
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* TargetAccountId: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new BatchAssociateAnalyticsDataSetCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // BatchAssociateAnalyticsDataSetResponse
|
|
45
|
+
* // Created: [ // AnalyticsDataAssociationResults
|
|
46
|
+
* // { // AnalyticsDataAssociationResult
|
|
47
|
+
* // DataSetId: "STRING_VALUE",
|
|
48
|
+
* // TargetAccountId: "STRING_VALUE",
|
|
49
|
+
* // ResourceShareId: "STRING_VALUE",
|
|
50
|
+
* // ResourceShareArn: "STRING_VALUE",
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // Errors: [ // ErrorResults
|
|
54
|
+
* // { // ErrorResult
|
|
55
|
+
* // ErrorCode: "STRING_VALUE",
|
|
56
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param BatchAssociateAnalyticsDataSetCommandInput - {@link BatchAssociateAnalyticsDataSetCommandInput}
|
|
64
|
+
* @returns {@link BatchAssociateAnalyticsDataSetCommandOutput}
|
|
65
|
+
* @see {@link BatchAssociateAnalyticsDataSetCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link BatchAssociateAnalyticsDataSetCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
70
|
+
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
73
|
+
* <p>One or more of the specified parameters are not valid.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
76
|
+
* <p>The request is not valid.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
|
+
* <p>The specified resource was not found.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
82
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ConnectServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from Connect service.</p>
|
|
86
|
+
*
|
|
87
|
+
*/
|
|
88
|
+
export declare class BatchAssociateAnalyticsDataSetCommand extends $Command<BatchAssociateAnalyticsDataSetCommandInput, BatchAssociateAnalyticsDataSetCommandOutput, ConnectClientResolvedConfig> {
|
|
89
|
+
readonly input: BatchAssociateAnalyticsDataSetCommandInput;
|
|
90
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
91
|
+
/**
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
constructor(input: BatchAssociateAnalyticsDataSetCommandInput);
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchAssociateAnalyticsDataSetCommandInput, BatchAssociateAnalyticsDataSetCommandOutput>;
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
private serialize;
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
*/
|
|
106
|
+
private deserialize;
|
|
107
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
+
import { BatchDisassociateAnalyticsDataSetRequest, BatchDisassociateAnalyticsDataSetResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchDisassociateAnalyticsDataSetCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchDisassociateAnalyticsDataSetCommandInput extends BatchDisassociateAnalyticsDataSetRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchDisassociateAnalyticsDataSetCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchDisassociateAnalyticsDataSetCommandOutput extends BatchDisassociateAnalyticsDataSetResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>This API is in preview release for Amazon Connect and is subject to change.</p>
|
|
27
|
+
* <p>Removes a list of analytics datasets associated with a given Amazon Connect instance.
|
|
28
|
+
* You can disassociate multiple datasets in a single call.</p>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { ConnectClient, BatchDisassociateAnalyticsDataSetCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
33
|
+
* // const { ConnectClient, BatchDisassociateAnalyticsDataSetCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
34
|
+
* const client = new ConnectClient(config);
|
|
35
|
+
* const input = { // BatchDisassociateAnalyticsDataSetRequest
|
|
36
|
+
* InstanceId: "STRING_VALUE", // required
|
|
37
|
+
* DataSetIds: [ // DataSetIds // required
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* TargetAccountId: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new BatchDisassociateAnalyticsDataSetCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // BatchDisassociateAnalyticsDataSetResponse
|
|
45
|
+
* // Deleted: [ // DataSetIds
|
|
46
|
+
* // "STRING_VALUE",
|
|
47
|
+
* // ],
|
|
48
|
+
* // Errors: [ // ErrorResults
|
|
49
|
+
* // { // ErrorResult
|
|
50
|
+
* // ErrorCode: "STRING_VALUE",
|
|
51
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
52
|
+
* // },
|
|
53
|
+
* // ],
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param BatchDisassociateAnalyticsDataSetCommandInput - {@link BatchDisassociateAnalyticsDataSetCommandInput}
|
|
59
|
+
* @returns {@link BatchDisassociateAnalyticsDataSetCommandOutput}
|
|
60
|
+
* @see {@link BatchDisassociateAnalyticsDataSetCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link BatchDisassociateAnalyticsDataSetCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
65
|
+
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
68
|
+
* <p>One or more of the specified parameters are not valid.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
71
|
+
* <p>The request is not valid.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
74
|
+
* <p>The specified resource was not found.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
77
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ConnectServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from Connect service.</p>
|
|
81
|
+
*
|
|
82
|
+
*/
|
|
83
|
+
export declare class BatchDisassociateAnalyticsDataSetCommand extends $Command<BatchDisassociateAnalyticsDataSetCommandInput, BatchDisassociateAnalyticsDataSetCommandOutput, ConnectClientResolvedConfig> {
|
|
84
|
+
readonly input: BatchDisassociateAnalyticsDataSetCommandInput;
|
|
85
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
86
|
+
/**
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
constructor(input: BatchDisassociateAnalyticsDataSetCommandInput);
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchDisassociateAnalyticsDataSetCommandInput, BatchDisassociateAnalyticsDataSetCommandOutput>;
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
private serialize;
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
101
|
+
private deserialize;
|
|
102
|
+
}
|
|
@@ -36,7 +36,7 @@ export interface CreateRuleCommandOutput extends CreateRuleResponse, __MetadataB
|
|
|
36
36
|
* InstanceId: "STRING_VALUE", // required
|
|
37
37
|
* Name: "STRING_VALUE", // required
|
|
38
38
|
* TriggerEventSource: { // RuleTriggerEventSource
|
|
39
|
-
* EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate", // required
|
|
39
|
+
* EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate", // required
|
|
40
40
|
* IntegrationAssociationId: "STRING_VALUE",
|
|
41
41
|
* },
|
|
42
42
|
* Function: "STRING_VALUE", // required
|
|
@@ -30,9 +30,7 @@ export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataB
|
|
|
30
30
|
* SAML for identity management. <code>FirstName</code> and <code>LastName</code> are required if
|
|
31
31
|
* you are using Amazon Connect or SAML for identity management.</p>
|
|
32
32
|
* </important>
|
|
33
|
-
* <p>For information about how to create
|
|
34
|
-
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/user-management.html">Add
|
|
35
|
-
* Users</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
|
|
33
|
+
* <p>For information about how to create users using the Amazon Connect admin website, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/user-management.html">Add Users</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
|
|
36
34
|
* @example
|
|
37
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
36
|
* ```javascript
|
|
@@ -52,7 +52,7 @@ export interface DescribePhoneNumberCommandOutput extends DescribePhoneNumberRes
|
|
|
52
52
|
* // PhoneNumberArn: "STRING_VALUE",
|
|
53
53
|
* // PhoneNumber: "STRING_VALUE",
|
|
54
54
|
* // PhoneNumberCountryCode: "AF" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BA" || "BW" || "BR" || "IO" || "VG" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CK" || "CR" || "HR" || "CU" || "CW" || "CY" || "CZ" || "CD" || "DK" || "DJ" || "DM" || "DO" || "TL" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "PF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "CI" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "AN" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "KP" || "MP" || "NO" || "OM" || "PK" || "PW" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "CG" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "KR" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "VI" || "UG" || "UA" || "AE" || "GB" || "US" || "UY" || "UZ" || "VU" || "VA" || "VE" || "VN" || "WF" || "EH" || "YE" || "ZM" || "ZW",
|
|
55
|
-
* // PhoneNumberType: "TOLL_FREE" || "DID" || "UIFN" || "SHARED" || "THIRD_PARTY_TF" || "THIRD_PARTY_DID",
|
|
55
|
+
* // PhoneNumberType: "TOLL_FREE" || "DID" || "UIFN" || "SHARED" || "THIRD_PARTY_TF" || "THIRD_PARTY_DID" || "SHORT_CODE",
|
|
56
56
|
* // PhoneNumberDescription: "STRING_VALUE",
|
|
57
57
|
* // TargetArn: "STRING_VALUE",
|
|
58
58
|
* // InstanceId: "STRING_VALUE",
|
|
@@ -63,6 +63,7 @@ export interface DescribePhoneNumberCommandOutput extends DescribePhoneNumberRes
|
|
|
63
63
|
* // Status: "CLAIMED" || "IN_PROGRESS" || "FAILED",
|
|
64
64
|
* // Message: "STRING_VALUE",
|
|
65
65
|
* // },
|
|
66
|
+
* // SourcePhoneNumberArn: "STRING_VALUE",
|
|
66
67
|
* // },
|
|
67
68
|
* // };
|
|
68
69
|
*
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
-
import { DescribeQuickConnectRequest, DescribeQuickConnectResponse } from "../models/
|
|
5
|
+
import { DescribeQuickConnectRequest, DescribeQuickConnectResponse } from "../models/models_1";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
-
import { DescribeRoutingProfileRequest, DescribeRoutingProfileResponse } from "../models/
|
|
5
|
+
import { DescribeRoutingProfileRequest, DescribeRoutingProfileResponse } from "../models/models_1";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
-
import { DescribeRuleRequest, DescribeRuleResponse } from "../models/
|
|
5
|
+
import { DescribeRuleRequest, DescribeRuleResponse } from "../models/models_1";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -42,7 +42,7 @@ export interface DescribeRuleCommandOutput extends DescribeRuleResponse, __Metad
|
|
|
42
42
|
* // RuleId: "STRING_VALUE", // required
|
|
43
43
|
* // RuleArn: "STRING_VALUE", // required
|
|
44
44
|
* // TriggerEventSource: { // RuleTriggerEventSource
|
|
45
|
-
* // EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate", // required
|
|
45
|
+
* // EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnRealTimeChatAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit" || "OnMetricDataUpdate", // required
|
|
46
46
|
* // IntegrationAssociationId: "STRING_VALUE",
|
|
47
47
|
* // },
|
|
48
48
|
* // Function: "STRING_VALUE", // required
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
-
import { DescribeSecurityProfileRequest, DescribeSecurityProfileResponse } from "../models/
|
|
5
|
+
import { DescribeSecurityProfileRequest, DescribeSecurityProfileResponse } from "../models/models_1";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
-
import { DescribeTrafficDistributionGroupRequest } from "../models/
|
|
6
|
-
import { DescribeTrafficDistributionGroupResponse } from "../models/models_1";
|
|
5
|
+
import { DescribeTrafficDistributionGroupRequest, DescribeTrafficDistributionGroupResponse } from "../models/models_1";
|
|
7
6
|
/**
|
|
8
7
|
* @public
|
|
9
8
|
*/
|
|
@@ -23,7 +23,7 @@ export interface DescribeUserCommandOutput extends DescribeUserResponse, __Metad
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Describes the specified user
|
|
26
|
+
* <p>Describes the specified user. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID in the Amazon Connect console</a> (it’s the final part of the ARN). The console does not display the
|
|
27
27
|
* user IDs. Instead, list the users and note the IDs provided in the output.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
+
import { DisassociateAnalyticsDataSetRequest } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DisassociateAnalyticsDataSetCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DisassociateAnalyticsDataSetCommandInput extends DisassociateAnalyticsDataSetRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DisassociateAnalyticsDataSetCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DisassociateAnalyticsDataSetCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>This API is in preview release for Amazon Connect and is subject to change.</p>
|
|
27
|
+
* <p>Removes the dataset ID associated with a given Amazon Connect instance.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ConnectClient, DisassociateAnalyticsDataSetCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
32
|
+
* // const { ConnectClient, DisassociateAnalyticsDataSetCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
33
|
+
* const client = new ConnectClient(config);
|
|
34
|
+
* const input = { // DisassociateAnalyticsDataSetRequest
|
|
35
|
+
* InstanceId: "STRING_VALUE", // required
|
|
36
|
+
* DataSetId: "STRING_VALUE", // required
|
|
37
|
+
* TargetAccountId: "STRING_VALUE",
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DisassociateAnalyticsDataSetCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param DisassociateAnalyticsDataSetCommandInput - {@link DisassociateAnalyticsDataSetCommandInput}
|
|
46
|
+
* @returns {@link DisassociateAnalyticsDataSetCommandOutput}
|
|
47
|
+
* @see {@link DisassociateAnalyticsDataSetCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link DisassociateAnalyticsDataSetCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
52
|
+
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
55
|
+
* <p>One or more of the specified parameters are not valid.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
58
|
+
* <p>The request is not valid.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
+
* <p>The specified resource was not found.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
64
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ConnectServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from Connect service.</p>
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
export declare class DisassociateAnalyticsDataSetCommand extends $Command<DisassociateAnalyticsDataSetCommandInput, DisassociateAnalyticsDataSetCommandOutput, ConnectClientResolvedConfig> {
|
|
71
|
+
readonly input: DisassociateAnalyticsDataSetCommandInput;
|
|
72
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
constructor(input: DisassociateAnalyticsDataSetCommandInput);
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisassociateAnalyticsDataSetCommandInput, DisassociateAnalyticsDataSetCommandOutput>;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
private serialize;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
private deserialize;
|
|
89
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
+
import { DisassociateFlowRequest, DisassociateFlowResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DisassociateFlowCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DisassociateFlowCommandInput extends DisassociateFlowRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DisassociateFlowCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DisassociateFlowCommandOutput extends DisassociateFlowResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Disassociates a connect resource from a flow.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { ConnectClient, DisassociateFlowCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
31
|
+
* // const { ConnectClient, DisassociateFlowCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
32
|
+
* const client = new ConnectClient(config);
|
|
33
|
+
* const input = { // DisassociateFlowRequest
|
|
34
|
+
* InstanceId: "STRING_VALUE", // required
|
|
35
|
+
* ResourceId: "STRING_VALUE", // required
|
|
36
|
+
* ResourceType: "SMS_PHONE_NUMBER", // required
|
|
37
|
+
* };
|
|
38
|
+
* const command = new DisassociateFlowCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // {};
|
|
41
|
+
*
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* @param DisassociateFlowCommandInput - {@link DisassociateFlowCommandInput}
|
|
45
|
+
* @returns {@link DisassociateFlowCommandOutput}
|
|
46
|
+
* @see {@link DisassociateFlowCommandInput} for command's `input` shape.
|
|
47
|
+
* @see {@link DisassociateFlowCommandOutput} for command's `response` shape.
|
|
48
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
51
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
54
|
+
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
57
|
+
* <p>One or more of the specified parameters are not valid.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
60
|
+
* <p>The request is not valid.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>The specified resource was not found.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
66
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ConnectServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from Connect service.</p>
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
export declare class DisassociateFlowCommand extends $Command<DisassociateFlowCommandInput, DisassociateFlowCommandOutput, ConnectClientResolvedConfig> {
|
|
73
|
+
readonly input: DisassociateFlowCommandInput;
|
|
74
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
constructor(input: DisassociateFlowCommandInput);
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisassociateFlowCommandInput, DisassociateFlowCommandOutput>;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
private serialize;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
private deserialize;
|
|
91
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
+
import { GetFlowAssociationRequest, GetFlowAssociationResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetFlowAssociationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetFlowAssociationCommandInput extends GetFlowAssociationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetFlowAssociationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetFlowAssociationCommandOutput extends GetFlowAssociationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Retrieves the flow associated for a given resource.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { ConnectClient, GetFlowAssociationCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
31
|
+
* // const { ConnectClient, GetFlowAssociationCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
32
|
+
* const client = new ConnectClient(config);
|
|
33
|
+
* const input = { // GetFlowAssociationRequest
|
|
34
|
+
* InstanceId: "STRING_VALUE", // required
|
|
35
|
+
* ResourceId: "STRING_VALUE", // required
|
|
36
|
+
* ResourceType: "SMS_PHONE_NUMBER", // required
|
|
37
|
+
* };
|
|
38
|
+
* const command = new GetFlowAssociationCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // GetFlowAssociationResponse
|
|
41
|
+
* // ResourceId: "STRING_VALUE",
|
|
42
|
+
* // FlowId: "STRING_VALUE",
|
|
43
|
+
* // ResourceType: "SMS_PHONE_NUMBER",
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param GetFlowAssociationCommandInput - {@link GetFlowAssociationCommandInput}
|
|
49
|
+
* @returns {@link GetFlowAssociationCommandOutput}
|
|
50
|
+
* @see {@link GetFlowAssociationCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link GetFlowAssociationCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
58
|
+
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
61
|
+
* <p>One or more of the specified parameters are not valid.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
64
|
+
* <p>The request is not valid.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p>The specified resource was not found.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ConnectServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from Connect service.</p>
|
|
74
|
+
*
|
|
75
|
+
*/
|
|
76
|
+
export declare class GetFlowAssociationCommand extends $Command<GetFlowAssociationCommandInput, GetFlowAssociationCommandOutput, ConnectClientResolvedConfig> {
|
|
77
|
+
readonly input: GetFlowAssociationCommandInput;
|
|
78
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
constructor(input: GetFlowAssociationCommandInput);
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetFlowAssociationCommandInput, GetFlowAssociationCommandOutput>;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
private serialize;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
private deserialize;
|
|
95
|
+
}
|