@aws-sdk/client-ebs 3.31.0 → 3.35.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/CHANGELOG.md +39 -0
- package/{dist/cjs → dist-cjs}/EBS.js +1 -1
- package/dist-cjs/EBS.js.map +1 -0
- package/{dist/cjs → dist-cjs}/EBSClient.js +14 -14
- package/dist-cjs/EBSClient.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CompleteSnapshotCommand.js +5 -5
- package/dist-cjs/commands/CompleteSnapshotCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetSnapshotBlockCommand.js +5 -5
- package/dist-cjs/commands/GetSnapshotBlockCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListChangedBlocksCommand.js +5 -5
- package/dist-cjs/commands/ListChangedBlocksCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListSnapshotBlocksCommand.js +5 -5
- package/dist-cjs/commands/ListSnapshotBlocksCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/PutSnapshotBlockCommand.js +5 -5
- package/dist-cjs/commands/PutSnapshotBlockCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/StartSnapshotCommand.js +5 -5
- package/dist-cjs/commands/StartSnapshotCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -1
- package/dist-cjs/endpoints.js.map +1 -0
- package/dist-cjs/index.js +16 -0
- package/dist-cjs/index.js.map +1 -0
- package/{dist/cjs → dist-cjs}/models/index.js +1 -1
- package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
- package/dist-cjs/models/models_0.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js.map +1 -1
- package/{dist/cjs → dist-cjs}/pagination/ListChangedBlocksPaginator.js +1 -1
- package/dist-cjs/pagination/ListChangedBlocksPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/ListSnapshotBlocksPaginator.js +1 -1
- package/dist-cjs/pagination/ListSnapshotBlocksPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +52 -52
- package/dist-cjs/protocols/Aws_restJson1.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +5 -4
- package/dist-cjs/runtimeConfig.browser.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +10 -9
- package/dist-cjs/runtimeConfig.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +1 -1
- package/dist-cjs/runtimeConfig.native.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
- package/dist-cjs/runtimeConfig.shared.js.map +1 -0
- package/{dist/es → dist-es}/EBS.js +2 -24
- package/dist-es/EBS.js.map +1 -0
- package/dist-es/EBSClient.js +38 -0
- package/dist-es/EBSClient.js.map +1 -0
- package/{dist/es → dist-es}/commands/CompleteSnapshotCommand.js +4 -31
- package/dist-es/commands/CompleteSnapshotCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetSnapshotBlockCommand.js +4 -29
- package/dist-es/commands/GetSnapshotBlockCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListChangedBlocksCommand.js +4 -30
- package/dist-es/commands/ListChangedBlocksCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListSnapshotBlocksCommand.js +4 -29
- package/dist-es/commands/ListSnapshotBlocksCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/PutSnapshotBlockCommand.js +4 -32
- package/dist-es/commands/PutSnapshotBlockCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/StartSnapshotCommand.js +4 -32
- package/dist-es/commands/StartSnapshotCommand.js.map +1 -0
- package/{dist/es → dist-es}/endpoints.js +1 -1
- package/dist-es/endpoints.js.map +1 -0
- package/{dist/es → dist-es}/index.js +0 -0
- package/dist-es/index.js.map +1 -0
- package/{dist/es → dist-es}/models/index.js +0 -0
- package/dist-es/models/index.js.map +1 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -69
- package/dist-es/models/models_0.js.map +1 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js.map +1 -1
- package/{dist/es → dist-es}/pagination/ListChangedBlocksPaginator.js +17 -29
- package/dist-es/pagination/ListChangedBlocksPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/ListSnapshotBlocksPaginator.js +17 -29
- package/dist-es/pagination/ListSnapshotBlocksPaginator.js.map +1 -0
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +207 -212
- package/dist-es/protocols/Aws_restJson1.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -4
- package/dist-es/runtimeConfig.browser.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.js +2 -5
- package/dist-es/runtimeConfig.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -3
- package/dist-es/runtimeConfig.native.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -4
- package/dist-es/runtimeConfig.shared.js.map +1 -0
- package/{dist/types → dist-types}/EBS.d.ts +2 -2
- package/{dist/types → dist-types}/EBSClient.d.ts +7 -7
- package/{dist/types → dist-types}/commands/CompleteSnapshotCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetSnapshotBlockCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListChangedBlocksCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListSnapshotBlocksCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutSnapshotBlockCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartSnapshotCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/index.d.ts +0 -0
- package/{dist/types → dist-types}/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListChangedBlocksPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListSnapshotBlocksPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/EBS.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/EBSClient.d.ts +7 -7
- package/{dist/types → dist-types}/ts3.4/commands/CompleteSnapshotCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetSnapshotBlockCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListChangedBlocksCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListSnapshotBlocksCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/PutSnapshotBlockCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/StartSnapshotCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListChangedBlocksPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListSnapshotBlocksPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +50 -50
- package/{EBS.ts → src/EBS.ts} +3 -2
- package/{EBSClient.ts → src/EBSClient.ts} +21 -20
- package/{commands → src/commands}/CompleteSnapshotCommand.ts +8 -7
- package/{commands → src/commands}/GetSnapshotBlockCommand.ts +8 -7
- package/{commands → src/commands}/ListChangedBlocksCommand.ts +8 -7
- package/{commands → src/commands}/ListSnapshotBlocksCommand.ts +8 -7
- package/{commands → src/commands}/PutSnapshotBlockCommand.ts +8 -7
- package/{commands → src/commands}/StartSnapshotCommand.ts +8 -7
- package/{endpoints.ts → src/endpoints.ts} +1 -1
- package/{index.ts → src/index.ts} +0 -0
- package/{models → src/models}/index.ts +0 -0
- package/{models → src/models}/models_0.ts +0 -0
- package/{pagination → src/pagination}/Interfaces.ts +2 -1
- package/{pagination → src/pagination}/ListChangedBlocksPaginator.ts +4 -3
- package/{pagination → src/pagination}/ListSnapshotBlocksPaginator.ts +4 -3
- package/{protocols → src/protocols}/Aws_restJson1.ts +27 -26
- package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +3 -2
- package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +1 -0
- package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
- package/{runtimeConfig.ts → src/runtimeConfig.ts} +4 -3
- package/tsconfig.es.json +1 -3
- package/tsconfig.json +7 -7
- package/tsconfig.types.json +9 -0
- package/dist/cjs/EBS.js.map +0 -1
- package/dist/cjs/EBSClient.js.map +0 -1
- package/dist/cjs/commands/CompleteSnapshotCommand.js.map +0 -1
- package/dist/cjs/commands/GetSnapshotBlockCommand.js.map +0 -1
- package/dist/cjs/commands/ListChangedBlocksCommand.js.map +0 -1
- package/dist/cjs/commands/ListSnapshotBlocksCommand.js.map +0 -1
- package/dist/cjs/commands/PutSnapshotBlockCommand.js.map +0 -1
- package/dist/cjs/commands/StartSnapshotCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js +0 -16
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -93
- package/dist/cjs/pagination/ListChangedBlocksPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListSnapshotBlocksPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/EBS.js.map +0 -1
- package/dist/es/EBSClient.js +0 -65
- package/dist/es/EBSClient.js.map +0 -1
- package/dist/es/commands/CompleteSnapshotCommand.js.map +0 -1
- package/dist/es/commands/GetSnapshotBlockCommand.js.map +0 -1
- package/dist/es/commands/ListChangedBlocksCommand.js.map +0 -1
- package/dist/es/commands/ListSnapshotBlocksCommand.js.map +0 -1
- package/dist/es/commands/PutSnapshotBlockCommand.js.map +0 -1
- package/dist/es/commands/StartSnapshotCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -93
- package/dist/es/pagination/ListChangedBlocksPaginator.js.map +0 -1
- package/dist/es/pagination/ListSnapshotBlocksPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
2
4
|
import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
|
|
3
5
|
import { PutSnapshotBlockRequest, PutSnapshotBlockResponse } from "../models/models_0";
|
|
4
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
6
6
|
declare type PutSnapshotBlockCommandInputType = Pick<PutSnapshotBlockRequest, Exclude<keyof PutSnapshotBlockRequest, "BlockData">> & {
|
|
7
7
|
/**
|
|
8
8
|
* For *`PutSnapshotBlockRequest["BlockData"]`*, see {@link PutSnapshotBlockRequest.BlockData}.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
1
3
|
import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
|
|
2
4
|
import { StartSnapshotRequest, StartSnapshotResponse } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
5
|
export interface StartSnapshotCommandInput extends StartSnapshotRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface StartSnapshotCommandOutput extends StartSnapshotResponse, __MetadataBearer {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
1
2
|
import { EBS } from "../EBS";
|
|
2
3
|
import { EBSClient } from "../EBSClient";
|
|
3
|
-
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
4
4
|
export interface EBSPaginationConfiguration extends PaginationConfiguration {
|
|
5
5
|
client: EBS | EBSClient;
|
|
6
6
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
1
2
|
import { ListChangedBlocksCommandInput, ListChangedBlocksCommandOutput } from "../commands/ListChangedBlocksCommand";
|
|
2
3
|
import { EBSPaginationConfiguration } from "./Interfaces";
|
|
3
|
-
import { Paginator } from "@aws-sdk/types";
|
|
4
4
|
export declare function paginateListChangedBlocks(config: EBSPaginationConfiguration, input: ListChangedBlocksCommandInput, ...additionalArguments: any): Paginator<ListChangedBlocksCommandOutput>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
1
2
|
import { ListSnapshotBlocksCommandInput, ListSnapshotBlocksCommandOutput } from "../commands/ListSnapshotBlocksCommand";
|
|
2
3
|
import { EBSPaginationConfiguration } from "./Interfaces";
|
|
3
|
-
import { Paginator } from "@aws-sdk/types";
|
|
4
4
|
export declare function paginateListSnapshotBlocks(config: EBSPaginationConfiguration, input: ListSnapshotBlocksCommandInput, ...additionalArguments: any): Paginator<ListSnapshotBlocksCommandOutput>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
1
3
|
import { CompleteSnapshotCommandInput, CompleteSnapshotCommandOutput } from "../commands/CompleteSnapshotCommand";
|
|
2
4
|
import { GetSnapshotBlockCommandInput, GetSnapshotBlockCommandOutput } from "../commands/GetSnapshotBlockCommand";
|
|
3
5
|
import { ListChangedBlocksCommandInput, ListChangedBlocksCommandOutput } from "../commands/ListChangedBlocksCommand";
|
|
4
6
|
import { ListSnapshotBlocksCommandInput, ListSnapshotBlocksCommandOutput } from "../commands/ListSnapshotBlocksCommand";
|
|
5
7
|
import { PutSnapshotBlockCommandInput, PutSnapshotBlockCommandOutput } from "../commands/PutSnapshotBlockCommand";
|
|
6
8
|
import { StartSnapshotCommandInput, StartSnapshotCommandOutput } from "../commands/StartSnapshotCommand";
|
|
7
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
8
|
-
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
9
9
|
export declare const serializeAws_restJson1CompleteSnapshotCommand: (input: CompleteSnapshotCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
10
10
|
export declare const serializeAws_restJson1GetSnapshotBlockCommand: (input: GetSnapshotBlockCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
11
11
|
export declare const serializeAws_restJson1ListChangedBlocksCommand: (input: ListChangedBlocksCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -32,5 +32,6 @@ export declare const getRuntimeConfig: (config: EBSClientConfig) => {
|
|
|
32
32
|
signingEscapePath?: boolean | undefined;
|
|
33
33
|
systemClockOffset?: number | undefined;
|
|
34
34
|
signingRegion?: string | undefined;
|
|
35
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
35
36
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
36
37
|
};
|
|
@@ -1,36 +1,37 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
-
import { EBSClientConfig } from "./EBSClient";
|
|
3
|
-
/**
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
6
|
-
export declare const getRuntimeConfig: (config: EBSClientConfig) => {
|
|
7
|
-
runtime: string;
|
|
8
|
-
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
|
-
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
|
-
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/client-sts/dist
|
|
12
|
-
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
|
-
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
|
-
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
|
|
16
|
-
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
|
-
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
|
-
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
19
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
|
-
apiVersion: string;
|
|
22
|
-
urlParser: import("@aws-sdk/types").UrlParser;
|
|
23
|
-
disableHostPrefix: boolean;
|
|
24
|
-
logger: import("@aws-sdk/types").Logger;
|
|
25
|
-
serviceId: string;
|
|
26
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
|
-
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
|
-
tls?: boolean | undefined;
|
|
29
|
-
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
30
|
-
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
31
|
-
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
32
|
-
signingEscapePath?: boolean | undefined;
|
|
33
|
-
systemClockOffset?: number | undefined;
|
|
34
|
-
signingRegion?: string | undefined;
|
|
35
|
-
|
|
36
|
-
|
|
1
|
+
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { EBSClientConfig } from "./EBSClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: EBSClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
+
credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
|
|
12
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
|
+
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
|
|
16
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
19
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
|
+
apiVersion: string;
|
|
22
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
23
|
+
disableHostPrefix: boolean;
|
|
24
|
+
logger: import("@aws-sdk/types").Logger;
|
|
25
|
+
serviceId: string;
|
|
26
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
|
+
tls?: boolean | undefined;
|
|
29
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
30
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
31
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
32
|
+
signingEscapePath?: boolean | undefined;
|
|
33
|
+
systemClockOffset?: number | undefined;
|
|
34
|
+
signingRegion?: string | undefined;
|
|
35
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
36
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
37
|
+
};
|
|
@@ -1,35 +1,36 @@
|
|
|
1
|
-
import { EBSClientConfig } from "./EBSClient";
|
|
2
|
-
/**
|
|
3
|
-
* @internal
|
|
4
|
-
*/
|
|
5
|
-
export declare const getRuntimeConfig: (config: EBSClientConfig) => {
|
|
6
|
-
runtime: string;
|
|
7
|
-
sha256: import("@aws-sdk/types").HashConstructor;
|
|
8
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
|
-
apiVersion: string;
|
|
10
|
-
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (body: any) => number | undefined;
|
|
12
|
-
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
|
-
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
|
-
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
15
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
16
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
17
|
-
disableHostPrefix: boolean;
|
|
18
|
-
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
19
|
-
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
20
|
-
logger: import("@aws-sdk/types").Logger;
|
|
21
|
-
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
|
|
23
|
-
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
|
-
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
-
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
|
-
tls?: boolean | undefined;
|
|
28
|
-
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
29
|
-
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
30
|
-
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
31
|
-
signingEscapePath?: boolean | undefined;
|
|
32
|
-
systemClockOffset?: number | undefined;
|
|
33
|
-
signingRegion?: string | undefined;
|
|
34
|
-
|
|
35
|
-
|
|
1
|
+
import { EBSClientConfig } from "./EBSClient";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: EBSClientConfig) => {
|
|
6
|
+
runtime: string;
|
|
7
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
8
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
|
+
apiVersion: string;
|
|
10
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
12
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
15
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
16
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
17
|
+
disableHostPrefix: boolean;
|
|
18
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
19
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
20
|
+
logger: import("@aws-sdk/types").Logger;
|
|
21
|
+
serviceId: string;
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
|
|
23
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
|
+
tls?: boolean | undefined;
|
|
28
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
29
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
30
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
31
|
+
signingEscapePath?: boolean | undefined;
|
|
32
|
+
systemClockOffset?: number | undefined;
|
|
33
|
+
signingRegion?: string | undefined;
|
|
34
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
35
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
36
|
+
};
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,65 +1,59 @@
|
|
|
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.35.0",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"
|
|
7
|
-
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
8
|
-
"remove-definitions": "rimraf ./types",
|
|
9
|
-
"remove-dist": "rimraf ./dist",
|
|
10
|
-
"remove-documentation": "rimraf ./docs",
|
|
11
|
-
"test": "exit 0",
|
|
6
|
+
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
12
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
+
"build:docs": "yarn clean:docs && typedoc ./",
|
|
13
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
14
|
-
"build": "
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"browser": {
|
|
21
|
-
"./runtimeConfig": "./runtimeConfig.browser"
|
|
22
|
-
},
|
|
23
|
-
"react-native": {
|
|
24
|
-
"./runtimeConfig": "./runtimeConfig.native"
|
|
10
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
+
"clean": "yarn clean:dist && yarn clean:docs",
|
|
12
|
+
"clean:dist": "rimraf ./dist",
|
|
13
|
+
"clean:docs": "rimraf ./docs",
|
|
14
|
+
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
+
"test": "exit 0"
|
|
25
16
|
},
|
|
17
|
+
"main": "./dist-cjs/index.js",
|
|
18
|
+
"types": "./dist-types/index.d.ts",
|
|
19
|
+
"module": "./dist-es/index.js",
|
|
26
20
|
"sideEffects": false,
|
|
27
21
|
"dependencies": {
|
|
28
22
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
23
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.35.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.35.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.35.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.35.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.35.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.35.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.35.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.35.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.35.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.35.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.35.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.35.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.35.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.35.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.35.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.35.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.35.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.35.0",
|
|
42
|
+
"@aws-sdk/types": "3.35.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.35.0",
|
|
44
|
+
"@aws-sdk/util-base64-browser": "3.35.0",
|
|
45
|
+
"@aws-sdk/util-base64-node": "3.35.0",
|
|
46
|
+
"@aws-sdk/util-body-length-browser": "3.35.0",
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.35.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.35.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.35.0",
|
|
50
|
+
"@aws-sdk/util-utf8-browser": "3.35.0",
|
|
51
|
+
"@aws-sdk/util-utf8-node": "3.35.0",
|
|
58
52
|
"tslib": "^2.3.0",
|
|
59
53
|
"uuid": "^8.3.2"
|
|
60
54
|
},
|
|
61
55
|
"devDependencies": {
|
|
62
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
56
|
+
"@aws-sdk/client-documentation-generator": "3.35.0",
|
|
63
57
|
"@types/node": "^12.7.5",
|
|
64
58
|
"@types/uuid": "^8.3.0",
|
|
65
59
|
"downlevel-dts": "0.7.0",
|
|
@@ -67,15 +61,15 @@
|
|
|
67
61
|
"rimraf": "^3.0.0",
|
|
68
62
|
"ts-jest": "^26.4.1",
|
|
69
63
|
"typedoc": "^0.19.2",
|
|
70
|
-
"typescript": "~4.
|
|
64
|
+
"typescript": "~4.3.5"
|
|
71
65
|
},
|
|
72
66
|
"engines": {
|
|
73
67
|
"node": ">=10.0.0"
|
|
74
68
|
},
|
|
75
69
|
"typesVersions": {
|
|
76
70
|
"<4.0": {
|
|
77
|
-
"dist
|
|
78
|
-
"dist
|
|
71
|
+
"dist-types/*": [
|
|
72
|
+
"dist-types/ts3.4/*"
|
|
79
73
|
]
|
|
80
74
|
}
|
|
81
75
|
},
|
|
@@ -84,6 +78,12 @@
|
|
|
84
78
|
"url": "https://aws.amazon.com/javascript/"
|
|
85
79
|
},
|
|
86
80
|
"license": "Apache-2.0",
|
|
81
|
+
"browser": {
|
|
82
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
83
|
+
},
|
|
84
|
+
"react-native": {
|
|
85
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
86
|
+
},
|
|
87
87
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ebs",
|
|
88
88
|
"repository": {
|
|
89
89
|
"type": "git",
|
package/{EBS.ts → src/EBS.ts}
RENAMED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
|
|
2
3
|
import {
|
|
3
4
|
CompleteSnapshotCommand,
|
|
4
5
|
CompleteSnapshotCommandInput,
|
|
@@ -29,7 +30,7 @@ import {
|
|
|
29
30
|
StartSnapshotCommandInput,
|
|
30
31
|
StartSnapshotCommandOutput,
|
|
31
32
|
} from "./commands/StartSnapshotCommand";
|
|
32
|
-
import {
|
|
33
|
+
import { EBSClient } from "./EBSClient";
|
|
33
34
|
|
|
34
35
|
/**
|
|
35
36
|
* <p>You can use the Amazon Elastic Block Store (Amazon EBS) direct APIs to create Amazon EBS snapshots, write data directly to
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import { CompleteSnapshotCommandInput, CompleteSnapshotCommandOutput } from "./commands/CompleteSnapshotCommand";
|
|
2
|
-
import { GetSnapshotBlockCommandInput, GetSnapshotBlockCommandOutput } from "./commands/GetSnapshotBlockCommand";
|
|
3
|
-
import { ListChangedBlocksCommandInput, ListChangedBlocksCommandOutput } from "./commands/ListChangedBlocksCommand";
|
|
4
|
-
import { ListSnapshotBlocksCommandInput, ListSnapshotBlocksCommandOutput } from "./commands/ListSnapshotBlocksCommand";
|
|
5
|
-
import { PutSnapshotBlockCommandInput, PutSnapshotBlockCommandOutput } from "./commands/PutSnapshotBlockCommand";
|
|
6
|
-
import { StartSnapshotCommandInput, StartSnapshotCommandOutput } from "./commands/StartSnapshotCommand";
|
|
7
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
8
1
|
import {
|
|
9
2
|
EndpointsInputConfig,
|
|
10
3
|
EndpointsResolvedConfig,
|
|
@@ -15,13 +8,13 @@ import {
|
|
|
15
8
|
} from "@aws-sdk/config-resolver";
|
|
16
9
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
17
10
|
import {
|
|
11
|
+
getHostHeaderPlugin,
|
|
18
12
|
HostHeaderInputConfig,
|
|
19
13
|
HostHeaderResolvedConfig,
|
|
20
|
-
getHostHeaderPlugin,
|
|
21
14
|
resolveHostHeaderConfig,
|
|
22
15
|
} from "@aws-sdk/middleware-host-header";
|
|
23
16
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
24
|
-
import {
|
|
17
|
+
import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
25
18
|
import {
|
|
26
19
|
AwsAuthInputConfig,
|
|
27
20
|
AwsAuthResolvedConfig,
|
|
@@ -29,10 +22,10 @@ import {
|
|
|
29
22
|
resolveAwsAuthConfig,
|
|
30
23
|
} from "@aws-sdk/middleware-signing";
|
|
31
24
|
import {
|
|
32
|
-
UserAgentInputConfig,
|
|
33
|
-
UserAgentResolvedConfig,
|
|
34
25
|
getUserAgentPlugin,
|
|
35
26
|
resolveUserAgentConfig,
|
|
27
|
+
UserAgentInputConfig,
|
|
28
|
+
UserAgentResolvedConfig,
|
|
36
29
|
} from "@aws-sdk/middleware-user-agent";
|
|
37
30
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
38
31
|
import {
|
|
@@ -41,8 +34,6 @@ import {
|
|
|
41
34
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
42
35
|
} from "@aws-sdk/smithy-client";
|
|
43
36
|
import {
|
|
44
|
-
Provider,
|
|
45
|
-
RegionInfoProvider,
|
|
46
37
|
Credentials as __Credentials,
|
|
47
38
|
Decoder as __Decoder,
|
|
48
39
|
Encoder as __Encoder,
|
|
@@ -51,11 +42,21 @@ import {
|
|
|
51
42
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
52
43
|
Logger as __Logger,
|
|
53
44
|
Provider as __Provider,
|
|
45
|
+
Provider,
|
|
46
|
+
RegionInfoProvider,
|
|
54
47
|
StreamCollector as __StreamCollector,
|
|
55
48
|
UrlParser as __UrlParser,
|
|
56
49
|
UserAgent as __UserAgent,
|
|
57
50
|
} from "@aws-sdk/types";
|
|
58
51
|
|
|
52
|
+
import { CompleteSnapshotCommandInput, CompleteSnapshotCommandOutput } from "./commands/CompleteSnapshotCommand";
|
|
53
|
+
import { GetSnapshotBlockCommandInput, GetSnapshotBlockCommandOutput } from "./commands/GetSnapshotBlockCommand";
|
|
54
|
+
import { ListChangedBlocksCommandInput, ListChangedBlocksCommandOutput } from "./commands/ListChangedBlocksCommand";
|
|
55
|
+
import { ListSnapshotBlocksCommandInput, ListSnapshotBlocksCommandOutput } from "./commands/ListSnapshotBlocksCommand";
|
|
56
|
+
import { PutSnapshotBlockCommandInput, PutSnapshotBlockCommandOutput } from "./commands/PutSnapshotBlockCommand";
|
|
57
|
+
import { StartSnapshotCommandInput, StartSnapshotCommandOutput } from "./commands/StartSnapshotCommand";
|
|
58
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
59
|
+
|
|
59
60
|
export type ServiceInputTypes =
|
|
60
61
|
| CompleteSnapshotCommandInput
|
|
61
62
|
| GetSnapshotBlockCommandInput
|
|
@@ -244,13 +245,13 @@ export class EBSClient extends __Client<
|
|
|
244
245
|
readonly config: EBSClientResolvedConfig;
|
|
245
246
|
|
|
246
247
|
constructor(configuration: EBSClientConfig) {
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
248
|
+
const _config_0 = __getRuntimeConfig(configuration);
|
|
249
|
+
const _config_1 = resolveRegionConfig(_config_0);
|
|
250
|
+
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
251
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
252
|
+
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
253
|
+
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
254
|
+
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
254
255
|
super(_config_6);
|
|
255
256
|
this.config = _config_6;
|
|
256
257
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
|
|
2
|
-
import { CompleteSnapshotRequest, CompleteSnapshotResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1CompleteSnapshotCommand,
|
|
5
|
-
serializeAws_restJson1CompleteSnapshotCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
|
|
15
|
+
import { CompleteSnapshotRequest, CompleteSnapshotResponse } from "../models/models_0";
|
|
16
|
+
import {
|
|
17
|
+
deserializeAws_restJson1CompleteSnapshotCommand,
|
|
18
|
+
serializeAws_restJson1CompleteSnapshotCommand,
|
|
19
|
+
} from "../protocols/Aws_restJson1";
|
|
20
|
+
|
|
20
21
|
export interface CompleteSnapshotCommandInput extends CompleteSnapshotRequest {}
|
|
21
22
|
export interface CompleteSnapshotCommandOutput extends CompleteSnapshotResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
|
|
2
|
-
import { GetSnapshotBlockRequest, GetSnapshotBlockResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1GetSnapshotBlockCommand,
|
|
5
|
-
serializeAws_restJson1GetSnapshotBlockCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
|
|
15
|
+
import { GetSnapshotBlockRequest, GetSnapshotBlockResponse } from "../models/models_0";
|
|
16
|
+
import {
|
|
17
|
+
deserializeAws_restJson1GetSnapshotBlockCommand,
|
|
18
|
+
serializeAws_restJson1GetSnapshotBlockCommand,
|
|
19
|
+
} from "../protocols/Aws_restJson1";
|
|
20
|
+
|
|
20
21
|
export interface GetSnapshotBlockCommandInput extends GetSnapshotBlockRequest {}
|
|
21
22
|
export interface GetSnapshotBlockCommandOutput extends GetSnapshotBlockResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
|
|
2
|
-
import { ListChangedBlocksRequest, ListChangedBlocksResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ListChangedBlocksCommand,
|
|
5
|
-
serializeAws_restJson1ListChangedBlocksCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
|
|
15
|
+
import { ListChangedBlocksRequest, ListChangedBlocksResponse } from "../models/models_0";
|
|
16
|
+
import {
|
|
17
|
+
deserializeAws_restJson1ListChangedBlocksCommand,
|
|
18
|
+
serializeAws_restJson1ListChangedBlocksCommand,
|
|
19
|
+
} from "../protocols/Aws_restJson1";
|
|
20
|
+
|
|
20
21
|
export interface ListChangedBlocksCommandInput extends ListChangedBlocksRequest {}
|
|
21
22
|
export interface ListChangedBlocksCommandOutput extends ListChangedBlocksResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
|
|
2
|
-
import { ListSnapshotBlocksRequest, ListSnapshotBlocksResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ListSnapshotBlocksCommand,
|
|
5
|
-
serializeAws_restJson1ListSnapshotBlocksCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
|
|
15
|
+
import { ListSnapshotBlocksRequest, ListSnapshotBlocksResponse } from "../models/models_0";
|
|
16
|
+
import {
|
|
17
|
+
deserializeAws_restJson1ListSnapshotBlocksCommand,
|
|
18
|
+
serializeAws_restJson1ListSnapshotBlocksCommand,
|
|
19
|
+
} from "../protocols/Aws_restJson1";
|
|
20
|
+
|
|
20
21
|
export interface ListSnapshotBlocksCommandInput extends ListSnapshotBlocksRequest {}
|
|
21
22
|
export interface ListSnapshotBlocksCommandOutput extends ListSnapshotBlocksResponse, __MetadataBearer {}
|
|
22
23
|
|