@aws-sdk/client-docdb-elastic 3.987.0 → 3.988.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
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
17
  var protocolHttp = require('@smithy/protocol-http');
18
+ var schemas_0 = require('./schemas/schemas_0');
19
+ var errors = require('./models/errors');
20
+ var DocDBElasticServiceException = require('./models/DocDBElasticServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -110,609 +113,6 @@ class DocDBElasticClient extends smithyClient.Client {
110
113
  }
111
114
  }
112
115
 
113
- class DocDBElasticServiceException extends smithyClient.ServiceException {
114
- constructor(options) {
115
- super(options);
116
- Object.setPrototypeOf(this, DocDBElasticServiceException.prototype);
117
- }
118
- }
119
-
120
- class AccessDeniedException extends DocDBElasticServiceException {
121
- name = "AccessDeniedException";
122
- $fault = "client";
123
- constructor(opts) {
124
- super({
125
- name: "AccessDeniedException",
126
- $fault: "client",
127
- ...opts,
128
- });
129
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
- }
131
- }
132
- class ConflictException extends DocDBElasticServiceException {
133
- name = "ConflictException";
134
- $fault = "client";
135
- resourceId;
136
- resourceType;
137
- constructor(opts) {
138
- super({
139
- name: "ConflictException",
140
- $fault: "client",
141
- ...opts,
142
- });
143
- Object.setPrototypeOf(this, ConflictException.prototype);
144
- this.resourceId = opts.resourceId;
145
- this.resourceType = opts.resourceType;
146
- }
147
- }
148
- class InternalServerException extends DocDBElasticServiceException {
149
- name = "InternalServerException";
150
- $fault = "server";
151
- $retryable = {};
152
- constructor(opts) {
153
- super({
154
- name: "InternalServerException",
155
- $fault: "server",
156
- ...opts,
157
- });
158
- Object.setPrototypeOf(this, InternalServerException.prototype);
159
- }
160
- }
161
- class ResourceNotFoundException extends DocDBElasticServiceException {
162
- name = "ResourceNotFoundException";
163
- $fault = "client";
164
- resourceId;
165
- resourceType;
166
- constructor(opts) {
167
- super({
168
- name: "ResourceNotFoundException",
169
- $fault: "client",
170
- ...opts,
171
- });
172
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
173
- this.resourceId = opts.resourceId;
174
- this.resourceType = opts.resourceType;
175
- }
176
- }
177
- class ThrottlingException extends DocDBElasticServiceException {
178
- name = "ThrottlingException";
179
- $fault = "client";
180
- $retryable = {};
181
- retryAfterSeconds;
182
- constructor(opts) {
183
- super({
184
- name: "ThrottlingException",
185
- $fault: "client",
186
- ...opts,
187
- });
188
- Object.setPrototypeOf(this, ThrottlingException.prototype);
189
- this.retryAfterSeconds = opts.retryAfterSeconds;
190
- }
191
- }
192
- class ValidationException extends DocDBElasticServiceException {
193
- name = "ValidationException";
194
- $fault = "client";
195
- reason;
196
- fieldList;
197
- constructor(opts) {
198
- super({
199
- name: "ValidationException",
200
- $fault: "client",
201
- ...opts,
202
- });
203
- Object.setPrototypeOf(this, ValidationException.prototype);
204
- this.reason = opts.reason;
205
- this.fieldList = opts.fieldList;
206
- }
207
- }
208
- class ServiceQuotaExceededException extends DocDBElasticServiceException {
209
- name = "ServiceQuotaExceededException";
210
- $fault = "client";
211
- constructor(opts) {
212
- super({
213
- name: "ServiceQuotaExceededException",
214
- $fault: "client",
215
- ...opts,
216
- });
217
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
218
- }
219
- }
220
-
221
- const _ADE = "AccessDeniedException";
222
- const _APMA = "ApplyPendingMaintenanceAction";
223
- const _APMAI = "ApplyPendingMaintenanceActionInput";
224
- const _APMAO = "ApplyPendingMaintenanceActionOutput";
225
- const _C = "Cluster";
226
- const _CC = "CreateCluster";
227
- const _CCI = "CreateClusterInput";
228
- const _CCO = "CreateClusterOutput";
229
- const _CCS = "CopyClusterSnapshot";
230
- const _CCSI = "CopyClusterSnapshotInput";
231
- const _CCSIr = "CreateClusterSnapshotInput";
232
- const _CCSO = "CopyClusterSnapshotOutput";
233
- const _CCSOr = "CreateClusterSnapshotOutput";
234
- const _CCSr = "CreateClusterSnapshot";
235
- const _CE = "ConflictException";
236
- const _CIL = "ClusterInList";
237
- const _CL = "ClusterList";
238
- const _CS = "ClusterSnapshot";
239
- const _CSIL = "ClusterSnapshotInList";
240
- const _CSL = "ClusterSnapshotList";
241
- const _DC = "DeleteCluster";
242
- const _DCI = "DeleteClusterInput";
243
- const _DCO = "DeleteClusterOutput";
244
- const _DCS = "DeleteClusterSnapshot";
245
- const _DCSI = "DeleteClusterSnapshotInput";
246
- const _DCSO = "DeleteClusterSnapshotOutput";
247
- const _GC = "GetCluster";
248
- const _GCI = "GetClusterInput";
249
- const _GCO = "GetClusterOutput";
250
- const _GCS = "GetClusterSnapshot";
251
- const _GCSI = "GetClusterSnapshotInput";
252
- const _GCSO = "GetClusterSnapshotOutput";
253
- const _GPMA = "GetPendingMaintenanceAction";
254
- const _GPMAI = "GetPendingMaintenanceActionInput";
255
- const _GPMAO = "GetPendingMaintenanceActionOutput";
256
- const _ISE = "InternalServerException";
257
- const _LC = "ListClusters";
258
- const _LCI = "ListClustersInput";
259
- const _LCO = "ListClustersOutput";
260
- const _LCS = "ListClusterSnapshots";
261
- const _LCSI = "ListClusterSnapshotsInput";
262
- const _LCSO = "ListClusterSnapshotsOutput";
263
- const _LPMA = "ListPendingMaintenanceActions";
264
- const _LPMAI = "ListPendingMaintenanceActionsInput";
265
- const _LPMAO = "ListPendingMaintenanceActionsOutput";
266
- const _LTFR = "ListTagsForResource";
267
- const _LTFRR = "ListTagsForResourceRequest";
268
- const _LTFRRi = "ListTagsForResourceResponse";
269
- const _P = "Password";
270
- const _PMAD = "PendingMaintenanceActionDetails";
271
- const _PMADL = "PendingMaintenanceActionDetailsList";
272
- const _RA = "Retry-After";
273
- const _RCFS = "RestoreClusterFromSnapshot";
274
- const _RCFSI = "RestoreClusterFromSnapshotInput";
275
- const _RCFSO = "RestoreClusterFromSnapshotOutput";
276
- const _RNFE = "ResourceNotFoundException";
277
- const _RPMA = "ResourcePendingMaintenanceAction";
278
- const _RPMAL = "ResourcePendingMaintenanceActionList";
279
- const _S = "Shard";
280
- const _SC = "StartCluster";
281
- const _SCI = "StartClusterInput";
282
- const _SCIt = "StopClusterInput";
283
- const _SCO = "StartClusterOutput";
284
- const _SCOt = "StopClusterOutput";
285
- const _SCt = "StopCluster";
286
- const _SL = "ShardList";
287
- const _SQEE = "ServiceQuotaExceededException";
288
- const _TE = "ThrottlingException";
289
- const _TR = "TagResource";
290
- const _TRR = "TagResourceRequest";
291
- const _TRRa = "TagResourceResponse";
292
- const _UC = "UpdateCluster";
293
- const _UCI = "UpdateClusterInput";
294
- const _UCO = "UpdateClusterOutput";
295
- const _UR = "UntagResource";
296
- const _URR = "UntagResourceRequest";
297
- const _URRn = "UntagResourceResponse";
298
- const _VE = "ValidationException";
299
- const _VEF = "ValidationExceptionField";
300
- const _VEFL = "ValidationExceptionFieldList";
301
- const _a = "action";
302
- const _aA = "applyAction";
303
- const _aAAD = "autoAppliedAfterDate";
304
- const _aO = "applyOn";
305
- const _aT = "authType";
306
- const _aUN = "adminUserName";
307
- const _aUP = "adminUserPassword";
308
- const _bRP = "backupRetentionPeriod";
309
- const _c = "client";
310
- const _cA = "clusterArn";
311
- const _cAD = "currentApplyDate";
312
- const _cCT = "clusterCreationTime";
313
- const _cE = "clusterEndpoint";
314
- const _cN = "clusterName";
315
- const _cT = "createTime";
316
- const _cTl = "clientToken";
317
- const _cTo = "copyTags";
318
- const _cl = "cluster";
319
- const _clu = "clusters";
320
- const _d = "description";
321
- const _e = "error";
322
- const _fAD = "forcedApplyDate";
323
- const _fL = "fieldList";
324
- const _h = "http";
325
- const _hE = "httpError";
326
- const _hH = "httpHeader";
327
- const _hQ = "httpQuery";
328
- const _kKI = "kmsKeyId";
329
- const _m = "message";
330
- const _mR = "maxResults";
331
- const _n = "name";
332
- const _nT = "nextToken";
333
- const _oIS = "optInStatus";
334
- const _oIT = "optInType";
335
- const _pBW = "preferredBackupWindow";
336
- const _pMAD = "pendingMaintenanceActionDetails";
337
- const _pMW = "preferredMaintenanceWindow";
338
- const _r = "reason";
339
- const _rA = "resourceArn";
340
- const _rAS = "retryAfterSeconds";
341
- const _rI = "resourceId";
342
- const _rPMA = "resourcePendingMaintenanceAction";
343
- const _rPMAe = "resourcePendingMaintenanceActions";
344
- const _rT = "resourceType";
345
- const _s = "status";
346
- const _sA = "snapshotArn";
347
- const _sC = "shardCapacity";
348
- const _sCT = "snapshotCreationTime";
349
- const _sCh = "shardCount";
350
- const _sI = "subnetIds";
351
- const _sIC = "shardInstanceCount";
352
- const _sIh = "shardId";
353
- const _sN = "snapshotName";
354
- const _sT = "snapshotType";
355
- const _se = "server";
356
- const _sh = "shards";
357
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.docdbelastic";
358
- const _sn = "snapshot";
359
- const _sna = "snapshots";
360
- const _t = "tags";
361
- const _tK = "tagKeys";
362
- const _tSN = "targetSnapshotName";
363
- const _vSGI = "vpcSecurityGroupIds";
364
- const n0 = "com.amazonaws.docdbelastic";
365
- var Password = [0, n0, _P, 8, 0];
366
- var AccessDeniedException$ = [-3, n0, _ADE,
367
- { [_e]: _c, [_hE]: 403 },
368
- [_m],
369
- [0], 1
370
- ];
371
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
372
- var ApplyPendingMaintenanceActionInput$ = [3, n0, _APMAI,
373
- 0,
374
- [_rA, _aA, _oIT, _aO],
375
- [0, 0, 0, 0], 3
376
- ];
377
- var ApplyPendingMaintenanceActionOutput$ = [3, n0, _APMAO,
378
- 0,
379
- [_rPMA],
380
- [() => ResourcePendingMaintenanceAction$], 1
381
- ];
382
- var Cluster$ = [3, n0, _C,
383
- 0,
384
- [_cN, _cA, _s, _cE, _cT, _aUN, _aT, _sC, _sCh, _vSGI, _sI, _pMW, _kKI, _sh, _bRP, _pBW, _sIC],
385
- [0, 0, 0, 0, 0, 0, 0, 1, 1, 64 | 0, 64 | 0, 0, 0, () => ShardList, 1, 0, 1], 13
386
- ];
387
- var ClusterInList$ = [3, n0, _CIL,
388
- 0,
389
- [_cN, _cA, _s],
390
- [0, 0, 0], 3
391
- ];
392
- var ClusterSnapshot$ = [3, n0, _CS,
393
- 0,
394
- [_sI, _sN, _sA, _sCT, _cA, _cCT, _s, _vSGI, _aUN, _kKI, _sT],
395
- [64 | 0, 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 0], 10
396
- ];
397
- var ClusterSnapshotInList$ = [3, n0, _CSIL,
398
- 0,
399
- [_sN, _sA, _cA, _s, _sCT],
400
- [0, 0, 0, 0, 0], 5
401
- ];
402
- var ConflictException$ = [-3, n0, _CE,
403
- { [_e]: _c, [_hE]: 409 },
404
- [_m, _rI, _rT],
405
- [0, 0, 0], 3
406
- ];
407
- schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
408
- var CopyClusterSnapshotInput$ = [3, n0, _CCSI,
409
- 0,
410
- [_sA, _tSN, _kKI, _cTo, _t],
411
- [[0, 1], 0, 0, 2, 128 | 0], 2
412
- ];
413
- var CopyClusterSnapshotOutput$ = [3, n0, _CCSO,
414
- 0,
415
- [_sn],
416
- [() => ClusterSnapshot$], 1
417
- ];
418
- var CreateClusterInput$ = [3, n0, _CCI,
419
- 0,
420
- [_cN, _aT, _aUN, _aUP, _sC, _sCh, _vSGI, _sI, _kKI, _cTl, _pMW, _t, _bRP, _pBW, _sIC],
421
- [0, 0, 0, [() => Password, 0], 1, 1, 64 | 0, 64 | 0, 0, [0, 4], 0, 128 | 0, 1, 0, 1], 6
422
- ];
423
- var CreateClusterOutput$ = [3, n0, _CCO,
424
- 0,
425
- [_cl],
426
- [() => Cluster$], 1
427
- ];
428
- var CreateClusterSnapshotInput$ = [3, n0, _CCSIr,
429
- 0,
430
- [_cA, _sN, _t],
431
- [0, 0, 128 | 0], 2
432
- ];
433
- var CreateClusterSnapshotOutput$ = [3, n0, _CCSOr,
434
- 0,
435
- [_sn],
436
- [() => ClusterSnapshot$], 1
437
- ];
438
- var DeleteClusterInput$ = [3, n0, _DCI,
439
- 0,
440
- [_cA],
441
- [[0, 1]], 1
442
- ];
443
- var DeleteClusterOutput$ = [3, n0, _DCO,
444
- 0,
445
- [_cl],
446
- [() => Cluster$], 1
447
- ];
448
- var DeleteClusterSnapshotInput$ = [3, n0, _DCSI,
449
- 0,
450
- [_sA],
451
- [[0, 1]], 1
452
- ];
453
- var DeleteClusterSnapshotOutput$ = [3, n0, _DCSO,
454
- 0,
455
- [_sn],
456
- [() => ClusterSnapshot$], 1
457
- ];
458
- var GetClusterInput$ = [3, n0, _GCI,
459
- 0,
460
- [_cA],
461
- [[0, 1]], 1
462
- ];
463
- var GetClusterOutput$ = [3, n0, _GCO,
464
- 0,
465
- [_cl],
466
- [() => Cluster$], 1
467
- ];
468
- var GetClusterSnapshotInput$ = [3, n0, _GCSI,
469
- 0,
470
- [_sA],
471
- [[0, 1]], 1
472
- ];
473
- var GetClusterSnapshotOutput$ = [3, n0, _GCSO,
474
- 0,
475
- [_sn],
476
- [() => ClusterSnapshot$], 1
477
- ];
478
- var GetPendingMaintenanceActionInput$ = [3, n0, _GPMAI,
479
- 0,
480
- [_rA],
481
- [[0, 1]], 1
482
- ];
483
- var GetPendingMaintenanceActionOutput$ = [3, n0, _GPMAO,
484
- 0,
485
- [_rPMA],
486
- [() => ResourcePendingMaintenanceAction$], 1
487
- ];
488
- var InternalServerException$ = [-3, n0, _ISE,
489
- { [_e]: _se, [_hE]: 500 },
490
- [_m],
491
- [0], 1
492
- ];
493
- schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
494
- var ListClustersInput$ = [3, n0, _LCI,
495
- 0,
496
- [_nT, _mR],
497
- [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
498
- ];
499
- var ListClusterSnapshotsInput$ = [3, n0, _LCSI,
500
- 0,
501
- [_cA, _nT, _mR, _sT],
502
- [[0, { [_hQ]: _cA }], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _sT }]]
503
- ];
504
- var ListClusterSnapshotsOutput$ = [3, n0, _LCSO,
505
- 0,
506
- [_sna, _nT],
507
- [() => ClusterSnapshotList, 0]
508
- ];
509
- var ListClustersOutput$ = [3, n0, _LCO,
510
- 0,
511
- [_clu, _nT],
512
- [() => ClusterList, 0]
513
- ];
514
- var ListPendingMaintenanceActionsInput$ = [3, n0, _LPMAI,
515
- 0,
516
- [_nT, _mR],
517
- [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
518
- ];
519
- var ListPendingMaintenanceActionsOutput$ = [3, n0, _LPMAO,
520
- 0,
521
- [_rPMAe, _nT],
522
- [() => ResourcePendingMaintenanceActionList, 0], 1
523
- ];
524
- var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
525
- 0,
526
- [_rA],
527
- [[0, 1]], 1
528
- ];
529
- var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
530
- 0,
531
- [_t],
532
- [128 | 0]
533
- ];
534
- var PendingMaintenanceActionDetails$ = [3, n0, _PMAD,
535
- 0,
536
- [_a, _aAAD, _fAD, _oIS, _cAD, _d],
537
- [0, 0, 0, 0, 0, 0], 1
538
- ];
539
- var ResourceNotFoundException$ = [-3, n0, _RNFE,
540
- { [_e]: _c, [_hE]: 404 },
541
- [_m, _rI, _rT],
542
- [0, 0, 0], 3
543
- ];
544
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
545
- var ResourcePendingMaintenanceAction$ = [3, n0, _RPMA,
546
- 0,
547
- [_rA, _pMAD],
548
- [0, () => PendingMaintenanceActionDetailsList]
549
- ];
550
- var RestoreClusterFromSnapshotInput$ = [3, n0, _RCFSI,
551
- 0,
552
- [_cN, _sA, _vSGI, _sI, _kKI, _t, _sC, _sIC],
553
- [0, [0, 1], 64 | 0, 64 | 0, 0, 128 | 0, 1, 1], 2
554
- ];
555
- var RestoreClusterFromSnapshotOutput$ = [3, n0, _RCFSO,
556
- 0,
557
- [_cl],
558
- [() => Cluster$], 1
559
- ];
560
- var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
561
- { [_e]: _c, [_hE]: 402 },
562
- [_m],
563
- [0], 1
564
- ];
565
- schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
566
- var Shard$ = [3, n0, _S,
567
- 0,
568
- [_sIh, _cT, _s],
569
- [0, 0, 0], 3
570
- ];
571
- var StartClusterInput$ = [3, n0, _SCI,
572
- 0,
573
- [_cA],
574
- [[0, 1]], 1
575
- ];
576
- var StartClusterOutput$ = [3, n0, _SCO,
577
- 0,
578
- [_cl],
579
- [() => Cluster$], 1
580
- ];
581
- var StopClusterInput$ = [3, n0, _SCIt,
582
- 0,
583
- [_cA],
584
- [[0, 1]], 1
585
- ];
586
- var StopClusterOutput$ = [3, n0, _SCOt,
587
- 0,
588
- [_cl],
589
- [() => Cluster$], 1
590
- ];
591
- var TagResourceRequest$ = [3, n0, _TRR,
592
- 0,
593
- [_rA, _t],
594
- [[0, 1], 128 | 0], 2
595
- ];
596
- var TagResourceResponse$ = [3, n0, _TRRa,
597
- 0,
598
- [],
599
- []
600
- ];
601
- var ThrottlingException$ = [-3, n0, _TE,
602
- { [_e]: _c, [_hE]: 429 },
603
- [_m, _rAS],
604
- [0, [1, { [_hH]: _RA }]], 1
605
- ];
606
- schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
607
- var UntagResourceRequest$ = [3, n0, _URR,
608
- 0,
609
- [_rA, _tK],
610
- [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
611
- ];
612
- var UntagResourceResponse$ = [3, n0, _URRn,
613
- 0,
614
- [],
615
- []
616
- ];
617
- var UpdateClusterInput$ = [3, n0, _UCI,
618
- 0,
619
- [_cA, _aT, _sC, _sCh, _vSGI, _sI, _aUP, _cTl, _pMW, _bRP, _pBW, _sIC],
620
- [[0, 1], 0, 1, 1, 64 | 0, 64 | 0, [() => Password, 0], [0, 4], 0, 1, 0, 1], 1
621
- ];
622
- var UpdateClusterOutput$ = [3, n0, _UCO,
623
- 0,
624
- [_cl],
625
- [() => Cluster$], 1
626
- ];
627
- var ValidationException$ = [-3, n0, _VE,
628
- { [_e]: _c, [_hE]: 400 },
629
- [_m, _r, _fL],
630
- [0, 0, () => ValidationExceptionFieldList], 2
631
- ];
632
- schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
633
- var ValidationExceptionField$ = [3, n0, _VEF,
634
- 0,
635
- [_n, _m],
636
- [0, 0], 2
637
- ];
638
- var DocDBElasticServiceException$ = [-3, _sm, "DocDBElasticServiceException", 0, [], []];
639
- schema.TypeRegistry.for(_sm).registerError(DocDBElasticServiceException$, DocDBElasticServiceException);
640
- var ClusterList = [1, n0, _CL,
641
- 0, () => ClusterInList$
642
- ];
643
- var ClusterSnapshotList = [1, n0, _CSL,
644
- 0, () => ClusterSnapshotInList$
645
- ];
646
- var PendingMaintenanceActionDetailsList = [1, n0, _PMADL,
647
- 0, () => PendingMaintenanceActionDetails$
648
- ];
649
- var ResourcePendingMaintenanceActionList = [1, n0, _RPMAL,
650
- 0, () => ResourcePendingMaintenanceAction$
651
- ];
652
- var ShardList = [1, n0, _SL,
653
- 0, () => Shard$
654
- ];
655
- var ValidationExceptionFieldList = [1, n0, _VEFL,
656
- 0, () => ValidationExceptionField$
657
- ];
658
- var ApplyPendingMaintenanceAction$ = [9, n0, _APMA,
659
- { [_h]: ["POST", "/pending-action", 200] }, () => ApplyPendingMaintenanceActionInput$, () => ApplyPendingMaintenanceActionOutput$
660
- ];
661
- var CopyClusterSnapshot$ = [9, n0, _CCS,
662
- { [_h]: ["POST", "/cluster-snapshot/{snapshotArn}/copy", 200] }, () => CopyClusterSnapshotInput$, () => CopyClusterSnapshotOutput$
663
- ];
664
- var CreateCluster$ = [9, n0, _CC,
665
- { [_h]: ["POST", "/cluster", 200] }, () => CreateClusterInput$, () => CreateClusterOutput$
666
- ];
667
- var CreateClusterSnapshot$ = [9, n0, _CCSr,
668
- { [_h]: ["POST", "/cluster-snapshot", 200] }, () => CreateClusterSnapshotInput$, () => CreateClusterSnapshotOutput$
669
- ];
670
- var DeleteCluster$ = [9, n0, _DC,
671
- { [_h]: ["DELETE", "/cluster/{clusterArn}", 200] }, () => DeleteClusterInput$, () => DeleteClusterOutput$
672
- ];
673
- var DeleteClusterSnapshot$ = [9, n0, _DCS,
674
- { [_h]: ["DELETE", "/cluster-snapshot/{snapshotArn}", 200] }, () => DeleteClusterSnapshotInput$, () => DeleteClusterSnapshotOutput$
675
- ];
676
- var GetCluster$ = [9, n0, _GC,
677
- { [_h]: ["GET", "/cluster/{clusterArn}", 200] }, () => GetClusterInput$, () => GetClusterOutput$
678
- ];
679
- var GetClusterSnapshot$ = [9, n0, _GCS,
680
- { [_h]: ["GET", "/cluster-snapshot/{snapshotArn}", 200] }, () => GetClusterSnapshotInput$, () => GetClusterSnapshotOutput$
681
- ];
682
- var GetPendingMaintenanceAction$ = [9, n0, _GPMA,
683
- { [_h]: ["GET", "/pending-action/{resourceArn}", 200] }, () => GetPendingMaintenanceActionInput$, () => GetPendingMaintenanceActionOutput$
684
- ];
685
- var ListClusters$ = [9, n0, _LC,
686
- { [_h]: ["GET", "/clusters", 200] }, () => ListClustersInput$, () => ListClustersOutput$
687
- ];
688
- var ListClusterSnapshots$ = [9, n0, _LCS,
689
- { [_h]: ["GET", "/cluster-snapshots", 200] }, () => ListClusterSnapshotsInput$, () => ListClusterSnapshotsOutput$
690
- ];
691
- var ListPendingMaintenanceActions$ = [9, n0, _LPMA,
692
- { [_h]: ["GET", "/pending-actions", 200] }, () => ListPendingMaintenanceActionsInput$, () => ListPendingMaintenanceActionsOutput$
693
- ];
694
- var ListTagsForResource$ = [9, n0, _LTFR,
695
- { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
696
- ];
697
- var RestoreClusterFromSnapshot$ = [9, n0, _RCFS,
698
- { [_h]: ["POST", "/cluster-snapshot/{snapshotArn}/restore", 200] }, () => RestoreClusterFromSnapshotInput$, () => RestoreClusterFromSnapshotOutput$
699
- ];
700
- var StartCluster$ = [9, n0, _SC,
701
- { [_h]: ["POST", "/cluster/{clusterArn}/start", 200] }, () => StartClusterInput$, () => StartClusterOutput$
702
- ];
703
- var StopCluster$ = [9, n0, _SCt,
704
- { [_h]: ["POST", "/cluster/{clusterArn}/stop", 200] }, () => StopClusterInput$, () => StopClusterOutput$
705
- ];
706
- var TagResource$ = [9, n0, _TR,
707
- { [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
708
- ];
709
- var UntagResource$ = [9, n0, _UR,
710
- { [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
711
- ];
712
- var UpdateCluster$ = [9, n0, _UC,
713
- { [_h]: ["PUT", "/cluster/{clusterArn}", 200] }, () => UpdateClusterInput$, () => UpdateClusterOutput$
714
- ];
715
-
716
116
  class ApplyPendingMaintenanceActionCommand extends smithyClient.Command
717
117
  .classBuilder()
718
118
  .ep(commonParams)
@@ -721,7 +121,7 @@ class ApplyPendingMaintenanceActionCommand extends smithyClient.Command
721
121
  })
722
122
  .s("ChimeraDbLionfishServiceLambda", "ApplyPendingMaintenanceAction", {})
723
123
  .n("DocDBElasticClient", "ApplyPendingMaintenanceActionCommand")
724
- .sc(ApplyPendingMaintenanceAction$)
124
+ .sc(schemas_0.ApplyPendingMaintenanceAction$)
725
125
  .build() {
726
126
  }
727
127
 
@@ -733,7 +133,7 @@ class CopyClusterSnapshotCommand extends smithyClient.Command
733
133
  })
734
134
  .s("ChimeraDbLionfishServiceLambda", "CopyClusterSnapshot", {})
735
135
  .n("DocDBElasticClient", "CopyClusterSnapshotCommand")
736
- .sc(CopyClusterSnapshot$)
136
+ .sc(schemas_0.CopyClusterSnapshot$)
737
137
  .build() {
738
138
  }
739
139
 
@@ -745,7 +145,7 @@ class CreateClusterCommand extends smithyClient.Command
745
145
  })
