@aws-sdk/client-connectcampaigns 3.113.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/CHANGELOG.md +11 -0
- package/LICENSE +201 -0
- package/README.md +205 -0
- package/dist-cjs/ConnectCampaigns.js +337 -0
- package/dist-cjs/ConnectCampaignsClient.js +37 -0
- package/dist-cjs/commands/CreateCampaignCommand.js +36 -0
- package/dist-cjs/commands/DeleteCampaignCommand.js +36 -0
- package/dist-cjs/commands/DeleteConnectInstanceConfigCommand.js +36 -0
- package/dist-cjs/commands/DeleteInstanceOnboardingJobCommand.js +36 -0
- package/dist-cjs/commands/DescribeCampaignCommand.js +36 -0
- package/dist-cjs/commands/GetCampaignStateBatchCommand.js +36 -0
- package/dist-cjs/commands/GetCampaignStateCommand.js +36 -0
- package/dist-cjs/commands/GetConnectInstanceConfigCommand.js +36 -0
- package/dist-cjs/commands/GetInstanceOnboardingJobStatusCommand.js +36 -0
- package/dist-cjs/commands/ListCampaignsCommand.js +36 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/PauseCampaignCommand.js +36 -0
- package/dist-cjs/commands/PutDialRequestBatchCommand.js +36 -0
- package/dist-cjs/commands/ResumeCampaignCommand.js +36 -0
- package/dist-cjs/commands/StartCampaignCommand.js +36 -0
- package/dist-cjs/commands/StartInstanceOnboardingJobCommand.js +36 -0
- package/dist-cjs/commands/StopCampaignCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/UpdateCampaignDialerConfigCommand.js +36 -0
- package/dist-cjs/commands/UpdateCampaignNameCommand.js +36 -0
- package/dist-cjs/commands/UpdateCampaignOutboundCallConfigCommand.js +36 -0
- package/dist-cjs/commands/index.js +25 -0
- package/dist-cjs/endpoints.js +131 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/ConnectCampaignsServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +490 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListCampaignsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2174 -0
- package/dist-cjs/runtimeConfig.browser.js +45 -0
- package/dist-cjs/runtimeConfig.js +52 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/ConnectCampaigns.js +340 -0
- package/dist-es/ConnectCampaignsClient.js +39 -0
- package/dist-es/commands/CreateCampaignCommand.js +39 -0
- package/dist-es/commands/DeleteCampaignCommand.js +39 -0
- package/dist-es/commands/DeleteConnectInstanceConfigCommand.js +39 -0
- package/dist-es/commands/DeleteInstanceOnboardingJobCommand.js +39 -0
- package/dist-es/commands/DescribeCampaignCommand.js +39 -0
- package/dist-es/commands/GetCampaignStateBatchCommand.js +39 -0
- package/dist-es/commands/GetCampaignStateCommand.js +39 -0
- package/dist-es/commands/GetConnectInstanceConfigCommand.js +39 -0
- package/dist-es/commands/GetInstanceOnboardingJobStatusCommand.js +39 -0
- package/dist-es/commands/ListCampaignsCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/PauseCampaignCommand.js +39 -0
- package/dist-es/commands/PutDialRequestBatchCommand.js +39 -0
- package/dist-es/commands/ResumeCampaignCommand.js +39 -0
- package/dist-es/commands/StartCampaignCommand.js +39 -0
- package/dist-es/commands/StartInstanceOnboardingJobCommand.js +39 -0
- package/dist-es/commands/StopCampaignCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/UpdateCampaignDialerConfigCommand.js +39 -0
- package/dist-es/commands/UpdateCampaignNameCommand.js +39 -0
- package/dist-es/commands/UpdateCampaignOutboundCallConfigCommand.js +39 -0
- package/dist-es/commands/index.js +22 -0
- package/dist-es/endpoints.js +127 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/ConnectCampaignsServiceException.js +12 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +376 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListCampaignsPaginator.js +75 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +2718 -0
- package/dist-es/runtimeConfig.browser.js +26 -0
- package/dist-es/runtimeConfig.js +30 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/ConnectCampaigns.d.ts +161 -0
- package/dist-types/ConnectCampaignsClient.d.ts +166 -0
- package/dist-types/commands/CreateCampaignCommand.d.ts +35 -0
- package/dist-types/commands/DeleteCampaignCommand.d.ts +35 -0
- package/dist-types/commands/DeleteConnectInstanceConfigCommand.d.ts +35 -0
- package/dist-types/commands/DeleteInstanceOnboardingJobCommand.d.ts +35 -0
- package/dist-types/commands/DescribeCampaignCommand.d.ts +35 -0
- package/dist-types/commands/GetCampaignStateBatchCommand.d.ts +35 -0
- package/dist-types/commands/GetCampaignStateCommand.d.ts +35 -0
- package/dist-types/commands/GetConnectInstanceConfigCommand.d.ts +35 -0
- package/dist-types/commands/GetInstanceOnboardingJobStatusCommand.d.ts +35 -0
- package/dist-types/commands/ListCampaignsCommand.d.ts +35 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/commands/PauseCampaignCommand.d.ts +35 -0
- package/dist-types/commands/PutDialRequestBatchCommand.d.ts +35 -0
- package/dist-types/commands/ResumeCampaignCommand.d.ts +35 -0
- package/dist-types/commands/StartCampaignCommand.d.ts +35 -0
- package/dist-types/commands/StartInstanceOnboardingJobCommand.d.ts +35 -0
- package/dist-types/commands/StopCampaignCommand.d.ts +35 -0
- package/dist-types/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UpdateCampaignDialerConfigCommand.d.ts +35 -0
- package/dist-types/commands/UpdateCampaignNameCommand.d.ts +35 -0
- package/dist-types/commands/UpdateCampaignOutboundCallConfigCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +22 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/ConnectCampaignsServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1165 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListCampaignsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +68 -0
- package/dist-types/runtimeConfig.browser.d.ts +40 -0
- package/dist-types/runtimeConfig.d.ts +40 -0
- package/dist-types/runtimeConfig.native.d.ts +39 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/ConnectCampaigns.d.ts +115 -0
- package/dist-types/ts3.4/ConnectCampaignsClient.d.ts +95 -0
- package/dist-types/ts3.4/commands/CreateCampaignCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteCampaignCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteConnectInstanceConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteInstanceOnboardingJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeCampaignCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCampaignStateBatchCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCampaignStateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetConnectInstanceConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetInstanceOnboardingJobStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCampaignsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PauseCampaignCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutDialRequestBatchCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ResumeCampaignCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartCampaignCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartInstanceOnboardingJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopCampaignCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateCampaignDialerConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateCampaignNameCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateCampaignOutboundCallConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +22 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/ConnectCampaignsServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +691 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListCampaignsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +68 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +94 -0
|
@@ -0,0 +1,691 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { ConnectCampaignsServiceException as __BaseException } from "./ConnectCampaignsServiceException";
|
|
3
|
+
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
|
|
8
|
+
xAmzErrorType?: string;
|
|
9
|
+
|
|
10
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export declare class ConflictException extends __BaseException {
|
|
14
|
+
readonly name: "ConflictException";
|
|
15
|
+
readonly $fault: "client";
|
|
16
|
+
|
|
17
|
+
xAmzErrorType?: string;
|
|
18
|
+
|
|
19
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface PredictiveDialerConfig {
|
|
23
|
+
|
|
24
|
+
bandwidthAllocation: number | undefined;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace PredictiveDialerConfig {
|
|
27
|
+
|
|
28
|
+
const filterSensitiveLog: (obj: PredictiveDialerConfig) => any;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export interface ProgressiveDialerConfig {
|
|
32
|
+
|
|
33
|
+
bandwidthAllocation: number | undefined;
|
|
34
|
+
}
|
|
35
|
+
export declare namespace ProgressiveDialerConfig {
|
|
36
|
+
|
|
37
|
+
const filterSensitiveLog: (obj: ProgressiveDialerConfig) => any;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export declare type DialerConfig = DialerConfig.PredictiveDialerConfigMember | DialerConfig.ProgressiveDialerConfigMember | DialerConfig.$UnknownMember;
|
|
41
|
+
export declare namespace DialerConfig {
|
|
42
|
+
|
|
43
|
+
interface ProgressiveDialerConfigMember {
|
|
44
|
+
progressiveDialerConfig: ProgressiveDialerConfig;
|
|
45
|
+
predictiveDialerConfig?: never;
|
|
46
|
+
$unknown?: never;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
interface PredictiveDialerConfigMember {
|
|
50
|
+
progressiveDialerConfig?: never;
|
|
51
|
+
predictiveDialerConfig: PredictiveDialerConfig;
|
|
52
|
+
$unknown?: never;
|
|
53
|
+
}
|
|
54
|
+
interface $UnknownMember {
|
|
55
|
+
progressiveDialerConfig?: never;
|
|
56
|
+
predictiveDialerConfig?: never;
|
|
57
|
+
$unknown: [
|
|
58
|
+
string,
|
|
59
|
+
any
|
|
60
|
+
];
|
|
61
|
+
}
|
|
62
|
+
interface Visitor<T> {
|
|
63
|
+
progressiveDialerConfig: (value: ProgressiveDialerConfig) => T;
|
|
64
|
+
predictiveDialerConfig: (value: PredictiveDialerConfig) => T;
|
|
65
|
+
_: (name: string, value: any) => T;
|
|
66
|
+
}
|
|
67
|
+
const visit: <T>(value: DialerConfig, visitor: Visitor<T>) => T;
|
|
68
|
+
|
|
69
|
+
const filterSensitiveLog: (obj: DialerConfig) => any;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export interface AnswerMachineDetectionConfig {
|
|
73
|
+
|
|
74
|
+
enableAnswerMachineDetection: boolean | undefined;
|
|
75
|
+
}
|
|
76
|
+
export declare namespace AnswerMachineDetectionConfig {
|
|
77
|
+
|
|
78
|
+
const filterSensitiveLog: (obj: AnswerMachineDetectionConfig) => any;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export interface OutboundCallConfig {
|
|
82
|
+
|
|
83
|
+
connectContactFlowId: string | undefined;
|
|
84
|
+
|
|
85
|
+
connectSourcePhoneNumber?: string;
|
|
86
|
+
|
|
87
|
+
connectQueueId: string | undefined;
|
|
88
|
+
|
|
89
|
+
answerMachineDetectionConfig?: AnswerMachineDetectionConfig;
|
|
90
|
+
}
|
|
91
|
+
export declare namespace OutboundCallConfig {
|
|
92
|
+
|
|
93
|
+
const filterSensitiveLog: (obj: OutboundCallConfig) => any;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export interface CreateCampaignRequest {
|
|
97
|
+
|
|
98
|
+
name: string | undefined;
|
|
99
|
+
|
|
100
|
+
connectInstanceId: string | undefined;
|
|
101
|
+
|
|
102
|
+
dialerConfig: DialerConfig | undefined;
|
|
103
|
+
|
|
104
|
+
outboundCallConfig: OutboundCallConfig | undefined;
|
|
105
|
+
|
|
106
|
+
tags?: Record<string, string>;
|
|
107
|
+
}
|
|
108
|
+
export declare namespace CreateCampaignRequest {
|
|
109
|
+
|
|
110
|
+
const filterSensitiveLog: (obj: CreateCampaignRequest) => any;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export interface CreateCampaignResponse {
|
|
114
|
+
|
|
115
|
+
id?: string;
|
|
116
|
+
|
|
117
|
+
arn?: string;
|
|
118
|
+
|
|
119
|
+
tags?: Record<string, string>;
|
|
120
|
+
}
|
|
121
|
+
export declare namespace CreateCampaignResponse {
|
|
122
|
+
|
|
123
|
+
const filterSensitiveLog: (obj: CreateCampaignResponse) => any;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export declare class InternalServerException extends __BaseException {
|
|
127
|
+
readonly name: "InternalServerException";
|
|
128
|
+
readonly $fault: "server";
|
|
129
|
+
$retryable: {};
|
|
130
|
+
|
|
131
|
+
xAmzErrorType?: string;
|
|
132
|
+
|
|
133
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
137
|
+
readonly name: "ResourceNotFoundException";
|
|
138
|
+
readonly $fault: "client";
|
|
139
|
+
|
|
140
|
+
xAmzErrorType?: string;
|
|
141
|
+
|
|
142
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
146
|
+
readonly name: "ServiceQuotaExceededException";
|
|
147
|
+
readonly $fault: "client";
|
|
148
|
+
|
|
149
|
+
xAmzErrorType?: string;
|
|
150
|
+
|
|
151
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export declare class ThrottlingException extends __BaseException {
|
|
155
|
+
readonly name: "ThrottlingException";
|
|
156
|
+
readonly $fault: "client";
|
|
157
|
+
$retryable: {};
|
|
158
|
+
|
|
159
|
+
xAmzErrorType?: string;
|
|
160
|
+
|
|
161
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export declare class ValidationException extends __BaseException {
|
|
165
|
+
readonly name: "ValidationException";
|
|
166
|
+
readonly $fault: "client";
|
|
167
|
+
|
|
168
|
+
xAmzErrorType?: string;
|
|
169
|
+
|
|
170
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
export interface DeleteCampaignRequest {
|
|
174
|
+
|
|
175
|
+
id: string | undefined;
|
|
176
|
+
}
|
|
177
|
+
export declare namespace DeleteCampaignRequest {
|
|
178
|
+
|
|
179
|
+
const filterSensitiveLog: (obj: DeleteCampaignRequest) => any;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export interface DeleteConnectInstanceConfigRequest {
|
|
183
|
+
|
|
184
|
+
connectInstanceId: string | undefined;
|
|
185
|
+
}
|
|
186
|
+
export declare namespace DeleteConnectInstanceConfigRequest {
|
|
187
|
+
|
|
188
|
+
const filterSensitiveLog: (obj: DeleteConnectInstanceConfigRequest) => any;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export declare class InvalidStateException extends __BaseException {
|
|
192
|
+
readonly name: "InvalidStateException";
|
|
193
|
+
readonly $fault: "client";
|
|
194
|
+
|
|
195
|
+
xAmzErrorType?: string;
|
|
196
|
+
|
|
197
|
+
constructor(opts: __ExceptionOptionType<InvalidStateException, __BaseException>);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export interface DeleteInstanceOnboardingJobRequest {
|
|
201
|
+
|
|
202
|
+
connectInstanceId: string | undefined;
|
|
203
|
+
}
|
|
204
|
+
export declare namespace DeleteInstanceOnboardingJobRequest {
|
|
205
|
+
|
|
206
|
+
const filterSensitiveLog: (obj: DeleteInstanceOnboardingJobRequest) => any;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
export interface DescribeCampaignRequest {
|
|
210
|
+
|
|
211
|
+
id: string | undefined;
|
|
212
|
+
}
|
|
213
|
+
export declare namespace DescribeCampaignRequest {
|
|
214
|
+
|
|
215
|
+
const filterSensitiveLog: (obj: DescribeCampaignRequest) => any;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
export interface Campaign {
|
|
219
|
+
|
|
220
|
+
id: string | undefined;
|
|
221
|
+
|
|
222
|
+
arn: string | undefined;
|
|
223
|
+
|
|
224
|
+
name: string | undefined;
|
|
225
|
+
|
|
226
|
+
connectInstanceId: string | undefined;
|
|
227
|
+
|
|
228
|
+
dialerConfig: DialerConfig | undefined;
|
|
229
|
+
|
|
230
|
+
outboundCallConfig: OutboundCallConfig | undefined;
|
|
231
|
+
|
|
232
|
+
tags?: Record<string, string>;
|
|
233
|
+
}
|
|
234
|
+
export declare namespace Campaign {
|
|
235
|
+
|
|
236
|
+
const filterSensitiveLog: (obj: Campaign) => any;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
export interface DescribeCampaignResponse {
|
|
240
|
+
|
|
241
|
+
campaign?: Campaign;
|
|
242
|
+
}
|
|
243
|
+
export declare namespace DescribeCampaignResponse {
|
|
244
|
+
|
|
245
|
+
const filterSensitiveLog: (obj: DescribeCampaignResponse) => any;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
export interface GetCampaignStateRequest {
|
|
249
|
+
|
|
250
|
+
id: string | undefined;
|
|
251
|
+
}
|
|
252
|
+
export declare namespace GetCampaignStateRequest {
|
|
253
|
+
|
|
254
|
+
const filterSensitiveLog: (obj: GetCampaignStateRequest) => any;
|
|
255
|
+
}
|
|
256
|
+
export declare enum CampaignState {
|
|
257
|
+
|
|
258
|
+
FAILED = "Failed",
|
|
259
|
+
|
|
260
|
+
INITIALIZED = "Initialized",
|
|
261
|
+
|
|
262
|
+
PAUSED = "Paused",
|
|
263
|
+
|
|
264
|
+
RUNNING = "Running",
|
|
265
|
+
|
|
266
|
+
STOPPED = "Stopped"
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
export interface GetCampaignStateResponse {
|
|
270
|
+
|
|
271
|
+
state?: CampaignState | string;
|
|
272
|
+
}
|
|
273
|
+
export declare namespace GetCampaignStateResponse {
|
|
274
|
+
|
|
275
|
+
const filterSensitiveLog: (obj: GetCampaignStateResponse) => any;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
export interface GetCampaignStateBatchRequest {
|
|
279
|
+
|
|
280
|
+
campaignIds: string[] | undefined;
|
|
281
|
+
}
|
|
282
|
+
export declare namespace GetCampaignStateBatchRequest {
|
|
283
|
+
|
|
284
|
+
const filterSensitiveLog: (obj: GetCampaignStateBatchRequest) => any;
|
|
285
|
+
}
|
|
286
|
+
export declare enum GetCampaignStateBatchFailureCode {
|
|
287
|
+
|
|
288
|
+
RESOURCE_NOT_FOUND = "ResourceNotFound",
|
|
289
|
+
|
|
290
|
+
UNKNOWN_ERROR = "UnknownError"
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
export interface FailedCampaignStateResponse {
|
|
294
|
+
|
|
295
|
+
campaignId?: string;
|
|
296
|
+
|
|
297
|
+
failureCode?: GetCampaignStateBatchFailureCode | string;
|
|
298
|
+
}
|
|
299
|
+
export declare namespace FailedCampaignStateResponse {
|
|
300
|
+
|
|
301
|
+
const filterSensitiveLog: (obj: FailedCampaignStateResponse) => any;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
export interface SuccessfulCampaignStateResponse {
|
|
305
|
+
|
|
306
|
+
campaignId?: string;
|
|
307
|
+
|
|
308
|
+
state?: CampaignState | string;
|
|
309
|
+
}
|
|
310
|
+
export declare namespace SuccessfulCampaignStateResponse {
|
|
311
|
+
|
|
312
|
+
const filterSensitiveLog: (obj: SuccessfulCampaignStateResponse) => any;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
export interface GetCampaignStateBatchResponse {
|
|
316
|
+
|
|
317
|
+
successfulRequests?: SuccessfulCampaignStateResponse[];
|
|
318
|
+
|
|
319
|
+
failedRequests?: FailedCampaignStateResponse[];
|
|
320
|
+
}
|
|
321
|
+
export declare namespace GetCampaignStateBatchResponse {
|
|
322
|
+
|
|
323
|
+
const filterSensitiveLog: (obj: GetCampaignStateBatchResponse) => any;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
export interface GetConnectInstanceConfigRequest {
|
|
327
|
+
|
|
328
|
+
connectInstanceId: string | undefined;
|
|
329
|
+
}
|
|
330
|
+
export declare namespace GetConnectInstanceConfigRequest {
|
|
331
|
+
|
|
332
|
+
const filterSensitiveLog: (obj: GetConnectInstanceConfigRequest) => any;
|
|
333
|
+
}
|
|
334
|
+
export declare enum EncryptionType {
|
|
335
|
+
KMS = "KMS"
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
export interface EncryptionConfig {
|
|
339
|
+
|
|
340
|
+
enabled: boolean | undefined;
|
|
341
|
+
|
|
342
|
+
encryptionType?: EncryptionType | string;
|
|
343
|
+
|
|
344
|
+
keyArn?: string;
|
|
345
|
+
}
|
|
346
|
+
export declare namespace EncryptionConfig {
|
|
347
|
+
|
|
348
|
+
const filterSensitiveLog: (obj: EncryptionConfig) => any;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
export interface InstanceConfig {
|
|
352
|
+
|
|
353
|
+
connectInstanceId: string | undefined;
|
|
354
|
+
|
|
355
|
+
serviceLinkedRoleArn: string | undefined;
|
|
356
|
+
|
|
357
|
+
encryptionConfig: EncryptionConfig | undefined;
|
|
358
|
+
}
|
|
359
|
+
export declare namespace InstanceConfig {
|
|
360
|
+
|
|
361
|
+
const filterSensitiveLog: (obj: InstanceConfig) => any;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
export interface GetConnectInstanceConfigResponse {
|
|
365
|
+
|
|
366
|
+
connectInstanceConfig?: InstanceConfig;
|
|
367
|
+
}
|
|
368
|
+
export declare namespace GetConnectInstanceConfigResponse {
|
|
369
|
+
|
|
370
|
+
const filterSensitiveLog: (obj: GetConnectInstanceConfigResponse) => any;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
export interface GetInstanceOnboardingJobStatusRequest {
|
|
374
|
+
|
|
375
|
+
connectInstanceId: string | undefined;
|
|
376
|
+
}
|
|
377
|
+
export declare namespace GetInstanceOnboardingJobStatusRequest {
|
|
378
|
+
|
|
379
|
+
const filterSensitiveLog: (obj: GetInstanceOnboardingJobStatusRequest) => any;
|
|
380
|
+
}
|
|
381
|
+
export declare enum InstanceOnboardingJobFailureCode {
|
|
382
|
+
EVENT_BRIDGE_ACCESS_DENIED = "EVENT_BRIDGE_ACCESS_DENIED",
|
|
383
|
+
EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED = "EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED",
|
|
384
|
+
IAM_ACCESS_DENIED = "IAM_ACCESS_DENIED",
|
|
385
|
+
INTERNAL_FAILURE = "INTERNAL_FAILURE",
|
|
386
|
+
KMS_ACCESS_DENIED = "KMS_ACCESS_DENIED",
|
|
387
|
+
KMS_KEY_NOT_FOUND = "KMS_KEY_NOT_FOUND"
|
|
388
|
+
}
|
|
389
|
+
export declare enum InstanceOnboardingJobStatusCode {
|
|
390
|
+
FAILED = "FAILED",
|
|
391
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
392
|
+
SUCCEEDED = "SUCCEEDED"
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
export interface InstanceOnboardingJobStatus {
|
|
396
|
+
|
|
397
|
+
connectInstanceId: string | undefined;
|
|
398
|
+
|
|
399
|
+
status: InstanceOnboardingJobStatusCode | string | undefined;
|
|
400
|
+
|
|
401
|
+
failureCode?: InstanceOnboardingJobFailureCode | string;
|
|
402
|
+
}
|
|
403
|
+
export declare namespace InstanceOnboardingJobStatus {
|
|
404
|
+
|
|
405
|
+
const filterSensitiveLog: (obj: InstanceOnboardingJobStatus) => any;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
export interface GetInstanceOnboardingJobStatusResponse {
|
|
409
|
+
|
|
410
|
+
connectInstanceOnboardingJobStatus?: InstanceOnboardingJobStatus;
|
|
411
|
+
}
|
|
412
|
+
export declare namespace GetInstanceOnboardingJobStatusResponse {
|
|
413
|
+
|
|
414
|
+
const filterSensitiveLog: (obj: GetInstanceOnboardingJobStatusResponse) => any;
|
|
415
|
+
}
|
|
416
|
+
export declare enum InstanceIdFilterOperator {
|
|
417
|
+
|
|
418
|
+
EQ = "Eq"
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
export interface InstanceIdFilter {
|
|
422
|
+
|
|
423
|
+
value: string | undefined;
|
|
424
|
+
|
|
425
|
+
operator: InstanceIdFilterOperator | string | undefined;
|
|
426
|
+
}
|
|
427
|
+
export declare namespace InstanceIdFilter {
|
|
428
|
+
|
|
429
|
+
const filterSensitiveLog: (obj: InstanceIdFilter) => any;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
export interface CampaignFilters {
|
|
433
|
+
|
|
434
|
+
instanceIdFilter?: InstanceIdFilter;
|
|
435
|
+
}
|
|
436
|
+
export declare namespace CampaignFilters {
|
|
437
|
+
|
|
438
|
+
const filterSensitiveLog: (obj: CampaignFilters) => any;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
export interface ListCampaignsRequest {
|
|
442
|
+
|
|
443
|
+
maxResults?: number;
|
|
444
|
+
|
|
445
|
+
nextToken?: string;
|
|
446
|
+
|
|
447
|
+
filters?: CampaignFilters;
|
|
448
|
+
}
|
|
449
|
+
export declare namespace ListCampaignsRequest {
|
|
450
|
+
|
|
451
|
+
const filterSensitiveLog: (obj: ListCampaignsRequest) => any;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
export interface CampaignSummary {
|
|
455
|
+
|
|
456
|
+
id: string | undefined;
|
|
457
|
+
|
|
458
|
+
arn: string | undefined;
|
|
459
|
+
|
|
460
|
+
name: string | undefined;
|
|
461
|
+
|
|
462
|
+
connectInstanceId: string | undefined;
|
|
463
|
+
}
|
|
464
|
+
export declare namespace CampaignSummary {
|
|
465
|
+
|
|
466
|
+
const filterSensitiveLog: (obj: CampaignSummary) => any;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
export interface ListCampaignsResponse {
|
|
470
|
+
|
|
471
|
+
nextToken?: string;
|
|
472
|
+
|
|
473
|
+
campaignSummaryList?: CampaignSummary[];
|
|
474
|
+
}
|
|
475
|
+
export declare namespace ListCampaignsResponse {
|
|
476
|
+
|
|
477
|
+
const filterSensitiveLog: (obj: ListCampaignsResponse) => any;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
export interface ListTagsForResourceRequest {
|
|
481
|
+
|
|
482
|
+
arn: string | undefined;
|
|
483
|
+
}
|
|
484
|
+
export declare namespace ListTagsForResourceRequest {
|
|
485
|
+
|
|
486
|
+
const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
export interface ListTagsForResourceResponse {
|
|
490
|
+
|
|
491
|
+
tags?: Record<string, string>;
|
|
492
|
+
}
|
|
493
|
+
export declare namespace ListTagsForResourceResponse {
|
|
494
|
+
|
|
495
|
+
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
export declare class InvalidCampaignStateException extends __BaseException {
|
|
499
|
+
readonly name: "InvalidCampaignStateException";
|
|
500
|
+
readonly $fault: "client";
|
|
501
|
+
|
|
502
|
+
state: CampaignState | string | undefined;
|
|
503
|
+
|
|
504
|
+
xAmzErrorType?: string;
|
|
505
|
+
|
|
506
|
+
constructor(opts: __ExceptionOptionType<InvalidCampaignStateException, __BaseException>);
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
export interface PauseCampaignRequest {
|
|
510
|
+
|
|
511
|
+
id: string | undefined;
|
|
512
|
+
}
|
|
513
|
+
export declare namespace PauseCampaignRequest {
|
|
514
|
+
|
|
515
|
+
const filterSensitiveLog: (obj: PauseCampaignRequest) => any;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
export interface DialRequest {
|
|
519
|
+
|
|
520
|
+
clientToken: string | undefined;
|
|
521
|
+
|
|
522
|
+
phoneNumber: string | undefined;
|
|
523
|
+
|
|
524
|
+
expirationTime: Date | undefined;
|
|
525
|
+
|
|
526
|
+
attributes: Record<string, string> | undefined;
|
|
527
|
+
}
|
|
528
|
+
export declare namespace DialRequest {
|
|
529
|
+
|
|
530
|
+
const filterSensitiveLog: (obj: DialRequest) => any;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
export interface PutDialRequestBatchRequest {
|
|
534
|
+
|
|
535
|
+
id: string | undefined;
|
|
536
|
+
|
|
537
|
+
dialRequests: DialRequest[] | undefined;
|
|
538
|
+
}
|
|
539
|
+
export declare namespace PutDialRequestBatchRequest {
|
|
540
|
+
|
|
541
|
+
const filterSensitiveLog: (obj: PutDialRequestBatchRequest) => any;
|
|
542
|
+
}
|
|
543
|
+
export declare enum FailureCode {
|
|
544
|
+
|
|
545
|
+
INVALID_INPUT = "InvalidInput",
|
|
546
|
+
|
|
547
|
+
REQUEST_THROTTLED = "RequestThrottled",
|
|
548
|
+
|
|
549
|
+
UNKNOWN_ERROR = "UnknownError"
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
export interface FailedRequest {
|
|
553
|
+
|
|
554
|
+
clientToken?: string;
|
|
555
|
+
|
|
556
|
+
id?: string;
|
|
557
|
+
|
|
558
|
+
failureCode?: FailureCode | string;
|
|
559
|
+
}
|
|
560
|
+
export declare namespace FailedRequest {
|
|
561
|
+
|
|
562
|
+
const filterSensitiveLog: (obj: FailedRequest) => any;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
export interface SuccessfulRequest {
|
|
566
|
+
|
|
567
|
+
clientToken?: string;
|
|
568
|
+
|
|
569
|
+
id?: string;
|
|
570
|
+
}
|
|
571
|
+
export declare namespace SuccessfulRequest {
|
|
572
|
+
|
|
573
|
+
const filterSensitiveLog: (obj: SuccessfulRequest) => any;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
export interface PutDialRequestBatchResponse {
|
|
577
|
+
|
|
578
|
+
successfulRequests?: SuccessfulRequest[];
|
|
579
|
+
|
|
580
|
+
failedRequests?: FailedRequest[];
|
|
581
|
+
}
|
|
582
|
+
export declare namespace PutDialRequestBatchResponse {
|
|
583
|
+
|
|
584
|
+
const filterSensitiveLog: (obj: PutDialRequestBatchResponse) => any;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
export interface ResumeCampaignRequest {
|
|
588
|
+
|
|
589
|
+
id: string | undefined;
|
|
590
|
+
}
|
|
591
|
+
export declare namespace ResumeCampaignRequest {
|
|
592
|
+
|
|
593
|
+
const filterSensitiveLog: (obj: ResumeCampaignRequest) => any;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
export interface StartCampaignRequest {
|
|
597
|
+
|
|
598
|
+
id: string | undefined;
|
|
599
|
+
}
|
|
600
|
+
export declare namespace StartCampaignRequest {
|
|
601
|
+
|
|
602
|
+
const filterSensitiveLog: (obj: StartCampaignRequest) => any;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
export interface StartInstanceOnboardingJobRequest {
|
|
606
|
+
|
|
607
|
+
connectInstanceId: string | undefined;
|
|
608
|
+
|
|
609
|
+
encryptionConfig: EncryptionConfig | undefined;
|
|
610
|
+
}
|
|
611
|
+
export declare namespace StartInstanceOnboardingJobRequest {
|
|
612
|
+
|
|
613
|
+
const filterSensitiveLog: (obj: StartInstanceOnboardingJobRequest) => any;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
export interface StartInstanceOnboardingJobResponse {
|
|
617
|
+
|
|
618
|
+
connectInstanceOnboardingJobStatus?: InstanceOnboardingJobStatus;
|
|
619
|
+
}
|
|
620
|
+
export declare namespace StartInstanceOnboardingJobResponse {
|
|
621
|
+
|
|
622
|
+
const filterSensitiveLog: (obj: StartInstanceOnboardingJobResponse) => any;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
export interface StopCampaignRequest {
|
|
626
|
+
|
|
627
|
+
id: string | undefined;
|
|
628
|
+
}
|
|
629
|
+
export declare namespace StopCampaignRequest {
|
|
630
|
+
|
|
631
|
+
const filterSensitiveLog: (obj: StopCampaignRequest) => any;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
export interface TagResourceRequest {
|
|
635
|
+
|
|
636
|
+
arn: string | undefined;
|
|
637
|
+
|
|
638
|
+
tags: Record<string, string> | undefined;
|
|
639
|
+
}
|
|
640
|
+
export declare namespace TagResourceRequest {
|
|
641
|
+
|
|
642
|
+
const filterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
export interface UntagResourceRequest {
|
|
646
|
+
|
|
647
|
+
arn: string | undefined;
|
|
648
|
+
|
|
649
|
+
tagKeys: string[] | undefined;
|
|
650
|
+
}
|
|
651
|
+
export declare namespace UntagResourceRequest {
|
|
652
|
+
|
|
653
|
+
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
export interface UpdateCampaignDialerConfigRequest {
|
|
657
|
+
|
|
658
|
+
id: string | undefined;
|
|
659
|
+
|
|
660
|
+
dialerConfig: DialerConfig | undefined;
|
|
661
|
+
}
|
|
662
|
+
export declare namespace UpdateCampaignDialerConfigRequest {
|
|
663
|
+
|
|
664
|
+
const filterSensitiveLog: (obj: UpdateCampaignDialerConfigRequest) => any;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
export interface UpdateCampaignNameRequest {
|
|
668
|
+
|
|
669
|
+
id: string | undefined;
|
|
670
|
+
|
|
671
|
+
name: string | undefined;
|
|
672
|
+
}
|
|
673
|
+
export declare namespace UpdateCampaignNameRequest {
|
|
674
|
+
|
|
675
|
+
const filterSensitiveLog: (obj: UpdateCampaignNameRequest) => any;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
export interface UpdateCampaignOutboundCallConfigRequest {
|
|
679
|
+
|
|
680
|
+
id: string | undefined;
|
|
681
|
+
|
|
682
|
+
connectContactFlowId?: string;
|
|
683
|
+
|
|
684
|
+
connectSourcePhoneNumber?: string;
|
|
685
|
+
|
|
686
|
+
answerMachineDetectionConfig?: AnswerMachineDetectionConfig;
|
|
687
|
+
}
|
|
688
|
+
export declare namespace UpdateCampaignOutboundCallConfigRequest {
|
|
689
|
+
|
|
690
|
+
const filterSensitiveLog: (obj: UpdateCampaignOutboundCallConfigRequest) => any;
|
|
691
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { ConnectCampaigns } from "../ConnectCampaigns";
|
|
3
|
+
import { ConnectCampaignsClient } from "../ConnectCampaignsClient";
|
|
4
|
+
export interface ConnectCampaignsPaginationConfiguration extends PaginationConfiguration {
|
|
5
|
+
client: ConnectCampaigns | ConnectCampaignsClient;
|
|
6
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListCampaignsCommandInput, ListCampaignsCommandOutput } from "../commands/ListCampaignsCommand";
|
|
3
|
+
import { ConnectCampaignsPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListCampaigns(config: ConnectCampaignsPaginationConfiguration, input: ListCampaignsCommandInput, ...additionalArguments: any): Paginator<ListCampaignsCommandOutput>;
|