@aws-sdk/client-ebs 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
@@ -117,10 +117,6 @@ let EBSServiceException$1 = class EBSServiceException extends smithyClient.Servi
117
117
  }
118
118
  };
119
119
 
120
- const AccessDeniedExceptionReason = {
121
- DEPENDENCY_ACCESS_DENIED: "DEPENDENCY_ACCESS_DENIED",
122
- UNAUTHORIZED_ACCOUNT: "UNAUTHORIZED_ACCOUNT",
123
- };
124
120
  let AccessDeniedException$1 = class AccessDeniedException extends EBSServiceException$1 {
125
121
  name = "AccessDeniedException";
126
122
  $fault = "client";
@@ -137,17 +133,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends EBSServiceExce
137
133
  this.Reason = opts.Reason;
138
134
  }
139
135
  };
140
- const ChecksumAggregationMethod = {
141
- CHECKSUM_AGGREGATION_LINEAR: "LINEAR",
142
- };
143
- const ChecksumAlgorithm = {
144
- CHECKSUM_ALGORITHM_SHA256: "SHA256",
145
- };
146
- const Status = {
147
- COMPLETED: "completed",
148
- ERROR: "error",
149
- PENDING: "pending",
150
- };
151
136
  let InternalServerException$1 = class InternalServerException extends EBSServiceException$1 {
152
137
  name = "InternalServerException";
153
138
  $fault = "server";
@@ -162,11 +147,6 @@ let InternalServerException$1 = class InternalServerException extends EBSService
162
147
  this.Message = opts.Message;
163
148
  }
164
149
  };
165
- const RequestThrottledExceptionReason = {
166
- ACCOUNT_THROTTLED: "ACCOUNT_THROTTLED",
167
- DEPENDENCY_REQUEST_THROTTLED: "DEPENDENCY_REQUEST_THROTTLED",
168
- RESOURCE_LEVEL_THROTTLE: "RESOURCE_LEVEL_THROTTLE",
169
- };
170
150
  let RequestThrottledException$1 = class RequestThrottledException extends EBSServiceException$1 {
171
151
  name = "RequestThrottledException";
172
152
  $fault = "client";
@@ -183,12 +163,6 @@ let RequestThrottledException$1 = class RequestThrottledException extends EBSSer
183
163
  this.Reason = opts.Reason;
184
164
  }
185
165
  };
186
- const ResourceNotFoundExceptionReason = {
187
- DEPENDENCY_RESOURCE_NOT_FOUND: "DEPENDENCY_RESOURCE_NOT_FOUND",
188
- GRANT_NOT_FOUND: "GRANT_NOT_FOUND",
189
- IMAGE_NOT_FOUND: "IMAGE_NOT_FOUND",
190
- SNAPSHOT_NOT_FOUND: "SNAPSHOT_NOT_FOUND",
191
- };
192
166
  let ResourceNotFoundException$1 = class ResourceNotFoundException extends EBSServiceException$1 {
193
167
  name = "ResourceNotFoundException";
194
168
  $fault = "client";
@@ -205,9 +179,6 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends EBSSer
205
179
  this.Reason = opts.Reason;
206
180
  }
207
181
  };
208
- const ServiceQuotaExceededExceptionReason = {
209
- DEPENDENCY_SERVICE_QUOTA_EXCEEDED: "DEPENDENCY_SERVICE_QUOTA_EXCEEDED",
210
- };
211
182
  let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends EBSServiceException$1 {
212
183
  name = "ServiceQuotaExceededException";
213
184
  $fault = "client";
@@ -224,23 +195,6 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
224
195
  this.Reason = opts.Reason;
225
196
  }
226
197
  };
