@aws-sdk/client-docdb-elastic 3.933.0 → 3.935.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 CHANGED
@@ -129,12 +129,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends DocDBElasticSe
129
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
130
  }
131
131
  };
132
- const OptInType = {
133
- APPLY_ON: "APPLY_ON",
134
- IMMEDIATE: "IMMEDIATE",
135
- NEXT_MAINTENANCE: "NEXT_MAINTENANCE",
136
- UNDO_OPT_IN: "UNDO_OPT_IN",
137
- };
138
132
  let ConflictException$1 = class ConflictException extends DocDBElasticServiceException$1 {
139
133
  name = "ConflictException";
140
134
  $fault = "client";
@@ -195,12 +189,6 @@ let ThrottlingException$1 = class ThrottlingException extends DocDBElasticServic
195
189
  this.retryAfterSeconds = opts.retryAfterSeconds;
196
190
  }
197
191
  };
198
- const ValidationExceptionReason = {
199
- CANNOT_PARSE: "cannotParse",
200
- FIELD_VALIDATION_FAILED: "fieldValidationFailed",
201
- OTHER: "other",
202
- UNKNOWN_OPERATION: "unknownOperation",
203
- };
204
192
  let ValidationException$1 = class ValidationException extends DocDBElasticServiceException$1 {
205
193
  name = "ValidationException";
206
194
  $fault = "client";
@@ -217,37 +205,6 @@ let ValidationException$1 = class ValidationException extends DocDBElasticServic
217
205
  this.fieldList = opts.fieldList;
218
206
  }
219
207
  };
