@aws-sdk/client-docdb-elastic 3.300.0 → 3.303.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.
@@ -16,11 +16,10 @@ class AccessDeniedException extends DocDBElasticServiceException_1.DocDBElasticS
16
16
  }
17
17
  }
18
18
  exports.AccessDeniedException = AccessDeniedException;
19
- var Auth;
20
- (function (Auth) {
21
- Auth["PLAIN_TEXT"] = "PLAIN_TEXT";
22
- Auth["SECRET_ARN"] = "SECRET_ARN";
23
- })(Auth = exports.Auth || (exports.Auth = {}));
19
+ exports.Auth = {
20
+ PLAIN_TEXT: "PLAIN_TEXT",
21
+ SECRET_ARN: "SECRET_ARN",
22
+ };
24
23
  class ConflictException extends DocDBElasticServiceException_1.DocDBElasticServiceException {
25
24
  constructor(opts) {
26
25
  super({
@@ -36,18 +35,17 @@ class ConflictException extends DocDBElasticServiceException_1.DocDBElasticServi
36
35
  }
37
36
  }
38
37
  exports.ConflictException = ConflictException;
39
- var Status;
40
- (function (Status) {
41
- Status["ACTIVE"] = "ACTIVE";
42
- Status["CREATING"] = "CREATING";
43
- Status["DELETING"] = "DELETING";
44
- Status["INACCESSIBLE_ENCRYPTION_CREDS"] = "INACCESSIBLE_ENCRYPTION_CREDS";
45
- Status["INVALID_SECURITY_GROUP_ID"] = "INVALID_SECURITY_GROUP_ID";
46
- Status["INVALID_SUBNET_ID"] = "INVALID_SUBNET_ID";
47
- Status["IP_ADDRESS_LIMIT_EXCEEDED"] = "IP_ADDRESS_LIMIT_EXCEEDED";
48
- Status["UPDATING"] = "UPDATING";
49
- Status["VPC_ENDPOINT_LIMIT_EXCEEDED"] = "VPC_ENDPOINT_LIMIT_EXCEEDED";
50
- })(Status = exports.Status || (exports.Status = {}));
38
+ exports.Status = {
39
+ ACTIVE: "ACTIVE",
40
+ CREATING: "CREATING",
41
+ DELETING: "DELETING",
42
+ INACCESSIBLE_ENCRYPTION_CREDS: "INACCESSIBLE_ENCRYPTION_CREDS",
43
+ INVALID_SECURITY_GROUP_ID: "INVALID_SECURITY_GROUP_ID",
44
+ INVALID_SUBNET_ID: "INVALID_SUBNET_ID",
45
+ IP_ADDRESS_LIMIT_EXCEEDED: "IP_ADDRESS_LIMIT_EXCEEDED",
46
+ UPDATING: "UPDATING",
47
+ VPC_ENDPOINT_LIMIT_EXCEEDED: "VPC_ENDPOINT_LIMIT_EXCEEDED",
48
+ };
51
49
  class InternalServerException extends DocDBElasticServiceException_1.DocDBElasticServiceException {
52
50
  constructor(opts) {
53
51
  super({
@@ -90,13 +88,12 @@ class ThrottlingException extends DocDBElasticServiceException_1.DocDBElasticSer
90
88
  }
91
89
  }
92
90
  exports.ThrottlingException = ThrottlingException;
93
- var ValidationExceptionReason;
94
- (function (ValidationExceptionReason) {
95
- ValidationExceptionReason["CANNOT_PARSE"] = "cannotParse";
96
- ValidationExceptionReason["FIELD_VALIDATION_FAILED"] = "fieldValidationFailed";
97
- ValidationExceptionReason["OTHER"] = "other";
98
- ValidationExceptionReason["UNKNOWN_OPERATION"] = "unknownOperation";
99
- })(ValidationExceptionReason = exports.ValidationExceptionReason || (exports.ValidationExceptionReason = {}));
91
+ exports.ValidationExceptionReason = {
92
+ CANNOT_PARSE: "cannotParse",
93
+ FIELD_VALIDATION_FAILED: "fieldValidationFailed",
94
+ OTHER: "other",
95
+ UNKNOWN_OPERATION: "unknownOperation",
96
+ };
100
97
  class ValidationException extends DocDBElasticServiceException_1.DocDBElasticServiceException {
101
98
  constructor(opts) {
102
99
  super({
@@ -12,11 +12,10 @@ export class AccessDeniedException extends __BaseException {
12
12
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
13
  }
14
14
  }
15
- export var Auth;
16
- (function (Auth) {
17
- Auth["PLAIN_TEXT"] = "PLAIN_TEXT";
18
- Auth["SECRET_ARN"] = "SECRET_ARN";
19
- })(Auth || (Auth = {}));
15
+ export const Auth = {
16
+ PLAIN_TEXT: "PLAIN_TEXT",
17
+ SECRET_ARN: "SECRET_ARN",
18
+ };
20
19
  export class ConflictException extends __BaseException {
21
20
  constructor(opts) {
22
21
  super({
@@ -31,18 +30,17 @@ export class ConflictException extends __BaseException {
31
30
  this.resourceType = opts.resourceType;
32
31
  }
33
32
  }
34
- export var Status;
35
- (function (Status) {
36
- Status["ACTIVE"] = "ACTIVE";
37
- Status["CREATING"] = "CREATING";
38
- Status["DELETING"] = "DELETING";
39
- Status["INACCESSIBLE_ENCRYPTION_CREDS"] = "INACCESSIBLE_ENCRYPTION_CREDS";
40
- Status["INVALID_SECURITY_GROUP_ID"] = "INVALID_SECURITY_GROUP_ID";
41
- Status["INVALID_SUBNET_ID"] = "INVALID_SUBNET_ID";
42
- Status["IP_ADDRESS_LIMIT_EXCEEDED"] = "IP_ADDRESS_LIMIT_EXCEEDED";
43
- Status["UPDATING"] = "UPDATING";
44
- Status["VPC_ENDPOINT_LIMIT_EXCEEDED"] = "VPC_ENDPOINT_LIMIT_EXCEEDED";
45
- })(Status || (Status = {}));
33
+ export const Status = {
34
+ ACTIVE: "ACTIVE",
35
+ CREATING: "CREATING",
36
+ DELETING: "DELETING",
37
+ INACCESSIBLE_ENCRYPTION_CREDS: "INACCESSIBLE_ENCRYPTION_CREDS",
38
+ INVALID_SECURITY_GROUP_ID: "INVALID_SECURITY_GROUP_ID",
39
+ INVALID_SUBNET_ID: "INVALID_SUBNET_ID",
40
+ IP_ADDRESS_LIMIT_EXCEEDED: "IP_ADDRESS_LIMIT_EXCEEDED",
41
+ UPDATING: "UPDATING",
42
+ VPC_ENDPOINT_LIMIT_EXCEEDED: "VPC_ENDPOINT_LIMIT_EXCEEDED",
43
+ };
46
44
  export class InternalServerException extends __BaseException {
47
45
  constructor(opts) {
48
46
  super({
@@ -82,13 +80,12 @@ export class ThrottlingException extends __BaseException {
82
80
  this.retryAfterSeconds = opts.retryAfterSeconds;
83
81
  }
84
82
  }
85
- export var ValidationExceptionReason;
86
- (function (ValidationExceptionReason) {
87
- ValidationExceptionReason["CANNOT_PARSE"] = "cannotParse";
88
- ValidationExceptionReason["FIELD_VALIDATION_FAILED"] = "fieldValidationFailed";
89
- ValidationExceptionReason["OTHER"] = "other";
90
- ValidationExceptionReason["UNKNOWN_OPERATION"] = "unknownOperation";
91
- })(ValidationExceptionReason || (ValidationExceptionReason = {}));
83
+ export const ValidationExceptionReason = {
84
+ CANNOT_PARSE: "cannotParse",
85
+ FIELD_VALIDATION_FAILED: "fieldValidationFailed",
86
+ OTHER: "other",
87
+ UNKNOWN_OPERATION: "unknownOperation",
88
+ };
92
89
  export class ValidationException extends __BaseException {
93
90
  constructor(opts) {
94
91
  super({
@@ -26,14 +26,14 @@ export interface CreateClusterCommandOutput extends CreateClusterOutput, __Metad
26
26
  * import { DocDBElasticClient, CreateClusterCommand } from "@aws-sdk/client-docdb-elastic"; // ES Modules import
27
27
  * // const { DocDBElasticClient, CreateClusterCommand } = require("@aws-sdk/client-docdb-elastic"); // CommonJS import
28
28
  * const client = new DocDBElasticClient(config);
29
- * const input = {
29
+ * const input = { // CreateClusterInput
30
30
  * clusterName: "STRING_VALUE", // required
31
31
  * authType: "STRING_VALUE", // required
32
32
  * adminUserName: "STRING_VALUE", // required
33
33
  * adminUserPassword: "STRING_VALUE", // required
34
34
  * shardCapacity: Number("int"), // required
35
35
  * shardCount: Number("int"), // required
36
- * vpcSecurityGroupIds: [
36
+ * vpcSecurityGroupIds: [ // StringList
37
37
  * "STRING_VALUE",
38
38
  * ],
39
39
  * subnetIds: [
@@ -42,7 +42,7 @@ export interface CreateClusterCommandOutput extends CreateClusterOutput, __Metad
42
42
  * kmsKeyId: "STRING_VALUE",
43
43
  * clientToken: "STRING_VALUE",
44
44
  * preferredMaintenanceWindow: "STRING_VALUE",
45
- * tags: {
45
+ * tags: { // TagMap
46
46
  * "<keys>": "STRING_VALUE",
47
47
  * },
48
48
  * };
@@ -26,10 +26,10 @@ export interface CreateClusterSnapshotCommandOutput extends CreateClusterSnapsho
26
26
  * import { DocDBElasticClient, CreateClusterSnapshotCommand } from "@aws-sdk/client-docdb-elastic"; // ES Modules import
27
27
  * // const { DocDBElasticClient, CreateClusterSnapshotCommand } = require("@aws-sdk/client-docdb-elastic"); // CommonJS import
28
28
  * const client = new DocDBElasticClient(config);
29
- * const input = {
29
+ * const input = { // CreateClusterSnapshotInput
30
30
  * clusterArn: "STRING_VALUE", // required
31
31
  * snapshotName: "STRING_VALUE", // required
32
- * tags: {
32
+ * tags: { // TagMap
33
33
  * "<keys>": "STRING_VALUE",
34
34
  * },
35
35
  * };
@@ -26,7 +26,7 @@ export interface DeleteClusterCommandOutput extends DeleteClusterOutput, __Metad
26
26
  * import { DocDBElasticClient, DeleteClusterCommand } from "@aws-sdk/client-docdb-elastic"; // ES Modules import
27
27
  * // const { DocDBElasticClient, DeleteClusterCommand } = require("@aws-sdk/client-docdb-elastic"); // CommonJS import
28
28
  * const client = new DocDBElasticClient(config);
29
- * const input = {
29
+ * const input = { // DeleteClusterInput
30
30
  * clusterArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteClusterCommand(input);
@@ -26,7 +26,7 @@ export interface DeleteClusterSnapshotCommandOutput extends DeleteClusterSnapsho
26
26
  * import { DocDBElasticClient, DeleteClusterSnapshotCommand } from "@aws-sdk/client-docdb-elastic"; // ES Modules import
27
27
  * // const { DocDBElasticClient, DeleteClusterSnapshotCommand } = require("@aws-sdk/client-docdb-elastic"); // CommonJS import
28
28
  * const client = new DocDBElasticClient(config);
29
- * const input = {
29
+ * const input = { // DeleteClusterSnapshotInput
30
30
  * snapshotArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteClusterSnapshotCommand(input);
@@ -26,7 +26,7 @@ export interface GetClusterCommandOutput extends GetClusterOutput, __MetadataBea
26
26
  * import { DocDBElasticClient, GetClusterCommand } from "@aws-sdk/client-docdb-elastic"; // ES Modules import
27
27
  * // const { DocDBElasticClient, GetClusterCommand } = require("@aws-sdk/client-docdb-elastic"); // CommonJS import
28
28
  * const client = new DocDBElasticClient(config);
29
- * const input = {
29
+ * const input = { // GetClusterInput
30
30
  * clusterArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new GetClusterCommand(input);
@@ -26,7 +26,7 @@ export interface GetClusterSnapshotCommandOutput extends GetClusterSnapshotOutpu
26
26
  * import { DocDBElasticClient, GetClusterSnapshotCommand } from "@aws-sdk/client-docdb-elastic"; // ES Modules import
27
27
  * // const { DocDBElasticClient, GetClusterSnapshotCommand } = require("@aws-sdk/client-docdb-elastic"); // CommonJS import
28
28
  * const client = new DocDBElasticClient(config);
29
- * const input = {
29
+ * const input = { // GetClusterSnapshotInput
30
30
  * snapshotArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new GetClusterSnapshotCommand(input);
@@ -26,7 +26,7 @@ export interface ListClusterSnapshotsCommandOutput extends ListClusterSnapshotsO
26
26
  * import { DocDBElasticClient, ListClusterSnapshotsCommand } from "@aws-sdk/client-docdb-elastic"; // ES Modules import
27
27
  * // const { DocDBElasticClient, ListClusterSnapshotsCommand } = require("@aws-sdk/client-docdb-elastic"); // CommonJS import
28
28
  * const client = new DocDBElasticClient(config);
29
- * const input = {
29
+ * const input = { // ListClusterSnapshotsInput
30
30
  * clusterArn: "STRING_VALUE",
31
31
  * nextToken: "STRING_VALUE",
32
32
  * maxResults: Number("int"),
@@ -26,7 +26,7 @@ export interface ListClustersCommandOutput extends ListClustersOutput, __Metadat
26
26
  * import { DocDBElasticClient, ListClustersCommand } from "@aws-sdk/client-docdb-elastic"; // ES Modules import
27
27
  * // const { DocDBElasticClient, ListClustersCommand } = require("@aws-sdk/client-docdb-elastic"); // CommonJS import
28
28
  * const client = new DocDBElasticClient(config);
29
- * const input = {
29
+ * const input = { // ListClustersInput
30
30
  * nextToken: "STRING_VALUE",
31
31
  * maxResults: Number("int"),
32
32
  * };
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { DocDBElasticClient, ListTagsForResourceCommand } from "@aws-sdk/client-docdb-elastic"; // ES Modules import
27
27
  * // const { DocDBElasticClient, ListTagsForResourceCommand } = require("@aws-sdk/client-docdb-elastic"); // CommonJS import
28
28
  * const client = new DocDBElasticClient(config);
29
- * const input = {
29
+ * const input = { // ListTagsForResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
@@ -26,17 +26,17 @@ export interface RestoreClusterFromSnapshotCommandOutput extends RestoreClusterF
26
26
  * import { DocDBElasticClient, RestoreClusterFromSnapshotCommand } from "@aws-sdk/client-docdb-elastic"; // ES Modules import
27
27
  * // const { DocDBElasticClient, RestoreClusterFromSnapshotCommand } = require("@aws-sdk/client-docdb-elastic"); // CommonJS import
28
28
  * const client = new DocDBElasticClient(config);
29
- * const input = {
29
+ * const input = { // RestoreClusterFromSnapshotInput
30
30
  * clusterName: "STRING_VALUE", // required
31
31
  * snapshotArn: "STRING_VALUE", // required
32
- * vpcSecurityGroupIds: [
32
+ * vpcSecurityGroupIds: [ // StringList
33
33
  * "STRING_VALUE",
34
34
  * ],
35
35
  * subnetIds: [
36
36
  * "STRING_VALUE",
37
37
  * ],
38
38
  * kmsKeyId: "STRING_VALUE",
39
- * tags: {
39
+ * tags: { // TagMap
40
40
  * "<keys>": "STRING_VALUE",
41
41
  * },
42
42
  * };
@@ -26,9 +26,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
26
26
  * import { DocDBElasticClient, TagResourceCommand } from "@aws-sdk/client-docdb-elastic"; // ES Modules import
27
27
  * // const { DocDBElasticClient, TagResourceCommand } = require("@aws-sdk/client-docdb-elastic"); // CommonJS import
28
28
  * const client = new DocDBElasticClient(config);
29
- * const input = {
29
+ * const input = { // TagResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
- * tags: { // required
31
+ * tags: { // TagMap // required
32
32
  * "<keys>": "STRING_VALUE",
33
33
  * },
34
34
  * };
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { DocDBElasticClient, UntagResourceCommand } from "@aws-sdk/client-docdb-elastic"; // ES Modules import
27
27
  * // const { DocDBElasticClient, UntagResourceCommand } = require("@aws-sdk/client-docdb-elastic"); // CommonJS import
28
28
  * const client = new DocDBElasticClient(config);
29
- * const input = {
29
+ * const input = { // UntagResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
- * tagKeys: [ // required
31
+ * tagKeys: [ // TagKeyList // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
@@ -27,12 +27,12 @@ export interface UpdateClusterCommandOutput extends UpdateClusterOutput, __Metad
27
27
  * import { DocDBElasticClient, UpdateClusterCommand } from "@aws-sdk/client-docdb-elastic"; // ES Modules import
28
28
  * // const { DocDBElasticClient, UpdateClusterCommand } = require("@aws-sdk/client-docdb-elastic"); // CommonJS import
29
29
  * const client = new DocDBElasticClient(config);
30
- * const input = {
30
+ * const input = { // UpdateClusterInput
31
31
  * clusterArn: "STRING_VALUE", // required
32
32
  * authType: "STRING_VALUE",
33
33
  * shardCapacity: Number("int"),
34
34
  * shardCount: Number("int"),
35
- * vpcSecurityGroupIds: [
35
+ * vpcSecurityGroupIds: [ // StringList
36
36
  * "STRING_VALUE",
37
37
  * ],
38
38
  * subnetIds: [
@@ -14,11 +14,16 @@ export declare class AccessDeniedException extends __BaseException {
14
14
  }
15
15
  /**
16
16
  * @public
17
+ * @enum
17
18
  */
18
- export declare enum Auth {
19
- PLAIN_TEXT = "PLAIN_TEXT",
20
- SECRET_ARN = "SECRET_ARN"
21
- }
19
+ export declare const Auth: {
20
+ readonly PLAIN_TEXT: "PLAIN_TEXT";
21
+ readonly SECRET_ARN: "SECRET_ARN";
22
+ };
23
+ /**
24
+ * @public
25
+ */
26
+ export type Auth = (typeof Auth)[keyof typeof Auth];
22
27
  /**
23
28
  * @public
24
29
  * <p>There was an access conflict.</p>
@@ -153,18 +158,23 @@ export interface CreateClusterInput {
153
158
  }
154
159
  /**
155
160
  * @public
161
+ * @enum
156
162
  */
157
- export declare enum Status {
158
- ACTIVE = "ACTIVE",
159
- CREATING = "CREATING",
160
- DELETING = "DELETING",
161
- INACCESSIBLE_ENCRYPTION_CREDS = "INACCESSIBLE_ENCRYPTION_CREDS",
162
- INVALID_SECURITY_GROUP_ID = "INVALID_SECURITY_GROUP_ID",
163
- INVALID_SUBNET_ID = "INVALID_SUBNET_ID",
164
- IP_ADDRESS_LIMIT_EXCEEDED = "IP_ADDRESS_LIMIT_EXCEEDED",
165
- UPDATING = "UPDATING",
166
- VPC_ENDPOINT_LIMIT_EXCEEDED = "VPC_ENDPOINT_LIMIT_EXCEEDED"
167
- }
163
+ export declare const Status: {
164
+ readonly ACTIVE: "ACTIVE";
165
+ readonly CREATING: "CREATING";
166
+ readonly DELETING: "DELETING";
167
+ readonly INACCESSIBLE_ENCRYPTION_CREDS: "INACCESSIBLE_ENCRYPTION_CREDS";
168
+ readonly INVALID_SECURITY_GROUP_ID: "INVALID_SECURITY_GROUP_ID";
169
+ readonly INVALID_SUBNET_ID: "INVALID_SUBNET_ID";
170
+ readonly IP_ADDRESS_LIMIT_EXCEEDED: "IP_ADDRESS_LIMIT_EXCEEDED";
171
+ readonly UPDATING: "UPDATING";
172
+ readonly VPC_ENDPOINT_LIMIT_EXCEEDED: "VPC_ENDPOINT_LIMIT_EXCEEDED";
173
+ };
174
+ /**
175
+ * @public
176
+ */
177
+ export type Status = (typeof Status)[keyof typeof Status];
168
178
  /**
169
179
  * @public
170
180
  * <p>Returns information about a specific Elastic DocumentDB cluster.</p>
@@ -294,13 +304,18 @@ export interface ValidationExceptionField {
294
304
  }
295
305
  /**
296
306
  * @public
307
+ * @enum
297
308
  */
298
- export declare enum ValidationExceptionReason {
299
- CANNOT_PARSE = "cannotParse",
300
- FIELD_VALIDATION_FAILED = "fieldValidationFailed",
301
- OTHER = "other",
302
- UNKNOWN_OPERATION = "unknownOperation"
303
- }
309
+ export declare const ValidationExceptionReason: {
310
+ readonly CANNOT_PARSE: "cannotParse";
311
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
312
+ readonly OTHER: "other";
313
+ readonly UNKNOWN_OPERATION: "unknownOperation";
314
+ };
315
+ /**
316
+ * @public
317
+ */
318
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
304
319
  /**
305
320
  * @public
306
321
  * <p>A structure defining a validation exception.</p>
@@ -7,10 +7,11 @@ export declare class AccessDeniedException extends __BaseException {
7
7
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
8
  );
9
9
  }
10
- export declare enum Auth {
11
- PLAIN_TEXT = "PLAIN_TEXT",
12
- SECRET_ARN = "SECRET_ARN",
13
- }
10
+ export declare const Auth: {
11
+ readonly PLAIN_TEXT: "PLAIN_TEXT";
12
+ readonly SECRET_ARN: "SECRET_ARN";
13
+ };
14
+ export type Auth = (typeof Auth)[keyof typeof Auth];
14
15
  export declare class ConflictException extends __BaseException {
15
16
  readonly name: "ConflictException";
16
17
  readonly $fault: "client";
@@ -32,17 +33,18 @@ export interface CreateClusterInput {
32
33
  preferredMaintenanceWindow?: string;
33
34
  tags?: Record<string, string>;
34
35
  }
35
- export declare enum Status {
36
- ACTIVE = "ACTIVE",
37
- CREATING = "CREATING",
38
- DELETING = "DELETING",
39
- INACCESSIBLE_ENCRYPTION_CREDS = "INACCESSIBLE_ENCRYPTION_CREDS",
40
- INVALID_SECURITY_GROUP_ID = "INVALID_SECURITY_GROUP_ID",
41
- INVALID_SUBNET_ID = "INVALID_SUBNET_ID",
42
- IP_ADDRESS_LIMIT_EXCEEDED = "IP_ADDRESS_LIMIT_EXCEEDED",
43
- UPDATING = "UPDATING",
44
- VPC_ENDPOINT_LIMIT_EXCEEDED = "VPC_ENDPOINT_LIMIT_EXCEEDED",
45
- }
36
+ export declare const Status: {
37
+ readonly ACTIVE: "ACTIVE";
38
+ readonly CREATING: "CREATING";
39
+ readonly DELETING: "DELETING";
40
+ readonly INACCESSIBLE_ENCRYPTION_CREDS: "INACCESSIBLE_ENCRYPTION_CREDS";
41
+ readonly INVALID_SECURITY_GROUP_ID: "INVALID_SECURITY_GROUP_ID";
42
+ readonly INVALID_SUBNET_ID: "INVALID_SUBNET_ID";
43
+ readonly IP_ADDRESS_LIMIT_EXCEEDED: "IP_ADDRESS_LIMIT_EXCEEDED";
44
+ readonly UPDATING: "UPDATING";
45
+ readonly VPC_ENDPOINT_LIMIT_EXCEEDED: "VPC_ENDPOINT_LIMIT_EXCEEDED";
46
+ };
47
+ export type Status = (typeof Status)[keyof typeof Status];
46
48
  export interface Cluster {
47
49
  clusterName: string | undefined;
48
50
  clusterArn: string | undefined;
@@ -89,12 +91,14 @@ export interface ValidationExceptionField {
89
91
  name: string | undefined;
90
92
  message: string | undefined;
91
93
  }
92
- export declare enum ValidationExceptionReason {
93
- CANNOT_PARSE = "cannotParse",
94
- FIELD_VALIDATION_FAILED = "fieldValidationFailed",
95
- OTHER = "other",
96
- UNKNOWN_OPERATION = "unknownOperation",
97
- }
94
+ export declare const ValidationExceptionReason: {
95
+ readonly CANNOT_PARSE: "cannotParse";
96
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
97
+ readonly OTHER: "other";
98
+ readonly UNKNOWN_OPERATION: "unknownOperation";
99
+ };
100
+ export type ValidationExceptionReason =
101
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
98
102
  export declare class ValidationException extends __BaseException {
99
103
  readonly name: "ValidationException";
100
104
  readonly $fault: "client";
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.300.0",
4
+ "version": "3.303.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,43 +21,43 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"
58
58
  },
59
59
  "devDependencies": {
60
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
60
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
61
61
  "@tsconfig/node14": "1.0.3",
62
62
  "@types/node": "^14.14.31",
63
63
  "@types/uuid": "^8.3.0",