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