@aws-sdk/client-ebs 3.325.0 → 3.327.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.
@@ -37,6 +37,10 @@ export interface CompleteSnapshotCommandOutput extends CompleteSnapshotResponse,
37
37
  * };
38
38
  * const command = new CompleteSnapshotCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // CompleteSnapshotResponse
41
+ * // Status: "STRING_VALUE",
42
+ * // };
43
+ *
40
44
  * ```
41
45
  *
42
46
  * @param CompleteSnapshotCommandInput - {@link CompleteSnapshotCommandInput}
@@ -64,6 +68,8 @@ export interface CompleteSnapshotCommandOutput extends CompleteSnapshotResponse,
64
68
  * @throws {@link ValidationException} (client fault)
65
69
  * <p>The input fails to satisfy the constraints of the EBS direct APIs.</p>
66
70
  *
71
+ * @throws {@link EBSServiceException}
72
+ * <p>Base exception class for all service exceptions from EBS service.</p>
67
73
  *
68
74
  */
69
75
  export declare class CompleteSnapshotCommand extends $Command<CompleteSnapshotCommandInput, CompleteSnapshotCommandOutput, EBSClientResolvedConfig> {
@@ -33,6 +33,13 @@ export interface GetSnapshotBlockCommandOutput extends __WithSdkStreamMixin<GetS
33
33
  * };
34
34
  * const command = new GetSnapshotBlockCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // GetSnapshotBlockResponse
37
+ * // DataLength: Number("int"),
38
+ * // BlockData: "STREAMING_BLOB_VALUE",
39
+ * // Checksum: "STRING_VALUE",
40
+ * // ChecksumAlgorithm: "STRING_VALUE",
41
+ * // };
42
+ *
36
43
  * ```
37
44
  *
38
45
  * @param GetSnapshotBlockCommandInput - {@link GetSnapshotBlockCommandInput}
@@ -60,6 +67,8 @@ export interface GetSnapshotBlockCommandOutput extends __WithSdkStreamMixin<GetS
60
67
  * @throws {@link ValidationException} (client fault)
61
68
  * <p>The input fails to satisfy the constraints of the EBS direct APIs.</p>
62
69
  *
70
+ * @throws {@link EBSServiceException}
71
+ * <p>Base exception class for all service exceptions from EBS service.</p>
63
72
  *
64
73
  */
65
74
  export declare class GetSnapshotBlockCommand extends $Command<GetSnapshotBlockCommandInput, GetSnapshotBlockCommandOutput, EBSClientResolvedConfig> {
@@ -36,6 +36,20 @@ export interface ListChangedBlocksCommandOutput extends ListChangedBlocksRespons
36
36
  * };
37
37
  * const command = new ListChangedBlocksCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // ListChangedBlocksResponse
40
+ * // ChangedBlocks: [ // ChangedBlocks
41
+ * // { // ChangedBlock
42
+ * // BlockIndex: Number("int"),
43
+ * // FirstBlockToken: "STRING_VALUE",
44
+ * // SecondBlockToken: "STRING_VALUE",
45
+ * // },
46
+ * // ],
47
+ * // ExpiryTime: new Date("TIMESTAMP"),
48
+ * // VolumeSize: Number("long"),
49
+ * // BlockSize: Number("int"),
50
+ * // NextToken: "STRING_VALUE",
51
+ * // };
52
+ *
39
53
  * ```
40
54
  *
41
55
  * @param ListChangedBlocksCommandInput - {@link ListChangedBlocksCommandInput}
@@ -63,6 +77,8 @@ export interface ListChangedBlocksCommandOutput extends ListChangedBlocksRespons
63
77
  * @throws {@link ValidationException} (client fault)
64
78
  * <p>The input fails to satisfy the constraints of the EBS direct APIs.</p>
65
79
  *
80
+ * @throws {@link EBSServiceException}
81
+ * <p>Base exception class for all service exceptions from EBS service.</p>
66
82
  *
67
83
  */
68
84
  export declare class ListChangedBlocksCommand extends $Command<ListChangedBlocksCommandInput, ListChangedBlocksCommandOutput, EBSClientResolvedConfig> {
@@ -34,6 +34,19 @@ export interface ListSnapshotBlocksCommandOutput extends ListSnapshotBlocksRespo
34
34
  * };
35
35
  * const command = new ListSnapshotBlocksCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // ListSnapshotBlocksResponse
38
+ * // Blocks: [ // Blocks
39
+ * // { // Block
40
+ * // BlockIndex: Number("int"),
41
+ * // BlockToken: "STRING_VALUE",
42
+ * // },
43
+ * // ],
44
+ * // ExpiryTime: new Date("TIMESTAMP"),
45
+ * // VolumeSize: Number("long"),
46
+ * // BlockSize: Number("int"),
47
+ * // NextToken: "STRING_VALUE",
48
+ * // };
49
+ *
37
50
  * ```
38
51
  *
39
52
  * @param ListSnapshotBlocksCommandInput - {@link ListSnapshotBlocksCommandInput}