746
146
  .s("ChimeraDbLionfishServiceLambda", "CreateCluster", {})
747
147
  .n("DocDBElasticClient", "CreateClusterCommand")
748
- .sc(CreateCluster$)
148
+ .sc(schemas_0.CreateCluster$)
749
149
  .build() {
750
150
  }
751
151
 
@@ -757,7 +157,7 @@ class CreateClusterSnapshotCommand extends smithyClient.Command
757
157
  })
758
158
  .s("ChimeraDbLionfishServiceLambda", "CreateClusterSnapshot", {})
759
159
  .n("DocDBElasticClient", "CreateClusterSnapshotCommand")
760
- .sc(CreateClusterSnapshot$)
160
+ .sc(schemas_0.CreateClusterSnapshot$)
761
161
  .build() {
762
162
  }
763
163
 
@@ -769,7 +169,7 @@ class DeleteClusterCommand extends smithyClient.Command
769
169
  })
770
170
  .s("ChimeraDbLionfishServiceLambda", "DeleteCluster", {})
771
171
  .n("DocDBElasticClient", "DeleteClusterCommand")
772
- .sc(DeleteCluster$)
172
+ .sc(schemas_0.DeleteCluster$)
773
173
  .build() {
774
174
  }
775
175
 
@@ -781,7 +181,7 @@ class DeleteClusterSnapshotCommand extends smithyClient.Command
781
181
  })
