Skip to content

Commit ba894f8

Browse files
feat(aws-android-sdk-location): update models to latest (#3201)
Co-authored-by: gpanshu <[email protected]>
1 parent e8727d1 commit ba894f8

File tree

86 files changed

+8777
-322
lines changed

Some content is hidden

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

86 files changed

+8777
-322
lines changed

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

Lines changed: 187 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -543,16 +543,53 @@ CreateGeofenceCollectionResult createGeofenceCollection(
543543

544544
/**
545545
* <p>
546-
* Creates a map resource in your AWS account, which provides map tiles of
547-
* different styles sourced from global location data providers.
546+
* Creates an API key resource in your Amazon Web Services account, which
547+
* lets you grant <code>geo:GetMap*</code> actions for Amazon Location Map
548+
* resources to the API key bearer.
549+
* </p>
550+
* <important>
551+
* <p>
552+
* The API keys feature is in preview. We may add, change, or remove
553+
* features before announcing general availability. For more information,
554+
* see <a href=
555+
* "https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html"
556+
* >Using API keys</a>.
557+
* </p>
558+
* </important>
559+
*
560+
* @param createKeyRequest
561+
* @return createKeyResult The response from the CreateKey service method,
562+
* as returned by AWS Location service.
563+
* @throws InternalServerException
564+
* @throws ConflictException
565+
* @throws AccessDeniedException
566+
* @throws ValidationException
567+
* @throws ServiceQuotaExceededException
568+
* @throws ThrottlingException
569+
* @throws AmazonClientException If any internal errors are encountered
570+
* inside the client while attempting to make the request or
571+
* handle the response. For example if a network connection is
572+
* not available.
573+
* @throws AmazonServiceException If an error response is returned by AWS
574+
* Location service indicating either a problem with the data in
575+
* the request, or a server side issue.
576+
*/
577+
CreateKeyResult createKey(CreateKeyRequest createKeyRequest) throws AmazonClientException,
578+
AmazonServiceException;
579+
580+
/**
581+
* <p>
582+
* Creates a map resource in your Amazon Web Services account, which
583+
* provides map tiles of different styles sourced from global location data
584+
* providers.
548585
* </p>
549586
* <note>
550587
* <p>
551588
* If your application is tracking or routing assets you use in your
552589
* business, such as delivery vehicles or employees, you must not use Esri
553590
* as your geolocation provider. See section 82 of the <a
554-
* href="http://aws.amazon.com/service-terms">AWS service terms</a> for more
555-
* details.
591+
* href="http://aws.amazon.com/service-terms">Amazon Web Services service
592+
* terms</a> for more details.
556593
* </p>
557594
* </note>
558595
*
@@ -578,9 +615,9 @@ CreateMapResult createMap(CreateMapRequest createMapRequest) throws AmazonClient
578615

579616
/**
580617
* <p>
581-
* Creates a place index resource in your AWS account. Use a place index
582-
* resource to geocode addresses and other text queries by using the
583-
* <code>SearchPlaceIndexForText</code> operation, and reverse geocode
618+
* Creates a place index resource in your Amazon Web Services account. Use a
619+
* place index resource to geocode addresses and other text queries by using
620+
* the <code>SearchPlaceIndexForText</code> operation, and reverse geocode
584621
* coordinates by using the <code>SearchPlaceIndexForPosition</code>
585622
* operation, and enable autosuggestions by using the
586623
* <code>SearchPlaceIndexForSuggestions</code> operation.
@@ -590,8 +627,8 @@ CreateMapResult createMap(CreateMapRequest createMapRequest) throws AmazonClient
590627
* If your application is tracking or routing assets you use in your
591628
* business, such as delivery vehicles or employees, you must not use Esri
592629
* as your geolocation provider. See section 82 of the <a
593-
* href="http://aws.amazon.com/service-terms">AWS service terms</a> for more
594-
* details.
630+
* href="http://aws.amazon.com/service-terms">Amazon Web Services service
631+
* terms</a> for more details.
595632
* </p>
596633
* </note>
597634
*
@@ -617,7 +654,7 @@ CreatePlaceIndexResult createPlaceIndex(CreatePlaceIndexRequest createPlaceIndex
617654

618655
/**
619656
* <p>
620-
* Creates a route calculator resource in your AWS account.
657+
* Creates a route calculator resource in your Amazon Web Services account.
621658
* </p>
622659
* <p>
623660
* You can send requests to a route calculator resource to estimate travel
@@ -629,8 +666,8 @@ CreatePlaceIndexResult createPlaceIndex(CreatePlaceIndexRequest createPlaceIndex
629666
* If your application is tracking or routing assets you use in your
630667
* business, such as delivery vehicles or employees, you must not use Esri
631668
* as your geolocation provider. See section 82 of the <a
632-
* href="http://aws.amazon.com/service-terms">AWS service terms</a> for more
633-
* details.
669+
* href="http://aws.amazon.com/service-terms">Amazon Web Services service
670+
* terms</a> for more details.
634671
* </p>
635672
* </note>
636673
*
@@ -658,8 +695,8 @@ CreateRouteCalculatorResult createRouteCalculator(
658695

659696
/**
660697
* <p>
661-
* Creates a tracker resource in your AWS account, which lets you retrieve
662-
* current and historical location of devices.
698+
* Creates a tracker resource in your Amazon Web Services account, which
699+
* lets you retrieve current and historical location of devices.
663700
* </p>
664701
*
665702
* @param createTrackerRequest
@@ -683,7 +720,7 @@ CreateTrackerResult createTracker(CreateTrackerRequest createTrackerRequest)
683720

684721
/**
685722
* <p>
686-
* Deletes a geofence collection from your AWS account.
723+
* Deletes a geofence collection from your Amazon Web Services account.
687724
* </p>
688725
* <note>
689726
* <p>
@@ -716,7 +753,32 @@ DeleteGeofenceCollectionResult deleteGeofenceCollection(
716753

717754
/**
718755
* <p>
719-
* Deletes a map resource from your AWS account.
756+
* Deletes the specified API key. The API key must have been deactivated
757+
* more than 90 days previously.
758+
* </p>
759+
*
760+
* @param deleteKeyRequest
761+
* @return deleteKeyResult The response from the DeleteKey service method,
762+
* as returned by AWS Location service.
763+
* @throws InternalServerException
764+
* @throws ResourceNotFoundException
765+
* @throws AccessDeniedException
766+
* @throws ValidationException
767+
* @throws ThrottlingException
768+
* @throws AmazonClientException If any internal errors are encountered
769+
* inside the client while attempting to make the request or
770+
* handle the response. For example if a network connection is
771+
* not available.
772+
* @throws AmazonServiceException If an error response is returned by AWS
773+
* Location service indicating either a problem with the data in
774+
* the request, or a server side issue.
775+
*/
776+
DeleteKeyResult deleteKey(DeleteKeyRequest deleteKeyRequest) throws AmazonClientException,
777+
AmazonServiceException;
778+
779+
/**
780+
* <p>
781+
* Deletes a map resource from your Amazon Web Services account.
720782
* </p>
721783
* <note>
722784
* <p>
@@ -746,7 +808,7 @@ DeleteMapResult deleteMap(DeleteMapRequest deleteMapRequest) throws AmazonClient
746808

747809
/**
748810
* <p>
749-
* Deletes a place index resource from your AWS account.
811+
* Deletes a place index resource from your Amazon Web Services account.
750812
* </p>
751813
* <note>
752814
* <p>
@@ -775,7 +837,8 @@ DeletePlaceIndexResult deletePlaceIndex(DeletePlaceIndexRequest deletePlaceIndex
775837

776838
/**
777839
* <p>
778-
* Deletes a route calculator resource from your AWS account.
840+
* Deletes a route calculator resource from your Amazon Web Services
841+
* account.
779842
* </p>
780843
* <note>
781844
* <p>
@@ -806,7 +869,7 @@ DeleteRouteCalculatorResult deleteRouteCalculator(
806869

807870
/**
808871
* <p>
809-
* Deletes a tracker resource from your AWS account.
872+
* Deletes a tracker resource from your Amazon Web Services account.
810873
* </p>
811874
* <note>
812875
* <p>
@@ -861,6 +924,39 @@ DescribeGeofenceCollectionResult describeGeofenceCollection(
861924
DescribeGeofenceCollectionRequest describeGeofenceCollectionRequest)
862925
throws AmazonClientException, AmazonServiceException;
863926

927+
/**
928+
* <p>
929+
* Retrieves the API key resource details.
930+
* </p>
931+
* <important>
932+
* <p>
933+
* The API keys feature is in preview. We may add, change, or remove
934+
* features before announcing general availability. For more information,
935+
* see <a href=
936+
* "https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html"
937+
* >Using API keys</a>.
938+
* </p>
939+
* </important>
940+
*
941+
* @param describeKeyRequest
942+
* @return describeKeyResult The response from the DescribeKey service
943+
* method, as returned by AWS Location service.
944+
* @throws InternalServerException
945+
* @throws ResourceNotFoundException
946+
* @throws AccessDeniedException
947+
* @throws ValidationException
948+
* @throws ThrottlingException
949+
* @throws AmazonClientException If any internal errors are encountered
950+
* inside the client while attempting to make the request or
951+
* handle the response. For example if a network connection is
952+
* not available.
953+
* @throws AmazonServiceException If an error response is returned by AWS
954+
* Location service indicating either a problem with the data in
955+
* the request, or a server side issue.
956+
*/
957+
DescribeKeyResult describeKey(DescribeKeyRequest describeKeyRequest)
958+
throws AmazonClientException, AmazonServiceException;
959+
864960
/**
865961
* <p>
866962
* Retrieves the map resource details.
@@ -1205,12 +1301,12 @@ GetMapTileResult getMapTile(GetMapTileRequest getMapTileRequest) throws AmazonCl
12051301
* <ul>
12061302
* <li>
12071303
* <p>
1208-
* Customer AWS account
1304+
* Customer Amazon Web Services account
12091305
* </p>
12101306
* </li>
12111307
* <li>
12121308
* <p>
1213-
* AWS Region
1309+
* Amazon Web Services Region
12141310
* </p>
12151311
* </li>
12161312
* <li>
@@ -1267,7 +1363,7 @@ ListDevicePositionsResult listDevicePositions(
12671363

12681364
/**
12691365
* <p>
1270-
* Lists geofence collections in your AWS account.
1366+
* Lists geofence collections in your Amazon Web Services account.
12711367
* </p>
12721368
*
12731369
* @param listGeofenceCollectionsRequest
@@ -1316,7 +1412,39 @@ ListGeofencesResult listGeofences(ListGeofencesRequest listGeofencesRequest)
13161412

13171413
/**
13181414
* <p>
1319-
* Lists map resources in your AWS account.
1415+
* Lists API key resources in your Amazon Web Services account.
1416+
* </p>
1417+
* <important>
1418+
* <p>
1419+
* The API keys feature is in preview. We may add, change, or remove
1420+
* features before announcing general availability. For more information,
1421+
* see <a href=
1422+
* "https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html"
1423+
* >Using API keys</a>.
1424+
* </p>
1425+
* </important>
1426+
*
1427+
* @param listKeysRequest
1428+
* @return listKeysResult The response from the ListKeys service method, as
1429+
* returned by AWS Location service.
1430+
* @throws InternalServerException
1431+
* @throws AccessDeniedException
1432+
* @throws ValidationException
1433+
* @throws ThrottlingException
1434+
* @throws AmazonClientException If any internal errors are encountered
1435+
* inside the client while attempting to make the request or
1436+
* handle the response. For example if a network connection is
1437+
* not available.
1438+
* @throws AmazonServiceException If an error response is returned by AWS
1439+
* Location service indicating either a problem with the data in
1440+
* the request, or a server side issue.
1441+
*/
1442+
ListKeysResult listKeys(ListKeysRequest listKeysRequest) throws AmazonClientException,
1443+
AmazonServiceException;
1444+
1445+
/**
1446+
* <p>
1447+
* Lists map resources in your Amazon Web Services account.
13201448
* </p>
13211449
*
13221450
* @param listMapsRequest
@@ -1339,7 +1467,7 @@ ListMapsResult listMaps(ListMapsRequest listMapsRequest) throws AmazonClientExce
13391467

13401468
/**
13411469
* <p>
1342-
* Lists place index resources in your AWS account.
1470+
* Lists place index resources in your Amazon Web Services account.
13431471
* </p>
13441472
*
13451473
* @param listPlaceIndexesRequest
@@ -1362,7 +1490,7 @@ ListPlaceIndexesResult listPlaceIndexes(ListPlaceIndexesRequest listPlaceIndexes
13621490

13631491
/**
13641492
* <p>
1365-
* Lists route calculator resources in your AWS account.
1493+
* Lists route calculator resources in your Amazon Web Services account.
13661494
* </p>
13671495
*
13681496
* @param listRouteCalculatorsRequest
@@ -1441,7 +1569,7 @@ ListTrackerConsumersResult listTrackerConsumers(
14411569

14421570
/**
14431571
* <p>
1444-
* Lists tracker resources in your AWS account.
1572+
* Lists tracker resources in your Amazon Web Services account.
14451573
* </p>
14461574
*
14471575
* @param listTrackersRequest
@@ -1690,6 +1818,39 @@ UpdateGeofenceCollectionResult updateGeofenceCollection(
16901818
UpdateGeofenceCollectionRequest updateGeofenceCollectionRequest)
16911819
throws AmazonClientException, AmazonServiceException;
16921820

1821+
/**
1822+
* <p>
1823+
* Updates the specified properties of a given API key resource.
1824+
* </p>
1825+
* <important>
1826+
* <p>
1827+
* The API keys feature is in preview. We may add, change, or remove
1828+
* features before announcing general availability. For more information,
1829+
* see <a href=
1830+
* "https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html"
1831+
* >Using API keys</a>.
1832+
* </p>
1833+
* </important>
1834+
*
1835+
* @param updateKeyRequest
1836+
* @return updateKeyResult The response from the UpdateKey service method,
1837+
* as returned by AWS Location service.
1838+
* @throws InternalServerException
1839+
* @throws ResourceNotFoundException
1840+
* @throws AccessDeniedException
1841+
* @throws ValidationException
1842+
* @throws ThrottlingException
1843+
* @throws AmazonClientException If any internal errors are encountered
1844+
* inside the client while attempting to make the request or
1845+
* handle the response. For example if a network connection is
1846+
* not available.
1847+
* @throws AmazonServiceException If an error response is returned by AWS
1848+
* Location service indicating either a problem with the data in
1849+
* the request, or a server side issue.
1850+
*/
1851+
UpdateKeyResult updateKey(UpdateKeyRequest updateKeyRequest) throws AmazonClientException,
1852+
AmazonServiceException;
1853+
16931854
/**
16941855
* <p>
16951856
* Updates the specified properties of a given map resource.

0 commit comments

Comments
 (0)