@aws-sdk/client-location 3.477.0 → 3.481.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/commands/AssociateTrackerConsumerCommand.js +18 -41
- package/dist-cjs/commands/BatchDeleteDevicePositionHistoryCommand.js +18 -41
- package/dist-cjs/commands/BatchDeleteGeofenceCommand.js +18 -41
- package/dist-cjs/commands/BatchEvaluateGeofencesCommand.js +18 -41
- package/dist-cjs/commands/BatchGetDevicePositionCommand.js +18 -41
- package/dist-cjs/commands/BatchPutGeofenceCommand.js +18 -41
- package/dist-cjs/commands/BatchUpdateDevicePositionCommand.js +18 -41
- package/dist-cjs/commands/CalculateRouteCommand.js +18 -41
- package/dist-cjs/commands/CalculateRouteMatrixCommand.js +18 -41
- package/dist-cjs/commands/CreateGeofenceCollectionCommand.js +18 -41
- package/dist-cjs/commands/CreateKeyCommand.js +18 -41
- package/dist-cjs/commands/CreateMapCommand.js +18 -41
- package/dist-cjs/commands/CreatePlaceIndexCommand.js +18 -41
- package/dist-cjs/commands/CreateRouteCalculatorCommand.js +18 -41
- package/dist-cjs/commands/CreateTrackerCommand.js +18 -41
- package/dist-cjs/commands/DeleteGeofenceCollectionCommand.js +18 -41
- package/dist-cjs/commands/DeleteKeyCommand.js +18 -41
- package/dist-cjs/commands/DeleteMapCommand.js +18 -41
- package/dist-cjs/commands/DeletePlaceIndexCommand.js +18 -41
- package/dist-cjs/commands/DeleteRouteCalculatorCommand.js +18 -41
- package/dist-cjs/commands/DeleteTrackerCommand.js +18 -41
- package/dist-cjs/commands/DescribeGeofenceCollectionCommand.js +18 -41
- package/dist-cjs/commands/DescribeKeyCommand.js +18 -41
- package/dist-cjs/commands/DescribeMapCommand.js +18 -41
- package/dist-cjs/commands/DescribePlaceIndexCommand.js +18 -41
- package/dist-cjs/commands/DescribeRouteCalculatorCommand.js +18 -41
- package/dist-cjs/commands/DescribeTrackerCommand.js +18 -41
- package/dist-cjs/commands/DisassociateTrackerConsumerCommand.js +18 -41
- package/dist-cjs/commands/GetDevicePositionCommand.js +18 -41
- package/dist-cjs/commands/GetDevicePositionHistoryCommand.js +18 -41
- package/dist-cjs/commands/GetGeofenceCommand.js +18 -41
- package/dist-cjs/commands/GetMapGlyphsCommand.js +18 -41
- package/dist-cjs/commands/GetMapSpritesCommand.js +18 -41
- package/dist-cjs/commands/GetMapStyleDescriptorCommand.js +18 -41
- package/dist-cjs/commands/GetMapTileCommand.js +18 -41
- package/dist-cjs/commands/GetPlaceCommand.js +18 -41
- package/dist-cjs/commands/ListDevicePositionsCommand.js +18 -41
- package/dist-cjs/commands/ListGeofenceCollectionsCommand.js +18 -41
- package/dist-cjs/commands/ListGeofencesCommand.js +18 -41
- package/dist-cjs/commands/ListKeysCommand.js +18 -41
- package/dist-cjs/commands/ListMapsCommand.js +18 -41
- package/dist-cjs/commands/ListPlaceIndexesCommand.js +18 -41
- package/dist-cjs/commands/ListRouteCalculatorsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListTrackerConsumersCommand.js +18 -41
- package/dist-cjs/commands/ListTrackersCommand.js +18 -41
- package/dist-cjs/commands/PutGeofenceCommand.js +18 -41
- package/dist-cjs/commands/SearchPlaceIndexForPositionCommand.js +18 -41
- package/dist-cjs/commands/SearchPlaceIndexForSuggestionsCommand.js +18 -41
- package/dist-cjs/commands/SearchPlaceIndexForTextCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateGeofenceCollectionCommand.js +18 -41
- package/dist-cjs/commands/UpdateKeyCommand.js +18 -41
- package/dist-cjs/commands/UpdateMapCommand.js +18 -41
- package/dist-cjs/commands/UpdatePlaceIndexCommand.js +18 -41
- package/dist-cjs/commands/UpdateRouteCalculatorCommand.js +18 -41
- package/dist-cjs/commands/UpdateTrackerCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/GetDevicePositionHistoryPaginator.js +2 -24
- package/dist-cjs/pagination/ListDevicePositionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListGeofenceCollectionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListGeofencesPaginator.js +2 -24
- package/dist-cjs/pagination/ListKeysPaginator.js +2 -24
- package/dist-cjs/pagination/ListMapsPaginator.js +2 -24
- package/dist-cjs/pagination/ListPlaceIndexesPaginator.js +2 -24
- package/dist-cjs/pagination/ListRouteCalculatorsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTrackerConsumersPaginator.js +2 -24
- package/dist-cjs/pagination/ListTrackersPaginator.js +2 -24
- package/dist-es/commands/AssociateTrackerConsumerCommand.js +18 -41
- package/dist-es/commands/BatchDeleteDevicePositionHistoryCommand.js +18 -41
- package/dist-es/commands/BatchDeleteGeofenceCommand.js +18 -41
- package/dist-es/commands/BatchEvaluateGeofencesCommand.js +18 -41
- package/dist-es/commands/BatchGetDevicePositionCommand.js +18 -41
- package/dist-es/commands/BatchPutGeofenceCommand.js +18 -41
- package/dist-es/commands/BatchUpdateDevicePositionCommand.js +18 -41
- package/dist-es/commands/CalculateRouteCommand.js +18 -41
- package/dist-es/commands/CalculateRouteMatrixCommand.js +18 -41
- package/dist-es/commands/CreateGeofenceCollectionCommand.js +18 -41
- package/dist-es/commands/CreateKeyCommand.js +18 -41
- package/dist-es/commands/CreateMapCommand.js +18 -41
- package/dist-es/commands/CreatePlaceIndexCommand.js +18 -41
- package/dist-es/commands/CreateRouteCalculatorCommand.js +18 -41
- package/dist-es/commands/CreateTrackerCommand.js +18 -41
- package/dist-es/commands/DeleteGeofenceCollectionCommand.js +18 -41
- package/dist-es/commands/DeleteKeyCommand.js +18 -41
- package/dist-es/commands/DeleteMapCommand.js +18 -41
- package/dist-es/commands/DeletePlaceIndexCommand.js +18 -41
- package/dist-es/commands/DeleteRouteCalculatorCommand.js +18 -41
- package/dist-es/commands/DeleteTrackerCommand.js +18 -41
- package/dist-es/commands/DescribeGeofenceCollectionCommand.js +18 -41
- package/dist-es/commands/DescribeKeyCommand.js +18 -41
- package/dist-es/commands/DescribeMapCommand.js +18 -41
- package/dist-es/commands/DescribePlaceIndexCommand.js +18 -41
- package/dist-es/commands/DescribeRouteCalculatorCommand.js +18 -41
- package/dist-es/commands/DescribeTrackerCommand.js +18 -41
- package/dist-es/commands/DisassociateTrackerConsumerCommand.js +18 -41
- package/dist-es/commands/GetDevicePositionCommand.js +18 -41
- package/dist-es/commands/GetDevicePositionHistoryCommand.js +18 -41
- package/dist-es/commands/GetGeofenceCommand.js +18 -41
- package/dist-es/commands/GetMapGlyphsCommand.js +18 -41
- package/dist-es/commands/GetMapSpritesCommand.js +18 -41
- package/dist-es/commands/GetMapStyleDescriptorCommand.js +18 -41
- package/dist-es/commands/GetMapTileCommand.js +18 -41
- package/dist-es/commands/GetPlaceCommand.js +18 -41
- package/dist-es/commands/ListDevicePositionsCommand.js +18 -41
- package/dist-es/commands/ListGeofenceCollectionsCommand.js +18 -41
- package/dist-es/commands/ListGeofencesCommand.js +18 -41
- package/dist-es/commands/ListKeysCommand.js +18 -41
- package/dist-es/commands/ListMapsCommand.js +18 -41
- package/dist-es/commands/ListPlaceIndexesCommand.js +18 -41
- package/dist-es/commands/ListRouteCalculatorsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListTrackerConsumersCommand.js +18 -41
- package/dist-es/commands/ListTrackersCommand.js +18 -41
- package/dist-es/commands/PutGeofenceCommand.js +18 -41
- package/dist-es/commands/SearchPlaceIndexForPositionCommand.js +18 -41
- package/dist-es/commands/SearchPlaceIndexForSuggestionsCommand.js +18 -41
- package/dist-es/commands/SearchPlaceIndexForTextCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateGeofenceCollectionCommand.js +18 -41
- package/dist-es/commands/UpdateKeyCommand.js +18 -41
- package/dist-es/commands/UpdateMapCommand.js +18 -41
- package/dist-es/commands/UpdatePlaceIndexCommand.js +18 -41
- package/dist-es/commands/UpdateRouteCalculatorCommand.js +18 -41
- package/dist-es/commands/UpdateTrackerCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/GetDevicePositionHistoryPaginator.js +2 -23
- package/dist-es/pagination/ListDevicePositionsPaginator.js +2 -23
- package/dist-es/pagination/ListGeofenceCollectionsPaginator.js +2 -23
- package/dist-es/pagination/ListGeofencesPaginator.js +2 -23
- package/dist-es/pagination/ListKeysPaginator.js +2 -23
- package/dist-es/pagination/ListMapsPaginator.js +2 -23
- package/dist-es/pagination/ListPlaceIndexesPaginator.js +2 -23
- package/dist-es/pagination/ListRouteCalculatorsPaginator.js +2 -23
- package/dist-es/pagination/ListTrackerConsumersPaginator.js +2 -23
- package/dist-es/pagination/ListTrackersPaginator.js +2 -23
- package/dist-types/commands/AssociateTrackerConsumerCommand.d.ts +6 -21
- package/dist-types/commands/BatchDeleteDevicePositionHistoryCommand.d.ts +6 -21
- package/dist-types/commands/BatchDeleteGeofenceCommand.d.ts +6 -21
- package/dist-types/commands/BatchEvaluateGeofencesCommand.d.ts +6 -21
- package/dist-types/commands/BatchGetDevicePositionCommand.d.ts +6 -21
- package/dist-types/commands/BatchPutGeofenceCommand.d.ts +6 -21
- package/dist-types/commands/BatchUpdateDevicePositionCommand.d.ts +6 -21
- package/dist-types/commands/CalculateRouteCommand.d.ts +6 -21
- package/dist-types/commands/CalculateRouteMatrixCommand.d.ts +6 -21
- package/dist-types/commands/CreateGeofenceCollectionCommand.d.ts +6 -21
- package/dist-types/commands/CreateKeyCommand.d.ts +6 -21
- package/dist-types/commands/CreateMapCommand.d.ts +6 -21
- package/dist-types/commands/CreatePlaceIndexCommand.d.ts +6 -21
- package/dist-types/commands/CreateRouteCalculatorCommand.d.ts +6 -21
- package/dist-types/commands/CreateTrackerCommand.d.ts +6 -21
- package/dist-types/commands/DeleteGeofenceCollectionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteKeyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteMapCommand.d.ts +6 -21
- package/dist-types/commands/DeletePlaceIndexCommand.d.ts +6 -21
- package/dist-types/commands/DeleteRouteCalculatorCommand.d.ts +6 -21
- package/dist-types/commands/DeleteTrackerCommand.d.ts +6 -21
- package/dist-types/commands/DescribeGeofenceCollectionCommand.d.ts +6 -21
- package/dist-types/commands/DescribeKeyCommand.d.ts +6 -21
- package/dist-types/commands/DescribeMapCommand.d.ts +6 -21
- package/dist-types/commands/DescribePlaceIndexCommand.d.ts +6 -21
- package/dist-types/commands/DescribeRouteCalculatorCommand.d.ts +6 -21
- package/dist-types/commands/DescribeTrackerCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateTrackerConsumerCommand.d.ts +6 -21
- package/dist-types/commands/GetDevicePositionCommand.d.ts +6 -21
- package/dist-types/commands/GetDevicePositionHistoryCommand.d.ts +6 -21
- package/dist-types/commands/GetGeofenceCommand.d.ts +6 -21
- package/dist-types/commands/GetMapGlyphsCommand.d.ts +6 -21
- package/dist-types/commands/GetMapSpritesCommand.d.ts +6 -21
- package/dist-types/commands/GetMapStyleDescriptorCommand.d.ts +6 -21
- package/dist-types/commands/GetMapTileCommand.d.ts +6 -21
- package/dist-types/commands/GetPlaceCommand.d.ts +6 -21
- package/dist-types/commands/ListDevicePositionsCommand.d.ts +6 -21
- package/dist-types/commands/ListGeofenceCollectionsCommand.d.ts +6 -21
- package/dist-types/commands/ListGeofencesCommand.d.ts +6 -21
- package/dist-types/commands/ListKeysCommand.d.ts +6 -21
- package/dist-types/commands/ListMapsCommand.d.ts +6 -21
- package/dist-types/commands/ListPlaceIndexesCommand.d.ts +6 -21
- package/dist-types/commands/ListRouteCalculatorsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListTrackerConsumersCommand.d.ts +6 -21
- package/dist-types/commands/ListTrackersCommand.d.ts +6 -21
- package/dist-types/commands/PutGeofenceCommand.d.ts +6 -21
- package/dist-types/commands/SearchPlaceIndexForPositionCommand.d.ts +6 -21
- package/dist-types/commands/SearchPlaceIndexForSuggestionsCommand.d.ts +6 -21
- package/dist-types/commands/SearchPlaceIndexForTextCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateGeofenceCollectionCommand.d.ts +6 -21
- package/dist-types/commands/UpdateKeyCommand.d.ts +6 -21
- package/dist-types/commands/UpdateMapCommand.d.ts +6 -21
- package/dist-types/commands/UpdatePlaceIndexCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRouteCalculatorCommand.d.ts +6 -21
- package/dist-types/commands/UpdateTrackerCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/GetDevicePositionHistoryPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDevicePositionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListGeofenceCollectionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListGeofencesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListKeysPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMapsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPlaceIndexesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRouteCalculatorsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTrackerConsumersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTrackersPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/AssociateTrackerConsumerCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchDeleteDevicePositionHistoryCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchDeleteGeofenceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/BatchEvaluateGeofencesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchGetDevicePositionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchPutGeofenceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/BatchUpdateDevicePositionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CalculateRouteCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CalculateRouteMatrixCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateGeofenceCollectionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateMapCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreatePlaceIndexCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateRouteCalculatorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateTrackerCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteGeofenceCollectionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteMapCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeletePlaceIndexCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteRouteCalculatorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteTrackerCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeGeofenceCollectionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeMapCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribePlaceIndexCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeRouteCalculatorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeTrackerCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DisassociateTrackerConsumerCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetDevicePositionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDevicePositionHistoryCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetGeofenceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMapGlyphsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMapSpritesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMapStyleDescriptorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetMapTileCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetPlaceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListDevicePositionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListGeofenceCollectionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListGeofencesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListMapsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListPlaceIndexesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListRouteCalculatorsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTrackerConsumersCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTrackersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutGeofenceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SearchPlaceIndexForPositionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SearchPlaceIndexForSuggestionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SearchPlaceIndexForTextCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateGeofenceCollectionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateMapCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdatePlaceIndexCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateRouteCalculatorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateTrackerCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/GetDevicePositionHistoryPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDevicePositionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListGeofenceCollectionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListGeofencesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListKeysPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMapsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPlaceIndexesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRouteCalculatorsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTrackerConsumersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTrackersPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateMapCommand, se_UpdateMapCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateMapCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "LocationClient";
|
|
26
|
-
const commandName = "UpdateMapCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "LocationService",
|
|
35
|
-
operation: "UpdateMap",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateMapCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateMapCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateMapCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("LocationService", "UpdateMap", {})
|
|
19
|
+
.n("LocationClient", "UpdateMapCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateMapCommand)
|
|
22
|
+
.de(de_UpdateMapCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdatePlaceIndexCommand, se_UpdatePlaceIndexCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdatePlaceIndexCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "LocationClient";
|
|
26
|
-
const commandName = "UpdatePlaceIndexCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "LocationService",
|
|
35
|
-
operation: "UpdatePlaceIndex",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdatePlaceIndexCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdatePlaceIndexCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdatePlaceIndexCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("LocationService", "UpdatePlaceIndex", {})
|
|
19
|
+
.n("LocationClient", "UpdatePlaceIndexCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdatePlaceIndexCommand)
|
|
22
|
+
.de(de_UpdatePlaceIndexCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateRouteCalculatorCommand, se_UpdateRouteCalculatorCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateRouteCalculatorCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "LocationClient";
|
|
26
|
-
const commandName = "UpdateRouteCalculatorCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "LocationService",
|
|
35
|
-
operation: "UpdateRouteCalculator",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateRouteCalculatorCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateRouteCalculatorCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateRouteCalculatorCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("LocationService", "UpdateRouteCalculator", {})
|
|
19
|
+
.n("LocationClient", "UpdateRouteCalculatorCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateRouteCalculatorCommand)
|
|
22
|
+
.de(de_UpdateRouteCalculatorCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateTrackerCommand, se_UpdateTrackerCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateTrackerCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "LocationClient";
|
|
26
|
-
const commandName = "UpdateTrackerCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "LocationService",
|
|
35
|
-
operation: "UpdateTracker",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateTrackerCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateTrackerCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateTrackerCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("LocationService", "UpdateTracker", {})
|
|
19
|
+
.n("LocationClient", "UpdateTrackerCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateTrackerCommand)
|
|
22
|
+
.de(de_UpdateTrackerCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "geo",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetDevicePositionHistoryCommand, } from "../commands/GetDevicePositionHistoryCommand";
|
|
2
3
|
import { LocationClient } from "../LocationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetDevicePositionHistoryCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetDevicePositionHistory(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 LocationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Location | LocationClient");
|
|
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 paginateGetDevicePositionHistory = createPaginator(LocationClient, GetDevicePositionHistoryCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListDevicePositionsCommand, } from "../commands/ListDevicePositionsCommand";
|
|
2
3
|
import { LocationClient } from "../LocationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDevicePositionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDevicePositions(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 LocationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Location | LocationClient");
|
|
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 paginateListDevicePositions = createPaginator(LocationClient, ListDevicePositionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListGeofenceCollectionsCommand, } from "../commands/ListGeofenceCollectionsCommand";
|
|
2
3
|
import { LocationClient } from "../LocationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListGeofenceCollectionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListGeofenceCollections(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 LocationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Location | LocationClient");
|
|
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 paginateListGeofenceCollections = createPaginator(LocationClient, ListGeofenceCollectionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListGeofencesCommand, } from "../commands/ListGeofencesCommand";
|
|
2
3
|
import { LocationClient } from "../LocationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListGeofencesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListGeofences(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 LocationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Location | LocationClient");
|
|
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 paginateListGeofences = createPaginator(LocationClient, ListGeofencesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListKeysCommand } from "../commands/ListKeysCommand";
|
|
2
3
|
import { LocationClient } from "../LocationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListKeysCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListKeys(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 LocationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Location | LocationClient");
|
|
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 paginateListKeys = createPaginator(LocationClient, ListKeysCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListMapsCommand } from "../commands/ListMapsCommand";
|
|
2
3
|
import { LocationClient } from "../LocationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListMapsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListMaps(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 LocationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Location | LocationClient");
|
|
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 paginateListMaps = createPaginator(LocationClient, ListMapsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListPlaceIndexesCommand, } from "../commands/ListPlaceIndexesCommand";
|
|
2
3
|
import { LocationClient } from "../LocationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPlaceIndexesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPlaceIndexes(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 LocationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Location | LocationClient");
|
|
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 paginateListPlaceIndexes = createPaginator(LocationClient, ListPlaceIndexesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListRouteCalculatorsCommand, } from "../commands/ListRouteCalculatorsCommand";
|
|
2
3
|
import { LocationClient } from "../LocationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListRouteCalculatorsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListRouteCalculators(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 LocationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Location | LocationClient");
|
|
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 paginateListRouteCalculators = createPaginator(LocationClient, ListRouteCalculatorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListTrackerConsumersCommand, } from "../commands/ListTrackerConsumersCommand";
|
|
2
3
|
import { LocationClient } from "../LocationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTrackerConsumersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTrackerConsumers(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 LocationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Location | LocationClient");
|
|
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 paginateListTrackerConsumers = createPaginator(LocationClient, ListTrackerConsumersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListTrackersCommand, } from "../commands/ListTrackersCommand";
|
|
2
3
|
import { LocationClient } from "../LocationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTrackersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTrackers(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 LocationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Location | LocationClient");
|
|
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 paginateListTrackers = createPaginator(LocationClient, ListTrackersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
|
|
5
4
|
import { AssociateTrackerConsumerRequest, AssociateTrackerConsumerResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface AssociateTrackerConsumerCommandInput extends AssociateTrackerCo
|
|
|
21
20
|
*/
|
|
22
21
|
export interface AssociateTrackerConsumerCommandOutput extends AssociateTrackerConsumerResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const AssociateTrackerConsumerCommand_base: {
|
|
24
|
+
new (input: AssociateTrackerConsumerCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateTrackerConsumerCommandInput, AssociateTrackerConsumerCommandOutput, LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates an association between a geofence collection and a tracker resource. This
|
|
@@ -79,23 +82,5 @@ export interface AssociateTrackerConsumerCommandOutput extends AssociateTrackerC
|
|
|
79
82
|
* <p>Base exception class for all service exceptions from Location service.</p>
|
|
80
83
|
*
|
|
81
84
|
*/
|
|
82
|
-
export declare class AssociateTrackerConsumerCommand extends
|
|
83
|
-
readonly input: AssociateTrackerConsumerCommandInput;
|
|
84
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
85
|
-
/**
|
|
86
|
-
* @public
|
|
87
|
-
*/
|
|
88
|
-
constructor(input: AssociateTrackerConsumerCommandInput);
|
|
89
|
-
/**
|
|
90
|
-
* @internal
|
|
91
|
-
*/
|
|
92
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateTrackerConsumerCommandInput, AssociateTrackerConsumerCommandOutput>;
|
|
93
|
-
/**
|
|
94
|
-
* @internal
|
|
95
|
-
*/
|
|
96
|
-
private serialize;
|
|
97
|
-
/**
|
|
98
|
-
* @internal
|
|
99
|
-
*/
|
|
100
|
-
private deserialize;
|
|
85
|
+
export declare class AssociateTrackerConsumerCommand extends AssociateTrackerConsumerCommand_base {
|
|
101
86
|
}
|