aws-sdk-locationservice 1.4.0 → 1.8.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.
@@ -200,6 +200,7 @@ module Aws::LocationService
200
200
  SearchPlaceIndexForTextRequest = Shapes::StructureShape.new(name: 'SearchPlaceIndexForTextRequest')
201
201
  SearchPlaceIndexForTextResponse = Shapes::StructureShape.new(name: 'SearchPlaceIndexForTextResponse')
202
202
  SearchPlaceIndexForTextSummary = Shapes::StructureShape.new(name: 'SearchPlaceIndexForTextSummary')
203
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
203
204
  Step = Shapes::StructureShape.new(name: 'Step')
204
205
  StepDistanceDouble = Shapes::FloatShape.new(name: 'StepDistanceDouble')
205
206
  StepDurationSecondsDouble = Shapes::FloatShape.new(name: 'StepDurationSecondsDouble')
@@ -226,6 +227,16 @@ module Aws::LocationService
226
227
  TruckWeightTotalDouble = Shapes::FloatShape.new(name: 'TruckWeightTotalDouble')
227
228
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
228
229
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
230
+ UpdateGeofenceCollectionRequest = Shapes::StructureShape.new(name: 'UpdateGeofenceCollectionRequest')
231
+ UpdateGeofenceCollectionResponse = Shapes::StructureShape.new(name: 'UpdateGeofenceCollectionResponse')
232
+ UpdateMapRequest = Shapes::StructureShape.new(name: 'UpdateMapRequest')
233
+ UpdateMapResponse = Shapes::StructureShape.new(name: 'UpdateMapResponse')
234
+ UpdatePlaceIndexRequest = Shapes::StructureShape.new(name: 'UpdatePlaceIndexRequest')
235
+ UpdatePlaceIndexResponse = Shapes::StructureShape.new(name: 'UpdatePlaceIndexResponse')
236
+ UpdateRouteCalculatorRequest = Shapes::StructureShape.new(name: 'UpdateRouteCalculatorRequest')
237
+ UpdateRouteCalculatorResponse = Shapes::StructureShape.new(name: 'UpdateRouteCalculatorResponse')
238
+ UpdateTrackerRequest = Shapes::StructureShape.new(name: 'UpdateTrackerRequest')
239
+ UpdateTrackerResponse = Shapes::StructureShape.new(name: 'UpdateTrackerResponse')
229
240
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
230
241
  ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
231
242
  ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
@@ -889,6 +900,9 @@ module Aws::LocationService
889
900
  SearchPlaceIndexForTextSummary.add_member(:text, Shapes::ShapeRef.new(shape: SyntheticSearchPlaceIndexForTextSummaryString, required: true, location_name: "Text"))
890
901
  SearchPlaceIndexForTextSummary.struct_class = Types::SearchPlaceIndexForTextSummary
891
902
 
903
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
904
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
905
+
892
906
  Step.add_member(:distance, Shapes::ShapeRef.new(shape: StepDistanceDouble, required: true, location_name: "Distance"))
893
907
  Step.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: StepDurationSecondsDouble, required: true, location_name: "DurationSeconds"))
894
908
  Step.add_member(:end_position, Shapes::ShapeRef.new(shape: Position, required: true, location_name: "EndPosition"))
@@ -928,6 +942,59 @@ module Aws::LocationService
928
942
 
929
943
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
930
944
 
945
+ UpdateGeofenceCollectionRequest.add_member(:collection_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "CollectionName"))
946
+ UpdateGeofenceCollectionRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
947
+ UpdateGeofenceCollectionRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, location_name: "PricingPlan"))
948
+ UpdateGeofenceCollectionRequest.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, location_name: "PricingPlanDataSource"))
949
+ UpdateGeofenceCollectionRequest.struct_class = Types::UpdateGeofenceCollectionRequest
950
+
951
+ UpdateGeofenceCollectionResponse.add_member(:collection_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CollectionArn"))
952
+ UpdateGeofenceCollectionResponse.add_member(:collection_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "CollectionName"))
953
+ UpdateGeofenceCollectionResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
954
+ UpdateGeofenceCollectionResponse.struct_class = Types::UpdateGeofenceCollectionResponse
955
+
956
+ UpdateMapRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
957
+ UpdateMapRequest.add_member(:map_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "MapName"))
958
+ UpdateMapRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, location_name: "PricingPlan"))
959
+ UpdateMapRequest.struct_class = Types::UpdateMapRequest
960
+
961
+ UpdateMapResponse.add_member(:map_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "MapArn"))
962
+ UpdateMapResponse.add_member(:map_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "MapName"))
963
+ UpdateMapResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
964
+ UpdateMapResponse.struct_class = Types::UpdateMapResponse
965
+
966
+ UpdatePlaceIndexRequest.add_member(:data_source_configuration, Shapes::ShapeRef.new(shape: DataSourceConfiguration, location_name: "DataSourceConfiguration"))
967
+ UpdatePlaceIndexRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
968
+ UpdatePlaceIndexRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "IndexName"))
969
+ UpdatePlaceIndexRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, location_name: "PricingPlan"))
970
+ UpdatePlaceIndexRequest.struct_class = Types::UpdatePlaceIndexRequest
971
+
972
+ UpdatePlaceIndexResponse.add_member(:index_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "IndexArn"))
973
+ UpdatePlaceIndexResponse.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "IndexName"))
974
+ UpdatePlaceIndexResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
975
+ UpdatePlaceIndexResponse.struct_class = Types::UpdatePlaceIndexResponse
976
+
977
+ UpdateRouteCalculatorRequest.add_member(:calculator_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "CalculatorName"))
978
+ UpdateRouteCalculatorRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
979
+ UpdateRouteCalculatorRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, location_name: "PricingPlan"))
980
+ UpdateRouteCalculatorRequest.struct_class = Types::UpdateRouteCalculatorRequest
981
+
982
+ UpdateRouteCalculatorResponse.add_member(:calculator_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CalculatorArn"))
983
+ UpdateRouteCalculatorResponse.add_member(:calculator_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "CalculatorName"))
984
+ UpdateRouteCalculatorResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
985
+ UpdateRouteCalculatorResponse.struct_class = Types::UpdateRouteCalculatorResponse
986
+
987
+ UpdateTrackerRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
988
+ UpdateTrackerRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, location_name: "PricingPlan"))
989
+ UpdateTrackerRequest.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, location_name: "PricingPlanDataSource"))
990
+ UpdateTrackerRequest.add_member(:tracker_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "TrackerName"))
991
+ UpdateTrackerRequest.struct_class = Types::UpdateTrackerRequest
992
+
993
+ UpdateTrackerResponse.add_member(:tracker_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "TrackerArn"))
994
+ UpdateTrackerResponse.add_member(:tracker_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "TrackerName"))
995
+ UpdateTrackerResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
996
+ UpdateTrackerResponse.struct_class = Types::UpdateTrackerResponse
997
+
931
998
  ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, required: true, location_name: "fieldList"))
