Class: Aws::LocationService::Types::SearchPlaceIndexForPositionSummary

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-locationservice/types.rb

Overview

A summary of the request sent by using ‘SearchPlaceIndexForPosition`.

Constant Summary collapse

SENSITIVE =
[:position]

Instance Attribute Summary collapse

Instance Attribute Details

#data_sourceString

The geospatial data provider attached to the place index resource specified in the request. Values can be one of the following:

  • Esri

  • Grab

  • Here

For more information about data providers, see [Amazon Location Service data providers].

[1]: docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html

Returns:

  • (String)


5809
5810
5811
5812
5813
5814
5815
5816
# File 'lib/aws-sdk-locationservice/types.rb', line 5809

class SearchPlaceIndexForPositionSummary < Struct.new(
  :position,
  :max_results,
  :data_source,
  :language)
  SENSITIVE = [:position]
  include Aws::Structure
end

#languageString

The preferred language used to return results. Matches the language in the request. The value is a valid [BCP 47] language tag, for example, ‘en` for English.

[1]: tools.ietf.org/search/bcp47

Returns:

  • (String)


5809
5810
5811
5812
5813
5814
5815
5816
# File 'lib/aws-sdk-locationservice/types.rb', line 5809

class SearchPlaceIndexForPositionSummary < Struct.new(
  :position,
  :max_results,
  :data_source,
  :language)
  SENSITIVE = [:position]
  include Aws::Structure
end

#max_resultsInteger

Contains the optional result count limit that is specified in the request.

Default value: ‘50`

Returns:

  • (Integer)


5809
5810
5811
5812
5813
5814
5815
5816
# File 'lib/aws-sdk-locationservice/types.rb', line 5809

class SearchPlaceIndexForPositionSummary < Struct.new(
  :position,
  :max_results,
  :data_source,
  :language)
  SENSITIVE = [:position]
  include Aws::Structure
end

#positionArray<Float>

The position specified in the request.

Returns:

  • (Array<Float>)


5809
5810
5811
5812
5813
5814
5815
5816
# File 'lib/aws-sdk-locationservice/types.rb', line 5809

class SearchPlaceIndexForPositionSummary < Struct.new(
  :position,
  :max_results,
  :data_source,
  :language)
  SENSITIVE = [:position]
  include Aws::Structure
end