@aws-sdk/client-iotfleetwise 3.476.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 (53) hide show
  1. package/dist-cjs/pagination/GetVehicleStatusPaginator.js +2 -24
  2. package/dist-cjs/pagination/ListCampaignsPaginator.js +2 -24
  3. package/dist-cjs/pagination/ListDecoderManifestNetworkInterfacesPaginator.js +2 -24
  4. package/dist-cjs/pagination/ListDecoderManifestSignalsPaginator.js +2 -24
  5. package/dist-cjs/pagination/ListDecoderManifestsPaginator.js +2 -24
  6. package/dist-cjs/pagination/ListFleetsForVehiclePaginator.js +2 -24
  7. package/dist-cjs/pagination/ListFleetsPaginator.js +2 -24
  8. package/dist-cjs/pagination/ListModelManifestNodesPaginator.js +2 -24
  9. package/dist-cjs/pagination/ListModelManifestsPaginator.js +2 -24
  10. package/dist-cjs/pagination/ListSignalCatalogNodesPaginator.js +2 -24
  11. package/dist-cjs/pagination/ListSignalCatalogsPaginator.js +2 -24
  12. package/dist-cjs/pagination/ListVehiclesInFleetPaginator.js +2 -24
  13. package/dist-cjs/pagination/ListVehiclesPaginator.js +2 -24
  14. package/dist-es/pagination/GetVehicleStatusPaginator.js +2 -23
  15. package/dist-es/pagination/ListCampaignsPaginator.js +2 -23
  16. package/dist-es/pagination/ListDecoderManifestNetworkInterfacesPaginator.js +2 -23
  17. package/dist-es/pagination/ListDecoderManifestSignalsPaginator.js +2 -23
  18. package/dist-es/pagination/ListDecoderManifestsPaginator.js +2 -23
  19. package/dist-es/pagination/ListFleetsForVehiclePaginator.js +2 -23
  20. package/dist-es/pagination/ListFleetsPaginator.js +2 -23
  21. package/dist-es/pagination/ListModelManifestNodesPaginator.js +2 -23
  22. package/dist-es/pagination/ListModelManifestsPaginator.js +2 -23
  23. package/dist-es/pagination/ListSignalCatalogNodesPaginator.js +2 -23
  24. package/dist-es/pagination/ListSignalCatalogsPaginator.js +2 -23
  25. package/dist-es/pagination/ListVehiclesInFleetPaginator.js +2 -23
  26. package/dist-es/pagination/ListVehiclesPaginator.js +2 -23
  27. package/dist-types/pagination/GetVehicleStatusPaginator.d.ts +1 -1
  28. package/dist-types/pagination/ListCampaignsPaginator.d.ts +1 -1
  29. package/dist-types/pagination/ListDecoderManifestNetworkInterfacesPaginator.d.ts +1 -1
  30. package/dist-types/pagination/ListDecoderManifestSignalsPaginator.d.ts +1 -1
  31. package/dist-types/pagination/ListDecoderManifestsPaginator.d.ts +1 -1
  32. package/dist-types/pagination/ListFleetsForVehiclePaginator.d.ts +1 -1
  33. package/dist-types/pagination/ListFleetsPaginator.d.ts +1 -1
  34. package/dist-types/pagination/ListModelManifestNodesPaginator.d.ts +1 -1
  35. package/dist-types/pagination/ListModelManifestsPaginator.d.ts +1 -1
  36. package/dist-types/pagination/ListSignalCatalogNodesPaginator.d.ts +1 -1
  37. package/dist-types/pagination/ListSignalCatalogsPaginator.d.ts +1 -1
  38. package/dist-types/pagination/ListVehiclesInFleetPaginator.d.ts +1 -1
  39. package/dist-types/pagination/ListVehiclesPaginator.d.ts +1 -1
  40. package/dist-types/ts3.4/pagination/GetVehicleStatusPaginator.d.ts +3 -3
  41. package/dist-types/ts3.4/pagination/ListCampaignsPaginator.d.ts +3 -3
  42. package/dist-types/ts3.4/pagination/ListDecoderManifestNetworkInterfacesPaginator.d.ts +3 -3
  43. package/dist-types/ts3.4/pagination/ListDecoderManifestSignalsPaginator.d.ts +3 -3
  44. package/dist-types/ts3.4/pagination/ListDecoderManifestsPaginator.d.ts +3 -3
  45. package/dist-types/ts3.4/pagination/ListFleetsForVehiclePaginator.d.ts +3 -3
  46. package/dist-types/ts3.4/pagination/ListFleetsPaginator.d.ts +3 -3
  47. package/dist-types/ts3.4/pagination/ListModelManifestNodesPaginator.d.ts +3 -3
  48. package/dist-types/ts3.4/pagination/ListModelManifestsPaginator.d.ts +3 -3
  49. package/dist-types/ts3.4/pagination/ListSignalCatalogNodesPaginator.d.ts +3 -3
  50. package/dist-types/ts3.4/pagination/ListSignalCatalogsPaginator.d.ts +3 -3
  51. package/dist-types/ts3.4/pagination/ListVehiclesInFleetPaginator.d.ts +3 -3
  52. package/dist-types/ts3.4/pagination/ListVehiclesPaginator.d.ts +3 -3
  53. package/package.json +7 -6
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetVehicleStatus = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetVehicleStatusCommand_1 = require("../commands/GetVehicleStatusCommand");
5
6
  const IoTFleetWiseClient_1 = require("../IoTFleetWiseClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetVehicleStatusCommand_1.GetVehicleStatusCommand(input), ...args);
8
- };
9
- async function* paginateGetVehicleStatus(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTFleetWiseClient_1.IoTFleetWiseClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTFleetWise | IoTFleetWiseClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetVehicleStatus = paginateGetVehicleStatus;
7
+ exports.paginateGetVehicleStatus = (0, core_1.createPaginator)(IoTFleetWiseClient_1.IoTFleetWiseClient, GetVehicleStatusCommand_1.GetVehicleStatusCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListCampaigns = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListCampaignsCommand_1 = require("../commands/ListCampaignsCommand");
5
6
  const IoTFleetWiseClient_1 = require("../IoTFleetWiseClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListCampaignsCommand_1.ListCampaignsCommand(input), ...args);
8
- };
9
- async function* paginateListCampaigns(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTFleetWiseClient_1.IoTFleetWiseClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTFleetWise | IoTFleetWiseClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListCampaigns = paginateListCampaigns;
7
+ exports.paginateListCampaigns = (0, core_1.createPaginator)(IoTFleetWiseClient_1.IoTFleetWiseClient, ListCampaignsCommand_1.ListCampaignsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListDecoderManifestNetworkInterfaces = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListDecoderManifestNetworkInterfacesCommand_1 = require("../commands/ListDecoderManifestNetworkInterfacesCommand");
5
6
  const IoTFleetWiseClient_1 = require("../IoTFleetWiseClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListDecoderManifestNetworkInterfacesCommand_1.ListDecoderManifestNetworkInterfacesCommand(input), ...args);
8
- };
9
- async function* paginateListDecoderManifestNetworkInterfaces(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTFleetWiseClient_1.IoTFleetWiseClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTFleetWise | IoTFleetWiseClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListDecoderManifestNetworkInterfaces = paginateListDecoderManifestNetworkInterfaces;
7
+ exports.paginateListDecoderManifestNetworkInterfaces = (0, core_1.createPaginator)(IoTFleetWiseClient_1.IoTFleetWiseClient, ListDecoderManifestNetworkInterfacesCommand_1.ListDecoderManifestNetworkInterfacesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListDecoderManifestSignals = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListDecoderManifestSignalsCommand_1 = require("../commands/ListDecoderManifestSignalsCommand");
5
6
  const IoTFleetWiseClient_1 = require("../IoTFleetWiseClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListDecoderManifestSignalsCommand_1.ListDecoderManifestSignalsCommand(input), ...args);
8
- };
9
- async function* paginateListDecoderManifestSignals(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTFleetWiseClient_1.IoTFleetWiseClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTFleetWise | IoTFleetWiseClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListDecoderManifestSignals = paginateListDecoderManifestSignals;
7
+ exports.paginateListDecoderManifestSignals = (0, core_1.createPaginator)(IoTFleetWiseClient_1.IoTFleetWiseClient, ListDecoderManifestSignalsCommand_1.ListDecoderManifestSignalsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListDecoderManifests = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListDecoderManifestsCommand_1 = require("../commands/ListDecoderManifestsCommand");
5
6
  const IoTFleetWiseClient_1 = require("../IoTFleetWiseClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListDecoderManifestsCommand_1.ListDecoderManifestsCommand(input), ...args);
8
- };
9
- async function* paginateListDecoderManifests(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTFleetWiseClient_1.IoTFleetWiseClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTFleetWise | IoTFleetWiseClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListDecoderManifests = paginateListDecoderManifests;
7
+ exports.paginateListDecoderManifests = (0, core_1.createPaginator)(IoTFleetWiseClient_1.IoTFleetWiseClient, ListDecoderManifestsCommand_1.ListDecoderManifestsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListFleetsForVehicle = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListFleetsForVehicleCommand_1 = require("../commands/ListFleetsForVehicleCommand");
5
6
  const IoTFleetWiseClient_1 = require("../IoTFleetWiseClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListFleetsForVehicleCommand_1.ListFleetsForVehicleCommand(input), ...args);
8
- };
9
- async function* paginateListFleetsForVehicle(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTFleetWiseClient_1.IoTFleetWiseClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTFleetWise | IoTFleetWiseClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListFleetsForVehicle = paginateListFleetsForVehicle;
7
+ exports.paginateListFleetsForVehicle = (0, core_1.createPaginator)(IoTFleetWiseClient_1.IoTFleetWiseClient, ListFleetsForVehicleCommand_1.ListFleetsForVehicleCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListFleets = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListFleetsCommand_1 = require("../commands/ListFleetsCommand");
5
6
  const IoTFleetWiseClient_1 = require("../IoTFleetWiseClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListFleetsCommand_1.ListFleetsCommand(input), ...args);
8
- };
9
- async function* paginateListFleets(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTFleetWiseClient_1.IoTFleetWiseClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTFleetWise | IoTFleetWiseClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListFleets = paginateListFleets;
7
+ exports.paginateListFleets = (0, core_1.createPaginator)(IoTFleetWiseClient_1.IoTFleetWiseClient, ListFleetsCommand_1.ListFleetsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListModelManifestNodes = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListModelManifestNodesCommand_1 = require("../commands/ListModelManifestNodesCommand");
5
6
  const IoTFleetWiseClient_1 = require("../IoTFleetWiseClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListModelManifestNodesCommand_1.ListModelManifestNodesCommand(input), ...args);
8
- };
9
- async function* paginateListModelManifestNodes(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTFleetWiseClient_1.IoTFleetWiseClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTFleetWise | IoTFleetWiseClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListModelManifestNodes = paginateListModelManifestNodes;
7
+ exports.paginateListModelManifestNodes = (0, core_1.createPaginator)(IoTFleetWiseClient_1.IoTFleetWiseClient, ListModelManifestNodesCommand_1.ListModelManifestNodesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListModelManifests = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListModelManifestsCommand_1 = require("../commands/ListModelManifestsCommand");
5
6
  const IoTFleetWiseClient_1 = require("../IoTFleetWiseClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListModelManifestsCommand_1.ListModelManifestsCommand(input), ...args);
8
- };
9
- async function* paginateListModelManifests(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTFleetWiseClient_1.IoTFleetWiseClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTFleetWise | IoTFleetWiseClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListModelManifests = paginateListModelManifests;
7
+ exports.paginateListModelManifests = (0, core_1.createPaginator)(IoTFleetWiseClient_1.IoTFleetWiseClient, ListModelManifestsCommand_1.ListModelManifestsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListSignalCatalogNodes = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListSignalCatalogNodesCommand_1 = require("../commands/ListSignalCatalogNodesCommand");
5
6
  const IoTFleetWiseClient_1 = require("../IoTFleetWiseClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListSignalCatalogNodesCommand_1.ListSignalCatalogNodesCommand(input), ...args);
8
- };
9
- async function* paginateListSignalCatalogNodes(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTFleetWiseClient_1.IoTFleetWiseClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTFleetWise | IoTFleetWiseClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListSignalCatalogNodes = paginateListSignalCatalogNodes;
7
+ exports.paginateListSignalCatalogNodes = (0, core_1.createPaginator)(IoTFleetWiseClient_1.IoTFleetWiseClient, ListSignalCatalogNodesCommand_1.ListSignalCatalogNodesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListSignalCatalogs = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListSignalCatalogsCommand_1 = require("../commands/ListSignalCatalogsCommand");
5
6
  const IoTFleetWiseClient_1 = require("../IoTFleetWiseClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListSignalCatalogsCommand_1.ListSignalCatalogsCommand(input), ...args);
8
- };
9
- async function* paginateListSignalCatalogs(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTFleetWiseClient_1.IoTFleetWiseClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTFleetWise | IoTFleetWiseClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListSignalCatalogs = paginateListSignalCatalogs;
7
+ exports.paginateListSignalCatalogs = (0, core_1.createPaginator)(IoTFleetWiseClient_1.IoTFleetWiseClient, ListSignalCatalogsCommand_1.ListSignalCatalogsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListVehiclesInFleet = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListVehiclesInFleetCommand_1 = require("../commands/ListVehiclesInFleetCommand");
5
6
  const IoTFleetWiseClient_1 = require("../IoTFleetWiseClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListVehiclesInFleetCommand_1.ListVehiclesInFleetCommand(input), ...args);
8
- };
9
- async function* paginateListVehiclesInFleet(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTFleetWiseClient_1.IoTFleetWiseClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTFleetWise | IoTFleetWiseClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListVehiclesInFleet = paginateListVehiclesInFleet;
7
+ exports.paginateListVehiclesInFleet = (0, core_1.createPaginator)(IoTFleetWiseClient_1.IoTFleetWiseClient, ListVehiclesInFleetCommand_1.ListVehiclesInFleetCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListVehicles = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListVehiclesCommand_1 = require("../commands/ListVehiclesCommand");
5
6
  const IoTFleetWiseClient_1 = require("../IoTFleetWiseClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListVehiclesCommand_1.ListVehiclesCommand(input), ...args);
8
- };
9
- async function* paginateListVehicles(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTFleetWiseClient_1.IoTFleetWiseClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTFleetWise | IoTFleetWiseClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListVehicles = paginateListVehicles;
7
+ exports.paginateListVehicles = (0, core_1.createPaginator)(IoTFleetWiseClient_1.IoTFleetWiseClient, ListVehiclesCommand_1.ListVehiclesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetVehicleStatusCommand, } from "../commands/GetVehicleStatusCommand";
2
3
  import { IoTFleetWiseClient } from "../IoTFleetWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetVehicleStatusCommand(input), ...args);
5
- };
6
- export async function* paginateGetVehicleStatus(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTFleetWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTFleetWise | IoTFleetWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetVehicleStatus = createPaginator(IoTFleetWiseClient, GetVehicleStatusCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListCampaignsCommand, } from "../commands/ListCampaignsCommand";
2
3
  import { IoTFleetWiseClient } from "../IoTFleetWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListCampaignsCommand(input), ...args);
5
- };
6
- export async function* paginateListCampaigns(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTFleetWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTFleetWise | IoTFleetWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListCampaigns = createPaginator(IoTFleetWiseClient, ListCampaignsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListDecoderManifestNetworkInterfacesCommand, } from "../commands/ListDecoderManifestNetworkInterfacesCommand";
2
3
  import { IoTFleetWiseClient } from "../IoTFleetWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListDecoderManifestNetworkInterfacesCommand(input), ...args);
5
- };
6
- export async function* paginateListDecoderManifestNetworkInterfaces(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTFleetWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTFleetWise | IoTFleetWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListDecoderManifestNetworkInterfaces = createPaginator(IoTFleetWiseClient, ListDecoderManifestNetworkInterfacesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListDecoderManifestSignalsCommand, } from "../commands/ListDecoderManifestSignalsCommand";
2
3
  import { IoTFleetWiseClient } from "../IoTFleetWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListDecoderManifestSignalsCommand(input), ...args);
5
- };
6
- export async function* paginateListDecoderManifestSignals(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTFleetWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTFleetWise | IoTFleetWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListDecoderManifestSignals = createPaginator(IoTFleetWiseClient, ListDecoderManifestSignalsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListDecoderManifestsCommand, } from "../commands/ListDecoderManifestsCommand";
2
3
  import { IoTFleetWiseClient } from "../IoTFleetWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListDecoderManifestsCommand(input), ...args);
5
- };
6
- export async function* paginateListDecoderManifests(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTFleetWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTFleetWise | IoTFleetWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListDecoderManifests = createPaginator(IoTFleetWiseClient, ListDecoderManifestsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListFleetsForVehicleCommand, } from "../commands/ListFleetsForVehicleCommand";
2
3
  import { IoTFleetWiseClient } from "../IoTFleetWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListFleetsForVehicleCommand(input), ...args);
5
- };
6
- export async function* paginateListFleetsForVehicle(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTFleetWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTFleetWise | IoTFleetWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListFleetsForVehicle = createPaginator(IoTFleetWiseClient, ListFleetsForVehicleCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListFleetsCommand } from "../commands/ListFleetsCommand";
2
3
  import { IoTFleetWiseClient } from "../IoTFleetWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListFleetsCommand(input), ...args);
5
- };
6
- export async function* paginateListFleets(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTFleetWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTFleetWise | IoTFleetWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListFleets = createPaginator(IoTFleetWiseClient, ListFleetsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListModelManifestNodesCommand, } from "../commands/ListModelManifestNodesCommand";
2
3
  import { IoTFleetWiseClient } from "../IoTFleetWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListModelManifestNodesCommand(input), ...args);
5
- };
6
- export async function* paginateListModelManifestNodes(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTFleetWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTFleetWise | IoTFleetWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListModelManifestNodes = createPaginator(IoTFleetWiseClient, ListModelManifestNodesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListModelManifestsCommand, } from "../commands/ListModelManifestsCommand";
2
3
  import { IoTFleetWiseClient } from "../IoTFleetWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListModelManifestsCommand(input), ...args);
5
- };
6
- export async function* paginateListModelManifests(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTFleetWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTFleetWise | IoTFleetWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListModelManifests = createPaginator(IoTFleetWiseClient, ListModelManifestsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListSignalCatalogNodesCommand, } from "../commands/ListSignalCatalogNodesCommand";
2
3
  import { IoTFleetWiseClient } from "../IoTFleetWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListSignalCatalogNodesCommand(input), ...args);
5
- };
6
- export async function* paginateListSignalCatalogNodes(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTFleetWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTFleetWise | IoTFleetWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListSignalCatalogNodes = createPaginator(IoTFleetWiseClient, ListSignalCatalogNodesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListSignalCatalogsCommand, } from "../commands/ListSignalCatalogsCommand";
2
3
  import { IoTFleetWiseClient } from "../IoTFleetWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListSignalCatalogsCommand(input), ...args);
5
- };
6
- export async function* paginateListSignalCatalogs(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTFleetWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTFleetWise | IoTFleetWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListSignalCatalogs = createPaginator(IoTFleetWiseClient, ListSignalCatalogsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListVehiclesInFleetCommand, } from "../commands/ListVehiclesInFleetCommand";
2
3
  import { IoTFleetWiseClient } from "../IoTFleetWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListVehiclesInFleetCommand(input), ...args);
5
- };
6
- export async function* paginateListVehiclesInFleet(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTFleetWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTFleetWise | IoTFleetWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListVehiclesInFleet = createPaginator(IoTFleetWiseClient, ListVehiclesInFleetCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListVehiclesCommand, } from "../commands/ListVehiclesCommand";
2
3
  import { IoTFleetWiseClient } from "../IoTFleetWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListVehiclesCommand(input), ...args);
5
- };
6
- export async function* paginateListVehicles(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTFleetWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTFleetWise | IoTFleetWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListVehicles = createPaginator(IoTFleetWiseClient, ListVehiclesCommand, "nextToken", "nextToken", "maxResults");
@@ -4,4 +4,4 @@ import { IoTFleetWisePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetVehicleStatus(config: IoTFleetWisePaginationConfiguration, input: GetVehicleStatusCommandInput, ...additionalArguments: any): Paginator<GetVehicleStatusCommandOutput>;
7
+ export declare const paginateGetVehicleStatus: (config: IoTFleetWisePaginationConfiguration, input: GetVehicleStatusCommandInput, ...rest: any[]) => Paginator<GetVehicleStatusCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTFleetWisePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListCampaigns(config: IoTFleetWisePaginationConfiguration, input: ListCampaignsCommandInput, ...additionalArguments: any): Paginator<ListCampaignsCommandOutput>;
7
+ export declare const paginateListCampaigns: (config: IoTFleetWisePaginationConfiguration, input: ListCampaignsCommandInput, ...rest: any[]) => Paginator<ListCampaignsCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTFleetWisePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListDecoderManifestNetworkInterfaces(config: IoTFleetWisePaginationConfiguration, input: ListDecoderManifestNetworkInterfacesCommandInput, ...additionalArguments: any): Paginator<ListDecoderManifestNetworkInterfacesCommandOutput>;
7
+ export declare const paginateListDecoderManifestNetworkInterfaces: (config: IoTFleetWisePaginationConfiguration, input: ListDecoderManifestNetworkInterfacesCommandInput, ...rest: any[]) => Paginator<ListDecoderManifestNetworkInterfacesCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTFleetWisePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListDecoderManifestSignals(config: IoTFleetWisePaginationConfiguration, input: ListDecoderManifestSignalsCommandInput, ...additionalArguments: any): Paginator<ListDecoderManifestSignalsCommandOutput>;
7
+ export declare const paginateListDecoderManifestSignals: (config: IoTFleetWisePaginationConfiguration, input: ListDecoderManifestSignalsCommandInput, ...rest: any[]) => Paginator<ListDecoderManifestSignalsCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTFleetWisePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListDecoderManifests(config: IoTFleetWisePaginationConfiguration, input: ListDecoderManifestsCommandInput, ...additionalArguments: any): Paginator<ListDecoderManifestsCommandOutput>;
7
+ export declare const paginateListDecoderManifests: (config: IoTFleetWisePaginationConfiguration, input: ListDecoderManifestsCommandInput, ...rest: any[]) => Paginator<ListDecoderManifestsCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTFleetWisePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListFleetsForVehicle(config: IoTFleetWisePaginationConfiguration, input: ListFleetsForVehicleCommandInput, ...additionalArguments: any): Paginator<ListFleetsForVehicleCommandOutput>;
7
+ export declare const paginateListFleetsForVehicle: (config: IoTFleetWisePaginationConfiguration, input: ListFleetsForVehicleCommandInput, ...rest: any[]) => Paginator<ListFleetsForVehicleCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTFleetWisePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListFleets(config: IoTFleetWisePaginationConfiguration, input: ListFleetsCommandInput, ...additionalArguments: any): Paginator<ListFleetsCommandOutput>;
7
+ export declare const paginateListFleets: (config: IoTFleetWisePaginationConfiguration, input: ListFleetsCommandInput, ...rest: any[]) => Paginator<ListFleetsCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTFleetWisePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListModelManifestNodes(config: IoTFleetWisePaginationConfiguration, input: ListModelManifestNodesCommandInput, ...additionalArguments: any): Paginator<ListModelManifestNodesCommandOutput>;
7
+ export declare const paginateListModelManifestNodes: (config: IoTFleetWisePaginationConfiguration, input: ListModelManifestNodesCommandInput, ...rest: any[]) => Paginator<ListModelManifestNodesCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTFleetWisePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListModelManifests(config: IoTFleetWisePaginationConfiguration, input: ListModelManifestsCommandInput, ...additionalArguments: any): Paginator<ListModelManifestsCommandOutput>;
7
+ export declare const paginateListModelManifests: (config: IoTFleetWisePaginationConfiguration, input: ListModelManifestsCommandInput, ...rest: any[]) => Paginator<ListModelManifestsCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTFleetWisePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListSignalCatalogNodes(config: IoTFleetWisePaginationConfiguration, input: ListSignalCatalogNodesCommandInput, ...additionalArguments: any): Paginator<ListSignalCatalogNodesCommandOutput>;
7
+ export declare const paginateListSignalCatalogNodes: (config: IoTFleetWisePaginationConfiguration, input: ListSignalCatalogNodesCommandInput, ...rest: any[]) => Paginator<ListSignalCatalogNodesCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTFleetWisePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListSignalCatalogs(config: IoTFleetWisePaginationConfiguration, input: ListSignalCatalogsCommandInput, ...additionalArguments: any): Paginator<ListSignalCatalogsCommandOutput>;
7
+ export declare const paginateListSignalCatalogs: (config: IoTFleetWisePaginationConfiguration, input: ListSignalCatalogsCommandInput, ...rest: any[]) => Paginator<ListSignalCatalogsCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTFleetWisePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListVehiclesInFleet(config: IoTFleetWisePaginationConfiguration, input: ListVehiclesInFleetCommandInput, ...additionalArguments: any): Paginator<ListVehiclesInFleetCommandOutput>;
7
+ export declare const paginateListVehiclesInFleet: (config: IoTFleetWisePaginationConfiguration, input: ListVehiclesInFleetCommandInput, ...rest: any[]) => Paginator<ListVehiclesInFleetCommandOutput>;
@@ -4,4 +4,4 @@ import { IoTFleetWisePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListVehicles(config: IoTFleetWisePaginationConfiguration, input: ListVehiclesCommandInput, ...additionalArguments: any): Paginator<ListVehiclesCommandOutput>;
7
+ export declare const paginateListVehicles: (config: IoTFleetWisePaginationConfiguration, input: ListVehiclesCommandInput, ...rest: any[]) => Paginator<ListVehiclesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetVehicleStatusCommandOutput,
5
5
  } from "../commands/GetVehicleStatusCommand";
6
6
  import { IoTFleetWisePaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetVehicleStatus(
7
+ export declare const paginateGetVehicleStatus: (
8
8
  config: IoTFleetWisePaginationConfiguration,
9
9
  input: GetVehicleStatusCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetVehicleStatusCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetVehicleStatusCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListCampaignsCommandOutput,
5
5
  } from "../commands/ListCampaignsCommand";
6
6
  import { IoTFleetWisePaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListCampaigns(
7
+ export declare const paginateListCampaigns: (
8
8
  config: IoTFleetWisePaginationConfiguration,
9
9
  input: ListCampaignsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListCampaignsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListCampaignsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListDecoderManifestNetworkInterfacesCommandOutput,
5
5
  } from "../commands/ListDecoderManifestNetworkInterfacesCommand";
6
6
  import { IoTFleetWisePaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListDecoderManifestNetworkInterfaces(
7
+ export declare const paginateListDecoderManifestNetworkInterfaces: (
8
8
  config: IoTFleetWisePaginationConfiguration,
9
9
  input: ListDecoderManifestNetworkInterfacesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListDecoderManifestNetworkInterfacesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListDecoderManifestNetworkInterfacesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListDecoderManifestSignalsCommandOutput,
5
5
  } from "../commands/ListDecoderManifestSignalsCommand";
6
6
  import { IoTFleetWisePaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListDecoderManifestSignals(
7
+ export declare const paginateListDecoderManifestSignals: (
8
8
  config: IoTFleetWisePaginationConfiguration,
9
9
  input: ListDecoderManifestSignalsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListDecoderManifestSignalsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListDecoderManifestSignalsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListDecoderManifestsCommandOutput,
5
5
  } from "../commands/ListDecoderManifestsCommand";
6
6
  import { IoTFleetWisePaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListDecoderManifests(
7
+ export declare const paginateListDecoderManifests: (
8
8
  config: IoTFleetWisePaginationConfiguration,
9
9
  input: ListDecoderManifestsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListDecoderManifestsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListDecoderManifestsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListFleetsForVehicleCommandOutput,
5
5
  } from "../commands/ListFleetsForVehicleCommand";
6
6
  import { IoTFleetWisePaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListFleetsForVehicle(
7
+ export declare const paginateListFleetsForVehicle: (
8
8
  config: IoTFleetWisePaginationConfiguration,
9
9
  input: ListFleetsForVehicleCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListFleetsForVehicleCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListFleetsForVehicleCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListFleetsCommandOutput,
5
5
  } from "../commands/ListFleetsCommand";
6
6
  import { IoTFleetWisePaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListFleets(
7
+ export declare const paginateListFleets: (
8
8
  config: IoTFleetWisePaginationConfiguration,
9
9
  input: ListFleetsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListFleetsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListFleetsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListModelManifestNodesCommandOutput,
5
5
  } from "../commands/ListModelManifestNodesCommand";
6
6
  import { IoTFleetWisePaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListModelManifestNodes(
7
+ export declare const paginateListModelManifestNodes: (
8
8
  config: IoTFleetWisePaginationConfiguration,
9
9
  input: ListModelManifestNodesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListModelManifestNodesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListModelManifestNodesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListModelManifestsCommandOutput,
5
5
  } from "../commands/ListModelManifestsCommand";
6
6
  import { IoTFleetWisePaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListModelManifests(
7
+ export declare const paginateListModelManifests: (
8
8
  config: IoTFleetWisePaginationConfiguration,
9
9
  input: ListModelManifestsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListModelManifestsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListModelManifestsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListSignalCatalogNodesCommandOutput,
5
5
  } from "../commands/ListSignalCatalogNodesCommand";
6
6
  import { IoTFleetWisePaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListSignalCatalogNodes(
7
+ export declare const paginateListSignalCatalogNodes: (
8
8
  config: IoTFleetWisePaginationConfiguration,
9
9
  input: ListSignalCatalogNodesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListSignalCatalogNodesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListSignalCatalogNodesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListSignalCatalogsCommandOutput,
5
5
  } from "../commands/ListSignalCatalogsCommand";
6
6
  import { IoTFleetWisePaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListSignalCatalogs(
7
+ export declare const paginateListSignalCatalogs: (
8
8
  config: IoTFleetWisePaginationConfiguration,
9
9
  input: ListSignalCatalogsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListSignalCatalogsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListSignalCatalogsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListVehiclesInFleetCommandOutput,
5
5
  } from "../commands/ListVehiclesInFleetCommand";
6
6
  import { IoTFleetWisePaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListVehiclesInFleet(
7
+ export declare const paginateListVehiclesInFleet: (
8
8
  config: IoTFleetWisePaginationConfiguration,
9
9
  input: ListVehiclesInFleetCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListVehiclesInFleetCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListVehiclesInFleetCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListVehiclesCommandOutput,
5
5
  } from "../commands/ListVehiclesCommand";
6
6
  import { IoTFleetWisePaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListVehicles(
7
+ export declare const paginateListVehicles: (
8
8
  config: IoTFleetWisePaginationConfiguration,
9
9
  input: ListVehiclesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListVehiclesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListVehiclesCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iotfleetwise",
3
3
  "description": "AWS SDK for JavaScript Iotfleetwise Client for Node.js, Browser and React Native",
4
- "version": "3.476.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.476.0",
24
- "@aws-sdk/core": "3.476.0",
25
- "@aws-sdk/credential-provider-node": "3.476.0",
23
+ "@aws-sdk/client-sts": "3.478.0",
24
+ "@aws-sdk/core": "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",