@aws-sdk/client-ebs 3.934.0 → 3.936.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 +52 -51
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +51 -0
- package/dist-es/models/errors.js +123 -0
- package/dist-es/models/models_0.js +1 -174
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +123 -0
- package/dist-types/models/errors.d.ts +136 -0
- package/dist-types/models/models_0.d.ts +1 -258
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +67 -0
- package/dist-types/ts3.4/models/errors.d.ts +79 -0
- package/dist-types/ts3.4/models/models_0.d.ts +6 -139
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { EBSServiceException as __BaseException } from "./EBSServiceException";
|
|
3
|
+
import { AccessDeniedExceptionReason, RequestThrottledExceptionReason, ResourceNotFoundExceptionReason, ServiceQuotaExceededExceptionReason, ValidationExceptionReason } from "./enums";
|
|
4
|
+
/**
|
|
5
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
9
|
+
readonly name: "AccessDeniedException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
Message?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>The reason for the exception.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
Reason: AccessDeniedExceptionReason | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
20
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* <p>An internal error has occurred. For more information see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/error-retries.html">Error retries</a>.</p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export declare class InternalServerException extends __BaseException {
|
|
27
|
+
readonly name: "InternalServerException";
|
|
28
|
+
readonly $fault: "server";
|
|
29
|
+
Message?: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* <p>The number of API requests has exceeded the maximum allowed API request
|
|
37
|
+
* throttling limit for the snapshot. For more information see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/error-retries.html">Error retries</a>.</p>
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export declare class RequestThrottledException extends __BaseException {
|
|
41
|
+
readonly name: "RequestThrottledException";
|
|
42
|
+
readonly $fault: "client";
|
|
43
|
+
Message?: string | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* <p>The reason for the exception.</p>
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
Reason?: RequestThrottledExceptionReason | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
52
|
+
constructor(opts: __ExceptionOptionType<RequestThrottledException, __BaseException>);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* <p>The specified resource does not exist.</p>
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
59
|
+
readonly name: "ResourceNotFoundException";
|
|
60
|
+
readonly $fault: "client";
|
|
61
|
+
Message?: string | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* <p>The reason for the exception.</p>
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
Reason?: ResourceNotFoundExceptionReason | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* <p>Your current service quotas do not allow you to perform this action.</p>
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
77
|
+
readonly name: "ServiceQuotaExceededException";
|
|
78
|
+
readonly $fault: "client";
|
|
79
|
+
Message?: string | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* <p>The reason for the exception.</p>
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
Reason?: ServiceQuotaExceededExceptionReason | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* <p>The input fails to satisfy the constraints of the EBS direct APIs.</p>
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class ValidationException extends __BaseException {
|
|
95
|
+
readonly name: "ValidationException";
|
|
96
|
+
readonly $fault: "client";
|
|
97
|
+
Message?: string | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* <p>The reason for the validation exception.</p>
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
Reason?: ValidationExceptionReason | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
*/
|
|
106
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* <p>You have reached the limit for concurrent API requests. For more information, see
|
|
110
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-accessing-snapshot.html#ebsapi-performance">Optimizing performance of the EBS direct APIs</a> in the <i>Amazon Elastic Compute Cloud
|
|
111
|
+
* User Guide</i>.</p>
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
export declare class ConcurrentLimitExceededException extends __BaseException {
|
|
115
|
+
readonly name: "ConcurrentLimitExceededException";
|
|
116
|
+
readonly $fault: "client";
|
|
117
|
+
Message?: string | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* @internal
|
|
120
|
+
*/
|
|
121
|
+
constructor(opts: __ExceptionOptionType<ConcurrentLimitExceededException, __BaseException>);
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* <p>The request uses the same client token as a previous, but non-identical
|
|
125
|
+
* request.</p>
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
export declare class ConflictException extends __BaseException {
|
|
129
|
+
readonly name: "ConflictException";
|
|
130
|
+
readonly $fault: "client";
|
|
131
|
+
Message?: string | undefined;
|
|
132
|
+
/**
|
|
133
|
+
* @internal
|
|
134
|
+
*/
|
|
135
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
136
|
+
}
|
|
@@ -1,36 +1,5 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
1
|
import { StreamingBlobTypes } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
* @enum
|
|
7
|
-
*/
|
|
8
|
-
export declare const AccessDeniedExceptionReason: {
|
|
9
|
-
readonly DEPENDENCY_ACCESS_DENIED: "DEPENDENCY_ACCESS_DENIED";
|
|
10
|
-
readonly UNAUTHORIZED_ACCOUNT: "UNAUTHORIZED_ACCOUNT";
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
15
|
-
export type AccessDeniedExceptionReason = (typeof AccessDeniedExceptionReason)[keyof typeof AccessDeniedExceptionReason];
|
|
16
|
-
/**
|
|
17
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
18
|
-
* @public
|
|
19
|
-
*/
|
|
20
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
21
|
-
readonly name: "AccessDeniedException";
|
|
22
|
-
readonly $fault: "client";
|
|
23
|
-
Message?: string | undefined;
|
|
24
|
-
/**
|
|
25
|
-
* <p>The reason for the exception.</p>
|
|
26
|
-
* @public
|
|
27
|
-
*/
|
|
28
|
-
Reason: AccessDeniedExceptionReason | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
32
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
33
|
-
}
|
|
2
|
+
import { ChecksumAggregationMethod, ChecksumAlgorithm, SSEType, Status } from "./enums";
|
|
34
3
|
/**
|
|
35
4
|
* <p>A block of data in an Amazon Elastic Block Store snapshot.</p>
|
|
36
5
|
* @public
|
|
@@ -72,28 +41,6 @@ export interface ChangedBlock {
|
|
|
72
41
|
*/
|
|
73
42
|
SecondBlockToken?: string | undefined;
|
|
74
43
|
}
|
|
75
|
-
/**
|
|
76
|
-
* @public
|
|
77
|
-
* @enum
|
|
78
|
-
*/
|
|
79
|
-
export declare const ChecksumAggregationMethod: {
|
|
80
|
-
readonly CHECKSUM_AGGREGATION_LINEAR: "LINEAR";
|
|
81
|
-
};
|
|
82
|
-
/**
|
|
83
|
-
* @public
|
|
84
|
-
*/
|
|
85
|
-
export type ChecksumAggregationMethod = (typeof ChecksumAggregationMethod)[keyof typeof ChecksumAggregationMethod];
|
|
86
|
-
/**
|
|
87
|
-
* @public
|
|
88
|
-
* @enum
|
|
89
|
-
*/
|
|
90
|
-
export declare const ChecksumAlgorithm: {
|
|
91
|
-
readonly CHECKSUM_ALGORITHM_SHA256: "SHA256";
|
|
92
|
-
};
|
|
93
|
-
/**
|
|
94
|
-
* @public
|
|
95
|
-
*/
|
|
96
|
-
export type ChecksumAlgorithm = (typeof ChecksumAlgorithm)[keyof typeof ChecksumAlgorithm];
|
|
97
44
|
/**
|
|
98
45
|
* @public
|
|
99
46
|
*/
|
|
@@ -131,19 +78,6 @@ export interface CompleteSnapshotRequest {
|
|
|
131
78
|
*/
|
|
132
79
|
ChecksumAggregationMethod?: ChecksumAggregationMethod | undefined;
|
|
133
80
|
}
|
|
134
|
-
/**
|
|
135
|
-
* @public
|
|
136
|
-
* @enum
|
|
137
|
-
*/
|
|
138
|
-
export declare const Status: {
|
|
139
|
-
readonly COMPLETED: "completed";
|
|
140
|
-
readonly ERROR: "error";
|
|
141
|
-
readonly PENDING: "pending";
|
|
142
|
-
};
|
|
143
|
-
/**
|
|
144
|
-
* @public
|
|
145
|
-
*/
|
|
146
|
-
export type Status = (typeof Status)[keyof typeof Status];
|
|
147
81
|
/**
|
|
148
82
|
* @public
|
|
149
83
|
*/
|
|
@@ -154,184 +88,6 @@ export interface CompleteSnapshotResponse {
|
|
|
154
88
|
*/
|
|
155
89
|
Status?: Status | undefined;
|
|
156
90
|
}
|
|
157
|
-
/**
|
|
158
|
-
* <p>An internal error has occurred. For more information see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/error-retries.html">Error retries</a>.</p>
|
|
159
|
-
* @public
|
|
160
|
-
*/
|
|
161
|
-
export declare class InternalServerException extends __BaseException {
|
|
162
|
-
readonly name: "InternalServerException";
|
|
163
|
-
readonly $fault: "server";
|
|
164
|
-
Message?: string | undefined;
|
|
165
|
-
/**
|
|
166
|
-
* @internal
|
|
167
|
-
*/
|
|
168
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
169
|
-
}
|
|
170
|
-
/**
|
|
171
|
-
* @public
|
|
172
|
-
* @enum
|
|
173
|
-
*/
|
|
174
|
-
export declare const RequestThrottledExceptionReason: {
|
|
175
|
-
readonly ACCOUNT_THROTTLED: "ACCOUNT_THROTTLED";
|
|
176
|
-
readonly DEPENDENCY_REQUEST_THROTTLED: "DEPENDENCY_REQUEST_THROTTLED";
|
|
177
|
-
readonly RESOURCE_LEVEL_THROTTLE: "RESOURCE_LEVEL_THROTTLE";
|
|
178
|
-
};
|
|
179
|
-
/**
|
|
180
|
-
* @public
|
|
181
|
-
*/
|
|
182
|
-
export type RequestThrottledExceptionReason = (typeof RequestThrottledExceptionReason)[keyof typeof RequestThrottledExceptionReason];
|
|
183
|
-
/**
|
|
184
|
-
* <p>The number of API requests has exceeded the maximum allowed API request
|
|
185
|
-
* throttling limit for the snapshot. For more information see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/error-retries.html">Error retries</a>.</p>
|
|
186
|
-
* @public
|
|
187
|
-
*/
|
|
188
|
-
export declare class RequestThrottledException extends __BaseException {
|
|
189
|
-
readonly name: "RequestThrottledException";
|
|
190
|
-
readonly $fault: "client";
|
|
191
|
-
Message?: string | undefined;
|
|
192
|
-
/**
|
|
193
|
-
* <p>The reason for the exception.</p>
|
|
194
|
-
* @public
|
|
195
|
-
*/
|
|
196
|
-
Reason?: RequestThrottledExceptionReason | undefined;
|
|
197
|
-
/**
|
|
198
|
-
* @internal
|
|
199
|
-
*/
|
|
200
|
-
constructor(opts: __ExceptionOptionType<RequestThrottledException, __BaseException>);
|
|
201
|
-
}
|
|
202
|
-
/**
|
|
203
|
-
* @public
|
|
204
|
-
* @enum
|
|
205
|
-
*/
|
|
206
|
-
export declare const ResourceNotFoundExceptionReason: {
|
|
207
|
-
readonly DEPENDENCY_RESOURCE_NOT_FOUND: "DEPENDENCY_RESOURCE_NOT_FOUND";
|
|
208
|
-
readonly GRANT_NOT_FOUND: "GRANT_NOT_FOUND";
|
|
209
|
-
readonly IMAGE_NOT_FOUND: "IMAGE_NOT_FOUND";
|
|
210
|
-
readonly SNAPSHOT_NOT_FOUND: "SNAPSHOT_NOT_FOUND";
|
|
211
|
-
};
|
|
212
|
-
/**
|
|
213
|
-
* @public
|
|
214
|
-
*/
|
|
215
|
-
export type ResourceNotFoundExceptionReason = (typeof ResourceNotFoundExceptionReason)[keyof typeof ResourceNotFoundExceptionReason];
|
|
216
|
-
/**
|
|
217
|
-
* <p>The specified resource does not exist.</p>
|
|
218
|
-
* @public
|
|
219
|
-
*/
|
|
220
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
221
|
-
readonly name: "ResourceNotFoundException";
|
|
222
|
-
readonly $fault: "client";
|
|
223
|
-
Message?: string | undefined;
|
|
224
|
-
/**
|
|
225
|
-
* <p>The reason for the exception.</p>
|
|
226
|
-
* @public
|
|
227
|
-
*/
|
|
228
|
-
Reason?: ResourceNotFoundExceptionReason | undefined;
|
|
229
|
-
/**
|
|
230
|
-
* @internal
|
|
231
|
-
*/
|
|
232
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
233
|
-
}
|
|
234
|
-
/**
|
|
235
|
-
* @public
|
|
236
|
-
* @enum
|
|
237
|
-
*/
|
|
238
|
-
export declare const ServiceQuotaExceededExceptionReason: {
|
|
239
|
-
readonly DEPENDENCY_SERVICE_QUOTA_EXCEEDED: "DEPENDENCY_SERVICE_QUOTA_EXCEEDED";
|
|
240
|
-
};
|
|
241
|
-
/**
|
|
242
|
-
* @public
|
|
243
|
-
*/
|
|
244
|
-
export type ServiceQuotaExceededExceptionReason = (typeof ServiceQuotaExceededExceptionReason)[keyof typeof ServiceQuotaExceededExceptionReason];
|
|
245
|
-
/**
|
|
246
|
-
* <p>Your current service quotas do not allow you to perform this action.</p>
|
|
247
|
-
* @public
|
|
248
|
-
*/
|
|
249
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
250
|
-
readonly name: "ServiceQuotaExceededException";
|
|
251
|
-
readonly $fault: "client";
|
|
252
|
-
Message?: string | undefined;
|
|
253
|
-
/**
|
|
254
|
-
* <p>The reason for the exception.</p>
|
|
255
|
-
* @public
|
|
256
|
-
*/
|
|
257
|
-
Reason?: ServiceQuotaExceededExceptionReason | undefined;
|
|
258
|
-
/**
|
|
259
|
-
* @internal
|
|
260
|
-
*/
|
|
261
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
262
|
-
}
|
|
263
|
-
/**
|
|
264
|
-
* @public
|
|
265
|
-
* @enum
|
|
266
|
-
*/
|
|
267
|
-
export declare const ValidationExceptionReason: {
|
|
268
|
-
readonly CONFLICTING_BLOCK_UPDATE: "CONFLICTING_BLOCK_UPDATE";
|
|
269
|
-
readonly INVALID_BLOCK: "INVALID_BLOCK";
|
|
270
|
-
readonly INVALID_BLOCK_TOKEN: "INVALID_BLOCK_TOKEN";
|
|
271
|
-
readonly INVALID_CONTENT_ENCODING: "INVALID_CONTENT_ENCODING";
|
|
272
|
-
readonly INVALID_CUSTOMER_KEY: "INVALID_CUSTOMER_KEY";
|
|
273
|
-
readonly INVALID_DEPENDENCY_REQUEST: "INVALID_DEPENDENCY_REQUEST";
|
|
274
|
-
readonly INVALID_GRANT_TOKEN: "INVALID_GRANT_TOKEN";
|
|
275
|
-
readonly INVALID_IMAGE_ID: "INVALID_IMAGE_ID";
|
|
276
|
-
readonly INVALID_PAGE_TOKEN: "INVALID_PAGE_TOKEN";
|
|
277
|
-
readonly INVALID_PARAMETER_VALUE: "INVALID_PARAMETER_VALUE";
|
|
278
|
-
readonly INVALID_SNAPSHOT_ID: "INVALID_SNAPSHOT_ID";
|
|
279
|
-
readonly INVALID_TAG: "INVALID_TAG";
|
|
280
|
-
readonly INVALID_VOLUME_SIZE: "INVALID_VOLUME_SIZE";
|
|
281
|
-
readonly UNRELATED_SNAPSHOTS: "UNRELATED_SNAPSHOTS";
|
|
282
|
-
readonly WRITE_REQUEST_TIMEOUT: "WRITE_REQUEST_TIMEOUT";
|
|
283
|
-
};
|
|
284
|
-
/**
|
|
285
|
-
* @public
|
|
286
|
-
*/
|
|
287
|
-
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
288
|
-
/**
|
|
289
|
-
* <p>The input fails to satisfy the constraints of the EBS direct APIs.</p>
|
|
290
|
-
* @public
|
|
291
|
-
*/
|
|
292
|
-
export declare class ValidationException extends __BaseException {
|
|
293
|
-
readonly name: "ValidationException";
|
|
294
|
-
readonly $fault: "client";
|
|
295
|
-
Message?: string | undefined;
|
|
296
|
-
/**
|
|
297
|
-
* <p>The reason for the validation exception.</p>
|
|
298
|
-
* @public
|
|
299
|
-
*/
|
|
300
|
-
Reason?: ValidationExceptionReason | undefined;
|
|
301
|
-
/**
|
|
302
|
-
* @internal
|
|
303
|
-
*/
|
|
304
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
305
|
-
}
|
|
306
|
-
/**
|
|
307
|
-
* <p>You have reached the limit for concurrent API requests. For more information, see
|
|
308
|
-
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-accessing-snapshot.html#ebsapi-performance">Optimizing performance of the EBS direct APIs</a> in the <i>Amazon Elastic Compute Cloud
|
|
309
|
-
* User Guide</i>.</p>
|
|
310
|
-
* @public
|
|
311
|
-
*/
|
|
312
|
-
export declare class ConcurrentLimitExceededException extends __BaseException {
|
|
313
|
-
readonly name: "ConcurrentLimitExceededException";
|
|
314
|
-
readonly $fault: "client";
|
|
315
|
-
Message?: string | undefined;
|
|
316
|
-
/**
|
|
317
|
-
* @internal
|
|
318
|
-
*/
|
|
319
|
-
constructor(opts: __ExceptionOptionType<ConcurrentLimitExceededException, __BaseException>);
|
|
320
|
-
}
|
|
321
|
-
/**
|
|
322
|
-
* <p>The request uses the same client token as a previous, but non-identical
|
|
323
|
-
* request.</p>
|
|
324
|
-
* @public
|
|
325
|
-
*/
|
|
326
|
-
export declare class ConflictException extends __BaseException {
|
|
327
|
-
readonly name: "ConflictException";
|
|
328
|
-
readonly $fault: "client";
|
|
329
|
-
Message?: string | undefined;
|
|
330
|
-
/**
|
|
331
|
-
* @internal
|
|
332
|
-
*/
|
|
333
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
334
|
-
}
|
|
335
91
|
/**
|
|
336
92
|
* @public
|
|
337
93
|
*/
|
|
@@ -743,19 +499,6 @@ export interface StartSnapshotRequest {
|
|
|
743
499
|
*/
|
|
744
500
|
Timeout?: number | undefined;
|
|
745
501
|
}
|
|
746
|
-
/**
|
|
747
|
-
* @public
|
|
748
|
-
* @enum
|
|
749
|
-
*/
|
|
750
|
-
export declare const SSEType: {
|
|
751
|
-
readonly NONE: "none";
|
|
752
|
-
readonly SSE_EBS: "sse-ebs";
|
|
753
|
-
readonly SSE_KMS: "sse-kms";
|
|
754
|
-
};
|
|
755
|
-
/**
|
|
756
|
-
* @public
|
|
757
|
-
*/
|
|
758
|
-
export type SSEType = (typeof SSEType)[keyof typeof SSEType];
|
|
759
502
|
/**
|
|
760
503
|
* @public
|
|
761
504
|
*/
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { EBSExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { EBSServiceException } from "./models/EBSServiceException";
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export declare const AccessDeniedExceptionReason: {
|
|
2
|
+
readonly DEPENDENCY_ACCESS_DENIED: "DEPENDENCY_ACCESS_DENIED";
|
|
3
|
+
readonly UNAUTHORIZED_ACCOUNT: "UNAUTHORIZED_ACCOUNT";
|
|
4
|
+
};
|
|
5
|
+
export type AccessDeniedExceptionReason =
|
|
6
|
+
(typeof AccessDeniedExceptionReason)[keyof typeof AccessDeniedExceptionReason];
|
|
7
|
+
export declare const ChecksumAggregationMethod: {
|
|
8
|
+
readonly CHECKSUM_AGGREGATION_LINEAR: "LINEAR";
|
|
9
|
+
};
|
|
10
|
+
export type ChecksumAggregationMethod =
|
|
11
|
+
(typeof ChecksumAggregationMethod)[keyof typeof ChecksumAggregationMethod];
|
|
12
|
+
export declare const ChecksumAlgorithm: {
|
|
13
|
+
readonly CHECKSUM_ALGORITHM_SHA256: "SHA256";
|
|
14
|
+
};
|
|
15
|
+
export type ChecksumAlgorithm =
|
|
16
|
+
(typeof ChecksumAlgorithm)[keyof typeof ChecksumAlgorithm];
|
|
17
|
+
export declare const Status: {
|
|
18
|
+
readonly COMPLETED: "completed";
|
|
19
|
+
readonly ERROR: "error";
|
|
20
|
+
readonly PENDING: "pending";
|
|
21
|
+
};
|
|
22
|
+
export type Status = (typeof Status)[keyof typeof Status];
|
|
23
|
+
export declare const RequestThrottledExceptionReason: {
|
|
24
|
+
readonly ACCOUNT_THROTTLED: "ACCOUNT_THROTTLED";
|
|
25
|
+
readonly DEPENDENCY_REQUEST_THROTTLED: "DEPENDENCY_REQUEST_THROTTLED";
|
|
26
|
+
readonly RESOURCE_LEVEL_THROTTLE: "RESOURCE_LEVEL_THROTTLE";
|
|
27
|
+
};
|
|
28
|
+
export type RequestThrottledExceptionReason =
|
|
29
|
+
(typeof RequestThrottledExceptionReason)[keyof typeof RequestThrottledExceptionReason];
|
|
30
|
+
export declare const ResourceNotFoundExceptionReason: {
|
|
31
|
+
readonly DEPENDENCY_RESOURCE_NOT_FOUND: "DEPENDENCY_RESOURCE_NOT_FOUND";
|
|
32
|
+
readonly GRANT_NOT_FOUND: "GRANT_NOT_FOUND";
|
|
33
|
+
readonly IMAGE_NOT_FOUND: "IMAGE_NOT_FOUND";
|
|
34
|
+
readonly SNAPSHOT_NOT_FOUND: "SNAPSHOT_NOT_FOUND";
|
|
35
|
+
};
|
|
36
|
+
export type ResourceNotFoundExceptionReason =
|
|
37
|
+
(typeof ResourceNotFoundExceptionReason)[keyof typeof ResourceNotFoundExceptionReason];
|
|
38
|
+
export declare const ServiceQuotaExceededExceptionReason: {
|
|
39
|
+
readonly DEPENDENCY_SERVICE_QUOTA_EXCEEDED: "DEPENDENCY_SERVICE_QUOTA_EXCEEDED";
|
|
40
|
+
};
|
|
41
|
+
export type ServiceQuotaExceededExceptionReason =
|
|
42
|
+
(typeof ServiceQuotaExceededExceptionReason)[keyof typeof ServiceQuotaExceededExceptionReason];
|
|
43
|
+
export declare const ValidationExceptionReason: {
|
|
44
|
+
readonly CONFLICTING_BLOCK_UPDATE: "CONFLICTING_BLOCK_UPDATE";
|
|
45
|
+
readonly INVALID_BLOCK: "INVALID_BLOCK";
|
|
46
|
+
readonly INVALID_BLOCK_TOKEN: "INVALID_BLOCK_TOKEN";
|
|
47
|
+
readonly INVALID_CONTENT_ENCODING: "INVALID_CONTENT_ENCODING";
|
|
48
|
+
readonly INVALID_CUSTOMER_KEY: "INVALID_CUSTOMER_KEY";
|
|
49
|
+
readonly INVALID_DEPENDENCY_REQUEST: "INVALID_DEPENDENCY_REQUEST";
|
|
50
|
+
readonly INVALID_GRANT_TOKEN: "INVALID_GRANT_TOKEN";
|
|
51
|
+
readonly INVALID_IMAGE_ID: "INVALID_IMAGE_ID";
|
|
52
|
+
readonly INVALID_PAGE_TOKEN: "INVALID_PAGE_TOKEN";
|
|
53
|
+
readonly INVALID_PARAMETER_VALUE: "INVALID_PARAMETER_VALUE";
|
|
54
|
+
readonly INVALID_SNAPSHOT_ID: "INVALID_SNAPSHOT_ID";
|
|
55
|
+
readonly INVALID_TAG: "INVALID_TAG";
|
|
56
|
+
readonly INVALID_VOLUME_SIZE: "INVALID_VOLUME_SIZE";
|
|
57
|
+
readonly UNRELATED_SNAPSHOTS: "UNRELATED_SNAPSHOTS";
|
|
58
|
+
readonly WRITE_REQUEST_TIMEOUT: "WRITE_REQUEST_TIMEOUT";
|
|
59
|
+
};
|
|
60
|
+
export type ValidationExceptionReason =
|
|
61
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
62
|
+
export declare const SSEType: {
|
|
63
|
+
readonly NONE: "none";
|
|
64
|
+
readonly SSE_EBS: "sse-ebs";
|
|
65
|
+
readonly SSE_KMS: "sse-kms";
|
|
66
|
+
};
|
|
67
|
+
export type SSEType = (typeof SSEType)[keyof typeof SSEType];
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { EBSServiceException as __BaseException } from "./EBSServiceException";
|
|
3
|
+
import {
|
|
4
|
+
AccessDeniedExceptionReason,
|
|
5
|
+
RequestThrottledExceptionReason,
|
|
6
|
+
ResourceNotFoundExceptionReason,
|
|
7
|
+
ServiceQuotaExceededExceptionReason,
|
|
8
|
+
ValidationExceptionReason,
|
|
9
|
+
} from "./enums";
|
|
10
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
11
|
+
readonly name: "AccessDeniedException";
|
|
12
|
+
readonly $fault: "client";
|
|
13
|
+
Message?: string | undefined;
|
|
14
|
+
Reason: AccessDeniedExceptionReason | undefined;
|
|
15
|
+
constructor(
|
|
16
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
export declare class InternalServerException extends __BaseException {
|
|
20
|
+
readonly name: "InternalServerException";
|
|
21
|
+
readonly $fault: "server";
|
|
22
|
+
Message?: string | undefined;
|
|
23
|
+
constructor(
|
|
24
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
export declare class RequestThrottledException extends __BaseException {
|
|
28
|
+
readonly name: "RequestThrottledException";
|
|
29
|
+
readonly $fault: "client";
|
|
30
|
+
Message?: string | undefined;
|
|
31
|
+
Reason?: RequestThrottledExceptionReason | undefined;
|
|
32
|
+
constructor(
|
|
33
|
+
opts: __ExceptionOptionType<RequestThrottledException, __BaseException>
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
37
|
+
readonly name: "ResourceNotFoundException";
|
|
38
|
+
readonly $fault: "client";
|
|
39
|
+
Message?: string | undefined;
|
|
40
|
+
Reason?: ResourceNotFoundExceptionReason | undefined;
|
|
41
|
+
constructor(
|
|
42
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
46
|
+
readonly name: "ServiceQuotaExceededException";
|
|
47
|
+
readonly $fault: "client";
|
|
48
|
+
Message?: string | undefined;
|
|
49
|
+
Reason?: ServiceQuotaExceededExceptionReason | undefined;
|
|
50
|
+
constructor(
|
|
51
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
export declare class ValidationException extends __BaseException {
|
|
55
|
+
readonly name: "ValidationException";
|
|
56
|
+
readonly $fault: "client";
|
|
57
|
+
Message?: string | undefined;
|
|
58
|
+
Reason?: ValidationExceptionReason | undefined;
|
|
59
|
+
constructor(
|
|
60
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
export declare class ConcurrentLimitExceededException extends __BaseException {
|
|
64
|
+
readonly name: "ConcurrentLimitExceededException";
|
|
65
|
+
readonly $fault: "client";
|
|
66
|
+
Message?: string | undefined;
|
|
67
|
+
constructor(
|
|
68
|
+
opts: __ExceptionOptionType<
|
|
69
|
+
ConcurrentLimitExceededException,
|
|
70
|
+
__BaseException
|
|
71
|
+
>
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
export declare class ConflictException extends __BaseException {
|
|
75
|
+
readonly name: "ConflictException";
|
|
76
|
+
readonly $fault: "client";
|
|
77
|
+
Message?: string | undefined;
|
|
78
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
79
|
+
}
|