sig/client.rbs in aws-sdk-locationservice-1.50.0 vs sig/client.rbs in aws-sdk-locationservice-1.51.0
- old
+ new
@@ -75,23 +75,23 @@
interface _AssociateTrackerConsumerResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::AssociateTrackerConsumerResponse]
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#associate_tracker_consumer-instance_method
def associate_tracker_consumer: (
- consumer_arn: ::String,
- tracker_name: ::String
+ tracker_name: ::String,
+ consumer_arn: ::String
) -> _AssociateTrackerConsumerResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateTrackerConsumerResponseSuccess
interface _BatchDeleteDevicePositionHistoryResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::BatchDeleteDevicePositionHistoryResponse]
def errors: () -> ::Array[Types::BatchDeleteDevicePositionHistoryError]
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#batch_delete_device_position_history-instance_method
def batch_delete_device_position_history: (
- device_ids: Array[::String],
- tracker_name: ::String
+ tracker_name: ::String,
+ device_ids: Array[::String]
) -> _BatchDeleteDevicePositionHistoryResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDeleteDevicePositionHistoryResponseSuccess
interface _BatchDeleteGeofenceResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::BatchDeleteGeofenceResponse]
@@ -111,57 +111,58 @@
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#batch_evaluate_geofences-instance_method
def batch_evaluate_geofences: (
collection_name: ::String,
device_position_updates: Array[
{
+ device_id: ::String,
+ sample_time: ::Time,
+ position: Array[::Float],
accuracy: {
horizontal: ::Float
}?,
- device_id: ::String,
- position: Array[::Float],
- position_properties: Hash[::String, ::String]?,
- sample_time: ::Time
+ position_properties: Hash[::String, ::String]?
},
]
) -> _BatchEvaluateGeofencesResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchEvaluateGeofencesResponseSuccess
interface _BatchGetDevicePositionResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetDevicePositionResponse]
- def device_positions: () -> ::Array[Types::DevicePosition]
def errors: () -> ::Array[Types::BatchGetDevicePositionError]
+ def device_positions: () -> ::Array[Types::DevicePosition]
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#batch_get_device_position-instance_method
def batch_get_device_position: (
- device_ids: Array[::String],
- tracker_name: ::String
+ tracker_name: ::String,
+ device_ids: Array[::String]
) -> _BatchGetDevicePositionResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetDevicePositionResponseSuccess
interface _BatchPutGeofenceResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::BatchPutGeofenceResponse]
- def errors: () -> ::Array[Types::BatchPutGeofenceError]
def successes: () -> ::Array[Types::BatchPutGeofenceSuccess]
+ def errors: () -> ::Array[Types::BatchPutGeofenceError]
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#batch_put_geofence-instance_method
def batch_put_geofence: (
collection_name: ::String,
entries: Array[
{
geofence_id: ::String,
- geofence_properties: Hash[::String, ::String]?,
geometry: {
- circle: {
- center: Array[::Float],
- radius: ::Float
- }?,
polygon: Array[
Array[
Array[::Float],
],
- ]?
- }
+ ]?,
+ circle: {
+ center: Array[::Float],
+ radius: ::Float
+ }?,
+ geobuf: ::String?
+ },
+ geofence_properties: Hash[::String, ::String]?
},
]
) -> _BatchPutGeofenceResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchPutGeofenceResponseSuccess
@@ -172,17 +173,17 @@
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#batch_update_device_position-instance_method
def batch_update_device_position: (
tracker_name: ::String,
updates: Array[
{
+ device_id: ::String,
+ sample_time: ::Time,
+ position: Array[::Float],
accuracy: {
horizontal: ::Float
}?,
- device_id: ::String,
- position: Array[::Float],
- position_properties: Hash[::String, ::String]?,
- sample_time: ::Time
+ position_properties: Hash[::String, ::String]?
},
]
) -> _BatchUpdateDevicePositionResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchUpdateDevicePositionResponseSuccess
@@ -191,42 +192,42 @@
def legs: () -> ::Array[Types::Leg]
def summary: () -> Types::CalculateRouteSummary
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#calculate_route-instance_method
def calculate_route: (
- ?arrival_time: ::Time,
calculator_name: ::String,
- ?car_mode_options: {
- avoid_ferries: bool?,
- avoid_tolls: bool?
- },
- ?depart_now: bool,
departure_position: Array[::Float],
- ?departure_time: ::Time,
destination_position: Array[::Float],
+ ?waypoint_positions: Array[
+ Array[::Float],
+ ],
+ ?travel_mode: ("Car" | "Truck" | "Walking" | "Bicycle" | "Motorcycle"),
+ ?departure_time: ::Time,
+ ?depart_now: bool,
?distance_unit: ("Kilometers" | "Miles"),
?include_leg_geometry: bool,
- ?key: ::String,
- ?optimize_for: ("FastestRoute" | "ShortestRoute"),
- ?travel_mode: ("Car" | "Truck" | "Walking" | "Bicycle" | "Motorcycle"),
+ ?car_mode_options: {
+ avoid_ferries: bool?,
+ avoid_tolls: bool?
+ },
?truck_mode_options: {
avoid_ferries: bool?,
avoid_tolls: bool?,
dimensions: {
- height: ::Float?,
length: ::Float?,
- unit: ("Meters" | "Feet")?,
- width: ::Float?
+ height: ::Float?,
+ width: ::Float?,
+ unit: ("Meters" | "Feet")?
}?,
weight: {
total: ::Float?,
unit: ("Kilograms" | "Pounds")?
}?
},
- ?waypoint_positions: Array[
- Array[::Float],
- ]
+ ?arrival_time: ::Time,
+ ?optimize_for: ("FastestRoute" | "ShortestRoute"),
+ ?key: ::String
) -> _CalculateRouteResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CalculateRouteResponseSuccess
interface _CalculateRouteMatrixResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::CalculateRouteMatrixResponse]
@@ -236,153 +237,153 @@
def summary: () -> Types::CalculateRouteMatrixSummary
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#calculate_route_matrix-instance_method
def calculate_route_matrix: (
calculator_name: ::String,
- ?car_mode_options: {
- avoid_ferries: bool?,
- avoid_tolls: bool?
- },
- ?depart_now: bool,
departure_positions: Array[
Array[::Float],
],
- ?departure_time: ::Time,
destination_positions: Array[
Array[::Float],
],
- ?distance_unit: ("Kilometers" | "Miles"),
- ?key: ::String,
?travel_mode: ("Car" | "Truck" | "Walking" | "Bicycle" | "Motorcycle"),
+ ?departure_time: ::Time,
+ ?depart_now: bool,
+ ?distance_unit: ("Kilometers" | "Miles"),
+ ?car_mode_options: {
+ avoid_ferries: bool?,
+ avoid_tolls: bool?
+ },
?truck_mode_options: {
avoid_ferries: bool?,
avoid_tolls: bool?,
dimensions: {
- height: ::Float?,
length: ::Float?,
- unit: ("Meters" | "Feet")?,
- width: ::Float?
+ height: ::Float?,
+ width: ::Float?,
+ unit: ("Meters" | "Feet")?
}?,
weight: {
total: ::Float?,
unit: ("Kilograms" | "Pounds")?
}?
- }
+ },
+ ?key: ::String
) -> _CalculateRouteMatrixResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CalculateRouteMatrixResponseSuccess
interface _CreateGeofenceCollectionResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::CreateGeofenceCollectionResponse]
- def collection_arn: () -> ::String
def collection_name: () -> ::String
+ def collection_arn: () -> ::String
def create_time: () -> ::Time
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#create_geofence_collection-instance_method
def create_geofence_collection: (
collection_name: ::String,
- ?description: ::String,
- ?kms_key_id: ::String,
?pricing_plan: ("RequestBasedUsage" | "MobileAssetTracking" | "MobileAssetManagement"),
?pricing_plan_data_source: ::String,
- ?tags: Hash[::String, ::String]
+ ?description: ::String,
+ ?tags: Hash[::String, ::String],
+ ?kms_key_id: ::String
) -> _CreateGeofenceCollectionResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGeofenceCollectionResponseSuccess
interface _CreateKeyResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::CreateKeyResponse]
- def create_time: () -> ::Time
def key: () -> ::String
def key_arn: () -> ::String
def key_name: () -> ::String
+ def create_time: () -> ::Time
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#create_key-instance_method
def create_key: (
- ?description: ::String,
- ?expire_time: ::Time,
key_name: ::String,
- ?no_expiry: bool,
restrictions: {
allow_actions: Array[::String],
- allow_referers: Array[::String]?,
- allow_resources: Array[::String]
+ allow_resources: Array[::String],
+ allow_referers: Array[::String]?
},
+ ?description: ::String,
+ ?expire_time: ::Time,
+ ?no_expiry: bool,
?tags: Hash[::String, ::String]
) -> _CreateKeyResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateKeyResponseSuccess
interface _CreateMapResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::CreateMapResponse]
- def create_time: () -> ::Time
- def map_arn: () -> ::String
def map_name: () -> ::String
+ def map_arn: () -> ::String
+ def create_time: () -> ::Time
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#create_map-instance_method
def create_map: (
+ map_name: ::String,
configuration: {
- custom_layers: Array[::String]?,
+ style: ::String,
political_view: ::String?,
- style: ::String
+ custom_layers: Array[::String]?
},
- ?description: ::String,
- map_name: ::String,
?pricing_plan: ("RequestBasedUsage" | "MobileAssetTracking" | "MobileAssetManagement"),
+ ?description: ::String,
?tags: Hash[::String, ::String]
) -> _CreateMapResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMapResponseSuccess
interface _CreatePlaceIndexResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::CreatePlaceIndexResponse]
- def create_time: () -> ::Time
- def index_arn: () -> ::String
def index_name: () -> ::String
+ def index_arn: () -> ::String
+ def create_time: () -> ::Time
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#create_place_index-instance_method
def create_place_index: (
+ index_name: ::String,
data_source: ::String,
+ ?pricing_plan: ("RequestBasedUsage" | "MobileAssetTracking" | "MobileAssetManagement"),
+ ?description: ::String,
?data_source_configuration: {
intended_use: ("SingleUse" | "Storage")?
},
- ?description: ::String,
- index_name: ::String,
- ?pricing_plan: ("RequestBasedUsage" | "MobileAssetTracking" | "MobileAssetManagement"),
?tags: Hash[::String, ::String]
) -> _CreatePlaceIndexResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePlaceIndexResponseSuccess
interface _CreateRouteCalculatorResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::CreateRouteCalculatorResponse]
- def calculator_arn: () -> ::String
def calculator_name: () -> ::String
+ def calculator_arn: () -> ::String
def create_time: () -> ::Time
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#create_route_calculator-instance_method
def create_route_calculator: (
calculator_name: ::String,
data_source: ::String,
- ?description: ::String,
?pricing_plan: ("RequestBasedUsage" | "MobileAssetTracking" | "MobileAssetManagement"),
+ ?description: ::String,
?tags: Hash[::String, ::String]
) -> _CreateRouteCalculatorResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRouteCalculatorResponseSuccess
interface _CreateTrackerResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::CreateTrackerResponse]
- def create_time: () -> ::Time
- def tracker_arn: () -> ::String
def tracker_name: () -> ::String
+ def tracker_arn: () -> ::String
+ def create_time: () -> ::Time
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#create_tracker-instance_method
def create_tracker: (
- ?description: ::String,
- ?event_bridge_enabled: bool,
- ?kms_key_enable_geospatial_queries: bool,
- ?kms_key_id: ::String,
- ?position_filtering: ("TimeBased" | "DistanceBased" | "AccuracyBased"),
+ tracker_name: ::String,
?pricing_plan: ("RequestBasedUsage" | "MobileAssetTracking" | "MobileAssetManagement"),
+ ?kms_key_id: ::String,
?pricing_plan_data_source: ::String,
+ ?description: ::String,
?tags: Hash[::String, ::String],
- tracker_name: ::String
+ ?position_filtering: ("TimeBased" | "DistanceBased" | "AccuracyBased"),
+ ?event_bridge_enabled: bool,
+ ?kms_key_enable_geospatial_queries: bool
) -> _CreateTrackerResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTrackerResponseSuccess
interface _DeleteGeofenceCollectionResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteGeofenceCollectionResponse]
@@ -396,12 +397,12 @@
interface _DeleteKeyResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteKeyResponse]
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#delete_key-instance_method
def delete_key: (
- ?force_delete: bool,
- key_name: ::String
+ key_name: ::String,
+ ?force_delete: bool
) -> _DeleteKeyResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteKeyResponseSuccess
interface _DeleteMapResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteMapResponse]
@@ -439,112 +440,112 @@
) -> _DeleteTrackerResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTrackerResponseSuccess
interface _DescribeGeofenceCollectionResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeGeofenceCollectionResponse]
- def collection_arn: () -> ::String
def collection_name: () -> ::String
- def create_time: () -> ::Time
+ def collection_arn: () -> ::String
def description: () -> ::String
- def geofence_count: () -> ::Integer
- def kms_key_id: () -> ::String
def pricing_plan: () -> ("RequestBasedUsage" | "MobileAssetTracking" | "MobileAssetManagement")
def pricing_plan_data_source: () -> ::String
+ def kms_key_id: () -> ::String
def tags: () -> ::Hash[::String, ::String]
+ def create_time: () -> ::Time
def update_time: () -> ::Time
+ def geofence_count: () -> ::Integer
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#describe_geofence_collection-instance_method
def describe_geofence_collection: (
collection_name: ::String
) -> _DescribeGeofenceCollectionResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeGeofenceCollectionResponseSuccess
interface _DescribeKeyResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeKeyResponse]
- def create_time: () -> ::Time
- def description: () -> ::String
- def expire_time: () -> ::Time
def key: () -> ::String
def key_arn: () -> ::String
def key_name: () -> ::String
def restrictions: () -> Types::ApiKeyRestrictions
- def tags: () -> ::Hash[::String, ::String]
+ def create_time: () -> ::Time
+ def expire_time: () -> ::Time
def update_time: () -> ::Time
+ def description: () -> ::String
+ def tags: () -> ::Hash[::String, ::String]
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#describe_key-instance_method
def describe_key: (
key_name: ::String
) -> _DescribeKeyResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeKeyResponseSuccess
interface _DescribeMapResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeMapResponse]
- def configuration: () -> Types::MapConfiguration
- def create_time: () -> ::Time
- def data_source: () -> ::String
- def description: () -> ::String
- def map_arn: () -> ::String
def map_name: () -> ::String
+ def map_arn: () -> ::String
def pricing_plan: () -> ("RequestBasedUsage" | "MobileAssetTracking" | "MobileAssetManagement")
+ def data_source: () -> ::String
+ def configuration: () -> Types::MapConfiguration
+ def description: () -> ::String
def tags: () -> ::Hash[::String, ::String]
+ def create_time: () -> ::Time
def update_time: () -> ::Time
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#describe_map-instance_method
def describe_map: (
map_name: ::String
) -> _DescribeMapResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeMapResponseSuccess
interface _DescribePlaceIndexResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::DescribePlaceIndexResponse]
+ def index_name: () -> ::String
+ def index_arn: () -> ::String
+ def pricing_plan: () -> ("RequestBasedUsage" | "MobileAssetTracking" | "MobileAssetManagement")
+ def description: () -> ::String
def create_time: () -> ::Time
+ def update_time: () -> ::Time
def data_source: () -> ::String
def data_source_configuration: () -> Types::DataSourceConfiguration
- def description: () -> ::String
- def index_arn: () -> ::String
- def index_name: () -> ::String
- def pricing_plan: () -> ("RequestBasedUsage" | "MobileAssetTracking" | "MobileAssetManagement")
def tags: () -> ::Hash[::String, ::String]
- def update_time: () -> ::Time
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#describe_place_index-instance_method
def describe_place_index: (
index_name: ::String
) -> _DescribePlaceIndexResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribePlaceIndexResponseSuccess
interface _DescribeRouteCalculatorResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeRouteCalculatorResponse]
- def calculator_arn: () -> ::String
def calculator_name: () -> ::String
+ def calculator_arn: () -> ::String
+ def pricing_plan: () -> ("RequestBasedUsage" | "MobileAssetTracking" | "MobileAssetManagement")
+ def description: () -> ::String
def create_time: () -> ::Time
+ def update_time: () -> ::Time
def data_source: () -> ::String
- def description: () -> ::String
- def pricing_plan: () -> ("RequestBasedUsage" | "MobileAssetTracking" | "MobileAssetManagement")
def tags: () -> ::Hash[::String, ::String]
- def update_time: () -> ::Time
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#describe_route_calculator-instance_method
def describe_route_calculator: (
calculator_name: ::String
) -> _DescribeRouteCalculatorResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRouteCalculatorResponseSuccess
interface _DescribeTrackerResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTrackerResponse]
- def create_time: () -> ::Time
+ def tracker_name: () -> ::String
+ def tracker_arn: () -> ::String
def description: () -> ::String
- def event_bridge_enabled: () -> bool
- def kms_key_enable_geospatial_queries: () -> bool
- def kms_key_id: () -> ::String
- def position_filtering: () -> ("TimeBased" | "DistanceBased" | "AccuracyBased")
def pricing_plan: () -> ("RequestBasedUsage" | "MobileAssetTracking" | "MobileAssetManagement")
def pricing_plan_data_source: () -> ::String
def tags: () -> ::Hash[::String, ::String]
- def tracker_arn: () -> ::String
- def tracker_name: () -> ::String
+ def create_time: () -> ::Time
def update_time: () -> ::Time
+ def kms_key_id: () -> ::String
+ def position_filtering: () -> ("TimeBased" | "DistanceBased" | "AccuracyBased")
+ def event_bridge_enabled: () -> bool
+ def kms_key_enable_geospatial_queries: () -> bool
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#describe_tracker-instance_method
def describe_tracker: (
tracker_name: ::String
) -> _DescribeTrackerResponseSuccess
@@ -553,55 +554,77 @@
interface _DisassociateTrackerConsumerResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateTrackerConsumerResponse]
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#disassociate_tracker_consumer-instance_method
def disassociate_tracker_consumer: (
- consumer_arn: ::String,
- tracker_name: ::String
+ tracker_name: ::String,
+ consumer_arn: ::String
) -> _DisassociateTrackerConsumerResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateTrackerConsumerResponseSuccess
+ interface _ForecastGeofenceEventsResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::ForecastGeofenceEventsResponse]
+ def forecasted_events: () -> ::Array[Types::ForecastedEvent]
+ def next_token: () -> ::String
+ def distance_unit: () -> ("Kilometers" | "Miles")
+ def speed_unit: () -> ("KilometersPerHour" | "MilesPerHour")
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#forecast_geofence_events-instance_method
+ def forecast_geofence_events: (
+ collection_name: ::String,
+ device_state: {
+ position: Array[::Float],
+ speed: ::Float?
+ },
+ ?time_horizon_minutes: ::Float,
+ ?distance_unit: ("Kilometers" | "Miles"),
+ ?speed_unit: ("KilometersPerHour" | "MilesPerHour"),
+ ?next_token: ::String,
+ ?max_results: ::Integer
+ ) -> _ForecastGeofenceEventsResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ForecastGeofenceEventsResponseSuccess
+
interface _GetDevicePositionResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::GetDevicePositionResponse]
- def accuracy: () -> Types::PositionalAccuracy
def device_id: () -> ::String
+ def sample_time: () -> ::Time
+ def received_time: () -> ::Time
def position: () -> ::Array[::Float]
+ def accuracy: () -> Types::PositionalAccuracy
def position_properties: () -> ::Hash[::String, ::String]
- def received_time: () -> ::Time
- def sample_time: () -> ::Time
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#get_device_position-instance_method
def get_device_position: (
- device_id: ::String,
- tracker_name: ::String
+ tracker_name: ::String,
+ device_id: ::String
) -> _GetDevicePositionResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDevicePositionResponseSuccess
interface _GetDevicePositionHistoryResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::GetDevicePositionHistoryResponse]
def device_positions: () -> ::Array[Types::DevicePosition]
def next_token: () -> ::String
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#get_device_position_history-instance_method
def get_device_position_history: (
+ tracker_name: ::String,
device_id: ::String,
- ?end_time_exclusive: ::Time,
- ?max_results: ::Integer,
?next_token: ::String,
?start_time_inclusive: ::Time,
- tracker_name: ::String
+ ?end_time_exclusive: ::Time,
+ ?max_results: ::Integer
) -> _GetDevicePositionHistoryResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDevicePositionHistoryResponseSuccess
interface _GetGeofenceResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::GetGeofenceResponse]
- def create_time: () -> ::Time
def geofence_id: () -> ::String
- def geofence_properties: () -> ::Hash[::String, ::String]
def geometry: () -> Types::GeofenceGeometry
def status: () -> ::String
+ def create_time: () -> ::Time
def update_time: () -> ::Time
+ def geofence_properties: () -> ::Hash[::String, ::String]
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#get_geofence-instance_method
def get_geofence: (
collection_name: ::String,
geofence_id: ::String
@@ -609,95 +632,95 @@
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGeofenceResponseSuccess
interface _GetMapGlyphsResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::GetMapGlyphsResponse]
def blob: () -> ::IO
- def cache_control: () -> ::String
def content_type: () -> ::String
+ def cache_control: () -> ::String
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#get_map_glyphs-instance_method
def get_map_glyphs: (
+ map_name: ::String,
font_stack: ::String,
font_unicode_range: ::String,
- ?key: ::String,
- map_name: ::String
+ ?key: ::String
) ?{ (*untyped) -> void } -> _GetMapGlyphsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _GetMapGlyphsResponseSuccess
interface _GetMapSpritesResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::GetMapSpritesResponse]
def blob: () -> ::IO
- def cache_control: () -> ::String
def content_type: () -> ::String
+ def cache_control: () -> ::String
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#get_map_sprites-instance_method
def get_map_sprites: (
+ map_name: ::String,
file_name: ::String,
- ?key: ::String,
- map_name: ::String
+ ?key: ::String
) ?{ (*untyped) -> void } -> _GetMapSpritesResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _GetMapSpritesResponseSuccess
interface _GetMapStyleDescriptorResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::GetMapStyleDescriptorResponse]
def blob: () -> ::IO
- def cache_control: () -> ::String
def content_type: () -> ::String
+ def cache_control: () -> ::String
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#get_map_style_descriptor-instance_method
def get_map_style_descriptor: (
- ?key: ::String,
- map_name: ::String
+ map_name: ::String,
+ ?key: ::String
) ?{ (*untyped) -> void } -> _GetMapStyleDescriptorResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _GetMapStyleDescriptorResponseSuccess
interface _GetMapTileResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::GetMapTileResponse]
def blob: () -> ::IO
- def cache_control: () -> ::String
def content_type: () -> ::String
+ def cache_control: () -> ::String
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#get_map_tile-instance_method
def get_map_tile: (
- ?key: ::String,
map_name: ::String,
+ z: ::String,
x: ::String,
y: ::String,
- z: ::String
+ ?key: ::String
) ?{ (*untyped) -> void } -> _GetMapTileResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _GetMapTileResponseSuccess
interface _GetPlaceResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::GetPlaceResponse]
def place: () -> Types::Place
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#get_place-instance_method
def get_place: (
index_name: ::String,
- ?key: ::String,
+ place_id: ::String,
?language: ::String,
- place_id: ::String
+ ?key: ::String
) -> _GetPlaceResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPlaceResponseSuccess
interface _ListDevicePositionsResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::ListDevicePositionsResponse]
def entries: () -> ::Array[Types::ListDevicePositionsResponseEntry]
def next_token: () -> ::String
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#list_device_positions-instance_method
def list_device_positions: (
+ tracker_name: ::String,
+ ?max_results: ::Integer,
+ ?next_token: ::String,
?filter_geometry: {
polygon: Array[
Array[
Array[::Float],
],
]?
- },
- ?max_results: ::Integer,
- ?next_token: ::String,
- tracker_name: ::String
+ }
) -> _ListDevicePositionsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDevicePositionsResponseSuccess
interface _ListGeofenceCollectionsResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::ListGeofenceCollectionsResponse]
@@ -717,27 +740,27 @@
def next_token: () -> ::String
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#list_geofences-instance_method
def list_geofences: (
collection_name: ::String,
- ?max_results: ::Integer,
- ?next_token: ::String
+ ?next_token: ::String,
+ ?max_results: ::Integer
) -> _ListGeofencesResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGeofencesResponseSuccess
interface _ListKeysResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::ListKeysResponse]
def entries: () -> ::Array[Types::ListKeysResponseEntry]
def next_token: () -> ::String
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#list_keys-instance_method
def list_keys: (
+ ?max_results: ::Integer,
+ ?next_token: ::String,
?filter: {
key_status: ("Active" | "Expired")?
- },
- ?max_results: ::Integer,
- ?next_token: ::String
+ }
) -> _ListKeysResponseSuccess
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListKeysResponseSuccess
interface _ListMapsResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::ListMapsResponse]
@@ -790,13 +813,13 @@
def consumer_arns: () -> ::Array[::String]
def next_token: () -> ::String
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#list_tracker_consumers-instance_method
def list_tracker_consumers: (
+ tracker_name: ::String,
?max_results: ::Integer,
- ?next_token: ::String,
- tracker_name: ::String
+ ?next_token: ::String
) -> _ListTrackerConsumersResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTrackerConsumersResponseSuccess
interface _ListTrackersResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::ListTrackersResponse]
@@ -810,83 +833,84 @@
) -> _ListTrackersResponseSuccess
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTrackersResponseSuccess
interface _PutGeofenceResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::PutGeofenceResponse]
- def create_time: () -> ::Time
def geofence_id: () -> ::String
+ def create_time: () -> ::Time
def update_time: () -> ::Time
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#put_geofence-instance_method
def put_geofence: (
collection_name: ::String,
geofence_id: ::String,
- ?geofence_properties: Hash[::String, ::String],
geometry: {
- circle: {
- center: Array[::Float],
- radius: ::Float
- }?,
polygon: Array[
Array[
Array[::Float],
],
- ]?
- }
+ ]?,
+ circle: {
+ center: Array[::Float],
+ radius: ::Float
+ }?,
+ geobuf: ::String?
+ },
+ ?geofence_properties: Hash[::String, ::String]
) -> _PutGeofenceResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutGeofenceResponseSuccess
interface _SearchPlaceIndexForPositionResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::SearchPlaceIndexForPositionResponse]
- def results: () -> ::Array[Types::SearchForPositionResult]
def summary: () -> Types::SearchPlaceIndexForPositionSummary
+ def results: () -> ::Array[Types::SearchForPositionResult]
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#search_place_index_for_position-instance_method
def search_place_index_for_position: (
index_name: ::String,
- ?key: ::String,
- ?language: ::String,
+ position: Array[::Float],
?max_results: ::Integer,
- position: Array[::Float]
+ ?language: ::String,
+ ?key: ::String
) -> _SearchPlaceIndexForPositionResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchPlaceIndexForPositionResponseSuccess
interface _SearchPlaceIndexForSuggestionsResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::SearchPlaceIndexForSuggestionsResponse]
- def results: () -> ::Array[Types::SearchForSuggestionsResult]
def summary: () -> Types::SearchPlaceIndexForSuggestionsSummary
+ def results: () -> ::Array[Types::SearchForSuggestionsResult]
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#search_place_index_for_suggestions-instance_method
def search_place_index_for_suggestions: (
+ index_name: ::String,
+ text: ::String,
?bias_position: Array[::Float],
?filter_b_box: Array[::Float],
- ?filter_categories: Array[::String],
?filter_countries: Array[::String],
- index_name: ::String,
- ?key: ::String,
- ?language: ::String,
?max_results: ::Integer,
- text: ::String
+ ?language: ::String,
+ ?filter_categories: Array[::String],
+ ?key: ::String
) -> _SearchPlaceIndexForSuggestionsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchPlaceIndexForSuggestionsResponseSuccess
interface _SearchPlaceIndexForTextResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::SearchPlaceIndexForTextResponse]
- def results: () -> ::Array[Types::SearchForTextResult]
def summary: () -> Types::SearchPlaceIndexForTextSummary
+ def results: () -> ::Array[Types::SearchForTextResult]
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#search_place_index_for_text-instance_method
def search_place_index_for_text: (
+ index_name: ::String,
+ text: ::String,
?bias_position: Array[::Float],
?filter_b_box: Array[::Float],
- ?filter_categories: Array[::String],
?filter_countries: Array[::String],
- index_name: ::String,
- ?key: ::String,
- ?language: ::String,
?max_results: ::Integer,
- text: ::String
+ ?language: ::String,
+ ?filter_categories: Array[::String],
+ ?key: ::String
) -> _SearchPlaceIndexForTextResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchPlaceIndexForTextResponseSuccess
interface _TagResourceResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
@@ -908,20 +932,20 @@
) -> _UntagResourceResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
interface _UpdateGeofenceCollectionResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateGeofenceCollectionResponse]
- def collection_arn: () -> ::String
def collection_name: () -> ::String
+ def collection_arn: () -> ::String
def update_time: () -> ::Time
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#update_geofence_collection-instance_method
def update_geofence_collection: (
collection_name: ::String,
- ?description: ::String,
?pricing_plan: ("RequestBasedUsage" | "MobileAssetTracking" | "MobileAssetManagement"),
- ?pricing_plan_data_source: ::String
+ ?pricing_plan_data_source: ::String,
+ ?description: ::String
) -> _UpdateGeofenceCollectionResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGeofenceCollectionResponseSuccess
interface _UpdateKeyResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateKeyResponse]
@@ -929,88 +953,145 @@
def key_name: () -> ::String
def update_time: () -> ::Time
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#update_key-instance_method
def update_key: (
+ key_name: ::String,
?description: ::String,
?expire_time: ::Time,
- ?force_update: bool,
- key_name: ::String,
?no_expiry: bool,
+ ?force_update: bool,
?restrictions: {
allow_actions: Array[::String],
- allow_referers: Array[::String]?,
- allow_resources: Array[::String]
+ allow_resources: Array[::String],
+ allow_referers: Array[::String]?
}
) -> _UpdateKeyResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateKeyResponseSuccess
interface _UpdateMapResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMapResponse]
- def map_arn: () -> ::String
def map_name: () -> ::String
+ def map_arn: () -> ::String
def update_time: () -> ::Time
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#update_map-instance_method
def update_map: (
- ?configuration_update: {
- custom_layers: Array[::String]?,
- political_view: ::String?
- },
- ?description: ::String,
map_name: ::String,
- ?pricing_plan: ("RequestBasedUsage" | "MobileAssetTracking" | "MobileAssetManagement")
+ ?pricing_plan: ("RequestBasedUsage" | "MobileAssetTracking" | "MobileAssetManagement"),
+ ?description: ::String,
+ ?configuration_update: {
+ political_view: ::String?,
+ custom_layers: Array[::String]?
+ }
) -> _UpdateMapResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateMapResponseSuccess
interface _UpdatePlaceIndexResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePlaceIndexResponse]
- def index_arn: () -> ::String
def index_name: () -> ::String
+ def index_arn: () -> ::String
def update_time: () -> ::Time
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#update_place_index-instance_method
def update_place_index: (
+ index_name: ::String,
+ ?pricing_plan: ("RequestBasedUsage" | "MobileAssetTracking" | "MobileAssetManagement"),
+ ?description: ::String,
?data_source_configuration: {
intended_use: ("SingleUse" | "Storage")?
- },
- ?description: ::String,
- index_name: ::String,
- ?pricing_plan: ("RequestBasedUsage" | "MobileAssetTracking" | "MobileAssetManagement")
+ }
) -> _UpdatePlaceIndexResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePlaceIndexResponseSuccess
interface _UpdateRouteCalculatorResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRouteCalculatorResponse]
- def calculator_arn: () -> ::String
def calculator_name: () -> ::String
+ def calculator_arn: () -> ::String
def update_time: () -> ::Time
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#update_route_calculator-instance_method
def update_route_calculator: (
calculator_name: ::String,
- ?description: ::String,
- ?pricing_plan: ("RequestBasedUsage" | "MobileAssetTracking" | "MobileAssetManagement")
+ ?pricing_plan: ("RequestBasedUsage" | "MobileAssetTracking" | "MobileAssetManagement"),
+ ?description: ::String
) -> _UpdateRouteCalculatorResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRouteCalculatorResponseSuccess
interface _UpdateTrackerResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTrackerResponse]
- def tracker_arn: () -> ::String
def tracker_name: () -> ::String
+ def tracker_arn: () -> ::String
def update_time: () -> ::Time
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#update_tracker-instance_method
def update_tracker: (
- ?description: ::String,
- ?event_bridge_enabled: bool,
- ?kms_key_enable_geospatial_queries: bool,
- ?position_filtering: ("TimeBased" | "DistanceBased" | "AccuracyBased"),
+ tracker_name: ::String,
?pricing_plan: ("RequestBasedUsage" | "MobileAssetTracking" | "MobileAssetManagement"),
?pricing_plan_data_source: ::String,
- tracker_name: ::String
+ ?description: ::String,
+ ?position_filtering: ("TimeBased" | "DistanceBased" | "AccuracyBased"),
+ ?event_bridge_enabled: bool,
+ ?kms_key_enable_geospatial_queries: bool
) -> _UpdateTrackerResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTrackerResponseSuccess
+
+ interface _VerifyDevicePositionResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::VerifyDevicePositionResponse]
+ def inferred_state: () -> Types::InferredState
+ def device_id: () -> ::String
+ def sample_time: () -> ::Time
+ def received_time: () -> ::Time
+ def distance_unit: () -> ("Kilometers" | "Miles")
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LocationService/Client.html#verify_device_position-instance_method
+ def verify_device_position: (
+ tracker_name: ::String,
+ device_state: {
+ device_id: ::String,
+ sample_time: ::Time,
+ position: Array[::Float],
+ accuracy: {
+ horizontal: ::Float
+ }?,
+ ipv_4_address: ::String?,
+ wi_fi_access_points: Array[
+ {
+ mac_address: ::String,
+ rss: ::Integer
+ },
+ ]?,
+ cell_signals: {
+ lte_cell_details: Array[
+ {
+ cell_id: ::Integer,
+ mcc: ::Integer,
+ mnc: ::Integer,
+ local_id: {
+ earfcn: ::Integer,
+ pci: ::Integer
+ }?,
+ network_measurements: Array[
+ {
+ earfcn: ::Integer,
+ cell_id: ::Integer,
+ pci: ::Integer,
+ rsrp: ::Integer?,
+ rsrq: ::Float?
+ },
+ ]?,
+ timing_advance: ::Integer?,
+ nr_capable: bool?,
+ rsrp: ::Integer?,
+ rsrq: ::Float?,
+ tac: ::Integer?
+ },
+ ]
+ }?
+ },
+ ?distance_unit: ("Kilometers" | "Miles")
+ ) -> _VerifyDevicePositionResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _VerifyDevicePositionResponseSuccess
end
end
end