932
999
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
933
1000
  ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, required: true, location_name: "reason"))
@@ -971,6 +1038,7 @@ module Aws::LocationService
971
1038
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
972
1039
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
973
1040
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1041
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
974
1042
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
975
1043
  end)
976
1044
 
@@ -1724,6 +1792,86 @@ module Aws::LocationService
1724
1792
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1725
1793
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1726
1794
  end)
1795
+
1796
+ api.add_operation(:update_geofence_collection, Seahorse::Model::Operation.new.tap do |o|
1797
+ o.name = "UpdateGeofenceCollection"
1798
+ o.http_method = "PATCH"
1799
+ o.http_request_uri = "/geofencing/v0/collections/{CollectionName}"
1800
+ o.endpoint_pattern = {
1801
+ "hostPrefix" => "geofencing.",
1802
+ }
1803
+ o.input = Shapes::ShapeRef.new(shape: UpdateGeofenceCollectionRequest)
1804
+ o.output = Shapes::ShapeRef.new(shape: UpdateGeofenceCollectionResponse)
1805
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1806
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1807
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1808
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1809
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1810
+ end)
1811
+
1812
+ api.add_operation(:update_map, Seahorse::Model::Operation.new.tap do |o|
1813
+ o.name = "UpdateMap"
1814
+ o.http_method = "PATCH"
1815
+ o.http_request_uri = "/maps/v0/maps/{MapName}"
1816
+ o.endpoint_pattern = {
1817
+ "hostPrefix" => "maps.",
1818
+ }
1819
+ o.input = Shapes::ShapeRef.new(shape: UpdateMapRequest)
1820
+ o.output = Shapes::ShapeRef.new(shape: UpdateMapResponse)
1821
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1822
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1823
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1824
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1825
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1826
+ end)
1827
+
1828
+ api.add_operation(:update_place_index, Seahorse::Model::Operation.new.tap do |o|
1829
+ o.name = "UpdatePlaceIndex"
1830
+ o.http_method = "PATCH"
1831
+ o.http_request_uri = "/places/v0/indexes/{IndexName}"
1832
+ o.endpoint_pattern = {
1833
+ "hostPrefix" => "places.",
1834
+ }
1835
+ o.input = Shapes::ShapeRef.new(shape: UpdatePlaceIndexRequest)
1836
+ o.output = Shapes::ShapeRef.new(shape: UpdatePlaceIndexResponse)
1837
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1838
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1839
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1840
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1841
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1842
+ end)
1843
+
1844
+ api.add_operation(:update_route_calculator, Seahorse::Model::Operation.new.tap do |o|
1845
+ o.name = "UpdateRouteCalculator"
1846
+ o.http_method = "PATCH"
1847
+ o.http_request_uri = "/routes/v0/calculators/{CalculatorName}"
1848
+ o.endpoint_pattern = {
1849
+ "hostPrefix" => "routes.",
1850
+ }
1851
+ o.input = Shapes::ShapeRef.new(shape: UpdateRouteCalculatorRequest)
1852
+ o.output = Shapes::ShapeRef.new(shape: UpdateRouteCalculatorResponse)
1853
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1854
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1855
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1856
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1857
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1858
+ end)
1859
+
1860
+ api.add_operation(:update_tracker, Seahorse::Model::Operation.new.tap do |o|
1861
+ o.name = "UpdateTracker"
1862
+ o.http_method = "PATCH"
1863
+ o.http_request_uri = "/tracking/v0/trackers/{TrackerName}"
1864
+ o.endpoint_pattern = {
1865
+ "hostPrefix" => "tracking.",
1866
+ }
1867
+ o.input = Shapes::ShapeRef.new(shape: UpdateTrackerRequest)
1868
+ o.output = Shapes::ShapeRef.new(shape: UpdateTrackerResponse)
1869
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1870
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1871
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1872
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1873
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1874
+ end)
1727
1875
  end
1728
1876
 
1729
1877
  end
@@ -31,6 +31,7 @@ module Aws::LocationService
31
31
  # * {ConflictException}
32
32
  # * {InternalServerException}
33
33
  # * {ResourceNotFoundException}
34
+ # * {ServiceQuotaExceededException}
34
35
  # * {ThrottlingException}
35
36
  # * {ValidationException}
36
37
  #
@@ -104,6 +105,21 @@ module Aws::LocationService
104
105
  end
105
106
  end
106
107
 
108
+ class ServiceQuotaExceededException < ServiceError
109
+
110
+ # @param [Seahorse::Client::RequestContext] context
111
+ # @param [String] message
112
+ # @param [Aws::LocationService::Types::ServiceQuotaExceededException] data
113
+ def initialize(context, message, data = Aws::EmptyStructure.new)
114
+ super(context, message, data)
115
+ end
116
+
117
+ # @return [String]
118
+ def message
119
+ @message || @data[:message]
120
+ end
121
+ end
122
+
107
123
  class ThrottlingException < ServiceError
108
124
 
109
125
  # @param [Seahorse::Client::RequestContext] context
@@ -10,8 +10,8 @@
10
10
  module Aws::LocationService
11
11
  module Types
12
12
 
13
- # The request was denied due to insufficient access or permission. Check
14
- # with an administrator to verify your permissions.
13
+ # The request was denied because of insufficient access or permissions.
14
+ # Check with an administrator to verify your permissions.
15
15
  #
16
16
  # @!attribute [rw] message
17
17
  # @return [String]
@@ -816,7 +816,7 @@ module Aws::LocationService
816
816
  # Contains details about each path between a pair of positions
817
817
  # included along a route such as: `StartPosition`, `EndPosition`,