782
182
  .s("ChimeraDbLionfishServiceLambda", "DeleteClusterSnapshot", {})
783
183
  .n("DocDBElasticClient", "DeleteClusterSnapshotCommand")
784
- .sc(DeleteClusterSnapshot$)
184
+ .sc(schemas_0.DeleteClusterSnapshot$)
785
185
  .build() {
786
186
  }
787
187
 
@@ -793,7 +193,7 @@ class GetClusterCommand extends smithyClient.Command
793
193
  })
794
194
  .s("ChimeraDbLionfishServiceLambda", "GetCluster", {})
795
195
  .n("DocDBElasticClient", "GetClusterCommand")
796
- .sc(GetCluster$)
196
+ .sc(schemas_0.GetCluster$)
797
197
  .build() {
798
198
  }
799
199
 
@@ -805,7 +205,7 @@ class GetClusterSnapshotCommand extends smithyClient.Command
805
205
  })
806
206
  .s("ChimeraDbLionfishServiceLambda", "GetClusterSnapshot", {})
807
207
  .n("DocDBElasticClient", "GetClusterSnapshotCommand")
808
- .sc(GetClusterSnapshot$)
208
+ .sc(schemas_0.GetClusterSnapshot$)
809
209
  .build() {
810
210
  }
811
211
 
