aws-sdk-locationservice 1.4.0 → 1.5.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aba7ec73ba9a33848015d7eba1a98c4f116a29d82f19595e2bd3b8ae06f69f2f
4
- data.tar.gz: 3abca69273732b386579cb9ff9006c862bd47a9bd4495a5b975ee4944d3d2474
3
+ metadata.gz: 3b9a496b53b55353435b3220b541343abe5f7bba8ebc8964a442a56900eaa74f
4
+ data.tar.gz: aa33791915aa6852945f400b749408ccdd099db3a0b62deb44b5d4288de0746c
5
5
  SHA512:
6
- metadata.gz: cdcd2d06e1b8d54d87d10bfa9486f381f11ce22dbea910c94b6f24e20faa2add6bc1e2d8eedba96587128e1bea2631fdb732feb075386a59025c0f48d530ca43
7
- data.tar.gz: c14b5b099577774f47f502da0a9c199c99290600e9cd0fbcb1dace53d6d588abddddaa87b6e127bcd8661038d54ba404e6e0480d68ba54fd6ec05cbfd5d46a14
6
+ metadata.gz: 748928910476909d0fdd33d05990bd5f2695f70aeed6f1318ab3837311e1ee95a8f4f62db3c5be53821163890b814e8b73048b4b4531511663c1fe2571dd5be8
7
+ data.tar.gz: 42e4d4bdf805f8e2b9f9e90a8b42900a2b91a8fe97f270bddf92a669a07537551228adb22d77756561c65cfca40d616e7d1c6e37d24bfe10b9e8485ac548db35
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.5.0 (2021-07-19)
5
+ ------------------
6
+
7
+ * Feature - Add five new API operations: UpdateGeofenceCollection, UpdateMap, UpdatePlaceIndex, UpdateRouteCalculator, UpdateTracker.
8
+
4
9
  1.4.0 (2021-05-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.0
1
+ 1.5.0
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-locationservice/customizations'
48
48
  # @!group service
49
49
  module Aws::LocationService
50
50
 
51
- GEM_VERSION = '1.4.0'
51
+ GEM_VERSION = '1.5.0'
52
52
 
53
53
  end
@@ -331,6 +331,9 @@ module Aws::LocationService
331
331
  # resource. This allows the tracker resource to communicate location
332
332
  # data to the linked geofence collection.
333
333
  #
334
+ # You can associate up to five geofence collections to each tracker
335
+ # resource.
336
+ #
334
337
  # <note markdown="1"> Currently not supported — Cross-account configurations, such as
335
338
  # creating associations between a tracker resource in one account and a
336
339
  # geofence collection in another account.
@@ -450,12 +453,21 @@ module Aws::LocationService
450
453
  end
451
454
 
452
455
  # Evaluates device positions against the geofence geometries from a
453
- # given geofence collection. The evaluation determines if the device has
454
- # entered or exited a geofenced area, which publishes ENTER or EXIT
455
- # geofence events to Amazon EventBridge.
456
+ # given geofence collection.
457
+ #
458
+ # This operation always returns an empty response because geofences are
459
+ # asynchronously evaluated. The evaluation determines if the device has
460
+ # entered or exited a geofenced area, and then publishes one of the
461
+ # following events to Amazon EventBridge:
462
+ #
463
+ # * `ENTER` if Amazon Location determines that the tracked device has
464
+ # entered a geofenced area.
456
465
  #
457
- # <note markdown="1"> The last geofence that a device was observed within, if any, is
458
- # tracked for 30 days after the most recent device position update
466
+ # * `EXIT` if Amazon Location determines that the tracked device has
467
+ # exited a geofenced area.
468
+ #
469
+ # <note markdown="1"> The last geofence that a device was observed within is tracked for 30
470
+ # days after the most recent device position update.
459
471
  #
460
472
  # </note>
461
473
  #
@@ -501,7 +513,7 @@ module Aws::LocationService
501
513
  req.send_request(options)
502
514
  end
503
515
 
504
- # A batch request to retrieve all device positions.
516
+ # Lists the latest device positions for requested devices.
505
517
  #
506
518
  # @option params [required, Array<String>] :device_ids
507
519
  # Devices whose position you want to retrieve.
@@ -653,7 +665,7 @@ module Aws::LocationService
653
665
 
654
666
  # [Calculates a route][1] given the following required parameters:
655
667
  # `DeparturePostiton` and `DestinationPosition`. Requires that you first
656
- # [create aroute calculator resource][2]
668
+ # [create a route calculator resource][2]
657
669
  #
658
670
  # By default, a request that doesn't specify a departure time uses the
659
671
  # best time of day to travel with the best traffic conditions when
@@ -671,7 +683,7 @@ module Aws::LocationService
671
683
  # </note>
672
684
  #
673
685
  # * [Specifying a travel mode][4] using TravelMode. This lets you
674
- # specify additional route preference such as `CarModeOptions` if
686
+ # specify an additional route preference such as `CarModeOptions` if
675
687
  # traveling by `Car`, or `TruckModeOptions` if traveling by `Truck`.
676
688
  #
677
689
  #
@@ -1101,31 +1113,40 @@ module Aws::LocationService
1101
1113
  # Specifies the data provider of geospatial data.
1102
1114
  #
1103
1115
  # <note markdown="1"> This field is case-sensitive. Enter the valid values as shown. For
1104
- # example, entering `HERE` will return an error.
1116
+ # example, entering `HERE` returns an error.
1105
1117
  #
1106
1118
  # </note>
1107
1119
  #
1108
1120
  # Valid values include:
1109
1121
  #
1110
- # * `Esri`
1122
+ # * `Esri` – For additional information about [Esri][1]'s coverage in
1123
+ # your region of interest, see [Esri details on geocoding
1124
+ # coverage][2].
1111
1125
  #
1112
- # * `Here`
1126
+ # * `Here` – For additional information about [HERE Technologies][3]'s
1127
+ # coverage in your region of interest, see [HERE details on goecoding
1128
+ # coverage][4].
1113
1129
  #
1114
- # Place index resources using HERE as a data provider can't be used
1115
- # to [store][1] results for locations in Japan. For more information,
1116
- # see the [AWS Service Terms][2] for Amazon Location Service.
1130
+ # Place index resources using HERE Technologies as a data provider
1131
+ # can't [store results][5] for locations in Japan. For more
1132
+ # information, see the [AWS Service Terms][6] for Amazon Location
1133
+ # Service.
1117
1134
  #
1118
- # For additional details on data providers, see the [Amazon Location
1119
- # Service data providers page][3].
1135
+ # For additional information , see [Data providers][7] on the *Amazon
1136
+ # Location Service Developer Guide*.
1120
1137
  #
1121
1138
  #
1122
1139
  #
1123
- # [1]: https://docs.aws.amazon.com/location-places/latest/APIReference/API_DataSourceConfiguration.html
1124
- # [2]: https://aws.amazon.com/service-terms/
1125
- # [3]: https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html
1140
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/esri.html
1141
+ # [2]: https://developers.arcgis.com/rest/geocode/api-reference/geocode-coverage.htm
1142
+ # [3]: https://docs.aws.amazon.com/location/latest/developerguide/HERE.html
1143
+ # [4]: https://developer.here.com/documentation/geocoder/dev_guide/topics/coverage-geocoder.html
1144
+ # [5]: https://docs.aws.amazon.com/location-places/latest/APIReference/API_DataSourceConfiguration.html
1145
+ # [6]: https://aws.amazon.com/service-terms/
1146
+ # [7]: https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html
1126
1147
  #
1127
1148
  # @option params [Types::DataSourceConfiguration] :data_source_configuration
1128
- # Specifies the data storage option for requesting Places.
1149
+ # Specifies the data storage option requesting Places.
1129
1150
  #
1130
1151
  # @option params [String] :description
1131
1152
  # The optional description for the place index resource.
@@ -1234,14 +1255,27 @@ module Aws::LocationService
1234
1255
  #
1235
1256
  # </note>
1236
1257
  #
1237
- # Valid Values: `Esri` \| `Here`
1258
+ # Valid values include:
1259
+ #
1260
+ # * `Esri` – For additional information about [Esri][1]'s coverage in
1261
+ # your region of interest, see [Esri details on street networks and
1262
+ # traffic coverage][2].
1263
+ #
1264
+ # * `Here` – For additional information about [HERE Technologies][3]'s
1265
+ # coverage in your region of interest, see [HERE car routing
1266
+ # coverage][4] and [HERE truck routing coverage][5].
1238
1267
  #
1239
- # For more information about data providers, see [Amazon Location
1240
- # Service data providers][1].
1268
+ # For additional information , see [Data providers][6] on the *Amazon
1269
+ # Location Service Developer Guide*.
1241
1270
  #
1242
1271
  #
1243
1272
  #
1244
- # [1]: https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html
1273
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/esri.html
1274
+ # [2]: https://doc.arcgis.com/en/arcgis-online/reference/network-coverage.htm
1275
+ # [3]: https://docs.aws.amazon.com/location/latest/developerguide/HERE.html
1276
+ # [4]: https://developer.here.com/documentation/routing-api/dev_guide/topics/coverage/car-routing.html
1277
+ # [5]: https://developer.here.com/documentation/routing-api/dev_guide/topics/coverage/truck-routing.html
1278
+ # [6]: https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html
1245
1279
  #
1246
1280
  # @option params [String] :description
1247
1281
  # The optional description for the route calculator resource.
@@ -2005,7 +2039,36 @@ module Aws::LocationService
2005
2039
  #
2006
2040
  # @option params [required, String] :font_stack
2007
2041
  # A comma-separated list of fonts to load glyphs from in order of
2008
- # preference.. For example, `Noto Sans, Arial Unicode`.
2042
+ # preference. For example, `Noto Sans Regular, Arial Unicode`.
2043
+ #
2044
+ # Valid fonts for [Esri][1] styles:
2045
+ #
2046
+ # * VectorEsriDarkGrayCanvas – `Ubuntu Medium Italic` \| `Ubuntu Medium`
2047
+ # \| `Ubuntu Italic` \| `Ubuntu Regular` \| `Ubuntu Bold`
2048
+ #
2049
+ # * VectorEsriLightGrayCanvas – `Ubuntu Italic` \| `Ubuntu Regular` \|
2050
+ # `Ubuntu Light` \| `Ubuntu Bold`
2051
+ #
2052
+ # * VectorEsriTopographic – `Noto Sans Italic` \| `Noto Sans Regular` \|
2053
+ # `Noto Sans Bold` \| `Noto Serif Regular` \| `Roboto Condensed Light
2054
+ # Italic`
2055
+ #
2056
+ # * VectorEsriStreets – `Arial Regular` \| `Arial Italic` \| `Arial
2057
+ # Bold`
2058
+ #
2059
+ # * VectorEsriNavigation – `Arial Regular` \| `Arial Italic` \| `Arial
2060
+ # Bold`
2061
+ #
2062
+ # Valid fonts for [HERE Technologies][2] styles:
2063
+ #
2064
+ # * `VectorHereBerlin` – `Fira GO Regular` \| `Fira GO Bold`
2065
+ #
2066
+ # ^
2067
+ #
2068
+ #
2069
+ #
2070
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/esri.html
2071
+ # [2]: https://docs.aws.amazon.com/location/latest/developerguide/HERE.html
2009
2072
  #
2010
2073
  # @option params [required, String] :font_unicode_range
2011
2074
  # A Unicode range of characters to download glyphs for. Each response
@@ -2175,7 +2238,7 @@ module Aws::LocationService
2175
2238
  req.send_request(options, &block)
2176
2239
  end
2177
2240
 
2178
- # Lists the latest device positions for requested devices.
2241
+ # A batch request to retrieve all device positions.
2179
2242
  #
2180
2243
  # @option params [Integer] :max_results
2181
2244
  # An optional limit for the number of entries returned in a single call.
@@ -2193,7 +2256,7 @@ module Aws::LocationService
2193
2256
  #
2194
2257
  # @return [Types::ListDevicePositionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2195
2258
  #
2196
- # * {Types::ListDevicePositionsResponse#entries #entries} => Array&lt;Types::ListDevicePositionsResponseEntry&gt;
2259
+ # * {Types::ListDevicePositionsResponse#entries #data.entries} => Array&lt;Types::ListDevicePositionsResponseEntry&gt; (This method conflicts with a method on Response, call it through the data member)
2197
2260
  # * {Types::ListDevicePositionsResponse#next_token #next_token} => String
2198
2261
  #
2199
2262
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
@@ -2208,11 +2271,11 @@ module Aws::LocationService
2208
2271
  #
2209
2272
  # @example Response structure
2210
2273
  #
2211
- # resp.entries #=> Array
2212
- # resp.entries[0].device_id #=> String
2213
- # resp.entries[0].position #=> Array
2214
- # resp.entries[0].position[0] #=> Float
2215
- # resp.entries[0].sample_time #=> Time
2274
+ # resp.data.entries #=> Array
2275
+ # resp.data.entries[0].device_id #=> String
2276
+ # resp.data.entries[0].position #=> Array
2277
+ # resp.data.entries[0].position[0] #=> Float
2278
+ # resp.data.entries[0].sample_time #=> Time
2216
2279
  # resp.next_token #=> String
2217
2280
  #
2218
2281
  # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListDevicePositions AWS API Documentation
@@ -2240,7 +2303,7 @@ module Aws::LocationService
2240
2303
  #
2241
2304
  # @return [Types::ListGeofenceCollectionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2242
2305
  #
2243
- # * {Types::ListGeofenceCollectionsResponse#entries #entries} => Array&lt;Types::ListGeofenceCollectionsResponseEntry&gt;
2306
+ # * {Types::ListGeofenceCollectionsResponse#entries #data.entries} => Array&lt;Types::ListGeofenceCollectionsResponseEntry&gt; (This method conflicts with a method on Response, call it through the data member)
2244
2307
  # * {Types::ListGeofenceCollectionsResponse#next_token #next_token} => String
2245
2308
  #
2246
2309
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
@@ -2254,13 +2317,13 @@ module Aws::LocationService
2254
2317
  #
2255
2318
  # @example Response structure
2256
2319
  #
2257
- # resp.entries #=> Array
2258
- # resp.entries[0].collection_name #=> String
2259
- # resp.entries[0].create_time #=> Time
2260
- # resp.entries[0].description #=> String
2261
- # resp.entries[0].pricing_plan #=> String, one of "RequestBasedUsage", "MobileAssetTracking", "MobileAssetManagement"
2262
- # resp.entries[0].pricing_plan_data_source #=> String
2263
- # resp.entries[0].update_time #=> Time
2320
+ # resp.data.entries #=> Array
2321
+ # resp.data.entries[0].collection_name #=> String
2322
+ # resp.data.entries[0].create_time #=> Time
2323
+ # resp.data.entries[0].description #=> String
2324
+ # resp.data.entries[0].pricing_plan #=> String, one of "RequestBasedUsage", "MobileAssetTracking", "MobileAssetManagement"
2325
+ # resp.data.entries[0].pricing_plan_data_source #=> String
2326
+ # resp.data.entries[0].update_time #=> Time
2264
2327
  # resp.next_token #=> String
2265
2328
  #
2266
2329
  # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListGeofenceCollections AWS API Documentation
@@ -2285,7 +2348,7 @@ module Aws::LocationService
2285
2348
  #
2286
2349
  # @return [Types::ListGeofencesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2287
2350
  #
2288
- # * {Types::ListGeofencesResponse#entries #entries} => Array&lt;Types::ListGeofenceResponseEntry&gt;
2351
+ # * {Types::ListGeofencesResponse#entries #data.entries} => Array&lt;Types::ListGeofenceResponseEntry&gt; (This method conflicts with a method on Response, call it through the data member)
2289
2352
  # * {Types::ListGeofencesResponse#next_token #next_token} => String
2290
2353
  #
2291
2354
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
@@ -2299,15 +2362,15 @@ module Aws::LocationService
2299
2362
  #
2300
2363
  # @example Response structure
2301
2364
  #
2302
- # resp.entries #=> Array
2303
- # resp.entries[0].create_time #=> Time
2304
- # resp.entries[0].geofence_id #=> String
2305
- # resp.entries[0].geometry.polygon #=> Array
2306
- # resp.entries[0].geometry.polygon[0] #=> Array
2307
- # resp.entries[0].geometry.polygon[0][0] #=> Array
2308
- # resp.entries[0].geometry.polygon[0][0][0] #=> Float
2309
- # resp.entries[0].status #=> String
2310
- # resp.entries[0].update_time #=> Time
2365
+ # resp.data.entries #=> Array
2366
+ # resp.data.entries[0].create_time #=> Time
2367
+ # resp.data.entries[0].geofence_id #=> String
2368
+ # resp.data.entries[0].geometry.polygon #=> Array
2369
+ # resp.data.entries[0].geometry.polygon[0] #=> Array
2370
+ # resp.data.entries[0].geometry.polygon[0][0] #=> Array
2371
+ # resp.data.entries[0].geometry.polygon[0][0][0] #=> Float
2372
+ # resp.data.entries[0].status #=> String
2373
+ # resp.data.entries[0].update_time #=> Time
2311
2374
  # resp.next_token #=> String
2312
2375
  #
2313
2376
  # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListGeofences AWS API Documentation
@@ -2335,7 +2398,7 @@ module Aws::LocationService
2335
2398
  #
2336
2399
  # @return [Types::ListMapsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2337
2400
  #
2338
- # * {Types::ListMapsResponse#entries #entries} => Array&lt;Types::ListMapsResponseEntry&gt;
2401
+ # * {Types::ListMapsResponse#entries #data.entries} => Array&lt;Types::ListMapsResponseEntry&gt; (This method conflicts with a method on Response, call it through the data member)
2339
2402
  # * {Types::ListMapsResponse#next_token #next_token} => String
2340
2403
  #
2341
2404
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
@@ -2349,13 +2412,13 @@ module Aws::LocationService
2349
2412
  #
2350
2413
  # @example Response structure
2351
2414
  #
2352
- # resp.entries #=> Array
2353
- # resp.entries[0].create_time #=> Time
2354
- # resp.entries[0].data_source #=> String
2355
- # resp.entries[0].description #=> String
2356
- # resp.entries[0].map_name #=> String
2357
- # resp.entries[0].pricing_plan #=> String, one of "RequestBasedUsage", "MobileAssetTracking", "MobileAssetManagement"
2358
- # resp.entries[0].update_time #=> Time
2415
+ # resp.data.entries #=> Array
2416
+ # resp.data.entries[0].create_time #=> Time
2417
+ # resp.data.entries[0].data_source #=> String
2418
+ # resp.data.entries[0].description #=> String
2419
+ # resp.data.entries[0].map_name #=> String
2420
+ # resp.data.entries[0].pricing_plan #=> String, one of "RequestBasedUsage", "MobileAssetTracking", "MobileAssetManagement"
2421
+ # resp.data.entries[0].update_time #=> Time
2359
2422
  # resp.next_token #=> String
2360
2423
  #
2361
2424
  # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListMaps AWS API Documentation
@@ -2383,7 +2446,7 @@ module Aws::LocationService
2383
2446
  #
2384
2447
  # @return [Types::ListPlaceIndexesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2385
2448
  #
2386
- # * {Types::ListPlaceIndexesResponse#entries #entries} => Array&lt;Types::ListPlaceIndexesResponseEntry&gt;
2449
+ # * {Types::ListPlaceIndexesResponse#entries #data.entries} => Array&lt;Types::ListPlaceIndexesResponseEntry&gt; (This method conflicts with a method on Response, call it through the data member)
2387
2450
  # * {Types::ListPlaceIndexesResponse#next_token #next_token} => String
2388
2451
  #
2389
2452
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
@@ -2397,13 +2460,13 @@ module Aws::LocationService
2397
2460
  #
2398
2461
  # @example Response structure
2399
2462
  #
2400
- # resp.entries #=> Array
2401
- # resp.entries[0].create_time #=> Time
2402
- # resp.entries[0].data_source #=> String
2403
- # resp.entries[0].description #=> String
2404
- # resp.entries[0].index_name #=> String
2405
- # resp.entries[0].pricing_plan #=> String, one of "RequestBasedUsage", "MobileAssetTracking", "MobileAssetManagement"
2406
- # resp.entries[0].update_time #=> Time
2463
+ # resp.data.entries #=> Array
2464
+ # resp.data.entries[0].create_time #=> Time
2465
+ # resp.data.entries[0].data_source #=> String
2466
+ # resp.data.entries[0].description #=> String
2467
+ # resp.data.entries[0].index_name #=> String
2468
+ # resp.data.entries[0].pricing_plan #=> String, one of "RequestBasedUsage", "MobileAssetTracking", "MobileAssetManagement"
2469
+ # resp.data.entries[0].update_time #=> Time
2407
2470
  # resp.next_token #=> String
2408
2471
  #
2409
2472
  # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListPlaceIndexes AWS API Documentation
@@ -2430,7 +2493,7 @@ module Aws::LocationService
2430
2493
  #
2431
2494
  # @return [Types::ListRouteCalculatorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2432
2495
  #
2433
- # * {Types::ListRouteCalculatorsResponse#entries #entries} => Array&lt;Types::ListRouteCalculatorsResponseEntry&gt;
2496
+ # * {Types::ListRouteCalculatorsResponse#entries #data.entries} => Array&lt;Types::ListRouteCalculatorsResponseEntry&gt; (This method conflicts with a method on Response, call it through the data member)
2434
2497
  # * {Types::ListRouteCalculatorsResponse#next_token #next_token} => String
2435
2498
  #
2436
2499
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
@@ -2444,13 +2507,13 @@ module Aws::LocationService
2444
2507
  #
2445
2508
  # @example Response structure
2446
2509
  #
2447
- # resp.entries #=> Array
2448
- # resp.entries[0].calculator_name #=> String
2449
- # resp.entries[0].create_time #=> Time
2450
- # resp.entries[0].data_source #=> String
2451
- # resp.entries[0].description #=> String
2452
- # resp.entries[0].pricing_plan #=> String, one of "RequestBasedUsage", "MobileAssetTracking", "MobileAssetManagement"
2453
- # resp.entries[0].update_time #=> Time
2510
+ # resp.data.entries #=> Array
2511
+ # resp.data.entries[0].calculator_name #=> String
2512
+ # resp.data.entries[0].create_time #=> Time
2513
+ # resp.data.entries[0].data_source #=> String
2514
+ # resp.data.entries[0].description #=> String
2515
+ # resp.data.entries[0].pricing_plan #=> String, one of "RequestBasedUsage", "MobileAssetTracking", "MobileAssetManagement"
2516
+ # resp.data.entries[0].update_time #=> Time
2454
2517
  # resp.next_token #=> String
2455
2518
  #
2456
2519
  # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListRouteCalculators AWS API Documentation
@@ -2462,12 +2525,18 @@ module Aws::LocationService
2462
2525
  req.send_request(options)
2463
2526
  end
2464
2527
 
2465
- # Returns the tags for the specified Amazon Location Service resource.
2528
+ # Returns a list of tags that are applied to the specified Amazon
2529
+ # Location resource.
2466
2530
  #
2467
2531
  # @option params [required, String] :resource_arn
2468
2532
  # The Amazon Resource Name (ARN) of the resource whose tags you want to
2469
2533
  # retrieve.
2470
2534
  #
2535
+ # * Format example:
2536
+ # `arn:aws:geo:region:account-id:resourcetype/ExampleResource`
2537
+ #
2538
+ # ^
2539
+ #
2471
2540
  # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2472
2541
  #
2473
2542
  # * {Types::ListTagsForResourceResponse#tags #tags} => Hash&lt;String,String&gt;
@@ -2557,7 +2626,7 @@ module Aws::LocationService
2557
2626
  #
2558
2627
  # @return [Types::ListTrackersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2559
2628
  #
2560
- # * {Types::ListTrackersResponse#entries #entries} => Array&lt;Types::ListTrackersResponseEntry&gt;
2629
+ # * {Types::ListTrackersResponse#entries #data.entries} => Array&lt;Types::ListTrackersResponseEntry&gt; (This method conflicts with a method on Response, call it through the data member)
2561
2630
  # * {Types::ListTrackersResponse#next_token #next_token} => String
2562
2631
  #
2563
2632
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
@@ -2571,13 +2640,13 @@ module Aws::LocationService
2571
2640
  #
2572
2641
  # @example Response structure
2573
2642
  #
2574
- # resp.entries #=> Array
2575
- # resp.entries[0].create_time #=> Time
2576
- # resp.entries[0].description #=> String
2577
- # resp.entries[0].pricing_plan #=> String, one of "RequestBasedUsage", "MobileAssetTracking", "MobileAssetManagement"
2578
- # resp.entries[0].pricing_plan_data_source #=> String
2579
- # resp.entries[0].tracker_name #=> String
2580
- # resp.entries[0].update_time #=> Time
2643
+ # resp.data.entries #=> Array
2644
+ # resp.data.entries[0].create_time #=> Time
2645
+ # resp.data.entries[0].description #=> String
2646
+ # resp.data.entries[0].pricing_plan #=> String, one of "RequestBasedUsage", "MobileAssetTracking", "MobileAssetManagement"
2647
+ # resp.data.entries[0].pricing_plan_data_source #=> String
2648
+ # resp.data.entries[0].tracker_name #=> String
2649
+ # resp.data.entries[0].update_time #=> Time
2581
2650
  # resp.next_token #=> String
2582
2651
  #
2583
2652
  # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListTrackers AWS API Documentation
@@ -2835,15 +2904,24 @@ module Aws::LocationService
2835
2904
  # Assigns one or more tags (key-value pairs) to the specified Amazon
2836
2905
  # Location Service resource.
2837
2906
  #
2838
- # <p>Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with certain tag values.</p> <p>Tags don't have any semantic meaning to AWS and are interpreted strictly as strings of characters.</p> <p>You can use the <code>TagResource</code> action with an Amazon Location Service resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the tags already associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag. </p> <p>You can associate as many as 50 tags with a resource.</p>
2907
+ # <p>Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with certain tag values.</p> <p>You can use the <code>TagResource</code> operation with an Amazon Location Service resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the tags already associated with the resource. If you specify a tag key that's already associated with the resource, the new tag value that you specify replaces the previous value for that tag. </p> <p>You can associate up to 50 tags with a resource.</p>
2839
2908
  #
2840
2909
  # @option params [required, String] :resource_arn
2841
2910
  # The Amazon Resource Name (ARN) of the resource whose tags you want to
2842
2911
  # update.
2843
2912
  #
2913
+ # * Format example:
2914
+ # `arn:aws:geo:region:account-id:resourcetype/ExampleResource`
2915
+ #
2916
+ # ^
2917
+ #
2844
2918
  # @option params [required, Hash<String,String>] :tags
2845
- # The mapping from tag key to tag value for each tag associated with the
2846
- # specified resource.
2919
+ # Tags that have been applied to the specified resource. Tags are mapped
2920
+ # from the tag key to the tag value: `"TagKey" : "TagValue"`.
2921
+ #
2922
+ # * Format example: `\{"tag1" : "value1", "tag2" : "value2"\} `
2923
+ #
2924
+ # ^
2847
2925
  #
2848
2926
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2849
2927
  #
@@ -2865,15 +2943,19 @@ module Aws::LocationService
2865
2943
  req.send_request(options)
2866
2944
  end
2867
2945
 
2868
- # Removes one or more tags from the specified Amazon Location Service
2869
- # resource.
2946
+ # Removes one or more tags from the specified Amazon Location resource.
2870
2947
  #
2871
2948
  # @option params [required, String] :resource_arn
2872
2949
  # The Amazon Resource Name (ARN) of the resource from which you want to
2873
2950
  # remove tags.
2874
2951
  #
2952
+ # * Format example:
2953
+ # `arn:aws:geo:region:account-id:resourcetype/ExampleResource`
2954
+ #
2955
+ # ^
2956
+ #
2875
2957
  # @option params [required, Array<String>] :tag_keys
2876
- # The list of tag keys to remove from the resource.
2958
+ # The list of tag keys to remove from the specified resource.
2877
2959
  #
2878
2960
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2879
2961
  #
@@ -2893,6 +2975,298 @@ module Aws::LocationService
2893
2975
  req.send_request(options)
2894
2976
  end
2895
2977
 
2978
+ # Updates the specified properties of a given geofence collection.
2979
+ #
2980
+ # @option params [required, String] :collection_name
2981
+ # The name of the geofence collection to update.
2982
+ #
2983
+ # @option params [String] :description
2984
+ # Updates the description for the geofence collection.
2985
+ #
2986
+ # @option params [String] :pricing_plan
2987
+ # Updates the pricing plan for the geofence collection.
2988
+ #
2989
+ # For more information about each pricing plan option restrictions, see
2990
+ # [Amazon Location Service pricing][1].
2991
+ #
2992
+ #
2993
+ #
2994
+ # [1]: https://aws.amazon.com/location/pricing/
2995
+ #
2996
+ # @option params [String] :pricing_plan_data_source
2997
+ # Updates the data provider for the geofence collection.
2998
+ #
2999
+ # A required value for the following pricing plans:
3000
+ # `MobileAssetTracking`\| `MobileAssetManagement`
3001
+ #
3002
+ # For more information about [data providers][1] and [pricing plans][2],
3003
+ # see the Amazon Location Service product page.
3004
+ #
3005
+ # <note markdown="1"> This can only be updated when updating the `PricingPlan` in the same
3006
+ # request.
3007
+ #
3008
+ # Amazon Location Service uses `PricingPlanDataSource` to calculate
3009
+ # billing for your geofence collection. Your data won't be shared with
3010
+ # the data provider, and will remain in your AWS account and Region
3011
+ # unless you move it.
3012
+ #
3013
+ # </note>
3014
+ #
3015
+ #
3016
+ #
3017
+ # [1]: https://aws.amazon.com/location/data-providers/
3018
+ # [2]: https://aws.amazon.com/location/pricing/
3019
+ #
3020
+ # @return [Types::UpdateGeofenceCollectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3021
+ #
3022
+ # * {Types::UpdateGeofenceCollectionResponse#collection_arn #collection_arn} => String
3023
+ # * {Types::UpdateGeofenceCollectionResponse#collection_name #collection_name} => String
3024
+ # * {Types::UpdateGeofenceCollectionResponse#update_time #update_time} => Time
3025
+ #
3026
+ # @example Request syntax with placeholder values
3027
+ #
3028
+ # resp = client.update_geofence_collection({
3029
+ # collection_name: "ResourceName", # required
3030
+ # description: "ResourceDescription",
3031
+ # pricing_plan: "RequestBasedUsage", # accepts RequestBasedUsage, MobileAssetTracking, MobileAssetManagement
3032
+ # pricing_plan_data_source: "String",
3033
+ # })
3034
+ #
3035
+ # @example Response structure
3036
+ #
3037
+ # resp.collection_arn #=> String
3038
+ # resp.collection_name #=> String
3039
+ # resp.update_time #=> Time
3040
+ #
3041
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UpdateGeofenceCollection AWS API Documentation
3042
+ #
3043
+ # @overload update_geofence_collection(params = {})
3044
+ # @param [Hash] params ({})
3045
+ def update_geofence_collection(params = {}, options = {})
3046
+ req = build_request(:update_geofence_collection, params)
3047
+ req.send_request(options)
3048
+ end
3049
+
3050
+ # Updates the specified properties of a given map resource.
3051
+ #
3052
+ # @option params [String] :description
3053
+ # Updates the description for the map resource.
3054
+ #
3055
+ # @option params [required, String] :map_name
3056
+ # The name of the map resource to update.
3057
+ #
3058
+ # @option params [String] :pricing_plan
3059
+ # Updates the pricing plan for the map resource.
3060
+ #
3061
+ # For more information about each pricing plan option restrictions, see
3062
+ # [Amazon Location Service pricing][1].
3063
+ #
3064
+ #
3065
+ #
3066
+ # [1]: https://aws.amazon.com/location/pricing/
3067
+ #
3068
+ # @return [Types::UpdateMapResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3069
+ #
3070
+ # * {Types::UpdateMapResponse#map_arn #map_arn} => String
3071
+ # * {Types::UpdateMapResponse#map_name #map_name} => String
3072
+ # * {Types::UpdateMapResponse#update_time #update_time} => Time
3073
+ #
3074
+ # @example Request syntax with placeholder values
3075
+ #
3076
+ # resp = client.update_map({
3077
+ # description: "ResourceDescription",
3078
+ # map_name: "ResourceName", # required
3079
+ # pricing_plan: "RequestBasedUsage", # accepts RequestBasedUsage, MobileAssetTracking, MobileAssetManagement
3080
+ # })
3081
+ #
3082
+ # @example Response structure
3083
+ #
3084
+ # resp.map_arn #=> String
3085
+ # resp.map_name #=> String
3086
+ # resp.update_time #=> Time
3087
+ #
3088
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UpdateMap AWS API Documentation
3089
+ #
3090
+ # @overload update_map(params = {})
3091
+ # @param [Hash] params ({})
3092
+ def update_map(params = {}, options = {})
3093
+ req = build_request(:update_map, params)
3094
+ req.send_request(options)
3095
+ end
3096
+
3097
+ # Updates the specified properties of a given place index resource.
3098
+ #
3099
+ # @option params [Types::DataSourceConfiguration] :data_source_configuration
3100
+ # Updates the data storage option for the place index resource.
3101
+ #
3102
+ # @option params [String] :description
3103
+ # Updates the description for the place index resource.
3104
+ #
3105
+ # @option params [required, String] :index_name
3106
+ # The name of the place index resource to update.
3107
+ #
3108
+ # @option params [String] :pricing_plan
3109
+ # Updates the pricing plan for the place index resource.
3110
+ #
3111
+ # For more information about each pricing plan option restrictions, see
3112
+ # [Amazon Location Service pricing][1].
3113
+ #
3114
+ #
3115
+ #
3116
+ # [1]: https://aws.amazon.com/location/pricing/
3117
+ #
3118
+ # @return [Types::UpdatePlaceIndexResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3119
+ #
3120
+ # * {Types::UpdatePlaceIndexResponse#index_arn #index_arn} => String
3121
+ # * {Types::UpdatePlaceIndexResponse#index_name #index_name} => String
3122
+ # * {Types::UpdatePlaceIndexResponse#update_time #update_time} => Time
3123
+ #
3124
+ # @example Request syntax with placeholder values
3125
+ #
3126
+ # resp = client.update_place_index({
3127
+ # data_source_configuration: {
3128
+ # intended_use: "SingleUse", # accepts SingleUse, Storage
3129
+ # },
3130
+ # description: "ResourceDescription",
3131
+ # index_name: "ResourceName", # required
3132
+ # pricing_plan: "RequestBasedUsage", # accepts RequestBasedUsage, MobileAssetTracking, MobileAssetManagement
3133
+ # })
3134
+ #
3135
+ # @example Response structure
3136
+ #
3137
+ # resp.index_arn #=> String
3138
+ # resp.index_name #=> String
3139
+ # resp.update_time #=> Time
3140
+ #
3141
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UpdatePlaceIndex AWS API Documentation
3142
+ #
3143
+ # @overload update_place_index(params = {})
3144
+ # @param [Hash] params ({})
3145
+ def update_place_index(params = {}, options = {})
3146
+ req = build_request(:update_place_index, params)
3147
+ req.send_request(options)
3148
+ end
3149
+
3150
+ # Updates the specified properties for a given route calculator
3151
+ # resource.
3152
+ #
3153
+ # @option params [required, String] :calculator_name
3154
+ # The name of the route calculator resource to update.
3155
+ #
3156
+ # @option params [String] :description
3157
+ # Updates the description for the route calculator resource.
3158
+ #
3159
+ # @option params [String] :pricing_plan
3160
+ # Updates the pricing plan for the route calculator resource.
3161
+ #
3162
+ # For more information about each pricing plan option restrictions, see
3163
+ # [Amazon Location Service pricing][1].
3164
+ #
3165
+ #
3166
+ #
3167
+ # [1]: https://aws.amazon.com/location/pricing/
3168
+ #
3169
+ # @return [Types::UpdateRouteCalculatorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3170
+ #
3171
+ # * {Types::UpdateRouteCalculatorResponse#calculator_arn #calculator_arn} => String
3172
+ # * {Types::UpdateRouteCalculatorResponse#calculator_name #calculator_name} => String
3173
+ # * {Types::UpdateRouteCalculatorResponse#update_time #update_time} => Time
3174
+ #
3175
+ # @example Request syntax with placeholder values
3176
+ #
3177
+ # resp = client.update_route_calculator({
3178
+ # calculator_name: "ResourceName", # required
3179
+ # description: "ResourceDescription",
3180
+ # pricing_plan: "RequestBasedUsage", # accepts RequestBasedUsage, MobileAssetTracking, MobileAssetManagement
3181
+ # })
3182
+ #
3183
+ # @example Response structure
3184
+ #
3185
+ # resp.calculator_arn #=> String
3186
+ # resp.calculator_name #=> String
3187
+ # resp.update_time #=> Time
3188
+ #
3189
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UpdateRouteCalculator AWS API Documentation
3190
+ #
3191
+ # @overload update_route_calculator(params = {})
3192
+ # @param [Hash] params ({})
3193
+ def update_route_calculator(params = {}, options = {})
3194
+ req = build_request(:update_route_calculator, params)
3195
+ req.send_request(options)
3196
+ end
3197
+
3198
+ # Updates the specified properties of a given tracker resource.
3199
+ #
3200
+ # @option params [String] :description
3201
+ # Updates the description for the tracker resource.
3202
+ #
3203
+ # @option params [String] :pricing_plan
3204
+ # Updates the pricing plan for the tracker resource.
3205
+ #
3206
+ # For more information about each pricing plan option restrictions, see
3207
+ # [Amazon Location Service pricing][1].
3208
+ #
3209
+ #
3210
+ #
3211
+ # [1]: https://aws.amazon.com/location/pricing/
3212
+ #
3213
+ # @option params [String] :pricing_plan_data_source
3214
+ # Updates the data provider for the tracker resource.
3215
+ #
3216
+ # A required value for the following pricing plans:
3217
+ # `MobileAssetTracking`\| `MobileAssetManagement`
3218
+ #
3219
+ # For more information about [data providers][1] and [pricing plans][2],
3220
+ # see the Amazon Location Service product page
3221
+ #
3222
+ # <note markdown="1"> This can only be updated when updating the `PricingPlan` in the same
3223
+ # request.
3224
+ #
3225
+ # Amazon Location Service uses `PricingPlanDataSource` to calculate
3226
+ # billing for your tracker resource. Your data won't be shared with the
3227
+ # data provider, and will remain in your AWS account and Region unless
3228
+ # you move it.
3229
+ #
3230
+ # </note>
3231
+ #
3232
+ #
3233
+ #
3234
+ # [1]: https://aws.amazon.com/location/data-providers/
3235
+ # [2]: https://aws.amazon.com/location/pricing/
3236
+ #
3237
+ # @option params [required, String] :tracker_name
3238
+ # The name of the tracker resource to update.
3239
+ #
3240
+ # @return [Types::UpdateTrackerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3241
+ #
3242
+ # * {Types::UpdateTrackerResponse#tracker_arn #tracker_arn} => String
3243
+ # * {Types::UpdateTrackerResponse#tracker_name #tracker_name} => String
3244
+ # * {Types::UpdateTrackerResponse#update_time #update_time} => Time
3245
+ #
3246
+ # @example Request syntax with placeholder values
3247
+ #
3248
+ # resp = client.update_tracker({
3249
+ # description: "ResourceDescription",
3250
+ # pricing_plan: "RequestBasedUsage", # accepts RequestBasedUsage, MobileAssetTracking, MobileAssetManagement
3251
+ # pricing_plan_data_source: "String",
3252
+ # tracker_name: "ResourceName", # required
3253
+ # })
3254
+ #
3255
+ # @example Response structure
3256
+ #
3257
+ # resp.tracker_arn #=> String
3258
+ # resp.tracker_name #=> String
3259
+ # resp.update_time #=> Time
3260
+ #
3261
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UpdateTracker AWS API Documentation
3262
+ #
3263
+ # @overload update_tracker(params = {})
3264
+ # @param [Hash] params ({})
3265
+ def update_tracker(params = {}, options = {})
3266
+ req = build_request(:update_tracker, params)
3267
+ req.send_request(options)
3268
+ end
3269
+
2896
3270
  # @!endgroup
2897
3271
 
2898
3272
  # @param params ({})
@@ -2906,7 +3280,7 @@ module Aws::LocationService
2906
3280
  params: params,
2907
3281
  config: config)
2908
3282
  context[:gem_name] = 'aws-sdk-locationservice'
2909
- context[:gem_version] = '1.4.0'
3283
+ context[:gem_version] = '1.5.0'
2910
3284
  Seahorse::Client::Request.new(handlers, context)
2911
3285
  end
2912
3286