aws-sdk-locationservice 1.16.0 → 1.17.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d4adbe650ceebc191b06aa89c2ac44c8da907d11cfef681240bcb3dd4cc691e
4
- data.tar.gz: cf9d9352fa4c58f8b43093863fd508a9f1471c17d0332cbf7d9d14be323d40fd
3
+ metadata.gz: d9ba951a4c1ef0577080589163a6a536705777f8c50ec3278623cfde54f377a9
4
+ data.tar.gz: 3b299914d4b91a6978a0c112d52c6daff0b861ad7d525679d3a2836a3116ecc5
5
5
  SHA512:
6
- metadata.gz: e406af614c552a95b155c39072a263f978a3be5ecb4cb35bf0b4fd23abc68219034ccb2761687bedb926995f94afc92cfb99bd5fe2f6ef3919534f0826fef86e
7
- data.tar.gz: 255b535f7def2e5ec86e534b9546b762d4ff9f4bf1c0d440c893cd565a8efce88ea7136df58dd6978f1171b3a645542c62106de3414d4188b750f639e656b71d
6
+ metadata.gz: 47d6cc691402dea73ec8e9fa1e043f10d9fd9cb4f81da485defc56d0ea443f5306db3e60dec4cd4813de8518d6e4d4416c90c241ae8dad207855a91aae82e155
7
+ data.tar.gz: a75055706b33d46538c9c21e57e0089b4920a3e5eb3076ce233fc1b562698222b7a3ee2e8e9239ef7f317769b5ef8562cb07d69b94abe2b0f1e1fd7a8e5a45a8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.17.0 (2022-01-18)
5
+ ------------------
6
+
7
+ * Feature - This release adds the CalculateRouteMatrix API which calculates routes for the provided departure and destination positions. The release also deprecates the use of pricing plan across all verticals.
8
+
4
9
  1.16.0 (2021-12-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.16.0
1
+ 1.17.0
@@ -723,7 +723,7 @@ module Aws::LocationService
723
723
  end
724
724
 
725
725
  # [Calculates a route][1] given the following required parameters:
726
- # `DeparturePostiton` and `DestinationPosition`. Requires that you first
726
+ # `DeparturePosition` and `DestinationPosition`. Requires that you first
727
727
  # [create a route calculator resource][2].
728
728
  #
729
729
  # By default, a request that doesn't specify a departure time uses the
@@ -733,27 +733,25 @@ module Aws::LocationService
733
733
  # Additional options include:
734
734
  #
735
735
  # * [Specifying a departure time][3] using either `DepartureTime` or
736
- # `DepartureNow`. This calculates a route based on predictive traffic
736
+ # `DepartNow`. This calculates a route based on predictive traffic
737
737
  # data at the given time.
738
738
  #
739
- # <note markdown="1"> You can't specify both `DepartureTime` and `DepartureNow` in a
740
- # single request. Specifying both parameters returns a validation
741
- # error.
739
+ # <note markdown="1"> You can't specify both `DepartureTime` and `DepartNow` in a single
740
+ # request. Specifying both parameters returns a validation error.
742
741
  #
743
742
  # </note>
744
743
  #
745
- # * [Specifying a travel mode][4] using TravelMode. This lets you
746
- # specify an additional route preference such as `CarModeOptions` if
744
+ # * [Specifying a travel mode][4] using TravelMode sets the
745
+ # transportation mode used to calculate the routes. This also lets you
746
+ # specify additional route preferences in `CarModeOptions` if
747
747
  # traveling by `Car`, or `TruckModeOptions` if traveling by `Truck`.
748
748
  #
749
749
  #
750
750
  #
751
- #
752
- #
753
751
  # [1]: https://docs.aws.amazon.com/location/latest/developerguide/calculate-route.html
754
752
  # [2]: https://docs.aws.amazon.com/location-routes/latest/APIReference/API_CreateRouteCalculator.html
755
- # [3]: https://docs.aws.amazon.com/location/latest/developerguide/calculate-route.html#departure-time
756
- # [4]: https://docs.aws.amazon.com/location/latest/developerguide/calculate-route.html#travel-mode
753
+ # [3]: https://docs.aws.amazon.com/location/latest/developerguide/departure-time.html
754
+ # [4]: https://docs.aws.amazon.com/location/latest/developerguide/travel-mode.html
757
755
  #
758
756
  # @option params [required, String] :calculator_name
759
757
  # The name of the route calculator resource that you want to use to
@@ -794,7 +792,7 @@ module Aws::LocationService
794
792
  #
795
793
  #
796
794
  # [1]: https://earth-info.nga.mil/GandG/wgs84/index.html
797
- # [2]: https://docs.aws.amazon.com/location/latest/developerguide/calculate-route.html#snap-to-nearby-road
795
+ # [2]: https://docs.aws.amazon.com/location/latest/developerguide/snap-to-nearby-road.html
798
796
  #
799
797
  # @option params [Time,DateTime,Date,Integer,String] :departure_time
800
798
  # Specifies the desired time of departure. Uses the given time to
@@ -833,7 +831,7 @@ module Aws::LocationService
833
831
  #
834
832
  #
835
833
  # [1]: https://earth-info.nga.mil/GandG/wgs84/index.html
836
- # [2]: https://docs.aws.amazon.com/location/latest/developerguide/calculate-route.html#snap-to-nearby-road
834
+ # [2]: https://docs.aws.amazon.com/location/latest/developerguide/snap-to-nearby-road.html
837
835
  #
838
836
  # @option params [String] :distance_unit
839
837
  # Set the unit system to specify the distance.
@@ -852,7 +850,7 @@ module Aws::LocationService
852
850
  # Specifies the mode of transport when calculating a route. Used in
853
851
  # estimating the speed of travel and road compatibility.
854
852
  #
855
- # The `TravelMode` you specify determines how you specify route
853
+ # The `TravelMode` you specify also determines how you specify route
856
854
  # preferences:
857
855
  #
858
856
  # * If traveling by `Car` use the `CarModeOptions` parameter.
@@ -895,7 +893,7 @@ module Aws::LocationService
895
893
  #
896
894
  #
897
895
  #
898
- # [1]: https://docs.aws.amazon.com/location/latest/developerguide/calculate-route.html#snap-to-nearby-road
896
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/snap-to-nearby-road.html
899
897
  #
900
898
  # @return [Types::CalculateRouteResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
901
899
  #
@@ -972,6 +970,236 @@ module Aws::LocationService
972
970
  req.send_request(options)
973
971
  end
974
972
 
973
+ # [ Calculates a route matrix][1] given the following required
974
+ # parameters: `DeparturePositions` and `DestinationPositions`.
975
+ # `CalculateRouteMatrix` calculates routes and returns the travel time
976
+ # and travel distance from each departure position to each destination
977
+ # position in the request. For example, given departure positions A and
978
+ # B, and destination positions X and Y, `CalculateRouteMatrix` will
979
+ # return time and distance for routes from A to X, A to Y, B to X, and B
980
+ # to Y (in that order). The number of results returned (and routes
981
+ # calculated) will be the number of `DeparturePositions` times the
982
+ # number of `DestinationPositions`.
983
+ #
984
+ # <note markdown="1"> Your account is charged for each route calculated, not the number of
985
+ # requests.
986
+ #
987
+ # </note>
988
+ #
989
+ # Requires that you first [create a route calculator resource][2].
990
+ #
991
+ # By default, a request that doesn't specify a departure time uses the
992
+ # best time of day to travel with the best traffic conditions when
993
+ # calculating routes.
994
+ #
995
+ # Additional options include:
996
+ #
997
+ # * [ Specifying a departure time][3] using either `DepartureTime` or
998
+ # `DepartNow`. This calculates routes based on predictive traffic data
999
+ # at the given time.
1000
+ #
1001
+ # <note markdown="1"> You can't specify both `DepartureTime` and `DepartNow` in a single
1002
+ # request. Specifying both parameters returns a validation error.
1003
+ #
1004
+ # </note>
1005
+ #
1006
+ # * [Specifying a travel mode][4] using TravelMode sets the
1007
+ # transportation mode used to calculate the routes. This also lets you
1008
+ # specify additional route preferences in `CarModeOptions` if
1009
+ # traveling by `Car`, or `TruckModeOptions` if traveling by `Truck`.
1010
+ #
1011
+ #
1012
+ #
1013
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/calculate-route-matrix.html
1014
+ # [2]: https://docs.aws.amazon.com/location-routes/latest/APIReference/API_CreateRouteCalculator.html
1015
+ # [3]: https://docs.aws.amazon.com/location/latest/developerguide/departure-time.html
1016
+ # [4]: https://docs.aws.amazon.com/location/latest/developerguide/travel-mode.html
1017
+ #
1018
+ # @option params [required, String] :calculator_name
1019
+ # The name of the route calculator resource that you want to use to
1020
+ # calculate the route matrix.
1021
+ #
1022
+ # @option params [Types::CalculateRouteCarModeOptions] :car_mode_options
1023
+ # Specifies route preferences when traveling by `Car`, such as avoiding
1024
+ # routes that use ferries or tolls.
1025
+ #
1026
+ # Requirements: `TravelMode` must be specified as `Car`.
1027
+ #
1028
+ # @option params [Boolean] :depart_now
1029
+ # Sets the time of departure as the current time. Uses the current time
1030
+ # to calculate the route matrix. You can't set both `DepartureTime` and
1031
+ # `DepartNow`. If neither is set, the best time of day to travel with
1032
+ # the best traffic conditions is used to calculate the route matrix.
1033
+ #
1034
+ # Default Value: `false`
1035
+ #
1036
+ # Valid Values: `false` \| `true`
1037
+ #
1038
+ # @option params [required, Array<Array>] :departure_positions
1039
+ # The list of departure (origin) positions for the route matrix. An
1040
+ # array of points, each of which is itself a 2-value array defined in
1041
+ # [WGS 84][1] format: `[longitude, latitude]`. For example, `[-123.115,
1042
+ # 49.285]`.
1043
+ #
1044
+ # Depending on the data provider selected in the route calculator
1045
+ # resource there may be additional restrictions on the inputs you can
1046
+ # choose. See [ Position restrictions][2] in the *Amazon Location
1047
+ # Service Developer Guide*.
1048
+ #
1049
+ # <note markdown="1"> For route calculators that use Esri as the data provider, if you
1050
+ # specify a departure that's not located on a road, Amazon Location [
1051
+ # moves the position to the nearest road][3]. The snapped value is
1052
+ # available in the result in `SnappedDeparturePositions`.
1053
+ #
1054
+ # </note>
1055
+ #
1056
+ # Valid Values: `[-180 to 180,-90 to 90]`
1057
+ #
1058
+ #
1059
+ #
1060
+ # [1]: https://earth-info.nga.mil/GandG/wgs84/index.html
1061
+ # [2]: https://docs.aws.amazon.com/location/latest/developerguide/calculate-route-matrix.html#matrix-routing-position-limits
1062
+ # [3]: https://docs.aws.amazon.com/location/latest/developerguide/snap-to-nearby-road.html
1063
+ #
1064
+ # @option params [Time,DateTime,Date,Integer,String] :departure_time
1065
+ # Specifies the desired time of departure. Uses the given time to
1066
+ # calculate the route matrix. You can't set both `DepartureTime` and
1067
+ # `DepartNow`. If neither is set, the best time of day to travel with
1068
+ # the best traffic conditions is used to calculate the route matrix.
1069
+ #
1070
+ # <note markdown="1"> Setting a departure time in the past returns a `400
1071
+ # ValidationException` error.
1072
+ #
1073
+ # </note>
1074
+ #
1075
+ # * In [ISO 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`. For example,
1076
+ # `2020–07-2T12:15:20.000Z+01:00`
1077
+ #
1078
+ # ^
1079
+ #
1080
+ #
1081
+ #
1082
+ # [1]: https://www.iso.org/iso-8601-date-and-time-format.html
1083
+ #
1084
+ # @option params [required, Array<Array>] :destination_positions
1085
+ # The list of destination positions for the route matrix. An array of
1086
+ # points, each of which is itself a 2-value array defined in [WGS 84][1]
1087
+ # format: `[longitude, latitude]`. For example, `[-122.339, 47.615]`
1088
+ #
1089
+ # Depending on the data provider selected in the route calculator
1090
+ # resource there may be additional restrictions on the inputs you can
1091
+ # choose. See [ Position restrictions][2] in the *Amazon Location
1092
+ # Service Developer Guide*.
1093
+ #
1094
+ # <note markdown="1"> For route calculators that use Esri as the data provider, if you
1095
+ # specify a destination that's not located on a road, Amazon Location [
1096
+ # moves the position to the nearest road][3]. The snapped value is
1097
+ # available in the result in `SnappedDestinationPositions`.
1098
+ #
1099
+ # </note>
1100
+ #
1101
+ # Valid Values: `[-180 to 180,-90 to 90]`
1102
+ #
1103
+ #
1104
+ #
1105
+ # [1]: https://earth-info.nga.mil/GandG/wgs84/index.html
1106
+ # [2]: https://docs.aws.amazon.com/location/latest/developerguide/calculate-route-matrix.html#matrix-routing-position-limits
1107
+ # [3]: https://docs.aws.amazon.com/location/latest/developerguide/snap-to-nearby-road.html
1108
+ #
1109
+ # @option params [String] :distance_unit
1110
+ # Set the unit system to specify the distance.
1111
+ #
1112
+ # Default Value: `Kilometers`
1113
+ #
1114
+ # @option params [String] :travel_mode
1115
+ # Specifies the mode of transport when calculating a route. Used in
1116
+ # estimating the speed of travel and road compatibility.
1117
+ #
1118
+ # The `TravelMode` you specify also determines how you specify route
1119
+ # preferences:
1120
+ #
1121
+ # * If traveling by `Car` use the `CarModeOptions` parameter.
1122
+ #
1123
+ # * If traveling by `Truck` use the `TruckModeOptions` parameter.
1124
+ #
1125
+ # Default Value: `Car`
1126
+ #
1127
+ # @option params [Types::CalculateRouteTruckModeOptions] :truck_mode_options
1128
+ # Specifies route preferences when traveling by `Truck`, such as
1129
+ # avoiding routes that use ferries or tolls, and truck specifications to
1130
+ # consider when choosing an optimal road.
1131
+ #
1132
+ # Requirements: `TravelMode` must be specified as `Truck`.
1133
+ #
1134
+ # @return [Types::CalculateRouteMatrixResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1135
+ #
1136
+ # * {Types::CalculateRouteMatrixResponse#route_matrix #route_matrix} => Array&lt;Array&lt;Types::RouteMatrixEntry&gt;&gt;
1137
+ # * {Types::CalculateRouteMatrixResponse#snapped_departure_positions #snapped_departure_positions} => Array&lt;Array&lt;Float&gt;&gt;
1138
+ # * {Types::CalculateRouteMatrixResponse#snapped_destination_positions #snapped_destination_positions} => Array&lt;Array&lt;Float&gt;&gt;
1139
+ # * {Types::CalculateRouteMatrixResponse#summary #summary} => Types::CalculateRouteMatrixSummary
1140
+ #
1141
+ # @example Request syntax with placeholder values
1142
+ #
1143
+ # resp = client.calculate_route_matrix({
1144
+ # calculator_name: "ResourceName", # required
1145
+ # car_mode_options: {
1146
+ # avoid_ferries: false,
1147
+ # avoid_tolls: false,
1148
+ # },
1149
+ # depart_now: false,
1150
+ # departure_positions: [ # required
1151
+ # [1.0],
1152
+ # ],
1153
+ # departure_time: Time.now,
1154
+ # destination_positions: [ # required
1155
+ # [1.0],
1156
+ # ],
1157
+ # distance_unit: "Kilometers", # accepts Kilometers, Miles
1158
+ # travel_mode: "Car", # accepts Car, Truck, Walking
1159
+ # truck_mode_options: {
1160
+ # avoid_ferries: false,
1161
+ # avoid_tolls: false,
1162
+ # dimensions: {
1163
+ # height: 1.0,
1164
+ # length: 1.0,
1165
+ # unit: "Meters", # accepts Meters, Feet
1166
+ # width: 1.0,
1167
+ # },
1168
+ # weight: {
1169
+ # total: 1.0,
1170
+ # unit: "Kilograms", # accepts Kilograms, Pounds
1171
+ # },
1172
+ # },
1173
+ # })
1174
+ #
1175
+ # @example Response structure
1176
+ #
1177
+ # resp.route_matrix #=> Array
1178
+ # resp.route_matrix[0] #=> Array
1179
+ # resp.route_matrix[0][0].distance #=> Float
1180
+ # resp.route_matrix[0][0].duration_seconds #=> Float
1181
+ # resp.route_matrix[0][0].error.code #=> String, one of "RouteNotFound", "RouteTooLong", "PositionsNotFound", "DestinationPositionNotFound", "DeparturePositionNotFound", "OtherValidationError"
1182
+ # resp.route_matrix[0][0].error.message #=> String
1183
+ # resp.snapped_departure_positions #=> Array
1184
+ # resp.snapped_departure_positions[0] #=> Array
1185
+ # resp.snapped_departure_positions[0][0] #=> Float
1186
+ # resp.snapped_destination_positions #=> Array
1187
+ # resp.snapped_destination_positions[0] #=> Array
1188
+ # resp.snapped_destination_positions[0][0] #=> Float
1189
+ # resp.summary.data_source #=> String
1190
+ # resp.summary.distance_unit #=> String, one of "Kilometers", "Miles"
1191
+ # resp.summary.error_count #=> Integer
1192
+ # resp.summary.route_count #=> Integer
1193
+ #
1194
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CalculateRouteMatrix AWS API Documentation
1195
+ #
1196
+ # @overload calculate_route_matrix(params = {})
1197
+ # @param [Hash] params ({})
1198
+ def calculate_route_matrix(params = {}, options = {})
1199
+ req = build_request(:calculate_route_matrix, params)
1200
+ req.send_request(options)
1201
+ end
1202
+
975
1203
  # Creates a geofence collection, which manages and stores geofences.
976
1204
  #
977
1205
  # @option params [required, String] :collection_name
@@ -998,40 +1226,11 @@ module Aws::LocationService
998
1226
  # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html
999
1227
  #
1000
1228
  # @option params [String] :pricing_plan
1001
- # Optionally specifies the pricing plan for the geofence collection.
1002
- # Defaults to `RequestBasedUsage`.
1003
- #
1004
- # For additional details and restrictions on each pricing plan option,
1005
- # see the [Amazon Location Service pricing page][1].
1006
- #
1007
- #
1008
- #
1009
- # [1]: https://aws.amazon.com/location/pricing/
1229
+ # No longer used. If included, the only allowed value is
1230
+ # `RequestBasedUsage`.
1010
1231
  #
1011
1232
  # @option params [String] :pricing_plan_data_source
1012
- # Specifies the data provider for the geofence collection.
1013
- #
1014
- # * Required value for the following pricing plans: `MobileAssetTracking
1015
- # `\| `MobileAssetManagement`
1016
- #
1017
- # ^
1018
- #
1019
- # For more information about [Data Providers][1], and [Pricing
1020
- # plans][2], see the Amazon Location Service product page.
1021
- #
1022
- # <note markdown="1"> Amazon Location Service only uses `PricingPlanDataSource` to calculate
1023
- # billing for your geofence collection. Your data won't be shared with
1024
- # the data provider, and will remain in your AWS account or Region
1025
- # unless you move it.
1026
- #
1027
- # </note>
1028
- #
1029
- # Valid Values: `Esri `\| `Here`
1030
- #
1031
- #
1032
- #
1033
- # [1]: https://aws.amazon.com/location/data-providers/
1034
- # [2]: https://aws.amazon.com/location/pricing/
1233
+ # This parameter is no longer used.
1035
1234
  #
1036
1235
  # @option params [Hash<String,String>] :tags
1037
1236
  # Applies one or more tags to the geofence collection. A tag is a
@@ -1092,6 +1291,17 @@ module Aws::LocationService
1092
1291
  # Creates a map resource in your AWS account, which provides map tiles
1093
1292
  # of different styles sourced from global location data providers.
1094
1293
  #
1294
+ # <note markdown="1"> If your application is tracking or routing assets you use in your
1295
+ # business, such as delivery vehicles or employees, you may only use
1296
+ # HERE as your geolocation provider. See section 82 of the [AWS service
1297
+ # terms][1] for more details.
1298
+ #
1299
+ # </note>
1300
+ #
1301
+ #
1302
+ #
1303
+ # [1]: http://aws.amazon.com/service-terms
1304
+ #
1095
1305
  # @option params [required, Types::MapConfiguration] :configuration
1096
1306
  # Specifies the map style selected from an available data provider.
1097
1307
  #
@@ -1111,15 +1321,8 @@ module Aws::LocationService
1111
1321
  # * No spaces allowed. For example, `ExampleMap`.
1112
1322
  #
1113
1323
  # @option params [String] :pricing_plan
1114
- # Optionally specifies the pricing plan for the map resource. Defaults
1115
- # to `RequestBasedUsage`.
1116
- #
1117
- # For additional details and restrictions on each pricing plan option,
1118
- # see [Amazon Location Service pricing][1].
1119
- #
1120
- #
1121
- #
1122
- # [1]: https://aws.amazon.com/location/pricing/
1324
+ # No longer used. If included, the only allowed value is
1325
+ # `RequestBasedUsage`.
1123
1326
  #
1124
1327
  # @option params [Hash<String,String>] :tags
1125
1328
  # Applies one or more tags to the map resource. A tag is a key-value
@@ -1185,6 +1388,17 @@ module Aws::LocationService
1185
1388
  # autosuggestions by using the `SearchPlaceIndexForSuggestions`
1186
1389
  # operation.
1187
1390
  #
1391
+ # <note markdown="1"> If your application is tracking or routing assets you use in your
1392
+ # business, such as delivery vehicles or employees, you may only use
1393
+ # HERE as your geolocation provider. See section 82 of the [AWS service
1394
+ # terms][1] for more details.
1395
+ #
1396
+ # </note>
1397
+ #
1398
+ #
1399
+ #
1400
+ # [1]: http://aws.amazon.com/service-terms
1401
+ #
1188
1402
  # @option params [required, String] :data_source
1189
1403
  # Specifies the geospatial data provider for the new place index.
1190
1404
  #
@@ -1240,15 +1454,8 @@ module Aws::LocationService
1240
1454
  # * No spaces allowed. For example, `ExamplePlaceIndex`.
1241
1455
  #
1242
1456
  # @option params [String] :pricing_plan
1243
- # Optionally specifies the pricing plan for the place index resource.
1244
- # Defaults to `RequestBasedUsage`.
1245
- #
1246
- # For additional details and restrictions on each pricing plan option,
1247
- # see [Amazon Location Service pricing][1].
1248
- #
1249
- #
1250
- #
1251
- # [1]: https://aws.amazon.com/location/pricing/
1457
+ # No longer used. If included, the only allowed value is
1458
+ # `RequestBasedUsage`.
1252
1459
  #
1253
1460
  # @option params [Hash<String,String>] :tags
1254
1461
  # Applies one or more tags to the place index resource. A tag is a
@@ -1315,6 +1522,17 @@ module Aws::LocationService
1315
1522
  # travel time, distance, and get directions. A route calculator sources
1316
1523
  # traffic and road network data from your chosen data provider.
1317
1524
  #
1525
+ # <note markdown="1"> If your application is tracking or routing assets you use in your
1526
+ # business, such as delivery vehicles or employees, you may only use
1527
+ # HERE as your geolocation provider. See section 82 of the [AWS service
1528
+ # terms][1] for more details.
1529
+ #
1530
+ # </note>
1531
+ #
1532
+ #
1533
+ #
1534
+ # [1]: http://aws.amazon.com/service-terms
1535
+ #
1318
1536
  # @option params [required, String] :calculator_name
1319
1537
  # The name of the route calculator resource.
1320
1538
  #
@@ -1363,15 +1581,8 @@ module Aws::LocationService
1363
1581
  # The optional description for the route calculator resource.
1364
1582
  #
1365
1583
  # @option params [String] :pricing_plan
1366
- # Optionally specifies the pricing plan for the route calculator
1367
- # resource. Defaults to `RequestBasedUsage`.
1368
- #
1369
- # For additional details and restrictions on each pricing plan option,
1370
- # see [Amazon Location Service pricing][1].
1371
- #
1372
- #
1373
- #
1374
- # [1]: https://aws.amazon.com/location/pricing/
1584
+ # No longer used. If included, the only allowed value is
1585
+ # `RequestBasedUsage`.
1375
1586
  #
1376
1587
  # @option params [Hash<String,String>] :tags
1377
1588
  # Applies one or more tags to the route calculator resource. A tag is a
@@ -1478,40 +1689,11 @@ module Aws::LocationService
1478
1689
  # `TimeBased`.
1479
1690
  #
1480
1691
  # @option params [String] :pricing_plan
1481
- # Optionally specifies the pricing plan for the tracker resource.
1482
- # Defaults to `RequestBasedUsage`.
1483
- #
1484
- # For additional details and restrictions on each pricing plan option,
1485
- # see [Amazon Location Service pricing][1].
1486
- #
1487
- #
1488
- #
1489
- # [1]: https://aws.amazon.com/location/pricing/
1692
+ # No longer used. If included, the only allowed value is
1693
+ # `RequestBasedUsage`.
1490
1694
  #
1491
1695
  # @option params [String] :pricing_plan_data_source
1492
- # Specifies the data provider for the tracker resource.
1493
- #
1494
- # * Required value for the following pricing plans: `MobileAssetTracking
1495
- # `\| `MobileAssetManagement`
1496
- #
1497
- # ^
1498
- #
1499
- # For more information about [Data Providers][1], and [Pricing
1500
- # plans][2], see the Amazon Location Service product page.
1501
- #
1502
- # <note markdown="1"> Amazon Location Service only uses `PricingPlanDataSource` to calculate
1503
- # billing for your tracker resource. Your data will not be shared with
1504
- # the data provider, and will remain in your AWS account or Region
1505
- # unless you move it.
1506
- #
1507
- # </note>
1508
- #
1509
- # Valid values: `Esri` \| `Here`
1510
- #
1511
- #
1512
- #
1513
- # [1]: https://aws.amazon.com/location/data-providers/
1514
- # [2]: https://aws.amazon.com/location/pricing/
1696
+ # This parameter is no longer used.
1515
1697
  #
1516
1698
  # @option params [Hash<String,String>] :tags
1517
1699
  # Applies one or more tags to the tracker resource. A tag is a key-value
@@ -3311,38 +3493,11 @@ module Aws::LocationService
3311
3493
  # Updates the description for the geofence collection.
3312
3494
  #
3313
3495
  # @option params [String] :pricing_plan
3314
- # Updates the pricing plan for the geofence collection.
3315
- #
3316
- # For more information about each pricing plan option restrictions, see
3317
- # [Amazon Location Service pricing][1].
3318
- #
3319
- #
3320
- #
3321
- # [1]: https://aws.amazon.com/location/pricing/
3496
+ # No longer used. If included, the only allowed value is
3497
+ # `RequestBasedUsage`.
3322
3498
  #
3323
3499
  # @option params [String] :pricing_plan_data_source
3324
- # Updates the data provider for the geofence collection.
3325
- #
3326
- # A required value for the following pricing plans:
3327
- # `MobileAssetTracking`\| `MobileAssetManagement`
3328
- #
3329
- # For more information about [data providers][1] and [pricing plans][2],
3330
- # see the Amazon Location Service product page.
3331
- #
3332
- # <note markdown="1"> This can only be updated when updating the `PricingPlan` in the same
3333
- # request.
3334
- #
3335
- # Amazon Location Service uses `PricingPlanDataSource` to calculate
3336
- # billing for your geofence collection. Your data won't be shared with
3337
- # the data provider, and will remain in your AWS account and Region
3338
- # unless you move it.
3339
- #
3340
- # </note>
3341
- #
3342
- #
3343
- #
3344
- # [1]: https://aws.amazon.com/location/data-providers/
3345
- # [2]: https://aws.amazon.com/location/pricing/
3500
+ # This parameter is no longer used.
3346
3501
  #
3347
3502
  # @return [Types::UpdateGeofenceCollectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3348
3503
  #
@@ -3383,14 +3538,8 @@ module Aws::LocationService
3383
3538
  # The name of the map resource to update.
3384
3539
  #
3385
3540
  # @option params [String] :pricing_plan
3386
- # Updates the pricing plan for the map resource.
3387
- #
3388
- # For more information about each pricing plan option restrictions, see
3389
- # [Amazon Location Service pricing][1].
3390
- #
3391
- #
3392
- #
3393
- # [1]: https://aws.amazon.com/location/pricing/
3541
+ # No longer used. If included, the only allowed value is
3542
+ # `RequestBasedUsage`.
3394
3543
  #
3395
3544
  # @return [Types::UpdateMapResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3396
3545
  #
@@ -3433,14 +3582,8 @@ module Aws::LocationService
3433
3582
  # The name of the place index resource to update.
3434
3583
  #
3435
3584
  # @option params [String] :pricing_plan
3436
- # Updates the pricing plan for the place index resource.
3437
- #
3438
- # For more information about each pricing plan option restrictions, see
3439
- # [Amazon Location Service pricing][1].
3440
- #
3441
- #
3442
- #
3443
- # [1]: https://aws.amazon.com/location/pricing/
3585
+ # No longer used. If included, the only allowed value is
3586
+ # `RequestBasedUsage`.
3444
3587
  #
3445
3588
  # @return [Types::UpdatePlaceIndexResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3446
3589
  #
@@ -3484,14 +3627,8 @@ module Aws::LocationService
3484
3627
  # Updates the description for the route calculator resource.
3485
3628
  #
3486
3629
  # @option params [String] :pricing_plan
3487
- # Updates the pricing plan for the route calculator resource.
3488
- #
3489
- # For more information about each pricing plan option restrictions, see
3490
- # [Amazon Location Service pricing][1].
3491
- #
3492
- #
3493
- #
3494
- # [1]: https://aws.amazon.com/location/pricing/
3630
+ # No longer used. If included, the only allowed value is
3631
+ # `RequestBasedUsage`.
3495
3632
  #
3496
3633
  # @return [Types::UpdateRouteCalculatorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3497
3634
  #
@@ -3556,38 +3693,11 @@ module Aws::LocationService
3556
3693
  # evaluations.
3557
3694
  #
3558
3695
  # @option params [String] :pricing_plan
3559
- # Updates the pricing plan for the tracker resource.
3560
- #
3561
- # For more information about each pricing plan option restrictions, see
3562
- # [Amazon Location Service pricing][1].
3563
- #
3564
- #
3565
- #
3566
- # [1]: https://aws.amazon.com/location/pricing/
3696
+ # No longer used. If included, the only allowed value is
3697
+ # `RequestBasedUsage`.
3567
3698
  #
3568
3699
  # @option params [String] :pricing_plan_data_source
3569
- # Updates the data provider for the tracker resource.
3570
- #
3571
- # A required value for the following pricing plans:
3572
- # `MobileAssetTracking`\| `MobileAssetManagement`
3573
- #
3574
- # For more information about [data providers][1] and [pricing plans][2],
3575
- # see the Amazon Location Service product page
3576
- #
3577
- # <note markdown="1"> This can only be updated when updating the `PricingPlan` in the same
3578
- # request.
3579
- #
3580
- # Amazon Location Service uses `PricingPlanDataSource` to calculate
3581
- # billing for your tracker resource. Your data won't be shared with the
3582
- # data provider, and will remain in your AWS account and Region unless
3583
- # you move it.
3584
- #
3585
- # </note>
3586
- #
3587
- #
3588
- #
3589
- # [1]: https://aws.amazon.com/location/data-providers/
3590
- # [2]: https://aws.amazon.com/location/pricing/
3700
+ # This parameter is no longer used.
3591
3701
  #
3592
3702
  # @option params [required, String] :tracker_name
3593
3703
  # The name of the tracker resource to update.
@@ -3636,7 +3746,7 @@ module Aws::LocationService
3636
3746
  params: params,
3637
3747
  config: config)
3638
3748
  context[:gem_name] = 'aws-sdk-locationservice'
3639
- context[:gem_version] = '1.16.0'
3749
+ context[:gem_version] = '1.17.0'
3640
3750
  Seahorse::Client::Request.new(handlers, context)
3641
3751
  end
3642
3752