227
- const ValidationExceptionReason = {
228
- CONFLICTING_BLOCK_UPDATE: "CONFLICTING_BLOCK_UPDATE",
229
- INVALID_BLOCK: "INVALID_BLOCK",
230
- INVALID_BLOCK_TOKEN: "INVALID_BLOCK_TOKEN",
231
- INVALID_CONTENT_ENCODING: "INVALID_CONTENT_ENCODING",
232
- INVALID_CUSTOMER_KEY: "INVALID_CUSTOMER_KEY",
233
- INVALID_DEPENDENCY_REQUEST: "INVALID_DEPENDENCY_REQUEST",
234
- INVALID_GRANT_TOKEN: "INVALID_GRANT_TOKEN",
235
- INVALID_IMAGE_ID: "INVALID_IMAGE_ID",
236
- INVALID_PAGE_TOKEN: "INVALID_PAGE_TOKEN",
237
- INVALID_PARAMETER_VALUE: "INVALID_PARAMETER_VALUE",
238
- INVALID_SNAPSHOT_ID: "INVALID_SNAPSHOT_ID",
239
- INVALID_TAG: "INVALID_TAG",
240
- INVALID_VOLUME_SIZE: "INVALID_VOLUME_SIZE",
241
- UNRELATED_SNAPSHOTS: "UNRELATED_SNAPSHOTS",
242
- WRITE_REQUEST_TIMEOUT: "WRITE_REQUEST_TIMEOUT",
243
- };
244
198
  let ValidationException$1 = class ValidationException extends EBSServiceException$1 {
245
199
  name = "ValidationException";
246
200
  $fault = "client";
@@ -285,11 +239,6 @@ let ConflictException$1 = class ConflictException extends EBSServiceException$1
285
239
  this.Message = opts.Message;
286
240
  }
287
241
  };
288
- const SSEType = {
289
- NONE: "none",
290
- SSE_EBS: "sse-ebs",
291
- SSE_KMS: "sse-kms",
292
- };
293
242
 
294
243
  const _ADE = "AccessDeniedException";
295
244
  const _B = "Block";
