@aws-sdk/client-ebs 3.34.0 → 3.37.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 +47 -0
- package/{dist/cjs → dist-cjs}/EBS.js +1 -24
- package/dist-cjs/EBSClient.js +35 -0
- package/{dist/cjs → dist-cjs}/commands/CompleteSnapshotCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/GetSnapshotBlockCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListChangedBlocksCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListSnapshotBlocksCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/PutSnapshotBlockCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/StartSnapshotCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -70
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListChangedBlocksPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListSnapshotBlocksPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +1 -7
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/EBS.js +1 -2
- package/{dist/es → dist-es}/EBSClient.js +1 -2
- package/{dist/es → dist-es}/commands/CompleteSnapshotCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetSnapshotBlockCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListChangedBlocksCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListSnapshotBlocksCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutSnapshotBlockCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StartSnapshotCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListChangedBlocksPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListSnapshotBlocksPaginator.js +1 -2
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- 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/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → 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 +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/EBS.d.ts +35 -0
- package/dist-types/ts3.4/EBSClient.d.ts +73 -0
- package/dist-types/ts3.4/commands/CompleteSnapshotCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/GetSnapshotBlockCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListChangedBlocksCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListSnapshotBlocksCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/PutSnapshotBlockCommand.d.ts +24 -0
- package/dist-types/ts3.4/commands/StartSnapshotCommand.d.ts +17 -0
- 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/ts3.4/models/models_0.d.ts +357 -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 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/EBS.ts +0 -257
- package/EBSClient.ts +0 -272
- package/commands/CompleteSnapshotCommand.ts +0 -96
- package/commands/GetSnapshotBlockCommand.ts +0 -94
- package/commands/ListChangedBlocksCommand.ts +0 -95
- package/commands/ListSnapshotBlocksCommand.ts +0 -94
- package/commands/PutSnapshotBlockCommand.ts +0 -106
- package/commands/StartSnapshotCommand.ts +0 -97
- package/dist/cjs/EBS.js.map +0 -1
- package/dist/cjs/EBSClient.js +0 -63
- 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.map +0 -1
- package/dist/cjs/models/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/Interfaces.js.map +0 -1
- 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.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 +0 -13
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- 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/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- 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
- package/dist/types/ts3.4/EBS.d.ts +0 -77
- package/dist/types/ts3.4/EBSClient.d.ts +0 -157
- package/dist/types/ts3.4/commands/CompleteSnapshotCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/ListChangedBlocksCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/PutSnapshotBlockCommand.d.ts +0 -49
- package/dist/types/ts3.4/commands/StartSnapshotCommand.d.ts +0 -38
- package/dist/types/ts3.4/models/models_0.d.ts +0 -667
- package/endpoints.ts +0 -83
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -824
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListChangedBlocksPaginator.ts +0 -58
- package/pagination/ListSnapshotBlocksPaginator.ts +0 -58
- package/protocols/Aws_restJson1.ts +0 -1237
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
|
@@ -1,25 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListChangedBlocks = void 0;
|
|
4
|
+
const ListChangedBlocksCommand_1 = require("../commands/ListChangedBlocksCommand");
|
|
4
5
|
const EBS_1 = require("../EBS");
|
|
5
6
|
const EBSClient_1 = require("../EBSClient");
|
|
6
|
-
const ListChangedBlocksCommand_1 = require("../commands/ListChangedBlocksCommand");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListChangedBlocksCommand_1.ListChangedBlocksCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listChangedBlocks(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListChangedBlocks(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,8 +30,6 @@ async function* paginateListChangedBlocks(config, input, ...additionalArguments)
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListChangedBlocks = paginateListChangedBlocks;
|
|
46
|
-
//# sourceMappingURL=ListChangedBlocksPaginator.js.map
|
|
@@ -1,25 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSnapshotBlocks = void 0;
|
|
4
|
+
const ListSnapshotBlocksCommand_1 = require("../commands/ListSnapshotBlocksCommand");
|
|
4
5
|
const EBS_1 = require("../EBS");
|
|
5
6
|
const EBSClient_1 = require("../EBSClient");
|
|
6
|
-
const ListSnapshotBlocksCommand_1 = require("../commands/ListSnapshotBlocksCommand");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListSnapshotBlocksCommand_1.ListSnapshotBlocksCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listSnapshotBlocks(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListSnapshotBlocks(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,8 +30,6 @@ async function* paginateListSnapshotBlocks(config, input, ...additionalArguments
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListSnapshotBlocks = paginateListSnapshotBlocks;
|
|
46
|
-
//# sourceMappingURL=ListSnapshotBlocksPaginator.js.map
|
|
@@ -199,7 +199,7 @@ const serializeAws_restJson1StartSnapshotCommand = async (input, context) => {
|
|
|
199
199
|
const headers = {
|
|
200
200
|
"content-type": "application/json",
|
|
201
201
|
};
|
|
202
|
-
|
|
202
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/snapshots";
|
|
203
203
|
let body;
|
|
204
204
|
body = JSON.stringify({
|
|
205
205
|
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
@@ -1047,14 +1047,12 @@ const deserializeMetadata = (output) => {
|
|
|
1047
1047
|
cfId: output.headers["x-amz-cf-id"],
|
|
1048
1048
|
});
|
|
1049
1049
|
};
|
|
1050
|
-
// Collect low-level response body stream to Uint8Array.
|
|
1051
1050
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
1052
1051
|
if (streamBody instanceof Uint8Array) {
|
|
1053
1052
|
return Promise.resolve(streamBody);
|
|
1054
1053
|
}
|
|
1055
1054
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
1056
1055
|
};
|
|
1057
|
-
// Encode Uint8Array data into string with utf-8.
|
|
1058
1056
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1059
1057
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
1060
1058
|
value !== null &&
|
|
@@ -1067,9 +1065,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
1067
1065
|
}
|
|
1068
1066
|
return {};
|
|
1069
1067
|
});
|
|
1070
|
-
/**
|
|
1071
|
-
* Load an error code for the aws.rest-json-1.1 protocol.
|
|
1072
|
-
*/
|
|
1073
1068
|
const loadRestJsonErrorCode = (output, data) => {
|
|
1074
1069
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
1075
1070
|
const sanitizeErrorCode = (rawValue) => {
|
|
@@ -1094,4 +1089,3 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
1094
1089
|
}
|
|
1095
1090
|
return "";
|
|
1096
1091
|
};
|
|
1097
|
-
//# sourceMappingURL=Aws_restJson1.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const package_json_1 = tslib_1.__importDefault(require("
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
7
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
8
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -12,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
12
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
13
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
|
-
/**
|
|
16
|
-
* @internal
|
|
17
|
-
*/
|
|
18
15
|
const getRuntimeConfig = (config) => {
|
|
19
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
20
17
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
@@ -38,4 +35,3 @@ const getRuntimeConfig = (config) => {
|
|
|
38
35
|
};
|
|
39
36
|
};
|
|
40
37
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
41
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const package_json_1 = tslib_1.__importDefault(require("
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
7
7
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
8
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -16,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
-
/**
|
|
20
|
-
* @internal
|
|
21
|
-
*/
|
|
22
19
|
const getRuntimeConfig = (config) => {
|
|
23
20
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
24
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -43,4 +40,3 @@ const getRuntimeConfig = (config) => {
|
|
|
43
40
|
};
|
|
44
41
|
};
|
|
45
42
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
46
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a;
|
|
11
8
|
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
@@ -17,4 +14,3 @@ const getRuntimeConfig = (config) => {
|
|
|
17
14
|
};
|
|
18
15
|
};
|
|
19
16
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
20
|
-
//# sourceMappingURL=runtimeConfig.native.js.map
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const endpoints_1 = require("./endpoints");
|
|
5
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
6
|
-
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
5
|
+
const endpoints_1 = require("./endpoints");
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a, _b, _c, _d, _e;
|
|
11
8
|
return ({
|
|
@@ -18,4 +15,3 @@ const getRuntimeConfig = (config) => {
|
|
|
18
15
|
});
|
|
19
16
|
};
|
|
20
17
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
21
|
-
//# sourceMappingURL=runtimeConfig.shared.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { EBSClient } from "./EBSClient";
|
|
3
2
|
import { CompleteSnapshotCommand, } from "./commands/CompleteSnapshotCommand";
|
|
4
3
|
import { GetSnapshotBlockCommand, } from "./commands/GetSnapshotBlockCommand";
|
|
5
4
|
import { ListChangedBlocksCommand, } from "./commands/ListChangedBlocksCommand";
|
|
6
5
|
import { ListSnapshotBlocksCommand, } from "./commands/ListSnapshotBlocksCommand";
|
|
7
6
|
import { PutSnapshotBlockCommand, } from "./commands/PutSnapshotBlockCommand";
|
|
8
7
|
import { StartSnapshotCommand, } from "./commands/StartSnapshotCommand";
|
|
8
|
+
import { EBSClient } from "./EBSClient";
|
|
9
9
|
var EBS = (function (_super) {
|
|
10
10
|
__extends(EBS, _super);
|
|
11
11
|
function EBS() {
|
|
@@ -98,4 +98,3 @@ var EBS = (function (_super) {
|
|
|
98
98
|
return EBS;
|
|
99
99
|
}(EBSClient));
|
|
100
100
|
export { EBS };
|
|
101
|
-
//# sourceMappingURL=EBS.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
3
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
4
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
5
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,6 +7,7 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
|
8
7
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
9
8
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
9
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
11
|
var EBSClient = (function (_super) {
|
|
12
12
|
__extends(EBSClient, _super);
|
|
13
13
|
function EBSClient(configuration) {
|
|
@@ -35,4 +35,3 @@ var EBSClient = (function (_super) {
|
|
|
35
35
|
return EBSClient;
|
|
36
36
|
}(__Client));
|
|
37
37
|
export { EBSClient };
|
|
38
|
-
//# sourceMappingURL=EBSClient.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { CompleteSnapshotRequest, CompleteSnapshotResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1CompleteSnapshotCommand, serializeAws_restJson1CompleteSnapshotCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CompleteSnapshotRequest, CompleteSnapshotResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CompleteSnapshotCommand, serializeAws_restJson1CompleteSnapshotCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var CompleteSnapshotCommand = (function (_super) {
|
|
7
7
|
__extends(CompleteSnapshotCommand, _super);
|
|
8
8
|
function CompleteSnapshotCommand(input) {
|
|
@@ -37,4 +37,3 @@ var CompleteSnapshotCommand = (function (_super) {
|
|
|
37
37
|
return CompleteSnapshotCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { CompleteSnapshotCommand };
|
|
40
|
-
//# sourceMappingURL=CompleteSnapshotCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { GetSnapshotBlockRequest, GetSnapshotBlockResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1GetSnapshotBlockCommand, serializeAws_restJson1GetSnapshotBlockCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetSnapshotBlockRequest, GetSnapshotBlockResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetSnapshotBlockCommand, serializeAws_restJson1GetSnapshotBlockCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var GetSnapshotBlockCommand = (function (_super) {
|
|
7
7
|
__extends(GetSnapshotBlockCommand, _super);
|
|
8
8
|
function GetSnapshotBlockCommand(input) {
|
|
@@ -37,4 +37,3 @@ var GetSnapshotBlockCommand = (function (_super) {
|
|
|
37
37
|
return GetSnapshotBlockCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { GetSnapshotBlockCommand };
|
|
40
|
-
//# sourceMappingURL=GetSnapshotBlockCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { ListChangedBlocksRequest, ListChangedBlocksResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1ListChangedBlocksCommand, serializeAws_restJson1ListChangedBlocksCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListChangedBlocksRequest, ListChangedBlocksResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListChangedBlocksCommand, serializeAws_restJson1ListChangedBlocksCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var ListChangedBlocksCommand = (function (_super) {
|
|
7
7
|
__extends(ListChangedBlocksCommand, _super);
|
|
8
8
|
function ListChangedBlocksCommand(input) {
|
|
@@ -37,4 +37,3 @@ var ListChangedBlocksCommand = (function (_super) {
|
|
|
37
37
|
return ListChangedBlocksCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { ListChangedBlocksCommand };
|
|
40
|
-
//# sourceMappingURL=ListChangedBlocksCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { ListSnapshotBlocksRequest, ListSnapshotBlocksResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1ListSnapshotBlocksCommand, serializeAws_restJson1ListSnapshotBlocksCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListSnapshotBlocksRequest, ListSnapshotBlocksResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListSnapshotBlocksCommand, serializeAws_restJson1ListSnapshotBlocksCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var ListSnapshotBlocksCommand = (function (_super) {
|
|
7
7
|
__extends(ListSnapshotBlocksCommand, _super);
|
|
8
8
|
function ListSnapshotBlocksCommand(input) {
|
|
@@ -37,4 +37,3 @@ var ListSnapshotBlocksCommand = (function (_super) {
|
|
|
37
37
|
return ListSnapshotBlocksCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { ListSnapshotBlocksCommand };
|
|
40
|
-
//# sourceMappingURL=ListSnapshotBlocksCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { PutSnapshotBlockRequest, PutSnapshotBlockResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1PutSnapshotBlockCommand, serializeAws_restJson1PutSnapshotBlockCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { PutSnapshotBlockRequest, PutSnapshotBlockResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1PutSnapshotBlockCommand, serializeAws_restJson1PutSnapshotBlockCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var PutSnapshotBlockCommand = (function (_super) {
|
|
7
7
|
__extends(PutSnapshotBlockCommand, _super);
|
|
8
8
|
function PutSnapshotBlockCommand(input) {
|
|
@@ -37,4 +37,3 @@ var PutSnapshotBlockCommand = (function (_super) {
|
|
|
37
37
|
return PutSnapshotBlockCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { PutSnapshotBlockCommand };
|
|
40
|
-
//# sourceMappingURL=PutSnapshotBlockCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { StartSnapshotRequest, StartSnapshotResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1StartSnapshotCommand, serializeAws_restJson1StartSnapshotCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { StartSnapshotRequest, StartSnapshotResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1StartSnapshotCommand, serializeAws_restJson1StartSnapshotCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var StartSnapshotCommand = (function (_super) {
|
|
7
7
|
__extends(StartSnapshotCommand, _super);
|
|
8
8
|
function StartSnapshotCommand(input) {
|
|
@@ -37,4 +37,3 @@ var StartSnapshotCommand = (function (_super) {
|
|
|
37
37
|
return StartSnapshotCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { StartSnapshotCommand };
|
|
40
|
-
//# sourceMappingURL=StartSnapshotCommand.js.map
|
|
@@ -59,7 +59,7 @@ var partitionHash = {
|
|
|
59
59
|
hostname: "ebs.{region}.amazonaws.com.cn",
|
|
60
60
|
},
|
|
61
61
|
"aws-iso": {
|
|
62
|
-
regions: ["us-iso-east-1"],
|
|
62
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
63
63
|
hostname: "ebs.{region}.c2s.ic.gov",
|
|
64
64
|
},
|
|
65
65
|
"aws-iso-b": {
|
|
@@ -76,4 +76,3 @@ export var defaultRegionInfoProvider = function (region, options) { return __awa
|
|
|
76
76
|
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "ebs", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
77
77
|
});
|
|
78
78
|
}); };
|
|
79
|
-
//# sourceMappingURL=endpoints.js.map
|
|
File without changes
|
|
File without changes
|
|
@@ -139,4 +139,3 @@ export var StartSnapshotResponse;
|
|
|
139
139
|
(function (StartSnapshotResponse) {
|
|
140
140
|
StartSnapshotResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.KmsKeyArn && { KmsKeyArn: SENSITIVE_STRING }))); };
|
|
141
141
|
})(StartSnapshotResponse || (StartSnapshotResponse = {}));
|
|
142
|
-
//# sourceMappingURL=models_0.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListChangedBlocksCommand, } from "../commands/ListChangedBlocksCommand";
|
|
2
3
|
import { EBS } from "../EBS";
|
|
3
4
|
import { EBSClient } from "../EBSClient";
|
|
4
|
-
import { ListChangedBlocksCommand, } from "../commands/ListChangedBlocksCommand";
|
|
5
5
|
var makePagedClientRequest = function (client, input) {
|
|
6
6
|
var args = [];
|
|
7
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -72,4 +72,3 @@ export function paginateListChangedBlocks(config, input) {
|
|
|
72
72
|
});
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
|
-
//# sourceMappingURL=ListChangedBlocksPaginator.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListSnapshotBlocksCommand, } from "../commands/ListSnapshotBlocksCommand";
|
|
2
3
|
import { EBS } from "../EBS";
|
|
3
4
|
import { EBSClient } from "../EBSClient";
|
|
4
|
-
import { ListSnapshotBlocksCommand, } from "../commands/ListSnapshotBlocksCommand";
|
|
5
5
|
var makePagedClientRequest = function (client, input) {
|
|
6
6
|
var args = [];
|
|
7
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -72,4 +72,3 @@ export function paginateListSnapshotBlocks(config, input) {
|
|
|
72
72
|
});
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
|
-
//# sourceMappingURL=ListSnapshotBlocksPaginator.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
-
import packageInfo from "
|
|
2
|
+
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
5
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
@@ -14,4 +14,3 @@ export var getRuntimeConfig = function (config) {
|
|
|
14
14
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
15
15
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
-
import packageInfo from "
|
|
2
|
+
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
@@ -19,4 +19,3 @@ export var getRuntimeConfig = function (config) {
|
|
|
19
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
20
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -6,4 +6,3 @@ export var getRuntimeConfig = function (config) {
|
|
|
6
6
|
var browserDefaults = getBrowserRuntimeConfig(config);
|
|
7
7
|
return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
|
|
8
8
|
};
|
|
9
|
-
//# sourceMappingURL=runtimeConfig.native.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defaultRegionInfoProvider } from "./endpoints";
|
|
2
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
|
+
import { defaultRegionInfoProvider } from "./endpoints";
|
|
3
3
|
export var getRuntimeConfig = function (config) {
|
|
4
4
|
var _a, _b, _c, _d, _e;
|
|
5
5
|
return ({
|
|
@@ -11,4 +11,3 @@ export var getRuntimeConfig = function (config) {
|
|
|
11
11
|
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
|
|
12
12
|
});
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=runtimeConfig.shared.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
2
|
import { CompleteSnapshotCommandInput, CompleteSnapshotCommandOutput } from "./commands/CompleteSnapshotCommand";
|
|
3
3
|
import { GetSnapshotBlockCommandInput, GetSnapshotBlockCommandOutput } from "./commands/GetSnapshotBlockCommand";
|
|
4
4
|
import { ListChangedBlocksCommandInput, ListChangedBlocksCommandOutput } from "./commands/ListChangedBlocksCommand";
|
|
5
5
|
import { ListSnapshotBlocksCommandInput, ListSnapshotBlocksCommandOutput } from "./commands/ListSnapshotBlocksCommand";
|
|
6
6
|
import { PutSnapshotBlockCommandInput, PutSnapshotBlockCommandOutput } from "./commands/PutSnapshotBlockCommand";
|
|
7
7
|
import { StartSnapshotCommandInput, StartSnapshotCommandOutput } from "./commands/StartSnapshotCommand";
|
|
8
|
-
import {
|
|
8
|
+
import { EBSClient } from "./EBSClient";
|
|
9
9
|
/**
|
|
10
10
|
* <p>You can use the Amazon Elastic Block Store (Amazon EBS) direct APIs to create Amazon EBS snapshots, write data directly to
|
|
11
11
|
* your snapshots, read data on your snapshots, and identify the differences or changes between
|
|
@@ -1,9 +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
1
|
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
8
2
|
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
9
3
|
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
@@ -11,7 +5,13 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
11
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
12
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
13
7
|
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
8
|
+
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { CompleteSnapshotCommandInput, CompleteSnapshotCommandOutput } from "./commands/CompleteSnapshotCommand";
|
|
10
|
+
import { GetSnapshotBlockCommandInput, GetSnapshotBlockCommandOutput } from "./commands/GetSnapshotBlockCommand";
|
|
11
|
+
import { ListChangedBlocksCommandInput, ListChangedBlocksCommandOutput } from "./commands/ListChangedBlocksCommand";
|
|
12
|
+
import { ListSnapshotBlocksCommandInput, ListSnapshotBlocksCommandOutput } from "./commands/ListSnapshotBlocksCommand";
|
|
13
|
+
import { PutSnapshotBlockCommandInput, PutSnapshotBlockCommandOutput } from "./commands/PutSnapshotBlockCommand";
|
|
14
|
+
import { StartSnapshotCommandInput, StartSnapshotCommandOutput } from "./commands/StartSnapshotCommand";
|
|
15
15
|
export declare type ServiceInputTypes = CompleteSnapshotCommandInput | GetSnapshotBlockCommandInput | ListChangedBlocksCommandInput | ListSnapshotBlocksCommandInput | PutSnapshotBlockCommandInput | StartSnapshotCommandInput;
|
|
16
16
|
export declare type ServiceOutputTypes = CompleteSnapshotCommandOutput | GetSnapshotBlockCommandOutput | ListChangedBlocksCommandOutput | ListSnapshotBlocksCommandOutput | PutSnapshotBlockCommandOutput | StartSnapshotCommandOutput;
|
|
17
17
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
@@ -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 { CompleteSnapshotRequest, CompleteSnapshotResponse } 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 CompleteSnapshotCommandInput extends CompleteSnapshotRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface CompleteSnapshotCommandOutput extends CompleteSnapshotResponse, __MetadataBearer {
|
|
@@ -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 { GetSnapshotBlockRequest, GetSnapshotBlockResponse } 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 GetSnapshotBlockCommandInput extends GetSnapshotBlockRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface GetSnapshotBlockCommandOutput extends GetSnapshotBlockResponse, __MetadataBearer {
|
|
@@ -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 { ListChangedBlocksRequest, ListChangedBlocksResponse } 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 ListChangedBlocksCommandInput extends ListChangedBlocksRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface ListChangedBlocksCommandOutput extends ListChangedBlocksResponse, __MetadataBearer {
|
|
@@ -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 { ListSnapshotBlocksRequest, ListSnapshotBlocksResponse } 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 ListSnapshotBlocksCommandInput extends ListSnapshotBlocksRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface ListSnapshotBlocksCommandOutput extends ListSnapshotBlocksResponse, __MetadataBearer {
|
|
@@ -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 = Omit<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>;
|
|
File without changes
|