@aws-sdk/client-location 3.186.0 → 3.186.1
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-types/ts3.4/Location.d.ts +626 -905
- package/dist-types/ts3.4/LocationClient.d.ts +197 -422
- package/dist-types/ts3.4/commands/AssociateTrackerConsumerCommand.d.ts +41 -39
- package/dist-types/ts3.4/commands/BatchDeleteDevicePositionHistoryCommand.d.ts +35 -39
- package/dist-types/ts3.4/commands/BatchDeleteGeofenceCommand.d.ts +38 -36
- package/dist-types/ts3.4/commands/BatchEvaluateGeofencesCommand.d.ts +63 -39
- package/dist-types/ts3.4/commands/BatchGetDevicePositionCommand.d.ts +35 -39
- package/dist-types/ts3.4/commands/BatchPutGeofenceCommand.d.ts +36 -35
- package/dist-types/ts3.4/commands/BatchUpdateDevicePositionCommand.d.ts +53 -39
- package/dist-types/ts3.4/commands/CalculateRouteCommand.d.ts +68 -35
- package/dist-types/ts3.4/commands/CalculateRouteMatrixCommand.d.ts +76 -39
- package/dist-types/ts3.4/commands/CreateGeofenceCollectionCommand.d.ts +35 -39
- package/dist-types/ts3.4/commands/CreateMapCommand.d.ts +42 -32
- package/dist-types/ts3.4/commands/CreatePlaceIndexCommand.d.ts +45 -35
- package/dist-types/ts3.4/commands/CreateRouteCalculatorCommand.d.ts +44 -39
- package/dist-types/ts3.4/commands/CreateTrackerCommand.d.ts +36 -35
- package/dist-types/ts3.4/commands/DeleteGeofenceCollectionCommand.d.ts +39 -39
- package/dist-types/ts3.4/commands/DeleteMapCommand.d.ts +39 -32
- package/dist-types/ts3.4/commands/DeletePlaceIndexCommand.d.ts +38 -35
- package/dist-types/ts3.4/commands/DeleteRouteCalculatorCommand.d.ts +38 -39
- package/dist-types/ts3.4/commands/DeleteTrackerCommand.d.ts +40 -35
- package/dist-types/ts3.4/commands/DescribeGeofenceCollectionCommand.d.ts +35 -39
- package/dist-types/ts3.4/commands/DescribeMapCommand.d.ts +35 -32
- package/dist-types/ts3.4/commands/DescribePlaceIndexCommand.d.ts +35 -36
- package/dist-types/ts3.4/commands/DescribeRouteCalculatorCommand.d.ts +35 -39
- package/dist-types/ts3.4/commands/DescribeTrackerCommand.d.ts +35 -35
- package/dist-types/ts3.4/commands/DisassociateTrackerConsumerCommand.d.ts +39 -39
- package/dist-types/ts3.4/commands/GetDevicePositionCommand.d.ts +38 -36
- package/dist-types/ts3.4/commands/GetDevicePositionHistoryCommand.d.ts +39 -39
- package/dist-types/ts3.4/commands/GetGeofenceCommand.d.ts +35 -32
- package/dist-types/ts3.4/commands/GetMapGlyphsCommand.d.ts +35 -32
- package/dist-types/ts3.4/commands/GetMapSpritesCommand.d.ts +37 -35
- package/dist-types/ts3.4/commands/GetMapStyleDescriptorCommand.d.ts +38 -39
- package/dist-types/ts3.4/commands/GetMapTileCommand.d.ts +40 -32
- package/dist-types/ts3.4/commands/GetPlaceCommand.d.ts +51 -32
- package/dist-types/ts3.4/commands/ListDevicePositionsCommand.d.ts +35 -36
- package/dist-types/ts3.4/commands/ListGeofenceCollectionsCommand.d.ts +35 -39
- package/dist-types/ts3.4/commands/ListGeofencesCommand.d.ts +35 -35
- package/dist-types/ts3.4/commands/ListMapsCommand.d.ts +35 -32
- package/dist-types/ts3.4/commands/ListPlaceIndexesCommand.d.ts +35 -35
- package/dist-types/ts3.4/commands/ListRouteCalculatorsCommand.d.ts +35 -39
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +35 -36
- package/dist-types/ts3.4/commands/ListTrackerConsumersCommand.d.ts +35 -39
- package/dist-types/ts3.4/commands/ListTrackersCommand.d.ts +35 -32
- package/dist-types/ts3.4/commands/PutGeofenceCommand.d.ts +36 -32
- package/dist-types/ts3.4/commands/SearchPlaceIndexForPositionCommand.d.ts +36 -39
- package/dist-types/ts3.4/commands/SearchPlaceIndexForSuggestionsCommand.d.ts +46 -39
- package/dist-types/ts3.4/commands/SearchPlaceIndexForTextCommand.d.ts +44 -39
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +48 -32
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -35
- package/dist-types/ts3.4/commands/UpdateGeofenceCollectionCommand.d.ts +35 -39
- package/dist-types/ts3.4/commands/UpdateMapCommand.d.ts +35 -32
- package/dist-types/ts3.4/commands/UpdatePlaceIndexCommand.d.ts +35 -35
- package/dist-types/ts3.4/commands/UpdateRouteCalculatorCommand.d.ts +35 -39
- package/dist-types/ts3.4/commands/UpdateTrackerCommand.d.ts +35 -35
- package/dist-types/ts3.4/commands/index.d.ts +53 -53
- package/dist-types/ts3.4/endpoints.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +6 -6
- package/dist-types/ts3.4/models/LocationServiceException.d.ts +10 -7
- package/dist-types/ts3.4/models/index.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +4783 -1283
- package/dist-types/ts3.4/pagination/GetDevicePositionHistoryPaginator.d.ts +4 -11
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -7
- package/dist-types/ts3.4/pagination/ListDevicePositionsPaginator.d.ts +4 -11
- package/dist-types/ts3.4/pagination/ListGeofenceCollectionsPaginator.d.ts +4 -11
- package/dist-types/ts3.4/pagination/ListGeofencesPaginator.d.ts +4 -11
- package/dist-types/ts3.4/pagination/ListMapsPaginator.d.ts +4 -11
- package/dist-types/ts3.4/pagination/ListPlaceIndexesPaginator.d.ts +4 -11
- package/dist-types/ts3.4/pagination/ListRouteCalculatorsPaginator.d.ts +4 -11
- package/dist-types/ts3.4/pagination/ListTrackerConsumersPaginator.d.ts +4 -11
- package/dist-types/ts3.4/pagination/ListTrackersPaginator.d.ts +4 -11
- package/dist-types/ts3.4/pagination/index.d.ts +10 -10
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +161 -641
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +40 -67
- package/dist-types/ts3.4/runtimeConfig.d.ts +40 -67
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +39 -68
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +13 -10
- package/package.json +2 -2
|
@@ -1,35 +1,68 @@
|
|
|
1
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
>
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
|
|
4
|
+
import { CalculateRouteRequest, CalculateRouteResponse } from "../models/models_0";
|
|
5
|
+
export interface CalculateRouteCommandInput extends CalculateRouteRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CalculateRouteCommandOutput extends CalculateRouteResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>
|
|
11
|
+
* <a href="https://docs.aws.amazon.com/location/latest/developerguide/calculate-route.html">Calculates a route</a> given the following required parameters:
|
|
12
|
+
* <code>DeparturePosition</code> and <code>DestinationPosition</code>. Requires that
|
|
13
|
+
* you first <a href="https://docs.aws.amazon.com/location-routes/latest/APIReference/API_CreateRouteCalculator.html">create a
|
|
14
|
+
* route calculator resource</a>.</p>
|
|
15
|
+
* <p>By default, a request that doesn't specify a departure time uses the best time of day
|
|
16
|
+
* to travel with the best traffic conditions when calculating the route.</p>
|
|
17
|
+
* <p>Additional options include:</p>
|
|
18
|
+
* <ul>
|
|
19
|
+
* <li>
|
|
20
|
+
* <p>
|
|
21
|
+
* <a href="https://docs.aws.amazon.com/location/latest/developerguide/departure-time.html">Specifying a
|
|
22
|
+
* departure time</a> using either <code>DepartureTime</code> or
|
|
23
|
+
* <code>DepartNow</code>. This calculates a route based on predictive traffic
|
|
24
|
+
* data at the given time. </p>
|
|
25
|
+
* <note>
|
|
26
|
+
* <p>You can't specify both <code>DepartureTime</code> and
|
|
27
|
+
* <code>DepartNow</code> in a single request. Specifying both parameters
|
|
28
|
+
* returns a validation error.</p>
|
|
29
|
+
* </note>
|
|
30
|
+
* </li>
|
|
31
|
+
* <li>
|
|
32
|
+
* <p>
|
|
33
|
+
* <a href="https://docs.aws.amazon.com/location/latest/developerguide/travel-mode.html">Specifying a travel
|
|
34
|
+
* mode</a> using TravelMode sets the transportation mode used to calculate
|
|
35
|
+
* the routes. This also lets you specify additional route preferences in
|
|
36
|
+
* <code>CarModeOptions</code> if traveling by <code>Car</code>, or
|
|
37
|
+
* <code>TruckModeOptions</code> if traveling by <code>Truck</code>.</p>
|
|
38
|
+
* <note>
|
|
39
|
+
* <p>If you specify <code>walking</code> for the travel mode and your data
|
|
40
|
+
* provider is Esri, the start and destination must be within 40km.</p>
|
|
41
|
+
* </note>
|
|
42
|
+
* </li>
|
|
43
|
+
* </ul>
|
|
44
|
+
* @example
|
|
45
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
46
|
+
* ```javascript
|
|
47
|
+
* import { LocationClient, CalculateRouteCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
48
|
+
* // const { LocationClient, CalculateRouteCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
49
|
+
* const client = new LocationClient(config);
|
|
50
|
+
* const command = new CalculateRouteCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @see {@link CalculateRouteCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link CalculateRouteCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
export declare class CalculateRouteCommand extends $Command<CalculateRouteCommandInput, CalculateRouteCommandOutput, LocationClientResolvedConfig> {
|
|
60
|
+
readonly input: CalculateRouteCommandInput;
|
|
61
|
+
constructor(input: CalculateRouteCommandInput);
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CalculateRouteCommandInput, CalculateRouteCommandOutput>;
|
|
66
|
+
private serialize;
|
|
67
|
+
private deserialize;
|
|
68
|
+
}
|
|
@@ -1,39 +1,76 @@
|
|
|
1
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
>
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
|
|
4
|
+
import { CalculateRouteMatrixRequest, CalculateRouteMatrixResponse } from "../models/models_0";
|
|
5
|
+
export interface CalculateRouteMatrixCommandInput extends CalculateRouteMatrixRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CalculateRouteMatrixCommandOutput extends CalculateRouteMatrixResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>
|
|
11
|
+
* <a href="https://docs.aws.amazon.com/location/latest/developerguide/calculate-route-matrix.html"> Calculates a route
|
|
12
|
+
* matrix</a> given the following required parameters:
|
|
13
|
+
* <code>DeparturePositions</code> and <code>DestinationPositions</code>.
|
|
14
|
+
* <code>CalculateRouteMatrix</code> calculates routes and returns the travel time and
|
|
15
|
+
* travel distance from each departure position to each destination position in the
|
|
16
|
+
* request. For example, given departure positions A and B, and destination positions X and
|
|
17
|
+
* Y, <code>CalculateRouteMatrix</code> will return time and distance for routes from A to
|
|
18
|
+
* X, A to Y, B to X, and B to Y (in that order). The number of results returned (and
|
|
19
|
+
* routes calculated) will be the number of <code>DeparturePositions</code> times the
|
|
20
|
+
* number of <code>DestinationPositions</code>.</p>
|
|
21
|
+
* <note>
|
|
22
|
+
* <p>Your account is charged for each route calculated, not the number of
|
|
23
|
+
* requests.</p>
|
|
24
|
+
* </note>
|
|
25
|
+
* <p>Requires that you first <a href="https://docs.aws.amazon.com/location-routes/latest/APIReference/API_CreateRouteCalculator.html">create a
|
|
26
|
+
* route calculator resource</a>.</p>
|
|
27
|
+
* <p>By default, a request that doesn't specify a departure time uses the best time of day
|
|
28
|
+
* to travel with the best traffic conditions when calculating routes.</p>
|
|
29
|
+
* <p>Additional options include:</p>
|
|
30
|
+
* <ul>
|
|
31
|
+
* <li>
|
|
32
|
+
* <p>
|
|
33
|
+
* <a href="https://docs.aws.amazon.com/location/latest/developerguide/departure-time.html"> Specifying a
|
|
34
|
+
* departure time</a> using either <code>DepartureTime</code> or
|
|
35
|
+
* <code>DepartNow</code>. This calculates routes based on predictive traffic
|
|
36
|
+
* data at the given time. </p>
|
|
37
|
+
* <note>
|
|
38
|
+
* <p>You can't specify both <code>DepartureTime</code> and
|
|
39
|
+
* <code>DepartNow</code> in a single request. Specifying both parameters
|
|
40
|
+
* returns a validation error.</p>
|
|
41
|
+
* </note>
|
|
42
|
+
* </li>
|
|
43
|
+
* <li>
|
|
44
|
+
* <p>
|
|
45
|
+
* <a href="https://docs.aws.amazon.com/location/latest/developerguide/travel-mode.html">Specifying a travel
|
|
46
|
+
* mode</a> using TravelMode sets the transportation mode used to calculate
|
|
47
|
+
* the routes. This also lets you specify additional route preferences in
|
|
48
|
+
* <code>CarModeOptions</code> if traveling by <code>Car</code>, or
|
|
49
|
+
* <code>TruckModeOptions</code> if traveling by <code>Truck</code>.</p>
|
|
50
|
+
* </li>
|
|
51
|
+
* </ul>
|
|
52
|
+
* @example
|
|
53
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
54
|
+
* ```javascript
|
|
55
|
+
* import { LocationClient, CalculateRouteMatrixCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
56
|
+
* // const { LocationClient, CalculateRouteMatrixCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
57
|
+
* const client = new LocationClient(config);
|
|
58
|
+
* const command = new CalculateRouteMatrixCommand(input);
|
|
59
|
+
* const response = await client.send(command);
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @see {@link CalculateRouteMatrixCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link CalculateRouteMatrixCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
67
|
+
export declare class CalculateRouteMatrixCommand extends $Command<CalculateRouteMatrixCommandInput, CalculateRouteMatrixCommandOutput, LocationClientResolvedConfig> {
|
|
68
|
+
readonly input: CalculateRouteMatrixCommandInput;
|
|
69
|
+
constructor(input: CalculateRouteMatrixCommandInput);
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CalculateRouteMatrixCommandInput, CalculateRouteMatrixCommandOutput>;
|
|
74
|
+
private serialize;
|
|
75
|
+
private deserialize;
|
|
76
|
+
}
|
|
@@ -1,39 +1,35 @@
|
|
|
1
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
> {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
options?: __HttpHandlerOptions
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
>;
|
|
37
|
-
private serialize;
|
|
38
|
-
private deserialize;
|
|
39
|
-
}
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
|
|
4
|
+
import { CreateGeofenceCollectionRequest, CreateGeofenceCollectionResponse } from "../models/models_0";
|
|
5
|
+
export interface CreateGeofenceCollectionCommandInput extends CreateGeofenceCollectionRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateGeofenceCollectionCommandOutput extends CreateGeofenceCollectionResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates a geofence collection, which manages and stores geofences.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { LocationClient, CreateGeofenceCollectionCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
15
|
+
* // const { LocationClient, CreateGeofenceCollectionCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
16
|
+
* const client = new LocationClient(config);
|
|
17
|
+
* const command = new CreateGeofenceCollectionCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link CreateGeofenceCollectionCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link CreateGeofenceCollectionCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class CreateGeofenceCollectionCommand extends $Command<CreateGeofenceCollectionCommandInput, CreateGeofenceCollectionCommandOutput, LocationClientResolvedConfig> {
|
|
27
|
+
readonly input: CreateGeofenceCollectionCommandInput;
|
|
28
|
+
constructor(input: CreateGeofenceCollectionCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateGeofenceCollectionCommandInput, CreateGeofenceCollectionCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -1,32 +1,42 @@
|
|
|
1
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
|
|
4
|
+
import { CreateMapRequest, CreateMapResponse } from "../models/models_0";
|
|
5
|
+
export interface CreateMapCommandInput extends CreateMapRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateMapCommandOutput extends CreateMapResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates a map resource in your AWS account, which provides map tiles of different
|
|
11
|
+
* styles sourced from global location data providers.</p>
|
|
12
|
+
* <note>
|
|
13
|
+
* <p>If your application is tracking or routing assets you use in your business, such
|
|
14
|
+
* as delivery vehicles or employees, you may only use HERE as your geolocation
|
|
15
|
+
* provider. See section 82 of the <a href="http://aws.amazon.com/service-terms">AWS
|
|
16
|
+
* service terms</a> for more details.</p>
|
|
17
|
+
* </note>
|
|
18
|
+
* @example
|
|
19
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
+
* ```javascript
|
|
21
|
+
* import { LocationClient, CreateMapCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
22
|
+
* // const { LocationClient, CreateMapCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
23
|
+
* const client = new LocationClient(config);
|
|
24
|
+
* const command = new CreateMapCommand(input);
|
|
25
|
+
* const response = await client.send(command);
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* @see {@link CreateMapCommandInput} for command's `input` shape.
|
|
29
|
+
* @see {@link CreateMapCommandOutput} for command's `response` shape.
|
|
30
|
+
* @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
export declare class CreateMapCommand extends $Command<CreateMapCommandInput, CreateMapCommandOutput, LocationClientResolvedConfig> {
|
|
34
|
+
readonly input: CreateMapCommandInput;
|
|
35
|
+
constructor(input: CreateMapCommandInput);
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateMapCommandInput, CreateMapCommandOutput>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -1,35 +1,45 @@
|
|
|
1
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
|
|
4
|
+
import { CreatePlaceIndexRequest, CreatePlaceIndexResponse } from "../models/models_0";
|
|
5
|
+
export interface CreatePlaceIndexCommandInput extends CreatePlaceIndexRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreatePlaceIndexCommandOutput extends CreatePlaceIndexResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates a place index resource in your AWS account. Use a place index resource to
|
|
11
|
+
* geocode addresses and other text queries by using the
|
|
12
|
+
* <code>SearchPlaceIndexForText</code> operation, and reverse geocode coordinates by
|
|
13
|
+
* using the <code>SearchPlaceIndexForPosition</code> operation, and enable autosuggestions
|
|
14
|
+
* by using the <code>SearchPlaceIndexForSuggestions</code> operation.</p>
|
|
15
|
+
* <note>
|
|
16
|
+
* <p>If your application is tracking or routing assets you use in your business, such
|
|
17
|
+
* as delivery vehicles or employees, you may only use HERE as your geolocation
|
|
18
|
+
* provider. See section 82 of the <a href="http://aws.amazon.com/service-terms">AWS
|
|
19
|
+
* service terms</a> for more details.</p>
|
|
20
|
+
* </note>
|
|
21
|
+
* @example
|
|
22
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
23
|
+
* ```javascript
|
|
24
|
+
* import { LocationClient, CreatePlaceIndexCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
25
|
+
* // const { LocationClient, CreatePlaceIndexCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
26
|
+
* const client = new LocationClient(config);
|
|
27
|
+
* const command = new CreatePlaceIndexCommand(input);
|
|
28
|
+
* const response = await client.send(command);
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* @see {@link CreatePlaceIndexCommandInput} for command's `input` shape.
|
|
32
|
+
* @see {@link CreatePlaceIndexCommandOutput} for command's `response` shape.
|
|
33
|
+
* @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
export declare class CreatePlaceIndexCommand extends $Command<CreatePlaceIndexCommandInput, CreatePlaceIndexCommandOutput, LocationClientResolvedConfig> {
|
|
37
|
+
readonly input: CreatePlaceIndexCommandInput;
|
|
38
|
+
constructor(input: CreatePlaceIndexCommandInput);
|
|
39
|
+
/**
|
|
40
|
+
* @internal
|
|
41
|
+
*/
|
|
42
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreatePlaceIndexCommandInput, CreatePlaceIndexCommandOutput>;
|
|
43
|
+
private serialize;
|
|
44
|
+
private deserialize;
|
|
45
|
+
}
|
|
@@ -1,39 +1,44 @@
|
|
|
1
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
|
|
4
|
+
import { CreateRouteCalculatorRequest, CreateRouteCalculatorResponse } from "../models/models_0";
|
|
5
|
+
export interface CreateRouteCalculatorCommandInput extends CreateRouteCalculatorRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateRouteCalculatorCommandOutput extends CreateRouteCalculatorResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates a route calculator resource in your AWS account.</p>
|
|
11
|
+
* <p>You can send requests to a route calculator resource to estimate travel time,
|
|
12
|
+
* distance, and get directions. A route calculator sources traffic and road network data
|
|
13
|
+
* from your chosen data provider.</p>
|
|
14
|
+
* <note>
|
|
15
|
+
* <p>If your application is tracking or routing assets you use in your business, such
|
|
16
|
+
* as delivery vehicles or employees, you may only use HERE as your geolocation
|
|
17
|
+
* provider. See section 82 of the <a href="http://aws.amazon.com/service-terms">AWS
|
|
18
|
+
* service terms</a> for more details.</p>
|
|
19
|
+
* </note>
|
|
20
|
+
* @example
|
|
21
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
22
|
+
* ```javascript
|
|
23
|
+
* import { LocationClient, CreateRouteCalculatorCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
24
|
+
* // const { LocationClient, CreateRouteCalculatorCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
25
|
+
* const client = new LocationClient(config);
|
|
26
|
+
* const command = new CreateRouteCalculatorCommand(input);
|
|
27
|
+
* const response = await client.send(command);
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* @see {@link CreateRouteCalculatorCommandInput} for command's `input` shape.
|
|
31
|
+
* @see {@link CreateRouteCalculatorCommandOutput} for command's `response` shape.
|
|
32
|
+
* @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
export declare class CreateRouteCalculatorCommand extends $Command<CreateRouteCalculatorCommandInput, CreateRouteCalculatorCommandOutput, LocationClientResolvedConfig> {
|
|
36
|
+
readonly input: CreateRouteCalculatorCommandInput;
|
|
37
|
+
constructor(input: CreateRouteCalculatorCommandInput);
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateRouteCalculatorCommandInput, CreateRouteCalculatorCommandOutput>;
|
|
42
|
+
private serialize;
|
|
43
|
+
private deserialize;
|
|
44
|
+
}
|
|
@@ -1,35 +1,36 @@
|
|
|
1
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
|
|
4
|
+
import { CreateTrackerRequest, CreateTrackerResponse } from "../models/models_0";
|
|
5
|
+
export interface CreateTrackerCommandInput extends CreateTrackerRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateTrackerCommandOutput extends CreateTrackerResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates a tracker resource in your AWS account, which lets you retrieve current and
|
|
11
|
+
* historical location of devices.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { LocationClient, CreateTrackerCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
16
|
+
* // const { LocationClient, CreateTrackerCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
17
|
+
* const client = new LocationClient(config);
|
|
18
|
+
* const command = new CreateTrackerCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link CreateTrackerCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link CreateTrackerCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class CreateTrackerCommand extends $Command<CreateTrackerCommandInput, CreateTrackerCommandOutput, LocationClientResolvedConfig> {
|
|
28
|
+
readonly input: CreateTrackerCommandInput;
|
|
29
|
+
constructor(input: CreateTrackerCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTrackerCommandInput, CreateTrackerCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|