@aws-sdk/client-connectcampaignsv2 3.933.0 → 3.935.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 +5 -112
- package/dist-es/index.js +1 -1
- package/dist-es/models/errors.js +131 -0
- package/dist-es/models/models_0.js +0 -131
- package/dist-es/schemas/schemas_0.js +6 -5
- package/dist-types/commands/CreateCampaignCommand.d.ts +1 -0
- package/dist-types/commands/DescribeCampaignCommand.d.ts +1 -0
- package/dist-types/commands/PutOutboundRequestBatchCommand.d.ts +1 -0
- package/dist-types/commands/UpdateCampaignChannelSubtypeConfigCommand.d.ts +1 -0
- package/dist-types/index.d.ts +2 -1
- package/dist-types/models/errors.d.ts +163 -0
- package/dist-types/models/models_0.d.ts +10 -162
- package/dist-types/ts3.4/index.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +76 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -75
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -131,9 +131,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends ConnectCampaig
|
|
|
131
131
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
|
-
const AgentAction = {
|
|
135
|
-
DISCARD: "DISCARD",
|
|
136
|
-
};
|
|
137
134
|
let ConflictException$1 = class ConflictException extends ConnectCampaignsV2ServiceException$1 {
|
|
138
135
|
name = "ConflictException";
|
|
139
136
|
$fault = "client";
|
|
@@ -148,26 +145,6 @@ let ConflictException$1 = class ConflictException extends ConnectCampaignsV2Serv
|
|
|
148
145
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
149
146
|
}
|
|
150
147
|
};
|
|
151
|
-
const CommunicationLimitTimeUnit = {
|
|
152
|
-
DAY: "DAY",
|
|
153
|
-
};
|
|
154
|
-
const InstanceLimitsHandling = {
|
|
155
|
-
OPT_IN: "OPT_IN",
|
|
156
|
-
OPT_OUT: "OPT_OUT",
|
|
157
|
-
};
|
|
158
|
-
const DayOfWeek = {
|
|
159
|
-
FRIDAY: "FRIDAY",
|
|
160
|
-
MONDAY: "MONDAY",
|
|
161
|
-
SATURDAY: "SATURDAY",
|
|
162
|
-
SUNDAY: "SUNDAY",
|
|
163
|
-
THURSDAY: "THURSDAY",
|
|
164
|
-
TUESDAY: "TUESDAY",
|
|
165
|
-
WEDNESDAY: "WEDNESDAY",
|
|
166
|
-
};
|
|
167
|
-
const LocalTimeZoneDetectionType = {
|
|
168
|
-
AREA_CODE: "AREA_CODE",
|
|
169
|
-
ZIP_CODE: "ZIP_CODE",
|
|
170
|
-
};
|
|
171
148
|
let InternalServerException$1 = class InternalServerException extends ConnectCampaignsV2ServiceException$1 {
|
|
172
149
|
name = "InternalServerException";
|
|
173
150
|
$fault = "server";
|
|
@@ -240,22 +217,6 @@ let ValidationException$1 = class ValidationException extends ConnectCampaignsV2
|
|
|
240
217
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
241
218
|
}
|
|
242
219
|
};
|
|
243
|
-
const ChannelSubtype = {
|
|
244
|
-
EMAIL: "EMAIL",
|
|
245
|
-
SMS: "SMS",
|
|
246
|
-
TELEPHONY: "TELEPHONY",
|
|
247
|
-
};
|
|
248
|
-
const CommunicationLimitsConfigType = {
|
|
249
|
-
ALL_CHANNEL_SUBTYPES: "ALL_CHANNEL_SUBTYPES",
|
|
250
|
-
};
|
|
251
|
-
const CampaignState = {
|
|
252
|
-
COMPLETED: "Completed",
|
|
253
|
-
FAILED: "Failed",
|
|
254
|
-
INITIALIZED: "Initialized",
|
|
255
|
-
PAUSED: "Paused",
|
|
256
|
-
RUNNING: "Running",
|
|
257
|
-
STOPPED: "Stopped",
|
|
258
|
-
};
|
|
259
220
|
let InvalidCampaignStateException$1 = class InvalidCampaignStateException extends ConnectCampaignsV2ServiceException$1 {
|
|
260
221
|
name = "InvalidCampaignStateException";
|
|
261
222
|
$fault = "client";
|
|
@@ -272,15 +233,6 @@ let InvalidCampaignStateException$1 = class InvalidCampaignStateException extend
|
|
|
272
233
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
273
234
|
}
|
|
274
235
|
};
|
|
275
|
-
const CommunicationTimeConfigType = {
|
|
276
|
-
EMAIL: "EMAIL",
|
|
277
|
-
SMS: "SMS",
|
|
278
|
-
TELEPHONY: "TELEPHONY",
|
|
279
|
-
};
|
|
280
|
-
const CampaignDeletionPolicy = {
|
|
281
|
-
DELETE_ALL: "DELETE_ALL",
|
|
282
|
-
RETAIN_ALL: "RETAIN_ALL",
|
|
283
|
-
};
|
|
284
236
|
let InvalidStateException$1 = class InvalidStateException extends ConnectCampaignsV2ServiceException$1 {
|
|
285
237
|
name = "InvalidStateException";
|
|
286
238
|
$fault = "client";
|
|
@@ -295,48 +247,6 @@ let InvalidStateException$1 = class InvalidStateException extends ConnectCampaig
|
|
|
295
247
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
296
248
|
}
|
|
297
249
|
};
|
|
298
|
-
const GetCampaignStateBatchFailureCode = {
|
|
299
|
-
RESOURCE_NOT_FOUND: "ResourceNotFound",
|
|
300
|
-
UNKNOWN_ERROR: "UnknownError",
|
|
301
|
-
};
|
|
302
|
-
const EncryptionType = {
|
|
303
|
-
KMS: "KMS",
|
|
304
|
-
};
|
|
305
|
-
const InstanceOnboardingJobFailureCode = {
|
|
306
|
-
EVENT_BRIDGE_ACCESS_DENIED: "EVENT_BRIDGE_ACCESS_DENIED",
|
|
307
|
-
EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED: "EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED",
|
|
308
|
-
IAM_ACCESS_DENIED: "IAM_ACCESS_DENIED",
|
|
309
|
-
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
310
|
-
KMS_ACCESS_DENIED: "KMS_ACCESS_DENIED",
|
|
311
|
-
KMS_KEY_NOT_FOUND: "KMS_KEY_NOT_FOUND",
|
|
312
|
-
};
|
|
313
|
-
const InstanceOnboardingJobStatusCode = {
|
|
314
|
-
FAILED: "FAILED",
|
|
315
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
316
|
-
SUCCEEDED: "SUCCEEDED",
|
|
317
|
-
};
|
|
318
|
-
const InstanceIdFilterOperator = {
|
|
319
|
-
EQ: "Eq",
|
|
320
|
-
};
|
|
321
|
-
const EventType = {
|
|
322
|
-
CAMPAIGN_EMAIL: "Campaign-Email",
|
|
323
|
-
CAMPAIGN_ORCHESTRATION: "Campaign-Orchestration",
|
|
324
|
-
CAMPAIGN_SMS: "Campaign-SMS",
|
|
325
|
-
CAMPAIGN_TELEPHONY: "Campaign-Telephony",
|
|
326
|
-
};
|
|
327
|
-
const FailureCode = {
|
|
328
|
-
BUFFER_LIMIT_EXCEEDED: "BufferLimitExceeded",
|
|
329
|
-
INVALID_INPUT: "InvalidInput",
|
|
330
|
-
REQUEST_THROTTLED: "RequestThrottled",
|
|
331
|
-
UNKNOWN_ERROR: "UnknownError",
|
|
332
|
-
};
|
|
333
|
-
const ProfileOutboundRequestFailureCode = {
|
|
334
|
-
CONFLICT: "Conflict",
|
|
335
|
-
INVALID_INPUT: "InvalidInput",
|
|
336
|
-
REQUEST_THROTTLED: "RequestThrottled",
|
|
337
|
-
RESOURCE_NOT_FOUND: "ResourceNotFound",
|
|
338
|
-
UNKNOWN_ERROR: "UnknownError",
|
|
339
|
-
};
|
|
340
250
|
|
|
341
251
|
const _A = "Attributes";
|
|
342
252
|
const _AC = "AgentlessConfig";
|
|
@@ -597,6 +507,7 @@ const _qC = "qConnect";
|
|
|
597
507
|
const _rF = "refreshFrequency";
|
|
598
508
|
const _rP = "restrictedPeriods";
|
|
599
509
|
const _rPL = "restrictedPeriodList";
|
|
510
|
+
const _rT = "ringTimeout";
|
|
600
511
|
const _s = "source";
|
|
601
512
|
const _sD = "startDate";
|
|
602
513
|
const _sEADN = "sourceEmailAddressDisplayName";
|
|
@@ -1168,16 +1079,16 @@ var TelephonyChannelSubtypeParameters = [
|
|
|
1168
1079
|
n0,
|
|
1169
1080
|
_TCSP,
|
|
1170
1081
|
0,
|
|
1171
|
-
[_dPN, _at, _cSPN, _aMDC],
|
|
1172
|
-
[[() => DestinationPhoneNumber, 0], [() => Attributes, 0], 0, () => AnswerMachineDetectionConfig],
|
|
1082
|
+
[_dPN, _at, _cSPN, _aMDC, _rT],
|
|
1083
|
+
[[() => DestinationPhoneNumber, 0], [() => Attributes, 0], 0, () => AnswerMachineDetectionConfig, 1],
|
|
1173
1084
|
];
|
|
1174
1085
|
var TelephonyOutboundConfig = [
|
|
1175
1086
|
3,
|
|
1176
1087
|
n0,
|
|
1177
1088
|
_TOC,
|
|
1178
1089
|
0,
|
|
1179
|
-
[_cCFI, _cSPN, _aMDC],
|
|
1180
|
-
[0, 0, () => AnswerMachineDetectionConfig],
|
|
1090
|
+
[_cCFI, _cSPN, _aMDC, _rT],
|
|
1091
|
+
[0, 0, () => AnswerMachineDetectionConfig, 1],
|
|
1181
1092
|
];
|
|
1182
1093
|
var ThrottlingException = [
|
|
1183
1094
|
-3,
|
|
@@ -2188,19 +2099,11 @@ Object.defineProperty(exports, "__Client", {
|
|
|
2188
2099
|
get: function () { return smithyClient.Client; }
|
|
2189
2100
|
});
|
|
2190
2101
|
exports.AccessDeniedException = AccessDeniedException$1;
|
|
2191
|
-
exports.AgentAction = AgentAction;
|
|
2192
|
-
exports.CampaignDeletionPolicy = CampaignDeletionPolicy;
|
|
2193
|
-
exports.CampaignState = CampaignState;
|
|
2194
|
-
exports.ChannelSubtype = ChannelSubtype;
|
|
2195
|
-
exports.CommunicationLimitTimeUnit = CommunicationLimitTimeUnit;
|
|
2196
|
-
exports.CommunicationLimitsConfigType = CommunicationLimitsConfigType;
|
|
2197
|
-
exports.CommunicationTimeConfigType = CommunicationTimeConfigType;
|
|
2198
2102
|
exports.ConflictException = ConflictException$1;
|
|
2199
2103
|
exports.ConnectCampaignsV2 = ConnectCampaignsV2;
|
|
2200
2104
|
exports.ConnectCampaignsV2Client = ConnectCampaignsV2Client;
|
|
2201
2105
|
exports.ConnectCampaignsV2ServiceException = ConnectCampaignsV2ServiceException$1;
|
|
2202
2106
|
exports.CreateCampaignCommand = CreateCampaignCommand;
|
|
2203
|
-
exports.DayOfWeek = DayOfWeek;
|
|
2204
2107
|
exports.DeleteCampaignChannelSubtypeConfigCommand = DeleteCampaignChannelSubtypeConfigCommand;
|
|
2205
2108
|
exports.DeleteCampaignCommand = DeleteCampaignCommand;
|
|
2206
2109
|
exports.DeleteCampaignCommunicationLimitsCommand = DeleteCampaignCommunicationLimitsCommand;
|
|
@@ -2209,28 +2112,18 @@ exports.DeleteConnectInstanceConfigCommand = DeleteConnectInstanceConfigCommand;
|
|
|
2209
2112
|
exports.DeleteConnectInstanceIntegrationCommand = DeleteConnectInstanceIntegrationCommand;
|
|
2210
2113
|
exports.DeleteInstanceOnboardingJobCommand = DeleteInstanceOnboardingJobCommand;
|
|
2211
2114
|
exports.DescribeCampaignCommand = DescribeCampaignCommand;
|
|
2212
|
-
exports.EncryptionType = EncryptionType;
|
|
2213
|
-
exports.EventType = EventType;
|
|
2214
|
-
exports.FailureCode = FailureCode;
|
|
2215
2115
|
exports.GetCampaignStateBatchCommand = GetCampaignStateBatchCommand;
|
|
2216
|
-
exports.GetCampaignStateBatchFailureCode = GetCampaignStateBatchFailureCode;
|
|
2217
2116
|
exports.GetCampaignStateCommand = GetCampaignStateCommand;
|
|
2218
2117
|
exports.GetConnectInstanceConfigCommand = GetConnectInstanceConfigCommand;
|
|
2219
2118
|
exports.GetInstanceCommunicationLimitsCommand = GetInstanceCommunicationLimitsCommand;
|
|
2220
2119
|
exports.GetInstanceOnboardingJobStatusCommand = GetInstanceOnboardingJobStatusCommand;
|
|
2221
|
-
exports.InstanceIdFilterOperator = InstanceIdFilterOperator;
|
|
2222
|
-
exports.InstanceLimitsHandling = InstanceLimitsHandling;
|
|
2223
|
-
exports.InstanceOnboardingJobFailureCode = InstanceOnboardingJobFailureCode;
|
|
2224
|
-
exports.InstanceOnboardingJobStatusCode = InstanceOnboardingJobStatusCode;
|
|
2225
2120
|
exports.InternalServerException = InternalServerException$1;
|
|
2226
2121
|
exports.InvalidCampaignStateException = InvalidCampaignStateException$1;
|
|
2227
2122
|
exports.InvalidStateException = InvalidStateException$1;
|
|
2228
2123
|
exports.ListCampaignsCommand = ListCampaignsCommand;
|
|
2229
2124
|
exports.ListConnectInstanceIntegrationsCommand = ListConnectInstanceIntegrationsCommand;
|
|
2230
2125
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
2231
|
-
exports.LocalTimeZoneDetectionType = LocalTimeZoneDetectionType;
|
|
2232
2126
|
exports.PauseCampaignCommand = PauseCampaignCommand;
|
|
2233
|
-
exports.ProfileOutboundRequestFailureCode = ProfileOutboundRequestFailureCode;
|
|
2234
2127
|
exports.PutConnectInstanceIntegrationCommand = PutConnectInstanceIntegrationCommand;
|
|
2235
2128
|
exports.PutInstanceCommunicationLimitsCommand = PutInstanceCommunicationLimitsCommand;
|
|
2236
2129
|
exports.PutOutboundRequestBatchCommand = PutOutboundRequestBatchCommand;
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,5 @@ export * from "./ConnectCampaignsV2Client";
|
|
|
2
2
|
export * from "./ConnectCampaignsV2";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/errors";
|
|
6
6
|
export { ConnectCampaignsV2ServiceException } from "./models/ConnectCampaignsV2ServiceException";
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { ConnectCampaignsV2ServiceException as __BaseException } from "./ConnectCampaignsV2ServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
xAmzErrorType;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "AccessDeniedException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
this.xAmzErrorType = opts.xAmzErrorType;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class ConflictException extends __BaseException {
|
|
17
|
+
name = "ConflictException";
|
|
18
|
+
$fault = "client";
|
|
19
|
+
xAmzErrorType;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "ConflictException",
|
|
23
|
+
$fault: "client",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
27
|
+
this.xAmzErrorType = opts.xAmzErrorType;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class InternalServerException extends __BaseException {
|
|
31
|
+
name = "InternalServerException";
|
|
32
|
+
$fault = "server";
|
|
33
|
+
$retryable = {};
|
|
34
|
+
xAmzErrorType;
|
|
35
|
+
constructor(opts) {
|
|
36
|
+
super({
|
|
37
|
+
name: "InternalServerException",
|
|
38
|
+
$fault: "server",
|
|
39
|
+
...opts,
|
|
40
|
+
});
|
|
41
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
42
|
+
this.xAmzErrorType = opts.xAmzErrorType;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
46
|
+
name = "ResourceNotFoundException";
|
|
47
|
+
$fault = "client";
|
|
48
|
+
xAmzErrorType;
|
|
49
|
+
constructor(opts) {
|
|
50
|
+
super({
|
|
51
|
+
name: "ResourceNotFoundException",
|
|
52
|
+
$fault: "client",
|
|
53
|
+
...opts,
|
|
54
|
+
});
|
|
55
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
56
|
+
this.xAmzErrorType = opts.xAmzErrorType;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
60
|
+
name = "ServiceQuotaExceededException";
|
|
61
|
+
$fault = "client";
|
|
62
|
+
xAmzErrorType;
|
|
63
|
+
constructor(opts) {
|
|
64
|
+
super({
|
|
65
|
+
name: "ServiceQuotaExceededException",
|
|
66
|
+
$fault: "client",
|
|
67
|
+
...opts,
|
|
68
|
+
});
|
|
69
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
70
|
+
this.xAmzErrorType = opts.xAmzErrorType;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
export class ThrottlingException extends __BaseException {
|
|
74
|
+
name = "ThrottlingException";
|
|
75
|
+
$fault = "client";
|
|
76
|
+
$retryable = {};
|
|
77
|
+
xAmzErrorType;
|
|
78
|
+
constructor(opts) {
|
|
79
|
+
super({
|
|
80
|
+
name: "ThrottlingException",
|
|
81
|
+
$fault: "client",
|
|
82
|
+
...opts,
|
|
83
|
+
});
|
|
84
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
85
|
+
this.xAmzErrorType = opts.xAmzErrorType;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
export class ValidationException extends __BaseException {
|
|
89
|
+
name = "ValidationException";
|
|
90
|
+
$fault = "client";
|
|
91
|
+
xAmzErrorType;
|
|
92
|
+
constructor(opts) {
|
|
93
|
+
super({
|
|
94
|
+
name: "ValidationException",
|
|
95
|
+
$fault: "client",
|
|
96
|
+
...opts,
|
|
97
|
+
});
|
|
98
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
99
|
+
this.xAmzErrorType = opts.xAmzErrorType;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
export class InvalidCampaignStateException extends __BaseException {
|
|
103
|
+
name = "InvalidCampaignStateException";
|
|
104
|
+
$fault = "client";
|
|
105
|
+
state;
|
|
106
|
+
xAmzErrorType;
|
|
107
|
+
constructor(opts) {
|
|
108
|
+
super({
|
|
109
|
+
name: "InvalidCampaignStateException",
|
|
110
|
+
$fault: "client",
|
|
111
|
+
...opts,
|
|
112
|
+
});
|
|
113
|
+
Object.setPrototypeOf(this, InvalidCampaignStateException.prototype);
|
|
114
|
+
this.state = opts.state;
|
|
115
|
+
this.xAmzErrorType = opts.xAmzErrorType;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
export class InvalidStateException extends __BaseException {
|
|
119
|
+
name = "InvalidStateException";
|
|
120
|
+
$fault = "client";
|
|
121
|
+
xAmzErrorType;
|
|
122
|
+
constructor(opts) {
|
|
123
|
+
super({
|
|
124
|
+
name: "InvalidStateException",
|
|
125
|
+
$fault: "client",
|
|
126
|
+
...opts,
|
|
127
|
+
});
|
|
128
|
+
Object.setPrototypeOf(this, InvalidStateException.prototype);
|
|
129
|
+
this.xAmzErrorType = opts.xAmzErrorType;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
@@ -1,35 +1,6 @@
|
|
|
1
|
-
import { ConnectCampaignsV2ServiceException as __BaseException } from "./ConnectCampaignsV2ServiceException";
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
xAmzErrorType;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "AccessDeniedException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
-
this.xAmzErrorType = opts.xAmzErrorType;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
1
|
export const AgentAction = {
|
|
17
2
|
DISCARD: "DISCARD",
|
|
18
3
|
};
|
|
19
|
-
export class ConflictException extends __BaseException {
|
|
20
|
-
name = "ConflictException";
|
|
21
|
-
$fault = "client";
|
|
22
|
-
xAmzErrorType;
|
|
23
|
-
constructor(opts) {
|
|
24
|
-
super({
|
|
25
|
-
name: "ConflictException",
|
|
26
|
-
$fault: "client",
|
|
27
|
-
...opts,
|
|
28
|
-
});
|
|
29
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
30
|
-
this.xAmzErrorType = opts.xAmzErrorType;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
4
|
export const CommunicationLimitTimeUnit = {
|
|
34
5
|
DAY: "DAY",
|
|
35
6
|
};
|
|
@@ -50,78 +21,6 @@ export const LocalTimeZoneDetectionType = {
|
|
|
50
21
|
AREA_CODE: "AREA_CODE",
|
|
51
22
|
ZIP_CODE: "ZIP_CODE",
|
|
52
23
|
};
|
|
53
|
-
export class InternalServerException extends __BaseException {
|
|
54
|
-
name = "InternalServerException";
|
|
55
|
-
$fault = "server";
|
|
56
|
-
$retryable = {};
|
|
57
|
-
xAmzErrorType;
|
|
58
|
-
constructor(opts) {
|
|
59
|
-
super({
|
|
60
|
-
name: "InternalServerException",
|
|
61
|
-
$fault: "server",
|
|
62
|
-
...opts,
|
|
63
|
-
});
|
|
64
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
65
|
-
this.xAmzErrorType = opts.xAmzErrorType;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
69
|
-
name = "ResourceNotFoundException";
|
|
70
|
-
$fault = "client";
|
|
71
|
-
xAmzErrorType;
|
|
72
|
-
constructor(opts) {
|
|
73
|
-
super({
|
|
74
|
-
name: "ResourceNotFoundException",
|
|
75
|
-
$fault: "client",
|
|
76
|
-
...opts,
|
|
77
|
-
});
|
|
78
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
79
|
-
this.xAmzErrorType = opts.xAmzErrorType;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
83
|
-
name = "ServiceQuotaExceededException";
|
|
84
|
-
$fault = "client";
|
|
85
|
-
xAmzErrorType;
|
|
86
|
-
constructor(opts) {
|
|
87
|
-
super({
|
|
88
|
-
name: "ServiceQuotaExceededException",
|
|
89
|
-
$fault: "client",
|
|
90
|
-
...opts,
|
|
91
|
-
});
|
|
92
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
93
|
-
this.xAmzErrorType = opts.xAmzErrorType;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
export class ThrottlingException extends __BaseException {
|
|
97
|
-
name = "ThrottlingException";
|
|
98
|
-
$fault = "client";
|
|
99
|
-
$retryable = {};
|
|
100
|
-
xAmzErrorType;
|
|
101
|
-
constructor(opts) {
|
|
102
|
-
super({
|
|
103
|
-
name: "ThrottlingException",
|
|
104
|
-
$fault: "client",
|
|
105
|
-
...opts,
|
|
106
|
-
});
|
|
107
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
108
|
-
this.xAmzErrorType = opts.xAmzErrorType;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
export class ValidationException extends __BaseException {
|
|
112
|
-
name = "ValidationException";
|
|
113
|
-
$fault = "client";
|
|
114
|
-
xAmzErrorType;
|
|
115
|
-
constructor(opts) {
|
|
116
|
-
super({
|
|
117
|
-
name: "ValidationException",
|
|
118
|
-
$fault: "client",
|
|
119
|
-
...opts,
|
|
120
|
-
});
|
|
121
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
122
|
-
this.xAmzErrorType = opts.xAmzErrorType;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
24
|
export const ChannelSubtype = {
|
|
126
25
|
EMAIL: "EMAIL",
|
|
127
26
|
SMS: "SMS",
|
|
@@ -138,22 +37,6 @@ export const CampaignState = {
|
|
|
138
37
|
RUNNING: "Running",
|
|
139
38
|
STOPPED: "Stopped",
|
|
140
39
|
};
|
|
141
|
-
export class InvalidCampaignStateException extends __BaseException {
|
|
142
|
-
name = "InvalidCampaignStateException";
|
|
143
|
-
$fault = "client";
|
|
144
|
-
state;
|
|
145
|
-
xAmzErrorType;
|
|
146
|
-
constructor(opts) {
|
|
147
|
-
super({
|
|
148
|
-
name: "InvalidCampaignStateException",
|
|
149
|
-
$fault: "client",
|
|
150
|
-
...opts,
|
|
151
|
-
});
|
|
152
|
-
Object.setPrototypeOf(this, InvalidCampaignStateException.prototype);
|
|
153
|
-
this.state = opts.state;
|
|
154
|
-
this.xAmzErrorType = opts.xAmzErrorType;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
40
|
export const CommunicationTimeConfigType = {
|
|
158
41
|
EMAIL: "EMAIL",
|
|
159
42
|
SMS: "SMS",
|
|
@@ -163,20 +46,6 @@ export const CampaignDeletionPolicy = {
|
|
|
163
46
|
DELETE_ALL: "DELETE_ALL",
|
|
164
47
|
RETAIN_ALL: "RETAIN_ALL",
|
|
165
48
|
};
|
|
166
|
-
export class InvalidStateException extends __BaseException {
|
|
167
|
-
name = "InvalidStateException";
|
|
168
|
-
$fault = "client";
|
|
169
|
-
xAmzErrorType;
|
|
170
|
-
constructor(opts) {
|
|
171
|
-
super({
|
|
172
|
-
name: "InvalidStateException",
|
|
173
|
-
$fault: "client",
|
|
174
|
-
...opts,
|
|
175
|
-
});
|
|
176
|
-
Object.setPrototypeOf(this, InvalidStateException.prototype);
|
|
177
|
-
this.xAmzErrorType = opts.xAmzErrorType;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
49
|
export const GetCampaignStateBatchFailureCode = {
|
|
181
50
|
RESOURCE_NOT_FOUND: "ResourceNotFound",
|
|
182
51
|
UNKNOWN_ERROR: "UnknownError",
|
|
@@ -257,6 +257,7 @@ const _qC = "qConnect";
|
|
|
257
257
|
const _rF = "refreshFrequency";
|
|
258
258
|
const _rP = "restrictedPeriods";
|
|
259
259
|
const _rPL = "restrictedPeriodList";
|
|
260
|
+
const _rT = "ringTimeout";
|
|
260
261
|
const _s = "source";
|
|
261
262
|
const _sD = "startDate";
|
|
262
263
|
const _sEADN = "sourceEmailAddressDisplayName";
|
|
@@ -283,7 +284,7 @@ const _xaE = "x-amzn-ErrorType";
|
|
|
283
284
|
const n0 = "com.amazonaws.connectcampaignsv2";
|
|
284
285
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
285
286
|
import { ConnectCampaignsV2ServiceException as __ConnectCampaignsV2ServiceException } from "../models/ConnectCampaignsV2ServiceException";
|
|
286
|
-
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, InvalidCampaignStateException as __InvalidCampaignStateException, InvalidStateException as __InvalidStateException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
287
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, InvalidCampaignStateException as __InvalidCampaignStateException, InvalidStateException as __InvalidStateException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
287
288
|
export var DestinationPhoneNumber = [0, n0, _DPN, 8, 0];
|
|
288
289
|
export var EmailAddress = [0, n0, _EA, 8, 0];
|
|
289
290
|
export var EmailDisplayName = [0, n0, _EDN, 8, 0];
|
|
@@ -831,16 +832,16 @@ export var TelephonyChannelSubtypeParameters = [
|
|
|
831
832
|
n0,
|
|
832
833
|
_TCSP,
|
|
833
834
|
0,
|
|
834
|
-
[_dPN, _at, _cSPN, _aMDC],
|
|
835
|
-
[[() => DestinationPhoneNumber, 0], [() => Attributes, 0], 0, () => AnswerMachineDetectionConfig],
|
|
835
|
+
[_dPN, _at, _cSPN, _aMDC, _rT],
|
|
836
|
+
[[() => DestinationPhoneNumber, 0], [() => Attributes, 0], 0, () => AnswerMachineDetectionConfig, 1],
|
|
836
837
|
];
|
|
837
838
|
export var TelephonyOutboundConfig = [
|
|
838
839
|
3,
|
|
839
840
|
n0,
|
|
840
841
|
_TOC,
|
|
841
842
|
0,
|
|
842
|
-
[_cCFI, _cSPN, _aMDC],
|
|
843
|
-
[0, 0, () => AnswerMachineDetectionConfig],
|
|
843
|
+
[_cCFI, _cSPN, _aMDC, _rT],
|
|
844
|
+
[0, 0, () => AnswerMachineDetectionConfig, 1],
|
|
844
845
|
];
|
|
845
846
|
export var ThrottlingException = [
|
|
846
847
|
-3,
|
|
@@ -76,6 +76,7 @@ declare const DescribeCampaignCommand_base: {
|
|
|
76
76
|
* // enableAnswerMachineDetection: true || false, // required
|
|
77
77
|
* // awaitAnswerMachinePrompt: true || false,
|
|
78
78
|
* // },
|
|
79
|
+
* // ringTimeout: Number("int"),
|
|
79
80
|
* // },
|
|
80
81
|
* // },
|
|
81
82
|
* // sms: { // SmsChannelSubtypeConfig
|
|
@@ -53,6 +53,7 @@ declare const PutOutboundRequestBatchCommand_base: {
|
|
|
53
53
|
* enableAnswerMachineDetection: true || false, // required
|
|
54
54
|
* awaitAnswerMachinePrompt: true || false,
|
|
55
55
|
* },
|
|
56
|
+
* ringTimeout: Number("int"),
|
|
56
57
|
* },
|
|
57
58
|
* sms: { // SmsChannelSubtypeParameters
|
|
58
59
|
* destinationPhoneNumber: "STRING_VALUE", // required
|
|
@@ -67,6 +67,7 @@ declare const UpdateCampaignChannelSubtypeConfigCommand_base: {
|
|
|
67
67
|
* enableAnswerMachineDetection: true || false, // required
|
|
68
68
|
* awaitAnswerMachinePrompt: true || false,
|
|
69
69
|
* },
|
|
70
|
+
* ringTimeout: Number("int"),
|
|
70
71
|
* },
|
|
71
72
|
* },
|
|
72
73
|
* sms: { // SmsChannelSubtypeConfig
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,5 +10,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export type { ConnectCampaignsV2ExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
|
-
export * from "./models";
|
|
13
|
+
export * from "./models/errors";
|
|
14
|
+
export type * from "./models/models_0";
|
|
14
15
|
export { ConnectCampaignsV2ServiceException } from "./models/ConnectCampaignsV2ServiceException";
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ConnectCampaignsV2ServiceException as __BaseException } from "./ConnectCampaignsV2ServiceException";
|
|
3
|
+
import { CampaignState } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* You do not have sufficient access to perform this action.
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
9
|
+
readonly name: "AccessDeniedException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
/**
|
|
12
|
+
* A header that defines the error encountered while processing the request.
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
xAmzErrorType?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* The request could not be processed because of conflict in the current state of the resource.
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export declare class ConflictException extends __BaseException {
|
|
26
|
+
readonly name: "ConflictException";
|
|
27
|
+
readonly $fault: "client";
|
|
28
|
+
/**
|
|
29
|
+
* A header that defines the error encountered while processing the request.
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
xAmzErrorType?: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Request processing failed because of an error or failure with the service.
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
export declare class InternalServerException extends __BaseException {
|
|
43
|
+
readonly name: "InternalServerException";
|
|
44
|
+
readonly $fault: "server";
|
|
45
|
+
$retryable: {};
|
|
46
|
+
/**
|
|
47
|
+
* A header that defines the error encountered while processing the request.
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
xAmzErrorType?: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* The specified resource was not found.
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
61
|
+
readonly name: "ResourceNotFoundException";
|
|
62
|
+
readonly $fault: "client";
|
|
63
|
+
/**
|
|
64
|
+
* A header that defines the error encountered while processing the request.
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
xAmzErrorType?: string | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Request would cause a service quota to be exceeded.
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
78
|
+
readonly name: "ServiceQuotaExceededException";
|
|
79
|
+
readonly $fault: "client";
|
|
80
|
+
/**
|
|
81
|
+
* A header that defines the error encountered while processing the request.
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
xAmzErrorType?: string | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* The request was denied due to request throttling.
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class ThrottlingException extends __BaseException {
|
|
95
|
+
readonly name: "ThrottlingException";
|
|
96
|
+
readonly $fault: "client";
|
|
97
|
+
$retryable: {};
|
|
98
|
+
/**
|
|
99
|
+
* A header that defines the error encountered while processing the request.
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
xAmzErrorType?: string | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
*/
|
|
106
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* The input fails to satisfy the constraints specified by an AWS service.
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export declare class ValidationException extends __BaseException {
|
|
113
|
+
readonly name: "ValidationException";
|
|
114
|
+
readonly $fault: "client";
|
|
115
|
+
/**
|
|
116
|
+
* A header that defines the error encountered while processing the request.
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
xAmzErrorType?: string | undefined;
|
|
120
|
+
/**
|
|
121
|
+
* @internal
|
|
122
|
+
*/
|
|
123
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* The request could not be processed because of conflict in the current state of the campaign.
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
export declare class InvalidCampaignStateException extends __BaseException {
|
|
130
|
+
readonly name: "InvalidCampaignStateException";
|
|
131
|
+
readonly $fault: "client";
|
|
132
|
+
/**
|
|
133
|
+
* State of a campaign
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
state: CampaignState | undefined;
|
|
137
|
+
/**
|
|
138
|
+
* A header that defines the error encountered while processing the request.
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
xAmzErrorType?: string | undefined;
|
|
142
|
+
/**
|
|
143
|
+
* @internal
|
|
144
|
+
*/
|
|
145
|
+
constructor(opts: __ExceptionOptionType<InvalidCampaignStateException, __BaseException>);
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* The request could not be processed because of conflict in the current state.
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
export declare class InvalidStateException extends __BaseException {
|
|
152
|
+
readonly name: "InvalidStateException";
|
|
153
|
+
readonly $fault: "client";
|
|
154
|
+
/**
|
|
155
|
+
* A header that defines the error encountered while processing the request.
|
|
156
|
+
* @public
|
|
157
|
+
*/
|
|
158
|
+
xAmzErrorType?: string | undefined;
|
|
159
|
+
/**
|
|
160
|
+
* @internal
|
|
161
|
+
*/
|
|
162
|
+
constructor(opts: __ExceptionOptionType<InvalidStateException, __BaseException>);
|
|
163
|
+
}
|
|
@@ -1,22 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { ConnectCampaignsV2ServiceException as __BaseException } from "./ConnectCampaignsV2ServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* You do not have sufficient access to perform this action.
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
-
readonly name: "AccessDeniedException";
|
|
9
|
-
readonly $fault: "client";
|
|
10
|
-
/**
|
|
11
|
-
* A header that defines the error encountered while processing the request.
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
14
|
-
xAmzErrorType?: string | undefined;
|
|
15
|
-
/**
|
|
16
|
-
* @internal
|
|
17
|
-
*/
|
|
18
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
19
|
-
}
|
|
20
1
|
/**
|
|
21
2
|
* @public
|
|
22
3
|
* @enum
|
|
@@ -34,23 +15,6 @@ export type AgentAction = (typeof AgentAction)[keyof typeof AgentAction];
|
|
|
34
15
|
*/
|
|
35
16
|
export interface AgentlessConfig {
|
|
36
17
|
}
|
|
37
|
-
/**
|
|
38
|
-
* The request could not be processed because of conflict in the current state of the resource.
|
|
39
|
-
* @public
|
|
40
|
-
*/
|
|
41
|
-
export declare class ConflictException extends __BaseException {
|
|
42
|
-
readonly name: "ConflictException";
|
|
43
|
-
readonly $fault: "client";
|
|
44
|
-
/**
|
|
45
|
-
* A header that defines the error encountered while processing the request.
|
|
46
|
-
* @public
|
|
47
|
-
*/
|
|
48
|
-
xAmzErrorType?: string | undefined;
|
|
49
|
-
/**
|
|
50
|
-
* @internal
|
|
51
|
-
*/
|
|
52
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
53
|
-
}
|
|
54
18
|
/**
|
|
55
19
|
* Default Email Outbound config
|
|
56
20
|
* @public
|
|
@@ -232,6 +196,11 @@ export interface TelephonyOutboundConfig {
|
|
|
232
196
|
* @public
|
|
233
197
|
*/
|
|
234
198
|
answerMachineDetectionConfig?: AnswerMachineDetectionConfig | undefined;
|
|
199
|
+
/**
|
|
200
|
+
* Ring timeout for outbound calls
|
|
201
|
+
* @public
|
|
202
|
+
*/
|
|
203
|
+
ringTimeout?: number | undefined;
|
|
235
204
|
}
|
|
236
205
|
/**
|
|
237
206
|
* Predictive config
|
|
@@ -841,93 +810,6 @@ export interface CreateCampaignResponse {
|
|
|
841
810
|
*/
|
|
842
811
|
tags?: Record<string, string> | undefined;
|
|
843
812
|
}
|
|
844
|
-
/**
|
|
845
|
-
* Request processing failed because of an error or failure with the service.
|
|
846
|
-
* @public
|
|
847
|
-
*/
|
|
848
|
-
export declare class InternalServerException extends __BaseException {
|
|
849
|
-
readonly name: "InternalServerException";
|
|
850
|
-
readonly $fault: "server";
|
|
851
|
-
$retryable: {};
|
|
852
|
-
/**
|
|
853
|
-
* A header that defines the error encountered while processing the request.
|
|
854
|
-
* @public
|
|
855
|
-
*/
|
|
856
|
-
xAmzErrorType?: string | undefined;
|
|
857
|
-
/**
|
|
858
|
-
* @internal
|
|
859
|
-
*/
|
|
860
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
861
|
-
}
|
|
862
|
-
/**
|
|
863
|
-
* The specified resource was not found.
|
|
864
|
-
* @public
|
|
865
|
-
*/
|
|
866
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
867
|
-
readonly name: "ResourceNotFoundException";
|
|
868
|
-
readonly $fault: "client";
|
|
869
|
-
/**
|
|
870
|
-
* A header that defines the error encountered while processing the request.
|
|
871
|
-
* @public
|
|
872
|
-
*/
|
|
873
|
-
xAmzErrorType?: string | undefined;
|
|
874
|
-
/**
|
|
875
|
-
* @internal
|
|
876
|
-
*/
|
|
877
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
878
|
-
}
|
|
879
|
-
/**
|
|
880
|
-
* Request would cause a service quota to be exceeded.
|
|
881
|
-
* @public
|
|
882
|
-
*/
|
|
883
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
884
|
-
readonly name: "ServiceQuotaExceededException";
|
|
885
|
-
readonly $fault: "client";
|
|
886
|
-
/**
|
|
887
|
-
* A header that defines the error encountered while processing the request.
|
|
888
|
-
* @public
|
|
889
|
-
*/
|
|
890
|
-
xAmzErrorType?: string | undefined;
|
|
891
|
-
/**
|
|
892
|
-
* @internal
|
|
893
|
-
*/
|
|
894
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
895
|
-
}
|
|
896
|
-
/**
|
|
897
|
-
* The request was denied due to request throttling.
|
|
898
|
-
* @public
|
|
899
|
-
*/
|
|
900
|
-
export declare class ThrottlingException extends __BaseException {
|
|
901
|
-
readonly name: "ThrottlingException";
|
|
902
|
-
readonly $fault: "client";
|
|
903
|
-
$retryable: {};
|
|
904
|
-
/**
|
|
905
|
-
* A header that defines the error encountered while processing the request.
|
|
906
|
-
* @public
|
|
907
|
-
*/
|
|
908
|
-
xAmzErrorType?: string | undefined;
|
|
909
|
-
/**
|
|
910
|
-
* @internal
|
|
911
|
-
*/
|
|
912
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
913
|
-
}
|
|
914
|
-
/**
|
|
915
|
-
* The input fails to satisfy the constraints specified by an AWS service.
|
|
916
|
-
* @public
|
|
917
|
-
*/
|
|
918
|
-
export declare class ValidationException extends __BaseException {
|
|
919
|
-
readonly name: "ValidationException";
|
|
920
|
-
readonly $fault: "client";
|
|
921
|
-
/**
|
|
922
|
-
* A header that defines the error encountered while processing the request.
|
|
923
|
-
* @public
|
|
924
|
-
*/
|
|
925
|
-
xAmzErrorType?: string | undefined;
|
|
926
|
-
/**
|
|
927
|
-
* @internal
|
|
928
|
-
*/
|
|
929
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
930
|
-
}
|
|
931
813
|
/**
|
|
932
814
|
* The request for DeleteCampaign API.
|
|
933
815
|
* @public
|
|
@@ -1029,28 +911,6 @@ export declare const CampaignState: {
|
|
|
1029
911
|
* @public
|
|
1030
912
|
*/
|
|
1031
913
|
export type CampaignState = (typeof CampaignState)[keyof typeof CampaignState];
|
|
1032
|
-
/**
|
|
1033
|
-
* The request could not be processed because of conflict in the current state of the campaign.
|
|
1034
|
-
* @public
|
|
1035
|
-
*/
|
|
1036
|
-
export declare class InvalidCampaignStateException extends __BaseException {
|
|
1037
|
-
readonly name: "InvalidCampaignStateException";
|
|
1038
|
-
readonly $fault: "client";
|
|
1039
|
-
/**
|
|
1040
|
-
* State of a campaign
|
|
1041
|
-
* @public
|
|
1042
|
-
*/
|
|
1043
|
-
state: CampaignState | undefined;
|
|
1044
|
-
/**
|
|
1045
|
-
* A header that defines the error encountered while processing the request.
|
|
1046
|
-
* @public
|
|
1047
|
-
*/
|
|
1048
|
-
xAmzErrorType?: string | undefined;
|
|
1049
|
-
/**
|
|
1050
|
-
* @internal
|
|
1051
|
-
*/
|
|
1052
|
-
constructor(opts: __ExceptionOptionType<InvalidCampaignStateException, __BaseException>);
|
|
1053
|
-
}
|
|
1054
914
|
/**
|
|
1055
915
|
* @public
|
|
1056
916
|
* @enum
|
|
@@ -1108,23 +968,6 @@ export interface DeleteConnectInstanceConfigRequest {
|
|
|
1108
968
|
*/
|
|
1109
969
|
campaignDeletionPolicy?: CampaignDeletionPolicy | undefined;
|
|
1110
970
|
}
|
|
1111
|
-
/**
|
|
1112
|
-
* The request could not be processed because of conflict in the current state.
|
|
1113
|
-
* @public
|
|
1114
|
-
*/
|
|
1115
|
-
export declare class InvalidStateException extends __BaseException {
|
|
1116
|
-
readonly name: "InvalidStateException";
|
|
1117
|
-
readonly $fault: "client";
|
|
1118
|
-
/**
|
|
1119
|
-
* A header that defines the error encountered while processing the request.
|
|
1120
|
-
* @public
|
|
1121
|
-
*/
|
|
1122
|
-
xAmzErrorType?: string | undefined;
|
|
1123
|
-
/**
|
|
1124
|
-
* @internal
|
|
1125
|
-
*/
|
|
1126
|
-
constructor(opts: __ExceptionOptionType<InvalidStateException, __BaseException>);
|
|
1127
|
-
}
|
|
1128
971
|
/**
|
|
1129
972
|
* Customer Profiles integration identifier
|
|
1130
973
|
* @public
|
|
@@ -2043,6 +1886,11 @@ export interface TelephonyChannelSubtypeParameters {
|
|
|
2043
1886
|
* @public
|
|
2044
1887
|
*/
|
|
2045
1888
|
answerMachineDetectionConfig?: AnswerMachineDetectionConfig | undefined;
|
|
1889
|
+
/**
|
|
1890
|
+
* Ring timeout for outbound calls
|
|
1891
|
+
* @public
|
|
1892
|
+
*/
|
|
1893
|
+
ringTimeout?: number | undefined;
|
|
2046
1894
|
}
|
|
2047
1895
|
/**
|
|
2048
1896
|
* ChannelSubtypeParameters for an outbound request
|
|
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { ConnectCampaignsV2ExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
9
10
|
export { ConnectCampaignsV2ServiceException } from "./models/ConnectCampaignsV2ServiceException";
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ConnectCampaignsV2ServiceException as __BaseException } from "./ConnectCampaignsV2ServiceException";
|
|
3
|
+
import { CampaignState } from "./models_0";
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
xAmzErrorType?: string | undefined;
|
|
8
|
+
constructor(
|
|
9
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
export declare class ConflictException extends __BaseException {
|
|
13
|
+
readonly name: "ConflictException";
|
|
14
|
+
readonly $fault: "client";
|
|
15
|
+
xAmzErrorType?: string | undefined;
|
|
16
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
17
|
+
}
|
|
18
|
+
export declare class InternalServerException extends __BaseException {
|
|
19
|
+
readonly name: "InternalServerException";
|
|
20
|
+
readonly $fault: "server";
|
|
21
|
+
$retryable: {};
|
|
22
|
+
xAmzErrorType?: string | undefined;
|
|
23
|
+
constructor(
|
|
24
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
28
|
+
readonly name: "ResourceNotFoundException";
|
|
29
|
+
readonly $fault: "client";
|
|
30
|
+
xAmzErrorType?: string | undefined;
|
|
31
|
+
constructor(
|
|
32
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
36
|
+
readonly name: "ServiceQuotaExceededException";
|
|
37
|
+
readonly $fault: "client";
|
|
38
|
+
xAmzErrorType?: string | undefined;
|
|
39
|
+
constructor(
|
|
40
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
export declare class ThrottlingException extends __BaseException {
|
|
44
|
+
readonly name: "ThrottlingException";
|
|
45
|
+
readonly $fault: "client";
|
|
46
|
+
$retryable: {};
|
|
47
|
+
xAmzErrorType?: string | undefined;
|
|
48
|
+
constructor(
|
|
49
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
export declare class ValidationException extends __BaseException {
|
|
53
|
+
readonly name: "ValidationException";
|
|
54
|
+
readonly $fault: "client";
|
|
55
|
+
xAmzErrorType?: string | undefined;
|
|
56
|
+
constructor(
|
|
57
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
export declare class InvalidCampaignStateException extends __BaseException {
|
|
61
|
+
readonly name: "InvalidCampaignStateException";
|
|
62
|
+
readonly $fault: "client";
|
|
63
|
+
state: CampaignState | undefined;
|
|
64
|
+
xAmzErrorType?: string | undefined;
|
|
65
|
+
constructor(
|
|
66
|
+
opts: __ExceptionOptionType<InvalidCampaignStateException, __BaseException>
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
export declare class InvalidStateException extends __BaseException {
|
|
70
|
+
readonly name: "InvalidStateException";
|
|
71
|
+
readonly $fault: "client";
|
|
72
|
+
xAmzErrorType?: string | undefined;
|
|
73
|
+
constructor(
|
|
74
|
+
opts: __ExceptionOptionType<InvalidStateException, __BaseException>
|
|
75
|
+
);
|
|
76
|
+
}
|
|
@@ -1,24 +1,8 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { ConnectCampaignsV2ServiceException as __BaseException } from "./ConnectCampaignsV2ServiceException";
|
|
3
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
-
readonly name: "AccessDeniedException";
|
|
5
|
-
readonly $fault: "client";
|
|
6
|
-
xAmzErrorType?: string | undefined;
|
|
7
|
-
constructor(
|
|
8
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
-
);
|
|
10
|
-
}
|
|
11
1
|
export declare const AgentAction: {
|
|
12
2
|
readonly DISCARD: "DISCARD";
|
|
13
3
|
};
|
|
14
4
|
export type AgentAction = (typeof AgentAction)[keyof typeof AgentAction];
|
|
15
5
|
export interface AgentlessConfig {}
|
|
16
|
-
export declare class ConflictException extends __BaseException {
|
|
17
|
-
readonly name: "ConflictException";
|
|
18
|
-
readonly $fault: "client";
|
|
19
|
-
xAmzErrorType?: string | undefined;
|
|
20
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
21
|
-
}
|
|
22
6
|
export interface EmailOutboundConfig {
|
|
23
7
|
connectSourceEmailAddress: string | undefined;
|
|
24
8
|
sourceEmailAddressDisplayName?: string | undefined;
|
|
@@ -80,6 +64,7 @@ export interface TelephonyOutboundConfig {
|
|
|
80
64
|
connectContactFlowId: string | undefined;
|
|
81
65
|
connectSourcePhoneNumber?: string | undefined;
|
|
82
66
|
answerMachineDetectionConfig?: AnswerMachineDetectionConfig | undefined;
|
|
67
|
+
ringTimeout?: number | undefined;
|
|
83
68
|
}
|
|
84
69
|
export interface PredictiveConfig {
|
|
85
70
|
bandwidthAllocation: number | undefined;
|
|
@@ -314,48 +299,6 @@ export interface CreateCampaignResponse {
|
|
|
314
299
|
arn?: string | undefined;
|
|
315
300
|
tags?: Record<string, string> | undefined;
|
|
316
301
|
}
|
|
317
|
-
export declare class InternalServerException extends __BaseException {
|
|
318
|
-
readonly name: "InternalServerException";
|
|
319
|
-
readonly $fault: "server";
|
|
320
|
-
$retryable: {};
|
|
321
|
-
xAmzErrorType?: string | undefined;
|
|
322
|
-
constructor(
|
|
323
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
324
|
-
);
|
|
325
|
-
}
|
|
326
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
327
|
-
readonly name: "ResourceNotFoundException";
|
|
328
|
-
readonly $fault: "client";
|
|
329
|
-
xAmzErrorType?: string | undefined;
|
|
330
|
-
constructor(
|
|
331
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
332
|
-
);
|
|
333
|
-
}
|
|
334
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
335
|
-
readonly name: "ServiceQuotaExceededException";
|
|
336
|
-
readonly $fault: "client";
|
|
337
|
-
xAmzErrorType?: string | undefined;
|
|
338
|
-
constructor(
|
|
339
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
340
|
-
);
|
|
341
|
-
}
|
|
342
|
-
export declare class ThrottlingException extends __BaseException {
|
|
343
|
-
readonly name: "ThrottlingException";
|
|
344
|
-
readonly $fault: "client";
|
|
345
|
-
$retryable: {};
|
|
346
|
-
xAmzErrorType?: string | undefined;
|
|
347
|
-
constructor(
|
|
348
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
349
|
-
);
|
|
350
|
-
}
|
|
351
|
-
export declare class ValidationException extends __BaseException {
|
|
352
|
-
readonly name: "ValidationException";
|
|
353
|
-
readonly $fault: "client";
|
|
354
|
-
xAmzErrorType?: string | undefined;
|
|
355
|
-
constructor(
|
|
356
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
357
|
-
);
|
|
358
|
-
}
|
|
359
302
|
export interface DeleteCampaignRequest {
|
|
360
303
|
id: string | undefined;
|
|
361
304
|
}
|
|
@@ -388,15 +331,6 @@ export declare const CampaignState: {
|
|
|
388
331
|
readonly STOPPED: "Stopped";
|
|
389
332
|
};
|
|
390
333
|
export type CampaignState = (typeof CampaignState)[keyof typeof CampaignState];
|
|
391
|
-
export declare class InvalidCampaignStateException extends __BaseException {
|
|
392
|
-
readonly name: "InvalidCampaignStateException";
|
|
393
|
-
readonly $fault: "client";
|
|
394
|
-
state: CampaignState | undefined;
|
|
395
|
-
xAmzErrorType?: string | undefined;
|
|
396
|
-
constructor(
|
|
397
|
-
opts: __ExceptionOptionType<InvalidCampaignStateException, __BaseException>
|
|
398
|
-
);
|
|
399
|
-
}
|
|
400
334
|
export declare const CommunicationTimeConfigType: {
|
|
401
335
|
readonly EMAIL: "EMAIL";
|
|
402
336
|
readonly SMS: "SMS";
|
|
@@ -418,14 +352,6 @@ export interface DeleteConnectInstanceConfigRequest {
|
|
|
418
352
|
connectInstanceId: string | undefined;
|
|
419
353
|
campaignDeletionPolicy?: CampaignDeletionPolicy | undefined;
|
|
420
354
|
}
|
|
421
|
-
export declare class InvalidStateException extends __BaseException {
|
|
422
|
-
readonly name: "InvalidStateException";
|
|
423
|
-
readonly $fault: "client";
|
|
424
|
-
xAmzErrorType?: string | undefined;
|
|
425
|
-
constructor(
|
|
426
|
-
opts: __ExceptionOptionType<InvalidStateException, __BaseException>
|
|
427
|
-
);
|
|
428
|
-
}
|
|
429
355
|
export interface CustomerProfilesIntegrationIdentifier {
|
|
430
356
|
domainArn: string | undefined;
|
|
431
357
|
}
|
|
@@ -715,6 +641,7 @@ export interface TelephonyChannelSubtypeParameters {
|
|
|
715
641
|
attributes: Record<string, string> | undefined;
|
|
716
642
|
connectSourcePhoneNumber?: string | undefined;
|
|
717
643
|
answerMachineDetectionConfig?: AnswerMachineDetectionConfig | undefined;
|
|
644
|
+
ringTimeout?: number | undefined;
|
|
718
645
|
}
|
|
719
646
|
export type ChannelSubtypeParameters =
|
|
720
647
|
| ChannelSubtypeParameters.EmailMember
|
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.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-connectcampaignsv2",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|