@@ -817,7 +217,7 @@ class GetPendingMaintenanceActionCommand extends smithyClient.Command
817
217
  })
818
218
  .s("ChimeraDbLionfishServiceLambda", "GetPendingMaintenanceAction", {})
819
219
  .n("DocDBElasticClient", "GetPendingMaintenanceActionCommand")
820
- .sc(GetPendingMaintenanceAction$)
220
+ .sc(schemas_0.GetPendingMaintenanceAction$)
821
221
  .build() {
822
222
  }
823
223
 
@@ -829,7 +229,7 @@ class ListClustersCommand extends smithyClient.Command
829
229
  })
830
230
  .s("ChimeraDbLionfishServiceLambda", "ListClusters", {})
831
231
  .n("DocDBElasticClient", "ListClustersCommand")
832
- .sc(ListClusters$)
232
+ .sc(schemas_0.ListClusters$)
833
233
  .build() {
834
234
  }
835
235
 
@@ -841,7 +241,7 @@ class ListClusterSnapshotsCommand extends smithyClient.Command
841
241
  })
842
242
  .s("ChimeraDbLionfishServiceLambda", "ListClusterSnapshots", {})
843
243
  .n("DocDBElasticClient", "ListClusterSnapshotsCommand")
844
- .sc(ListClusterSnapshots$)
244
+ .sc(schemas_0.ListClusterSnapshots$)
845
245
  .build() {
846
246
  }
