@aws-sdk/client-docdb-elastic 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.
Files changed (43) hide show
  1. package/dist-cjs/index.js +729 -830
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/DocDBElasticClient.js +2 -0
  4. package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +3 -9
  5. package/dist-es/commands/CopyClusterSnapshotCommand.js +3 -9
  6. package/dist-es/commands/CreateClusterCommand.js +3 -10
  7. package/dist-es/commands/CreateClusterSnapshotCommand.js +3 -9
  8. package/dist-es/commands/DeleteClusterCommand.js +3 -9
  9. package/dist-es/commands/DeleteClusterSnapshotCommand.js +3 -9
  10. package/dist-es/commands/GetClusterCommand.js +3 -9
  11. package/dist-es/commands/GetClusterSnapshotCommand.js +3 -9
  12. package/dist-es/commands/GetPendingMaintenanceActionCommand.js +3 -9
  13. package/dist-es/commands/ListClusterSnapshotsCommand.js +3 -9
  14. package/dist-es/commands/ListClustersCommand.js +3 -9
  15. package/dist-es/commands/ListPendingMaintenanceActionsCommand.js +3 -9
  16. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  17. package/dist-es/commands/RestoreClusterFromSnapshotCommand.js +3 -9
  18. package/dist-es/commands/StartClusterCommand.js +3 -9
  19. package/dist-es/commands/StopClusterCommand.js +3 -9
  20. package/dist-es/commands/TagResourceCommand.js +3 -9
  21. package/dist-es/commands/UntagResourceCommand.js +3 -9
  22. package/dist-es/commands/UpdateClusterCommand.js +3 -10
  23. package/dist-es/models/models_0.js +0 -9
  24. package/dist-es/runtimeConfig.shared.js +2 -0
  25. package/dist-es/schemas/schemas_0.js +677 -0
  26. package/dist-types/DocDBElasticClient.d.ts +10 -1
  27. package/dist-types/models/models_0.d.ts +0 -8
  28. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  29. package/dist-types/runtimeConfig.d.ts +1 -0
  30. package/dist-types/runtimeConfig.native.d.ts +1 -0
  31. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  32. package/dist-types/schemas/schemas_0.d.ts +84 -0
  33. package/dist-types/ts3.4/DocDBElasticClient.d.ts +4 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +0 -6
  35. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  36. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  37. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  38. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  39. package/dist-types/ts3.4/schemas/schemas_0.d.ts +90 -0
  40. package/package.json +5 -6
  41. package/dist-es/protocols/Aws_restJson1.js +0 -673
  42. package/dist-types/protocols/Aws_restJson1.d.ts +0 -173
  43. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -233
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,9 +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
- var uuid = require('@smithy/uuid');
20
18
 
21
19
  const resolveClientEndpointParameters = (options) => {
22
20
  return Object.assign(options, {
@@ -92,6 +90,7 @@ class DocDBElasticClient extends smithyClient.Client {
92
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
93
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
94
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
95
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -111,14 +110,14 @@ class DocDBElasticClient extends smithyClient.Client {
111
110
  }
112
111
  }
113
112
 
114
- class DocDBElasticServiceException extends smithyClient.ServiceException {
113
+ let DocDBElasticServiceException$1 = class DocDBElasticServiceException extends smithyClient.ServiceException {
115
114
  constructor(options) {
116
115
  super(options);
117
116
  Object.setPrototypeOf(this, DocDBElasticServiceException.prototype);
118
117
  }
119
- }
118
+ };
120
119
 
121
- class AccessDeniedException extends DocDBElasticServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends DocDBElasticServiceException$1 {
122
121
  name = "AccessDeniedException";
123
122
  $fault = "client";
124
123
  constructor(opts) {
@@ -129,14 +128,14 @@ class AccessDeniedException extends DocDBElasticServiceException {
129
128
  });
130
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
130
  }
132
- }
131
+ };
133
132
  const OptInType = {
134
133
  APPLY_ON: "APPLY_ON",
135
134
  IMMEDIATE: "IMMEDIATE",
136
135
  NEXT_MAINTENANCE: "NEXT_MAINTENANCE",
137
136
  UNDO_OPT_IN: "UNDO_OPT_IN",
138
137
  };
139
- class ConflictException extends DocDBElasticServiceException {
138
+ let ConflictException$1 = class ConflictException extends DocDBElasticServiceException$1 {
140
139
  name = "ConflictException";
141
140
  $fault = "client";
142
141
  resourceId;
@@ -151,8 +150,8 @@ class ConflictException extends DocDBElasticServiceException {
151
150
  this.resourceId = opts.resourceId;
152
151
  this.resourceType = opts.resourceType;
153
152
  }
154
- }
155
- class InternalServerException extends DocDBElasticServiceException {
153
+ };
154
+ let InternalServerException$1 = class InternalServerException extends DocDBElasticServiceException$1 {
156
155
  name = "InternalServerException";
157
156
  $fault = "server";
158
157
  $retryable = {};
@@ -164,8 +163,8 @@ class InternalServerException extends DocDBElasticServiceException {
164
163
  });
165
164
  Object.setPrototypeOf(this, InternalServerException.prototype);
166
165
  }
167
- }
168
- class ResourceNotFoundException extends DocDBElasticServiceException {
166
+ };
167
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends DocDBElasticServiceException$1 {
169
168
  name = "ResourceNotFoundException";
170
169
  $fault = "client";
171
170
  resourceId;
@@ -180,8 +179,8 @@ class ResourceNotFoundException extends DocDBElasticServiceException {
180
179
  this.resourceId = opts.resourceId;
181
180
  this.resourceType = opts.resourceType;
182
181
  }
183
- }
184
- class ThrottlingException extends DocDBElasticServiceException {
182
+ };
183
+ let ThrottlingException$1 = class ThrottlingException extends DocDBElasticServiceException$1 {
185
184
  name = "ThrottlingException";
186
185
  $fault = "client";
187
186
  $retryable = {};
@@ -195,14 +194,14 @@ class ThrottlingException extends DocDBElasticServiceException {
195
194
  Object.setPrototypeOf(this, ThrottlingException.prototype);
196
195
  this.retryAfterSeconds = opts.retryAfterSeconds;
197
196
  }
198
- }
197
+ };
199
198
  const ValidationExceptionReason = {
200
199
  CANNOT_PARSE: "cannotParse",
201
200
  FIELD_VALIDATION_FAILED: "fieldValidationFailed",
202
201
  OTHER: "other",
203
202
  UNKNOWN_OPERATION: "unknownOperation",
204
203
  };