818
818
  # `Distance`, `DurationSeconds`, `Geometry`, and `Steps`. The number
819
- # of legs returned corresponds to one less than the total number of
819
+ # of legs returned corresponds to one fewer than the total number of
820
820
  # positions in the request.
821
821
  #
822
822
  # For example, a route with a departure position and destination
@@ -829,7 +829,7 @@ module Aws::LocationService
829
829
  #
830
830
  # A route with a waypoint between the departure and destination
831
831
  # position returns two legs with the positions snapped to a nearby
832
- # road.:
832
+ # road:
833
833
  #
834
834
  # * Leg 1: The `StartPosition` is the departure position . The
835
835
  # `EndPosition` is the waypoint positon.
@@ -844,7 +844,7 @@ module Aws::LocationService
844
844
  #
845
845
  # @!attribute [rw] summary
846
846
  # Contains information about the whole route, such as: `RouteBBox`,
847
- # `DataSource`, `Distance`, `DistanceUnit`, and `DurationSeconds`
847
+ # `DataSource`, `Distance`, `DistanceUnit`, and `DurationSeconds`.
848
848
  # @return [Types::CalculateRouteSummary]
849
849
  #
850
850
  # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CalculateRouteResponse AWS API Documentation
@@ -897,7 +897,7 @@ module Aws::LocationService
897
897
  # @!attribute [rw] route_b_box
898
898
  # Specifies a geographical box surrounding a route. Used to zoom into
899
899
  # a route when displaying it in a map. For example, `[min x, min y,
900
- # max x, max y]`
900
+ # max x, max y]`.
901
901
  #
902
902
  # The first 2 `bbox` parameters describe the lower southwest corner:
903
903
  #
@@ -988,7 +988,7 @@ module Aws::LocationService
988
988
  include Aws::Structure
989
989
  end
990
990
 
991
- # The request was unsuccessful due to a conflict.
991
+ # The request was unsuccessful because of a conflict.
992
992
  #
993
993
  # @!attribute [rw] message
994
994
  # @return [String]
@@ -1235,8 +1235,8 @@ module Aws::LocationService
1235
1235
  # @return [Time]
1236
1236
  #
1237
1237
  # @!attribute [rw] map_arn
1238
- # The Amazon Resource Name (ARN) for the map resource. Used when you
1239
- # need to specify a resource across all AWS.
1238
+ # The Amazon Resource Name (ARN) for the map resource. Used to specify
1239
+ # a resource across all AWS.
1240
1240
  #
1241
1241
  # * Format example: `arn:aws:geo:region:account-id:maps/ExampleMap`
1242
1242
  #
@@ -1277,33 +1277,41 @@ module Aws::LocationService
1277
1277
  # Specifies the data provider of geospatial data.
1278
1278
  #
1279
1279
  # <note markdown="1"> This field is case-sensitive. Enter the valid values as shown. For
1280
- # example, entering `HERE` will return an error.
1280
+ # example, entering `HERE` returns an error.
1281
1281
  #
1282
1282
  # </note>
1283
1283
  #
1284
1284
  # Valid values include:
1285
1285
  #
1286
- # * `Esri`
1286
+ # * `Esri` – For additional information about [Esri][1]'s coverage in
1287
+ # your region of interest, see [Esri details on geocoding
1288
+ # coverage][2].
1287
1289
  #
1288
- # * `Here`
1290
+ # * `Here` – For additional information about [HERE
1291
+ # Technologies][3]'s coverage in your region of interest, see [HERE
1292
+ # details on goecoding coverage][4].
1289
1293
  #
1290
- # Place index resources using HERE as a data provider can't be used
1291
- # to [store][1] results for locations in Japan. For more
1292
- # information, see the [AWS Service Terms][2] for Amazon Location
1294
+ # Place index resources using HERE Technologies as a data provider
1295
+ # can't [store results][5] for locations in Japan. For more
1296
+ # information, see the [AWS Service Terms][6] for Amazon Location
1293
1297
  # Service.
1294
1298
  #
1295
- # For additional details on data providers, see the [Amazon Location
1296
- # Service data providers page][3].
1299
+ # For additional information , see [Data providers][7] on the *Amazon
1300
+ # Location Service Developer Guide*.
1297
1301
  #
1298
1302
  #
1299
1303
  #
1300
- # [1]: https://docs.aws.amazon.com/location-places/latest/APIReference/API_DataSourceConfiguration.html
1301
- # [2]: https://aws.amazon.com/service-terms/
1302
- # [3]: https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html
1304
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/esri.html
1305
+ # [2]: https://developers.arcgis.com/rest/geocode/api-reference/geocode-coverage.htm
1306
+ # [3]: https://docs.aws.amazon.com/location/latest/developerguide/HERE.html
1307
+ # [4]: https://developer.here.com/documentation/geocoder/dev_guide/topics/coverage-geocoder.html
1308
+ # [5]: https://docs.aws.amazon.com/location-places/latest/APIReference/API_DataSourceConfiguration.html
1309
+ # [6]: https://aws.amazon.com/service-terms/
1310
+ # [7]: https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html
1303
1311
  # @return [String]
1304
1312
  #
1305
1313
  # @!attribute [rw] data_source_configuration
1306
- # Specifies the data storage option for requesting Places.
1314
+ # Specifies the data storage option requesting Places.
1307
1315
  # @return [Types::DataSourceConfiguration]
1308
1316
  #
1309
1317
  # @!attribute [rw] description
@@ -1379,7 +1387,7 @@ module Aws::LocationService
1379
1387
  #
1380
1388
  # @!attribute [rw] index_arn
1381
1389
  # The Amazon Resource Name (ARN) for the place index resource. Used to
1382
- # specify a resource across all AWS.
1390
+ # specify a resource across AWS.
1383
1391
  #
1384
1392
  # * Format example:
1385
1393
  # `arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex`
@@ -1435,14 +1443,27 @@ module Aws::LocationService
1435
1443
  #
1436
1444
  # </note>
1437
1445
  #
1438
- # Valid Values: `Esri` \| `Here`
1446
+ # Valid values include:
1439
1447
  #
1440
- # For more information about data providers, see [Amazon Location
1441
- # Service data providers][1].
1448
+ # * `Esri` – For additional information about [Esri][1]'s coverage in
1449
+ # your region of interest, see [Esri details on street networks and
1450
+ # traffic coverage][2].
1442
1451
  #
