@aws-sdk/client-connectcampaigns 3.1075.0 → 3.1076.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -1,21 +1,57 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
4
  exports.$Command = Command;
6
5
  exports.__Client = Client;
7
- const { resolveRegionConfig } = require("@smithy/core/config");
8
- const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
- const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
- const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
- const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
- const { resolveHttpAuthSchemeConfig, defaultConnectCampaignsHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { CreateCampaign$, DeleteCampaign$, DeleteConnectInstanceConfig$, DeleteInstanceOnboardingJob$, DescribeCampaign$, GetCampaignStateBatch$, GetCampaignState$, GetConnectInstanceConfig$, GetInstanceOnboardingJobStatus$, ListCampaigns$, ListTagsForResource$, PauseCampaign$, PutDialRequestBatch$, ResumeCampaign$, StartCampaign$, StartInstanceOnboardingJob$, StopCampaign$, TagResource$, UntagResource$, UpdateCampaignDialerConfig$, UpdateCampaignName$, UpdateCampaignOutboundCallConfig$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { ConnectCampaignsServiceException } = require("./models/ConnectCampaignsServiceException");
18
- exports.ConnectCampaignsServiceException = ConnectCampaignsServiceException;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
16
+
17
+ const defaultConnectCampaignsHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
+ return {
19
+ operation: getSmithyContext(context).operation,
20
+ region: await normalizeProvider(config.region)() || (() => {
21
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
22
+ })(),
23
+ };
24
+ };
25
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
26
+ return {
27
+ schemeId: "aws.auth#sigv4",
28
+ signingProperties: {
29
+ name: "connect-campaigns",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ const defaultConnectCampaignsHttpAuthSchemeProvider = (authParameters) => {
41
+ const options = [];
42
+ switch (authParameters.operation) {
43
+ default: {
44
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
45
+ }
46
+ }
47
+ return options;
48
+ };
49
+ const resolveHttpAuthSchemeConfig = (config) => {
50
+ const config_0 = resolveAwsSdkSigV4Config(config);
51
+ return Object.assign(config_0, {
52
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
53
+ });
54
+ };
19
55
 
20
56
  const resolveClientEndpointParameters = (options) => {
21
57
  return Object.assign(options, {
@@ -31,6 +67,822 @@ const commonParams = {
31
67
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
68
  };
33
69
 
70
+ var version = "3.1075.0";
71
+ var packageInfo = {
72
+ version: version};
73
+
74
+ const k = "ref";
75
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
76
+ const _data = {
77
+ conditions: [
78
+ [c, [g]],
79
+ [c, j],
80
+ ["aws.partition", j, d],
81
+ [e, [{ [k]: "UseFIPS" }, b]],
82
+ [e, [{ [k]: "UseDualStack" }, b]],
83
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
84
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
85
+ ],
86
+ results: [
87
+ [a],
88
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
89
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
90
+ [g, i],
91
+ ["https://connect-campaigns-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
92
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
93
+ ["https://connect-campaigns-fips.{Region}.{PartitionResult#dnsSuffix}", i],
94
+ [a, "FIPS is enabled but this partition does not support FIPS"],
95
+ ["https://connect-campaigns.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
96
+ [a, "DualStack is enabled but this partition does not support DualStack"],
97
+ ["https://connect-campaigns.{Region}.{PartitionResult#dnsSuffix}", i],
98
+ [a, "Invalid Configuration: Missing Region"]
99
+ ]
100
+ };
101
+ const root = 2;
102
+ const r = 100_000_000;
103
+ const nodes = new Int32Array([
104
+ -1, 1, -1,
105
+ 0, 12, 3,
106
+ 1, 4, r + 11,
107
+ 2, 5, r + 11,
108
+ 3, 8, 6,
109
+ 4, 7, r + 10,
110
+ 5, r + 8, r + 9,
111
+ 4, 10, 9,
112
+ 6, r + 6, r + 7,
113
+ 5, 11, r + 5,
114
+ 6, r + 4, r + 5,
115
+ 3, r + 1, 13,
116
+ 4, r + 2, r + 3,
117
+ ]);
118
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
119
+
120
+ const cache = new EndpointCache({
121
+ size: 50,
122
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
123
+ });
124
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
125
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
126
+ endpointParams: endpointParams,
127
+ logger: context.logger,
128
+ }));
129
+ };
130
+ customEndpointFunctions.aws = awsEndpointFunctions;
131
+
132
+ class ConnectCampaignsServiceException extends ServiceException {
133
+ constructor(options) {
134
+ super(options);
135
+ Object.setPrototypeOf(this, ConnectCampaignsServiceException.prototype);
136
+ }
137
+ }
138
+
139
+ class AccessDeniedException extends ConnectCampaignsServiceException {
140
+ name = "AccessDeniedException";
141
+ $fault = "client";
142
+ xAmzErrorType;
143
+ constructor(opts) {
144
+ super({
145
+ name: "AccessDeniedException",
146
+ $fault: "client",
147
+ ...opts,
148
+ });
149
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
150
+ this.xAmzErrorType = opts.xAmzErrorType;
151
+ }
152
+ }
153
+ class ConflictException extends ConnectCampaignsServiceException {
154
+ name = "ConflictException";
155
+ $fault = "client";
156
+ xAmzErrorType;
157
+ constructor(opts) {
158
+ super({
159
+ name: "ConflictException",
160
+ $fault: "client",
161
+ ...opts,
162
+ });
163
+ Object.setPrototypeOf(this, ConflictException.prototype);
164
+ this.xAmzErrorType = opts.xAmzErrorType;
165
+ }
166
+ }
167
+ class InternalServerException extends ConnectCampaignsServiceException {
168
+ name = "InternalServerException";
169
+ $fault = "server";
170
+ $retryable = {};
171
+ xAmzErrorType;
172
+ constructor(opts) {
173
+ super({
174
+ name: "InternalServerException",
175
+ $fault: "server",
176
+ ...opts,
177
+ });
178
+ Object.setPrototypeOf(this, InternalServerException.prototype);
179
+ this.xAmzErrorType = opts.xAmzErrorType;
180
+ }
181
+ }
182
+ class ResourceNotFoundException extends ConnectCampaignsServiceException {
183
+ name = "ResourceNotFoundException";
184
+ $fault = "client";
185
+ xAmzErrorType;
186
+ constructor(opts) {
187
+ super({
188
+ name: "ResourceNotFoundException",
189
+ $fault: "client",
190
+ ...opts,
191
+ });
192
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
193
+ this.xAmzErrorType = opts.xAmzErrorType;
194
+ }
195
+ }
196
+ class ServiceQuotaExceededException extends ConnectCampaignsServiceException {
197
+ name = "ServiceQuotaExceededException";
198
+ $fault = "client";
199
+ xAmzErrorType;
200
+ constructor(opts) {
201
+ super({
202
+ name: "ServiceQuotaExceededException",
203
+ $fault: "client",
204
+ ...opts,
205
+ });
206
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
207
+ this.xAmzErrorType = opts.xAmzErrorType;
208
+ }
209
+ }
210
+ class ThrottlingException extends ConnectCampaignsServiceException {
211
+ name = "ThrottlingException";
212
+ $fault = "client";
213
+ $retryable = {};
214
+ xAmzErrorType;
215
+ constructor(opts) {
216
+ super({
217
+ name: "ThrottlingException",
218
+ $fault: "client",
219
+ ...opts,
220
+ });
221
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
222
+ this.xAmzErrorType = opts.xAmzErrorType;
223
+ }
224
+ }
225
+ class ValidationException extends ConnectCampaignsServiceException {
226
+ name = "ValidationException";
227
+ $fault = "client";
228
+ xAmzErrorType;
229
+ constructor(opts) {
230
+ super({
231
+ name: "ValidationException",
232
+ $fault: "client",
233
+ ...opts,
234
+ });
235
+ Object.setPrototypeOf(this, ValidationException.prototype);
236
+ this.xAmzErrorType = opts.xAmzErrorType;
237
+ }
238
+ }
239
+ class InvalidStateException extends ConnectCampaignsServiceException {
240
+ name = "InvalidStateException";
241
+ $fault = "client";
242
+ xAmzErrorType;
243
+ constructor(opts) {
244
+ super({
245
+ name: "InvalidStateException",
246
+ $fault: "client",
247
+ ...opts,
248
+ });
249
+ Object.setPrototypeOf(this, InvalidStateException.prototype);
250
+ this.xAmzErrorType = opts.xAmzErrorType;
251
+ }
252
+ }
253
+ class InvalidCampaignStateException extends ConnectCampaignsServiceException {
254
+ name = "InvalidCampaignStateException";
255
+ $fault = "client";
256
+ state;
257
+ xAmzErrorType;
258
+ constructor(opts) {
259
+ super({
260
+ name: "InvalidCampaignStateException",
261
+ $fault: "client",
262
+ ...opts,
263
+ });
264
+ Object.setPrototypeOf(this, InvalidCampaignStateException.prototype);
265
+ this.state = opts.state;
266
+ this.xAmzErrorType = opts.xAmzErrorType;
267
+ }
268
+ }
269
+
270
+ const _A = "Attributes";
271
+ const _ADC = "AgentlessDialerConfig";
272
+ const _ADE = "AccessDeniedException";
273
+ const _AMDC = "AnswerMachineDetectionConfig";
274
+ const _C = "Campaign";
275
+ const _CC = "CreateCampaign";
276
+ const _CCR = "CreateCampaignRequest";
277
+ const _CCRr = "CreateCampaignResponse";
278
+ const _CE = "ConflictException";
279
+ const _CF = "CampaignFilters";
280
+ const _CS = "CampaignSummary";
281
+ const _CSL = "CampaignSummaryList";
282
+ const _DC = "DialerConfig";
283
+ const _DCIC = "DeleteConnectInstanceConfig";
284
+ const _DCICR = "DeleteConnectInstanceConfigRequest";
285
+ const _DCR = "DeleteCampaignRequest";
286
+ const _DCRe = "DescribeCampaignRequest";
287
+ const _DCRes = "DescribeCampaignResponse";
288
+ const _DCe = "DeleteCampaign";
289
+ const _DCes = "DescribeCampaign";
290
+ const _DIOJ = "DeleteInstanceOnboardingJob";
291
+ const _DIOJR = "DeleteInstanceOnboardingJobRequest";
292
+ const _DPN = "DestinationPhoneNumber";
293
+ const _DR = "DialRequest";
294
+ const _DRL = "DialRequestList";
295
+ const _EC = "EncryptionConfig";
296
+ const _FCSR = "FailedCampaignStateResponse";
297
+ const _FCSRL = "FailedCampaignStateResponseList";
298
+ const _FR = "FailedRequest";
299
+ const _FRL = "FailedRequestList";
300
+ const _GCIC = "GetConnectInstanceConfig";
301
+ const _GCICR = "GetConnectInstanceConfigRequest";
302
+ const _GCICRe = "GetConnectInstanceConfigResponse";
303
+ const _GCS = "GetCampaignState";
304
+ const _GCSB = "GetCampaignStateBatch";
305
+ const _GCSBR = "GetCampaignStateBatchRequest";
306
+ const _GCSBRe = "GetCampaignStateBatchResponse";
307
+ const _GCSR = "GetCampaignStateRequest";
308
+ const _GCSRe = "GetCampaignStateResponse";
309
+ const _GIOJS = "GetInstanceOnboardingJobStatus";
310
+ const _GIOJSR = "GetInstanceOnboardingJobStatusRequest";
311
+ const _GIOJSRe = "GetInstanceOnboardingJobStatusResponse";
312
+ const _IC = "InstanceConfig";
313
+ const _ICSE = "InvalidCampaignStateException";
314
+ const _IIF = "InstanceIdFilter";
315
+ const _IOJS = "InstanceOnboardingJobStatus";
316
+ const _ISE = "InternalServerException";
317
+ const _ISEn = "InvalidStateException";
318
+ const _LC = "ListCampaigns";
319
+ const _LCR = "ListCampaignsRequest";
320
+ const _LCRi = "ListCampaignsResponse";
321
+ const _LTFR = "ListTagsForResource";
322
+ const _LTFRR = "ListTagsForResourceRequest";
323
+ const _LTFRRi = "ListTagsForResourceResponse";
324
+ const _OCC = "OutboundCallConfig";
325
+ const _PC = "PauseCampaign";
326
+ const _PCR = "PauseCampaignRequest";
327
+ const _PDC = "PredictiveDialerConfig";
328
+ const _PDCr = "ProgressiveDialerConfig";
329
+ const _PDRB = "PutDialRequestBatch";
330
+ const _PDRBR = "PutDialRequestBatchRequest";
331
+ const _PDRBRu = "PutDialRequestBatchResponse";
332
+ const _RC = "ResumeCampaign";
333
+ const _RCR = "ResumeCampaignRequest";
334
+ const _RNFE = "ResourceNotFoundException";
335
+ const _SC = "StartCampaign";
336
+ const _SCR = "StartCampaignRequest";
337
+ const _SCRt = "StopCampaignRequest";
338
+ const _SCSR = "SuccessfulCampaignStateResponse";
339
+ const _SCSRL = "SuccessfulCampaignStateResponseList";
340
+ const _SCt = "StopCampaign";
341
+ const _SIOJ = "StartInstanceOnboardingJob";
342
+ const _SIOJR = "StartInstanceOnboardingJobRequest";
343
+ const _SIOJRt = "StartInstanceOnboardingJobResponse";
344
+ const _SQEE = "ServiceQuotaExceededException";
345
+ const _SR = "SuccessfulRequest";
346
+ const _SRL = "SuccessfulRequestList";
347
+ const _TE = "ThrottlingException";
348
+ const _TR = "TagResource";
349
+ const _TRR = "TagResourceRequest";
350
+ const _UCDC = "UpdateCampaignDialerConfig";
351
+ const _UCDCR = "UpdateCampaignDialerConfigRequest";
352
+ const _UCN = "UpdateCampaignName";
353
+ const _UCNR = "UpdateCampaignNameRequest";
354
+ const _UCOCC = "UpdateCampaignOutboundCallConfig";
355
+ const _UCOCCR = "UpdateCampaignOutboundCallConfigRequest";
356
+ const _UR = "UntagResource";
357
+ const _URR = "UntagResourceRequest";
358
+ const _VE = "ValidationException";
359
+ const _a = "arn";
360
+ const _aAMP = "awaitAnswerMachinePrompt";
361
+ const _aDC = "agentlessDialerConfig";
362
+ const _aMDC = "answerMachineDetectionConfig";
363
+ const _at = "attributes";
364
+ const _bA = "bandwidthAllocation";
365
+ const _c = "client";
366
+ const _cCFI = "connectContactFlowId";
367
+ const _cI = "campaignId";
368
+ const _cIC = "connectInstanceConfig";
369
+ const _cII = "connectInstanceId";
370
+ const _cIOJS = "connectInstanceOnboardingJobStatus";
371
+ const _cIa = "campaignIds";
372
+ const _cQI = "connectQueueId";
373
+ const _cSL = "campaignSummaryList";
374
+ const _cSPN = "connectSourcePhoneNumber";
375
+ const _cT = "clientToken";
376
+ const _ca = "campaign";
377
+ const _dC = "dialingCapacity";
378
+ const _dCi = "dialerConfig";
379
+ const _dR = "dialRequests";
380
+ const _e = "error";
381
+ const _eAMD = "enableAnswerMachineDetection";
382
+ const _eC = "encryptionConfig";
383
+ const _eT = "expirationTime";
384
+ const _eTn = "encryptionType";
385
+ const _en = "enabled";
386
+ const _f = "filters";
387
+ const _fC = "failureCode";
388
+ const _fR = "failedRequests";
389
+ const _h = "http";
390
+ const _hE = "httpError";
391
+ const _hH = "httpHeader";
392
+ const _hQ = "httpQuery";
393
+ const _i = "id";
394
+ const _iIF = "instanceIdFilter";
395
+ const _kA = "keyArn";
396
+ const _m = "message";
397
+ const _mR = "maxResults";
398
+ const _n = "name";
399
+ const _nT = "nextToken";
400
+ const _o = "operator";
401
+ const _oCC = "outboundCallConfig";
402
+ const _pDC = "progressiveDialerConfig";
403
+ const _pDCr = "predictiveDialerConfig";
404
+ const _pN = "phoneNumber";
405
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.connectcampaigns";
406
+ const _sLRA = "serviceLinkedRoleArn";
407
+ const _sR = "successfulRequests";
408
+ const _se = "server";
409
+ const _st = "state";
410
+ const _sta = "status";
411
+ const _t = "tags";
412
+ const _tK = "tagKeys";
413
+ const _v = "value";
414
+ const _xAET = "xAmzErrorType";
415
+ const _xaE = "x-amzn-ErrorType";
416
+ const n0 = "com.amazonaws.connectcampaigns";
417
+ const _s_registry = TypeRegistry.for(_s);
418
+ var ConnectCampaignsServiceException$ = [-3, _s, "ConnectCampaignsServiceException", 0, [], []];
419
+ _s_registry.registerError(ConnectCampaignsServiceException$, ConnectCampaignsServiceException);
420
+ const n0_registry = TypeRegistry.for(n0);
421
+ var AccessDeniedException$ = [-3, n0, _ADE,
422
+ { [_e]: _c, [_hE]: 403 },
423
+ [_m, _xAET],
424
+ [0, [0, { [_hH]: _xaE }]], 1
425
+ ];
426
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
427
+ var ConflictException$ = [-3, n0, _CE,
428
+ { [_e]: _c, [_hE]: 409 },
429
+ [_m, _xAET],
430
+ [0, [0, { [_hH]: _xaE }]], 1
431
+ ];
432
+ n0_registry.registerError(ConflictException$, ConflictException);
433
+ var InternalServerException$ = [-3, n0, _ISE,
434
+ { [_e]: _se, [_hE]: 500 },
435
+ [_m, _xAET],
436
+ [0, [0, { [_hH]: _xaE }]], 1
437
+ ];
438
+ n0_registry.registerError(InternalServerException$, InternalServerException);
439
+ var InvalidCampaignStateException$ = [-3, n0, _ICSE,
440
+ { [_e]: _c, [_hE]: 409 },
441
+ [_st, _m, _xAET],
442
+ [0, 0, [0, { [_hH]: _xaE }]], 2
443
+ ];
444
+ n0_registry.registerError(InvalidCampaignStateException$, InvalidCampaignStateException);
445
+ var InvalidStateException$ = [-3, n0, _ISEn,
446
+ { [_e]: _c, [_hE]: 409 },
447
+ [_m, _xAET],
448
+ [0, [0, { [_hH]: _xaE }]], 1
449
+ ];
450
+ n0_registry.registerError(InvalidStateException$, InvalidStateException);
451
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
452
+ { [_e]: _c, [_hE]: 404 },
453
+ [_m, _xAET],
454
+ [0, [0, { [_hH]: _xaE }]], 1
455
+ ];
456
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
457
+ var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
458
+ { [_e]: _c, [_hE]: 402 },
459
+ [_m, _xAET],
460
+ [0, [0, { [_hH]: _xaE }]], 1
461
+ ];
462
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
463
+ var ThrottlingException$ = [-3, n0, _TE,
464
+ { [_e]: _c, [_hE]: 429 },
465
+ [_m, _xAET],
466
+ [0, [0, { [_hH]: _xaE }]], 1
467
+ ];
468
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
469
+ var ValidationException$ = [-3, n0, _VE,
470
+ { [_e]: _c, [_hE]: 400 },
471
+ [_m, _xAET],
472
+ [0, [0, { [_hH]: _xaE }]], 1
473
+ ];
474
+ n0_registry.registerError(ValidationException$, ValidationException);
475
+ const errorTypeRegistries = [
476
+ _s_registry,
477
+ n0_registry,
478
+ ];
479
+ var DestinationPhoneNumber = [0, n0, _DPN, 8, 0];
480
+ var AgentlessDialerConfig$ = [3, n0, _ADC,
481
+ 0,
482
+ [_dC],
483
+ [1]
484
+ ];
485
+ var AnswerMachineDetectionConfig$ = [3, n0, _AMDC,
486
+ 0,
487
+ [_eAMD, _aAMP],
488
+ [2, 2], 1
489
+ ];
490
+ var Campaign$ = [3, n0, _C,
491
+ 0,
492
+ [_i, _a, _n, _cII, _dCi, _oCC, _t],
493
+ [0, 0, 0, 0, () => DialerConfig$, () => OutboundCallConfig$, 128 | 0], 6
494
+ ];
495
+ var CampaignFilters$ = [3, n0, _CF,
496
+ 0,
497
+ [_iIF],
498
+ [() => InstanceIdFilter$]
499
+ ];
500
+ var CampaignSummary$ = [3, n0, _CS,
501
+ 0,
502
+ [_i, _a, _n, _cII],
503
+ [0, 0, 0, 0], 4
504
+ ];
505
+ var CreateCampaignRequest$ = [3, n0, _CCR,
506
+ 0,
507
+ [_n, _cII, _dCi, _oCC, _t],
508
+ [0, 0, () => DialerConfig$, () => OutboundCallConfig$, 128 | 0], 4
509
+ ];
510
+ var CreateCampaignResponse$ = [3, n0, _CCRr,
511
+ 0,
512
+ [_i, _a, _t],
513
+ [0, 0, 128 | 0]
514
+ ];
515
+ var DeleteCampaignRequest$ = [3, n0, _DCR,
516
+ 0,
517
+ [_i],
518
+ [[0, 1]], 1
519
+ ];
520
+ var DeleteConnectInstanceConfigRequest$ = [3, n0, _DCICR,
521
+ 0,
522
+ [_cII],
523
+ [[0, 1]], 1
524
+ ];
525
+ var DeleteInstanceOnboardingJobRequest$ = [3, n0, _DIOJR,
526
+ 0,
527
+ [_cII],
528
+ [[0, 1]], 1
529
+ ];
530
+ var DescribeCampaignRequest$ = [3, n0, _DCRe,
531
+ 0,
532
+ [_i],
533
+ [[0, 1]], 1
534
+ ];
535
+ var DescribeCampaignResponse$ = [3, n0, _DCRes,
536
+ 0,
537
+ [_ca],
538
+ [() => Campaign$]
539
+ ];
540
+ var DialRequest$ = [3, n0, _DR,
541
+ 0,
542
+ [_cT, _pN, _eT, _at],
543
+ [0, [() => DestinationPhoneNumber, 0], 5, [() => Attributes, 0]], 4
544
+ ];
545
+ var EncryptionConfig$ = [3, n0, _EC,
546
+ 0,
547
+ [_en, _eTn, _kA],
548
+ [2, 0, 0], 1
549
+ ];
550
+ var FailedCampaignStateResponse$ = [3, n0, _FCSR,
551
+ 0,
552
+ [_cI, _fC],
553
+ [0, 0]
554
+ ];
555
+ var FailedRequest$ = [3, n0, _FR,
556
+ 0,
557
+ [_cT, _i, _fC],
558
+ [0, 0, 0]
559
+ ];
560
+ var GetCampaignStateBatchRequest$ = [3, n0, _GCSBR,
561
+ 0,
562
+ [_cIa],
563
+ [64 | 0], 1
564
+ ];
565
+ var GetCampaignStateBatchResponse$ = [3, n0, _GCSBRe,
566
+ 0,
567
+ [_sR, _fR],
568
+ [() => SuccessfulCampaignStateResponseList, () => FailedCampaignStateResponseList]
569
+ ];
570
+ var GetCampaignStateRequest$ = [3, n0, _GCSR,
571
+ 0,
572
+ [_i],
573
+ [[0, 1]], 1
574
+ ];
575
+ var GetCampaignStateResponse$ = [3, n0, _GCSRe,
576
+ 0,
577
+ [_st],
578
+ [0]
579
+ ];
580
+ var GetConnectInstanceConfigRequest$ = [3, n0, _GCICR,
581
+ 0,
582
+ [_cII],
583
+ [[0, 1]], 1
584
+ ];
585
+ var GetConnectInstanceConfigResponse$ = [3, n0, _GCICRe,
586
+ 0,
587
+ [_cIC],
588
+ [() => InstanceConfig$]
589
+ ];
590
+ var GetInstanceOnboardingJobStatusRequest$ = [3, n0, _GIOJSR,
591
+ 0,
592
+ [_cII],
593
+ [[0, 1]], 1
594
+ ];
595
+ var GetInstanceOnboardingJobStatusResponse$ = [3, n0, _GIOJSRe,
596
+ 0,
597
+ [_cIOJS],
598
+ [() => InstanceOnboardingJobStatus$]
599
+ ];
600
+ var InstanceConfig$ = [3, n0, _IC,
601
+ 0,
602
+ [_cII, _sLRA, _eC],
603
+ [0, 0, () => EncryptionConfig$], 3
604
+ ];
605
+ var InstanceIdFilter$ = [3, n0, _IIF,
606
+ 0,
607
+ [_v, _o],
608
+ [0, 0], 2
609
+ ];
610
+ var InstanceOnboardingJobStatus$ = [3, n0, _IOJS,
611
+ 0,
612
+ [_cII, _sta, _fC],
613
+ [0, 0, 0], 2
614
+ ];
615
+ var ListCampaignsRequest$ = [3, n0, _LCR,
616
+ 0,
617
+ [_mR, _nT, _f],
618
+ [1, 0, () => CampaignFilters$]
619
+ ];
620
+ var ListCampaignsResponse$ = [3, n0, _LCRi,
621
+ 0,
622
+ [_nT, _cSL],
623
+ [0, () => CampaignSummaryList]
624
+ ];
625
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
626
+ 0,
627
+ [_a],
628
+ [[0, 1]], 1
629
+ ];
630
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
631
+ 0,
632
+ [_t],
633
+ [128 | 0]
634
+ ];
635
+ var OutboundCallConfig$ = [3, n0, _OCC,
636
+ 0,
637
+ [_cCFI, _cSPN, _cQI, _aMDC],
638
+ [0, 0, 0, () => AnswerMachineDetectionConfig$], 1
639
+ ];
640
+ var PauseCampaignRequest$ = [3, n0, _PCR,
641
+ 0,
642
+ [_i],
643
+ [[0, 1]], 1
644
+ ];
645
+ var PredictiveDialerConfig$ = [3, n0, _PDC,
646
+ 0,
647
+ [_bA, _dC],
648
+ [1, 1], 1
649
+ ];
650
+ var ProgressiveDialerConfig$ = [3, n0, _PDCr,
651
+ 0,
652
+ [_bA, _dC],
653
+ [1, 1], 1
654
+ ];
655
+ var PutDialRequestBatchRequest$ = [3, n0, _PDRBR,
656
+ 0,
657
+ [_i, _dR],
658
+ [[0, 1], [() => DialRequestList, 0]], 2
659
+ ];
660
+ var PutDialRequestBatchResponse$ = [3, n0, _PDRBRu,
661
+ 0,
662
+ [_sR, _fR],
663
+ [() => SuccessfulRequestList, () => FailedRequestList]
664
+ ];
665
+ var ResumeCampaignRequest$ = [3, n0, _RCR,
666
+ 0,
667
+ [_i],
668
+ [[0, 1]], 1
669
+ ];
670
+ var StartCampaignRequest$ = [3, n0, _SCR,
671
+ 0,
672
+ [_i],
673
+ [[0, 1]], 1
674
+ ];
675
+ var StartInstanceOnboardingJobRequest$ = [3, n0, _SIOJR,
676
+ 0,
677
+ [_cII, _eC],
678
+ [[0, 1], () => EncryptionConfig$], 2
679
+ ];
680
+ var StartInstanceOnboardingJobResponse$ = [3, n0, _SIOJRt,
681
+ 0,
682
+ [_cIOJS],
683
+ [() => InstanceOnboardingJobStatus$]
684
+ ];
685
+ var StopCampaignRequest$ = [3, n0, _SCRt,
686
+ 0,
687
+ [_i],
688
+ [[0, 1]], 1
689
+ ];
690
+ var SuccessfulCampaignStateResponse$ = [3, n0, _SCSR,
691
+ 0,
692
+ [_cI, _st],
693
+ [0, 0]
694
+ ];
695
+ var SuccessfulRequest$ = [3, n0, _SR,
696
+ 0,
697
+ [_cT, _i],
698
+ [0, 0]
699
+ ];
700
+ var TagResourceRequest$ = [3, n0, _TRR,
701
+ 0,
702
+ [_a, _t],
703
+ [[0, 1], 128 | 0], 2
704
+ ];
705
+ var UntagResourceRequest$ = [3, n0, _URR,
706
+ 0,
707
+ [_a, _tK],
708
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
709
+ ];
710
+ var UpdateCampaignDialerConfigRequest$ = [3, n0, _UCDCR,
711
+ 0,
712
+ [_i, _dCi],
713
+ [[0, 1], () => DialerConfig$], 2
714
+ ];
715
+ var UpdateCampaignNameRequest$ = [3, n0, _UCNR,
716
+ 0,
717
+ [_i, _n],
718
+ [[0, 1], 0], 2
719
+ ];
720
+ var UpdateCampaignOutboundCallConfigRequest$ = [3, n0, _UCOCCR,
721
+ 0,
722
+ [_i, _cCFI, _cSPN, _aMDC],
723
+ [[0, 1], 0, 0, () => AnswerMachineDetectionConfig$], 1
724
+ ];
725
+ var __Unit = "unit";
726
+ var CampaignSummaryList = [1, n0, _CSL,
727
+ 0, () => CampaignSummary$
728
+ ];
729
+ var DialRequestList = [1, n0, _DRL,
730
+ 0, [() => DialRequest$,
731
+ 0]
732
+ ];
733
+ var FailedCampaignStateResponseList = [1, n0, _FCSRL,
734
+ 0, () => FailedCampaignStateResponse$
735
+ ];
736
+ var FailedRequestList = [1, n0, _FRL,
737
+ 0, () => FailedRequest$
738
+ ];
739
+ var SuccessfulCampaignStateResponseList = [1, n0, _SCSRL,
740
+ 0, () => SuccessfulCampaignStateResponse$
741
+ ];
742
+ var SuccessfulRequestList = [1, n0, _SRL,
743
+ 0, () => SuccessfulRequest$
744
+ ];
745
+ var Attributes = [2, n0, _A,
746
+ 8, 0, 0
747
+ ];
748
+ var DialerConfig$ = [4, n0, _DC,
749
+ 0,
750
+ [_pDC, _pDCr, _aDC],
751
+ [() => ProgressiveDialerConfig$, () => PredictiveDialerConfig$, () => AgentlessDialerConfig$]
752
+ ];
753
+ var CreateCampaign$ = [9, n0, _CC,
754
+ { [_h]: ["PUT", "/campaigns", 200] }, () => CreateCampaignRequest$, () => CreateCampaignResponse$
755
+ ];
756
+ var DeleteCampaign$ = [9, n0, _DCe,
757
+ { [_h]: ["DELETE", "/campaigns/{id}", 200] }, () => DeleteCampaignRequest$, () => __Unit
758
+ ];
759
+ var DeleteConnectInstanceConfig$ = [9, n0, _DCIC,
760
+ { [_h]: ["DELETE", "/connect-instance/{connectInstanceId}/config", 200] }, () => DeleteConnectInstanceConfigRequest$, () => __Unit
761
+ ];
762
+ var DeleteInstanceOnboardingJob$ = [9, n0, _DIOJ,
763
+ { [_h]: ["DELETE", "/connect-instance/{connectInstanceId}/onboarding", 200] }, () => DeleteInstanceOnboardingJobRequest$, () => __Unit
764
+ ];
765
+ var DescribeCampaign$ = [9, n0, _DCes,
766
+ { [_h]: ["GET", "/campaigns/{id}", 200] }, () => DescribeCampaignRequest$, () => DescribeCampaignResponse$
767
+ ];
768
+ var GetCampaignState$ = [9, n0, _GCS,
769
+ { [_h]: ["GET", "/campaigns/{id}/state", 200] }, () => GetCampaignStateRequest$, () => GetCampaignStateResponse$
770
+ ];
771
+ var GetCampaignStateBatch$ = [9, n0, _GCSB,
772
+ { [_h]: ["POST", "/campaigns-state", 200] }, () => GetCampaignStateBatchRequest$, () => GetCampaignStateBatchResponse$
773
+ ];
774
+ var GetConnectInstanceConfig$ = [9, n0, _GCIC,
775
+ { [_h]: ["GET", "/connect-instance/{connectInstanceId}/config", 200] }, () => GetConnectInstanceConfigRequest$, () => GetConnectInstanceConfigResponse$
776
+ ];
777
+ var GetInstanceOnboardingJobStatus$ = [9, n0, _GIOJS,
778
+ { [_h]: ["GET", "/connect-instance/{connectInstanceId}/onboarding", 200] }, () => GetInstanceOnboardingJobStatusRequest$, () => GetInstanceOnboardingJobStatusResponse$
779
+ ];
780
+ var ListCampaigns$ = [9, n0, _LC,
781
+ { [_h]: ["POST", "/campaigns-summary", 200] }, () => ListCampaignsRequest$, () => ListCampaignsResponse$
782
+ ];
783
+ var ListTagsForResource$ = [9, n0, _LTFR,
784
+ { [_h]: ["GET", "/tags/{arn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
785
+ ];
786
+ var PauseCampaign$ = [9, n0, _PC,
787
+ { [_h]: ["POST", "/campaigns/{id}/pause", 200] }, () => PauseCampaignRequest$, () => __Unit
788
+ ];
789
+ var PutDialRequestBatch$ = [9, n0, _PDRB,
790
+ { [_h]: ["PUT", "/campaigns/{id}/dial-requests", 200] }, () => PutDialRequestBatchRequest$, () => PutDialRequestBatchResponse$
791
+ ];
792
+ var ResumeCampaign$ = [9, n0, _RC,
793
+ { [_h]: ["POST", "/campaigns/{id}/resume", 200] }, () => ResumeCampaignRequest$, () => __Unit
794
+ ];
795
+ var StartCampaign$ = [9, n0, _SC,
796
+ { [_h]: ["POST", "/campaigns/{id}/start", 200] }, () => StartCampaignRequest$, () => __Unit
797
+ ];
798
+ var StartInstanceOnboardingJob$ = [9, n0, _SIOJ,
799
+ { [_h]: ["PUT", "/connect-instance/{connectInstanceId}/onboarding", 200] }, () => StartInstanceOnboardingJobRequest$, () => StartInstanceOnboardingJobResponse$
800
+ ];
801
+ var StopCampaign$ = [9, n0, _SCt,
802
+ { [_h]: ["POST", "/campaigns/{id}/stop", 200] }, () => StopCampaignRequest$, () => __Unit
803
+ ];
804
+ var TagResource$ = [9, n0, _TR,
805
+ { [_h]: ["POST", "/tags/{arn}", 200] }, () => TagResourceRequest$, () => __Unit
806
+ ];
807
+ var UntagResource$ = [9, n0, _UR,
808
+ { [_h]: ["DELETE", "/tags/{arn}", 200] }, () => UntagResourceRequest$, () => __Unit
809
+ ];
810
+ var UpdateCampaignDialerConfig$ = [9, n0, _UCDC,
811
+ { [_h]: ["POST", "/campaigns/{id}/dialer-config", 200] }, () => UpdateCampaignDialerConfigRequest$, () => __Unit
812
+ ];
813
+ var UpdateCampaignName$ = [9, n0, _UCN,
814
+ { [_h]: ["POST", "/campaigns/{id}/name", 200] }, () => UpdateCampaignNameRequest$, () => __Unit
815
+ ];
816
+ var UpdateCampaignOutboundCallConfig$ = [9, n0, _UCOCC,
817
+ { [_h]: ["POST", "/campaigns/{id}/outbound-call-config", 200] }, () => UpdateCampaignOutboundCallConfigRequest$, () => __Unit
818
+ ];
819
+
820
+ const getRuntimeConfig$1 = (config) => {
821
+ return {
822
+ apiVersion: "2021-01-30",
823
+ base64Decoder: config?.base64Decoder ?? fromBase64,
824
+ base64Encoder: config?.base64Encoder ?? toBase64,
825
+ disableHostPrefix: config?.disableHostPrefix ?? false,
826
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
827
+ extensions: config?.extensions ?? [],
828
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultConnectCampaignsHttpAuthSchemeProvider,
829
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
830
+ {
831
+ schemeId: "aws.auth#sigv4",
832
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
833
+ signer: new AwsSdkSigV4Signer(),
834
+ },
835
+ ],
836
+ logger: config?.logger ?? new NoOpLogger(),
837
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
838
+ protocolSettings: config?.protocolSettings ?? {
839
+ defaultNamespace: "com.amazonaws.connectcampaigns",
840
+ errorTypeRegistries,
841
+ version: "2021-01-30",
842
+ serviceTarget: "AmazonConnectCampaignService",
843
+ },
844
+ serviceId: config?.serviceId ?? "ConnectCampaigns",
845
+ urlParser: config?.urlParser ?? parseUrl,
846
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
847
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
848
+ };
849
+ };
850
+
851
+ const getRuntimeConfig = (config) => {
852
+ emitWarningIfUnsupportedVersion(process.version);
853
+ const defaultsMode = resolveDefaultsModeConfig(config);
854
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
855
+ const clientSharedValues = getRuntimeConfig$1(config);
856
+ emitWarningIfUnsupportedVersion$1(process.version);
857
+ const loaderConfig = {
858
+ profile: config?.profile,
859
+ logger: clientSharedValues.logger,
860
+ };
861
+ return {
862
+ ...clientSharedValues,
863
+ ...config,
864
+ runtime: "node",
865
+ defaultsMode,
866
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
867
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
868
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
869
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
870
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
871
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
872
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
873
+ retryMode: config?.retryMode ??
874
+ loadConfig({
875
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
876
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
877
+ }, config),
878
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
879
+ streamCollector: config?.streamCollector ?? streamCollector,
880
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
881
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
882
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
883
+ };
884
+ };
885
+
34
886
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
887
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
888
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -444,35 +1296,128 @@ const FailureCode = {
444
1296
  UNKNOWN_ERROR: "UnknownError",
445
1297
  };
446
1298
 
1299
+ exports.AccessDeniedException = AccessDeniedException;
1300
+ exports.AccessDeniedException$ = AccessDeniedException$;
1301
+ exports.AgentlessDialerConfig$ = AgentlessDialerConfig$;
1302
+ exports.AnswerMachineDetectionConfig$ = AnswerMachineDetectionConfig$;
1303
+ exports.Campaign$ = Campaign$;
1304
+ exports.CampaignFilters$ = CampaignFilters$;
447
1305
  exports.CampaignState = CampaignState;
1306
+ exports.CampaignSummary$ = CampaignSummary$;
1307
+ exports.ConflictException = ConflictException;
1308
+ exports.ConflictException$ = ConflictException$;
448
1309
  exports.ConnectCampaigns = ConnectCampaigns;
449
1310
  exports.ConnectCampaignsClient = ConnectCampaignsClient;
1311
+ exports.ConnectCampaignsServiceException = ConnectCampaignsServiceException;
1312
+ exports.ConnectCampaignsServiceException$ = ConnectCampaignsServiceException$;
1313
+ exports.CreateCampaign$ = CreateCampaign$;
450
1314
  exports.CreateCampaignCommand = CreateCampaignCommand;
1315
+ exports.CreateCampaignRequest$ = CreateCampaignRequest$;
1316
+ exports.CreateCampaignResponse$ = CreateCampaignResponse$;
1317
+ exports.DeleteCampaign$ = DeleteCampaign$;
451
1318
  exports.DeleteCampaignCommand = DeleteCampaignCommand;
1319
+ exports.DeleteCampaignRequest$ = DeleteCampaignRequest$;
1320
+ exports.DeleteConnectInstanceConfig$ = DeleteConnectInstanceConfig$;
452
1321
  exports.DeleteConnectInstanceConfigCommand = DeleteConnectInstanceConfigCommand;
1322
+ exports.DeleteConnectInstanceConfigRequest$ = DeleteConnectInstanceConfigRequest$;
1323
+ exports.DeleteInstanceOnboardingJob$ = DeleteInstanceOnboardingJob$;
453
1324
  exports.DeleteInstanceOnboardingJobCommand = DeleteInstanceOnboardingJobCommand;
1325
+ exports.DeleteInstanceOnboardingJobRequest$ = DeleteInstanceOnboardingJobRequest$;
1326
+ exports.DescribeCampaign$ = DescribeCampaign$;
454
1327
  exports.DescribeCampaignCommand = DescribeCampaignCommand;
1328
+ exports.DescribeCampaignRequest$ = DescribeCampaignRequest$;
1329
+ exports.DescribeCampaignResponse$ = DescribeCampaignResponse$;
1330
+ exports.DialRequest$ = DialRequest$;
1331
+ exports.DialerConfig$ = DialerConfig$;
1332
+ exports.EncryptionConfig$ = EncryptionConfig$;
455
1333
  exports.EncryptionType = EncryptionType;
1334
+ exports.FailedCampaignStateResponse$ = FailedCampaignStateResponse$;
1335
+ exports.FailedRequest$ = FailedRequest$;
456
1336
  exports.FailureCode = FailureCode;
1337
+ exports.GetCampaignState$ = GetCampaignState$;
1338
+ exports.GetCampaignStateBatch$ = GetCampaignStateBatch$;
457
1339
  exports.GetCampaignStateBatchCommand = GetCampaignStateBatchCommand;
458
1340
  exports.GetCampaignStateBatchFailureCode = GetCampaignStateBatchFailureCode;
1341
+ exports.GetCampaignStateBatchRequest$ = GetCampaignStateBatchRequest$;
1342
+ exports.GetCampaignStateBatchResponse$ = GetCampaignStateBatchResponse$;
459
1343
  exports.GetCampaignStateCommand = GetCampaignStateCommand;
1344
+ exports.GetCampaignStateRequest$ = GetCampaignStateRequest$;
1345
+ exports.GetCampaignStateResponse$ = GetCampaignStateResponse$;
1346
+ exports.GetConnectInstanceConfig$ = GetConnectInstanceConfig$;
460
1347
  exports.GetConnectInstanceConfigCommand = GetConnectInstanceConfigCommand;
1348
+ exports.GetConnectInstanceConfigRequest$ = GetConnectInstanceConfigRequest$;
1349
+ exports.GetConnectInstanceConfigResponse$ = GetConnectInstanceConfigResponse$;
1350
+ exports.GetInstanceOnboardingJobStatus$ = GetInstanceOnboardingJobStatus$;
461
1351
  exports.GetInstanceOnboardingJobStatusCommand = GetInstanceOnboardingJobStatusCommand;
1352
+ exports.GetInstanceOnboardingJobStatusRequest$ = GetInstanceOnboardingJobStatusRequest$;
1353
+ exports.GetInstanceOnboardingJobStatusResponse$ = GetInstanceOnboardingJobStatusResponse$;
1354
+ exports.InstanceConfig$ = InstanceConfig$;
1355
+ exports.InstanceIdFilter$ = InstanceIdFilter$;
462
1356
  exports.InstanceIdFilterOperator = InstanceIdFilterOperator;
463
1357
  exports.InstanceOnboardingJobFailureCode = InstanceOnboardingJobFailureCode;
1358
+ exports.InstanceOnboardingJobStatus$ = InstanceOnboardingJobStatus$;
464
1359
  exports.InstanceOnboardingJobStatusCode = InstanceOnboardingJobStatusCode;
1360
+ exports.InternalServerException = InternalServerException;
1361
+ exports.InternalServerException$ = InternalServerException$;
1362
+ exports.InvalidCampaignStateException = InvalidCampaignStateException;
1363
+ exports.InvalidCampaignStateException$ = InvalidCampaignStateException$;
1364
+ exports.InvalidStateException = InvalidStateException;
1365
+ exports.InvalidStateException$ = InvalidStateException$;
1366
+ exports.ListCampaigns$ = ListCampaigns$;
465
1367
  exports.ListCampaignsCommand = ListCampaignsCommand;
1368
+ exports.ListCampaignsRequest$ = ListCampaignsRequest$;
1369
+ exports.ListCampaignsResponse$ = ListCampaignsResponse$;
1370
+ exports.ListTagsForResource$ = ListTagsForResource$;
466
1371
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1372
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
1373
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
1374
+ exports.OutboundCallConfig$ = OutboundCallConfig$;
1375
+ exports.PauseCampaign$ = PauseCampaign$;
467
1376
  exports.PauseCampaignCommand = PauseCampaignCommand;
1377
+ exports.PauseCampaignRequest$ = PauseCampaignRequest$;
1378
+ exports.PredictiveDialerConfig$ = PredictiveDialerConfig$;
1379
+ exports.ProgressiveDialerConfig$ = ProgressiveDialerConfig$;
1380
+ exports.PutDialRequestBatch$ = PutDialRequestBatch$;
468
1381
  exports.PutDialRequestBatchCommand = PutDialRequestBatchCommand;
1382
+ exports.PutDialRequestBatchRequest$ = PutDialRequestBatchRequest$;
1383
+ exports.PutDialRequestBatchResponse$ = PutDialRequestBatchResponse$;
1384
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1385
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1386
+ exports.ResumeCampaign$ = ResumeCampaign$;
469
1387
  exports.ResumeCampaignCommand = ResumeCampaignCommand;
1388
+ exports.ResumeCampaignRequest$ = ResumeCampaignRequest$;
1389
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1390
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
1391
+ exports.StartCampaign$ = StartCampaign$;
470
1392
  exports.StartCampaignCommand = StartCampaignCommand;
1393
+ exports.StartCampaignRequest$ = StartCampaignRequest$;
1394
+ exports.StartInstanceOnboardingJob$ = StartInstanceOnboardingJob$;
471
1395
  exports.StartInstanceOnboardingJobCommand = StartInstanceOnboardingJobCommand;
1396
+ exports.StartInstanceOnboardingJobRequest$ = StartInstanceOnboardingJobRequest$;
1397
+ exports.StartInstanceOnboardingJobResponse$ = StartInstanceOnboardingJobResponse$;
1398
+ exports.StopCampaign$ = StopCampaign$;
472
1399
  exports.StopCampaignCommand = StopCampaignCommand;
1400
+ exports.StopCampaignRequest$ = StopCampaignRequest$;
1401
+ exports.SuccessfulCampaignStateResponse$ = SuccessfulCampaignStateResponse$;
1402
+ exports.SuccessfulRequest$ = SuccessfulRequest$;
1403
+ exports.TagResource$ = TagResource$;
473
1404
  exports.TagResourceCommand = TagResourceCommand;
1405
+ exports.TagResourceRequest$ = TagResourceRequest$;
1406
+ exports.ThrottlingException = ThrottlingException;
1407
+ exports.ThrottlingException$ = ThrottlingException$;
1408
+ exports.UntagResource$ = UntagResource$;
474
1409
  exports.UntagResourceCommand = UntagResourceCommand;
1410
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
1411
+ exports.UpdateCampaignDialerConfig$ = UpdateCampaignDialerConfig$;
475
1412
  exports.UpdateCampaignDialerConfigCommand = UpdateCampaignDialerConfigCommand;
1413
+ exports.UpdateCampaignDialerConfigRequest$ = UpdateCampaignDialerConfigRequest$;
1414
+ exports.UpdateCampaignName$ = UpdateCampaignName$;
476
1415
  exports.UpdateCampaignNameCommand = UpdateCampaignNameCommand;
1416
+ exports.UpdateCampaignNameRequest$ = UpdateCampaignNameRequest$;
1417
+ exports.UpdateCampaignOutboundCallConfig$ = UpdateCampaignOutboundCallConfig$;
477
1418
  exports.UpdateCampaignOutboundCallConfigCommand = UpdateCampaignOutboundCallConfigCommand;
1419
+ exports.UpdateCampaignOutboundCallConfigRequest$ = UpdateCampaignOutboundCallConfigRequest$;
1420
+ exports.ValidationException = ValidationException;
1421
+ exports.ValidationException$ = ValidationException$;
1422
+ exports.errorTypeRegistries = errorTypeRegistries;
478
1423
  exports.paginateListCampaigns = paginateListCampaigns;