@@ -874,6 +823,58 @@ const paginateListChangedBlocks = core.createPaginator(EBSClient, ListChangedBlo
874
823
 
875
824
  const paginateListSnapshotBlocks = core.createPaginator(EBSClient, ListSnapshotBlocksCommand, "NextToken", "NextToken", "MaxResults");
876
825
 
826
+ const AccessDeniedExceptionReason = {
827
+ DEPENDENCY_ACCESS_DENIED: "DEPENDENCY_ACCESS_DENIED",
828
+ UNAUTHORIZED_ACCOUNT: "UNAUTHORIZED_ACCOUNT",
829
+ };
830
+ const ChecksumAggregationMethod = {
831
+ CHECKSUM_AGGREGATION_LINEAR: "LINEAR",
832
+ };
833
+ const ChecksumAlgorithm = {
834
+ CHECKSUM_ALGORITHM_SHA256: "SHA256",
835
+ };
836
+ const Status = {
837
+ COMPLETED: "completed",
838
+ ERROR: "error",
839
+ PENDING: "pending",
840
+ };
841
+ const RequestThrottledExceptionReason = {
842
+ ACCOUNT_THROTTLED: "ACCOUNT_THROTTLED",
843
+ DEPENDENCY_REQUEST_THROTTLED: "DEPENDENCY_REQUEST_THROTTLED",
844
+ RESOURCE_LEVEL_THROTTLE: "RESOURCE_LEVEL_THROTTLE",
845
+ };
846
+ const ResourceNotFoundExceptionReason = {
847
+ DEPENDENCY_RESOURCE_NOT_FOUND: "DEPENDENCY_RESOURCE_NOT_FOUND",
848
+ GRANT_NOT_FOUND: "GRANT_NOT_FOUND",
849
+ IMAGE_NOT_FOUND: "IMAGE_NOT_FOUND",
850
+ SNAPSHOT_NOT_FOUND: "SNAPSHOT_NOT_FOUND",
851
+ };
852
+ const ServiceQuotaExceededExceptionReason = {
853
+ DEPENDENCY_SERVICE_QUOTA_EXCEEDED: "DEPENDENCY_SERVICE_QUOTA_EXCEEDED",
854
+ };
855
+ const ValidationExceptionReason = {
856
+ CONFLICTING_BLOCK_UPDATE: "CONFLICTING_BLOCK_UPDATE",
857
+ INVALID_BLOCK: "INVALID_BLOCK",
858
+ INVALID_BLOCK_TOKEN: "INVALID_BLOCK_TOKEN",
859
+ INVALID_CONTENT_ENCODING: "INVALID_CONTENT_ENCODING",
860
+ INVALID_CUSTOMER_KEY: "INVALID_CUSTOMER_KEY",
861
+ INVALID_DEPENDENCY_REQUEST: "INVALID_DEPENDENCY_REQUEST",
862
+ INVALID_GRANT_TOKEN: "INVALID_GRANT_TOKEN",
863
+ INVALID_IMAGE_ID: "INVALID_IMAGE_ID",
864
+ INVALID_PAGE_TOKEN: "INVALID_PAGE_TOKEN",
865
+ INVALID_PARAMETER_VALUE: "INVALID_PARAMETER_VALUE",
866
+ INVALID_SNAPSHOT_ID: "INVALID_SNAPSHOT_ID",
867
+ INVALID_TAG: "INVALID_TAG",
868
+ INVALID_VOLUME_SIZE: "INVALID_VOLUME_SIZE",
869
+ UNRELATED_SNAPSHOTS: "UNRELATED_SNAPSHOTS",
870
+ WRITE_REQUEST_TIMEOUT: "WRITE_REQUEST_TIMEOUT",
871
+ };
872
+ const SSEType = {
873
+ NONE: "none",
874
+ SSE_EBS: "sse-ebs",
875
+ SSE_KMS: "sse-kms",
876
+ };
877
+
877
878
  Object.defineProperty(exports, "$Command", {
878
879
  enumerable: true,
879
880
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./EBSClient";
2
2
  export * from "./EBS";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { EBSServiceException } from "./models/EBSServiceException";
@@ -0,0 +1,51 @@
1
+ export const AccessDeniedExceptionReason = {
2
+ DEPENDENCY_ACCESS_DENIED: "DEPENDENCY_ACCESS_DENIED",
3
+ UNAUTHORIZED_ACCOUNT: "UNAUTHORIZED_ACCOUNT",
4
+ };
5
+ export const ChecksumAggregationMethod = {
6
+ CHECKSUM_AGGREGATION_LINEAR: "LINEAR",
7
+ };
8
+ export const ChecksumAlgorithm = {
9
+ CHECKSUM_ALGORITHM_SHA256: "SHA256",
10
+ };
11
+ export const Status = {
12
+ COMPLETED: "completed",
13
+ ERROR: "error",
14
+ PENDING: "pending",
15
+ };
16
+ export const RequestThrottledExceptionReason = {
17
+ ACCOUNT_THROTTLED: "ACCOUNT_THROTTLED",
18
+ DEPENDENCY_REQUEST_THROTTLED: "DEPENDENCY_REQUEST_THROTTLED",
19
+ RESOURCE_LEVEL_THROTTLE: "RESOURCE_LEVEL_THROTTLE",
20
+ };
21
+ export const ResourceNotFoundExceptionReason = {
22
+ DEPENDENCY_RESOURCE_NOT_FOUND: "DEPENDENCY_RESOURCE_NOT_FOUND",
23
+ GRANT_NOT_FOUND: "GRANT_NOT_FOUND",
24
+ IMAGE_NOT_FOUND: "IMAGE_NOT_FOUND",
25
+ SNAPSHOT_NOT_FOUND: "SNAPSHOT_NOT_FOUND",
26
+ };
27
+ export const ServiceQuotaExceededExceptionReason = {
28
+ DEPENDENCY_SERVICE_QUOTA_EXCEEDED: "DEPENDENCY_SERVICE_QUOTA_EXCEEDED",
29
+ };
30
+ export const ValidationExceptionReason = {
31
+ CONFLICTING_BLOCK_UPDATE: "CONFLICTING_BLOCK_UPDATE",
32
+ INVALID_BLOCK: "INVALID_BLOCK",
33
+ INVALID_BLOCK_TOKEN: "INVALID_BLOCK_TOKEN",
34
+ INVALID_CONTENT_ENCODING: "INVALID_CONTENT_ENCODING",
35
+ INVALID_CUSTOMER_KEY: "INVALID_CUSTOMER_KEY",
36
+ INVALID_DEPENDENCY_REQUEST: "INVALID_DEPENDENCY_REQUEST",
37
+ INVALID_GRANT_TOKEN: "INVALID_GRANT_TOKEN",
38
+ INVALID_IMAGE_ID: "INVALID_IMAGE_ID",
39
+ INVALID_PAGE_TOKEN: "INVALID_PAGE_TOKEN",
40
+ INVALID_PARAMETER_VALUE: "INVALID_PARAMETER_VALUE",
41
+ INVALID_SNAPSHOT_ID: "INVALID_SNAPSHOT_ID",
42
+ INVALID_TAG: "INVALID_TAG",
43
+ INVALID_VOLUME_SIZE: "INVALID_VOLUME_SIZE",
44
+ UNRELATED_SNAPSHOTS: "UNRELATED_SNAPSHOTS",
45
+ WRITE_REQUEST_TIMEOUT: "WRITE_REQUEST_TIMEOUT",
46
+ };
47
+ export const SSEType = {
48
+ NONE: "none",
49
+ SSE_EBS: "sse-ebs",
50
+ SSE_KMS: "sse-kms",
51
+ };
@@ -0,0 +1,123 @@
1
+ import { EBSServiceException as __BaseException } from "./EBSServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ Message;
6
+ Reason;
7
+ constructor(opts) {
8
+ super({
9
+ name: "AccessDeniedException",
10
+ $fault: "client",
11
+ ...opts,
12
+ });
13
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
14
+ this.Message = opts.Message;
15
+ this.Reason = opts.Reason;
16
+ }
17
+ }
18
+ export class InternalServerException extends __BaseException {
19
+ name = "InternalServerException";
20
+ $fault = "server";
21
+ Message;
22
+ constructor(opts) {
23
+ super({
24
+ name: "InternalServerException",
25
+ $fault: "server",
26
+ ...opts,
27
+ });
28
+ Object.setPrototypeOf(this, InternalServerException.prototype);
29
+ this.Message = opts.Message;
30
+ }
31
+ }
32
+ export class RequestThrottledException extends __BaseException {
33
+ name = "RequestThrottledException";
34
+ $fault = "client";
35
+ Message;
36
+ Reason;
37
+ constructor(opts) {
38
+ super({
39
+ name: "RequestThrottledException",
40
+ $fault: "client",
41
+ ...opts,
42
+ });
43
+ Object.setPrototypeOf(this, RequestThrottledException.prototype);
44
+ this.Message = opts.Message;
45
+ this.Reason = opts.Reason;
46
+ }
47
+ }
48
+ export class ResourceNotFoundException extends __BaseException {
49
+ name = "ResourceNotFoundException";
50
+ $fault = "client";
51
+ Message;
52
+ Reason;
53
+ constructor(opts) {
54
+ super({
55
+ name: "ResourceNotFoundException",
56
+ $fault: "client",
57
+ ...opts,
58
+ });
59
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
60
+ this.Message = opts.Message;
61
+ this.Reason = opts.Reason;
62
+ }
63
+ }
64
+ export class ServiceQuotaExceededException extends __BaseException {
65
+ name = "ServiceQuotaExceededException";
66
+ $fault = "client";
67
+ Message;
68
+ Reason;
69
+ constructor(opts) {
70
+ super({
71
+ name: "ServiceQuotaExceededException",
72
+ $fault: "client",
73
+ ...opts,
74
+ });
75
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
76
+ this.Message = opts.Message;
77
+ this.Reason = opts.Reason;
78
+ }
79
+ }
80
+ export class ValidationException extends __BaseException {
81
+ name = "ValidationException";
82
+ $fault = "client";
83
+ Message;
84
+ Reason;
85
+ constructor(opts) {
86
+ super({
87
+ name: "ValidationException",
88
+ $fault: "client",
89
+ ...opts,
90
+ });
91
+ Object.setPrototypeOf(this, ValidationException.prototype);
92
+ this.Message = opts.Message;
93
+ this.Reason = opts.Reason;
94
+ }
95
+ }
96
+ export class ConcurrentLimitExceededException extends __BaseException {
97
+ name = "ConcurrentLimitExceededException";
98
+ $fault = "client";
99
+ Message;
100
+ constructor(opts) {
101
+ super({
102
+ name: "ConcurrentLimitExceededException",
103
+ $fault: "client",
104
+ ...opts,
105
+ });
106
+ Object.setPrototypeOf(this, ConcurrentLimitExceededException.prototype);
107
+ this.Message = opts.Message;
108
+ }
109
+ }
110
+ export class ConflictException extends __BaseException {
111
+ name = "ConflictException";
112
+ $fault = "client";
113
+ Message;
114
+ constructor(opts) {
115
+ super({
116
+ name: "ConflictException",
117
+ $fault: "client",
118
+ ...opts,
119
+ });
120
+ Object.setPrototypeOf(this, ConflictException.prototype);
121
+ this.Message = opts.Message;
122
+ }
123
+ }
@@ -1,174 +1 @@
1
- import { EBSServiceException as __BaseException } from "./EBSServiceException";
2
- export const AccessDeniedExceptionReason = {
3
- DEPENDENCY_ACCESS_DENIED: "DEPENDENCY_ACCESS_DENIED",
4
- UNAUTHORIZED_ACCOUNT: "UNAUTHORIZED_ACCOUNT",
5
- };
6
- export class AccessDeniedException extends __BaseException {
7
- name = "AccessDeniedException";
8
- $fault = "client";
9
- Message;
10
- Reason;
11
- constructor(opts) {
12
- super({
13
- name: "AccessDeniedException",
14
- $fault: "client",
15
- ...opts,
16
- });
17
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
18
- this.Message = opts.Message;
19
- this.Reason = opts.Reason;
20
- }
21
- }
22
- export const ChecksumAggregationMethod = {
23
- CHECKSUM_AGGREGATION_LINEAR: "LINEAR",
24
- };
25
- export const ChecksumAlgorithm = {
26
- CHECKSUM_ALGORITHM_SHA256: "SHA256",
27
- };
28
- export const Status = {
29
- COMPLETED: "completed",
30
- ERROR: "error",
31
- PENDING: "pending",
32
- };
33
- export class InternalServerException extends __BaseException {
34
- name = "InternalServerException";
35
- $fault = "server";
36
- Message;
37
- constructor(opts) {
38
- super({
39
- name: "InternalServerException",
40
- $fault: "server",
41
- ...opts,
42
- });
43
- Object.setPrototypeOf(this, InternalServerException.prototype);
44
- this.Message = opts.Message;
45
- }
46
- }
47
- export const RequestThrottledExceptionReason = {
48
- ACCOUNT_THROTTLED: "ACCOUNT_THROTTLED",
49
- DEPENDENCY_REQUEST_THROTTLED: "DEPENDENCY_REQUEST_THROTTLED",
50
- RESOURCE_LEVEL_THROTTLE: "RESOURCE_LEVEL_THROTTLE",
51
- };
52
- export class RequestThrottledException extends __BaseException {
53
- name = "RequestThrottledException";
54
- $fault = "client";
55
- Message;
56
- Reason;
57
- constructor(opts) {
58
- super({
59
- name: "RequestThrottledException",
60
- $fault: "client",
61
- ...opts,
62
- });
63
- Object.setPrototypeOf(this, RequestThrottledException.prototype);
64
- this.Message = opts.Message;
65
- this.Reason = opts.Reason;
66
- }
67
- }
68
- export const ResourceNotFoundExceptionReason = {
69
- DEPENDENCY_RESOURCE_NOT_FOUND: "DEPENDENCY_RESOURCE_NOT_FOUND",
70
- GRANT_NOT_FOUND: "GRANT_NOT_FOUND",
71
- IMAGE_NOT_FOUND: "IMAGE_NOT_FOUND",
72
- SNAPSHOT_NOT_FOUND: "SNAPSHOT_NOT_FOUND",
73
- };
74
- export class ResourceNotFoundException extends __BaseException {
75
- name = "ResourceNotFoundException";
76
- $fault = "client";
77
- Message;
78
- Reason;
79
- constructor(opts) {
80
- super({
81
- name: "ResourceNotFoundException",
82
- $fault: "client",
83
- ...opts,
84
- });
85
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
86
- this.Message = opts.Message;
87
- this.Reason = opts.Reason;
88
- }
89
- }
90
- export const ServiceQuotaExceededExceptionReason = {
91
- DEPENDENCY_SERVICE_QUOTA_EXCEEDED: "DEPENDENCY_SERVICE_QUOTA_EXCEEDED",
92
- };
93
- export class ServiceQuotaExceededException extends __BaseException {
94
- name = "ServiceQuotaExceededException";
95
- $fault = "client";
96
- Message;
97
- Reason;
98
- constructor(opts) {
99
- super({
100
- name: "ServiceQuotaExceededException",
101
- $fault: "client",
102
- ...opts,
103
- });
104
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
105
- this.Message = opts.Message;
106
- this.Reason = opts.Reason;
107
- }
108
- }
109
- export const ValidationExceptionReason = {
110
- CONFLICTING_BLOCK_UPDATE: "CONFLICTING_BLOCK_UPDATE",
111
- INVALID_BLOCK: "INVALID_BLOCK",
112
- INVALID_BLOCK_TOKEN: "INVALID_BLOCK_TOKEN",
113
- INVALID_CONTENT_ENCODING: "INVALID_CONTENT_ENCODING",
114
- INVALID_CUSTOMER_KEY: "INVALID_CUSTOMER_KEY",
115
- INVALID_DEPENDENCY_REQUEST: "INVALID_DEPENDENCY_REQUEST",
116
- INVALID_GRANT_TOKEN: "INVALID_GRANT_TOKEN",
117
- INVALID_IMAGE_ID: "INVALID_IMAGE_ID",
118
- INVALID_PAGE_TOKEN: "INVALID_PAGE_TOKEN",
119
- INVALID_PARAMETER_VALUE: "INVALID_PARAMETER_VALUE",
120
- INVALID_SNAPSHOT_ID: "INVALID_SNAPSHOT_ID",
121
- INVALID_TAG: "INVALID_TAG",
122
- INVALID_VOLUME_SIZE: "INVALID_VOLUME_SIZE",
123
- UNRELATED_SNAPSHOTS: "UNRELATED_SNAPSHOTS",
124
- WRITE_REQUEST_TIMEOUT: "WRITE_REQUEST_TIMEOUT",
125
- };
126
- export class ValidationException extends __BaseException {
127
- name = "ValidationException";
128
- $fault = "client";
129
- Message;
130
- Reason;
131
- constructor(opts) {
132
- super({
133
- name: "ValidationException",
134
- $fault: "client",
135
- ...opts,
136
- });
137
- Object.setPrototypeOf(this, ValidationException.prototype);
138
- this.Message = opts.Message;
139
- this.Reason = opts.Reason;
140
- }
141
- }
142
- export class ConcurrentLimitExceededException extends __BaseException {
143
- name = "ConcurrentLimitExceededException";
144
- $fault = "client";
145
- Message;
146
- constructor(opts) {
147
- super({
148
- name: "ConcurrentLimitExceededException",
149
- $fault: "client",
150
- ...opts,
151
- });
152
- Object.setPrototypeOf(this, ConcurrentLimitExceededException.prototype);
153
- this.Message = opts.Message;
154
- }
155
- }
156
- export class ConflictException extends __BaseException {
157
- name = "ConflictException";
158
- $fault = "client";
159
- Message;
160
- constructor(opts) {
161
- super({
162
- name: "ConflictException",
163
- $fault: "client",
164
- ...opts,
165
- });
166
- Object.setPrototypeOf(this, ConflictException.prototype);
167
- this.Message = opts.Message;
168
- }
169
- }
170
- export const SSEType = {
171
- NONE: "none",
172
- SSE_EBS: "sse-ebs",
173
- SSE_KMS: "sse-kms",
174
- };
1
+ export {};
@@ -88,7 +88,7 @@ const _xaP = "x-amz-Progress";
88
88
  const n0 = "com.amazonaws.ebs";
89
89
  import { TypeRegistry } from "@smithy/core/schema";
90
90
  import { EBSServiceException as __EBSServiceException } from "../models/EBSServiceException";
91
- import { AccessDeniedException as __AccessDeniedException, ConcurrentLimitExceededException as __ConcurrentLimitExceededException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, RequestThrottledException as __RequestThrottledException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ValidationException as __ValidationException, } from "../models/index";
91
+ import { AccessDeniedException as __AccessDeniedException, ConcurrentLimitExceededException as __ConcurrentLimitExceededException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, RequestThrottledException as __RequestThrottledException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ValidationException as __ValidationException, } from "../models/errors";
92
92
  export var BlockData = [
93
93
  0,
94
94
  n0,
@@ -26,5 +26,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
26
26
  export type { EBSExtensionConfiguration } from "./extensionConfiguration";
27
27
  export * from "./commands";
28
28
  export * from "./pagination";
29
- export * from "./models";
29
+ export * from "./models/enums";
30
+ export * from "./models/errors";
31
+ export type * from "./models/models_0";
30
32
  export { EBSServiceException } from "./models/EBSServiceException";
@@ -0,0 +1,123 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const AccessDeniedExceptionReason: {
6
+ readonly DEPENDENCY_ACCESS_DENIED: "DEPENDENCY_ACCESS_DENIED";
7
+ readonly UNAUTHORIZED_ACCOUNT: "UNAUTHORIZED_ACCOUNT";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type AccessDeniedExceptionReason = (typeof AccessDeniedExceptionReason)[keyof typeof AccessDeniedExceptionReason];
13
+ /**
14
+ * @public
15
+ * @enum
16
+ */
17
+ export declare const ChecksumAggregationMethod: {
18
+ readonly CHECKSUM_AGGREGATION_LINEAR: "LINEAR";
19
+ };
20
+ /**
21
+ * @public
22
+ */
23
+ export type ChecksumAggregationMethod = (typeof ChecksumAggregationMethod)[keyof typeof ChecksumAggregationMethod];
24
+ /**
25
+ * @public
26
+ * @enum
27
+ */
28
+ export declare const ChecksumAlgorithm: {
29
+ readonly CHECKSUM_ALGORITHM_SHA256: "SHA256";
30
+ };
31
+ /**
32
+ * @public
33
+ */
34
+ export type ChecksumAlgorithm = (typeof ChecksumAlgorithm)[keyof typeof ChecksumAlgorithm];
35
+ /**
36
+ * @public
37
+ * @enum
38
+ */
39
+ export declare const Status: {
40
+ readonly COMPLETED: "completed";
41
+ readonly ERROR: "error";
42
+ readonly PENDING: "pending";
43
+ };
44
+ /**
45
+ * @public
46
+ */
47
+ export type Status = (typeof Status)[keyof typeof Status];
48
+ /**
49
+ * @public
50
+ * @enum
51
+ */
52
+ export declare const RequestThrottledExceptionReason: {
53
+ readonly ACCOUNT_THROTTLED: "ACCOUNT_THROTTLED";
54
+ readonly DEPENDENCY_REQUEST_THROTTLED: "DEPENDENCY_REQUEST_THROTTLED";
55
+ readonly RESOURCE_LEVEL_THROTTLE: "RESOURCE_LEVEL_THROTTLE";
56
+ };
57
+ /**
58
+ * @public
59
+ */
60
+ export type RequestThrottledExceptionReason = (typeof RequestThrottledExceptionReason)[keyof typeof RequestThrottledExceptionReason];
61
+ /**
62
+ * @public
63
+ * @enum
64
+ */
65
+ export declare const ResourceNotFoundExceptionReason: {
66
+ readonly DEPENDENCY_RESOURCE_NOT_FOUND: "DEPENDENCY_RESOURCE_NOT_FOUND";
67
+ readonly GRANT_NOT_FOUND: "GRANT_NOT_FOUND";
68
+ readonly IMAGE_NOT_FOUND: "IMAGE_NOT_FOUND";
69
+ readonly SNAPSHOT_NOT_FOUND: "SNAPSHOT_NOT_FOUND";
70
+ };
71
+ /**
72
+ * @public
73
+ */
74
+ export type ResourceNotFoundExceptionReason = (typeof ResourceNotFoundExceptionReason)[keyof typeof ResourceNotFoundExceptionReason];
75
+ /**
76
+ * @public
77
+ * @enum
78
+ */
79
+ export declare const ServiceQuotaExceededExceptionReason: {
80
+ readonly DEPENDENCY_SERVICE_QUOTA_EXCEEDED: "DEPENDENCY_SERVICE_QUOTA_EXCEEDED";
81
+ };
82
+ /**
83
+ * @public
84
+ */
85
+ export type ServiceQuotaExceededExceptionReason = (typeof ServiceQuotaExceededExceptionReason)[keyof typeof ServiceQuotaExceededExceptionReason];
86
+ /**
87
+ * @public
88
+ * @enum
89
+ */
90
+ export declare const ValidationExceptionReason: {
91
+ readonly CONFLICTING_BLOCK_UPDATE: "CONFLICTING_BLOCK_UPDATE";
92
+ readonly INVALID_BLOCK: "INVALID_BLOCK";
93
+ readonly INVALID_BLOCK_TOKEN: "INVALID_BLOCK_TOKEN";
94
+ readonly INVALID_CONTENT_ENCODING: "INVALID_CONTENT_ENCODING";
95
+ readonly INVALID_CUSTOMER_KEY: "INVALID_CUSTOMER_KEY";
96
+ readonly INVALID_DEPENDENCY_REQUEST: "INVALID_DEPENDENCY_REQUEST";
97
+ readonly INVALID_GRANT_TOKEN: "INVALID_GRANT_TOKEN";
98
+ readonly INVALID_IMAGE_ID: "INVALID_IMAGE_ID";
99
+ readonly INVALID_PAGE_TOKEN: "INVALID_PAGE_TOKEN";
100
+ readonly INVALID_PARAMETER_VALUE: "INVALID_PARAMETER_VALUE";
101
+ readonly INVALID_SNAPSHOT_ID: "INVALID_SNAPSHOT_ID";
102
+ readonly INVALID_TAG: "INVALID_TAG";
103
+ readonly INVALID_VOLUME_SIZE: "INVALID_VOLUME_SIZE";
104
+ readonly UNRELATED_SNAPSHOTS: "UNRELATED_SNAPSHOTS";
105
+ readonly WRITE_REQUEST_TIMEOUT: "WRITE_REQUEST_TIMEOUT";
106
+ };
107
+ /**
108
+ * @public
109
+ */
110
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
111
+ /**
112
+ * @public
113
+ * @enum
114
+ */
115
+ export declare const SSEType: {
116
+ readonly NONE: "none";
117
+ readonly SSE_EBS: "sse-ebs";
118
+ readonly SSE_KMS: "sse-kms";
119
+ };
120
+ /**
121
+ * @public
122
+ */
123
+ export type SSEType = (typeof SSEType)[keyof typeof SSEType];