aws-sdk-locationservice 1.23.0 → 1.25.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-locationservice/client.rb +120 -8
- data/lib/aws-sdk-locationservice/client_api.rb +36 -3
- data/lib/aws-sdk-locationservice/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-locationservice/endpoint_provider.rb +110 -0
- data/lib/aws-sdk-locationservice/endpoints.rb +757 -0
- data/lib/aws-sdk-locationservice/plugins/endpoints.rb +174 -0
- data/lib/aws-sdk-locationservice/types.rb +170 -30
- data/lib/aws-sdk-locationservice.rb +5 -1
- metadata +8 -4
@@ -0,0 +1,174 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::LocationService
|
12
|
+
module Plugins
|
13
|
+
class Endpoints < Seahorse::Client::Plugin
|
14
|
+
option(
|
15
|
+
:endpoint_provider,
|
16
|
+
doc_type: 'Aws::LocationService::EndpointProvider',
|
17
|
+
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
|
+
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
|
+
'where `parameters` is a Struct similar to '\
|
20
|
+
'`Aws::LocationService::EndpointParameters`'
|
21
|
+
) do |cfg|
|
22
|
+
Aws::LocationService::EndpointProvider.new
|
23
|
+
end
|
24
|
+
|
25
|
+
# @api private
|
26
|
+
class Handler < Seahorse::Client::Handler
|
27
|
+
def call(context)
|
28
|
+
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
|
+
unless context[:discovered_endpoint]
|
30
|
+
params = parameters_for_operation(context)
|
31
|
+
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
|
+
|
33
|
+
context.http_request.endpoint = endpoint.url
|
34
|
+
apply_endpoint_headers(context, endpoint.headers)
|
35
|
+
end
|
36
|
+
|
37
|
+
context[:endpoint_params] = params
|
38
|
+
context[:auth_scheme] =
|
39
|
+
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
|
+
|
41
|
+
@handler.call(context)
|
42
|
+
end
|
43
|
+
|
44
|
+
private
|
45
|
+
|
46
|
+
def apply_endpoint_headers(context, headers)
|
47
|
+
headers.each do |key, values|
|
48
|
+
value = values
|
49
|
+
.compact
|
50
|
+
.map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
|
51
|
+
.join(',')
|
52
|
+
|
53
|
+
context.http_request.headers[key] = value
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
def parameters_for_operation(context)
|
58
|
+
case context.operation_name
|
59
|
+
when :associate_tracker_consumer
|
60
|
+
Aws::LocationService::Endpoints::AssociateTrackerConsumer.build(context)
|
61
|
+
when :batch_delete_device_position_history
|
62
|
+
Aws::LocationService::Endpoints::BatchDeleteDevicePositionHistory.build(context)
|
63
|
+
when :batch_delete_geofence
|
64
|
+
Aws::LocationService::Endpoints::BatchDeleteGeofence.build(context)
|
65
|
+
when :batch_evaluate_geofences
|
66
|
+
Aws::LocationService::Endpoints::BatchEvaluateGeofences.build(context)
|
67
|
+
when :batch_get_device_position
|
68
|
+
Aws::LocationService::Endpoints::BatchGetDevicePosition.build(context)
|
69
|
+
when :batch_put_geofence
|
70
|
+
Aws::LocationService::Endpoints::BatchPutGeofence.build(context)
|
71
|
+
when :batch_update_device_position
|
72
|
+
Aws::LocationService::Endpoints::BatchUpdateDevicePosition.build(context)
|
73
|
+
when :calculate_route
|
74
|
+
Aws::LocationService::Endpoints::CalculateRoute.build(context)
|
75
|
+
when :calculate_route_matrix
|
76
|
+
Aws::LocationService::Endpoints::CalculateRouteMatrix.build(context)
|
77
|
+
when :create_geofence_collection
|
78
|
+
Aws::LocationService::Endpoints::CreateGeofenceCollection.build(context)
|
79
|
+
when :create_map
|
80
|
+
Aws::LocationService::Endpoints::CreateMap.build(context)
|
81
|
+
when :create_place_index
|
82
|
+
Aws::LocationService::Endpoints::CreatePlaceIndex.build(context)
|
83
|
+
when :create_route_calculator
|
84
|
+
Aws::LocationService::Endpoints::CreateRouteCalculator.build(context)
|
85
|
+
when :create_tracker
|
86
|
+
Aws::LocationService::Endpoints::CreateTracker.build(context)
|
87
|
+
when :delete_geofence_collection
|
88
|
+
Aws::LocationService::Endpoints::DeleteGeofenceCollection.build(context)
|
89
|
+
when :delete_map
|
90
|
+
Aws::LocationService::Endpoints::DeleteMap.build(context)
|
91
|
+
when :delete_place_index
|
92
|
+
Aws::LocationService::Endpoints::DeletePlaceIndex.build(context)
|
93
|
+
when :delete_route_calculator
|
94
|
+
Aws::LocationService::Endpoints::DeleteRouteCalculator.build(context)
|
95
|
+
when :delete_tracker
|
96
|
+
Aws::LocationService::Endpoints::DeleteTracker.build(context)
|
97
|
+
when :describe_geofence_collection
|
98
|
+
Aws::LocationService::Endpoints::DescribeGeofenceCollection.build(context)
|
99
|
+
when :describe_map
|
100
|
+
Aws::LocationService::Endpoints::DescribeMap.build(context)
|
101
|
+
when :describe_place_index
|
102
|
+
Aws::LocationService::Endpoints::DescribePlaceIndex.build(context)
|
103
|
+
when :describe_route_calculator
|
104
|
+
Aws::LocationService::Endpoints::DescribeRouteCalculator.build(context)
|
105
|
+
when :describe_tracker
|
106
|
+
Aws::LocationService::Endpoints::DescribeTracker.build(context)
|
107
|
+
when :disassociate_tracker_consumer
|
108
|
+
Aws::LocationService::Endpoints::DisassociateTrackerConsumer.build(context)
|
109
|
+
when :get_device_position
|
110
|
+
Aws::LocationService::Endpoints::GetDevicePosition.build(context)
|
111
|
+
when :get_device_position_history
|
112
|
+
Aws::LocationService::Endpoints::GetDevicePositionHistory.build(context)
|
113
|
+
when :get_geofence
|
114
|
+
Aws::LocationService::Endpoints::GetGeofence.build(context)
|
115
|
+
when :get_map_glyphs
|
116
|
+
Aws::LocationService::Endpoints::GetMapGlyphs.build(context)
|
117
|
+
when :get_map_sprites
|
118
|
+
Aws::LocationService::Endpoints::GetMapSprites.build(context)
|
119
|
+
when :get_map_style_descriptor
|
120
|
+
Aws::LocationService::Endpoints::GetMapStyleDescriptor.build(context)
|
121
|
+
when :get_map_tile
|
122
|
+
Aws::LocationService::Endpoints::GetMapTile.build(context)
|
123
|
+
when :get_place
|
124
|
+
Aws::LocationService::Endpoints::GetPlace.build(context)
|
125
|
+
when :list_device_positions
|
126
|
+
Aws::LocationService::Endpoints::ListDevicePositions.build(context)
|
127
|
+
when :list_geofence_collections
|
128
|
+
Aws::LocationService::Endpoints::ListGeofenceCollections.build(context)
|
129
|
+
when :list_geofences
|
130
|
+
Aws::LocationService::Endpoints::ListGeofences.build(context)
|
131
|
+
when :list_maps
|
132
|
+
Aws::LocationService::Endpoints::ListMaps.build(context)
|
133
|
+
when :list_place_indexes
|
134
|
+
Aws::LocationService::Endpoints::ListPlaceIndexes.build(context)
|
135
|
+
when :list_route_calculators
|
136
|
+
Aws::LocationService::Endpoints::ListRouteCalculators.build(context)
|
137
|
+
when :list_tags_for_resource
|
138
|
+
Aws::LocationService::Endpoints::ListTagsForResource.build(context)
|
139
|
+
when :list_tracker_consumers
|
140
|
+
Aws::LocationService::Endpoints::ListTrackerConsumers.build(context)
|
141
|
+
when :list_trackers
|
142
|
+
Aws::LocationService::Endpoints::ListTrackers.build(context)
|
143
|
+
when :put_geofence
|
144
|
+
Aws::LocationService::Endpoints::PutGeofence.build(context)
|
145
|
+
when :search_place_index_for_position
|
146
|
+
Aws::LocationService::Endpoints::SearchPlaceIndexForPosition.build(context)
|
147
|
+
when :search_place_index_for_suggestions
|
148
|
+
Aws::LocationService::Endpoints::SearchPlaceIndexForSuggestions.build(context)
|
149
|
+
when :search_place_index_for_text
|
150
|
+
Aws::LocationService::Endpoints::SearchPlaceIndexForText.build(context)
|
151
|
+
when :tag_resource
|
152
|
+
Aws::LocationService::Endpoints::TagResource.build(context)
|
153
|
+
when :untag_resource
|
154
|
+
Aws::LocationService::Endpoints::UntagResource.build(context)
|
155
|
+
when :update_geofence_collection
|
156
|
+
Aws::LocationService::Endpoints::UpdateGeofenceCollection.build(context)
|
157
|
+
when :update_map
|
158
|
+
Aws::LocationService::Endpoints::UpdateMap.build(context)
|
159
|
+
when :update_place_index
|
160
|
+
Aws::LocationService::Endpoints::UpdatePlaceIndex.build(context)
|
161
|
+
when :update_route_calculator
|
162
|
+
Aws::LocationService::Endpoints::UpdateRouteCalculator.build(context)
|
163
|
+
when :update_tracker
|
164
|
+
Aws::LocationService::Endpoints::UpdateTracker.build(context)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
def add_handlers(handlers, _config)
|
170
|
+
handlers.add(Handler, step: :build, priority: 75)
|
171
|
+
end
|
172
|
+
end
|
173
|
+
end
|
174
|
+
end
|
@@ -1456,7 +1456,9 @@ module Aws::LocationService
|
|
1456
1456
|
# }
|
1457
1457
|
#
|
1458
1458
|
# @!attribute [rw] configuration
|
1459
|
-
# Specifies the
|
1459
|
+
# Specifies the `MapConfiguration`, including the map style, for the
|
1460
|
+
# map resource that you create. The map style defines the look of maps
|
1461
|
+
# and the data provider for your map resource.
|
1460
1462
|
# @return [Types::MapConfiguration]
|
1461
1463
|
#
|
1462
1464
|
# @!attribute [rw] description
|
@@ -1529,7 +1531,7 @@ module Aws::LocationService
|
|
1529
1531
|
# The Amazon Resource Name (ARN) for the map resource. Used to specify
|
1530
1532
|
# a resource across all AWS.
|
1531
1533
|
#
|
1532
|
-
# * Format example: `arn:aws:geo:region:account-id:
|
1534
|
+
# * Format example: `arn:aws:geo:region:account-id:map/ExampleMap`
|
1533
1535
|
#
|
1534
1536
|
# ^
|
1535
1537
|
# @return [String]
|
@@ -2297,7 +2299,7 @@ module Aws::LocationService
|
|
2297
2299
|
# The Amazon Resource Name (ARN) for the map resource. Used to specify
|
2298
2300
|
# a resource across all AWS.
|
2299
2301
|
#
|
2300
|
-
# * Format example: `arn:aws:geo:region:account-id:
|
2302
|
+
# * Format example: `arn:aws:geo:region:account-id:map/ExampleMap`
|
2301
2303
|
#
|
2302
2304
|
# ^
|
2303
2305
|
# @return [String]
|
@@ -2818,20 +2820,27 @@ module Aws::LocationService
|
|
2818
2820
|
# @return [Types::Circle]
|
2819
2821
|
#
|
2820
2822
|
# @!attribute [rw] polygon
|
2821
|
-
#
|
2822
|
-
#
|
2823
|
-
#
|
2824
|
-
# form: `[longitude,
|
2825
|
-
#
|
2826
|
-
#
|
2827
|
-
#
|
2828
|
-
#
|
2829
|
-
#
|
2830
|
-
#
|
2831
|
-
#
|
2832
|
-
#
|
2833
|
-
#
|
2834
|
-
#
|
2823
|
+
# A polygon is a list of linear rings which are each made up of a list
|
2824
|
+
# of vertices.
|
2825
|
+
#
|
2826
|
+
# Each vertex is a 2-dimensional point of the form: `[longitude,
|
2827
|
+
# latitude]`. This is represented as an array of doubles of length 2
|
2828
|
+
# (so `[double, double]`).
|
2829
|
+
#
|
2830
|
+
# An array of 4 or more vertices, where the first and last vertex are
|
2831
|
+
# the same (to form a closed boundary), is called a linear ring. The
|
2832
|
+
# linear ring vertices must be listed in counter-clockwise order
|
2833
|
+
# around the ring’s interior. The linear ring is represented as an
|
2834
|
+
# array of vertices, or an array of arrays of doubles (`[[double,
|
2835
|
+
# double], ...]`).
|
2836
|
+
#
|
2837
|
+
# A geofence consists of a single linear ring. To allow for future
|
2838
|
+
# expansion, the Polygon parameter takes an array of linear rings,
|
2839
|
+
# which is represented as an array of arrays of arrays of doubles
|
2840
|
+
# (`[[[double, double], ...], ...]`).
|
2841
|
+
#
|
2842
|
+
# A linear ring for use in geofences can consist of between 4 and
|
2843
|
+
# 1,000 vertices.
|
2835
2844
|
# @return [Array<Array<Array<Float>>>]
|
2836
2845
|
#
|
2837
2846
|
# @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GeofenceGeometry AWS API Documentation
|
@@ -3131,9 +3140,10 @@ module Aws::LocationService
|
|
3131
3140
|
#
|
3132
3141
|
# * VectorHereContrast – `Fira GO Regular` \| `Fira GO Bold`
|
3133
3142
|
#
|
3134
|
-
# * VectorHereExplore, VectorHereExploreTruck
|
3135
|
-
# `Fira GO
|
3136
|
-
# `Noto Sans CJK JP
|
3143
|
+
# * VectorHereExplore, VectorHereExploreTruck,
|
3144
|
+
# HybridHereExploreSatellite – `Fira GO Italic` \| `Fira GO Map` \|
|
3145
|
+
# `Fira GO Map Bold` \| `Noto Sans CJK JP Bold` \| `Noto Sans CJK JP
|
3146
|
+
# Light` \| `Noto Sans CJK JP Regular`
|
3137
3147
|
#
|
3138
3148
|
#
|
3139
3149
|
#
|
@@ -3195,8 +3205,8 @@ module Aws::LocationService
|
|
3195
3205
|
#
|
3196
3206
|
# * `sprites@2x.png` for high pixel density displays
|
3197
3207
|
#
|
3198
|
-
# For the JSON document
|
3199
|
-
# names:
|
3208
|
+
# For the JSON document containing image offsets. Use the following
|
3209
|
+
# file names:
|
3200
3210
|
#
|
3201
3211
|
# * `sprites.json`
|
3202
3212
|
#
|
@@ -3327,6 +3337,71 @@ module Aws::LocationService
|
|
3327
3337
|
include Aws::Structure
|
3328
3338
|
end
|
3329
3339
|
|
3340
|
+
# @note When making an API call, you may pass GetPlaceRequest
|
3341
|
+
# data as a hash:
|
3342
|
+
#
|
3343
|
+
# {
|
3344
|
+
# index_name: "ResourceName", # required
|
3345
|
+
# language: "LanguageTag",
|
3346
|
+
# place_id: "PlaceId", # required
|
3347
|
+
# }
|
3348
|
+
#
|
3349
|
+
# @!attribute [rw] index_name
|
3350
|
+
# The name of the place index resource that you want to use for the
|
3351
|
+
# search.
|
3352
|
+
# @return [String]
|
3353
|
+
#
|
3354
|
+
# @!attribute [rw] language
|
3355
|
+
# The preferred language used to return results. The value must be a
|
3356
|
+
# valid [BCP 47][1] language tag, for example, `en` for English.
|
3357
|
+
#
|
3358
|
+
# This setting affects the languages used in the results, but not the
|
3359
|
+
# results themselves. If no language is specified, or not supported
|
3360
|
+
# for a particular result, the partner automatically chooses a
|
3361
|
+
# language for the result.
|
3362
|
+
#
|
3363
|
+
# For an example, we'll use the Greek language. You search for a
|
3364
|
+
# location around Athens, Greece, with the `language` parameter set to
|
3365
|
+
# `en`. The `city` in the results will most likely be returned as
|
3366
|
+
# `Athens`.
|
3367
|
+
#
|
3368
|
+
# If you set the `language` parameter to `el`, for Greek, then the
|
3369
|
+
# `city` in the results will more likely be returned as `Αθήνα`.
|
3370
|
+
#
|
3371
|
+
# If the data provider does not have a value for Greek, the result
|
3372
|
+
# will be in a language that the provider does support.
|
3373
|
+
#
|
3374
|
+
#
|
3375
|
+
#
|
3376
|
+
# [1]: https://tools.ietf.org/search/bcp47
|
3377
|
+
# @return [String]
|
3378
|
+
#
|
3379
|
+
# @!attribute [rw] place_id
|
3380
|
+
# The identifier of the place to find.
|
3381
|
+
# @return [String]
|
3382
|
+
#
|
3383
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetPlaceRequest AWS API Documentation
|
3384
|
+
#
|
3385
|
+
class GetPlaceRequest < Struct.new(
|
3386
|
+
:index_name,
|
3387
|
+
:language,
|
3388
|
+
:place_id)
|
3389
|
+
SENSITIVE = []
|
3390
|
+
include Aws::Structure
|
3391
|
+
end
|
3392
|
+
|
3393
|
+
# @!attribute [rw] place
|
3394
|
+
# Details about the result, such as its address and position.
|
3395
|
+
# @return [Types::Place]
|
3396
|
+
#
|
3397
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetPlaceResponse AWS API Documentation
|
3398
|
+
#
|
3399
|
+
class GetPlaceResponse < Struct.new(
|
3400
|
+
:place)
|
3401
|
+
SENSITIVE = []
|
3402
|
+
include Aws::Structure
|
3403
|
+
end
|
3404
|
+
|
3330
3405
|
# The request has failed to process because of an unknown server error,
|
3331
3406
|
# exception, or failure.
|
3332
3407
|
#
|
@@ -4352,6 +4427,12 @@ module Aws::LocationService
|
|
4352
4427
|
# high contrast detailed base map of the world that blends 3D and 2D
|
4353
4428
|
# rendering.
|
4354
4429
|
#
|
4430
|
+
# <note markdown="1"> The `VectorHereContrast` style has been renamed from
|
4431
|
+
# `VectorHereBerlin`. `VectorHereBerlin` has been deprecated, but
|
4432
|
+
# will continue to work in applications that use it.
|
4433
|
+
#
|
4434
|
+
# </note>
|
4435
|
+
#
|
4355
4436
|
# * `VectorHereExplore` – A default HERE map style containing a
|
4356
4437
|
# neutral, global map and its features including roads, buildings,
|
4357
4438
|
# landmarks, and water features. It also now includes a fully
|
@@ -4362,11 +4443,20 @@ module Aws::LocationService
|
|
4362
4443
|
# symbolized with highlighted segments and icons on top of HERE
|
4363
4444
|
# Explore to support use cases within transport and logistics.
|
4364
4445
|
#
|
4365
|
-
#
|
4366
|
-
#
|
4367
|
-
# continue to work in applications that use it.
|
4446
|
+
# * `RasterHereExploreSatellite` – A global map containing high
|
4447
|
+
# resolution satellite imagery.
|
4368
4448
|
#
|
4369
|
-
#
|
4449
|
+
# * `HybridHereExploreSatellite` – A global map displaying the road
|
4450
|
+
# network, street names, and city labels over satellite imagery.
|
4451
|
+
# This style will automatically retrieve both raster and vector
|
4452
|
+
# tiles, and your charges will be based on total tiles retrieved.
|
4453
|
+
#
|
4454
|
+
# <note markdown="1"> Hybrid styles use both vector and raster tiles when rendering the
|
4455
|
+
# map that you see. This means that more tiles are retrieved than
|
4456
|
+
# when using either vector or raster tiles alone. Your charges will
|
4457
|
+
# include all tiles retrieved.
|
4458
|
+
#
|
4459
|
+
# </note>
|
4370
4460
|
#
|
4371
4461
|
#
|
4372
4462
|
#
|
@@ -4454,9 +4544,24 @@ module Aws::LocationService
|
|
4454
4544
|
#
|
4455
4545
|
# @!attribute [rw] time_zone
|
4456
4546
|
# The time zone in which the `Place` is located. Returned only when
|
4457
|
-
# using
|
4547
|
+
# using HERE as the selected partner.
|
4458
4548
|
# @return [Types::TimeZone]
|
4459
4549
|
#
|
4550
|
+
# @!attribute [rw] unit_number
|
4551
|
+
# For addresses with multiple units, the unit identifier. Can include
|
4552
|
+
# numbers and letters, for example `3B` or `Unit 123`.
|
4553
|
+
#
|
4554
|
+
# <note markdown="1"> Returned only for a place index that uses Esri as a data provider.
|
4555
|
+
# Is not returned for `SearchPlaceIndexForPosition`.
|
4556
|
+
#
|
4557
|
+
# </note>
|
4558
|
+
# @return [String]
|
4559
|
+
#
|
4560
|
+
# @!attribute [rw] unit_type
|
4561
|
+
# For addresses with a `UnitNumber`, the type of unit. For example,
|
4562
|
+
# `Apartment`.
|
4563
|
+
# @return [String]
|
4564
|
+
#
|
4460
4565
|
# @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/Place AWS API Documentation
|
4461
4566
|
#
|
4462
4567
|
class Place < Struct.new(
|
@@ -4471,7 +4576,9 @@ module Aws::LocationService
|
|
4471
4576
|
:region,
|
4472
4577
|
:street,
|
4473
4578
|
:sub_region,
|
4474
|
-
:time_zone
|
4579
|
+
:time_zone,
|
4580
|
+
:unit_number,
|
4581
|
+
:unit_type)
|
4475
4582
|
SENSITIVE = []
|
4476
4583
|
include Aws::Structure
|
4477
4584
|
end
|
@@ -4717,11 +4824,22 @@ module Aws::LocationService
|
|
4717
4824
|
# Details about the search result, such as its address and position.
|
4718
4825
|
# @return [Types::Place]
|
4719
4826
|
#
|
4827
|
+
# @!attribute [rw] place_id
|
4828
|
+
# The unique identifier of the place. You can use this with the
|
4829
|
+
# `GetPlace` operation to find the place again later.
|
4830
|
+
#
|
4831
|
+
# <note markdown="1"> For `SearchPlaceIndexForPosition` operations, the `PlaceId` is
|
4832
|
+
# returned only by place indexes that use HERE as a data provider.
|
4833
|
+
#
|
4834
|
+
# </note>
|
4835
|
+
# @return [String]
|
4836
|
+
#
|
4720
4837
|
# @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/SearchForPositionResult AWS API Documentation
|
4721
4838
|
#
|
4722
4839
|
class SearchForPositionResult < Struct.new(
|
4723
4840
|
:distance,
|
4724
|
-
:place
|
4841
|
+
:place,
|
4842
|
+
:place_id)
|
4725
4843
|
SENSITIVE = []
|
4726
4844
|
include Aws::Structure
|
4727
4845
|
end
|
@@ -4729,6 +4847,16 @@ module Aws::LocationService
|
|
4729
4847
|
# Contains a place suggestion resulting from a place suggestion query
|
4730
4848
|
# that is run on a place index resource.
|
4731
4849
|
#
|
4850
|
+
# @!attribute [rw] place_id
|
4851
|
+
# The unique identifier of the place. You can use this with the
|
4852
|
+
# `GetPlace` operation to find the place again later.
|
4853
|
+
#
|
4854
|
+
# <note markdown="1"> For `SearchPlaceIndexForSuggestions` operations, the `PlaceId` is
|
4855
|
+
# returned by place indexes that use HERE or Esri as data providers.
|
4856
|
+
#
|
4857
|
+
# </note>
|
4858
|
+
# @return [String]
|
4859
|
+
#
|
4732
4860
|
# @!attribute [rw] text
|
4733
4861
|
# The text of the place suggestion, typically formatted as an address
|
4734
4862
|
# string.
|
@@ -4737,6 +4865,7 @@ module Aws::LocationService
|
|
4737
4865
|
# @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/SearchForSuggestionsResult AWS API Documentation
|
4738
4866
|
#
|
4739
4867
|
class SearchForSuggestionsResult < Struct.new(
|
4868
|
+
:place_id,
|
4740
4869
|
:text)
|
4741
4870
|
SENSITIVE = []
|
4742
4871
|
include Aws::Structure
|
@@ -4760,6 +4889,16 @@ module Aws::LocationService
|
|
4760
4889
|
# Details about the search result, such as its address and position.
|
4761
4890
|
# @return [Types::Place]
|
4762
4891
|
#
|
4892
|
+
# @!attribute [rw] place_id
|
4893
|
+
# The unique identifier of the place. You can use this with the
|
4894
|
+
# `GetPlace` operation to find the place again later.
|
4895
|
+
#
|
4896
|
+
# <note markdown="1"> For `SearchPlaceIndexForText` operations, the `PlaceId` is returned
|
4897
|
+
# only by place indexes that use HERE as a data provider.
|
4898
|
+
#
|
4899
|
+
# </note>
|
4900
|
+
# @return [String]
|
4901
|
+
#
|
4763
4902
|
# @!attribute [rw] relevance
|
4764
4903
|
# The relative confidence in the match for a result among the results
|
4765
4904
|
# returned. For example, if more fields for an address match
|
@@ -4774,6 +4913,7 @@ module Aws::LocationService
|
|
4774
4913
|
class SearchForTextResult < Struct.new(
|
4775
4914
|
:distance,
|
4776
4915
|
:place,
|
4916
|
+
:place_id,
|
4777
4917
|
:relevance)
|
4778
4918
|
SENSITIVE = []
|
4779
4919
|
include Aws::Structure
|
@@ -5765,7 +5905,7 @@ module Aws::LocationService
|
|
5765
5905
|
# The Amazon Resource Name (ARN) of the updated map resource. Used to
|
5766
5906
|
# specify a resource across AWS.
|
5767
5907
|
#
|
5768
|
-
# * Format example: `arn:aws:geo:region:account-id:
|
5908
|
+
# * Format example: `arn:aws:geo:region:account-id:map/ExampleMap`
|
5769
5909
|
#
|
5770
5910
|
# ^
|
5771
5911
|
# @return [String]
|
@@ -13,9 +13,13 @@ require 'aws-sigv4'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-locationservice/types'
|
15
15
|
require_relative 'aws-sdk-locationservice/client_api'
|
16
|
+
require_relative 'aws-sdk-locationservice/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-locationservice/client'
|
17
18
|
require_relative 'aws-sdk-locationservice/errors'
|
18
19
|
require_relative 'aws-sdk-locationservice/resource'
|
20
|
+
require_relative 'aws-sdk-locationservice/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-locationservice/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-locationservice/endpoints'
|
19
23
|
require_relative 'aws-sdk-locationservice/customizations'
|
20
24
|
|
21
25
|
# This module provides support for Amazon Location Service. This module is available in the
|
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-locationservice/customizations'
|
|
48
52
|
# @!group service
|
49
53
|
module Aws::LocationService
|
50
54
|
|
51
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.25.0'
|
52
56
|
|
53
57
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-locationservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.25.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.165.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.165.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,11 @@ files:
|
|
59
59
|
- lib/aws-sdk-locationservice/client.rb
|
60
60
|
- lib/aws-sdk-locationservice/client_api.rb
|
61
61
|
- lib/aws-sdk-locationservice/customizations.rb
|
62
|
+
- lib/aws-sdk-locationservice/endpoint_parameters.rb
|
63
|
+
- lib/aws-sdk-locationservice/endpoint_provider.rb
|
64
|
+
- lib/aws-sdk-locationservice/endpoints.rb
|
62
65
|
- lib/aws-sdk-locationservice/errors.rb
|
66
|
+
- lib/aws-sdk-locationservice/plugins/endpoints.rb
|
63
67
|
- lib/aws-sdk-locationservice/resource.rb
|
64
68
|
- lib/aws-sdk-locationservice/types.rb
|
65
69
|
homepage: https://github.com/aws/aws-sdk-ruby
|