@aws-sdk/client-location 3.186.0 → 3.186.2

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 (78) hide show
  1. package/dist-types/ts3.4/Location.d.ts +626 -905
  2. package/dist-types/ts3.4/LocationClient.d.ts +197 -422
  3. package/dist-types/ts3.4/commands/AssociateTrackerConsumerCommand.d.ts +41 -39
  4. package/dist-types/ts3.4/commands/BatchDeleteDevicePositionHistoryCommand.d.ts +35 -39
  5. package/dist-types/ts3.4/commands/BatchDeleteGeofenceCommand.d.ts +38 -36
  6. package/dist-types/ts3.4/commands/BatchEvaluateGeofencesCommand.d.ts +63 -39
  7. package/dist-types/ts3.4/commands/BatchGetDevicePositionCommand.d.ts +35 -39
  8. package/dist-types/ts3.4/commands/BatchPutGeofenceCommand.d.ts +36 -35
  9. package/dist-types/ts3.4/commands/BatchUpdateDevicePositionCommand.d.ts +53 -39
  10. package/dist-types/ts3.4/commands/CalculateRouteCommand.d.ts +68 -35
  11. package/dist-types/ts3.4/commands/CalculateRouteMatrixCommand.d.ts +76 -39
  12. package/dist-types/ts3.4/commands/CreateGeofenceCollectionCommand.d.ts +35 -39
  13. package/dist-types/ts3.4/commands/CreateMapCommand.d.ts +42 -32
  14. package/dist-types/ts3.4/commands/CreatePlaceIndexCommand.d.ts +45 -35
  15. package/dist-types/ts3.4/commands/CreateRouteCalculatorCommand.d.ts +44 -39
  16. package/dist-types/ts3.4/commands/CreateTrackerCommand.d.ts +36 -35
  17. package/dist-types/ts3.4/commands/DeleteGeofenceCollectionCommand.d.ts +39 -39
  18. package/dist-types/ts3.4/commands/DeleteMapCommand.d.ts +39 -32
  19. package/dist-types/ts3.4/commands/DeletePlaceIndexCommand.d.ts +38 -35
  20. package/dist-types/ts3.4/commands/DeleteRouteCalculatorCommand.d.ts +38 -39
  21. package/dist-types/ts3.4/commands/DeleteTrackerCommand.d.ts +40 -35
  22. package/dist-types/ts3.4/commands/DescribeGeofenceCollectionCommand.d.ts +35 -39
  23. package/dist-types/ts3.4/commands/DescribeMapCommand.d.ts +35 -32
  24. package/dist-types/ts3.4/commands/DescribePlaceIndexCommand.d.ts +35 -36
  25. package/dist-types/ts3.4/commands/DescribeRouteCalculatorCommand.d.ts +35 -39
  26. package/dist-types/ts3.4/commands/DescribeTrackerCommand.d.ts +35 -35
  27. package/dist-types/ts3.4/commands/DisassociateTrackerConsumerCommand.d.ts +39 -39
  28. package/dist-types/ts3.4/commands/GetDevicePositionCommand.d.ts +38 -36
  29. package/dist-types/ts3.4/commands/GetDevicePositionHistoryCommand.d.ts +39 -39
  30. package/dist-types/ts3.4/commands/GetGeofenceCommand.d.ts +35 -32
  31. package/dist-types/ts3.4/commands/GetMapGlyphsCommand.d.ts +35 -32
  32. package/dist-types/ts3.4/commands/GetMapSpritesCommand.d.ts +37 -35
  33. package/dist-types/ts3.4/commands/GetMapStyleDescriptorCommand.d.ts +38 -39
  34. package/dist-types/ts3.4/commands/GetMapTileCommand.d.ts +40 -32
  35. package/dist-types/ts3.4/commands/GetPlaceCommand.d.ts +51 -32
  36. package/dist-types/ts3.4/commands/ListDevicePositionsCommand.d.ts +35 -36
  37. package/dist-types/ts3.4/commands/ListGeofenceCollectionsCommand.d.ts +35 -39
  38. package/dist-types/ts3.4/commands/ListGeofencesCommand.d.ts +35 -35
  39. package/dist-types/ts3.4/commands/ListMapsCommand.d.ts +35 -32
  40. package/dist-types/ts3.4/commands/ListPlaceIndexesCommand.d.ts +35 -35
  41. package/dist-types/ts3.4/commands/ListRouteCalculatorsCommand.d.ts +35 -39
  42. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +35 -36
  43. package/dist-types/ts3.4/commands/ListTrackerConsumersCommand.d.ts +35 -39
  44. package/dist-types/ts3.4/commands/ListTrackersCommand.d.ts +35 -32
  45. package/dist-types/ts3.4/commands/PutGeofenceCommand.d.ts +36 -32
  46. package/dist-types/ts3.4/commands/SearchPlaceIndexForPositionCommand.d.ts +36 -39
  47. package/dist-types/ts3.4/commands/SearchPlaceIndexForSuggestionsCommand.d.ts +46 -39
  48. package/dist-types/ts3.4/commands/SearchPlaceIndexForTextCommand.d.ts +44 -39
  49. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +48 -32
  50. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -35
  51. package/dist-types/ts3.4/commands/UpdateGeofenceCollectionCommand.d.ts +35 -39
  52. package/dist-types/ts3.4/commands/UpdateMapCommand.d.ts +35 -32
  53. package/dist-types/ts3.4/commands/UpdatePlaceIndexCommand.d.ts +35 -35
  54. package/dist-types/ts3.4/commands/UpdateRouteCalculatorCommand.d.ts +35 -39
  55. package/dist-types/ts3.4/commands/UpdateTrackerCommand.d.ts +35 -35
  56. package/dist-types/ts3.4/commands/index.d.ts +53 -53
  57. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  58. package/dist-types/ts3.4/index.d.ts +6 -6
  59. package/dist-types/ts3.4/models/LocationServiceException.d.ts +10 -7
  60. package/dist-types/ts3.4/models/index.d.ts +1 -1
  61. package/dist-types/ts3.4/models/models_0.d.ts +4783 -1283
  62. package/dist-types/ts3.4/pagination/GetDevicePositionHistoryPaginator.d.ts +4 -11
  63. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -7
  64. package/dist-types/ts3.4/pagination/ListDevicePositionsPaginator.d.ts +4 -11
  65. package/dist-types/ts3.4/pagination/ListGeofenceCollectionsPaginator.d.ts +4 -11
  66. package/dist-types/ts3.4/pagination/ListGeofencesPaginator.d.ts +4 -11
  67. package/dist-types/ts3.4/pagination/ListMapsPaginator.d.ts +4 -11
  68. package/dist-types/ts3.4/pagination/ListPlaceIndexesPaginator.d.ts +4 -11
  69. package/dist-types/ts3.4/pagination/ListRouteCalculatorsPaginator.d.ts +4 -11
  70. package/dist-types/ts3.4/pagination/ListTrackerConsumersPaginator.d.ts +4 -11
  71. package/dist-types/ts3.4/pagination/ListTrackersPaginator.d.ts +4 -11
  72. package/dist-types/ts3.4/pagination/index.d.ts +10 -10
  73. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +161 -641
  74. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +40 -67
  75. package/dist-types/ts3.4/runtimeConfig.d.ts +40 -67
  76. package/dist-types/ts3.4/runtimeConfig.native.d.ts +39 -68
  77. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +13 -10
  78. package/package.json +2 -2