847
247
 
@@ -853,7 +253,7 @@ class ListPendingMaintenanceActionsCommand extends smithyClient.Command
853
253
  })
854
254
  .s("ChimeraDbLionfishServiceLambda", "ListPendingMaintenanceActions", {})
855
255
  .n("DocDBElasticClient", "ListPendingMaintenanceActionsCommand")
856
- .sc(ListPendingMaintenanceActions$)
256
+ .sc(schemas_0.ListPendingMaintenanceActions$)
857
257
  .build() {
858
258
  }
859
259
 
@@ -865,7 +265,7 @@ class ListTagsForResourceCommand extends smithyClient.Command
865
265
  })
866
266
  .s("ChimeraDbLionfishServiceLambda", "ListTagsForResource", {})
867
267
  .n("DocDBElasticClient", "ListTagsForResourceCommand")
868
- .sc(ListTagsForResource$)
268
+ .sc(schemas_0.ListTagsForResource$)
869
269
  .build() {
870
270
  }
871
271
 
@@ -877,7 +277,7 @@ class RestoreClusterFromSnapshotCommand extends smithyClient.Command
877
277
  })
878
278
  .s("ChimeraDbLionfishServiceLambda", "RestoreClusterFromSnapshot", {})
879
279
  .n("DocDBElasticClient", "RestoreClusterFromSnapshotCommand")
