@aws-sdk/client-ebs 3.477.0 → 3.481.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-cjs/commands/CompleteSnapshotCommand.js +18 -41
- package/dist-cjs/commands/GetSnapshotBlockCommand.js +18 -41
- package/dist-cjs/commands/ListChangedBlocksCommand.js +18 -41
- package/dist-cjs/commands/ListSnapshotBlocksCommand.js +18 -41
- package/dist-cjs/commands/PutSnapshotBlockCommand.js +18 -41
- package/dist-cjs/commands/StartSnapshotCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListChangedBlocksPaginator.js +2 -24
- package/dist-cjs/pagination/ListSnapshotBlocksPaginator.js +2 -24
- package/dist-es/commands/CompleteSnapshotCommand.js +18 -41
- package/dist-es/commands/GetSnapshotBlockCommand.js +18 -41
- package/dist-es/commands/ListChangedBlocksCommand.js +18 -41
- package/dist-es/commands/ListSnapshotBlocksCommand.js +18 -41
- package/dist-es/commands/PutSnapshotBlockCommand.js +18 -41
- package/dist-es/commands/StartSnapshotCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListChangedBlocksPaginator.js +2 -23
- package/dist-es/pagination/ListSnapshotBlocksPaginator.js +2 -23
- package/dist-types/commands/CompleteSnapshotCommand.d.ts +6 -21
- package/dist-types/commands/GetSnapshotBlockCommand.d.ts +6 -21
- package/dist-types/commands/ListChangedBlocksCommand.d.ts +6 -21
- package/dist-types/commands/ListSnapshotBlocksCommand.d.ts +6 -21
- package/dist-types/commands/PutSnapshotBlockCommand.d.ts +6 -21
- package/dist-types/commands/StartSnapshotCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListChangedBlocksPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSnapshotBlocksPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/CompleteSnapshotCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetSnapshotBlockCommand.d.ts +13 -20
- package/dist-types/ts3.4/commands/ListChangedBlocksCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListSnapshotBlocksCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutSnapshotBlockCommand.d.ts +13 -20
- package/dist-types/ts3.4/commands/StartSnapshotCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListChangedBlocksPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSnapshotBlocksPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { ListChangedBlocksResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_ListChangedBlocksCommand, se_ListChangedBlocksCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class ListChangedBlocksCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "EBSClient";
|
|
27
|
-
const commandName = "ListChangedBlocksCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: ListChangedBlocksResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "Ebs",
|
|
36
|
-
operation: "ListChangedBlocks",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_ListChangedBlocksCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_ListChangedBlocksCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class ListChangedBlocksCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("Ebs", "ListChangedBlocks", {})
|
|
20
|
+
.n("EBSClient", "ListChangedBlocksCommand")
|
|
21
|
+
.f(void 0, ListChangedBlocksResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_ListChangedBlocksCommand)
|
|
23
|
+
.de(de_ListChangedBlocksCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { ListSnapshotBlocksResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_ListSnapshotBlocksCommand, se_ListSnapshotBlocksCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class ListSnapshotBlocksCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "EBSClient";
|
|
27
|
-
const commandName = "ListSnapshotBlocksCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: ListSnapshotBlocksResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "Ebs",
|
|
36
|
-
operation: "ListSnapshotBlocks",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_ListSnapshotBlocksCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_ListSnapshotBlocksCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class ListSnapshotBlocksCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("Ebs", "ListSnapshotBlocks", {})
|
|
20
|
+
.n("EBSClient", "ListSnapshotBlocksCommand")
|
|
21
|
+
.f(void 0, ListSnapshotBlocksResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_ListSnapshotBlocksCommand)
|
|
23
|
+
.de(de_ListSnapshotBlocksCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { PutSnapshotBlockRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_PutSnapshotBlockCommand, se_PutSnapshotBlockCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class PutSnapshotBlockCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "EBSClient";
|
|
27
|
-
const commandName = "PutSnapshotBlockCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: PutSnapshotBlockRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "Ebs",
|
|
36
|
-
operation: "PutSnapshotBlock",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_PutSnapshotBlockCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_PutSnapshotBlockCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class PutSnapshotBlockCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("Ebs", "PutSnapshotBlock", {})
|
|
20
|
+
.n("EBSClient", "PutSnapshotBlockCommand")
|
|
21
|
+
.f(PutSnapshotBlockRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_PutSnapshotBlockCommand)
|
|
23
|
+
.de(de_PutSnapshotBlockCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { StartSnapshotRequestFilterSensitiveLog, StartSnapshotResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_StartSnapshotCommand, se_StartSnapshotCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class StartSnapshotCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "EBSClient";
|
|
27
|
-
const commandName = "StartSnapshotCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: StartSnapshotRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: StartSnapshotResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "Ebs",
|
|
36
|
-
operation: "StartSnapshot",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_StartSnapshotCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_StartSnapshotCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class StartSnapshotCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("Ebs", "StartSnapshot", {})
|
|
20
|
+
.n("EBSClient", "StartSnapshotCommand")
|
|
21
|
+
.f(StartSnapshotRequestFilterSensitiveLog, StartSnapshotResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_StartSnapshotCommand)
|
|
23
|
+
.de(de_StartSnapshotCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "ebs",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListChangedBlocksCommand, } from "../commands/ListChangedBlocksCommand";
|
|
2
3
|
import { EBSClient } from "../EBSClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListChangedBlocksCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListChangedBlocks(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof EBSClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected EBS | EBSClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListChangedBlocks = createPaginator(EBSClient, ListChangedBlocksCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListSnapshotBlocksCommand, } from "../commands/ListSnapshotBlocksCommand";
|
|
2
3
|
import { EBSClient } from "../EBSClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListSnapshotBlocksCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListSnapshotBlocks(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof EBSClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected EBS | EBSClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListSnapshotBlocks = createPaginator(EBSClient, ListSnapshotBlocksCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
|
|
5
4
|
import { CompleteSnapshotRequest, CompleteSnapshotResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CompleteSnapshotCommandInput extends CompleteSnapshotRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CompleteSnapshotCommandOutput extends CompleteSnapshotResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CompleteSnapshotCommand_base: {
|
|
24
|
+
new (input: CompleteSnapshotCommandInput): import("@smithy/smithy-client").CommandImpl<CompleteSnapshotCommandInput, CompleteSnapshotCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Seals and completes the snapshot after all of the required blocks of data have been
|
|
@@ -82,23 +85,5 @@ export interface CompleteSnapshotCommandOutput extends CompleteSnapshotResponse,
|
|
|
82
85
|
* <p>Base exception class for all service exceptions from EBS service.</p>
|
|
83
86
|
*
|
|
84
87
|
*/
|
|
85
|
-
export declare class CompleteSnapshotCommand extends
|
|
86
|
-
readonly input: CompleteSnapshotCommandInput;
|
|
87
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
88
|
-
/**
|
|
89
|
-
* @public
|
|
90
|
-
*/
|
|
91
|
-
constructor(input: CompleteSnapshotCommandInput);
|
|
92
|
-
/**
|
|
93
|
-
* @internal
|
|
94
|
-
*/
|
|
95
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EBSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CompleteSnapshotCommandInput, CompleteSnapshotCommandOutput>;
|
|
96
|
-
/**
|
|
97
|
-
* @internal
|
|
98
|
-
*/
|
|
99
|
-
private serialize;
|
|
100
|
-
/**
|
|
101
|
-
* @internal
|
|
102
|
-
*/
|
|
103
|
-
private deserialize;
|
|
88
|
+
export declare class CompleteSnapshotCommand extends CompleteSnapshotCommand_base {
|
|
104
89
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types";
|
|
4
3
|
import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
|
|
5
4
|
import { GetSnapshotBlockRequest, GetSnapshotBlockResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -22,6 +21,10 @@ export interface GetSnapshotBlockCommandInput extends GetSnapshotBlockRequest {
|
|
|
22
21
|
export interface GetSnapshotBlockCommandOutput extends Omit<GetSnapshotBlockResponse, "BlockData">, __MetadataBearer {
|
|
23
22
|
BlockData?: StreamingBlobPayloadOutputTypes;
|
|
24
23
|
}
|
|
24
|
+
declare const GetSnapshotBlockCommand_base: {
|
|
25
|
+
new (input: GetSnapshotBlockCommandInput): import("@smithy/smithy-client").CommandImpl<GetSnapshotBlockCommandInput, GetSnapshotBlockCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
25
28
|
/**
|
|
26
29
|
* @public
|
|
27
30
|
* <p>Returns the data in a block in an Amazon Elastic Block Store snapshot.</p>
|
|
@@ -82,23 +85,5 @@ export interface GetSnapshotBlockCommandOutput extends Omit<GetSnapshotBlockResp
|
|
|
82
85
|
* <p>Base exception class for all service exceptions from EBS service.</p>
|
|
83
86
|
*
|
|
84
87
|
*/
|
|
85
|
-
export declare class GetSnapshotBlockCommand extends
|
|
86
|
-
readonly input: GetSnapshotBlockCommandInput;
|
|
87
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
88
|
-
/**
|
|
89
|
-
* @public
|
|
90
|
-
*/
|
|
91
|
-
constructor(input: GetSnapshotBlockCommandInput);
|
|
92
|
-
/**
|
|
93
|
-
* @internal
|
|
94
|
-
*/
|
|
95
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EBSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSnapshotBlockCommandInput, GetSnapshotBlockCommandOutput>;
|
|
96
|
-
/**
|
|
97
|
-
* @internal
|
|
98
|
-
*/
|
|
99
|
-
private serialize;
|
|
100
|
-
/**
|
|
101
|
-
* @internal
|
|
102
|
-
*/
|
|
103
|
-
private deserialize;
|
|
88
|
+
export declare class GetSnapshotBlockCommand extends GetSnapshotBlockCommand_base {
|
|
104
89
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
|
|
5
4
|
import { ListChangedBlocksRequest, ListChangedBlocksResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface ListChangedBlocksCommandInput extends ListChangedBlocksRequest
|
|
|
21
20
|
*/
|
|
22
21
|
export interface ListChangedBlocksCommandOutput extends ListChangedBlocksResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const ListChangedBlocksCommand_base: {
|
|
24
|
+
new (input: ListChangedBlocksCommandInput): import("@smithy/smithy-client").CommandImpl<ListChangedBlocksCommandInput, ListChangedBlocksCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Returns information about the blocks that are different between two
|
|
@@ -91,23 +94,5 @@ export interface ListChangedBlocksCommandOutput extends ListChangedBlocksRespons
|
|
|
91
94
|
* <p>Base exception class for all service exceptions from EBS service.</p>
|
|
92
95
|
*
|
|
93
96
|
*/
|
|
94
|
-
export declare class ListChangedBlocksCommand extends
|
|
95
|
-
readonly input: ListChangedBlocksCommandInput;
|
|
96
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
97
|
-
/**
|
|
98
|
-
* @public
|
|
99
|
-
*/
|
|
100
|
-
constructor(input: ListChangedBlocksCommandInput);
|
|
101
|
-
/**
|
|
102
|
-
* @internal
|
|
103
|
-
*/
|
|
104
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EBSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListChangedBlocksCommandInput, ListChangedBlocksCommandOutput>;
|
|
105
|
-
/**
|
|
106
|
-
* @internal
|
|
107
|
-
*/
|
|
108
|
-
private serialize;
|
|
109
|
-
/**
|
|
110
|
-
* @internal
|
|
111
|
-
*/
|
|
112
|
-
private deserialize;
|
|
97
|
+
export declare class ListChangedBlocksCommand extends ListChangedBlocksCommand_base {
|
|
113
98
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
|
|
5
4
|
import { ListSnapshotBlocksRequest, ListSnapshotBlocksResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface ListSnapshotBlocksCommandInput extends ListSnapshotBlocksReques
|
|
|
21
20
|
*/
|
|
22
21
|
export interface ListSnapshotBlocksCommandOutput extends ListSnapshotBlocksResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const ListSnapshotBlocksCommand_base: {
|
|
24
|
+
new (input: ListSnapshotBlocksCommandInput): import("@smithy/smithy-client").CommandImpl<ListSnapshotBlocksCommandInput, ListSnapshotBlocksCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Returns information about the blocks in an Amazon Elastic Block Store snapshot.</p>
|
|
@@ -88,23 +91,5 @@ export interface ListSnapshotBlocksCommandOutput extends ListSnapshotBlocksRespo
|
|
|
88
91
|
* <p>Base exception class for all service exceptions from EBS service.</p>
|
|
89
92
|
*
|
|
90
93
|
*/
|
|
91
|
-
export declare class ListSnapshotBlocksCommand extends
|
|
92
|
-
readonly input: ListSnapshotBlocksCommandInput;
|
|
93
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
94
|
-
/**
|
|
95
|
-
* @public
|
|
96
|
-
*/
|
|
97
|
-
constructor(input: ListSnapshotBlocksCommandInput);
|
|
98
|
-
/**
|
|
99
|
-
* @internal
|
|
100
|
-
*/
|
|
101
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EBSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSnapshotBlocksCommandInput, ListSnapshotBlocksCommandOutput>;
|
|
102
|
-
/**
|
|
103
|
-
* @internal
|
|
104
|
-
*/
|
|
105
|
-
private serialize;
|
|
106
|
-
/**
|
|
107
|
-
* @internal
|
|
108
|
-
*/
|
|
109
|
-
private deserialize;
|
|
94
|
+
export declare class ListSnapshotBlocksCommand extends ListSnapshotBlocksCommand_base {
|
|
110
95
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer, StreamingBlobPayloadInputTypes } from "@smithy/types";
|
|
4
3
|
import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
|
|
5
4
|
import { PutSnapshotBlockRequest, PutSnapshotBlockResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -22,6 +21,10 @@ export interface PutSnapshotBlockCommandInput extends Omit<PutSnapshotBlockReque
|
|
|
22
21
|
*/
|
|
23
22
|
export interface PutSnapshotBlockCommandOutput extends PutSnapshotBlockResponse, __MetadataBearer {
|
|
24
23
|
}
|
|
24
|
+
declare const PutSnapshotBlockCommand_base: {
|
|
25
|
+
new (input: PutSnapshotBlockCommandInput): import("@smithy/smithy-client").CommandImpl<PutSnapshotBlockCommandInput, PutSnapshotBlockCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
25
28
|
/**
|
|
26
29
|
* @public
|
|
27
30
|
* <p>Writes a block of data to a snapshot. If the specified block contains
|
|
@@ -87,23 +90,5 @@ export interface PutSnapshotBlockCommandOutput extends PutSnapshotBlockResponse,
|
|
|
87
90
|
* <p>Base exception class for all service exceptions from EBS service.</p>
|
|
88
91
|
*
|
|
89
92
|
*/
|
|
90
|
-
export declare class PutSnapshotBlockCommand extends
|
|
91
|
-
readonly input: PutSnapshotBlockCommandInput;
|
|
92
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
93
|
-
/**
|
|
94
|
-
* @public
|
|
95
|
-
*/
|
|
96
|
-
constructor(input: PutSnapshotBlockCommandInput);
|
|
97
|
-
/**
|
|
98
|
-
* @internal
|
|
99
|
-
*/
|
|
100
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EBSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutSnapshotBlockCommandInput, PutSnapshotBlockCommandOutput>;
|
|
101
|
-
/**
|
|
102
|
-
* @internal
|
|
103
|
-
*/
|
|
104
|
-
private serialize;
|
|
105
|
-
/**
|
|
106
|
-
* @internal
|
|
107
|
-
*/
|
|
108
|
-
private deserialize;
|
|
93
|
+
export declare class PutSnapshotBlockCommand extends PutSnapshotBlockCommand_base {
|
|
109
94
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
|
|
5
4
|
import { StartSnapshotRequest, StartSnapshotResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface StartSnapshotCommandInput extends StartSnapshotRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface StartSnapshotCommandOutput extends StartSnapshotResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const StartSnapshotCommand_base: {
|
|
24
|
+
new (input: StartSnapshotCommandInput): import("@smithy/smithy-client").CommandImpl<StartSnapshotCommandInput, StartSnapshotCommandOutput, EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates a new Amazon EBS snapshot. The new snapshot enters the <code>pending</code> state
|
|
@@ -115,23 +118,5 @@ export interface StartSnapshotCommandOutput extends StartSnapshotResponse, __Met
|
|
|
115
118
|
* <p>Base exception class for all service exceptions from EBS service.</p>
|
|
116
119
|
*
|
|
117
120
|
*/
|
|
118
|
-
export declare class StartSnapshotCommand extends
|
|
119
|
-
readonly input: StartSnapshotCommandInput;
|
|
120
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
121
|
-
/**
|
|
122
|
-
* @public
|
|
123
|
-
*/
|
|
124
|
-
constructor(input: StartSnapshotCommandInput);
|
|
125
|
-
/**
|
|
126
|
-
* @internal
|
|
127
|
-
*/
|
|
128
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EBSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartSnapshotCommandInput, StartSnapshotCommandOutput>;
|
|
129
|
-
/**
|
|
130
|
-
* @internal
|
|
131
|
-
*/
|
|
132
|
-
private serialize;
|
|
133
|
-
/**
|
|
134
|
-
* @internal
|
|
135
|
-
*/
|
|
136
|
-
private deserialize;
|
|
121
|
+
export declare class StartSnapshotCommand extends StartSnapshotCommand_base {
|
|
137
122
|
}
|
|
@@ -14,6 +14,24 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
|
14
14
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
15
15
|
defaultSigningName: string;
|
|
16
16
|
};
|
|
17
|
+
export declare const commonParams: {
|
|
18
|
+
readonly UseFIPS: {
|
|
19
|
+
readonly type: "builtInParams";
|
|
20
|
+
readonly name: "useFipsEndpoint";
|
|
21
|
+
};
|
|
22
|
+
readonly Endpoint: {
|
|
23
|
+
readonly type: "builtInParams";
|
|
24
|
+
readonly name: "endpoint";
|
|
25
|
+
};
|
|
26
|
+
readonly Region: {
|
|
27
|
+
readonly type: "builtInParams";
|
|
28
|
+
readonly name: "region";
|
|
29
|
+
};
|
|
30
|
+
readonly UseDualStack: {
|
|
31
|
+
readonly type: "builtInParams";
|
|
32
|
+
readonly name: "useDualstackEndpoint";
|
|
33
|
+
};
|
|
34
|
+
};
|
|
17
35
|
export interface EndpointParameters extends __EndpointParameters {
|
|
18
36
|
Region?: string;
|
|
19
37
|
UseDualStack?: boolean;
|
|
@@ -4,4 +4,4 @@ import { EBSPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListChangedBlocks: (config: EBSPaginationConfiguration, input: ListChangedBlocksCommandInput, ...rest: any[]) => Paginator<ListChangedBlocksCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { EBSPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListSnapshotBlocks: (config: EBSPaginationConfiguration, input: ListSnapshotBlocksCommandInput, ...rest: any[]) => Paginator<ListSnapshotBlocksCommandOutput>;
|