@aws-sdk/client-location 3.185.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.
Files changed (79) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-types/ts3.4/Location.d.ts +626 -905
  3. package/dist-types/ts3.4/LocationClient.d.ts +197 -422
  4. package/dist-types/ts3.4/commands/AssociateTrackerConsumerCommand.d.ts +41 -39
  5. package/dist-types/ts3.4/commands/BatchDeleteDevicePositionHistoryCommand.d.ts +35 -39
  6. package/dist-types/ts3.4/commands/BatchDeleteGeofenceCommand.d.ts +38 -36
  7. package/dist-types/ts3.4/commands/BatchEvaluateGeofencesCommand.d.ts +63 -39
  8. package/dist-types/ts3.4/commands/BatchGetDevicePositionCommand.d.ts +35 -39
  9. package/dist-types/ts3.4/commands/BatchPutGeofenceCommand.d.ts +36 -35
  10. package/dist-types/ts3.4/commands/BatchUpdateDevicePositionCommand.d.ts +53 -39
  11. package/dist-types/ts3.4/commands/CalculateRouteCommand.d.ts +68 -35
  12. package/dist-types/ts3.4/commands/CalculateRouteMatrixCommand.d.ts +76 -39
  13. package/dist-types/ts3.4/commands/CreateGeofenceCollectionCommand.d.ts +35 -39
  14. package/dist-types/ts3.4/commands/CreateMapCommand.d.ts +42 -32
  15. package/dist-types/ts3.4/commands/CreatePlaceIndexCommand.d.ts +45 -35
  16. package/dist-types/ts3.4/commands/CreateRouteCalculatorCommand.d.ts +44 -39
  17. package/dist-types/ts3.4/commands/CreateTrackerCommand.d.ts +36 -35
  18. package/dist-types/ts3.4/commands/DeleteGeofenceCollectionCommand.d.ts +39 -39
  19. package/dist-types/ts3.4/commands/DeleteMapCommand.d.ts +39 -32
  20. package/dist-types/ts3.4/commands/DeletePlaceIndexCommand.d.ts +38 -35
  21. package/dist-types/ts3.4/commands/DeleteRouteCalculatorCommand.d.ts +38 -39
  22. package/dist-types/ts3.4/commands/DeleteTrackerCommand.d.ts +40 -35
  23. package/dist-types/ts3.4/commands/DescribeGeofenceCollectionCommand.d.ts +35 -39
  24. package/dist-types/ts3.4/commands/DescribeMapCommand.d.ts +35 -32
  25. package/dist-types/ts3.4/commands/DescribePlaceIndexCommand.d.ts +35 -36
  26. package/dist-types/ts3.4/commands/DescribeRouteCalculatorCommand.d.ts +35 -39
  27. package/dist-types/ts3.4/commands/DescribeTrackerCommand.d.ts +35 -35
  28. package/dist-types/ts3.4/commands/DisassociateTrackerConsumerCommand.d.ts +39 -39
  29. package/dist-types/ts3.4/commands/GetDevicePositionCommand.d.ts +38 -36
  30. package/dist-types/ts3.4/commands/GetDevicePositionHistoryCommand.d.ts +39 -39
  31. package/dist-types/ts3.4/commands/GetGeofenceCommand.d.ts +35 -32
  32. package/dist-types/ts3.4/commands/GetMapGlyphsCommand.d.ts +35 -32
  33. package/dist-types/ts3.4/commands/GetMapSpritesCommand.d.ts +37 -35
  34. package/dist-types/ts3.4/commands/GetMapStyleDescriptorCommand.d.ts +38 -39
  35. package/dist-types/ts3.4/commands/GetMapTileCommand.d.ts +40 -32
  36. package/dist-types/ts3.4/commands/GetPlaceCommand.d.ts +51 -32
  37. package/dist-types/ts3.4/commands/ListDevicePositionsCommand.d.ts +35 -36
  38. package/dist-types/ts3.4/commands/ListGeofenceCollectionsCommand.d.ts +35 -39
  39. package/dist-types/ts3.4/commands/ListGeofencesCommand.d.ts +35 -35
  40. package/dist-types/ts3.4/commands/ListMapsCommand.d.ts +35 -32
  41. package/dist-types/ts3.4/commands/ListPlaceIndexesCommand.d.ts +35 -35
  42. package/dist-types/ts3.4/commands/ListRouteCalculatorsCommand.d.ts +35 -39
  43. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +35 -36
  44. package/dist-types/ts3.4/commands/ListTrackerConsumersCommand.d.ts +35 -39
  45. package/dist-types/ts3.4/commands/ListTrackersCommand.d.ts +35 -32
  46. package/dist-types/ts3.4/commands/PutGeofenceCommand.d.ts +36 -32
  47. package/dist-types/ts3.4/commands/SearchPlaceIndexForPositionCommand.d.ts +36 -39
  48. package/dist-types/ts3.4/commands/SearchPlaceIndexForSuggestionsCommand.d.ts +46 -39
  49. package/dist-types/ts3.4/commands/SearchPlaceIndexForTextCommand.d.ts +44 -39
  50. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +48 -32
  51. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -35
  52. package/dist-types/ts3.4/commands/UpdateGeofenceCollectionCommand.d.ts +35 -39
  53. package/dist-types/ts3.4/commands/UpdateMapCommand.d.ts +35 -32
  54. package/dist-types/ts3.4/commands/UpdatePlaceIndexCommand.d.ts +35 -35
  55. package/dist-types/ts3.4/commands/UpdateRouteCalculatorCommand.d.ts +35 -39
  56. package/dist-types/ts3.4/commands/UpdateTrackerCommand.d.ts +35 -35
  57. package/dist-types/ts3.4/commands/index.d.ts +53 -53
  58. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  59. package/dist-types/ts3.4/index.d.ts +6 -6
  60. package/dist-types/ts3.4/models/LocationServiceException.d.ts +10 -7
  61. package/dist-types/ts3.4/models/index.d.ts +1 -1
  62. package/dist-types/ts3.4/models/models_0.d.ts +4783 -1283
  63. package/dist-types/ts3.4/pagination/GetDevicePositionHistoryPaginator.d.ts +4 -11
  64. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -7
  65. package/dist-types/ts3.4/pagination/ListDevicePositionsPaginator.d.ts +4 -11
  66. package/dist-types/ts3.4/pagination/ListGeofenceCollectionsPaginator.d.ts +4 -11
  67. package/dist-types/ts3.4/pagination/ListGeofencesPaginator.d.ts +4 -11
  68. package/dist-types/ts3.4/pagination/ListMapsPaginator.d.ts +4 -11
  69. package/dist-types/ts3.4/pagination/ListPlaceIndexesPaginator.d.ts +4 -11
  70. package/dist-types/ts3.4/pagination/ListRouteCalculatorsPaginator.d.ts +4 -11
  71. package/dist-types/ts3.4/pagination/ListTrackerConsumersPaginator.d.ts +4 -11
  72. package/dist-types/ts3.4/pagination/ListTrackersPaginator.d.ts +4 -11
  73. package/dist-types/ts3.4/pagination/index.d.ts +10 -10
  74. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +161 -641
  75. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +40 -67
  76. package/dist-types/ts3.4/runtimeConfig.d.ts +40 -67
  77. package/dist-types/ts3.4/runtimeConfig.native.d.ts +39 -68
  78. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +13 -10
  79. package/package.json +33 -33
