@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,92 @@
|
|
|
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 { UpdateCampaignScheduleRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateCampaignScheduleCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateCampaignScheduleCommandInput extends UpdateCampaignScheduleRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateCampaignScheduleCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateCampaignScheduleCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateCampaignScheduleCommand_base: {
|
|
25
|
+
new (input: UpdateCampaignScheduleCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCampaignScheduleCommandInput, UpdateCampaignScheduleCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UpdateCampaignScheduleCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCampaignScheduleCommandInput, UpdateCampaignScheduleCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Updates the schedule for a campaign. 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, UpdateCampaignScheduleCommand } from "@aws-sdk/client-connectcampaignsv2"; // ES Modules import
|
|
35
|
+
* // const { ConnectCampaignsV2Client, UpdateCampaignScheduleCommand } = require("@aws-sdk/client-connectcampaignsv2"); // CommonJS import
|
|
36
|
+
* const client = new ConnectCampaignsV2Client(config);
|
|
37
|
+
* const input = { // UpdateCampaignScheduleRequest
|
|
38
|
+
* id: "STRING_VALUE", // required
|
|
39
|
+
* schedule: { // Schedule
|
|
40
|
+
* startTime: new Date("TIMESTAMP"), // required
|
|
41
|
+
* endTime: new Date("TIMESTAMP"), // required
|
|
42
|
+
* refreshFrequency: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* };
|
|
45
|
+
* const command = new UpdateCampaignScheduleCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param UpdateCampaignScheduleCommandInput - {@link UpdateCampaignScheduleCommandInput}
|
|
52
|
+
* @returns {@link UpdateCampaignScheduleCommandOutput}
|
|
53
|
+
* @see {@link UpdateCampaignScheduleCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link UpdateCampaignScheduleCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link ConnectCampaignsV2ClientResolvedConfig | config} for ConnectCampaignsV2Client's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
58
|
+
* You do not have sufficient access to perform this action.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ConflictException} (client fault)
|
|
61
|
+
* The request could not be processed because of conflict in the current state of the resource.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerException} (server fault)
|
|
64
|
+
* Request processing failed because of an error or failure with the service.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InvalidCampaignStateException} (client fault)
|
|
67
|
+
* The request could not be processed because of conflict in the current state of the campaign.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
|
+
* The specified resource was not found.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* The input fails to satisfy the constraints specified by an AWS service.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ConnectCampaignsV2ServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from ConnectCampaignsV2 service.</p>
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class UpdateCampaignScheduleCommand extends UpdateCampaignScheduleCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: UpdateCampaignScheduleRequest;
|
|
85
|
+
output: {};
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: UpdateCampaignScheduleCommandInput;
|
|
89
|
+
output: UpdateCampaignScheduleCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -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 { UpdateCampaignSourceRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateCampaignSourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateCampaignSourceCommandInput extends UpdateCampaignSourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateCampaignSourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateCampaignSourceCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateCampaignSourceCommand_base: {
|
|
25
|
+
new (input: UpdateCampaignSourceCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCampaignSourceCommandInput, UpdateCampaignSourceCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UpdateCampaignSourceCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCampaignSourceCommandInput, UpdateCampaignSourceCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Updates the campaign source with a campaign. 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, UpdateCampaignSourceCommand } from "@aws-sdk/client-connectcampaignsv2"; // ES Modules import
|
|
35
|
+
* // const { ConnectCampaignsV2Client, UpdateCampaignSourceCommand } = require("@aws-sdk/client-connectcampaignsv2"); // CommonJS import
|
|
36
|
+
* const client = new ConnectCampaignsV2Client(config);
|
|
37
|
+
* const input = { // UpdateCampaignSourceRequest
|
|
38
|
+
* id: "STRING_VALUE", // required
|
|
39
|
+
* source: { // Source Union: only one key present
|
|
40
|
+
* customerProfilesSegmentArn: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* };
|
|
43
|
+
* const command = new UpdateCampaignSourceCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param UpdateCampaignSourceCommandInput - {@link UpdateCampaignSourceCommandInput}
|
|
50
|
+
* @returns {@link UpdateCampaignSourceCommandOutput}
|
|
51
|
+
* @see {@link UpdateCampaignSourceCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link UpdateCampaignSourceCommandOutput} 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 ConflictException} (client fault)
|
|
59
|
+
* The request could not be processed because of conflict in the current state of the resource.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InternalServerException} (server fault)
|
|
62
|
+
* Request processing failed because of an error or failure with the service.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InvalidCampaignStateException} (client fault)
|
|
65
|
+
* The request could not be processed because of conflict in the current state of the campaign.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* The specified resource was not found.
|
|
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 UpdateCampaignSourceCommand extends UpdateCampaignSourceCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: UpdateCampaignSourceRequest;
|
|
83
|
+
output: {};
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: UpdateCampaignSourceCommandInput;
|
|
87
|
+
output: UpdateCampaignSourceCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export * from "./CreateCampaignCommand";
|
|
2
|
+
export * from "./DeleteCampaignChannelSubtypeConfigCommand";
|
|
3
|
+
export * from "./DeleteCampaignCommand";
|
|
4
|
+
export * from "./DeleteCampaignCommunicationLimitsCommand";
|
|
5
|
+
export * from "./DeleteCampaignCommunicationTimeCommand";
|
|
6
|
+
export * from "./DeleteConnectInstanceConfigCommand";
|
|
7
|
+
export * from "./DeleteConnectInstanceIntegrationCommand";
|
|
8
|
+
export * from "./DeleteInstanceOnboardingJobCommand";
|
|
9
|
+
export * from "./DescribeCampaignCommand";
|
|
10
|
+
export * from "./GetCampaignStateBatchCommand";
|
|
11
|
+
export * from "./GetCampaignStateCommand";
|
|
12
|
+
export * from "./GetConnectInstanceConfigCommand";
|
|
13
|
+
export * from "./GetInstanceOnboardingJobStatusCommand";
|
|
14
|
+
export * from "./ListCampaignsCommand";
|
|
15
|
+
export * from "./ListConnectInstanceIntegrationsCommand";
|
|
16
|
+
export * from "./ListTagsForResourceCommand";
|
|
17
|
+
export * from "./PauseCampaignCommand";
|
|
18
|
+
export * from "./PutConnectInstanceIntegrationCommand";
|
|
19
|
+
export * from "./PutOutboundRequestBatchCommand";
|
|
20
|
+
export * from "./ResumeCampaignCommand";
|
|
21
|
+
export * from "./StartCampaignCommand";
|
|
22
|
+
export * from "./StartInstanceOnboardingJobCommand";
|
|
23
|
+
export * from "./StopCampaignCommand";
|
|
24
|
+
export * from "./TagResourceCommand";
|
|
25
|
+
export * from "./UntagResourceCommand";
|
|
26
|
+
export * from "./UpdateCampaignChannelSubtypeConfigCommand";
|
|
27
|
+
export * from "./UpdateCampaignCommunicationLimitsCommand";
|
|
28
|
+
export * from "./UpdateCampaignCommunicationTimeCommand";
|
|
29
|
+
export * from "./UpdateCampaignFlowAssociationCommand";
|
|
30
|
+
export * from "./UpdateCampaignNameCommand";
|
|
31
|
+
export * from "./UpdateCampaignScheduleCommand";
|
|
32
|
+
export * from "./UpdateCampaignSourceCommand";
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
region?: string | Provider<string>;
|
|
7
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
8
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
9
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
|
+
}
|
|
11
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
12
|
+
defaultSigningName: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
15
|
+
defaultSigningName: string;
|
|
16
|
+
};
|
|
17
|
+
export declare const commonParams: {
|
|
18
|
+
readonly UseFIPS: {
|
|
19
|
+
readonly type: "builtInParams";
|
|
20
|
+
readonly name: "useFipsEndpoint";
|
|
21
|
+
};
|
|
22
|
+
readonly Endpoint: {
|
|
23
|
+
readonly type: "builtInParams";
|
|
24
|
+
readonly name: "endpoint";
|
|
25
|
+
};
|
|
26
|
+
readonly Region: {
|
|
27
|
+
readonly type: "builtInParams";
|
|
28
|
+
readonly name: "region";
|
|
29
|
+
};
|
|
30
|
+
readonly UseDualStack: {
|
|
31
|
+
readonly type: "builtInParams";
|
|
32
|
+
readonly name: "useDualstackEndpoint";
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
36
|
+
Region?: string;
|
|
37
|
+
UseDualStack?: boolean;
|
|
38
|
+
UseFIPS?: boolean;
|
|
39
|
+
Endpoint?: string;
|
|
40
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export interface ConnectCampaignsV2ExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Provide APIs to create and manage Amazon Connect Campaigns.
|
|
3
|
+
*
|
|
4
|
+
* @packageDocumentation
|
|
5
|
+
*/
|
|
6
|
+
export * from "./ConnectCampaignsV2Client";
|
|
7
|
+
export * from "./ConnectCampaignsV2";
|
|
8
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
9
|
+
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
|
+
export type { ConnectCampaignsV2ExtensionConfiguration } from "./extensionConfiguration";
|
|
11
|
+
export * from "./commands";
|
|
12
|
+
export * from "./pagination";
|
|
13
|
+
export * from "./models";
|
|
14
|
+
export { ConnectCampaignsV2ServiceException } from "./models/ConnectCampaignsV2ServiceException";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
|
|
2
|
+
export type { __ServiceExceptionOptions };
|
|
3
|
+
export { __ServiceException };
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*
|
|
7
|
+
* Base exception class for all service exceptions from ConnectCampaignsV2 service.
|
|
8
|
+
*/
|
|
9
|
+
export declare class ConnectCampaignsV2ServiceException extends __ServiceException {
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(options: __ServiceExceptionOptions);
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|