@aws-sdk/client-location 3.46.0 → 3.48.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/CHANGELOG.md +38 -0
- package/dist-cjs/Location.js +15 -0
- package/dist-cjs/commands/CalculateRouteMatrixCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +37 -45
- package/dist-cjs/protocols/Aws_restJson1.js +217 -3
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +10 -2
- package/dist-es/Location.js +15 -0
- package/dist-es/commands/CalculateRouteMatrixCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +20 -28
- package/dist-es/protocols/Aws_restJson1.js +226 -0
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -4
- package/dist-types/Location.d.ts +74 -12
- package/dist-types/LocationClient.d.ts +8 -3
- package/dist-types/commands/CalculateRouteCommand.d.ts +10 -12
- package/dist-types/commands/CalculateRouteMatrixCommand.d.ts +74 -0
- package/dist-types/commands/CreateMapCommand.d.ts +6 -0
- package/dist-types/commands/CreatePlaceIndexCommand.d.ts +6 -0
- package/dist-types/commands/CreateRouteCalculatorCommand.d.ts +6 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +398 -169
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/Location.d.ts +5 -0
- package/dist-types/ts3.4/LocationClient.d.ts +6 -3
- package/dist-types/ts3.4/commands/CalculateRouteMatrixCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +89 -38
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +35 -35
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateTrackerConsumerCommandInput, AssociateTrackerConsumerCommandOutput } from "./commands/AssociateTrackerConsumerCommand";
|
|
10
10
|
import { BatchDeleteDevicePositionHistoryCommandInput, BatchDeleteDevicePositionHistoryCommandOutput } from "./commands/BatchDeleteDevicePositionHistoryCommand";
|
|
@@ -14,6 +14,7 @@ import { BatchGetDevicePositionCommandInput, BatchGetDevicePositionCommandOutput
|
|
|
14
14
|
import { BatchPutGeofenceCommandInput, BatchPutGeofenceCommandOutput } from "./commands/BatchPutGeofenceCommand";
|
|
15
15
|
import { BatchUpdateDevicePositionCommandInput, BatchUpdateDevicePositionCommandOutput } from "./commands/BatchUpdateDevicePositionCommand";
|
|
16
16
|
import { CalculateRouteCommandInput, CalculateRouteCommandOutput } from "./commands/CalculateRouteCommand";
|
|
17
|
+
import { CalculateRouteMatrixCommandInput, CalculateRouteMatrixCommandOutput } from "./commands/CalculateRouteMatrixCommand";
|
|
17
18
|
import { CreateGeofenceCollectionCommandInput, CreateGeofenceCollectionCommandOutput } from "./commands/CreateGeofenceCollectionCommand";
|
|
18
19
|
import { CreateMapCommandInput, CreateMapCommandOutput } from "./commands/CreateMapCommand";
|
|
19
20
|
import { CreatePlaceIndexCommandInput, CreatePlaceIndexCommandOutput } from "./commands/CreatePlaceIndexCommand";
|
|
@@ -57,8 +58,8 @@ import { UpdateMapCommandInput, UpdateMapCommandOutput } from "./commands/Update
|
|
|
57
58
|
import { UpdatePlaceIndexCommandInput, UpdatePlaceIndexCommandOutput } from "./commands/UpdatePlaceIndexCommand";
|
|
58
59
|
import { UpdateRouteCalculatorCommandInput, UpdateRouteCalculatorCommandOutput } from "./commands/UpdateRouteCalculatorCommand";
|
|
59
60
|
import { UpdateTrackerCommandInput, UpdateTrackerCommandOutput } from "./commands/UpdateTrackerCommand";
|
|
60
|
-
export declare type ServiceInputTypes = AssociateTrackerConsumerCommandInput | BatchDeleteDevicePositionHistoryCommandInput | BatchDeleteGeofenceCommandInput | BatchEvaluateGeofencesCommandInput | BatchGetDevicePositionCommandInput | BatchPutGeofenceCommandInput | BatchUpdateDevicePositionCommandInput | CalculateRouteCommandInput | CreateGeofenceCollectionCommandInput | CreateMapCommandInput | CreatePlaceIndexCommandInput | CreateRouteCalculatorCommandInput | CreateTrackerCommandInput | DeleteGeofenceCollectionCommandInput | DeleteMapCommandInput | DeletePlaceIndexCommandInput | DeleteRouteCalculatorCommandInput | DeleteTrackerCommandInput | DescribeGeofenceCollectionCommandInput | DescribeMapCommandInput | DescribePlaceIndexCommandInput | DescribeRouteCalculatorCommandInput | DescribeTrackerCommandInput | DisassociateTrackerConsumerCommandInput | GetDevicePositionCommandInput | GetDevicePositionHistoryCommandInput | GetGeofenceCommandInput | GetMapGlyphsCommandInput | GetMapSpritesCommandInput | GetMapStyleDescriptorCommandInput | GetMapTileCommandInput | ListDevicePositionsCommandInput | ListGeofenceCollectionsCommandInput | ListGeofencesCommandInput | ListMapsCommandInput | ListPlaceIndexesCommandInput | ListRouteCalculatorsCommandInput | ListTagsForResourceCommandInput | ListTrackerConsumersCommandInput | ListTrackersCommandInput | PutGeofenceCommandInput | SearchPlaceIndexForPositionCommandInput | SearchPlaceIndexForSuggestionsCommandInput | SearchPlaceIndexForTextCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGeofenceCollectionCommandInput | UpdateMapCommandInput | UpdatePlaceIndexCommandInput | UpdateRouteCalculatorCommandInput | UpdateTrackerCommandInput;
|
|
61
|
-
export declare type ServiceOutputTypes = AssociateTrackerConsumerCommandOutput | BatchDeleteDevicePositionHistoryCommandOutput | BatchDeleteGeofenceCommandOutput | BatchEvaluateGeofencesCommandOutput | BatchGetDevicePositionCommandOutput | BatchPutGeofenceCommandOutput | BatchUpdateDevicePositionCommandOutput | CalculateRouteCommandOutput | CreateGeofenceCollectionCommandOutput | CreateMapCommandOutput | CreatePlaceIndexCommandOutput | CreateRouteCalculatorCommandOutput | CreateTrackerCommandOutput | DeleteGeofenceCollectionCommandOutput | DeleteMapCommandOutput | DeletePlaceIndexCommandOutput | DeleteRouteCalculatorCommandOutput | DeleteTrackerCommandOutput | DescribeGeofenceCollectionCommandOutput | DescribeMapCommandOutput | DescribePlaceIndexCommandOutput | DescribeRouteCalculatorCommandOutput | DescribeTrackerCommandOutput | DisassociateTrackerConsumerCommandOutput | GetDevicePositionCommandOutput | GetDevicePositionHistoryCommandOutput | GetGeofenceCommandOutput | GetMapGlyphsCommandOutput | GetMapSpritesCommandOutput | GetMapStyleDescriptorCommandOutput | GetMapTileCommandOutput | ListDevicePositionsCommandOutput | ListGeofenceCollectionsCommandOutput | ListGeofencesCommandOutput | ListMapsCommandOutput | ListPlaceIndexesCommandOutput | ListRouteCalculatorsCommandOutput | ListTagsForResourceCommandOutput | ListTrackerConsumersCommandOutput | ListTrackersCommandOutput | PutGeofenceCommandOutput | SearchPlaceIndexForPositionCommandOutput | SearchPlaceIndexForSuggestionsCommandOutput | SearchPlaceIndexForTextCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGeofenceCollectionCommandOutput | UpdateMapCommandOutput | UpdatePlaceIndexCommandOutput | UpdateRouteCalculatorCommandOutput | UpdateTrackerCommandOutput;
|
|
61
|
+
export declare type ServiceInputTypes = AssociateTrackerConsumerCommandInput | BatchDeleteDevicePositionHistoryCommandInput | BatchDeleteGeofenceCommandInput | BatchEvaluateGeofencesCommandInput | BatchGetDevicePositionCommandInput | BatchPutGeofenceCommandInput | BatchUpdateDevicePositionCommandInput | CalculateRouteCommandInput | CalculateRouteMatrixCommandInput | CreateGeofenceCollectionCommandInput | CreateMapCommandInput | CreatePlaceIndexCommandInput | CreateRouteCalculatorCommandInput | CreateTrackerCommandInput | DeleteGeofenceCollectionCommandInput | DeleteMapCommandInput | DeletePlaceIndexCommandInput | DeleteRouteCalculatorCommandInput | DeleteTrackerCommandInput | DescribeGeofenceCollectionCommandInput | DescribeMapCommandInput | DescribePlaceIndexCommandInput | DescribeRouteCalculatorCommandInput | DescribeTrackerCommandInput | DisassociateTrackerConsumerCommandInput | GetDevicePositionCommandInput | GetDevicePositionHistoryCommandInput | GetGeofenceCommandInput | GetMapGlyphsCommandInput | GetMapSpritesCommandInput | GetMapStyleDescriptorCommandInput | GetMapTileCommandInput | ListDevicePositionsCommandInput | ListGeofenceCollectionsCommandInput | ListGeofencesCommandInput | ListMapsCommandInput | ListPlaceIndexesCommandInput | ListRouteCalculatorsCommandInput | ListTagsForResourceCommandInput | ListTrackerConsumersCommandInput | ListTrackersCommandInput | PutGeofenceCommandInput | SearchPlaceIndexForPositionCommandInput | SearchPlaceIndexForSuggestionsCommandInput | SearchPlaceIndexForTextCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGeofenceCollectionCommandInput | UpdateMapCommandInput | UpdatePlaceIndexCommandInput | UpdateRouteCalculatorCommandInput | UpdateTrackerCommandInput;
|
|
62
|
+
export declare type ServiceOutputTypes = AssociateTrackerConsumerCommandOutput | BatchDeleteDevicePositionHistoryCommandOutput | BatchDeleteGeofenceCommandOutput | BatchEvaluateGeofencesCommandOutput | BatchGetDevicePositionCommandOutput | BatchPutGeofenceCommandOutput | BatchUpdateDevicePositionCommandOutput | CalculateRouteCommandOutput | CalculateRouteMatrixCommandOutput | CreateGeofenceCollectionCommandOutput | CreateMapCommandOutput | CreatePlaceIndexCommandOutput | CreateRouteCalculatorCommandOutput | CreateTrackerCommandOutput | DeleteGeofenceCollectionCommandOutput | DeleteMapCommandOutput | DeletePlaceIndexCommandOutput | DeleteRouteCalculatorCommandOutput | DeleteTrackerCommandOutput | DescribeGeofenceCollectionCommandOutput | DescribeMapCommandOutput | DescribePlaceIndexCommandOutput | DescribeRouteCalculatorCommandOutput | DescribeTrackerCommandOutput | DisassociateTrackerConsumerCommandOutput | GetDevicePositionCommandOutput | GetDevicePositionHistoryCommandOutput | GetGeofenceCommandOutput | GetMapGlyphsCommandOutput | GetMapSpritesCommandOutput | GetMapStyleDescriptorCommandOutput | GetMapTileCommandOutput | ListDevicePositionsCommandOutput | ListGeofenceCollectionsCommandOutput | ListGeofencesCommandOutput | ListMapsCommandOutput | ListPlaceIndexesCommandOutput | ListRouteCalculatorsCommandOutput | ListTagsForResourceCommandOutput | ListTrackerConsumersCommandOutput | ListTrackersCommandOutput | PutGeofenceCommandOutput | SearchPlaceIndexForPositionCommandOutput | SearchPlaceIndexForSuggestionsCommandOutput | SearchPlaceIndexForTextCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGeofenceCollectionCommandOutput | UpdateMapCommandOutput | UpdatePlaceIndexCommandOutput | UpdateRouteCalculatorCommandOutput | UpdateTrackerCommandOutput;
|
|
62
63
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
63
64
|
/**
|
|
64
65
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -159,6 +160,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
159
160
|
* @internal
|
|
160
161
|
*/
|
|
161
162
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
163
|
+
/**
|
|
164
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
165
|
+
*/
|
|
166
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
162
167
|
}
|
|
163
168
|
declare type LocationClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
164
169
|
/**
|
|
@@ -9,7 +9,7 @@ export interface CalculateRouteCommandOutput extends CalculateRouteResponse, __M
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>
|
|
11
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>
|
|
12
|
+
* <code>DeparturePosition</code> and <code>DestinationPosition</code>. Requires that
|
|
13
13
|
* you first <a href="https://docs.aws.amazon.com/location-routes/latest/APIReference/API_CreateRouteCalculator.html">create a
|
|
14
14
|
* route calculator resource</a>.</p>
|
|
15
15
|
* <p>By default, a request that doesn't specify a departure time uses the best time of day
|
|
@@ -18,25 +18,23 @@ export interface CalculateRouteCommandOutput extends CalculateRouteResponse, __M
|
|
|
18
18
|
* <ul>
|
|
19
19
|
* <li>
|
|
20
20
|
* <p>
|
|
21
|
-
* <a href="https://docs.aws.amazon.com/location/latest/developerguide/
|
|
22
|
-
*
|
|
23
|
-
*
|
|
21
|
+
* <a href="https://docs.aws.amazon.com/location/latest/developerguide/departure-time.html">Specifying a departure time</a> using either <code>DepartureTime</code>
|
|
22
|
+
* or <code>DepartNow</code>. This calculates a route based on predictive traffic
|
|
23
|
+
* data at the given time. </p>
|
|
24
24
|
* <note>
|
|
25
25
|
* <p>You can't specify both <code>DepartureTime</code> and
|
|
26
|
-
* <code>
|
|
27
|
-
*
|
|
26
|
+
* <code>DepartNow</code> in a single request. Specifying both parameters
|
|
27
|
+
* returns a validation error.</p>
|
|
28
28
|
* </note>
|
|
29
29
|
* </li>
|
|
30
30
|
* <li>
|
|
31
31
|
* <p>
|
|
32
|
-
* <a href="https://docs.aws.amazon.com/location/latest/developerguide/
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* <code>Truck</code>.</p>
|
|
32
|
+
* <a href="https://docs.aws.amazon.com/location/latest/developerguide/travel-mode.html">Specifying a travel mode</a> using TravelMode sets the transportation
|
|
33
|
+
* mode used to calculate the routes. This also lets you specify additional route
|
|
34
|
+
* preferences in <code>CarModeOptions</code> if traveling by <code>Car</code>, or
|
|
35
|
+
* <code>TruckModeOptions</code> if traveling by <code>Truck</code>.</p>
|
|
36
36
|
* </li>
|
|
37
37
|
* </ul>
|
|
38
|
-
* <p>
|
|
39
|
-
* </p>
|
|
40
38
|
* @example
|
|
41
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
42
40
|
* ```javascript
|
|
@@ -0,0 +1,74 @@
|
|
|
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
|
|
12
|
+
* route 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
|
|
17
|
+
* X and Y, <code>CalculateRouteMatrix</code> will return time and distance for routes
|
|
18
|
+
* from A to X, A to Y, B to X, and B to Y (in that order). The number of results returned
|
|
19
|
+
* (and routes calculated) will be the number of <code>DeparturePositions</code>
|
|
20
|
+
* times the number of <code>DestinationPositions</code>.</p>
|
|
21
|
+
* <note>
|
|
22
|
+
* <p>Your account is charged for each route calculated, not the number of requests.</p>
|
|
23
|
+
* </note>
|
|
24
|
+
* <p>Requires that you first <a href="https://docs.aws.amazon.com/location-routes/latest/APIReference/API_CreateRouteCalculator.html">create a
|
|
25
|
+
* route calculator resource</a>.</p>
|
|
26
|
+
* <p>By default, a request that doesn't specify a departure time uses the best time of day
|
|
27
|
+
* to travel with the best traffic conditions when calculating routes.</p>
|
|
28
|
+
* <p>Additional options include:</p>
|
|
29
|
+
* <ul>
|
|
30
|
+
* <li>
|
|
31
|
+
* <p>
|
|
32
|
+
* <a href="https://docs.aws.amazon.com/location/latest/developerguide/departure-time.html">
|
|
33
|
+
* Specifying a departure time</a> using either <code>DepartureTime</code>
|
|
34
|
+
* or <code>DepartNow</code>. This calculates routes based on predictive traffic
|
|
35
|
+
* data at the given time. </p>
|
|
36
|
+
* <note>
|
|
37
|
+
* <p>You can't specify both <code>DepartureTime</code> and
|
|
38
|
+
* <code>DepartNow</code> in a single request. Specifying both parameters
|
|
39
|
+
* returns a validation error.</p>
|
|
40
|
+
* </note>
|
|
41
|
+
* </li>
|
|
42
|
+
* <li>
|
|
43
|
+
* <p>
|
|
44
|
+
* <a href="https://docs.aws.amazon.com/location/latest/developerguide/travel-mode.html">Specifying a travel mode</a> using TravelMode sets the transportation
|
|
45
|
+
* mode used to calculate the routes. This also lets you specify additional route
|
|
46
|
+
* preferences in <code>CarModeOptions</code> if traveling by <code>Car</code>, or
|
|
47
|
+
* <code>TruckModeOptions</code> if traveling by <code>Truck</code>.</p>
|
|
48
|
+
* </li>
|
|
49
|
+
* </ul>
|
|
50
|
+
* @example
|
|
51
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
52
|
+
* ```javascript
|
|
53
|
+
* import { LocationClient, CalculateRouteMatrixCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
54
|
+
* // const { LocationClient, CalculateRouteMatrixCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
55
|
+
* const client = new LocationClient(config);
|
|
56
|
+
* const command = new CalculateRouteMatrixCommand(input);
|
|
57
|
+
* const response = await client.send(command);
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @see {@link CalculateRouteMatrixCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link CalculateRouteMatrixCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
export declare class CalculateRouteMatrixCommand extends $Command<CalculateRouteMatrixCommandInput, CalculateRouteMatrixCommandOutput, LocationClientResolvedConfig> {
|
|
66
|
+
readonly input: CalculateRouteMatrixCommandInput;
|
|
67
|
+
constructor(input: CalculateRouteMatrixCommandInput);
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CalculateRouteMatrixCommandInput, CalculateRouteMatrixCommandOutput>;
|
|
72
|
+
private serialize;
|
|
73
|
+
private deserialize;
|
|
74
|
+
}
|
|
@@ -9,6 +9,12 @@ export interface CreateMapCommandOutput extends CreateMapResponse, __MetadataBea
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Creates a map resource in your AWS account, which provides map tiles of different
|
|
11
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>
|
|
12
18
|
* @example
|
|
13
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
20
|
* ```javascript
|
|
@@ -11,6 +11,12 @@ export interface CreatePlaceIndexCommandOutput extends CreatePlaceIndexResponse,
|
|
|
11
11
|
* geocode addresses and other text queries by using the <code>SearchPlaceIndexForText</code> operation,
|
|
12
12
|
* and reverse geocode coordinates by using the <code>SearchPlaceIndexForPosition</code> operation, and
|
|
13
13
|
* enable autosuggestions by using the <code>SearchPlaceIndexForSuggestions</code> operation.</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>
|
|
14
20
|
* @example
|
|
15
21
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
22
|
* ```javascript
|
|
@@ -11,6 +11,12 @@ export interface CreateRouteCalculatorCommandOutput extends CreateRouteCalculato
|
|
|
11
11
|
* <p>You can send requests to a route calculator resource to estimate travel time,
|
|
12
12
|
* distance, and get directions. A route calculator sources traffic and road network data
|
|
13
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>
|
|
14
20
|
* @example
|
|
15
21
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
22
|
* ```javascript
|
|
@@ -6,6 +6,7 @@ export * from "./BatchGetDevicePositionCommand";
|
|
|
6
6
|
export * from "./BatchPutGeofenceCommand";
|
|
7
7
|
export * from "./BatchUpdateDevicePositionCommand";
|
|
8
8
|
export * from "./CalculateRouteCommand";
|
|
9
|
+
export * from "./CalculateRouteMatrixCommand";
|
|
9
10
|
export * from "./CreateGeofenceCollectionCommand";
|
|
10
11
|
export * from "./CreateMapCommand";
|
|
11
12
|
export * from "./CreatePlaceIndexCommand";
|