@aws-sdk/client-ebs 3.299.0 → 3.300.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/CompleteSnapshotCommand.d.ts +7 -0
- package/dist-types/commands/GetSnapshotBlockCommand.d.ts +5 -0
- package/dist-types/commands/ListChangedBlocksCommand.d.ts +7 -0
- package/dist-types/commands/ListSnapshotBlocksCommand.d.ts +6 -0
- package/dist-types/commands/PutSnapshotBlockCommand.d.ts +9 -0
- package/dist-types/commands/StartSnapshotCommand.d.ts +15 -0
- package/package.json +8 -8
|
@@ -28,6 +28,13 @@ export interface CompleteSnapshotCommandOutput extends CompleteSnapshotResponse,
|
|
|
28
28
|
* import { EBSClient, CompleteSnapshotCommand } from "@aws-sdk/client-ebs"; // ES Modules import
|
|
29
29
|
* // const { EBSClient, CompleteSnapshotCommand } = require("@aws-sdk/client-ebs"); // CommonJS import
|
|
30
30
|
* const client = new EBSClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* SnapshotId: "STRING_VALUE", // required
|
|
33
|
+
* ChangedBlocksCount: Number("int"), // required
|
|
34
|
+
* Checksum: "STRING_VALUE",
|
|
35
|
+
* ChecksumAlgorithm: "STRING_VALUE",
|
|
36
|
+
* ChecksumAggregationMethod: "STRING_VALUE",
|
|
37
|
+
* };
|
|
31
38
|
* const command = new CompleteSnapshotCommand(input);
|
|
32
39
|
* const response = await client.send(command);
|
|
33
40
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface GetSnapshotBlockCommandOutput extends __WithSdkStreamMixin<GetS
|
|
|
26
26
|
* import { EBSClient, GetSnapshotBlockCommand } from "@aws-sdk/client-ebs"; // ES Modules import
|
|
27
27
|
* // const { EBSClient, GetSnapshotBlockCommand } = require("@aws-sdk/client-ebs"); // CommonJS import
|
|
28
28
|
* const client = new EBSClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* SnapshotId: "STRING_VALUE", // required
|
|
31
|
+
* BlockIndex: Number("int"), // required
|
|
32
|
+
* BlockToken: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new GetSnapshotBlockCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -27,6 +27,13 @@ export interface ListChangedBlocksCommandOutput extends ListChangedBlocksRespons
|
|
|
27
27
|
* import { EBSClient, ListChangedBlocksCommand } from "@aws-sdk/client-ebs"; // ES Modules import
|
|
28
28
|
* // const { EBSClient, ListChangedBlocksCommand } = require("@aws-sdk/client-ebs"); // CommonJS import
|
|
29
29
|
* const client = new EBSClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* FirstSnapshotId: "STRING_VALUE",
|
|
32
|
+
* SecondSnapshotId: "STRING_VALUE", // required
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* StartingBlockIndex: Number("int"),
|
|
36
|
+
* };
|
|
30
37
|
* const command = new ListChangedBlocksCommand(input);
|
|
31
38
|
* const response = await client.send(command);
|
|
32
39
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface ListSnapshotBlocksCommandOutput extends ListSnapshotBlocksRespo
|
|
|
26
26
|
* import { EBSClient, ListSnapshotBlocksCommand } from "@aws-sdk/client-ebs"; // ES Modules import
|
|
27
27
|
* // const { EBSClient, ListSnapshotBlocksCommand } = require("@aws-sdk/client-ebs"); // CommonJS import
|
|
28
28
|
* const client = new EBSClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* SnapshotId: "STRING_VALUE", // required
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* StartingBlockIndex: Number("int"),
|
|
34
|
+
* };
|
|
29
35
|
* const command = new ListSnapshotBlocksCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -39,6 +39,15 @@ export interface PutSnapshotBlockCommandOutput extends PutSnapshotBlockResponse,
|
|
|
39
39
|
* import { EBSClient, PutSnapshotBlockCommand } from "@aws-sdk/client-ebs"; // ES Modules import
|
|
40
40
|
* // const { EBSClient, PutSnapshotBlockCommand } = require("@aws-sdk/client-ebs"); // CommonJS import
|
|
41
41
|
* const client = new EBSClient(config);
|
|
42
|
+
* const input = {
|
|
43
|
+
* SnapshotId: "STRING_VALUE", // required
|
|
44
|
+
* BlockIndex: Number("int"), // required
|
|
45
|
+
* BlockData: "STREAMING_BLOB_VALUE", // required
|
|
46
|
+
* DataLength: Number("int"), // required
|
|
47
|
+
* Progress: Number("int"),
|
|
48
|
+
* Checksum: "STRING_VALUE", // required
|
|
49
|
+
* ChecksumAlgorithm: "STRING_VALUE", // required
|
|
50
|
+
* };
|
|
42
51
|
* const command = new PutSnapshotBlockCommand(input);
|
|
43
52
|
* const response = await client.send(command);
|
|
44
53
|
* ```
|
|
@@ -29,6 +29,21 @@ export interface StartSnapshotCommandOutput extends StartSnapshotResponse, __Met
|
|
|
29
29
|
* import { EBSClient, StartSnapshotCommand } from "@aws-sdk/client-ebs"; // ES Modules import
|
|
30
30
|
* // const { EBSClient, StartSnapshotCommand } = require("@aws-sdk/client-ebs"); // CommonJS import
|
|
31
31
|
* const client = new EBSClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* VolumeSize: Number("long"), // required
|
|
34
|
+
* ParentSnapshotId: "STRING_VALUE",
|
|
35
|
+
* Tags: [
|
|
36
|
+
* {
|
|
37
|
+
* Key: "STRING_VALUE",
|
|
38
|
+
* Value: "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* Description: "STRING_VALUE",
|
|
42
|
+
* ClientToken: "STRING_VALUE",
|
|
43
|
+
* Encrypted: true || false,
|
|
44
|
+
* KmsKeyArn: "STRING_VALUE",
|
|
45
|
+
* Timeout: Number("int"),
|
|
46
|
+
* };
|
|
32
47
|
* const command = new StartSnapshotCommand(input);
|
|
33
48
|
* const response = await client.send(command);
|
|
34
49
|
* ```
|
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.300.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,9 +21,9 @@
|
|
|
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/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-stream-browser": "3.296.0",
|
|
54
54
|
"@aws-sdk/util-stream-node": "3.296.0",
|
|
55
55
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
56
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
57
57
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
58
58
|
"tslib": "^2.5.0",
|
|
59
59
|
"uuid": "^8.3.2"
|