205
- class ValidationException extends DocDBElasticServiceException {
204
+ let ValidationException$1 = class ValidationException extends DocDBElasticServiceException$1 {
206
205
  name = "ValidationException";
207
206
  $fault = "client";
208
207
  reason;
@@ -217,7 +216,7 @@ class ValidationException extends DocDBElasticServiceException {
217
216
  this.reason = opts.reason;
218
217
  this.fieldList = opts.fieldList;
219
218
  }
220
- }
219
+ };
221
220
  const Auth = {
222
221
  PLAIN_TEXT: "PLAIN_TEXT",
223
222
  SECRET_ARN: "SECRET_ARN",
@@ -249,7 +248,7 @@ const Status = {
249
248
  UPDATING: "UPDATING",
250
249
  VPC_ENDPOINT_LIMIT_EXCEEDED: "VPC_ENDPOINT_LIMIT_EXCEEDED",
251
250
  };
252
- class ServiceQuotaExceededException extends DocDBElasticServiceException {
251
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends DocDBElasticServiceException$1 {
253
252
  name = "ServiceQuotaExceededException";
254
253
  $fault = "client";
255
254
  constructor(opts) {
@@ -260,697 +259,689 @@ class ServiceQuotaExceededException extends DocDBElasticServiceException {
260
259
  });
261
260
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
262
261
  }
263
- }
264
- const CreateClusterInputFilterSensitiveLog = (obj) => ({
265
- ...obj,
266
- ...(obj.adminUserPassword && { adminUserPassword: smithyClient.SENSITIVE_STRING }),
267
- });
268
- const UpdateClusterInputFilterSensitiveLog = (obj) => ({
269
- ...obj,
270
- ...(obj.adminUserPassword && { adminUserPassword: smithyClient.SENSITIVE_STRING }),
271
- });
272
-
273
- const se_ApplyPendingMaintenanceActionCommand = async (input, context) => {
274
- const b = core.requestBuilder(input, context);
275
- const headers = {
276
- "content-type": "application/json",
277
- };
278
- b.bp("/pending-action");
279
- let body;
280
- body = JSON.stringify(smithyClient.take(input, {
281
- applyAction: [],
282
- applyOn: [],
283
- optInType: [],
284
- resourceArn: [],
285
- }));
286
- b.m("POST").h(headers).b(body);
287
- return b.build();
288
- };
289
- const se_CopyClusterSnapshotCommand = async (input, context) => {
290
- const b = core.requestBuilder(input, context);
291
- const headers = {
292
- "content-type": "application/json",
293
- };
294
- b.bp("/cluster-snapshot/{snapshotArn}/copy");
295
- b.p("snapshotArn", () => input.snapshotArn, "{snapshotArn}", false);
296
- let body;
297
- body = JSON.stringify(smithyClient.take(input, {
298
- copyTags: [],
299
- kmsKeyId: [],
300
- tags: (_) => smithyClient._json(_),
301
- targetSnapshotName: [],
302
- }));
303
- b.m("POST").h(headers).b(body);
304
- return b.build();
305
- };
306
- const se_CreateClusterCommand = async (input, context) => {
307
- const b = core.requestBuilder(input, context);
308
- const headers = {
309
- "content-type": "application/json",
310
- };
311
- b.bp("/cluster");
312
- let body;
313
- body = JSON.stringify(smithyClient.take(input, {
314
- adminUserName: [],
315
- adminUserPassword: [],
316
- authType: [],
317
- backupRetentionPeriod: [],
318
- clientToken: [true, (_) => _ ?? uuid.v4()],
319
- clusterName: [],
320
- kmsKeyId: [],
321
- preferredBackupWindow: [],
322
- preferredMaintenanceWindow: [],
323
- shardCapacity: [],
324
- shardCount: [],
325
- shardInstanceCount: [],
326
- subnetIds: (_) => smithyClient._json(_),
327
- tags: (_) => smithyClient._json(_),
328
- vpcSecurityGroupIds: (_) => smithyClient._json(_),
329
- }));
330
- b.m("POST").h(headers).b(body);
331
- return b.build();
332
- };
333
- const se_CreateClusterSnapshotCommand = async (input, context) => {
334
- const b = core.requestBuilder(input, context);
335
- const headers = {
336
- "content-type": "application/json",
337
- };
338
- b.bp("/cluster-snapshot");
339
- let body;
340
- body = JSON.stringify(smithyClient.take(input, {
341
- clusterArn: [],
342
- snapshotName: [],
343
- tags: (_) => smithyClient._json(_),
344
- }));
345
- b.m("POST").h(headers).b(body);
346
- return b.build();
347
- };
348
- const se_DeleteClusterCommand = async (input, context) => {
349
- const b = core.requestBuilder(input, context);
350
- const headers = {};
351
- b.bp("/cluster/{clusterArn}");
352
- b.p("clusterArn", () => input.clusterArn, "{clusterArn}", false);
353
- let body;
354
- b.m("DELETE").h(headers).b(body);
355
- return b.build();
356
- };
357
- const se_DeleteClusterSnapshotCommand = async (input, context) => {
358
- const b = core.requestBuilder(input, context);
359
- const headers = {};
360
- b.bp("/cluster-snapshot/{snapshotArn}");
361
- b.p("snapshotArn", () => input.snapshotArn, "{snapshotArn}", false);
362
- let body;
363
- b.m("DELETE").h(headers).b(body);
364
- return b.build();
365
- };
366
- const se_GetClusterCommand = async (input, context) => {
367
- const b = core.requestBuilder(input, context);
368
- const headers = {};
369
- b.bp("/cluster/{clusterArn}");
370
- b.p("clusterArn", () => input.clusterArn, "{clusterArn}", false);
371
- let body;
372
- b.m("GET").h(headers).b(body);
373
- return b.build();
374
- };
375
- const se_GetClusterSnapshotCommand = async (input, context) => {
376
- const b = core.requestBuilder(input, context);
377
- const headers = {};
378
- b.bp("/cluster-snapshot/{snapshotArn}");
379
- b.p("snapshotArn", () => input.snapshotArn, "{snapshotArn}", false);
380
- let body;
381
- b.m("GET").h(headers).b(body);
382
- return b.build();
383
- };
384
- const se_GetPendingMaintenanceActionCommand = async (input, context) => {
385
- const b = core.requestBuilder(input, context);
386
- const headers = {};
387
- b.bp("/pending-action/{resourceArn}");
388
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
389
- let body;
390
- b.m("GET").h(headers).b(body);
391
- return b.build();
392
- };
393
- const se_ListClustersCommand = async (input, context) => {
394
- const b = core.requestBuilder(input, context);
395
- const headers = {};
396
- b.bp("/clusters");
397
- const query = smithyClient.map({
398
- [_nT]: [, input[_nT]],
399
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
400
- });
401
- let body;
402
- b.m("GET").h(headers).q(query).b(body);
403
- return b.build();
404
- };
405
- const se_ListClusterSnapshotsCommand = async (input, context) => {
406
- const b = core.requestBuilder(input, context);
407
- const headers = {};
408
- b.bp("/cluster-snapshots");
409
- const query = smithyClient.map({
410
- [_cA]: [, input[_cA]],
411
- [_nT]: [, input[_nT]],
412
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
413
- [_sT]: [, input[_sT]],
414
- });
415
- let body;
416
- b.m("GET").h(headers).q(query).b(body);
417
- return b.build();
418
- };
419
- const se_ListPendingMaintenanceActionsCommand = async (input, context) => {
420
- const b = core.requestBuilder(input, context);
421
- const headers = {};
422
- b.bp("/pending-actions");
423
- const query = smithyClient.map({
424
- [_nT]: [, input[_nT]],
425
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
426
- });
427
- let body;
428
- b.m("GET").h(headers).q(query).b(body);
429
- return b.build();
430
- };
431
- const se_ListTagsForResourceCommand = async (input, context) => {
432
- const b = core.requestBuilder(input, context);
433
- const headers = {};
434
- b.bp("/tags/{resourceArn}");
435
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
436
- let body;
437
- b.m("GET").h(headers).b(body);
438
- return b.build();
439
- };
440
- const se_RestoreClusterFromSnapshotCommand = async (input, context) => {
441
- const b = core.requestBuilder(input, context);
442
- const headers = {
443
- "content-type": "application/json",
444
- };
445
- b.bp("/cluster-snapshot/{snapshotArn}/restore");
446
- b.p("snapshotArn", () => input.snapshotArn, "{snapshotArn}", false);
447
- let body;
448
- body = JSON.stringify(smithyClient.take(input, {
449
- clusterName: [],
450
- kmsKeyId: [],
451
- shardCapacity: [],
452
- shardInstanceCount: [],
453
- subnetIds: (_) => smithyClient._json(_),
454
- tags: (_) => smithyClient._json(_),
455
- vpcSecurityGroupIds: (_) => smithyClient._json(_),
456
- }));
457
- b.m("POST").h(headers).b(body);
458
- return b.build();
459
- };
460
- const se_StartClusterCommand = async (input, context) => {
461
- const b = core.requestBuilder(input, context);
462
- const headers = {};
463
- b.bp("/cluster/{clusterArn}/start");
464
- b.p("clusterArn", () => input.clusterArn, "{clusterArn}", false);
465
- let body;
466
- b.m("POST").h(headers).b(body);
467
- return b.build();
468
- };
469
- const se_StopClusterCommand = async (input, context) => {
470
- const b = core.requestBuilder(input, context);
471
- const headers = {};
472
- b.bp("/cluster/{clusterArn}/stop");
473
- b.p("clusterArn", () => input.clusterArn, "{clusterArn}", false);
474
- let body;
475
- b.m("POST").h(headers).b(body);
476
- return b.build();
477
- };
478
- const se_TagResourceCommand = async (input, context) => {
479
- const b = core.requestBuilder(input, context);
480
- const headers = {
481
- "content-type": "application/json",
482
- };
483
- b.bp("/tags/{resourceArn}");
484
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
485
- let body;
486
- body = JSON.stringify(smithyClient.take(input, {
487
- tags: (_) => smithyClient._json(_),
488
- }));
489
- b.m("POST").h(headers).b(body);
490
- return b.build();
491
- };
492
- const se_UntagResourceCommand = async (input, context) => {
493
- const b = core.requestBuilder(input, context);
494
- const headers = {};
495
- b.bp("/tags/{resourceArn}");
496
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
497
- const query = smithyClient.map({
498
- [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
499
- });
500
- let body;
501
- b.m("DELETE").h(headers).q(query).b(body);
502
- return b.build();
503
- };
504
- const se_UpdateClusterCommand = async (input, context) => {
505
- const b = core.requestBuilder(input, context);
506
- const headers = {
507
- "content-type": "application/json",
508
- };
509
- b.bp("/cluster/{clusterArn}");
510
- b.p("clusterArn", () => input.clusterArn, "{clusterArn}", false);
511
- let body;
512
- body = JSON.stringify(smithyClient.take(input, {
513
- adminUserPassword: [],
514
- authType: [],
515
- backupRetentionPeriod: [],
516
- clientToken: [true, (_) => _ ?? uuid.v4()],
517
- preferredBackupWindow: [],
518
- preferredMaintenanceWindow: [],
519
- shardCapacity: [],
520
- shardCount: [],
521
- shardInstanceCount: [],
522
- subnetIds: (_) => smithyClient._json(_),
523
- vpcSecurityGroupIds: (_) => smithyClient._json(_),
524
- }));
525
- b.m("PUT").h(headers).b(body);
526
- return b.build();
527
- };
528
- const de_ApplyPendingMaintenanceActionCommand = async (output, context) => {
529
- if (output.statusCode !== 200 && output.statusCode >= 300) {
530
- return de_CommandError(output, context);
531
- }
532
- const contents = smithyClient.map({
533
- $metadata: deserializeMetadata(output),
534
- });
535
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
536
- const doc = smithyClient.take(data, {
537
- resourcePendingMaintenanceAction: smithyClient._json,
538
- });
539
- Object.assign(contents, doc);
540
- return contents;
541
- };
542
- const de_CopyClusterSnapshotCommand = async (output, context) => {
543
- if (output.statusCode !== 200 && output.statusCode >= 300) {
544
- return de_CommandError(output, context);
545
- }
546
- const contents = smithyClient.map({
547
- $metadata: deserializeMetadata(output),
548
- });
549
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
550
- const doc = smithyClient.take(data, {
551
- snapshot: smithyClient._json,
552
- });
553
- Object.assign(contents, doc);
554
- return contents;
555
- };
556
- const de_CreateClusterCommand = async (output, context) => {
557
- if (output.statusCode !== 200 && output.statusCode >= 300) {
558
- return de_CommandError(output, context);
559
- }
560
- const contents = smithyClient.map({
561
- $metadata: deserializeMetadata(output),
562
- });
563
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
564
- const doc = smithyClient.take(data, {
565
- cluster: smithyClient._json,
566
- });
567
- Object.assign(contents, doc);
568
- return contents;
569
- };
570
- const de_CreateClusterSnapshotCommand = async (output, context) => {
571
- if (output.statusCode !== 200 && output.statusCode >= 300) {
572
- return de_CommandError(output, context);
573
- }
574
- const contents = smithyClient.map({
575
- $metadata: deserializeMetadata(output),
576
- });
577
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
578
- const doc = smithyClient.take(data, {
579
- snapshot: smithyClient._json,
580
- });
581
- Object.assign(contents, doc);
582
- return contents;
583
- };
584
- const de_DeleteClusterCommand = 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
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
592
- const doc = smithyClient.take(data, {
593
- cluster: smithyClient._json,
594
- });
595
- Object.assign(contents, doc);
596
- return contents;
597
- };
598
- const de_DeleteClusterSnapshotCommand = async (output, context) => {
599
- if (output.statusCode !== 200 && output.statusCode >= 300) {
600
- return de_CommandError(output, context);
601
- }
602
- const contents = smithyClient.map({
603
- $metadata: deserializeMetadata(output),
604
- });
605
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
606
- const doc = smithyClient.take(data, {
607
- snapshot: smithyClient._json,
608
- });
609
- Object.assign(contents, doc);
610
- return contents;
611
- };
612
- const de_GetClusterCommand = async (output, context) => {
613
- if (output.statusCode !== 200 && output.statusCode >= 300) {
614
- return de_CommandError(output, context);
615
- }
616
- const contents = smithyClient.map({
617
- $metadata: deserializeMetadata(output),
618
- });
619
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
620
- const doc = smithyClient.take(data, {
621
- cluster: smithyClient._json,
622
- });
623
- Object.assign(contents, doc);
624
- return contents;
625
- };
626
- const de_GetClusterSnapshotCommand = async (output, context) => {
627
- if (output.statusCode !== 200 && output.statusCode >= 300) {
628
- return de_CommandError(output, context);
629
- }
630
- const contents = smithyClient.map({
631
- $metadata: deserializeMetadata(output),
632
- });
633
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
634
- const doc = smithyClient.take(data, {
635
- snapshot: smithyClient._json,
636
- });
637
- Object.assign(contents, doc);
638
- return contents;
639
- };
640
- const de_GetPendingMaintenanceActionCommand = async (output, context) => {
641
- if (output.statusCode !== 200 && output.statusCode >= 300) {
642
- return de_CommandError(output, context);
643
- }
644
- const contents = smithyClient.map({
645
- $metadata: deserializeMetadata(output),
646
- });
647
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
648
- const doc = smithyClient.take(data, {
649
- resourcePendingMaintenanceAction: smithyClient._json,
650
- });
651
- Object.assign(contents, doc);
652
- return contents;
653
- };
654
- const de_ListClustersCommand = async (output, context) => {
655
- if (output.statusCode !== 200 && output.statusCode >= 300) {
656
- return de_CommandError(output, context);
657
- }
658
- const contents = smithyClient.map({
659
- $metadata: deserializeMetadata(output),
660
- });
661
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
662
- const doc = smithyClient.take(data, {
663
- clusters: smithyClient._json,
664
- nextToken: smithyClient.expectString,
665
- });
666
- Object.assign(contents, doc);
667
- return contents;
668
- };
669
- const de_ListClusterSnapshotsCommand = async (output, context) => {
670
- if (output.statusCode !== 200 && output.statusCode >= 300) {
671
- return de_CommandError(output, context);
672
- }
673
- const contents = smithyClient.map({
674
- $metadata: deserializeMetadata(output),
675
- });
676
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
677
- const doc = smithyClient.take(data, {
678
- nextToken: smithyClient.expectString,
679
- snapshots: smithyClient._json,
680
- });
681
- Object.assign(contents, doc);
682
- return contents;
683
- };
684
- const de_ListPendingMaintenanceActionsCommand = async (output, context) => {
685
- if (output.statusCode !== 200 && output.statusCode >= 300) {
686
- return de_CommandError(output, context);
687
- }
688
- const contents = smithyClient.map({
689
- $metadata: deserializeMetadata(output),
690
- });
691
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
692
- const doc = smithyClient.take(data, {
693
- nextToken: smithyClient.expectString,
694
- resourcePendingMaintenanceActions: smithyClient._json,
695
- });
696
- Object.assign(contents, doc);
697
- return contents;
698
- };
699
- const de_ListTagsForResourceCommand = async (output, context) => {
700
- if (output.statusCode !== 200 && output.statusCode >= 300) {
701
- return de_CommandError(output, context);
702
- }
703
- const contents = smithyClient.map({
704
- $metadata: deserializeMetadata(output),
705
- });
706
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
707
- const doc = smithyClient.take(data, {
708
- tags: smithyClient._json,
709
- });
710
- Object.assign(contents, doc);
711
- return contents;
712
- };
713
- const de_RestoreClusterFromSnapshotCommand = async (output, context) => {
714
- if (output.statusCode !== 200 && output.statusCode >= 300) {
715
- return de_CommandError(output, context);
716
- }
717
- const contents = smithyClient.map({
718
- $metadata: deserializeMetadata(output),
719
- });
720
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
721
- const doc = smithyClient.take(data, {
722
- cluster: smithyClient._json,
723
- });
724
- Object.assign(contents, doc);
725
- return contents;
726
- };
727
- const de_StartClusterCommand = async (output, context) => {
728
- if (output.statusCode !== 200 && output.statusCode >= 300) {
729
- return de_CommandError(output, context);
730
- }
731
- const contents = smithyClient.map({
732
- $metadata: deserializeMetadata(output),
733
- });
734
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
735
- const doc = smithyClient.take(data, {
736
- cluster: smithyClient._json,
737
- });
738
- Object.assign(contents, doc);
739
- return contents;
740
- };
741
- const de_StopClusterCommand = async (output, context) => {
742
- if (output.statusCode !== 200 && output.statusCode >= 300) {
743
- return de_CommandError(output, context);
744
- }
745
- const contents = smithyClient.map({
746
- $metadata: deserializeMetadata(output),
747
- });
748
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
749
- const doc = smithyClient.take(data, {
750
- cluster: smithyClient._json,
751
- });
752
- Object.assign(contents, doc);
753
- return contents;
754
- };
755
- const de_TagResourceCommand = async (output, context) => {
756
- if (output.statusCode !== 200 && output.statusCode >= 300) {
757
- return de_CommandError(output, context);
758
- }
759
- const contents = smithyClient.map({
760
- $metadata: deserializeMetadata(output),
761
- });
762
- await smithyClient.collectBody(output.body, context);
763
- return contents;
764
- };
765
- const de_UntagResourceCommand = async (output, context) => {
766
- if (output.statusCode !== 200 && output.statusCode >= 300) {
767
- return de_CommandError(output, context);
768
- }
769
- const contents = smithyClient.map({
770
- $metadata: deserializeMetadata(output),
771
- });
772
- await smithyClient.collectBody(output.body, context);
773
- return contents;
774
- };
775
- const de_UpdateClusterCommand = async (output, context) => {
776
- if (output.statusCode !== 200 && output.statusCode >= 300) {
777
- return de_CommandError(output, context);
778
- }
779
- const contents = smithyClient.map({
780
- $metadata: deserializeMetadata(output),
781
- });
782
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
783
- const doc = smithyClient.take(data, {
784
- cluster: smithyClient._json,
785
- });
786
- Object.assign(contents, doc);
787
- return contents;
788
- };
789
- const de_CommandError = async (output, context) => {
790
- const parsedOutput = {
791
- ...output,
792
- body: await core$1.parseJsonErrorBody(output.body, context),
793
- };
794
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
795
- switch (errorCode) {
796
- case "AccessDeniedException":
797
- case "com.amazonaws.docdbelastic#AccessDeniedException":
798
- throw await de_AccessDeniedExceptionRes(parsedOutput);
799
- case "ConflictException":
800
- case "com.amazonaws.docdbelastic#ConflictException":
801
- throw await de_ConflictExceptionRes(parsedOutput);
802
- case "InternalServerException":
803
- case "com.amazonaws.docdbelastic#InternalServerException":
804
- throw await de_InternalServerExceptionRes(parsedOutput);
805
- case "ResourceNotFoundException":
806
- case "com.amazonaws.docdbelastic#ResourceNotFoundException":
807
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
808
- case "ThrottlingException":
809
- case "com.amazonaws.docdbelastic#ThrottlingException":
810
- throw await de_ThrottlingExceptionRes(parsedOutput);
811
- case "ValidationException":
812
- case "com.amazonaws.docdbelastic#ValidationException":
813
- throw await de_ValidationExceptionRes(parsedOutput);
814
- case "ServiceQuotaExceededException":
815
- case "com.amazonaws.docdbelastic#ServiceQuotaExceededException":
816
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
817
- default:
818
- const parsedBody = parsedOutput.body;
819
- return throwDefaultError({
820
- output,
821
- parsedBody,
822
- errorCode,
823
- });
824
- }
825
- };
826
- const throwDefaultError = smithyClient.withBaseException(DocDBElasticServiceException);
827
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
828
- const contents = smithyClient.map({});
829
- const data = parsedOutput.body;
830
- const doc = smithyClient.take(data, {
831
- message: smithyClient.expectString,
832
- });
833
- Object.assign(contents, doc);
834
- const exception = new AccessDeniedException({
835
- $metadata: deserializeMetadata(parsedOutput),
836
- ...contents,
837
- });
838
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
839
- };
840
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
841
- const contents = smithyClient.map({});
842
- const data = parsedOutput.body;
843
- const doc = smithyClient.take(data, {
844
- message: smithyClient.expectString,
845
- resourceId: smithyClient.expectString,
846
- resourceType: smithyClient.expectString,
847
- });
848
- Object.assign(contents, doc);
849
- const exception = new ConflictException({
850
- $metadata: deserializeMetadata(parsedOutput),
851
- ...contents,
852
- });
853
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
854
262
  };