1452
+ # * `Here` – For additional information about [HERE
1453
+ # Technologies][3]'s coverage in your region of interest, see [HERE
1454
+ # car routing coverage][4] and [HERE truck routing coverage][5].
1443
1455
  #
1456
+ # For additional information , see [Data providers][6] on the *Amazon
1457
+ # Location Service Developer Guide*.
1444
1458
  #
1445
- # [1]: https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html
1459
+ #
1460
+ #
1461
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/esri.html
1462
+ # [2]: https://doc.arcgis.com/en/arcgis-online/reference/network-coverage.htm
1463
+ # [3]: https://docs.aws.amazon.com/location/latest/developerguide/HERE.html
1464
+ # [4]: https://developer.here.com/documentation/routing-api/dev_guide/topics/coverage/car-routing.html
1465
+ # [5]: https://developer.here.com/documentation/routing-api/dev_guide/topics/coverage/truck-routing.html
1466
+ # [6]: https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html
1446
1467
  # @return [String]
1447
1468
  #
1448
1469
  # @!attribute [rw] description
@@ -1684,6 +1705,24 @@ module Aws::LocationService
1684
1705
 
1685
1706
  # Specifies the data storage option chosen for requesting Places.
1686
1707
  #
1708
+ # When using Amazon Location Places:
1709
+ #
1710
+ # * If using HERE Technologies as a data provider, you can't store
1711
+ # results for locations in Japan by setting `IntendedUse` to
1712
+ # `Storage`. parameter.
1713
+ #
1714
+ # * Under the `MobileAssetTracking` or `MobilAssetManagement` pricing
1715
+ # plan, you can't store results from your place index resources by
1716
+ # setting `IntendedUse` to `Storage`. This returns a validation
1717
+ # exception error.
1718
+ #
1719
+ # For more information, see the [AWS Service Terms][1] for Amazon
1720
+ # Location Service.
1721
+ #
1722
+ #
1723
+ #
1724
+ # [1]: https://aws.amazon.com/service-terms/
1725
+ #
1687
1726
  # @note When making an API call, you may pass DataSourceConfiguration
1688
1727
  # data as a hash:
1689
1728
  #
@@ -1702,10 +1741,6 @@ module Aws::LocationService
1702
1741
  # * `Storage` specifies that the result can be cached or stored in a
1703
1742
  # database.
1704
1743
  #
1705
- # Place index resources using HERE as a data provider can't be
1706
- # configured to store results for locations in Japan when choosing
1707
- # `Storage` for the `IntendedUse` parameter.
1708
- #
1709
1744
  # Default value: `SingleUse`
1710
1745
  # @return [String]
1711
1746
  #
@@ -1972,8 +2007,8 @@ module Aws::LocationService
1972
2007
  # @return [String]
1973
2008
  #
1974
2009
  # @!attribute [rw] map_arn
1975
- # The Amazon Resource Name (ARN) for the map resource. Used when you
1976
- # need to specify a resource across all AWS.
2010
+ # The Amazon Resource Name (ARN) for the map resource. Used to specify
2011
+ # a resource across all AWS.
1977
2012
  #
1978
2013
  # * Format example: `arn:aws:geo:region:account-id:maps/ExampleMap`
1979
2014
  #
@@ -2073,7 +2108,7 @@ module Aws::LocationService
2073
2108
  #
2074
2109
  # @!attribute [rw] index_arn
2075
2110
  # The Amazon Resource Name (ARN) for the place index resource. Used to
2076
- # specify a resource across all AWS.
2111
+ # specify a resource across AWS.
2077
2112
  #
2078
2113
  # * Format example:
2079
2114
  # `arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex`
@@ -2739,7 +2774,36 @@ module Aws::LocationService
2739
2774
  #
2740
2775
  # @!attribute [rw] font_stack
2741
2776
  # A comma-separated list of fonts to load glyphs from in order of
2742
- # preference.. For example, `Noto Sans, Arial Unicode`.
2777
+ # preference. For example, `Noto Sans Regular, Arial Unicode`.
2778
+ #
2779
+ # Valid fonts for [Esri][1] styles:
2780
+ #
2781
+ # * VectorEsriDarkGrayCanvas – `Ubuntu Medium Italic` \| `Ubuntu
2782
+ # Medium` \| `Ubuntu Italic` \| `Ubuntu Regular` \| `Ubuntu Bold`
2783
+ #
2784
+ # * VectorEsriLightGrayCanvas – `Ubuntu Italic` \| `Ubuntu Regular` \|
2785
+ # `Ubuntu Light` \| `Ubuntu Bold`
2786
+ #
2787
+ # * VectorEsriTopographic – `Noto Sans Italic` \| `Noto Sans Regular`
2788
+ # \| `Noto Sans Bold` \| `Noto Serif Regular` \| `Roboto Condensed
2789
+ # Light Italic`
2790
+ #
2791
+ # * VectorEsriStreets – `Arial Regular` \| `Arial Italic` \| `Arial
2792
+ # Bold`
2793
+ #
2794
+ # * VectorEsriNavigation – `Arial Regular` \| `Arial Italic` \| `Arial
2795
+ # Bold`
2796
+ #
2797
+ # Valid fonts for [HERE Technologies][2] styles:
2798
+ #
2799
+ # * `VectorHereBerlin` – `Fira GO Regular` \| `Fira GO Bold`
2800
+ #
2801
+ # ^
2802
+ #
2803
+ #
2804
+ #
2805
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/esri.html
2806
+ # [2]: https://docs.aws.amazon.com/location/latest/developerguide/HERE.html
2743
2807
  # @return [String]
2744
2808
  #
2745
2809
  # @!attribute [rw] font_unicode_range
@@ -2943,8 +3007,8 @@ module Aws::LocationService
2943
3007
  end
2944
3008
 
2945
3009
  # Contains the calculated route's details for each path between a pair
2946
- # of positions. The number of legs returned corresponds to one less than
2947
- # the total number of positions in the request.
3010
+ # of positions. The number of legs returned corresponds to one fewer
3011
+ # than the total number of positions in the request.
2948
3012
  #
2949
3013
  # For example, a route with a departure position and destination
2950
3014
  # position returns one leg with the positions [snapped to a nearby
