@aws-sdk/client-docdb-elastic 3.682.0 → 3.686.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 (32) hide show
  1. package/README.md +25 -1
  2. package/dist-cjs/index.js +203 -54
  3. package/dist-es/DocDBElastic.js +6 -0
  4. package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +22 -0
  5. package/dist-es/commands/GetPendingMaintenanceActionCommand.js +22 -0
  6. package/dist-es/commands/ListPendingMaintenanceActionsCommand.js +22 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +48 -40
  9. package/dist-es/pagination/ListPendingMaintenanceActionsPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +1 -0
  11. package/dist-es/protocols/Aws_restJson1.js +83 -3
  12. package/dist-types/DocDBElastic.d.ts +22 -0
  13. package/dist-types/DocDBElasticClient.d.ts +5 -2
  14. package/dist-types/commands/ApplyPendingMaintenanceActionCommand.d.ts +104 -0
  15. package/dist-types/commands/GetPendingMaintenanceActionCommand.d.ts +101 -0
  16. package/dist-types/commands/ListPendingMaintenanceActionsCommand.d.ts +99 -0
  17. package/dist-types/commands/index.d.ts +3 -0
  18. package/dist-types/models/models_0.d.ts +300 -110
  19. package/dist-types/pagination/ListPendingMaintenanceActionsPaginator.d.ts +7 -0
  20. package/dist-types/pagination/index.d.ts +1 -0
  21. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  22. package/dist-types/ts3.4/DocDBElastic.d.ts +52 -0
  23. package/dist-types/ts3.4/DocDBElasticClient.d.ts +18 -0
  24. package/dist-types/ts3.4/commands/ApplyPendingMaintenanceActionCommand.d.ts +51 -0
  25. package/dist-types/ts3.4/commands/GetPendingMaintenanceActionCommand.d.ts +51 -0
  26. package/dist-types/ts3.4/commands/ListPendingMaintenanceActionsCommand.d.ts +51 -0
  27. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  28. package/dist-types/ts3.4/models/models_0.d.ts +101 -51
  29. package/dist-types/ts3.4/pagination/ListPendingMaintenanceActionsPaginator.d.ts +11 -0
  30. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  31. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  32. package/package.json +35 -35
package/README.md CHANGED
@@ -25,7 +25,7 @@ Amazon DocumentDB elastic clusters also simplify how developers interact with Am
25
25
 
26
26
  ## Installing
27
27
 
28
- To install the this package, simply type add or install @aws-sdk/client-docdb-elastic
28
+ To install this package, simply type add or install @aws-sdk/client-docdb-elastic
29
29
  using your favorite package manager:
30
30
 
31
31
  - `npm install @aws-sdk/client-docdb-elastic`
@@ -218,6 +218,14 @@ see LICENSE for more information.
218
218
 
219
219
  ## Client Commands (Operations List)
220
220
 
221
+ <details>
222
+ <summary>
223
+ ApplyPendingMaintenanceAction
224
+ </summary>
225
+
226
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/docdb-elastic/command/ApplyPendingMaintenanceActionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-docdb-elastic/Interface/ApplyPendingMaintenanceActionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-docdb-elastic/Interface/ApplyPendingMaintenanceActionCommandOutput/)
227
+
228
+ </details>
221
229
  <details>
222
230
  <summary>
223
231
  CopyClusterSnapshot
@@ -273,6 +281,14 @@ GetClusterSnapshot
273
281
 
274
282
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/docdb-elastic/command/GetClusterSnapshotCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-docdb-elastic/Interface/GetClusterSnapshotCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-docdb-elastic/Interface/GetClusterSnapshotCommandOutput/)
275
283
 
284
+ </details>
285
+ <details>
286
+ <summary>
287
+ GetPendingMaintenanceAction
288
+ </summary>
289
+
290
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/docdb-elastic/command/GetPendingMaintenanceActionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-docdb-elastic/Interface/GetPendingMaintenanceActionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-docdb-elastic/Interface/GetPendingMaintenanceActionCommandOutput/)
291
+
276
292
  </details>
277
293
  <details>
278
294
  <summary>
@@ -289,6 +305,14 @@ ListClusterSnapshots
289
305
 
290
306
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/docdb-elastic/command/ListClusterSnapshotsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-docdb-elastic/Interface/ListClusterSnapshotsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-docdb-elastic/Interface/ListClusterSnapshotsCommandOutput/)
291
307
 
