aws-sdk-locationservice 1.11.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-locationservice/client.rb +142 -68
- data/lib/aws-sdk-locationservice/client_api.rb +19 -0
- data/lib/aws-sdk-locationservice/types.rb +273 -109
- data/lib/aws-sdk-locationservice.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90c9e0fc258df6ad4221e838c38033a84b3ff15903f75643402fac03186eece9
|
4
|
+
data.tar.gz: b3842d431b50a14bb56bef09eff0e0508f466310d952913dc808772653eb4a69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69e05d15d739b21639aab96629ddad081c2269f7922f31c86056ae5fc822465f94a54c5935207a191dba8a111c9fe29f693cb37aff242f20e39f8683f93bb291
|
7
|
+
data.tar.gz: f296c6dc03b0b9d4becf8551f4d99b2f963075a35cc05b7ade7f482c3fced4d5fe0f0b103a4d281d3663aa42456073c9c9b255ea2ac57b04779cbdb774f3ae8c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.12.0 (2021-11-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds the support for Relevance, Distance, Time Zone, Language and Interpolated Address for Geocoding and Reverse Geocoding.
|
8
|
+
|
4
9
|
1.11.0 (2021-11-04)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.12.0
|
@@ -682,7 +682,7 @@ module Aws::LocationService
|
|
682
682
|
|
683
683
|
# [Calculates a route][1] given the following required parameters:
|
684
684
|
# `DeparturePostiton` and `DestinationPosition`. Requires that you first
|
685
|
-
# [create a route calculator resource][2]
|
685
|
+
# [create a route calculator resource][2].
|
686
686
|
#
|
687
687
|
# By default, a request that doesn't specify a departure time uses the
|
688
688
|
# best time of day to travel with the best traffic conditions when
|
@@ -695,7 +695,8 @@ module Aws::LocationService
|
|
695
695
|
# data at the given time.
|
696
696
|
#
|
697
697
|
# <note markdown="1"> You can't specify both `DepartureTime` and `DepartureNow` in a
|
698
|
-
# single request. Specifying both parameters returns
|
698
|
+
# single request. Specifying both parameters returns a validation
|
699
|
+
# error.
|
699
700
|
#
|
700
701
|
# </note>
|
701
702
|
#
|
@@ -714,7 +715,7 @@ module Aws::LocationService
|
|
714
715
|
#
|
715
716
|
# @option params [required, String] :calculator_name
|
716
717
|
# The name of the route calculator resource that you want to use to
|
717
|
-
# calculate
|
718
|
+
# calculate the route.
|
718
719
|
#
|
719
720
|
# @option params [Types::CalculateRouteCarModeOptions] :car_mode_options
|
720
721
|
# Specifies route preferences when traveling by `Car`, such as avoiding
|
@@ -755,8 +756,8 @@ module Aws::LocationService
|
|
755
756
|
#
|
756
757
|
# @option params [Time,DateTime,Date,Integer,String] :departure_time
|
757
758
|
# Specifies the desired time of departure. Uses the given time to
|
758
|
-
# calculate
|
759
|
-
# best traffic conditions is used to calculate the route.
|
759
|
+
# calculate the route. Otherwise, the best time of day to travel with
|
760
|
+
# the best traffic conditions is used to calculate the route.
|
760
761
|
#
|
761
762
|
# <note markdown="1"> Setting a departure time in the past returns a `400
|
762
763
|
# ValidationException` error.
|
@@ -1009,6 +1010,8 @@ module Aws::LocationService
|
|
1009
1010
|
# * Can use alphanumeric characters (A–Z, a–z, 0–9), and the following
|
1010
1011
|
# characters: + - = . \_ : / @.
|
1011
1012
|
#
|
1013
|
+
# * Cannot use "aws:" as a prefix for a key.
|
1014
|
+
#
|
1012
1015
|
# @return [Types::CreateGeofenceCollectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1013
1016
|
#
|
1014
1017
|
# * {Types::CreateGeofenceCollectionResponse#collection_arn #collection_arn} => String
|
@@ -1094,6 +1097,8 @@ module Aws::LocationService
|
|
1094
1097
|
# * Can use alphanumeric characters (A–Z, a–z, 0–9), and the following
|
1095
1098
|
# characters: + - = . \_ : / @.
|
1096
1099
|
#
|
1100
|
+
# * Cannot use "aws:" as a prefix for a key.
|
1101
|
+
#
|
1097
1102
|
# @return [Types::CreateMapResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1098
1103
|
#
|
1099
1104
|
# * {Types::CreateMapResponse#create_time #create_time} => Time
|
@@ -1129,11 +1134,13 @@ module Aws::LocationService
|
|
1129
1134
|
req.send_request(options)
|
1130
1135
|
end
|
1131
1136
|
|
1132
|
-
# Creates a place index resource in your AWS account
|
1133
|
-
#
|
1137
|
+
# Creates a place index resource in your AWS account. Use a place index
|
1138
|
+
# resource to geocode addresses and other text queries by using the
|
1139
|
+
# `SearchPlaceIndexForText` operation, and reverse geocode coordinates
|
1140
|
+
# by using the `SearchPlaceIndexForPosition` operation.
|
1134
1141
|
#
|
1135
1142
|
# @option params [required, String] :data_source
|
1136
|
-
# Specifies the data provider
|
1143
|
+
# Specifies the geospatial data provider for the new place index.
|
1137
1144
|
#
|
1138
1145
|
# <note markdown="1"> This field is case-sensitive. Enter the valid values as shown. For
|
1139
1146
|
# example, entering `HERE` returns an error.
|
@@ -1150,8 +1157,8 @@ module Aws::LocationService
|
|
1150
1157
|
# coverage in your region of interest, see [HERE details on goecoding
|
1151
1158
|
# coverage][4].
|
1152
1159
|
#
|
1153
|
-
#
|
1154
|
-
#
|
1160
|
+
# If you specify HERE Technologies (`Here`) as the data provider, you
|
1161
|
+
# may not [store results][5] for locations in Japan. For more
|
1155
1162
|
# information, see the [AWS Service Terms][6] for Amazon Location
|
1156
1163
|
# Service.
|
1157
1164
|
#
|
@@ -1198,23 +1205,26 @@ module Aws::LocationService
|
|
1198
1205
|
#
|
1199
1206
|
# @option params [Hash<String,String>] :tags
|
1200
1207
|
# Applies one or more tags to the place index resource. A tag is a
|
1201
|
-
# key-value pair helps manage, identify, search, and filter
|
1202
|
-
# resources
|
1208
|
+
# key-value pair that helps you manage, identify, search, and filter
|
1209
|
+
# your resources.
|
1203
1210
|
#
|
1204
1211
|
# Format: `"key" : "value"`
|
1205
1212
|
#
|
1206
1213
|
# Restrictions:
|
1207
1214
|
#
|
1208
|
-
# * Maximum 50 tags per resource
|
1215
|
+
# * Maximum 50 tags per resource.
|
1209
1216
|
#
|
1210
|
-
# * Each
|
1217
|
+
# * Each tag key must be unique and must have exactly one associated
|
1218
|
+
# value.
|
1211
1219
|
#
|
1212
|
-
# * Maximum key length: 128 Unicode characters in UTF-8
|
1220
|
+
# * Maximum key length: 128 Unicode characters in UTF-8.
|
1213
1221
|
#
|
1214
|
-
# * Maximum value length: 256 Unicode characters in UTF-8
|
1222
|
+
# * Maximum value length: 256 Unicode characters in UTF-8.
|
1215
1223
|
#
|
1216
1224
|
# * Can use alphanumeric characters (A–Z, a–z, 0–9), and the following
|
1217
|
-
# characters: + - = . \_ : /
|
1225
|
+
# characters: + - = . \_ : / @
|
1226
|
+
#
|
1227
|
+
# * Cannot use "aws:" as a prefix for a key.
|
1218
1228
|
#
|
1219
1229
|
# @return [Types::CreatePlaceIndexResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1220
1230
|
#
|
@@ -1339,6 +1349,8 @@ module Aws::LocationService
|
|
1339
1349
|
# * Can use alphanumeric characters (A–Z, a–z, 0–9), and the following
|
1340
1350
|
# characters: + - = . \_ : / @.
|
1341
1351
|
#
|
1352
|
+
# * Cannot use "aws:" as a prefix for a key.
|
1353
|
+
#
|
1342
1354
|
# @return [Types::CreateRouteCalculatorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1343
1355
|
#
|
1344
1356
|
# * {Types::CreateRouteCalculatorResponse#calculator_arn #calculator_arn} => String
|
@@ -1397,12 +1409,12 @@ module Aws::LocationService
|
|
1397
1409
|
# seconds is stored for each unique device ID.
|
1398
1410
|
#
|
1399
1411
|
# * `DistanceBased` - If the device has moved less than 30 m (98.4 ft),
|
1400
|
-
# location updates are ignored. Location updates within this
|
1401
|
-
#
|
1402
|
-
#
|
1403
|
-
# evaluations and device positions to
|
1404
|
-
# filtering can also reduce the
|
1405
|
-
#
|
1412
|
+
# location updates are ignored. Location updates within this area are
|
1413
|
+
# neither evaluated against linked geofence collections, nor stored.
|
1414
|
+
# This helps control costs by reducing the number of geofence
|
1415
|
+
# evaluations and historical device positions to paginate through.
|
1416
|
+
# Distance-based filtering can also reduce the effects of GPS noise
|
1417
|
+
# when displaying device trajectories on a map.
|
1406
1418
|
#
|
1407
1419
|
# This field is optional. If not specified, the default value is
|
1408
1420
|
# `TimeBased`.
|
@@ -1462,6 +1474,8 @@ module Aws::LocationService
|
|
1462
1474
|
# * Can use alphanumeric characters (A–Z, a–z, 0–9), and the following
|
1463
1475
|
# characters: + - = . \_ : / @.
|
1464
1476
|
#
|
1477
|
+
# * Cannot use "aws:" as a prefix for a key.
|
1478
|
+
#
|
1465
1479
|
# @option params [required, String] :tracker_name
|
1466
1480
|
# The name for the tracker resource.
|
1467
1481
|
#
|
@@ -1485,7 +1499,7 @@ module Aws::LocationService
|
|
1485
1499
|
# resp = client.create_tracker({
|
1486
1500
|
# description: "ResourceDescription",
|
1487
1501
|
# kms_key_id: "KmsKeyId",
|
1488
|
-
# position_filtering: "TimeBased", # accepts TimeBased, DistanceBased
|
1502
|
+
# position_filtering: "TimeBased", # accepts TimeBased, DistanceBased, AccuracyBased
|
1489
1503
|
# pricing_plan: "RequestBasedUsage", # required, accepts RequestBasedUsage, MobileAssetTracking, MobileAssetManagement
|
1490
1504
|
# pricing_plan_data_source: "String",
|
1491
1505
|
# tags: {
|
@@ -1851,7 +1865,7 @@ module Aws::LocationService
|
|
1851
1865
|
# resp.create_time #=> Time
|
1852
1866
|
# resp.description #=> String
|
1853
1867
|
# resp.kms_key_id #=> String
|
1854
|
-
# resp.position_filtering #=> String, one of "TimeBased", "DistanceBased"
|
1868
|
+
# resp.position_filtering #=> String, one of "TimeBased", "DistanceBased", "AccuracyBased"
|
1855
1869
|
# resp.pricing_plan #=> String, one of "RequestBasedUsage", "MobileAssetTracking", "MobileAssetManagement"
|
1856
1870
|
# resp.pricing_plan_data_source #=> String
|
1857
1871
|
# resp.tags #=> Hash
|
@@ -2770,21 +2784,34 @@ module Aws::LocationService
|
|
2770
2784
|
# @option params [required, String] :index_name
|
2771
2785
|
# The name of the place index resource you want to use for the search.
|
2772
2786
|
#
|
2787
|
+
# @option params [String] :language
|
2788
|
+
# The preferred language used to return results. The value must be a
|
2789
|
+
# valid [BCP 47][1] language tag, for example, `en` for English.
|
2790
|
+
#
|
2791
|
+
# This setting affects the languages used in the results. It does not
|
2792
|
+
# change which results are returned. If the language is not specified,
|
2793
|
+
# or not supported for a particular result, the partner automatically
|
2794
|
+
# chooses a language for the result.
|
2795
|
+
#
|
2796
|
+
#
|
2797
|
+
#
|
2798
|
+
# [1]: https://tools.ietf.org/search/bcp47
|
2799
|
+
#
|
2773
2800
|
# @option params [Integer] :max_results
|
2774
|
-
# An optional
|
2801
|
+
# An optional parameter. The maximum number of results returned per
|
2775
2802
|
# request.
|
2776
2803
|
#
|
2777
2804
|
# Default value: `50`
|
2778
2805
|
#
|
2779
2806
|
# @option params [required, Array<Float>] :position
|
2780
|
-
# Specifies
|
2781
|
-
# latitude.
|
2782
|
-
#
|
2783
|
-
# * The first position is the X coordinate, or longitude.
|
2807
|
+
# Specifies the longitude and latitude of the position to query.
|
2784
2808
|
#
|
2785
|
-
#
|
2809
|
+
# This parameter must contain a pair of numbers. The first number
|
2810
|
+
# represents the X coordinate, or longitude; the second number
|
2811
|
+
# represents the Y coordinate, or latitude.
|
2786
2812
|
#
|
2787
|
-
# For example, `
|
2813
|
+
# For example, `[-123.1174, 49.2847]` represents a position with
|
2814
|
+
# longitude `-123.1174` and latitude `49.2847`.
|
2788
2815
|
#
|
2789
2816
|
# @return [Types::SearchPlaceIndexForPositionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2790
2817
|
#
|
@@ -2795,6 +2822,7 @@ module Aws::LocationService
|
|
2795
2822
|
#
|
2796
2823
|
# resp = client.search_place_index_for_position({
|
2797
2824
|
# index_name: "ResourceName", # required
|
2825
|
+
# language: "LanguageTag",
|
2798
2826
|
# max_results: 1,
|
2799
2827
|
# position: [1.0], # required
|
2800
2828
|
# })
|
@@ -2802,10 +2830,12 @@ module Aws::LocationService
|
|
2802
2830
|
# @example Response structure
|
2803
2831
|
#
|
2804
2832
|
# resp.results #=> Array
|
2833
|
+
# resp.results[0].distance #=> Float
|
2805
2834
|
# resp.results[0].place.address_number #=> String
|
2806
2835
|
# resp.results[0].place.country #=> String
|
2807
2836
|
# resp.results[0].place.geometry.point #=> Array
|
2808
2837
|
# resp.results[0].place.geometry.point[0] #=> Float
|
2838
|
+
# resp.results[0].place.interpolated #=> Boolean
|
2809
2839
|
# resp.results[0].place.label #=> String
|
2810
2840
|
# resp.results[0].place.municipality #=> String
|
2811
2841
|
# resp.results[0].place.neighborhood #=> String
|
@@ -2813,7 +2843,10 @@ module Aws::LocationService
|
|
2813
2843
|
# resp.results[0].place.region #=> String
|
2814
2844
|
# resp.results[0].place.street #=> String
|
2815
2845
|
# resp.results[0].place.sub_region #=> String
|
2846
|
+
# resp.results[0].place.time_zone.name #=> String
|
2847
|
+
# resp.results[0].place.time_zone.offset #=> Integer
|
2816
2848
|
# resp.summary.data_source #=> String
|
2849
|
+
# resp.summary.language #=> String
|
2817
2850
|
# resp.summary.max_results #=> Integer
|
2818
2851
|
# resp.summary.position #=> Array
|
2819
2852
|
# resp.summary.position[0] #=> Float
|
@@ -2830,8 +2863,9 @@ module Aws::LocationService
|
|
2830
2863
|
# Geocodes free-form text, such as an address, name, city, or region to
|
2831
2864
|
# allow you to search for Places or points of interest.
|
2832
2865
|
#
|
2833
|
-
#
|
2834
|
-
#
|
2866
|
+
# Optional parameters let you narrow your search results by bounding box
|
2867
|
+
# or country, or bias your search toward a specific position on the
|
2868
|
+
# globe.
|
2835
2869
|
#
|
2836
2870
|
# <note markdown="1"> You can search for places near a given position using `BiasPosition`,
|
2837
2871
|
# or filter results within a bounding box using `FilterBBox`. Providing
|
@@ -2839,46 +2873,51 @@ module Aws::LocationService
|
|
2839
2873
|
#
|
2840
2874
|
# </note>
|
2841
2875
|
#
|
2842
|
-
#
|
2843
|
-
# Searches for results closest to the given position. An optional
|
2844
|
-
# parameter defined by longitude, and latitude.
|
2845
|
-
#
|
2846
|
-
# * The first `bias` position is the X coordinate, or longitude.
|
2876
|
+
# Search results are returned in order of highest to lowest relevance.
|
2847
2877
|
#
|
2848
|
-
#
|
2849
|
-
#
|
2850
|
-
#
|
2878
|
+
# @option params [Array<Float>] :bias_position
|
2879
|
+
# An optional parameter that indicates a preference for places that are
|
2880
|
+
# closer to a specified position.
|
2851
2881
|
#
|
2852
|
-
#
|
2853
|
-
#
|
2854
|
-
#
|
2882
|
+
# If provided, this parameter must contain a pair of numbers. The first
|
2883
|
+
# number represents the X coordinate, or longitude; the second number
|
2884
|
+
# represents the Y coordinate, or latitude.
|
2855
2885
|
#
|
2856
|
-
#
|
2886
|
+
# For example, `[-123.1174, 49.2847]` represents the position with
|
2887
|
+
# longitude `-123.1174` and latitude `49.2847`.
|
2857
2888
|
#
|
2858
|
-
#
|
2859
|
-
#
|
2889
|
+
# <note markdown="1"> `BiasPosition` and `FilterBBox` are mutually exclusive. Specifying
|
2890
|
+
# both options results in an error.
|
2860
2891
|
#
|
2861
|
-
#
|
2862
|
-
# lower southwest corner.
|
2892
|
+
# </note>
|
2863
2893
|
#
|
2864
|
-
#
|
2894
|
+
# @option params [Array<Float>] :filter_b_box
|
2895
|
+
# An optional parameter that limits the search results by returning only
|
2896
|
+
# places that are within the provided bounding box.
|
2865
2897
|
#
|
2866
|
-
#
|
2898
|
+
# If provided, this parameter must contain a total of four consecutive
|
2899
|
+
# numbers in two pairs. The first pair of numbers represents the X and Y
|
2900
|
+
# coordinates (longitude and latitude, respectively) of the southwest
|
2901
|
+
# corner of the bounding box; the second pair of numbers represents the
|
2902
|
+
# X and Y coordinates (longitude and latitude, respectively) of the
|
2903
|
+
# northeast corner of the bounding box.
|
2867
2904
|
#
|
2868
|
-
#
|
2869
|
-
#
|
2905
|
+
# For example, `[-12.7935, -37.4835, -12.0684, -36.9542]` represents a
|
2906
|
+
# bounding box where the southwest corner has longitude `-12.7935` and
|
2907
|
+
# latitude `-37.4835`, and the northeast corner has longitude `-12.0684`
|
2908
|
+
# and latitude `-36.9542`.
|
2870
2909
|
#
|
2871
|
-
#
|
2872
|
-
#
|
2910
|
+
# <note markdown="1"> `FilterBBox` and `BiasPosition` are mutually exclusive. Specifying
|
2911
|
+
# both options results in an error.
|
2873
2912
|
#
|
2874
|
-
#
|
2913
|
+
# </note>
|
2875
2914
|
#
|
2876
2915
|
# @option params [Array<String>] :filter_countries
|
2877
|
-
#
|
2878
|
-
#
|
2916
|
+
# An optional parameter that limits the search results by returning only
|
2917
|
+
# places that are in a specified list of countries.
|
2879
2918
|
#
|
2880
|
-
# *
|
2881
|
-
# uses three upper-case characters: `AUS`.
|
2919
|
+
# * Valid values include [ISO 3166][1] 3-digit country codes. For
|
2920
|
+
# example, Australia uses three upper-case characters: `AUS`.
|
2882
2921
|
#
|
2883
2922
|
# ^
|
2884
2923
|
#
|
@@ -2889,6 +2928,19 @@ module Aws::LocationService
|
|
2889
2928
|
# @option params [required, String] :index_name
|
2890
2929
|
# The name of the place index resource you want to use for the search.
|
2891
2930
|
#
|
2931
|
+
# @option params [String] :language
|
2932
|
+
# The preferred language used to return results. The value must be a
|
2933
|
+
# valid [BCP 47][1] language tag, for example, `en` for English.
|
2934
|
+
#
|
2935
|
+
# This setting affects the languages used in the results. It does not
|
2936
|
+
# change which results are returned. If the language is not specified,
|
2937
|
+
# or not supported for a particular result, the partner automatically
|
2938
|
+
# chooses a language for the result.
|
2939
|
+
#
|
2940
|
+
#
|
2941
|
+
#
|
2942
|
+
# [1]: https://tools.ietf.org/search/bcp47
|
2943
|
+
#
|
2892
2944
|
# @option params [Integer] :max_results
|
2893
2945
|
# An optional parameter. The maximum number of results returned per
|
2894
2946
|
# request.
|
@@ -2896,7 +2948,7 @@ module Aws::LocationService
|
|
2896
2948
|
# The default: `50`
|
2897
2949
|
#
|
2898
2950
|
# @option params [required, String] :text
|
2899
|
-
# The address, name, city, or region to be used in the search
|
2951
|
+
# The address, name, city, or region to be used in the search in
|
2900
2952
|
# free-form text format. For example, `123 Any Street`.
|
2901
2953
|
#
|
2902
2954
|
# @return [Types::SearchPlaceIndexForTextResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -2911,6 +2963,7 @@ module Aws::LocationService
|
|
2911
2963
|
# filter_b_box: [1.0],
|
2912
2964
|
# filter_countries: ["CountryCode"],
|
2913
2965
|
# index_name: "ResourceName", # required
|
2966
|
+
# language: "LanguageTag",
|
2914
2967
|
# max_results: 1,
|
2915
2968
|
# text: "SyntheticSearchPlaceIndexForTextRequestString", # required
|
2916
2969
|
# })
|
@@ -2918,10 +2971,12 @@ module Aws::LocationService
|
|
2918
2971
|
# @example Response structure
|
2919
2972
|
#
|
2920
2973
|
# resp.results #=> Array
|
2974
|
+
# resp.results[0].distance #=> Float
|
2921
2975
|
# resp.results[0].place.address_number #=> String
|
2922
2976
|
# resp.results[0].place.country #=> String
|
2923
2977
|
# resp.results[0].place.geometry.point #=> Array
|
2924
2978
|
# resp.results[0].place.geometry.point[0] #=> Float
|
2979
|
+
# resp.results[0].place.interpolated #=> Boolean
|
2925
2980
|
# resp.results[0].place.label #=> String
|
2926
2981
|
# resp.results[0].place.municipality #=> String
|
2927
2982
|
# resp.results[0].place.neighborhood #=> String
|
@@ -2929,6 +2984,9 @@ module Aws::LocationService
|
|
2929
2984
|
# resp.results[0].place.region #=> String
|
2930
2985
|
# resp.results[0].place.street #=> String
|
2931
2986
|
# resp.results[0].place.sub_region #=> String
|
2987
|
+
# resp.results[0].place.time_zone.name #=> String
|
2988
|
+
# resp.results[0].place.time_zone.offset #=> Integer
|
2989
|
+
# resp.results[0].relevance #=> Float
|
2932
2990
|
# resp.summary.bias_position #=> Array
|
2933
2991
|
# resp.summary.bias_position[0] #=> Float
|
2934
2992
|
# resp.summary.data_source #=> String
|
@@ -2936,6 +2994,7 @@ module Aws::LocationService
|
|
2936
2994
|
# resp.summary.filter_b_box[0] #=> Float
|
2937
2995
|
# resp.summary.filter_countries #=> Array
|
2938
2996
|
# resp.summary.filter_countries[0] #=> String
|
2997
|
+
# resp.summary.language #=> String
|
2939
2998
|
# resp.summary.max_results #=> Integer
|
2940
2999
|
# resp.summary.result_b_box #=> Array
|
2941
3000
|
# resp.summary.result_b_box[0] #=> Float
|
@@ -2965,12 +3024,27 @@ module Aws::LocationService
|
|
2965
3024
|
# ^
|
2966
3025
|
#
|
2967
3026
|
# @option params [required, Hash<String,String>] :tags
|
2968
|
-
#
|
2969
|
-
#
|
3027
|
+
# Applies one or more tags to specific resource. A tag is a key-value
|
3028
|
+
# pair that helps you manage, identify, search, and filter your
|
3029
|
+
# resources.
|
3030
|
+
#
|
3031
|
+
# Format: `"key" : "value"`
|
2970
3032
|
#
|
2971
|
-
#
|
3033
|
+
# Restrictions:
|
2972
3034
|
#
|
2973
|
-
#
|
3035
|
+
# * Maximum 50 tags per resource.
|
3036
|
+
#
|
3037
|
+
# * Each tag key must be unique and must have exactly one associated
|
3038
|
+
# value.
|
3039
|
+
#
|
3040
|
+
# * Maximum key length: 128 Unicode characters in UTF-8.
|
3041
|
+
#
|
3042
|
+
# * Maximum value length: 256 Unicode characters in UTF-8.
|
3043
|
+
#
|
3044
|
+
# * Can use alphanumeric characters (A–Z, a–z, 0–9), and the following
|
3045
|
+
# characters: + - = . \_ : / @
|
3046
|
+
#
|
3047
|
+
# * Cannot use "aws:" as a prefix for a key.
|
2974
3048
|
#
|
2975
3049
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2976
3050
|
#
|
@@ -3314,7 +3388,7 @@ module Aws::LocationService
|
|
3314
3388
|
#
|
3315
3389
|
# resp = client.update_tracker({
|
3316
3390
|
# description: "ResourceDescription",
|
3317
|
-
# position_filtering: "TimeBased", # accepts TimeBased, DistanceBased
|
3391
|
+
# position_filtering: "TimeBased", # accepts TimeBased, DistanceBased, AccuracyBased
|
3318
3392
|
# pricing_plan: "RequestBasedUsage", # accepts RequestBasedUsage, MobileAssetTracking, MobileAssetManagement
|
3319
3393
|
# pricing_plan_data_source: "String",
|
3320
3394
|
# tracker_name: "ResourceName", # required
|
@@ -3348,7 +3422,7 @@ module Aws::LocationService
|
|
3348
3422
|
params: params,
|
3349
3423
|
config: config)
|
3350
3424
|
context[:gem_name] = 'aws-sdk-locationservice'
|
3351
|
-
context[:gem_version] = '1.
|
3425
|
+
context[:gem_version] = '1.12.0'
|
3352
3426
|
Seahorse::Client::Request.new(handlers, context)
|
3353
3427
|
end
|
3354
3428
|
|
@@ -128,9 +128,11 @@ module Aws::LocationService
|
|
128
128
|
GetMapTileRequestZString = Shapes::StringShape.new(name: 'GetMapTileRequestZString')
|
129
129
|
GetMapTileResponse = Shapes::StructureShape.new(name: 'GetMapTileResponse')
|
130
130
|
Id = Shapes::StringShape.new(name: 'Id')
|
131
|
+
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
131
132
|
IntendedUse = Shapes::StringShape.new(name: 'IntendedUse')
|
132
133
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
133
134
|
KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
|
135
|
+
LanguageTag = Shapes::StringShape.new(name: 'LanguageTag')
|
134
136
|
Leg = Shapes::StructureShape.new(name: 'Leg')
|
135
137
|
LegDistanceDouble = Shapes::FloatShape.new(name: 'LegDistanceDouble')
|
136
138
|
LegDurationSecondsDouble = Shapes::FloatShape.new(name: 'LegDurationSecondsDouble')
|
@@ -192,9 +194,12 @@ module Aws::LocationService
|
|
192
194
|
ResourceName = Shapes::StringShape.new(name: 'ResourceName')
|
193
195
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
194
196
|
SearchForPositionResult = Shapes::StructureShape.new(name: 'SearchForPositionResult')
|
197
|
+
SearchForPositionResultDistanceDouble = Shapes::FloatShape.new(name: 'SearchForPositionResultDistanceDouble')
|
195
198
|
SearchForPositionResultList = Shapes::ListShape.new(name: 'SearchForPositionResultList')
|
196
199
|
SearchForTextResult = Shapes::StructureShape.new(name: 'SearchForTextResult')
|
200
|
+
SearchForTextResultDistanceDouble = Shapes::FloatShape.new(name: 'SearchForTextResultDistanceDouble')
|
197
201
|
SearchForTextResultList = Shapes::ListShape.new(name: 'SearchForTextResultList')
|
202
|
+
SearchForTextResultRelevanceDouble = Shapes::FloatShape.new(name: 'SearchForTextResultRelevanceDouble')
|
198
203
|
SearchPlaceIndexForPositionRequest = Shapes::StructureShape.new(name: 'SearchPlaceIndexForPositionRequest')
|
199
204
|
SearchPlaceIndexForPositionResponse = Shapes::StructureShape.new(name: 'SearchPlaceIndexForPositionResponse')
|
200
205
|
SearchPlaceIndexForPositionSummary = Shapes::StructureShape.new(name: 'SearchPlaceIndexForPositionSummary')
|
@@ -217,6 +222,7 @@ module Aws::LocationService
|
|
217
222
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
218
223
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
219
224
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
225
|
+
TimeZone = Shapes::StructureShape.new(name: 'TimeZone')
|
220
226
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
|
221
227
|
Token = Shapes::StringShape.new(name: 'Token')
|
222
228
|
TravelMode = Shapes::StringShape.new(name: 'TravelMode')
|
@@ -831,6 +837,7 @@ module Aws::LocationService
|
|
831
837
|
Place.add_member(:address_number, Shapes::ShapeRef.new(shape: String, location_name: "AddressNumber"))
|
832
838
|
Place.add_member(:country, Shapes::ShapeRef.new(shape: String, location_name: "Country"))
|
833
839
|
Place.add_member(:geometry, Shapes::ShapeRef.new(shape: PlaceGeometry, required: true, location_name: "Geometry"))
|
840
|
+
Place.add_member(:interpolated, Shapes::ShapeRef.new(shape: Boolean, location_name: "Interpolated"))
|
834
841
|
Place.add_member(:label, Shapes::ShapeRef.new(shape: String, location_name: "Label"))
|
835
842
|
Place.add_member(:municipality, Shapes::ShapeRef.new(shape: String, location_name: "Municipality"))
|
836
843
|
Place.add_member(:neighborhood, Shapes::ShapeRef.new(shape: String, location_name: "Neighborhood"))
|
@@ -838,6 +845,7 @@ module Aws::LocationService
|
|
838
845
|
Place.add_member(:region, Shapes::ShapeRef.new(shape: String, location_name: "Region"))
|
839
846
|
Place.add_member(:street, Shapes::ShapeRef.new(shape: String, location_name: "Street"))
|
840
847
|
Place.add_member(:sub_region, Shapes::ShapeRef.new(shape: String, location_name: "SubRegion"))
|
848
|
+
Place.add_member(:time_zone, Shapes::ShapeRef.new(shape: TimeZone, location_name: "TimeZone"))
|
841
849
|
Place.struct_class = Types::Place
|
842
850
|
|
843
851
|
PlaceGeometry.add_member(:point, Shapes::ShapeRef.new(shape: Position, location_name: "Point"))
|
@@ -858,17 +866,21 @@ module Aws::LocationService
|
|
858
866
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
859
867
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
860
868
|
|
869
|
+
SearchForPositionResult.add_member(:distance, Shapes::ShapeRef.new(shape: SearchForPositionResultDistanceDouble, required: true, location_name: "Distance"))
|
861
870
|
SearchForPositionResult.add_member(:place, Shapes::ShapeRef.new(shape: Place, required: true, location_name: "Place"))
|
862
871
|
SearchForPositionResult.struct_class = Types::SearchForPositionResult
|
863
872
|
|
864
873
|
SearchForPositionResultList.member = Shapes::ShapeRef.new(shape: SearchForPositionResult)
|
865
874
|
|
875
|
+
SearchForTextResult.add_member(:distance, Shapes::ShapeRef.new(shape: SearchForTextResultDistanceDouble, location_name: "Distance"))
|
866
876
|
SearchForTextResult.add_member(:place, Shapes::ShapeRef.new(shape: Place, required: true, location_name: "Place"))
|
877
|
+
SearchForTextResult.add_member(:relevance, Shapes::ShapeRef.new(shape: SearchForTextResultRelevanceDouble, location_name: "Relevance"))
|
867
878
|
SearchForTextResult.struct_class = Types::SearchForTextResult
|
868
879
|
|
869
880
|
SearchForTextResultList.member = Shapes::ShapeRef.new(shape: SearchForTextResult)
|
870
881
|
|
871
882
|
SearchPlaceIndexForPositionRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "IndexName"))
|
883
|
+
SearchPlaceIndexForPositionRequest.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
|
872
884
|
SearchPlaceIndexForPositionRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PlaceIndexSearchResultLimit, location_name: "MaxResults"))
|
873
885
|
SearchPlaceIndexForPositionRequest.add_member(:position, Shapes::ShapeRef.new(shape: Position, required: true, location_name: "Position"))
|
874
886
|
SearchPlaceIndexForPositionRequest.struct_class = Types::SearchPlaceIndexForPositionRequest
|
@@ -878,6 +890,7 @@ module Aws::LocationService
|
|
878
890
|
SearchPlaceIndexForPositionResponse.struct_class = Types::SearchPlaceIndexForPositionResponse
|
879
891
|
|
880
892
|
SearchPlaceIndexForPositionSummary.add_member(:data_source, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataSource"))
|
893
|
+
SearchPlaceIndexForPositionSummary.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
|
881
894
|
SearchPlaceIndexForPositionSummary.add_member(:max_results, Shapes::ShapeRef.new(shape: PlaceIndexSearchResultLimit, location_name: "MaxResults"))
|
882
895
|
SearchPlaceIndexForPositionSummary.add_member(:position, Shapes::ShapeRef.new(shape: Position, required: true, location_name: "Position"))
|
883
896
|
SearchPlaceIndexForPositionSummary.struct_class = Types::SearchPlaceIndexForPositionSummary
|
@@ -886,6 +899,7 @@ module Aws::LocationService
|
|
886
899
|
SearchPlaceIndexForTextRequest.add_member(:filter_b_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "FilterBBox"))
|
887
900
|
SearchPlaceIndexForTextRequest.add_member(:filter_countries, Shapes::ShapeRef.new(shape: CountryCodeList, location_name: "FilterCountries"))
|
888
901
|
SearchPlaceIndexForTextRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "IndexName"))
|
902
|
+
SearchPlaceIndexForTextRequest.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
|
889
903
|
SearchPlaceIndexForTextRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PlaceIndexSearchResultLimit, location_name: "MaxResults"))
|
890
904
|
SearchPlaceIndexForTextRequest.add_member(:text, Shapes::ShapeRef.new(shape: SyntheticSearchPlaceIndexForTextRequestString, required: true, location_name: "Text"))
|
891
905
|
SearchPlaceIndexForTextRequest.struct_class = Types::SearchPlaceIndexForTextRequest
|
@@ -898,6 +912,7 @@ module Aws::LocationService
|
|
898
912
|
SearchPlaceIndexForTextSummary.add_member(:data_source, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataSource"))
|
899
913
|
SearchPlaceIndexForTextSummary.add_member(:filter_b_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "FilterBBox"))
|
900
914
|
SearchPlaceIndexForTextSummary.add_member(:filter_countries, Shapes::ShapeRef.new(shape: CountryCodeList, location_name: "FilterCountries"))
|
915
|
+
SearchPlaceIndexForTextSummary.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
|
901
916
|
SearchPlaceIndexForTextSummary.add_member(:max_results, Shapes::ShapeRef.new(shape: PlaceIndexSearchResultLimit, location_name: "MaxResults"))
|
902
917
|
SearchPlaceIndexForTextSummary.add_member(:result_b_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "ResultBBox"))
|
903
918
|
SearchPlaceIndexForTextSummary.add_member(:text, Shapes::ShapeRef.new(shape: SyntheticSearchPlaceIndexForTextSummaryString, required: true, location_name: "Text"))
|
@@ -929,6 +944,10 @@ module Aws::LocationService
|
|
929
944
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
930
945
|
ThrottlingException.struct_class = Types::ThrottlingException
|
931
946
|
|
947
|
+
TimeZone.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
948
|
+
TimeZone.add_member(:offset, Shapes::ShapeRef.new(shape: Integer, location_name: "Offset"))
|
949
|
+
TimeZone.struct_class = Types::TimeZone
|
950
|
+
|
932
951
|
TruckDimensions.add_member(:height, Shapes::ShapeRef.new(shape: TruckDimensionsHeightDouble, location_name: "Height"))
|
933
952
|
TruckDimensions.add_member(:length, Shapes::ShapeRef.new(shape: TruckDimensionsLengthDouble, location_name: "Length"))
|
934
953
|
TruckDimensions.add_member(:unit, Shapes::ShapeRef.new(shape: DimensionUnit, location_name: "Unit"))
|