@@ -2955,7 +3019,7 @@ module Aws::LocationService
2955
3019
  # * The `EndPosition` is the destination position.
2956
3020
  #
2957
3021
  # A route with a waypoint between the departure and destination position
2958
- # returns two legs with the positions snapped to a nearby road.:
3022
+ # returns two legs with the positions snapped to a nearby road:
2959
3023
  #
2960
3024
  # * Leg 1: The `StartPosition` is the departure position . The
2961
3025
  # `EndPosition` is the waypoint positon.
@@ -3720,6 +3784,11 @@ module Aws::LocationService
3720
3784
  # @!attribute [rw] resource_arn
3721
3785
  # The Amazon Resource Name (ARN) of the resource whose tags you want
3722
3786
  # to retrieve.
3787
+ #
3788
+ # * Format example:
3789
+ # `arn:aws:geo:region:account-id:resourcetype/ExampleResource`
3790
+ #
3791
+ # ^
3723
3792
  # @return [String]
3724
3793
  #
3725
3794
  # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListTagsForResourceRequest AWS API Documentation
@@ -3731,8 +3800,12 @@ module Aws::LocationService
3731
3800
  end
3732
3801
 
3733
3802
  # @!attribute [rw] tags
3734
- # The mapping from tag key to tag value for each tag associated with
3735
- # the specified resource.
3803
+ # Tags that have been applied to the specified resource. Tags are
3804
+ # mapped from the tag key to the tag value: `"TagKey" : "TagValue"`.
3805
+ #
3806
+ # * Format example: `\{"tag1" : "value1", "tag2" : "value2"\} `
3807
+ #
3808
+ # ^
3736
3809
  # @return [Hash<String,String>]
3737
3810
  #
3738
3811
  # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListTagsForResourceResponse AWS API Documentation
@@ -3922,21 +3995,59 @@ module Aws::LocationService
3922
3995
  #
3923
3996
  # @!attribute [rw] style
3924
3997
  # Specifies the map style selected from an available data provider.
3998
+ # For additional information on each map style and to preview each map
3999
+ # style, see [Esri map
4000
+ # styles](location/latest/developerguide/esri.html#esri-map-styles)
4001
+ # and [HERE map
4002
+ # styles](location/latest/developerguide/HERE.html#HERE-map-styles).
3925
4003
  #
3926
- # Valid styles: `RasterEsriImagery`, `VectorEsriStreets`,
3927
- # `VectorEsriTopographic`, `VectorEsriNavigation`,
3928
- # `VectorEsriDarkGrayCanvas`, `VectorEsriLightGrayCanvas`,
3929
- # `VectorHereBerlin`.
4004
+ # Valid [Esri][1] styles:
3930
4005
  #
3931
- # <note markdown="1"> When using HERE as your data provider, and selecting the Style
3932
- # `VectorHereBerlin`, you may not use HERE Maps for Asset Management.
3933
- # See the [AWS Service Terms][1] for Amazon Location Service.
4006
+ # * `VectorEsriDarkGrayCanvas` The Esri Dark Gray Canvas map style.
4007
+ # A vector basemap with a dark gray, neutral background with minimal
4008
+ # colors, labels, and features that's designed to draw attention to
4009
+ # your thematic content.
3934
4010
  #
3935
- # </note>
4011
+ # * `RasterEsriImagery` – The Esri Imagery map style. A raster basemap
4012
+ # that provides one meter or better satellite and aerial imagery in
4013
+ # many parts of the world and lower resolution satellite imagery
4014
+ # worldwide.
4015
+ #
4016
+ # * `VectorEsriLightGrayCanvas` – The Esri Light Gray Canvas map
4017
+ # style, which provides a detailed vector basemap with a light gray,
4018
+ # neutral background style with minimal colors, labels, and features
4019
+ # that's designed to draw attention to your thematic content.
4020
+ #
4021
+ # * `VectorEsriTopographic` – The Esri Light map style, which provides
4022
+ # a detailed vector basemap with a classic Esri map style.
4023
+ #
4024
+ # * `VectorEsriStreets` – The Esri World Streets map style, which
4025
+ # provides a detailed vector basemap for the world symbolized with a
4026
+ # classic Esri street map style. The vector tile layer is similar in
4027
+ # content and style to the World Street Map raster map.
4028
+ #
4029
+ # * `VectorEsriNavigation` – The Esri World Navigation map style,
4030
+ # which provides a detailed basemap for the world symbolized with a
4031
+ # custom navigation map style that's designed for use during the
4032
+ # day in mobile devices.
4033
+ #
4034
+ # Valid [HERE Technologies][2] styles:
4035
+ #
4036
+ # * `VectorHereBerlin` – The HERE Berlin map style is a high contrast
4037
+ # detailed base map of the world that blends 3D and 2D rendering.
4038
+ #
4039
+ # <note markdown="1"> When using HERE as your data provider, and selecting the Style
4040
+ # `VectorHereBerlin`, you may not use HERE Technologies maps for
4041
+ # Asset Management. See the [AWS Service Terms][3] for Amazon
4042
+ # Location Service.
4043
+ #
4044
+ # </note>
3936
4045
  #
3937
4046
  #
3938
4047
  #
3939
- # [1]: https://aws.amazon.com/service-terms/
4048
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/esri.html
4049
+ # [2]: https://docs.aws.amazon.com/location/latest/developerguide/HERE.html
4050
+ # [3]: https://aws.amazon.com/service-terms/
3940
4051
  # @return [String]
3941
4052
  #
3942
4053
  # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/MapConfiguration AWS API Documentation
@@ -4435,6 +4546,26 @@ module Aws::LocationService
4435
4546
  include Aws::Structure
4436
4547
  end
4437
4548
 
4549
+ # The operation was denied because the request would exceed the maximum
4550
+ # [quota][1] set for Amazon Location Service.
4551
+ #
4552
+ #
4553
+ #
4554
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/location-quotas.html
4555
+ #
4556
+ # @!attribute [rw] message
4557
+ # A message with the reason for the service quota exceeded exception
4558
+ # error.
4559
+ # @return [String]
4560
+ #
4561
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ServiceQuotaExceededException AWS API Documentation
4562
+ #
4563
+ class ServiceQuotaExceededException < Struct.new(
4564
+ :message)
4565
+ SENSITIVE = []
4566
+ include Aws::Structure
4567
+ end
4568
+
4438
4569
  # Represents an element of a leg within a route. A step contains
