@aws-sdk/client-groundstation 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.
- package/dist-cjs/pagination/ListConfigsPaginator.js +2 -24
- package/dist-cjs/pagination/ListContactsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDataflowEndpointGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEphemeridesPaginator.js +2 -24
- package/dist-cjs/pagination/ListGroundStationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListMissionProfilesPaginator.js +2 -24
- package/dist-cjs/pagination/ListSatellitesPaginator.js +2 -24
- package/dist-es/pagination/ListConfigsPaginator.js +2 -23
- package/dist-es/pagination/ListContactsPaginator.js +2 -23
- package/dist-es/pagination/ListDataflowEndpointGroupsPaginator.js +2 -23
- package/dist-es/pagination/ListEphemeridesPaginator.js +2 -23
- package/dist-es/pagination/ListGroundStationsPaginator.js +2 -23
- package/dist-es/pagination/ListMissionProfilesPaginator.js +2 -23
- package/dist-es/pagination/ListSatellitesPaginator.js +2 -23
- package/dist-types/pagination/ListConfigsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListContactsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDataflowEndpointGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEphemeridesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListGroundStationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMissionProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSatellitesPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListConfigsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListContactsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDataflowEndpointGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEphemeridesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListGroundStationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMissionProfilesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSatellitesPaginator.d.ts +3 -3
- package/package.json +5 -5
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListConfigs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListConfigsCommand_1 = require("../commands/ListConfigsCommand");
|
|
5
6
|
const GroundStationClient_1 = require("../GroundStationClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListConfigsCommand_1.ListConfigsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListConfigs(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 GroundStationClient_1.GroundStationClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected GroundStation | GroundStationClient");
|
|
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.paginateListConfigs = paginateListConfigs;
|
|
7
|
+
exports.paginateListConfigs = (0, core_1.createPaginator)(GroundStationClient_1.GroundStationClient, ListConfigsCommand_1.ListConfigsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListContacts = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListContactsCommand_1 = require("../commands/ListContactsCommand");
|
|
5
6
|
const GroundStationClient_1 = require("../GroundStationClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListContactsCommand_1.ListContactsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListContacts(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 GroundStationClient_1.GroundStationClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected GroundStation | GroundStationClient");
|
|
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.paginateListContacts = paginateListContacts;
|
|
7
|
+
exports.paginateListContacts = (0, core_1.createPaginator)(GroundStationClient_1.GroundStationClient, ListContactsCommand_1.ListContactsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDataflowEndpointGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDataflowEndpointGroupsCommand_1 = require("../commands/ListDataflowEndpointGroupsCommand");
|
|
5
6
|
const GroundStationClient_1 = require("../GroundStationClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDataflowEndpointGroupsCommand_1.ListDataflowEndpointGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDataflowEndpointGroups(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 GroundStationClient_1.GroundStationClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected GroundStation | GroundStationClient");
|
|
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.paginateListDataflowEndpointGroups = paginateListDataflowEndpointGroups;
|
|
7
|
+
exports.paginateListDataflowEndpointGroups = (0, core_1.createPaginator)(GroundStationClient_1.GroundStationClient, ListDataflowEndpointGroupsCommand_1.ListDataflowEndpointGroupsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListEphemerides = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListEphemeridesCommand_1 = require("../commands/ListEphemeridesCommand");
|
|
5
6
|
const GroundStationClient_1 = require("../GroundStationClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListEphemeridesCommand_1.ListEphemeridesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListEphemerides(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 GroundStationClient_1.GroundStationClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected GroundStation | GroundStationClient");
|
|
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.paginateListEphemerides = paginateListEphemerides;
|
|
7
|
+
exports.paginateListEphemerides = (0, core_1.createPaginator)(GroundStationClient_1.GroundStationClient, ListEphemeridesCommand_1.ListEphemeridesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListGroundStations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListGroundStationsCommand_1 = require("../commands/ListGroundStationsCommand");
|
|
5
6
|
const GroundStationClient_1 = require("../GroundStationClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListGroundStationsCommand_1.ListGroundStationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListGroundStations(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 GroundStationClient_1.GroundStationClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected GroundStation | GroundStationClient");
|
|
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.paginateListGroundStations = paginateListGroundStations;
|
|
7
|
+
exports.paginateListGroundStations = (0, core_1.createPaginator)(GroundStationClient_1.GroundStationClient, ListGroundStationsCommand_1.ListGroundStationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListMissionProfiles = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListMissionProfilesCommand_1 = require("../commands/ListMissionProfilesCommand");
|
|
5
6
|
const GroundStationClient_1 = require("../GroundStationClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListMissionProfilesCommand_1.ListMissionProfilesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListMissionProfiles(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 GroundStationClient_1.GroundStationClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected GroundStation | GroundStationClient");
|
|
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.paginateListMissionProfiles = paginateListMissionProfiles;
|
|
7
|
+
exports.paginateListMissionProfiles = (0, core_1.createPaginator)(GroundStationClient_1.GroundStationClient, ListMissionProfilesCommand_1.ListMissionProfilesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSatellites = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListSatellitesCommand_1 = require("../commands/ListSatellitesCommand");
|
|
5
6
|
const GroundStationClient_1 = require("../GroundStationClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListSatellitesCommand_1.ListSatellitesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListSatellites(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 GroundStationClient_1.GroundStationClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected GroundStation | GroundStationClient");
|
|
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.paginateListSatellites = paginateListSatellites;
|
|
7
|
+
exports.paginateListSatellites = (0, core_1.createPaginator)(GroundStationClient_1.GroundStationClient, ListSatellitesCommand_1.ListSatellitesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListConfigsCommand } from "../commands/ListConfigsCommand";
|
|
2
3
|
import { GroundStationClient } from "../GroundStationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListConfigsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListConfigs(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 GroundStationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected GroundStation | GroundStationClient");
|
|
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 paginateListConfigs = createPaginator(GroundStationClient, ListConfigsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListContactsCommand, } from "../commands/ListContactsCommand";
|
|
2
3
|
import { GroundStationClient } from "../GroundStationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListContactsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListContacts(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 GroundStationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected GroundStation | GroundStationClient");
|
|
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 paginateListContacts = createPaginator(GroundStationClient, ListContactsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListDataflowEndpointGroupsCommand, } from "../commands/ListDataflowEndpointGroupsCommand";
|
|
2
3
|
import { GroundStationClient } from "../GroundStationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDataflowEndpointGroupsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDataflowEndpointGroups(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 GroundStationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected GroundStation | GroundStationClient");
|
|
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 paginateListDataflowEndpointGroups = createPaginator(GroundStationClient, ListDataflowEndpointGroupsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListEphemeridesCommand, } from "../commands/ListEphemeridesCommand";
|
|
2
3
|
import { GroundStationClient } from "../GroundStationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListEphemeridesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListEphemerides(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 GroundStationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected GroundStation | GroundStationClient");
|
|
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 paginateListEphemerides = createPaginator(GroundStationClient, ListEphemeridesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListGroundStationsCommand, } from "../commands/ListGroundStationsCommand";
|
|
2
3
|
import { GroundStationClient } from "../GroundStationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListGroundStationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListGroundStations(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 GroundStationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected GroundStation | GroundStationClient");
|
|
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 paginateListGroundStations = createPaginator(GroundStationClient, ListGroundStationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListMissionProfilesCommand, } from "../commands/ListMissionProfilesCommand";
|
|
2
3
|
import { GroundStationClient } from "../GroundStationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListMissionProfilesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListMissionProfiles(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 GroundStationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected GroundStation | GroundStationClient");
|
|
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 paginateListMissionProfiles = createPaginator(GroundStationClient, ListMissionProfilesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListSatellitesCommand, } from "../commands/ListSatellitesCommand";
|
|
2
3
|
import { GroundStationClient } from "../GroundStationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListSatellitesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListSatellites(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 GroundStationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected GroundStation | GroundStationClient");
|
|
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 paginateListSatellites = createPaginator(GroundStationClient, ListSatellitesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -4,4 +4,4 @@ import { GroundStationPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListConfigs: (config: GroundStationPaginationConfiguration, input: ListConfigsCommandInput, ...rest: any[]) => Paginator<ListConfigsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { GroundStationPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListContacts: (config: GroundStationPaginationConfiguration, input: ListContactsCommandInput, ...rest: any[]) => Paginator<ListContactsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { GroundStationPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListDataflowEndpointGroups: (config: GroundStationPaginationConfiguration, input: ListDataflowEndpointGroupsCommandInput, ...rest: any[]) => Paginator<ListDataflowEndpointGroupsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { GroundStationPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListEphemerides: (config: GroundStationPaginationConfiguration, input: ListEphemeridesCommandInput, ...rest: any[]) => Paginator<ListEphemeridesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { GroundStationPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListGroundStations: (config: GroundStationPaginationConfiguration, input: ListGroundStationsCommandInput, ...rest: any[]) => Paginator<ListGroundStationsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { GroundStationPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListMissionProfiles: (config: GroundStationPaginationConfiguration, input: ListMissionProfilesCommandInput, ...rest: any[]) => Paginator<ListMissionProfilesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { GroundStationPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListSatellites: (config: GroundStationPaginationConfiguration, input: ListSatellitesCommandInput, ...rest: any[]) => Paginator<ListSatellitesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListConfigsCommandOutput,
|
|
5
5
|
} from "../commands/ListConfigsCommand";
|
|
6
6
|
import { GroundStationPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListConfigs: (
|
|
8
8
|
config: GroundStationPaginationConfiguration,
|
|
9
9
|
input: ListConfigsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListConfigsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListContactsCommandOutput,
|
|
5
5
|
} from "../commands/ListContactsCommand";
|
|
6
6
|
import { GroundStationPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListContacts: (
|
|
8
8
|
config: GroundStationPaginationConfiguration,
|
|
9
9
|
input: ListContactsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListContactsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListDataflowEndpointGroupsCommandOutput,
|
|
5
5
|
} from "../commands/ListDataflowEndpointGroupsCommand";
|
|
6
6
|
import { GroundStationPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListDataflowEndpointGroups: (
|
|
8
8
|
config: GroundStationPaginationConfiguration,
|
|
9
9
|
input: ListDataflowEndpointGroupsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListDataflowEndpointGroupsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListEphemeridesCommandOutput,
|
|
5
5
|
} from "../commands/ListEphemeridesCommand";
|
|
6
6
|
import { GroundStationPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListEphemerides: (
|
|
8
8
|
config: GroundStationPaginationConfiguration,
|
|
9
9
|
input: ListEphemeridesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListEphemeridesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListGroundStationsCommandOutput,
|
|
5
5
|
} from "../commands/ListGroundStationsCommand";
|
|
6
6
|
import { GroundStationPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListGroundStations: (
|
|
8
8
|
config: GroundStationPaginationConfiguration,
|
|
9
9
|
input: ListGroundStationsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListGroundStationsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListMissionProfilesCommandOutput,
|
|
5
5
|
} from "../commands/ListMissionProfilesCommand";
|
|
6
6
|
import { GroundStationPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListMissionProfiles: (
|
|
8
8
|
config: GroundStationPaginationConfiguration,
|
|
9
9
|
input: ListMissionProfilesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListMissionProfilesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListSatellitesCommandOutput,
|
|
5
5
|
} from "../commands/ListSatellitesCommand";
|
|
6
6
|
import { GroundStationPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListSatellites: (
|
|
8
8
|
config: GroundStationPaginationConfiguration,
|
|
9
9
|
input: ListSatellitesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListSatellitesCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-groundstation",
|
|
3
3
|
"description": "AWS SDK for JavaScript Groundstation Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
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,17 +20,17 @@
|
|
|
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.
|
|
23
|
+
"@aws-sdk/client-sts": "3.478.0",
|
|
24
24
|
"@aws-sdk/core": "3.477.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
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.
|
|
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.
|
|
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",
|