880
- .sc(RestoreClusterFromSnapshot$)
280
+ .sc(schemas_0.RestoreClusterFromSnapshot$)
881
281
  .build() {
882
282
  }
883
283
 
@@ -889,7 +289,7 @@ class StartClusterCommand extends smithyClient.Command
889
289
  })
890
290
  .s("ChimeraDbLionfishServiceLambda", "StartCluster", {})
891
291
  .n("DocDBElasticClient", "StartClusterCommand")
892
- .sc(StartCluster$)
292
+ .sc(schemas_0.StartCluster$)
893
293
  .build() {
894
294
  }
895
295
 
@@ -901,7 +301,7 @@ class StopClusterCommand extends smithyClient.Command
901
301
  })
902
302
  .s("ChimeraDbLionfishServiceLambda", "StopCluster", {})
903
303
  .n("DocDBElasticClient", "StopClusterCommand")
904
- .sc(StopCluster$)
304
+ .sc(schemas_0.StopCluster$)
905
305
  .build() {
906
306
  }
907
307
 
@@ -913,7 +313,7 @@ class TagResourceCommand extends smithyClient.Command
913
313
  })
914
314
  .s("ChimeraDbLionfishServiceLambda", "TagResource", {})
915
315
  .n("DocDBElasticClient", "TagResourceCommand")
