You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Amazon Location code examples for the SDK for JavaScript (v3)
2
+
3
+
## Overview
4
+
5
+
Shows how to use the AWS SDK for JavaScript (v3) to work with Amazon Location Service.
6
+
7
+
## ⚠ Important
8
+
9
+
- Running this code might result in charges to your AWS account. For more details, see [AWS Pricing](https://aws.amazon.com/pricing/) and [Free Tier](https://aws.amazon.com/free/).
10
+
- Running the tests might result in charges to your AWS account.
11
+
- We recommend that you grant your code least privilege. At most, grant only the minimum permissions required to perform the task. For more information, see [Grant least privilege](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#grant-least-privilege).
12
+
- This code is not tested in every AWS Region. For more information, see [AWS Regional Services](https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services).
13
+
14
+
### Prerequisites
15
+
16
+
For prerequisites, see the [README](../../../../README.md#prerequisites) in the `javascriptv3` folder.
17
+
18
+
### Single Examples
19
+
Code excerpts that show you how to call individual service functions.
20
+
21
+
### Learn the Basics
22
+
23
+
This example shows you how to do the following:
24
+
- Create an Amazon Location map.
25
+
- Create an Amazon Location API key.
26
+
- Display Map URL.
27
+
- Create a geofence collection.
28
+
- Store a geofence geometry.
29
+
- Create a tracker resource.
30
+
- Update the position of a device.
31
+
- Retrieve the most recent position update for a specified device.
32
+
- Create a route calculator.
33
+
- Determine the distance between Seattle and Vancouver.
34
+
- Use Amazon Location higher level APIs.
35
+
- Delete the Amazon Location Assets.
36
+
37
+
#### Run the scenario
38
+
39
+
```bash
40
+
node converse-tool-scenario.js
41
+
```
42
+
## Tests
43
+
44
+
⚠ Running tests might result in charges to your AWS account.
45
+
46
+
To find instructions for running these tests, see the [README](../../../../README.md#tests) in the `javascriptv3` folder.
0 commit comments