220
- const Auth = {
221
- PLAIN_TEXT: "PLAIN_TEXT",
222
- SECRET_ARN: "SECRET_ARN",
223
- };
224
- const SnapshotType = {
225
- AUTOMATED: "AUTOMATED",
226
- MANUAL: "MANUAL",
227
- };
228
- const Status = {
229
- ACTIVE: "ACTIVE",
230
- COPYING: "COPYING",
231
- CREATING: "CREATING",
232
- DELETING: "DELETING",
233
- INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE: "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE",
234
- INACCESSIBLE_ENCRYPTION_CREDS: "INACCESSIBLE_ENCRYPTION_CREDS",
235
- INACCESSIBLE_SECRET_ARN: "INACCESSIBLE_SECRET_ARN",
236
- INACCESSIBLE_VPC_ENDPOINT: "INACCESSIBLE_VPC_ENDPOINT",
237
- INCOMPATIBLE_NETWORK: "INCOMPATIBLE_NETWORK",
238
- INVALID_SECURITY_GROUP_ID: "INVALID_SECURITY_GROUP_ID",
239
- INVALID_SUBNET_ID: "INVALID_SUBNET_ID",
240
- IP_ADDRESS_LIMIT_EXCEEDED: "IP_ADDRESS_LIMIT_EXCEEDED",
241
- MAINTENANCE: "MAINTENANCE",
242
- MERGING: "MERGING",
243
- MODIFYING: "MODIFYING",
244
- SPLITTING: "SPLITTING",
245
- STARTING: "STARTING",
246
- STOPPED: "STOPPED",
247
- STOPPING: "STOPPING",
248
- UPDATING: "UPDATING",
249
- VPC_ENDPOINT_LIMIT_EXCEEDED: "VPC_ENDPOINT_LIMIT_EXCEEDED",
250
- };
251
208
  let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends DocDBElasticServiceException$1 {
252
209
  name = "ServiceQuotaExceededException";
253
210
  $fault = "client";
@@ -1202,7 +1159,6 @@ Object.defineProperty(exports, "__Client", {
1202
1159
  });
1203
1160
  exports.AccessDeniedException = AccessDeniedException$1;
1204
1161
  exports.ApplyPendingMaintenanceActionCommand = ApplyPendingMaintenanceActionCommand;
1205
- exports.Auth = Auth;
1206
1162
  exports.ConflictException = ConflictException$1;
1207
1163
  exports.CopyClusterSnapshotCommand = CopyClusterSnapshotCommand;
1208
1164
  exports.CreateClusterCommand = CreateClusterCommand;
@@ -1220,20 +1176,16 @@ exports.ListClusterSnapshotsCommand = ListClusterSnapshotsCommand;
1220
1176
  exports.ListClustersCommand = ListClustersCommand;
1221
1177
  exports.ListPendingMaintenanceActionsCommand = ListPendingMaintenanceActionsCommand;
1222
1178
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1223
- exports.OptInType = OptInType;
1224
1179
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
1225
1180
  exports.RestoreClusterFromSnapshotCommand = RestoreClusterFromSnapshotCommand;
1226
1181
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
1227
- exports.SnapshotType = SnapshotType;
1228
1182
  exports.StartClusterCommand = StartClusterCommand;
1229
- exports.Status = Status;
1230
1183
  exports.StopClusterCommand = StopClusterCommand;
1231
1184
  exports.TagResourceCommand = TagResourceCommand;
1232
1185
  exports.ThrottlingException = ThrottlingException$1;
1233
1186
  exports.UntagResourceCommand = UntagResourceCommand;
1234
1187
  exports.UpdateClusterCommand = UpdateClusterCommand;
1235
1188
  exports.ValidationException = ValidationException$1;
1236
- exports.ValidationExceptionReason = ValidationExceptionReason;
1237
1189
  exports.paginateListClusterSnapshots = paginateListClusterSnapshots;
1238
1190
  exports.paginateListClusters = paginateListClusters;
1239
1191
  exports.paginateListPendingMaintenanceActions = paginateListPendingMaintenanceActions;
package/dist-es/index.js CHANGED
@@ -2,5 +2,5 @@ export * from "./DocDBElasticClient";
2
2
  export * from "./DocDBElastic";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/errors";
6
6
  export { DocDBElasticServiceException } from "./models/DocDBElasticServiceException";
@@ -0,0 +1,101 @@
1
+ import { DocDBElasticServiceException as __BaseException } from "./DocDBElasticServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "AccessDeniedException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
+ }
13
+ }
14
+ export class ConflictException extends __BaseException {
15
+ name = "ConflictException";
16
+ $fault = "client";
17
+ resourceId;
18
+ resourceType;
19
+ constructor(opts) {
20
+ super({
21
+ name: "ConflictException",
22
+ $fault: "client",
23
+ ...opts,
24
+ });
25
+ Object.setPrototypeOf(this, ConflictException.prototype);
26
+ this.resourceId = opts.resourceId;
27
+ this.resourceType = opts.resourceType;
28
+ }
29
+ }
30
+ export class InternalServerException extends __BaseException {
31
+ name = "InternalServerException";
32
+ $fault = "server";
33
+ $retryable = {};
34
+ constructor(opts) {
35
+ super({
36
+ name: "InternalServerException",
37
+ $fault: "server",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, InternalServerException.prototype);
41
+ }
42
+ }
43
+ export class ResourceNotFoundException extends __BaseException {
44
+ name = "ResourceNotFoundException";
45
+ $fault = "client";
46
+ resourceId;
47
+ resourceType;
48
+ constructor(opts) {
49
+ super({
50
+ name: "ResourceNotFoundException",
51
+ $fault: "client",
52
+ ...opts,
53
+ });
54
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
55
+ this.resourceId = opts.resourceId;
56
+ this.resourceType = opts.resourceType;
57
+ }
58
+ }
59
+ export class ThrottlingException extends __BaseException {
60
+ name = "ThrottlingException";
61
+ $fault = "client";
62
+ $retryable = {};
63
+ retryAfterSeconds;
64
+ constructor(opts) {
65
+ super({
66
+ name: "ThrottlingException",
67
+ $fault: "client",
68
+ ...opts,
69
+ });
70
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
71
+ this.retryAfterSeconds = opts.retryAfterSeconds;
72
+ }
73
+ }
74
+ export class ValidationException extends __BaseException {
75
+ name = "ValidationException";
76
+ $fault = "client";
77
+ reason;
78
+ fieldList;
79
+ constructor(opts) {
80
+ super({
81
+ name: "ValidationException",
82
+ $fault: "client",
83
+ ...opts,
84
+ });
85
+ Object.setPrototypeOf(this, ValidationException.prototype);
86
+ this.reason = opts.reason;
87
+ this.fieldList = opts.fieldList;
88
+ }
89
+ }
90
+ export class ServiceQuotaExceededException extends __BaseException {
91
+ name = "ServiceQuotaExceededException";
92
+ $fault = "client";
93
+ constructor(opts) {
94
+ super({
95
+ name: "ServiceQuotaExceededException",
96
+ $fault: "client",
97
+ ...opts,
98
+ });
99
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
100
+ }
101
+ }
@@ -1,104 +1,15 @@
1
- import { DocDBElasticServiceException as __BaseException } from "./DocDBElasticServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- name = "AccessDeniedException";
4
- $fault = "client";
5
- constructor(opts) {
6
- super({
7
- name: "AccessDeniedException",
8
- $fault: "client",
9
- ...opts,
10
- });
11
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
- }
13
- }
14
1
  export const OptInType = {
15
2
  APPLY_ON: "APPLY_ON",
16
3
  IMMEDIATE: "IMMEDIATE",
17
4
  NEXT_MAINTENANCE: "NEXT_MAINTENANCE",
18
5
  UNDO_OPT_IN: "UNDO_OPT_IN",
19
6
  };