4439
4570
  # instructions for how to move to the next step in the leg.
4440
4571
  #
@@ -4495,11 +4626,20 @@ module Aws::LocationService
4495
4626
  # @!attribute [rw] resource_arn
4496
4627
  # The Amazon Resource Name (ARN) of the resource whose tags you want
4497
4628
  # to update.
4629
+ #
4630
+ # * Format example:
4631
+ # `arn:aws:geo:region:account-id:resourcetype/ExampleResource`
4632
+ #
4633
+ # ^
4498
4634
  # @return [String]
4499
4635
  #
4500
4636
  # @!attribute [rw] tags
4501
- # The mapping from tag key to tag value for each tag associated with
4502
- # the specified resource.
4637
+ # Tags that have been applied to the specified resource. Tags are
4638
+ # mapped from the tag key to the tag value: `"TagKey" : "TagValue"`.
4639
+ #
4640
+ # * Format example: `\{"tag1" : "value1", "tag2" : "value2"\} `
4641
+ #
4642
+ # ^
4503
4643
  # @return [Hash<String,String>]
4504
4644
  #
4505
4645
  # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/TagResourceRequest AWS API Documentation
@@ -4515,7 +4655,7 @@ module Aws::LocationService
4515
4655
  #
4516
4656
  class TagResourceResponse < Aws::EmptyStructure; end
4517
4657
 
4518
- # The request was denied due to request throttling.
4658
+ # The request was denied because of request throttling.
4519
4659
  #
4520
4660
  # @!attribute [rw] message
4521
4661
  # @return [String]
@@ -4630,10 +4770,15 @@ module Aws::LocationService
4630
4770
  # @!attribute [rw] resource_arn
4631
4771
  # The Amazon Resource Name (ARN) of the resource from which you want
4632
4772
  # to remove tags.
4773
+ #
4774
+ # * Format example:
4775
+ # `arn:aws:geo:region:account-id:resourcetype/ExampleResource`
4776
+ #
4777
+ # ^
4633
4778
  # @return [String]
4634
4779
  #
4635
4780
  # @!attribute [rw] tag_keys
4636
- # The list of tag keys to remove from the resource.
4781
+ # The list of tag keys to remove from the specified resource.
4637
4782
  # @return [Array<String>]
4638
4783
  #
4639
4784
  # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UntagResourceRequest AWS API Documentation
@@ -4649,6 +4794,422 @@ module Aws::LocationService
4649
4794
  #
4650
4795
  class UntagResourceResponse < Aws::EmptyStructure; end
4651
4796
 
