@aws-sdk/client-ebs 3.377.0 → 3.379.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/README.md CHANGED
@@ -12,13 +12,11 @@ two snapshots. If you’re an independent software vendor (ISV) who offers backu
12
12
  Amazon EBS, the EBS direct APIs make it more efficient and cost-effective to track incremental changes on
13
13
  your Amazon EBS volumes through snapshots. This can be done without having to create new volumes
14
14
  from snapshots, and then use Amazon Elastic Compute Cloud (Amazon EC2) instances to compare the differences.</p>
15
-
16
15
  <p>You can create incremental snapshots directly from data on-premises into volumes and the
17
16
  cloud to use for quick disaster recovery. With the ability to write and read snapshots, you can
18
17
  write your on-premises data to an snapshot during a disaster. Then after recovery, you can
19
18
  restore it back to Amazon Web Services or on-premises from the snapshot. You no longer need to build and
20
19
  maintain complex mechanisms to copy data to and from Amazon EBS.</p>
21
-
22
20
  <p>This API reference provides detailed information about the actions, data types,
23
21
  parameters, and errors of the EBS direct APIs. For more information about the elements that
24
22
  make up the EBS direct APIs, and examples of how to use them effectively, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-accessing-snapshot.html">Accessing the Contents of an Amazon EBS Snapshot</a> in the <i>Amazon Elastic Compute Cloud User
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const p = "required", q = "fn", r = "argv", s = "ref";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
6
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://ebs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ebs-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://ebs.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://ebs.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
4
+ const q = "required", r = "fn", s = "argv", t = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ebs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ebs-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ebs.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://ebs.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
7
7
  exports.ruleSet = _data;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StartSnapshotResponseFilterSensitiveLog = exports.StartSnapshotRequestFilterSensitiveLog = exports.PutSnapshotBlockRequestFilterSensitiveLog = exports.ListSnapshotBlocksResponseFilterSensitiveLog = exports.ListChangedBlocksResponseFilterSensitiveLog = exports.GetSnapshotBlockResponseFilterSensitiveLog = exports.ChangedBlockFilterSensitiveLog = exports.ConflictException = exports.ConcurrentLimitExceededException = exports.ValidationException = exports.ValidationExceptionReason = exports.ServiceQuotaExceededException = exports.ServiceQuotaExceededExceptionReason = exports.ResourceNotFoundException = exports.ResourceNotFoundExceptionReason = exports.RequestThrottledException = exports.RequestThrottledExceptionReason = exports.InternalServerException = exports.Status = exports.ChecksumAlgorithm = exports.ChecksumAggregationMethod = exports.AccessDeniedException = exports.AccessDeniedExceptionReason = void 0;
3
+ exports.StartSnapshotResponseFilterSensitiveLog = exports.StartSnapshotRequestFilterSensitiveLog = exports.PutSnapshotBlockRequestFilterSensitiveLog = exports.ListSnapshotBlocksResponseFilterSensitiveLog = exports.ListChangedBlocksResponseFilterSensitiveLog = exports.GetSnapshotBlockResponseFilterSensitiveLog = exports.ChangedBlockFilterSensitiveLog = exports.SSEType = exports.ConflictException = exports.ConcurrentLimitExceededException = exports.ValidationException = exports.ValidationExceptionReason = exports.ServiceQuotaExceededException = exports.ServiceQuotaExceededExceptionReason = exports.ResourceNotFoundException = exports.ResourceNotFoundExceptionReason = exports.RequestThrottledException = exports.RequestThrottledExceptionReason = exports.InternalServerException = exports.Status = exports.ChecksumAlgorithm = exports.ChecksumAggregationMethod = exports.AccessDeniedException = exports.AccessDeniedExceptionReason = void 0;
4
4
  const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const EBSServiceException_1 = require("./EBSServiceException");
