@aws-sdk/client-connectcampaignsv2 3.694.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/LICENSE +201 -0
- package/README.md +461 -0
- package/dist-cjs/ConnectCampaignsV2.js +75 -0
- package/dist-cjs/ConnectCampaignsV2Client.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/CreateCampaignCommand.js +27 -0
- package/dist-cjs/commands/DeleteCampaignChannelSubtypeConfigCommand.js +26 -0
- package/dist-cjs/commands/DeleteCampaignCommand.js +26 -0
- package/dist-cjs/commands/DeleteCampaignCommunicationLimitsCommand.js +26 -0
- package/dist-cjs/commands/DeleteCampaignCommunicationTimeCommand.js +26 -0
- package/dist-cjs/commands/DeleteConnectInstanceConfigCommand.js +26 -0
- package/dist-cjs/commands/DeleteConnectInstanceIntegrationCommand.js +26 -0
- package/dist-cjs/commands/DeleteInstanceOnboardingJobCommand.js +26 -0
- package/dist-cjs/commands/DescribeCampaignCommand.js +27 -0
- package/dist-cjs/commands/GetCampaignStateBatchCommand.js +26 -0
- package/dist-cjs/commands/GetCampaignStateCommand.js +26 -0
- package/dist-cjs/commands/GetConnectInstanceConfigCommand.js +26 -0
- package/dist-cjs/commands/GetInstanceOnboardingJobStatusCommand.js +26 -0
- package/dist-cjs/commands/ListCampaignsCommand.js +26 -0
- package/dist-cjs/commands/ListConnectInstanceIntegrationsCommand.js +26 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/PauseCampaignCommand.js +26 -0
- package/dist-cjs/commands/PutConnectInstanceIntegrationCommand.js +26 -0
- package/dist-cjs/commands/PutOutboundRequestBatchCommand.js +27 -0
- package/dist-cjs/commands/ResumeCampaignCommand.js +26 -0
- package/dist-cjs/commands/StartCampaignCommand.js +26 -0
- package/dist-cjs/commands/StartInstanceOnboardingJobCommand.js +26 -0
- package/dist-cjs/commands/StopCampaignCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/UpdateCampaignChannelSubtypeConfigCommand.js +27 -0
- package/dist-cjs/commands/UpdateCampaignCommunicationLimitsCommand.js +26 -0
- package/dist-cjs/commands/UpdateCampaignCommunicationTimeCommand.js +26 -0
- package/dist-cjs/commands/UpdateCampaignFlowAssociationCommand.js +26 -0
- package/dist-cjs/commands/UpdateCampaignNameCommand.js +26 -0
- package/dist-cjs/commands/UpdateCampaignScheduleCommand.js +26 -0
- package/dist-cjs/commands/UpdateCampaignSourceCommand.js +26 -0
- package/dist-cjs/commands/index.js +35 -0
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/ConnectCampaignsV2ServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +409 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListCampaignsPaginator.js +7 -0
- package/dist-cjs/pagination/ListConnectInstanceIntegrationsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1193 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/ConnectCampaignsV2.js +71 -0
- package/dist-es/ConnectCampaignsV2Client.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CreateCampaignCommand.js +23 -0
- package/dist-es/commands/DeleteCampaignChannelSubtypeConfigCommand.js +22 -0
- package/dist-es/commands/DeleteCampaignCommand.js +22 -0
- package/dist-es/commands/DeleteCampaignCommunicationLimitsCommand.js +22 -0
- package/dist-es/commands/DeleteCampaignCommunicationTimeCommand.js +22 -0
- package/dist-es/commands/DeleteConnectInstanceConfigCommand.js +22 -0
- package/dist-es/commands/DeleteConnectInstanceIntegrationCommand.js +22 -0
- package/dist-es/commands/DeleteInstanceOnboardingJobCommand.js +22 -0
- package/dist-es/commands/DescribeCampaignCommand.js +23 -0
- package/dist-es/commands/GetCampaignStateBatchCommand.js +22 -0
- package/dist-es/commands/GetCampaignStateCommand.js +22 -0
- package/dist-es/commands/GetConnectInstanceConfigCommand.js +22 -0
- package/dist-es/commands/GetInstanceOnboardingJobStatusCommand.js +22 -0
- package/dist-es/commands/ListCampaignsCommand.js +22 -0
- package/dist-es/commands/ListConnectInstanceIntegrationsCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/PauseCampaignCommand.js +22 -0
- package/dist-es/commands/PutConnectInstanceIntegrationCommand.js +22 -0
- package/dist-es/commands/PutOutboundRequestBatchCommand.js +23 -0
- package/dist-es/commands/ResumeCampaignCommand.js +22 -0
- package/dist-es/commands/StartCampaignCommand.js +22 -0
- package/dist-es/commands/StartInstanceOnboardingJobCommand.js +22 -0
- package/dist-es/commands/StopCampaignCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateCampaignChannelSubtypeConfigCommand.js +23 -0
- package/dist-es/commands/UpdateCampaignCommunicationLimitsCommand.js +22 -0
- package/dist-es/commands/UpdateCampaignCommunicationTimeCommand.js +22 -0
- package/dist-es/commands/UpdateCampaignFlowAssociationCommand.js +22 -0
- package/dist-es/commands/UpdateCampaignNameCommand.js +22 -0
- package/dist-es/commands/UpdateCampaignScheduleCommand.js +22 -0
- package/dist-es/commands/UpdateCampaignSourceCommand.js +22 -0
- package/dist-es/commands/index.js +32 -0
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/ConnectCampaignsV2ServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +384 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListCampaignsPaginator.js +4 -0
- package/dist-es/pagination/ListConnectInstanceIntegrationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +1125 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/ConnectCampaignsV2.d.ts +235 -0
- package/dist-types/ConnectCampaignsV2Client.d.ts +201 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/CreateCampaignCommand.d.ts +235 -0
- package/dist-types/commands/DeleteCampaignChannelSubtypeConfigCommand.d.ts +85 -0
- package/dist-types/commands/DeleteCampaignCommand.d.ts +81 -0
- package/dist-types/commands/DeleteCampaignCommunicationLimitsCommand.d.ts +88 -0
- package/dist-types/commands/DeleteCampaignCommunicationTimeCommand.d.ts +88 -0
- package/dist-types/commands/DeleteConnectInstanceConfigCommand.d.ts +88 -0
- package/dist-types/commands/DeleteConnectInstanceIntegrationCommand.d.ts +92 -0
- package/dist-types/commands/DeleteInstanceOnboardingJobCommand.d.ts +84 -0
- package/dist-types/commands/DescribeCampaignCommand.d.ts +226 -0
- package/dist-types/commands/GetCampaignStateBatchCommand.d.ts +96 -0
- package/dist-types/commands/GetCampaignStateCommand.d.ts +86 -0
- package/dist-types/commands/GetConnectInstanceConfigCommand.d.ts +91 -0
- package/dist-types/commands/GetInstanceOnboardingJobStatusCommand.d.ts +87 -0
- package/dist-types/commands/ListCampaignsCommand.d.ts +104 -0
- package/dist-types/commands/ListConnectInstanceIntegrationsCommand.d.ts +101 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +88 -0
- package/dist-types/commands/PauseCampaignCommand.d.ts +90 -0
- package/dist-types/commands/PutConnectInstanceIntegrationCommand.d.ts +98 -0
- package/dist-types/commands/PutOutboundRequestBatchCommand.d.ts +139 -0
- package/dist-types/commands/ResumeCampaignCommand.d.ts +90 -0
- package/dist-types/commands/StartCampaignCommand.d.ts +90 -0
- package/dist-types/commands/StartInstanceOnboardingJobCommand.d.ts +98 -0
- package/dist-types/commands/StopCampaignCommand.d.ts +90 -0
- package/dist-types/commands/TagResourceCommand.d.ts +87 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +87 -0
- package/dist-types/commands/UpdateCampaignChannelSubtypeConfigCommand.d.ts +128 -0
- package/dist-types/commands/UpdateCampaignCommunicationLimitsCommand.d.ts +98 -0
- package/dist-types/commands/UpdateCampaignCommunicationTimeCommand.d.ts +158 -0
- package/dist-types/commands/UpdateCampaignFlowAssociationCommand.d.ts +88 -0
- package/dist-types/commands/UpdateCampaignNameCommand.d.ts +85 -0
- package/dist-types/commands/UpdateCampaignScheduleCommand.d.ts +92 -0
- package/dist-types/commands/UpdateCampaignSourceCommand.d.ts +90 -0
- package/dist-types/commands/index.d.ts +32 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +14 -0
- package/dist-types/models/ConnectCampaignsV2ServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2299 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListCampaignsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListConnectInstanceIntegrationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +290 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/ConnectCampaignsV2.d.ts +576 -0
- package/dist-types/ts3.4/ConnectCampaignsV2Client.d.ts +313 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/CreateCampaignCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteCampaignChannelSubtypeConfigCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteCampaignCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/DeleteCampaignCommunicationLimitsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteCampaignCommunicationTimeCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteConnectInstanceConfigCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteConnectInstanceIntegrationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteInstanceOnboardingJobCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DescribeCampaignCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetCampaignStateBatchCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCampaignStateCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetConnectInstanceConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetInstanceOnboardingJobStatusCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCampaignsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListConnectInstanceIntegrationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PauseCampaignCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/PutConnectInstanceIntegrationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/PutOutboundRequestBatchCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ResumeCampaignCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/StartCampaignCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/StartInstanceOnboardingJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StopCampaignCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UpdateCampaignChannelSubtypeConfigCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateCampaignCommunicationLimitsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateCampaignCommunicationTimeCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateCampaignFlowAssociationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateCampaignNameCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/UpdateCampaignScheduleCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/UpdateCampaignSourceCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/index.d.ts +32 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/ConnectCampaignsV2ServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +827 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListCampaignsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListConnectInstanceIntegrationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +389 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +89 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/package.json +101 -0
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCampaignsV2Client";
|
|
4
|
+
import { PutOutboundRequestBatchRequest, PutOutboundRequestBatchResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutOutboundRequestBatchCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutOutboundRequestBatchCommandInput extends PutOutboundRequestBatchRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutOutboundRequestBatchCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutOutboundRequestBatchCommandOutput extends PutOutboundRequestBatchResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutOutboundRequestBatchCommand_base: {
|
|
25
|
+
new (input: PutOutboundRequestBatchCommandInput): import("@smithy/smithy-client").CommandImpl<PutOutboundRequestBatchCommandInput, PutOutboundRequestBatchCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: PutOutboundRequestBatchCommandInput): import("@smithy/smithy-client").CommandImpl<PutOutboundRequestBatchCommandInput, PutOutboundRequestBatchCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Creates outbound requests for the specified campaign Amazon Connect account. This API is idempotent.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConnectCampaignsV2Client, PutOutboundRequestBatchCommand } from "@aws-sdk/client-connectcampaignsv2"; // ES Modules import
|
|
35
|
+
* // const { ConnectCampaignsV2Client, PutOutboundRequestBatchCommand } = require("@aws-sdk/client-connectcampaignsv2"); // CommonJS import
|
|
36
|
+
* const client = new ConnectCampaignsV2Client(config);
|
|
37
|
+
* const input = { // PutOutboundRequestBatchRequest
|
|
38
|
+
* id: "STRING_VALUE", // required
|
|
39
|
+
* outboundRequests: [ // OutboundRequestList // required
|
|
40
|
+
* { // OutboundRequest
|
|
41
|
+
* clientToken: "STRING_VALUE", // required
|
|
42
|
+
* expirationTime: new Date("TIMESTAMP"), // required
|
|
43
|
+
* channelSubtypeParameters: { // ChannelSubtypeParameters Union: only one key present
|
|
44
|
+
* telephony: { // TelephonyChannelSubtypeParameters
|
|
45
|
+
* destinationPhoneNumber: "STRING_VALUE", // required
|
|
46
|
+
* attributes: { // Attributes // required
|
|
47
|
+
* "<keys>": "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* connectSourcePhoneNumber: "STRING_VALUE",
|
|
50
|
+
* answerMachineDetectionConfig: { // AnswerMachineDetectionConfig
|
|
51
|
+
* enableAnswerMachineDetection: true || false, // required
|
|
52
|
+
* awaitAnswerMachinePrompt: true || false,
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
55
|
+
* sms: { // SmsChannelSubtypeParameters
|
|
56
|
+
* destinationPhoneNumber: "STRING_VALUE", // required
|
|
57
|
+
* connectSourcePhoneNumberArn: "STRING_VALUE",
|
|
58
|
+
* templateArn: "STRING_VALUE",
|
|
59
|
+
* templateParameters: { // required
|
|
60
|
+
* "<keys>": "STRING_VALUE",
|
|
61
|
+
* },
|
|
62
|
+
* },
|
|
63
|
+
* email: { // EmailChannelSubtypeParameters
|
|
64
|
+
* destinationEmailAddress: "STRING_VALUE", // required
|
|
65
|
+
* connectSourceEmailAddress: "STRING_VALUE",
|
|
66
|
+
* templateArn: "STRING_VALUE",
|
|
67
|
+
* templateParameters: { // required
|
|
68
|
+
* "<keys>": "STRING_VALUE",
|
|
69
|
+
* },
|
|
70
|
+
* },
|
|
71
|
+
* },
|
|
72
|
+
* },
|
|
73
|
+
* ],
|
|
74
|
+
* };
|
|
75
|
+
* const command = new PutOutboundRequestBatchCommand(input);
|
|
76
|
+
* const response = await client.send(command);
|
|
77
|
+
* // { // PutOutboundRequestBatchResponse
|
|
78
|
+
* // successfulRequests: [ // SuccessfulRequestList
|
|
79
|
+
* // { // SuccessfulRequest
|
|
80
|
+
* // clientToken: "STRING_VALUE",
|
|
81
|
+
* // id: "STRING_VALUE",
|
|
82
|
+
* // },
|
|
83
|
+
* // ],
|
|
84
|
+
* // failedRequests: [ // FailedRequestList
|
|
85
|
+
* // { // FailedRequest
|
|
86
|
+
* // clientToken: "STRING_VALUE",
|
|
87
|
+
* // id: "STRING_VALUE",
|
|
88
|
+
* // failureCode: "STRING_VALUE",
|
|
89
|
+
* // },
|
|
90
|
+
* // ],
|
|
91
|
+
* // };
|
|
92
|
+
*
|
|
93
|
+
* ```
|
|
94
|
+
*
|
|
95
|
+
* @param PutOutboundRequestBatchCommandInput - {@link PutOutboundRequestBatchCommandInput}
|
|
96
|
+
* @returns {@link PutOutboundRequestBatchCommandOutput}
|
|
97
|
+
* @see {@link PutOutboundRequestBatchCommandInput} for command's `input` shape.
|
|
98
|
+
* @see {@link PutOutboundRequestBatchCommandOutput} for command's `response` shape.
|
|
99
|
+
* @see {@link ConnectCampaignsV2ClientResolvedConfig | config} for ConnectCampaignsV2Client's `config` shape.
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
102
|
+
* You do not have sufficient access to perform this action.
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link ConflictException} (client fault)
|
|
105
|
+
* The request could not be processed because of conflict in the current state of the resource.
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link InternalServerException} (server fault)
|
|
108
|
+
* Request processing failed because of an error or failure with the service.
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link InvalidCampaignStateException} (client fault)
|
|
111
|
+
* The request could not be processed because of conflict in the current state of the campaign.
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
114
|
+
* The specified resource was not found.
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
117
|
+
* The request was denied due to request throttling.
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link ValidationException} (client fault)
|
|
120
|
+
* The input fails to satisfy the constraints specified by an AWS service.
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link ConnectCampaignsV2ServiceException}
|
|
123
|
+
* <p>Base exception class for all service exceptions from ConnectCampaignsV2 service.</p>
|
|
124
|
+
*
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
export declare class PutOutboundRequestBatchCommand extends PutOutboundRequestBatchCommand_base {
|
|
128
|
+
/** @internal type navigation helper, not in runtime. */
|
|
129
|
+
protected static __types: {
|
|
130
|
+
api: {
|
|
131
|
+
input: PutOutboundRequestBatchRequest;
|
|
132
|
+
output: PutOutboundRequestBatchResponse;
|
|
133
|
+
};
|
|
134
|
+
sdk: {
|
|
135
|
+
input: PutOutboundRequestBatchCommandInput;
|
|
136
|
+
output: PutOutboundRequestBatchCommandOutput;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCampaignsV2Client";
|
|
4
|
+
import { ResumeCampaignRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ResumeCampaignCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ResumeCampaignCommandInput extends ResumeCampaignRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ResumeCampaignCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ResumeCampaignCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ResumeCampaignCommand_base: {
|
|
25
|
+
new (input: ResumeCampaignCommandInput): import("@smithy/smithy-client").CommandImpl<ResumeCampaignCommandInput, ResumeCampaignCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ResumeCampaignCommandInput): import("@smithy/smithy-client").CommandImpl<ResumeCampaignCommandInput, ResumeCampaignCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Stops a campaign for the specified Amazon Connect account.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConnectCampaignsV2Client, ResumeCampaignCommand } from "@aws-sdk/client-connectcampaignsv2"; // ES Modules import
|
|
35
|
+
* // const { ConnectCampaignsV2Client, ResumeCampaignCommand } = require("@aws-sdk/client-connectcampaignsv2"); // CommonJS import
|
|
36
|
+
* const client = new ConnectCampaignsV2Client(config);
|
|
37
|
+
* const input = { // ResumeCampaignRequest
|
|
38
|
+
* id: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new ResumeCampaignCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param ResumeCampaignCommandInput - {@link ResumeCampaignCommandInput}
|
|
47
|
+
* @returns {@link ResumeCampaignCommandOutput}
|
|
48
|
+
* @see {@link ResumeCampaignCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link ResumeCampaignCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link ConnectCampaignsV2ClientResolvedConfig | config} for ConnectCampaignsV2Client's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* You do not have sufficient access to perform this action.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ConflictException} (client fault)
|
|
56
|
+
* The request could not be processed because of conflict in the current state of the resource.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* Request processing failed because of an error or failure with the service.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InvalidCampaignStateException} (client fault)
|
|
62
|
+
* The request could not be processed because of conflict in the current state of the campaign.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
|
+
* The specified resource was not found.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
68
|
+
* The request was denied due to request throttling.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ValidationException} (client fault)
|
|
71
|
+
* The input fails to satisfy the constraints specified by an AWS service.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ConnectCampaignsV2ServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from ConnectCampaignsV2 service.</p>
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class ResumeCampaignCommand extends ResumeCampaignCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: ResumeCampaignRequest;
|
|
83
|
+
output: {};
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: ResumeCampaignCommandInput;
|
|
87
|
+
output: ResumeCampaignCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCampaignsV2Client";
|
|
4
|
+
import { StartCampaignRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StartCampaignCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartCampaignCommandInput extends StartCampaignRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartCampaignCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartCampaignCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StartCampaignCommand_base: {
|
|
25
|
+
new (input: StartCampaignCommandInput): import("@smithy/smithy-client").CommandImpl<StartCampaignCommandInput, StartCampaignCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: StartCampaignCommandInput): import("@smithy/smithy-client").CommandImpl<StartCampaignCommandInput, StartCampaignCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Starts a campaign for the specified Amazon Connect account.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConnectCampaignsV2Client, StartCampaignCommand } from "@aws-sdk/client-connectcampaignsv2"; // ES Modules import
|
|
35
|
+
* // const { ConnectCampaignsV2Client, StartCampaignCommand } = require("@aws-sdk/client-connectcampaignsv2"); // CommonJS import
|
|
36
|
+
* const client = new ConnectCampaignsV2Client(config);
|
|
37
|
+
* const input = { // StartCampaignRequest
|
|
38
|
+
* id: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new StartCampaignCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param StartCampaignCommandInput - {@link StartCampaignCommandInput}
|
|
47
|
+
* @returns {@link StartCampaignCommandOutput}
|
|
48
|
+
* @see {@link StartCampaignCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link StartCampaignCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link ConnectCampaignsV2ClientResolvedConfig | config} for ConnectCampaignsV2Client's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* You do not have sufficient access to perform this action.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ConflictException} (client fault)
|
|
56
|
+
* The request could not be processed because of conflict in the current state of the resource.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* Request processing failed because of an error or failure with the service.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InvalidCampaignStateException} (client fault)
|
|
62
|
+
* The request could not be processed because of conflict in the current state of the campaign.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
|
+
* The specified resource was not found.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
68
|
+
* The request was denied due to request throttling.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ValidationException} (client fault)
|
|
71
|
+
* The input fails to satisfy the constraints specified by an AWS service.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ConnectCampaignsV2ServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from ConnectCampaignsV2 service.</p>
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class StartCampaignCommand extends StartCampaignCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: StartCampaignRequest;
|
|
83
|
+
output: {};
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: StartCampaignCommandInput;
|
|
87
|
+
output: StartCampaignCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCampaignsV2Client";
|
|
4
|
+
import { StartInstanceOnboardingJobRequest, StartInstanceOnboardingJobResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StartInstanceOnboardingJobCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartInstanceOnboardingJobCommandInput extends StartInstanceOnboardingJobRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartInstanceOnboardingJobCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartInstanceOnboardingJobCommandOutput extends StartInstanceOnboardingJobResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StartInstanceOnboardingJobCommand_base: {
|
|
25
|
+
new (input: StartInstanceOnboardingJobCommandInput): import("@smithy/smithy-client").CommandImpl<StartInstanceOnboardingJobCommandInput, StartInstanceOnboardingJobCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: StartInstanceOnboardingJobCommandInput): import("@smithy/smithy-client").CommandImpl<StartInstanceOnboardingJobCommandInput, StartInstanceOnboardingJobCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Onboard the specific Amazon Connect instance to Connect Campaigns.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConnectCampaignsV2Client, StartInstanceOnboardingJobCommand } from "@aws-sdk/client-connectcampaignsv2"; // ES Modules import
|
|
35
|
+
* // const { ConnectCampaignsV2Client, StartInstanceOnboardingJobCommand } = require("@aws-sdk/client-connectcampaignsv2"); // CommonJS import
|
|
36
|
+
* const client = new ConnectCampaignsV2Client(config);
|
|
37
|
+
* const input = { // StartInstanceOnboardingJobRequest
|
|
38
|
+
* connectInstanceId: "STRING_VALUE", // required
|
|
39
|
+
* encryptionConfig: { // EncryptionConfig
|
|
40
|
+
* enabled: true || false, // required
|
|
41
|
+
* encryptionType: "STRING_VALUE",
|
|
42
|
+
* keyArn: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* };
|
|
45
|
+
* const command = new StartInstanceOnboardingJobCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // StartInstanceOnboardingJobResponse
|
|
48
|
+
* // connectInstanceOnboardingJobStatus: { // InstanceOnboardingJobStatus
|
|
49
|
+
* // connectInstanceId: "STRING_VALUE", // required
|
|
50
|
+
* // status: "STRING_VALUE", // required
|
|
51
|
+
* // failureCode: "STRING_VALUE",
|
|
52
|
+
* // },
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param StartInstanceOnboardingJobCommandInput - {@link StartInstanceOnboardingJobCommandInput}
|
|
58
|
+
* @returns {@link StartInstanceOnboardingJobCommandOutput}
|
|
59
|
+
* @see {@link StartInstanceOnboardingJobCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link StartInstanceOnboardingJobCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link ConnectCampaignsV2ClientResolvedConfig | config} for ConnectCampaignsV2Client's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
64
|
+
* You do not have sufficient access to perform this action.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ConflictException} (client fault)
|
|
67
|
+
* The request could not be processed because of conflict in the current state of the resource.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerException} (server fault)
|
|
70
|
+
* Request processing failed because of an error or failure with the service.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
|
+
* The specified resource was not found.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
76
|
+
* The request was denied due to request throttling.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ValidationException} (client fault)
|
|
79
|
+
* The input fails to satisfy the constraints specified by an AWS service.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ConnectCampaignsV2ServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from ConnectCampaignsV2 service.</p>
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class StartInstanceOnboardingJobCommand extends StartInstanceOnboardingJobCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: StartInstanceOnboardingJobRequest;
|
|
91
|
+
output: StartInstanceOnboardingJobResponse;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: StartInstanceOnboardingJobCommandInput;
|
|
95
|
+
output: StartInstanceOnboardingJobCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCampaignsV2Client";
|
|
4
|
+
import { StopCampaignRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StopCampaignCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StopCampaignCommandInput extends StopCampaignRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StopCampaignCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StopCampaignCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StopCampaignCommand_base: {
|
|
25
|
+
new (input: StopCampaignCommandInput): import("@smithy/smithy-client").CommandImpl<StopCampaignCommandInput, StopCampaignCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: StopCampaignCommandInput): import("@smithy/smithy-client").CommandImpl<StopCampaignCommandInput, StopCampaignCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Stops a campaign for the specified Amazon Connect account.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConnectCampaignsV2Client, StopCampaignCommand } from "@aws-sdk/client-connectcampaignsv2"; // ES Modules import
|
|
35
|
+
* // const { ConnectCampaignsV2Client, StopCampaignCommand } = require("@aws-sdk/client-connectcampaignsv2"); // CommonJS import
|
|
36
|
+
* const client = new ConnectCampaignsV2Client(config);
|
|
37
|
+
* const input = { // StopCampaignRequest
|
|
38
|
+
* id: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new StopCampaignCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param StopCampaignCommandInput - {@link StopCampaignCommandInput}
|
|
47
|
+
* @returns {@link StopCampaignCommandOutput}
|
|
48
|
+
* @see {@link StopCampaignCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link StopCampaignCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link ConnectCampaignsV2ClientResolvedConfig | config} for ConnectCampaignsV2Client's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* You do not have sufficient access to perform this action.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ConflictException} (client fault)
|
|
56
|
+
* The request could not be processed because of conflict in the current state of the resource.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* Request processing failed because of an error or failure with the service.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InvalidCampaignStateException} (client fault)
|
|
62
|
+
* The request could not be processed because of conflict in the current state of the campaign.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
|
+
* The specified resource was not found.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
68
|
+
* The request was denied due to request throttling.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ValidationException} (client fault)
|
|
71
|
+
* The input fails to satisfy the constraints specified by an AWS service.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ConnectCampaignsV2ServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from ConnectCampaignsV2 service.</p>
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class StopCampaignCommand extends StopCampaignCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: StopCampaignRequest;
|
|
83
|
+
output: {};
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: StopCampaignCommandInput;
|
|
87
|
+
output: StopCampaignCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCampaignsV2Client";
|
|
4
|
+
import { TagResourceRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link TagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link TagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const TagResourceCommand_base: {
|
|
25
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Tag a resource.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConnectCampaignsV2Client, TagResourceCommand } from "@aws-sdk/client-connectcampaignsv2"; // ES Modules import
|
|
35
|
+
* // const { ConnectCampaignsV2Client, TagResourceCommand } = require("@aws-sdk/client-connectcampaignsv2"); // CommonJS import
|
|
36
|
+
* const client = new ConnectCampaignsV2Client(config);
|
|
37
|
+
* const input = { // TagResourceRequest
|
|
38
|
+
* arn: "STRING_VALUE", // required
|
|
39
|
+
* tags: { // TagMap // required
|
|
40
|
+
* "<keys>": "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* };
|
|
43
|
+
* const command = new TagResourceCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
50
|
+
* @returns {@link TagResourceCommandOutput}
|
|
51
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link ConnectCampaignsV2ClientResolvedConfig | config} for ConnectCampaignsV2Client's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
56
|
+
* You do not have sufficient access to perform this action.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* Request processing failed because of an error or failure with the service.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
+
* The specified resource was not found.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
65
|
+
* The request was denied due to request throttling.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ValidationException} (client fault)
|
|
68
|
+
* The input fails to satisfy the constraints specified by an AWS service.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ConnectCampaignsV2ServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from ConnectCampaignsV2 service.</p>
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: TagResourceRequest;
|
|
80
|
+
output: {};
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: TagResourceCommandInput;
|
|
84
|
+
output: TagResourceCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|