@aws-sdk/client-connectcampaigns 3.295.0 → 3.297.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/dist-types/ConnectCampaigns.d.ts +23 -0
- package/dist-types/ConnectCampaignsClient.d.ts +24 -4
- package/dist-types/commands/CreateCampaignCommand.d.ts +16 -0
- package/dist-types/commands/DeleteCampaignCommand.d.ts +16 -0
- package/dist-types/commands/DeleteConnectInstanceConfigCommand.d.ts +16 -0
- package/dist-types/commands/DeleteInstanceOnboardingJobCommand.d.ts +16 -0
- package/dist-types/commands/DescribeCampaignCommand.d.ts +16 -0
- package/dist-types/commands/GetCampaignStateBatchCommand.d.ts +16 -0
- package/dist-types/commands/GetCampaignStateCommand.d.ts +16 -0
- package/dist-types/commands/GetConnectInstanceConfigCommand.d.ts +16 -0
- package/dist-types/commands/GetInstanceOnboardingJobStatusCommand.d.ts +16 -0
- package/dist-types/commands/ListCampaignsCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/PauseCampaignCommand.d.ts +16 -0
- package/dist-types/commands/PutDialRequestBatchCommand.d.ts +16 -0
- package/dist-types/commands/ResumeCampaignCommand.d.ts +16 -0
- package/dist-types/commands/StartCampaignCommand.d.ts +16 -0
- package/dist-types/commands/StartInstanceOnboardingJobCommand.d.ts +16 -0
- package/dist-types/commands/StopCampaignCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateCampaignDialerConfigCommand.d.ts +16 -0
- package/dist-types/commands/UpdateCampaignNameCommand.d.ts +16 -0
- package/dist-types/commands/UpdateCampaignOutboundCallConfigCommand.d.ts +16 -0
- package/dist-types/models/ConnectCampaignsServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +82 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListCampaignsPaginator.d.ts +3 -0
- package/package.json +29 -29
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ConnectCampaignsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCampaignsClient";
|
|
5
5
|
import { UpdateCampaignOutboundCallConfigRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateCampaignOutboundCallConfigCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateCampaignOutboundCallConfigCommandInput extends UpdateCampaignOutboundCallConfigRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateCampaignOutboundCallConfigCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateCampaignOutboundCallConfigCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* Updates the outbound call config of a campaign. This API is idempotent.
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface UpdateCampaignOutboundCallConfigCommandOutput extends __Metadat
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param UpdateCampaignOutboundCallConfigCommandInput - {@link UpdateCampaignOutboundCallConfigCommandInput}
|
|
34
|
+
* @returns {@link UpdateCampaignOutboundCallConfigCommandOutput}
|
|
28
35
|
* @see {@link UpdateCampaignOutboundCallConfigCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link UpdateCampaignOutboundCallConfigCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link ConnectCampaignsClientResolvedConfig | config} for ConnectCampaignsClient's `config` shape.
|
|
@@ -52,11 +59,20 @@ export interface UpdateCampaignOutboundCallConfigCommandOutput extends __Metadat
|
|
|
52
59
|
export declare class UpdateCampaignOutboundCallConfigCommand extends $Command<UpdateCampaignOutboundCallConfigCommandInput, UpdateCampaignOutboundCallConfigCommandOutput, ConnectCampaignsClientResolvedConfig> {
|
|
53
60
|
readonly input: UpdateCampaignOutboundCallConfigCommandInput;
|
|
54
61
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
55
65
|
constructor(input: UpdateCampaignOutboundCallConfigCommandInput);
|
|
56
66
|
/**
|
|
57
67
|
* @internal
|
|
58
68
|
*/
|
|
59
69
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCampaignsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateCampaignOutboundCallConfigCommandInput, UpdateCampaignOutboundCallConfigCommandOutput>;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
60
73
|
private serialize;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
61
77
|
private deserialize;
|
|
62
78
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from ConnectCampaigns service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class ConnectCampaignsServiceException extends __ServiceException {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { ConnectCampaignsServiceException as __BaseException } from "./ConnectCampaignsServiceException";
|
|
3
3
|
/**
|
|
4
|
+
* @public
|
|
4
5
|
* You do not have sufficient access to perform this action.
|
|
5
6
|
*/
|
|
6
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
@@ -16,6 +17,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
16
17
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
17
18
|
}
|
|
18
19
|
/**
|
|
20
|
+
* @public
|
|
19
21
|
* The request could not be processed because of conflict in the current state of the resource.
|
|
20
22
|
*/
|
|
21
23
|
export declare class ConflictException extends __BaseException {
|
|
@@ -31,6 +33,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
31
33
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
32
34
|
}
|
|
33
35
|
/**
|
|
36
|
+
* @public
|
|
34
37
|
* Predictive Dialer config
|
|
35
38
|
*/
|
|
36
39
|
export interface PredictiveDialerConfig {
|
|
@@ -40,6 +43,7 @@ export interface PredictiveDialerConfig {
|
|
|
40
43
|
bandwidthAllocation: number | undefined;
|
|
41
44
|
}
|
|
42
45
|
/**
|
|
46
|
+
* @public
|
|
43
47
|
* Progressive Dialer config
|
|
44
48
|
*/
|
|
45
49
|
export interface ProgressiveDialerConfig {
|
|
@@ -49,9 +53,13 @@ export interface ProgressiveDialerConfig {
|
|
|
49
53
|
bandwidthAllocation: number | undefined;
|
|
50
54
|
}
|
|
51
55
|
/**
|
|
56
|
+
* @public
|
|
52
57
|
* The possible types of dialer config parameters
|
|
53
58
|
*/
|
|
54
59
|
export type DialerConfig = DialerConfig.PredictiveDialerConfigMember | DialerConfig.ProgressiveDialerConfigMember | DialerConfig.$UnknownMember;
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
55
63
|
export declare namespace DialerConfig {
|
|
56
64
|
/**
|
|
57
65
|
* Progressive Dialer config
|
|
@@ -82,6 +90,7 @@ export declare namespace DialerConfig {
|
|
|
82
90
|
const visit: <T>(value: DialerConfig, visitor: Visitor<T>) => T;
|
|
83
91
|
}
|
|
84
92
|
/**
|
|
93
|
+
* @public
|
|
85
94
|
* Answering Machine Detection config
|
|
86
95
|
*/
|
|
87
96
|
export interface AnswerMachineDetectionConfig {
|
|
@@ -91,6 +100,7 @@ export interface AnswerMachineDetectionConfig {
|
|
|
91
100
|
enableAnswerMachineDetection: boolean | undefined;
|
|
92
101
|
}
|
|
93
102
|
/**
|
|
103
|
+
* @public
|
|
94
104
|
* The configuration used for outbound calls.
|
|
95
105
|
*/
|
|
96
106
|
export interface OutboundCallConfig {
|
|
@@ -112,6 +122,7 @@ export interface OutboundCallConfig {
|
|
|
112
122
|
answerMachineDetectionConfig?: AnswerMachineDetectionConfig;
|
|
113
123
|
}
|
|
114
124
|
/**
|
|
125
|
+
* @public
|
|
115
126
|
* The request for Create Campaign API.
|
|
116
127
|
*/
|
|
117
128
|
export interface CreateCampaignRequest {
|
|
@@ -137,6 +148,7 @@ export interface CreateCampaignRequest {
|
|
|
137
148
|
tags?: Record<string, string>;
|
|
138
149
|
}
|
|
139
150
|
/**
|
|
151
|
+
* @public
|
|
140
152
|
* The response for Create Campaign API
|
|
141
153
|
*/
|
|
142
154
|
export interface CreateCampaignResponse {
|
|
@@ -154,6 +166,7 @@ export interface CreateCampaignResponse {
|
|
|
154
166
|
tags?: Record<string, string>;
|
|
155
167
|
}
|
|
156
168
|
/**
|
|
169
|
+
* @public
|
|
157
170
|
* Request processing failed because of an error or failure with the service.
|
|
158
171
|
*/
|
|
159
172
|
export declare class InternalServerException extends __BaseException {
|
|
@@ -170,6 +183,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
170
183
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
171
184
|
}
|
|
172
185
|
/**
|
|
186
|
+
* @public
|
|
173
187
|
* The specified resource was not found.
|
|
174
188
|
*/
|
|
175
189
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
@@ -185,6 +199,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
185
199
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
186
200
|
}
|
|
187
201
|
/**
|
|
202
|
+
* @public
|
|
188
203
|
* Request would cause a service quota to be exceeded.
|
|
189
204
|
*/
|
|
190
205
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
@@ -200,6 +215,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
200
215
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
201
216
|
}
|
|
202
217
|
/**
|
|
218
|
+
* @public
|
|
203
219
|
* The request was denied due to request throttling.
|
|
204
220
|
*/
|
|
205
221
|
export declare class ThrottlingException extends __BaseException {
|
|
@@ -216,6 +232,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
216
232
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
217
233
|
}
|
|
218
234
|
/**
|
|
235
|
+
* @public
|
|
219
236
|
* The input fails to satisfy the constraints specified by an AWS service.
|
|
220
237
|
*/
|
|
221
238
|
export declare class ValidationException extends __BaseException {
|
|
@@ -231,6 +248,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
231
248
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
232
249
|
}
|
|
233
250
|
/**
|
|
251
|
+
* @public
|
|
234
252
|
* DeleteCampaignRequest
|
|
235
253
|
*/
|
|
236
254
|
export interface DeleteCampaignRequest {
|
|
@@ -240,6 +258,7 @@ export interface DeleteCampaignRequest {
|
|
|
240
258
|
id: string | undefined;
|
|
241
259
|
}
|
|
242
260
|
/**
|
|
261
|
+
* @public
|
|
243
262
|
* DeleteCampaignRequest
|
|
244
263
|
*/
|
|
245
264
|
export interface DeleteConnectInstanceConfigRequest {
|
|
@@ -249,6 +268,7 @@ export interface DeleteConnectInstanceConfigRequest {
|
|
|
249
268
|
connectInstanceId: string | undefined;
|
|
250
269
|
}
|
|
251
270
|
/**
|
|
271
|
+
* @public
|
|
252
272
|
* The request could not be processed because of conflict in the current state.
|
|
253
273
|
*/
|
|
254
274
|
export declare class InvalidStateException extends __BaseException {
|
|
@@ -264,6 +284,7 @@ export declare class InvalidStateException extends __BaseException {
|
|
|
264
284
|
constructor(opts: __ExceptionOptionType<InvalidStateException, __BaseException>);
|
|
265
285
|
}
|
|
266
286
|
/**
|
|
287
|
+
* @public
|
|
267
288
|
* The request for DeleteInstanceOnboardingJob API.
|
|
268
289
|
*/
|
|
269
290
|
export interface DeleteInstanceOnboardingJobRequest {
|
|
@@ -273,6 +294,7 @@ export interface DeleteInstanceOnboardingJobRequest {
|
|
|
273
294
|
connectInstanceId: string | undefined;
|
|
274
295
|
}
|
|
275
296
|
/**
|
|
297
|
+
* @public
|
|
276
298
|
* DescribeCampaignRequests
|
|
277
299
|
*/
|
|
278
300
|
export interface DescribeCampaignRequest {
|
|
@@ -282,6 +304,7 @@ export interface DescribeCampaignRequest {
|
|
|
282
304
|
id: string | undefined;
|
|
283
305
|
}
|
|
284
306
|
/**
|
|
307
|
+
* @public
|
|
285
308
|
* An Amazon Connect campaign.
|
|
286
309
|
*/
|
|
287
310
|
export interface Campaign {
|
|
@@ -315,6 +338,7 @@ export interface Campaign {
|
|
|
315
338
|
tags?: Record<string, string>;
|
|
316
339
|
}
|
|
317
340
|
/**
|
|
341
|
+
* @public
|
|
318
342
|
* DescribeCampaignResponse
|
|
319
343
|
*/
|
|
320
344
|
export interface DescribeCampaignResponse {
|
|
@@ -324,6 +348,7 @@ export interface DescribeCampaignResponse {
|
|
|
324
348
|
campaign?: Campaign;
|
|
325
349
|
}
|
|
326
350
|
/**
|
|
351
|
+
* @public
|
|
327
352
|
* GetCampaignStateRequest
|
|
328
353
|
*/
|
|
329
354
|
export interface GetCampaignStateRequest {
|
|
@@ -332,6 +357,9 @@ export interface GetCampaignStateRequest {
|
|
|
332
357
|
*/
|
|
333
358
|
id: string | undefined;
|
|
334
359
|
}
|
|
360
|
+
/**
|
|
361
|
+
* @public
|
|
362
|
+
*/
|
|
335
363
|
export declare enum CampaignState {
|
|
336
364
|
/**
|
|
337
365
|
* Campaign is in failed state
|
|
@@ -355,6 +383,7 @@ export declare enum CampaignState {
|
|
|
355
383
|
STOPPED = "Stopped"
|
|
356
384
|
}
|
|
357
385
|
/**
|
|
386
|
+
* @public
|
|
358
387
|
* GetCampaignStateResponse
|
|
359
388
|
*/
|
|
360
389
|
export interface GetCampaignStateResponse {
|
|
@@ -364,6 +393,7 @@ export interface GetCampaignStateResponse {
|
|
|
364
393
|
state?: CampaignState | string;
|
|
365
394
|
}
|
|
366
395
|
/**
|
|
396
|
+
* @public
|
|
367
397
|
* GetCampaignStateBatchRequest
|
|
368
398
|
*/
|
|
369
399
|
export interface GetCampaignStateBatchRequest {
|
|
@@ -372,6 +402,9 @@ export interface GetCampaignStateBatchRequest {
|
|
|
372
402
|
*/
|
|
373
403
|
campaignIds: string[] | undefined;
|
|
374
404
|
}
|
|
405
|
+
/**
|
|
406
|
+
* @public
|
|
407
|
+
*/
|
|
375
408
|
export declare enum GetCampaignStateBatchFailureCode {
|
|
376
409
|
/**
|
|
377
410
|
* The specified resource was not found
|
|
@@ -383,6 +416,7 @@ export declare enum GetCampaignStateBatchFailureCode {
|
|
|
383
416
|
UNKNOWN_ERROR = "UnknownError"
|
|
384
417
|
}
|
|
385
418
|
/**
|
|
419
|
+
* @public
|
|
386
420
|
* Failed response of campaign state
|
|
387
421
|
*/
|
|
388
422
|
export interface FailedCampaignStateResponse {
|
|
@@ -396,6 +430,7 @@ export interface FailedCampaignStateResponse {
|
|
|
396
430
|
failureCode?: GetCampaignStateBatchFailureCode | string;
|
|
397
431
|
}
|
|
398
432
|
/**
|
|
433
|
+
* @public
|
|
399
434
|
* Successful response of campaign state
|
|
400
435
|
*/
|
|
401
436
|
export interface SuccessfulCampaignStateResponse {
|
|
@@ -409,6 +444,7 @@ export interface SuccessfulCampaignStateResponse {
|
|
|
409
444
|
state?: CampaignState | string;
|
|
410
445
|
}
|
|
411
446
|
/**
|
|
447
|
+
* @public
|
|
412
448
|
* GetCampaignStateBatchResponse
|
|
413
449
|
*/
|
|
414
450
|
export interface GetCampaignStateBatchResponse {
|
|
@@ -422,6 +458,7 @@ export interface GetCampaignStateBatchResponse {
|
|
|
422
458
|
failedRequests?: FailedCampaignStateResponse[];
|
|
423
459
|
}
|
|
424
460
|
/**
|
|
461
|
+
* @public
|
|
425
462
|
* GetConnectInstanceConfigRequest
|
|
426
463
|
*/
|
|
427
464
|
export interface GetConnectInstanceConfigRequest {
|
|
@@ -430,10 +467,14 @@ export interface GetConnectInstanceConfigRequest {
|
|
|
430
467
|
*/
|
|
431
468
|
connectInstanceId: string | undefined;
|
|
432
469
|
}
|
|
470
|
+
/**
|
|
471
|
+
* @public
|
|
472
|
+
*/
|
|
433
473
|
export declare enum EncryptionType {
|
|
434
474
|
KMS = "KMS"
|
|
435
475
|
}
|
|
436
476
|
/**
|
|
477
|
+
* @public
|
|
437
478
|
* Encryption config for Connect Instance. Note that sensitive data will always be encrypted.
|
|
438
479
|
* If disabled, service will perform encryption with its own key.
|
|
439
480
|
* If enabled, a KMS key id needs to be provided and KMS charges will apply.
|
|
@@ -454,6 +495,7 @@ export interface EncryptionConfig {
|
|
|
454
495
|
keyArn?: string;
|
|
455
496
|
}
|
|
456
497
|
/**
|
|
498
|
+
* @public
|
|
457
499
|
* Instance config object
|
|
458
500
|
*/
|
|
459
501
|
export interface InstanceConfig {
|
|
@@ -474,6 +516,7 @@ export interface InstanceConfig {
|
|
|
474
516
|
encryptionConfig: EncryptionConfig | undefined;
|
|
475
517
|
}
|
|
476
518
|
/**
|
|
519
|
+
* @public
|
|
477
520
|
* GetConnectInstanceConfigResponse
|
|
478
521
|
*/
|
|
479
522
|
export interface GetConnectInstanceConfigResponse {
|
|
@@ -483,6 +526,7 @@ export interface GetConnectInstanceConfigResponse {
|
|
|
483
526
|
connectInstanceConfig?: InstanceConfig;
|
|
484
527
|
}
|
|
485
528
|
/**
|
|
529
|
+
* @public
|
|
486
530
|
* GetInstanceOnboardingJobStatusRequest
|
|
487
531
|
*/
|
|
488
532
|
export interface GetInstanceOnboardingJobStatusRequest {
|
|
@@ -491,6 +535,9 @@ export interface GetInstanceOnboardingJobStatusRequest {
|
|
|
491
535
|
*/
|
|
492
536
|
connectInstanceId: string | undefined;
|
|
493
537
|
}
|
|
538
|
+
/**
|
|
539
|
+
* @public
|
|
540
|
+
*/
|
|
494
541
|
export declare enum InstanceOnboardingJobFailureCode {
|
|
495
542
|
EVENT_BRIDGE_ACCESS_DENIED = "EVENT_BRIDGE_ACCESS_DENIED",
|
|
496
543
|
EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED = "EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED",
|
|
@@ -499,12 +546,16 @@ export declare enum InstanceOnboardingJobFailureCode {
|
|
|
499
546
|
KMS_ACCESS_DENIED = "KMS_ACCESS_DENIED",
|
|
500
547
|
KMS_KEY_NOT_FOUND = "KMS_KEY_NOT_FOUND"
|
|
501
548
|
}
|
|
549
|
+
/**
|
|
550
|
+
* @public
|
|
551
|
+
*/
|
|
502
552
|
export declare enum InstanceOnboardingJobStatusCode {
|
|
503
553
|
FAILED = "FAILED",
|
|
504
554
|
IN_PROGRESS = "IN_PROGRESS",
|
|
505
555
|
SUCCEEDED = "SUCCEEDED"
|
|
506
556
|
}
|
|
507
557
|
/**
|
|
558
|
+
* @public
|
|
508
559
|
* Instance onboarding job status object
|
|
509
560
|
*/
|
|
510
561
|
export interface InstanceOnboardingJobStatus {
|
|
@@ -522,6 +573,7 @@ export interface InstanceOnboardingJobStatus {
|
|
|
522
573
|
failureCode?: InstanceOnboardingJobFailureCode | string;
|
|
523
574
|
}
|
|
524
575
|
/**
|
|
576
|
+
* @public
|
|
525
577
|
* GetInstanceOnboardingJobStatusResponse
|
|
526
578
|
*/
|
|
527
579
|
export interface GetInstanceOnboardingJobStatusResponse {
|
|
@@ -530,6 +582,9 @@ export interface GetInstanceOnboardingJobStatusResponse {
|
|
|
530
582
|
*/
|
|
531
583
|
connectInstanceOnboardingJobStatus?: InstanceOnboardingJobStatus;
|
|
532
584
|
}
|
|
585
|
+
/**
|
|
586
|
+
* @public
|
|
587
|
+
*/
|
|
533
588
|
export declare enum InstanceIdFilterOperator {
|
|
534
589
|
/**
|
|
535
590
|
* Equals operator
|
|
@@ -537,6 +592,7 @@ export declare enum InstanceIdFilterOperator {
|
|
|
537
592
|
EQ = "Eq"
|
|
538
593
|
}
|
|
539
594
|
/**
|
|
595
|
+
* @public
|
|
540
596
|
* Connect instance identifier filter
|
|
541
597
|
*/
|
|
542
598
|
export interface InstanceIdFilter {
|
|
@@ -550,6 +606,7 @@ export interface InstanceIdFilter {
|
|
|
550
606
|
operator: InstanceIdFilterOperator | string | undefined;
|
|
551
607
|
}
|
|
552
608
|
/**
|
|
609
|
+
* @public
|
|
553
610
|
* Filter model by type
|
|
554
611
|
*/
|
|
555
612
|
export interface CampaignFilters {
|
|
@@ -559,6 +616,7 @@ export interface CampaignFilters {
|
|
|
559
616
|
instanceIdFilter?: InstanceIdFilter;
|
|
560
617
|
}
|
|
561
618
|
/**
|
|
619
|
+
* @public
|
|
562
620
|
* ListCampaignsRequest
|
|
563
621
|
*/
|
|
564
622
|
export interface ListCampaignsRequest {
|
|
@@ -576,6 +634,7 @@ export interface ListCampaignsRequest {
|
|
|
576
634
|
filters?: CampaignFilters;
|
|
577
635
|
}
|
|
578
636
|
/**
|
|
637
|
+
* @public
|
|
579
638
|
* An Amazon Connect campaign summary.
|
|
580
639
|
*/
|
|
581
640
|
export interface CampaignSummary {
|
|
@@ -597,6 +656,7 @@ export interface CampaignSummary {
|
|
|
597
656
|
connectInstanceId: string | undefined;
|
|
598
657
|
}
|
|
599
658
|
/**
|
|
659
|
+
* @public
|
|
600
660
|
* ListCampaignsResponse
|
|
601
661
|
*/
|
|
602
662
|
export interface ListCampaignsResponse {
|
|
@@ -610,6 +670,7 @@ export interface ListCampaignsResponse {
|
|
|
610
670
|
campaignSummaryList?: CampaignSummary[];
|
|
611
671
|
}
|
|
612
672
|
/**
|
|
673
|
+
* @public
|
|
613
674
|
* ListTagsForResource
|
|
614
675
|
*/
|
|
615
676
|
export interface ListTagsForResourceRequest {
|
|
@@ -619,6 +680,7 @@ export interface ListTagsForResourceRequest {
|
|
|
619
680
|
arn: string | undefined;
|
|
620
681
|
}
|
|
621
682
|
/**
|
|
683
|
+
* @public
|
|
622
684
|
* ListTagsForResponse
|
|
623
685
|
*/
|
|
624
686
|
export interface ListTagsForResourceResponse {
|
|
@@ -628,6 +690,7 @@ export interface ListTagsForResourceResponse {
|
|
|
628
690
|
tags?: Record<string, string>;
|
|
629
691
|
}
|
|
630
692
|
/**
|
|
693
|
+
* @public
|
|
631
694
|
* The request could not be processed because of conflict in the current state of the campaign.
|
|
632
695
|
*/
|
|
633
696
|
export declare class InvalidCampaignStateException extends __BaseException {
|
|
@@ -647,6 +710,7 @@ export declare class InvalidCampaignStateException extends __BaseException {
|
|
|
647
710
|
constructor(opts: __ExceptionOptionType<InvalidCampaignStateException, __BaseException>);
|
|
648
711
|
}
|
|
649
712
|
/**
|
|
713
|
+
* @public
|
|
650
714
|
* PauseCampaignRequest
|
|
651
715
|
*/
|
|
652
716
|
export interface PauseCampaignRequest {
|
|
@@ -656,6 +720,7 @@ export interface PauseCampaignRequest {
|
|
|
656
720
|
id: string | undefined;
|
|
657
721
|
}
|
|
658
722
|
/**
|
|
723
|
+
* @public
|
|
659
724
|
* A dial request for a campaign.
|
|
660
725
|
*/
|
|
661
726
|
export interface DialRequest {
|
|
@@ -677,6 +742,7 @@ export interface DialRequest {
|
|
|
677
742
|
attributes: Record<string, string> | undefined;
|
|
678
743
|
}
|
|
679
744
|
/**
|
|
745
|
+
* @public
|
|
680
746
|
* PutDialRequestBatchRequest
|
|
681
747
|
*/
|
|
682
748
|
export interface PutDialRequestBatchRequest {
|
|
@@ -689,6 +755,9 @@ export interface PutDialRequestBatchRequest {
|
|
|
689
755
|
*/
|
|
690
756
|
dialRequests: DialRequest[] | undefined;
|
|
691
757
|
}
|
|
758
|
+
/**
|
|
759
|
+
* @public
|
|
760
|
+
*/
|
|
692
761
|
export declare enum FailureCode {
|
|
693
762
|
/**
|
|
694
763
|
* The request failed to satisfy the constraints specified by the service
|
|
@@ -704,6 +773,7 @@ export declare enum FailureCode {
|
|
|
704
773
|
UNKNOWN_ERROR = "UnknownError"
|
|
705
774
|
}
|
|
706
775
|
/**
|
|
776
|
+
* @public
|
|
707
777
|
* A failed request identified by the unique client token.
|
|
708
778
|
*/
|
|
709
779
|
export interface FailedRequest {
|
|
@@ -721,6 +791,7 @@ export interface FailedRequest {
|
|
|
721
791
|
failureCode?: FailureCode | string;
|
|
722
792
|
}
|
|
723
793
|
/**
|
|
794
|
+
* @public
|
|
724
795
|
* A successful request identified by the unique client token.
|
|
725
796
|
*/
|
|
726
797
|
export interface SuccessfulRequest {
|
|
@@ -734,6 +805,7 @@ export interface SuccessfulRequest {
|
|
|
734
805
|
id?: string;
|
|
735
806
|
}
|
|
736
807
|
/**
|
|
808
|
+
* @public
|
|
737
809
|
* PutDialRequestBatchResponse
|
|
738
810
|
*/
|
|
739
811
|
export interface PutDialRequestBatchResponse {
|
|
@@ -747,6 +819,7 @@ export interface PutDialRequestBatchResponse {
|
|
|
747
819
|
failedRequests?: FailedRequest[];
|
|
748
820
|
}
|
|
749
821
|
/**
|
|
822
|
+
* @public
|
|
750
823
|
* ResumeCampaignRequest
|
|
751
824
|
*/
|
|
752
825
|
export interface ResumeCampaignRequest {
|
|
@@ -756,6 +829,7 @@ export interface ResumeCampaignRequest {
|
|
|
756
829
|
id: string | undefined;
|
|
757
830
|
}
|
|
758
831
|
/**
|
|
832
|
+
* @public
|
|
759
833
|
* StartCampaignRequest
|
|
760
834
|
*/
|
|
761
835
|
export interface StartCampaignRequest {
|
|
@@ -765,6 +839,7 @@ export interface StartCampaignRequest {
|
|
|
765
839
|
id: string | undefined;
|
|
766
840
|
}
|
|
767
841
|
/**
|
|
842
|
+
* @public
|
|
768
843
|
* The request for StartInstanceOnboardingJob API.
|
|
769
844
|
*/
|
|
770
845
|
export interface StartInstanceOnboardingJobRequest {
|
|
@@ -781,6 +856,7 @@ export interface StartInstanceOnboardingJobRequest {
|
|
|
781
856
|
encryptionConfig: EncryptionConfig | undefined;
|
|
782
857
|
}
|
|
783
858
|
/**
|
|
859
|
+
* @public
|
|
784
860
|
* The response for StartInstanceOnboardingJob API.
|
|
785
861
|
*/
|
|
786
862
|
export interface StartInstanceOnboardingJobResponse {
|
|
@@ -790,6 +866,7 @@ export interface StartInstanceOnboardingJobResponse {
|
|
|
790
866
|
connectInstanceOnboardingJobStatus?: InstanceOnboardingJobStatus;
|
|
791
867
|
}
|
|
792
868
|
/**
|
|
869
|
+
* @public
|
|
793
870
|
* StopCampaignRequest
|
|
794
871
|
*/
|
|
795
872
|
export interface StopCampaignRequest {
|
|
@@ -799,6 +876,7 @@ export interface StopCampaignRequest {
|
|
|
799
876
|
id: string | undefined;
|
|
800
877
|
}
|
|
801
878
|
/**
|
|
879
|
+
* @public
|
|
802
880
|
* TagResourceRequest
|
|
803
881
|
*/
|
|
804
882
|
export interface TagResourceRequest {
|
|
@@ -812,6 +890,7 @@ export interface TagResourceRequest {
|
|
|
812
890
|
tags: Record<string, string> | undefined;
|
|
813
891
|
}
|
|
814
892
|
/**
|
|
893
|
+
* @public
|
|
815
894
|
* UntagResourceRequest
|
|
816
895
|
*/
|
|
817
896
|
export interface UntagResourceRequest {
|
|
@@ -825,6 +904,7 @@ export interface UntagResourceRequest {
|
|
|
825
904
|
tagKeys: string[] | undefined;
|
|
826
905
|
}
|
|
827
906
|
/**
|
|
907
|
+
* @public
|
|
828
908
|
* UpdateCampaignDialerConfigRequest
|
|
829
909
|
*/
|
|
830
910
|
export interface UpdateCampaignDialerConfigRequest {
|
|
@@ -838,6 +918,7 @@ export interface UpdateCampaignDialerConfigRequest {
|
|
|
838
918
|
dialerConfig: DialerConfig | undefined;
|
|
839
919
|
}
|
|
840
920
|
/**
|
|
921
|
+
* @public
|
|
841
922
|
* UpdateCampaignNameRequest
|
|
842
923
|
*/
|
|
843
924
|
export interface UpdateCampaignNameRequest {
|
|
@@ -851,6 +932,7 @@ export interface UpdateCampaignNameRequest {
|
|
|
851
932
|
name: string | undefined;
|
|
852
933
|
}
|
|
853
934
|
/**
|
|
935
|
+
* @public
|
|
854
936
|
* UpdateCampaignOutboundCallConfigRequest
|
|
855
937
|
*/
|
|
856
938
|
export interface UpdateCampaignOutboundCallConfigRequest {
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
2
|
import { ConnectCampaignsClient } from "../ConnectCampaignsClient";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
3
6
|
export interface ConnectCampaignsPaginationConfiguration extends PaginationConfiguration {
|
|
4
7
|
client: ConnectCampaignsClient;
|
|
5
8
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListCampaignsCommandInput, ListCampaignsCommandOutput } from "../commands/ListCampaignsCommand";
|
|
3
3
|
import { ConnectCampaignsPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListCampaigns(config: ConnectCampaignsPaginationConfiguration, input: ListCampaignsCommandInput, ...additionalArguments: any): Paginator<ListCampaignsCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connectcampaigns",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connectcampaigns Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.297.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,37 +20,37 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.297.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.297.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.296.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.296.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.296.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.296.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.296.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.296.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.296.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.296.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.296.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.296.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.296.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.296.0",
|
|
43
|
+
"@aws-sdk/types": "3.296.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.296.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.295.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.296.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.296.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.296.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.296.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.296.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
55
55
|
"tslib": "^2.5.0"
|
|
56
56
|
},
|