@aws-sdk/client-docdb-elastic 3.936.0 → 3.939.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +49 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +43 -0
- package/dist-es/models/models_0.js +1 -43
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +83 -0
- package/dist-types/models/errors.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +1 -83
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +49 -0
- package/dist-types/ts3.4/models/errors.d.ts +2 -4
- package/dist-types/ts3.4/models/models_0.d.ts +1 -49
- package/package.json +2 -2
package/dist-cjs/index.js
CHANGED
|
@@ -1149,6 +1149,50 @@ const paginateListClusters = core.createPaginator(DocDBElasticClient, ListCluste
|
|
|
1149
1149
|
|
|
1150
1150
|
const paginateListPendingMaintenanceActions = core.createPaginator(DocDBElasticClient, ListPendingMaintenanceActionsCommand, "nextToken", "nextToken", "maxResults");
|
|
1151
1151
|
|
|
1152
|
+
const OptInType = {
|
|
1153
|
+
APPLY_ON: "APPLY_ON",
|
|
1154
|
+
IMMEDIATE: "IMMEDIATE",
|
|
1155
|
+
NEXT_MAINTENANCE: "NEXT_MAINTENANCE",
|
|
1156
|
+
UNDO_OPT_IN: "UNDO_OPT_IN",
|
|
1157
|
+
};
|
|
1158
|
+
const ValidationExceptionReason = {
|
|
1159
|
+
CANNOT_PARSE: "cannotParse",
|
|
1160
|
+
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
1161
|
+
OTHER: "other",
|
|
1162
|
+
UNKNOWN_OPERATION: "unknownOperation",
|
|
1163
|
+
};
|
|
1164
|
+
const Auth = {
|
|
1165
|
+
PLAIN_TEXT: "PLAIN_TEXT",
|
|
1166
|
+
SECRET_ARN: "SECRET_ARN",
|
|
1167
|
+
};
|
|
1168
|
+
const SnapshotType = {
|
|
1169
|
+
AUTOMATED: "AUTOMATED",
|
|
1170
|
+
MANUAL: "MANUAL",
|
|
1171
|
+
};
|
|
1172
|
+
const Status = {
|
|
1173
|
+
ACTIVE: "ACTIVE",
|
|
1174
|
+
COPYING: "COPYING",
|
|
1175
|
+
CREATING: "CREATING",
|
|
1176
|
+
DELETING: "DELETING",
|
|
1177
|
+
INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE: "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE",
|
|
1178
|
+
INACCESSIBLE_ENCRYPTION_CREDS: "INACCESSIBLE_ENCRYPTION_CREDS",
|
|
1179
|
+
INACCESSIBLE_SECRET_ARN: "INACCESSIBLE_SECRET_ARN",
|
|
1180
|
+
INACCESSIBLE_VPC_ENDPOINT: "INACCESSIBLE_VPC_ENDPOINT",
|
|
1181
|
+
INCOMPATIBLE_NETWORK: "INCOMPATIBLE_NETWORK",
|
|
1182
|
+
INVALID_SECURITY_GROUP_ID: "INVALID_SECURITY_GROUP_ID",
|
|
1183
|
+
INVALID_SUBNET_ID: "INVALID_SUBNET_ID",
|
|
1184
|
+
IP_ADDRESS_LIMIT_EXCEEDED: "IP_ADDRESS_LIMIT_EXCEEDED",
|
|
1185
|
+
MAINTENANCE: "MAINTENANCE",
|
|
1186
|
+
MERGING: "MERGING",
|
|
1187
|
+
MODIFYING: "MODIFYING",
|
|
1188
|
+
SPLITTING: "SPLITTING",
|
|
1189
|
+
STARTING: "STARTING",
|
|
1190
|
+
STOPPED: "STOPPED",
|
|
1191
|
+
STOPPING: "STOPPING",
|
|
1192
|
+
UPDATING: "UPDATING",
|
|
1193
|
+
VPC_ENDPOINT_LIMIT_EXCEEDED: "VPC_ENDPOINT_LIMIT_EXCEEDED",
|
|
1194
|
+
};
|
|
1195
|
+
|
|
1152
1196
|
Object.defineProperty(exports, "$Command", {
|
|
1153
1197
|
enumerable: true,
|
|
1154
1198
|
get: function () { return smithyClient.Command; }
|
|
@@ -1159,6 +1203,7 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1159
1203
|
});
|
|
1160
1204
|
exports.AccessDeniedException = AccessDeniedException$1;
|
|
1161
1205
|
exports.ApplyPendingMaintenanceActionCommand = ApplyPendingMaintenanceActionCommand;
|
|
1206
|
+
exports.Auth = Auth;
|
|
1162
1207
|
exports.ConflictException = ConflictException$1;
|
|
1163
1208
|
exports.CopyClusterSnapshotCommand = CopyClusterSnapshotCommand;
|
|
1164
1209
|
exports.CreateClusterCommand = CreateClusterCommand;
|
|
@@ -1176,16 +1221,20 @@ exports.ListClusterSnapshotsCommand = ListClusterSnapshotsCommand;
|
|
|
1176
1221
|
exports.ListClustersCommand = ListClustersCommand;
|
|
1177
1222
|
exports.ListPendingMaintenanceActionsCommand = ListPendingMaintenanceActionsCommand;
|
|
1178
1223
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1224
|
+
exports.OptInType = OptInType;
|
|
1179
1225
|
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1180
1226
|
exports.RestoreClusterFromSnapshotCommand = RestoreClusterFromSnapshotCommand;
|
|
1181
1227
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
1228
|
+
exports.SnapshotType = SnapshotType;
|
|
1182
1229
|
exports.StartClusterCommand = StartClusterCommand;
|
|
1230
|
+
exports.Status = Status;
|
|
1183
1231
|
exports.StopClusterCommand = StopClusterCommand;
|
|
1184
1232
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1185
1233
|
exports.ThrottlingException = ThrottlingException$1;
|
|
1186
1234
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1187
1235
|
exports.UpdateClusterCommand = UpdateClusterCommand;
|
|
1188
1236
|
exports.ValidationException = ValidationException$1;
|
|
1237
|
+
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
1189
1238
|
exports.paginateListClusterSnapshots = paginateListClusterSnapshots;
|
|
1190
1239
|
exports.paginateListClusters = paginateListClusters;
|
|
1191
1240
|
exports.paginateListPendingMaintenanceActions = paginateListPendingMaintenanceActions;
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./DocDBElasticClient";
|
|
|
2
2
|
export * from "./DocDBElastic";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
+
export * from "./models/enums";
|
|
5
6
|
export * from "./models/errors";
|
|
6
7
|
export { DocDBElasticServiceException } from "./models/DocDBElasticServiceException";
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export const OptInType = {
|
|
2
|
+
APPLY_ON: "APPLY_ON",
|
|
3
|
+
IMMEDIATE: "IMMEDIATE",
|
|
4
|
+
NEXT_MAINTENANCE: "NEXT_MAINTENANCE",
|
|
5
|
+
UNDO_OPT_IN: "UNDO_OPT_IN",
|
|
6
|
+
};
|
|
7
|
+
export const ValidationExceptionReason = {
|
|
8
|
+
CANNOT_PARSE: "cannotParse",
|
|
9
|
+
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
10
|
+
OTHER: "other",
|
|
11
|
+
UNKNOWN_OPERATION: "unknownOperation",
|
|
12
|
+
};
|
|
13
|
+
export const Auth = {
|
|
14
|
+
PLAIN_TEXT: "PLAIN_TEXT",
|
|
15
|
+
SECRET_ARN: "SECRET_ARN",
|
|
16
|
+
};
|
|
17
|
+
export const SnapshotType = {
|
|
18
|
+
AUTOMATED: "AUTOMATED",
|
|
19
|
+
MANUAL: "MANUAL",
|
|
20
|
+
};
|
|
21
|
+
export const Status = {
|
|
22
|
+
ACTIVE: "ACTIVE",
|
|
23
|
+
COPYING: "COPYING",
|
|
24
|
+
CREATING: "CREATING",
|
|
25
|
+
DELETING: "DELETING",
|
|
26
|
+
INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE: "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE",
|
|
27
|
+
INACCESSIBLE_ENCRYPTION_CREDS: "INACCESSIBLE_ENCRYPTION_CREDS",
|
|
28
|
+
INACCESSIBLE_SECRET_ARN: "INACCESSIBLE_SECRET_ARN",
|
|
29
|
+
INACCESSIBLE_VPC_ENDPOINT: "INACCESSIBLE_VPC_ENDPOINT",
|
|
30
|
+
INCOMPATIBLE_NETWORK: "INCOMPATIBLE_NETWORK",
|
|
31
|
+
INVALID_SECURITY_GROUP_ID: "INVALID_SECURITY_GROUP_ID",
|
|
32
|
+
INVALID_SUBNET_ID: "INVALID_SUBNET_ID",
|
|
33
|
+
IP_ADDRESS_LIMIT_EXCEEDED: "IP_ADDRESS_LIMIT_EXCEEDED",
|
|
34
|
+
MAINTENANCE: "MAINTENANCE",
|
|
35
|
+
MERGING: "MERGING",
|
|
36
|
+
MODIFYING: "MODIFYING",
|
|
37
|
+
SPLITTING: "SPLITTING",
|
|
38
|
+
STARTING: "STARTING",
|
|
39
|
+
STOPPED: "STOPPED",
|
|
40
|
+
STOPPING: "STOPPING",
|
|
41
|
+
UPDATING: "UPDATING",
|
|
42
|
+
VPC_ENDPOINT_LIMIT_EXCEEDED: "VPC_ENDPOINT_LIMIT_EXCEEDED",
|
|
43
|
+
};
|
|
@@ -1,43 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
APPLY_ON: "APPLY_ON",
|
|
3
|
-
IMMEDIATE: "IMMEDIATE",
|
|
4
|
-
NEXT_MAINTENANCE: "NEXT_MAINTENANCE",
|
|
5
|
-
UNDO_OPT_IN: "UNDO_OPT_IN",
|
|
6
|
-
};
|
|
7
|
-
export const ValidationExceptionReason = {
|
|
8
|
-
CANNOT_PARSE: "cannotParse",
|
|
9
|
-
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
10
|
-
OTHER: "other",
|
|
11
|
-
UNKNOWN_OPERATION: "unknownOperation",
|
|
12
|
-
};
|
|
13
|
-
export const Auth = {
|
|
14
|
-
PLAIN_TEXT: "PLAIN_TEXT",
|
|
15
|
-
SECRET_ARN: "SECRET_ARN",
|
|
16
|
-
};
|
|
17
|
-
export const SnapshotType = {
|
|
18
|
-
AUTOMATED: "AUTOMATED",
|
|
19
|
-
MANUAL: "MANUAL",
|
|
20
|
-
};
|
|
21
|
-
export const Status = {
|
|
22
|
-
ACTIVE: "ACTIVE",
|
|
23
|
-
COPYING: "COPYING",
|
|
24
|
-
CREATING: "CREATING",
|
|
25
|
-
DELETING: "DELETING",
|
|
26
|
-
INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE: "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE",
|
|
27
|
-
INACCESSIBLE_ENCRYPTION_CREDS: "INACCESSIBLE_ENCRYPTION_CREDS",
|
|
28
|
-
INACCESSIBLE_SECRET_ARN: "INACCESSIBLE_SECRET_ARN",
|
|
29
|
-
INACCESSIBLE_VPC_ENDPOINT: "INACCESSIBLE_VPC_ENDPOINT",
|
|
30
|
-
INCOMPATIBLE_NETWORK: "INCOMPATIBLE_NETWORK",
|
|
31
|
-
INVALID_SECURITY_GROUP_ID: "INVALID_SECURITY_GROUP_ID",
|
|
32
|
-
INVALID_SUBNET_ID: "INVALID_SUBNET_ID",
|
|
33
|
-
IP_ADDRESS_LIMIT_EXCEEDED: "IP_ADDRESS_LIMIT_EXCEEDED",
|
|
34
|
-
MAINTENANCE: "MAINTENANCE",
|
|
35
|
-
MERGING: "MERGING",
|
|
36
|
-
MODIFYING: "MODIFYING",
|
|
37
|
-
SPLITTING: "SPLITTING",
|
|
38
|
-
STARTING: "STARTING",
|
|
39
|
-
STOPPED: "STOPPED",
|
|
40
|
-
STOPPING: "STOPPING",
|
|
41
|
-
UPDATING: "UPDATING",
|
|
42
|
-
VPC_ENDPOINT_LIMIT_EXCEEDED: "VPC_ENDPOINT_LIMIT_EXCEEDED",
|
|
43
|
-
};
|
|
1
|
+
export {};
|
package/dist-types/index.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
24
24
|
export type { DocDBElasticExtensionConfiguration } from "./extensionConfiguration";
|
|
25
25
|
export * from "./commands";
|
|
26
26
|
export * from "./pagination";
|
|
27
|
+
export * from "./models/enums";
|
|
27
28
|
export * from "./models/errors";
|
|
28
29
|
export type * from "./models/models_0";
|
|
29
30
|
export { DocDBElasticServiceException } from "./models/DocDBElasticServiceException";
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const OptInType: {
|
|
6
|
+
readonly APPLY_ON: "APPLY_ON";
|
|
7
|
+
readonly IMMEDIATE: "IMMEDIATE";
|
|
8
|
+
readonly NEXT_MAINTENANCE: "NEXT_MAINTENANCE";
|
|
9
|
+
readonly UNDO_OPT_IN: "UNDO_OPT_IN";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type OptInType = (typeof OptInType)[keyof typeof OptInType];
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* @enum
|
|
18
|
+
*/
|
|
19
|
+
export declare const ValidationExceptionReason: {
|
|
20
|
+
readonly CANNOT_PARSE: "cannotParse";
|
|
21
|
+
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
22
|
+
readonly OTHER: "other";
|
|
23
|
+
readonly UNKNOWN_OPERATION: "unknownOperation";
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
* @enum
|
|
32
|
+
*/
|
|
33
|
+
export declare const Auth: {
|
|
34
|
+
readonly PLAIN_TEXT: "PLAIN_TEXT";
|
|
35
|
+
readonly SECRET_ARN: "SECRET_ARN";
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export type Auth = (typeof Auth)[keyof typeof Auth];
|
|
41
|
+
/**
|
|
42
|
+
* @public
|
|
43
|
+
* @enum
|
|
44
|
+
*/
|
|
45
|
+
export declare const SnapshotType: {
|
|
46
|
+
readonly AUTOMATED: "AUTOMATED";
|
|
47
|
+
readonly MANUAL: "MANUAL";
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
export type SnapshotType = (typeof SnapshotType)[keyof typeof SnapshotType];
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
* @enum
|
|
56
|
+
*/
|
|
57
|
+
export declare const Status: {
|
|
58
|
+
readonly ACTIVE: "ACTIVE";
|
|
59
|
+
readonly COPYING: "COPYING";
|
|
60
|
+
readonly CREATING: "CREATING";
|
|
61
|
+
readonly DELETING: "DELETING";
|
|
62
|
+
readonly INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE: "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE";
|
|
63
|
+
readonly INACCESSIBLE_ENCRYPTION_CREDS: "INACCESSIBLE_ENCRYPTION_CREDS";
|
|
64
|
+
readonly INACCESSIBLE_SECRET_ARN: "INACCESSIBLE_SECRET_ARN";
|
|
65
|
+
readonly INACCESSIBLE_VPC_ENDPOINT: "INACCESSIBLE_VPC_ENDPOINT";
|
|
66
|
+
readonly INCOMPATIBLE_NETWORK: "INCOMPATIBLE_NETWORK";
|
|
67
|
+
readonly INVALID_SECURITY_GROUP_ID: "INVALID_SECURITY_GROUP_ID";
|
|
68
|
+
readonly INVALID_SUBNET_ID: "INVALID_SUBNET_ID";
|
|
69
|
+
readonly IP_ADDRESS_LIMIT_EXCEEDED: "IP_ADDRESS_LIMIT_EXCEEDED";
|
|
70
|
+
readonly MAINTENANCE: "MAINTENANCE";
|
|
71
|
+
readonly MERGING: "MERGING";
|
|
72
|
+
readonly MODIFYING: "MODIFYING";
|
|
73
|
+
readonly SPLITTING: "SPLITTING";
|
|
74
|
+
readonly STARTING: "STARTING";
|
|
75
|
+
readonly STOPPED: "STOPPED";
|
|
76
|
+
readonly STOPPING: "STOPPING";
|
|
77
|
+
readonly UPDATING: "UPDATING";
|
|
78
|
+
readonly VPC_ENDPOINT_LIMIT_EXCEEDED: "VPC_ENDPOINT_LIMIT_EXCEEDED";
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export type Status = (typeof Status)[keyof typeof Status];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { DocDBElasticServiceException as __BaseException } from "./DocDBElasticServiceException";
|
|
3
|
-
import {
|
|
3
|
+
import { ValidationExceptionReason } from "./enums";
|
|
4
|
+
import { ValidationExceptionField } from "./models_0";
|
|
4
5
|
/**
|
|
5
6
|
* <p>An exception that occurs when there are not sufficient permissions to perform an action.</p>
|
|
6
7
|
* @public
|
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* @public
|
|
3
|
-
* @enum
|
|
4
|
-
*/
|
|
5
|
-
export declare const OptInType: {
|
|
6
|
-
readonly APPLY_ON: "APPLY_ON";
|
|
7
|
-
readonly IMMEDIATE: "IMMEDIATE";
|
|
8
|
-
readonly NEXT_MAINTENANCE: "NEXT_MAINTENANCE";
|
|
9
|
-
readonly UNDO_OPT_IN: "UNDO_OPT_IN";
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
14
|
-
export type OptInType = (typeof OptInType)[keyof typeof OptInType];
|
|
1
|
+
import { Auth, OptInType, SnapshotType, Status } from "./enums";
|
|
15
2
|
/**
|
|
16
3
|
* @public
|
|
17
4
|
*/
|
|
@@ -151,32 +138,6 @@ export interface ValidationExceptionField {
|
|
|
151
138
|
*/
|
|
152
139
|
message: string | undefined;
|
|
153
140
|
}
|
|
154
|
-
/**
|
|
155
|
-
* @public
|
|
156
|
-
* @enum
|
|
157
|
-
*/
|
|
158
|
-
export declare const ValidationExceptionReason: {
|
|
159
|
-
readonly CANNOT_PARSE: "cannotParse";
|
|
160
|
-
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
161
|
-
readonly OTHER: "other";
|
|
162
|
-
readonly UNKNOWN_OPERATION: "unknownOperation";
|
|
163
|
-
};
|
|
164
|
-
/**
|
|
165
|
-
* @public
|
|
166
|
-
*/
|
|
167
|
-
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
168
|
-
/**
|
|
169
|
-
* @public
|
|
170
|
-
* @enum
|
|
171
|
-
*/
|
|
172
|
-
export declare const Auth: {
|
|
173
|
-
readonly PLAIN_TEXT: "PLAIN_TEXT";
|
|
174
|
-
readonly SECRET_ARN: "SECRET_ARN";
|
|
175
|
-
};
|
|
176
|
-
/**
|
|
177
|
-
* @public
|
|
178
|
-
*/
|
|
179
|
-
export type Auth = (typeof Auth)[keyof typeof Auth];
|
|
180
141
|
/**
|
|
181
142
|
* @public
|
|
182
143
|
*/
|
|
@@ -229,49 +190,6 @@ export interface CopyClusterSnapshotInput {
|
|
|
229
190
|
*/
|
|
230
191
|
tags?: Record<string, string> | undefined;
|
|
231
192
|
}
|
|
232
|
-
/**
|
|
233
|
-
* @public
|
|
234
|
-
* @enum
|
|
235
|
-
*/
|
|
236
|
-
export declare const SnapshotType: {
|
|
237
|
-
readonly AUTOMATED: "AUTOMATED";
|
|
238
|
-
readonly MANUAL: "MANUAL";
|
|
239
|
-
};
|
|
240
|
-
/**
|
|
241
|
-
* @public
|
|
242
|
-
*/
|
|
243
|
-
export type SnapshotType = (typeof SnapshotType)[keyof typeof SnapshotType];
|
|
244
|
-
/**
|
|
245
|
-
* @public
|
|
246
|
-
* @enum
|
|
247
|
-
*/
|
|
248
|
-
export declare const Status: {
|
|
249
|
-
readonly ACTIVE: "ACTIVE";
|
|
250
|
-
readonly COPYING: "COPYING";
|
|
251
|
-
readonly CREATING: "CREATING";
|
|
252
|
-
readonly DELETING: "DELETING";
|
|
253
|
-
readonly INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE: "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE";
|
|
254
|
-
readonly INACCESSIBLE_ENCRYPTION_CREDS: "INACCESSIBLE_ENCRYPTION_CREDS";
|
|
255
|
-
readonly INACCESSIBLE_SECRET_ARN: "INACCESSIBLE_SECRET_ARN";
|
|
256
|
-
readonly INACCESSIBLE_VPC_ENDPOINT: "INACCESSIBLE_VPC_ENDPOINT";
|
|
257
|
-
readonly INCOMPATIBLE_NETWORK: "INCOMPATIBLE_NETWORK";
|
|
258
|
-
readonly INVALID_SECURITY_GROUP_ID: "INVALID_SECURITY_GROUP_ID";
|
|
259
|
-
readonly INVALID_SUBNET_ID: "INVALID_SUBNET_ID";
|
|
260
|
-
readonly IP_ADDRESS_LIMIT_EXCEEDED: "IP_ADDRESS_LIMIT_EXCEEDED";
|
|
261
|
-
readonly MAINTENANCE: "MAINTENANCE";
|
|
262
|
-
readonly MERGING: "MERGING";
|
|
263
|
-
readonly MODIFYING: "MODIFYING";
|
|
264
|
-
readonly SPLITTING: "SPLITTING";
|
|
265
|
-
readonly STARTING: "STARTING";
|
|
266
|
-
readonly STOPPED: "STOPPED";
|
|
267
|
-
readonly STOPPING: "STOPPING";
|
|
268
|
-
readonly UPDATING: "UPDATING";
|
|
269
|
-
readonly VPC_ENDPOINT_LIMIT_EXCEEDED: "VPC_ENDPOINT_LIMIT_EXCEEDED";
|
|
270
|
-
};
|
|
271
|
-
/**
|
|
272
|
-
* @public
|
|
273
|
-
*/
|
|
274
|
-
export type Status = (typeof Status)[keyof typeof Status];
|
|
275
193
|
/**
|
|
276
194
|
* <p>Returns information about a specific elastic cluster snapshot.</p>
|
|
277
195
|
* @public
|
|
@@ -5,6 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { DocDBElasticExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
+
export * from "./models/enums";
|
|
8
9
|
export * from "./models/errors";
|
|
9
10
|
export * from "./models/models_0";
|
|
10
11
|
export { DocDBElasticServiceException } from "./models/DocDBElasticServiceException";
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export declare const OptInType: {
|
|
2
|
+
readonly APPLY_ON: "APPLY_ON";
|
|
3
|
+
readonly IMMEDIATE: "IMMEDIATE";
|
|
4
|
+
readonly NEXT_MAINTENANCE: "NEXT_MAINTENANCE";
|
|
5
|
+
readonly UNDO_OPT_IN: "UNDO_OPT_IN";
|
|
6
|
+
};
|
|
7
|
+
export type OptInType = (typeof OptInType)[keyof typeof OptInType];
|
|
8
|
+
export declare const ValidationExceptionReason: {
|
|
9
|
+
readonly CANNOT_PARSE: "cannotParse";
|
|
10
|
+
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
11
|
+
readonly OTHER: "other";
|
|
12
|
+
readonly UNKNOWN_OPERATION: "unknownOperation";
|
|
13
|
+
};
|
|
14
|
+
export type ValidationExceptionReason =
|
|
15
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
16
|
+
export declare const Auth: {
|
|
17
|
+
readonly PLAIN_TEXT: "PLAIN_TEXT";
|
|
18
|
+
readonly SECRET_ARN: "SECRET_ARN";
|
|
19
|
+
};
|
|
20
|
+
export type Auth = (typeof Auth)[keyof typeof Auth];
|
|
21
|
+
export declare const SnapshotType: {
|
|
22
|
+
readonly AUTOMATED: "AUTOMATED";
|
|
23
|
+
readonly MANUAL: "MANUAL";
|
|
24
|
+
};
|
|
25
|
+
export type SnapshotType = (typeof SnapshotType)[keyof typeof SnapshotType];
|
|
26
|
+
export declare const Status: {
|
|
27
|
+
readonly ACTIVE: "ACTIVE";
|
|
28
|
+
readonly COPYING: "COPYING";
|
|
29
|
+
readonly CREATING: "CREATING";
|
|
30
|
+
readonly DELETING: "DELETING";
|
|
31
|
+
readonly INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE: "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE";
|
|
32
|
+
readonly INACCESSIBLE_ENCRYPTION_CREDS: "INACCESSIBLE_ENCRYPTION_CREDS";
|
|
33
|
+
readonly INACCESSIBLE_SECRET_ARN: "INACCESSIBLE_SECRET_ARN";
|
|
34
|
+
readonly INACCESSIBLE_VPC_ENDPOINT: "INACCESSIBLE_VPC_ENDPOINT";
|
|
35
|
+
readonly INCOMPATIBLE_NETWORK: "INCOMPATIBLE_NETWORK";
|
|
36
|
+
readonly INVALID_SECURITY_GROUP_ID: "INVALID_SECURITY_GROUP_ID";
|
|
37
|
+
readonly INVALID_SUBNET_ID: "INVALID_SUBNET_ID";
|
|
38
|
+
readonly IP_ADDRESS_LIMIT_EXCEEDED: "IP_ADDRESS_LIMIT_EXCEEDED";
|
|
39
|
+
readonly MAINTENANCE: "MAINTENANCE";
|
|
40
|
+
readonly MERGING: "MERGING";
|
|
41
|
+
readonly MODIFYING: "MODIFYING";
|
|
42
|
+
readonly SPLITTING: "SPLITTING";
|
|
43
|
+
readonly STARTING: "STARTING";
|
|
44
|
+
readonly STOPPED: "STOPPED";
|
|
45
|
+
readonly STOPPING: "STOPPING";
|
|
46
|
+
readonly UPDATING: "UPDATING";
|
|
47
|
+
readonly VPC_ENDPOINT_LIMIT_EXCEEDED: "VPC_ENDPOINT_LIMIT_EXCEEDED";
|
|
48
|
+
};
|
|
49
|
+
export type Status = (typeof Status)[keyof typeof Status];
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { DocDBElasticServiceException as __BaseException } from "./DocDBElasticServiceException";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
ValidationExceptionReason,
|
|
6
|
-
} from "./models_0";
|
|
3
|
+
import { ValidationExceptionReason } from "./enums";
|
|
4
|
+
import { ValidationExceptionField } from "./models_0";
|
|
7
5
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
6
|
readonly name: "AccessDeniedException";
|
|
9
7
|
readonly $fault: "client";
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
readonly APPLY_ON: "APPLY_ON";
|
|
3
|
-
readonly IMMEDIATE: "IMMEDIATE";
|
|
4
|
-
readonly NEXT_MAINTENANCE: "NEXT_MAINTENANCE";
|
|
5
|
-
readonly UNDO_OPT_IN: "UNDO_OPT_IN";
|
|
6
|
-
};
|
|
7
|
-
export type OptInType = (typeof OptInType)[keyof typeof OptInType];
|
|
1
|
+
import { Auth, OptInType, SnapshotType, Status } from "./enums";
|
|
8
2
|
export interface ApplyPendingMaintenanceActionInput {
|
|
9
3
|
resourceArn: string | undefined;
|
|
10
4
|
applyAction: string | undefined;
|
|
@@ -34,19 +28,6 @@ export interface ValidationExceptionField {
|
|
|
34
28
|
name: string | undefined;
|
|
35
29
|
message: string | undefined;
|
|
36
30
|
}
|
|
37
|
-
export declare const ValidationExceptionReason: {
|
|
38
|
-
readonly CANNOT_PARSE: "cannotParse";
|
|
39
|
-
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
40
|
-
readonly OTHER: "other";
|
|
41
|
-
readonly UNKNOWN_OPERATION: "unknownOperation";
|
|
42
|
-
};
|
|
43
|
-
export type ValidationExceptionReason =
|
|
44
|
-
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
45
|
-
export declare const Auth: {
|
|
46
|
-
readonly PLAIN_TEXT: "PLAIN_TEXT";
|
|
47
|
-
readonly SECRET_ARN: "SECRET_ARN";
|
|
48
|
-
};
|
|
49
|
-
export type Auth = (typeof Auth)[keyof typeof Auth];
|
|
50
31
|
export interface CopyClusterSnapshotInput {
|
|
51
32
|
snapshotArn: string | undefined;
|
|
52
33
|
targetSnapshotName: string | undefined;
|
|
@@ -54,35 +35,6 @@ export interface CopyClusterSnapshotInput {
|
|
|
54
35
|
copyTags?: boolean | undefined;
|
|
55
36
|
tags?: Record<string, string> | undefined;
|
|
56
37
|
}
|
|
57
|
-
export declare const SnapshotType: {
|
|
58
|
-
readonly AUTOMATED: "AUTOMATED";
|
|
59
|
-
readonly MANUAL: "MANUAL";
|
|
60
|
-
};
|
|
61
|
-
export type SnapshotType = (typeof SnapshotType)[keyof typeof SnapshotType];
|
|
62
|
-
export declare const Status: {
|
|
63
|
-
readonly ACTIVE: "ACTIVE";
|
|
64
|
-
readonly COPYING: "COPYING";
|
|
65
|
-
readonly CREATING: "CREATING";
|
|
66
|
-
readonly DELETING: "DELETING";
|
|
67
|
-
readonly INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE: "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE";
|
|
68
|
-
readonly INACCESSIBLE_ENCRYPTION_CREDS: "INACCESSIBLE_ENCRYPTION_CREDS";
|
|
69
|
-
readonly INACCESSIBLE_SECRET_ARN: "INACCESSIBLE_SECRET_ARN";
|
|
70
|
-
readonly INACCESSIBLE_VPC_ENDPOINT: "INACCESSIBLE_VPC_ENDPOINT";
|
|
71
|
-
readonly INCOMPATIBLE_NETWORK: "INCOMPATIBLE_NETWORK";
|
|
72
|
-
readonly INVALID_SECURITY_GROUP_ID: "INVALID_SECURITY_GROUP_ID";
|
|
73
|
-
readonly INVALID_SUBNET_ID: "INVALID_SUBNET_ID";
|
|
74
|
-
readonly IP_ADDRESS_LIMIT_EXCEEDED: "IP_ADDRESS_LIMIT_EXCEEDED";
|
|
75
|
-
readonly MAINTENANCE: "MAINTENANCE";
|
|
76
|
-
readonly MERGING: "MERGING";
|
|
77
|
-
readonly MODIFYING: "MODIFYING";
|
|
78
|
-
readonly SPLITTING: "SPLITTING";
|
|
79
|
-
readonly STARTING: "STARTING";
|
|
80
|
-
readonly STOPPED: "STOPPED";
|
|
81
|
-
readonly STOPPING: "STOPPING";
|
|
82
|
-
readonly UPDATING: "UPDATING";
|
|
83
|
-
readonly VPC_ENDPOINT_LIMIT_EXCEEDED: "VPC_ENDPOINT_LIMIT_EXCEEDED";
|
|
84
|
-
};
|
|
85
|
-
export type Status = (typeof Status)[keyof typeof Status];
|
|
86
38
|
export interface ClusterSnapshot {
|
|
87
39
|
subnetIds: string[] | undefined;
|
|
88
40
|
snapshotName: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-docdb-elastic",
|
|
3
3
|
"description": "AWS SDK for JavaScript Docdb Elastic Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.939.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-docdb-elastic",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.936.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.939.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|