@aws-sdk/client-connectcampaignsv2 3.716.0 → 3.723.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/ConnectCampaignsV2Client.js +1 -0
- package/dist-cjs/models/models_0.js +41 -31
- package/dist-es/ConnectCampaignsV2Client.js +1 -0
- package/dist-es/models/models_0.js +30 -20
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
|
@@ -17,6 +17,7 @@ const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
|
17
17
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
18
18
|
const runtimeExtensions_1 = require("./runtimeExtensions");
|
|
19
19
|
class ConnectCampaignsV2Client extends smithy_client_1.Client {
|
|
20
|
+
config;
|
|
20
21
|
constructor(...[configuration]) {
|
|
21
22
|
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
|
|
22
23
|
const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
|
|
@@ -4,28 +4,30 @@ exports.UpdateCampaignChannelSubtypeConfigRequestFilterSensitiveLog = exports.Pu
|
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const ConnectCampaignsV2ServiceException_1 = require("./ConnectCampaignsV2ServiceException");
|
|
6
6
|
class AccessDeniedException extends ConnectCampaignsV2ServiceException_1.ConnectCampaignsV2ServiceException {
|
|
7
|
+
name = "AccessDeniedException";
|
|
8
|
+
$fault = "client";
|
|
9
|
+
xAmzErrorType;
|
|
7
10
|
constructor(opts) {
|
|
8
11
|
super({
|
|
9
12
|
name: "AccessDeniedException",
|
|
10
13
|
$fault: "client",
|
|
11
14
|
...opts,
|
|
12
15
|
});
|
|
13
|
-
this.name = "AccessDeniedException";
|
|
14
|
-
this.$fault = "client";
|
|
15
16
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
17
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
17
18
|
}
|
|
18
19
|
}
|
|
19
20
|
exports.AccessDeniedException = AccessDeniedException;
|
|
20
21
|
class ConflictException extends ConnectCampaignsV2ServiceException_1.ConnectCampaignsV2ServiceException {
|
|
22
|
+
name = "ConflictException";
|
|
23
|
+
$fault = "client";
|
|
24
|
+
xAmzErrorType;
|
|
21
25
|
constructor(opts) {
|
|
22
26
|
super({
|
|
23
27
|
name: "ConflictException",
|
|
24
28
|
$fault: "client",
|
|
25
29
|
...opts,
|
|
26
30
|
});
|
|
27
|
-
this.name = "ConflictException";
|
|
28
|
-
this.$fault = "client";
|
|
29
31
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
30
32
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
31
33
|
}
|
|
@@ -38,7 +40,7 @@ var EmailOutboundMode;
|
|
|
38
40
|
return visitor.agentless(value.agentless);
|
|
39
41
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
40
42
|
};
|
|
41
|
-
})(EmailOutboundMode
|
|
43
|
+
})(EmailOutboundMode || (exports.EmailOutboundMode = EmailOutboundMode = {}));
|
|
42
44
|
var SmsOutboundMode;
|
|
43
45
|
(function (SmsOutboundMode) {
|
|
44
46
|
SmsOutboundMode.visit = (value, visitor) => {
|
|
@@ -46,7 +48,7 @@ var SmsOutboundMode;
|
|
|
46
48
|
return visitor.agentless(value.agentless);
|
|
47
49
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
48
50
|
};
|
|
49
|
-
})(SmsOutboundMode
|
|
51
|
+
})(SmsOutboundMode || (exports.SmsOutboundMode = SmsOutboundMode = {}));
|
|
50
52
|
var TelephonyOutboundMode;
|
|
51
53
|
(function (TelephonyOutboundMode) {
|
|
52
54
|
TelephonyOutboundMode.visit = (value, visitor) => {
|
|
@@ -58,7 +60,7 @@ var TelephonyOutboundMode;
|
|
|
58
60
|
return visitor.agentless(value.agentless);
|
|
59
61
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
60
62
|
};
|
|
61
|
-
})(TelephonyOutboundMode
|
|
63
|
+
})(TelephonyOutboundMode || (exports.TelephonyOutboundMode = TelephonyOutboundMode = {}));
|
|
62
64
|
exports.CommunicationLimitTimeUnit = {
|
|
63
65
|
DAY: "DAY",
|
|
64
66
|
};
|
|
@@ -69,7 +71,7 @@ var CommunicationLimits;
|
|
|
69
71
|
return visitor.communicationLimitsList(value.communicationLimitsList);
|
|
70
72
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
71
73
|
};
|
|
72
|
-
})(CommunicationLimits
|
|
74
|
+
})(CommunicationLimits || (exports.CommunicationLimits = CommunicationLimits = {}));
|
|
73
75
|
exports.DayOfWeek = {
|
|
74
76
|
FRIDAY: "FRIDAY",
|
|
75
77
|
MONDAY: "MONDAY",
|
|
@@ -86,7 +88,7 @@ var OpenHours;
|
|
|
86
88
|
return visitor.dailyHours(value.dailyHours);
|
|
87
89
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
88
90
|
};
|
|
89
|
-
})(OpenHours
|
|
91
|
+
})(OpenHours || (exports.OpenHours = OpenHours = {}));
|
|
90
92
|
var RestrictedPeriods;
|
|
91
93
|
(function (RestrictedPeriods) {
|
|
92
94
|
RestrictedPeriods.visit = (value, visitor) => {
|
|
@@ -94,7 +96,7 @@ var RestrictedPeriods;
|
|
|
94
96
|
return visitor.restrictedPeriodList(value.restrictedPeriodList);
|
|
95
97
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
96
98
|
};
|
|
97
|
-
})(RestrictedPeriods
|
|
99
|
+
})(RestrictedPeriods || (exports.RestrictedPeriods = RestrictedPeriods = {}));
|
|
98
100
|
exports.LocalTimeZoneDetectionType = {
|
|
99
101
|
AREA_CODE: "AREA_CODE",
|
|
100
102
|
ZIP_CODE: "ZIP_CODE",
|
|
@@ -108,74 +110,79 @@ var Source;
|
|
|
108
110
|
return visitor.eventTrigger(value.eventTrigger);
|
|
109
111
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
110
112
|
};
|
|
111
|
-
})(Source
|
|
113
|
+
})(Source || (exports.Source = Source = {}));
|
|
112
114
|
class InternalServerException extends ConnectCampaignsV2ServiceException_1.ConnectCampaignsV2ServiceException {
|
|
115
|
+
name = "InternalServerException";
|
|
116
|
+
$fault = "server";
|
|
117
|
+
$retryable = {};
|
|
118
|
+
xAmzErrorType;
|
|
113
119
|
constructor(opts) {
|
|
114
120
|
super({
|
|
115
121
|
name: "InternalServerException",
|
|
116
122
|
$fault: "server",
|
|
117
123
|
...opts,
|
|
118
124
|
});
|
|
119
|
-
this.name = "InternalServerException";
|
|
120
|
-
this.$fault = "server";
|
|
121
|
-
this.$retryable = {};
|
|
122
125
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
123
126
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
124
127
|
}
|
|
125
128
|
}
|
|
126
129
|
exports.InternalServerException = InternalServerException;
|
|
127
130
|
class ResourceNotFoundException extends ConnectCampaignsV2ServiceException_1.ConnectCampaignsV2ServiceException {
|
|
131
|
+
name = "ResourceNotFoundException";
|
|
132
|
+
$fault = "client";
|
|
133
|
+
xAmzErrorType;
|
|
128
134
|
constructor(opts) {
|
|
129
135
|
super({
|
|
130
136
|
name: "ResourceNotFoundException",
|
|
131
137
|
$fault: "client",
|
|
132
138
|
...opts,
|
|
133
139
|
});
|
|
134
|
-
this.name = "ResourceNotFoundException";
|
|
135
|
-
this.$fault = "client";
|
|
136
140
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
137
141
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
138
142
|
}
|
|
139
143
|
}
|
|
140
144
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
141
145
|
class ServiceQuotaExceededException extends ConnectCampaignsV2ServiceException_1.ConnectCampaignsV2ServiceException {
|
|
146
|
+
name = "ServiceQuotaExceededException";
|
|
147
|
+
$fault = "client";
|
|
148
|
+
xAmzErrorType;
|
|
142
149
|
constructor(opts) {
|
|
143
150
|
super({
|
|
144
151
|
name: "ServiceQuotaExceededException",
|
|
145
152
|
$fault: "client",
|
|
146
153
|
...opts,
|
|
147
154
|
});
|
|
148
|
-
this.name = "ServiceQuotaExceededException";
|
|
149
|
-
this.$fault = "client";
|
|
150
155
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
151
156
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
152
157
|
}
|
|
153
158
|
}
|
|
154
159
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
155
160
|
class ThrottlingException extends ConnectCampaignsV2ServiceException_1.ConnectCampaignsV2ServiceException {
|
|
161
|
+
name = "ThrottlingException";
|
|
162
|
+
$fault = "client";
|
|
163
|
+
$retryable = {};
|
|
164
|
+
xAmzErrorType;
|
|
156
165
|
constructor(opts) {
|
|
157
166
|
super({
|
|
158
167
|
name: "ThrottlingException",
|
|
159
168
|
$fault: "client",
|
|
160
169
|
...opts,
|
|
161
170
|
});
|
|
162
|
-
this.name = "ThrottlingException";
|
|
163
|
-
this.$fault = "client";
|
|
164
|
-
this.$retryable = {};
|
|
165
171
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
166
172
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
167
173
|
}
|
|
168
174
|
}
|
|
169
175
|
exports.ThrottlingException = ThrottlingException;
|
|
170
176
|
class ValidationException extends ConnectCampaignsV2ServiceException_1.ConnectCampaignsV2ServiceException {
|
|
177
|
+
name = "ValidationException";
|
|
178
|
+
$fault = "client";
|
|
179
|
+
xAmzErrorType;
|
|
171
180
|
constructor(opts) {
|
|
172
181
|
super({
|
|
173
182
|
name: "ValidationException",
|
|
174
183
|
$fault: "client",
|
|
175
184
|
...opts,
|
|
176
185
|
});
|
|
177
|
-
this.name = "ValidationException";
|
|
178
|
-
this.$fault = "client";
|
|
179
186
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
180
187
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
181
188
|
}
|
|
@@ -198,14 +205,16 @@ exports.CampaignState = {
|
|
|
198
205
|
STOPPED: "Stopped",
|
|
199
206
|
};
|
|
200
207
|
class InvalidCampaignStateException extends ConnectCampaignsV2ServiceException_1.ConnectCampaignsV2ServiceException {
|
|
208
|
+
name = "InvalidCampaignStateException";
|
|
209
|
+
$fault = "client";
|
|
210
|
+
state;
|
|
211
|
+
xAmzErrorType;
|
|
201
212
|
constructor(opts) {
|
|
202
213
|
super({
|
|
203
214
|
name: "InvalidCampaignStateException",
|
|
204
215
|
$fault: "client",
|
|
205
216
|
...opts,
|
|
206
217
|
});
|
|
207
|
-
this.name = "InvalidCampaignStateException";
|
|
208
|
-
this.$fault = "client";
|
|
209
218
|
Object.setPrototypeOf(this, InvalidCampaignStateException.prototype);
|
|
210
219
|
this.state = opts.state;
|
|
211
220
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
@@ -222,14 +231,15 @@ exports.CampaignDeletionPolicy = {
|
|
|
222
231
|
RETAIN_ALL: "RETAIN_ALL",
|
|
223
232
|
};
|
|
224
233
|
class InvalidStateException extends ConnectCampaignsV2ServiceException_1.ConnectCampaignsV2ServiceException {
|
|
234
|
+
name = "InvalidStateException";
|
|
235
|
+
$fault = "client";
|
|
236
|
+
xAmzErrorType;
|
|
225
237
|
constructor(opts) {
|
|
226
238
|
super({
|
|
227
239
|
name: "InvalidStateException",
|
|
228
240
|
$fault: "client",
|
|
229
241
|
...opts,
|
|
230
242
|
});
|
|
231
|
-
this.name = "InvalidStateException";
|
|
232
|
-
this.$fault = "client";
|
|
233
243
|
Object.setPrototypeOf(this, InvalidStateException.prototype);
|
|
234
244
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
235
245
|
}
|
|
@@ -244,7 +254,7 @@ var IntegrationIdentifier;
|
|
|
244
254
|
return visitor.qConnect(value.qConnect);
|
|
245
255
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
246
256
|
};
|
|
247
|
-
})(IntegrationIdentifier
|
|
257
|
+
})(IntegrationIdentifier || (exports.IntegrationIdentifier = IntegrationIdentifier = {}));
|
|
248
258
|
exports.GetCampaignStateBatchFailureCode = {
|
|
249
259
|
RESOURCE_NOT_FOUND: "ResourceNotFound",
|
|
250
260
|
UNKNOWN_ERROR: "UnknownError",
|
|
@@ -283,7 +293,7 @@ var IntegrationSummary;
|
|
|
283
293
|
return visitor.qConnect(value.qConnect);
|
|
284
294
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
285
295
|
};
|
|
286
|
-
})(IntegrationSummary
|
|
296
|
+
})(IntegrationSummary || (exports.IntegrationSummary = IntegrationSummary = {}));
|
|
287
297
|
var IntegrationConfig;
|
|
288
298
|
(function (IntegrationConfig) {
|
|
289
299
|
IntegrationConfig.visit = (value, visitor) => {
|
|
@@ -293,7 +303,7 @@ var IntegrationConfig;
|
|
|
293
303
|
return visitor.qConnect(value.qConnect);
|
|
294
304
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
295
305
|
};
|
|
296
|
-
})(IntegrationConfig
|
|
306
|
+
})(IntegrationConfig || (exports.IntegrationConfig = IntegrationConfig = {}));
|
|
297
307
|
var ChannelSubtypeParameters;
|
|
298
308
|
(function (ChannelSubtypeParameters) {
|
|
299
309
|
ChannelSubtypeParameters.visit = (value, visitor) => {
|
|
@@ -305,7 +315,7 @@ var ChannelSubtypeParameters;
|
|
|
305
315
|
return visitor.email(value.email);
|
|
306
316
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
307
317
|
};
|
|
308
|
-
})(ChannelSubtypeParameters
|
|
318
|
+
})(ChannelSubtypeParameters || (exports.ChannelSubtypeParameters = ChannelSubtypeParameters = {}));
|
|
309
319
|
exports.FailureCode = {
|
|
310
320
|
BUFFER_LIMIT_EXCEEDED: "BufferLimitExceeded",
|
|
311
321
|
INVALID_INPUT: "InvalidInput",
|
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class ConnectCampaignsV2Client extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -1,27 +1,29 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { ConnectCampaignsV2ServiceException as __BaseException } from "./ConnectCampaignsV2ServiceException";
|
|
3
3
|
export class AccessDeniedException extends __BaseException {
|
|
4
|
+
name = "AccessDeniedException";
|
|
5
|
+
$fault = "client";
|
|
6
|
+
xAmzErrorType;
|
|
4
7
|
constructor(opts) {
|
|
5
8
|
super({
|
|
6
9
|
name: "AccessDeniedException",
|
|
7
10
|
$fault: "client",
|
|
8
11
|
...opts,
|
|
9
12
|
});
|
|
10
|
-
this.name = "AccessDeniedException";
|
|
11
|
-
this.$fault = "client";
|
|
12
13
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
14
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
export class ConflictException extends __BaseException {
|
|
18
|
+
name = "ConflictException";
|
|
19
|
+
$fault = "client";
|
|
20
|
+
xAmzErrorType;
|
|
17
21
|
constructor(opts) {
|
|
18
22
|
super({
|
|
19
23
|
name: "ConflictException",
|
|
20
24
|
$fault: "client",
|
|
21
25
|
...opts,
|
|
22
26
|
});
|
|
23
|
-
this.name = "ConflictException";
|
|
24
|
-
this.$fault = "client";
|
|
25
27
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
26
28
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
27
29
|
}
|
|
@@ -105,68 +107,73 @@ export var Source;
|
|
|
105
107
|
};
|
|
106
108
|
})(Source || (Source = {}));
|
|
107
109
|
export class InternalServerException extends __BaseException {
|
|
110
|
+
name = "InternalServerException";
|
|
111
|
+
$fault = "server";
|
|
112
|
+
$retryable = {};
|
|
113
|
+
xAmzErrorType;
|
|
108
114
|
constructor(opts) {
|
|
109
115
|
super({
|
|
110
116
|
name: "InternalServerException",
|
|
111
117
|
$fault: "server",
|
|
112
118
|
...opts,
|
|
113
119
|
});
|
|
114
|
-
this.name = "InternalServerException";
|
|
115
|
-
this.$fault = "server";
|
|
116
|
-
this.$retryable = {};
|
|
117
120
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
118
121
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
119
122
|
}
|
|
120
123
|
}
|
|
121
124
|
export class ResourceNotFoundException extends __BaseException {
|
|
125
|
+
name = "ResourceNotFoundException";
|
|
126
|
+
$fault = "client";
|
|
127
|
+
xAmzErrorType;
|
|
122
128
|
constructor(opts) {
|
|
123
129
|
super({
|
|
124
130
|
name: "ResourceNotFoundException",
|
|
125
131
|
$fault: "client",
|
|
126
132
|
...opts,
|
|
127
133
|
});
|
|
128
|
-
this.name = "ResourceNotFoundException";
|
|
129
|
-
this.$fault = "client";
|
|
130
134
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
131
135
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
132
136
|
}
|
|
133
137
|
}
|
|
134
138
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
139
|
+
name = "ServiceQuotaExceededException";
|
|
140
|
+
$fault = "client";
|
|
141
|
+
xAmzErrorType;
|
|
135
142
|
constructor(opts) {
|
|
136
143
|
super({
|
|
137
144
|
name: "ServiceQuotaExceededException",
|
|
138
145
|
$fault: "client",
|
|
139
146
|
...opts,
|
|
140
147
|
});
|
|
141
|
-
this.name = "ServiceQuotaExceededException";
|
|
142
|
-
this.$fault = "client";
|
|
143
148
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
144
149
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
145
150
|
}
|
|
146
151
|
}
|
|
147
152
|
export class ThrottlingException extends __BaseException {
|
|
153
|
+
name = "ThrottlingException";
|
|
154
|
+
$fault = "client";
|
|
155
|
+
$retryable = {};
|
|
156
|
+
xAmzErrorType;
|
|
148
157
|
constructor(opts) {
|
|
149
158
|
super({
|
|
150
159
|
name: "ThrottlingException",
|
|
151
160
|
$fault: "client",
|
|
152
161
|
...opts,
|
|
153
162
|
});
|
|
154
|
-
this.name = "ThrottlingException";
|
|
155
|
-
this.$fault = "client";
|
|
156
|
-
this.$retryable = {};
|
|
157
163
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
158
164
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
159
165
|
}
|
|
160
166
|
}
|
|
161
167
|
export class ValidationException extends __BaseException {
|
|
168
|
+
name = "ValidationException";
|
|
169
|
+
$fault = "client";
|
|
170
|
+
xAmzErrorType;
|
|
162
171
|
constructor(opts) {
|
|
163
172
|
super({
|
|
164
173
|
name: "ValidationException",
|
|
165
174
|
$fault: "client",
|
|
166
175
|
...opts,
|
|
167
176
|
});
|
|
168
|
-
this.name = "ValidationException";
|
|
169
|
-
this.$fault = "client";
|
|
170
177
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
171
178
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
172
179
|
}
|
|
@@ -188,14 +195,16 @@ export const CampaignState = {
|
|
|
188
195
|
STOPPED: "Stopped",
|
|
189
196
|
};
|
|
190
197
|
export class InvalidCampaignStateException extends __BaseException {
|
|
198
|
+
name = "InvalidCampaignStateException";
|
|
199
|
+
$fault = "client";
|
|
200
|
+
state;
|
|
201
|
+
xAmzErrorType;
|
|
191
202
|
constructor(opts) {
|
|
192
203
|
super({
|
|
193
204
|
name: "InvalidCampaignStateException",
|
|
194
205
|
$fault: "client",
|
|
195
206
|
...opts,
|
|
196
207
|
});
|
|
197
|
-
this.name = "InvalidCampaignStateException";
|
|
198
|
-
this.$fault = "client";
|
|
199
208
|
Object.setPrototypeOf(this, InvalidCampaignStateException.prototype);
|
|
200
209
|
this.state = opts.state;
|
|
201
210
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
@@ -211,14 +220,15 @@ export const CampaignDeletionPolicy = {
|
|
|
211
220
|
RETAIN_ALL: "RETAIN_ALL",
|
|
212
221
|
};
|
|
213
222
|
export class InvalidStateException extends __BaseException {
|
|
223
|
+
name = "InvalidStateException";
|
|
224
|
+
$fault = "client";
|
|
225
|
+
xAmzErrorType;
|
|
214
226
|
constructor(opts) {
|
|
215
227
|
super({
|
|
216
228
|
name: "InvalidStateException",
|
|
217
229
|
$fault: "client",
|
|
218
230
|
...opts,
|
|
219
231
|
});
|
|
220
|
-
this.name = "InvalidStateException";
|
|
221
|
-
this.$fault = "client";
|
|
222
232
|
Object.setPrototypeOf(this, InvalidStateException.prototype);
|
|
223
233
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
224
234
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: ConnectCampaignsV2ClientConfig)
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: ConnectCampaignsV2ClientConfig)
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: ConnectCampaignsV2ClientConfig)
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: ConnectCampaignsV2ClientConfig)
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
34
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
|
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider:
|
|
12
|
-
input: any
|
|
13
|
-
|
|
11
|
+
credentialDefaultProvider:
|
|
12
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
+
| ((
|
|
14
|
+
_: unknown
|
|
15
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
16
|
defaultUserAgentProvider: (
|
|
15
17
|
config?:
|
|
16
18
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
|
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
credentialDefaultProvider:
|
|
12
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
+
| ((
|
|
14
|
+
init?:
|
|
15
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
16
|
+
| undefined
|
|
17
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
18
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
19
|
+
>);
|
|
18
20
|
defaultUserAgentProvider: (
|
|
19
21
|
config?:
|
|
20
22
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -30,9 +30,11 @@ export declare const getRuntimeConfig: (
|
|
|
30
30
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
31
31
|
| undefined
|
|
32
32
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
33
|
-
credentialDefaultProvider:
|
|
34
|
-
input: any
|
|
35
|
-
|
|
33
|
+
credentialDefaultProvider:
|
|
34
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
35
|
+
| ((
|
|
36
|
+
_: unknown
|
|
37
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
36
38
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
37
39
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
38
40
|
logger: import("@smithy/types").Logger;
|
|
@@ -52,11 +54,21 @@ export declare const getRuntimeConfig: (
|
|
|
52
54
|
| import("@smithy/types").RetryStrategyV2
|
|
53
55
|
| undefined;
|
|
54
56
|
endpoint?:
|
|
55
|
-
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
| ((
|
|
58
|
+
| string
|
|
59
|
+
| import("@smithy/types").Endpoint
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
61
|
+
| import("@smithy/types").EndpointV2
|
|
62
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
63
|
+
) &
|
|
64
|
+
(
|
|
65
|
+
| string
|
|
66
|
+
| import("@smithy/types").Provider<string>
|
|
67
|
+
| import("@smithy/types").Endpoint
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
69
|
+
| import("@smithy/types").EndpointV2
|
|
70
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
71
|
+
))
|
|
60
72
|
| undefined;
|
|
61
73
|
endpointProvider: (
|
|
62
74
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connectcampaignsv2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connectcampaignsv2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.723.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,56 +20,56 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.723.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.723.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.723.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.723.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.723.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.723.0",
|
|
36
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
37
|
+
"@smithy/core": "^3.0.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
39
|
+
"@smithy/hash-node": "^4.0.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
43
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
44
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
45
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
46
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
47
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
48
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
49
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
50
|
+
"@smithy/types": "^4.0.0",
|
|
51
|
+
"@smithy/url-parser": "^4.0.0",
|
|
52
|
+
"@smithy/util-base64": "^4.0.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
57
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
58
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
59
|
+
"@smithy/util-retry": "^4.0.0",
|
|
60
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@tsconfig/
|
|
65
|
-
"@types/node": "^
|
|
64
|
+
"@tsconfig/node18": "18.2.4",
|
|
65
|
+
"@types/node": "^18.19.69",
|
|
66
66
|
"concurrently": "7.0.0",
|
|
67
67
|
"downlevel-dts": "0.10.1",
|
|
68
68
|
"rimraf": "3.0.2",
|
|
69
|
-
"typescript": "~
|
|
69
|
+
"typescript": "~5.2.2"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
|
-
"node": ">=
|
|
72
|
+
"node": ">=18.0.0"
|
|
73
73
|
},
|
|
74
74
|
"typesVersions": {
|
|
75
75
|
"<4.0": {
|