@aws-sdk/client-ebs 3.428.0 → 3.430.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.
@@ -25,7 +25,7 @@ export declare class AccessDeniedException extends __BaseException {
25
25
  * @public
26
26
  * <p>The reason for the exception.</p>
27
27
  */
28
- Reason: AccessDeniedExceptionReason | string | undefined;
28
+ Reason: AccessDeniedExceptionReason | undefined;
29
29
  /**
30
30
  * @internal
31
31
  */
@@ -123,13 +123,13 @@ export interface CompleteSnapshotRequest {
123
123
  * <p>The algorithm used to generate the checksum. Currently, the only supported algorithm
124
124
  * is <code>SHA256</code>.</p>
125
125
  */
126
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
126
+ ChecksumAlgorithm?: ChecksumAlgorithm;
127
127
  /**
128
128
  * @public
129
129
  * <p>The aggregation method used to generate the checksum. Currently, the only supported
130
130
  * aggregation method is <code>LINEAR</code>.</p>
131
131
  */
132
- ChecksumAggregationMethod?: ChecksumAggregationMethod | string;
132
+ ChecksumAggregationMethod?: ChecksumAggregationMethod;
133
133
  }
134
134
  /**
135
135
  * @public
@@ -152,7 +152,7 @@ export interface CompleteSnapshotResponse {
152
152
  * @public
153
153
  * <p>The status of the snapshot.</p>
154
154
  */
155
- Status?: Status | string;
155
+ Status?: Status;
156
156
  }
157
157
  /**
158
158
  * @public
@@ -193,7 +193,7 @@ export declare class RequestThrottledException extends __BaseException {
193
193
  * @public
194
194
  * <p>The reason for the exception.</p>
195
195
  */
196
- Reason?: RequestThrottledExceptionReason | string;
196
+ Reason?: RequestThrottledExceptionReason;
197
197
  /**
198
198
  * @internal
199
199
  */
@@ -225,7 +225,7 @@ export declare class ResourceNotFoundException extends __BaseException {
225
225
  * @public
226
226
  * <p>The reason for the exception.</p>
227
227
  */
228
- Reason?: ResourceNotFoundExceptionReason | string;
228
+ Reason?: ResourceNotFoundExceptionReason;
229
229
  /**
230
230
  * @internal
231
231
  */
@@ -254,7 +254,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
254
254
  * @public
255
255
  * <p>The reason for the exception.</p>
256
256
  */
257
- Reason?: ServiceQuotaExceededExceptionReason | string;
257
+ Reason?: ServiceQuotaExceededExceptionReason;
258
258
  /**
259
259
  * @internal
260
260
  */
@@ -297,7 +297,7 @@ export declare class ValidationException extends __BaseException {
297
297
  * @public
298
298
  * <p>The reason for the validation exception.</p>
299
299
  */
300
- Reason?: ValidationExceptionReason | string;
300
+ Reason?: ValidationExceptionReason;
301
301
  /**
302
302
  * @internal
303
303
  */
@@ -387,7 +387,7 @@ export interface GetSnapshotBlockResponse {
387
387
  * @public
388
388
  * <p>The algorithm used to generate the checksum for the block, such as SHA256.</p>
389
389
  */
390
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
390
+ ChecksumAlgorithm?: ChecksumAlgorithm;
391
391
  }
392
392
  /**
393
393
  * @public
@@ -603,7 +603,7 @@ export interface PutSnapshotBlockRequest {
603
603
  * <p>The algorithm used to generate the checksum. Currently, the only supported algorithm
604
604
  * is <code>SHA256</code>.</p>
605
605
  */
606
- ChecksumAlgorithm: ChecksumAlgorithm | string | undefined;
606
+ ChecksumAlgorithm: ChecksumAlgorithm | undefined;
607
607
  }
608
608
  /**
609
609
  * @public
@@ -618,7 +618,7 @@ export interface PutSnapshotBlockResponse {
618
618
  * @public
619
619
  * <p>The algorithm used by Amazon EBS to generate the checksum.</p>
620
620
  */
621
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
621
+ ChecksumAlgorithm?: ChecksumAlgorithm;
622
622
  }