855
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
856
- const contents = smithyClient.map({});
857
- const data = parsedOutput.body;
858
- const doc = smithyClient.take(data, {
859
- message: smithyClient.expectString,
860
- });
861
- Object.assign(contents, doc);
862
- const exception = new InternalServerException({
863
- $metadata: deserializeMetadata(parsedOutput),
864
- ...contents,
865
- });
866
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
867
- };
868
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
869
- const contents = smithyClient.map({});
870
- const data = parsedOutput.body;
871
- const doc = smithyClient.take(data, {
872
- message: smithyClient.expectString,
873
- resourceId: smithyClient.expectString,
874
- resourceType: smithyClient.expectString,
875
- });
876
- Object.assign(contents, doc);
877
- const exception = new ResourceNotFoundException({
878
- $metadata: deserializeMetadata(parsedOutput),
879
- ...contents,
880
- });
881
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
882
- };
883
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
884
- const contents = smithyClient.map({});
885
- const data = parsedOutput.body;
886
- const doc = smithyClient.take(data, {
887
- message: smithyClient.expectString,
888
- });
889
- Object.assign(contents, doc);
890
- const exception = new ServiceQuotaExceededException({
891
- $metadata: deserializeMetadata(parsedOutput),
892
- ...contents,
893
- });
894
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
895
- };
896
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
897
- const contents = smithyClient.map({
898
- [_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
899
- });
900
- const data = parsedOutput.body;
901
- const doc = smithyClient.take(data, {
902
- message: smithyClient.expectString,
903
- });
904
- Object.assign(contents, doc);
905
- const exception = new ThrottlingException({
906
- $metadata: deserializeMetadata(parsedOutput),
907
- ...contents,
908
- });
909
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
910
- };
911
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
912
- const contents = smithyClient.map({});
913
- const data = parsedOutput.body;
914
- const doc = smithyClient.take(data, {
915
- fieldList: smithyClient._json,
916
- message: smithyClient.expectString,
917
- reason: smithyClient.expectString,
918
- });
919
- Object.assign(contents, doc);
920
- const exception = new ValidationException({
921
- $metadata: deserializeMetadata(parsedOutput),
922
- ...contents,
923
- });
924
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
925
- };
926
- const deserializeMetadata = (output) => ({
927
- httpStatusCode: output.statusCode,
928
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
929
- extendedRequestId: output.headers["x-amz-id-2"],
930
- cfId: output.headers["x-amz-cf-id"],
931
- });
263
+
264
+ const _ADE = "AccessDeniedException";
265
+ const _APMA = "ApplyPendingMaintenanceAction";
266
+ const _APMAI = "ApplyPendingMaintenanceActionInput";
267
+ const _APMAO = "ApplyPendingMaintenanceActionOutput";
268
+ const _C = "Cluster";
269
+ const _CC = "CreateCluster";
270
+ const _CCI = "CreateClusterInput";
271
+ const _CCO = "CreateClusterOutput";
272
+ const _CCS = "CopyClusterSnapshot";
273
+ const _CCSI = "CopyClusterSnapshotInput";
274
+ const _CCSIr = "CreateClusterSnapshotInput";
275
+ const _CCSO = "CopyClusterSnapshotOutput";
276
+ const _CCSOr = "CreateClusterSnapshotOutput";
277
+ const _CCSr = "CreateClusterSnapshot";
278
+ const _CE = "ConflictException";
279
+ const _CIL = "ClusterInList";
280
+ const _CL = "ClusterList";
281
+ const _CS = "ClusterSnapshot";
282
+ const _CSIL = "ClusterSnapshotInList";
283
+ const _CSL = "ClusterSnapshotList";
284
+ const _DC = "DeleteCluster";
285
+ const _DCI = "DeleteClusterInput";
286
+ const _DCO = "DeleteClusterOutput";
287
+ const _DCS = "DeleteClusterSnapshot";
288
+ const _DCSI = "DeleteClusterSnapshotInput";
289
+ const _DCSO = "DeleteClusterSnapshotOutput";
290
+ const _GC = "GetCluster";
291
+ const _GCI = "GetClusterInput";
292
+ const _GCO = "GetClusterOutput";
293
+ const _GCS = "GetClusterSnapshot";
294
+ const _GCSI = "GetClusterSnapshotInput";
295
+ const _GCSO = "GetClusterSnapshotOutput";
296
+ const _GPMA = "GetPendingMaintenanceAction";
297
+ const _GPMAI = "GetPendingMaintenanceActionInput";
298
+ const _GPMAO = "GetPendingMaintenanceActionOutput";
299
+ const _ISE = "InternalServerException";
300
+ const _LC = "ListClusters";
301
+ const _LCI = "ListClustersInput";
302
+ const _LCO = "ListClustersOutput";
303
+ const _LCS = "ListClusterSnapshots";
304
+ const _LCSI = "ListClusterSnapshotsInput";
305
+ const _LCSO = "ListClusterSnapshotsOutput";
306
+ const _LPMA = "ListPendingMaintenanceActions";
307
+ const _LPMAI = "ListPendingMaintenanceActionsInput";
308
+ const _LPMAO = "ListPendingMaintenanceActionsOutput";
309
+ const _LTFR = "ListTagsForResource";
310
+ const _LTFRR = "ListTagsForResourceRequest";
311
+ const _LTFRRi = "ListTagsForResourceResponse";
312
+ const _P = "Password";
313
+ const _PMAD = "PendingMaintenanceActionDetails";
314
+ const _PMADL = "PendingMaintenanceActionDetailsList";
315
+ const _RA = "Retry-After";
316
+ const _RCFS = "RestoreClusterFromSnapshot";
317
+ const _RCFSI = "RestoreClusterFromSnapshotInput";
318
+ const _RCFSO = "RestoreClusterFromSnapshotOutput";
319
+ const _RNFE = "ResourceNotFoundException";
320
+ const _RPMA = "ResourcePendingMaintenanceAction";
321
+ const _RPMAL = "ResourcePendingMaintenanceActionList";
322
+ const _S = "Shard";
323
+ const _SC = "StartCluster";
324
+ const _SCI = "StartClusterInput";
325
+ const _SCIt = "StopClusterInput";
326
+ const _SCO = "StartClusterOutput";
327
+ const _SCOt = "StopClusterOutput";
328
+ const _SCt = "StopCluster";
329
+ const _SL = "ShardList";
330
+ const _SQEE = "ServiceQuotaExceededException";
331
+ const _TE = "ThrottlingException";
332
+ const _TR = "TagResource";
333
+ const _TRR = "TagResourceRequest";
334
+ const _TRRa = "TagResourceResponse";
335
+ const _UC = "UpdateCluster";
336
+ const _UCI = "UpdateClusterInput";
337
+ const _UCO = "UpdateClusterOutput";
338
+ const _UR = "UntagResource";
339
+ const _URR = "UntagResourceRequest";
340
+ const _URRn = "UntagResourceResponse";
341
+ const _VE = "ValidationException";
342
+ const _VEF = "ValidationExceptionField";
343
+ const _VEFL = "ValidationExceptionFieldList";
344
+ const _a = "action";
345
+ const _aA = "applyAction";
346
+ const _aAAD = "autoAppliedAfterDate";
347
+ const _aO = "applyOn";
348
+ const _aT = "authType";
349
+ const _aUN = "adminUserName";
350
+ const _aUP = "adminUserPassword";
351
+ const _bRP = "backupRetentionPeriod";
352
+ const _c = "client";
932
353
  const _cA = "clusterArn";
