@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.
- package/README.md +25 -1
- package/dist-cjs/index.js +203 -54
- package/dist-es/DocDBElastic.js +6 -0
- package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +22 -0
- package/dist-es/commands/GetPendingMaintenanceActionCommand.js +22 -0
- package/dist-es/commands/ListPendingMaintenanceActionsCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +48 -40
- package/dist-es/pagination/ListPendingMaintenanceActionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +83 -3
- package/dist-types/DocDBElastic.d.ts +22 -0
- package/dist-types/DocDBElasticClient.d.ts +5 -2
- package/dist-types/commands/ApplyPendingMaintenanceActionCommand.d.ts +104 -0
- package/dist-types/commands/GetPendingMaintenanceActionCommand.d.ts +101 -0
- package/dist-types/commands/ListPendingMaintenanceActionsCommand.d.ts +99 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +300 -110
- package/dist-types/pagination/ListPendingMaintenanceActionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/DocDBElastic.d.ts +52 -0
- package/dist-types/ts3.4/DocDBElasticClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/ApplyPendingMaintenanceActionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPendingMaintenanceActionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPendingMaintenanceActionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +101 -51
- package/dist-types/ts3.4/pagination/ListPendingMaintenanceActionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +35 -35
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ApplyPendingMaintenanceActionCommandInput,
|
|
4
|
+
ApplyPendingMaintenanceActionCommandOutput,
|
|
5
|
+
} from "./commands/ApplyPendingMaintenanceActionCommand";
|
|
2
6
|
import {
|
|
3
7
|
CopyClusterSnapshotCommandInput,
|
|
4
8
|
CopyClusterSnapshotCommandOutput,
|
|
@@ -27,6 +31,10 @@ import {
|
|
|
27
31
|
GetClusterSnapshotCommandInput,
|
|
28
32
|
GetClusterSnapshotCommandOutput,
|
|
29
33
|
} from "./commands/GetClusterSnapshotCommand";
|
|
34
|
+
import {
|
|
35
|
+
GetPendingMaintenanceActionCommandInput,
|
|
36
|
+
GetPendingMaintenanceActionCommandOutput,
|
|
37
|
+
} from "./commands/GetPendingMaintenanceActionCommand";
|
|
30
38
|
import {
|
|
31
39
|
ListClustersCommandInput,
|
|
32
40
|
ListClustersCommandOutput,
|
|
@@ -35,6 +43,10 @@ import {
|
|
|
35
43
|
ListClusterSnapshotsCommandInput,
|
|
36
44
|
ListClusterSnapshotsCommandOutput,
|
|
37
45
|
} from "./commands/ListClusterSnapshotsCommand";
|
|
46
|
+
import {
|
|
47
|
+
ListPendingMaintenanceActionsCommandInput,
|
|
48
|
+
ListPendingMaintenanceActionsCommandOutput,
|
|
49
|
+
} from "./commands/ListPendingMaintenanceActionsCommand";
|
|
38
50
|
import {
|
|
39
51
|
ListTagsForResourceCommandInput,
|
|
40
52
|
ListTagsForResourceCommandOutput,
|
|
@@ -65,6 +77,19 @@ import {
|
|
|
65
77
|
} from "./commands/UpdateClusterCommand";
|
|
66
78
|
import { DocDBElasticClient } from "./DocDBElasticClient";
|
|
67
79
|
export interface DocDBElastic {
|
|
80
|
+
applyPendingMaintenanceAction(
|
|
81
|
+
args: ApplyPendingMaintenanceActionCommandInput,
|
|
82
|
+
options?: __HttpHandlerOptions
|
|
83
|
+
): Promise<ApplyPendingMaintenanceActionCommandOutput>;
|
|
84
|
+
applyPendingMaintenanceAction(
|
|
85
|
+
args: ApplyPendingMaintenanceActionCommandInput,
|
|
86
|
+
cb: (err: any, data?: ApplyPendingMaintenanceActionCommandOutput) => void
|
|
87
|
+
): void;
|
|
88
|
+
applyPendingMaintenanceAction(
|
|
89
|
+
args: ApplyPendingMaintenanceActionCommandInput,
|
|
90
|
+
options: __HttpHandlerOptions,
|
|
91
|
+
cb: (err: any, data?: ApplyPendingMaintenanceActionCommandOutput) => void
|
|
92
|
+
): void;
|
|
68
93
|
copyClusterSnapshot(
|
|
69
94
|
args: CopyClusterSnapshotCommandInput,
|
|
70
95
|
options?: __HttpHandlerOptions
|
|
@@ -156,6 +181,19 @@ export interface DocDBElastic {
|
|
|
156
181
|
options: __HttpHandlerOptions,
|
|
157
182
|
cb: (err: any, data?: GetClusterSnapshotCommandOutput) => void
|
|
158
183
|
): void;
|
|
184
|
+
getPendingMaintenanceAction(
|
|
185
|
+
args: GetPendingMaintenanceActionCommandInput,
|
|
186
|
+
options?: __HttpHandlerOptions
|
|
187
|
+
): Promise<GetPendingMaintenanceActionCommandOutput>;
|
|
188
|
+
getPendingMaintenanceAction(
|
|
189
|
+
args: GetPendingMaintenanceActionCommandInput,
|
|
190
|
+
cb: (err: any, data?: GetPendingMaintenanceActionCommandOutput) => void
|
|
191
|
+
): void;
|
|
192
|
+
getPendingMaintenanceAction(
|
|
193
|
+
args: GetPendingMaintenanceActionCommandInput,
|
|
194
|
+
options: __HttpHandlerOptions,
|
|
195
|
+
cb: (err: any, data?: GetPendingMaintenanceActionCommandOutput) => void
|
|
196
|
+
): void;
|
|
159
197
|
listClusters(): Promise<ListClustersCommandOutput>;
|
|
160
198
|
listClusters(
|
|
161
199
|
args: ListClustersCommandInput,
|
|
@@ -184,6 +222,20 @@ export interface DocDBElastic {
|
|
|
184
222
|
options: __HttpHandlerOptions,
|
|
185
223
|
cb: (err: any, data?: ListClusterSnapshotsCommandOutput) => void
|
|
186
224
|
): void;
|
|
225
|
+
listPendingMaintenanceActions(): Promise<ListPendingMaintenanceActionsCommandOutput>;
|
|
226
|
+
listPendingMaintenanceActions(
|
|
227
|
+
args: ListPendingMaintenanceActionsCommandInput,
|
|
228
|
+
options?: __HttpHandlerOptions
|
|
229
|
+
): Promise<ListPendingMaintenanceActionsCommandOutput>;
|
|
230
|
+
listPendingMaintenanceActions(
|
|
231
|
+
args: ListPendingMaintenanceActionsCommandInput,
|
|
232
|
+
cb: (err: any, data?: ListPendingMaintenanceActionsCommandOutput) => void
|
|
233
|
+
): void;
|
|
234
|
+
listPendingMaintenanceActions(
|
|
235
|
+
args: ListPendingMaintenanceActionsCommandInput,
|
|
236
|
+
options: __HttpHandlerOptions,
|
|
237
|
+
cb: (err: any, data?: ListPendingMaintenanceActionsCommandOutput) => void
|
|
238
|
+
): void;
|
|
187
239
|
listTagsForResource(
|
|
188
240
|
args: ListTagsForResourceCommandInput,
|
|
189
241
|
options?: __HttpHandlerOptions
|
|
@@ -45,6 +45,10 @@ import {
|
|
|
45
45
|
HttpAuthSchemeInputConfig,
|
|
46
46
|
HttpAuthSchemeResolvedConfig,
|
|
47
47
|
} from "./auth/httpAuthSchemeProvider";
|
|
48
|
+
import {
|
|
49
|
+
ApplyPendingMaintenanceActionCommandInput,
|
|
50
|
+
ApplyPendingMaintenanceActionCommandOutput,
|
|
51
|
+
} from "./commands/ApplyPendingMaintenanceActionCommand";
|
|
48
52
|
import {
|
|
49
53
|
CopyClusterSnapshotCommandInput,
|
|
50
54
|
CopyClusterSnapshotCommandOutput,
|
|
@@ -73,6 +77,10 @@ import {
|
|
|
73
77
|
GetClusterSnapshotCommandInput,
|
|
74
78
|
GetClusterSnapshotCommandOutput,
|
|
75
79
|
} from "./commands/GetClusterSnapshotCommand";
|
|
80
|
+
import {
|
|
81
|
+
GetPendingMaintenanceActionCommandInput,
|
|
82
|
+
GetPendingMaintenanceActionCommandOutput,
|
|
83
|
+
} from "./commands/GetPendingMaintenanceActionCommand";
|
|
76
84
|
import {
|
|
77
85
|
ListClustersCommandInput,
|
|
78
86
|
ListClustersCommandOutput,
|
|
@@ -81,6 +89,10 @@ import {
|
|
|
81
89
|
ListClusterSnapshotsCommandInput,
|
|
82
90
|
ListClusterSnapshotsCommandOutput,
|
|
83
91
|
} from "./commands/ListClusterSnapshotsCommand";
|
|
92
|
+
import {
|
|
93
|
+
ListPendingMaintenanceActionsCommandInput,
|
|
94
|
+
ListPendingMaintenanceActionsCommandOutput,
|
|
95
|
+
} from "./commands/ListPendingMaintenanceActionsCommand";
|
|
84
96
|
import {
|
|
85
97
|
ListTagsForResourceCommandInput,
|
|
86
98
|
ListTagsForResourceCommandOutput,
|
|
@@ -117,6 +129,7 @@ import {
|
|
|
117
129
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
118
130
|
export { __Client };
|
|
119
131
|
export type ServiceInputTypes =
|
|
132
|
+
| ApplyPendingMaintenanceActionCommandInput
|
|
120
133
|
| CopyClusterSnapshotCommandInput
|
|
121
134
|
| CreateClusterCommandInput
|
|
122
135
|
| CreateClusterSnapshotCommandInput
|
|
@@ -124,8 +137,10 @@ export type ServiceInputTypes =
|
|
|
124
137
|
| DeleteClusterSnapshotCommandInput
|
|
125
138
|
| GetClusterCommandInput
|
|
126
139
|
| GetClusterSnapshotCommandInput
|
|
140
|
+
| GetPendingMaintenanceActionCommandInput
|
|
127
141
|
| ListClusterSnapshotsCommandInput
|
|
128
142
|
| ListClustersCommandInput
|
|
143
|
+
| ListPendingMaintenanceActionsCommandInput
|
|
129
144
|
| ListTagsForResourceCommandInput
|
|
130
145
|
| RestoreClusterFromSnapshotCommandInput
|
|
131
146
|
| StartClusterCommandInput
|
|
@@ -134,6 +149,7 @@ export type ServiceInputTypes =
|
|
|
134
149
|
| UntagResourceCommandInput
|
|
135
150
|
| UpdateClusterCommandInput;
|
|
136
151
|
export type ServiceOutputTypes =
|
|
152
|
+
| ApplyPendingMaintenanceActionCommandOutput
|
|
137
153
|
| CopyClusterSnapshotCommandOutput
|
|
138
154
|
| CreateClusterCommandOutput
|
|
139
155
|
| CreateClusterSnapshotCommandOutput
|
|
@@ -141,8 +157,10 @@ export type ServiceOutputTypes =
|
|
|
141
157
|
| DeleteClusterSnapshotCommandOutput
|
|
142
158
|
| GetClusterCommandOutput
|
|
143
159
|
| GetClusterSnapshotCommandOutput
|
|
160
|
+
| GetPendingMaintenanceActionCommandOutput
|
|
144
161
|
| ListClusterSnapshotsCommandOutput
|
|
145
162
|
| ListClustersCommandOutput
|
|
163
|
+
| ListPendingMaintenanceActionsCommandOutput
|
|
146
164
|
| ListTagsForResourceCommandOutput
|
|
147
165
|
| RestoreClusterFromSnapshotCommandOutput
|
|
148
166
|
| StartClusterCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DocDBElasticClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../DocDBElasticClient";
|
|
8
|
+
import {
|
|
9
|
+
ApplyPendingMaintenanceActionInput,
|
|
10
|
+
ApplyPendingMaintenanceActionOutput,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ApplyPendingMaintenanceActionCommandInput
|
|
15
|
+
extends ApplyPendingMaintenanceActionInput {}
|
|
16
|
+
export interface ApplyPendingMaintenanceActionCommandOutput
|
|
17
|
+
extends ApplyPendingMaintenanceActionOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ApplyPendingMaintenanceActionCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ApplyPendingMaintenanceActionCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ApplyPendingMaintenanceActionCommandInput,
|
|
24
|
+
ApplyPendingMaintenanceActionCommandOutput,
|
|
25
|
+
DocDBElasticClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: ApplyPendingMaintenanceActionCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ApplyPendingMaintenanceActionCommandInput,
|
|
33
|
+
ApplyPendingMaintenanceActionCommandOutput,
|
|
34
|
+
DocDBElasticClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ApplyPendingMaintenanceActionCommand extends ApplyPendingMaintenanceActionCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: ApplyPendingMaintenanceActionInput;
|
|
44
|
+
output: ApplyPendingMaintenanceActionOutput;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: ApplyPendingMaintenanceActionCommandInput;
|
|
48
|
+
output: ApplyPendingMaintenanceActionCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DocDBElasticClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../DocDBElasticClient";
|
|
8
|
+
import {
|
|
9
|
+
GetPendingMaintenanceActionInput,
|
|
10
|
+
GetPendingMaintenanceActionOutput,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetPendingMaintenanceActionCommandInput
|
|
15
|
+
extends GetPendingMaintenanceActionInput {}
|
|
16
|
+
export interface GetPendingMaintenanceActionCommandOutput
|
|
17
|
+
extends GetPendingMaintenanceActionOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetPendingMaintenanceActionCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetPendingMaintenanceActionCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetPendingMaintenanceActionCommandInput,
|
|
24
|
+
GetPendingMaintenanceActionCommandOutput,
|
|
25
|
+
DocDBElasticClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: GetPendingMaintenanceActionCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetPendingMaintenanceActionCommandInput,
|
|
33
|
+
GetPendingMaintenanceActionCommandOutput,
|
|
34
|
+
DocDBElasticClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetPendingMaintenanceActionCommand extends GetPendingMaintenanceActionCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: GetPendingMaintenanceActionInput;
|
|
44
|
+
output: GetPendingMaintenanceActionOutput;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: GetPendingMaintenanceActionCommandInput;
|
|
48
|
+
output: GetPendingMaintenanceActionCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DocDBElasticClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../DocDBElasticClient";
|
|
8
|
+
import {
|
|
9
|
+
ListPendingMaintenanceActionsInput,
|
|
10
|
+
ListPendingMaintenanceActionsOutput,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListPendingMaintenanceActionsCommandInput
|
|
15
|
+
extends ListPendingMaintenanceActionsInput {}
|
|
16
|
+
export interface ListPendingMaintenanceActionsCommandOutput
|
|
17
|
+
extends ListPendingMaintenanceActionsOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListPendingMaintenanceActionsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListPendingMaintenanceActionsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ListPendingMaintenanceActionsCommandInput,
|
|
24
|
+
ListPendingMaintenanceActionsCommandOutput,
|
|
25
|
+
DocDBElasticClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
...[input]: [] | [ListPendingMaintenanceActionsCommandInput]
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ListPendingMaintenanceActionsCommandInput,
|
|
33
|
+
ListPendingMaintenanceActionsCommandOutput,
|
|
34
|
+
DocDBElasticClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ListPendingMaintenanceActionsCommand extends ListPendingMaintenanceActionsCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: ListPendingMaintenanceActionsInput;
|
|
44
|
+
output: ListPendingMaintenanceActionsOutput;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: ListPendingMaintenanceActionsCommandInput;
|
|
48
|
+
output: ListPendingMaintenanceActionsCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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";
|
|
@@ -7,11 +7,36 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
7
7
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
8
|
);
|
|
9
9
|
}
|
|
10
|
-
export declare const
|
|
11
|
-
readonly
|
|
12
|
-
readonly
|
|
10
|
+
export declare const OptInType: {
|
|
11
|
+
readonly APPLY_ON: "APPLY_ON";
|
|
12
|
+
readonly IMMEDIATE: "IMMEDIATE";
|
|
13
|
+
readonly NEXT_MAINTENANCE: "NEXT_MAINTENANCE";
|
|
14
|
+
readonly UNDO_OPT_IN: "UNDO_OPT_IN";
|
|
13
15
|
};
|
|
14
|
-
export type
|
|
16
|
+
export type OptInType = (typeof OptInType)[keyof typeof OptInType];
|
|
17
|
+
export interface ApplyPendingMaintenanceActionInput {
|
|
18
|
+
resourceArn: string | undefined;
|
|
19
|
+
applyAction: string | undefined;
|
|
20
|
+
optInType: OptInType | undefined;
|
|
21
|
+
applyOn?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface PendingMaintenanceActionDetails {
|
|
24
|
+
action: string | undefined;
|
|
25
|
+
autoAppliedAfterDate?: string;
|
|
26
|
+
forcedApplyDate?: string;
|
|
27
|
+
optInStatus?: string;
|
|
28
|
+
currentApplyDate?: string;
|
|
29
|
+
description?: string;
|
|
30
|
+
}
|
|
31
|
+
export interface ResourcePendingMaintenanceAction {
|
|
32
|
+
resourceArn?: string;
|
|
33
|
+
pendingMaintenanceActionDetails?: PendingMaintenanceActionDetails[];
|
|
34
|
+
}
|
|
35
|
+
export interface ApplyPendingMaintenanceActionOutput {
|
|
36
|
+
resourcePendingMaintenanceAction:
|
|
37
|
+
| ResourcePendingMaintenanceAction
|
|
38
|
+
| undefined;
|
|
39
|
+
}
|
|
15
40
|
export declare class ConflictException extends __BaseException {
|
|
16
41
|
readonly name: "ConflictException";
|
|
17
42
|
readonly $fault: "client";
|
|
@@ -19,6 +44,58 @@ export declare class ConflictException extends __BaseException {
|
|
|
19
44
|
resourceType: string | undefined;
|
|
20
45
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
21
46
|
}
|
|
47
|
+
export declare class InternalServerException extends __BaseException {
|
|
48
|
+
readonly name: "InternalServerException";
|
|
49
|
+
readonly $fault: "server";
|
|
50
|
+
$retryable: {};
|
|
51
|
+
constructor(
|
|
52
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
56
|
+
readonly name: "ResourceNotFoundException";
|
|
57
|
+
readonly $fault: "client";
|
|
58
|
+
resourceId: string | undefined;
|
|
59
|
+
resourceType: string | undefined;
|
|
60
|
+
constructor(
|
|
61
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
export declare class ThrottlingException extends __BaseException {
|
|
65
|
+
readonly name: "ThrottlingException";
|
|
66
|
+
readonly $fault: "client";
|
|
67
|
+
$retryable: {};
|
|
68
|
+
retryAfterSeconds?: number;
|
|
69
|
+
constructor(
|
|
70
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
71
|
+
);
|
|
72
|
+
}
|
|
73
|
+
export interface ValidationExceptionField {
|
|
74
|
+
name: string | undefined;
|
|
75
|
+
message: string | undefined;
|
|
76
|
+
}
|
|
77
|
+
export declare const ValidationExceptionReason: {
|
|
78
|
+
readonly CANNOT_PARSE: "cannotParse";
|
|
79
|
+
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
80
|
+
readonly OTHER: "other";
|
|
81
|
+
readonly UNKNOWN_OPERATION: "unknownOperation";
|
|
82
|
+
};
|
|
83
|
+
export type ValidationExceptionReason =
|
|
84
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
85
|
+
export declare class ValidationException extends __BaseException {
|
|
86
|
+
readonly name: "ValidationException";
|
|
87
|
+
readonly $fault: "client";
|
|
88
|
+
reason: ValidationExceptionReason | undefined;
|
|
89
|
+
fieldList?: ValidationExceptionField[];
|
|
90
|
+
constructor(
|
|
91
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
92
|
+
);
|
|
93
|
+
}
|
|
94
|
+
export declare const Auth: {
|
|
95
|
+
readonly PLAIN_TEXT: "PLAIN_TEXT";
|
|
96
|
+
readonly SECRET_ARN: "SECRET_ARN";
|
|
97
|
+
};
|
|
98
|
+
export type Auth = (typeof Auth)[keyof typeof Auth];
|
|
22
99
|
export interface CopyClusterSnapshotInput {
|
|
23
100
|
snapshotArn: string | undefined;
|
|
24
101
|
targetSnapshotName: string | undefined;
|
|
@@ -36,6 +113,7 @@ export declare const Status: {
|
|
|
36
113
|
readonly COPYING: "COPYING";
|
|
37
114
|
readonly CREATING: "CREATING";
|
|
38
115
|
readonly DELETING: "DELETING";
|
|
116
|
+
readonly INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE: "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE";
|
|
39
117
|
readonly INACCESSIBLE_ENCRYPTION_CREDS: "INACCESSIBLE_ENCRYPTION_CREDS";
|
|
40
118
|
readonly INACCESSIBLE_SECRET_ARN: "INACCESSIBLE_SECRET_ARN";
|
|
41
119
|
readonly INACCESSIBLE_VPC_ENDPOINT: "INACCESSIBLE_VPC_ENDPOINT";
|
|
@@ -43,6 +121,7 @@ export declare const Status: {
|
|
|
43
121
|
readonly INVALID_SECURITY_GROUP_ID: "INVALID_SECURITY_GROUP_ID";
|
|
44
122
|
readonly INVALID_SUBNET_ID: "INVALID_SUBNET_ID";
|
|
45
123
|
readonly IP_ADDRESS_LIMIT_EXCEEDED: "IP_ADDRESS_LIMIT_EXCEEDED";
|
|
124
|
+
readonly MAINTENANCE: "MAINTENANCE";
|
|
46
125
|
readonly MERGING: "MERGING";
|
|
47
126
|
readonly MODIFYING: "MODIFYING";
|
|
48
127
|
readonly SPLITTING: "SPLITTING";
|
|
@@ -69,23 +148,6 @@ export interface ClusterSnapshot {
|
|
|
69
148
|
export interface CopyClusterSnapshotOutput {
|
|
70
149
|
snapshot: ClusterSnapshot | undefined;
|
|
71
150
|
}
|
|
72
|
-
export declare class InternalServerException extends __BaseException {
|
|
73
|
-
readonly name: "InternalServerException";
|
|
74
|
-
readonly $fault: "server";
|
|
75
|
-
$retryable: {};
|
|
76
|
-
constructor(
|
|
77
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
78
|
-
);
|
|
79
|
-
}
|
|
80
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
81
|
-
readonly name: "ResourceNotFoundException";
|
|
82
|
-
readonly $fault: "client";
|
|
83
|
-
resourceId: string | undefined;
|
|
84
|
-
resourceType: string | undefined;
|
|
85
|
-
constructor(
|
|
86
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
151
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
90
152
|
readonly name: "ServiceQuotaExceededException";
|
|
91
153
|
readonly $fault: "client";
|
|
@@ -93,36 +155,6 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
93
155
|
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
94
156
|
);
|
|
95
157
|
}
|
|
96
|
-
export declare class ThrottlingException extends __BaseException {
|
|
97
|
-
readonly name: "ThrottlingException";
|
|
98
|
-
readonly $fault: "client";
|
|
99
|
-
$retryable: {};
|
|
100
|
-
retryAfterSeconds?: number;
|
|
101
|
-
constructor(
|
|
102
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
103
|
-
);
|
|
104
|
-
}
|
|
105
|
-
export interface ValidationExceptionField {
|
|
106
|
-
name: string | undefined;
|
|
107
|
-
message: string | undefined;
|
|
108
|
-
}
|
|
109
|
-
export declare const ValidationExceptionReason: {
|
|
110
|
-
readonly CANNOT_PARSE: "cannotParse";
|
|
111
|
-
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
112
|
-
readonly OTHER: "other";
|
|
113
|
-
readonly UNKNOWN_OPERATION: "unknownOperation";
|
|
114
|
-
};
|
|
115
|
-
export type ValidationExceptionReason =
|
|
116
|
-
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
117
|
-
export declare class ValidationException extends __BaseException {
|
|
118
|
-
readonly name: "ValidationException";
|
|
119
|
-
readonly $fault: "client";
|
|
120
|
-
reason: ValidationExceptionReason | undefined;
|
|
121
|
-
fieldList?: ValidationExceptionField[];
|
|
122
|
-
constructor(
|
|
123
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
124
|
-
);
|
|
125
|
-
}
|
|
126
158
|
export interface CreateClusterInput {
|
|
127
159
|
clusterName: string | undefined;
|
|
128
160
|
authType: Auth | undefined;
|
|
@@ -199,6 +231,14 @@ export interface GetClusterSnapshotInput {
|
|
|
199
231
|
export interface GetClusterSnapshotOutput {
|
|
200
232
|
snapshot: ClusterSnapshot | undefined;
|
|
201
233
|
}
|
|
234
|
+
export interface GetPendingMaintenanceActionInput {
|
|
235
|
+
resourceArn: string | undefined;
|
|
236
|
+
}
|
|
237
|
+
export interface GetPendingMaintenanceActionOutput {
|
|
238
|
+
resourcePendingMaintenanceAction:
|
|
239
|
+
| ResourcePendingMaintenanceAction
|
|
240
|
+
| undefined;
|
|
241
|
+
}
|
|
202
242
|
export interface ListClustersInput {
|
|
203
243
|
nextToken?: string;
|
|
204
244
|
maxResults?: number;
|
|
@@ -229,6 +269,16 @@ export interface ListClusterSnapshotsOutput {
|
|
|
229
269
|
snapshots?: ClusterSnapshotInList[];
|
|
230
270
|
nextToken?: string;
|
|
231
271
|
}
|
|
272
|
+
export interface ListPendingMaintenanceActionsInput {
|
|
273
|
+
nextToken?: string;
|
|
274
|
+
maxResults?: number;
|
|
275
|
+
}
|
|
276
|
+
export interface ListPendingMaintenanceActionsOutput {
|
|
277
|
+
resourcePendingMaintenanceActions:
|
|
278
|
+
| ResourcePendingMaintenanceAction[]
|
|
279
|
+
| undefined;
|
|
280
|
+
nextToken?: string;
|
|
281
|
+
}
|
|
232
282
|
export interface ListTagsForResourceRequest {
|
|
233
283
|
resourceArn: string | undefined;
|
|
234
284
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListPendingMaintenanceActionsCommandInput,
|
|
4
|
+
ListPendingMaintenanceActionsCommandOutput,
|
|
5
|
+
} from "../commands/ListPendingMaintenanceActionsCommand";
|
|
6
|
+
import { DocDBElasticPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListPendingMaintenanceActions: (
|
|
8
|
+
config: DocDBElasticPaginationConfiguration,
|
|
9
|
+
input: ListPendingMaintenanceActionsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListPendingMaintenanceActionsCommandOutput>;
|
|
@@ -3,6 +3,10 @@ import {
|
|
|
3
3
|
HttpResponse as __HttpResponse,
|
|
4
4
|
} from "@smithy/protocol-http";
|
|
5
5
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
|
+
import {
|
|
7
|
+
ApplyPendingMaintenanceActionCommandInput,
|
|
8
|
+
ApplyPendingMaintenanceActionCommandOutput,
|
|
9
|
+
} from "../commands/ApplyPendingMaintenanceActionCommand";
|
|
6
10
|
import {
|
|
7
11
|
CopyClusterSnapshotCommandInput,
|
|
8
12
|
CopyClusterSnapshotCommandOutput,
|
|
@@ -31,6 +35,10 @@ import {
|
|
|
31
35
|
GetClusterSnapshotCommandInput,
|
|
32
36
|
GetClusterSnapshotCommandOutput,
|
|
33
37
|
} from "../commands/GetClusterSnapshotCommand";
|
|
38
|
+
import {
|
|
39
|
+
GetPendingMaintenanceActionCommandInput,
|
|
40
|
+
GetPendingMaintenanceActionCommandOutput,
|
|
41
|
+
} from "../commands/GetPendingMaintenanceActionCommand";
|
|
34
42
|
import {
|
|
35
43
|
ListClustersCommandInput,
|
|
36
44
|
ListClustersCommandOutput,
|
|
@@ -39,6 +47,10 @@ import {
|
|
|
39
47
|
ListClusterSnapshotsCommandInput,
|
|
40
48
|
ListClusterSnapshotsCommandOutput,
|
|
41
49
|
} from "../commands/ListClusterSnapshotsCommand";
|
|
50
|
+
import {
|
|
51
|
+
ListPendingMaintenanceActionsCommandInput,
|
|
52
|
+
ListPendingMaintenanceActionsCommandOutput,
|
|
53
|
+
} from "../commands/ListPendingMaintenanceActionsCommand";
|
|
42
54
|
import {
|
|
43
55
|
ListTagsForResourceCommandInput,
|
|
44
56
|
ListTagsForResourceCommandOutput,
|
|
@@ -67,6 +79,10 @@ import {
|
|
|
67
79
|
UpdateClusterCommandInput,
|
|
68
80
|
UpdateClusterCommandOutput,
|
|
69
81
|
} from "../commands/UpdateClusterCommand";
|
|
82
|
+
export declare const se_ApplyPendingMaintenanceActionCommand: (
|
|
83
|
+
input: ApplyPendingMaintenanceActionCommandInput,
|
|
84
|
+
context: __SerdeContext
|
|
85
|
+
) => Promise<__HttpRequest>;
|
|
70
86
|
export declare const se_CopyClusterSnapshotCommand: (
|
|
71
87
|
input: CopyClusterSnapshotCommandInput,
|
|
72
88
|
context: __SerdeContext
|
|
@@ -95,6 +111,10 @@ export declare const se_GetClusterSnapshotCommand: (
|
|
|
95
111
|
input: GetClusterSnapshotCommandInput,
|
|
96
112
|
context: __SerdeContext
|
|
97
113
|
) => Promise<__HttpRequest>;
|
|
114
|
+
export declare const se_GetPendingMaintenanceActionCommand: (
|
|
115
|
+
input: GetPendingMaintenanceActionCommandInput,
|
|
116
|
+
context: __SerdeContext
|
|
117
|
+
) => Promise<__HttpRequest>;
|
|
98
118
|
export declare const se_ListClustersCommand: (
|
|
99
119
|
input: ListClustersCommandInput,
|
|
100
120
|
context: __SerdeContext
|
|
@@ -103,6 +123,10 @@ export declare const se_ListClusterSnapshotsCommand: (
|
|
|
103
123
|
input: ListClusterSnapshotsCommandInput,
|
|
104
124
|
context: __SerdeContext
|
|
105
125
|
) => Promise<__HttpRequest>;
|
|
126
|
+
export declare const se_ListPendingMaintenanceActionsCommand: (
|
|
127
|
+
input: ListPendingMaintenanceActionsCommandInput,
|
|
128
|
+
context: __SerdeContext
|
|
129
|
+
) => Promise<__HttpRequest>;
|
|
106
130
|
export declare const se_ListTagsForResourceCommand: (
|
|
107
131
|
input: ListTagsForResourceCommandInput,
|
|
108
132
|
context: __SerdeContext
|
|
@@ -131,6 +155,10 @@ export declare const se_UpdateClusterCommand: (
|
|
|
131
155
|
input: UpdateClusterCommandInput,
|
|
132
156
|
context: __SerdeContext
|
|
133
157
|
) => Promise<__HttpRequest>;
|
|
158
|
+
export declare const de_ApplyPendingMaintenanceActionCommand: (
|
|
159
|
+
output: __HttpResponse,
|
|
160
|
+
context: __SerdeContext
|
|
161
|
+
) => Promise<ApplyPendingMaintenanceActionCommandOutput>;
|
|
134
162
|
export declare const de_CopyClusterSnapshotCommand: (
|
|
135
163
|
output: __HttpResponse,
|
|
136
164
|
context: __SerdeContext
|
|
@@ -159,6 +187,10 @@ export declare const de_GetClusterSnapshotCommand: (
|
|
|
159
187
|
output: __HttpResponse,
|
|
160
188
|
context: __SerdeContext
|
|
161
189
|
) => Promise<GetClusterSnapshotCommandOutput>;
|
|
190
|
+
export declare const de_GetPendingMaintenanceActionCommand: (
|
|
191
|
+
output: __HttpResponse,
|
|
192
|
+
context: __SerdeContext
|
|
193
|
+
) => Promise<GetPendingMaintenanceActionCommandOutput>;
|
|
162
194
|
export declare const de_ListClustersCommand: (
|
|
163
195
|
output: __HttpResponse,
|
|
164
196
|
context: __SerdeContext
|
|
@@ -167,6 +199,10 @@ export declare const de_ListClusterSnapshotsCommand: (
|
|
|
167
199
|
output: __HttpResponse,
|
|
168
200
|
context: __SerdeContext
|
|
169
201
|
) => Promise<ListClusterSnapshotsCommandOutput>;
|
|
202
|
+
export declare const de_ListPendingMaintenanceActionsCommand: (
|
|
203
|
+
output: __HttpResponse,
|
|
204
|
+
context: __SerdeContext
|
|
205
|
+
) => Promise<ListPendingMaintenanceActionsCommandOutput>;
|
|
170
206
|
export declare const de_ListTagsForResourceCommand: (
|
|
171
207
|
output: __HttpResponse,
|
|
172
208
|
context: __SerdeContext
|