@aws-sdk/client-connectcampaigns 3.1136.0 → 3.1138.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-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1137.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -416,10 +416,10 @@ const _v = "value";
|
|
|
416
416
|
const _xAET = "xAmzErrorType";
|
|
417
417
|
const _xaE = "x-amzn-ErrorType";
|
|
418
418
|
const n0 = "com.amazonaws.connectcampaigns";
|
|
419
|
-
const _s_registry = TypeRegistry
|
|
419
|
+
const _s_registry = new TypeRegistry(_s);
|
|
420
420
|
var ConnectCampaignsServiceException$ = [-3, _s, "ConnectCampaignsServiceException", 0, [], []];
|
|
421
421
|
_s_registry.registerError(ConnectCampaignsServiceException$, ConnectCampaignsServiceException);
|
|
422
|
-
const n0_registry = TypeRegistry
|
|
422
|
+
const n0_registry = new TypeRegistry(n0);
|
|
423
423
|
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
424
424
|
{ [_e]: _c, [_hE]: 403 },
|
|
425
425
|
[_m, _xAET],
|
|
@@ -148,10 +148,10 @@ const n0 = "com.amazonaws.connectcampaigns";
|
|
|
148
148
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
149
149
|
import { ConnectCampaignsServiceException } from "../models/ConnectCampaignsServiceException";
|
|
150
150
|
import { AccessDeniedException, ConflictException, InternalServerException, InvalidCampaignStateException, InvalidStateException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
151
|
-
const _s_registry = TypeRegistry
|
|
151
|
+
const _s_registry = new TypeRegistry(_s);
|
|
152
152
|
export var ConnectCampaignsServiceException$ = [-3, _s, "ConnectCampaignsServiceException", 0, [], []];
|
|
153
153
|
_s_registry.registerError(ConnectCampaignsServiceException$, ConnectCampaignsServiceException);
|
|
154
|
-
const n0_registry = TypeRegistry
|
|
154
|
+
const n0_registry = new TypeRegistry(n0);
|
|
155
155
|
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
156
156
|
{ [_e]: _c, [_hE]: 403 },
|
|
157
157
|
[_m, _xAET],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { type CreateCampaignCommandInput, type CreateCampaignCommandOutput } from "./commands/CreateCampaignCommand";
|
|
3
3
|
import { type DeleteCampaignCommandInput, type DeleteCampaignCommandOutput } from "./commands/DeleteCampaignCommand";
|
|
4
4
|
import { type DeleteConnectInstanceConfigCommandInput, type DeleteConnectInstanceConfigCommandOutput } from "./commands/DeleteConnectInstanceConfigCommand";
|
|
@@ -22,140 +22,146 @@ import { type UpdateCampaignDialerConfigCommandInput, type UpdateCampaignDialerC
|
|
|
22
22
|
import { type UpdateCampaignNameCommandInput, type UpdateCampaignNameCommandOutput } from "./commands/UpdateCampaignNameCommand";
|
|
23
23
|
import { type UpdateCampaignOutboundCallConfigCommandInput, type UpdateCampaignOutboundCallConfigCommandOutput } from "./commands/UpdateCampaignOutboundCallConfigCommand";
|
|
24
24
|
import { ConnectCampaignsClient } from "./ConnectCampaignsClient";
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
export interface ConnectCampaignsRequestOptions extends __HttpHandlerOptions {
|
|
29
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
30
|
+
}
|
|
25
31
|
export interface ConnectCampaigns {
|
|
26
32
|
/**
|
|
27
33
|
* @see {@link CreateCampaignCommand}
|
|
28
34
|
*/
|
|
29
|
-
createCampaign(args: CreateCampaignCommandInput, options?:
|
|
35
|
+
createCampaign(args: CreateCampaignCommandInput, options?: ConnectCampaignsRequestOptions): Promise<CreateCampaignCommandOutput>;
|
|
30
36
|
createCampaign(args: CreateCampaignCommandInput, cb: (err: any, data?: CreateCampaignCommandOutput) => void): void;
|
|
31
|
-
createCampaign(args: CreateCampaignCommandInput, options:
|
|
37
|
+
createCampaign(args: CreateCampaignCommandInput, options: ConnectCampaignsRequestOptions, cb: (err: any, data?: CreateCampaignCommandOutput) => void): void;
|
|
32
38
|
/**
|
|
33
39
|
* @see {@link DeleteCampaignCommand}
|
|
34
40
|
*/
|
|
35
|
-
deleteCampaign(args: DeleteCampaignCommandInput, options?:
|
|
41
|
+
deleteCampaign(args: DeleteCampaignCommandInput, options?: ConnectCampaignsRequestOptions): Promise<DeleteCampaignCommandOutput>;
|
|
36
42
|
deleteCampaign(args: DeleteCampaignCommandInput, cb: (err: any, data?: DeleteCampaignCommandOutput) => void): void;
|
|
37
|
-
deleteCampaign(args: DeleteCampaignCommandInput, options:
|
|
43
|
+
deleteCampaign(args: DeleteCampaignCommandInput, options: ConnectCampaignsRequestOptions, cb: (err: any, data?: DeleteCampaignCommandOutput) => void): void;
|
|
38
44
|
/**
|
|
39
45
|
* @see {@link DeleteConnectInstanceConfigCommand}
|
|
40
46
|
*/
|
|
41
|
-
deleteConnectInstanceConfig(args: DeleteConnectInstanceConfigCommandInput, options?:
|
|
47
|
+
deleteConnectInstanceConfig(args: DeleteConnectInstanceConfigCommandInput, options?: ConnectCampaignsRequestOptions): Promise<DeleteConnectInstanceConfigCommandOutput>;
|
|
42
48
|
deleteConnectInstanceConfig(args: DeleteConnectInstanceConfigCommandInput, cb: (err: any, data?: DeleteConnectInstanceConfigCommandOutput) => void): void;
|
|
43
|
-
deleteConnectInstanceConfig(args: DeleteConnectInstanceConfigCommandInput, options:
|
|
49
|
+
deleteConnectInstanceConfig(args: DeleteConnectInstanceConfigCommandInput, options: ConnectCampaignsRequestOptions, cb: (err: any, data?: DeleteConnectInstanceConfigCommandOutput) => void): void;
|
|
44
50
|
/**
|
|
45
51
|
* @see {@link DeleteInstanceOnboardingJobCommand}
|
|
46
52
|
*/
|
|
47
|
-
deleteInstanceOnboardingJob(args: DeleteInstanceOnboardingJobCommandInput, options?:
|
|
53
|
+
deleteInstanceOnboardingJob(args: DeleteInstanceOnboardingJobCommandInput, options?: ConnectCampaignsRequestOptions): Promise<DeleteInstanceOnboardingJobCommandOutput>;
|
|
48
54
|
deleteInstanceOnboardingJob(args: DeleteInstanceOnboardingJobCommandInput, cb: (err: any, data?: DeleteInstanceOnboardingJobCommandOutput) => void): void;
|
|
49
|
-
deleteInstanceOnboardingJob(args: DeleteInstanceOnboardingJobCommandInput, options:
|
|
55
|
+
deleteInstanceOnboardingJob(args: DeleteInstanceOnboardingJobCommandInput, options: ConnectCampaignsRequestOptions, cb: (err: any, data?: DeleteInstanceOnboardingJobCommandOutput) => void): void;
|
|
50
56
|
/**
|
|
51
57
|
* @see {@link DescribeCampaignCommand}
|
|
52
58
|
*/
|
|
53
|
-
describeCampaign(args: DescribeCampaignCommandInput, options?:
|
|
59
|
+
describeCampaign(args: DescribeCampaignCommandInput, options?: ConnectCampaignsRequestOptions): Promise<DescribeCampaignCommandOutput>;
|
|
54
60
|
describeCampaign(args: DescribeCampaignCommandInput, cb: (err: any, data?: DescribeCampaignCommandOutput) => void): void;
|
|
55
|
-
describeCampaign(args: DescribeCampaignCommandInput, options:
|
|
61
|
+
describeCampaign(args: DescribeCampaignCommandInput, options: ConnectCampaignsRequestOptions, cb: (err: any, data?: DescribeCampaignCommandOutput) => void): void;
|
|
56
62
|
/**
|
|
57
63
|
* @see {@link GetCampaignStateCommand}
|
|
58
64
|
*/
|
|
59
|
-
getCampaignState(args: GetCampaignStateCommandInput, options?:
|
|
65
|
+
getCampaignState(args: GetCampaignStateCommandInput, options?: ConnectCampaignsRequestOptions): Promise<GetCampaignStateCommandOutput>;
|
|
60
66
|
getCampaignState(args: GetCampaignStateCommandInput, cb: (err: any, data?: GetCampaignStateCommandOutput) => void): void;
|
|
61
|
-
getCampaignState(args: GetCampaignStateCommandInput, options:
|
|
67
|
+
getCampaignState(args: GetCampaignStateCommandInput, options: ConnectCampaignsRequestOptions, cb: (err: any, data?: GetCampaignStateCommandOutput) => void): void;
|
|
62
68
|
/**
|
|
63
69
|
* @see {@link GetCampaignStateBatchCommand}
|
|
64
70
|
*/
|
|
65
|
-
getCampaignStateBatch(args: GetCampaignStateBatchCommandInput, options?:
|
|
71
|
+
getCampaignStateBatch(args: GetCampaignStateBatchCommandInput, options?: ConnectCampaignsRequestOptions): Promise<GetCampaignStateBatchCommandOutput>;
|
|
66
72
|
getCampaignStateBatch(args: GetCampaignStateBatchCommandInput, cb: (err: any, data?: GetCampaignStateBatchCommandOutput) => void): void;
|
|
67
|
-
getCampaignStateBatch(args: GetCampaignStateBatchCommandInput, options:
|
|
73
|
+
getCampaignStateBatch(args: GetCampaignStateBatchCommandInput, options: ConnectCampaignsRequestOptions, cb: (err: any, data?: GetCampaignStateBatchCommandOutput) => void): void;
|
|
68
74
|
/**
|
|
69
75
|
* @see {@link GetConnectInstanceConfigCommand}
|
|
70
76
|
*/
|
|
71
|
-
getConnectInstanceConfig(args: GetConnectInstanceConfigCommandInput, options?:
|
|
77
|
+
getConnectInstanceConfig(args: GetConnectInstanceConfigCommandInput, options?: ConnectCampaignsRequestOptions): Promise<GetConnectInstanceConfigCommandOutput>;
|
|
72
78
|
getConnectInstanceConfig(args: GetConnectInstanceConfigCommandInput, cb: (err: any, data?: GetConnectInstanceConfigCommandOutput) => void): void;
|
|
73
|
-
getConnectInstanceConfig(args: GetConnectInstanceConfigCommandInput, options:
|
|
79
|
+
getConnectInstanceConfig(args: GetConnectInstanceConfigCommandInput, options: ConnectCampaignsRequestOptions, cb: (err: any, data?: GetConnectInstanceConfigCommandOutput) => void): void;
|
|
74
80
|
/**
|
|
75
81
|
* @see {@link GetInstanceOnboardingJobStatusCommand}
|
|
76
82
|
*/
|
|
77
|
-
getInstanceOnboardingJobStatus(args: GetInstanceOnboardingJobStatusCommandInput, options?:
|
|
83
|
+
getInstanceOnboardingJobStatus(args: GetInstanceOnboardingJobStatusCommandInput, options?: ConnectCampaignsRequestOptions): Promise<GetInstanceOnboardingJobStatusCommandOutput>;
|
|
78
84
|
getInstanceOnboardingJobStatus(args: GetInstanceOnboardingJobStatusCommandInput, cb: (err: any, data?: GetInstanceOnboardingJobStatusCommandOutput) => void): void;
|
|
79
|
-
getInstanceOnboardingJobStatus(args: GetInstanceOnboardingJobStatusCommandInput, options:
|
|
85
|
+
getInstanceOnboardingJobStatus(args: GetInstanceOnboardingJobStatusCommandInput, options: ConnectCampaignsRequestOptions, cb: (err: any, data?: GetInstanceOnboardingJobStatusCommandOutput) => void): void;
|
|
80
86
|
/**
|
|
81
87
|
* @see {@link ListCampaignsCommand}
|
|
82
88
|
*/
|
|
83
89
|
listCampaigns(): Promise<ListCampaignsCommandOutput>;
|
|
84
|
-
listCampaigns(args: ListCampaignsCommandInput, options?:
|
|
90
|
+
listCampaigns(args: ListCampaignsCommandInput, options?: ConnectCampaignsRequestOptions): Promise<ListCampaignsCommandOutput>;
|
|
85
91
|
listCampaigns(args: ListCampaignsCommandInput, cb: (err: any, data?: ListCampaignsCommandOutput) => void): void;
|
|
86
|
-
listCampaigns(args: ListCampaignsCommandInput, options:
|
|
92
|
+
listCampaigns(args: ListCampaignsCommandInput, options: ConnectCampaignsRequestOptions, cb: (err: any, data?: ListCampaignsCommandOutput) => void): void;
|
|
87
93
|
/**
|
|
88
94
|
* @see {@link ListTagsForResourceCommand}
|
|
89
95
|
*/
|
|
90
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options?:
|
|
96
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: ConnectCampaignsRequestOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
91
97
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
92
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options:
|
|
98
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: ConnectCampaignsRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
93
99
|
/**
|
|
94
100
|
* @see {@link PauseCampaignCommand}
|
|
95
101
|
*/
|
|
96
|
-
pauseCampaign(args: PauseCampaignCommandInput, options?:
|
|
102
|
+
pauseCampaign(args: PauseCampaignCommandInput, options?: ConnectCampaignsRequestOptions): Promise<PauseCampaignCommandOutput>;
|
|
97
103
|
pauseCampaign(args: PauseCampaignCommandInput, cb: (err: any, data?: PauseCampaignCommandOutput) => void): void;
|
|
98
|
-
pauseCampaign(args: PauseCampaignCommandInput, options:
|
|
104
|
+
pauseCampaign(args: PauseCampaignCommandInput, options: ConnectCampaignsRequestOptions, cb: (err: any, data?: PauseCampaignCommandOutput) => void): void;
|
|
99
105
|
/**
|
|
100
106
|
* @see {@link PutDialRequestBatchCommand}
|
|
101
107
|
*/
|
|
102
|
-
putDialRequestBatch(args: PutDialRequestBatchCommandInput, options?:
|
|
108
|
+
putDialRequestBatch(args: PutDialRequestBatchCommandInput, options?: ConnectCampaignsRequestOptions): Promise<PutDialRequestBatchCommandOutput>;
|
|
103
109
|
putDialRequestBatch(args: PutDialRequestBatchCommandInput, cb: (err: any, data?: PutDialRequestBatchCommandOutput) => void): void;
|
|
104
|
-
putDialRequestBatch(args: PutDialRequestBatchCommandInput, options:
|
|
110
|
+
putDialRequestBatch(args: PutDialRequestBatchCommandInput, options: ConnectCampaignsRequestOptions, cb: (err: any, data?: PutDialRequestBatchCommandOutput) => void): void;
|
|
105
111
|
/**
|
|
106
112
|
* @see {@link ResumeCampaignCommand}
|
|
107
113
|
*/
|
|
108
|
-
resumeCampaign(args: ResumeCampaignCommandInput, options?:
|
|
114
|
+
resumeCampaign(args: ResumeCampaignCommandInput, options?: ConnectCampaignsRequestOptions): Promise<ResumeCampaignCommandOutput>;
|
|
109
115
|
resumeCampaign(args: ResumeCampaignCommandInput, cb: (err: any, data?: ResumeCampaignCommandOutput) => void): void;
|
|
110
|
-
resumeCampaign(args: ResumeCampaignCommandInput, options:
|
|
116
|
+
resumeCampaign(args: ResumeCampaignCommandInput, options: ConnectCampaignsRequestOptions, cb: (err: any, data?: ResumeCampaignCommandOutput) => void): void;
|
|
111
117
|
/**
|
|
112
118
|
* @see {@link StartCampaignCommand}
|
|
113
119
|
*/
|
|
114
|
-
startCampaign(args: StartCampaignCommandInput, options?:
|
|
120
|
+
startCampaign(args: StartCampaignCommandInput, options?: ConnectCampaignsRequestOptions): Promise<StartCampaignCommandOutput>;
|
|
115
121
|
startCampaign(args: StartCampaignCommandInput, cb: (err: any, data?: StartCampaignCommandOutput) => void): void;
|
|
116
|
-
startCampaign(args: StartCampaignCommandInput, options:
|
|
122
|
+
startCampaign(args: StartCampaignCommandInput, options: ConnectCampaignsRequestOptions, cb: (err: any, data?: StartCampaignCommandOutput) => void): void;
|
|
117
123
|
/**
|
|
118
124
|
* @see {@link StartInstanceOnboardingJobCommand}
|
|
119
125
|
*/
|
|
120
|
-
startInstanceOnboardingJob(args: StartInstanceOnboardingJobCommandInput, options?:
|
|
126
|
+
startInstanceOnboardingJob(args: StartInstanceOnboardingJobCommandInput, options?: ConnectCampaignsRequestOptions): Promise<StartInstanceOnboardingJobCommandOutput>;
|
|
121
127
|
startInstanceOnboardingJob(args: StartInstanceOnboardingJobCommandInput, cb: (err: any, data?: StartInstanceOnboardingJobCommandOutput) => void): void;
|
|
122
|
-
startInstanceOnboardingJob(args: StartInstanceOnboardingJobCommandInput, options:
|
|
128
|
+
startInstanceOnboardingJob(args: StartInstanceOnboardingJobCommandInput, options: ConnectCampaignsRequestOptions, cb: (err: any, data?: StartInstanceOnboardingJobCommandOutput) => void): void;
|
|
123
129
|
/**
|
|
124
130
|
* @see {@link StopCampaignCommand}
|
|
125
131
|
*/
|
|
126
|
-
stopCampaign(args: StopCampaignCommandInput, options?:
|
|
132
|
+
stopCampaign(args: StopCampaignCommandInput, options?: ConnectCampaignsRequestOptions): Promise<StopCampaignCommandOutput>;
|
|
127
133
|
stopCampaign(args: StopCampaignCommandInput, cb: (err: any, data?: StopCampaignCommandOutput) => void): void;
|
|
128
|
-
stopCampaign(args: StopCampaignCommandInput, options:
|
|
134
|
+
stopCampaign(args: StopCampaignCommandInput, options: ConnectCampaignsRequestOptions, cb: (err: any, data?: StopCampaignCommandOutput) => void): void;
|
|
129
135
|
/**
|
|
130
136
|
* @see {@link TagResourceCommand}
|
|
131
137
|
*/
|
|
132
|
-
tagResource(args: TagResourceCommandInput, options?:
|
|
138
|
+
tagResource(args: TagResourceCommandInput, options?: ConnectCampaignsRequestOptions): Promise<TagResourceCommandOutput>;
|
|
133
139
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
134
|
-
tagResource(args: TagResourceCommandInput, options:
|
|
140
|
+
tagResource(args: TagResourceCommandInput, options: ConnectCampaignsRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
135
141
|
/**
|
|
136
142
|
* @see {@link UntagResourceCommand}
|
|
137
143
|
*/
|
|
138
|
-
untagResource(args: UntagResourceCommandInput, options?:
|
|
144
|
+
untagResource(args: UntagResourceCommandInput, options?: ConnectCampaignsRequestOptions): Promise<UntagResourceCommandOutput>;
|
|
139
145
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
140
|
-
untagResource(args: UntagResourceCommandInput, options:
|
|
146
|
+
untagResource(args: UntagResourceCommandInput, options: ConnectCampaignsRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
141
147
|
/**
|
|
142
148
|
* @see {@link UpdateCampaignDialerConfigCommand}
|
|
143
149
|
*/
|
|
144
|
-
updateCampaignDialerConfig(args: UpdateCampaignDialerConfigCommandInput, options?:
|
|
150
|
+
updateCampaignDialerConfig(args: UpdateCampaignDialerConfigCommandInput, options?: ConnectCampaignsRequestOptions): Promise<UpdateCampaignDialerConfigCommandOutput>;
|
|
145
151
|
updateCampaignDialerConfig(args: UpdateCampaignDialerConfigCommandInput, cb: (err: any, data?: UpdateCampaignDialerConfigCommandOutput) => void): void;
|
|
146
|
-
updateCampaignDialerConfig(args: UpdateCampaignDialerConfigCommandInput, options:
|
|
152
|
+
updateCampaignDialerConfig(args: UpdateCampaignDialerConfigCommandInput, options: ConnectCampaignsRequestOptions, cb: (err: any, data?: UpdateCampaignDialerConfigCommandOutput) => void): void;
|
|
147
153
|
/**
|
|
148
154
|
* @see {@link UpdateCampaignNameCommand}
|
|
149
155
|
*/
|
|
150
|
-
updateCampaignName(args: UpdateCampaignNameCommandInput, options?:
|
|
156
|
+
updateCampaignName(args: UpdateCampaignNameCommandInput, options?: ConnectCampaignsRequestOptions): Promise<UpdateCampaignNameCommandOutput>;
|
|
151
157
|
updateCampaignName(args: UpdateCampaignNameCommandInput, cb: (err: any, data?: UpdateCampaignNameCommandOutput) => void): void;
|
|
152
|
-
updateCampaignName(args: UpdateCampaignNameCommandInput, options:
|
|
158
|
+
updateCampaignName(args: UpdateCampaignNameCommandInput, options: ConnectCampaignsRequestOptions, cb: (err: any, data?: UpdateCampaignNameCommandOutput) => void): void;
|
|
153
159
|
/**
|
|
154
160
|
* @see {@link UpdateCampaignOutboundCallConfigCommand}
|
|
155
161
|
*/
|
|
156
|
-
updateCampaignOutboundCallConfig(args: UpdateCampaignOutboundCallConfigCommandInput, options?:
|
|
162
|
+
updateCampaignOutboundCallConfig(args: UpdateCampaignOutboundCallConfigCommandInput, options?: ConnectCampaignsRequestOptions): Promise<UpdateCampaignOutboundCallConfigCommandOutput>;
|
|
157
163
|
updateCampaignOutboundCallConfig(args: UpdateCampaignOutboundCallConfigCommandInput, cb: (err: any, data?: UpdateCampaignOutboundCallConfigCommandOutput) => void): void;
|
|
158
|
-
updateCampaignOutboundCallConfig(args: UpdateCampaignOutboundCallConfigCommandInput, options:
|
|
164
|
+
updateCampaignOutboundCallConfig(args: UpdateCampaignOutboundCallConfigCommandInput, options: ConnectCampaignsRequestOptions, cb: (err: any, data?: UpdateCampaignOutboundCallConfigCommandOutput) => void): void;
|
|
159
165
|
/**
|
|
160
166
|
* @see {@link ListCampaignsCommand}
|
|
161
167
|
* @param args - command input.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
3
4
|
PaginationConfiguration,
|
|
4
5
|
Paginator,
|
|
5
6
|
} from "@smithy/types";
|
|
@@ -89,10 +90,13 @@ import {
|
|
|
89
90
|
UpdateCampaignOutboundCallConfigCommandOutput,
|
|
90
91
|
} from "./commands/UpdateCampaignOutboundCallConfigCommand";
|
|
91
92
|
import { ConnectCampaignsClient } from "./ConnectCampaignsClient";
|
|
93
|
+
export interface ConnectCampaignsRequestOptions extends __HttpHandlerOptions {
|
|
94
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
95
|
+
}
|
|
92
96
|
export interface ConnectCampaigns {
|
|
93
97
|
createCampaign(
|
|
94
98
|
args: CreateCampaignCommandInput,
|
|
95
|
-
options?:
|
|
99
|
+
options?: ConnectCampaignsRequestOptions,
|
|
96
100
|
): Promise<CreateCampaignCommandOutput>;
|
|
97
101
|
createCampaign(
|
|
98
102
|
args: CreateCampaignCommandInput,
|
|
@@ -100,12 +104,12 @@ export interface ConnectCampaigns {
|
|
|
100
104
|
): void;
|
|
101
105
|
createCampaign(
|
|
102
106
|
args: CreateCampaignCommandInput,
|
|
103
|
-
options:
|
|
107
|
+
options: ConnectCampaignsRequestOptions,
|
|
104
108
|
cb: (err: any, data?: CreateCampaignCommandOutput) => void,
|
|
105
109
|
): void;
|
|
106
110
|
deleteCampaign(
|
|
107
111
|
args: DeleteCampaignCommandInput,
|
|
108
|
-
options?:
|
|
112
|
+
options?: ConnectCampaignsRequestOptions,
|
|
109
113
|
): Promise<DeleteCampaignCommandOutput>;
|
|
110
114
|
deleteCampaign(
|
|
111
115
|
args: DeleteCampaignCommandInput,
|
|
@@ -113,12 +117,12 @@ export interface ConnectCampaigns {
|
|
|
113
117
|
): void;
|
|
114
118
|
deleteCampaign(
|
|
115
119
|
args: DeleteCampaignCommandInput,
|
|
116
|
-
options:
|
|
120
|
+
options: ConnectCampaignsRequestOptions,
|
|
117
121
|
cb: (err: any, data?: DeleteCampaignCommandOutput) => void,
|
|
118
122
|
): void;
|
|
119
123
|
deleteConnectInstanceConfig(
|
|
120
124
|
args: DeleteConnectInstanceConfigCommandInput,
|
|
121
|
-
options?:
|
|
125
|
+
options?: ConnectCampaignsRequestOptions,
|
|
122
126
|
): Promise<DeleteConnectInstanceConfigCommandOutput>;
|
|
123
127
|
deleteConnectInstanceConfig(
|
|
124
128
|
args: DeleteConnectInstanceConfigCommandInput,
|
|
@@ -126,12 +130,12 @@ export interface ConnectCampaigns {
|
|
|
126
130
|
): void;
|
|
127
131
|
deleteConnectInstanceConfig(
|
|
128
132
|
args: DeleteConnectInstanceConfigCommandInput,
|
|
129
|
-
options:
|
|
133
|
+
options: ConnectCampaignsRequestOptions,
|
|
130
134
|
cb: (err: any, data?: DeleteConnectInstanceConfigCommandOutput) => void,
|
|
131
135
|
): void;
|
|
132
136
|
deleteInstanceOnboardingJob(
|
|
133
137
|
args: DeleteInstanceOnboardingJobCommandInput,
|
|
134
|
-
options?:
|
|
138
|
+
options?: ConnectCampaignsRequestOptions,
|
|
135
139
|
): Promise<DeleteInstanceOnboardingJobCommandOutput>;
|
|
136
140
|
deleteInstanceOnboardingJob(
|
|
137
141
|
args: DeleteInstanceOnboardingJobCommandInput,
|
|
@@ -139,12 +143,12 @@ export interface ConnectCampaigns {
|
|
|
139
143
|
): void;
|
|
140
144
|
deleteInstanceOnboardingJob(
|
|
141
145
|
args: DeleteInstanceOnboardingJobCommandInput,
|
|
142
|
-
options:
|
|
146
|
+
options: ConnectCampaignsRequestOptions,
|
|
143
147
|
cb: (err: any, data?: DeleteInstanceOnboardingJobCommandOutput) => void,
|
|
144
148
|
): void;
|
|
145
149
|
describeCampaign(
|
|
146
150
|
args: DescribeCampaignCommandInput,
|
|
147
|
-
options?:
|
|
151
|
+
options?: ConnectCampaignsRequestOptions,
|
|
148
152
|
): Promise<DescribeCampaignCommandOutput>;
|
|
149
153
|
describeCampaign(
|
|
150
154
|
args: DescribeCampaignCommandInput,
|
|
@@ -152,12 +156,12 @@ export interface ConnectCampaigns {
|
|
|
152
156
|
): void;
|
|
153
157
|
describeCampaign(
|
|
154
158
|
args: DescribeCampaignCommandInput,
|
|
155
|
-
options:
|
|
159
|
+
options: ConnectCampaignsRequestOptions,
|
|
156
160
|
cb: (err: any, data?: DescribeCampaignCommandOutput) => void,
|
|
157
161
|
): void;
|
|
158
162
|
getCampaignState(
|
|
159
163
|
args: GetCampaignStateCommandInput,
|
|
160
|
-
options?:
|
|
164
|
+
options?: ConnectCampaignsRequestOptions,
|
|
161
165
|
): Promise<GetCampaignStateCommandOutput>;
|
|
162
166
|
getCampaignState(
|
|
163
167
|
args: GetCampaignStateCommandInput,
|
|
@@ -165,12 +169,12 @@ export interface ConnectCampaigns {
|
|
|
165
169
|
): void;
|
|
166
170
|
getCampaignState(
|
|
167
171
|
args: GetCampaignStateCommandInput,
|
|
168
|
-
options:
|
|
172
|
+
options: ConnectCampaignsRequestOptions,
|
|
169
173
|
cb: (err: any, data?: GetCampaignStateCommandOutput) => void,
|
|
170
174
|
): void;
|
|
171
175
|
getCampaignStateBatch(
|
|
172
176
|
args: GetCampaignStateBatchCommandInput,
|
|
173
|
-
options?:
|
|
177
|
+
options?: ConnectCampaignsRequestOptions,
|
|
174
178
|
): Promise<GetCampaignStateBatchCommandOutput>;
|
|
175
179
|
getCampaignStateBatch(
|
|
176
180
|
args: GetCampaignStateBatchCommandInput,
|
|
@@ -178,12 +182,12 @@ export interface ConnectCampaigns {
|
|
|
178
182
|
): void;
|
|
179
183
|
getCampaignStateBatch(
|
|
180
184
|
args: GetCampaignStateBatchCommandInput,
|
|
181
|
-
options:
|
|
185
|
+
options: ConnectCampaignsRequestOptions,
|
|
182
186
|
cb: (err: any, data?: GetCampaignStateBatchCommandOutput) => void,
|
|
183
187
|
): void;
|
|
184
188
|
getConnectInstanceConfig(
|
|
185
189
|
args: GetConnectInstanceConfigCommandInput,
|
|
186
|
-
options?:
|
|
190
|
+
options?: ConnectCampaignsRequestOptions,
|
|
187
191
|
): Promise<GetConnectInstanceConfigCommandOutput>;
|
|
188
192
|
getConnectInstanceConfig(
|
|
189
193
|
args: GetConnectInstanceConfigCommandInput,
|
|
@@ -191,12 +195,12 @@ export interface ConnectCampaigns {
|
|
|
191
195
|
): void;
|
|
192
196
|
getConnectInstanceConfig(
|
|
193
197
|
args: GetConnectInstanceConfigCommandInput,
|
|
194
|
-
options:
|
|
198
|
+
options: ConnectCampaignsRequestOptions,
|
|
195
199
|
cb: (err: any, data?: GetConnectInstanceConfigCommandOutput) => void,
|
|
196
200
|
): void;
|
|
197
201
|
getInstanceOnboardingJobStatus(
|
|
198
202
|
args: GetInstanceOnboardingJobStatusCommandInput,
|
|
199
|
-
options?:
|
|
203
|
+
options?: ConnectCampaignsRequestOptions,
|
|
200
204
|
): Promise<GetInstanceOnboardingJobStatusCommandOutput>;
|
|
201
205
|
getInstanceOnboardingJobStatus(
|
|
202
206
|
args: GetInstanceOnboardingJobStatusCommandInput,
|
|
@@ -204,13 +208,13 @@ export interface ConnectCampaigns {
|
|
|
204
208
|
): void;
|
|
205
209
|
getInstanceOnboardingJobStatus(
|
|
206
210
|
args: GetInstanceOnboardingJobStatusCommandInput,
|
|
207
|
-
options:
|
|
211
|
+
options: ConnectCampaignsRequestOptions,
|
|
208
212
|
cb: (err: any, data?: GetInstanceOnboardingJobStatusCommandOutput) => void,
|
|
209
213
|
): void;
|
|
210
214
|
listCampaigns(): Promise<ListCampaignsCommandOutput>;
|
|
211
215
|
listCampaigns(
|
|
212
216
|
args: ListCampaignsCommandInput,
|
|
213
|
-
options?:
|
|
217
|
+
options?: ConnectCampaignsRequestOptions,
|
|
214
218
|
): Promise<ListCampaignsCommandOutput>;
|
|
215
219
|
listCampaigns(
|
|
216
220
|
args: ListCampaignsCommandInput,
|
|
@@ -218,12 +222,12 @@ export interface ConnectCampaigns {
|
|
|
218
222
|
): void;
|
|
219
223
|
listCampaigns(
|
|
220
224
|
args: ListCampaignsCommandInput,
|
|
221
|
-
options:
|
|
225
|
+
options: ConnectCampaignsRequestOptions,
|
|
222
226
|
cb: (err: any, data?: ListCampaignsCommandOutput) => void,
|
|
223
227
|
): void;
|
|
224
228
|
listTagsForResource(
|
|
225
229
|
args: ListTagsForResourceCommandInput,
|
|
226
|
-
options?:
|
|
230
|
+
options?: ConnectCampaignsRequestOptions,
|
|
227
231
|
): Promise<ListTagsForResourceCommandOutput>;
|
|
228
232
|
listTagsForResource(
|
|
229
233
|
args: ListTagsForResourceCommandInput,
|
|
@@ -231,12 +235,12 @@ export interface ConnectCampaigns {
|
|
|
231
235
|
): void;
|
|
232
236
|
listTagsForResource(
|
|
233
237
|
args: ListTagsForResourceCommandInput,
|
|
234
|
-
options:
|
|
238
|
+
options: ConnectCampaignsRequestOptions,
|
|
235
239
|
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
236
240
|
): void;
|
|
237
241
|
pauseCampaign(
|
|
238
242
|
args: PauseCampaignCommandInput,
|
|
239
|
-
options?:
|
|
243
|
+
options?: ConnectCampaignsRequestOptions,
|
|
240
244
|
): Promise<PauseCampaignCommandOutput>;
|
|
241
245
|
pauseCampaign(
|
|
242
246
|
args: PauseCampaignCommandInput,
|
|
@@ -244,12 +248,12 @@ export interface ConnectCampaigns {
|
|
|
244
248
|
): void;
|
|
245
249
|
pauseCampaign(
|
|
246
250
|
args: PauseCampaignCommandInput,
|
|
247
|
-
options:
|
|
251
|
+
options: ConnectCampaignsRequestOptions,
|
|
248
252
|
cb: (err: any, data?: PauseCampaignCommandOutput) => void,
|
|
249
253
|
): void;
|
|
250
254
|
putDialRequestBatch(
|
|
251
255
|
args: PutDialRequestBatchCommandInput,
|
|
252
|
-
options?:
|
|
256
|
+
options?: ConnectCampaignsRequestOptions,
|
|
253
257
|
): Promise<PutDialRequestBatchCommandOutput>;
|
|
254
258
|
putDialRequestBatch(
|
|
255
259
|
args: PutDialRequestBatchCommandInput,
|
|
@@ -257,12 +261,12 @@ export interface ConnectCampaigns {
|
|
|
257
261
|
): void;
|
|
258
262
|
putDialRequestBatch(
|
|
259
263
|
args: PutDialRequestBatchCommandInput,
|
|
260
|
-
options:
|
|
264
|
+
options: ConnectCampaignsRequestOptions,
|
|
261
265
|
cb: (err: any, data?: PutDialRequestBatchCommandOutput) => void,
|
|
262
266
|
): void;
|
|
263
267
|
resumeCampaign(
|
|
264
268
|
args: ResumeCampaignCommandInput,
|
|
265
|
-
options?:
|
|
269
|
+
options?: ConnectCampaignsRequestOptions,
|
|
266
270
|
): Promise<ResumeCampaignCommandOutput>;
|
|
267
271
|
resumeCampaign(
|
|
268
272
|
args: ResumeCampaignCommandInput,
|
|
@@ -270,12 +274,12 @@ export interface ConnectCampaigns {
|
|
|
270
274
|
): void;
|
|
271
275
|
resumeCampaign(
|
|
272
276
|
args: ResumeCampaignCommandInput,
|
|
273
|
-
options:
|
|
277
|
+
options: ConnectCampaignsRequestOptions,
|
|
274
278
|
cb: (err: any, data?: ResumeCampaignCommandOutput) => void,
|
|
275
279
|
): void;
|
|
276
280
|
startCampaign(
|
|
277
281
|
args: StartCampaignCommandInput,
|
|
278
|
-
options?:
|
|
282
|
+
options?: ConnectCampaignsRequestOptions,
|
|
279
283
|
): Promise<StartCampaignCommandOutput>;
|
|
280
284
|
startCampaign(
|
|
281
285
|
args: StartCampaignCommandInput,
|
|
@@ -283,12 +287,12 @@ export interface ConnectCampaigns {
|
|
|
283
287
|
): void;
|
|
284
288
|
startCampaign(
|
|
285
289
|
args: StartCampaignCommandInput,
|
|
286
|
-
options:
|
|
290
|
+
options: ConnectCampaignsRequestOptions,
|
|
287
291
|
cb: (err: any, data?: StartCampaignCommandOutput) => void,
|
|
288
292
|
): void;
|
|
289
293
|
startInstanceOnboardingJob(
|
|
290
294
|
args: StartInstanceOnboardingJobCommandInput,
|
|
291
|
-
options?:
|
|
295
|
+
options?: ConnectCampaignsRequestOptions,
|
|
292
296
|
): Promise<StartInstanceOnboardingJobCommandOutput>;
|
|
293
297
|
startInstanceOnboardingJob(
|
|
294
298
|
args: StartInstanceOnboardingJobCommandInput,
|
|
@@ -296,12 +300,12 @@ export interface ConnectCampaigns {
|
|
|
296
300
|
): void;
|
|
297
301
|
startInstanceOnboardingJob(
|
|
298
302
|
args: StartInstanceOnboardingJobCommandInput,
|
|
299
|
-
options:
|
|
303
|
+
options: ConnectCampaignsRequestOptions,
|
|
300
304
|
cb: (err: any, data?: StartInstanceOnboardingJobCommandOutput) => void,
|
|
301
305
|
): void;
|
|
302
306
|
stopCampaign(
|
|
303
307
|
args: StopCampaignCommandInput,
|
|
304
|
-
options?:
|
|
308
|
+
options?: ConnectCampaignsRequestOptions,
|
|
305
309
|
): Promise<StopCampaignCommandOutput>;
|
|
306
310
|
stopCampaign(
|
|
307
311
|
args: StopCampaignCommandInput,
|
|
@@ -309,12 +313,12 @@ export interface ConnectCampaigns {
|
|
|
309
313
|
): void;
|
|
310
314
|
stopCampaign(
|
|
311
315
|
args: StopCampaignCommandInput,
|
|
312
|
-
options:
|
|
316
|
+
options: ConnectCampaignsRequestOptions,
|
|
313
317
|
cb: (err: any, data?: StopCampaignCommandOutput) => void,
|
|
314
318
|
): void;
|
|
315
319
|
tagResource(
|
|
316
320
|
args: TagResourceCommandInput,
|
|
317
|
-
options?:
|
|
321
|
+
options?: ConnectCampaignsRequestOptions,
|
|
318
322
|
): Promise<TagResourceCommandOutput>;
|
|
319
323
|
tagResource(
|
|
320
324
|
args: TagResourceCommandInput,
|
|
@@ -322,12 +326,12 @@ export interface ConnectCampaigns {
|
|
|
322
326
|
): void;
|
|
323
327
|
tagResource(
|
|
324
328
|
args: TagResourceCommandInput,
|
|
325
|
-
options:
|
|
329
|
+
options: ConnectCampaignsRequestOptions,
|
|
326
330
|
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
327
331
|
): void;
|
|
328
332
|
untagResource(
|
|
329
333
|
args: UntagResourceCommandInput,
|
|
330
|
-
options?:
|
|
334
|
+
options?: ConnectCampaignsRequestOptions,
|
|
331
335
|
): Promise<UntagResourceCommandOutput>;
|
|
332
336
|
untagResource(
|
|
333
337
|
args: UntagResourceCommandInput,
|
|
@@ -335,12 +339,12 @@ export interface ConnectCampaigns {
|
|
|
335
339
|
): void;
|
|
336
340
|
untagResource(
|
|
337
341
|
args: UntagResourceCommandInput,
|
|
338
|
-
options:
|
|
342
|
+
options: ConnectCampaignsRequestOptions,
|
|
339
343
|
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
340
344
|
): void;
|
|
341
345
|
updateCampaignDialerConfig(
|
|
342
346
|
args: UpdateCampaignDialerConfigCommandInput,
|
|
343
|
-
options?:
|
|
347
|
+
options?: ConnectCampaignsRequestOptions,
|
|
344
348
|
): Promise<UpdateCampaignDialerConfigCommandOutput>;
|
|
345
349
|
updateCampaignDialerConfig(
|
|
346
350
|
args: UpdateCampaignDialerConfigCommandInput,
|
|
@@ -348,12 +352,12 @@ export interface ConnectCampaigns {
|
|
|
348
352
|
): void;
|
|
349
353
|
updateCampaignDialerConfig(
|
|
350
354
|
args: UpdateCampaignDialerConfigCommandInput,
|
|
351
|
-
options:
|
|
355
|
+
options: ConnectCampaignsRequestOptions,
|
|
352
356
|
cb: (err: any, data?: UpdateCampaignDialerConfigCommandOutput) => void,
|
|
353
357
|
): void;
|
|
354
358
|
updateCampaignName(
|
|
355
359
|
args: UpdateCampaignNameCommandInput,
|
|
356
|
-
options?:
|
|
360
|
+
options?: ConnectCampaignsRequestOptions,
|
|
357
361
|
): Promise<UpdateCampaignNameCommandOutput>;
|
|
358
362
|
updateCampaignName(
|
|
359
363
|
args: UpdateCampaignNameCommandInput,
|
|
@@ -361,12 +365,12 @@ export interface ConnectCampaigns {
|
|
|
361
365
|
): void;
|
|
362
366
|
updateCampaignName(
|
|
363
367
|
args: UpdateCampaignNameCommandInput,
|
|
364
|
-
options:
|
|
368
|
+
options: ConnectCampaignsRequestOptions,
|
|
365
369
|
cb: (err: any, data?: UpdateCampaignNameCommandOutput) => void,
|
|
366
370
|
): void;
|
|
367
371
|
updateCampaignOutboundCallConfig(
|
|
368
372
|
args: UpdateCampaignOutboundCallConfigCommandInput,
|
|
369
|
-
options?:
|
|
373
|
+
options?: ConnectCampaignsRequestOptions,
|
|
370
374
|
): Promise<UpdateCampaignOutboundCallConfigCommandOutput>;
|
|
371
375
|
updateCampaignOutboundCallConfig(
|
|
372
376
|
args: UpdateCampaignOutboundCallConfigCommandInput,
|
|
@@ -374,7 +378,7 @@ export interface ConnectCampaigns {
|
|
|
374
378
|
): void;
|
|
375
379
|
updateCampaignOutboundCallConfig(
|
|
376
380
|
args: UpdateCampaignOutboundCallConfigCommandInput,
|
|
377
|
-
options:
|
|
381
|
+
options: ConnectCampaignsRequestOptions,
|
|
378
382
|
cb: (err: any, data?: UpdateCampaignOutboundCallConfigCommandOutput) => void,
|
|
379
383
|
): void;
|
|
380
384
|
paginateListCampaigns(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connectcampaigns",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1138.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Connectcampaigns Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-connectcampaigns",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/types": "^3.974.
|
|
52
|
-
"@smithy/core": "^3.
|
|
53
|
-
"@smithy/fetch-http-handler": "^5.
|
|
54
|
-
"@smithy/node-http-handler": "^4.
|
|
55
|
-
"@smithy/types": "^4.
|
|
49
|
+
"@aws-sdk/core": "^3.978.1",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
51
|
+
"@aws-sdk/types": "^3.974.6",
|
|
52
|
+
"@smithy/core": "^3.35.0",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
55
|
+
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|