354
+ const _cAD = "currentApplyDate";
355
+ const _cCT = "clusterCreationTime";
356
+ const _cE = "clusterEndpoint";
357
+ const _cN = "clusterName";
358
+ const _cT = "createTime";
359
+ const _cTl = "clientToken";
360
+ const _cTo = "copyTags";
361
+ const _cl = "cluster";
362
+ const _clu = "clusters";
363
+ const _d = "description";
364
+ const _e = "error";
365
+ const _fAD = "forcedApplyDate";
366
+ const _fL = "fieldList";
367
+ const _h = "http";
368
+ const _hE = "httpError";
369
+ const _hH = "httpHeader";
370
+ const _hQ = "httpQuery";
371
+ const _kKI = "kmsKeyId";
372
+ const _m = "message";
933
373
  const _mR = "maxResults";
374
+ const _n = "name";
934
375
  const _nT = "nextToken";
376
+ const _oIS = "optInStatus";
377
+ const _oIT = "optInType";
378
+ const _pBW = "preferredBackupWindow";
379
+ const _pMAD = "pendingMaintenanceActionDetails";
380
+ const _pMW = "preferredMaintenanceWindow";
381
+ const _r = "reason";
382
+ const _rA = "resourceArn";
935
383
  const _rAS = "retryAfterSeconds";