20
- export class ConflictException extends __BaseException {
21
- name = "ConflictException";
22
- $fault = "client";
23
- resourceId;
24
- resourceType;
25
- constructor(opts) {
26
- super({
27
- name: "ConflictException",
28
- $fault: "client",
29
- ...opts,
30
- });
31
- Object.setPrototypeOf(this, ConflictException.prototype);
32
- this.resourceId = opts.resourceId;
33
- this.resourceType = opts.resourceType;
34
- }
35
- }
36
- export class InternalServerException extends __BaseException {
37
- name = "InternalServerException";
38
- $fault = "server";
39
- $retryable = {};
40
- constructor(opts) {
41
- super({
42
- name: "InternalServerException",
43
- $fault: "server",
44
- ...opts,
45
- });
46
- Object.setPrototypeOf(this, InternalServerException.prototype);
47
- }
48
- }
49
- export class ResourceNotFoundException extends __BaseException {
50
- name = "ResourceNotFoundException";
51
- $fault = "client";
52
- resourceId;
53
- resourceType;
54
- constructor(opts) {
55
- super({
56
- name: "ResourceNotFoundException",
57
- $fault: "client",
58
- ...opts,
59
- });
60
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
61
- this.resourceId = opts.resourceId;
62
- this.resourceType = opts.resourceType;
63
- }
64
- }
65
- export class ThrottlingException extends __BaseException {
66
- name = "ThrottlingException";
67
- $fault = "client";
68
- $retryable = {};
69
- retryAfterSeconds;
70
- constructor(opts) {
71
- super({
72
- name: "ThrottlingException",
73
- $fault: "client",
74
- ...opts,
75
- });
76
- Object.setPrototypeOf(this, ThrottlingException.prototype);
77
- this.retryAfterSeconds = opts.retryAfterSeconds;
78
- }
79
- }
80
7
  export const ValidationExceptionReason = {
81
8
  CANNOT_PARSE: "cannotParse",
82
9
  FIELD_VALIDATION_FAILED: "fieldValidationFailed",
83
10
  OTHER: "other",
84
11
  UNKNOWN_OPERATION: "unknownOperation",
85
12
  };