@@ -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
- ListRouteCalculatorsRequest,
15
- ListRouteCalculatorsResponse,
16
- } from "../models/models_0";
17
- export interface ListRouteCalculatorsCommandInput
18
- extends ListRouteCalculatorsRequest {}
19
- export interface ListRouteCalculatorsCommandOutput
20
- extends ListRouteCalculatorsResponse,
21
- __MetadataBearer {}
22
- export declare class ListRouteCalculatorsCommand extends $Command<
23
- ListRouteCalculatorsCommandInput,
24
- ListRouteCalculatorsCommandOutput,
25
- LocationClientResolvedConfig
26
- > {
27
- readonly input: ListRouteCalculatorsCommandInput;
28
- constructor(input: ListRouteCalculatorsCommandInput);
29
- resolveMiddleware(
30
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
- configuration: LocationClientResolvedConfig,
32
- options?: __HttpHandlerOptions
33
- ): Handler<
34
- ListRouteCalculatorsCommandInput,
35
- ListRouteCalculatorsCommandOutput
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 { ListRouteCalculatorsRequest, ListRouteCalculatorsResponse } from "../models/models_0";
5
+ export interface ListRouteCalculatorsCommandInput extends ListRouteCalculatorsRequest {
6
+ }
7
+ export interface ListRouteCalculatorsCommandOutput extends ListRouteCalculatorsResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Lists route calculator resources in your AWS account.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { LocationClient, ListRouteCalculatorsCommand } from "@aws-sdk/client-location"; // ES Modules import
15
+ * // const { LocationClient, ListRouteCalculatorsCommand } = require("@aws-sdk/client-location"); // CommonJS import
16
+ * const client = new LocationClient(config);
17
+ * const command = new ListRouteCalculatorsCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListRouteCalculatorsCommandInput} for command's `input` shape.
22
+ * @see {@link ListRouteCalculatorsCommandOutput} for command's `response` shape.
23
+ * @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListRouteCalculatorsCommand extends $Command<ListRouteCalculatorsCommandInput, ListRouteCalculatorsCommandOutput, LocationClientResolvedConfig> {
27
+ readonly input: ListRouteCalculatorsCommandInput;
28
+ constructor(input: ListRouteCalculatorsCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRouteCalculatorsCommandInput, ListRouteCalculatorsCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -1,36 +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
- ListTagsForResourceRequest,
15
- ListTagsForResourceResponse,
16
- } from "../models/models_0";
17
- export interface ListTagsForResourceCommandInput
18
- extends ListTagsForResourceRequest {}
19
- export interface ListTagsForResourceCommandOutput
20
- extends ListTagsForResourceResponse,
21
- __MetadataBearer {}
22
- export declare class ListTagsForResourceCommand extends $Command<
23
- ListTagsForResourceCommandInput,
24
- ListTagsForResourceCommandOutput,
25
- LocationClientResolvedConfig
26
- > {
27
- readonly input: ListTagsForResourceCommandInput;
28
- constructor(input: ListTagsForResourceCommandInput);
29
- resolveMiddleware(
30
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
- configuration: LocationClientResolvedConfig,
32
- options?: __HttpHandlerOptions
33
- ): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
34
- private serialize;
35
- private deserialize;
36
- }
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 { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
6
+ }
7
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Returns a list of tags that are applied to the specified Amazon Location resource.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { LocationClient, ListTagsForResourceCommand } from "@aws-sdk/client-location"; // ES Modules import
15
+ * // const { LocationClient, ListTagsForResourceCommand } = require("@aws-sdk/client-location"); // CommonJS import
16
+ * const client = new LocationClient(config);
17
+ * const command = new ListTagsForResourceCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
22
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
23
+ * @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, LocationClientResolvedConfig> {
27
+ readonly input: ListTagsForResourceCommandInput;
28
+ constructor(input: ListTagsForResourceCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -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
- ListTrackerConsumersRequest,
15
- ListTrackerConsumersResponse,
16
- } from "../models/models_0";
17
- export interface ListTrackerConsumersCommandInput
18
- extends ListTrackerConsumersRequest {}
19
- export interface ListTrackerConsumersCommandOutput
20
- extends ListTrackerConsumersResponse,
21
- __MetadataBearer {}
22
- export declare class ListTrackerConsumersCommand extends $Command<
23
- ListTrackerConsumersCommandInput,
24
- ListTrackerConsumersCommandOutput,
25
- LocationClientResolvedConfig
26
- > {
27
- readonly input: ListTrackerConsumersCommandInput;
28
- constructor(input: ListTrackerConsumersCommandInput);
29
- resolveMiddleware(
30
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
- configuration: LocationClientResolvedConfig,
32
- options?: __HttpHandlerOptions
33
- ): Handler<
34
- ListTrackerConsumersCommandInput,
35
- ListTrackerConsumersCommandOutput
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 { ListTrackerConsumersRequest, ListTrackerConsumersResponse } from "../models/models_0";
5
+ export interface ListTrackerConsumersCommandInput extends ListTrackerConsumersRequest {
6
+ }
7
+ export interface ListTrackerConsumersCommandOutput extends ListTrackerConsumersResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Lists geofence collections currently associated to the given tracker resource.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { LocationClient, ListTrackerConsumersCommand } from "@aws-sdk/client-location"; // ES Modules import
15
+ * // const { LocationClient, ListTrackerConsumersCommand } = require("@aws-sdk/client-location"); // CommonJS import
16
+ * const client = new LocationClient(config);
17
+ * const command = new ListTrackerConsumersCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListTrackerConsumersCommandInput} for command's `input` shape.
22
+ * @see {@link ListTrackerConsumersCommandOutput} for command's `response` shape.
23
+ * @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListTrackerConsumersCommand extends $Command<ListTrackerConsumersCommandInput, ListTrackerConsumersCommandOutput, LocationClientResolvedConfig> {
27
+ readonly input: ListTrackerConsumersCommandInput;
28
+ constructor(input: ListTrackerConsumersCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTrackerConsumersCommandInput, ListTrackerConsumersCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -1,32 +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 { ListTrackersRequest, ListTrackersResponse } from "../models/models_0";
14
- export interface ListTrackersCommandInput extends ListTrackersRequest {}
15
- export interface ListTrackersCommandOutput
16
- extends ListTrackersResponse,
17
- __MetadataBearer {}
18
- export declare class ListTrackersCommand extends $Command<
19
- ListTrackersCommandInput,
20
- ListTrackersCommandOutput,
21
- LocationClientResolvedConfig
22
- > {
23
- readonly input: ListTrackersCommandInput;
24
- constructor(input: ListTrackersCommandInput);
25
- resolveMiddleware(
26
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
27
- configuration: LocationClientResolvedConfig,
28
- options?: __HttpHandlerOptions
29
- ): Handler<ListTrackersCommandInput, ListTrackersCommandOutput>;
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 { ListTrackersRequest, ListTrackersResponse } from "../models/models_0";
5
+ export interface ListTrackersCommandInput extends ListTrackersRequest {
6
+ }
7
+ export interface ListTrackersCommandOutput extends ListTrackersResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Lists tracker resources in your AWS account.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { LocationClient, ListTrackersCommand } from "@aws-sdk/client-location"; // ES Modules import
15
+ * // const { LocationClient, ListTrackersCommand } = require("@aws-sdk/client-location"); // CommonJS import
16
+ * const client = new LocationClient(config);
17
+ * const command = new ListTrackersCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListTrackersCommandInput} for command's `input` shape.
22
+ * @see {@link ListTrackersCommandOutput} for command's `response` shape.
23
+ * @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListTrackersCommand extends $Command<ListTrackersCommandInput, ListTrackersCommandOutput, LocationClientResolvedConfig> {
27
+ readonly input: ListTrackersCommandInput;
28
+ constructor(input: ListTrackersCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTrackersCommandInput, ListTrackersCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -1,32 +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 { PutGeofenceRequest, PutGeofenceResponse } from "../models/models_0";
14
- export interface PutGeofenceCommandInput extends PutGeofenceRequest {}
15
- export interface PutGeofenceCommandOutput
16
- extends PutGeofenceResponse,
17
- __MetadataBearer {}
18
- export declare class PutGeofenceCommand extends $Command<
19
- PutGeofenceCommandInput,
20
- PutGeofenceCommandOutput,
21
- LocationClientResolvedConfig
22
- > {
23
- readonly input: PutGeofenceCommandInput;
24
- constructor(input: PutGeofenceCommandInput);
25
- resolveMiddleware(
26
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
27
- configuration: LocationClientResolvedConfig,
28
- options?: __HttpHandlerOptions
29
- ): Handler<PutGeofenceCommandInput, PutGeofenceCommandOutput>;
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 { PutGeofenceRequest, PutGeofenceResponse } from "../models/models_0";
5
+ export interface PutGeofenceCommandInput extends PutGeofenceRequest {
6
+ }
7
+ export interface PutGeofenceCommandOutput extends PutGeofenceResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Stores a geofence geometry in a given geofence collection, or updates the geometry of
11
+ * an existing geofence if a geofence ID is included in the request. </p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { LocationClient, PutGeofenceCommand } from "@aws-sdk/client-location"; // ES Modules import
16
+ * // const { LocationClient, PutGeofenceCommand } = require("@aws-sdk/client-location"); // CommonJS import
17
+ * const client = new LocationClient(config);
18
+ * const command = new PutGeofenceCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link PutGeofenceCommandInput} for command's `input` shape.
23
+ * @see {@link PutGeofenceCommandOutput} for command's `response` shape.
24
+ * @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class PutGeofenceCommand extends $Command<PutGeofenceCommandInput, PutGeofenceCommandOutput, LocationClientResolvedConfig> {
28
+ readonly input: PutGeofenceCommandInput;
29
+ constructor(input: PutGeofenceCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutGeofenceCommandInput, PutGeofenceCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -1,39 +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
- SearchPlaceIndexForPositionRequest,
15
- SearchPlaceIndexForPositionResponse,
16
- } from "../models/models_0";
17
- export interface SearchPlaceIndexForPositionCommandInput
18
- extends SearchPlaceIndexForPositionRequest {}
19
- export interface SearchPlaceIndexForPositionCommandOutput
20
- extends SearchPlaceIndexForPositionResponse,
21
- __MetadataBearer {}
22
- export declare class SearchPlaceIndexForPositionCommand extends $Command<
23
- SearchPlaceIndexForPositionCommandInput,
24
- SearchPlaceIndexForPositionCommandOutput,
25
- LocationClientResolvedConfig
26
- > {
27
- readonly input: SearchPlaceIndexForPositionCommandInput;
28
- constructor(input: SearchPlaceIndexForPositionCommandInput);
29
- resolveMiddleware(
30
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
- configuration: LocationClientResolvedConfig,
32
- options?: __HttpHandlerOptions
33
- ): Handler<
34
- SearchPlaceIndexForPositionCommandInput,
35
- SearchPlaceIndexForPositionCommandOutput
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 { SearchPlaceIndexForPositionRequest, SearchPlaceIndexForPositionResponse } from "../models/models_0";
5
+ export interface SearchPlaceIndexForPositionCommandInput extends SearchPlaceIndexForPositionRequest {
6
+ }
7
+ export interface SearchPlaceIndexForPositionCommandOutput extends SearchPlaceIndexForPositionResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Reverse geocodes a given coordinate and returns a legible address. Allows you to
11
+ * search for Places or points of interest near a given position.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { LocationClient, SearchPlaceIndexForPositionCommand } from "@aws-sdk/client-location"; // ES Modules import
16
+ * // const { LocationClient, SearchPlaceIndexForPositionCommand } = require("@aws-sdk/client-location"); // CommonJS import
17
+ * const client = new LocationClient(config);
18
+ * const command = new SearchPlaceIndexForPositionCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link SearchPlaceIndexForPositionCommandInput} for command's `input` shape.
23
+ * @see {@link SearchPlaceIndexForPositionCommandOutput} for command's `response` shape.
24
+ * @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class SearchPlaceIndexForPositionCommand extends $Command<SearchPlaceIndexForPositionCommandInput, SearchPlaceIndexForPositionCommandOutput, LocationClientResolvedConfig> {
28
+ readonly input: SearchPlaceIndexForPositionCommandInput;
29
+ constructor(input: SearchPlaceIndexForPositionCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SearchPlaceIndexForPositionCommandInput, SearchPlaceIndexForPositionCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -1,39 +1,46 @@
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
- SearchPlaceIndexForSuggestionsRequest,
15
- SearchPlaceIndexForSuggestionsResponse,
16
- } from "../models/models_0";
17
- export interface SearchPlaceIndexForSuggestionsCommandInput
18
- extends SearchPlaceIndexForSuggestionsRequest {}
19
- export interface SearchPlaceIndexForSuggestionsCommandOutput
20
- extends SearchPlaceIndexForSuggestionsResponse,
21
- __MetadataBearer {}
22
- export declare class SearchPlaceIndexForSuggestionsCommand extends $Command<
23
- SearchPlaceIndexForSuggestionsCommandInput,
24
- SearchPlaceIndexForSuggestionsCommandOutput,
25
- LocationClientResolvedConfig
26
- > {
27
- readonly input: SearchPlaceIndexForSuggestionsCommandInput;
28
- constructor(input: SearchPlaceIndexForSuggestionsCommandInput);
29
- resolveMiddleware(
30
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
- configuration: LocationClientResolvedConfig,
32
- options?: __HttpHandlerOptions
33
- ): Handler<
34
- SearchPlaceIndexForSuggestionsCommandInput,
35
- SearchPlaceIndexForSuggestionsCommandOutput
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 { SearchPlaceIndexForSuggestionsRequest, SearchPlaceIndexForSuggestionsResponse } from "../models/models_0";
5
+ export interface SearchPlaceIndexForSuggestionsCommandInput extends SearchPlaceIndexForSuggestionsRequest {
6
+ }
7
+ export interface SearchPlaceIndexForSuggestionsCommandOutput extends SearchPlaceIndexForSuggestionsResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Generates suggestions for addresses and points of interest based on partial or
11
+ * misspelled free-form text. This operation is also known as autocomplete, autosuggest, or
12
+ * fuzzy matching.</p>
13
+ * <p>Optional parameters let you narrow your search results by bounding box or country, or
14
+ * bias your search toward a specific position on the globe.</p>
15
+ * <note>
16
+ * <p>You can search for suggested place names near a specified position by using
17
+ * <code>BiasPosition</code>, or filter results within a bounding box by using
18
+ * <code>FilterBBox</code>. These parameters are mutually exclusive; using both
19
+ * <code>BiasPosition</code> and <code>FilterBBox</code> in the same command
20
+ * returns an error.</p>
21
+ * </note>
22
+ * @example
23
+ * Use a bare-bones client and the command you need to make an API call.
24
+ * ```javascript
25
+ * import { LocationClient, SearchPlaceIndexForSuggestionsCommand } from "@aws-sdk/client-location"; // ES Modules import
26
+ * // const { LocationClient, SearchPlaceIndexForSuggestionsCommand } = require("@aws-sdk/client-location"); // CommonJS import
27
+ * const client = new LocationClient(config);
28
+ * const command = new SearchPlaceIndexForSuggestionsCommand(input);
29
+ * const response = await client.send(command);
30
+ * ```
31
+ *
32
+ * @see {@link SearchPlaceIndexForSuggestionsCommandInput} for command's `input` shape.
33
+ * @see {@link SearchPlaceIndexForSuggestionsCommandOutput} for command's `response` shape.
34
+ * @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
35
+ *
36
+ */
37
+ export declare class SearchPlaceIndexForSuggestionsCommand extends $Command<SearchPlaceIndexForSuggestionsCommandInput, SearchPlaceIndexForSuggestionsCommandOutput, LocationClientResolvedConfig> {
38
+ readonly input: SearchPlaceIndexForSuggestionsCommandInput;
39
+ constructor(input: SearchPlaceIndexForSuggestionsCommandInput);
40
+ /**
41
+ * @internal
42
+ */
43
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SearchPlaceIndexForSuggestionsCommandInput, SearchPlaceIndexForSuggestionsCommandOutput>;
44
+ private serialize;
45
+ private deserialize;
46
+ }
@@ -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
- SearchPlaceIndexForTextRequest,
15
- SearchPlaceIndexForTextResponse,
16
- } from "../models/models_0";
17
- export interface SearchPlaceIndexForTextCommandInput
18
- extends SearchPlaceIndexForTextRequest {}
19
- export interface SearchPlaceIndexForTextCommandOutput
20
- extends SearchPlaceIndexForTextResponse,
21
- __MetadataBearer {}
22
- export declare class SearchPlaceIndexForTextCommand extends $Command<
23
- SearchPlaceIndexForTextCommandInput,
24
- SearchPlaceIndexForTextCommandOutput,
25
- LocationClientResolvedConfig
26
- > {
27
- readonly input: SearchPlaceIndexForTextCommandInput;
28
- constructor(input: SearchPlaceIndexForTextCommandInput);
29
- resolveMiddleware(
30
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
- configuration: LocationClientResolvedConfig,
32
- options?: __HttpHandlerOptions
33
- ): Handler<
34
- SearchPlaceIndexForTextCommandInput,
35
- SearchPlaceIndexForTextCommandOutput
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 { SearchPlaceIndexForTextRequest, SearchPlaceIndexForTextResponse } from "../models/models_0";
5
+ export interface SearchPlaceIndexForTextCommandInput extends SearchPlaceIndexForTextRequest {
6
+ }
7
+ export interface SearchPlaceIndexForTextCommandOutput extends SearchPlaceIndexForTextResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Geocodes free-form text, such as an address, name, city, or region to allow you to
11
+ * search for Places or points of interest. </p>
12
+ * <p>Optional parameters let you narrow your search results by bounding box or country, or
13
+ * bias your search toward a specific position on the globe.</p>
14
+ * <note>
15
+ * <p>You can search for places near a given position using <code>BiasPosition</code>,
16
+ * or filter results within a bounding box using <code>FilterBBox</code>. Providing
17
+ * both parameters simultaneously returns an error.</p>
18
+ * </note>
19
+ * <p>Search results are returned in order of highest to lowest relevance.</p>
20
+ * @example
21
+ * Use a bare-bones client and the command you need to make an API call.
22
+ * ```javascript
23
+ * import { LocationClient, SearchPlaceIndexForTextCommand } from "@aws-sdk/client-location"; // ES Modules import
24
+ * // const { LocationClient, SearchPlaceIndexForTextCommand } = require("@aws-sdk/client-location"); // CommonJS import
25
+ * const client = new LocationClient(config);
26
+ * const command = new SearchPlaceIndexForTextCommand(input);
27
+ * const response = await client.send(command);
28
+ * ```
29
+ *
30
+ * @see {@link SearchPlaceIndexForTextCommandInput} for command's `input` shape.
31
+ * @see {@link SearchPlaceIndexForTextCommandOutput} for command's `response` shape.
32
+ * @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
33
+ *
34
+ */
35
+ export declare class SearchPlaceIndexForTextCommand extends $Command<SearchPlaceIndexForTextCommandInput, SearchPlaceIndexForTextCommandOutput, LocationClientResolvedConfig> {
36
+ readonly input: SearchPlaceIndexForTextCommandInput;
37
+ constructor(input: SearchPlaceIndexForTextCommandInput);
38
+ /**
39
+ * @internal
40
+ */
41
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SearchPlaceIndexForTextCommandInput, SearchPlaceIndexForTextCommandOutput>;
42
+ private serialize;
43
+ private deserialize;
44
+ }