936
- const _ra = "retry-after";
384
+ const _rI = "resourceId";
385
+ const _rPMA = "resourcePendingMaintenanceAction";
386
+ const _rPMAe = "resourcePendingMaintenanceActions";
387
+ const _rT = "resourceType";
388
+ const _s = "status";
389
+ const _sA = "snapshotArn";
390
+ const _sC = "shardCapacity";
391
+ const _sCT = "snapshotCreationTime";
392
+ const _sCh = "shardCount";
393
+ const _sI = "subnetIds";
394
+ const _sIC = "shardInstanceCount";
395
+ const _sIh = "shardId";
396
+ const _sN = "snapshotName";
937
397
  const _sT = "snapshotType";
398
+ const _se = "server";
399
+ const _sh = "shards";
400
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.docdbelastic";
401
+ const _sn = "snapshot";
402
+ const _sna = "snapshots";
403
+ const _t = "tags";
938
404
  const _tK = "tagKeys";
405
+ const _tSN = "targetSnapshotName";
406
+ const _vSGI = "vpcSecurityGroupIds";
407
+ const n0 = "com.amazonaws.docdbelastic";
408
+ var Password = [0, n0, _P, 8, 0];
409
+ var AccessDeniedException = [
410
+ -3,
411
+ n0,
412
+ _ADE,
413
+ {
414
+ [_e]: _c,
415
+ [_hE]: 403,
416
+ },
417
+ [_m],
418
+ [0],
419
+ ];
420
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
421
+ var ApplyPendingMaintenanceActionInput = [
422
+ 3,
423
+ n0,
424
+ _APMAI,
425
+ 0,
426
+ [_rA, _aA, _oIT, _aO],
427
+ [0, 0, 0, 0],
428
+ ];
429
+ var ApplyPendingMaintenanceActionOutput = [
430
+ 3,
431
+ n0,
432
+ _APMAO,
433
+ 0,
434
+ [_rPMA],
435
+ [() => ResourcePendingMaintenanceAction],
436
+ ];
437
+ var Cluster = [
438
+ 3,
439
+ n0,
440
+ _C,
441
+ 0,
442
+ [_cN, _cA, _s, _cE, _cT, _aUN, _aT, _sC, _sCh, _vSGI, _sI, _pMW, _kKI, _sh, _bRP, _pBW, _sIC],
443
+ [0, 0, 0, 0, 0, 0, 0, 1, 1, 64 | 0, 64 | 0, 0, 0, () => ShardList, 1, 0, 1],
444
+ ];
445
+ var ClusterInList = [3, n0, _CIL, 0, [_cN, _cA, _s], [0, 0, 0]];
446
+ var ClusterSnapshot = [
447
+ 3,
448
+ n0,
449
+ _CS,
450
+ 0,
451
+ [_sI, _sN, _sA, _sCT, _cA, _cCT, _s, _vSGI, _aUN, _kKI, _sT],
452
+ [64 | 0, 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 0],
453
+ ];
454
+ var ClusterSnapshotInList = [3, n0, _CSIL, 0, [_sN, _sA, _cA, _s, _sCT], [0, 0, 0, 0, 0]];
455
+ var ConflictException = [
456
+ -3,
457
+ n0,
458
+ _CE,
459
+ {
460
+ [_e]: _c,
461
+ [_hE]: 409,
462
+ },
463
+ [_m, _rI, _rT],
464
+ [0, 0, 0],
465
+ ];
466
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
467
+ var CopyClusterSnapshotInput = [
468
+ 3,
469
+ n0,
470
+ _CCSI,
471
+ 0,
472
+ [_sA, _tSN, _kKI, _cTo, _t],
473
+ [[0, 1], 0, 0, 2, 128 | 0],
474
+ ];
475
+ var CopyClusterSnapshotOutput = [3, n0, _CCSO, 0, [_sn], [() => ClusterSnapshot]];
476
+ var CreateClusterInput = [
477
+ 3,
478
+ n0,
479
+ _CCI,
480
+ 0,
481
+ [_cN, _aT, _aUN, _aUP, _sC, _sCh, _vSGI, _sI, _kKI, _cTl, _pMW, _t, _bRP, _pBW, _sIC],
482
+ [0, 0, 0, [() => Password, 0], 1, 1, 64 | 0, 64 | 0, 0, [0, 4], 0, 128 | 0, 1, 0, 1],
483
+ ];
484
+ var CreateClusterOutput = [3, n0, _CCO, 0, [_cl], [() => Cluster]];
485
+ var CreateClusterSnapshotInput = [3, n0, _CCSIr, 0, [_cA, _sN, _t], [0, 0, 128 | 0]];
486
+ var CreateClusterSnapshotOutput = [3, n0, _CCSOr, 0, [_sn], [() => ClusterSnapshot]];
487
+ var DeleteClusterInput = [3, n0, _DCI, 0, [_cA], [[0, 1]]];
488
+ var DeleteClusterOutput = [3, n0, _DCO, 0, [_cl], [() => Cluster]];
489
+ var DeleteClusterSnapshotInput = [3, n0, _DCSI, 0, [_sA], [[0, 1]]];
490
+ var DeleteClusterSnapshotOutput = [3, n0, _DCSO, 0, [_sn], [() => ClusterSnapshot]];
491
+ var GetClusterInput = [3, n0, _GCI, 0, [_cA], [[0, 1]]];
492
+ var GetClusterOutput = [3, n0, _GCO, 0, [_cl], [() => Cluster]];
493
+ var GetClusterSnapshotInput = [3, n0, _GCSI, 0, [_sA], [[0, 1]]];
494
+ var GetClusterSnapshotOutput = [3, n0, _GCSO, 0, [_sn], [() => ClusterSnapshot]];
495
+ var GetPendingMaintenanceActionInput = [3, n0, _GPMAI, 0, [_rA], [[0, 1]]];
496
+ var GetPendingMaintenanceActionOutput = [
497
+ 3,
498
+ n0,
499
+ _GPMAO,
500
+ 0,
501
+ [_rPMA],
502
+ [() => ResourcePendingMaintenanceAction],
503
+ ];
504
+ var InternalServerException = [
505
+ -3,
506
+ n0,
507
+ _ISE,
508
+ {
509
+ [_e]: _se,
510
+ [_hE]: 500,
511
+ },
512
+ [_m],
513
+ [0],
514
+ ];
515
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
516
+ var ListClustersInput = [
517
+ 3,
518
+ n0,
519
+ _LCI,
520
+ 0,
521
+ [_nT, _mR],
522
+ [
523
+ [
524
+ 0,
525
+ {
526
+ [_hQ]: _nT,
527
+ },
528
+ ],
529
+ [
530
+ 1,
531
+ {
532
+ [_hQ]: _mR,
533
+ },
534
+ ],
535
+ ],
536
+ ];
537
+ var ListClusterSnapshotsInput = [
538
+ 3,
539
+ n0,
540
+ _LCSI,
541
+ 0,
542
+ [_cA, _nT, _mR, _sT],
543
+ [
544
+ [
545
+ 0,
546
+ {
547
+ [_hQ]: _cA,
548
+ },
549
+ ],
550
+ [
551
+ 0,
552
+ {
553
+ [_hQ]: _nT,
554
+ },
555
+ ],
556
+ [
557
+ 1,
558
+ {
559
+ [_hQ]: _mR,
560
+ },
561
+ ],
562
+ [
563
+ 0,
564
+ {
565
+ [_hQ]: _sT,
566
+ },
567
+ ],
568
+ ],
569
+ ];
570
+ var ListClusterSnapshotsOutput = [
571
+ 3,
572
+ n0,
573
+ _LCSO,
574
+ 0,
575
+ [_sna, _nT],
576
+ [() => ClusterSnapshotList, 0],
577
+ ];
578
+ var ListClustersOutput = [3, n0, _LCO, 0, [_clu, _nT], [() => ClusterList, 0]];
579
+ var ListPendingMaintenanceActionsInput = [
580
+ 3,
581
+ n0,
582
+ _LPMAI,
583
+ 0,
584
+ [_nT, _mR],
585
+ [
586
+ [
587
+ 0,
588
+ {
589
+ [_hQ]: _nT,
590
+ },
591
+ ],
592
+ [
593
+ 1,
594
+ {
595
+ [_hQ]: _mR,
596
+ },
597
+ ],
598
+ ],
599
+ ];
600
+ var ListPendingMaintenanceActionsOutput = [
601
+ 3,
602
+ n0,
603
+ _LPMAO,
604
+ 0,
605
+ [_rPMAe, _nT],
606
+ [() => ResourcePendingMaintenanceActionList, 0],
607
+ ];
608
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [[0, 1]]];
609
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [128 | 0]];
610
+ var PendingMaintenanceActionDetails = [
611
+ 3,
612
+ n0,
613
+ _PMAD,
614
+ 0,
615
+ [_a, _aAAD, _fAD, _oIS, _cAD, _d],
616
+ [0, 0, 0, 0, 0, 0],
617
+ ];
618
+ var ResourceNotFoundException = [
619
+ -3,
620
+ n0,
621
+ _RNFE,
622
+ {
623
+ [_e]: _c,
624
+ [_hE]: 404,
625
+ },
626
+ [_m, _rI, _rT],
627
+ [0, 0, 0],
628
+ ];
629
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
630
+ var ResourcePendingMaintenanceAction = [
631
+ 3,
632
+ n0,
633
+ _RPMA,
634
+ 0,
635
+ [_rA, _pMAD],
636
+ [0, () => PendingMaintenanceActionDetailsList],
637
+ ];
638
+ var RestoreClusterFromSnapshotInput = [
639
+ 3,
640
+ n0,
641
+ _RCFSI,
642
+ 0,
643
+ [_cN, _sA, _vSGI, _sI, _kKI, _t, _sC, _sIC],
644
+ [0, [0, 1], 64 | 0, 64 | 0, 0, 128 | 0, 1, 1],
645
+ ];
646
+ var RestoreClusterFromSnapshotOutput = [3, n0, _RCFSO, 0, [_cl], [() => Cluster]];
647
+ var ServiceQuotaExceededException = [
648
+ -3,
649
+ n0,
650
+ _SQEE,
651
+ {
652
+ [_e]: _c,
653
+ [_hE]: 402,
654
+ },
655
+ [_m],
656
+ [0],
657
+ ];
658
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
659
+ var Shard = [3, n0, _S, 0, [_sIh, _cT, _s], [0, 0, 0]];
660
+ var StartClusterInput = [3, n0, _SCI, 0, [_cA], [[0, 1]]];
661
+ var StartClusterOutput = [3, n0, _SCO, 0, [_cl], [() => Cluster]];
662
+ var StopClusterInput = [3, n0, _SCIt, 0, [_cA], [[0, 1]]];
663
+ var StopClusterOutput = [3, n0, _SCOt, 0, [_cl], [() => Cluster]];
664
+ var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _t], [[0, 1], 128 | 0]];
665
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
666
+ var ThrottlingException = [
667
+ -3,
668
+ n0,
669
+ _TE,
670
+ {
671
+ [_e]: _c,
672
+ [_hE]: 429,
673
+ },
674
+ [_m, _rAS],
675
+ [
676
+ 0,
677
+ [
678
+ 1,
679
+ {
680
+ [_hH]: _RA,
681
+ },
682
+ ],
683
+ ],
684
+ ];
685
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
686
+ var UntagResourceRequest = [
687
+ 3,
688
+ n0,
689
+ _URR,
690
+ 0,
691
+ [_rA, _tK],
692
+ [
693
+ [0, 1],
694
+ [
695
+ 64 | 0,
696
+ {
697
+ [_hQ]: _tK,
698
+ },
699
+ ],
700
+ ],
701
+ ];
702
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
703
+ var UpdateClusterInput = [
704
+ 3,
705
+ n0,
706
+ _UCI,
707
+ 0,
708
+ [_cA, _aT, _sC, _sCh, _vSGI, _sI, _aUP, _cTl, _pMW, _bRP, _pBW, _sIC],
709
+ [[0, 1], 0, 1, 1, 64 | 0, 64 | 0, [() => Password, 0], [0, 4], 0, 1, 0, 1],
710
+ ];
711
+ var UpdateClusterOutput = [3, n0, _UCO, 0, [_cl], [() => Cluster]];
712
+ var ValidationException = [
713
+ -3,
714
+ n0,
715
+ _VE,
716
+ {
717
+ [_e]: _c,
718
+ [_hE]: 400,
719
+ },
720
+ [_m, _r, _fL],
721
+ [0, 0, () => ValidationExceptionFieldList],
722
+ ];
723
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
724
+ var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
725
+ var DocDBElasticServiceException = [-3, _sm, "DocDBElasticServiceException", 0, [], []];
726
+ schema.TypeRegistry.for(_sm).registerError(DocDBElasticServiceException, DocDBElasticServiceException$1);
727
+ var ClusterList = [1, n0, _CL, 0, () => ClusterInList];
728
+ var ClusterSnapshotList = [1, n0, _CSL, 0, () => ClusterSnapshotInList];
729
+ var PendingMaintenanceActionDetailsList = [
730
+ 1,
731
+ n0,
732
+ _PMADL,
733
+ 0,
734
+ () => PendingMaintenanceActionDetails,
735
+ ];
736
+ var ResourcePendingMaintenanceActionList = [
737
+ 1,
738
+ n0,
739
+ _RPMAL,
740
+ 0,
741
+ () => ResourcePendingMaintenanceAction,
742
+ ];
743
+ var ShardList = [1, n0, _SL, 0, () => Shard];
744
+ var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
745
+ var ApplyPendingMaintenanceAction = [
746
+ 9,
747
+ n0,
748
+ _APMA,
749
+ {
750
+ [_h]: ["POST", "/pending-action", 200],
751
+ },
752
+ () => ApplyPendingMaintenanceActionInput,
753
+ () => ApplyPendingMaintenanceActionOutput,
754
+ ];
755
+ var CopyClusterSnapshot = [
756
+ 9,
757
+ n0,
758
+ _CCS,
759
+ {
760
+ [_h]: ["POST", "/cluster-snapshot/{snapshotArn}/copy", 200],
761
+ },
762
+ () => CopyClusterSnapshotInput,
763
+ () => CopyClusterSnapshotOutput,
764
+ ];
765
+ var CreateCluster = [
766
+ 9,
767
+ n0,
768
+ _CC,
769
+ {
770
+ [_h]: ["POST", "/cluster", 200],
771
+ },
772
+ () => CreateClusterInput,
773
+ () => CreateClusterOutput,
774
+ ];
775
+ var CreateClusterSnapshot = [
776
+ 9,
777
+ n0,
778
+ _CCSr,
779
+ {
780
+ [_h]: ["POST", "/cluster-snapshot", 200],
781
+ },
782
+ () => CreateClusterSnapshotInput,
783
+ () => CreateClusterSnapshotOutput,
784
+ ];
785
+ var DeleteCluster = [
786
+ 9,
787
+ n0,
788
+ _DC,
789
+ {
790
+ [_h]: ["DELETE", "/cluster/{clusterArn}", 200],
791
+ },
792
+ () => DeleteClusterInput,
793
+ () => DeleteClusterOutput,
794
+ ];
795
+ var DeleteClusterSnapshot = [
796
+ 9,
797
+ n0,
798
+ _DCS,
799
+ {
800
+ [_h]: ["DELETE", "/cluster-snapshot/{snapshotArn}", 200],
801
+ },
802
+ () => DeleteClusterSnapshotInput,
803
+ () => DeleteClusterSnapshotOutput,
804
+ ];
805
+ var GetCluster = [
806
+ 9,
807
+ n0,
808
+ _GC,
809
+ {
810
+ [_h]: ["GET", "/cluster/{clusterArn}", 200],
811
+ },
812
+ () => GetClusterInput,
813
+ () => GetClusterOutput,
814
+ ];
815
+ var GetClusterSnapshot = [
816
+ 9,
817
+ n0,
818
+ _GCS,
819
+ {
820
+ [_h]: ["GET", "/cluster-snapshot/{snapshotArn}", 200],
821
+ },
822
+ () => GetClusterSnapshotInput,
823
+ () => GetClusterSnapshotOutput,
824
+ ];
825
+ var GetPendingMaintenanceAction = [
826
+ 9,
827
+ n0,
828
+ _GPMA,
829
+ {
830
+ [_h]: ["GET", "/pending-action/{resourceArn}", 200],
831
+ },
832
+ () => GetPendingMaintenanceActionInput,
833
+ () => GetPendingMaintenanceActionOutput,
834
+ ];
835
+ var ListClusters = [
836
+ 9,
837
+ n0,
838
+ _LC,
839
+ {
840
+ [_h]: ["GET", "/clusters", 200],
841
+ },
842
+ () => ListClustersInput,
843
+ () => ListClustersOutput,
844
+ ];
845
+ var ListClusterSnapshots = [
846
+ 9,
847
+ n0,
848
+ _LCS,
849
+ {
850
+ [_h]: ["GET", "/cluster-snapshots", 200],
851
+ },
852
+ () => ListClusterSnapshotsInput,
853
+ () => ListClusterSnapshotsOutput,
854
+ ];
855
+ var ListPendingMaintenanceActions = [
856
+ 9,
857
+ n0,
858
+ _LPMA,
859
+ {
860
+ [_h]: ["GET", "/pending-actions", 200],
861
+ },
862
+ () => ListPendingMaintenanceActionsInput,
863
+ () => ListPendingMaintenanceActionsOutput,
864
+ ];
865
+ var ListTagsForResource = [
866
+ 9,
867
+ n0,
868
+ _LTFR,
869
+ {
870
+ [_h]: ["GET", "/tags/{resourceArn}", 200],
871
+ },
872
+ () => ListTagsForResourceRequest,
873
+ () => ListTagsForResourceResponse,
874
+ ];
875
+ var RestoreClusterFromSnapshot = [
876
+ 9,
877
+ n0,
878
+ _RCFS,
879
+ {
880
+ [_h]: ["POST", "/cluster-snapshot/{snapshotArn}/restore", 200],
881
+ },
882
+ () => RestoreClusterFromSnapshotInput,
883
+ () => RestoreClusterFromSnapshotOutput,
884
+ ];
885
+ var StartCluster = [
886
+ 9,
887
+ n0,
888
+ _SC,
889
+ {
890
+ [_h]: ["POST", "/cluster/{clusterArn}/start", 200],
891
+ },
892
+ () => StartClusterInput,
893
+ () => StartClusterOutput,
894
+ ];
895
+ var StopCluster = [
896
+ 9,
897
+ n0,
898
+ _SCt,
899
+ {
900
+ [_h]: ["POST", "/cluster/{clusterArn}/stop", 200],
901
+ },
902
+ () => StopClusterInput,
903
+ () => StopClusterOutput,
904
+ ];
905
+ var TagResource = [
906
+ 9,
907
+ n0,
908
+ _TR,
909
+ {
910
+ [_h]: ["POST", "/tags/{resourceArn}", 200],
911
+ },
912
+ () => TagResourceRequest,
913
+ () => TagResourceResponse,
914
+ ];
915
+ var UntagResource = [
916
+ 9,
917
+ n0,
918
+ _UR,
919
+ {
920
+ [_h]: ["DELETE", "/tags/{resourceArn}", 200],
921
+ },
922
+ () => UntagResourceRequest,
923
+ () => UntagResourceResponse,
924
+ ];
925
+ var UpdateCluster = [
926
+ 9,
927
+ n0,
928
+ _UC,
929
+ {
930
+ [_h]: ["PUT", "/cluster/{clusterArn}", 200],
931
+ },
932
+ () => UpdateClusterInput,
933
+ () => UpdateClusterOutput,
934
+ ];
939
935
 
