@aws-sdk/client-location 3.282.0 → 3.287.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/GetDevicePositionHistoryPaginator.js +1 -8
- package/dist-cjs/pagination/ListDevicePositionsPaginator.js +1 -8
- package/dist-cjs/pagination/ListGeofenceCollectionsPaginator.js +1 -8
- package/dist-cjs/pagination/ListGeofencesPaginator.js +1 -8
- package/dist-cjs/pagination/ListKeysPaginator.js +1 -8
- package/dist-cjs/pagination/ListMapsPaginator.js +1 -8
- package/dist-cjs/pagination/ListPlaceIndexesPaginator.js +1 -8
- package/dist-cjs/pagination/ListRouteCalculatorsPaginator.js +1 -8
- package/dist-cjs/pagination/ListTrackerConsumersPaginator.js +1 -8
- package/dist-cjs/pagination/ListTrackersPaginator.js +1 -8
- package/dist-es/pagination/GetDevicePositionHistoryPaginator.js +1 -8
- package/dist-es/pagination/ListDevicePositionsPaginator.js +1 -8
- package/dist-es/pagination/ListGeofenceCollectionsPaginator.js +1 -8
- package/dist-es/pagination/ListGeofencesPaginator.js +1 -8
- package/dist-es/pagination/ListKeysPaginator.js +1 -8
- package/dist-es/pagination/ListMapsPaginator.js +1 -8
- package/dist-es/pagination/ListPlaceIndexesPaginator.js +1 -8
- package/dist-es/pagination/ListRouteCalculatorsPaginator.js +1 -8
- package/dist-es/pagination/ListTrackerConsumersPaginator.js +1 -8
- package/dist-es/pagination/ListTrackersPaginator.js +1 -8
- package/dist-types/models/models_0.d.ts +26 -10
- package/dist-types/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/package.json +9 -9
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetDevicePositionHistory = void 0;
|
|
4
4
|
const GetDevicePositionHistoryCommand_1 = require("../commands/GetDevicePositionHistoryCommand");
|
|
5
|
-
const Location_1 = require("../Location");
|
|
6
5
|
const LocationClient_1 = require("../LocationClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new GetDevicePositionHistoryCommand_1.GetDevicePositionHistoryCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.getDevicePositionHistory(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateGetDevicePositionHistory(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateGetDevicePositionHistory(config, input, ...additionalArg
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof LocationClient_1.LocationClient) {
|
|
16
|
+
if (config.client instanceof LocationClient_1.LocationClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDevicePositions = void 0;
|
|
4
4
|
const ListDevicePositionsCommand_1 = require("../commands/ListDevicePositionsCommand");
|
|
5
|
-
const Location_1 = require("../Location");
|
|
6
5
|
const LocationClient_1 = require("../LocationClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListDevicePositionsCommand_1.ListDevicePositionsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listDevicePositions(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListDevicePositions(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListDevicePositions(config, input, ...additionalArgument
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof LocationClient_1.LocationClient) {
|
|
16
|
+
if (config.client instanceof LocationClient_1.LocationClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListGeofenceCollections = void 0;
|
|
4
4
|
const ListGeofenceCollectionsCommand_1 = require("../commands/ListGeofenceCollectionsCommand");
|
|
5
|
-
const Location_1 = require("../Location");
|
|
6
5
|
const LocationClient_1 = require("../LocationClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListGeofenceCollectionsCommand_1.ListGeofenceCollectionsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listGeofenceCollections(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListGeofenceCollections(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListGeofenceCollections(config, input, ...additionalArgu
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof LocationClient_1.LocationClient) {
|
|
16
|
+
if (config.client instanceof LocationClient_1.LocationClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListGeofences = void 0;
|
|
4
4
|
const ListGeofencesCommand_1 = require("../commands/ListGeofencesCommand");
|
|
5
|
-
const Location_1 = require("../Location");
|
|
6
5
|
const LocationClient_1 = require("../LocationClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListGeofencesCommand_1.ListGeofencesCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listGeofences(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListGeofences(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListGeofences(config, input, ...additionalArguments) {
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof LocationClient_1.LocationClient) {
|
|
16
|
+
if (config.client instanceof LocationClient_1.LocationClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListKeys = void 0;
|
|
4
4
|
const ListKeysCommand_1 = require("../commands/ListKeysCommand");
|
|
5
|
-
const Location_1 = require("../Location");
|
|
6
5
|
const LocationClient_1 = require("../LocationClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListKeysCommand_1.ListKeysCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listKeys(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListKeys(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListKeys(config, input, ...additionalArguments) {
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof LocationClient_1.LocationClient) {
|
|
16
|
+
if (config.client instanceof LocationClient_1.LocationClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListMaps = void 0;
|
|
4
4
|
const ListMapsCommand_1 = require("../commands/ListMapsCommand");
|
|
5
|
-
const Location_1 = require("../Location");
|
|
6
5
|
const LocationClient_1 = require("../LocationClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListMapsCommand_1.ListMapsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listMaps(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListMaps(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListMaps(config, input, ...additionalArguments) {
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof LocationClient_1.LocationClient) {
|
|
16
|
+
if (config.client instanceof LocationClient_1.LocationClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListPlaceIndexes = void 0;
|
|
4
4
|
const ListPlaceIndexesCommand_1 = require("../commands/ListPlaceIndexesCommand");
|
|
5
|
-
const Location_1 = require("../Location");
|
|
6
5
|
const LocationClient_1 = require("../LocationClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListPlaceIndexesCommand_1.ListPlaceIndexesCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listPlaceIndexes(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListPlaceIndexes(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListPlaceIndexes(config, input, ...additionalArguments)
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof LocationClient_1.LocationClient) {
|
|
16
|
+
if (config.client instanceof LocationClient_1.LocationClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListRouteCalculators = void 0;
|
|
4
4
|
const ListRouteCalculatorsCommand_1 = require("../commands/ListRouteCalculatorsCommand");
|
|
5
|
-
const Location_1 = require("../Location");
|
|
6
5
|
const LocationClient_1 = require("../LocationClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListRouteCalculatorsCommand_1.ListRouteCalculatorsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listRouteCalculators(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListRouteCalculators(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListRouteCalculators(config, input, ...additionalArgumen
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof LocationClient_1.LocationClient) {
|
|
16
|
+
if (config.client instanceof LocationClient_1.LocationClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTrackerConsumers = void 0;
|
|
4
4
|
const ListTrackerConsumersCommand_1 = require("../commands/ListTrackerConsumersCommand");
|
|
5
|
-
const Location_1 = require("../Location");
|
|
6
5
|
const LocationClient_1 = require("../LocationClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListTrackerConsumersCommand_1.ListTrackerConsumersCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listTrackerConsumers(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListTrackerConsumers(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListTrackerConsumers(config, input, ...additionalArgumen
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof LocationClient_1.LocationClient) {
|
|
16
|
+
if (config.client instanceof LocationClient_1.LocationClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTrackers = void 0;
|
|
4
4
|
const ListTrackersCommand_1 = require("../commands/ListTrackersCommand");
|
|
5
|
-
const Location_1 = require("../Location");
|
|
6
5
|
const LocationClient_1 = require("../LocationClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListTrackersCommand_1.ListTrackersCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listTrackers(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListTrackers(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListTrackers(config, input, ...additionalArguments) {
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof LocationClient_1.LocationClient) {
|
|
16
|
+
if (config.client instanceof LocationClient_1.LocationClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { GetDevicePositionHistoryCommand, } from "../commands/GetDevicePositionHistoryCommand";
|
|
2
|
-
import { Location } from "../Location";
|
|
3
2
|
import { LocationClient } from "../LocationClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new GetDevicePositionHistoryCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.getDevicePositionHistory(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateGetDevicePositionHistory(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateGetDevicePositionHistory(config, input, ...additi
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof LocationClient) {
|
|
13
|
+
if (config.client instanceof LocationClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListDevicePositionsCommand, } from "../commands/ListDevicePositionsCommand";
|
|
2
|
-
import { Location } from "../Location";
|
|
3
2
|
import { LocationClient } from "../LocationClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListDevicePositionsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listDevicePositions(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListDevicePositions(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListDevicePositions(config, input, ...additionalA
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof LocationClient) {
|
|
13
|
+
if (config.client instanceof LocationClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListGeofenceCollectionsCommand, } from "../commands/ListGeofenceCollectionsCommand";
|
|
2
|
-
import { Location } from "../Location";
|
|
3
2
|
import { LocationClient } from "../LocationClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListGeofenceCollectionsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listGeofenceCollections(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListGeofenceCollections(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListGeofenceCollections(config, input, ...additio
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof LocationClient) {
|
|
13
|
+
if (config.client instanceof LocationClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListGeofencesCommand, } from "../commands/ListGeofencesCommand";
|
|
2
|
-
import { Location } from "../Location";
|
|
3
2
|
import { LocationClient } from "../LocationClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListGeofencesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listGeofences(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListGeofences(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListGeofences(config, input, ...additionalArgumen
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof LocationClient) {
|
|
13
|
+
if (config.client instanceof LocationClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListKeysCommand } from "../commands/ListKeysCommand";
|
|
2
|
-
import { Location } from "../Location";
|
|
3
2
|
import { LocationClient } from "../LocationClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListKeysCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listKeys(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListKeys(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListKeys(config, input, ...additionalArguments) {
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof LocationClient) {
|
|
13
|
+
if (config.client instanceof LocationClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListMapsCommand } from "../commands/ListMapsCommand";
|
|
2
|
-
import { Location } from "../Location";
|
|
3
2
|
import { LocationClient } from "../LocationClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListMapsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listMaps(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListMaps(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListMaps(config, input, ...additionalArguments) {
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof LocationClient) {
|
|
13
|
+
if (config.client instanceof LocationClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListPlaceIndexesCommand, } from "../commands/ListPlaceIndexesCommand";
|
|
2
|
-
import { Location } from "../Location";
|
|
3
2
|
import { LocationClient } from "../LocationClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListPlaceIndexesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listPlaceIndexes(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListPlaceIndexes(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListPlaceIndexes(config, input, ...additionalArgu
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof LocationClient) {
|
|
13
|
+
if (config.client instanceof LocationClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListRouteCalculatorsCommand, } from "../commands/ListRouteCalculatorsCommand";
|
|
2
|
-
import { Location } from "../Location";
|
|
3
2
|
import { LocationClient } from "../LocationClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListRouteCalculatorsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listRouteCalculators(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListRouteCalculators(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListRouteCalculators(config, input, ...additional
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof LocationClient) {
|
|
13
|
+
if (config.client instanceof LocationClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListTrackerConsumersCommand, } from "../commands/ListTrackerConsumersCommand";
|
|
2
|
-
import { Location } from "../Location";
|
|
3
2
|
import { LocationClient } from "../LocationClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListTrackerConsumersCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listTrackerConsumers(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListTrackerConsumers(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListTrackerConsumers(config, input, ...additional
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof LocationClient) {
|
|
13
|
+
if (config.client instanceof LocationClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListTrackersCommand, } from "../commands/ListTrackersCommand";
|
|
2
|
-
import { Location } from "../Location";
|
|
3
2
|
import { LocationClient } from "../LocationClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListTrackersCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listTrackers(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListTrackers(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListTrackers(config, input, ...additionalArgument
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof LocationClient) {
|
|
13
|
+
if (config.client instanceof LocationClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1932,20 +1932,35 @@ export interface MapConfiguration {
|
|
|
1932
1932
|
* in the Asia Pacific (Singapore) Region (<code>ap-southeast-1</code>).
|
|
1933
1933
|
* For more information, see <a href="https://docs.aws.amazon.com/location/latest/developerguide/grab.html#grab-coverage-area">GrabMaps countries and area covered</a>.</p>
|
|
1934
1934
|
* </note>
|
|
1935
|
-
* <p>Valid <a href="https://docs.aws.amazon.com/location/latest/developerguide/open-data.html">Open Data
|
|
1935
|
+
* <p>Valid <a href="https://docs.aws.amazon.com/location/latest/developerguide/open-data.html">Open Data map styles</a>:</p>
|
|
1936
1936
|
* <ul>
|
|
1937
1937
|
* <li>
|
|
1938
1938
|
* <p>
|
|
1939
1939
|
* <code>VectorOpenDataStandardLight</code> – The Open Data Standard Light
|
|
1940
|
-
*
|
|
1940
|
+
* map style provides a detailed basemap for the world suitable for
|
|
1941
1941
|
* website and mobile application use. The map includes highways major roads,
|
|
1942
1942
|
* minor roads, railways, water features, cities, parks, landmarks, building
|
|
1943
1943
|
* footprints, and administrative boundaries.</p>
|
|
1944
|
-
*
|
|
1945
|
-
*
|
|
1946
|
-
*
|
|
1947
|
-
*
|
|
1948
|
-
*
|
|
1944
|
+
* </li>
|
|
1945
|
+
* <li>
|
|
1946
|
+
* <p>
|
|
1947
|
+
* <code>VectorOpenDataStandardDark</code> – Open Data Standard Dark is a
|
|
1948
|
+
* dark-themed map style that provides a detailed basemap for the world
|
|
1949
|
+
* suitable for website and mobile application use. The map includes highways
|
|
1950
|
+
* major roads, minor roads, railways, water features, cities, parks,
|
|
1951
|
+
* landmarks, building footprints, and administrative boundaries.</p>
|
|
1952
|
+
* </li>
|
|
1953
|
+
* <li>
|
|
1954
|
+
* <p>
|
|
1955
|
+
* <code>VectorOpenDataVisualizationLight</code> – The Open Data
|
|
1956
|
+
* Visualization Light map style is a light-themed style with muted colors and
|
|
1957
|
+
* fewer features that aids in understanding overlaid data.</p>
|
|
1958
|
+
* </li>
|
|
1959
|
+
* <li>
|
|
1960
|
+
* <p>
|
|
1961
|
+
* <code>VectorOpenDataVisualizationDark</code> – The Open Data
|
|
1962
|
+
* Visualization Dark map style is a dark-themed style with muted colors and
|
|
1963
|
+
* fewer features that aids in understanding overlaid data.</p>
|
|
1949
1964
|
* </li>
|
|
1950
1965
|
* </ul>
|
|
1951
1966
|
*/
|
|
@@ -3398,10 +3413,11 @@ export interface GetMapGlyphsRequest {
|
|
|
3398
3413
|
* </p>
|
|
3399
3414
|
* </li>
|
|
3400
3415
|
* </ul>
|
|
3401
|
-
* <p>Valid font stacks for <a href="https://docs.aws.amazon.com/location/latest/developerguide/open-data.html">Open Data
|
|
3416
|
+
* <p>Valid font stacks for <a href="https://docs.aws.amazon.com/location/latest/developerguide/open-data.html">Open Data</a> styles:</p>
|
|
3402
3417
|
* <ul>
|
|
3403
3418
|
* <li>
|
|
3404
|
-
* <p>VectorOpenDataStandardLight
|
|
3419
|
+
* <p>VectorOpenDataStandardLight, VectorOpenDataStandardDark,
|
|
3420
|
+
* VectorOpenDataVisualizationLight, VectorOpenDataVisualizationDark –
|
|
3405
3421
|
* <code>Amazon Ember Regular,Noto Sans Regular</code> |
|
|
3406
3422
|
* <code>Amazon Ember Bold,Noto Sans Bold</code> |
|
|
3407
3423
|
* <code>Amazon Ember Medium,Noto Sans Medium</code> |
|
|
@@ -3412,7 +3428,7 @@ export interface GetMapGlyphsRequest {
|
|
|
3412
3428
|
* </li>
|
|
3413
3429
|
* </ul>
|
|
3414
3430
|
* <note>
|
|
3415
|
-
* <p>The fonts used by
|
|
3431
|
+
* <p>The fonts used by the Open Data map styles are combined fonts
|
|
3416
3432
|
* that use <code>Amazon Ember</code> for most glyphs but <code>Noto Sans</code>
|
|
3417
3433
|
* for glyphs unsupported by <code>Amazon Ember</code>.</p>
|
|
3418
3434
|
* </note>
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { Location } from "../Location";
|
|
3
2
|
import { LocationClient } from "../LocationClient";
|
|
4
3
|
export interface LocationPaginationConfiguration extends PaginationConfiguration {
|
|
5
|
-
client:
|
|
4
|
+
client: LocationClient;
|
|
6
5
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { Location } from "../Location";
|
|
3
2
|
import { LocationClient } from "../LocationClient";
|
|
4
3
|
export interface LocationPaginationConfiguration
|
|
5
4
|
extends PaginationConfiguration {
|
|
6
|
-
client:
|
|
5
|
+
client: LocationClient;
|
|
7
6
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-location",
|
|
3
3
|
"description": "AWS SDK for JavaScript Location Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.287.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,23 +20,23 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.287.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.287.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.287.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.282.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.272.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.272.0",
|
|
29
29
|
"@aws-sdk/middleware-content-length": "3.282.0",
|
|
30
30
|
"@aws-sdk/middleware-endpoint": "3.282.0",
|
|
31
31
|
"@aws-sdk/middleware-host-header": "3.282.0",
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.287.0",
|
|
33
33
|
"@aws-sdk/middleware-recursion-detection": "3.282.0",
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.287.0",
|
|
35
35
|
"@aws-sdk/middleware-serde": "3.272.0",
|
|
36
36
|
"@aws-sdk/middleware-signing": "3.282.0",
|
|
37
37
|
"@aws-sdk/middleware-stack": "3.272.0",
|
|
38
38
|
"@aws-sdk/middleware-user-agent": "3.282.0",
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.287.0",
|
|
40
40
|
"@aws-sdk/node-http-handler": "3.282.0",
|
|
41
41
|
"@aws-sdk/protocol-http": "3.282.0",
|
|
42
42
|
"@aws-sdk/smithy-client": "3.279.0",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-browser": "3.279.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.287.0",
|
|
50
50
|
"@aws-sdk/util-endpoints": "3.272.0",
|
|
51
51
|
"@aws-sdk/util-retry": "3.272.0",
|
|
52
52
|
"@aws-sdk/util-user-agent-browser": "3.282.0",
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.287.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
55
55
|
"tslib": "^2.3.1"
|
|
56
56
|
},
|