@aws-sdk/client-storage-gateway 3.477.0 → 3.478.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist-cjs/pagination/DescribeTapeArchivesPaginator.js +2 -24
  2. package/dist-cjs/pagination/DescribeTapeRecoveryPointsPaginator.js +2 -24
  3. package/dist-cjs/pagination/DescribeTapesPaginator.js +2 -24
  4. package/dist-cjs/pagination/DescribeVTLDevicesPaginator.js +2 -24
  5. package/dist-cjs/pagination/ListFileSharesPaginator.js +2 -24
  6. package/dist-cjs/pagination/ListFileSystemAssociationsPaginator.js +2 -24
  7. package/dist-cjs/pagination/ListGatewaysPaginator.js +2 -24
  8. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +2 -24
  9. package/dist-cjs/pagination/ListTapePoolsPaginator.js +2 -24
  10. package/dist-cjs/pagination/ListTapesPaginator.js +2 -24
  11. package/dist-cjs/pagination/ListVolumesPaginator.js +2 -24
  12. package/dist-es/pagination/DescribeTapeArchivesPaginator.js +2 -23
  13. package/dist-es/pagination/DescribeTapeRecoveryPointsPaginator.js +2 -23
  14. package/dist-es/pagination/DescribeTapesPaginator.js +2 -23
  15. package/dist-es/pagination/DescribeVTLDevicesPaginator.js +2 -23
  16. package/dist-es/pagination/ListFileSharesPaginator.js +2 -23
  17. package/dist-es/pagination/ListFileSystemAssociationsPaginator.js +2 -23
  18. package/dist-es/pagination/ListGatewaysPaginator.js +2 -23
  19. package/dist-es/pagination/ListTagsForResourcePaginator.js +2 -23
  20. package/dist-es/pagination/ListTapePoolsPaginator.js +2 -23
  21. package/dist-es/pagination/ListTapesPaginator.js +2 -23
  22. package/dist-es/pagination/ListVolumesPaginator.js +2 -23
  23. package/dist-types/pagination/DescribeTapeArchivesPaginator.d.ts +1 -1
  24. package/dist-types/pagination/DescribeTapeRecoveryPointsPaginator.d.ts +1 -1
  25. package/dist-types/pagination/DescribeTapesPaginator.d.ts +1 -1
  26. package/dist-types/pagination/DescribeVTLDevicesPaginator.d.ts +1 -1
  27. package/dist-types/pagination/ListFileSharesPaginator.d.ts +1 -1
  28. package/dist-types/pagination/ListFileSystemAssociationsPaginator.d.ts +1 -1
  29. package/dist-types/pagination/ListGatewaysPaginator.d.ts +1 -1
  30. package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  31. package/dist-types/pagination/ListTapePoolsPaginator.d.ts +1 -1
  32. package/dist-types/pagination/ListTapesPaginator.d.ts +1 -1
  33. package/dist-types/pagination/ListVolumesPaginator.d.ts +1 -1
  34. package/dist-types/ts3.4/pagination/DescribeTapeArchivesPaginator.d.ts +3 -3
  35. package/dist-types/ts3.4/pagination/DescribeTapeRecoveryPointsPaginator.d.ts +3 -3
  36. package/dist-types/ts3.4/pagination/DescribeTapesPaginator.d.ts +3 -3
  37. package/dist-types/ts3.4/pagination/DescribeVTLDevicesPaginator.d.ts +3 -3
  38. package/dist-types/ts3.4/pagination/ListFileSharesPaginator.d.ts +3 -3
  39. package/dist-types/ts3.4/pagination/ListFileSystemAssociationsPaginator.d.ts +3 -3
  40. package/dist-types/ts3.4/pagination/ListGatewaysPaginator.d.ts +3 -3
  41. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +3 -3
  42. package/dist-types/ts3.4/pagination/ListTapePoolsPaginator.d.ts +3 -3
  43. package/dist-types/ts3.4/pagination/ListTapesPaginator.d.ts +3 -3
  44. package/dist-types/ts3.4/pagination/ListVolumesPaginator.d.ts +3 -3
  45. package/package.json +6 -5
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeTapeArchives = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeTapeArchivesCommand_1 = require("../commands/DescribeTapeArchivesCommand");
5
6
  const StorageGatewayClient_1 = require("../StorageGatewayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeTapeArchivesCommand_1.DescribeTapeArchivesCommand(input), ...args);
8
- };
9
- async function* paginateDescribeTapeArchives(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof StorageGatewayClient_1.StorageGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeTapeArchives = paginateDescribeTapeArchives;
7
+ exports.paginateDescribeTapeArchives = (0, core_1.createPaginator)(StorageGatewayClient_1.StorageGatewayClient, DescribeTapeArchivesCommand_1.DescribeTapeArchivesCommand, "Marker", "Marker", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeTapeRecoveryPoints = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeTapeRecoveryPointsCommand_1 = require("../commands/DescribeTapeRecoveryPointsCommand");
5
6
  const StorageGatewayClient_1 = require("../StorageGatewayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeTapeRecoveryPointsCommand_1.DescribeTapeRecoveryPointsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeTapeRecoveryPoints(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof StorageGatewayClient_1.StorageGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeTapeRecoveryPoints = paginateDescribeTapeRecoveryPoints;
7
+ exports.paginateDescribeTapeRecoveryPoints = (0, core_1.createPaginator)(StorageGatewayClient_1.StorageGatewayClient, DescribeTapeRecoveryPointsCommand_1.DescribeTapeRecoveryPointsCommand, "Marker", "Marker", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeTapes = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeTapesCommand_1 = require("../commands/DescribeTapesCommand");
5
6
  const StorageGatewayClient_1 = require("../StorageGatewayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeTapesCommand_1.DescribeTapesCommand(input), ...args);
8
- };
9
- async function* paginateDescribeTapes(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof StorageGatewayClient_1.StorageGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeTapes = paginateDescribeTapes;
7
+ exports.paginateDescribeTapes = (0, core_1.createPaginator)(StorageGatewayClient_1.StorageGatewayClient, DescribeTapesCommand_1.DescribeTapesCommand, "Marker", "Marker", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeVTLDevices = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeVTLDevicesCommand_1 = require("../commands/DescribeVTLDevicesCommand");
5
6
  const StorageGatewayClient_1 = require("../StorageGatewayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeVTLDevicesCommand_1.DescribeVTLDevicesCommand(input), ...args);
8
- };
9
- async function* paginateDescribeVTLDevices(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof StorageGatewayClient_1.StorageGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeVTLDevices = paginateDescribeVTLDevices;
7
+ exports.paginateDescribeVTLDevices = (0, core_1.createPaginator)(StorageGatewayClient_1.StorageGatewayClient, DescribeVTLDevicesCommand_1.DescribeVTLDevicesCommand, "Marker", "Marker", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListFileShares = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListFileSharesCommand_1 = require("../commands/ListFileSharesCommand");
5
6
  const StorageGatewayClient_1 = require("../StorageGatewayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListFileSharesCommand_1.ListFileSharesCommand(input), ...args);
8
- };
9
- async function* paginateListFileShares(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof StorageGatewayClient_1.StorageGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextMarker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListFileShares = paginateListFileShares;
7
+ exports.paginateListFileShares = (0, core_1.createPaginator)(StorageGatewayClient_1.StorageGatewayClient, ListFileSharesCommand_1.ListFileSharesCommand, "Marker", "NextMarker", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListFileSystemAssociations = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListFileSystemAssociationsCommand_1 = require("../commands/ListFileSystemAssociationsCommand");
5
6
  const StorageGatewayClient_1 = require("../StorageGatewayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListFileSystemAssociationsCommand_1.ListFileSystemAssociationsCommand(input), ...args);
8
- };
9
- async function* paginateListFileSystemAssociations(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof StorageGatewayClient_1.StorageGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextMarker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListFileSystemAssociations = paginateListFileSystemAssociations;
7
+ exports.paginateListFileSystemAssociations = (0, core_1.createPaginator)(StorageGatewayClient_1.StorageGatewayClient, ListFileSystemAssociationsCommand_1.ListFileSystemAssociationsCommand, "Marker", "NextMarker", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListGateways = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListGatewaysCommand_1 = require("../commands/ListGatewaysCommand");
5
6
  const StorageGatewayClient_1 = require("../StorageGatewayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListGatewaysCommand_1.ListGatewaysCommand(input), ...args);
8
- };
9
- async function* paginateListGateways(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof StorageGatewayClient_1.StorageGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListGateways = paginateListGateways;
7
+ exports.paginateListGateways = (0, core_1.createPaginator)(StorageGatewayClient_1.StorageGatewayClient, ListGatewaysCommand_1.ListGatewaysCommand, "Marker", "Marker", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListTagsForResource = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListTagsForResourceCommand_1 = require("../commands/ListTagsForResourceCommand");
5
6
  const StorageGatewayClient_1 = require("../StorageGatewayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListTagsForResourceCommand_1.ListTagsForResourceCommand(input), ...args);
8
- };
9
- async function* paginateListTagsForResource(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof StorageGatewayClient_1.StorageGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListTagsForResource = paginateListTagsForResource;
7
+ exports.paginateListTagsForResource = (0, core_1.createPaginator)(StorageGatewayClient_1.StorageGatewayClient, ListTagsForResourceCommand_1.ListTagsForResourceCommand, "Marker", "Marker", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListTapePools = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListTapePoolsCommand_1 = require("../commands/ListTapePoolsCommand");
5
6
  const StorageGatewayClient_1 = require("../StorageGatewayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListTapePoolsCommand_1.ListTapePoolsCommand(input), ...args);
8
- };
9
- async function* paginateListTapePools(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof StorageGatewayClient_1.StorageGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListTapePools = paginateListTapePools;
7
+ exports.paginateListTapePools = (0, core_1.createPaginator)(StorageGatewayClient_1.StorageGatewayClient, ListTapePoolsCommand_1.ListTapePoolsCommand, "Marker", "Marker", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListTapes = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListTapesCommand_1 = require("../commands/ListTapesCommand");
5
6
  const StorageGatewayClient_1 = require("../StorageGatewayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListTapesCommand_1.ListTapesCommand(input), ...args);
8
- };
9
- async function* paginateListTapes(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof StorageGatewayClient_1.StorageGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListTapes = paginateListTapes;
7
+ exports.paginateListTapes = (0, core_1.createPaginator)(StorageGatewayClient_1.StorageGatewayClient, ListTapesCommand_1.ListTapesCommand, "Marker", "Marker", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListVolumes = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListVolumesCommand_1 = require("../commands/ListVolumesCommand");
5
6
  const StorageGatewayClient_1 = require("../StorageGatewayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListVolumesCommand_1.ListVolumesCommand(input), ...args);
8
- };
9
- async function* paginateListVolumes(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof StorageGatewayClient_1.StorageGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListVolumes = paginateListVolumes;
7
+ exports.paginateListVolumes = (0, core_1.createPaginator)(StorageGatewayClient_1.StorageGatewayClient, ListVolumesCommand_1.ListVolumesCommand, "Marker", "Marker", "Limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeTapeArchivesCommand, } from "../commands/DescribeTapeArchivesCommand";
2
3
  import { StorageGatewayClient } from "../StorageGatewayClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeTapeArchivesCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeTapeArchives(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["Limit"] = config.pageSize;
13
- if (config.client instanceof StorageGatewayClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeTapeArchives = createPaginator(StorageGatewayClient, DescribeTapeArchivesCommand, "Marker", "Marker", "Limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeTapeRecoveryPointsCommand, } from "../commands/DescribeTapeRecoveryPointsCommand";
2
3
  import { StorageGatewayClient } from "../StorageGatewayClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeTapeRecoveryPointsCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeTapeRecoveryPoints(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["Limit"] = config.pageSize;
13
- if (config.client instanceof StorageGatewayClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeTapeRecoveryPoints = createPaginator(StorageGatewayClient, DescribeTapeRecoveryPointsCommand, "Marker", "Marker", "Limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeTapesCommand, } from "../commands/DescribeTapesCommand";
2
3
  import { StorageGatewayClient } from "../StorageGatewayClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeTapesCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeTapes(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["Limit"] = config.pageSize;
13
- if (config.client instanceof StorageGatewayClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeTapes = createPaginator(StorageGatewayClient, DescribeTapesCommand, "Marker", "Marker", "Limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeVTLDevicesCommand, } from "../commands/DescribeVTLDevicesCommand";
2
3
  import { StorageGatewayClient } from "../StorageGatewayClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeVTLDevicesCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeVTLDevices(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["Limit"] = config.pageSize;
13
- if (config.client instanceof StorageGatewayClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeVTLDevices = createPaginator(StorageGatewayClient, DescribeVTLDevicesCommand, "Marker", "Marker", "Limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListFileSharesCommand, } from "../commands/ListFileSharesCommand";
2
3
  import { StorageGatewayClient } from "../StorageGatewayClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListFileSharesCommand(input), ...args);
5
- };
6
- export async function* paginateListFileShares(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["Limit"] = config.pageSize;
13
- if (config.client instanceof StorageGatewayClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextMarker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListFileShares = createPaginator(StorageGatewayClient, ListFileSharesCommand, "Marker", "NextMarker", "Limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListFileSystemAssociationsCommand, } from "../commands/ListFileSystemAssociationsCommand";
2
3
  import { StorageGatewayClient } from "../StorageGatewayClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListFileSystemAssociationsCommand(input), ...args);
5
- };
6
- export async function* paginateListFileSystemAssociations(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["Limit"] = config.pageSize;
13
- if (config.client instanceof StorageGatewayClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextMarker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListFileSystemAssociations = createPaginator(StorageGatewayClient, ListFileSystemAssociationsCommand, "Marker", "NextMarker", "Limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListGatewaysCommand, } from "../commands/ListGatewaysCommand";
2
3
  import { StorageGatewayClient } from "../StorageGatewayClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListGatewaysCommand(input), ...args);
5
- };
6
- export async function* paginateListGateways(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["Limit"] = config.pageSize;
13
- if (config.client instanceof StorageGatewayClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListGateways = createPaginator(StorageGatewayClient, ListGatewaysCommand, "Marker", "Marker", "Limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListTagsForResourceCommand, } from "../commands/ListTagsForResourceCommand";
2
3
  import { StorageGatewayClient } from "../StorageGatewayClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListTagsForResourceCommand(input), ...args);
5
- };
6
- export async function* paginateListTagsForResource(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["Limit"] = config.pageSize;
13
- if (config.client instanceof StorageGatewayClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListTagsForResource = createPaginator(StorageGatewayClient, ListTagsForResourceCommand, "Marker", "Marker", "Limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListTapePoolsCommand, } from "../commands/ListTapePoolsCommand";
2
3
  import { StorageGatewayClient } from "../StorageGatewayClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListTapePoolsCommand(input), ...args);
5
- };
6
- export async function* paginateListTapePools(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["Limit"] = config.pageSize;
13
- if (config.client instanceof StorageGatewayClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListTapePools = createPaginator(StorageGatewayClient, ListTapePoolsCommand, "Marker", "Marker", "Limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListTapesCommand } from "../commands/ListTapesCommand";
2
3
  import { StorageGatewayClient } from "../StorageGatewayClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListTapesCommand(input), ...args);
5
- };
6
- export async function* paginateListTapes(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["Limit"] = config.pageSize;
13
- if (config.client instanceof StorageGatewayClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListTapes = createPaginator(StorageGatewayClient, ListTapesCommand, "Marker", "Marker", "Limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListVolumesCommand } from "../commands/ListVolumesCommand";
2
3
  import { StorageGatewayClient } from "../StorageGatewayClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListVolumesCommand(input), ...args);
5
- };
6
- export async function* paginateListVolumes(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["Limit"] = config.pageSize;
13
- if (config.client instanceof StorageGatewayClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListVolumes = createPaginator(StorageGatewayClient, ListVolumesCommand, "Marker", "Marker", "Limit");
@@ -4,4 +4,4 @@ import { StorageGatewayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateDescribeTapeArchives(config: StorageGatewayPaginationConfiguration, input: DescribeTapeArchivesCommandInput, ...additionalArguments: any): Paginator<DescribeTapeArchivesCommandOutput>;
7
+ export declare const paginateDescribeTapeArchives: (config: StorageGatewayPaginationConfiguration, input: DescribeTapeArchivesCommandInput, ...rest: any[]) => Paginator<DescribeTapeArchivesCommandOutput>;
@@ -4,4 +4,4 @@ import { StorageGatewayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateDescribeTapeRecoveryPoints(config: StorageGatewayPaginationConfiguration, input: DescribeTapeRecoveryPointsCommandInput, ...additionalArguments: any): Paginator<DescribeTapeRecoveryPointsCommandOutput>;
7
+ export declare const paginateDescribeTapeRecoveryPoints: (config: StorageGatewayPaginationConfiguration, input: DescribeTapeRecoveryPointsCommandInput, ...rest: any[]) => Paginator<DescribeTapeRecoveryPointsCommandOutput>;
@@ -4,4 +4,4 @@ import { StorageGatewayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateDescribeTapes(config: StorageGatewayPaginationConfiguration, input: DescribeTapesCommandInput, ...additionalArguments: any): Paginator<DescribeTapesCommandOutput>;
7
+ export declare const paginateDescribeTapes: (config: StorageGatewayPaginationConfiguration, input: DescribeTapesCommandInput, ...rest: any[]) => Paginator<DescribeTapesCommandOutput>;
@@ -4,4 +4,4 @@ import { StorageGatewayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateDescribeVTLDevices(config: StorageGatewayPaginationConfiguration, input: DescribeVTLDevicesCommandInput, ...additionalArguments: any): Paginator<DescribeVTLDevicesCommandOutput>;
7
+ export declare const paginateDescribeVTLDevices: (config: StorageGatewayPaginationConfiguration, input: DescribeVTLDevicesCommandInput, ...rest: any[]) => Paginator<DescribeVTLDevicesCommandOutput>;
@@ -4,4 +4,4 @@ import { StorageGatewayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListFileShares(config: StorageGatewayPaginationConfiguration, input: ListFileSharesCommandInput, ...additionalArguments: any): Paginator<ListFileSharesCommandOutput>;
7
+ export declare const paginateListFileShares: (config: StorageGatewayPaginationConfiguration, input: ListFileSharesCommandInput, ...rest: any[]) => Paginator<ListFileSharesCommandOutput>;
@@ -4,4 +4,4 @@ import { StorageGatewayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListFileSystemAssociations(config: StorageGatewayPaginationConfiguration, input: ListFileSystemAssociationsCommandInput, ...additionalArguments: any): Paginator<ListFileSystemAssociationsCommandOutput>;
7
+ export declare const paginateListFileSystemAssociations: (config: StorageGatewayPaginationConfiguration, input: ListFileSystemAssociationsCommandInput, ...rest: any[]) => Paginator<ListFileSystemAssociationsCommandOutput>;
@@ -4,4 +4,4 @@ import { StorageGatewayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListGateways(config: StorageGatewayPaginationConfiguration, input: ListGatewaysCommandInput, ...additionalArguments: any): Paginator<ListGatewaysCommandOutput>;
7
+ export declare const paginateListGateways: (config: StorageGatewayPaginationConfiguration, input: ListGatewaysCommandInput, ...rest: any[]) => Paginator<ListGatewaysCommandOutput>;
@@ -4,4 +4,4 @@ import { StorageGatewayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListTagsForResource(config: StorageGatewayPaginationConfiguration, input: ListTagsForResourceCommandInput, ...additionalArguments: any): Paginator<ListTagsForResourceCommandOutput>;
7
+ export declare const paginateListTagsForResource: (config: StorageGatewayPaginationConfiguration, input: ListTagsForResourceCommandInput, ...rest: any[]) => Paginator<ListTagsForResourceCommandOutput>;
@@ -4,4 +4,4 @@ import { StorageGatewayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListTapePools(config: StorageGatewayPaginationConfiguration, input: ListTapePoolsCommandInput, ...additionalArguments: any): Paginator<ListTapePoolsCommandOutput>;
7
+ export declare const paginateListTapePools: (config: StorageGatewayPaginationConfiguration, input: ListTapePoolsCommandInput, ...rest: any[]) => Paginator<ListTapePoolsCommandOutput>;
@@ -4,4 +4,4 @@ import { StorageGatewayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListTapes(config: StorageGatewayPaginationConfiguration, input: ListTapesCommandInput, ...additionalArguments: any): Paginator<ListTapesCommandOutput>;
7
+ export declare const paginateListTapes: (config: StorageGatewayPaginationConfiguration, input: ListTapesCommandInput, ...rest: any[]) => Paginator<ListTapesCommandOutput>;
@@ -4,4 +4,4 @@ import { StorageGatewayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListVolumes(config: StorageGatewayPaginationConfiguration, input: ListVolumesCommandInput, ...additionalArguments: any): Paginator<ListVolumesCommandOutput>;
7
+ export declare const paginateListVolumes: (config: StorageGatewayPaginationConfiguration, input: ListVolumesCommandInput, ...rest: any[]) => Paginator<ListVolumesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  DescribeTapeArchivesCommandOutput,
5
5
  } from "../commands/DescribeTapeArchivesCommand";
6
6
  import { StorageGatewayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateDescribeTapeArchives(
7
+ export declare const paginateDescribeTapeArchives: (
8
8
  config: StorageGatewayPaginationConfiguration,
9
9
  input: DescribeTapeArchivesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<DescribeTapeArchivesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<DescribeTapeArchivesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  DescribeTapeRecoveryPointsCommandOutput,
5
5
  } from "../commands/DescribeTapeRecoveryPointsCommand";
6
6
  import { StorageGatewayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateDescribeTapeRecoveryPoints(
7
+ export declare const paginateDescribeTapeRecoveryPoints: (
8
8
  config: StorageGatewayPaginationConfiguration,
9
9
  input: DescribeTapeRecoveryPointsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<DescribeTapeRecoveryPointsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<DescribeTapeRecoveryPointsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  DescribeTapesCommandOutput,
5
5
  } from "../commands/DescribeTapesCommand";
6
6
  import { StorageGatewayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateDescribeTapes(
7
+ export declare const paginateDescribeTapes: (
8
8
  config: StorageGatewayPaginationConfiguration,
9
9
  input: DescribeTapesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<DescribeTapesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<DescribeTapesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  DescribeVTLDevicesCommandOutput,
5
5
  } from "../commands/DescribeVTLDevicesCommand";
6
6
  import { StorageGatewayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateDescribeVTLDevices(
7
+ export declare const paginateDescribeVTLDevices: (
8
8
  config: StorageGatewayPaginationConfiguration,
9
9
  input: DescribeVTLDevicesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<DescribeVTLDevicesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<DescribeVTLDevicesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListFileSharesCommandOutput,
5
5
  } from "../commands/ListFileSharesCommand";
6
6
  import { StorageGatewayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListFileShares(
7
+ export declare const paginateListFileShares: (
8
8
  config: StorageGatewayPaginationConfiguration,
9
9
  input: ListFileSharesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListFileSharesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListFileSharesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListFileSystemAssociationsCommandOutput,
5
5
  } from "../commands/ListFileSystemAssociationsCommand";
6
6
  import { StorageGatewayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListFileSystemAssociations(
7
+ export declare const paginateListFileSystemAssociations: (
8
8
  config: StorageGatewayPaginationConfiguration,
9
9
  input: ListFileSystemAssociationsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListFileSystemAssociationsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListFileSystemAssociationsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListGatewaysCommandOutput,
5
5
  } from "../commands/ListGatewaysCommand";
6
6
  import { StorageGatewayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListGateways(
7
+ export declare const paginateListGateways: (
8
8
  config: StorageGatewayPaginationConfiguration,
9
9
  input: ListGatewaysCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListGatewaysCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListGatewaysCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListTagsForResourceCommandOutput,
5
5
  } from "../commands/ListTagsForResourceCommand";
6
6
  import { StorageGatewayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListTagsForResource(
7
+ export declare const paginateListTagsForResource: (
8
8
  config: StorageGatewayPaginationConfiguration,
9
9
  input: ListTagsForResourceCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListTagsForResourceCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListTagsForResourceCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListTapePoolsCommandOutput,
5
5
  } from "../commands/ListTapePoolsCommand";
6
6
  import { StorageGatewayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListTapePools(
7
+ export declare const paginateListTapePools: (
8
8
  config: StorageGatewayPaginationConfiguration,
9
9
  input: ListTapePoolsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListTapePoolsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListTapePoolsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListTapesCommandOutput,
5
5
  } from "../commands/ListTapesCommand";
6
6
  import { StorageGatewayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListTapes(
7
+ export declare const paginateListTapes: (
8
8
  config: StorageGatewayPaginationConfiguration,
9
9
  input: ListTapesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListTapesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListTapesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListVolumesCommandOutput,
5
5
  } from "../commands/ListVolumesCommand";
6
6
  import { StorageGatewayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListVolumes(
7
+ export declare const paginateListVolumes: (
8
8
  config: StorageGatewayPaginationConfiguration,
9
9
  input: ListVolumesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListVolumesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListVolumesCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-storage-gateway",
3
3
  "description": "AWS SDK for JavaScript Storage Gateway Client for Node.js, Browser and React Native",
4
- "version": "3.477.0",
4
+ "version": "3.478.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",
@@ -20,20 +20,21 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.477.0",
23
+ "@aws-sdk/client-sts": "3.478.0",
24
24
  "@aws-sdk/core": "3.477.0",
25
- "@aws-sdk/credential-provider-node": "3.477.0",
25
+ "@aws-sdk/credential-provider-node": "3.478.0",
26
26
  "@aws-sdk/middleware-host-header": "3.468.0",
27
27
  "@aws-sdk/middleware-logger": "3.468.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
29
29
  "@aws-sdk/middleware-signing": "3.468.0",
30
- "@aws-sdk/middleware-user-agent": "3.470.0",
30
+ "@aws-sdk/middleware-user-agent": "3.478.0",
31
31
  "@aws-sdk/region-config-resolver": "3.470.0",
32
32
  "@aws-sdk/types": "3.468.0",
33
- "@aws-sdk/util-endpoints": "3.470.0",
33
+ "@aws-sdk/util-endpoints": "3.478.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.468.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.470.0",
36
36
  "@smithy/config-resolver": "^2.0.21",
37
+ "@smithy/core": "^1.2.0",
37
38
  "@smithy/fetch-http-handler": "^2.3.1",
38
39
  "@smithy/hash-node": "^2.0.17",
39
40
  "@smithy/invalid-dependency": "^2.0.15",