940
936
  class ApplyPendingMaintenanceActionCommand extends smithyClient.Command
941
937
  .classBuilder()
942
938
  .ep(commonParams)
943
939
  .m(function (Command, cs, config, o) {
944
- return [
945
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
946
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
947
- ];
940
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
948
941
  })
949
942
  .s("ChimeraDbLionfishServiceLambda", "ApplyPendingMaintenanceAction", {})
950
943
  .n("DocDBElasticClient", "ApplyPendingMaintenanceActionCommand")
951
- .f(void 0, void 0)
952
- .ser(se_ApplyPendingMaintenanceActionCommand)
953
- .de(de_ApplyPendingMaintenanceActionCommand)
944
+ .sc(ApplyPendingMaintenanceAction)
954
945
  .build() {
955
946
  }
956
947
 
@@ -958,16 +949,11 @@ class CopyClusterSnapshotCommand extends smithyClient.Command
958
949
  .classBuilder()
959
950
  .ep(commonParams)
960
951
  .m(function (Command, cs, config, o) {
961
- return [
962
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
963
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
964
- ];
952
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
965
953
  })
966
954
  .s("ChimeraDbLionfishServiceLambda", "CopyClusterSnapshot", {})
967
955
  .n("DocDBElasticClient", "CopyClusterSnapshotCommand")