@@ -61,6 +74,8 @@ export interface ListSnapshotBlocksCommandOutput extends ListSnapshotBlocksRespo
61
74
  * @throws {@link ValidationException} (client fault)
62
75
  * <p>The input fails to satisfy the constraints of the EBS direct APIs.</p>
63
76
  *
77
+ * @throws {@link EBSServiceException}
78
+ * <p>Base exception class for all service exceptions from EBS service.</p>
64
79
  *
65
80
  */
66
81
  export declare class ListSnapshotBlocksCommand extends $Command<ListSnapshotBlocksCommandInput, ListSnapshotBlocksCommandOutput, EBSClientResolvedConfig> {
@@ -50,6 +50,11 @@ export interface PutSnapshotBlockCommandOutput extends PutSnapshotBlockResponse,
50
50
  * };
51
51
  * const command = new PutSnapshotBlockCommand(input);
52
52
  * const response = await client.send(command);
53
+ * // { // PutSnapshotBlockResponse
54
+ * // Checksum: "STRING_VALUE",
55
+ * // ChecksumAlgorithm: "STRING_VALUE",
56
+ * // };
57
+ *
53
58
  * ```
54
59
  *
55
60
  * @param PutSnapshotBlockCommandInput - {@link PutSnapshotBlockCommandInput}
@@ -77,6 +82,8 @@ export interface PutSnapshotBlockCommandOutput extends PutSnapshotBlockResponse,
77
82
  * @throws {@link ValidationException} (client fault)
78
83
  * <p>The input fails to satisfy the constraints of the EBS direct APIs.</p>
79
84
  *
85
+ * @throws {@link EBSServiceException}
86
+ * <p>Base exception class for all service exceptions from EBS service.</p>
80
87
  *
81
88
  */
82
89
  export declare class PutSnapshotBlockCommand extends $Command<PutSnapshotBlockCommandInput, PutSnapshotBlockCommandOutput, EBSClientResolvedConfig> {
@@ -46,6 +46,24 @@ export interface StartSnapshotCommandOutput extends StartSnapshotResponse, __Met
46
46
  * };
47
47
  * const command = new StartSnapshotCommand(input);
48
48
  * const response = await client.send(command);
49
+ * // { // StartSnapshotResponse
50
+ * // Description: "STRING_VALUE",
51
+ * // SnapshotId: "STRING_VALUE",
52
+ * // OwnerId: "STRING_VALUE",
53
+ * // Status: "STRING_VALUE",
54
+ * // StartTime: new Date("TIMESTAMP"),
55
+ * // VolumeSize: Number("long"),
56
+ * // BlockSize: Number("int"),
57
+ * // Tags: [ // Tags
58
+ * // { // Tag
59
+ * // Key: "STRING_VALUE",
60
+ * // Value: "STRING_VALUE",
61
+ * // },
62
+ * // ],
63
+ * // ParentSnapshotId: "STRING_VALUE",
64
+ * // KmsKeyArn: "STRING_VALUE",
65
+ * // };
66
+ *
49
67
  * ```
50
68
  *
51
69
  * @param StartSnapshotCommandInput - {@link StartSnapshotCommandInput}
@@ -82,6 +100,8 @@ export interface StartSnapshotCommandOutput extends StartSnapshotResponse, __Met
82
100
  * @throws {@link ValidationException} (client fault)
83
101
  * <p>The input fails to satisfy the constraints of the EBS direct APIs.</p>
84
102
  *
103
+ * @throws {@link EBSServiceException}
104
+ * <p>Base exception class for all service exceptions from EBS service.</p>
85
105
  *
86
106
  */
87
107
  export declare class StartSnapshotCommand extends $Command<StartSnapshotCommandInput, StartSnapshotCommandOutput, EBSClientResolvedConfig> {
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.325.0",
4
+ "version": "3.327.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.325.0",
24
+ "@aws-sdk/client-sts": "3.327.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.327.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -32,11 +32,11 @@
32
32
  "@aws-sdk/middleware-host-header": "3.325.0",
33
33
  "@aws-sdk/middleware-logger": "3.325.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
- "@aws-sdk/middleware-retry": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.327.0",
36
36
  "@aws-sdk/middleware-serde": "3.325.0",
37
37
  "@aws-sdk/middleware-signing": "3.325.0",
38
38
  "@aws-sdk/middleware-stack": "3.325.0",
39
- "@aws-sdk/middleware-user-agent": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.327.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
@@ -48,8 +48,8 @@
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
50
  "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
- "@aws-sdk/util-endpoints": "3.319.0",
52
- "@aws-sdk/util-retry": "3.310.0",
51
+ "@aws-sdk/util-endpoints": "3.327.0",
52
+ "@aws-sdk/util-retry": "3.327.0",
53
53
  "@aws-sdk/util-stream-browser": "3.310.0",
54
54
  "@aws-sdk/util-stream-node": "3.321.1",
55
55
  "@aws-sdk/util-user-agent-browser": "3.310.0",