308
+ </details>
309
+ <details>
310
+ <summary>
311
+ ListPendingMaintenanceActions
312
+ </summary>
313
+
314
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/docdb-elastic/command/ListPendingMaintenanceActionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-docdb-elastic/Interface/ListPendingMaintenanceActionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-docdb-elastic/Interface/ListPendingMaintenanceActionsCommandOutput/)
315
+
292
316
  </details>
293
317
  <details>
294
318
  <summary>
package/dist-cjs/index.js CHANGED
@@ -22,6 +22,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
22
22
  var src_exports = {};
23
23
  __export(src_exports, {
24
24
  AccessDeniedException: () => AccessDeniedException,
25
+ ApplyPendingMaintenanceActionCommand: () => ApplyPendingMaintenanceActionCommand,
25
26
  Auth: () => Auth,
26
27
  ConflictException: () => ConflictException,
27
28
  CopyClusterSnapshotCommand: () => CopyClusterSnapshotCommand,
@@ -35,10 +36,13 @@ __export(src_exports, {
35
36
  DocDBElasticServiceException: () => DocDBElasticServiceException,
36
37
  GetClusterCommand: () => GetClusterCommand,
37
38
  GetClusterSnapshotCommand: () => GetClusterSnapshotCommand,
39
+ GetPendingMaintenanceActionCommand: () => GetPendingMaintenanceActionCommand,
38
40
  InternalServerException: () => InternalServerException,
39
41
  ListClusterSnapshotsCommand: () => ListClusterSnapshotsCommand,
40
42
  ListClustersCommand: () => ListClustersCommand,
43
+ ListPendingMaintenanceActionsCommand: () => ListPendingMaintenanceActionsCommand,
41
44
  ListTagsForResourceCommand: () => ListTagsForResourceCommand,
45
+ OptInType: () => OptInType,
42
46
  ResourceNotFoundException: () => ResourceNotFoundException,
43
47
  RestoreClusterFromSnapshotCommand: () => RestoreClusterFromSnapshotCommand,
44
48
  ServiceQuotaExceededException: () => ServiceQuotaExceededException,
@@ -55,7 +59,8 @@ __export(src_exports, {
55
59
  ValidationExceptionReason: () => ValidationExceptionReason,
56
60
  __Client: () => import_smithy_client.Client,
57
61
  paginateListClusterSnapshots: () => paginateListClusterSnapshots,
58
- paginateListClusters: () => paginateListClusters
62
+ paginateListClusters: () => paginateListClusters,
63
+ paginateListPendingMaintenanceActions: () => paginateListPendingMaintenanceActions
59
64
  });
60
65
  module.exports = __toCommonJS(src_exports);
61
66
 
@@ -199,7 +204,7 @@ var DocDBElasticClient = _DocDBElasticClient;
199
204
  // src/DocDBElastic.ts
200
205
 
201
206
 
202
- // src/commands/CopyClusterSnapshotCommand.ts
207
+ // src/commands/ApplyPendingMaintenanceActionCommand.ts
203
208
 
204
209
  var import_middleware_serde = require("@smithy/middleware-serde");
205
210
 
@@ -243,9 +248,11 @@ var _AccessDeniedException = class _AccessDeniedException extends DocDBElasticSe
243
248
  };
244
249
  __name(_AccessDeniedException, "AccessDeniedException");
245
250
  var AccessDeniedException = _AccessDeniedException;
246
- var Auth = {
247
- PLAIN_TEXT: "PLAIN_TEXT",
248
- SECRET_ARN: "SECRET_ARN"
251
+ var OptInType = {
252
+ APPLY_ON: "APPLY_ON",
253
+ IMMEDIATE: "IMMEDIATE",
254
+ NEXT_MAINTENANCE: "NEXT_MAINTENANCE",
255
+ UNDO_OPT_IN: "UNDO_OPT_IN"
249
256
  };
250
257
  var _ConflictException = class _ConflictException extends DocDBElasticServiceException {
251
258
  /**
@@ -266,31 +273,6 @@ var _ConflictException = class _ConflictException extends DocDBElasticServiceExc
266
273
  };
267
274
  __name(_ConflictException, "ConflictException");
268
275
  var ConflictException = _ConflictException;
269
- var SnapshotType = {
270
- AUTOMATED: "AUTOMATED",
271
- MANUAL: "MANUAL"
272
- };
273
- var Status = {
274
- ACTIVE: "ACTIVE",
275
- COPYING: "COPYING",
276
- CREATING: "CREATING",
277
- DELETING: "DELETING",
278
- INACCESSIBLE_ENCRYPTION_CREDS: "INACCESSIBLE_ENCRYPTION_CREDS",
279
- INACCESSIBLE_SECRET_ARN: "INACCESSIBLE_SECRET_ARN",
280
- INACCESSIBLE_VPC_ENDPOINT: "INACCESSIBLE_VPC_ENDPOINT",
281
- INCOMPATIBLE_NETWORK: "INCOMPATIBLE_NETWORK",
282
- INVALID_SECURITY_GROUP_ID: "INVALID_SECURITY_GROUP_ID",
283
- INVALID_SUBNET_ID: "INVALID_SUBNET_ID",
284
- IP_ADDRESS_LIMIT_EXCEEDED: "IP_ADDRESS_LIMIT_EXCEEDED",
285
- MERGING: "MERGING",
286
- MODIFYING: "MODIFYING",
287
- SPLITTING: "SPLITTING",
288
- STARTING: "STARTING",
289
- STOPPED: "STOPPED",
290
- STOPPING: "STOPPING",
291
- UPDATING: "UPDATING",
292
- VPC_ENDPOINT_LIMIT_EXCEEDED: "VPC_ENDPOINT_LIMIT_EXCEEDED"
293
- };
294
276
  var _InternalServerException = class _InternalServerException extends DocDBElasticServiceException {
295
277
  /**
296
278
  * @internal
@@ -328,23 +310,6 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends DocDBE
328
310
  };
329
311
  __name(_ResourceNotFoundException, "ResourceNotFoundException");
330
312
  var ResourceNotFoundException = _ResourceNotFoundException;
331
- var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends DocDBElasticServiceException {
332
- /**
333
- * @internal
334
- */
335
- constructor(opts) {
336
- super({
337
- name: "ServiceQuotaExceededException",
338
- $fault: "client",
339
- ...opts
340
- });
341
- this.name = "ServiceQuotaExceededException";
342
- this.$fault = "client";
343
- Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
344
- }
345
- };
346
- __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
347
- var ServiceQuotaExceededException = _ServiceQuotaExceededException;
348
313
  var _ThrottlingException = class _ThrottlingException extends DocDBElasticServiceException {
349
314
  /**
350
315
  * @internal
@@ -389,6 +354,54 @@ var _ValidationException = class _ValidationException extends DocDBElasticServic
389
354
  };
390
355
  __name(_ValidationException, "ValidationException");
391
356
  var ValidationException = _ValidationException;
357
+ var Auth = {
358
+ PLAIN_TEXT: "PLAIN_TEXT",
359
+ SECRET_ARN: "SECRET_ARN"
360
+ };
361
+ var SnapshotType = {
362
+ AUTOMATED: "AUTOMATED",
363
+ MANUAL: "MANUAL"
364
+ };
365
+ var Status = {
366
+ ACTIVE: "ACTIVE",
367
+ COPYING: "COPYING",
368
+ CREATING: "CREATING",
369
+ DELETING: "DELETING",
370
+ INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE: "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE",
371
+ INACCESSIBLE_ENCRYPTION_CREDS: "INACCESSIBLE_ENCRYPTION_CREDS",
372
+ INACCESSIBLE_SECRET_ARN: "INACCESSIBLE_SECRET_ARN",
373
+ INACCESSIBLE_VPC_ENDPOINT: "INACCESSIBLE_VPC_ENDPOINT",
374
+ INCOMPATIBLE_NETWORK: "INCOMPATIBLE_NETWORK",
375
+ INVALID_SECURITY_GROUP_ID: "INVALID_SECURITY_GROUP_ID",
376
+ INVALID_SUBNET_ID: "INVALID_SUBNET_ID",
377
+ IP_ADDRESS_LIMIT_EXCEEDED: "IP_ADDRESS_LIMIT_EXCEEDED",
378
+ MAINTENANCE: "MAINTENANCE",
379
+ MERGING: "MERGING",
380
+ MODIFYING: "MODIFYING",
381
+ SPLITTING: "SPLITTING",
382
+ STARTING: "STARTING",
383
+ STOPPED: "STOPPED",
384
+ STOPPING: "STOPPING",
385
+ UPDATING: "UPDATING",
386
+ VPC_ENDPOINT_LIMIT_EXCEEDED: "VPC_ENDPOINT_LIMIT_EXCEEDED"
387
+ };
388
+ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends DocDBElasticServiceException {
389
+ /**
390
+ * @internal
391
+ */
392
+ constructor(opts) {
393
+ super({
394
+ name: "ServiceQuotaExceededException",
395
+ $fault: "client",
396
+ ...opts
397
+ });
398
+ this.name = "ServiceQuotaExceededException";
399
+ this.$fault = "client";
400
+ Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
401
+ }
402
+ };
403
+ __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
404
+ var ServiceQuotaExceededException = _ServiceQuotaExceededException;
392
405
  var CreateClusterInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
393
406
  ...obj,
394
407
  ...obj.adminUserPassword && { adminUserPassword: import_smithy_client.SENSITIVE_STRING }
@@ -399,6 +412,24 @@ var UpdateClusterInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
399
412
  }), "UpdateClusterInputFilterSensitiveLog");
400
413
 
401
414
  // src/protocols/Aws_restJson1.ts
415
+ var se_ApplyPendingMaintenanceActionCommand = /* @__PURE__ */ __name(async (input, context) => {
416
+ const b = (0, import_core.requestBuilder)(input, context);
417
+ const headers = {
418
+ "content-type": "application/json"
419
+ };
420
+ b.bp("/pending-action");
421
+ let body;
422
+ body = JSON.stringify(
423
+ (0, import_smithy_client.take)(input, {
424
+ applyAction: [],
425
+ applyOn: [],
426
+ optInType: [],
427
+ resourceArn: []
428
+ })
429
+ );
430
+ b.m("POST").h(headers).b(body);
431
+ return b.build();
432
+ }, "se_ApplyPendingMaintenanceActionCommand");
402
433
  var se_CopyClusterSnapshotCommand = /* @__PURE__ */ __name(async (input, context) => {
403
434
  const b = (0, import_core.requestBuilder)(input, context);
404
435
  const headers = {
@@ -500,6 +531,15 @@ var se_GetClusterSnapshotCommand = /* @__PURE__ */ __name(async (input, context)
500
531
  b.m("GET").h(headers).b(body);
501
532
  return b.build();
502
533
  }, "se_GetClusterSnapshotCommand");
534
+ var se_GetPendingMaintenanceActionCommand = /* @__PURE__ */ __name(async (input, context) => {
535
+ const b = (0, import_core.requestBuilder)(input, context);
536
+ const headers = {};
537
+ b.bp("/pending-action/{resourceArn}");
538
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
539
+ let body;
540
+ b.m("GET").h(headers).b(body);
541
+ return b.build();
542
+ }, "se_GetPendingMaintenanceActionCommand");
503
543
  var se_ListClustersCommand = /* @__PURE__ */ __name(async (input, context) => {
504
544
  const b = (0, import_core.requestBuilder)(input, context);
505
545
  const headers = {};
@@ -526,6 +566,18 @@ var se_ListClusterSnapshotsCommand = /* @__PURE__ */ __name(async (input, contex
526
566
  b.m("GET").h(headers).q(query).b(body);
527
567
  return b.build();
528
568
  }, "se_ListClusterSnapshotsCommand");
569
+ var se_ListPendingMaintenanceActionsCommand = /* @__PURE__ */ __name(async (input, context) => {
570
+ const b = (0, import_core.requestBuilder)(input, context);
571
+ const headers = {};
572
+ b.bp("/pending-actions");
573
+ const query = (0, import_smithy_client.map)({
574
+ [_nT]: [, input[_nT]],
575
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
576
+ });
577
+ let body;
578
+ b.m("GET").h(headers).q(query).b(body);
579
+ return b.build();
580
+ }, "se_ListPendingMaintenanceActionsCommand");
529
581
  var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
530
582
  const b = (0, import_core.requestBuilder)(input, context);
531
583
  const headers = {};
@@ -629,6 +681,20 @@ var se_UpdateClusterCommand = /* @__PURE__ */ __name(async (input, context) => {
629
681
  b.m("PUT").h(headers).b(body);
630
682
  return b.build();
631
683
  }, "se_UpdateClusterCommand");
684
+ var de_ApplyPendingMaintenanceActionCommand = /* @__PURE__ */ __name(async (output, context) => {
685
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
686
+ return de_CommandError(output, context);
687
+ }
688
+ const contents = (0, import_smithy_client.map)({
689
+ $metadata: deserializeMetadata(output)
690
+ });
691
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
692
+ const doc = (0, import_smithy_client.take)(data, {
693
+ resourcePendingMaintenanceAction: import_smithy_client._json
694
+ });
695
+ Object.assign(contents, doc);
696
+ return contents;
697
+ }, "de_ApplyPendingMaintenanceActionCommand");
632
698
  var de_CopyClusterSnapshotCommand = /* @__PURE__ */ __name(async (output, context) => {
633
699
  if (output.statusCode !== 200 && output.statusCode >= 300) {
634
700
  return de_CommandError(output, context);
@@ -727,6 +793,20 @@ var de_GetClusterSnapshotCommand = /* @__PURE__ */ __name(async (output, context
727
793
  Object.assign(contents, doc);
728
794
  return contents;
729
795
  }, "de_GetClusterSnapshotCommand");
796
+ var de_GetPendingMaintenanceActionCommand = /* @__PURE__ */ __name(async (output, context) => {
797
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
798
+ return de_CommandError(output, context);
799
+ }
800
+ const contents = (0, import_smithy_client.map)({
801
+ $metadata: deserializeMetadata(output)
802
+ });
803
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
804
+ const doc = (0, import_smithy_client.take)(data, {
805
+ resourcePendingMaintenanceAction: import_smithy_client._json
806
+ });
807
+ Object.assign(contents, doc);
808
+ return contents;
809
+ }, "de_GetPendingMaintenanceActionCommand");
730
810
  var de_ListClustersCommand = /* @__PURE__ */ __name(async (output, context) => {
731
811
  if (output.statusCode !== 200 && output.statusCode >= 300) {
732
812
  return de_CommandError(output, context);
@@ -757,6 +837,21 @@ var de_ListClusterSnapshotsCommand = /* @__PURE__ */ __name(async (output, conte
757
837
  Object.assign(contents, doc);
758
838
  return contents;
759
839
  }, "de_ListClusterSnapshotsCommand");
840
+ var de_ListPendingMaintenanceActionsCommand = /* @__PURE__ */ __name(async (output, context) => {
841
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
842
+ return de_CommandError(output, context);
843
+ }
844
+ const contents = (0, import_smithy_client.map)({
845
+ $metadata: deserializeMetadata(output)
846
+ });
847
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
848
+ const doc = (0, import_smithy_client.take)(data, {
849
+ nextToken: import_smithy_client.expectString,
850
+ resourcePendingMaintenanceActions: import_smithy_client._json
851
+ });
852
+ Object.assign(contents, doc);
853
+ return contents;
854
+ }, "de_ListPendingMaintenanceActionsCommand");
760
855
  var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
761
856
  if (output.statusCode !== 200 && output.statusCode >= 300) {
762
857
  return de_CommandError(output, context);
@@ -866,15 +961,15 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
866
961
  case "ResourceNotFoundException":
867
962
  case "com.amazonaws.docdbelastic#ResourceNotFoundException":
868
963
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
869
- case "ServiceQuotaExceededException":
870
- case "com.amazonaws.docdbelastic#ServiceQuotaExceededException":
871
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
872
964
  case "ThrottlingException":
873
965
  case "com.amazonaws.docdbelastic#ThrottlingException":
874
966
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
875
967
  case "ValidationException":
876
968
  case "com.amazonaws.docdbelastic#ValidationException":
877
969
  throw await de_ValidationExceptionRes(parsedOutput, context);
970
+ case "ServiceQuotaExceededException":
971
+ case "com.amazonaws.docdbelastic#ServiceQuotaExceededException":
972
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
878
973
  default:
879
974
  const parsedBody = parsedOutput.body;
880
975
  return throwDefaultError({
@@ -998,7 +1093,21 @@ var _ra = "retry-after";
998
1093
  var _sT = "snapshotType";
999
1094
  var _tK = "tagKeys";
1000
1095
 
1096
+ // src/commands/ApplyPendingMaintenanceActionCommand.ts
1097
+ var _ApplyPendingMaintenanceActionCommand = class _ApplyPendingMaintenanceActionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1098
+ return [
1099
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1100
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1101
+ ];
1102
+ }).s("ChimeraDbLionfishServiceLambda", "ApplyPendingMaintenanceAction", {}).n("DocDBElasticClient", "ApplyPendingMaintenanceActionCommand").f(void 0, void 0).ser(se_ApplyPendingMaintenanceActionCommand).de(de_ApplyPendingMaintenanceActionCommand).build() {
1103
+ };
1104
+ __name(_ApplyPendingMaintenanceActionCommand, "ApplyPendingMaintenanceActionCommand");
1105
+ var ApplyPendingMaintenanceActionCommand = _ApplyPendingMaintenanceActionCommand;
1106
+
1001
1107
  // src/commands/CopyClusterSnapshotCommand.ts
1108
+
1109
+
1110
+
1002
1111
  var _CopyClusterSnapshotCommand = class _CopyClusterSnapshotCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1003
1112
  return [
1004
1113
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
@@ -1093,6 +1202,20 @@ var _GetClusterSnapshotCommand = class _GetClusterSnapshotCommand extends import
1093
1202
  __name(_GetClusterSnapshotCommand, "GetClusterSnapshotCommand");
1094
1203
  var GetClusterSnapshotCommand = _GetClusterSnapshotCommand;
1095
1204
 
1205
+ // src/commands/GetPendingMaintenanceActionCommand.ts
1206
+
1207
+
1208
+
1209
+ var _GetPendingMaintenanceActionCommand = class _GetPendingMaintenanceActionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1210
+ return [
1211
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1212
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1213
+ ];
1214
+ }).s("ChimeraDbLionfishServiceLambda", "GetPendingMaintenanceAction", {}).n("DocDBElasticClient", "GetPendingMaintenanceActionCommand").f(void 0, void 0).ser(se_GetPendingMaintenanceActionCommand).de(de_GetPendingMaintenanceActionCommand).build() {
1215
+ };
1216
+ __name(_GetPendingMaintenanceActionCommand, "GetPendingMaintenanceActionCommand");
1217
+ var GetPendingMaintenanceActionCommand = _GetPendingMaintenanceActionCommand;
1218
+
1096
1219
  // src/commands/ListClustersCommand.ts
1097
1220
 
1098
1221
 
@@ -1121,6 +1244,20 @@ var _ListClusterSnapshotsCommand = class _ListClusterSnapshotsCommand extends im
1121
1244
  __name(_ListClusterSnapshotsCommand, "ListClusterSnapshotsCommand");
1122
1245
  var ListClusterSnapshotsCommand = _ListClusterSnapshotsCommand;
1123
1246
 
1247
+ // src/commands/ListPendingMaintenanceActionsCommand.ts
1248
+
1249
+
1250
+
1251
+ var _ListPendingMaintenanceActionsCommand = class _ListPendingMaintenanceActionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1252
+ return [
1253
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1254
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1255
+ ];
1256
+ }).s("ChimeraDbLionfishServiceLambda", "ListPendingMaintenanceActions", {}).n("DocDBElasticClient", "ListPendingMaintenanceActionsCommand").f(void 0, void 0).ser(se_ListPendingMaintenanceActionsCommand).de(de_ListPendingMaintenanceActionsCommand).build() {
1257
+ };
1258
+ __name(_ListPendingMaintenanceActionsCommand, "ListPendingMaintenanceActionsCommand");
1259
+ var ListPendingMaintenanceActionsCommand = _ListPendingMaintenanceActionsCommand;
1260
+
1124
1261
  // src/commands/ListTagsForResourceCommand.ts
1125
1262
 
1126
1263
 
@@ -1221,6 +1358,7 @@ var UpdateClusterCommand = _UpdateClusterCommand;
1221
1358
 
1222
1359
  // src/DocDBElastic.ts
1223
1360
  var commands = {
1361
+ ApplyPendingMaintenanceActionCommand,
1224
1362
  CopyClusterSnapshotCommand,
1225
1363
  CreateClusterCommand,
1226
1364
  CreateClusterSnapshotCommand,
@@ -1228,8 +1366,10 @@ var commands = {
1228
1366
  DeleteClusterSnapshotCommand,
1229
1367
  GetClusterCommand,
1230
1368
  GetClusterSnapshotCommand,
1369
+ GetPendingMaintenanceActionCommand,
1231
1370
  ListClustersCommand,
1232
1371
  ListClusterSnapshotsCommand,
1372
+ ListPendingMaintenanceActionsCommand,
1233
1373
  ListTagsForResourceCommand,
1234
1374
  RestoreClusterFromSnapshotCommand,
1235
1375
  StartClusterCommand,
@@ -1251,6 +1391,10 @@ var paginateListClusterSnapshots = (0, import_core.createPaginator)(DocDBElastic
1251
1391
  // src/pagination/ListClustersPaginator.ts
1252
1392
 
1253
1393
  var paginateListClusters = (0, import_core.createPaginator)(DocDBElasticClient, ListClustersCommand, "nextToken", "nextToken", "maxResults");
1394
+
1395
+ // src/pagination/ListPendingMaintenanceActionsPaginator.ts
1396
+
1397
+ var paginateListPendingMaintenanceActions = (0, import_core.createPaginator)(DocDBElasticClient, ListPendingMaintenanceActionsCommand, "nextToken", "nextToken", "maxResults");
1254
1398
  // Annotate the CommonJS export names for ESM import in node:
1255
1399
 
1256
1400
  0 && (module.exports = {
@@ -1259,6 +1403,7 @@ var paginateListClusters = (0, import_core.createPaginator)(DocDBElasticClient,
1259
1403
  DocDBElasticClient,
1260
1404
  DocDBElastic,
1261
1405
  $Command,
1406
+ ApplyPendingMaintenanceActionCommand,
1262
1407
  CopyClusterSnapshotCommand,
1263
1408
  CreateClusterCommand,
1264
1409
  CreateClusterSnapshotCommand,
@@ -1266,8 +1411,10 @@ var paginateListClusters = (0, import_core.createPaginator)(DocDBElasticClient,
1266
1411
  DeleteClusterSnapshotCommand,
1267
1412
  GetClusterCommand,
1268
1413
  GetClusterSnapshotCommand,
1414
+ GetPendingMaintenanceActionCommand,
1269
1415
  ListClusterSnapshotsCommand,
1270
1416
  ListClustersCommand,
1417
+ ListPendingMaintenanceActionsCommand,
1271
1418
  ListTagsForResourceCommand,
1272
1419
  RestoreClusterFromSnapshotCommand,
1273
1420
  StartClusterCommand,
@@ -1277,17 +1424,19 @@ var paginateListClusters = (0, import_core.createPaginator)(DocDBElasticClient,
1277
1424
  UpdateClusterCommand,
1278
1425
  paginateListClusterSnapshots,
1279
1426
  paginateListClusters,
1427
+ paginateListPendingMaintenanceActions,
1280
1428
  AccessDeniedException,
1281
- Auth,
1429
+ OptInType,
1282
1430
  ConflictException,
1283
- SnapshotType,
1284
- Status,
1285
1431
  InternalServerException,
1286
1432
  ResourceNotFoundException,
1287
- ServiceQuotaExceededException,
1288
1433
  ThrottlingException,
1289
1434
  ValidationExceptionReason,
1290
1435
  ValidationException,
1436
+ Auth,
1437
+ SnapshotType,
1438
+ Status,
1439
+ ServiceQuotaExceededException,
1291
1440
  CreateClusterInputFilterSensitiveLog,
1292
1441
  UpdateClusterInputFilterSensitiveLog
1293
1442
  });
@@ -1,4 +1,5 @@
1
1
  import { createAggregatedClient } from "@smithy/smithy-client";
2
+ import { ApplyPendingMaintenanceActionCommand, } from "./commands/ApplyPendingMaintenanceActionCommand";
2
3
  import { CopyClusterSnapshotCommand, } from "./commands/CopyClusterSnapshotCommand";
3
4
  import { CreateClusterCommand, } from "./commands/CreateClusterCommand";
4
5
  import { CreateClusterSnapshotCommand, } from "./commands/CreateClusterSnapshotCommand";
@@ -6,8 +7,10 @@ import { DeleteClusterCommand, } from "./commands/DeleteClusterCommand";
6
7
  import { DeleteClusterSnapshotCommand, } from "./commands/DeleteClusterSnapshotCommand";
7
8
  import { GetClusterCommand } from "./commands/GetClusterCommand";
8
9
  import { GetClusterSnapshotCommand, } from "./commands/GetClusterSnapshotCommand";
10
+ import { GetPendingMaintenanceActionCommand, } from "./commands/GetPendingMaintenanceActionCommand";
9
11
  import { ListClustersCommand, } from "./commands/ListClustersCommand";
10
12
  import { ListClusterSnapshotsCommand, } from "./commands/ListClusterSnapshotsCommand";
13
+ import { ListPendingMaintenanceActionsCommand, } from "./commands/ListPendingMaintenanceActionsCommand";
11
14
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
12
15
  import { RestoreClusterFromSnapshotCommand, } from "./commands/RestoreClusterFromSnapshotCommand";
13
16
  import { StartClusterCommand, } from "./commands/StartClusterCommand";
@@ -17,6 +20,7 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
17
20
  import { UpdateClusterCommand, } from "./commands/UpdateClusterCommand";
18
21
  import { DocDBElasticClient } from "./DocDBElasticClient";
19
22
  const commands = {
23
+ ApplyPendingMaintenanceActionCommand,
20
24
  CopyClusterSnapshotCommand,
21
25
  CreateClusterCommand,
22
26
  CreateClusterSnapshotCommand,
@@ -24,8 +28,10 @@ const commands = {
24
28
  DeleteClusterSnapshotCommand,
25
29
  GetClusterCommand,
26
30
  GetClusterSnapshotCommand,
31
+ GetPendingMaintenanceActionCommand,
27
32
  ListClustersCommand,
28
33
  ListClusterSnapshotsCommand,
34
+ ListPendingMaintenanceActionsCommand,
29
35
  ListTagsForResourceCommand,
30
36
  RestoreClusterFromSnapshotCommand,
31
37
  StartClusterCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ApplyPendingMaintenanceActionCommand, se_ApplyPendingMaintenanceActionCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ApplyPendingMaintenanceActionCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("ChimeraDbLionfishServiceLambda", "ApplyPendingMaintenanceAction", {})
17
+ .n("DocDBElasticClient", "ApplyPendingMaintenanceActionCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ApplyPendingMaintenanceActionCommand)
20
+ .de(de_ApplyPendingMaintenanceActionCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetPendingMaintenanceActionCommand, se_GetPendingMaintenanceActionCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetPendingMaintenanceActionCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("ChimeraDbLionfishServiceLambda", "GetPendingMaintenanceAction", {})
17
+ .n("DocDBElasticClient", "GetPendingMaintenanceActionCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetPendingMaintenanceActionCommand)
20
+ .de(de_GetPendingMaintenanceActionCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListPendingMaintenanceActionsCommand, se_ListPendingMaintenanceActionsCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListPendingMaintenanceActionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("ChimeraDbLionfishServiceLambda", "ListPendingMaintenanceActions", {})
17
+ .n("DocDBElasticClient", "ListPendingMaintenanceActionsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListPendingMaintenanceActionsCommand)
20
+ .de(de_ListPendingMaintenanceActionsCommand)
21
+ .build() {
22
+ }
@@ -1,3 +1,4 @@
1
+ export * from "./ApplyPendingMaintenanceActionCommand";
1
2
  export * from "./CopyClusterSnapshotCommand";
2
3
  export * from "./CreateClusterCommand";
3
4
  export * from "./CreateClusterSnapshotCommand";
@@ -5,8 +6,10 @@ export * from "./DeleteClusterCommand";
5
6
  export * from "./DeleteClusterSnapshotCommand";
6
7
  export * from "./GetClusterCommand";
7
8
  export * from "./GetClusterSnapshotCommand";
9
+ export * from "./GetPendingMaintenanceActionCommand";
8
10
  export * from "./ListClusterSnapshotsCommand";
9
11
  export * from "./ListClustersCommand";
12
+ export * from "./ListPendingMaintenanceActionsCommand";
10
13
  export * from "./ListTagsForResourceCommand";
11
14
  export * from "./RestoreClusterFromSnapshotCommand";
12
15
  export * from "./StartClusterCommand";