@aws-sdk/client-location 3.299.0 → 3.300.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/dist-types/commands/AssociateTrackerConsumerCommand.d.ts +4 -0
- package/dist-types/commands/BatchDeleteDevicePositionHistoryCommand.d.ts +6 -0
- package/dist-types/commands/BatchDeleteGeofenceCommand.d.ts +6 -0
- package/dist-types/commands/BatchEvaluateGeofencesCommand.d.ts +18 -0
- package/dist-types/commands/BatchGetDevicePositionCommand.d.ts +6 -0
- package/dist-types/commands/BatchPutGeofenceCommand.d.ts +23 -0
- package/dist-types/commands/BatchUpdateDevicePositionCommand.d.ts +18 -0
- package/dist-types/commands/CalculateRouteCommand.d.ts +37 -0
- package/dist-types/commands/CalculateRouteMatrixCommand.d.ts +35 -0
- package/dist-types/commands/CreateGeofenceCollectionCommand.d.ts +10 -0
- package/dist-types/commands/CreateKeyCommand.d.ts +20 -0
- package/dist-types/commands/CreateMapCommand.d.ts +11 -0
- package/dist-types/commands/CreatePlaceIndexCommand.d.ts +12 -0
- package/dist-types/commands/CreateRouteCalculatorCommand.d.ts +9 -0
- package/dist-types/commands/CreateTrackerCommand.d.ts +11 -0
- package/dist-types/commands/DeleteGeofenceCollectionCommand.d.ts +3 -0
- package/dist-types/commands/DeleteKeyCommand.d.ts +3 -0
- package/dist-types/commands/DeleteMapCommand.d.ts +3 -0
- package/dist-types/commands/DeletePlaceIndexCommand.d.ts +3 -0
- package/dist-types/commands/DeleteRouteCalculatorCommand.d.ts +3 -0
- package/dist-types/commands/DeleteTrackerCommand.d.ts +3 -0
- package/dist-types/commands/DescribeGeofenceCollectionCommand.d.ts +3 -0
- package/dist-types/commands/DescribeKeyCommand.d.ts +3 -0
- package/dist-types/commands/DescribeMapCommand.d.ts +3 -0
- package/dist-types/commands/DescribePlaceIndexCommand.d.ts +3 -0
- package/dist-types/commands/DescribeRouteCalculatorCommand.d.ts +3 -0
- package/dist-types/commands/DescribeTrackerCommand.d.ts +3 -0
- package/dist-types/commands/DisassociateTrackerConsumerCommand.d.ts +4 -0
- package/dist-types/commands/GetDevicePositionCommand.d.ts +4 -0
- package/dist-types/commands/GetDevicePositionHistoryCommand.d.ts +8 -0
- package/dist-types/commands/GetGeofenceCommand.d.ts +4 -0
- package/dist-types/commands/GetMapGlyphsCommand.d.ts +6 -0
- package/dist-types/commands/GetMapSpritesCommand.d.ts +5 -0
- package/dist-types/commands/GetMapStyleDescriptorCommand.d.ts +4 -0
- package/dist-types/commands/GetMapTileCommand.d.ts +7 -0
- package/dist-types/commands/GetPlaceCommand.d.ts +5 -0
- package/dist-types/commands/ListDevicePositionsCommand.d.ts +5 -0
- package/dist-types/commands/ListGeofenceCollectionsCommand.d.ts +4 -0
- package/dist-types/commands/ListGeofencesCommand.d.ts +5 -0
- package/dist-types/commands/ListKeysCommand.d.ts +7 -0
- package/dist-types/commands/ListMapsCommand.d.ts +4 -0
- package/dist-types/commands/ListPlaceIndexesCommand.d.ts +4 -0
- package/dist-types/commands/ListRouteCalculatorsCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ListTrackerConsumersCommand.d.ts +5 -0
- package/dist-types/commands/ListTrackersCommand.d.ts +4 -0
- package/dist-types/commands/PutGeofenceCommand.d.ts +19 -0
- package/dist-types/commands/SearchPlaceIndexForPositionCommand.d.ts +8 -0
- package/dist-types/commands/SearchPlaceIndexForSuggestionsCommand.d.ts +15 -0
- package/dist-types/commands/SearchPlaceIndexForTextCommand.d.ts +15 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateGeofenceCollectionCommand.d.ts +6 -0
- package/dist-types/commands/UpdateKeyCommand.d.ts +18 -0
- package/dist-types/commands/UpdateMapCommand.d.ts +5 -0
- package/dist-types/commands/UpdatePlaceIndexCommand.d.ts +8 -0
- package/dist-types/commands/UpdateRouteCalculatorCommand.d.ts +5 -0
- package/dist-types/commands/UpdateTrackerCommand.d.ts +7 -0
- package/package.json +8 -8
|
@@ -32,6 +32,10 @@ export interface AssociateTrackerConsumerCommandOutput extends AssociateTrackerC
|
|
|
32
32
|
* import { LocationClient, AssociateTrackerConsumerCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
33
33
|
* // const { LocationClient, AssociateTrackerConsumerCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
34
34
|
* const client = new LocationClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* TrackerName: "STRING_VALUE", // required
|
|
37
|
+
* ConsumerArn: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
35
39
|
* const command = new AssociateTrackerConsumerCommand(input);
|
|
36
40
|
* const response = await client.send(command);
|
|
37
41
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface BatchDeleteDevicePositionHistoryCommandOutput extends BatchDele
|
|
|
26
26
|
* import { LocationClient, BatchDeleteDevicePositionHistoryCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
27
27
|
* // const { LocationClient, BatchDeleteDevicePositionHistoryCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
28
28
|
* const client = new LocationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* TrackerName: "STRING_VALUE", // required
|
|
31
|
+
* DeviceIds: [ // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new BatchDeleteDevicePositionHistoryCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -29,6 +29,12 @@ export interface BatchDeleteGeofenceCommandOutput extends BatchDeleteGeofenceRes
|
|
|
29
29
|
* import { LocationClient, BatchDeleteGeofenceCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
30
30
|
* // const { LocationClient, BatchDeleteGeofenceCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
31
31
|
* const client = new LocationClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* CollectionName: "STRING_VALUE", // required
|
|
34
|
+
* GeofenceIds: [ // required
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
32
38
|
* const command = new BatchDeleteGeofenceCommand(input);
|
|
33
39
|
* const response = await client.send(command);
|
|
34
40
|
* ```
|
|
@@ -54,6 +54,24 @@ export interface BatchEvaluateGeofencesCommandOutput extends BatchEvaluateGeofen
|
|
|
54
54
|
* import { LocationClient, BatchEvaluateGeofencesCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
55
55
|
* // const { LocationClient, BatchEvaluateGeofencesCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
56
56
|
* const client = new LocationClient(config);
|
|
57
|
+
* const input = {
|
|
58
|
+
* CollectionName: "STRING_VALUE", // required
|
|
59
|
+
* DevicePositionUpdates: [ // required
|
|
60
|
+
* {
|
|
61
|
+
* DeviceId: "STRING_VALUE", // required
|
|
62
|
+
* SampleTime: new Date("TIMESTAMP"), // required
|
|
63
|
+
* Position: [ // required
|
|
64
|
+
* Number("double"),
|
|
65
|
+
* ],
|
|
66
|
+
* Accuracy: {
|
|
67
|
+
* Horizontal: Number("double"), // required
|
|
68
|
+
* },
|
|
69
|
+
* PositionProperties: {
|
|
70
|
+
* "<keys>": "STRING_VALUE",
|
|
71
|
+
* },
|
|
72
|
+
* },
|
|
73
|
+
* ],
|
|
74
|
+
* };
|
|
57
75
|
* const command = new BatchEvaluateGeofencesCommand(input);
|
|
58
76
|
* const response = await client.send(command);
|
|
59
77
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface BatchGetDevicePositionCommandOutput extends BatchGetDevicePosit
|
|
|
26
26
|
* import { LocationClient, BatchGetDevicePositionCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
27
27
|
* // const { LocationClient, BatchGetDevicePositionCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
28
28
|
* const client = new LocationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* TrackerName: "STRING_VALUE", // required
|
|
31
|
+
* DeviceIds: [ // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new BatchGetDevicePositionCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -27,6 +27,29 @@ export interface BatchPutGeofenceCommandOutput extends BatchPutGeofenceResponse,
|
|
|
27
27
|
* import { LocationClient, BatchPutGeofenceCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
28
28
|
* // const { LocationClient, BatchPutGeofenceCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
29
29
|
* const client = new LocationClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* CollectionName: "STRING_VALUE", // required
|
|
32
|
+
* Entries: [ // required
|
|
33
|
+
* {
|
|
34
|
+
* GeofenceId: "STRING_VALUE", // required
|
|
35
|
+
* Geometry: {
|
|
36
|
+
* Polygon: [
|
|
37
|
+
* [
|
|
38
|
+
* [
|
|
39
|
+
* Number("double"),
|
|
40
|
+
* ],
|
|
41
|
+
* ],
|
|
42
|
+
* ],
|
|
43
|
+
* Circle: {
|
|
44
|
+
* Center: [ // required
|
|
45
|
+
* Number("double"),
|
|
46
|
+
* ],
|
|
47
|
+
* Radius: Number("double"), // required
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* };
|
|
30
53
|
* const command = new BatchPutGeofenceCommand(input);
|
|
31
54
|
* const response = await client.send(command);
|
|
32
55
|
* ```
|
|
@@ -44,6 +44,24 @@ export interface BatchUpdateDevicePositionCommandOutput extends BatchUpdateDevic
|
|
|
44
44
|
* import { LocationClient, BatchUpdateDevicePositionCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
45
45
|
* // const { LocationClient, BatchUpdateDevicePositionCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
46
46
|
* const client = new LocationClient(config);
|
|
47
|
+
* const input = {
|
|
48
|
+
* TrackerName: "STRING_VALUE", // required
|
|
49
|
+
* Updates: [ // required
|
|
50
|
+
* {
|
|
51
|
+
* DeviceId: "STRING_VALUE", // required
|
|
52
|
+
* SampleTime: new Date("TIMESTAMP"), // required
|
|
53
|
+
* Position: [ // required
|
|
54
|
+
* Number("double"),
|
|
55
|
+
* ],
|
|
56
|
+
* Accuracy: {
|
|
57
|
+
* Horizontal: Number("double"), // required
|
|
58
|
+
* },
|
|
59
|
+
* PositionProperties: {
|
|
60
|
+
* "<keys>": "STRING_VALUE",
|
|
61
|
+
* },
|
|
62
|
+
* },
|
|
63
|
+
* ],
|
|
64
|
+
* };
|
|
47
65
|
* const command = new BatchUpdateDevicePositionCommand(input);
|
|
48
66
|
* const response = await client.send(command);
|
|
49
67
|
* ```
|
|
@@ -59,6 +59,43 @@ export interface CalculateRouteCommandOutput extends CalculateRouteResponse, __M
|
|
|
59
59
|
* import { LocationClient, CalculateRouteCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
60
60
|
* // const { LocationClient, CalculateRouteCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
61
61
|
* const client = new LocationClient(config);
|
|
62
|
+
* const input = {
|
|
63
|
+
* CalculatorName: "STRING_VALUE", // required
|
|
64
|
+
* DeparturePosition: [ // required
|
|
65
|
+
* Number("double"),
|
|
66
|
+
* ],
|
|
67
|
+
* DestinationPosition: [ // required
|
|
68
|
+
* Number("double"),
|
|
69
|
+
* ],
|
|
70
|
+
* WaypointPositions: [
|
|
71
|
+
* [
|
|
72
|
+
* Number("double"),
|
|
73
|
+
* ],
|
|
74
|
+
* ],
|
|
75
|
+
* TravelMode: "STRING_VALUE",
|
|
76
|
+
* DepartureTime: new Date("TIMESTAMP"),
|
|
77
|
+
* DepartNow: true || false,
|
|
78
|
+
* DistanceUnit: "STRING_VALUE",
|
|
79
|
+
* IncludeLegGeometry: true || false,
|
|
80
|
+
* CarModeOptions: {
|
|
81
|
+
* AvoidFerries: true || false,
|
|
82
|
+
* AvoidTolls: true || false,
|
|
83
|
+
* },
|
|
84
|
+
* TruckModeOptions: {
|
|
85
|
+
* AvoidFerries: true || false,
|
|
86
|
+
* AvoidTolls: true || false,
|
|
87
|
+
* Dimensions: {
|
|
88
|
+
* Length: Number("double"),
|
|
89
|
+
* Height: Number("double"),
|
|
90
|
+
* Width: Number("double"),
|
|
91
|
+
* Unit: "STRING_VALUE",
|
|
92
|
+
* },
|
|
93
|
+
* Weight: {
|
|
94
|
+
* Total: Number("double"),
|
|
95
|
+
* Unit: "STRING_VALUE",
|
|
96
|
+
* },
|
|
97
|
+
* },
|
|
98
|
+
* };
|
|
62
99
|
* const command = new CalculateRouteCommand(input);
|
|
63
100
|
* const response = await client.send(command);
|
|
64
101
|
* ```
|
|
@@ -67,6 +67,41 @@ export interface CalculateRouteMatrixCommandOutput extends CalculateRouteMatrixR
|
|
|
67
67
|
* import { LocationClient, CalculateRouteMatrixCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
68
68
|
* // const { LocationClient, CalculateRouteMatrixCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
69
69
|
* const client = new LocationClient(config);
|
|
70
|
+
* const input = {
|
|
71
|
+
* CalculatorName: "STRING_VALUE", // required
|
|
72
|
+
* DeparturePositions: [ // required
|
|
73
|
+
* [
|
|
74
|
+
* Number("double"),
|
|
75
|
+
* ],
|
|
76
|
+
* ],
|
|
77
|
+
* DestinationPositions: [ // required
|
|
78
|
+
* [
|
|
79
|
+
* Number("double"),
|
|
80
|
+
* ],
|
|
81
|
+
* ],
|
|
82
|
+
* TravelMode: "STRING_VALUE",
|
|
83
|
+
* DepartureTime: new Date("TIMESTAMP"),
|
|
84
|
+
* DepartNow: true || false,
|
|
85
|
+
* DistanceUnit: "STRING_VALUE",
|
|
86
|
+
* CarModeOptions: {
|
|
87
|
+
* AvoidFerries: true || false,
|
|
88
|
+
* AvoidTolls: true || false,
|
|
89
|
+
* },
|
|
90
|
+
* TruckModeOptions: {
|
|
91
|
+
* AvoidFerries: true || false,
|
|
92
|
+
* AvoidTolls: true || false,
|
|
93
|
+
* Dimensions: {
|
|
94
|
+
* Length: Number("double"),
|
|
95
|
+
* Height: Number("double"),
|
|
96
|
+
* Width: Number("double"),
|
|
97
|
+
* Unit: "STRING_VALUE",
|
|
98
|
+
* },
|
|
99
|
+
* Weight: {
|
|
100
|
+
* Total: Number("double"),
|
|
101
|
+
* Unit: "STRING_VALUE",
|
|
102
|
+
* },
|
|
103
|
+
* },
|
|
104
|
+
* };
|
|
70
105
|
* const command = new CalculateRouteMatrixCommand(input);
|
|
71
106
|
* const response = await client.send(command);
|
|
72
107
|
* ```
|
|
@@ -26,6 +26,16 @@ export interface CreateGeofenceCollectionCommandOutput extends CreateGeofenceCol
|
|
|
26
26
|
* import { LocationClient, CreateGeofenceCollectionCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
27
27
|
* // const { LocationClient, CreateGeofenceCollectionCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
28
28
|
* const client = new LocationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* CollectionName: "STRING_VALUE", // required
|
|
31
|
+
* PricingPlan: "STRING_VALUE",
|
|
32
|
+
* PricingPlanDataSource: "STRING_VALUE",
|
|
33
|
+
* Description: "STRING_VALUE",
|
|
34
|
+
* Tags: {
|
|
35
|
+
* "<keys>": "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* KmsKeyId: "STRING_VALUE",
|
|
38
|
+
* };
|
|
29
39
|
* const command = new CreateGeofenceCollectionCommand(input);
|
|
30
40
|
* const response = await client.send(command);
|
|
31
41
|
* ```
|
|
@@ -33,6 +33,26 @@ export interface CreateKeyCommandOutput extends CreateKeyResponse, __MetadataBea
|
|
|
33
33
|
* import { LocationClient, CreateKeyCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
34
34
|
* // const { LocationClient, CreateKeyCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
35
35
|
* const client = new LocationClient(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* KeyName: "STRING_VALUE", // required
|
|
38
|
+
* Restrictions: {
|
|
39
|
+
* AllowActions: [ // required
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* AllowResources: [ // required
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* AllowReferers: [
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* },
|
|
49
|
+
* Description: "STRING_VALUE",
|
|
50
|
+
* ExpireTime: new Date("TIMESTAMP"),
|
|
51
|
+
* NoExpiry: true || false,
|
|
52
|
+
* Tags: {
|
|
53
|
+
* "<keys>": "STRING_VALUE",
|
|
54
|
+
* },
|
|
55
|
+
* };
|
|
36
56
|
* const command = new CreateKeyCommand(input);
|
|
37
57
|
* const response = await client.send(command);
|
|
38
58
|
* ```
|
|
@@ -33,6 +33,17 @@ export interface CreateMapCommandOutput extends CreateMapResponse, __MetadataBea
|
|
|
33
33
|
* import { LocationClient, CreateMapCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
34
34
|
* // const { LocationClient, CreateMapCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
35
35
|
* const client = new LocationClient(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* MapName: "STRING_VALUE", // required
|
|
38
|
+
* Configuration: {
|
|
39
|
+
* Style: "STRING_VALUE", // required
|
|
40
|
+
* },
|
|
41
|
+
* PricingPlan: "STRING_VALUE",
|
|
42
|
+
* Description: "STRING_VALUE",
|
|
43
|
+
* Tags: {
|
|
44
|
+
* "<keys>": "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* };
|
|
36
47
|
* const command = new CreateMapCommand(input);
|
|
37
48
|
* const response = await client.send(command);
|
|
38
49
|
* ```
|
|
@@ -36,6 +36,18 @@ export interface CreatePlaceIndexCommandOutput extends CreatePlaceIndexResponse,
|
|
|
36
36
|
* import { LocationClient, CreatePlaceIndexCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
37
37
|
* // const { LocationClient, CreatePlaceIndexCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
38
38
|
* const client = new LocationClient(config);
|
|
39
|
+
* const input = {
|
|
40
|
+
* IndexName: "STRING_VALUE", // required
|
|
41
|
+
* DataSource: "STRING_VALUE", // required
|
|
42
|
+
* PricingPlan: "STRING_VALUE",
|
|
43
|
+
* Description: "STRING_VALUE",
|
|
44
|
+
* DataSourceConfiguration: {
|
|
45
|
+
* IntendedUse: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* Tags: {
|
|
48
|
+
* "<keys>": "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* };
|
|
39
51
|
* const command = new CreatePlaceIndexCommand(input);
|
|
40
52
|
* const response = await client.send(command);
|
|
41
53
|
* ```
|
|
@@ -35,6 +35,15 @@ export interface CreateRouteCalculatorCommandOutput extends CreateRouteCalculato
|
|
|
35
35
|
* import { LocationClient, CreateRouteCalculatorCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
36
36
|
* // const { LocationClient, CreateRouteCalculatorCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
37
37
|
* const client = new LocationClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* CalculatorName: "STRING_VALUE", // required
|
|
40
|
+
* DataSource: "STRING_VALUE", // required
|
|
41
|
+
* PricingPlan: "STRING_VALUE",
|
|
42
|
+
* Description: "STRING_VALUE",
|
|
43
|
+
* Tags: {
|
|
44
|
+
* "<keys>": "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* };
|
|
38
47
|
* const command = new CreateRouteCalculatorCommand(input);
|
|
39
48
|
* const response = await client.send(command);
|
|
40
49
|
* ```
|
|
@@ -27,6 +27,17 @@ export interface CreateTrackerCommandOutput extends CreateTrackerResponse, __Met
|
|
|
27
27
|
* import { LocationClient, CreateTrackerCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
28
28
|
* // const { LocationClient, CreateTrackerCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
29
29
|
* const client = new LocationClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* TrackerName: "STRING_VALUE", // required
|
|
32
|
+
* PricingPlan: "STRING_VALUE",
|
|
33
|
+
* KmsKeyId: "STRING_VALUE",
|
|
34
|
+
* PricingPlanDataSource: "STRING_VALUE",
|
|
35
|
+
* Description: "STRING_VALUE",
|
|
36
|
+
* Tags: {
|
|
37
|
+
* "<keys>": "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* PositionFiltering: "STRING_VALUE",
|
|
40
|
+
* };
|
|
30
41
|
* const command = new CreateTrackerCommand(input);
|
|
31
42
|
* const response = await client.send(command);
|
|
32
43
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface DeleteGeofenceCollectionCommandOutput extends DeleteGeofenceCol
|
|
|
30
30
|
* import { LocationClient, DeleteGeofenceCollectionCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
31
31
|
* // const { LocationClient, DeleteGeofenceCollectionCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
32
32
|
* const client = new LocationClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* CollectionName: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new DeleteGeofenceCollectionCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DeleteKeyCommandOutput extends DeleteKeyResponse, __MetadataBea
|
|
|
27
27
|
* import { LocationClient, DeleteKeyCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
28
28
|
* // const { LocationClient, DeleteKeyCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
29
29
|
* const client = new LocationClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* KeyName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DeleteKeyCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface DeleteMapCommandOutput extends DeleteMapResponse, __MetadataBea
|
|
|
30
30
|
* import { LocationClient, DeleteMapCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
31
31
|
* // const { LocationClient, DeleteMapCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
32
32
|
* const client = new LocationClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* MapName: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new DeleteMapCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface DeletePlaceIndexCommandOutput extends DeletePlaceIndexResponse,
|
|
|
29
29
|
* import { LocationClient, DeletePlaceIndexCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
30
30
|
* // const { LocationClient, DeletePlaceIndexCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
31
31
|
* const client = new LocationClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* IndexName: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new DeletePlaceIndexCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface DeleteRouteCalculatorCommandOutput extends DeleteRouteCalculato
|
|
|
29
29
|
* import { LocationClient, DeleteRouteCalculatorCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
30
30
|
* // const { LocationClient, DeleteRouteCalculatorCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
31
31
|
* const client = new LocationClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* CalculatorName: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new DeleteRouteCalculatorCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -31,6 +31,9 @@ export interface DeleteTrackerCommandOutput extends DeleteTrackerResponse, __Met
|
|
|
31
31
|
* import { LocationClient, DeleteTrackerCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
32
32
|
* // const { LocationClient, DeleteTrackerCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
33
33
|
* const client = new LocationClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* TrackerName: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
34
37
|
* const command = new DeleteTrackerCommand(input);
|
|
35
38
|
* const response = await client.send(command);
|
|
36
39
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeGeofenceCollectionCommandOutput extends DescribeGeofenc
|
|
|
26
26
|
* import { LocationClient, DescribeGeofenceCollectionCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
27
27
|
* // const { LocationClient, DescribeGeofenceCollectionCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
28
28
|
* const client = new LocationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* CollectionName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeGeofenceCollectionCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -31,6 +31,9 @@ export interface DescribeKeyCommandOutput extends DescribeKeyResponse, __Metadat
|
|
|
31
31
|
* import { LocationClient, DescribeKeyCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
32
32
|
* // const { LocationClient, DescribeKeyCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
33
33
|
* const client = new LocationClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* KeyName: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
34
37
|
* const command = new DescribeKeyCommand(input);
|
|
35
38
|
* const response = await client.send(command);
|
|
36
39
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeMapCommandOutput extends DescribeMapResponse, __Metadat
|
|
|
26
26
|
* import { LocationClient, DescribeMapCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
27
27
|
* // const { LocationClient, DescribeMapCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
28
28
|
* const client = new LocationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* MapName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeMapCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribePlaceIndexCommandOutput extends DescribePlaceIndexRespo
|
|
|
26
26
|
* import { LocationClient, DescribePlaceIndexCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
27
27
|
* // const { LocationClient, DescribePlaceIndexCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
28
28
|
* const client = new LocationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* IndexName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribePlaceIndexCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeRouteCalculatorCommandOutput extends DescribeRouteCalcu
|
|
|
26
26
|
* import { LocationClient, DescribeRouteCalculatorCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
27
27
|
* // const { LocationClient, DescribeRouteCalculatorCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
28
28
|
* const client = new LocationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* CalculatorName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeRouteCalculatorCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeTrackerCommandOutput extends DescribeTrackerResponse, _
|
|
|
26
26
|
* import { LocationClient, DescribeTrackerCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
27
27
|
* // const { LocationClient, DescribeTrackerCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
28
28
|
* const client = new LocationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* TrackerName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeTrackerCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -30,6 +30,10 @@ export interface DisassociateTrackerConsumerCommandOutput extends DisassociateTr
|
|
|
30
30
|
* import { LocationClient, DisassociateTrackerConsumerCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
31
31
|
* // const { LocationClient, DisassociateTrackerConsumerCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
32
32
|
* const client = new LocationClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* TrackerName: "STRING_VALUE", // required
|
|
35
|
+
* ConsumerArn: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
33
37
|
* const command = new DisassociateTrackerConsumerCommand(input);
|
|
34
38
|
* const response = await client.send(command);
|
|
35
39
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface GetDevicePositionCommandOutput extends GetDevicePositionRespons
|
|
|
29
29
|
* import { LocationClient, GetDevicePositionCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
30
30
|
* // const { LocationClient, GetDevicePositionCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
31
31
|
* const client = new LocationClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* TrackerName: "STRING_VALUE", // required
|
|
34
|
+
* DeviceId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
32
36
|
* const command = new GetDevicePositionCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -30,6 +30,14 @@ export interface GetDevicePositionHistoryCommandOutput extends GetDevicePosition
|
|
|
30
30
|
* import { LocationClient, GetDevicePositionHistoryCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
31
31
|
* // const { LocationClient, GetDevicePositionHistoryCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
32
32
|
* const client = new LocationClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* TrackerName: "STRING_VALUE", // required
|
|
35
|
+
* DeviceId: "STRING_VALUE", // required
|
|
36
|
+
* NextToken: "STRING_VALUE",
|
|
37
|
+
* StartTimeInclusive: new Date("TIMESTAMP"),
|
|
38
|
+
* EndTimeExclusive: new Date("TIMESTAMP"),
|
|
39
|
+
* MaxResults: Number("int"),
|
|
40
|
+
* };
|
|
33
41
|
* const command = new GetDevicePositionHistoryCommand(input);
|
|
34
42
|
* const response = await client.send(command);
|
|
35
43
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetGeofenceCommandOutput extends GetGeofenceResponse, __Metadat
|
|
|
26
26
|
* import { LocationClient, GetGeofenceCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
27
27
|
* // const { LocationClient, GetGeofenceCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
28
28
|
* const client = new LocationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* CollectionName: "STRING_VALUE", // required
|
|
31
|
+
* GeofenceId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetGeofenceCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface GetMapGlyphsCommandOutput extends GetMapGlyphsResponse, __Metad
|
|
|
26
26
|
* import { LocationClient, GetMapGlyphsCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
27
27
|
* // const { LocationClient, GetMapGlyphsCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
28
28
|
* const client = new LocationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* MapName: "STRING_VALUE", // required
|
|
31
|
+
* FontStack: "STRING_VALUE", // required
|
|
32
|
+
* FontUnicodeRange: "STRING_VALUE", // required
|
|
33
|
+
* Key: "STRING_VALUE",
|
|
34
|
+
* };
|
|
29
35
|
* const command = new GetMapGlyphsCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface GetMapSpritesCommandOutput extends GetMapSpritesResponse, __Met
|
|
|
28
28
|
* import { LocationClient, GetMapSpritesCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
29
29
|
* // const { LocationClient, GetMapSpritesCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
30
30
|
* const client = new LocationClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* MapName: "STRING_VALUE", // required
|
|
33
|
+
* FileName: "STRING_VALUE", // required
|
|
34
|
+
* Key: "STRING_VALUE",
|
|
35
|
+
* };
|
|
31
36
|
* const command = new GetMapSpritesCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface GetMapStyleDescriptorCommandOutput extends GetMapStyleDescripto
|
|
|
29
29
|
* import { LocationClient, GetMapStyleDescriptorCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
30
30
|
* // const { LocationClient, GetMapStyleDescriptorCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
31
31
|
* const client = new LocationClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* MapName: "STRING_VALUE", // required
|
|
34
|
+
* Key: "STRING_VALUE",
|
|
35
|
+
* };
|
|
32
36
|
* const command = new GetMapStyleDescriptorCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -31,6 +31,13 @@ export interface GetMapTileCommandOutput extends GetMapTileResponse, __MetadataB
|
|
|
31
31
|
* import { LocationClient, GetMapTileCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
32
32
|
* // const { LocationClient, GetMapTileCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
33
33
|
* const client = new LocationClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* MapName: "STRING_VALUE", // required
|
|
36
|
+
* Z: "STRING_VALUE", // required
|
|
37
|
+
* X: "STRING_VALUE", // required
|
|
38
|
+
* Y: "STRING_VALUE", // required
|
|
39
|
+
* Key: "STRING_VALUE",
|
|
40
|
+
* };
|
|
34
41
|
* const command = new GetMapTileCommand(input);
|
|
35
42
|
* const response = await client.send(command);
|
|
36
43
|
* ```
|
|
@@ -42,6 +42,11 @@ export interface GetPlaceCommandOutput extends GetPlaceResponse, __MetadataBeare
|
|
|
42
42
|
* import { LocationClient, GetPlaceCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
43
43
|
* // const { LocationClient, GetPlaceCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
44
44
|
* const client = new LocationClient(config);
|
|
45
|
+
* const input = {
|
|
46
|
+
* IndexName: "STRING_VALUE", // required
|
|
47
|
+
* PlaceId: "STRING_VALUE", // required
|
|
48
|
+
* Language: "STRING_VALUE",
|
|
49
|
+
* };
|
|
45
50
|
* const command = new GetPlaceCommand(input);
|
|
46
51
|
* const response = await client.send(command);
|
|
47
52
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListDevicePositionsCommandOutput extends ListDevicePositionsRes
|
|
|
26
26
|
* import { LocationClient, ListDevicePositionsCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
27
27
|
* // const { LocationClient, ListDevicePositionsCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
28
28
|
* const client = new LocationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* TrackerName: "STRING_VALUE", // required
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListDevicePositionsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListGeofenceCollectionsCommandOutput extends ListGeofenceCollec
|
|
|
26
26
|
* import { LocationClient, ListGeofenceCollectionsCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
27
27
|
* // const { LocationClient, ListGeofenceCollectionsCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
28
28
|
* const client = new LocationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* MaxResults: Number("int"),
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListGeofenceCollectionsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListGeofencesCommandOutput extends ListGeofencesResponse, __Met
|
|
|
26
26
|
* import { LocationClient, ListGeofencesCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
27
27
|
* // const { LocationClient, ListGeofencesCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
28
28
|
* const client = new LocationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* CollectionName: "STRING_VALUE", // required
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListGeofencesCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -31,6 +31,13 @@ export interface ListKeysCommandOutput extends ListKeysResponse, __MetadataBeare
|
|
|
31
31
|
* import { LocationClient, ListKeysCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
32
32
|
* // const { LocationClient, ListKeysCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
33
33
|
* const client = new LocationClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* MaxResults: Number("int"),
|
|
36
|
+
* NextToken: "STRING_VALUE",
|
|
37
|
+
* Filter: {
|
|
38
|
+
* KeyStatus: "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* };
|
|
34
41
|
* const command = new ListKeysCommand(input);
|
|
35
42
|
* const response = await client.send(command);
|
|
36
43
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListMapsCommandOutput extends ListMapsResponse, __MetadataBeare
|
|
|
26
26
|
* import { LocationClient, ListMapsCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
27
27
|
* // const { LocationClient, ListMapsCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
28
28
|
* const client = new LocationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* MaxResults: Number("int"),
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListMapsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListPlaceIndexesCommandOutput extends ListPlaceIndexesResponse,
|
|
|
26
26
|
* import { LocationClient, ListPlaceIndexesCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
27
27
|
* // const { LocationClient, ListPlaceIndexesCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
28
28
|
* const client = new LocationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* MaxResults: Number("int"),
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListPlaceIndexesCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListRouteCalculatorsCommandOutput extends ListRouteCalculatorsR
|
|
|
26
26
|
* import { LocationClient, ListRouteCalculatorsCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
27
27
|
* // const { LocationClient, ListRouteCalculatorsCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
28
28
|
* const client = new LocationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* MaxResults: Number("int"),
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListRouteCalculatorsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { LocationClient, ListTagsForResourceCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
27
27
|
* // const { LocationClient, ListTagsForResourceCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
28
28
|
* const client = new LocationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListTrackerConsumersCommandOutput extends ListTrackerConsumersR
|
|
|
26
26
|
* import { LocationClient, ListTrackerConsumersCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
27
27
|
* // const { LocationClient, ListTrackerConsumersCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
28
28
|
* const client = new LocationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* TrackerName: "STRING_VALUE", // required
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListTrackerConsumersCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListTrackersCommandOutput extends ListTrackersResponse, __Metad
|
|
|
26
26
|
* import { LocationClient, ListTrackersCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
27
27
|
* // const { LocationClient, ListTrackersCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
28
28
|
* const client = new LocationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* MaxResults: Number("int"),
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListTrackersCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -27,6 +27,25 @@ export interface PutGeofenceCommandOutput extends PutGeofenceResponse, __Metadat
|
|
|
27
27
|
* import { LocationClient, PutGeofenceCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
28
28
|
* // const { LocationClient, PutGeofenceCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
29
29
|
* const client = new LocationClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* CollectionName: "STRING_VALUE", // required
|
|
32
|
+
* GeofenceId: "STRING_VALUE", // required
|
|
33
|
+
* Geometry: {
|
|
34
|
+
* Polygon: [
|
|
35
|
+
* [
|
|
36
|
+
* [
|
|
37
|
+
* Number("double"),
|
|
38
|
+
* ],
|
|
39
|
+
* ],
|
|
40
|
+
* ],
|
|
41
|
+
* Circle: {
|
|
42
|
+
* Center: [ // required
|
|
43
|
+
* Number("double"),
|
|
44
|
+
* ],
|
|
45
|
+
* Radius: Number("double"), // required
|
|
46
|
+
* },
|
|
47
|
+
* },
|
|
48
|
+
* };
|
|
30
49
|
* const command = new PutGeofenceCommand(input);
|
|
31
50
|
* const response = await client.send(command);
|
|
32
51
|
* ```
|
|
@@ -27,6 +27,14 @@ export interface SearchPlaceIndexForPositionCommandOutput extends SearchPlaceInd
|
|
|
27
27
|
* import { LocationClient, SearchPlaceIndexForPositionCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
28
28
|
* // const { LocationClient, SearchPlaceIndexForPositionCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
29
29
|
* const client = new LocationClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* IndexName: "STRING_VALUE", // required
|
|
32
|
+
* Position: [ // required
|
|
33
|
+
* Number("double"),
|
|
34
|
+
* ],
|
|
35
|
+
* MaxResults: Number("int"),
|
|
36
|
+
* Language: "STRING_VALUE",
|
|
37
|
+
* };
|
|
30
38
|
* const command = new SearchPlaceIndexForPositionCommand(input);
|
|
31
39
|
* const response = await client.send(command);
|
|
32
40
|
* ```
|
|
@@ -37,6 +37,21 @@ export interface SearchPlaceIndexForSuggestionsCommandOutput extends SearchPlace
|
|
|
37
37
|
* import { LocationClient, SearchPlaceIndexForSuggestionsCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
38
38
|
* // const { LocationClient, SearchPlaceIndexForSuggestionsCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
39
39
|
* const client = new LocationClient(config);
|
|
40
|
+
* const input = {
|
|
41
|
+
* IndexName: "STRING_VALUE", // required
|
|
42
|
+
* Text: "STRING_VALUE", // required
|
|
43
|
+
* BiasPosition: [
|
|
44
|
+
* Number("double"),
|
|
45
|
+
* ],
|
|
46
|
+
* FilterBBox: [
|
|
47
|
+
* Number("double"),
|
|
48
|
+
* ],
|
|
49
|
+
* FilterCountries: [
|
|
50
|
+
* "STRING_VALUE",
|
|
51
|
+
* ],
|
|
52
|
+
* MaxResults: Number("int"),
|
|
53
|
+
* Language: "STRING_VALUE",
|
|
54
|
+
* };
|
|
40
55
|
* const command = new SearchPlaceIndexForSuggestionsCommand(input);
|
|
41
56
|
* const response = await client.send(command);
|
|
42
57
|
* ```
|
|
@@ -35,6 +35,21 @@ export interface SearchPlaceIndexForTextCommandOutput extends SearchPlaceIndexFo
|
|
|
35
35
|
* import { LocationClient, SearchPlaceIndexForTextCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
36
36
|
* // const { LocationClient, SearchPlaceIndexForTextCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
37
37
|
* const client = new LocationClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* IndexName: "STRING_VALUE", // required
|
|
40
|
+
* Text: "STRING_VALUE", // required
|
|
41
|
+
* BiasPosition: [
|
|
42
|
+
* Number("double"),
|
|
43
|
+
* ],
|
|
44
|
+
* FilterBBox: [
|
|
45
|
+
* Number("double"),
|
|
46
|
+
* ],
|
|
47
|
+
* FilterCountries: [
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* MaxResults: Number("int"),
|
|
51
|
+
* Language: "STRING_VALUE",
|
|
52
|
+
* };
|
|
38
53
|
* const command = new SearchPlaceIndexForTextCommand(input);
|
|
39
54
|
* const response = await client.send(command);
|
|
40
55
|
* ```
|
|
@@ -36,6 +36,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
36
36
|
* import { LocationClient, TagResourceCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
37
37
|
* // const { LocationClient, TagResourceCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
38
38
|
* const client = new LocationClient(config);
|
|
39
|
+
* const input = {
|
|
40
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
41
|
+
* Tags: { // required
|
|
42
|
+
* "<keys>": "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* };
|
|
39
45
|
* const command = new TagResourceCommand(input);
|
|
40
46
|
* const response = await client.send(command);
|
|
41
47
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { LocationClient, UntagResourceCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
27
27
|
* // const { LocationClient, UntagResourceCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
28
28
|
* const client = new LocationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* TagKeys: [ // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UpdateGeofenceCollectionCommandOutput extends UpdateGeofenceCol
|
|
|
26
26
|
* import { LocationClient, UpdateGeofenceCollectionCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
27
27
|
* // const { LocationClient, UpdateGeofenceCollectionCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
28
28
|
* const client = new LocationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* CollectionName: "STRING_VALUE", // required
|
|
31
|
+
* PricingPlan: "STRING_VALUE",
|
|
32
|
+
* PricingPlanDataSource: "STRING_VALUE",
|
|
33
|
+
* Description: "STRING_VALUE",
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UpdateGeofenceCollectionCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -31,6 +31,24 @@ export interface UpdateKeyCommandOutput extends UpdateKeyResponse, __MetadataBea
|
|
|
31
31
|
* import { LocationClient, UpdateKeyCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
32
32
|
* // const { LocationClient, UpdateKeyCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
33
33
|
* const client = new LocationClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* KeyName: "STRING_VALUE", // required
|
|
36
|
+
* Description: "STRING_VALUE",
|
|
37
|
+
* ExpireTime: new Date("TIMESTAMP"),
|
|
38
|
+
* NoExpiry: true || false,
|
|
39
|
+
* ForceUpdate: true || false,
|
|
40
|
+
* Restrictions: {
|
|
41
|
+
* AllowActions: [ // required
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* AllowResources: [ // required
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* AllowReferers: [
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* },
|
|
51
|
+
* };
|
|
34
52
|
* const command = new UpdateKeyCommand(input);
|
|
35
53
|
* const response = await client.send(command);
|
|
36
54
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface UpdateMapCommandOutput extends UpdateMapResponse, __MetadataBea
|
|
|
26
26
|
* import { LocationClient, UpdateMapCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
27
27
|
* // const { LocationClient, UpdateMapCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
28
28
|
* const client = new LocationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* MapName: "STRING_VALUE", // required
|
|
31
|
+
* PricingPlan: "STRING_VALUE",
|
|
32
|
+
* Description: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new UpdateMapCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,14 @@ export interface UpdatePlaceIndexCommandOutput extends UpdatePlaceIndexResponse,
|
|
|
26
26
|
* import { LocationClient, UpdatePlaceIndexCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
27
27
|
* // const { LocationClient, UpdatePlaceIndexCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
28
28
|
* const client = new LocationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* IndexName: "STRING_VALUE", // required
|
|
31
|
+
* PricingPlan: "STRING_VALUE",
|
|
32
|
+
* Description: "STRING_VALUE",
|
|
33
|
+
* DataSourceConfiguration: {
|
|
34
|
+
* IntendedUse: "STRING_VALUE",
|
|
35
|
+
* },
|
|
36
|
+
* };
|
|
29
37
|
* const command = new UpdatePlaceIndexCommand(input);
|
|
30
38
|
* const response = await client.send(command);
|
|
31
39
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface UpdateRouteCalculatorCommandOutput extends UpdateRouteCalculato
|
|
|
26
26
|
* import { LocationClient, UpdateRouteCalculatorCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
27
27
|
* // const { LocationClient, UpdateRouteCalculatorCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
28
28
|
* const client = new LocationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* CalculatorName: "STRING_VALUE", // required
|
|
31
|
+
* PricingPlan: "STRING_VALUE",
|
|
32
|
+
* Description: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new UpdateRouteCalculatorCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface UpdateTrackerCommandOutput extends UpdateTrackerResponse, __Met
|
|
|
26
26
|
* import { LocationClient, UpdateTrackerCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
27
27
|
* // const { LocationClient, UpdateTrackerCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
28
28
|
* const client = new LocationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* TrackerName: "STRING_VALUE", // required
|
|
31
|
+
* PricingPlan: "STRING_VALUE",
|
|
32
|
+
* PricingPlanDataSource: "STRING_VALUE",
|
|
33
|
+
* Description: "STRING_VALUE",
|
|
34
|
+
* PositionFiltering: "STRING_VALUE",
|
|
35
|
+
* };
|
|
29
36
|
* const command = new UpdateTrackerCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-location",
|
|
3
3
|
"description": "AWS SDK for JavaScript Location Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|