86
- export class ValidationException extends __BaseException {
87
- name = "ValidationException";
88
- $fault = "client";
89
- reason;
90
- fieldList;
91
- constructor(opts) {
92
- super({
93
- name: "ValidationException",
94
- $fault: "client",
95
- ...opts,
96
- });
97
- Object.setPrototypeOf(this, ValidationException.prototype);
98
- this.reason = opts.reason;
99
- this.fieldList = opts.fieldList;
100
- }
101
- }
102
13
  export const Auth = {
103
14
  PLAIN_TEXT: "PLAIN_TEXT",
104
15
  SECRET_ARN: "SECRET_ARN",
@@ -130,15 +41,3 @@ export const Status = {
130
41
  UPDATING: "UPDATING",
131
42
  VPC_ENDPOINT_LIMIT_EXCEEDED: "VPC_ENDPOINT_LIMIT_EXCEEDED",
132
43
  };
133
- export class ServiceQuotaExceededException extends __BaseException {
134
- name = "ServiceQuotaExceededException";
135
- $fault = "client";
136
- constructor(opts) {
137
- super({
138
- name: "ServiceQuotaExceededException",
139
- $fault: "client",
140
- ...opts,
141
- });
142
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
143
- }
144
- }
@@ -144,7 +144,7 @@ const _vSGI = "vpcSecurityGroupIds";
144
144
  const n0 = "com.amazonaws.docdbelastic";
145
145
  import { TypeRegistry } from "@smithy/core/schema";
146
146
  import { DocDBElasticServiceException as __DocDBElasticServiceException } from "../models/DocDBElasticServiceException";
147
- import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
147
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
148
148
  export var Password = [0, n0, _P, 8, 0];
149
149
  export var AccessDeniedException = [
150
150
  -3,
@@ -24,5 +24,6 @@ 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";
27
+ export * from "./models/errors";
28
+ export type * from "./models/models_0";
28
29
  export { DocDBElasticServiceException } from "./models/DocDBElasticServiceException";
@@ -0,0 +1,125 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { DocDBElasticServiceException as __BaseException } from "./DocDBElasticServiceException";
3
+ import { ValidationExceptionField, ValidationExceptionReason } from "./models_0";
4
+ /**
5
+ * <p>An exception that occurs when there are not sufficient permissions to perform an action.</p>
6
+ * @public
7
+ */
8
+ export declare class AccessDeniedException extends __BaseException {
9
+ readonly name: "AccessDeniedException";
10
+ readonly $fault: "client";
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
+ }
16
+ /**
17
+ * <p>There was an access conflict.</p>
18
+ * @public
19
+ */
20
+ export declare class ConflictException extends __BaseException {
21
+ readonly name: "ConflictException";
22
+ readonly $fault: "client";
23
+ /**
24
+ * <p>The ID of the resource where there was an access conflict.</p>
25
+ * @public
26
+ */
27
+ resourceId: string | undefined;
28
+ /**
29
+ * <p>The type of the resource where there was an access conflict.</p>
30
+ * @public
31
+ */
32
+ resourceType: string | undefined;
33
+ /**
34
+ * @internal
35
+ */
36
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
37
+ }
38
+ /**
39
+ * <p>There was an internal server error.</p>
40
+ * @public
41
+ */
42
+ export declare class InternalServerException extends __BaseException {
43
+ readonly name: "InternalServerException";
44
+ readonly $fault: "server";
45
+ $retryable: {};
46
+ /**
47
+ * @internal
48
+ */
49
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
50
+ }
51
+ /**
52
+ * <p>The specified resource could not be located.</p>
53
+ * @public
54
+ */
55
+ export declare class ResourceNotFoundException extends __BaseException {
56
+ readonly name: "ResourceNotFoundException";
57
+ readonly $fault: "client";
58
+ /**
59
+ * <p>The ID of the resource that could not be located.</p>
60
+ * @public
61
+ */
62
+ resourceId: string | undefined;
63
+ /**
64
+ * <p>The type of the resource that could not be found.</p>
65
+ * @public
66
+ */
67
+ resourceType: string | undefined;
68
+ /**
69
+ * @internal
70
+ */
71
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
72
+ }
73
+ /**
74
+ * <p>ThrottlingException will be thrown when request was denied due to request throttling.</p>
75
+ * @public
76
+ */
77
+ export declare class ThrottlingException extends __BaseException {
78
+ readonly name: "ThrottlingException";
79
+ readonly $fault: "client";
80
+ $retryable: {};
81
+ /**
82
+ * <p>The number of seconds to wait before retrying the operation.</p>
83
+ * @public
84
+ */
85
+ retryAfterSeconds?: number | undefined;
86
+ /**
87
+ * @internal
88
+ */
89
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
90
+ }
91
+ /**
92
+ * <p>A structure defining a validation exception.</p>
93
+ * @public
94
+ */
95
+ export declare class ValidationException extends __BaseException {
96
+ readonly name: "ValidationException";
97
+ readonly $fault: "client";
98
+ /**
99
+ * <p>The reason why the validation exception occurred (one of <code>unknownOperation</code>,
100
+ * <code>cannotParse</code>, <code>fieldValidationFailed</code>, or <code>other</code>).</p>
101
+ * @public
102
+ */
103
+ reason: ValidationExceptionReason | undefined;
104
+ /**
105
+ * <p>A list of the fields in which the validation exception occurred.</p>
106
+ * @public
107
+ */
108
+ fieldList?: ValidationExceptionField[] | undefined;
109
+ /**
110
+ * @internal
111
+ */
112
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
113
+ }
114
+ /**
115
+ * <p>The service quota for the action was exceeded.</p>
116
+ * @public
117
+ */
118
+ export declare class ServiceQuotaExceededException extends __BaseException {
119
+ readonly name: "ServiceQuotaExceededException";
120
+ readonly $fault: "client";
121
+ /**
122
+ * @internal
123
+ */
124
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
125
+ }
@@ -1,17 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { DocDBElasticServiceException as __BaseException } from "./DocDBElasticServiceException";
3
- /**
4
- * <p>An exception that occurs when there are not sufficient permissions to perform an action.</p>
5
- * @public
6
- */
7
- export declare class AccessDeniedException extends __BaseException {
8
- readonly name: "AccessDeniedException";
9
- readonly $fault: "client";
10
- /**
11
- * @internal
12
- */
13
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
- }
15
1
  /**
16
2
  * @public
17
3
  * @enum
@@ -149,81 +135,6 @@ export interface ApplyPendingMaintenanceActionOutput {
149
135
  */
150
136
  resourcePendingMaintenanceAction: ResourcePendingMaintenanceAction | undefined;
151
137
  }
152
- /**
153
- * <p>There was an access conflict.</p>
154
- * @public
155
- */
156
- export declare class ConflictException extends __BaseException {
157
- readonly name: "ConflictException";
158
- readonly $fault: "client";
159
- /**
160
- * <p>The ID of the resource where there was an access conflict.</p>
161
- * @public
162
- */
163
- resourceId: string | undefined;
164
- /**
165
- * <p>The type of the resource where there was an access conflict.</p>
166
- * @public
167
- */
168
- resourceType: string | undefined;
169
- /**
170
- * @internal
171
- */
172
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
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 | undefined;
222
- /**
223
- * @internal
224
- */
225
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
226
- }
227
138
  /**
228
139
  * <p>A specific field in which a given validation exception occurred.</p>
229
140
  * @public
@@ -254,29 +165,6 @@ export declare const ValidationExceptionReason: {
254
165
  * @public
255
166
  */
256
167
  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[] | undefined;
275
- /**
276
- * @internal
277
- */
278
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
279
- }
280
168
  /**
281
169
  * @public
282
170
  * @enum
@@ -470,18 +358,6 @@ export interface CopyClusterSnapshotOutput {
470
358
  */