968
- .f(void 0, void 0)
969
- .ser(se_CopyClusterSnapshotCommand)
970
- .de(de_CopyClusterSnapshotCommand)
956
+ .sc(CopyClusterSnapshot)
971
957
  .build() {
972
958
  }
973
959
 
@@ -975,16 +961,11 @@ class CreateClusterCommand extends smithyClient.Command
975
961
  .classBuilder()
976
962
  .ep(commonParams)
977
963
  .m(function (Command, cs, config, o) {
978
- return [
979
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
980
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
981
- ];
964
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
982
965
  })
983
966
  .s("ChimeraDbLionfishServiceLambda", "CreateCluster", {})
984
967
  .n("DocDBElasticClient", "CreateClusterCommand")
985
- .f(CreateClusterInputFilterSensitiveLog, void 0)
986
- .ser(se_CreateClusterCommand)
987
- .de(de_CreateClusterCommand)
968
+ .sc(CreateCluster)
988
969
  .build() {
989
970
  }
990
971
 
@@ -992,16 +973,11 @@ class CreateClusterSnapshotCommand extends smithyClient.Command
992
973
  .classBuilder()
993
974
  .ep(commonParams)
994
975
  .m(function (Command, cs, config, o) {
995
- return [
996
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
997
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
998
- ];
976
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
999
977
  })
1000
978
  .s("ChimeraDbLionfishServiceLambda", "CreateClusterSnapshot", {})
1001
979
  .n("DocDBElasticClient", "CreateClusterSnapshotCommand")
1002
- .f(void 0, void 0)
1003
- .ser(se_CreateClusterSnapshotCommand)
1004
- .de(de_CreateClusterSnapshotCommand)
980
+ .sc(CreateClusterSnapshot)
1005
981
  .build() {
1006
982
  }
1007
983
 
@@ -1009,16 +985,11 @@ class DeleteClusterCommand extends smithyClient.Command
1009
985
  .classBuilder()
1010
986
  .ep(commonParams)
1011
987
  .m(function (Command, cs, config, o) {
1012
- return [
1013
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1014
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1015
- ];
988
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1016
989
  })
1017
990
  .s("ChimeraDbLionfishServiceLambda", "DeleteCluster", {})
1018
991
  .n("DocDBElasticClient", "DeleteClusterCommand")
1019
- .f(void 0, void 0)
1020
- .ser(se_DeleteClusterCommand)
1021
- .de(de_DeleteClusterCommand)
992
+ .sc(DeleteCluster)
1022
993
  .build() {
1023
994
  }
1024
995
 
@@ -1026,16 +997,11 @@ class DeleteClusterSnapshotCommand extends smithyClient.Command
1026
997
  .classBuilder()
1027
998
  .ep(commonParams)
1028
999
  .m(function (Command, cs, config, o) {
1029
- return [
1030
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1031
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1032
- ];
1000
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1033
1001
  })
1034
1002
  .s("ChimeraDbLionfishServiceLambda", "DeleteClusterSnapshot", {})
1035
1003
  .n("DocDBElasticClient", "DeleteClusterSnapshotCommand")
1036
- .f(void 0, void 0)
1037
- .ser(se_DeleteClusterSnapshotCommand)
1038
- .de(de_DeleteClusterSnapshotCommand)
1004
+ .sc(DeleteClusterSnapshot)
1039
1005
  .build() {
1040
1006
  }
1041
1007
 
@@ -1043,16 +1009,11 @@ class GetClusterCommand extends smithyClient.Command
1043
1009
  .classBuilder()
1044
1010
  .ep(commonParams)
1045
1011
  .m(function (Command, cs, config, o) {
1046
- return [
1047
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1048
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1049
- ];
1012
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1050
1013
  })
1051
1014
  .s("ChimeraDbLionfishServiceLambda", "GetCluster", {})
1052
1015
  .n("DocDBElasticClient", "GetClusterCommand")
1053
- .f(void 0, void 0)
1054
- .ser(se_GetClusterCommand)
1055
- .de(de_GetClusterCommand)
1016
+ .sc(GetCluster)
1056
1017
  .build() {
1057
1018
  }
1058
1019
 
@@ -1060,16 +1021,11 @@ class GetClusterSnapshotCommand extends smithyClient.Command
1060
1021
  .classBuilder()
1061
1022
  .ep(commonParams)
1062
1023
  .m(function (Command, cs, config, o) {
1063
- return [
1064
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1065
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1066
- ];
1024
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1067
1025
  })
1068
1026
  .s("ChimeraDbLionfishServiceLambda", "GetClusterSnapshot", {})
1069
1027
  .n("DocDBElasticClient", "GetClusterSnapshotCommand")
1070
- .f(void 0, void 0)
1071
- .ser(se_GetClusterSnapshotCommand)
1072
- .de(de_GetClusterSnapshotCommand)
1028
+ .sc(GetClusterSnapshot)
1073
1029
  .build() {
1074
1030
  }
1075
1031
 
@@ -1077,16 +1033,11 @@ class GetPendingMaintenanceActionCommand extends smithyClient.Command
1077
1033
  .classBuilder()
1078
1034
  .ep(commonParams)
1079
1035
  .m(function (Command, cs, config, o) {
1080
- return [
1081
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1082
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1083
- ];
1036
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1084
1037
  })
1085
1038
  .s("ChimeraDbLionfishServiceLambda", "GetPendingMaintenanceAction", {})
1086
1039
  .n("DocDBElasticClient", "GetPendingMaintenanceActionCommand")
1087
- .f(void 0, void 0)
1088
- .ser(se_GetPendingMaintenanceActionCommand)
1089
- .de(de_GetPendingMaintenanceActionCommand)
1040
+ .sc(GetPendingMaintenanceAction)
1090
1041
  .build() {
1091
1042
  }
1092
1043
 
@@ -1094,16 +1045,11 @@ class ListClustersCommand extends smithyClient.Command
1094
1045
  .classBuilder()
1095
1046
  .ep(commonParams)
1096
1047
  .m(function (Command, cs, config, o) {
1097
- return [
1098
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1099
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1100
- ];
1048
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1101
1049
  })
1102
1050
  .s("ChimeraDbLionfishServiceLambda", "ListClusters", {})
1103
1051
  .n("DocDBElasticClient", "ListClustersCommand")
1104
- .f(void 0, void 0)
1105
- .ser(se_ListClustersCommand)
1106
- .de(de_ListClustersCommand)
1052
+ .sc(ListClusters)
1107
1053
  .build() {
1108
1054
  }
1109
1055
 
@@ -1111,16 +1057,11 @@ class ListClusterSnapshotsCommand extends smithyClient.Command
1111
1057
  .classBuilder()
1112
1058
  .ep(commonParams)
1113
1059
  .m(function (Command, cs, config, o) {
1114
- return [
1115
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1116
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1117
- ];
1060
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1118
1061
  })
1119
1062
  .s("ChimeraDbLionfishServiceLambda", "ListClusterSnapshots", {})
1120
1063
  .n("DocDBElasticClient", "ListClusterSnapshotsCommand")
1121
- .f(void 0, void 0)
1122
- .ser(se_ListClusterSnapshotsCommand)
1123
- .de(de_ListClusterSnapshotsCommand)
1064
+ .sc(ListClusterSnapshots)
1124
1065
  .build() {
1125
1066
  }
1126
1067
 
@@ -1128,16 +1069,11 @@ class ListPendingMaintenanceActionsCommand extends smithyClient.Command
1128
1069
  .classBuilder()
1129
1070
  .ep(commonParams)
