@aws-sdk/client-ebs 3.377.0 → 3.378.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-types/commands/GetSnapshotBlockCommand.d.ts +3 -2
- package/dist-types/commands/PutSnapshotBlockCommand.d.ts +3 -9
- package/dist-types/models/models_0.d.ts +3 -4
- package/dist-types/ts3.4/commands/GetSnapshotBlockCommand.d.ts +8 -3
- package/dist-types/ts3.4/commands/PutSnapshotBlockCommand.d.ts +7 -11
- package/dist-types/ts3.4/models/models_0.d.ts +3 -3
- package/package.json +36 -36
|
@@ -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,
|
|
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,7 +19,8 @@ export interface GetSnapshotBlockCommandInput extends GetSnapshotBlockRequest {
|
|
|
19
19
|
*
|
|
20
20
|
* The output of {@link GetSnapshotBlockCommand}.
|
|
21
21
|
*/
|
|
22
|
-
export interface GetSnapshotBlockCommandOutput extends
|
|
22
|
+
export interface GetSnapshotBlockCommandOutput extends Omit<GetSnapshotBlockResponse, "BlockData">, __MetadataBearer {
|
|
23
|
+
BlockData?: StreamingBlobPayloadOutputTypes;
|
|
23
24
|
}
|
|
24
25
|
/**
|
|
25
26
|
* @public
|
|
@@ -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
|
|
15
|
+
export interface PutSnapshotBlockCommandInput extends Omit<PutSnapshotBlockRequest, "BlockData"> {
|
|
16
|
+
BlockData: StreamingBlobPayloadInputTypes;
|
|
23
17
|
}
|
|
24
18
|
/**
|
|
25
19
|
* @public
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { StreamingBlobTypes } from "@smithy/types";
|
|
4
3
|
import { EBSServiceException as __BaseException } from "./EBSServiceException";
|
|
5
4
|
/**
|
|
6
5
|
* @public
|
|
@@ -352,7 +351,7 @@ export interface GetSnapshotBlockResponse {
|
|
|
352
351
|
/**
|
|
353
352
|
* <p>The data content of the block.</p>
|
|
354
353
|
*/
|
|
355
|
-
BlockData?:
|
|
354
|
+
BlockData?: StreamingBlobTypes;
|
|
356
355
|
/**
|
|
357
356
|
* <p>The checksum generated for the block, which is Base64 encoded.</p>
|
|
358
357
|
*/
|
|
@@ -529,7 +528,7 @@ export interface PutSnapshotBlockRequest {
|
|
|
529
528
|
* Using checksums with the EBS direct APIs</a> in the <i>Amazon Elastic Compute Cloud User
|
|
530
529
|
* Guide</i>.</p>
|
|
531
530
|
*/
|
|
532
|
-
BlockData:
|
|
531
|
+
BlockData: StreamingBlobTypes | undefined;
|
|
533
532
|
/**
|
|
534
533
|
* <p>The size of the data to write to the block, in bytes. Currently, the only supported
|
|
535
534
|
* size is <code>524288</code> bytes.</p>
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
6
|
MetadataBearer as __MetadataBearer,
|
|
7
7
|
MiddlewareStack,
|
|
8
|
-
|
|
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
|
|
23
|
-
|
|
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
|
|
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 {
|
|
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";
|
|
@@ -153,7 +153,7 @@ export interface GetSnapshotBlockRequest {
|
|
|
153
153
|
}
|
|
154
154
|
export interface GetSnapshotBlockResponse {
|
|
155
155
|
DataLength?: number;
|
|
156
|
-
BlockData?:
|
|
156
|
+
BlockData?: StreamingBlobTypes;
|
|
157
157
|
Checksum?: string;
|
|
158
158
|
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
159
159
|
}
|
|
@@ -187,7 +187,7 @@ export interface ListSnapshotBlocksResponse {
|
|
|
187
187
|
export interface PutSnapshotBlockRequest {
|
|
188
188
|
SnapshotId: string | undefined;
|
|
189
189
|
BlockIndex: number | undefined;
|
|
190
|
-
BlockData:
|
|
190
|
+
BlockData: StreamingBlobTypes | undefined;
|
|
191
191
|
DataLength: number | undefined;
|
|
192
192
|
Progress?: number;
|
|
193
193
|
Checksum: string | undefined;
|
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.
|
|
4
|
+
"version": "3.378.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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^
|
|
36
|
-
"@smithy/fetch-http-handler": "^
|
|
37
|
-
"@smithy/hash-node": "^
|
|
38
|
-
"@smithy/invalid-dependency": "^
|
|
39
|
-
"@smithy/middleware-content-length": "^
|
|
40
|
-
"@smithy/middleware-endpoint": "^
|
|
41
|
-
"@smithy/middleware-retry": "^
|
|
42
|
-
"@smithy/middleware-serde": "^
|
|
43
|
-
"@smithy/middleware-stack": "^
|
|
44
|
-
"@smithy/node-config-provider": "^
|
|
45
|
-
"@smithy/node-http-handler": "^
|
|
46
|
-
"@smithy/protocol-http": "^
|
|
47
|
-
"@smithy/smithy-client": "^
|
|
48
|
-
"@smithy/types": "^
|
|
49
|
-
"@smithy/url-parser": "^
|
|
50
|
-
"@smithy/util-base64": "^
|
|
51
|
-
"@smithy/util-body-length-browser": "^
|
|
52
|
-
"@smithy/util-body-length-node": "^
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^
|
|
55
|
-
"@smithy/util-retry": "^
|
|
56
|
-
"@smithy/util-stream": "^
|
|
57
|
-
"@smithy/util-utf8": "^
|
|
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": "^
|
|
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",
|