471
359
  snapshot: ClusterSnapshot | undefined;
472
360
  }
473
- /**
474
- * <p>The service quota for the action was exceeded.</p>
475
- * @public
476
- */
477
- export declare class ServiceQuotaExceededException extends __BaseException {
478
- readonly name: "ServiceQuotaExceededException";
479
- readonly $fault: "client";
480
- /**
481
- * @internal
482
- */
483
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
484
- }
485
361
  /**
486
362
  * @public
487
363
  */
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { DocDBElasticExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/errors";
9
+ export * from "./models/models_0";
9
10
  export { DocDBElasticServiceException } from "./models/DocDBElasticServiceException";
@@ -0,0 +1,62 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { DocDBElasticServiceException as __BaseException } from "./DocDBElasticServiceException";
3
+ import {
4
+ ValidationExceptionField,
5
+ ValidationExceptionReason,
6
+ } from "./models_0";
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ constructor(
11
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
12
+ );
13
+ }
14
+ export declare class ConflictException extends __BaseException {
15
+ readonly name: "ConflictException";
16
+ readonly $fault: "client";
17
+ resourceId: string | undefined;
18
+ resourceType: string | undefined;
19
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
20
+ }
21
+ export declare class InternalServerException extends __BaseException {
22
+ readonly name: "InternalServerException";
23
+ readonly $fault: "server";
24
+ $retryable: {};
25
+ constructor(
26
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
27
+ );
28
+ }
29
+ export declare class ResourceNotFoundException extends __BaseException {
30
+ readonly name: "ResourceNotFoundException";
31
+ readonly $fault: "client";
32
+ resourceId: string | undefined;
33
+ resourceType: string | undefined;
34
+ constructor(
35
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
36
+ );
37
+ }
38
+ export declare class ThrottlingException extends __BaseException {
39
+ readonly name: "ThrottlingException";
40
+ readonly $fault: "client";
41
+ $retryable: {};
42
+ retryAfterSeconds?: number | undefined;
43
+ constructor(
44
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
45
+ );
46
+ }
47
+ export declare class ValidationException extends __BaseException {
48
+ readonly name: "ValidationException";
49
+ readonly $fault: "client";
50
+ reason: ValidationExceptionReason | undefined;
51
+ fieldList?: ValidationExceptionField[] | undefined;
52
+ constructor(
53
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
54
+ );
55
+ }
56
+ export declare class ServiceQuotaExceededException extends __BaseException {
57
+ readonly name: "ServiceQuotaExceededException";
58
+ readonly $fault: "client";
59
+ constructor(
60
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
61
+ );
62
+ }
@@ -1,12 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { DocDBElasticServiceException as __BaseException } from "./DocDBElasticServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- constructor(
7
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
- );
9
- }
10
1
  export declare const OptInType: {
11
2
  readonly APPLY_ON: "APPLY_ON";
12
3
  readonly IMMEDIATE: "IMMEDIATE";
@@ -39,39 +30,6 @@ export interface ApplyPendingMaintenanceActionOutput {
39
30
  | ResourcePendingMaintenanceAction
40
31
  | undefined;
41
32
  }
42
- export declare class ConflictException extends __BaseException {
43
- readonly name: "ConflictException";
44
- readonly $fault: "client";
45
- resourceId: string | undefined;
46
- resourceType: string | undefined;
47
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
48
- }
49
- export declare class InternalServerException extends __BaseException {
50
- readonly name: "InternalServerException";
51
- readonly $fault: "server";
52
- $retryable: {};
53
- constructor(
54
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
55
- );
56
- }
57
- export declare class ResourceNotFoundException extends __BaseException {
58
- readonly name: "ResourceNotFoundException";
59
- readonly $fault: "client";
60
- resourceId: string | undefined;
61
- resourceType: string | undefined;
62
- constructor(
63
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
64
- );
65
- }
66
- export declare class ThrottlingException extends __BaseException {
67
- readonly name: "ThrottlingException";
68
- readonly $fault: "client";
69
- $retryable: {};
70
- retryAfterSeconds?: number | undefined;
71
- constructor(
72
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
73
- );
74
- }
75
33
  export interface ValidationExceptionField {
76
34
  name: string | undefined;
77
35
  message: string | undefined;
@@ -84,15 +42,6 @@ export declare const ValidationExceptionReason: {
84
42
  };
85
43
  export type ValidationExceptionReason =
86
44
  (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
87
- export declare class ValidationException extends __BaseException {
88
- readonly name: "ValidationException";
89
- readonly $fault: "client";
90
- reason: ValidationExceptionReason | undefined;
91
- fieldList?: ValidationExceptionField[] | undefined;
92
- constructor(
93
- opts: __ExceptionOptionType<ValidationException, __BaseException>
94
- );
95
- }
96
45
  export declare const Auth: {
97
46
  readonly PLAIN_TEXT: "PLAIN_TEXT";
98
47
  readonly SECRET_ARN: "SECRET_ARN";
@@ -150,13 +99,6 @@ export interface ClusterSnapshot {
150
99
  export interface CopyClusterSnapshotOutput {
151
100
  snapshot: ClusterSnapshot | undefined;
152
101
  }
153
- export declare class ServiceQuotaExceededException extends __BaseException {
154
- readonly name: "ServiceQuotaExceededException";
155
- readonly $fault: "client";
156
- constructor(
157
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
158
- );
159
- }
160
102
  export interface CreateClusterInput {
161
103
  clusterName: string | undefined;
162
104
  authType: Auth | 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.933.0",
4
+ "version": "3.935.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",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";