1130
1071
  .m(function (Command, cs, config, o) {
1131
- return [
1132
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1133
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1134
- ];
1072
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1135
1073
  })
1136
1074
  .s("ChimeraDbLionfishServiceLambda", "ListPendingMaintenanceActions", {})
1137
1075
  .n("DocDBElasticClient", "ListPendingMaintenanceActionsCommand")
1138
- .f(void 0, void 0)
1139
- .ser(se_ListPendingMaintenanceActionsCommand)
1140
- .de(de_ListPendingMaintenanceActionsCommand)
1076
+ .sc(ListPendingMaintenanceActions)
1141
1077
  .build() {
1142
1078
  }
1143
1079
 
@@ -1145,16 +1081,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1145
1081
  .classBuilder()
1146
1082
  .ep(commonParams)
1147
1083
  .m(function (Command, cs, config, o) {
1148
- return [
1149
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1150
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1151
- ];
1084
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1152
1085
  })
1153
1086
  .s("ChimeraDbLionfishServiceLambda", "ListTagsForResource", {})
1154
1087
  .n("DocDBElasticClient", "ListTagsForResourceCommand")
1155
- .f(void 0, void 0)
1156
- .ser(se_ListTagsForResourceCommand)
1157
- .de(de_ListTagsForResourceCommand)
1088
+ .sc(ListTagsForResource)
1158
1089
  .build() {
1159
1090
  }
1160
1091
 
@@ -1162,16 +1093,11 @@ class RestoreClusterFromSnapshotCommand extends smithyClient.Command
1162
1093
  .classBuilder()
1163
1094
  .ep(commonParams)
1164
1095
  .m(function (Command, cs, config, o) {
1165
- return [
1166
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1167
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1168
- ];
1096
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1169
1097
  })
1170
1098
  .s("ChimeraDbLionfishServiceLambda", "RestoreClusterFromSnapshot", {})
1171
1099
  .n("DocDBElasticClient", "RestoreClusterFromSnapshotCommand")
1172
- .f(void 0, void 0)
1173
- .ser(se_RestoreClusterFromSnapshotCommand)
1174
- .de(de_RestoreClusterFromSnapshotCommand)
1100
+ .sc(RestoreClusterFromSnapshot)
1175
1101
  .build() {
1176
1102
  }
1177
1103
 
@@ -1179,16 +1105,11 @@ class StartClusterCommand extends smithyClient.Command
1179
1105
  .classBuilder()
1180
1106
  .ep(commonParams)
1181
1107
  .m(function (Command, cs, config, o) {
1182
- return [
1183
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1184
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1185
- ];
1108
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1186
1109
  })
1187
1110
  .s("ChimeraDbLionfishServiceLambda", "StartCluster", {})
1188
1111
  .n("DocDBElasticClient", "StartClusterCommand")
1189
- .f(void 0, void 0)
1190
- .ser(se_StartClusterCommand)
1191
- .de(de_StartClusterCommand)
1112
+ .sc(StartCluster)
1192
1113
  .build() {
1193
1114
  }
1194
1115
 
@@ -1196,16 +1117,11 @@ class StopClusterCommand extends smithyClient.Command
1196
1117
  .classBuilder()
1197
1118
  .ep(commonParams)
1198
1119
  .m(function (Command, cs, config, o) {
1199
- return [
1200
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1201
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1202
- ];
1120
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1203
1121
  })
1204
1122
  .s("ChimeraDbLionfishServiceLambda", "StopCluster", {})
1205
1123
  .n("DocDBElasticClient", "StopClusterCommand")
1206
- .f(void 0, void 0)
1207
- .ser(se_StopClusterCommand)
1208
- .de(de_StopClusterCommand)
1124
+ .sc(StopCluster)
1209
1125
  .build() {
1210
1126
  }
1211
1127
 
@@ -1213,16 +1129,11 @@ class TagResourceCommand extends smithyClient.Command
1213
1129
  .classBuilder()
1214
1130
  .ep(commonParams)
1215
1131
  .m(function (Command, cs, config, o) {
1216
- return [
1217
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1218
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1219
- ];
1132
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1220
1133
  })
1221
1134
  .s("ChimeraDbLionfishServiceLambda", "TagResource", {})
1222
1135
  .n("DocDBElasticClient", "TagResourceCommand")
1223
- .f(void 0, void 0)
1224
- .ser(se_TagResourceCommand)
1225
- .de(de_TagResourceCommand)
1136
+ .sc(TagResource)
1226
1137
  .build() {
1227
1138
  }
1228
1139
 
@@ -1230,16 +1141,11 @@ class UntagResourceCommand extends smithyClient.Command
1230
1141
  .classBuilder()
1231
1142
  .ep(commonParams)
1232
1143
  .m(function (Command, cs, config, o) {
1233
- return [
1234
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1235
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1236
- ];
1144
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1237
1145
  })
1238
1146
  .s("ChimeraDbLionfishServiceLambda", "UntagResource", {})
1239
1147
  .n("DocDBElasticClient", "UntagResourceCommand")
1240
- .f(void 0, void 0)
1241
- .ser(se_UntagResourceCommand)
1242
- .de(de_UntagResourceCommand)
1148
+ .sc(UntagResource)
1243
1149
  .build() {
1244
1150
  }
1245
1151
 
@@ -1247,16 +1153,11 @@ class UpdateClusterCommand extends smithyClient.Command
1247
1153
  .classBuilder()
1248
1154
  .ep(commonParams)
1249
1155
  .m(function (Command, cs, config, o) {
1250
- return [
1251
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1252
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1253
- ];
1156
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1254
1157
  })
1255
1158
  .s("ChimeraDbLionfishServiceLambda", "UpdateCluster", {})
1256
1159
  .n("DocDBElasticClient", "UpdateClusterCommand")
1257
- .f(UpdateClusterInputFilterSensitiveLog, void 0)
1258
- .ser(se_UpdateClusterCommand)
1259
- .de(de_UpdateClusterCommand)
1160
+ .sc(UpdateCluster)
1260
1161
  .build() {
1261
1162
  }
1262
1163
 
@@ -1299,41 +1200,39 @@ Object.defineProperty(exports, "__Client", {
1299
1200
  enumerable: true,
1300
1201
  get: function () { return smithyClient.Client; }
1301
1202
  });
1302
- exports.AccessDeniedException = AccessDeniedException;
1203
+ exports.AccessDeniedException = AccessDeniedException$1;
1303
1204
  exports.ApplyPendingMaintenanceActionCommand = ApplyPendingMaintenanceActionCommand;
1304
1205
  exports.Auth = Auth;
1305
- exports.ConflictException = ConflictException;
1206
+ exports.ConflictException = ConflictException$1;
1306
1207
  exports.CopyClusterSnapshotCommand = CopyClusterSnapshotCommand;
1307
1208
  exports.CreateClusterCommand = CreateClusterCommand;
1308
- exports.CreateClusterInputFilterSensitiveLog = CreateClusterInputFilterSensitiveLog;
1309
1209
  exports.CreateClusterSnapshotCommand = CreateClusterSnapshotCommand;
1310
1210
  exports.DeleteClusterCommand = DeleteClusterCommand;
1311
1211
  exports.DeleteClusterSnapshotCommand = DeleteClusterSnapshotCommand;
1312
1212
  exports.DocDBElastic = DocDBElastic;
1313
1213
  exports.DocDBElasticClient = DocDBElasticClient;
1314
- exports.DocDBElasticServiceException = DocDBElasticServiceException;
1214
+ exports.DocDBElasticServiceException = DocDBElasticServiceException$1;
1315
1215
  exports.GetClusterCommand = GetClusterCommand;
1316
1216
  exports.GetClusterSnapshotCommand = GetClusterSnapshotCommand;
1317
1217
  exports.GetPendingMaintenanceActionCommand = GetPendingMaintenanceActionCommand;
1318
- exports.InternalServerException = InternalServerException;
1218
+ exports.InternalServerException = InternalServerException$1;
1319
1219
  exports.ListClusterSnapshotsCommand = ListClusterSnapshotsCommand;
1320
1220
  exports.ListClustersCommand = ListClustersCommand;
1321
1221
  exports.ListPendingMaintenanceActionsCommand = ListPendingMaintenanceActionsCommand;
1322
1222
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1323
1223
  exports.OptInType = OptInType;
1324
- exports.ResourceNotFoundException = ResourceNotFoundException;
1224
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1325
1225
  exports.RestoreClusterFromSnapshotCommand = RestoreClusterFromSnapshotCommand;
1326
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1226
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
1327
1227
  exports.SnapshotType = SnapshotType;
1328
1228
  exports.StartClusterCommand = StartClusterCommand;
1329
1229
  exports.Status = Status;
1330
1230
  exports.StopClusterCommand = StopClusterCommand;
1331
1231
  exports.TagResourceCommand = TagResourceCommand;
1332
- exports.ThrottlingException = ThrottlingException;
1232
+ exports.ThrottlingException = ThrottlingException$1;
1333
1233
  exports.UntagResourceCommand = UntagResourceCommand;
1334
1234
  exports.UpdateClusterCommand = UpdateClusterCommand;
1335
- exports.UpdateClusterInputFilterSensitiveLog = UpdateClusterInputFilterSensitiveLog;
1336
- exports.ValidationException = ValidationException;
1235
+ exports.ValidationException = ValidationException$1;
1337
1236
  exports.ValidationExceptionReason = ValidationExceptionReason;
1338
1237
  exports.paginateListClusterSnapshots = paginateListClusterSnapshots;
1339
1238
  exports.paginateListClusters = paginateListClusters;