@aws-sdk/client-snowball 3.181.0 → 3.185.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 +22 -0
- package/dist-cjs/models/models_0.js +2 -0
- package/dist-cjs/pagination/ListClusterJobsPaginator.js +36 -0
- package/dist-cjs/pagination/ListClustersPaginator.js +36 -0
- package/dist-cjs/pagination/ListCompatibleImagesPaginator.js +36 -0
- package/dist-cjs/pagination/ListLongTermPricingPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +4 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/models/models_0.js +2 -0
- package/dist-es/pagination/ListClusterJobsPaginator.js +75 -0
- package/dist-es/pagination/ListClustersPaginator.js +75 -0
- package/dist-es/pagination/ListCompatibleImagesPaginator.js +75 -0
- package/dist-es/pagination/ListLongTermPricingPaginator.js +75 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +2 -2
- package/dist-types/Snowball.d.ts +21 -4
- package/dist-types/commands/CreateJobCommand.d.ts +14 -1
- package/dist-types/commands/GetJobManifestCommand.d.ts +4 -2
- package/dist-types/commands/GetJobUnlockCodeCommand.d.ts +3 -1
- package/dist-types/models/models_0.d.ts +9 -6
- package/dist-types/pagination/ListClusterJobsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListClustersPaginator.d.ts +4 -0
- package/dist-types/pagination/ListCompatibleImagesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListLongTermPricingPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/dist-types/ts3.4/pagination/ListClusterJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListClustersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCompatibleImagesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListLongTermPricingPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,28 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.185.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.184.0...v3.185.0) (2022-10-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **codegen:** add deser check for x-amz-request-id ([#4015](https://github.com/aws/aws-sdk-js-v3/issues/4015)) ([6ff07bd](https://github.com/aws/aws-sdk-js-v3/commit/6ff07bd7e72bd56725f318013ac1d6d0fbbcdd9a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **client-snowball:** Adds support for V3_5C. This is a refreshed AWS Snowball Edge Compute Optimized device type with 28TB SSD, 104 vCPU and 416GB memory (customer usable). ([22500bf](https://github.com/aws/aws-sdk-js-v3/commit/22500bf32b6db1e29a61c61c9b3a25a16c6251f4))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
# [3.181.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.180.0...v3.181.0) (2022-09-29)
|
|
7
29
|
|
|
8
30
|
|
|
@@ -133,6 +133,7 @@ var SnowballType;
|
|
|
133
133
|
SnowballType["SNC1_HDD"] = "SNC1_HDD";
|
|
134
134
|
SnowballType["SNC1_SSD"] = "SNC1_SSD";
|
|
135
135
|
SnowballType["STANDARD"] = "STANDARD";
|
|
136
|
+
SnowballType["V3_5C"] = "V3_5C";
|
|
136
137
|
})(SnowballType = exports.SnowballType || (exports.SnowballType = {}));
|
|
137
138
|
class Ec2RequestFailedException extends SnowballServiceException_1.SnowballServiceException {
|
|
138
139
|
constructor(opts) {
|
|
@@ -181,6 +182,7 @@ var SnowballCapacity;
|
|
|
181
182
|
SnowballCapacity["NO_PREFERENCE"] = "NoPreference";
|
|
182
183
|
SnowballCapacity["T100"] = "T100";
|
|
183
184
|
SnowballCapacity["T14"] = "T14";
|
|
185
|
+
SnowballCapacity["T32"] = "T32";
|
|
184
186
|
SnowballCapacity["T42"] = "T42";
|
|
185
187
|
SnowballCapacity["T50"] = "T50";
|
|
186
188
|
SnowballCapacity["T8"] = "T8";
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListClusterJobs = void 0;
|
|
4
|
+
const ListClusterJobsCommand_1 = require("../commands/ListClusterJobsCommand");
|
|
5
|
+
const Snowball_1 = require("../Snowball");
|
|
6
|
+
const SnowballClient_1 = require("../SnowballClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListClusterJobsCommand_1.ListClusterJobsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listClusterJobs(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListClusterJobs(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Snowball_1.Snowball) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof SnowballClient_1.SnowballClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Snowball | SnowballClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
const prevToken = token;
|
|
31
|
+
token = page.NextToken;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
exports.paginateListClusterJobs = paginateListClusterJobs;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListClusters = void 0;
|
|
4
|
+
const ListClustersCommand_1 = require("../commands/ListClustersCommand");
|
|
5
|
+
const Snowball_1 = require("../Snowball");
|
|
6
|
+
const SnowballClient_1 = require("../SnowballClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListClustersCommand_1.ListClustersCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listClusters(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListClusters(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Snowball_1.Snowball) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof SnowballClient_1.SnowballClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Snowball | SnowballClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
const prevToken = token;
|
|
31
|
+
token = page.NextToken;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
exports.paginateListClusters = paginateListClusters;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListCompatibleImages = void 0;
|
|
4
|
+
const ListCompatibleImagesCommand_1 = require("../commands/ListCompatibleImagesCommand");
|
|
5
|
+
const Snowball_1 = require("../Snowball");
|
|
6
|
+
const SnowballClient_1 = require("../SnowballClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListCompatibleImagesCommand_1.ListCompatibleImagesCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listCompatibleImages(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListCompatibleImages(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Snowball_1.Snowball) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof SnowballClient_1.SnowballClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Snowball | SnowballClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
const prevToken = token;
|
|
31
|
+
token = page.NextToken;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
exports.paginateListCompatibleImages = paginateListCompatibleImages;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListLongTermPricing = void 0;
|
|
4
|
+
const ListLongTermPricingCommand_1 = require("../commands/ListLongTermPricingCommand");
|
|
5
|
+
const Snowball_1 = require("../Snowball");
|
|
6
|
+
const SnowballClient_1 = require("../SnowballClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListLongTermPricingCommand_1.ListLongTermPricingCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listLongTermPricing(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListLongTermPricing(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Snowball_1.Snowball) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof SnowballClient_1.SnowballClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Snowball | SnowballClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
const prevToken = token;
|
|
31
|
+
token = page.NextToken;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
exports.paginateListLongTermPricing = paginateListLongTermPricing;
|
|
@@ -3,4 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./DescribeAddressesPaginator"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListClusterJobsPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListClustersPaginator"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ListCompatibleImagesPaginator"), exports);
|
|
6
9
|
tslib_1.__exportStar(require("./ListJobsPaginator"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./ListLongTermPricingPaginator"), exports);
|
|
@@ -2268,10 +2268,10 @@ const deserializeAws_json1_1WirelessConnection = (output, context) => {
|
|
|
2268
2268
|
};
|
|
2269
2269
|
};
|
|
2270
2270
|
const deserializeMetadata = (output) => {
|
|
2271
|
-
var _a;
|
|
2271
|
+
var _a, _b;
|
|
2272
2272
|
return ({
|
|
2273
2273
|
httpStatusCode: output.statusCode,
|
|
2274
|
-
requestId: (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"],
|
|
2274
|
+
requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
|
|
2275
2275
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2276
2276
|
cfId: output.headers["x-amz-cf-id"],
|
|
2277
2277
|
});
|
|
@@ -124,6 +124,7 @@ export var SnowballType;
|
|
|
124
124
|
SnowballType["SNC1_HDD"] = "SNC1_HDD";
|
|
125
125
|
SnowballType["SNC1_SSD"] = "SNC1_SSD";
|
|
126
126
|
SnowballType["STANDARD"] = "STANDARD";
|
|
127
|
+
SnowballType["V3_5C"] = "V3_5C";
|
|
127
128
|
})(SnowballType || (SnowballType = {}));
|
|
128
129
|
var Ec2RequestFailedException = (function (_super) {
|
|
129
130
|
__extends(Ec2RequestFailedException, _super);
|
|
@@ -169,6 +170,7 @@ export var SnowballCapacity;
|
|
|
169
170
|
SnowballCapacity["NO_PREFERENCE"] = "NoPreference";
|
|
170
171
|
SnowballCapacity["T100"] = "T100";
|
|
171
172
|
SnowballCapacity["T14"] = "T14";
|
|
173
|
+
SnowballCapacity["T32"] = "T32";
|
|
172
174
|
SnowballCapacity["T42"] = "T42";
|
|
173
175
|
SnowballCapacity["T50"] = "T50";
|
|
174
176
|
SnowballCapacity["T8"] = "T8";
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListClusterJobsCommand, } from "../commands/ListClusterJobsCommand";
|
|
3
|
+
import { Snowball } from "../Snowball";
|
|
4
|
+
import { SnowballClient } from "../SnowballClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListClusterJobsCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listClusterJobs.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListClusterJobs(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListClusterJobs_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof Snowball)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof SnowballClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected Snowball | SnowballClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.NextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListClustersCommand, } from "../commands/ListClustersCommand";
|
|
3
|
+
import { Snowball } from "../Snowball";
|
|
4
|
+
import { SnowballClient } from "../SnowballClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListClustersCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listClusters.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListClusters(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListClusters_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof Snowball)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof SnowballClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected Snowball | SnowballClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.NextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListCompatibleImagesCommand, } from "../commands/ListCompatibleImagesCommand";
|
|
3
|
+
import { Snowball } from "../Snowball";
|
|
4
|
+
import { SnowballClient } from "../SnowballClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListCompatibleImagesCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listCompatibleImages.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListCompatibleImages(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListCompatibleImages_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof Snowball)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof SnowballClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected Snowball | SnowballClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.NextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListLongTermPricingCommand, } from "../commands/ListLongTermPricingCommand";
|
|
3
|
+
import { Snowball } from "../Snowball";
|
|
4
|
+
import { SnowballClient } from "../SnowballClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListLongTermPricingCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listLongTermPricing.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListLongTermPricing(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListLongTermPricing_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof Snowball)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof SnowballClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected Snowball | SnowballClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.NextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
export * from "./DescribeAddressesPaginator";
|
|
2
2
|
export * from "./Interfaces";
|
|
3
|
+
export * from "./ListClusterJobsPaginator";
|
|
4
|
+
export * from "./ListClustersPaginator";
|
|
5
|
+
export * from "./ListCompatibleImagesPaginator";
|
|
3
6
|
export * from "./ListJobsPaginator";
|
|
7
|
+
export * from "./ListLongTermPricingPaginator";
|
|
@@ -2581,10 +2581,10 @@ var deserializeAws_json1_1WirelessConnection = function (output, context) {
|
|
|
2581
2581
|
};
|
|
2582
2582
|
};
|
|
2583
2583
|
var deserializeMetadata = function (output) {
|
|
2584
|
-
var _a;
|
|
2584
|
+
var _a, _b;
|
|
2585
2585
|
return ({
|
|
2586
2586
|
httpStatusCode: output.statusCode,
|
|
2587
|
-
requestId: (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"],
|
|
2587
|
+
requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
|
|
2588
2588
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2589
2589
|
cfId: output.headers["x-amz-cf-id"],
|
|
2590
2590
|
});
|
package/dist-types/Snowball.d.ts
CHANGED
|
@@ -83,7 +83,7 @@ export declare class Snowball extends SnowballClient {
|
|
|
83
83
|
* <p></p>
|
|
84
84
|
*
|
|
85
85
|
* <p class="title">
|
|
86
|
-
* <b>Snow Family
|
|
86
|
+
* <b>Snow Family devices and their capacities.</b>
|
|
87
87
|
* </p>
|
|
88
88
|
* <ul>
|
|
89
89
|
* <li>
|
|
@@ -168,6 +168,19 @@ export declare class Snowball extends SnowballClient {
|
|
|
168
168
|
* <p></p>
|
|
169
169
|
* </li>
|
|
170
170
|
* <li>
|
|
171
|
+
* <p>Device type: <b>V3_5C</b>
|
|
172
|
+
* </p>
|
|
173
|
+
* <ul>
|
|
174
|
+
* <li>
|
|
175
|
+
* <p>Capacity: T32</p>
|
|
176
|
+
* </li>
|
|
177
|
+
* <li>
|
|
178
|
+
* <p>Description: Snowball Edge Compute Optimized without GPU</p>
|
|
179
|
+
* </li>
|
|
180
|
+
* </ul>
|
|
181
|
+
* <p></p>
|
|
182
|
+
* </li>
|
|
183
|
+
* <li>
|
|
171
184
|
* <p>Device type: <b>STANDARD</b>
|
|
172
185
|
* </p>
|
|
173
186
|
* <ul>
|
|
@@ -261,9 +274,11 @@ export declare class Snowball extends SnowballClient {
|
|
|
261
274
|
* you'll have to make another call to the <code>GetJobManifest</code> action.</p>
|
|
262
275
|
*
|
|
263
276
|
* <p>The manifest is an encrypted file that you can download after your job enters the
|
|
264
|
-
* <code>WithCustomer</code> status.
|
|
277
|
+
* <code>WithCustomer</code> status. This is the only valid status for calling this API as the
|
|
278
|
+
* manifest and <code>UnlockCode</code> code value are used for securing your device and should
|
|
279
|
+
* only be used when you have the device. The manifest is decrypted by using the
|
|
265
280
|
* <code>UnlockCode</code> code value, when you pass both values to the Snow device through the
|
|
266
|
-
* Snowball client when the client is started for the first time
|
|
281
|
+
* Snowball client when the client is started for the first time. </p>
|
|
267
282
|
*
|
|
268
283
|
*
|
|
269
284
|
* <p>As a best practice, we recommend that you don't save a copy of an
|
|
@@ -286,7 +301,9 @@ export declare class Snowball extends SnowballClient {
|
|
|
286
301
|
* <p>The <code>UnlockCode</code> value is a 29-character code with 25 alphanumeric
|
|
287
302
|
* characters and 4 hyphens. This code is used to decrypt the manifest file when it is passed
|
|
288
303
|
* along with the manifest to the Snow device through the Snowball client when the client is
|
|
289
|
-
* started for the first time
|
|
304
|
+
* started for the first time. The only valid status for calling this API is
|
|
305
|
+
* <code>WithCustomer</code> as the manifest and <code>Unlock</code> code values are used for
|
|
306
|
+
* securing your device and should only be used when you have the device.</p>
|
|
290
307
|
*
|
|
291
308
|
* <p>As a best practice, we recommend that you don't save a copy of the
|
|
292
309
|
* <code>UnlockCode</code> in the same location as the manifest file for that job. Saving these
|
|
@@ -22,7 +22,7 @@ export interface CreateJobCommandOutput extends CreateJobResult, __MetadataBeare
|
|
|
22
22
|
* <p></p>
|
|
23
23
|
*
|
|
24
24
|
* <p class="title">
|
|
25
|
-
* <b>Snow Family
|
|
25
|
+
* <b>Snow Family devices and their capacities.</b>
|
|
26
26
|
* </p>
|
|
27
27
|
* <ul>
|
|
28
28
|
* <li>
|
|
@@ -107,6 +107,19 @@ export interface CreateJobCommandOutput extends CreateJobResult, __MetadataBeare
|
|
|
107
107
|
* <p></p>
|
|
108
108
|
* </li>
|
|
109
109
|
* <li>
|
|
110
|
+
* <p>Device type: <b>V3_5C</b>
|
|
111
|
+
* </p>
|
|
112
|
+
* <ul>
|
|
113
|
+
* <li>
|
|
114
|
+
* <p>Capacity: T32</p>
|
|
115
|
+
* </li>
|
|
116
|
+
* <li>
|
|
117
|
+
* <p>Description: Snowball Edge Compute Optimized without GPU</p>
|
|
118
|
+
* </li>
|
|
119
|
+
* </ul>
|
|
120
|
+
* <p></p>
|
|
121
|
+
* </li>
|
|
122
|
+
* <li>
|
|
110
123
|
* <p>Device type: <b>STANDARD</b>
|
|
111
124
|
* </p>
|
|
112
125
|
* <ul>
|
|
@@ -13,9 +13,11 @@ export interface GetJobManifestCommandOutput extends GetJobManifestResult, __Met
|
|
|
13
13
|
* you'll have to make another call to the <code>GetJobManifest</code> action.</p>
|
|
14
14
|
*
|
|
15
15
|
* <p>The manifest is an encrypted file that you can download after your job enters the
|
|
16
|
-
* <code>WithCustomer</code> status.
|
|
16
|
+
* <code>WithCustomer</code> status. This is the only valid status for calling this API as the
|
|
17
|
+
* manifest and <code>UnlockCode</code> code value are used for securing your device and should
|
|
18
|
+
* only be used when you have the device. The manifest is decrypted by using the
|
|
17
19
|
* <code>UnlockCode</code> code value, when you pass both values to the Snow device through the
|
|
18
|
-
* Snowball client when the client is started for the first time
|
|
20
|
+
* Snowball client when the client is started for the first time. </p>
|
|
19
21
|
*
|
|
20
22
|
*
|
|
21
23
|
* <p>As a best practice, we recommend that you don't save a copy of an
|
|
@@ -14,7 +14,9 @@ export interface GetJobUnlockCodeCommandOutput extends GetJobUnlockCodeResult, _
|
|
|
14
14
|
* <p>The <code>UnlockCode</code> value is a 29-character code with 25 alphanumeric
|
|
15
15
|
* characters and 4 hyphens. This code is used to decrypt the manifest file when it is passed
|
|
16
16
|
* along with the manifest to the Snow device through the Snowball client when the client is
|
|
17
|
-
* started for the first time
|
|
17
|
+
* started for the first time. The only valid status for calling this API is
|
|
18
|
+
* <code>WithCustomer</code> as the manifest and <code>Unlock</code> code values are used for
|
|
19
|
+
* securing your device and should only be used when you have the device.</p>
|
|
18
20
|
*
|
|
19
21
|
* <p>As a best practice, we recommend that you don't save a copy of the
|
|
20
22
|
* <code>UnlockCode</code> in the same location as the manifest file for that job. Saving these
|
|
@@ -413,7 +413,8 @@ export declare enum SnowballType {
|
|
|
413
413
|
EDGE_S = "EDGE_S",
|
|
414
414
|
SNC1_HDD = "SNC1_HDD",
|
|
415
415
|
SNC1_SSD = "SNC1_SSD",
|
|
416
|
-
STANDARD = "STANDARD"
|
|
416
|
+
STANDARD = "STANDARD",
|
|
417
|
+
V3_5C = "V3_5C"
|
|
417
418
|
}
|
|
418
419
|
/**
|
|
419
420
|
* <p>The tax documents required in Amazon Web Services Region in India.</p>
|
|
@@ -478,7 +479,7 @@ export interface CreateClusterRequest {
|
|
|
478
479
|
*/
|
|
479
480
|
RoleARN: string | undefined;
|
|
480
481
|
/**
|
|
481
|
-
* <p>The type of Snow Family
|
|
482
|
+
* <p>The type of Snow Family devices to use for this cluster. </p>
|
|
482
483
|
* <note>
|
|
483
484
|
* <p>For cluster jobs, Amazon Web Services Snow Family currently supports only the
|
|
484
485
|
* <code>EDGE</code> device type.</p>
|
|
@@ -634,6 +635,7 @@ export declare enum SnowballCapacity {
|
|
|
634
635
|
NO_PREFERENCE = "NoPreference",
|
|
635
636
|
T100 = "T100",
|
|
636
637
|
T14 = "T14",
|
|
638
|
+
T32 = "T32",
|
|
637
639
|
T42 = "T42",
|
|
638
640
|
T50 = "T50",
|
|
639
641
|
T8 = "T8",
|
|
@@ -735,7 +737,7 @@ export interface CreateJobRequest {
|
|
|
735
737
|
*/
|
|
736
738
|
ClusterId?: string;
|
|
737
739
|
/**
|
|
738
|
-
* <p>The type of Snow Family
|
|
740
|
+
* <p>The type of Snow Family devices to use for this job.
|
|
739
741
|
* </p>
|
|
740
742
|
* <note>
|
|
741
743
|
* <p>For cluster jobs, Amazon Web Services Snow Family currently supports only the
|
|
@@ -802,12 +804,13 @@ export interface CreateLongTermPricingRequest {
|
|
|
802
804
|
*/
|
|
803
805
|
LongTermPricingType: LongTermPricingType | string | undefined;
|
|
804
806
|
/**
|
|
805
|
-
* <p>
|
|
807
|
+
* <p>snowballty</p>
|
|
808
|
+
* <p>Specifies whether the current long-term pricing type for the device should be
|
|
806
809
|
* renewed.</p>
|
|
807
810
|
*/
|
|
808
811
|
IsLongTermPricingAutoRenew?: boolean;
|
|
809
812
|
/**
|
|
810
|
-
* <p>The type of Snow Family
|
|
813
|
+
* <p>The type of Snow Family devices to use for the long-term pricing job.</p>
|
|
811
814
|
*/
|
|
812
815
|
SnowballType?: SnowballType | string;
|
|
813
816
|
}
|
|
@@ -1617,7 +1620,7 @@ export interface LongTermPricingListEntry {
|
|
|
1617
1620
|
*/
|
|
1618
1621
|
LongTermPricingStatus?: string;
|
|
1619
1622
|
/**
|
|
1620
|
-
* <p>The type of Snow Family
|
|
1623
|
+
* <p>The type of Snow Family devices associated with this long-term pricing job.</p>
|
|
1621
1624
|
*/
|
|
1622
1625
|
SnowballType?: SnowballType | string;
|
|
1623
1626
|
/**
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListClusterJobsCommandInput, ListClusterJobsCommandOutput } from "../commands/ListClusterJobsCommand";
|
|
3
|
+
import { SnowballPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListClusterJobs(config: SnowballPaginationConfiguration, input: ListClusterJobsCommandInput, ...additionalArguments: any): Paginator<ListClusterJobsCommandOutput>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListClustersCommandInput, ListClustersCommandOutput } from "../commands/ListClustersCommand";
|
|
3
|
+
import { SnowballPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListClusters(config: SnowballPaginationConfiguration, input: ListClustersCommandInput, ...additionalArguments: any): Paginator<ListClustersCommandOutput>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListCompatibleImagesCommandInput, ListCompatibleImagesCommandOutput } from "../commands/ListCompatibleImagesCommand";
|
|
3
|
+
import { SnowballPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListCompatibleImages(config: SnowballPaginationConfiguration, input: ListCompatibleImagesCommandInput, ...additionalArguments: any): Paginator<ListCompatibleImagesCommandOutput>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListLongTermPricingCommandInput, ListLongTermPricingCommandOutput } from "../commands/ListLongTermPricingCommand";
|
|
3
|
+
import { SnowballPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListLongTermPricing(config: SnowballPaginationConfiguration, input: ListLongTermPricingCommandInput, ...additionalArguments: any): Paginator<ListLongTermPricingCommandOutput>;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
export * from "./DescribeAddressesPaginator";
|
|
2
2
|
export * from "./Interfaces";
|
|
3
|
+
export * from "./ListClusterJobsPaginator";
|
|
4
|
+
export * from "./ListClustersPaginator";
|
|
5
|
+
export * from "./ListCompatibleImagesPaginator";
|
|
3
6
|
export * from "./ListJobsPaginator";
|
|
7
|
+
export * from "./ListLongTermPricingPaginator";
|
|
@@ -167,6 +167,7 @@ export declare enum SnowballType {
|
|
|
167
167
|
SNC1_HDD = "SNC1_HDD",
|
|
168
168
|
SNC1_SSD = "SNC1_SSD",
|
|
169
169
|
STANDARD = "STANDARD",
|
|
170
|
+
V3_5C = "V3_5C",
|
|
170
171
|
}
|
|
171
172
|
export interface INDTaxDocuments {
|
|
172
173
|
GSTIN?: string;
|
|
@@ -232,6 +233,7 @@ export declare enum SnowballCapacity {
|
|
|
232
233
|
NO_PREFERENCE = "NoPreference",
|
|
233
234
|
T100 = "T100",
|
|
234
235
|
T14 = "T14",
|
|
236
|
+
T32 = "T32",
|
|
235
237
|
T42 = "T42",
|
|
236
238
|
T50 = "T50",
|
|
237
239
|
T8 = "T8",
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListClusterJobsCommandInput,
|
|
4
|
+
ListClusterJobsCommandOutput,
|
|
5
|
+
} from "../commands/ListClusterJobsCommand";
|
|
6
|
+
import { SnowballPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListClusterJobs(
|
|
8
|
+
config: SnowballPaginationConfiguration,
|
|
9
|
+
input: ListClusterJobsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListClusterJobsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListClustersCommandInput,
|
|
4
|
+
ListClustersCommandOutput,
|
|
5
|
+
} from "../commands/ListClustersCommand";
|
|
6
|
+
import { SnowballPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListClusters(
|
|
8
|
+
config: SnowballPaginationConfiguration,
|
|
9
|
+
input: ListClustersCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListClustersCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListCompatibleImagesCommandInput,
|
|
4
|
+
ListCompatibleImagesCommandOutput,
|
|
5
|
+
} from "../commands/ListCompatibleImagesCommand";
|
|
6
|
+
import { SnowballPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListCompatibleImages(
|
|
8
|
+
config: SnowballPaginationConfiguration,
|
|
9
|
+
input: ListCompatibleImagesCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListCompatibleImagesCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListLongTermPricingCommandInput,
|
|
4
|
+
ListLongTermPricingCommandOutput,
|
|
5
|
+
} from "../commands/ListLongTermPricingCommand";
|
|
6
|
+
import { SnowballPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListLongTermPricing(
|
|
8
|
+
config: SnowballPaginationConfiguration,
|
|
9
|
+
input: ListLongTermPricingCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListLongTermPricingCommandOutput>;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
export * from "./DescribeAddressesPaginator";
|
|
2
2
|
export * from "./Interfaces";
|
|
3
|
+
export * from "./ListClusterJobsPaginator";
|
|
4
|
+
export * from "./ListClustersPaginator";
|
|
5
|
+
export * from "./ListCompatibleImagesPaginator";
|
|
3
6
|
export * from "./ListJobsPaginator";
|
|
7
|
+
export * from "./ListLongTermPricingPaginator";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-snowball",
|
|
3
3
|
"description": "AWS SDK for JavaScript Snowball Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.185.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,41 +19,41 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
30
|
-
"@aws-sdk/middleware-logger": "3.
|
|
31
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
-
"@aws-sdk/middleware-serde": "3.
|
|
34
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
-
"@aws-sdk/middleware-stack": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/node-config-provider": "3.
|
|
38
|
-
"@aws-sdk/node-http-handler": "3.
|
|
39
|
-
"@aws-sdk/protocol-http": "3.
|
|
40
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
-
"@aws-sdk/types": "3.
|
|
42
|
-
"@aws-sdk/url-parser": "3.
|
|
43
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-node": "3.
|
|
45
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
50
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
51
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
52
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.185.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.183.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.185.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.183.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.183.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.183.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.183.0",
|
|
29
|
+
"@aws-sdk/middleware-host-header": "3.183.0",
|
|
30
|
+
"@aws-sdk/middleware-logger": "3.183.0",
|
|
31
|
+
"@aws-sdk/middleware-recursion-detection": "3.183.0",
|
|
32
|
+
"@aws-sdk/middleware-retry": "3.185.0",
|
|
33
|
+
"@aws-sdk/middleware-serde": "3.183.0",
|
|
34
|
+
"@aws-sdk/middleware-signing": "3.183.0",
|
|
35
|
+
"@aws-sdk/middleware-stack": "3.183.0",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.183.0",
|
|
37
|
+
"@aws-sdk/node-config-provider": "3.183.0",
|
|
38
|
+
"@aws-sdk/node-http-handler": "3.185.0",
|
|
39
|
+
"@aws-sdk/protocol-http": "3.183.0",
|
|
40
|
+
"@aws-sdk/smithy-client": "3.183.0",
|
|
41
|
+
"@aws-sdk/types": "3.183.0",
|
|
42
|
+
"@aws-sdk/url-parser": "3.183.0",
|
|
43
|
+
"@aws-sdk/util-base64-browser": "3.183.0",
|
|
44
|
+
"@aws-sdk/util-base64-node": "3.183.0",
|
|
45
|
+
"@aws-sdk/util-body-length-browser": "3.183.0",
|
|
46
|
+
"@aws-sdk/util-body-length-node": "3.183.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.183.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.183.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-browser": "3.183.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-node": "3.183.0",
|
|
51
|
+
"@aws-sdk/util-utf8-browser": "3.183.0",
|
|
52
|
+
"@aws-sdk/util-utf8-node": "3.183.0",
|
|
53
53
|
"tslib": "^2.3.1"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
56
|
+
"@aws-sdk/service-client-documentation-generator": "3.183.0",
|
|
57
57
|
"@tsconfig/recommended": "1.0.1",
|
|
58
58
|
"@types/node": "^12.7.5",
|
|
59
59
|
"concurrently": "7.0.0",
|