@aws-sdk/client-ebs 3.478.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.
Files changed (29) hide show
  1. package/dist-cjs/commands/CompleteSnapshotCommand.js +18 -41
  2. package/dist-cjs/commands/GetSnapshotBlockCommand.js +18 -41
  3. package/dist-cjs/commands/ListChangedBlocksCommand.js +18 -41
  4. package/dist-cjs/commands/ListSnapshotBlocksCommand.js +18 -41
  5. package/dist-cjs/commands/PutSnapshotBlockCommand.js +18 -41
  6. package/dist-cjs/commands/StartSnapshotCommand.js +18 -41
  7. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  8. package/dist-es/commands/CompleteSnapshotCommand.js +18 -41
  9. package/dist-es/commands/GetSnapshotBlockCommand.js +18 -41
  10. package/dist-es/commands/ListChangedBlocksCommand.js +18 -41
  11. package/dist-es/commands/ListSnapshotBlocksCommand.js +18 -41
  12. package/dist-es/commands/PutSnapshotBlockCommand.js +18 -41
  13. package/dist-es/commands/StartSnapshotCommand.js +18 -41
  14. package/dist-es/endpoint/EndpointParameters.js +6 -0
  15. package/dist-types/commands/CompleteSnapshotCommand.d.ts +6 -21
  16. package/dist-types/commands/GetSnapshotBlockCommand.d.ts +6 -21
  17. package/dist-types/commands/ListChangedBlocksCommand.d.ts +6 -21
  18. package/dist-types/commands/ListSnapshotBlocksCommand.d.ts +6 -21
  19. package/dist-types/commands/PutSnapshotBlockCommand.d.ts +6 -21
  20. package/dist-types/commands/StartSnapshotCommand.d.ts +6 -21
  21. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  22. package/dist-types/ts3.4/commands/CompleteSnapshotCommand.d.ts +14 -23
  23. package/dist-types/ts3.4/commands/GetSnapshotBlockCommand.d.ts +13 -20
  24. package/dist-types/ts3.4/commands/ListChangedBlocksCommand.d.ts +14 -23
  25. package/dist-types/ts3.4/commands/ListSnapshotBlocksCommand.d.ts +14 -23
  26. package/dist-types/ts3.4/commands/PutSnapshotBlockCommand.d.ts +13 -20
  27. package/dist-types/ts3.4/commands/StartSnapshotCommand.d.ts +14 -23
  28. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  29. package/package.json +9 -9
@@ -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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
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
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, ListSnapshotBlocksCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
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
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, PutSnapshotBlockCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
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
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, StartSnapshotCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
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,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
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 $Command<CompleteSnapshotCommandInput, CompleteSnapshotCommandOutput, EBSClientResolvedConfig> {
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 { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack, StreamingBlobPayloadOutputTypes } from "@smithy/types";
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 $Command<GetSnapshotBlockCommandInput, GetSnapshotBlockCommandOutput, EBSClientResolvedConfig> {
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 { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
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 $Command<ListChangedBlocksCommandInput, ListChangedBlocksCommandOutput, EBSClientResolvedConfig> {
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 { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
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 $Command<ListSnapshotBlocksCommandInput, ListSnapshotBlocksCommandOutput, EBSClientResolvedConfig> {
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 { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack, StreamingBlobPayloadInputTypes } from "@smithy/types";
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 $Command<PutSnapshotBlockCommandInput, PutSnapshotBlockCommandOutput, EBSClientResolvedConfig> {
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 { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
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 $Command<StartSnapshotCommandInput, StartSnapshotCommandOutput, EBSClientResolvedConfig> {
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;
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  EBSClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -20,19 +14,16 @@ export interface CompleteSnapshotCommandInput extends CompleteSnapshotRequest {}
20
14
  export interface CompleteSnapshotCommandOutput
21
15
  extends CompleteSnapshotResponse,
22
16
  __MetadataBearer {}
23
- export declare class CompleteSnapshotCommand extends $Command<
24
- CompleteSnapshotCommandInput,
25
- CompleteSnapshotCommandOutput,
26
- EBSClientResolvedConfig
27
- > {
28
- readonly input: CompleteSnapshotCommandInput;
29
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
- constructor(input: CompleteSnapshotCommandInput);
31
- resolveMiddleware(
32
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
- configuration: EBSClientResolvedConfig,
34
- options?: __HttpHandlerOptions
35
- ): Handler<CompleteSnapshotCommandInput, CompleteSnapshotCommandOutput>;
36
- private serialize;
37
- private deserialize;
38
- }
17
+ declare const CompleteSnapshotCommand_base: {
18
+ new (
19
+ input: CompleteSnapshotCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ CompleteSnapshotCommandInput,
22
+ CompleteSnapshotCommandOutput,
23
+ EBSClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ export declare class CompleteSnapshotCommand extends CompleteSnapshotCommand_base {}
@@ -1,10 +1,6 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
2
  import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
3
  MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
4
  StreamingBlobPayloadOutputTypes,
9
5
  } from "@smithy/types";
10
6
  import {
@@ -26,19 +22,16 @@ export interface GetSnapshotBlockCommandOutput
26
22
  __MetadataBearer {
27
23
  BlockData?: StreamingBlobPayloadOutputTypes;
28
24
  }
29
- export declare class GetSnapshotBlockCommand extends $Command<
30
- GetSnapshotBlockCommandInput,
31
- GetSnapshotBlockCommandOutput,
32
- EBSClientResolvedConfig
33
- > {
34
- readonly input: GetSnapshotBlockCommandInput;
35
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
36
- constructor(input: GetSnapshotBlockCommandInput);
37
- resolveMiddleware(
38
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
39
- configuration: EBSClientResolvedConfig,
40
- options?: __HttpHandlerOptions
41
- ): Handler<GetSnapshotBlockCommandInput, GetSnapshotBlockCommandOutput>;
42
- private serialize;
43
- private deserialize;
44
- }
25
+ declare const GetSnapshotBlockCommand_base: {
26
+ new (
27
+ input: GetSnapshotBlockCommandInput
28
+ ): import("@smithy/smithy-client").CommandImpl<
29
+ GetSnapshotBlockCommandInput,
30
+ GetSnapshotBlockCommandOutput,
31
+ EBSClientResolvedConfig,
32
+ ServiceInputTypes,
33
+ ServiceOutputTypes
34
+ >;
35
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
36
+ };
37
+ export declare class GetSnapshotBlockCommand extends GetSnapshotBlockCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  EBSClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -21,19 +15,16 @@ export interface ListChangedBlocksCommandInput
21
15
  export interface ListChangedBlocksCommandOutput
22
16
  extends ListChangedBlocksResponse,
23
17
  __MetadataBearer {}
24
- export declare class ListChangedBlocksCommand extends $Command<
25
- ListChangedBlocksCommandInput,
26
- ListChangedBlocksCommandOutput,
27
- EBSClientResolvedConfig
28
- > {
29
- readonly input: ListChangedBlocksCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: ListChangedBlocksCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: EBSClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<ListChangedBlocksCommandInput, ListChangedBlocksCommandOutput>;
37
- private serialize;
38
- private deserialize;
39
- }
18
+ declare const ListChangedBlocksCommand_base: {
19
+ new (
20
+ input: ListChangedBlocksCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ ListChangedBlocksCommandInput,
23
+ ListChangedBlocksCommandOutput,
24
+ EBSClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class ListChangedBlocksCommand extends ListChangedBlocksCommand_base {}