@@ -1,35 +1,68 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import {
3
- Handler,
4
- HttpHandlerOptions as __HttpHandlerOptions,
5
- MetadataBearer as __MetadataBearer,
6
- MiddlewareStack,
7
- } from "@aws-sdk/types";
8
- import {
9
- LocationClientResolvedConfig,
10
- ServiceInputTypes,
11
- ServiceOutputTypes,
12
- } from "../LocationClient";
13
- import {
14
- CalculateRouteRequest,
15
- CalculateRouteResponse,
16
- } from "../models/models_0";
17
- export interface CalculateRouteCommandInput extends CalculateRouteRequest {}
18
- export interface CalculateRouteCommandOutput
19
- extends CalculateRouteResponse,
20
- __MetadataBearer {}
21
- export declare class CalculateRouteCommand extends $Command<
22
- CalculateRouteCommandInput,
23
- CalculateRouteCommandOutput,
24
- LocationClientResolvedConfig
25
- > {
26
- readonly input: CalculateRouteCommandInput;
27
- constructor(input: CalculateRouteCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: LocationClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<CalculateRouteCommandInput, CalculateRouteCommandOutput>;
33
- private serialize;
34
- private deserialize;
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
- Handler,
4
- HttpHandlerOptions as __HttpHandlerOptions,
5
- MetadataBearer as __MetadataBearer,
6
- MiddlewareStack,
7
- } from "@aws-sdk/types";
8
- import {
9
- LocationClientResolvedConfig,
10
- ServiceInputTypes,
11
- ServiceOutputTypes,
12
- } from "../LocationClient";
13
- import {
14
- CalculateRouteMatrixRequest,
15
- CalculateRouteMatrixResponse,
16
- } from "../models/models_0";
17
- export interface CalculateRouteMatrixCommandInput
18
- extends CalculateRouteMatrixRequest {}
19
- export interface CalculateRouteMatrixCommandOutput
20
- extends CalculateRouteMatrixResponse,
21
- __MetadataBearer {}
22
- export declare class CalculateRouteMatrixCommand extends $Command<
23
- CalculateRouteMatrixCommandInput,
24
- CalculateRouteMatrixCommandOutput,
25
- LocationClientResolvedConfig
26
- > {
27
- readonly input: CalculateRouteMatrixCommandInput;
28
- constructor(input: CalculateRouteMatrixCommandInput);
29
- resolveMiddleware(
30
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
- configuration: LocationClientResolvedConfig,
32
- options?: __HttpHandlerOptions
33
- ): Handler<
34
- CalculateRouteMatrixCommandInput,
35
- CalculateRouteMatrixCommandOutput
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 { 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
- Handler,
4
- HttpHandlerOptions as __HttpHandlerOptions,
5
- MetadataBearer as __MetadataBearer,
6
- MiddlewareStack,
7
- } from "@aws-sdk/types";
8
- import {
9
- LocationClientResolvedConfig,
10
- ServiceInputTypes,
11
- ServiceOutputTypes,
12
- } from "../LocationClient";
13
- import {
14
- CreateGeofenceCollectionRequest,
15
- CreateGeofenceCollectionResponse,
16
- } from "../models/models_0";
17
- export interface CreateGeofenceCollectionCommandInput
18
- extends CreateGeofenceCollectionRequest {}
19
- export interface CreateGeofenceCollectionCommandOutput
20
- extends CreateGeofenceCollectionResponse,
21
- __MetadataBearer {}
22
- export declare class CreateGeofenceCollectionCommand extends $Command<
23
- CreateGeofenceCollectionCommandInput,
24
- CreateGeofenceCollectionCommandOutput,
25
- LocationClientResolvedConfig
26
- > {
27
- readonly input: CreateGeofenceCollectionCommandInput;
28
- constructor(input: CreateGeofenceCollectionCommandInput);
29
- resolveMiddleware(
30
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
- configuration: LocationClientResolvedConfig,
32
- options?: __HttpHandlerOptions
33
- ): Handler<
34
- CreateGeofenceCollectionCommandInput,
35
- CreateGeofenceCollectionCommandOutput
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
- Handler,
4
- HttpHandlerOptions as __HttpHandlerOptions,
5
- MetadataBearer as __MetadataBearer,
6
- MiddlewareStack,
7
- } from "@aws-sdk/types";
8
- import {
9
- LocationClientResolvedConfig,
10
- ServiceInputTypes,
11
- ServiceOutputTypes,
12
- } from "../LocationClient";
13
- import { CreateMapRequest, CreateMapResponse } from "../models/models_0";
14
- export interface CreateMapCommandInput extends CreateMapRequest {}
15
- export interface CreateMapCommandOutput
16
- extends CreateMapResponse,
17
- __MetadataBearer {}
18
- export declare class CreateMapCommand extends $Command<
19
- CreateMapCommandInput,
20
- CreateMapCommandOutput,
21
- LocationClientResolvedConfig
22
- > {
23
- readonly input: CreateMapCommandInput;
24
- constructor(input: CreateMapCommandInput);
25
- resolveMiddleware(
26
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
27
- configuration: LocationClientResolvedConfig,
28
- options?: __HttpHandlerOptions
29
- ): Handler<CreateMapCommandInput, CreateMapCommandOutput>;
30
- private serialize;
31
- private deserialize;
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
- Handler,
4
- HttpHandlerOptions as __HttpHandlerOptions,
5
- MetadataBearer as __MetadataBearer,
6
- MiddlewareStack,
7
- } from "@aws-sdk/types";
8
- import {
9
- LocationClientResolvedConfig,
10
- ServiceInputTypes,
11
- ServiceOutputTypes,
12
- } from "../LocationClient";
13
- import {
14
- CreatePlaceIndexRequest,
15
- CreatePlaceIndexResponse,
16
- } from "../models/models_0";
17
- export interface CreatePlaceIndexCommandInput extends CreatePlaceIndexRequest {}
18
- export interface CreatePlaceIndexCommandOutput
19
- extends CreatePlaceIndexResponse,
20
- __MetadataBearer {}
21
- export declare class CreatePlaceIndexCommand extends $Command<
22
- CreatePlaceIndexCommandInput,
23
- CreatePlaceIndexCommandOutput,
24
- LocationClientResolvedConfig
25
- > {
26
- readonly input: CreatePlaceIndexCommandInput;
27
- constructor(input: CreatePlaceIndexCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: LocationClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<CreatePlaceIndexCommandInput, CreatePlaceIndexCommandOutput>;
33
- private serialize;
34
- private deserialize;
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
- Handler,
4
- HttpHandlerOptions as __HttpHandlerOptions,
5
- MetadataBearer as __MetadataBearer,
6
- MiddlewareStack,
7
- } from "@aws-sdk/types";
8
- import {
9
- LocationClientResolvedConfig,
10
- ServiceInputTypes,
11
- ServiceOutputTypes,
12
- } from "../LocationClient";
13
- import {
14
- CreateRouteCalculatorRequest,
15
- CreateRouteCalculatorResponse,
16
- } from "../models/models_0";
17
- export interface CreateRouteCalculatorCommandInput
18
- extends CreateRouteCalculatorRequest {}
19
- export interface CreateRouteCalculatorCommandOutput
20
- extends CreateRouteCalculatorResponse,
21
- __MetadataBearer {}
22
- export declare class CreateRouteCalculatorCommand extends $Command<
23
- CreateRouteCalculatorCommandInput,
24
- CreateRouteCalculatorCommandOutput,
25
- LocationClientResolvedConfig
26
- > {
27
- readonly input: CreateRouteCalculatorCommandInput;
28
- constructor(input: CreateRouteCalculatorCommandInput);
29
- resolveMiddleware(
30
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
- configuration: LocationClientResolvedConfig,
32
- options?: __HttpHandlerOptions
33
- ): Handler<
34
- CreateRouteCalculatorCommandInput,
35
- CreateRouteCalculatorCommandOutput
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 { 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
- Handler,
4
- HttpHandlerOptions as __HttpHandlerOptions,
5
- MetadataBearer as __MetadataBearer,
6
- MiddlewareStack,
7
- } from "@aws-sdk/types";
8
- import {
9
- LocationClientResolvedConfig,
10
- ServiceInputTypes,
11
- ServiceOutputTypes,
12
- } from "../LocationClient";
13
- import {
14
- CreateTrackerRequest,
15
- CreateTrackerResponse,
16
- } from "../models/models_0";
17
- export interface CreateTrackerCommandInput extends CreateTrackerRequest {}
18
- export interface CreateTrackerCommandOutput
19
- extends CreateTrackerResponse,
20
- __MetadataBearer {}
21
- export declare class CreateTrackerCommand extends $Command<
22
- CreateTrackerCommandInput,
23
- CreateTrackerCommandOutput,
24
- LocationClientResolvedConfig
25
- > {
26
- readonly input: CreateTrackerCommandInput;
27
- constructor(input: CreateTrackerCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: LocationClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<CreateTrackerCommandInput, CreateTrackerCommandOutput>;
33
- private serialize;
34
- private deserialize;
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
+ }