623
623
  /**
624
624
  * @public
@@ -779,7 +779,7 @@ export interface StartSnapshotResponse {
779
779
  * @public
780
780
  * <p>The status of the snapshot.</p>
781
781
  */
782
- Status?: Status | string;
782
+ Status?: Status;
783
783
  /**
784
784
  * @public
785
785
  * <p>The timestamp when the snapshot was created.</p>
@@ -816,7 +816,7 @@ export interface StartSnapshotResponse {
816
816
  * @public
817
817
  * <p>Reserved for future use.</p>
818
818
  */
819
- SseType?: SSEType | string;
819
+ SseType?: SSEType;
820
820
  }
821
821
  /**
822
822
  * @internal
@@ -11,7 +11,7 @@ export declare class AccessDeniedException extends __BaseException {
11
11
  readonly name: "AccessDeniedException";
12
12
  readonly $fault: "client";
13
13
  Message?: string;
14
- Reason: AccessDeniedExceptionReason | string | undefined;
14
+ Reason: AccessDeniedExceptionReason | undefined;
15
15
  constructor(
16
16
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
17
17
  );
@@ -39,8 +39,8 @@ export interface CompleteSnapshotRequest {
39
39
  SnapshotId: string | undefined;
40
40
  ChangedBlocksCount: number | undefined;
41
41
  Checksum?: string;
42
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
43
- ChecksumAggregationMethod?: ChecksumAggregationMethod | string;
42
+ ChecksumAlgorithm?: ChecksumAlgorithm;
43
+ ChecksumAggregationMethod?: ChecksumAggregationMethod;
44
44
  }
45
45
  export declare const Status: {
46
46
  readonly COMPLETED: "completed";
@@ -49,7 +49,7 @@ export declare const Status: {
49
49
  };
50
50
  export type Status = (typeof Status)[keyof typeof Status];
51
51
  export interface CompleteSnapshotResponse {
52
- Status?: Status | string;
52
+ Status?: Status;
53
53
  }
54
54
  export declare class InternalServerException extends __BaseException {
55
55
  readonly name: "InternalServerException";
@@ -70,7 +70,7 @@ export declare class RequestThrottledException extends __BaseException {
70
70
  readonly name: "RequestThrottledException";
71
71
  readonly $fault: "client";
72
72
  Message?: string;
73
- Reason?: RequestThrottledExceptionReason | string;
73
+ Reason?: RequestThrottledExceptionReason;
74
74
  constructor(
75
75
  opts: __ExceptionOptionType<RequestThrottledException, __BaseException>
76
76
  );
@@ -87,7 +87,7 @@ export declare class ResourceNotFoundException extends __BaseException {
87
87
  readonly name: "ResourceNotFoundException";
88
88
  readonly $fault: "client";
89
89
  Message?: string;
90
- Reason?: ResourceNotFoundExceptionReason | string;
90
+ Reason?: ResourceNotFoundExceptionReason;
91
91
  constructor(
92
92
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
93
93
  );
@@ -101,7 +101,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
101
101
  readonly name: "ServiceQuotaExceededException";
102
102
  readonly $fault: "client";
103
103
  Message?: string;
104
- Reason?: ServiceQuotaExceededExceptionReason | string;
104
+ Reason?: ServiceQuotaExceededExceptionReason;
105
105
  constructor(
106
106
  opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
107
107
  );
@@ -129,7 +129,7 @@ export declare class ValidationException extends __BaseException {
129
129
  readonly name: "ValidationException";
130
130
  readonly $fault: "client";
131
131
  Message?: string;
132
- Reason?: ValidationExceptionReason | string;
132
+ Reason?: ValidationExceptionReason;
133
133
  constructor(
134
134
  opts: __ExceptionOptionType<ValidationException, __BaseException>
135
135
  );
@@ -160,7 +160,7 @@ export interface GetSnapshotBlockResponse {
160
160
  DataLength?: number;
161
161
  BlockData?: StreamingBlobTypes;
162
162
  Checksum?: string;
163
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
163
+ ChecksumAlgorithm?: ChecksumAlgorithm;
164
164
  }
165
165
  export interface ListChangedBlocksRequest {
166
166
  FirstSnapshotId?: string;
@@ -196,11 +196,11 @@ export interface PutSnapshotBlockRequest {
196
196
  DataLength: number | undefined;
197
197
  Progress?: number;
198
198
  Checksum: string | undefined;
199
- ChecksumAlgorithm: ChecksumAlgorithm | string | undefined;
199
+ ChecksumAlgorithm: ChecksumAlgorithm | undefined;
200
200
  }
201
201
  export interface PutSnapshotBlockResponse {
202
202
  Checksum?: string;
203
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
203
+ ChecksumAlgorithm?: ChecksumAlgorithm;
204
204
  }
205
205
  export interface Tag {
206
206
  Key?: string;
@@ -226,14 +226,14 @@ export interface StartSnapshotResponse {
226
226
  Description?: string;
227
227
  SnapshotId?: string;
228
228
  OwnerId?: string;
229
- Status?: Status | string;
229
+ Status?: Status;
230
230
  StartTime?: Date;
231
231
  VolumeSize?: number;
232
232
  BlockSize?: number;
233
233
  Tags?: Tag[];
234
234
  ParentSnapshotId?: string;
235
235
  KmsKeyArn?: string;
236
- SseType?: SSEType | string;
236
+ SseType?: SSEType;
237
237
  }
238
238
  export declare const ChangedBlockFilterSensitiveLog: (obj: ChangedBlock) => any;
239
239
  export declare const GetSnapshotBlockResponseFilterSensitiveLog: (
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ebs",
3
3
  "description": "AWS SDK for JavaScript Ebs Client for Node.js, Browser and React Native",
4
- "version": "3.428.0",
4
+ "version": "3.430.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,28 +21,28 @@
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.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.430.0",
25
+ "@aws-sdk/credential-provider-node": "3.430.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
30
30
  "@aws-sdk/middleware-user-agent": "3.428.0",
31
- "@aws-sdk/region-config-resolver": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.430.0",
32
32
  "@aws-sdk/types": "3.428.0",
33
33
  "@aws-sdk/util-endpoints": "3.428.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.428.0",
35
- "@aws-sdk/util-user-agent-node": "3.428.0",
36
- "@smithy/config-resolver": "^2.0.14",
35
+ "@aws-sdk/util-user-agent-node": "3.430.0",
36
+ "@smithy/config-resolver": "^2.0.15",
37
37
  "@smithy/fetch-http-handler": "^2.2.3",
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
42
- "@smithy/middleware-retry": "^2.0.16",
41
+ "@smithy/middleware-endpoint": "^2.1.2",
42
+ "@smithy/middleware-retry": "^2.0.17",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",
45
- "@smithy/node-config-provider": "^2.1.1",
45
+ "@smithy/node-config-provider": "^2.1.2",
46
46
  "@smithy/node-http-handler": "^2.1.7",
47
47
  "@smithy/protocol-http": "^3.0.7",
48
48
  "@smithy/smithy-client": "^2.1.11",
@@ -52,7 +52,7 @@
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
54
  "@smithy/util-defaults-mode-browser": "^2.0.15",
55
- "@smithy/util-defaults-mode-node": "^2.0.19",
55
+ "@smithy/util-defaults-mode-node": "^2.0.20",
56
56
  "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-stream": "^2.0.16",
58
58
  "@smithy/util-utf8": "^2.0.0",