6
6
  exports.AccessDeniedExceptionReason = {
@@ -69,6 +69,8 @@ class RequestThrottledException extends EBSServiceException_1.EBSServiceExceptio
69
69
  exports.RequestThrottledException = RequestThrottledException;
70
70
  exports.ResourceNotFoundExceptionReason = {
71
71
  DEPENDENCY_RESOURCE_NOT_FOUND: "DEPENDENCY_RESOURCE_NOT_FOUND",
72
+ GRANT_NOT_FOUND: "GRANT_NOT_FOUND",
73
+ IMAGE_NOT_FOUND: "IMAGE_NOT_FOUND",
72
74
  SNAPSHOT_NOT_FOUND: "SNAPSHOT_NOT_FOUND",
73
75
  };
74
76
  class ResourceNotFoundException extends EBSServiceException_1.EBSServiceException {
@@ -111,12 +113,15 @@ exports.ValidationExceptionReason = {
111
113
  INVALID_CONTENT_ENCODING: "INVALID_CONTENT_ENCODING",
112
114
  INVALID_CUSTOMER_KEY: "INVALID_CUSTOMER_KEY",
113
115
  INVALID_DEPENDENCY_REQUEST: "INVALID_DEPENDENCY_REQUEST",
116
+ INVALID_GRANT_TOKEN: "INVALID_GRANT_TOKEN",
117
+ INVALID_IMAGE_ID: "INVALID_IMAGE_ID",
114
118
  INVALID_PAGE_TOKEN: "INVALID_PAGE_TOKEN",
115
119
  INVALID_PARAMETER_VALUE: "INVALID_PARAMETER_VALUE",
116
120
  INVALID_SNAPSHOT_ID: "INVALID_SNAPSHOT_ID",
117
121
  INVALID_TAG: "INVALID_TAG",
118
122
  INVALID_VOLUME_SIZE: "INVALID_VOLUME_SIZE",
119
123
  UNRELATED_SNAPSHOTS: "UNRELATED_SNAPSHOTS",
124
+ WRITE_REQUEST_TIMEOUT: "WRITE_REQUEST_TIMEOUT",
120
125
  };
121
126
  class ValidationException extends EBSServiceException_1.EBSServiceException {
122
127
  constructor(opts) {
@@ -161,6 +166,11 @@ class ConflictException extends EBSServiceException_1.EBSServiceException {
161
166
  }
162
167
  }
163
168
  exports.ConflictException = ConflictException;
169
+ exports.SSEType = {
170
+ NONE: "none",
171
+ SSE_EBS: "sse-ebs",
172
+ SSE_KMS: "sse-kms",
173
+ };
164
174
  const ChangedBlockFilterSensitiveLog = (obj) => ({
165
175
  ...obj,
166
176
  });
@@ -429,6 +429,7 @@ const de_StartSnapshotCommand = async (output, context) => {
429
429
  OwnerId: smithy_client_1.expectString,
430
430
  ParentSnapshotId: smithy_client_1.expectString,
431
431
  SnapshotId: smithy_client_1.expectString,
432
+ SseType: smithy_client_1.expectString,
432
433
  StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
433
434
  Status: smithy_client_1.expectString,
434
435
  Tags: smithy_client_1._json,
@@ -1,4 +1,4 @@
1
- const p = "required", q = "fn", r = "argv", s = "ref";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
3
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://ebs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ebs-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://ebs.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://ebs.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
1
+ const q = "required", r = "fn", s = "argv", t = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ebs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ebs-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ebs.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://ebs.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
4
  export const ruleSet = _data;
@@ -63,6 +63,8 @@ export class RequestThrottledException extends __BaseException {
63
63
  }
64
64
  export const ResourceNotFoundExceptionReason = {
65
65
  DEPENDENCY_RESOURCE_NOT_FOUND: "DEPENDENCY_RESOURCE_NOT_FOUND",
66
+ GRANT_NOT_FOUND: "GRANT_NOT_FOUND",
67
+ IMAGE_NOT_FOUND: "IMAGE_NOT_FOUND",
66
68
  SNAPSHOT_NOT_FOUND: "SNAPSHOT_NOT_FOUND",
67
69
  };
68
70
  export class ResourceNotFoundException extends __BaseException {
@@ -103,12 +105,15 @@ export const ValidationExceptionReason = {
103
105
  INVALID_CONTENT_ENCODING: "INVALID_CONTENT_ENCODING",
104
106
  INVALID_CUSTOMER_KEY: "INVALID_CUSTOMER_KEY",
105
107
  INVALID_DEPENDENCY_REQUEST: "INVALID_DEPENDENCY_REQUEST",
108
+ INVALID_GRANT_TOKEN: "INVALID_GRANT_TOKEN",
109
+ INVALID_IMAGE_ID: "INVALID_IMAGE_ID",
106
110
  INVALID_PAGE_TOKEN: "INVALID_PAGE_TOKEN",
107
111
  INVALID_PARAMETER_VALUE: "INVALID_PARAMETER_VALUE",
108
112
  INVALID_SNAPSHOT_ID: "INVALID_SNAPSHOT_ID",
109
113
  INVALID_TAG: "INVALID_TAG",
110
114
  INVALID_VOLUME_SIZE: "INVALID_VOLUME_SIZE",
111
115
  UNRELATED_SNAPSHOTS: "UNRELATED_SNAPSHOTS",
116
+ WRITE_REQUEST_TIMEOUT: "WRITE_REQUEST_TIMEOUT",
112
117
  };
113
118
  export class ValidationException extends __BaseException {
114
119
  constructor(opts) {
@@ -150,6 +155,11 @@ export class ConflictException extends __BaseException {
150
155
  this.Message = opts.Message;
151
156
  }
152
157
  }
158
+ export const SSEType = {
159
+ NONE: "none",
160
+ SSE_EBS: "sse-ebs",
161
+ SSE_KMS: "sse-kms",
162
+ };
153
163
  export const ChangedBlockFilterSensitiveLog = (obj) => ({
154
164
  ...obj,
155
165
  });
@@ -415,6 +415,7 @@ export const de_StartSnapshotCommand = async (output, context) => {
415
415
  OwnerId: __expectString,
416
416
  ParentSnapshotId: __expectString,
417
417
  SnapshotId: __expectString,
418
+ SseType: __expectString,
418
419
  StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
419
420
  Status: __expectString,
420
421
  Tags: _json,
@@ -52,15 +52,12 @@ export interface EBS {
52
52
  * Amazon EBS, the EBS direct APIs make it more efficient and cost-effective to track incremental changes on
53
53
  * your Amazon EBS volumes through snapshots. This can be done without having to create new volumes
54
54
  * from snapshots, and then use Amazon Elastic Compute Cloud (Amazon EC2) instances to compare the differences.</p>
55
- *
56
- * <p>You can create incremental snapshots directly from data on-premises into volumes and the
55
+ * <p>You can create incremental snapshots directly from data on-premises into volumes and the
57
56
  * cloud to use for quick disaster recovery. With the ability to write and read snapshots, you can
58
57
  * write your on-premises data to an snapshot during a disaster. Then after recovery, you can
59
58
  * restore it back to Amazon Web Services or on-premises from the snapshot. You no longer need to build and
60
59
  * maintain complex mechanisms to copy data to and from Amazon EBS.</p>
61
- *
62
- *
63
- * <p>This API reference provides detailed information about the actions, data types,
60
+ * <p>This API reference provides detailed information about the actions, data types,
64
61
  * parameters, and errors of the EBS direct APIs. For more information about the elements that
65
62
  * make up the EBS direct APIs, and examples of how to use them effectively, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-accessing-snapshot.html">Accessing the Contents of an Amazon EBS Snapshot</a> in the <i>Amazon Elastic Compute Cloud User
66
63
  * Guide</i>. For more information about the supported Amazon Web Services Regions, endpoints,
@@ -162,15 +162,12 @@ export interface EBSClientResolvedConfig extends EBSClientResolvedConfigType {
162
162
  * Amazon EBS, the EBS direct APIs make it more efficient and cost-effective to track incremental changes on
163
163
  * your Amazon EBS volumes through snapshots. This can be done without having to create new volumes
164
164
  * from snapshots, and then use Amazon Elastic Compute Cloud (Amazon EC2) instances to compare the differences.</p>
165
- *
166
- * <p>You can create incremental snapshots directly from data on-premises into volumes and the
165
+ * <p>You can create incremental snapshots directly from data on-premises into volumes and the
167
166
  * cloud to use for quick disaster recovery. With the ability to write and read snapshots, you can
168
167
  * write your on-premises data to an snapshot during a disaster. Then after recovery, you can
169
168
  * restore it back to Amazon Web Services or on-premises from the snapshot. You no longer need to build and
170
169
  * maintain complex mechanisms to copy data to and from Amazon EBS.</p>
171
- *
172
- *
173
- * <p>This API reference provides detailed information about the actions, data types,
170
+ * <p>This API reference provides detailed information about the actions, data types,
174
171
  * parameters, and errors of the EBS direct APIs. For more information about the elements that
175
172
  * make up the EBS direct APIs, and examples of how to use them effectively, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-accessing-snapshot.html">Accessing the Contents of an Amazon EBS Snapshot</a> in the <i>Amazon Elastic Compute Cloud User
176
173
  * Guide</i>. For more information about the supported Amazon Web Services Regions, endpoints,
@@ -26,6 +26,12 @@ export interface CompleteSnapshotCommandOutput extends CompleteSnapshotResponse,
26
26
  * <p>Seals and completes the snapshot after all of the required blocks of data have been
27
27
  * written to it. Completing the snapshot changes the status to <code>completed</code>. You
28
28
  * cannot write new blocks to a snapshot after it has been completed.</p>
29
+ * <note>
30
+ * <p>You should always retry requests that receive server (<code>5xx</code>)
31
+ * error responses, and <code>ThrottlingException</code> and <code>RequestThrottledException</code>
32
+ * client error responses. For more information see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/error-retries.html">Error retries</a> in the
33
+ * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
34
+ * </note>
29
35
  * @example
30
36
  * Use a bare-bones client and the command you need to make an API call.
31
37
  * ```javascript
@@ -36,13 +42,13 @@ export interface CompleteSnapshotCommandOutput extends CompleteSnapshotResponse,
36
42
  * SnapshotId: "STRING_VALUE", // required
37
43
  * ChangedBlocksCount: Number("int"), // required
38
44
  * Checksum: "STRING_VALUE",
39
- * ChecksumAlgorithm: "STRING_VALUE",
40
- * ChecksumAggregationMethod: "STRING_VALUE",
45
+ * ChecksumAlgorithm: "SHA256",
46
+ * ChecksumAggregationMethod: "LINEAR",
41
47
  * };
42
48
  * const command = new CompleteSnapshotCommand(input);
43
49
  * const response = await client.send(command);
44
50
  * // { // CompleteSnapshotResponse
45
- * // Status: "STRING_VALUE",
51
+ * // Status: "completed" || "pending" || "error",
46
52
  * // };
47
53
  *
48
54
  * ```
@@ -57,11 +63,11 @@ export interface CompleteSnapshotCommandOutput extends CompleteSnapshotResponse,
57
63
  * <p>You do not have sufficient access to perform this action.</p>
58
64
  *
59
65
  * @throws {@link InternalServerException} (server fault)
60
- * <p>An internal error has occurred.</p>
66
+ * <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>
61
67
  *
62
68
  * @throws {@link RequestThrottledException} (client fault)
63
- * <p>The number of API requests has exceed the maximum allowed API request throttling
64
- * limit.</p>
69
+ * <p>The number of API requests has exceeded the maximum allowed API request
70
+ * 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>
65
71
  *
66
72
  * @throws {@link ResourceNotFoundException} (client fault)
67
73
  * <p>The specified resource does not exist.</p>
@@ -1,6 +1,6 @@
1
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack, WithSdkStreamMixin as __WithSdkStreamMixin } from "@smithy/types";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack, StreamingBlobPayloadOutputTypes } from "@smithy/types";
4
4
  import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
5
5
  import { GetSnapshotBlockRequest, GetSnapshotBlockResponse } from "../models/models_0";
6
6
  /**
@@ -19,11 +19,18 @@ export interface GetSnapshotBlockCommandInput extends GetSnapshotBlockRequest {
19
19
  *
20
20
  * The output of {@link GetSnapshotBlockCommand}.
21
21
  */
22
- export interface GetSnapshotBlockCommandOutput extends __WithSdkStreamMixin<GetSnapshotBlockResponse, "BlockData">, __MetadataBearer {
22
+ export interface GetSnapshotBlockCommandOutput extends Omit<GetSnapshotBlockResponse, "BlockData">, __MetadataBearer {
23
+ BlockData?: StreamingBlobPayloadOutputTypes;
23
24
  }
24
25
  /**
25
26
  * @public
26
27
  * <p>Returns the data in a block in an Amazon Elastic Block Store snapshot.</p>
28
+ * <note>
29
+ * <p>You should always retry requests that receive server (<code>5xx</code>)
30
+ * error responses, and <code>ThrottlingException</code> and <code>RequestThrottledException</code>
31
+ * client error responses. For more information see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/error-retries.html">Error retries</a> in the
32
+ * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
33
+ * </note>
27
34
  * @example
28
35
  * Use a bare-bones client and the command you need to make an API call.
29
36
  * ```javascript
@@ -41,7 +48,7 @@ export interface GetSnapshotBlockCommandOutput extends __WithSdkStreamMixin<GetS
41
48
  * // DataLength: Number("int"),
42
49
  * // BlockData: "STREAMING_BLOB_VALUE",
43
50
  * // Checksum: "STRING_VALUE",
44
- * // ChecksumAlgorithm: "STRING_VALUE",
51
+ * // ChecksumAlgorithm: "SHA256",
45
52
  * // };
46
53
  *
47
54
  * ```
@@ -56,11 +63,11 @@ export interface GetSnapshotBlockCommandOutput extends __WithSdkStreamMixin<GetS
56
63
  * <p>You do not have sufficient access to perform this action.</p>
57
64
  *
58
65
  * @throws {@link InternalServerException} (server fault)
59
- * <p>An internal error has occurred.</p>
66
+ * <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>
60
67
  *
61
68
  * @throws {@link RequestThrottledException} (client fault)
62
- * <p>The number of API requests has exceed the maximum allowed API request throttling
63
- * limit.</p>
69
+ * <p>The number of API requests has exceeded the maximum allowed API request
70
+ * 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>
64
71
  *
65
72
  * @throws {@link ResourceNotFoundException} (client fault)
66
73
  * <p>The specified resource does not exist.</p>
@@ -25,6 +25,12 @@ export interface ListChangedBlocksCommandOutput extends ListChangedBlocksRespons
25
25
  * @public
26
26
  * <p>Returns information about the blocks that are different between two
27
27
  * Amazon Elastic Block Store snapshots of the same volume/snapshot lineage.</p>
28
+ * <note>
29
+ * <p>You should always retry requests that receive server (<code>5xx</code>)
30
+ * error responses, and <code>ThrottlingException</code> and <code>RequestThrottledException</code>
31
+ * client error responses. For more information see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/error-retries.html">Error retries</a> in the
32
+ * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
33
+ * </note>
28
34
  * @example
29
35
  * Use a bare-bones client and the command you need to make an API call.
30
36
  * ```javascript
@@ -66,11 +72,11 @@ export interface ListChangedBlocksCommandOutput extends ListChangedBlocksRespons
66
72
  * <p>You do not have sufficient access to perform this action.</p>
67
73
  *
68
74
  * @throws {@link InternalServerException} (server fault)
69
- * <p>An internal error has occurred.</p>
75
+ * <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>
70
76
  *
71
77
  * @throws {@link RequestThrottledException} (client fault)
72
- * <p>The number of API requests has exceed the maximum allowed API request throttling
73
- * limit.</p>
78
+ * <p>The number of API requests has exceeded the maximum allowed API request
79
+ * 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>
74
80
  *
75
81
  * @throws {@link ResourceNotFoundException} (client fault)
76
82
  * <p>The specified resource does not exist.</p>
@@ -24,6 +24,12 @@ export interface ListSnapshotBlocksCommandOutput extends ListSnapshotBlocksRespo
24
24
  /**
25
25
  * @public
26
26
  * <p>Returns information about the blocks in an Amazon Elastic Block Store snapshot.</p>
27
+ * <note>
28
+ * <p>You should always retry requests that receive server (<code>5xx</code>)
29
+ * error responses, and <code>ThrottlingException</code> and <code>RequestThrottledException</code>
30
+ * client error responses. For more information see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/error-retries.html">Error retries</a> in the
31
+ * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
32
+ * </note>
27
33
  * @example
28
34
  * Use a bare-bones client and the command you need to make an API call.
29
35
  * ```javascript
@@ -63,11 +69,11 @@ export interface ListSnapshotBlocksCommandOutput extends ListSnapshotBlocksRespo
63
69
  * <p>You do not have sufficient access to perform this action.</p>
64
70
  *
65
71
  * @throws {@link InternalServerException} (server fault)
66
- * <p>An internal error has occurred.</p>
72
+ * <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>
67
73
  *
68
74
  * @throws {@link RequestThrottledException} (client fault)
69
- * <p>The number of API requests has exceed the maximum allowed API request throttling
70
- * limit.</p>
75
+ * <p>The number of API requests has exceeded the maximum allowed API request
76
+ * 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>
71
77
  *
72
78
  * @throws {@link ResourceNotFoundException} (client fault)
73
79
  * <p>The specified resource does not exist.</p>
@@ -1,25 +1,19 @@
1
- /// <reference types="node" />
2
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack, StreamingBlobPayloadInputTypes } from "@smithy/types";
5
4
  import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
6
5
  import { PutSnapshotBlockRequest, PutSnapshotBlockResponse } from "../models/models_0";
7
6
  /**
8
7
  * @public
9
8
  */
10
9
  export { __MetadataBearer, $Command };
11
- export type PutSnapshotBlockCommandInputType = Omit<PutSnapshotBlockRequest, "BlockData"> & {
12
- /**
13
- * For *`PutSnapshotBlockRequest["BlockData"]`*, see {@link PutSnapshotBlockRequest.BlockData}.
14
- */
15
- BlockData: PutSnapshotBlockRequest["BlockData"] | string | Uint8Array | Buffer;
16
- };
17
10
  /**
18
11
  * @public
19
12
  *
20
13
  * The input for {@link PutSnapshotBlockCommand}.
21
14
  */
22
- export interface PutSnapshotBlockCommandInput extends PutSnapshotBlockCommandInputType {
15
+ export interface PutSnapshotBlockCommandInput extends Omit<PutSnapshotBlockRequest, "BlockData"> {
16
+ BlockData: StreamingBlobPayloadInputTypes;
23
17
  }
24
18
  /**
25
19
  * @public
@@ -33,7 +27,13 @@ export interface PutSnapshotBlockCommandOutput extends PutSnapshotBlockResponse,
33
27
  * <p>Writes a block of data to a snapshot. If the specified block contains
34
28
  * data, the existing data is overwritten. The target snapshot must be in the
35
29
  * <code>pending</code> state.</p>
36
- * <p>Data written to a snapshot must be aligned with 512-KiB sectors.</p>
30
+ * <p>Data written to a snapshot must be aligned with 512-KiB sectors.</p>
31
+ * <note>
32
+ * <p>You should always retry requests that receive server (<code>5xx</code>)
33
+ * error responses, and <code>ThrottlingException</code> and <code>RequestThrottledException</code>
34
+ * client error responses. For more information see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/error-retries.html">Error retries</a> in the
35
+ * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
36
+ * </note>
37
37
  * @example
38
38
  * Use a bare-bones client and the command you need to make an API call.
39
39
  * ```javascript
@@ -47,13 +47,13 @@ export interface PutSnapshotBlockCommandOutput extends PutSnapshotBlockResponse,
47
47
  * DataLength: Number("int"), // required
48
48
  * Progress: Number("int"),
49
49
  * Checksum: "STRING_VALUE", // required
50
- * ChecksumAlgorithm: "STRING_VALUE", // required
50
+ * ChecksumAlgorithm: "SHA256", // required
51
51
  * };
52
52
  * const command = new PutSnapshotBlockCommand(input);
53
53
  * const response = await client.send(command);
54
54
  * // { // PutSnapshotBlockResponse
55
55
  * // Checksum: "STRING_VALUE",
56
- * // ChecksumAlgorithm: "STRING_VALUE",
56
+ * // ChecksumAlgorithm: "SHA256",
57
57
  * // };
58
58
  *
59
59
  * ```
@@ -68,11 +68,11 @@ export interface PutSnapshotBlockCommandOutput extends PutSnapshotBlockResponse,
68
68
  * <p>You do not have sufficient access to perform this action.</p>
69
69
  *
70
70
  * @throws {@link InternalServerException} (server fault)
71
- * <p>An internal error has occurred.</p>
71
+ * <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>
72
72
  *
73
73
  * @throws {@link RequestThrottledException} (client fault)
74
- * <p>The number of API requests has exceed the maximum allowed API request throttling
75
- * limit.</p>
74
+ * <p>The number of API requests has exceeded the maximum allowed API request
75
+ * 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>
76
76
  *
77
77
  * @throws {@link ResourceNotFoundException} (client fault)
78
78
  * <p>The specified resource does not exist.</p>
@@ -25,8 +25,14 @@ export interface StartSnapshotCommandOutput extends StartSnapshotResponse, __Met
25
25
  * @public
26
26
  * <p>Creates a new Amazon EBS snapshot. The new snapshot enters the <code>pending</code> state
27
27
  * after the request completes. </p>
28
- * <p>After creating the snapshot, use <a href="https://docs.aws.amazon.com/ebs/latest/APIReference/API_PutSnapshotBlock.html"> PutSnapshotBlock</a> to
28
+ * <p>After creating the snapshot, use <a href="https://docs.aws.amazon.com/ebs/latest/APIReference/API_PutSnapshotBlock.html"> PutSnapshotBlock</a> to
29
29
  * write blocks of data to the snapshot.</p>
30
+ * <note>
31
+ * <p>You should always retry requests that receive server (<code>5xx</code>)
32
+ * error responses, and <code>ThrottlingException</code> and <code>RequestThrottledException</code>
33
+ * client error responses. For more information see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/error-retries.html">Error retries</a> in the
34
+ * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
35
+ * </note>
30
36
  * @example
31
37
  * Use a bare-bones client and the command you need to make an API call.
32
38
  * ```javascript
@@ -54,7 +60,7 @@ export interface StartSnapshotCommandOutput extends StartSnapshotResponse, __Met
54
60
  * // Description: "STRING_VALUE",
55
61
  * // SnapshotId: "STRING_VALUE",
56
62
  * // OwnerId: "STRING_VALUE",
57
- * // Status: "STRING_VALUE",
63
+ * // Status: "completed" || "pending" || "error",
58
64
  * // StartTime: new Date("TIMESTAMP"),
59
65
  * // VolumeSize: Number("long"),
60
66
  * // BlockSize: Number("int"),
@@ -66,6 +72,7 @@ export interface StartSnapshotCommandOutput extends StartSnapshotResponse, __Met
66
72
  * // ],
67
73
  * // ParentSnapshotId: "STRING_VALUE",
68
74
  * // KmsKeyArn: "STRING_VALUE",
75
+ * // SseType: "sse-ebs" || "sse-kms" || "none",
69
76
  * // };
70
77
  *
71
78
  * ```
@@ -89,11 +96,11 @@ export interface StartSnapshotCommandOutput extends StartSnapshotResponse, __Met
89
96
  * request.</p>
90
97
  *
91
98
  * @throws {@link InternalServerException} (server fault)
92
- * <p>An internal error has occurred.</p>
99
+ * <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>
93
100
  *
94
101
  * @throws {@link RequestThrottledException} (client fault)
95
- * <p>The number of API requests has exceed the maximum allowed API request throttling
96
- * limit.</p>
102
+ * <p>The number of API requests has exceeded the maximum allowed API request
103
+ * 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>
97
104
  *
98
105
  * @throws {@link ResourceNotFoundException} (client fault)
99
106
  * <p>The specified resource does not exist.</p>
@@ -5,15 +5,12 @@
5
5
  * Amazon EBS, the EBS direct APIs make it more efficient and cost-effective to track incremental changes on
6
6
  * your Amazon EBS volumes through snapshots. This can be done without having to create new volumes
7
7
  * from snapshots, and then use Amazon Elastic Compute Cloud (Amazon EC2) instances to compare the differences.</p>
8
- *
9
- * <p>You can create incremental snapshots directly from data on-premises into volumes and the
8
+ * <p>You can create incremental snapshots directly from data on-premises into volumes and the
10
9
  * cloud to use for quick disaster recovery. With the ability to write and read snapshots, you can
11
10
  * write your on-premises data to an snapshot during a disaster. Then after recovery, you can
12
11
  * restore it back to Amazon Web Services or on-premises from the snapshot. You no longer need to build and
13
12
  * maintain complex mechanisms to copy data to and from Amazon EBS.</p>
14
- *
15
- *
16
- * <p>This API reference provides detailed information about the actions, data types,
13
+ * <p>This API reference provides detailed information about the actions, data types,
17
14
  * parameters, and errors of the EBS direct APIs. For more information about the elements that
18
15
  * make up the EBS direct APIs, and examples of how to use them effectively, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-accessing-snapshot.html">Accessing the Contents of an Amazon EBS Snapshot</a> in the <i>Amazon Elastic Compute Cloud User
19
16
  * Guide</i>. For more information about the supported Amazon Web Services Regions, endpoints,
@@ -1,6 +1,5 @@
1
- /// <reference types="node" />
2
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
3
- import { Readable } from "stream";
2
+ import { StreamingBlobTypes } from "@smithy/types";
4
3
  import { EBSServiceException as __BaseException } from "./EBSServiceException";
5
4
  /**
6
5
  * @public
@@ -104,7 +103,7 @@ export interface CompleteSnapshotRequest {
104
103
  /**
105
104
  * <p>An aggregated Base-64 SHA256 checksum based on the checksums of each written
106
105
  * block.</p>
107
- * <p>To generate the aggregated checksum using the linear aggregation method, arrange the
106
+ * <p>To generate the aggregated checksum using the linear aggregation method, arrange the
108
107
  * checksums for each written block in ascending order of their block index, concatenate
109
108
  * them to form a single string, and then generate the checksum on the entire string using
110
109
  * the SHA256 algorithm.</p>
@@ -145,7 +144,7 @@ export interface CompleteSnapshotResponse {
145
144
  }
146
145
  /**
147
146
  * @public
148
- * <p>An internal error has occurred.</p>
147
+ * <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>
149
148
  */
150
149
  export declare class InternalServerException extends __BaseException {
151
150
  readonly name: "InternalServerException";
@@ -171,8 +170,8 @@ export declare const RequestThrottledExceptionReason: {
171
170
  export type RequestThrottledExceptionReason = (typeof RequestThrottledExceptionReason)[keyof typeof RequestThrottledExceptionReason];
172
171
  /**
173
172
  * @public
174
- * <p>The number of API requests has exceed the maximum allowed API request throttling
175
- * limit.</p>
173
+ * <p>The number of API requests has exceeded the maximum allowed API request
174
+ * 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>
176
175
  */
177
176
  export declare class RequestThrottledException extends __BaseException {
178
177
  readonly name: "RequestThrottledException";
@@ -193,6 +192,8 @@ export declare class RequestThrottledException extends __BaseException {
193
192
  */
194
193
  export declare const ResourceNotFoundExceptionReason: {
195
194
  readonly DEPENDENCY_RESOURCE_NOT_FOUND: "DEPENDENCY_RESOURCE_NOT_FOUND";
195
+ readonly GRANT_NOT_FOUND: "GRANT_NOT_FOUND";
196
+ readonly IMAGE_NOT_FOUND: "IMAGE_NOT_FOUND";
196
197
  readonly SNAPSHOT_NOT_FOUND: "SNAPSHOT_NOT_FOUND";
197
198
  };
198
199
  /**
@@ -255,12 +256,15 @@ export declare const ValidationExceptionReason: {
255
256
  readonly INVALID_CONTENT_ENCODING: "INVALID_CONTENT_ENCODING";
256
257
  readonly INVALID_CUSTOMER_KEY: "INVALID_CUSTOMER_KEY";
257
258
  readonly INVALID_DEPENDENCY_REQUEST: "INVALID_DEPENDENCY_REQUEST";
259
+ readonly INVALID_GRANT_TOKEN: "INVALID_GRANT_TOKEN";
260
+ readonly INVALID_IMAGE_ID: "INVALID_IMAGE_ID";
258
261
  readonly INVALID_PAGE_TOKEN: "INVALID_PAGE_TOKEN";
259
262
  readonly INVALID_PARAMETER_VALUE: "INVALID_PARAMETER_VALUE";
260
263
  readonly INVALID_SNAPSHOT_ID: "INVALID_SNAPSHOT_ID";
261
264
  readonly INVALID_TAG: "INVALID_TAG";
262
265
  readonly INVALID_VOLUME_SIZE: "INVALID_VOLUME_SIZE";
263
266
  readonly UNRELATED_SNAPSHOTS: "UNRELATED_SNAPSHOTS";
267
+ readonly WRITE_REQUEST_TIMEOUT: "WRITE_REQUEST_TIMEOUT";
264
268
  };
265
269
  /**
266
270
  * @public
@@ -318,13 +322,13 @@ export declare class ConflictException extends __BaseException {
318
322
  export interface GetSnapshotBlockRequest {
319
323
  /**
320
324
  * <p>The ID of the snapshot containing the block from which to get data.</p>
321
- * <important>
325
+ * <important>
322
326
  * <p>If the specified snapshot is encrypted, you must have permission to use the
323
327
  * KMS key that was used to encrypt the snapshot. For more information, see
324
328
  * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html">
325
329
  * Using encryption</a> in the <i>Amazon Elastic Compute Cloud User
326
330
  * Guide</i>.</p>
327
- * </important>
331
+ * </important>
328
332
  */
329
333
  SnapshotId: string | undefined;
330
334
  /**
@@ -352,7 +356,7 @@ export interface GetSnapshotBlockResponse {
352
356
  /**
353
357
  * <p>The data content of the block.</p>
354
358
  */
355
- BlockData?: Readable | ReadableStream | Blob;
359
+ BlockData?: StreamingBlobTypes;
356
360
  /**
357
361
  * <p>The checksum generated for the block, which is Base64 encoded.</p>
358
362
  */
@@ -368,32 +372,32 @@ export interface GetSnapshotBlockResponse {
368
372
  export interface ListChangedBlocksRequest {
369
373
  /**
370
374
  * <p>The ID of the first snapshot to use for the comparison.</p>
371
- * <important>
375
+ * <important>
372
376
  * <p>The <code>FirstSnapshotID</code> parameter must be specified with a
373
377
  * <code>SecondSnapshotId</code> parameter; otherwise, an error occurs.</p>
374
- * </important>
378
+ * </important>
375
379
  */
376
380
  FirstSnapshotId?: string;
377
381
  /**
378
382
  * <p>The ID of the second snapshot to use for the comparison.</p>
379
- * <important>
383
+ * <important>
380
384
  * <p>The <code>SecondSnapshotId</code> parameter must be specified with a
381
385
  * <code>FirstSnapshotID</code> parameter; otherwise, an error occurs.</p>
382
- * </important>
386
+ * </important>
383
387
  */
384
388
  SecondSnapshotId: string | undefined;
385
389
  /**
386
390
  * <p>The token to request the next page of results.</p>
387
- * <p>If you specify <b>NextToken</b>, then
391
+ * <p>If you specify <b>NextToken</b>, then
388
392
  * <b>StartingBlockIndex</b> is ignored.</p>
389
393
  */
390
394
  NextToken?: string;
391
395
  /**
392
396
  * <p>The maximum number of blocks to be returned by the request.</p>
393
- * <p>Even if additional blocks can be retrieved from the snapshot, the request can
397
+ * <p>Even if additional blocks can be retrieved from the snapshot, the request can
394
398
  * return less blocks than <b>MaxResults</b> or an empty
395
399
  * array of blocks.</p>
396
- * <p>To retrieve the next set of blocks from the snapshot, make another request with
400
+ * <p>To retrieve the next set of blocks from the snapshot, make another request with
397
401
  * the returned <b>NextToken</b> value. The value of
398
402
  * <b>NextToken</b> is <code>null</code> when there are no
399
403
  * more blocks to return.</p>
@@ -401,9 +405,9 @@ export interface ListChangedBlocksRequest {
401
405
  MaxResults?: number;
402
406
  /**
403
407
  * <p>The block index from which the comparison should start.</p>
404
- * <p>The list in the response will start from this block index or the next valid block
408
+ * <p>The list in the response will start from this block index or the next valid block
405
409
  * index in the snapshots.</p>
406
- * <p>If you specify <b>NextToken</b>, then
410
+ * <p>If you specify <b>NextToken</b>, then
407
411
  * <b>StartingBlockIndex</b> is ignored.</p>
408
412
  */
409
413
  StartingBlockIndex?: number;
@@ -444,16 +448,16 @@ export interface ListSnapshotBlocksRequest {
444
448
  SnapshotId: string | undefined;
445
449
  /**
446
450
  * <p>The token to request the next page of results.</p>
447
- * <p>If you specify <b>NextToken</b>, then
451
+ * <p>If you specify <b>NextToken</b>, then
448
452
  * <b>StartingBlockIndex</b> is ignored.</p>
449
453
  */
450
454
  NextToken?: string;
451
455
  /**
452
456
  * <p>The maximum number of blocks to be returned by the request.</p>
453
- * <p>Even if additional blocks can be retrieved from the snapshot, the request can
457
+ * <p>Even if additional blocks can be retrieved from the snapshot, the request can
454
458
  * return less blocks than <b>MaxResults</b> or an empty
455
459
  * array of blocks.</p>
456
- * <p>To retrieve the next set of blocks from the snapshot, make another request with
460
+ * <p>To retrieve the next set of blocks from the snapshot, make another request with
457
461
  * the returned <b>NextToken</b> value. The value of
458
462
  * <b>NextToken</b> is <code>null</code> when there are no
459
463
  * more blocks to return.</p>
@@ -462,7 +466,7 @@ export interface ListSnapshotBlocksRequest {
462
466
  /**
463
467
  * <p>The block index from which the list should start. The list in the response will start
464
468
  * from this block index or the next valid block index in the snapshot.</p>
465
- * <p>If you specify <b>NextToken</b>, then
469
+ * <p>If you specify <b>NextToken</b>, then
466
470
  * <b>StartingBlockIndex</b> is ignored.</p>
467
471
  */
468
472
  StartingBlockIndex?: number;
@@ -499,13 +503,13 @@ export interface ListSnapshotBlocksResponse {
499
503
  export interface PutSnapshotBlockRequest {
500
504
  /**
501
505
  * <p>The ID of the snapshot.</p>
502
- * <important>
506
+ * <important>
503
507
  * <p>If the specified snapshot is encrypted, you must have permission to use
504
508
  * the KMS key that was used to encrypt the snapshot. For more information,
505
509
  * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html">
506
510
  * Using encryption</a> in the <i>Amazon Elastic Compute Cloud User
507
511
  * Guide</i>..</p>
508
- * </important>
512
+ * </important>
509
513
  */
510
514
  SnapshotId: string | undefined;
511
515
  /**
@@ -518,7 +522,7 @@ export interface PutSnapshotBlockRequest {
518
522
  BlockIndex: number | undefined;
519
523
  /**
520
524
  * <p>The data to write to the block.</p>
521
- * <p>The block data is not signed as part of the Signature Version 4 signing process. As a
525
+ * <p>The block data is not signed as part of the Signature Version 4 signing process. As a
522
526
  * result, you must generate and provide a Base64-encoded SHA256 checksum for the block
523
527
  * data using the <b>x-amz-Checksum</b> header. Also, you
524
528
  * must specify the checksum algorithm using the <b>x-amz-Checksum-Algorithm</b>
@@ -529,11 +533,11 @@ export interface PutSnapshotBlockRequest {
529
533
  * Using checksums with the EBS direct APIs</a> in the <i>Amazon Elastic Compute Cloud User
530
534
  * Guide</i>.</p>
531
535
  */
532
- BlockData: Readable | ReadableStream | Blob | undefined;
536
+ BlockData: StreamingBlobTypes | undefined;
533
537
  /**
534
538
  * <p>The size of the data to write to the block, in bytes. Currently, the only supported
535
539
  * size is <code>524288</code> bytes.</p>
536
- * <p>Valid values: <code>524288</code>
540
+ * <p>Valid values: <code>524288</code>
537
541
  * </p>
538
542
  */
539
543
  DataLength: number | undefined;
@@ -591,26 +595,22 @@ export interface StartSnapshotRequest {
591
595
  /**
592
596
  * <p>The ID of the parent snapshot. If there is no parent snapshot, or if you are creating
593
597
  * the first snapshot for an on-premises volume, omit this parameter.</p>
594
- * <p>You can't specify <b>ParentSnapshotId</b> and
598
+ * <p>You can't specify <b>ParentSnapshotId</b> and
595
599
  * <b>Encrypted</b> in the same request. If you specify both
596
600
  * parameters, the request fails with <code>ValidationException</code>.</p>
597
- *
598
- *
599
- *
600
- * <p>The encryption status of the snapshot depends on the values that you specify for
601
+ * <p>The encryption status of the snapshot depends on the values that you specify for
601
602
  * <b>Encrypted</b>, <b>KmsKeyArn</b>,
602
603
  * and <b>ParentSnapshotId</b>, and whether your Amazon Web Services account
603
604
  * is enabled for <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-by-default">
604
605
  * encryption by default</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html">
605
606
  * Using encryption</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
606
- *
607
- * <important>
607
+ * <important>
608
608
  * <p>If you specify an encrypted parent snapshot, you must have permission to use the
609
609
  * KMS key that was used to encrypt the parent snapshot. For more information, see
610
610
  * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapi-permissions.html#ebsapi-kms-permissions">
611
611
  * Permissions to use Key Management Service keys</a> in the <i>Amazon Elastic Compute Cloud User
612
612
  * Guide</i>.</p>
613
- * </important>
613
+ * </important>
614
614
  */
615
615
  ParentSnapshotId?: string;
616
616
  /**
@@ -627,69 +627,74 @@ export interface StartSnapshotRequest {
627
627
  * request, if the original request completes successfully. The subsequent retries with the same
628
628
  * client token return the result from the original successful request and they have no additional
629
629
  * effect.</p>
630
- * <p>If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.</p>
631
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-direct-api-idempotency.html">
630
+ * <p>If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.</p>
631
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-direct-api-idempotency.html">
632
632
  * Idempotency for StartSnapshot API</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
633
633
  */
634
634
  ClientToken?: string;
635
635
  /**
636
636
  * <p>Indicates whether to encrypt the snapshot.</p>
637
- *
638
- * <p>You can't specify <b>Encrypted</b> and <b>
637
+ * <p>You can't specify <b>Encrypted</b> and <b>
639
638
  * ParentSnapshotId</b> in the same request. If you specify both parameters, the
640
639
  * request fails with <code>ValidationException</code>.</p>
641
- *
642
- * <p>The encryption status of the snapshot depends on the values that you specify for
640
+ * <p>The encryption status of the snapshot depends on the values that you specify for
643
641
  * <b>Encrypted</b>, <b>KmsKeyArn</b>,
644
642
  * and <b>ParentSnapshotId</b>, and whether your Amazon Web Services account
645
643
  * is enabled for <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-by-default">
646
644
  * encryption by default</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html">
647
645
  * Using encryption</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
648
- *
649
- *
650
- *
651
- * <important>
646
+ * <important>
652
647
  * <p>To create an encrypted snapshot, you must have permission to use the KMS key. For
653
648
  * more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapi-permissions.html#ebsapi-kms-permissions">
654
649
  * Permissions to use Key Management Service keys</a> in the <i>Amazon Elastic Compute Cloud User
655
650
  * Guide</i>.</p>
656
- * </important>
651
+ * </important>
657
652
  */
658
653
  Encrypted?: boolean;
659
654
  /**
660
655
  * <p>The Amazon Resource Name (ARN) of the Key Management Service (KMS) key to be used to encrypt the snapshot.</p>
661
- *
662
- * <p>The encryption status of the snapshot depends on the values that you specify for
656
+ * <p>The encryption status of the snapshot depends on the values that you specify for
663
657
  * <b>Encrypted</b>, <b>KmsKeyArn</b>,
664
658
  * and <b>ParentSnapshotId</b>, and whether your Amazon Web Services account
665
659
  * is enabled for <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-by-default">
666
660
  * encryption by default</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html">
667
661
  * Using encryption</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
668
- *
669
- *
670
- * <important>
662
+ * <important>
671
663
  * <p>To create an encrypted snapshot, you must have permission to use the KMS key. For
672
664
  * more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapi-permissions.html#ebsapi-kms-permissions">
673
665
  * Permissions to use Key Management Service keys</a> in the <i>Amazon Elastic Compute Cloud User
674
666
  * Guide</i>.</p>
675
- * </important>
667
+ * </important>
676
668
  */
677
669
  KmsKeyArn?: string;
678
670
  /**
679
671
  * <p>The amount of time (in minutes) after which the snapshot is automatically cancelled
680
672
  * if:</p>
681
- * <ul>
673
+ * <ul>
682
674
  * <li>
683
- * <p>No blocks are written to the snapshot.</p>
675
+ * <p>No blocks are written to the snapshot.</p>
684
676
  * </li>
685
677
  * <li>
686
- * <p>The snapshot is not completed after writing the last block of data.</p>
678
+ * <p>The snapshot is not completed after writing the last block of data.</p>
687
679
  * </li>
688
680
  * </ul>
689
- * <p>If no value is specified, the timeout defaults to <code>60</code> minutes.</p>
681
+ * <p>If no value is specified, the timeout defaults to <code>60</code> minutes.</p>
690
682
  */
691
683
  Timeout?: number;
692
684
  }
685
+ /**
686
+ * @public
687
+ * @enum
688
+ */
689
+ export declare const SSEType: {
690
+ readonly NONE: "none";
691
+ readonly SSE_EBS: "sse-ebs";
692
+ readonly SSE_KMS: "sse-kms";
693
+ };
694
+ /**
695
+ * @public
696
+ */
697
+ export type SSEType = (typeof SSEType)[keyof typeof SSEType];
693
698
  /**
694
699
  * @public
695
700
  */
@@ -736,6 +741,10 @@ export interface StartSnapshotResponse {
736
741
  * <p>The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.</p>
737
742
  */
738
743
  KmsKeyArn?: string;
744
+ /**
745
+ * <p>Reserved for future use.</p>
746
+ */
747
+ SseType?: SSEType | string;
739
748
  }
740
749
  /**
741
750
  * @internal
@@ -5,7 +5,7 @@ import {
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- WithSdkStreamMixin as __WithSdkStreamMixin,
8
+ StreamingBlobPayloadOutputTypes,
9
9
  } from "@smithy/types";
10
10
  import {
11
11
  EBSClientResolvedConfig,
@@ -19,8 +19,13 @@ import {
19
19
  export { __MetadataBearer, $Command };
20
20
  export interface GetSnapshotBlockCommandInput extends GetSnapshotBlockRequest {}
21
21
  export interface GetSnapshotBlockCommandOutput
22
- extends __WithSdkStreamMixin<GetSnapshotBlockResponse, "BlockData">,
23
- __MetadataBearer {}
22
+ extends Pick<
23
+ GetSnapshotBlockResponse,
24
+ Exclude<keyof GetSnapshotBlockResponse, "BlockData">
25
+ >,
26
+ __MetadataBearer {
27
+ BlockData?: StreamingBlobPayloadOutputTypes;
28
+ }
24
29
  export declare class GetSnapshotBlockCommand extends $Command<
25
30
  GetSnapshotBlockCommandInput,
26
31
  GetSnapshotBlockCommandOutput,
@@ -5,6 +5,7 @@ import {
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
+ StreamingBlobPayloadInputTypes,
8
9
  } from "@smithy/types";
9
10
  import {
10
11
  EBSClientResolvedConfig,
@@ -16,18 +17,13 @@ import {
16
17
  PutSnapshotBlockResponse,
17
18
  } from "../models/models_0";
18
19
  export { __MetadataBearer, $Command };
19
- export type PutSnapshotBlockCommandInputType = Pick<
20
- PutSnapshotBlockRequest,
21
- Exclude<keyof PutSnapshotBlockRequest, "BlockData">
22
- > & {
23
- BlockData:
24
- | PutSnapshotBlockRequest["BlockData"]
25
- | string
26
- | Uint8Array
27
- | Buffer;
28
- };
29
20
  export interface PutSnapshotBlockCommandInput
30
- extends PutSnapshotBlockCommandInputType {}
21
+ extends Pick<
22
+ PutSnapshotBlockRequest,
23
+ Exclude<keyof PutSnapshotBlockRequest, "BlockData">
24
+ > {
25
+ BlockData: StreamingBlobPayloadInputTypes;
26
+ }
31
27
  export interface PutSnapshotBlockCommandOutput
32
28
  extends PutSnapshotBlockResponse,
33
29
  __MetadataBearer {}
@@ -1,5 +1,5 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { Readable } from "stream";
2
+ import { StreamingBlobTypes } from "@smithy/types";
3
3
  import { EBSServiceException as __BaseException } from "./EBSServiceException";
4
4
  export declare const AccessDeniedExceptionReason: {
5
5
  readonly DEPENDENCY_ACCESS_DENIED: "DEPENDENCY_ACCESS_DENIED";
@@ -77,6 +77,8 @@ export declare class RequestThrottledException extends __BaseException {
77
77
  }
78
78
  export declare const ResourceNotFoundExceptionReason: {
79
79
  readonly DEPENDENCY_RESOURCE_NOT_FOUND: "DEPENDENCY_RESOURCE_NOT_FOUND";
80
+ readonly GRANT_NOT_FOUND: "GRANT_NOT_FOUND";
81
+ readonly IMAGE_NOT_FOUND: "IMAGE_NOT_FOUND";
80
82
  readonly SNAPSHOT_NOT_FOUND: "SNAPSHOT_NOT_FOUND";
81
83
  };
82
84
  export type ResourceNotFoundExceptionReason =
@@ -111,12 +113,15 @@ export declare const ValidationExceptionReason: {
111
113
  readonly INVALID_CONTENT_ENCODING: "INVALID_CONTENT_ENCODING";
112
114
  readonly INVALID_CUSTOMER_KEY: "INVALID_CUSTOMER_KEY";
113
115
  readonly INVALID_DEPENDENCY_REQUEST: "INVALID_DEPENDENCY_REQUEST";
116
+ readonly INVALID_GRANT_TOKEN: "INVALID_GRANT_TOKEN";
117
+ readonly INVALID_IMAGE_ID: "INVALID_IMAGE_ID";
114
118
  readonly INVALID_PAGE_TOKEN: "INVALID_PAGE_TOKEN";
115
119
  readonly INVALID_PARAMETER_VALUE: "INVALID_PARAMETER_VALUE";
116
120
  readonly INVALID_SNAPSHOT_ID: "INVALID_SNAPSHOT_ID";
117
121
  readonly INVALID_TAG: "INVALID_TAG";
118
122
  readonly INVALID_VOLUME_SIZE: "INVALID_VOLUME_SIZE";
119
123
  readonly UNRELATED_SNAPSHOTS: "UNRELATED_SNAPSHOTS";
124
+ readonly WRITE_REQUEST_TIMEOUT: "WRITE_REQUEST_TIMEOUT";
120
125
  };
121
126
  export type ValidationExceptionReason =
122
127
  (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
@@ -153,7 +158,7 @@ export interface GetSnapshotBlockRequest {
153
158
  }
154
159
  export interface GetSnapshotBlockResponse {
155
160
  DataLength?: number;
156
- BlockData?: Readable | ReadableStream | Blob;
161
+ BlockData?: StreamingBlobTypes;
157
162
  Checksum?: string;
158
163
  ChecksumAlgorithm?: ChecksumAlgorithm | string;
159
164
  }
@@ -187,7 +192,7 @@ export interface ListSnapshotBlocksResponse {
187
192
  export interface PutSnapshotBlockRequest {
188
193
  SnapshotId: string | undefined;
189
194
  BlockIndex: number | undefined;
190
- BlockData: Readable | ReadableStream | Blob | undefined;
195
+ BlockData: StreamingBlobTypes | undefined;
191
196
  DataLength: number | undefined;
192
197
  Progress?: number;
193
198
  Checksum: string | undefined;
@@ -211,6 +216,12 @@ export interface StartSnapshotRequest {
211
216
  KmsKeyArn?: string;
212
217
  Timeout?: number;
213
218
  }
219
+ export declare const SSEType: {
220
+ readonly NONE: "none";
221
+ readonly SSE_EBS: "sse-ebs";
222
+ readonly SSE_KMS: "sse-kms";
223
+ };
224
+ export type SSEType = (typeof SSEType)[keyof typeof SSEType];
214
225
  export interface StartSnapshotResponse {
215
226
  Description?: string;
216
227
  SnapshotId?: string;
@@ -222,6 +233,7 @@ export interface StartSnapshotResponse {
222
233
  Tags?: Tag[];
223
234
  ParentSnapshotId?: string;
224
235
  KmsKeyArn?: string;
236
+ SseType?: SSEType | string;
225
237
  }
226
238
  export declare const ChangedBlockFilterSensitiveLog: (obj: ChangedBlock) => any;
227
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.377.0",
4
+ "version": "3.379.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,45 +21,45 @@
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.377.0",
25
- "@aws-sdk/credential-provider-node": "3.370.0",
26
- "@aws-sdk/middleware-host-header": "3.370.0",
27
- "@aws-sdk/middleware-logger": "3.370.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.370.0",
29
- "@aws-sdk/middleware-signing": "3.370.0",
30
- "@aws-sdk/middleware-user-agent": "3.370.0",
31
- "@aws-sdk/types": "3.370.0",
32
- "@aws-sdk/util-endpoints": "3.370.0",
33
- "@aws-sdk/util-user-agent-browser": "3.370.0",
34
- "@aws-sdk/util-user-agent-node": "3.370.0",
35
- "@smithy/config-resolver": "^1.0.1",
36
- "@smithy/fetch-http-handler": "^1.0.1",
37
- "@smithy/hash-node": "^1.0.1",
38
- "@smithy/invalid-dependency": "^1.0.1",
39
- "@smithy/middleware-content-length": "^1.0.1",
40
- "@smithy/middleware-endpoint": "^1.0.2",
41
- "@smithy/middleware-retry": "^1.0.3",
42
- "@smithy/middleware-serde": "^1.0.1",
43
- "@smithy/middleware-stack": "^1.0.1",
44
- "@smithy/node-config-provider": "^1.0.1",
45
- "@smithy/node-http-handler": "^1.0.2",
46
- "@smithy/protocol-http": "^1.1.0",
47
- "@smithy/smithy-client": "^1.0.3",
48
- "@smithy/types": "^1.1.0",
49
- "@smithy/url-parser": "^1.0.1",
50
- "@smithy/util-base64": "^1.0.1",
51
- "@smithy/util-body-length-browser": "^1.0.1",
52
- "@smithy/util-body-length-node": "^1.0.1",
53
- "@smithy/util-defaults-mode-browser": "^1.0.1",
54
- "@smithy/util-defaults-mode-node": "^1.0.1",
55
- "@smithy/util-retry": "^1.0.3",
56
- "@smithy/util-stream": "^1.0.1",
57
- "@smithy/util-utf8": "^1.0.1",
24
+ "@aws-sdk/client-sts": "3.378.0",
25
+ "@aws-sdk/credential-provider-node": "3.378.0",
26
+ "@aws-sdk/middleware-host-header": "3.378.0",
27
+ "@aws-sdk/middleware-logger": "3.378.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.378.0",
29
+ "@aws-sdk/middleware-signing": "3.378.0",
30
+ "@aws-sdk/middleware-user-agent": "3.378.0",
31
+ "@aws-sdk/types": "3.378.0",
32
+ "@aws-sdk/util-endpoints": "3.378.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.378.0",
34
+ "@aws-sdk/util-user-agent-node": "3.378.0",
35
+ "@smithy/config-resolver": "^2.0.1",
36
+ "@smithy/fetch-http-handler": "^2.0.1",
37
+ "@smithy/hash-node": "^2.0.1",
38
+ "@smithy/invalid-dependency": "^2.0.1",
39
+ "@smithy/middleware-content-length": "^2.0.1",
40
+ "@smithy/middleware-endpoint": "^2.0.1",
41
+ "@smithy/middleware-retry": "^2.0.1",
42
+ "@smithy/middleware-serde": "^2.0.1",
43
+ "@smithy/middleware-stack": "^2.0.0",
44
+ "@smithy/node-config-provider": "^2.0.1",
45
+ "@smithy/node-http-handler": "^2.0.1",
46
+ "@smithy/protocol-http": "^2.0.1",
47
+ "@smithy/smithy-client": "^2.0.1",
48
+ "@smithy/types": "^2.0.2",
49
+ "@smithy/url-parser": "^2.0.1",
50
+ "@smithy/util-base64": "^2.0.0",
51
+ "@smithy/util-body-length-browser": "^2.0.0",
52
+ "@smithy/util-body-length-node": "^2.0.0",
53
+ "@smithy/util-defaults-mode-browser": "^2.0.1",
54
+ "@smithy/util-defaults-mode-node": "^2.0.1",
55
+ "@smithy/util-retry": "^2.0.0",
56
+ "@smithy/util-stream": "^2.0.1",
57
+ "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0",
59
59
  "uuid": "^8.3.2"
60
60
  },
61
61
  "devDependencies": {
62
- "@smithy/service-client-documentation-generator": "^1.0.1",
62
+ "@smithy/service-client-documentation-generator": "^2.0.0",
63
63
  "@tsconfig/node14": "1.0.3",
64
64
  "@types/node": "^14.14.31",
65
65
  "@types/uuid": "^8.3.0",