@aws-sdk/client-location 3.36.0 → 3.39.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 +42 -0
- package/dist-cjs/Location.js +0 -3
- package/dist-cjs/LocationClient.js +0 -8
- package/dist-cjs/commands/AssociateTrackerConsumerCommand.js +0 -30
- package/dist-cjs/commands/BatchDeleteDevicePositionHistoryCommand.js +0 -24
- package/dist-cjs/commands/BatchDeleteGeofenceCommand.js +0 -27
- package/dist-cjs/commands/BatchEvaluateGeofencesCommand.js +0 -44
- package/dist-cjs/commands/BatchGetDevicePositionCommand.js +0 -24
- package/dist-cjs/commands/BatchPutGeofenceCommand.js +0 -25
- package/dist-cjs/commands/BatchUpdateDevicePositionCommand.js +0 -34
- package/dist-cjs/commands/CalculateRouteCommand.js +0 -54
- package/dist-cjs/commands/CreateGeofenceCollectionCommand.js +0 -24
- package/dist-cjs/commands/CreateMapCommand.js +0 -25
- package/dist-cjs/commands/CreatePlaceIndexCommand.js +0 -25
- package/dist-cjs/commands/CreateRouteCalculatorCommand.js +0 -27
- package/dist-cjs/commands/CreateTrackerCommand.js +0 -25
- package/dist-cjs/commands/DeleteGeofenceCollectionCommand.js +0 -28
- package/dist-cjs/commands/DeleteMapCommand.js +0 -28
- package/dist-cjs/commands/DeletePlaceIndexCommand.js +0 -27
- package/dist-cjs/commands/DeleteRouteCalculatorCommand.js +0 -27
- package/dist-cjs/commands/DeleteTrackerCommand.js +0 -29
- package/dist-cjs/commands/DescribeGeofenceCollectionCommand.js +0 -24
- package/dist-cjs/commands/DescribeMapCommand.js +0 -24
- package/dist-cjs/commands/DescribePlaceIndexCommand.js +0 -24
- package/dist-cjs/commands/DescribeRouteCalculatorCommand.js +0 -24
- package/dist-cjs/commands/DescribeTrackerCommand.js +0 -24
- package/dist-cjs/commands/DisassociateTrackerConsumerCommand.js +0 -28
- package/dist-cjs/commands/GetDevicePositionCommand.js +0 -27
- package/dist-cjs/commands/GetDevicePositionHistoryCommand.js +0 -28
- package/dist-cjs/commands/GetGeofenceCommand.js +0 -24
- package/dist-cjs/commands/GetMapGlyphsCommand.js +0 -24
- package/dist-cjs/commands/GetMapSpritesCommand.js +0 -26
- package/dist-cjs/commands/GetMapStyleDescriptorCommand.js +0 -27
- package/dist-cjs/commands/GetMapTileCommand.js +0 -29
- package/dist-cjs/commands/ListDevicePositionsCommand.js +0 -24
- package/dist-cjs/commands/ListGeofenceCollectionsCommand.js +0 -24
- package/dist-cjs/commands/ListGeofencesCommand.js +0 -24
- package/dist-cjs/commands/ListMapsCommand.js +0 -24
- package/dist-cjs/commands/ListPlaceIndexesCommand.js +0 -24
- package/dist-cjs/commands/ListRouteCalculatorsCommand.js +0 -24
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
- package/dist-cjs/commands/ListTrackerConsumersCommand.js +0 -24
- package/dist-cjs/commands/ListTrackersCommand.js +0 -24
- package/dist-cjs/commands/PutGeofenceCommand.js +0 -25
- package/dist-cjs/commands/SearchPlaceIndexForPositionCommand.js +0 -25
- package/dist-cjs/commands/SearchPlaceIndexForTextCommand.js +0 -32
- package/dist-cjs/commands/TagResourceCommand.js +0 -37
- package/dist-cjs/commands/UntagResourceCommand.js +0 -24
- package/dist-cjs/commands/UpdateGeofenceCollectionCommand.js +0 -24
- package/dist-cjs/commands/UpdateMapCommand.js +0 -24
- package/dist-cjs/commands/UpdatePlaceIndexCommand.js +0 -24
- package/dist-cjs/commands/UpdateRouteCalculatorCommand.js +0 -24
- package/dist-cjs/commands/UpdateTrackerCommand.js +0 -24
- package/dist-cjs/commands/index.js +53 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +4 -62
- package/dist-cjs/models/models_0.js +0 -429
- package/dist-cjs/pagination/GetDevicePositionHistoryPaginator.js +0 -10
- package/dist-cjs/pagination/ListDevicePositionsPaginator.js +0 -10
- package/dist-cjs/pagination/ListGeofenceCollectionsPaginator.js +0 -10
- package/dist-cjs/pagination/ListGeofencesPaginator.js +0 -10
- package/dist-cjs/pagination/ListMapsPaginator.js +0 -10
- package/dist-cjs/pagination/ListPlaceIndexesPaginator.js +0 -10
- package/dist-cjs/pagination/ListRouteCalculatorsPaginator.js +0 -10
- package/dist-cjs/pagination/ListTrackerConsumersPaginator.js +0 -10
- package/dist-cjs/pagination/ListTrackersPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +13 -0
- package/dist-cjs/protocols/Aws_restJson1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-es/commands/index.js +50 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +4 -62
- package/dist-es/pagination/index.js +10 -0
- package/dist-types/commands/index.d.ts +50 -0
- package/dist-types/index.d.ts +4 -62
- package/dist-types/pagination/index.d.ts +10 -0
- package/dist-types/ts3.4/Location.d.ts +51 -292
- package/dist-types/ts3.4/LocationClient.d.ts +24 -89
- package/dist-types/ts3.4/commands/AssociateTrackerConsumerCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/BatchDeleteDevicePositionHistoryCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/BatchDeleteGeofenceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/BatchEvaluateGeofencesCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/BatchGetDevicePositionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/BatchPutGeofenceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/BatchUpdateDevicePositionCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/CalculateRouteCommand.d.ts +2 -50
- package/dist-types/ts3.4/commands/CreateGeofenceCollectionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateMapCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreatePlaceIndexCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateRouteCalculatorCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateTrackerCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteGeofenceCollectionCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteMapCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeletePlaceIndexCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteRouteCalculatorCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteTrackerCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DescribeGeofenceCollectionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeMapCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribePlaceIndexCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeRouteCalculatorCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeTrackerCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DisassociateTrackerConsumerCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetDevicePositionCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetDevicePositionHistoryCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetGeofenceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetMapGlyphsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetMapSpritesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetMapStyleDescriptorCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetMapTileCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListDevicePositionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListGeofenceCollectionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListGeofencesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListMapsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListPlaceIndexesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListRouteCalculatorsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTrackerConsumersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTrackersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutGeofenceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/SearchPlaceIndexForPositionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/SearchPlaceIndexForTextCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateGeofenceCollectionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateMapCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdatePlaceIndexCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateRouteCalculatorCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateTrackerCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +50 -0
- package/dist-types/ts3.4/index.d.ts +4 -62
- package/dist-types/ts3.4/models/models_0.d.ts +580 -3098
- package/dist-types/ts3.4/pagination/index.d.ts +10 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +32 -32
|
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes a geofence collection from your AWS account.</p>
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>This operation deletes the resource permanently. If the geofence collection is the
|
|
12
|
-
* target of a tracker resource, the devices will no longer be monitored.</p>
|
|
13
|
-
* </note>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { LocationClient, DeleteGeofenceCollectionCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
18
|
-
* // const { LocationClient, DeleteGeofenceCollectionCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
19
|
-
* const client = new LocationClient(config);
|
|
20
|
-
* const command = new DeleteGeofenceCollectionCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link DeleteGeofenceCollectionCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link DeleteGeofenceCollectionCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class DeleteGeofenceCollectionCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
9
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
10
|
super();
|
|
35
11
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes a map resource from your AWS account.</p>
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>This operation deletes the resource permanently. If the map is being used in an application,
|
|
12
|
-
* the map may not render.</p>
|
|
13
|
-
* </note>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { LocationClient, DeleteMapCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
18
|
-
* // const { LocationClient, DeleteMapCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
19
|
-
* const client = new LocationClient(config);
|
|
20
|
-
* const command = new DeleteMapCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link DeleteMapCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link DeleteMapCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class DeleteMapCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
9
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
10
|
super();
|
|
35
11
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes a place index resource from your AWS account.</p>
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>This operation deletes the resource permanently.</p>
|
|
12
|
-
* </note>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { LocationClient, DeletePlaceIndexCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
17
|
-
* // const { LocationClient, DeletePlaceIndexCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
18
|
-
* const client = new LocationClient(config);
|
|
19
|
-
* const command = new DeletePlaceIndexCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link DeletePlaceIndexCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link DeletePlaceIndexCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class DeletePlaceIndexCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes a route calculator resource from your AWS account.</p>
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>This operation deletes the resource permanently.</p>
|
|
12
|
-
* </note>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { LocationClient, DeleteRouteCalculatorCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
17
|
-
* // const { LocationClient, DeleteRouteCalculatorCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
18
|
-
* const client = new LocationClient(config);
|
|
19
|
-
* const command = new DeleteRouteCalculatorCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link DeleteRouteCalculatorCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link DeleteRouteCalculatorCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class DeleteRouteCalculatorCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes a tracker resource from your AWS account.</p>
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>This operation deletes the resource permanently. If the tracker resource is in use, you may
|
|
12
|
-
* encounter an error. Make sure that the target resource isn't a dependency for your
|
|
13
|
-
* applications.</p>
|
|
14
|
-
* </note>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { LocationClient, DeleteTrackerCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
19
|
-
* // const { LocationClient, DeleteTrackerCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
20
|
-
* const client = new LocationClient(config);
|
|
21
|
-
* const command = new DeleteTrackerCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link DeleteTrackerCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link DeleteTrackerCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
8
|
class DeleteTrackerCommand extends smithy_client_1.Command {
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
9
|
constructor(input) {
|
|
34
|
-
// Start section: command_constructor
|
|
35
10
|
super();
|
|
36
11
|
this.input = input;
|
|
37
|
-
// End section: command_constructor
|
|
38
12
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
43
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves the geofence collection details.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { LocationClient, DescribeGeofenceCollectionCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
14
|
-
* // const { LocationClient, DescribeGeofenceCollectionCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
15
|
-
* const client = new LocationClient(config);
|
|
16
|
-
* const command = new DescribeGeofenceCollectionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeGeofenceCollectionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeGeofenceCollectionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeGeofenceCollectionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves the map resource details.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { LocationClient, DescribeMapCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
14
|
-
* // const { LocationClient, DescribeMapCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
15
|
-
* const client = new LocationClient(config);
|
|
16
|
-
* const command = new DescribeMapCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeMapCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeMapCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeMapCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves the place index resource details.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { LocationClient, DescribePlaceIndexCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
14
|
-
* // const { LocationClient, DescribePlaceIndexCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
15
|
-
* const client = new LocationClient(config);
|
|
16
|
-
* const command = new DescribePlaceIndexCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribePlaceIndexCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribePlaceIndexCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribePlaceIndexCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves the route calculator resource details.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { LocationClient, DescribeRouteCalculatorCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
14
|
-
* // const { LocationClient, DescribeRouteCalculatorCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
15
|
-
* const client = new LocationClient(config);
|
|
16
|
-
* const command = new DescribeRouteCalculatorCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeRouteCalculatorCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeRouteCalculatorCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeRouteCalculatorCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves the tracker resource details.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { LocationClient, DescribeTrackerCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
14
|
-
* // const { LocationClient, DescribeTrackerCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
15
|
-
* const client = new LocationClient(config);
|
|
16
|
-
* const command = new DescribeTrackerCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeTrackerCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeTrackerCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeTrackerCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Removes the association between a tracker resource and a geofence collection.</p>
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>Once you unlink a tracker resource from a geofence collection, the tracker
|
|
12
|
-
* positions will no longer be automatically evaluated against geofences.</p>
|
|
13
|
-
* </note>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { LocationClient, DisassociateTrackerConsumerCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
18
|
-
* // const { LocationClient, DisassociateTrackerConsumerCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
19
|
-
* const client = new LocationClient(config);
|
|
20
|
-
* const command = new DisassociateTrackerConsumerCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link DisassociateTrackerConsumerCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link DisassociateTrackerConsumerCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class DisassociateTrackerConsumerCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
9
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
10
|
super();
|
|
35
11
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves a device's most recent position according to its sample time.</p>
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>Device positions are deleted after 30 days.</p>
|
|
12
|
-
* </note>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { LocationClient, GetDevicePositionCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
17
|
-
* // const { LocationClient, GetDevicePositionCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
18
|
-
* const client = new LocationClient(config);
|
|
19
|
-
* const command = new GetDevicePositionCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link GetDevicePositionCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link GetDevicePositionCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class GetDevicePositionCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves the device position history from a tracker resource within a specified range
|
|
10
|
-
* of time.</p>
|
|
11
|
-
* <note>
|
|
12
|
-
* <p>Device positions are deleted after 30 days.</p>
|
|
13
|
-
* </note>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { LocationClient, GetDevicePositionHistoryCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
18
|
-
* // const { LocationClient, GetDevicePositionHistoryCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
19
|
-
* const client = new LocationClient(config);
|
|
20
|
-
* const command = new GetDevicePositionHistoryCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link GetDevicePositionHistoryCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link GetDevicePositionHistoryCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class GetDevicePositionHistoryCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
9
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
10
|
super();
|
|
35
11
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves the geofence details from a geofence collection.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { LocationClient, GetGeofenceCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
14
|
-
* // const { LocationClient, GetGeofenceCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
15
|
-
* const client = new LocationClient(config);
|
|
16
|
-
* const command = new GetGeofenceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetGeofenceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetGeofenceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetGeofenceCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves glyphs used to display labels on a map.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { LocationClient, GetMapGlyphsCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
14
|
-
* // const { LocationClient, GetMapGlyphsCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
15
|
-
* const client = new LocationClient(config);
|
|
16
|
-
* const command = new GetMapGlyphsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetMapGlyphsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetMapGlyphsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetMapGlyphsCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves the sprite sheet corresponding to a map resource. The sprite sheet is a PNG
|
|
10
|
-
* image paired with a JSON document describing the offsets of individual icons that will
|
|
11
|
-
* be displayed on a rendered map.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { LocationClient, GetMapSpritesCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
16
|
-
* // const { LocationClient, GetMapSpritesCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
17
|
-
* const client = new LocationClient(config);
|
|
18
|
-
* const command = new GetMapSpritesCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link GetMapSpritesCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link GetMapSpritesCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class GetMapSpritesCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves the map style descriptor from a map resource. </p>
|
|
10
|
-
* <p>The style descriptor contains specifications on how features render on a map. For
|
|
11
|
-
* example, what data to display, what order to display the data in, and the style for the
|
|
12
|
-
* data. Style descriptors follow the Mapbox Style Specification.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { LocationClient, GetMapStyleDescriptorCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
17
|
-
* // const { LocationClient, GetMapStyleDescriptorCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
18
|
-
* const client = new LocationClient(config);
|
|
19
|
-
* const command = new GetMapStyleDescriptorCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link GetMapStyleDescriptorCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link GetMapStyleDescriptorCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class GetMapStyleDescriptorCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|