916
- .sc(TagResource$)
316
+ .sc(schemas_0.TagResource$)
917
317
  .build() {
918
318
  }
919
319
 
@@ -925,7 +325,7 @@ class UntagResourceCommand extends smithyClient.Command
925
325
  })
926
326
  .s("ChimeraDbLionfishServiceLambda", "UntagResource", {})
927
327
  .n("DocDBElasticClient", "UntagResourceCommand")
928
- .sc(UntagResource$)
328
+ .sc(schemas_0.UntagResource$)
929
329
  .build() {
930
330
  }
931
331
 
@@ -937,7 +337,7 @@ class UpdateClusterCommand extends smithyClient.Command
937
337
  })
938
338
  .s("ChimeraDbLionfishServiceLambda", "UpdateCluster", {})
939
339
  .n("DocDBElasticClient", "UpdateClusterCommand")
940
- .sc(UpdateCluster$)
340
+ .sc(schemas_0.UpdateCluster$)
941
341
  .build() {
942
342
  }
943
343
 
@@ -1029,113 +429,48 @@ Object.defineProperty(exports, "__Client", {
1029
429
  enumerable: true,
1030
430
  get: function () { return smithyClient.Client; }
1031
431
  });
1032
- exports.AccessDeniedException = AccessDeniedException;
1033
- exports.AccessDeniedException$ = AccessDeniedException$;
1034
- exports.ApplyPendingMaintenanceAction$ = ApplyPendingMaintenanceAction$;
432
+ Object.defineProperty(exports, "DocDBElasticServiceException", {
433
+ enumerable: true,
434
+ get: function () { return DocDBElasticServiceException.DocDBElasticServiceException; }
435
+ });
1035
436
  exports.ApplyPendingMaintenanceActionCommand = ApplyPendingMaintenanceActionCommand;
1036
- exports.ApplyPendingMaintenanceActionInput$ = ApplyPendingMaintenanceActionInput$;
1037
- exports.ApplyPendingMaintenanceActionOutput$ = ApplyPendingMaintenanceActionOutput$;
1038
437
  exports.Auth = Auth;
1039
- exports.Cluster$ = Cluster$;
1040
- exports.ClusterInList$ = ClusterInList$;
1041
- exports.ClusterSnapshot$ = ClusterSnapshot$;
1042
- exports.ClusterSnapshotInList$ = ClusterSnapshotInList$;
1043
- exports.ConflictException = ConflictException;
1044
- exports.ConflictException$ = ConflictException$;
1045
- exports.CopyClusterSnapshot$ = CopyClusterSnapshot$;
1046
438
  exports.CopyClusterSnapshotCommand = CopyClusterSnapshotCommand;
1047
- exports.CopyClusterSnapshotInput$ = CopyClusterSnapshotInput$;
1048
- exports.CopyClusterSnapshotOutput$ = CopyClusterSnapshotOutput$;
1049
- exports.CreateCluster$ = CreateCluster$;
1050
439
  exports.CreateClusterCommand = CreateClusterCommand;
1051
- exports.CreateClusterInput$ = CreateClusterInput$;
1052
- exports.CreateClusterOutput$ = CreateClusterOutput$;
1053
- exports.CreateClusterSnapshot$ = CreateClusterSnapshot$;
1054
440
  exports.CreateClusterSnapshotCommand = CreateClusterSnapshotCommand;
1055
- exports.CreateClusterSnapshotInput$ = CreateClusterSnapshotInput$;
1056
- exports.CreateClusterSnapshotOutput$ = CreateClusterSnapshotOutput$;
1057
- exports.DeleteCluster$ = DeleteCluster$;
1058
441
  exports.DeleteClusterCommand = DeleteClusterCommand;
1059
- exports.DeleteClusterInput$ = DeleteClusterInput$;
1060
- exports.DeleteClusterOutput$ = DeleteClusterOutput$;
1061
- exports.DeleteClusterSnapshot$ = DeleteClusterSnapshot$;
1062
442
  exports.DeleteClusterSnapshotCommand = DeleteClusterSnapshotCommand;
1063
- exports.DeleteClusterSnapshotInput$ = DeleteClusterSnapshotInput$;
1064
- exports.DeleteClusterSnapshotOutput$ = DeleteClusterSnapshotOutput$;
1065
443
  exports.DocDBElastic = DocDBElastic;
1066
444
  exports.DocDBElasticClient = DocDBElasticClient;
1067
- exports.DocDBElasticServiceException = DocDBElasticServiceException;
1068
- exports.DocDBElasticServiceException$ = DocDBElasticServiceException$;
1069
- exports.GetCluster$ = GetCluster$;
1070
445
  exports.GetClusterCommand = GetClusterCommand;
