@aws-sdk/client-connectcampaigns 3.928.0 → 3.930.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 +826 -998
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/ConnectCampaignsClient.js +2 -0
- package/dist-es/commands/CreateCampaignCommand.js +3 -9
- package/dist-es/commands/DeleteCampaignCommand.js +3 -9
- package/dist-es/commands/DeleteConnectInstanceConfigCommand.js +3 -9
- package/dist-es/commands/DeleteInstanceOnboardingJobCommand.js +3 -9
- package/dist-es/commands/DescribeCampaignCommand.js +3 -9
- package/dist-es/commands/GetCampaignStateBatchCommand.js +3 -9
- package/dist-es/commands/GetCampaignStateCommand.js +3 -9
- package/dist-es/commands/GetConnectInstanceConfigCommand.js +3 -9
- package/dist-es/commands/GetInstanceOnboardingJobStatusCommand.js +3 -9
- package/dist-es/commands/ListCampaignsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/PauseCampaignCommand.js +3 -9
- package/dist-es/commands/PutDialRequestBatchCommand.js +3 -10
- package/dist-es/commands/ResumeCampaignCommand.js +3 -9
- package/dist-es/commands/StartCampaignCommand.js +3 -9
- package/dist-es/commands/StartInstanceOnboardingJobCommand.js +3 -9
- package/dist-es/commands/StopCampaignCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateCampaignDialerConfigCommand.js +3 -9
- package/dist-es/commands/UpdateCampaignNameCommand.js +3 -9
- package/dist-es/commands/UpdateCampaignOutboundCallConfigCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -22
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +758 -0
- package/dist-types/ConnectCampaignsClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +4 -9
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +95 -0
- package/dist-types/ts3.4/ConnectCampaignsClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -5
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +102 -0
- package/package.json +33 -33
- package/dist-es/protocols/Aws_restJson1.js +0 -797
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -200
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -269
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
18
|
|
|
20
19
|
const resolveClientEndpointParameters = (options) => {
|
|
21
20
|
return Object.assign(options, {
|
|
@@ -91,6 +90,7 @@ class ConnectCampaignsClient extends smithyClient.Client {
|
|
|
91
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
92
|
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
94
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
95
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
96
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -110,14 +110,14 @@ class ConnectCampaignsClient extends smithyClient.Client {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class ConnectCampaignsServiceException extends smithyClient.ServiceException {
|
|
113
|
+
let ConnectCampaignsServiceException$1 = class ConnectCampaignsServiceException extends smithyClient.ServiceException {
|
|
114
114
|
constructor(options) {
|
|
115
115
|
super(options);
|
|
116
116
|
Object.setPrototypeOf(this, ConnectCampaignsServiceException.prototype);
|
|
117
117
|
}
|
|
118
|
-
}
|
|
118
|
+
};
|
|
119
119
|
|
|
120
|
-
class AccessDeniedException extends ConnectCampaignsServiceException {
|
|
120
|
+
let AccessDeniedException$1 = class AccessDeniedException extends ConnectCampaignsServiceException$1 {
|
|
121
121
|
name = "AccessDeniedException";
|
|
122
122
|
$fault = "client";
|
|
123
123
|
xAmzErrorType;
|
|
@@ -130,8 +130,8 @@ class AccessDeniedException extends ConnectCampaignsServiceException {
|
|
|
130
130
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
131
131
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
132
132
|
}
|
|
133
|
-
}
|
|
134
|
-
class ConflictException extends ConnectCampaignsServiceException {
|
|
133
|
+
};
|
|
134
|
+
let ConflictException$1 = class ConflictException extends ConnectCampaignsServiceException$1 {
|
|
135
135
|
name = "ConflictException";
|
|
136
136
|
$fault = "client";
|
|
137
137
|
xAmzErrorType;
|
|
@@ -144,20 +144,8 @@ class ConflictException extends ConnectCampaignsServiceException {
|
|
|
144
144
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
145
145
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
146
146
|
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
(function (DialerConfig) {
|
|
150
|
-
DialerConfig.visit = (value, visitor) => {
|
|
151
|
-
if (value.progressiveDialerConfig !== undefined)
|
|
152
|
-
return visitor.progressiveDialerConfig(value.progressiveDialerConfig);
|
|
153
|
-
if (value.predictiveDialerConfig !== undefined)
|
|
154
|
-
return visitor.predictiveDialerConfig(value.predictiveDialerConfig);
|
|
155
|
-
if (value.agentlessDialerConfig !== undefined)
|
|
156
|
-
return visitor.agentlessDialerConfig(value.agentlessDialerConfig);
|
|
157
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
158
|
-
};
|
|
159
|
-
})(exports.DialerConfig || (exports.DialerConfig = {}));
|
|
160
|
-
class InternalServerException extends ConnectCampaignsServiceException {
|
|
147
|
+
};
|
|
148
|
+
let InternalServerException$1 = class InternalServerException extends ConnectCampaignsServiceException$1 {
|
|
161
149
|
name = "InternalServerException";
|
|
162
150
|
$fault = "server";
|
|
163
151
|
$retryable = {};
|
|
@@ -171,8 +159,8 @@ class InternalServerException extends ConnectCampaignsServiceException {
|
|
|
171
159
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
172
160
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
173
161
|
}
|
|
174
|
-
}
|
|
175
|
-
class ResourceNotFoundException extends ConnectCampaignsServiceException {
|
|
162
|
+
};
|
|
163
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends ConnectCampaignsServiceException$1 {
|
|
176
164
|
name = "ResourceNotFoundException";
|
|
177
165
|
$fault = "client";
|
|
178
166
|
xAmzErrorType;
|
|
@@ -185,8 +173,8 @@ class ResourceNotFoundException extends ConnectCampaignsServiceException {
|
|
|
185
173
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
186
174
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
187
175
|
}
|
|
188
|
-
}
|
|
189
|
-
class ServiceQuotaExceededException extends ConnectCampaignsServiceException {
|
|
176
|
+
};
|
|
177
|
+
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends ConnectCampaignsServiceException$1 {
|
|
190
178
|
name = "ServiceQuotaExceededException";
|
|
191
179
|
$fault = "client";
|
|
192
180
|
xAmzErrorType;
|
|
@@ -199,8 +187,8 @@ class ServiceQuotaExceededException extends ConnectCampaignsServiceException {
|
|
|
199
187
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
200
188
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
201
189
|
}
|
|
202
|
-
}
|
|
203
|
-
class ThrottlingException extends ConnectCampaignsServiceException {
|
|
190
|
+
};
|
|
191
|
+
let ThrottlingException$1 = class ThrottlingException extends ConnectCampaignsServiceException$1 {
|
|
204
192
|
name = "ThrottlingException";
|
|
205
193
|
$fault = "client";
|
|
206
194
|
$retryable = {};
|
|
@@ -214,8 +202,8 @@ class ThrottlingException extends ConnectCampaignsServiceException {
|
|
|
214
202
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
215
203
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
216
204
|
}
|
|
217
|
-
}
|
|
218
|
-
class ValidationException extends ConnectCampaignsServiceException {
|
|
205
|
+
};
|
|
206
|
+
let ValidationException$1 = class ValidationException extends ConnectCampaignsServiceException$1 {
|
|
219
207
|
name = "ValidationException";
|
|
220
208
|
$fault = "client";
|
|
221
209
|
xAmzErrorType;
|
|
@@ -228,8 +216,8 @@ class ValidationException extends ConnectCampaignsServiceException {
|
|
|
228
216
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
229
217
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
230
218
|
}
|
|
231
|
-
}
|
|
232
|
-
class InvalidStateException extends ConnectCampaignsServiceException {
|
|
219
|
+
};
|
|
220
|
+
let InvalidStateException$1 = class InvalidStateException extends ConnectCampaignsServiceException$1 {
|
|
233
221
|
name = "InvalidStateException";
|
|
234
222
|
$fault = "client";
|
|
235
223
|
xAmzErrorType;
|
|
@@ -242,7 +230,7 @@ class InvalidStateException extends ConnectCampaignsServiceException {
|
|
|
242
230
|
Object.setPrototypeOf(this, InvalidStateException.prototype);
|
|
243
231
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
244
232
|
}
|
|
245
|
-
}
|
|
233
|
+
};
|
|
246
234
|
const CampaignState = {
|
|
247
235
|
FAILED: "Failed",
|
|
248
236
|
INITIALIZED: "Initialized",
|
|
@@ -273,7 +261,7 @@ const InstanceOnboardingJobStatusCode = {
|
|
|
273
261
|
const InstanceIdFilterOperator = {
|
|
274
262
|
EQ: "Eq",
|
|
275
263
|
};
|
|
276
|
-
class InvalidCampaignStateException extends ConnectCampaignsServiceException {
|
|
264
|
+
let InvalidCampaignStateException$1 = class InvalidCampaignStateException extends ConnectCampaignsServiceException$1 {
|
|
277
265
|
name = "InvalidCampaignStateException";
|
|
278
266
|
$fault = "client";
|
|
279
267
|
state;
|
|
@@ -288,828 +276,775 @@ class InvalidCampaignStateException extends ConnectCampaignsServiceException {
|
|
|
288
276
|
this.state = opts.state;
|
|
289
277
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
290
278
|
}
|
|
291
|
-
}
|
|
279
|
+
};
|
|
292
280
|
const FailureCode = {
|
|
293
281
|
INVALID_INPUT: "InvalidInput",
|
|
294
282
|
REQUEST_THROTTLED: "RequestThrottled",
|
|
295
283
|
UNKNOWN_ERROR: "UnknownError",
|
|
296
284
|
};
|
|
297
|
-
const DialRequestFilterSensitiveLog = (obj) => ({
|
|
298
|
-
...obj,
|
|
299
|
-
...(obj.phoneNumber && { phoneNumber: smithyClient.SENSITIVE_STRING }),
|
|
300
|
-
...(obj.attributes && { attributes: smithyClient.SENSITIVE_STRING }),
|
|
301
|
-
});
|
|
302
|
-
const PutDialRequestBatchRequestFilterSensitiveLog = (obj) => ({
|
|
303
|
-
...obj,
|
|
304
|
-
...(obj.dialRequests && { dialRequests: obj.dialRequests.map((item) => DialRequestFilterSensitiveLog(item)) }),
|
|
305
|
-
});
|
|
306
285
|
|
|
307
|
-
const
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
const
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
const
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
const
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
const
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
const
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
const
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
const
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
const
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
const
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
const
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
const
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
const
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
const
|
|
448
|
-
|
|
449
|
-
const headers = {};
|
|
450
|
-
b.bp("/campaigns/{id}/resume");
|
|
451
|
-
b.p("id", () => input.id, "{id}", false);
|
|
452
|
-
let body;
|
|
453
|
-
b.m("POST").h(headers).b(body);
|
|
454
|
-
return b.build();
|
|
455
|
-
};
|
|
456
|
-
const se_StartCampaignCommand = async (input, context) => {
|
|
457
|
-
const b = core.requestBuilder(input, context);
|
|
458
|
-
const headers = {};
|
|
459
|
-
b.bp("/campaigns/{id}/start");
|
|
460
|
-
b.p("id", () => input.id, "{id}", false);
|
|
461
|
-
let body;
|
|
462
|
-
b.m("POST").h(headers).b(body);
|
|
463
|
-
return b.build();
|
|
464
|
-
};
|
|
465
|
-
const se_StartInstanceOnboardingJobCommand = async (input, context) => {
|
|
466
|
-
const b = core.requestBuilder(input, context);
|
|
467
|
-
const headers = {
|
|
468
|
-
"content-type": "application/json",
|
|
469
|
-
};
|
|
470
|
-
b.bp("/connect-instance/{connectInstanceId}/onboarding");
|
|
471
|
-
b.p("connectInstanceId", () => input.connectInstanceId, "{connectInstanceId}", false);
|
|
472
|
-
let body;
|
|
473
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
474
|
-
encryptionConfig: (_) => smithyClient._json(_),
|
|
475
|
-
}));
|
|
476
|
-
b.m("PUT").h(headers).b(body);
|
|
477
|
-
return b.build();
|
|
478
|
-
};
|
|
479
|
-
const se_StopCampaignCommand = async (input, context) => {
|
|
480
|
-
const b = core.requestBuilder(input, context);
|
|
481
|
-
const headers = {};
|
|
482
|
-
b.bp("/campaigns/{id}/stop");
|
|
483
|
-
b.p("id", () => input.id, "{id}", false);
|
|
484
|
-
let body;
|
|
485
|
-
b.m("POST").h(headers).b(body);
|
|
486
|
-
return b.build();
|
|
487
|
-
};
|
|
488
|
-
const se_TagResourceCommand = async (input, context) => {
|
|
489
|
-
const b = core.requestBuilder(input, context);
|
|
490
|
-
const headers = {
|
|
491
|
-
"content-type": "application/json",
|
|
492
|
-
};
|
|
493
|
-
b.bp("/tags/{arn}");
|
|
494
|
-
b.p("arn", () => input.arn, "{arn}", false);
|
|
495
|
-
let body;
|
|
496
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
497
|
-
tags: (_) => smithyClient._json(_),
|
|
498
|
-
}));
|
|
499
|
-
b.m("POST").h(headers).b(body);
|
|
500
|
-
return b.build();
|
|
501
|
-
};
|
|
502
|
-
const se_UntagResourceCommand = async (input, context) => {
|
|
503
|
-
const b = core.requestBuilder(input, context);
|
|
504
|
-
const headers = {};
|
|
505
|
-
b.bp("/tags/{arn}");
|
|
506
|
-
b.p("arn", () => input.arn, "{arn}", false);
|
|
507
|
-
const query = smithyClient.map({
|
|
508
|
-
[_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
|
|
509
|
-
});
|
|
510
|
-
let body;
|
|
511
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
512
|
-
return b.build();
|
|
513
|
-
};
|
|
514
|
-
const se_UpdateCampaignDialerConfigCommand = async (input, context) => {
|
|
515
|
-
const b = core.requestBuilder(input, context);
|
|
516
|
-
const headers = {
|
|
517
|
-
"content-type": "application/json",
|
|
518
|
-
};
|
|
519
|
-
b.bp("/campaigns/{id}/dialer-config");
|
|
520
|
-
b.p("id", () => input.id, "{id}", false);
|
|
521
|
-
let body;
|
|
522
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
523
|
-
dialerConfig: (_) => se_DialerConfig(_),
|
|
524
|
-
}));
|
|
525
|
-
b.m("POST").h(headers).b(body);
|
|
526
|
-
return b.build();
|
|
527
|
-
};
|
|
528
|
-
const se_UpdateCampaignNameCommand = async (input, context) => {
|
|
529
|
-
const b = core.requestBuilder(input, context);
|
|
530
|
-
const headers = {
|
|
531
|
-
"content-type": "application/json",
|
|
532
|
-
};
|
|
533
|
-
b.bp("/campaigns/{id}/name");
|
|
534
|
-
b.p("id", () => input.id, "{id}", false);
|
|
535
|
-
let body;
|
|
536
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
537
|
-
name: [],
|
|
538
|
-
}));
|
|
539
|
-
b.m("POST").h(headers).b(body);
|
|
540
|
-
return b.build();
|
|
541
|
-
};
|
|
542
|
-
const se_UpdateCampaignOutboundCallConfigCommand = async (input, context) => {
|
|
543
|
-
const b = core.requestBuilder(input, context);
|
|
544
|
-
const headers = {
|
|
545
|
-
"content-type": "application/json",
|
|
546
|
-
};
|
|
547
|
-
b.bp("/campaigns/{id}/outbound-call-config");
|
|
548
|
-
b.p("id", () => input.id, "{id}", false);
|
|
549
|
-
let body;
|
|
550
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
551
|
-
answerMachineDetectionConfig: (_) => smithyClient._json(_),
|
|
552
|
-
connectContactFlowId: [],
|
|
553
|
-
connectSourcePhoneNumber: [],
|
|
554
|
-
}));
|
|
555
|
-
b.m("POST").h(headers).b(body);
|
|
556
|
-
return b.build();
|
|
557
|
-
};
|
|
558
|
-
const de_CreateCampaignCommand = async (output, context) => {
|
|
559
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
560
|
-
return de_CommandError(output, context);
|
|
561
|
-
}
|
|
562
|
-
const contents = smithyClient.map({
|
|
563
|
-
$metadata: deserializeMetadata(output),
|
|
564
|
-
});
|
|
565
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
566
|
-
const doc = smithyClient.take(data, {
|
|
567
|
-
arn: smithyClient.expectString,
|
|
568
|
-
id: smithyClient.expectString,
|
|
569
|
-
tags: smithyClient._json,
|
|
570
|
-
});
|
|
571
|
-
Object.assign(contents, doc);
|
|
572
|
-
return contents;
|
|
573
|
-
};
|
|
574
|
-
const de_DeleteCampaignCommand = async (output, context) => {
|
|
575
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
576
|
-
return de_CommandError(output, context);
|
|
577
|
-
}
|
|
578
|
-
const contents = smithyClient.map({
|
|
579
|
-
$metadata: deserializeMetadata(output),
|
|
580
|
-
});
|
|
581
|
-
await smithyClient.collectBody(output.body, context);
|
|
582
|
-
return contents;
|
|
583
|
-
};
|
|
584
|
-
const de_DeleteConnectInstanceConfigCommand = async (output, context) => {
|
|
585
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
586
|
-
return de_CommandError(output, context);
|
|
587
|
-
}
|
|
588
|
-
const contents = smithyClient.map({
|
|
589
|
-
$metadata: deserializeMetadata(output),
|
|
590
|
-
});
|
|
591
|
-
await smithyClient.collectBody(output.body, context);
|
|
592
|
-
return contents;
|
|
593
|
-
};
|
|
594
|
-
const de_DeleteInstanceOnboardingJobCommand = async (output, context) => {
|
|
595
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
596
|
-
return de_CommandError(output, context);
|
|
597
|
-
}
|
|
598
|
-
const contents = smithyClient.map({
|
|
599
|
-
$metadata: deserializeMetadata(output),
|
|
600
|
-
});
|
|
601
|
-
await smithyClient.collectBody(output.body, context);
|
|
602
|
-
return contents;
|
|
603
|
-
};
|
|
604
|
-
const de_DescribeCampaignCommand = async (output, context) => {
|
|
605
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
606
|
-
return de_CommandError(output, context);
|
|
607
|
-
}
|
|
608
|
-
const contents = smithyClient.map({
|
|
609
|
-
$metadata: deserializeMetadata(output),
|
|
610
|
-
});
|
|
611
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
612
|
-
const doc = smithyClient.take(data, {
|
|
613
|
-
campaign: (_) => de_Campaign(_),
|
|
614
|
-
});
|
|
615
|
-
Object.assign(contents, doc);
|
|
616
|
-
return contents;
|
|
617
|
-
};
|
|
618
|
-
const de_GetCampaignStateCommand = async (output, context) => {
|
|
619
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
620
|
-
return de_CommandError(output, context);
|
|
621
|
-
}
|
|
622
|
-
const contents = smithyClient.map({
|
|
623
|
-
$metadata: deserializeMetadata(output),
|
|
624
|
-
});
|
|
625
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
626
|
-
const doc = smithyClient.take(data, {
|
|
627
|
-
state: smithyClient.expectString,
|
|
628
|
-
});
|
|
629
|
-
Object.assign(contents, doc);
|
|
630
|
-
return contents;
|
|
631
|
-
};
|
|
632
|
-
const de_GetCampaignStateBatchCommand = async (output, context) => {
|
|
633
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
634
|
-
return de_CommandError(output, context);
|
|
635
|
-
}
|
|
636
|
-
const contents = smithyClient.map({
|
|
637
|
-
$metadata: deserializeMetadata(output),
|
|
638
|
-
});
|
|
639
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
640
|
-
const doc = smithyClient.take(data, {
|
|
641
|
-
failedRequests: smithyClient._json,
|
|
642
|
-
successfulRequests: smithyClient._json,
|
|
643
|
-
});
|
|
644
|
-
Object.assign(contents, doc);
|
|
645
|
-
return contents;
|
|
646
|
-
};
|
|
647
|
-
const de_GetConnectInstanceConfigCommand = async (output, context) => {
|
|
648
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
649
|
-
return de_CommandError(output, context);
|
|
650
|
-
}
|
|
651
|
-
const contents = smithyClient.map({
|
|
652
|
-
$metadata: deserializeMetadata(output),
|
|
653
|
-
});
|
|
654
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
655
|
-
const doc = smithyClient.take(data, {
|
|
656
|
-
connectInstanceConfig: smithyClient._json,
|
|
657
|
-
});
|
|
658
|
-
Object.assign(contents, doc);
|
|
659
|
-
return contents;
|
|
660
|
-
};
|
|
661
|
-
const de_GetInstanceOnboardingJobStatusCommand = async (output, context) => {
|
|
662
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
663
|
-
return de_CommandError(output, context);
|
|
664
|
-
}
|
|
665
|
-
const contents = smithyClient.map({
|
|
666
|
-
$metadata: deserializeMetadata(output),
|
|
667
|
-
});
|
|
668
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
669
|
-
const doc = smithyClient.take(data, {
|
|
670
|
-
connectInstanceOnboardingJobStatus: smithyClient._json,
|
|
671
|
-
});
|
|
672
|
-
Object.assign(contents, doc);
|
|
673
|
-
return contents;
|
|
674
|
-
};
|
|
675
|
-
const de_ListCampaignsCommand = async (output, context) => {
|
|
676
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
677
|
-
return de_CommandError(output, context);
|
|
678
|
-
}
|
|
679
|
-
const contents = smithyClient.map({
|
|
680
|
-
$metadata: deserializeMetadata(output),
|
|
681
|
-
});
|
|
682
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
683
|
-
const doc = smithyClient.take(data, {
|
|
684
|
-
campaignSummaryList: smithyClient._json,
|
|
685
|
-
nextToken: smithyClient.expectString,
|
|
686
|
-
});
|
|
687
|
-
Object.assign(contents, doc);
|
|
688
|
-
return contents;
|
|
689
|
-
};
|
|
690
|
-
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
691
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
692
|
-
return de_CommandError(output, context);
|
|
693
|
-
}
|
|
694
|
-
const contents = smithyClient.map({
|
|
695
|
-
$metadata: deserializeMetadata(output),
|
|
696
|
-
});
|
|
697
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
698
|
-
const doc = smithyClient.take(data, {
|
|
699
|
-
tags: smithyClient._json,
|
|
700
|
-
});
|
|
701
|
-
Object.assign(contents, doc);
|
|
702
|
-
return contents;
|
|
703
|
-
};
|
|
704
|
-
const de_PauseCampaignCommand = async (output, context) => {
|
|
705
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
706
|
-
return de_CommandError(output, context);
|
|
707
|
-
}
|
|
708
|
-
const contents = smithyClient.map({
|
|
709
|
-
$metadata: deserializeMetadata(output),
|
|
710
|
-
});
|
|
711
|
-
await smithyClient.collectBody(output.body, context);
|
|
712
|
-
return contents;
|
|
713
|
-
};
|
|
714
|
-
const de_PutDialRequestBatchCommand = async (output, context) => {
|
|
715
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
716
|
-
return de_CommandError(output, context);
|
|
717
|
-
}
|
|
718
|
-
const contents = smithyClient.map({
|
|
719
|
-
$metadata: deserializeMetadata(output),
|
|
720
|
-
});
|
|
721
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
722
|
-
const doc = smithyClient.take(data, {
|
|
723
|
-
failedRequests: smithyClient._json,
|
|
724
|
-
successfulRequests: smithyClient._json,
|
|
725
|
-
});
|
|
726
|
-
Object.assign(contents, doc);
|
|
727
|
-
return contents;
|
|
728
|
-
};
|
|
729
|
-
const de_ResumeCampaignCommand = async (output, context) => {
|
|
730
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
731
|
-
return de_CommandError(output, context);
|
|
732
|
-
}
|
|
733
|
-
const contents = smithyClient.map({
|
|
734
|
-
$metadata: deserializeMetadata(output),
|
|
735
|
-
});
|
|
736
|
-
await smithyClient.collectBody(output.body, context);
|
|
737
|
-
return contents;
|
|
738
|
-
};
|
|
739
|
-
const de_StartCampaignCommand = async (output, context) => {
|
|
740
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
741
|
-
return de_CommandError(output, context);
|
|
742
|
-
}
|
|
743
|
-
const contents = smithyClient.map({
|
|
744
|
-
$metadata: deserializeMetadata(output),
|
|
745
|
-
});
|
|
746
|
-
await smithyClient.collectBody(output.body, context);
|
|
747
|
-
return contents;
|
|
748
|
-
};
|
|
749
|
-
const de_StartInstanceOnboardingJobCommand = async (output, context) => {
|
|
750
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
751
|
-
return de_CommandError(output, context);
|
|
752
|
-
}
|
|
753
|
-
const contents = smithyClient.map({
|
|
754
|
-
$metadata: deserializeMetadata(output),
|
|
755
|
-
});
|
|
756
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
757
|
-
const doc = smithyClient.take(data, {
|
|
758
|
-
connectInstanceOnboardingJobStatus: smithyClient._json,
|
|
759
|
-
});
|
|
760
|
-
Object.assign(contents, doc);
|
|
761
|
-
return contents;
|
|
762
|
-
};
|
|
763
|
-
const de_StopCampaignCommand = async (output, context) => {
|
|
764
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
765
|
-
return de_CommandError(output, context);
|
|
766
|
-
}
|
|
767
|
-
const contents = smithyClient.map({
|
|
768
|
-
$metadata: deserializeMetadata(output),
|
|
769
|
-
});
|
|
770
|
-
await smithyClient.collectBody(output.body, context);
|
|
771
|
-
return contents;
|
|
772
|
-
};
|
|
773
|
-
const de_TagResourceCommand = async (output, context) => {
|
|
774
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
775
|
-
return de_CommandError(output, context);
|
|
776
|
-
}
|
|
777
|
-
const contents = smithyClient.map({
|
|
778
|
-
$metadata: deserializeMetadata(output),
|
|
779
|
-
});
|
|
780
|
-
await smithyClient.collectBody(output.body, context);
|
|
781
|
-
return contents;
|
|
782
|
-
};
|
|
783
|
-
const de_UntagResourceCommand = async (output, context) => {
|
|
784
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
785
|
-
return de_CommandError(output, context);
|
|
786
|
-
}
|
|
787
|
-
const contents = smithyClient.map({
|
|
788
|
-
$metadata: deserializeMetadata(output),
|
|
789
|
-
});
|
|
790
|
-
await smithyClient.collectBody(output.body, context);
|
|
791
|
-
return contents;
|
|
792
|
-
};
|
|
793
|
-
const de_UpdateCampaignDialerConfigCommand = async (output, context) => {
|
|
794
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
795
|
-
return de_CommandError(output, context);
|
|
796
|
-
}
|
|
797
|
-
const contents = smithyClient.map({
|
|
798
|
-
$metadata: deserializeMetadata(output),
|
|
799
|
-
});
|
|
800
|
-
await smithyClient.collectBody(output.body, context);
|
|
801
|
-
return contents;
|
|
802
|
-
};
|
|
803
|
-
const de_UpdateCampaignNameCommand = async (output, context) => {
|
|
804
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
805
|
-
return de_CommandError(output, context);
|
|
806
|
-
}
|
|
807
|
-
const contents = smithyClient.map({
|
|
808
|
-
$metadata: deserializeMetadata(output),
|
|
809
|
-
});
|
|
810
|
-
await smithyClient.collectBody(output.body, context);
|
|
811
|
-
return contents;
|
|
812
|
-
};
|
|
813
|
-
const de_UpdateCampaignOutboundCallConfigCommand = async (output, context) => {
|
|
814
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
815
|
-
return de_CommandError(output, context);
|
|
816
|
-
}
|
|
817
|
-
const contents = smithyClient.map({
|
|
818
|
-
$metadata: deserializeMetadata(output),
|
|
819
|
-
});
|
|
820
|
-
await smithyClient.collectBody(output.body, context);
|
|
821
|
-
return contents;
|
|
822
|
-
};
|
|
823
|
-
const de_CommandError = async (output, context) => {
|
|
824
|
-
const parsedOutput = {
|
|
825
|
-
...output,
|
|
826
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
827
|
-
};
|
|
828
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
829
|
-
switch (errorCode) {
|
|
830
|
-
case "AccessDeniedException":
|
|
831
|
-
case "com.amazonaws.connectcampaigns#AccessDeniedException":
|
|
832
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
833
|
-
case "ConflictException":
|
|
834
|
-
case "com.amazonaws.connectcampaigns#ConflictException":
|
|
835
|
-
throw await de_ConflictExceptionRes(parsedOutput);
|
|
836
|
-
case "InternalServerException":
|
|
837
|
-
case "com.amazonaws.connectcampaigns#InternalServerException":
|
|
838
|
-
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
839
|
-
case "ResourceNotFoundException":
|
|
840
|
-
case "com.amazonaws.connectcampaigns#ResourceNotFoundException":
|
|
841
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
842
|
-
case "ServiceQuotaExceededException":
|
|
843
|
-
case "com.amazonaws.connectcampaigns#ServiceQuotaExceededException":
|
|
844
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
845
|
-
case "ThrottlingException":
|
|
846
|
-
case "com.amazonaws.connectcampaigns#ThrottlingException":
|
|
847
|
-
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
848
|
-
case "ValidationException":
|
|
849
|
-
case "com.amazonaws.connectcampaigns#ValidationException":
|
|
850
|
-
throw await de_ValidationExceptionRes(parsedOutput);
|
|
851
|
-
case "InvalidStateException":
|
|
852
|
-
case "com.amazonaws.connectcampaigns#InvalidStateException":
|
|
853
|
-
throw await de_InvalidStateExceptionRes(parsedOutput);
|
|
854
|
-
case "InvalidCampaignStateException":
|
|
855
|
-
case "com.amazonaws.connectcampaigns#InvalidCampaignStateException":
|
|
856
|
-
throw await de_InvalidCampaignStateExceptionRes(parsedOutput);
|
|
857
|
-
default:
|
|
858
|
-
const parsedBody = parsedOutput.body;
|
|
859
|
-
return throwDefaultError({
|
|
860
|
-
output,
|
|
861
|
-
parsedBody,
|
|
862
|
-
errorCode,
|
|
863
|
-
});
|
|
864
|
-
}
|
|
865
|
-
};
|
|
866
|
-
const throwDefaultError = smithyClient.withBaseException(ConnectCampaignsServiceException);
|
|
867
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
868
|
-
const contents = smithyClient.map({
|
|
869
|
-
[_xAET]: [, parsedOutput.headers[_xae]],
|
|
870
|
-
});
|
|
871
|
-
const data = parsedOutput.body;
|
|
872
|
-
const doc = smithyClient.take(data, {
|
|
873
|
-
message: smithyClient.expectString,
|
|
874
|
-
});
|
|
875
|
-
Object.assign(contents, doc);
|
|
876
|
-
const exception = new AccessDeniedException({
|
|
877
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
878
|
-
...contents,
|
|
879
|
-
});
|
|
880
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
881
|
-
};
|
|
882
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
883
|
-
const contents = smithyClient.map({
|
|
884
|
-
[_xAET]: [, parsedOutput.headers[_xae]],
|
|
885
|
-
});
|
|
886
|
-
const data = parsedOutput.body;
|
|
887
|
-
const doc = smithyClient.take(data, {
|
|
888
|
-
message: smithyClient.expectString,
|
|
889
|
-
});
|
|
890
|
-
Object.assign(contents, doc);
|
|
891
|
-
const exception = new ConflictException({
|
|
892
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
893
|
-
...contents,
|
|
894
|
-
});
|
|
895
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
896
|
-
};
|
|
897
|
-
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
898
|
-
const contents = smithyClient.map({
|
|
899
|
-
[_xAET]: [, parsedOutput.headers[_xae]],
|
|
900
|
-
});
|
|
901
|
-
const data = parsedOutput.body;
|
|
902
|
-
const doc = smithyClient.take(data, {
|
|
903
|
-
message: smithyClient.expectString,
|
|
904
|
-
});
|
|
905
|
-
Object.assign(contents, doc);
|
|
906
|
-
const exception = new InternalServerException({
|
|
907
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
908
|
-
...contents,
|
|
909
|
-
});
|
|
910
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
911
|
-
};
|
|
912
|
-
const de_InvalidCampaignStateExceptionRes = async (parsedOutput, context) => {
|
|
913
|
-
const contents = smithyClient.map({
|
|
914
|
-
[_xAET]: [, parsedOutput.headers[_xae]],
|
|
915
|
-
});
|
|
916
|
-
const data = parsedOutput.body;
|
|
917
|
-
const doc = smithyClient.take(data, {
|
|
918
|
-
message: smithyClient.expectString,
|
|
919
|
-
state: smithyClient.expectString,
|
|
920
|
-
});
|
|
921
|
-
Object.assign(contents, doc);
|
|
922
|
-
const exception = new InvalidCampaignStateException({
|
|
923
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
924
|
-
...contents,
|
|
925
|
-
});
|
|
926
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
927
|
-
};
|
|
928
|
-
const de_InvalidStateExceptionRes = async (parsedOutput, context) => {
|
|
929
|
-
const contents = smithyClient.map({
|
|
930
|
-
[_xAET]: [, parsedOutput.headers[_xae]],
|
|
931
|
-
});
|
|
932
|
-
const data = parsedOutput.body;
|
|
933
|
-
const doc = smithyClient.take(data, {
|
|
934
|
-
message: smithyClient.expectString,
|
|
935
|
-
});
|
|
936
|
-
Object.assign(contents, doc);
|
|
937
|
-
const exception = new InvalidStateException({
|
|
938
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
939
|
-
...contents,
|
|
940
|
-
});
|
|
941
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
942
|
-
};
|
|
943
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
944
|
-
const contents = smithyClient.map({
|
|
945
|
-
[_xAET]: [, parsedOutput.headers[_xae]],
|
|
946
|
-
});
|
|
947
|
-
const data = parsedOutput.body;
|
|
948
|
-
const doc = smithyClient.take(data, {
|
|
949
|
-
message: smithyClient.expectString,
|
|
950
|
-
});
|
|
951
|
-
Object.assign(contents, doc);
|
|
952
|
-
const exception = new ResourceNotFoundException({
|
|
953
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
954
|
-
...contents,
|
|
955
|
-
});
|
|
956
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
957
|
-
};
|
|
958
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
959
|
-
const contents = smithyClient.map({
|
|
960
|
-
[_xAET]: [, parsedOutput.headers[_xae]],
|
|
961
|
-
});
|
|
962
|
-
const data = parsedOutput.body;
|
|
963
|
-
const doc = smithyClient.take(data, {
|
|
964
|
-
message: smithyClient.expectString,
|
|
965
|
-
});
|
|
966
|
-
Object.assign(contents, doc);
|
|
967
|
-
const exception = new ServiceQuotaExceededException({
|
|
968
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
969
|
-
...contents,
|
|
970
|
-
});
|
|
971
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
972
|
-
};
|
|
973
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
974
|
-
const contents = smithyClient.map({
|
|
975
|
-
[_xAET]: [, parsedOutput.headers[_xae]],
|
|
976
|
-
});
|
|
977
|
-
const data = parsedOutput.body;
|
|
978
|
-
const doc = smithyClient.take(data, {
|
|
979
|
-
message: smithyClient.expectString,
|
|
980
|
-
});
|
|
981
|
-
Object.assign(contents, doc);
|
|
982
|
-
const exception = new ThrottlingException({
|
|
983
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
984
|
-
...contents,
|
|
985
|
-
});
|
|
986
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
987
|
-
};
|
|
988
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
989
|
-
const contents = smithyClient.map({
|
|
990
|
-
[_xAET]: [, parsedOutput.headers[_xae]],
|
|
991
|
-
});
|
|
992
|
-
const data = parsedOutput.body;
|
|
993
|
-
const doc = smithyClient.take(data, {
|
|
994
|
-
message: smithyClient.expectString,
|
|
995
|
-
});
|
|
996
|
-
Object.assign(contents, doc);
|
|
997
|
-
const exception = new ValidationException({
|
|
998
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
999
|
-
...contents,
|
|
1000
|
-
});
|
|
1001
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1002
|
-
};
|
|
1003
|
-
const se_AgentlessDialerConfig = (input, context) => {
|
|
1004
|
-
return smithyClient.take(input, {
|
|
1005
|
-
dialingCapacity: smithyClient.serializeFloat,
|
|
1006
|
-
});
|
|
1007
|
-
};
|
|
1008
|
-
const se_DialerConfig = (input, context) => {
|
|
1009
|
-
return exports.DialerConfig.visit(input, {
|
|
1010
|
-
agentlessDialerConfig: (value) => ({ agentlessDialerConfig: se_AgentlessDialerConfig(value) }),
|
|
1011
|
-
predictiveDialerConfig: (value) => ({ predictiveDialerConfig: se_PredictiveDialerConfig(value) }),
|
|
1012
|
-
progressiveDialerConfig: (value) => ({ progressiveDialerConfig: se_ProgressiveDialerConfig(value) }),
|
|
1013
|
-
_: (name, value) => ({ [name]: value }),
|
|
1014
|
-
});
|
|
1015
|
-
};
|
|
1016
|
-
const se_DialRequest = (input, context) => {
|
|
1017
|
-
return smithyClient.take(input, {
|
|
1018
|
-
attributes: smithyClient._json,
|
|
1019
|
-
clientToken: [],
|
|
1020
|
-
expirationTime: smithyClient.serializeDateTime,
|
|
1021
|
-
phoneNumber: [],
|
|
1022
|
-
});
|
|
1023
|
-
};
|
|
1024
|
-
const se_DialRequestList = (input, context) => {
|
|
1025
|
-
return input
|
|
1026
|
-
.filter((e) => e != null)
|
|
1027
|
-
.map((entry) => {
|
|
1028
|
-
return se_DialRequest(entry);
|
|
1029
|
-
});
|
|
1030
|
-
};
|
|
1031
|
-
const se_PredictiveDialerConfig = (input, context) => {
|
|
1032
|
-
return smithyClient.take(input, {
|
|
1033
|
-
bandwidthAllocation: smithyClient.serializeFloat,
|
|
1034
|
-
dialingCapacity: smithyClient.serializeFloat,
|
|
1035
|
-
});
|
|
1036
|
-
};
|
|
1037
|
-
const se_ProgressiveDialerConfig = (input, context) => {
|
|
1038
|
-
return smithyClient.take(input, {
|
|
1039
|
-
bandwidthAllocation: smithyClient.serializeFloat,
|
|
1040
|
-
dialingCapacity: smithyClient.serializeFloat,
|
|
1041
|
-
});
|
|
1042
|
-
};
|
|
1043
|
-
const de_AgentlessDialerConfig = (output, context) => {
|
|
1044
|
-
return smithyClient.take(output, {
|
|
1045
|
-
dialingCapacity: smithyClient.limitedParseDouble,
|
|
1046
|
-
});
|
|
1047
|
-
};
|
|
1048
|
-
const de_Campaign = (output, context) => {
|
|
1049
|
-
return smithyClient.take(output, {
|
|
1050
|
-
arn: smithyClient.expectString,
|
|
1051
|
-
connectInstanceId: smithyClient.expectString,
|
|
1052
|
-
dialerConfig: (_) => de_DialerConfig(core$1.awsExpectUnion(_)),
|
|
1053
|
-
id: smithyClient.expectString,
|
|
1054
|
-
name: smithyClient.expectString,
|
|
1055
|
-
outboundCallConfig: smithyClient._json,
|
|
1056
|
-
tags: smithyClient._json,
|
|
1057
|
-
});
|
|
1058
|
-
};
|
|
1059
|
-
const de_DialerConfig = (output, context) => {
|
|
1060
|
-
if (output.agentlessDialerConfig != null) {
|
|
1061
|
-
return {
|
|
1062
|
-
agentlessDialerConfig: de_AgentlessDialerConfig(output.agentlessDialerConfig),
|
|
1063
|
-
};
|
|
1064
|
-
}
|
|
1065
|
-
if (output.predictiveDialerConfig != null) {
|
|
1066
|
-
return {
|
|
1067
|
-
predictiveDialerConfig: de_PredictiveDialerConfig(output.predictiveDialerConfig),
|
|
1068
|
-
};
|
|
1069
|
-
}
|
|
1070
|
-
if (output.progressiveDialerConfig != null) {
|
|
1071
|
-
return {
|
|
1072
|
-
progressiveDialerConfig: de_ProgressiveDialerConfig(output.progressiveDialerConfig),
|
|
1073
|
-
};
|
|
1074
|
-
}
|
|
1075
|
-
return { $unknown: Object.entries(output)[0] };
|
|
1076
|
-
};
|
|
1077
|
-
const de_PredictiveDialerConfig = (output, context) => {
|
|
1078
|
-
return smithyClient.take(output, {
|
|
1079
|
-
bandwidthAllocation: smithyClient.limitedParseDouble,
|
|
1080
|
-
dialingCapacity: smithyClient.limitedParseDouble,
|
|
1081
|
-
});
|
|
1082
|
-
};
|
|
1083
|
-
const de_ProgressiveDialerConfig = (output, context) => {
|
|
1084
|
-
return smithyClient.take(output, {
|
|
1085
|
-
bandwidthAllocation: smithyClient.limitedParseDouble,
|
|
1086
|
-
dialingCapacity: smithyClient.limitedParseDouble,
|
|
1087
|
-
});
|
|
1088
|
-
};
|
|
1089
|
-
const deserializeMetadata = (output) => ({
|
|
1090
|
-
httpStatusCode: output.statusCode,
|
|
1091
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1092
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1093
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
1094
|
-
});
|
|
286
|
+
const _A = "Attributes";
|
|
287
|
+
const _ADC = "AgentlessDialerConfig";
|
|
288
|
+
const _ADE = "AccessDeniedException";
|
|
289
|
+
const _AMDC = "AnswerMachineDetectionConfig";
|
|
290
|
+
const _C = "Campaign";
|
|
291
|
+
const _CC = "CreateCampaign";
|
|
292
|
+
const _CCR = "CreateCampaignRequest";
|
|
293
|
+
const _CCRr = "CreateCampaignResponse";
|
|
294
|
+
const _CE = "ConflictException";
|
|
295
|
+
const _CF = "CampaignFilters";
|
|
296
|
+
const _CS = "CampaignSummary";
|
|
297
|
+
const _CSL = "CampaignSummaryList";
|
|
298
|
+
const _DC = "DialerConfig";
|
|
299
|
+
const _DCIC = "DeleteConnectInstanceConfig";
|
|
300
|
+
const _DCICR = "DeleteConnectInstanceConfigRequest";
|
|
301
|
+
const _DCR = "DeleteCampaignRequest";
|
|
302
|
+
const _DCRe = "DescribeCampaignRequest";
|
|
303
|
+
const _DCRes = "DescribeCampaignResponse";
|
|
304
|
+
const _DCe = "DeleteCampaign";
|
|
305
|
+
const _DCes = "DescribeCampaign";
|
|
306
|
+
const _DIOJ = "DeleteInstanceOnboardingJob";
|
|
307
|
+
const _DIOJR = "DeleteInstanceOnboardingJobRequest";
|
|
308
|
+
const _DPN = "DestinationPhoneNumber";
|
|
309
|
+
const _DR = "DialRequest";
|
|
310
|
+
const _DRL = "DialRequestList";
|
|
311
|
+
const _EC = "EncryptionConfig";
|
|
312
|
+
const _FCSR = "FailedCampaignStateResponse";
|
|
313
|
+
const _FCSRL = "FailedCampaignStateResponseList";
|
|
314
|
+
const _FR = "FailedRequest";
|
|
315
|
+
const _FRL = "FailedRequestList";
|
|
316
|
+
const _GCIC = "GetConnectInstanceConfig";
|
|
317
|
+
const _GCICR = "GetConnectInstanceConfigRequest";
|
|
318
|
+
const _GCICRe = "GetConnectInstanceConfigResponse";
|
|
319
|
+
const _GCS = "GetCampaignState";
|
|
320
|
+
const _GCSB = "GetCampaignStateBatch";
|
|
321
|
+
const _GCSBR = "GetCampaignStateBatchRequest";
|
|
322
|
+
const _GCSBRe = "GetCampaignStateBatchResponse";
|
|
323
|
+
const _GCSR = "GetCampaignStateRequest";
|
|
324
|
+
const _GCSRe = "GetCampaignStateResponse";
|
|
325
|
+
const _GIOJS = "GetInstanceOnboardingJobStatus";
|
|
326
|
+
const _GIOJSR = "GetInstanceOnboardingJobStatusRequest";
|
|
327
|
+
const _GIOJSRe = "GetInstanceOnboardingJobStatusResponse";
|
|
328
|
+
const _IC = "InstanceConfig";
|
|
329
|
+
const _ICSE = "InvalidCampaignStateException";
|
|
330
|
+
const _IIF = "InstanceIdFilter";
|
|
331
|
+
const _IOJS = "InstanceOnboardingJobStatus";
|
|
332
|
+
const _ISE = "InternalServerException";
|
|
333
|
+
const _ISEn = "InvalidStateException";
|
|
334
|
+
const _LC = "ListCampaigns";
|
|
335
|
+
const _LCR = "ListCampaignsRequest";
|
|
336
|
+
const _LCRi = "ListCampaignsResponse";
|
|
337
|
+
const _LTFR = "ListTagsForResource";
|
|
338
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
339
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
340
|
+
const _OCC = "OutboundCallConfig";
|
|
341
|
+
const _PC = "PauseCampaign";
|
|
342
|
+
const _PCR = "PauseCampaignRequest";
|
|
343
|
+
const _PDC = "PredictiveDialerConfig";
|
|
344
|
+
const _PDCr = "ProgressiveDialerConfig";
|
|
345
|
+
const _PDRB = "PutDialRequestBatch";
|
|
346
|
+
const _PDRBR = "PutDialRequestBatchRequest";
|
|
347
|
+
const _PDRBRu = "PutDialRequestBatchResponse";
|
|
348
|
+
const _RC = "ResumeCampaign";
|
|
349
|
+
const _RCR = "ResumeCampaignRequest";
|
|
350
|
+
const _RNFE = "ResourceNotFoundException";
|
|
351
|
+
const _SC = "StartCampaign";
|
|
352
|
+
const _SCR = "StartCampaignRequest";
|
|
353
|
+
const _SCRt = "StopCampaignRequest";
|
|
354
|
+
const _SCSR = "SuccessfulCampaignStateResponse";
|
|
355
|
+
const _SCSRL = "SuccessfulCampaignStateResponseList";
|
|
356
|
+
const _SCt = "StopCampaign";
|
|
357
|
+
const _SIOJ = "StartInstanceOnboardingJob";
|
|
358
|
+
const _SIOJR = "StartInstanceOnboardingJobRequest";
|
|
359
|
+
const _SIOJRt = "StartInstanceOnboardingJobResponse";
|
|
360
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
361
|
+
const _SR = "SuccessfulRequest";
|
|
362
|
+
const _SRL = "SuccessfulRequestList";
|
|
363
|
+
const _TE = "ThrottlingException";
|
|
364
|
+
const _TR = "TagResource";
|
|
365
|
+
const _TRR = "TagResourceRequest";
|
|
366
|
+
const _UCDC = "UpdateCampaignDialerConfig";
|
|
367
|
+
const _UCDCR = "UpdateCampaignDialerConfigRequest";
|
|
368
|
+
const _UCN = "UpdateCampaignName";
|
|
369
|
+
const _UCNR = "UpdateCampaignNameRequest";
|
|
370
|
+
const _UCOCC = "UpdateCampaignOutboundCallConfig";
|
|
371
|
+
const _UCOCCR = "UpdateCampaignOutboundCallConfigRequest";
|
|
372
|
+
const _UR = "UntagResource";
|
|
373
|
+
const _URR = "UntagResourceRequest";
|
|
374
|
+
const _VE = "ValidationException";
|
|
375
|
+
const _a = "arn";
|
|
376
|
+
const _aAMP = "awaitAnswerMachinePrompt";
|
|
377
|
+
const _aDC = "agentlessDialerConfig";
|
|
378
|
+
const _aMDC = "answerMachineDetectionConfig";
|
|
379
|
+
const _at = "attributes";
|
|
380
|
+
const _bA = "bandwidthAllocation";
|
|
381
|
+
const _c = "client";
|
|
382
|
+
const _cCFI = "connectContactFlowId";
|
|
383
|
+
const _cI = "campaignId";
|
|
384
|
+
const _cIC = "connectInstanceConfig";
|
|
385
|
+
const _cII = "connectInstanceId";
|
|
386
|
+
const _cIOJS = "connectInstanceOnboardingJobStatus";
|
|
387
|
+
const _cIa = "campaignIds";
|
|
388
|
+
const _cQI = "connectQueueId";
|
|
389
|
+
const _cSL = "campaignSummaryList";
|
|
390
|
+
const _cSPN = "connectSourcePhoneNumber";
|
|
391
|
+
const _cT = "clientToken";
|
|
392
|
+
const _ca = "campaign";
|
|
393
|
+
const _dC = "dialingCapacity";
|
|
394
|
+
const _dCi = "dialerConfig";
|
|
395
|
+
const _dR = "dialRequests";
|
|
396
|
+
const _e = "error";
|
|
397
|
+
const _eAMD = "enableAnswerMachineDetection";
|
|
398
|
+
const _eC = "encryptionConfig";
|
|
399
|
+
const _eT = "expirationTime";
|
|
400
|
+
const _eTn = "encryptionType";
|
|
401
|
+
const _en = "enabled";
|
|
402
|
+
const _f = "filters";
|
|
403
|
+
const _fC = "failureCode";
|
|
404
|
+
const _fR = "failedRequests";
|
|
405
|
+
const _h = "http";
|
|
406
|
+
const _hE = "httpError";
|
|
407
|
+
const _hH = "httpHeader";
|
|
408
|
+
const _hQ = "httpQuery";
|
|
409
|
+
const _i = "id";
|
|
410
|
+
const _iIF = "instanceIdFilter";
|
|
411
|
+
const _kA = "keyArn";
|
|
412
|
+
const _m = "message";
|
|
413
|
+
const _mR = "maxResults";
|
|
414
|
+
const _n = "name";
|
|
415
|
+
const _nT = "nextToken";
|
|
416
|
+
const _o = "operator";
|
|
417
|
+
const _oCC = "outboundCallConfig";
|
|
418
|
+
const _pDC = "progressiveDialerConfig";
|
|
419
|
+
const _pDCr = "predictiveDialerConfig";
|
|
420
|
+
const _pN = "phoneNumber";
|
|
421
|
+
const _s = "state";
|
|
422
|
+
const _sLRA = "serviceLinkedRoleArn";
|
|
423
|
+
const _sR = "successfulRequests";
|
|
424
|
+
const _se = "server";
|
|
425
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.connectcampaigns";
|
|
426
|
+
const _st = "status";
|
|
427
|
+
const _t = "tags";
|
|
1095
428
|
const _tK = "tagKeys";
|
|
429
|
+
const _v = "value";
|
|
1096
430
|
const _xAET = "xAmzErrorType";
|
|
1097
|
-
const
|
|
431
|
+
const _xaE = "x-amzn-ErrorType";
|
|
432
|
+
const n0 = "com.amazonaws.connectcampaigns";
|
|
433
|
+
var DestinationPhoneNumber = [0, n0, _DPN, 8, 0];
|
|
434
|
+
var AccessDeniedException = [
|
|
435
|
+
-3,
|
|
436
|
+
n0,
|
|
437
|
+
_ADE,
|
|
438
|
+
{
|
|
439
|
+
[_e]: _c,
|
|
440
|
+
[_hE]: 403,
|
|
441
|
+
},
|
|
442
|
+
[_m, _xAET],
|
|
443
|
+
[
|
|
444
|
+
0,
|
|
445
|
+
[
|
|
446
|
+
0,
|
|
447
|
+
{
|
|
448
|
+
[_hH]: _xaE,
|
|
449
|
+
},
|
|
450
|
+
],
|
|
451
|
+
],
|
|
452
|
+
];
|
|
453
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
454
|
+
var AgentlessDialerConfig = [3, n0, _ADC, 0, [_dC], [1]];
|
|
455
|
+
var AnswerMachineDetectionConfig = [3, n0, _AMDC, 0, [_eAMD, _aAMP], [2, 2]];
|
|
456
|
+
var Campaign = [
|
|
457
|
+
3,
|
|
458
|
+
n0,
|
|
459
|
+
_C,
|
|
460
|
+
0,
|
|
461
|
+
[_i, _a, _n, _cII, _dCi, _oCC, _t],
|
|
462
|
+
[0, 0, 0, 0, () => DialerConfig, () => OutboundCallConfig, 128 | 0],
|
|
463
|
+
];
|
|
464
|
+
var CampaignFilters = [3, n0, _CF, 0, [_iIF], [() => InstanceIdFilter]];
|
|
465
|
+
var CampaignSummary = [3, n0, _CS, 0, [_i, _a, _n, _cII], [0, 0, 0, 0]];
|
|
466
|
+
var ConflictException = [
|
|
467
|
+
-3,
|
|
468
|
+
n0,
|
|
469
|
+
_CE,
|
|
470
|
+
{
|
|
471
|
+
[_e]: _c,
|
|
472
|
+
[_hE]: 409,
|
|
473
|
+
},
|
|
474
|
+
[_m, _xAET],
|
|
475
|
+
[
|
|
476
|
+
0,
|
|
477
|
+
[
|
|
478
|
+
0,
|
|
479
|
+
{
|
|
480
|
+
[_hH]: _xaE,
|
|
481
|
+
},
|
|
482
|
+
],
|
|
483
|
+
],
|
|
484
|
+
];
|
|
485
|
+
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
486
|
+
var CreateCampaignRequest = [
|
|
487
|
+
3,
|
|
488
|
+
n0,
|
|
489
|
+
_CCR,
|
|
490
|
+
0,
|
|
491
|
+
[_n, _cII, _dCi, _oCC, _t],
|
|
492
|
+
[0, 0, () => DialerConfig, () => OutboundCallConfig, 128 | 0],
|
|
493
|
+
];
|
|
494
|
+
var CreateCampaignResponse = [3, n0, _CCRr, 0, [_i, _a, _t], [0, 0, 128 | 0]];
|
|
495
|
+
var DeleteCampaignRequest = [3, n0, _DCR, 0, [_i], [[0, 1]]];
|
|
496
|
+
var DeleteConnectInstanceConfigRequest = [3, n0, _DCICR, 0, [_cII], [[0, 1]]];
|
|
497
|
+
var DeleteInstanceOnboardingJobRequest = [3, n0, _DIOJR, 0, [_cII], [[0, 1]]];
|
|
498
|
+
var DescribeCampaignRequest = [3, n0, _DCRe, 0, [_i], [[0, 1]]];
|
|
499
|
+
var DescribeCampaignResponse = [3, n0, _DCRes, 0, [_ca], [() => Campaign]];
|
|
500
|
+
var DialRequest = [
|
|
501
|
+
3,
|
|
502
|
+
n0,
|
|
503
|
+
_DR,
|
|
504
|
+
0,
|
|
505
|
+
[_cT, _pN, _eT, _at],
|
|
506
|
+
[0, [() => DestinationPhoneNumber, 0], 5, [() => Attributes, 0]],
|
|
507
|
+
];
|
|
508
|
+
var EncryptionConfig = [3, n0, _EC, 0, [_en, _eTn, _kA], [2, 0, 0]];
|
|
509
|
+
var FailedCampaignStateResponse = [3, n0, _FCSR, 0, [_cI, _fC], [0, 0]];
|
|
510
|
+
var FailedRequest = [3, n0, _FR, 0, [_cT, _i, _fC], [0, 0, 0]];
|
|
511
|
+
var GetCampaignStateBatchRequest = [3, n0, _GCSBR, 0, [_cIa], [64 | 0]];
|
|
512
|
+
var GetCampaignStateBatchResponse = [
|
|
513
|
+
3,
|
|
514
|
+
n0,
|
|
515
|
+
_GCSBRe,
|
|
516
|
+
0,
|
|
517
|
+
[_sR, _fR],
|
|
518
|
+
[() => SuccessfulCampaignStateResponseList, () => FailedCampaignStateResponseList],
|
|
519
|
+
];
|
|
520
|
+
var GetCampaignStateRequest = [3, n0, _GCSR, 0, [_i], [[0, 1]]];
|
|
521
|
+
var GetCampaignStateResponse = [3, n0, _GCSRe, 0, [_s], [0]];
|
|
522
|
+
var GetConnectInstanceConfigRequest = [3, n0, _GCICR, 0, [_cII], [[0, 1]]];
|
|
523
|
+
var GetConnectInstanceConfigResponse = [
|
|
524
|
+
3,
|
|
525
|
+
n0,
|
|
526
|
+
_GCICRe,
|
|
527
|
+
0,
|
|
528
|
+
[_cIC],
|
|
529
|
+
[() => InstanceConfig],
|
|
530
|
+
];
|
|
531
|
+
var GetInstanceOnboardingJobStatusRequest = [3, n0, _GIOJSR, 0, [_cII], [[0, 1]]];
|
|
532
|
+
var GetInstanceOnboardingJobStatusResponse = [
|
|
533
|
+
3,
|
|
534
|
+
n0,
|
|
535
|
+
_GIOJSRe,
|
|
536
|
+
0,
|
|
537
|
+
[_cIOJS],
|
|
538
|
+
[() => InstanceOnboardingJobStatus],
|
|
539
|
+
];
|
|
540
|
+
var InstanceConfig = [3, n0, _IC, 0, [_cII, _sLRA, _eC], [0, 0, () => EncryptionConfig]];
|
|
541
|
+
var InstanceIdFilter = [3, n0, _IIF, 0, [_v, _o], [0, 0]];
|
|
542
|
+
var InstanceOnboardingJobStatus = [3, n0, _IOJS, 0, [_cII, _st, _fC], [0, 0, 0]];
|
|
543
|
+
var InternalServerException = [
|
|
544
|
+
-3,
|
|
545
|
+
n0,
|
|
546
|
+
_ISE,
|
|
547
|
+
{
|
|
548
|
+
[_e]: _se,
|
|
549
|
+
[_hE]: 500,
|
|
550
|
+
},
|
|
551
|
+
[_m, _xAET],
|
|
552
|
+
[
|
|
553
|
+
0,
|
|
554
|
+
[
|
|
555
|
+
0,
|
|
556
|
+
{
|
|
557
|
+
[_hH]: _xaE,
|
|
558
|
+
},
|
|
559
|
+
],
|
|
560
|
+
],
|
|
561
|
+
];
|
|
562
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
563
|
+
var InvalidCampaignStateException = [
|
|
564
|
+
-3,
|
|
565
|
+
n0,
|
|
566
|
+
_ICSE,
|
|
567
|
+
{
|
|
568
|
+
[_e]: _c,
|
|
569
|
+
[_hE]: 409,
|
|
570
|
+
},
|
|
571
|
+
[_s, _m, _xAET],
|
|
572
|
+
[
|
|
573
|
+
0,
|
|
574
|
+
0,
|
|
575
|
+
[
|
|
576
|
+
0,
|
|
577
|
+
{
|
|
578
|
+
[_hH]: _xaE,
|
|
579
|
+
},
|
|
580
|
+
],
|
|
581
|
+
],
|
|
582
|
+
];
|
|
583
|
+
schema.TypeRegistry.for(n0).registerError(InvalidCampaignStateException, InvalidCampaignStateException$1);
|
|
584
|
+
var InvalidStateException = [
|
|
585
|
+
-3,
|
|
586
|
+
n0,
|
|
587
|
+
_ISEn,
|
|
588
|
+
{
|
|
589
|
+
[_e]: _c,
|
|
590
|
+
[_hE]: 409,
|
|
591
|
+
},
|
|
592
|
+
[_m, _xAET],
|
|
593
|
+
[
|
|
594
|
+
0,
|
|
595
|
+
[
|
|
596
|
+
0,
|
|
597
|
+
{
|
|
598
|
+
[_hH]: _xaE,
|
|
599
|
+
},
|
|
600
|
+
],
|
|
601
|
+
],
|
|
602
|
+
];
|
|
603
|
+
schema.TypeRegistry.for(n0).registerError(InvalidStateException, InvalidStateException$1);
|
|
604
|
+
var ListCampaignsRequest = [
|
|
605
|
+
3,
|
|
606
|
+
n0,
|
|
607
|
+
_LCR,
|
|
608
|
+
0,
|
|
609
|
+
[_mR, _nT, _f],
|
|
610
|
+
[1, 0, () => CampaignFilters],
|
|
611
|
+
];
|
|
612
|
+
var ListCampaignsResponse = [
|
|
613
|
+
3,
|
|
614
|
+
n0,
|
|
615
|
+
_LCRi,
|
|
616
|
+
0,
|
|
617
|
+
[_nT, _cSL],
|
|
618
|
+
[0, () => CampaignSummaryList],
|
|
619
|
+
];
|
|
620
|
+
var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_a], [[0, 1]]];
|
|
621
|
+
var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [128 | 0]];
|
|
622
|
+
var OutboundCallConfig = [
|
|
623
|
+
3,
|
|
624
|
+
n0,
|
|
625
|
+
_OCC,
|
|
626
|
+
0,
|
|
627
|
+
[_cCFI, _cSPN, _cQI, _aMDC],
|
|
628
|
+
[0, 0, 0, () => AnswerMachineDetectionConfig],
|
|
629
|
+
];
|
|
630
|
+
var PauseCampaignRequest = [3, n0, _PCR, 0, [_i], [[0, 1]]];
|
|
631
|
+
var PredictiveDialerConfig = [3, n0, _PDC, 0, [_bA, _dC], [1, 1]];
|
|
632
|
+
var ProgressiveDialerConfig = [3, n0, _PDCr, 0, [_bA, _dC], [1, 1]];
|
|
633
|
+
var PutDialRequestBatchRequest = [
|
|
634
|
+
3,
|
|
635
|
+
n0,
|
|
636
|
+
_PDRBR,
|
|
637
|
+
0,
|
|
638
|
+
[_i, _dR],
|
|
639
|
+
[
|
|
640
|
+
[0, 1],
|
|
641
|
+
[() => DialRequestList, 0],
|
|
642
|
+
],
|
|
643
|
+
];
|
|
644
|
+
var PutDialRequestBatchResponse = [
|
|
645
|
+
3,
|
|
646
|
+
n0,
|
|
647
|
+
_PDRBRu,
|
|
648
|
+
0,
|
|
649
|
+
[_sR, _fR],
|
|
650
|
+
[() => SuccessfulRequestList, () => FailedRequestList],
|
|
651
|
+
];
|
|
652
|
+
var ResourceNotFoundException = [
|
|
653
|
+
-3,
|
|
654
|
+
n0,
|
|
655
|
+
_RNFE,
|
|
656
|
+
{
|
|
657
|
+
[_e]: _c,
|
|
658
|
+
[_hE]: 404,
|
|
659
|
+
},
|
|
660
|
+
[_m, _xAET],
|
|
661
|
+
[
|
|
662
|
+
0,
|
|
663
|
+
[
|
|
664
|
+
0,
|
|
665
|
+
{
|
|
666
|
+
[_hH]: _xaE,
|
|
667
|
+
},
|
|
668
|
+
],
|
|
669
|
+
],
|
|
670
|
+
];
|
|
671
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
672
|
+
var ResumeCampaignRequest = [3, n0, _RCR, 0, [_i], [[0, 1]]];
|
|
673
|
+
var ServiceQuotaExceededException = [
|
|
674
|
+
-3,
|
|
675
|
+
n0,
|
|
676
|
+
_SQEE,
|
|
677
|
+
{
|
|
678
|
+
[_e]: _c,
|
|
679
|
+
[_hE]: 402,
|
|
680
|
+
},
|
|
681
|
+
[_m, _xAET],
|
|
682
|
+
[
|
|
683
|
+
0,
|
|
684
|
+
[
|
|
685
|
+
0,
|
|
686
|
+
{
|
|
687
|
+
[_hH]: _xaE,
|
|
688
|
+
},
|
|
689
|
+
],
|
|
690
|
+
],
|
|
691
|
+
];
|
|
692
|
+
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
|
|
693
|
+
var StartCampaignRequest = [3, n0, _SCR, 0, [_i], [[0, 1]]];
|
|
694
|
+
var StartInstanceOnboardingJobRequest = [
|
|
695
|
+
3,
|
|
696
|
+
n0,
|
|
697
|
+
_SIOJR,
|
|
698
|
+
0,
|
|
699
|
+
[_cII, _eC],
|
|
700
|
+
[[0, 1], () => EncryptionConfig],
|
|
701
|
+
];
|
|
702
|
+
var StartInstanceOnboardingJobResponse = [
|
|
703
|
+
3,
|
|
704
|
+
n0,
|
|
705
|
+
_SIOJRt,
|
|
706
|
+
0,
|
|
707
|
+
[_cIOJS],
|
|
708
|
+
[() => InstanceOnboardingJobStatus],
|
|
709
|
+
];
|
|
710
|
+
var StopCampaignRequest = [3, n0, _SCRt, 0, [_i], [[0, 1]]];
|
|
711
|
+
var SuccessfulCampaignStateResponse = [3, n0, _SCSR, 0, [_cI, _s], [0, 0]];
|
|
712
|
+
var SuccessfulRequest = [3, n0, _SR, 0, [_cT, _i], [0, 0]];
|
|
713
|
+
var TagResourceRequest = [3, n0, _TRR, 0, [_a, _t], [[0, 1], 128 | 0]];
|
|
714
|
+
var ThrottlingException = [
|
|
715
|
+
-3,
|
|
716
|
+
n0,
|
|
717
|
+
_TE,
|
|
718
|
+
{
|
|
719
|
+
[_e]: _c,
|
|
720
|
+
[_hE]: 429,
|
|
721
|
+
},
|
|
722
|
+
[_m, _xAET],
|
|
723
|
+
[
|
|
724
|
+
0,
|
|
725
|
+
[
|
|
726
|
+
0,
|
|
727
|
+
{
|
|
728
|
+
[_hH]: _xaE,
|
|
729
|
+
},
|
|
730
|
+
],
|
|
731
|
+
],
|
|
732
|
+
];
|
|
733
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
734
|
+
var UntagResourceRequest = [
|
|
735
|
+
3,
|
|
736
|
+
n0,
|
|
737
|
+
_URR,
|
|
738
|
+
0,
|
|
739
|
+
[_a, _tK],
|
|
740
|
+
[
|
|
741
|
+
[0, 1],
|
|
742
|
+
[
|
|
743
|
+
64 | 0,
|
|
744
|
+
{
|
|
745
|
+
[_hQ]: _tK,
|
|
746
|
+
},
|
|
747
|
+
],
|
|
748
|
+
],
|
|
749
|
+
];
|
|
750
|
+
var UpdateCampaignDialerConfigRequest = [
|
|
751
|
+
3,
|
|
752
|
+
n0,
|
|
753
|
+
_UCDCR,
|
|
754
|
+
0,
|
|
755
|
+
[_i, _dCi],
|
|
756
|
+
[[0, 1], () => DialerConfig],
|
|
757
|
+
];
|
|
758
|
+
var UpdateCampaignNameRequest = [3, n0, _UCNR, 0, [_i, _n], [[0, 1], 0]];
|
|
759
|
+
var UpdateCampaignOutboundCallConfigRequest = [
|
|
760
|
+
3,
|
|
761
|
+
n0,
|
|
762
|
+
_UCOCCR,
|
|
763
|
+
0,
|
|
764
|
+
[_i, _cCFI, _cSPN, _aMDC],
|
|
765
|
+
[[0, 1], 0, 0, () => AnswerMachineDetectionConfig],
|
|
766
|
+
];
|
|
767
|
+
var ValidationException = [
|
|
768
|
+
-3,
|
|
769
|
+
n0,
|
|
770
|
+
_VE,
|
|
771
|
+
{
|
|
772
|
+
[_e]: _c,
|
|
773
|
+
[_hE]: 400,
|
|
774
|
+
},
|
|
775
|
+
[_m, _xAET],
|
|
776
|
+
[
|
|
777
|
+
0,
|
|
778
|
+
[
|
|
779
|
+
0,
|
|
780
|
+
{
|
|
781
|
+
[_hH]: _xaE,
|
|
782
|
+
},
|
|
783
|
+
],
|
|
784
|
+
],
|
|
785
|
+
];
|
|
786
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
787
|
+
var __Unit = "unit";
|
|
788
|
+
var ConnectCampaignsServiceException = [
|
|
789
|
+
-3,
|
|
790
|
+
_sm,
|
|
791
|
+
"ConnectCampaignsServiceException",
|
|
792
|
+
0,
|
|
793
|
+
[],
|
|
794
|
+
[],
|
|
795
|
+
];
|
|
796
|
+
schema.TypeRegistry.for(_sm).registerError(ConnectCampaignsServiceException, ConnectCampaignsServiceException$1);
|
|
797
|
+
var CampaignSummaryList = [1, n0, _CSL, 0, () => CampaignSummary];
|
|
798
|
+
var DialRequestList = [1, n0, _DRL, 0, [() => DialRequest, 0]];
|
|
799
|
+
var FailedCampaignStateResponseList = [1, n0, _FCSRL, 0, () => FailedCampaignStateResponse];
|
|
800
|
+
var FailedRequestList = [1, n0, _FRL, 0, () => FailedRequest];
|
|
801
|
+
var SuccessfulCampaignStateResponseList = [
|
|
802
|
+
1,
|
|
803
|
+
n0,
|
|
804
|
+
_SCSRL,
|
|
805
|
+
0,
|
|
806
|
+
() => SuccessfulCampaignStateResponse,
|
|
807
|
+
];
|
|
808
|
+
var SuccessfulRequestList = [1, n0, _SRL, 0, () => SuccessfulRequest];
|
|
809
|
+
var Attributes = [2, n0, _A, 8, 0, 0];
|
|
810
|
+
var DialerConfig = [
|
|
811
|
+
3,
|
|
812
|
+
n0,
|
|
813
|
+
_DC,
|
|
814
|
+
0,
|
|
815
|
+
[_pDC, _pDCr, _aDC],
|
|
816
|
+
[() => ProgressiveDialerConfig, () => PredictiveDialerConfig, () => AgentlessDialerConfig],
|
|
817
|
+
];
|
|
818
|
+
var CreateCampaign = [
|
|
819
|
+
9,
|
|
820
|
+
n0,
|
|
821
|
+
_CC,
|
|
822
|
+
{
|
|
823
|
+
[_h]: ["PUT", "/campaigns", 200],
|
|
824
|
+
},
|
|
825
|
+
() => CreateCampaignRequest,
|
|
826
|
+
() => CreateCampaignResponse,
|
|
827
|
+
];
|
|
828
|
+
var DeleteCampaign = [
|
|
829
|
+
9,
|
|
830
|
+
n0,
|
|
831
|
+
_DCe,
|
|
832
|
+
{
|
|
833
|
+
[_h]: ["DELETE", "/campaigns/{id}", 200],
|
|
834
|
+
},
|
|
835
|
+
() => DeleteCampaignRequest,
|
|
836
|
+
() => __Unit,
|
|
837
|
+
];
|
|
838
|
+
var DeleteConnectInstanceConfig = [
|
|
839
|
+
9,
|
|
840
|
+
n0,
|
|
841
|
+
_DCIC,
|
|
842
|
+
{
|
|
843
|
+
[_h]: ["DELETE", "/connect-instance/{connectInstanceId}/config", 200],
|
|
844
|
+
},
|
|
845
|
+
() => DeleteConnectInstanceConfigRequest,
|
|
846
|
+
() => __Unit,
|
|
847
|
+
];
|
|
848
|
+
var DeleteInstanceOnboardingJob = [
|
|
849
|
+
9,
|
|
850
|
+
n0,
|
|
851
|
+
_DIOJ,
|
|
852
|
+
{
|
|
853
|
+
[_h]: ["DELETE", "/connect-instance/{connectInstanceId}/onboarding", 200],
|
|
854
|
+
},
|
|
855
|
+
() => DeleteInstanceOnboardingJobRequest,
|
|
856
|
+
() => __Unit,
|
|
857
|
+
];
|
|
858
|
+
var DescribeCampaign = [
|
|
859
|
+
9,
|
|
860
|
+
n0,
|
|
861
|
+
_DCes,
|
|
862
|
+
{
|
|
863
|
+
[_h]: ["GET", "/campaigns/{id}", 200],
|
|
864
|
+
},
|
|
865
|
+
() => DescribeCampaignRequest,
|
|
866
|
+
() => DescribeCampaignResponse,
|
|
867
|
+
];
|
|
868
|
+
var GetCampaignState = [
|
|
869
|
+
9,
|
|
870
|
+
n0,
|
|
871
|
+
_GCS,
|
|
872
|
+
{
|
|
873
|
+
[_h]: ["GET", "/campaigns/{id}/state", 200],
|
|
874
|
+
},
|
|
875
|
+
() => GetCampaignStateRequest,
|
|
876
|
+
() => GetCampaignStateResponse,
|
|
877
|
+
];
|
|
878
|
+
var GetCampaignStateBatch = [
|
|
879
|
+
9,
|
|
880
|
+
n0,
|
|
881
|
+
_GCSB,
|
|
882
|
+
{
|
|
883
|
+
[_h]: ["POST", "/campaigns-state", 200],
|
|
884
|
+
},
|
|
885
|
+
() => GetCampaignStateBatchRequest,
|
|
886
|
+
() => GetCampaignStateBatchResponse,
|
|
887
|
+
];
|
|
888
|
+
var GetConnectInstanceConfig = [
|
|
889
|
+
9,
|
|
890
|
+
n0,
|
|
891
|
+
_GCIC,
|
|
892
|
+
{
|
|
893
|
+
[_h]: ["GET", "/connect-instance/{connectInstanceId}/config", 200],
|
|
894
|
+
},
|
|
895
|
+
() => GetConnectInstanceConfigRequest,
|
|
896
|
+
() => GetConnectInstanceConfigResponse,
|
|
897
|
+
];
|
|
898
|
+
var GetInstanceOnboardingJobStatus = [
|
|
899
|
+
9,
|
|
900
|
+
n0,
|
|
901
|
+
_GIOJS,
|
|
902
|
+
{
|
|
903
|
+
[_h]: ["GET", "/connect-instance/{connectInstanceId}/onboarding", 200],
|
|
904
|
+
},
|
|
905
|
+
() => GetInstanceOnboardingJobStatusRequest,
|
|
906
|
+
() => GetInstanceOnboardingJobStatusResponse,
|
|
907
|
+
];
|
|
908
|
+
var ListCampaigns = [
|
|
909
|
+
9,
|
|
910
|
+
n0,
|
|
911
|
+
_LC,
|
|
912
|
+
{
|
|
913
|
+
[_h]: ["POST", "/campaigns-summary", 200],
|
|
914
|
+
},
|
|
915
|
+
() => ListCampaignsRequest,
|
|
916
|
+
() => ListCampaignsResponse,
|
|
917
|
+
];
|
|
918
|
+
var ListTagsForResource = [
|
|
919
|
+
9,
|
|
920
|
+
n0,
|
|
921
|
+
_LTFR,
|
|
922
|
+
{
|
|
923
|
+
[_h]: ["GET", "/tags/{arn}", 200],
|
|
924
|
+
},
|
|
925
|
+
() => ListTagsForResourceRequest,
|
|
926
|
+
() => ListTagsForResourceResponse,
|
|
927
|
+
];
|
|
928
|
+
var PauseCampaign = [
|
|
929
|
+
9,
|
|
930
|
+
n0,
|
|
931
|
+
_PC,
|
|
932
|
+
{
|
|
933
|
+
[_h]: ["POST", "/campaigns/{id}/pause", 200],
|
|
934
|
+
},
|
|
935
|
+
() => PauseCampaignRequest,
|
|
936
|
+
() => __Unit,
|
|
937
|
+
];
|
|
938
|
+
var PutDialRequestBatch = [
|
|
939
|
+
9,
|
|
940
|
+
n0,
|
|
941
|
+
_PDRB,
|
|
942
|
+
{
|
|
943
|
+
[_h]: ["PUT", "/campaigns/{id}/dial-requests", 200],
|
|
944
|
+
},
|
|
945
|
+
() => PutDialRequestBatchRequest,
|
|
946
|
+
() => PutDialRequestBatchResponse,
|
|
947
|
+
];
|
|
948
|
+
var ResumeCampaign = [
|
|
949
|
+
9,
|
|
950
|
+
n0,
|
|
951
|
+
_RC,
|
|
952
|
+
{
|
|
953
|
+
[_h]: ["POST", "/campaigns/{id}/resume", 200],
|
|
954
|
+
},
|
|
955
|
+
() => ResumeCampaignRequest,
|
|
956
|
+
() => __Unit,
|
|
957
|
+
];
|
|
958
|
+
var StartCampaign = [
|
|
959
|
+
9,
|
|
960
|
+
n0,
|
|
961
|
+
_SC,
|
|
962
|
+
{
|
|
963
|
+
[_h]: ["POST", "/campaigns/{id}/start", 200],
|
|
964
|
+
},
|
|
965
|
+
() => StartCampaignRequest,
|
|
966
|
+
() => __Unit,
|
|
967
|
+
];
|
|
968
|
+
var StartInstanceOnboardingJob = [
|
|
969
|
+
9,
|
|
970
|
+
n0,
|
|
971
|
+
_SIOJ,
|
|
972
|
+
{
|
|
973
|
+
[_h]: ["PUT", "/connect-instance/{connectInstanceId}/onboarding", 200],
|
|
974
|
+
},
|
|
975
|
+
() => StartInstanceOnboardingJobRequest,
|
|
976
|
+
() => StartInstanceOnboardingJobResponse,
|
|
977
|
+
];
|
|
978
|
+
var StopCampaign = [
|
|
979
|
+
9,
|
|
980
|
+
n0,
|
|
981
|
+
_SCt,
|
|
982
|
+
{
|
|
983
|
+
[_h]: ["POST", "/campaigns/{id}/stop", 200],
|
|
984
|
+
},
|
|
985
|
+
() => StopCampaignRequest,
|
|
986
|
+
() => __Unit,
|
|
987
|
+
];
|
|
988
|
+
var TagResource = [
|
|
989
|
+
9,
|
|
990
|
+
n0,
|
|
991
|
+
_TR,
|
|
992
|
+
{
|
|
993
|
+
[_h]: ["POST", "/tags/{arn}", 200],
|
|
994
|
+
},
|
|
995
|
+
() => TagResourceRequest,
|
|
996
|
+
() => __Unit,
|
|
997
|
+
];
|
|
998
|
+
var UntagResource = [
|
|
999
|
+
9,
|
|
1000
|
+
n0,
|
|
1001
|
+
_UR,
|
|
1002
|
+
{
|
|
1003
|
+
[_h]: ["DELETE", "/tags/{arn}", 200],
|
|
1004
|
+
},
|
|
1005
|
+
() => UntagResourceRequest,
|
|
1006
|
+
() => __Unit,
|
|
1007
|
+
];
|
|
1008
|
+
var UpdateCampaignDialerConfig = [
|
|
1009
|
+
9,
|
|
1010
|
+
n0,
|
|
1011
|
+
_UCDC,
|
|
1012
|
+
{
|
|
1013
|
+
[_h]: ["POST", "/campaigns/{id}/dialer-config", 200],
|
|
1014
|
+
},
|
|
1015
|
+
() => UpdateCampaignDialerConfigRequest,
|
|
1016
|
+
() => __Unit,
|
|
1017
|
+
];
|
|
1018
|
+
var UpdateCampaignName = [
|
|
1019
|
+
9,
|
|
1020
|
+
n0,
|
|
1021
|
+
_UCN,
|
|
1022
|
+
{
|
|
1023
|
+
[_h]: ["POST", "/campaigns/{id}/name", 200],
|
|
1024
|
+
},
|
|
1025
|
+
() => UpdateCampaignNameRequest,
|
|
1026
|
+
() => __Unit,
|
|
1027
|
+
];
|
|
1028
|
+
var UpdateCampaignOutboundCallConfig = [
|
|
1029
|
+
9,
|
|
1030
|
+
n0,
|
|
1031
|
+
_UCOCC,
|
|
1032
|
+
{
|
|
1033
|
+
[_h]: ["POST", "/campaigns/{id}/outbound-call-config", 200],
|
|
1034
|
+
},
|
|
1035
|
+
() => UpdateCampaignOutboundCallConfigRequest,
|
|
1036
|
+
() => __Unit,
|
|
1037
|
+
];
|
|
1098
1038
|
|
|
1099
1039
|
class CreateCampaignCommand extends smithyClient.Command
|
|
1100
1040
|
.classBuilder()
|
|
1101
1041
|
.ep(commonParams)
|
|
1102
1042
|
.m(function (Command, cs, config, o) {
|
|
1103
|
-
return [
|
|
1104
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1105
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1106
|
-
];
|
|
1043
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1107
1044
|
})
|
|
1108
1045
|
.s("AmazonConnectCampaignService", "CreateCampaign", {})
|
|
1109
1046
|
.n("ConnectCampaignsClient", "CreateCampaignCommand")
|
|
1110
|
-
.
|
|
1111
|
-
.ser(se_CreateCampaignCommand)
|
|
1112
|
-
.de(de_CreateCampaignCommand)
|
|
1047
|
+
.sc(CreateCampaign)
|
|
1113
1048
|
.build() {
|
|
1114
1049
|
}
|
|
1115
1050
|
|
|
@@ -1117,16 +1052,11 @@ class DeleteCampaignCommand extends smithyClient.Command
|
|
|
1117
1052
|
.classBuilder()
|
|
1118
1053
|
.ep(commonParams)
|
|
1119
1054
|
.m(function (Command, cs, config, o) {
|
|
1120
|
-
return [
|
|
1121
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1122
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1123
|
-
];
|
|
1055
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1124
1056
|
})
|
|
1125
1057
|
.s("AmazonConnectCampaignService", "DeleteCampaign", {})
|
|
1126
1058
|
.n("ConnectCampaignsClient", "DeleteCampaignCommand")
|
|
1127
|
-
.
|
|
1128
|
-
.ser(se_DeleteCampaignCommand)
|
|
1129
|
-
.de(de_DeleteCampaignCommand)
|
|
1059
|
+
.sc(DeleteCampaign)
|
|
1130
1060
|
.build() {
|
|
1131
1061
|
}
|
|
1132
1062
|
|
|
@@ -1134,16 +1064,11 @@ class DeleteConnectInstanceConfigCommand extends smithyClient.Command
|
|
|
1134
1064
|
.classBuilder()
|
|
1135
1065
|
.ep(commonParams)
|
|
1136
1066
|
.m(function (Command, cs, config, o) {
|
|
1137
|
-
return [
|
|
1138
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1139
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1140
|
-
];
|
|
1067
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1141
1068
|
})
|
|
1142
1069
|
.s("AmazonConnectCampaignService", "DeleteConnectInstanceConfig", {})
|
|
1143
1070
|
.n("ConnectCampaignsClient", "DeleteConnectInstanceConfigCommand")
|
|
1144
|
-
.
|
|
1145
|
-
.ser(se_DeleteConnectInstanceConfigCommand)
|
|
1146
|
-
.de(de_DeleteConnectInstanceConfigCommand)
|
|
1071
|
+
.sc(DeleteConnectInstanceConfig)
|
|
1147
1072
|
.build() {
|
|
1148
1073
|
}
|
|
1149
1074
|
|
|
@@ -1151,16 +1076,11 @@ class DeleteInstanceOnboardingJobCommand extends smithyClient.Command
|
|
|
1151
1076
|
.classBuilder()
|
|
1152
1077
|
.ep(commonParams)
|
|
1153
1078
|
.m(function (Command, cs, config, o) {
|
|
1154
|
-
return [
|
|
1155
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1156
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1157
|
-
];
|
|
1079
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1158
1080
|
})
|
|
1159
1081
|
.s("AmazonConnectCampaignService", "DeleteInstanceOnboardingJob", {})
|
|
1160
1082
|
.n("ConnectCampaignsClient", "DeleteInstanceOnboardingJobCommand")
|
|
1161
|
-
.
|
|
1162
|
-
.ser(se_DeleteInstanceOnboardingJobCommand)
|
|
1163
|
-
.de(de_DeleteInstanceOnboardingJobCommand)
|
|
1083
|
+
.sc(DeleteInstanceOnboardingJob)
|
|
1164
1084
|
.build() {
|
|
1165
1085
|
}
|
|
1166
1086
|
|
|
@@ -1168,16 +1088,11 @@ class DescribeCampaignCommand extends smithyClient.Command
|
|
|
1168
1088
|
.classBuilder()
|
|
1169
1089
|
.ep(commonParams)
|
|
1170
1090
|
.m(function (Command, cs, config, o) {
|
|
1171
|
-
return [
|
|
1172
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1173
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1174
|
-
];
|
|
1091
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1175
1092
|
})
|
|
1176
1093
|
.s("AmazonConnectCampaignService", "DescribeCampaign", {})
|
|
1177
1094
|
.n("ConnectCampaignsClient", "DescribeCampaignCommand")
|
|
1178
|
-
.
|
|
1179
|
-
.ser(se_DescribeCampaignCommand)
|
|
1180
|
-
.de(de_DescribeCampaignCommand)
|
|
1095
|
+
.sc(DescribeCampaign)
|
|
1181
1096
|
.build() {
|
|
1182
1097
|
}
|
|
1183
1098
|
|
|
@@ -1185,16 +1100,11 @@ class GetCampaignStateBatchCommand extends smithyClient.Command
|
|
|
1185
1100
|
.classBuilder()
|
|
1186
1101
|
.ep(commonParams)
|
|
1187
1102
|
.m(function (Command, cs, config, o) {
|
|
1188
|
-
return [
|
|
1189
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1190
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1191
|
-
];
|
|
1103
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1192
1104
|
})
|
|
1193
1105
|
.s("AmazonConnectCampaignService", "GetCampaignStateBatch", {})
|
|
1194
1106
|
.n("ConnectCampaignsClient", "GetCampaignStateBatchCommand")
|
|
1195
|
-
.
|
|
1196
|
-
.ser(se_GetCampaignStateBatchCommand)
|
|
1197
|
-
.de(de_GetCampaignStateBatchCommand)
|
|
1107
|
+
.sc(GetCampaignStateBatch)
|
|
1198
1108
|
.build() {
|
|
1199
1109
|
}
|
|
1200
1110
|
|
|
@@ -1202,16 +1112,11 @@ class GetCampaignStateCommand extends smithyClient.Command
|
|
|
1202
1112
|
.classBuilder()
|
|
1203
1113
|
.ep(commonParams)
|
|
1204
1114
|
.m(function (Command, cs, config, o) {
|
|
1205
|
-
return [
|
|
1206
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1207
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1208
|
-
];
|
|
1115
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1209
1116
|
})
|
|
1210
1117
|
.s("AmazonConnectCampaignService", "GetCampaignState", {})
|
|
1211
1118
|
.n("ConnectCampaignsClient", "GetCampaignStateCommand")
|
|
1212
|
-
.
|
|
1213
|
-
.ser(se_GetCampaignStateCommand)
|
|
1214
|
-
.de(de_GetCampaignStateCommand)
|
|
1119
|
+
.sc(GetCampaignState)
|
|
1215
1120
|
.build() {
|
|
1216
1121
|
}
|
|
1217
1122
|
|
|
@@ -1219,16 +1124,11 @@ class GetConnectInstanceConfigCommand extends smithyClient.Command
|
|
|
1219
1124
|
.classBuilder()
|
|
1220
1125
|
.ep(commonParams)
|
|
1221
1126
|
.m(function (Command, cs, config, o) {
|
|
1222
|
-
return [
|
|
1223
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1224
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1225
|
-
];
|
|
1127
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1226
1128
|
})
|
|
1227
1129
|
.s("AmazonConnectCampaignService", "GetConnectInstanceConfig", {})
|
|
1228
1130
|
.n("ConnectCampaignsClient", "GetConnectInstanceConfigCommand")
|
|
1229
|
-
.
|
|
1230
|
-
.ser(se_GetConnectInstanceConfigCommand)
|
|
1231
|
-
.de(de_GetConnectInstanceConfigCommand)
|
|
1131
|
+
.sc(GetConnectInstanceConfig)
|
|
1232
1132
|
.build() {
|
|
1233
1133
|
}
|
|
1234
1134
|
|
|
@@ -1236,16 +1136,11 @@ class GetInstanceOnboardingJobStatusCommand extends smithyClient.Command
|
|
|
1236
1136
|
.classBuilder()
|
|
1237
1137
|
.ep(commonParams)
|
|
1238
1138
|
.m(function (Command, cs, config, o) {
|
|
1239
|
-
return [
|
|
1240
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1241
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1242
|
-
];
|
|
1139
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1243
1140
|
})
|
|
1244
1141
|
.s("AmazonConnectCampaignService", "GetInstanceOnboardingJobStatus", {})
|
|
1245
1142
|
.n("ConnectCampaignsClient", "GetInstanceOnboardingJobStatusCommand")
|
|
1246
|
-
.
|
|
1247
|
-
.ser(se_GetInstanceOnboardingJobStatusCommand)
|
|
1248
|
-
.de(de_GetInstanceOnboardingJobStatusCommand)
|
|
1143
|
+
.sc(GetInstanceOnboardingJobStatus)
|
|
1249
1144
|
.build() {
|
|
1250
1145
|
}
|
|
1251
1146
|
|
|
@@ -1253,16 +1148,11 @@ class ListCampaignsCommand extends smithyClient.Command
|
|
|
1253
1148
|
.classBuilder()
|
|
1254
1149
|
.ep(commonParams)
|
|
1255
1150
|
.m(function (Command, cs, config, o) {
|
|
1256
|
-
return [
|
|
1257
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1258
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1259
|
-
];
|
|
1151
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1260
1152
|
})
|
|
1261
1153
|
.s("AmazonConnectCampaignService", "ListCampaigns", {})
|
|
1262
1154
|
.n("ConnectCampaignsClient", "ListCampaignsCommand")
|
|
1263
|
-
.
|
|
1264
|
-
.ser(se_ListCampaignsCommand)
|
|
1265
|
-
.de(de_ListCampaignsCommand)
|
|
1155
|
+
.sc(ListCampaigns)
|
|
1266
1156
|
.build() {
|
|
1267
1157
|
}
|
|
1268
1158
|
|
|
@@ -1270,16 +1160,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
1270
1160
|
.classBuilder()
|
|
1271
1161
|
.ep(commonParams)
|
|
1272
1162
|
.m(function (Command, cs, config, o) {
|
|
1273
|
-
return [
|
|
1274
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1275
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1276
|
-
];
|
|
1163
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1277
1164
|
})
|
|
1278
1165
|
.s("AmazonConnectCampaignService", "ListTagsForResource", {})
|
|
1279
1166
|
.n("ConnectCampaignsClient", "ListTagsForResourceCommand")
|
|
1280
|
-
.
|
|
1281
|
-
.ser(se_ListTagsForResourceCommand)
|
|
1282
|
-
.de(de_ListTagsForResourceCommand)
|
|
1167
|
+
.sc(ListTagsForResource)
|
|
1283
1168
|
.build() {
|
|
1284
1169
|
}
|
|
1285
1170
|
|
|
@@ -1287,16 +1172,11 @@ class PauseCampaignCommand extends smithyClient.Command
|
|
|
1287
1172
|
.classBuilder()
|
|
1288
1173
|
.ep(commonParams)
|
|
1289
1174
|
.m(function (Command, cs, config, o) {
|
|
1290
|
-
return [
|
|
1291
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1292
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1293
|
-
];
|
|
1175
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1294
1176
|
})
|
|
1295
1177
|
.s("AmazonConnectCampaignService", "PauseCampaign", {})
|
|
1296
1178
|
.n("ConnectCampaignsClient", "PauseCampaignCommand")
|
|
1297
|
-
.
|
|
1298
|
-
.ser(se_PauseCampaignCommand)
|
|
1299
|
-
.de(de_PauseCampaignCommand)
|
|
1179
|
+
.sc(PauseCampaign)
|
|
1300
1180
|
.build() {
|
|
1301
1181
|
}
|
|
1302
1182
|
|
|
@@ -1304,16 +1184,11 @@ class PutDialRequestBatchCommand extends smithyClient.Command
|
|
|
1304
1184
|
.classBuilder()
|
|
1305
1185
|
.ep(commonParams)
|
|
1306
1186
|
.m(function (Command, cs, config, o) {
|
|
1307
|
-
return [
|
|
1308
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1309
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1310
|
-
];
|
|
1187
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1311
1188
|
})
|
|
1312
1189
|
.s("AmazonConnectCampaignService", "PutDialRequestBatch", {})
|
|
1313
1190
|
.n("ConnectCampaignsClient", "PutDialRequestBatchCommand")
|
|
1314
|
-
.
|
|
1315
|
-
.ser(se_PutDialRequestBatchCommand)
|
|
1316
|
-
.de(de_PutDialRequestBatchCommand)
|
|
1191
|
+
.sc(PutDialRequestBatch)
|
|
1317
1192
|
.build() {
|
|
1318
1193
|
}
|
|
1319
1194
|
|
|
@@ -1321,16 +1196,11 @@ class ResumeCampaignCommand extends smithyClient.Command
|
|
|
1321
1196
|
.classBuilder()
|
|
1322
1197
|
.ep(commonParams)
|
|
1323
1198
|
.m(function (Command, cs, config, o) {
|
|
1324
|
-
return [
|
|
1325
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1326
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1327
|
-
];
|
|
1199
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1328
1200
|
})
|
|
1329
1201
|
.s("AmazonConnectCampaignService", "ResumeCampaign", {})
|
|
1330
1202
|
.n("ConnectCampaignsClient", "ResumeCampaignCommand")
|
|
1331
|
-
.
|
|
1332
|
-
.ser(se_ResumeCampaignCommand)
|
|
1333
|
-
.de(de_ResumeCampaignCommand)
|
|
1203
|
+
.sc(ResumeCampaign)
|
|
1334
1204
|
.build() {
|
|
1335
1205
|
}
|
|
1336
1206
|
|
|
@@ -1338,16 +1208,11 @@ class StartCampaignCommand extends smithyClient.Command
|
|
|
1338
1208
|
.classBuilder()
|
|
1339
1209
|
.ep(commonParams)
|
|
1340
1210
|
.m(function (Command, cs, config, o) {
|
|
1341
|
-
return [
|
|
1342
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1343
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1344
|
-
];
|
|
1211
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1345
1212
|
})
|
|
1346
1213
|
.s("AmazonConnectCampaignService", "StartCampaign", {})
|
|
1347
1214
|
.n("ConnectCampaignsClient", "StartCampaignCommand")
|
|
1348
|
-
.
|
|
1349
|
-
.ser(se_StartCampaignCommand)
|
|
1350
|
-
.de(de_StartCampaignCommand)
|
|
1215
|
+
.sc(StartCampaign)
|
|
1351
1216
|
.build() {
|
|
1352
1217
|
}
|
|
1353
1218
|
|
|
@@ -1355,16 +1220,11 @@ class StartInstanceOnboardingJobCommand extends smithyClient.Command
|
|
|
1355
1220
|
.classBuilder()
|
|
1356
1221
|
.ep(commonParams)
|
|
1357
1222
|
.m(function (Command, cs, config, o) {
|
|
1358
|
-
return [
|
|
1359
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1360
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1361
|
-
];
|
|
1223
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1362
1224
|
})
|
|
1363
1225
|
.s("AmazonConnectCampaignService", "StartInstanceOnboardingJob", {})
|
|
1364
1226
|
.n("ConnectCampaignsClient", "StartInstanceOnboardingJobCommand")
|
|
1365
|
-
.
|
|
1366
|
-
.ser(se_StartInstanceOnboardingJobCommand)
|
|
1367
|
-
.de(de_StartInstanceOnboardingJobCommand)
|
|
1227
|
+
.sc(StartInstanceOnboardingJob)
|
|
1368
1228
|
.build() {
|
|
1369
1229
|
}
|
|
1370
1230
|
|
|
@@ -1372,16 +1232,11 @@ class StopCampaignCommand extends smithyClient.Command
|
|
|
1372
1232
|
.classBuilder()
|
|
1373
1233
|
.ep(commonParams)
|
|
1374
1234
|
.m(function (Command, cs, config, o) {
|
|
1375
|
-
return [
|
|
1376
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1377
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1378
|
-
];
|
|
1235
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1379
1236
|
})
|
|
1380
1237
|
.s("AmazonConnectCampaignService", "StopCampaign", {})
|
|
1381
1238
|
.n("ConnectCampaignsClient", "StopCampaignCommand")
|
|
1382
|
-
.
|
|
1383
|
-
.ser(se_StopCampaignCommand)
|
|
1384
|
-
.de(de_StopCampaignCommand)
|
|
1239
|
+
.sc(StopCampaign)
|
|
1385
1240
|
.build() {
|
|
1386
1241
|
}
|
|
1387
1242
|
|
|
@@ -1389,16 +1244,11 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
1389
1244
|
.classBuilder()
|
|
1390
1245
|
.ep(commonParams)
|
|
1391
1246
|
.m(function (Command, cs, config, o) {
|
|
1392
|
-
return [
|
|
1393
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1394
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1395
|
-
];
|
|
1247
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1396
1248
|
})
|
|
1397
1249
|
.s("AmazonConnectCampaignService", "TagResource", {})
|
|
1398
1250
|
.n("ConnectCampaignsClient", "TagResourceCommand")
|
|
1399
|
-
.
|
|
1400
|
-
.ser(se_TagResourceCommand)
|
|
1401
|
-
.de(de_TagResourceCommand)
|
|
1251
|
+
.sc(TagResource)
|
|
1402
1252
|
.build() {
|
|
1403
1253
|
}
|
|
1404
1254
|
|
|
@@ -1406,16 +1256,11 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
1406
1256
|
.classBuilder()
|
|
1407
1257
|
.ep(commonParams)
|
|
1408
1258
|
.m(function (Command, cs, config, o) {
|
|
1409
|
-
return [
|
|
1410
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1411
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1412
|
-
];
|
|
1259
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1413
1260
|
})
|
|
1414
1261
|
.s("AmazonConnectCampaignService", "UntagResource", {})
|
|
1415
1262
|
.n("ConnectCampaignsClient", "UntagResourceCommand")
|
|
1416
|
-
.
|
|
1417
|
-
.ser(se_UntagResourceCommand)
|
|
1418
|
-
.de(de_UntagResourceCommand)
|
|
1263
|
+
.sc(UntagResource)
|
|
1419
1264
|
.build() {
|
|
1420
1265
|
}
|
|
1421
1266
|
|
|
@@ -1423,16 +1268,11 @@ class UpdateCampaignDialerConfigCommand extends smithyClient.Command
|
|
|
1423
1268
|
.classBuilder()
|
|
1424
1269
|
.ep(commonParams)
|
|
1425
1270
|
.m(function (Command, cs, config, o) {
|
|
1426
|
-
return [
|
|
1427
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1428
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1429
|
-
];
|
|
1271
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1430
1272
|
})
|
|
1431
1273
|
.s("AmazonConnectCampaignService", "UpdateCampaignDialerConfig", {})
|
|
1432
1274
|
.n("ConnectCampaignsClient", "UpdateCampaignDialerConfigCommand")
|
|
1433
|
-
.
|
|
1434
|
-
.ser(se_UpdateCampaignDialerConfigCommand)
|
|
1435
|
-
.de(de_UpdateCampaignDialerConfigCommand)
|
|
1275
|
+
.sc(UpdateCampaignDialerConfig)
|
|
1436
1276
|
.build() {
|
|
1437
1277
|
}
|
|
1438
1278
|
|
|
@@ -1440,16 +1280,11 @@ class UpdateCampaignNameCommand extends smithyClient.Command
|
|
|
1440
1280
|
.classBuilder()
|
|
1441
1281
|
.ep(commonParams)
|
|
1442
1282
|
.m(function (Command, cs, config, o) {
|
|
1443
|
-
return [
|
|
1444
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1445
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1446
|
-
];
|
|
1283
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1447
1284
|
})
|
|
1448
1285
|
.s("AmazonConnectCampaignService", "UpdateCampaignName", {})
|
|
1449
1286
|
.n("ConnectCampaignsClient", "UpdateCampaignNameCommand")
|
|
1450
|
-
.
|
|
1451
|
-
.ser(se_UpdateCampaignNameCommand)
|
|
1452
|
-
.de(de_UpdateCampaignNameCommand)
|
|
1287
|
+
.sc(UpdateCampaignName)
|
|
1453
1288
|
.build() {
|
|
1454
1289
|
}
|
|
1455
1290
|
|
|
@@ -1457,16 +1292,11 @@ class UpdateCampaignOutboundCallConfigCommand extends smithyClient.Command
|
|
|
1457
1292
|
.classBuilder()
|
|
1458
1293
|
.ep(commonParams)
|
|
1459
1294
|
.m(function (Command, cs, config, o) {
|
|
1460
|
-
return [
|
|
1461
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1462
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1463
|
-
];
|
|
1295
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1464
1296
|
})
|
|
1465
1297
|
.s("AmazonConnectCampaignService", "UpdateCampaignOutboundCallConfig", {})
|
|
1466
1298
|
.n("ConnectCampaignsClient", "UpdateCampaignOutboundCallConfigCommand")
|
|
1467
|
-
.
|
|
1468
|
-
.ser(se_UpdateCampaignOutboundCallConfigCommand)
|
|
1469
|
-
.de(de_UpdateCampaignOutboundCallConfigCommand)
|
|
1299
|
+
.sc(UpdateCampaignOutboundCallConfig)
|
|
1470
1300
|
.build() {
|
|
1471
1301
|
}
|
|
1472
1302
|
|
|
@@ -1508,18 +1338,17 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1508
1338
|
enumerable: true,
|
|
1509
1339
|
get: function () { return smithyClient.Client; }
|
|
1510
1340
|
});
|
|
1511
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
1341
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
1512
1342
|
exports.CampaignState = CampaignState;
|
|
1513
|
-
exports.ConflictException = ConflictException;
|
|
1343
|
+
exports.ConflictException = ConflictException$1;
|
|
1514
1344
|
exports.ConnectCampaigns = ConnectCampaigns;
|
|
1515
1345
|
exports.ConnectCampaignsClient = ConnectCampaignsClient;
|
|
1516
|
-
exports.ConnectCampaignsServiceException = ConnectCampaignsServiceException;
|
|
1346
|
+
exports.ConnectCampaignsServiceException = ConnectCampaignsServiceException$1;
|
|
1517
1347
|
exports.CreateCampaignCommand = CreateCampaignCommand;
|
|
1518
1348
|
exports.DeleteCampaignCommand = DeleteCampaignCommand;
|
|
1519
1349
|
exports.DeleteConnectInstanceConfigCommand = DeleteConnectInstanceConfigCommand;
|
|
1520
1350
|
exports.DeleteInstanceOnboardingJobCommand = DeleteInstanceOnboardingJobCommand;
|
|
1521
1351
|
exports.DescribeCampaignCommand = DescribeCampaignCommand;
|
|
1522
|
-
exports.DialRequestFilterSensitiveLog = DialRequestFilterSensitiveLog;
|
|
1523
1352
|
exports.EncryptionType = EncryptionType;
|
|
1524
1353
|
exports.FailureCode = FailureCode;
|
|
1525
1354
|
exports.GetCampaignStateBatchCommand = GetCampaignStateBatchCommand;
|
|
@@ -1530,25 +1359,24 @@ exports.GetInstanceOnboardingJobStatusCommand = GetInstanceOnboardingJobStatusCo
|
|
|
1530
1359
|
exports.InstanceIdFilterOperator = InstanceIdFilterOperator;
|
|
1531
1360
|
exports.InstanceOnboardingJobFailureCode = InstanceOnboardingJobFailureCode;
|
|
1532
1361
|
exports.InstanceOnboardingJobStatusCode = InstanceOnboardingJobStatusCode;
|
|
1533
|
-
exports.InternalServerException = InternalServerException;
|
|
1534
|
-
exports.InvalidCampaignStateException = InvalidCampaignStateException;
|
|
1535
|
-
exports.InvalidStateException = InvalidStateException;
|
|
1362
|
+
exports.InternalServerException = InternalServerException$1;
|
|
1363
|
+
exports.InvalidCampaignStateException = InvalidCampaignStateException$1;
|
|
1364
|
+
exports.InvalidStateException = InvalidStateException$1;
|
|
1536
1365
|
exports.ListCampaignsCommand = ListCampaignsCommand;
|
|
1537
1366
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1538
1367
|
exports.PauseCampaignCommand = PauseCampaignCommand;
|
|
1539
1368
|
exports.PutDialRequestBatchCommand = PutDialRequestBatchCommand;
|
|
1540
|
-
exports.
|
|
1541
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1369
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1542
1370
|
exports.ResumeCampaignCommand = ResumeCampaignCommand;
|
|
1543
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1371
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
1544
1372
|
exports.StartCampaignCommand = StartCampaignCommand;
|
|
1545
1373
|
exports.StartInstanceOnboardingJobCommand = StartInstanceOnboardingJobCommand;
|
|
1546
1374
|
exports.StopCampaignCommand = StopCampaignCommand;
|
|
1547
1375
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1548
|
-
exports.ThrottlingException = ThrottlingException;
|
|
1376
|
+
exports.ThrottlingException = ThrottlingException$1;
|
|
1549
1377
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1550
1378
|
exports.UpdateCampaignDialerConfigCommand = UpdateCampaignDialerConfigCommand;
|
|
1551
1379
|
exports.UpdateCampaignNameCommand = UpdateCampaignNameCommand;
|
|
1552
1380
|
exports.UpdateCampaignOutboundCallConfigCommand = UpdateCampaignOutboundCallConfigCommand;
|
|
1553
|
-
exports.ValidationException = ValidationException;
|
|
1381
|
+
exports.ValidationException = ValidationException$1;
|
|
1554
1382
|
exports.paginateListCampaigns = paginateListCampaigns;
|