Skip to content

Commit 8de4879

Browse files
feat(aws-android-sdk-location): update models to latest (#2405)
Co-authored-by: Richard McClellan <[email protected]>
1 parent ba13ebd commit 8de4879

File tree

45 files changed

+3296
-1244
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+3296
-1244
lines changed

aws-android-sdk-location/src/main/java/com/amazonaws/services/geo/AmazonLocation.java

Lines changed: 33 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,13 @@ public interface AmazonLocation {
9191
* resource. This allows the tracker resource to communicate location data
9292
* to the linked geofence collection.
9393
* </p>
94+
* <note>
95+
* <p>
96+
* Currently not supported — Cross-account configurations, such as creating
97+
* associations between a tracker resource in one account and a geofence
98+
* collection in another account.
99+
* </p>
100+
* </note>
94101
*
95102
* @param associateTrackerConsumerRequest
96103
* @return associateTrackerConsumerResult The response from the
@@ -147,9 +154,17 @@ BatchDeleteGeofenceResult batchDeleteGeofence(
147154

148155
/**
149156
* <p>
150-
* Used in geofence monitoring. Evaluates device positions against the
151-
* position of geofences in a given geofence collection.
157+
* Evaluates device positions against the geofence geometries from a given
158+
* geofence collection. The evaluation determines if the device has entered
159+
* or exited a geofenced area, which publishes ENTER or EXIT geofence events
160+
* to Amazon EventBridge.
161+
* </p>
162+
* <note>
163+
* <p>
164+
* The last geofence that a device was observed within, if any, is tracked
165+
* for 30 days after the most recent device position update
152166
* </p>
167+
* </note>
153168
*
154169
* @param batchEvaluateGeofencesRequest
155170
* @return batchEvaluateGeofencesResult The response from the
@@ -174,13 +189,8 @@ BatchEvaluateGeofencesResult batchEvaluateGeofences(
174189

175190
/**
176191
* <p>
177-
* A batch request to retrieve device positions.
178-
* </p>
179-
* <note>
180-
* <p>
181-
* The response will return the device positions from the last 24 hours.
192+
* A batch request to retrieve all device positions.
182193
* </p>
183-
* </note>
184194
*
185195
* @param batchGetDevicePositionRequest
186196
* @return batchGetDevicePositionResult The response from the
@@ -205,7 +215,8 @@ BatchGetDevicePositionResult batchGetDevicePosition(
205215

206216
/**
207217
* <p>
208-
* A batch request for storing geofences into a given geofence collection.
218+
* A batch request for storing geofence geometries into a given geofence
219+
* collection.
209220
* </p>
210221
*
211222
* @param batchPutGeofenceRequest
@@ -229,14 +240,15 @@ BatchPutGeofenceResult batchPutGeofence(BatchPutGeofenceRequest batchPutGeofence
229240

230241
/**
231242
* <p>
232-
* Uploads a position update for one or more devices to a tracker resource.
233-
* The data is used for API queries requesting the device position and
234-
* position history.
243+
* Uploads position update data for one or more devices to a tracker
244+
* resource. Amazon Location uses the data when reporting the last known
245+
* device position and position history.
235246
* </p>
236247
* <note>
237248
* <p>
238-
* Limitation — Location data is sampled at a fixed rate of 1 position per
239-
* 30 second interval, and retained for 1 year before it is deleted.
249+
* Only one position update is stored per sample time. Location data is
250+
* sampled at a fixed rate of one position per 30-second interval, and
251+
* retained for one year before it is deleted.
240252
* </p>
241253
* </note>
242254
*
@@ -609,7 +621,7 @@ DescribeTrackerResult describeTracker(DescribeTrackerRequest describeTrackerRequ
609621

610622
/**
611623
* <p>
612-
* Removes the association bewteen a tracker resource and a geofence
624+
* Removes the association between a tracker resource and a geofence
613625
* collection.
614626
* </p>
615627
* <note>
@@ -643,11 +655,11 @@ DisassociateTrackerConsumerResult disassociateTrackerConsumer(
643655

644656
/**
645657
* <p>
646-
* Retrieves the latest device position.
658+
* Retrieves a device's most recent position according to its sample time.
647659
* </p>
648660
* <note>
649661
* <p>
650-
* Limitation — Device positions are deleted after one year.
662+
* Device positions are deleted after one year.
651663
* </p>
652664
* </note>
653665
*
@@ -677,7 +689,7 @@ GetDevicePositionResult getDevicePosition(GetDevicePositionRequest getDevicePosi
677689
* </p>
678690
* <note>
679691
* <p>
680-
* Limitation — Device positions are deleted after one year.
692+
* Device positions are deleted after 1 year.
681693
* </p>
682694
* </note>
683695
*
@@ -987,8 +999,9 @@ ListTrackersResult listTrackers(ListTrackersRequest listTrackersRequest)
987999

9881000
/**
9891001
* <p>
990-
* Stores a geofence to a given geofence collection, or updates the geometry
991-
* of an existing geofence if a geofence ID is included in the request.
1002+
* Stores a geofence geometry in a given geofence collection, or updates the
1003+
* geometry of an existing geofence if a geofence ID is included in the
1004+
* request.
9921005
* </p>
9931006
*
9941007
* @param putGeofenceRequest

aws-android-sdk-location/src/main/java/com/amazonaws/services/geo/AmazonLocationClient.java

Lines changed: 33 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,13 @@ private static ClientConfiguration adjustClientConfiguration(ClientConfiguration
355355
* resource. This allows the tracker resource to communicate location data
356356
* to the linked geofence collection.
357357
* </p>
358+
* <note>
359+
* <p>
360+
* Currently not supported — Cross-account configurations, such as creating
361+
* associations between a tracker resource in one account and a geofence
362+
* collection in another account.
363+
* </p>
364+
* </note>
358365
*
359366
* @param associateTrackerConsumerRequest
360367
* @return associateTrackerConsumerResult The response from the
@@ -465,9 +472,17 @@ public BatchDeleteGeofenceResult batchDeleteGeofence(
465472

466473
/**
467474
* <p>
468-
* Used in geofence monitoring. Evaluates device positions against the
469-
* position of geofences in a given geofence collection.
475+
* Evaluates device positions against the geofence geometries from a given
476+
* geofence collection. The evaluation determines if the device has entered
477+
* or exited a geofenced area, which publishes ENTER or EXIT geofence events
478+
* to Amazon EventBridge.
479+
* </p>
480+
* <note>
481+
* <p>
482+
* The last geofence that a device was observed within, if any, is tracked
483+
* for 30 days after the most recent device position update
470484
* </p>
485+
* </note>
471486
*
472487
* @param batchEvaluateGeofencesRequest
473488
* @return batchEvaluateGeofencesResult The response from the
@@ -519,13 +534,8 @@ public BatchEvaluateGeofencesResult batchEvaluateGeofences(
519534

520535
/**
521536
* <p>
522-
* A batch request to retrieve device positions.
523-
* </p>
524-
* <note>
525-
* <p>
526-
* The response will return the device positions from the last 24 hours.
537+
* A batch request to retrieve all device positions.
527538
* </p>
528-
* </note>
529539
*
530540
* @param batchGetDevicePositionRequest
531541
* @return batchGetDevicePositionResult The response from the
@@ -577,7 +587,8 @@ public BatchGetDevicePositionResult batchGetDevicePosition(
577587

578588
/**
579589
* <p>
580-
* A batch request for storing geofences into a given geofence collection.
590+
* A batch request for storing geofence geometries into a given geofence
591+
* collection.
581592
* </p>
582593
*
583594
* @param batchPutGeofenceRequest
@@ -627,14 +638,15 @@ public BatchPutGeofenceResult batchPutGeofence(BatchPutGeofenceRequest batchPutG
627638

628639
/**
629640
* <p>
630-
* Uploads a position update for one or more devices to a tracker resource.
631-
* The data is used for API queries requesting the device position and
632-
* position history.
641+
* Uploads position update data for one or more devices to a tracker
642+
* resource. Amazon Location uses the data when reporting the last known
643+
* device position and position history.
633644
* </p>
634645
* <note>
635646
* <p>
636-
* Limitation — Location data is sampled at a fixed rate of 1 position per
637-
* 30 second interval, and retained for 1 year before it is deleted.
647+
* Only one position update is stored per sample time. Location data is
648+
* sampled at a fixed rate of one position per 30-second interval, and
649+
* retained for one year before it is deleted.
638650
* </p>
639651
* </note>
640652
*
@@ -1351,7 +1363,7 @@ public DescribeTrackerResult describeTracker(DescribeTrackerRequest describeTrac
13511363

13521364
/**
13531365
* <p>
1354-
* Removes the association bewteen a tracker resource and a geofence
1366+
* Removes the association between a tracker resource and a geofence
13551367
* collection.
13561368
* </p>
13571369
* <note>
@@ -1412,11 +1424,11 @@ public DisassociateTrackerConsumerResult disassociateTrackerConsumer(
14121424

14131425
/**
14141426
* <p>
1415-
* Retrieves the latest device position.
1427+
* Retrieves a device's most recent position according to its sample time.
14161428
* </p>
14171429
* <note>
14181430
* <p>
1419-
* Limitation — Device positions are deleted after one year.
1431+
* Device positions are deleted after one year.
14201432
* </p>
14211433
* </note>
14221434
*
@@ -1474,7 +1486,7 @@ public GetDevicePositionResult getDevicePosition(
14741486
* </p>
14751487
* <note>
14761488
* <p>
1477-
* Limitation — Device positions are deleted after one year.
1489+
* Device positions are deleted after 1 year.
14781490
* </p>
14791491
* </note>
14801492
*
@@ -2100,8 +2112,9 @@ public ListTrackersResult listTrackers(ListTrackersRequest listTrackersRequest)
21002112

21012113
/**
21022114
* <p>
2103-
* Stores a geofence to a given geofence collection, or updates the geometry
2104-
* of an existing geofence if a geofence ID is included in the request.
2115+
* Stores a geofence geometry in a given geofence collection, or updates the
2116+
* geometry of an existing geofence if a geofence ID is included in the
2117+
* request.
21052118
* </p>
21062119
*
21072120
* @param putGeofenceRequest

aws-android-sdk-location/src/main/java/com/amazonaws/services/geo/model/AssociateTrackerConsumerRequest.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@
2525
* This allows the tracker resource to communicate location data to the linked
2626
* geofence collection.
2727
* </p>
28+
* <note>
29+
* <p>
30+
* Currently not supported — Cross-account configurations, such as creating
31+
* associations between a tracker resource in one account and a geofence
32+
* collection in another account.
33+
* </p>
34+
* </note>
2835
*/
2936
public class AssociateTrackerConsumerRequest extends AmazonWebServiceRequest implements
3037
Serializable {

aws-android-sdk-location/src/main/java/com/amazonaws/services/geo/model/BatchEvaluateGeofencesRequest.java

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,17 @@
2121

2222
/**
2323
* <p>
24-
* Used in geofence monitoring. Evaluates device positions against the position
25-
* of geofences in a given geofence collection.
24+
* Evaluates device positions against the geofence geometries from a given
25+
* geofence collection. The evaluation determines if the device has entered or
26+
* exited a geofenced area, which publishes ENTER or EXIT geofence events to
27+
* Amazon EventBridge.
2628
* </p>
29+
* <note>
30+
* <p>
31+
* The last geofence that a device was observed within, if any, is tracked for
32+
* 30 days after the most recent device position update
33+
* </p>
34+
* </note>
2735
*/
2836
public class BatchEvaluateGeofencesRequest extends AmazonWebServiceRequest implements Serializable {
2937
/**

aws-android-sdk-location/src/main/java/com/amazonaws/services/geo/model/BatchGetDevicePositionRequest.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,8 @@
2121

2222
/**
2323
* <p>
24-
* A batch request to retrieve device positions.
24+
* A batch request to retrieve all device positions.
2525
* </p>
26-
* <note>
27-
* <p>
28-
* The response will return the device positions from the last 24 hours.
29-
* </p>
30-
* </note>
3126
*/
3227
public class BatchGetDevicePositionRequest extends AmazonWebServiceRequest implements Serializable {
3328
/**

aws-android-sdk-location/src/main/java/com/amazonaws/services/geo/model/BatchPutGeofenceRequest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121

2222
/**
2323
* <p>
24-
* A batch request for storing geofences into a given geofence collection.
24+
* A batch request for storing geofence geometries into a given geofence
25+
* collection.
2526
* </p>
2627
*/
2728
public class BatchPutGeofenceRequest extends AmazonWebServiceRequest implements Serializable {

0 commit comments

Comments
 (0)