@aws-sdk/client-snowball 3.975.0 → 3.980.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +24 -15
- package/dist-es/Snowball.js +17 -1
- package/dist-types/Snowball.d.ts +50 -1
- package/dist-types/ts3.4/Snowball.d.ts +54 -1
- package/package.json +18 -18
package/dist-cjs/index.js
CHANGED
|
@@ -1479,6 +1479,20 @@ class UpdateLongTermPricingCommand extends smithyClient.Command
|
|
|
1479
1479
|
.build() {
|
|
1480
1480
|
}
|
|
1481
1481
|
|
|
1482
|
+
const paginateDescribeAddresses = core.createPaginator(SnowballClient, DescribeAddressesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1483
|
+
|
|
1484
|
+
const paginateListClusterJobs = core.createPaginator(SnowballClient, ListClusterJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1485
|
+
|
|
1486
|
+
const paginateListClusters = core.createPaginator(SnowballClient, ListClustersCommand, "NextToken", "NextToken", "MaxResults");
|
|
1487
|
+
|
|
1488
|
+
const paginateListCompatibleImages = core.createPaginator(SnowballClient, ListCompatibleImagesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1489
|
+
|
|
1490
|
+
const paginateListJobs = core.createPaginator(SnowballClient, ListJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1491
|
+
|
|
1492
|
+
const paginateListLongTermPricing = core.createPaginator(SnowballClient, ListLongTermPricingCommand, "NextToken", "NextToken", "MaxResults");
|
|
1493
|
+
|
|
1494
|
+
const paginateListPickupLocations = core.createPaginator(SnowballClient, ListPickupLocationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1495
|
+
|
|
1482
1496
|
const commands = {
|
|
1483
1497
|
CancelClusterCommand,
|
|
1484
1498
|
CancelJobCommand,
|
|
@@ -1508,23 +1522,18 @@ const commands = {
|
|
|
1508
1522
|
UpdateJobShipmentStateCommand,
|
|
1509
1523
|
UpdateLongTermPricingCommand,
|
|
1510
1524
|
};
|
|
1525
|
+
const paginators = {
|
|
1526
|
+
paginateDescribeAddresses,
|
|
1527
|
+
paginateListClusterJobs,
|
|
1528
|
+
paginateListClusters,
|
|
1529
|
+
paginateListCompatibleImages,
|
|
1530
|
+
paginateListJobs,
|
|
1531
|
+
paginateListLongTermPricing,
|
|
1532
|
+
paginateListPickupLocations,
|
|
1533
|
+
};
|
|
1511
1534
|
class Snowball extends SnowballClient {
|
|
1512
1535
|
}
|
|
1513
|
-
smithyClient.createAggregatedClient(commands, Snowball);
|
|
1514
|
-
|
|
1515
|
-
const paginateDescribeAddresses = core.createPaginator(SnowballClient, DescribeAddressesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1516
|
-
|
|
1517
|
-
const paginateListClusterJobs = core.createPaginator(SnowballClient, ListClusterJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1518
|
-
|
|
1519
|
-
const paginateListClusters = core.createPaginator(SnowballClient, ListClustersCommand, "NextToken", "NextToken", "MaxResults");
|
|
1520
|
-
|
|
1521
|
-
const paginateListCompatibleImages = core.createPaginator(SnowballClient, ListCompatibleImagesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1522
|
-
|
|
1523
|
-
const paginateListJobs = core.createPaginator(SnowballClient, ListJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1524
|
-
|
|
1525
|
-
const paginateListLongTermPricing = core.createPaginator(SnowballClient, ListLongTermPricingCommand, "NextToken", "NextToken", "MaxResults");
|
|
1526
|
-
|
|
1527
|
-
const paginateListPickupLocations = core.createPaginator(SnowballClient, ListPickupLocationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1536
|
+
smithyClient.createAggregatedClient(commands, Snowball, { paginators });
|
|
1528
1537
|
|
|
1529
1538
|
const AddressType = {
|
|
1530
1539
|
AWS_SHIP: "AWS_SHIP",
|
package/dist-es/Snowball.js
CHANGED
|
@@ -26,6 +26,13 @@ import { UpdateClusterCommand, } from "./commands/UpdateClusterCommand";
|
|
|
26
26
|
import { UpdateJobCommand } from "./commands/UpdateJobCommand";
|
|
27
27
|
import { UpdateJobShipmentStateCommand, } from "./commands/UpdateJobShipmentStateCommand";
|
|
28
28
|
import { UpdateLongTermPricingCommand, } from "./commands/UpdateLongTermPricingCommand";
|
|
29
|
+
import { paginateDescribeAddresses } from "./pagination/DescribeAddressesPaginator";
|
|
30
|
+
import { paginateListClusterJobs } from "./pagination/ListClusterJobsPaginator";
|
|
31
|
+
import { paginateListClusters } from "./pagination/ListClustersPaginator";
|
|
32
|
+
import { paginateListCompatibleImages } from "./pagination/ListCompatibleImagesPaginator";
|
|
33
|
+
import { paginateListJobs } from "./pagination/ListJobsPaginator";
|
|
34
|
+
import { paginateListLongTermPricing } from "./pagination/ListLongTermPricingPaginator";
|
|
35
|
+
import { paginateListPickupLocations } from "./pagination/ListPickupLocationsPaginator";
|
|
29
36
|
import { SnowballClient } from "./SnowballClient";
|
|
30
37
|
const commands = {
|
|
31
38
|
CancelClusterCommand,
|
|
@@ -56,6 +63,15 @@ const commands = {
|
|
|
56
63
|
UpdateJobShipmentStateCommand,
|
|
57
64
|
UpdateLongTermPricingCommand,
|
|
58
65
|
};
|
|
66
|
+
const paginators = {
|
|
67
|
+
paginateDescribeAddresses,
|
|
68
|
+
paginateListClusterJobs,
|
|
69
|
+
paginateListClusters,
|
|
70
|
+
paginateListCompatibleImages,
|
|
71
|
+
paginateListJobs,
|
|
72
|
+
paginateListLongTermPricing,
|
|
73
|
+
paginateListPickupLocations,
|
|
74
|
+
};
|
|
59
75
|
export class Snowball extends SnowballClient {
|
|
60
76
|
}
|
|
61
|
-
createAggregatedClient(commands, Snowball);
|
|
77
|
+
createAggregatedClient(commands, Snowball, { paginators });
|
package/dist-types/Snowball.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { CancelClusterCommandInput, CancelClusterCommandOutput } from "./commands/CancelClusterCommand";
|
|
3
3
|
import { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/CancelJobCommand";
|
|
4
4
|
import { CreateAddressCommandInput, CreateAddressCommandOutput } from "./commands/CreateAddressCommand";
|
|
@@ -198,6 +198,55 @@ export interface Snowball {
|
|
|
198
198
|
updateLongTermPricing(args: UpdateLongTermPricingCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLongTermPricingCommandOutput>;
|
|
199
199
|
updateLongTermPricing(args: UpdateLongTermPricingCommandInput, cb: (err: any, data?: UpdateLongTermPricingCommandOutput) => void): void;
|
|
200
200
|
updateLongTermPricing(args: UpdateLongTermPricingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLongTermPricingCommandOutput) => void): void;
|
|
201
|
+
/**
|
|
202
|
+
* @see {@link DescribeAddressesCommand}
|
|
203
|
+
* @param args - command input.
|
|
204
|
+
* @param paginationConfig - optional pagination config.
|
|
205
|
+
* @returns AsyncIterable of {@link DescribeAddressesCommandOutput}.
|
|
206
|
+
*/
|
|
207
|
+
paginateDescribeAddresses(args?: DescribeAddressesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeAddressesCommandOutput>;
|
|
208
|
+
/**
|
|
209
|
+
* @see {@link ListClusterJobsCommand}
|
|
210
|
+
* @param args - command input.
|
|
211
|
+
* @param paginationConfig - optional pagination config.
|
|
212
|
+
* @returns AsyncIterable of {@link ListClusterJobsCommandOutput}.
|
|
213
|
+
*/
|
|
214
|
+
paginateListClusterJobs(args: ListClusterJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListClusterJobsCommandOutput>;
|
|
215
|
+
/**
|
|
216
|
+
* @see {@link ListClustersCommand}
|
|
217
|
+
* @param args - command input.
|
|
218
|
+
* @param paginationConfig - optional pagination config.
|
|
219
|
+
* @returns AsyncIterable of {@link ListClustersCommandOutput}.
|
|
220
|
+
*/
|
|
221
|
+
paginateListClusters(args?: ListClustersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListClustersCommandOutput>;
|
|
222
|
+
/**
|
|
223
|
+
* @see {@link ListCompatibleImagesCommand}
|
|
224
|
+
* @param args - command input.
|
|
225
|
+
* @param paginationConfig - optional pagination config.
|
|
226
|
+
* @returns AsyncIterable of {@link ListCompatibleImagesCommandOutput}.
|
|
227
|
+
*/
|
|
228
|
+
paginateListCompatibleImages(args?: ListCompatibleImagesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCompatibleImagesCommandOutput>;
|
|
229
|
+
/**
|
|
230
|
+
* @see {@link ListJobsCommand}
|
|
231
|
+
* @param args - command input.
|
|
232
|
+
* @param paginationConfig - optional pagination config.
|
|
233
|
+
* @returns AsyncIterable of {@link ListJobsCommandOutput}.
|
|
234
|
+
*/
|
|
235
|
+
paginateListJobs(args?: ListJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListJobsCommandOutput>;
|
|
236
|
+
/**
|
|
237
|
+
* @see {@link ListLongTermPricingCommand}
|
|
238
|
+
* @param args - command input.
|
|
239
|
+
* @param paginationConfig - optional pagination config.
|
|
240
|
+
* @returns AsyncIterable of {@link ListLongTermPricingCommandOutput}.
|
|
241
|
+
*/
|
|
242
|
+
paginateListLongTermPricing(args?: ListLongTermPricingCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListLongTermPricingCommandOutput>;
|
|
243
|
+
/**
|
|
244
|
+
* @see {@link ListPickupLocationsCommand}
|
|
245
|
+
* @param args - command input.
|
|
246
|
+
* @param paginationConfig - optional pagination config.
|
|
247
|
+
* @returns AsyncIterable of {@link ListPickupLocationsCommandOutput}.
|
|
248
|
+
*/
|
|
249
|
+
paginateListPickupLocations(args?: ListPickupLocationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPickupLocationsCommandOutput>;
|
|
201
250
|
}
|
|
202
251
|
/**
|
|
203
252
|
* <p>The Amazon Web Services Snow Family provides a petabyte-scale data transport solution that uses
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
CancelClusterCommandInput,
|
|
4
8
|
CancelClusterCommandOutput,
|
|
@@ -468,5 +472,54 @@ export interface Snowball {
|
|
|
468
472
|
options: __HttpHandlerOptions,
|
|
469
473
|
cb: (err: any, data?: UpdateLongTermPricingCommandOutput) => void
|
|
470
474
|
): void;
|
|
475
|
+
paginateDescribeAddresses(
|
|
476
|
+
args?: DescribeAddressesCommandInput,
|
|
477
|
+
paginationConfig?: Pick<
|
|
478
|
+
PaginationConfiguration,
|
|
479
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
480
|
+
>
|
|
481
|
+
): Paginator<DescribeAddressesCommandOutput>;
|
|
482
|
+
paginateListClusterJobs(
|
|
483
|
+
args: ListClusterJobsCommandInput,
|
|
484
|
+
paginationConfig?: Pick<
|
|
485
|
+
PaginationConfiguration,
|
|
486
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
487
|
+
>
|
|
488
|
+
): Paginator<ListClusterJobsCommandOutput>;
|
|
489
|
+
paginateListClusters(
|
|
490
|
+
args?: ListClustersCommandInput,
|
|
491
|
+
paginationConfig?: Pick<
|
|
492
|
+
PaginationConfiguration,
|
|
493
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
494
|
+
>
|
|
495
|
+
): Paginator<ListClustersCommandOutput>;
|
|
496
|
+
paginateListCompatibleImages(
|
|
497
|
+
args?: ListCompatibleImagesCommandInput,
|
|
498
|
+
paginationConfig?: Pick<
|
|
499
|
+
PaginationConfiguration,
|
|
500
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
501
|
+
>
|
|
502
|
+
): Paginator<ListCompatibleImagesCommandOutput>;
|
|
503
|
+
paginateListJobs(
|
|
504
|
+
args?: ListJobsCommandInput,
|
|
505
|
+
paginationConfig?: Pick<
|
|
506
|
+
PaginationConfiguration,
|
|
507
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
508
|
+
>
|
|
509
|
+
): Paginator<ListJobsCommandOutput>;
|
|
510
|
+
paginateListLongTermPricing(
|
|
511
|
+
args?: ListLongTermPricingCommandInput,
|
|
512
|
+
paginationConfig?: Pick<
|
|
513
|
+
PaginationConfiguration,
|
|
514
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
515
|
+
>
|
|
516
|
+
): Paginator<ListLongTermPricingCommandOutput>;
|
|
517
|
+
paginateListPickupLocations(
|
|
518
|
+
args?: ListPickupLocationsCommandInput,
|
|
519
|
+
paginationConfig?: Pick<
|
|
520
|
+
PaginationConfiguration,
|
|
521
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
522
|
+
>
|
|
523
|
+
): Paginator<ListPickupLocationsCommandOutput>;
|
|
471
524
|
}
|
|
472
525
|
export declare class Snowball extends SnowballClient implements Snowball {}
|
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.980.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-snowball",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.5",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.4",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.5",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.980.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.3",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|