aws-sdk-locationservice 1.78.0 → 1.79.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-locationservice/client.rb +746 -59
- data/lib/aws-sdk-locationservice/client_api.rb +47 -25
- data/lib/aws-sdk-locationservice/endpoint_parameters.rb +4 -4
- data/lib/aws-sdk-locationservice/types.rb +73 -22
- data/lib/aws-sdk-locationservice.rb +1 -1
- data/sig/client.rbs +24 -2
- data/sig/types.rbs +30 -17
- metadata +1 -1
|
@@ -15,13 +15,19 @@ module Aws::LocationService
|
|
|
15
15
|
include Seahorse::Model
|
|
16
16
|
|
|
17
17
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
|
18
|
+
AndroidApp = Shapes::StructureShape.new(name: 'AndroidApp')
|
|
19
|
+
AndroidPackageName = Shapes::StringShape.new(name: 'AndroidPackageName')
|
|
18
20
|
ApiKey = Shapes::StringShape.new(name: 'ApiKey')
|
|
19
21
|
ApiKeyAction = Shapes::StringShape.new(name: 'ApiKeyAction')
|
|
20
22
|
ApiKeyFilter = Shapes::StructureShape.new(name: 'ApiKeyFilter')
|
|
21
23
|
ApiKeyRestrictions = Shapes::StructureShape.new(name: 'ApiKeyRestrictions')
|
|
22
24
|
ApiKeyRestrictionsAllowActionsList = Shapes::ListShape.new(name: 'ApiKeyRestrictionsAllowActionsList')
|
|
25
|
+
ApiKeyRestrictionsAllowAndroidAppsList = Shapes::ListShape.new(name: 'ApiKeyRestrictionsAllowAndroidAppsList')
|
|
26
|
+
ApiKeyRestrictionsAllowAppleAppsList = Shapes::ListShape.new(name: 'ApiKeyRestrictionsAllowAppleAppsList')
|
|
23
27
|
ApiKeyRestrictionsAllowReferersList = Shapes::ListShape.new(name: 'ApiKeyRestrictionsAllowReferersList')
|
|
24
28
|
ApiKeyRestrictionsAllowResourcesList = Shapes::ListShape.new(name: 'ApiKeyRestrictionsAllowResourcesList')
|
|
29
|
+
AppleApp = Shapes::StructureShape.new(name: 'AppleApp')
|
|
30
|
+
AppleBundleId = Shapes::StringShape.new(name: 'AppleBundleId')
|
|
25
31
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
|
26
32
|
ArnList = Shapes::ListShape.new(name: 'ArnList')
|
|
27
33
|
AssociateTrackerConsumerRequest = Shapes::StructureShape.new(name: 'AssociateTrackerConsumerRequest')
|
|
@@ -309,9 +315,12 @@ module Aws::LocationService
|
|
|
309
315
|
SearchPlaceIndexForTextRequestTextString = Shapes::StringShape.new(name: 'SearchPlaceIndexForTextRequestTextString')
|
|
310
316
|
SearchPlaceIndexForTextResponse = Shapes::StructureShape.new(name: 'SearchPlaceIndexForTextResponse')
|
|
311
317
|
SearchPlaceIndexForTextSummary = Shapes::StructureShape.new(name: 'SearchPlaceIndexForTextSummary')
|
|
318
|
+
SensitiveBoolean = Shapes::BooleanShape.new(name: 'SensitiveBoolean')
|
|
312
319
|
SensitiveDouble = Shapes::FloatShape.new(name: 'SensitiveDouble')
|
|
320
|
+
SensitiveInteger = Shapes::IntegerShape.new(name: 'SensitiveInteger')
|
|
313
321
|
SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
|
|
314
322
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
|
323
|
+
Sha1CertificateFingerprint = Shapes::StringShape.new(name: 'Sha1CertificateFingerprint')
|
|
315
324
|
SpeedUnit = Shapes::StringShape.new(name: 'SpeedUnit')
|
|
316
325
|
Status = Shapes::StringShape.new(name: 'Status')
|
|
317
326
|
Step = Shapes::StructureShape.new(name: 'Step')
|
|
@@ -368,20 +377,33 @@ module Aws::LocationService
|
|
|
368
377
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
369
378
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
|
370
379
|
|
|
380
|
+
AndroidApp.add_member(:package, Shapes::ShapeRef.new(shape: AndroidPackageName, required: true, location_name: "Package"))
|
|
381
|
+
AndroidApp.add_member(:certificate_fingerprint, Shapes::ShapeRef.new(shape: Sha1CertificateFingerprint, required: true, location_name: "CertificateFingerprint"))
|
|
382
|
+
AndroidApp.struct_class = Types::AndroidApp
|
|
383
|
+
|
|
371
384
|
ApiKeyFilter.add_member(:key_status, Shapes::ShapeRef.new(shape: Status, location_name: "KeyStatus"))
|
|
372
385
|
ApiKeyFilter.struct_class = Types::ApiKeyFilter
|
|
373
386
|
|
|
374
387
|
ApiKeyRestrictions.add_member(:allow_actions, Shapes::ShapeRef.new(shape: ApiKeyRestrictionsAllowActionsList, required: true, location_name: "AllowActions"))
|
|
375
388
|
ApiKeyRestrictions.add_member(:allow_resources, Shapes::ShapeRef.new(shape: ApiKeyRestrictionsAllowResourcesList, required: true, location_name: "AllowResources"))
|
|
376
389
|
ApiKeyRestrictions.add_member(:allow_referers, Shapes::ShapeRef.new(shape: ApiKeyRestrictionsAllowReferersList, location_name: "AllowReferers"))
|
|
390
|
+
ApiKeyRestrictions.add_member(:allow_android_apps, Shapes::ShapeRef.new(shape: ApiKeyRestrictionsAllowAndroidAppsList, location_name: "AllowAndroidApps"))
|
|
391
|
+
ApiKeyRestrictions.add_member(:allow_apple_apps, Shapes::ShapeRef.new(shape: ApiKeyRestrictionsAllowAppleAppsList, location_name: "AllowAppleApps"))
|
|
377
392
|
ApiKeyRestrictions.struct_class = Types::ApiKeyRestrictions
|
|
378
393
|
|
|
379
394
|
ApiKeyRestrictionsAllowActionsList.member = Shapes::ShapeRef.new(shape: ApiKeyAction)
|
|
380
395
|
|
|
396
|
+
ApiKeyRestrictionsAllowAndroidAppsList.member = Shapes::ShapeRef.new(shape: AndroidApp)
|
|
397
|
+
|
|
398
|
+
ApiKeyRestrictionsAllowAppleAppsList.member = Shapes::ShapeRef.new(shape: AppleApp)
|
|
399
|
+
|
|
381
400
|
ApiKeyRestrictionsAllowReferersList.member = Shapes::ShapeRef.new(shape: RefererPattern)
|
|
382
401
|
|
|
383
402
|
ApiKeyRestrictionsAllowResourcesList.member = Shapes::ShapeRef.new(shape: GeoArnV2)
|
|
384
403
|
|
|
404
|
+
AppleApp.add_member(:bundle_id, Shapes::ShapeRef.new(shape: AppleBundleId, required: true, location_name: "BundleId"))
|
|
405
|
+
AppleApp.struct_class = Types::AppleApp
|
|
406
|
+
|
|
385
407
|
ArnList.member = Shapes::ShapeRef.new(shape: Arn)
|
|
386
408
|
|
|
387
409
|
AssociateTrackerConsumerRequest.add_member(:tracker_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "TrackerName"))
|
|
@@ -502,8 +524,8 @@ module Aws::LocationService
|
|
|
502
524
|
|
|
503
525
|
BoundingBox.member = Shapes::ShapeRef.new(shape: Double)
|
|
504
526
|
|
|
505
|
-
CalculateRouteCarModeOptions.add_member(:avoid_ferries, Shapes::ShapeRef.new(shape:
|
|
506
|
-
CalculateRouteCarModeOptions.add_member(:avoid_tolls, Shapes::ShapeRef.new(shape:
|
|
527
|
+
CalculateRouteCarModeOptions.add_member(:avoid_ferries, Shapes::ShapeRef.new(shape: SensitiveBoolean, location_name: "AvoidFerries"))
|
|
528
|
+
CalculateRouteCarModeOptions.add_member(:avoid_tolls, Shapes::ShapeRef.new(shape: SensitiveBoolean, location_name: "AvoidTolls"))
|
|
507
529
|
CalculateRouteCarModeOptions.struct_class = Types::CalculateRouteCarModeOptions
|
|
508
530
|
|
|
509
531
|
CalculateRouteMatrixRequest.add_member(:calculator_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "CalculatorName"))
|
|
@@ -511,7 +533,7 @@ module Aws::LocationService
|
|
|
511
533
|
CalculateRouteMatrixRequest.add_member(:destination_positions, Shapes::ShapeRef.new(shape: CalculateRouteMatrixRequestDestinationPositionsList, required: true, location_name: "DestinationPositions"))
|
|
512
534
|
CalculateRouteMatrixRequest.add_member(:travel_mode, Shapes::ShapeRef.new(shape: TravelMode, location_name: "TravelMode"))
|
|
513
535
|
CalculateRouteMatrixRequest.add_member(:departure_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DepartureTime"))
|
|
514
|
-
CalculateRouteMatrixRequest.add_member(:depart_now, Shapes::ShapeRef.new(shape:
|
|
536
|
+
CalculateRouteMatrixRequest.add_member(:depart_now, Shapes::ShapeRef.new(shape: SensitiveBoolean, location_name: "DepartNow"))
|
|
515
537
|
CalculateRouteMatrixRequest.add_member(:distance_unit, Shapes::ShapeRef.new(shape: DistanceUnit, location_name: "DistanceUnit"))
|
|
516
538
|
CalculateRouteMatrixRequest.add_member(:car_mode_options, Shapes::ShapeRef.new(shape: CalculateRouteCarModeOptions, location_name: "CarModeOptions"))
|
|
517
539
|
CalculateRouteMatrixRequest.add_member(:truck_mode_options, Shapes::ShapeRef.new(shape: CalculateRouteTruckModeOptions, location_name: "TruckModeOptions"))
|
|
@@ -544,9 +566,9 @@ module Aws::LocationService
|
|
|
544
566
|
CalculateRouteRequest.add_member(:waypoint_positions, Shapes::ShapeRef.new(shape: CalculateRouteRequestWaypointPositionsList, location_name: "WaypointPositions"))
|
|
545
567
|
CalculateRouteRequest.add_member(:travel_mode, Shapes::ShapeRef.new(shape: TravelMode, location_name: "TravelMode"))
|
|
546
568
|
CalculateRouteRequest.add_member(:departure_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DepartureTime"))
|
|
547
|
-
CalculateRouteRequest.add_member(:depart_now, Shapes::ShapeRef.new(shape:
|
|
569
|
+
CalculateRouteRequest.add_member(:depart_now, Shapes::ShapeRef.new(shape: SensitiveBoolean, location_name: "DepartNow"))
|
|
548
570
|
CalculateRouteRequest.add_member(:distance_unit, Shapes::ShapeRef.new(shape: DistanceUnit, location_name: "DistanceUnit"))
|
|
549
|
-
CalculateRouteRequest.add_member(:include_leg_geometry, Shapes::ShapeRef.new(shape:
|
|
571
|
+
CalculateRouteRequest.add_member(:include_leg_geometry, Shapes::ShapeRef.new(shape: SensitiveBoolean, location_name: "IncludeLegGeometry"))
|
|
550
572
|
CalculateRouteRequest.add_member(:car_mode_options, Shapes::ShapeRef.new(shape: CalculateRouteCarModeOptions, location_name: "CarModeOptions"))
|
|
551
573
|
CalculateRouteRequest.add_member(:truck_mode_options, Shapes::ShapeRef.new(shape: CalculateRouteTruckModeOptions, location_name: "TruckModeOptions"))
|
|
552
574
|
CalculateRouteRequest.add_member(:arrival_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ArrivalTime"))
|
|
@@ -567,8 +589,8 @@ module Aws::LocationService
|
|
|
567
589
|
CalculateRouteSummary.add_member(:distance_unit, Shapes::ShapeRef.new(shape: DistanceUnit, required: true, location_name: "DistanceUnit"))
|
|
568
590
|
CalculateRouteSummary.struct_class = Types::CalculateRouteSummary
|
|
569
591
|
|
|
570
|
-
CalculateRouteTruckModeOptions.add_member(:avoid_ferries, Shapes::ShapeRef.new(shape:
|
|
571
|
-
CalculateRouteTruckModeOptions.add_member(:avoid_tolls, Shapes::ShapeRef.new(shape:
|
|
592
|
+
CalculateRouteTruckModeOptions.add_member(:avoid_ferries, Shapes::ShapeRef.new(shape: SensitiveBoolean, location_name: "AvoidFerries"))
|
|
593
|
+
CalculateRouteTruckModeOptions.add_member(:avoid_tolls, Shapes::ShapeRef.new(shape: SensitiveBoolean, location_name: "AvoidTolls"))
|
|
572
594
|
CalculateRouteTruckModeOptions.add_member(:dimensions, Shapes::ShapeRef.new(shape: TruckDimensions, location_name: "Dimensions"))
|
|
573
595
|
CalculateRouteTruckModeOptions.add_member(:weight, Shapes::ShapeRef.new(shape: TruckWeight, location_name: "Weight"))
|
|
574
596
|
CalculateRouteTruckModeOptions.struct_class = Types::CalculateRouteTruckModeOptions
|
|
@@ -1183,23 +1205,23 @@ module Aws::LocationService
|
|
|
1183
1205
|
MapConfigurationUpdate.add_member(:custom_layers, Shapes::ShapeRef.new(shape: CustomLayerList, location_name: "CustomLayers"))
|
|
1184
1206
|
MapConfigurationUpdate.struct_class = Types::MapConfigurationUpdate
|
|
1185
1207
|
|
|
1186
|
-
Place.add_member(:label, Shapes::ShapeRef.new(shape:
|
|
1208
|
+
Place.add_member(:label, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Label"))
|
|
1187
1209
|
Place.add_member(:geometry, Shapes::ShapeRef.new(shape: PlaceGeometry, required: true, location_name: "Geometry"))
|
|
1188
|
-
Place.add_member(:address_number, Shapes::ShapeRef.new(shape:
|
|
1189
|
-
Place.add_member(:street, Shapes::ShapeRef.new(shape:
|
|
1190
|
-
Place.add_member(:neighborhood, Shapes::ShapeRef.new(shape:
|
|
1191
|
-
Place.add_member(:municipality, Shapes::ShapeRef.new(shape:
|
|
1192
|
-
Place.add_member(:sub_region, Shapes::ShapeRef.new(shape:
|
|
1193
|
-
Place.add_member(:region, Shapes::ShapeRef.new(shape:
|
|
1194
|
-
Place.add_member(:country, Shapes::ShapeRef.new(shape:
|
|
1195
|
-
Place.add_member(:postal_code, Shapes::ShapeRef.new(shape:
|
|
1196
|
-
Place.add_member(:interpolated, Shapes::ShapeRef.new(shape:
|
|
1210
|
+
Place.add_member(:address_number, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "AddressNumber"))
|
|
1211
|
+
Place.add_member(:street, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Street"))
|
|
1212
|
+
Place.add_member(:neighborhood, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Neighborhood"))
|
|
1213
|
+
Place.add_member(:municipality, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Municipality"))
|
|
1214
|
+
Place.add_member(:sub_region, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "SubRegion"))
|
|
1215
|
+
Place.add_member(:region, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Region"))
|
|
1216
|
+
Place.add_member(:country, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Country"))
|
|
1217
|
+
Place.add_member(:postal_code, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "PostalCode"))
|
|
1218
|
+
Place.add_member(:interpolated, Shapes::ShapeRef.new(shape: SensitiveBoolean, location_name: "Interpolated"))
|
|
1197
1219
|
Place.add_member(:time_zone, Shapes::ShapeRef.new(shape: TimeZone, location_name: "TimeZone"))
|
|
1198
|
-
Place.add_member(:unit_type, Shapes::ShapeRef.new(shape:
|
|
1199
|
-
Place.add_member(:unit_number, Shapes::ShapeRef.new(shape:
|
|
1220
|
+
Place.add_member(:unit_type, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "UnitType"))
|
|
1221
|
+
Place.add_member(:unit_number, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "UnitNumber"))
|
|
1200
1222
|
Place.add_member(:categories, Shapes::ShapeRef.new(shape: PlaceCategoryList, location_name: "Categories"))
|
|
1201
1223
|
Place.add_member(:supplemental_categories, Shapes::ShapeRef.new(shape: PlaceSupplementalCategoryList, location_name: "SupplementalCategories"))
|
|
1202
|
-
Place.add_member(:sub_municipality, Shapes::ShapeRef.new(shape:
|
|
1224
|
+
Place.add_member(:sub_municipality, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "SubMunicipality"))
|
|
1203
1225
|
Place.struct_class = Types::Place
|
|
1204
1226
|
|
|
1205
1227
|
PlaceCategoryList.member = Shapes::ShapeRef.new(shape: PlaceCategory)
|
|
@@ -1254,7 +1276,7 @@ module Aws::LocationService
|
|
|
1254
1276
|
|
|
1255
1277
|
SearchForPositionResultList.member = Shapes::ShapeRef.new(shape: SearchForPositionResult)
|
|
1256
1278
|
|
|
1257
|
-
SearchForSuggestionsResult.add_member(:text, Shapes::ShapeRef.new(shape:
|
|
1279
|
+
SearchForSuggestionsResult.add_member(:text, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "Text"))
|
|
1258
1280
|
SearchForSuggestionsResult.add_member(:place_id, Shapes::ShapeRef.new(shape: PlaceId, location_name: "PlaceId"))
|
|
1259
1281
|
SearchForSuggestionsResult.add_member(:categories, Shapes::ShapeRef.new(shape: PlaceCategoryList, location_name: "Categories"))
|
|
1260
1282
|
SearchForSuggestionsResult.add_member(:supplemental_categories, Shapes::ShapeRef.new(shape: PlaceSupplementalCategoryList, location_name: "SupplementalCategories"))
|
|
@@ -1364,8 +1386,8 @@ module Aws::LocationService
|
|
|
1364
1386
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
1365
1387
|
ThrottlingException.struct_class = Types::ThrottlingException
|
|
1366
1388
|
|
|
1367
|
-
TimeZone.add_member(:name, Shapes::ShapeRef.new(shape:
|
|
1368
|
-
TimeZone.add_member(:offset, Shapes::ShapeRef.new(shape:
|
|
1389
|
+
TimeZone.add_member(:name, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "Name"))
|
|
1390
|
+
TimeZone.add_member(:offset, Shapes::ShapeRef.new(shape: SensitiveInteger, location_name: "Offset"))
|
|
1369
1391
|
TimeZone.struct_class = Types::TimeZone
|
|
1370
1392
|
|
|
1371
1393
|
TrackingFilterGeometry.add_member(:polygon, Shapes::ShapeRef.new(shape: LinearRings, location_name: "Polygon"))
|
|
@@ -1515,8 +1537,8 @@ module Aws::LocationService
|
|
|
1515
1537
|
o.input = Shapes::ShapeRef.new(shape: AssociateTrackerConsumerRequest)
|
|
1516
1538
|
o.output = Shapes::ShapeRef.new(shape: AssociateTrackerConsumerResponse)
|
|
1517
1539
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
1518
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1519
1540
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
1541
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1520
1542
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1521
1543
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1522
1544
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
@@ -2334,8 +2356,8 @@ module Aws::LocationService
|
|
|
2334
2356
|
o.input = Shapes::ShapeRef.new(shape: PutGeofenceRequest)
|
|
2335
2357
|
o.output = Shapes::ShapeRef.new(shape: PutGeofenceResponse)
|
|
2336
2358
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
2337
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2338
2359
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
2360
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2339
2361
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
2340
2362
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
2341
2363
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
@@ -13,22 +13,22 @@ module Aws::LocationService
|
|
|
13
13
|
# @!attribute region
|
|
14
14
|
# The AWS region used to dispatch the request.
|
|
15
15
|
#
|
|
16
|
-
# @return [
|
|
16
|
+
# @return [string]
|
|
17
17
|
#
|
|
18
18
|
# @!attribute use_dual_stack
|
|
19
19
|
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
|
20
20
|
#
|
|
21
|
-
# @return [
|
|
21
|
+
# @return [boolean]
|
|
22
22
|
#
|
|
23
23
|
# @!attribute use_fips
|
|
24
24
|
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
|
25
25
|
#
|
|
26
|
-
# @return [
|
|
26
|
+
# @return [boolean]
|
|
27
27
|
#
|
|
28
28
|
# @!attribute endpoint
|
|
29
29
|
# Override the endpoint used to send this request
|
|
30
30
|
#
|
|
31
|
-
# @return [
|
|
31
|
+
# @return [string]
|
|
32
32
|
#
|
|
33
33
|
EndpointParameters = Struct.new(
|
|
34
34
|
:region,
|
|
@@ -24,6 +24,27 @@ module Aws::LocationService
|
|
|
24
24
|
include Aws::Structure
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
+
# Unique identifying information for an Android app. Consists of a
|
|
28
|
+
# package name and a 20 byte SHA-1 certificate fingerprint.
|
|
29
|
+
#
|
|
30
|
+
# @!attribute [rw] package
|
|
31
|
+
# Unique package name for an Android app.
|
|
32
|
+
# @return [String]
|
|
33
|
+
#
|
|
34
|
+
# @!attribute [rw] certificate_fingerprint
|
|
35
|
+
# 20 byte SHA-1 certificate fingerprint associated with the Android
|
|
36
|
+
# app signing certificate.
|
|
37
|
+
# @return [String]
|
|
38
|
+
#
|
|
39
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/AndroidApp AWS API Documentation
|
|
40
|
+
#
|
|
41
|
+
class AndroidApp < Struct.new(
|
|
42
|
+
:package,
|
|
43
|
+
:certificate_fingerprint)
|
|
44
|
+
SENSITIVE = []
|
|
45
|
+
include Aws::Structure
|
|
46
|
+
end
|
|
47
|
+
|
|
27
48
|
# Options for filtering API keys.
|
|
28
49
|
#
|
|
29
50
|
# @!attribute [rw] key_status
|
|
@@ -175,16 +196,46 @@ module Aws::LocationService
|
|
|
175
196
|
# * No spaces allowed. For example, `https://example.com`.
|
|
176
197
|
# @return [Array<String>]
|
|
177
198
|
#
|
|
199
|
+
# @!attribute [rw] allow_android_apps
|
|
200
|
+
# An optional list of allowed Android applications for which requests
|
|
201
|
+
# must originate from. Requests using this API key from other sources
|
|
202
|
+
# will not be allowed.
|
|
203
|
+
# @return [Array<Types::AndroidApp>]
|
|
204
|
+
#
|
|
205
|
+
# @!attribute [rw] allow_apple_apps
|
|
206
|
+
# An optional list of allowed Apple applications for which requests
|
|
207
|
+
# must originate from. Requests using this API key from other sources
|
|
208
|
+
# will not be allowed.
|
|
209
|
+
# @return [Array<Types::AppleApp>]
|
|
210
|
+
#
|
|
178
211
|
# @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ApiKeyRestrictions AWS API Documentation
|
|
179
212
|
#
|
|
180
213
|
class ApiKeyRestrictions < Struct.new(
|
|
181
214
|
:allow_actions,
|
|
182
215
|
:allow_resources,
|
|
183
|
-
:allow_referers
|
|
216
|
+
:allow_referers,
|
|
217
|
+
:allow_android_apps,
|
|
218
|
+
:allow_apple_apps)
|
|
184
219
|
SENSITIVE = [:allow_referers]
|
|
185
220
|
include Aws::Structure
|
|
186
221
|
end
|
|
187
222
|
|
|
223
|
+
# Unique identifying information for an Apple app (iOS, macOS, tvOS and
|
|
224
|
+
# watchOS). Consists of an Apple Bundle ID.
|
|
225
|
+
#
|
|
226
|
+
# @!attribute [rw] bundle_id
|
|
227
|
+
# The unique identifier of the app across all Apple platforms (iOS,
|
|
228
|
+
# macOS, tvOS, watchOS, etc.)
|
|
229
|
+
# @return [String]
|
|
230
|
+
#
|
|
231
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/AppleApp AWS API Documentation
|
|
232
|
+
#
|
|
233
|
+
class AppleApp < Struct.new(
|
|
234
|
+
:bundle_id)
|
|
235
|
+
SENSITIVE = []
|
|
236
|
+
include Aws::Structure
|
|
237
|
+
end
|
|
238
|
+
|
|
188
239
|
# @!attribute [rw] tracker_name
|
|
189
240
|
# The name of the tracker resource to be associated with a geofence
|
|
190
241
|
# collection.
|
|
@@ -677,7 +728,7 @@ module Aws::LocationService
|
|
|
677
728
|
class CalculateRouteCarModeOptions < Struct.new(
|
|
678
729
|
:avoid_ferries,
|
|
679
730
|
:avoid_tolls)
|
|
680
|
-
SENSITIVE = []
|
|
731
|
+
SENSITIVE = [:avoid_ferries, :avoid_tolls]
|
|
681
732
|
include Aws::Structure
|
|
682
733
|
end
|
|
683
734
|
|
|
@@ -843,7 +894,7 @@ module Aws::LocationService
|
|
|
843
894
|
:car_mode_options,
|
|
844
895
|
:truck_mode_options,
|
|
845
896
|
:key)
|
|
846
|
-
SENSITIVE = [:departure_positions, :destination_positions, :departure_time, :key]
|
|
897
|
+
SENSITIVE = [:departure_positions, :destination_positions, :departure_time, :depart_now, :key]
|
|
847
898
|
include Aws::Structure
|
|
848
899
|
end
|
|
849
900
|
|
|
@@ -1135,7 +1186,7 @@ module Aws::LocationService
|
|
|
1135
1186
|
:arrival_time,
|
|
1136
1187
|
:optimize_for,
|
|
1137
1188
|
:key)
|
|
1138
|
-
SENSITIVE = [:departure_position, :destination_position, :waypoint_positions, :departure_time, :arrival_time, :key]
|
|
1189
|
+
SENSITIVE = [:departure_position, :destination_position, :waypoint_positions, :departure_time, :depart_now, :include_leg_geometry, :arrival_time, :key]
|
|
1139
1190
|
include Aws::Structure
|
|
1140
1191
|
end
|
|
1141
1192
|
|
|
@@ -1256,7 +1307,7 @@ module Aws::LocationService
|
|
|
1256
1307
|
:distance,
|
|
1257
1308
|
:duration_seconds,
|
|
1258
1309
|
:distance_unit)
|
|
1259
|
-
SENSITIVE = [:route_b_box]
|
|
1310
|
+
SENSITIVE = [:route_b_box, :distance, :duration_seconds]
|
|
1260
1311
|
include Aws::Structure
|
|
1261
1312
|
end
|
|
1262
1313
|
|
|
@@ -1298,7 +1349,7 @@ module Aws::LocationService
|
|
|
1298
1349
|
:avoid_tolls,
|
|
1299
1350
|
:dimensions,
|
|
1300
1351
|
:weight)
|
|
1301
|
-
SENSITIVE = []
|
|
1352
|
+
SENSITIVE = [:avoid_ferries, :avoid_tolls]
|
|
1302
1353
|
include Aws::Structure
|
|
1303
1354
|
end
|
|
1304
1355
|
|
|
@@ -3833,7 +3884,7 @@ module Aws::LocationService
|
|
|
3833
3884
|
:x,
|
|
3834
3885
|
:y,
|
|
3835
3886
|
:key)
|
|
3836
|
-
SENSITIVE = [:key]
|
|
3887
|
+
SENSITIVE = [:z, :x, :y, :key]
|
|
3837
3888
|
include Aws::Structure
|
|
3838
3889
|
end
|
|
3839
3890
|
|
|
@@ -3909,7 +3960,7 @@ module Aws::LocationService
|
|
|
3909
3960
|
:place_id,
|
|
3910
3961
|
:language,
|
|
3911
3962
|
:key)
|
|
3912
|
-
SENSITIVE = [:key]
|
|
3963
|
+
SENSITIVE = [:place_id, :key]
|
|
3913
3964
|
include Aws::Structure
|
|
3914
3965
|
end
|
|
3915
3966
|
|
|
@@ -4060,7 +4111,7 @@ module Aws::LocationService
|
|
|
4060
4111
|
:duration_seconds,
|
|
4061
4112
|
:geometry,
|
|
4062
4113
|
:steps)
|
|
4063
|
-
SENSITIVE = [:start_position, :end_position]
|
|
4114
|
+
SENSITIVE = [:start_position, :end_position, :distance, :duration_seconds]
|
|
4064
4115
|
include Aws::Structure
|
|
4065
4116
|
end
|
|
4066
4117
|
|
|
@@ -5453,7 +5504,7 @@ module Aws::LocationService
|
|
|
5453
5504
|
:categories,
|
|
5454
5505
|
:supplemental_categories,
|
|
5455
5506
|
:sub_municipality)
|
|
5456
|
-
SENSITIVE = []
|
|
5507
|
+
SENSITIVE = [:label, :address_number, :street, :neighborhood, :municipality, :sub_region, :region, :country, :postal_code, :interpolated, :unit_type, :unit_number, :categories, :supplemental_categories, :sub_municipality]
|
|
5457
5508
|
include Aws::Structure
|
|
5458
5509
|
end
|
|
5459
5510
|
|
|
@@ -5604,7 +5655,7 @@ module Aws::LocationService
|
|
|
5604
5655
|
:distance,
|
|
5605
5656
|
:duration_seconds,
|
|
5606
5657
|
:error)
|
|
5607
|
-
SENSITIVE = []
|
|
5658
|
+
SENSITIVE = [:distance, :duration_seconds]
|
|
5608
5659
|
include Aws::Structure
|
|
5609
5660
|
end
|
|
5610
5661
|
|
|
@@ -5699,7 +5750,7 @@ module Aws::LocationService
|
|
|
5699
5750
|
:place,
|
|
5700
5751
|
:distance,
|
|
5701
5752
|
:place_id)
|
|
5702
|
-
SENSITIVE = []
|
|
5753
|
+
SENSITIVE = [:distance, :place_id]
|
|
5703
5754
|
include Aws::Structure
|
|
5704
5755
|
end
|
|
5705
5756
|
|
|
@@ -5750,7 +5801,7 @@ module Aws::LocationService
|
|
|
5750
5801
|
:place_id,
|
|
5751
5802
|
:categories,
|
|
5752
5803
|
:supplemental_categories)
|
|
5753
|
-
SENSITIVE = []
|
|
5804
|
+
SENSITIVE = [:text, :place_id, :categories, :supplemental_categories]
|
|
5754
5805
|
include Aws::Structure
|
|
5755
5806
|
end
|
|
5756
5807
|
|
|
@@ -5798,7 +5849,7 @@ module Aws::LocationService
|
|
|
5798
5849
|
:distance,
|
|
5799
5850
|
:relevance,
|
|
5800
5851
|
:place_id)
|
|
5801
|
-
SENSITIVE = []
|
|
5852
|
+
SENSITIVE = [:distance, :relevance, :place_id]
|
|
5802
5853
|
include Aws::Structure
|
|
5803
5854
|
end
|
|
5804
5855
|
|
|
@@ -6068,7 +6119,7 @@ module Aws::LocationService
|
|
|
6068
6119
|
:language,
|
|
6069
6120
|
:filter_categories,
|
|
6070
6121
|
:key)
|
|
6071
|
-
SENSITIVE = [:text, :bias_position, :filter_b_box, :filter_countries, :key]
|
|
6122
|
+
SENSITIVE = [:text, :bias_position, :filter_b_box, :filter_countries, :filter_categories, :key]
|
|
6072
6123
|
include Aws::Structure
|
|
6073
6124
|
end
|
|
6074
6125
|
|
|
@@ -6167,7 +6218,7 @@ module Aws::LocationService
|
|
|
6167
6218
|
:data_source,
|
|
6168
6219
|
:language,
|
|
6169
6220
|
:filter_categories)
|
|
6170
|
-
SENSITIVE = [:text, :bias_position, :filter_b_box, :filter_countries]
|
|
6221
|
+
SENSITIVE = [:text, :bias_position, :filter_b_box, :filter_countries, :filter_categories]
|
|
6171
6222
|
include Aws::Structure
|
|
6172
6223
|
end
|
|
6173
6224
|
|
|
@@ -6298,7 +6349,7 @@ module Aws::LocationService
|
|
|
6298
6349
|
:language,
|
|
6299
6350
|
:filter_categories,
|
|
6300
6351
|
:key)
|
|
6301
|
-
SENSITIVE = [:text, :bias_position, :filter_b_box, :filter_countries, :key]
|
|
6352
|
+
SENSITIVE = [:text, :bias_position, :filter_b_box, :filter_countries, :filter_categories, :key]
|
|
6302
6353
|
include Aws::Structure
|
|
6303
6354
|
end
|
|
6304
6355
|
|
|
@@ -6411,7 +6462,7 @@ module Aws::LocationService
|
|
|
6411
6462
|
:data_source,
|
|
6412
6463
|
:language,
|
|
6413
6464
|
:filter_categories)
|
|
6414
|
-
SENSITIVE = [:text, :bias_position, :filter_b_box, :filter_countries, :result_b_box]
|
|
6465
|
+
SENSITIVE = [:text, :bias_position, :filter_b_box, :filter_countries, :result_b_box, :filter_categories]
|
|
6415
6466
|
include Aws::Structure
|
|
6416
6467
|
end
|
|
6417
6468
|
|
|
@@ -6478,7 +6529,7 @@ module Aws::LocationService
|
|
|
6478
6529
|
:distance,
|
|
6479
6530
|
:duration_seconds,
|
|
6480
6531
|
:geometry_offset)
|
|
6481
|
-
SENSITIVE = [:start_position, :end_position]
|
|
6532
|
+
SENSITIVE = [:start_position, :end_position, :distance, :duration_seconds]
|
|
6482
6533
|
include Aws::Structure
|
|
6483
6534
|
end
|
|
6484
6535
|
|
|
@@ -6563,7 +6614,7 @@ module Aws::LocationService
|
|
|
6563
6614
|
class TimeZone < Struct.new(
|
|
6564
6615
|
:name,
|
|
6565
6616
|
:offset)
|
|
6566
|
-
SENSITIVE = []
|
|
6617
|
+
SENSITIVE = [:name, :offset]
|
|
6567
6618
|
include Aws::Structure
|
|
6568
6619
|
end
|
|
6569
6620
|
|
|
@@ -6639,7 +6690,7 @@ module Aws::LocationService
|
|
|
6639
6690
|
:height,
|
|
6640
6691
|
:width,
|
|
6641
6692
|
:unit)
|
|
6642
|
-
SENSITIVE = []
|
|
6693
|
+
SENSITIVE = [:length, :height, :width]
|
|
6643
6694
|
include Aws::Structure
|
|
6644
6695
|
end
|
|
6645
6696
|
|
|
@@ -6666,7 +6717,7 @@ module Aws::LocationService
|
|
|
6666
6717
|
class TruckWeight < Struct.new(
|
|
6667
6718
|
:total,
|
|
6668
6719
|
:unit)
|
|
6669
|
-
SENSITIVE = []
|
|
6720
|
+
SENSITIVE = [:total]
|
|
6670
6721
|
include Aws::Structure
|
|
6671
6722
|
end
|
|
6672
6723
|
|
data/sig/client.rbs
CHANGED
|
@@ -314,7 +314,18 @@ module Aws
|
|
|
314
314
|
restrictions: {
|
|
315
315
|
allow_actions: Array[::String],
|
|
316
316
|
allow_resources: Array[::String],
|
|
317
|
-
allow_referers: Array[::String]
|
|
317
|
+
allow_referers: Array[::String]?,
|
|
318
|
+
allow_android_apps: Array[
|
|
319
|
+
{
|
|
320
|
+
package: ::String,
|
|
321
|
+
certificate_fingerprint: ::String
|
|
322
|
+
},
|
|
323
|
+
]?,
|
|
324
|
+
allow_apple_apps: Array[
|
|
325
|
+
{
|
|
326
|
+
bundle_id: ::String
|
|
327
|
+
},
|
|
328
|
+
]?
|
|
318
329
|
},
|
|
319
330
|
?description: ::String,
|
|
320
331
|
?expire_time: ::Time,
|
|
@@ -983,7 +994,18 @@ module Aws
|
|
|
983
994
|
?restrictions: {
|
|
984
995
|
allow_actions: Array[::String],
|
|
985
996
|
allow_resources: Array[::String],
|
|
986
|
-
allow_referers: Array[::String]
|
|
997
|
+
allow_referers: Array[::String]?,
|
|
998
|
+
allow_android_apps: Array[
|
|
999
|
+
{
|
|
1000
|
+
package: ::String,
|
|
1001
|
+
certificate_fingerprint: ::String
|
|
1002
|
+
},
|
|
1003
|
+
]?,
|
|
1004
|
+
allow_apple_apps: Array[
|
|
1005
|
+
{
|
|
1006
|
+
bundle_id: ::String
|
|
1007
|
+
},
|
|
1008
|
+
]?
|
|
987
1009
|
}
|
|
988
1010
|
) -> _UpdateKeyResponseSuccess
|
|
989
1011
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateKeyResponseSuccess
|