4797
+ # @note When making an API call, you may pass UpdateGeofenceCollectionRequest
4798
+ # data as a hash:
4799
+ #
4800
+ # {
4801
+ # collection_name: "ResourceName", # required
4802
+ # description: "ResourceDescription",
4803
+ # pricing_plan: "RequestBasedUsage", # accepts RequestBasedUsage, MobileAssetTracking, MobileAssetManagement
4804
+ # pricing_plan_data_source: "String",
4805
+ # }
4806
+ #
4807
+ # @!attribute [rw] collection_name
4808
+ # The name of the geofence collection to update.
4809
+ # @return [String]
4810
+ #
4811
+ # @!attribute [rw] description
4812
+ # Updates the description for the geofence collection.
4813
+ # @return [String]
4814
+ #
4815
+ # @!attribute [rw] pricing_plan
4816
+ # Updates the pricing plan for the geofence collection.
4817
+ #
4818
+ # For more information about each pricing plan option restrictions,
4819
+ # see [Amazon Location Service pricing][1].
4820
+ #
4821
+ #
4822
+ #
4823
+ # [1]: https://aws.amazon.com/location/pricing/
4824
+ # @return [String]
4825
+ #
4826
+ # @!attribute [rw] pricing_plan_data_source
4827
+ # Updates the data provider for the geofence collection.
4828
+ #
4829
+ # A required value for the following pricing plans:
4830
+ # `MobileAssetTracking`\| `MobileAssetManagement`
4831
+ #
4832
+ # For more information about [data providers][1] and [pricing
4833
+ # plans][2], see the Amazon Location Service product page.
4834
+ #
4835
+ # <note markdown="1"> This can only be updated when updating the `PricingPlan` in the same
4836
+ # request.
4837
+ #
4838
+ # Amazon Location Service uses `PricingPlanDataSource` to calculate
4839
+ # billing for your geofence collection. Your data won't be shared
4840
+ # with the data provider, and will remain in your AWS account and
4841
+ # Region unless you move it.
4842
+ #
4843
+ # </note>
4844
+ #
4845
+ #
4846
+ #
4847
+ # [1]: https://aws.amazon.com/location/data-providers/
4848
+ # [2]: https://aws.amazon.com/location/pricing/
4849
+ # @return [String]
4850
+ #
4851
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UpdateGeofenceCollectionRequest AWS API Documentation
4852
+ #
4853
+ class UpdateGeofenceCollectionRequest < Struct.new(
4854
+ :collection_name,
4855
+ :description,
4856
+ :pricing_plan,
4857
+ :pricing_plan_data_source)
4858
+ SENSITIVE = []
4859
+ include Aws::Structure
4860
+ end
4861
+
4862
+ # @!attribute [rw] collection_arn
4863
+ # The Amazon Resource Name (ARN) of the updated geofence collection.
4864
+ # Used to specify a resource across AWS.
4865
+ #
4866
+ # * Format example:
4867
+ # `arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection`
4868
+ #
4869
+ # ^
4870
+ # @return [String]
4871
+ #
4872
+ # @!attribute [rw] collection_name
4873
+ # The name of the updated geofence collection.
4874
+ # @return [String]
4875
+ #
4876
+ # @!attribute [rw] update_time
4877
+ # The time when the geofence collection was last updated in [ISO
4878
+ # 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`
4879
+ #
4880
+ #
4881
+ #
4882
+ # [1]: https://www.iso.org/iso-8601-date-and-time-format.html
4883
+ # @return [Time]
4884
+ #
4885
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UpdateGeofenceCollectionResponse AWS API Documentation
4886
+ #
4887
+ class UpdateGeofenceCollectionResponse < Struct.new(
4888
+ :collection_arn,
4889
+ :collection_name,
4890
+ :update_time)
4891
+ SENSITIVE = []
4892
+ include Aws::Structure
4893
+ end
4894
+
4895
+ # @note When making an API call, you may pass UpdateMapRequest
4896
+ # data as a hash:
4897
+ #
4898
+ # {
4899
+ # description: "ResourceDescription",
4900
+ # map_name: "ResourceName", # required
4901
+ # pricing_plan: "RequestBasedUsage", # accepts RequestBasedUsage, MobileAssetTracking, MobileAssetManagement
4902
+ # }
4903
+ #
4904
+ # @!attribute [rw] description
4905
+ # Updates the description for the map resource.
4906
+ # @return [String]
4907
+ #
4908
+ # @!attribute [rw] map_name
4909
+ # The name of the map resource to update.
4910
+ # @return [String]
4911
+ #
4912
+ # @!attribute [rw] pricing_plan
4913
+ # Updates the pricing plan for the map resource.
4914
+ #
4915
+ # For more information about each pricing plan option restrictions,
4916
+ # see [Amazon Location Service pricing][1].
4917
+ #
4918
+ #
4919
+ #
4920
+ # [1]: https://aws.amazon.com/location/pricing/
4921
+ # @return [String]
4922
+ #
4923
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UpdateMapRequest AWS API Documentation
4924
+ #
4925
+ class UpdateMapRequest < Struct.new(
4926
+ :description,
4927
+ :map_name,
4928
+ :pricing_plan)
4929
+ SENSITIVE = []
4930
+ include Aws::Structure
4931
+ end
4932
+
4933
+ # @!attribute [rw] map_arn
4934
+ # The Amazon Resource Name (ARN) of the updated map resource. Used to
4935
+ # specify a resource across AWS.
4936
+ #
4937
+ # * Format example: `arn:aws:geo:region:account-id:maps/ExampleMap`
4938
+ #
4939
+ # ^
4940
+ # @return [String]
4941
+ #
4942
+ # @!attribute [rw] map_name
4943
+ # The name of the updated map resource.
4944
+ # @return [String]
4945
+ #
4946
+ # @!attribute [rw] update_time
4947
+ # The timestamp for when the map resource was last updated in [ ISO
4948
+ # 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`.
4949
+ #
4950
+ #
4951
+ #
4952
+ # [1]: https://www.iso.org/iso-8601-date-and-time-format.html
4953
+ # @return [Time]
4954
+ #
4955
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UpdateMapResponse AWS API Documentation
4956
+ #
4957
+ class UpdateMapResponse < Struct.new(
4958
+ :map_arn,
4959
+ :map_name,
4960
+ :update_time)
4961
+ SENSITIVE = []
4962
+ include Aws::Structure
4963
+ end
4964
+
4965
+ # @note When making an API call, you may pass UpdatePlaceIndexRequest
4966
+ # data as a hash:
4967
+ #
4968
+ # {
4969
+ # data_source_configuration: {
4970
+ # intended_use: "SingleUse", # accepts SingleUse, Storage
4971
+ # },
4972
+ # description: "ResourceDescription",
4973
+ # index_name: "ResourceName", # required
4974
+ # pricing_plan: "RequestBasedUsage", # accepts RequestBasedUsage, MobileAssetTracking, MobileAssetManagement
4975
+ # }
4976
+ #
4977
+ # @!attribute [rw] data_source_configuration
4978
+ # Updates the data storage option for the place index resource.
4979
+ # @return [Types::DataSourceConfiguration]
4980
+ #
4981
+ # @!attribute [rw] description
4982
+ # Updates the description for the place index resource.
4983
+ # @return [String]
4984
+ #
4985
+ # @!attribute [rw] index_name
4986
+ # The name of the place index resource to update.
4987
+ # @return [String]
4988
+ #
4989
+ # @!attribute [rw] pricing_plan
4990
+ # Updates the pricing plan for the place index resource.
4991
+ #
4992
+ # For more information about each pricing plan option restrictions,
4993
+ # see [Amazon Location Service pricing][1].
4994
+ #
4995
+ #
4996
+ #
4997
+ # [1]: https://aws.amazon.com/location/pricing/
4998
+ # @return [String]
4999
+ #
5000
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UpdatePlaceIndexRequest AWS API Documentation
5001
+ #
5002
+ class UpdatePlaceIndexRequest < Struct.new(
5003
+ :data_source_configuration,
5004
+ :description,
5005
+ :index_name,
5006
+ :pricing_plan)
5007
+ SENSITIVE = []
5008
+ include Aws::Structure
5009
+ end
5010
+
5011
+ # @!attribute [rw] index_arn
5012
+ # The Amazon Resource Name (ARN) of the upated place index resource.
5013
+ # Used to specify a resource across AWS.
5014
+ #
5015
+ # * Format example: `arn:aws:geo:region:account-id:place-
5016
+ # index/ExamplePlaceIndex`
5017
+ #
5018
+ # ^
5019
+ # @return [String]
5020
+ #
5021
+ # @!attribute [rw] index_name
5022
+ # The name of the updated place index resource.
5023
+ # @return [String]
5024
+ #
5025
+ # @!attribute [rw] update_time
5026
+ # The timestamp for when the place index resource was last updated in
5027
+ # [ ISO 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`.
5028
+ #
5029
+ #
5030
+ #
5031
+ # [1]: https://www.iso.org/iso-8601-date-and-time-format.html
5032
+ # @return [Time]
5033
+ #
5034
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UpdatePlaceIndexResponse AWS API Documentation
5035
+ #
5036
+ class UpdatePlaceIndexResponse < Struct.new(
5037
+ :index_arn,
5038
+ :index_name,
5039
+ :update_time)
5040
+ SENSITIVE = []
5041
+ include Aws::Structure
5042
+ end
5043
+
5044
+ # @note When making an API call, you may pass UpdateRouteCalculatorRequest
5045
+ # data as a hash:
5046
+ #
5047
+ # {
5048
+ # calculator_name: "ResourceName", # required
5049
+ # description: "ResourceDescription",
5050
+ # pricing_plan: "RequestBasedUsage", # accepts RequestBasedUsage, MobileAssetTracking, MobileAssetManagement
5051
+ # }
5052
+ #
5053
+ # @!attribute [rw] calculator_name
5054
+ # The name of the route calculator resource to update.
5055
+ # @return [String]
5056
+ #
5057
+ # @!attribute [rw] description
5058
+ # Updates the description for the route calculator resource.
5059
+ # @return [String]
5060
+ #
5061
+ # @!attribute [rw] pricing_plan
5062
+ # Updates the pricing plan for the route calculator resource.
5063
+ #
5064
+ # For more information about each pricing plan option restrictions,
5065
+ # see [Amazon Location Service pricing][1].
5066
+ #
5067
+ #
5068
+ #
5069
+ # [1]: https://aws.amazon.com/location/pricing/
5070
+ # @return [String]
5071
+ #
5072
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UpdateRouteCalculatorRequest AWS API Documentation
5073
+ #
5074
+ class UpdateRouteCalculatorRequest < Struct.new(
5075
+ :calculator_name,
5076
+ :description,
5077
+ :pricing_plan)
5078
+ SENSITIVE = []
5079
+ include Aws::Structure
5080
+ end
5081
+
5082
+ # @!attribute [rw] calculator_arn
5083
+ # The Amazon Resource Name (ARN) of the updated route calculator
5084
+ # resource. Used to specify a resource across AWS.
5085
+ #
5086
+ # * Format example: `arn:aws:geo:region:account-id:route-
5087
+ # calculator/ExampleCalculator`
5088
+ #
5089
+ # ^
5090
+ # @return [String]
5091
+ #
5092
+ # @!attribute [rw] calculator_name
5093
+ # The name of the updated route calculator resource.
5094
+ # @return [String]
5095
+ #
5096
+ # @!attribute [rw] update_time
5097
+ # The timestamp for when the route calculator was last updated in [
5098
+ # ISO 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`.
5099
+ #
5100
+ #
5101
+ #
5102
+ # [1]: https://www.iso.org/iso-8601-date-and-time-format.html
5103
+ # @return [Time]
5104
+ #
5105
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UpdateRouteCalculatorResponse AWS API Documentation
5106
+ #
5107
+ class UpdateRouteCalculatorResponse < Struct.new(
5108
+ :calculator_arn,
5109
+ :calculator_name,
5110
+ :update_time)
5111
+ SENSITIVE = []
5112
+ include Aws::Structure
5113
+ end
5114
+
5115
+ # @note When making an API call, you may pass UpdateTrackerRequest
5116
+ # data as a hash:
5117
+ #
5118
+ # {
5119
+ # description: "ResourceDescription",
5120
+ # pricing_plan: "RequestBasedUsage", # accepts RequestBasedUsage, MobileAssetTracking, MobileAssetManagement
5121
+ # pricing_plan_data_source: "String",
5122
+ # tracker_name: "ResourceName", # required
5123
+ # }
5124
+ #
5125
+ # @!attribute [rw] description
5126
+ # Updates the description for the tracker resource.
5127
+ # @return [String]
5128
+ #
5129
+ # @!attribute [rw] pricing_plan
5130
+ # Updates the pricing plan for the tracker resource.
5131
+ #
5132
+ # For more information about each pricing plan option restrictions,
5133
+ # see [Amazon Location Service pricing][1].
5134
+ #
5135
+ #
5136
+ #
5137
+ # [1]: https://aws.amazon.com/location/pricing/
5138
+ # @return [String]
5139
+ #
5140
+ # @!attribute [rw] pricing_plan_data_source
5141
+ # Updates the data provider for the tracker resource.
5142
+ #
5143
+ # A required value for the following pricing plans:
5144
+ # `MobileAssetTracking`\| `MobileAssetManagement`
5145
+ #
5146
+ # For more information about [data providers][1] and [pricing
5147
+ # plans][2], see the Amazon Location Service product page
5148
+ #
5149
+ # <note markdown="1"> This can only be updated when updating the `PricingPlan` in the same
5150
+ # request.
5151
+ #
5152
+ # Amazon Location Service uses `PricingPlanDataSource` to calculate
5153
+ # billing for your tracker resource. Your data won't be shared with
5154
+ # the data provider, and will remain in your AWS account and Region
5155
+ # unless you move it.
5156
+ #
5157
+ # </note>
5158
+ #
5159
+ #
5160
+ #
5161
+ # [1]: https://aws.amazon.com/location/data-providers/
5162
+ # [2]: https://aws.amazon.com/location/pricing/
5163
+ # @return [String]
5164
+ #
5165
+ # @!attribute [rw] tracker_name
5166
+ # The name of the tracker resource to update.
5167
+ # @return [String]
5168
+ #
5169
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UpdateTrackerRequest AWS API Documentation
5170
+ #
5171
+ class UpdateTrackerRequest < Struct.new(
5172
+ :description,
5173
+ :pricing_plan,
5174
+ :pricing_plan_data_source,
5175
+ :tracker_name)
5176
+ SENSITIVE = []
5177
+ include Aws::Structure
5178
+ end
5179
+
5180
+ # @!attribute [rw] tracker_arn
5181
+ # The Amazon Resource Name (ARN) of the updated tracker resource. Used
5182
+ # to specify a resource across AWS.
5183
+ #
5184
+ # * Format example:
5185
+ # `arn:aws:geo:region:account-id:tracker/ExampleTracker`
5186
+ #
5187
+ # ^
5188
+ # @return [String]
5189
+ #
5190
+ # @!attribute [rw] tracker_name
5191
+ # The name of the updated tracker resource.
5192
+ # @return [String]
5193
+ #
5194
+ # @!attribute [rw] update_time
5195
+ # The timestamp for when the tracker resource was last updated in [
5196
+ # ISO 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`.
5197
+ #
5198
+ #
5199
+ #
5200
+ # [1]: https://www.iso.org/iso-8601-date-and-time-format.html
5201
+ # @return [Time]
5202
+ #
5203
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UpdateTrackerResponse AWS API Documentation
5204
+ #
5205
+ class UpdateTrackerResponse < Struct.new(
5206
+ :tracker_arn,
5207
+ :tracker_name,
5208
+ :update_time)
5209
+ SENSITIVE = []
5210
+ include Aws::Structure
5211
+ end
5212
+
4652
5213
  # The input failed to meet the constraints specified by the AWS service.
4653
5214
  #
4654
5215
  # @!attribute [rw] field_list