1071
- exports.GetClusterInput$ = GetClusterInput$;
1072
- exports.GetClusterOutput$ = GetClusterOutput$;
1073
- exports.GetClusterSnapshot$ = GetClusterSnapshot$;
1074
446
  exports.GetClusterSnapshotCommand = GetClusterSnapshotCommand;
1075
- exports.GetClusterSnapshotInput$ = GetClusterSnapshotInput$;
1076
- exports.GetClusterSnapshotOutput$ = GetClusterSnapshotOutput$;
1077
- exports.GetPendingMaintenanceAction$ = GetPendingMaintenanceAction$;
1078
447
  exports.GetPendingMaintenanceActionCommand = GetPendingMaintenanceActionCommand;
1079
- exports.GetPendingMaintenanceActionInput$ = GetPendingMaintenanceActionInput$;
1080
- exports.GetPendingMaintenanceActionOutput$ = GetPendingMaintenanceActionOutput$;
1081
- exports.InternalServerException = InternalServerException;
1082
- exports.InternalServerException$ = InternalServerException$;
1083
- exports.ListClusterSnapshots$ = ListClusterSnapshots$;
1084
448
  exports.ListClusterSnapshotsCommand = ListClusterSnapshotsCommand;
1085
- exports.ListClusterSnapshotsInput$ = ListClusterSnapshotsInput$;
1086
- exports.ListClusterSnapshotsOutput$ = ListClusterSnapshotsOutput$;
1087
- exports.ListClusters$ = ListClusters$;
1088
449
  exports.ListClustersCommand = ListClustersCommand;
1089
- exports.ListClustersInput$ = ListClustersInput$;
1090
- exports.ListClustersOutput$ = ListClustersOutput$;
1091
- exports.ListPendingMaintenanceActions$ = ListPendingMaintenanceActions$;
1092
450
  exports.ListPendingMaintenanceActionsCommand = ListPendingMaintenanceActionsCommand;
1093
- exports.ListPendingMaintenanceActionsInput$ = ListPendingMaintenanceActionsInput$;
1094
- exports.ListPendingMaintenanceActionsOutput$ = ListPendingMaintenanceActionsOutput$;
1095
- exports.ListTagsForResource$ = ListTagsForResource$;
1096
451
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1097
- exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
1098
- exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
1099
452
  exports.OptInType = OptInType;
1100
- exports.PendingMaintenanceActionDetails$ = PendingMaintenanceActionDetails$;
1101
- exports.ResourceNotFoundException = ResourceNotFoundException;
1102
- exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1103
- exports.ResourcePendingMaintenanceAction$ = ResourcePendingMaintenanceAction$;
1104
- exports.RestoreClusterFromSnapshot$ = RestoreClusterFromSnapshot$;
1105
453
  exports.RestoreClusterFromSnapshotCommand = RestoreClusterFromSnapshotCommand;
1106
- exports.RestoreClusterFromSnapshotInput$ = RestoreClusterFromSnapshotInput$;
1107
- exports.RestoreClusterFromSnapshotOutput$ = RestoreClusterFromSnapshotOutput$;
1108
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1109
- exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
1110
- exports.Shard$ = Shard$;
1111
454
  exports.SnapshotType = SnapshotType;
1112
- exports.StartCluster$ = StartCluster$;
1113
455
  exports.StartClusterCommand = StartClusterCommand;
1114
- exports.StartClusterInput$ = StartClusterInput$;
1115
- exports.StartClusterOutput$ = StartClusterOutput$;
1116
456
  exports.Status = Status;
1117
- exports.StopCluster$ = StopCluster$;
1118
457
  exports.StopClusterCommand = StopClusterCommand;
1119
- exports.StopClusterInput$ = StopClusterInput$;
1120
- exports.StopClusterOutput$ = StopClusterOutput$;
1121
- exports.TagResource$ = TagResource$;
1122
458
  exports.TagResourceCommand = TagResourceCommand;
1123
- exports.TagResourceRequest$ = TagResourceRequest$;
1124
- exports.TagResourceResponse$ = TagResourceResponse$;
1125
- exports.ThrottlingException = ThrottlingException;
1126
- exports.ThrottlingException$ = ThrottlingException$;
1127
- exports.UntagResource$ = UntagResource$;
1128
459
  exports.UntagResourceCommand = UntagResourceCommand;
1129
- exports.UntagResourceRequest$ = UntagResourceRequest$;
1130
- exports.UntagResourceResponse$ = UntagResourceResponse$;
1131
- exports.UpdateCluster$ = UpdateCluster$;
1132
460
  exports.UpdateClusterCommand = UpdateClusterCommand;
1133
- exports.UpdateClusterInput$ = UpdateClusterInput$;
1134
- exports.UpdateClusterOutput$ = UpdateClusterOutput$;
1135
- exports.ValidationException = ValidationException;
1136
- exports.ValidationException$ = ValidationException$;
1137
- exports.ValidationExceptionField$ = ValidationExceptionField$;
1138
461
  exports.ValidationExceptionReason = ValidationExceptionReason;
1139
462
  exports.paginateListClusterSnapshots = paginateListClusterSnapshots;
1140
463
  exports.paginateListClusters = paginateListClusters;
1141
464
  exports.paginateListPendingMaintenanceActions = paginateListPendingMaintenanceActions;
465
+ Object.keys(schemas_0).forEach(function (k) {
466
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
467
+ enumerable: true,
468
+ get: function () { return schemas_0[k]; }
469
+ });
470
+ });
471
+ Object.keys(errors).forEach(function (k) {
472
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
473
+ enumerable: true,
474
+ get: function () { return errors[k]; }
475
+ });
476
+ });