@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
@@ -0,0 +1,99 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DocDBElasticClient";
4
+ import { ListPendingMaintenanceActionsInput, ListPendingMaintenanceActionsOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListPendingMaintenanceActionsCommand}.
14
+ */
15
+ export interface ListPendingMaintenanceActionsCommandInput extends ListPendingMaintenanceActionsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListPendingMaintenanceActionsCommand}.
21
+ */
22
+ export interface ListPendingMaintenanceActionsCommandOutput extends ListPendingMaintenanceActionsOutput, __MetadataBearer {
23
+ }
24
+ declare const ListPendingMaintenanceActionsCommand_base: {
25
+ new (input: ListPendingMaintenanceActionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPendingMaintenanceActionsCommandInput, ListPendingMaintenanceActionsCommandOutput, DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListPendingMaintenanceActionsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListPendingMaintenanceActionsCommandInput, ListPendingMaintenanceActionsCommandOutput, DocDBElasticClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves a list of all maintenance actions that are pending.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DocDBElasticClient, ListPendingMaintenanceActionsCommand } from "@aws-sdk/client-docdb-elastic"; // ES Modules import
35
+ * // const { DocDBElasticClient, ListPendingMaintenanceActionsCommand } = require("@aws-sdk/client-docdb-elastic"); // CommonJS import
36
+ * const client = new DocDBElasticClient(config);
37
+ * const input = { // ListPendingMaintenanceActionsInput
38
+ * nextToken: "STRING_VALUE",
39
+ * maxResults: Number("int"),
40
+ * };
41
+ * const command = new ListPendingMaintenanceActionsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListPendingMaintenanceActionsOutput
44
+ * // resourcePendingMaintenanceActions: [ // ResourcePendingMaintenanceActionList // required
45
+ * // { // ResourcePendingMaintenanceAction
46
+ * // resourceArn: "STRING_VALUE",
47
+ * // pendingMaintenanceActionDetails: [ // PendingMaintenanceActionDetailsList
48
+ * // { // PendingMaintenanceActionDetails
49
+ * // action: "STRING_VALUE", // required
50
+ * // autoAppliedAfterDate: "STRING_VALUE",
51
+ * // forcedApplyDate: "STRING_VALUE",
52
+ * // optInStatus: "STRING_VALUE",
53
+ * // currentApplyDate: "STRING_VALUE",
54
+ * // description: "STRING_VALUE",
55
+ * // },
56
+ * // ],
57
+ * // },
58
+ * // ],
59
+ * // nextToken: "STRING_VALUE",
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param ListPendingMaintenanceActionsCommandInput - {@link ListPendingMaintenanceActionsCommandInput}
65
+ * @returns {@link ListPendingMaintenanceActionsCommandOutput}
66
+ * @see {@link ListPendingMaintenanceActionsCommandInput} for command's `input` shape.
67
+ * @see {@link ListPendingMaintenanceActionsCommandOutput} for command's `response` shape.
68
+ * @see {@link DocDBElasticClientResolvedConfig | config} for DocDBElasticClient's `config` shape.
69
+ *
70
+ * @throws {@link AccessDeniedException} (client fault)
71
+ * <p>An exception that occurs when there are not sufficient permissions to perform an action.</p>
72
+ *
73
+ * @throws {@link InternalServerException} (server fault)
74
+ * <p>There was an internal server error.</p>
75
+ *
76
+ * @throws {@link ThrottlingException} (client fault)
77
+ * <p>ThrottlingException will be thrown when request was denied due to request throttling.</p>
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * <p>A structure defining a validation exception.</p>
81
+ *
82
+ * @throws {@link DocDBElasticServiceException}
83
+ * <p>Base exception class for all service exceptions from DocDBElastic service.</p>
84
+ *
85
+ * @public
86
+ */
87
+ export declare class ListPendingMaintenanceActionsCommand extends ListPendingMaintenanceActionsCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: ListPendingMaintenanceActionsInput;
92
+ output: ListPendingMaintenanceActionsOutput;
93
+ };
94
+ sdk: {
95
+ input: ListPendingMaintenanceActionsCommandInput;
96
+ output: ListPendingMaintenanceActionsCommandOutput;
97
+ };
98
+ };
99
+ }
@@ -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";
@@ -16,14 +16,139 @@ export declare class AccessDeniedException extends __BaseException {
16
16
  * @public
17
17
  * @enum
18
18
  */
19
- export declare const Auth: {
20
- readonly PLAIN_TEXT: "PLAIN_TEXT";
21
- readonly SECRET_ARN: "SECRET_ARN";
19
+ export declare const OptInType: {
20
+ readonly APPLY_ON: "APPLY_ON";
21
+ readonly IMMEDIATE: "IMMEDIATE";
22
+ readonly NEXT_MAINTENANCE: "NEXT_MAINTENANCE";
23
+ readonly UNDO_OPT_IN: "UNDO_OPT_IN";
22
24
  };
23
25
  /**
24
26
  * @public
25
27
  */
26
- export type Auth = (typeof Auth)[keyof typeof Auth];
28
+ export type OptInType = (typeof OptInType)[keyof typeof OptInType];
29
+ /**
30
+ * @public
31
+ */
32
+ export interface ApplyPendingMaintenanceActionInput {
33
+ /**
34
+ * <p>The Amazon DocumentDB Amazon Resource Name (ARN) of the resource to which the pending maintenance action applies.</p>
35
+ * @public
36
+ */
37
+ resourceArn: string | undefined;
38
+ /**
39
+ * <p>The pending maintenance action to apply to the resource.</p>
40
+ * <p>Valid actions are:</p>
41
+ * <ul>
42
+ * <li>
43
+ * <p>
44
+ * <code>ENGINE_UPDATE<i/>
45
+ * </code>
46
+ * </p>
47
+ * </li>
48
+ * <li>
49
+ * <p>
50
+ * <code>ENGINE_UPGRADE</code>
51
+ * </p>
52
+ * </li>
53
+ * <li>
54
+ * <p>
55
+ * <code>SECURITY_UPDATE</code>
56
+ * </p>
57
+ * </li>
58
+ * <li>
59
+ * <p>
60
+ * <code>OS_UPDATE</code>
61
+ * </p>
62
+ * </li>
63
+ * <li>
64
+ * <p>
65
+ * <code>MASTER_USER_PASSWORD_UPDATE</code>
66
+ * </p>
67
+ * </li>
68
+ * </ul>
69
+ * @public
70
+ */
71
+ applyAction: string | undefined;
72
+ /**
73
+ * <p>A value that specifies the type of opt-in request, or undoes an opt-in request. An opt-in request of type <code>IMMEDIATE</code> can't be undone.</p>
74
+ * @public
75
+ */
76
+ optInType: OptInType | undefined;
77
+ /**
78
+ * <p>A specific date to apply the pending maintenance action. Required if opt-in-type is <code>APPLY_ON</code>. Format: <code>yyyy/MM/dd HH:mm-yyyy/MM/dd HH:mm</code>
79
+ * </p>
80
+ * @public
81
+ */
82
+ applyOn?: string;
83
+ }
84
+ /**
85
+ * <p>Retrieves the details of maintenance actions that are pending.</p>
86
+ * @public
87
+ */
88
+ export interface PendingMaintenanceActionDetails {
89
+ /**
90
+ * <p>Displays the specific action of a pending maintenance action.</p>
91
+ * @public
92
+ */
93
+ action: string | undefined;
94
+ /**
95
+ * <p>Displays the date of the maintenance window when the action is applied.
96
+ * The maintenance action is applied to the resource during its first maintenance window after this date.
97
+ * If this date is specified, any <code>NEXT_MAINTENANCE</code>
98
+ * <code>optInType</code> requests are ignored.</p>
99
+ * @public
100
+ */
101
+ autoAppliedAfterDate?: string;
102
+ /**
103
+ * <p>Displays the date when the maintenance action is automatically applied.
104
+ * The maintenance action is applied to the resource on this date regardless of the maintenance window for the resource.
105
+ * If this date is specified, any <code>IMMEDIATE</code>
106
+ * <code>optInType</code> requests are ignored.</p>
107
+ * @public
108
+ */
109
+ forcedApplyDate?: string;
110
+ /**
111
+ * <p>Displays the type of <code>optInType</code> request that has been received for the resource.</p>
112
+ * @public
113
+ */
114
+ optInStatus?: string;
115
+ /**
116
+ * <p>Displays the effective date when the pending maintenance action is applied to the resource.</p>
117
+ * @public
118
+ */
119
+ currentApplyDate?: string;
120
+ /**
121
+ * <p>Displays a description providing more detail about the maintenance action.</p>
122
+ * @public
123
+ */
124
+ description?: string;
125
+ }
126
+ /**
127
+ * <p>Provides information about a pending maintenance action for a resource.</p>
128
+ * @public
129
+ */
130
+ export interface ResourcePendingMaintenanceAction {
131
+ /**
132
+ * <p>The Amazon DocumentDB Amazon Resource Name (ARN) of the resource to which the pending maintenance action applies.</p>
133
+ * @public
134
+ */
135
+ resourceArn?: string;
136
+ /**
137
+ * <p>Provides information about a pending maintenance action for a resource.</p>
138
+ * @public
139
+ */
140
+ pendingMaintenanceActionDetails?: PendingMaintenanceActionDetails[];
141
+ }
142
+ /**
143
+ * @public
144
+ */
145
+ export interface ApplyPendingMaintenanceActionOutput {
146
+ /**
147
+ * <p>The output of the pending maintenance action being applied.</p>
148
+ * @public
149
+ */
150
+ resourcePendingMaintenanceAction: ResourcePendingMaintenanceAction | undefined;
151
+ }
27
152
  /**
28
153
  * <p>There was an access conflict.</p>
29
154
  * @public
@@ -46,6 +171,124 @@ export declare class ConflictException extends __BaseException {
46
171
  */
47
172
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
48
173
  }
174
+ /**
175
+ * <p>There was an internal server error.</p>
176
+ * @public
177
+ */
178
+ export declare class InternalServerException extends __BaseException {
179
+ readonly name: "InternalServerException";
180
+ readonly $fault: "server";
181
+ $retryable: {};
182
+ /**
183
+ * @internal
184
+ */
185
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
186
+ }
187
+ /**
188
+ * <p>The specified resource could not be located.</p>
189
+ * @public
190
+ */
191
+ export declare class ResourceNotFoundException extends __BaseException {
192
+ readonly name: "ResourceNotFoundException";
193
+ readonly $fault: "client";
194
+ /**
195
+ * <p>The ID of the resource that could not be located.</p>
196
+ * @public
197
+ */
198
+ resourceId: string | undefined;
199
+ /**
200
+ * <p>The type of the resource that could not be found.</p>
201
+ * @public
202
+ */
203
+ resourceType: string | undefined;
204
+ /**
205
+ * @internal
206
+ */
207
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
208
+ }
209
+ /**
210
+ * <p>ThrottlingException will be thrown when request was denied due to request throttling.</p>
211
+ * @public
212
+ */
213
+ export declare class ThrottlingException extends __BaseException {
214
+ readonly name: "ThrottlingException";
215
+ readonly $fault: "client";
216
+ $retryable: {};
217
+ /**
218
+ * <p>The number of seconds to wait before retrying the operation.</p>
219
+ * @public
220
+ */
221
+ retryAfterSeconds?: number;
222
+ /**
223
+ * @internal
224
+ */
225
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
226
+ }
227
+ /**
228
+ * <p>A specific field in which a given validation exception occurred.</p>
229
+ * @public
230
+ */
231
+ export interface ValidationExceptionField {
232
+ /**
233
+ * <p>The name of the field where the validation exception occurred.</p>
234
+ * @public
235
+ */
236
+ name: string | undefined;
237
+ /**
238
+ * <p>An error message describing the validation exception in this field.</p>
239
+ * @public
240
+ */
241
+ message: string | undefined;
242
+ }
243
+ /**
244
+ * @public
245
+ * @enum
246
+ */
247
+ export declare const ValidationExceptionReason: {
248
+ readonly CANNOT_PARSE: "cannotParse";
249
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
250
+ readonly OTHER: "other";
251
+ readonly UNKNOWN_OPERATION: "unknownOperation";
252
+ };
253
+ /**
254
+ * @public
255
+ */
256
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
257
+ /**
258
+ * <p>A structure defining a validation exception.</p>
259
+ * @public
260
+ */
261
+ export declare class ValidationException extends __BaseException {
262
+ readonly name: "ValidationException";
263
+ readonly $fault: "client";
264
+ /**
265
+ * <p>The reason why the validation exception occurred (one of <code>unknownOperation</code>,
266
+ * <code>cannotParse</code>, <code>fieldValidationFailed</code>, or <code>other</code>).</p>
267
+ * @public
268
+ */
269
+ reason: ValidationExceptionReason | undefined;
270
+ /**
271
+ * <p>A list of the fields in which the validation exception occurred.</p>
272
+ * @public
273
+ */
274
+ fieldList?: ValidationExceptionField[];
275
+ /**
276
+ * @internal
277
+ */
278
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
279
+ }
280
+ /**
281
+ * @public
282
+ * @enum
283
+ */
284
+ export declare const Auth: {
285
+ readonly PLAIN_TEXT: "PLAIN_TEXT";
286
+ readonly SECRET_ARN: "SECRET_ARN";
287
+ };
288
+ /**
289
+ * @public
290
+ */
291
+ export type Auth = (typeof Auth)[keyof typeof Auth];
49
292
  /**
50
293
  * @public
51
294
  */
@@ -119,6 +362,7 @@ export declare const Status: {
119
362
  readonly COPYING: "COPYING";
120
363
  readonly CREATING: "CREATING";
121
364
  readonly DELETING: "DELETING";
365
+ readonly INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE: "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE";
122
366
  readonly INACCESSIBLE_ENCRYPTION_CREDS: "INACCESSIBLE_ENCRYPTION_CREDS";
123
367
  readonly INACCESSIBLE_SECRET_ARN: "INACCESSIBLE_SECRET_ARN";
124
368
  readonly INACCESSIBLE_VPC_ENDPOINT: "INACCESSIBLE_VPC_ENDPOINT";
@@ -126,6 +370,7 @@ export declare const Status: {
126
370
  readonly INVALID_SECURITY_GROUP_ID: "INVALID_SECURITY_GROUP_ID";
127
371
  readonly INVALID_SUBNET_ID: "INVALID_SUBNET_ID";
128
372
  readonly IP_ADDRESS_LIMIT_EXCEEDED: "IP_ADDRESS_LIMIT_EXCEEDED";
373
+ readonly MAINTENANCE: "MAINTENANCE";
129
374
  readonly MERGING: "MERGING";
130
375
  readonly MODIFYING: "MODIFYING";
131
376
  readonly SPLITTING: "SPLITTING";
@@ -225,41 +470,6 @@ export interface CopyClusterSnapshotOutput {
225
470
  */
226
471
  snapshot: ClusterSnapshot | undefined;
227
472
  }
228
- /**
229
- * <p>There was an internal server error.</p>
230
- * @public
231
- */
232
- export declare class InternalServerException extends __BaseException {
233
- readonly name: "InternalServerException";
234
- readonly $fault: "server";
235
- $retryable: {};
236
- /**
237
- * @internal
238
- */
239
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
240
- }
241
- /**
242
- * <p>The specified resource could not be located.</p>
243
- * @public
244
- */
245
- export declare class ResourceNotFoundException extends __BaseException {
246
- readonly name: "ResourceNotFoundException";
247
- readonly $fault: "client";
248
- /**
249
- * <p>The ID of the resource that could not be located.</p>
250
- * @public
251
- */
252
- resourceId: string | undefined;
253
- /**
254
- * <p>The type of the resource that could not be found.</p>
255
- * @public
256
- */
257
- resourceType: string | undefined;
258
- /**
259
- * @internal
260
- */
261
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
262
- }
263
473
  /**
264
474
  * <p>The service quota for the action was exceeded.</p>
265
475
  * @public
@@ -272,77 +482,6 @@ export declare class ServiceQuotaExceededException extends __BaseException {
272
482
  */
273
483
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
274
484
  }
275
- /**
276
- * <p>ThrottlingException will be thrown when request was denied due to request throttling.</p>
277
- * @public
278
- */
279
- export declare class ThrottlingException extends __BaseException {
280
- readonly name: "ThrottlingException";
281
- readonly $fault: "client";
282
- $retryable: {};
283
- /**
284
- * <p>The number of seconds to wait before retrying the operation.</p>
285
- * @public
286
- */
287
- retryAfterSeconds?: number;
288
- /**
289
- * @internal
290
- */
291
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
292
- }
293
- /**
294
- * <p>A specific field in which a given validation exception occurred.</p>
295
- * @public
296
- */
297
- export interface ValidationExceptionField {
298
- /**
299
- * <p>The name of the field where the validation exception occurred.</p>
300
- * @public
301
- */
302
- name: string | undefined;
303
- /**
304
- * <p>An error message describing the validation exception in this field.</p>
305
- * @public
306
- */
307
- message: string | undefined;
308
- }
309
- /**
310
- * @public
311
- * @enum
312
- */
313
- export declare const ValidationExceptionReason: {
314
- readonly CANNOT_PARSE: "cannotParse";
315
- readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
316
- readonly OTHER: "other";
317
- readonly UNKNOWN_OPERATION: "unknownOperation";
318
- };
319
- /**
320
- * @public
321
- */
322
- export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
323
- /**
324
- * <p>A structure defining a validation exception.</p>
325
- * @public
326
- */
327
- export declare class ValidationException extends __BaseException {
328
- readonly name: "ValidationException";
329
- readonly $fault: "client";
330
- /**
331
- * <p>The reason why the validation exception occurred (one of <code>unknownOperation</code>,
332
- * <code>cannotParse</code>, <code>fieldValidationFailed</code>, or <code>other</code>).</p>
333
- * @public
334
- */
335
- reason: ValidationExceptionReason | undefined;
336
- /**
337
- * <p>A list of the fields in which the validation exception occurred.</p>
338
- * @public
339
- */
340
- fieldList?: ValidationExceptionField[];
341
- /**
342
- * @internal
343
- */
344
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
345
- }
346
485
  /**
347
486
  * @public
348
487
  */
@@ -720,6 +859,26 @@ export interface GetClusterSnapshotOutput {
720
859
  */
721
860
  snapshot: ClusterSnapshot | undefined;
722
861
  }
862
+ /**
863
+ * @public
864
+ */
865
+ export interface GetPendingMaintenanceActionInput {
866
+ /**
867
+ * <p>Retrieves pending maintenance actions for a specific Amazon Resource Name (ARN).</p>
868
+ * @public
869
+ */
870
+ resourceArn: string | undefined;
871
+ }
872
+ /**
873
+ * @public
874
+ */
875
+ export interface GetPendingMaintenanceActionOutput {
876
+ /**
877
+ * <p>Provides information about a pending maintenance action for a resource.</p>
878
+ * @public
879
+ */
880
+ resourcePendingMaintenanceAction: ResourcePendingMaintenanceAction | undefined;
881
+ }
723
882
  /**
724
883
  * @public
725
884
  */
@@ -860,6 +1019,37 @@ export interface ListClusterSnapshotsOutput {
860
1019
  */
861
1020
  nextToken?: string;
862
1021
  }
1022
+ /**
1023
+ * @public
1024
+ */
1025
+ export interface ListPendingMaintenanceActionsInput {
1026
+ /**
1027
+ * <p>An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>maxResults</code>.</p>
1028
+ * @public
1029
+ */
1030
+ nextToken?: string;
1031
+ /**
1032
+ * <p>The maximum number of results to include in the response.
1033
+ * If more records exist than the specified <code>maxResults</code> value, a pagination token (marker) is included in the response so that the remaining results can be retrieved.</p>
1034
+ * @public
1035
+ */
1036
+ maxResults?: number;
1037
+ }
1038
+ /**
1039
+ * @public
1040
+ */
1041
+ export interface ListPendingMaintenanceActionsOutput {
1042
+ /**
1043
+ * <p>Provides information about a pending maintenance action for a resource.</p>
1044
+ * @public
1045
+ */
1046
+ resourcePendingMaintenanceActions: ResourcePendingMaintenanceAction[] | undefined;
1047
+ /**
1048
+ * <p>An optional pagination token provided by a previous request. If this parameter is displayed, the responses will include only records beyond the marker, up to the value specified by <code>maxResults</code>.</p>
1049
+ * @public
1050
+ */
1051
+ nextToken?: string;
1052
+ }
863
1053
  /**
864
1054
  * @public
865
1055
  */
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListPendingMaintenanceActionsCommandInput, ListPendingMaintenanceActionsCommandOutput } from "../commands/ListPendingMaintenanceActionsCommand";
3
+ import { DocDBElasticPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListPendingMaintenanceActions: (config: DocDBElasticPaginationConfiguration, input: ListPendingMaintenanceActionsCommandInput, ...rest: any[]) => Paginator<ListPendingMaintenanceActionsCommandOutput>;
@@ -1,3 +1,4 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListClusterSnapshotsPaginator";
3
3
  export * from "./ListClustersPaginator";
4
+ export * from "./ListPendingMaintenanceActionsPaginator";
@@ -1,5 +1,6 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { ApplyPendingMaintenanceActionCommandInput, ApplyPendingMaintenanceActionCommandOutput } from "../commands/ApplyPendingMaintenanceActionCommand";
3
4
  import { CopyClusterSnapshotCommandInput, CopyClusterSnapshotCommandOutput } from "../commands/CopyClusterSnapshotCommand";
4
5
  import { CreateClusterCommandInput, CreateClusterCommandOutput } from "../commands/CreateClusterCommand";
5
6
  import { CreateClusterSnapshotCommandInput, CreateClusterSnapshotCommandOutput } from "../commands/CreateClusterSnapshotCommand";
@@ -7,8 +8,10 @@ import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "../comman
7
8
  import { DeleteClusterSnapshotCommandInput, DeleteClusterSnapshotCommandOutput } from "../commands/DeleteClusterSnapshotCommand";
8
9
  import { GetClusterCommandInput, GetClusterCommandOutput } from "../commands/GetClusterCommand";
9
10
  import { GetClusterSnapshotCommandInput, GetClusterSnapshotCommandOutput } from "../commands/GetClusterSnapshotCommand";
11
+ import { GetPendingMaintenanceActionCommandInput, GetPendingMaintenanceActionCommandOutput } from "../commands/GetPendingMaintenanceActionCommand";
10
12
  import { ListClustersCommandInput, ListClustersCommandOutput } from "../commands/ListClustersCommand";
11
13
  import { ListClusterSnapshotsCommandInput, ListClusterSnapshotsCommandOutput } from "../commands/ListClusterSnapshotsCommand";
14
+ import { ListPendingMaintenanceActionsCommandInput, ListPendingMaintenanceActionsCommandOutput } from "../commands/ListPendingMaintenanceActionsCommand";
12
15
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
13
16
  import { RestoreClusterFromSnapshotCommandInput, RestoreClusterFromSnapshotCommandOutput } from "../commands/RestoreClusterFromSnapshotCommand";
14
17
  import { StartClusterCommandInput, StartClusterCommandOutput } from "../commands/StartClusterCommand";
@@ -16,6 +19,10 @@ import { StopClusterCommandInput, StopClusterCommandOutput } from "../commands/S
16
19
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
17
20
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
18
21
  import { UpdateClusterCommandInput, UpdateClusterCommandOutput } from "../commands/UpdateClusterCommand";
22
+ /**
23
+ * serializeAws_restJson1ApplyPendingMaintenanceActionCommand
24
+ */
25
+ export declare const se_ApplyPendingMaintenanceActionCommand: (input: ApplyPendingMaintenanceActionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
19
26
  /**
20
27
  * serializeAws_restJson1CopyClusterSnapshotCommand
21
28
  */
@@ -44,6 +51,10 @@ export declare const se_GetClusterCommand: (input: GetClusterCommandInput, conte
44
51
  * serializeAws_restJson1GetClusterSnapshotCommand
45
52
  */
46
53
  export declare const se_GetClusterSnapshotCommand: (input: GetClusterSnapshotCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
54
+ /**
55
+ * serializeAws_restJson1GetPendingMaintenanceActionCommand
56
+ */
57
+ export declare const se_GetPendingMaintenanceActionCommand: (input: GetPendingMaintenanceActionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
47
58
  /**
48
59
  * serializeAws_restJson1ListClustersCommand
49
60
  */
@@ -52,6 +63,10 @@ export declare const se_ListClustersCommand: (input: ListClustersCommandInput, c
52
63
  * serializeAws_restJson1ListClusterSnapshotsCommand
53
64
  */
54
65
  export declare const se_ListClusterSnapshotsCommand: (input: ListClusterSnapshotsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
66
+ /**
67
+ * serializeAws_restJson1ListPendingMaintenanceActionsCommand
68
+ */
69
+ export declare const se_ListPendingMaintenanceActionsCommand: (input: ListPendingMaintenanceActionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
55
70
  /**
56
71
  * serializeAws_restJson1ListTagsForResourceCommand
57
72
  */
@@ -80,6 +95,10 @@ export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput,
80
95
  * serializeAws_restJson1UpdateClusterCommand
81
96
  */
82
97
  export declare const se_UpdateClusterCommand: (input: UpdateClusterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
98
+ /**
99
+ * deserializeAws_restJson1ApplyPendingMaintenanceActionCommand
100
+ */
101
+ export declare const de_ApplyPendingMaintenanceActionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ApplyPendingMaintenanceActionCommandOutput>;
83
102
  /**
84
103
  * deserializeAws_restJson1CopyClusterSnapshotCommand
85
104
  */
@@ -108,6 +127,10 @@ export declare const de_GetClusterCommand: (output: __HttpResponse, context: __S
108
127
  * deserializeAws_restJson1GetClusterSnapshotCommand
109
128
  */
110
129
  export declare const de_GetClusterSnapshotCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetClusterSnapshotCommandOutput>;
130
+ /**
131
+ * deserializeAws_restJson1GetPendingMaintenanceActionCommand
132
+ */
133
+ export declare const de_GetPendingMaintenanceActionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPendingMaintenanceActionCommandOutput>;
111
134
  /**
112
135
  * deserializeAws_restJson1ListClustersCommand
113
136
  */
@@ -116,6 +139,10 @@ export declare const de_ListClustersCommand: (output: __HttpResponse, context: _
116
139
  * deserializeAws_restJson1ListClusterSnapshotsCommand
117
140
  */
118
141
  export declare const de_ListClusterSnapshotsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListClusterSnapshotsCommandOutput>;
142
+ /**
143
+ * deserializeAws_restJson1ListPendingMaintenanceActionsCommand
144
+ */
145
+ export declare const de_ListPendingMaintenanceActionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPendingMaintenanceActionsCommandOutput>;
119
146
  /**
120
147
  * deserializeAws_restJson1ListTagsForResourceCommand
121
148
  */