Class: Aws::LocationService::Types::SearchPlaceIndexForSuggestionsSummary

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

Overview

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

Constant Summary collapse

SENSITIVE =
[:text, :bias_position, :filter_b_box]

Instance Attribute Summary collapse

Instance Attribute Details

#bias_positionArray<Float>

Contains the coordinates for the optional bias position specified in the request.

This parameter contains a pair of numbers. The first number represents the X coordinate, or longitude; the second number represents the Y coordinate, or latitude.

For example, ‘[-123.1174, 49.2847]` represents the position with longitude `-123.1174` and latitude `49.2847`.

Returns:

  • (Array<Float>)


6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
# File 'lib/aws-sdk-locationservice/types.rb', line 6033

class SearchPlaceIndexForSuggestionsSummary < Struct.new(
  :text,
  :bias_position,
  :filter_b_box,
  :filter_countries,
  :max_results,
  :data_source,
  :language,
  :filter_categories)
  SENSITIVE = [:text, :bias_position, :filter_b_box]
  include Aws::Structure
end

#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)


6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
# File 'lib/aws-sdk-locationservice/types.rb', line 6033

class SearchPlaceIndexForSuggestionsSummary < Struct.new(
  :text,
  :bias_position,
  :filter_b_box,
  :filter_countries,
  :max_results,
  :data_source,
  :language,
  :filter_categories)
  SENSITIVE = [:text, :bias_position, :filter_b_box]
  include Aws::Structure
end

#filter_b_boxArray<Float>

Contains the coordinates for the optional bounding box specified in the request.

Returns:

  • (Array<Float>)


6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
# File 'lib/aws-sdk-locationservice/types.rb', line 6033

class SearchPlaceIndexForSuggestionsSummary < Struct.new(
  :text,
  :bias_position,
  :filter_b_box,
  :filter_countries,
  :max_results,
  :data_source,
  :language,
  :filter_categories)
  SENSITIVE = [:text, :bias_position, :filter_b_box]
  include Aws::Structure
end

#filter_categoriesArray<String>

The optional category filter specified in the request.

Returns:

  • (Array<String>)


6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
# File 'lib/aws-sdk-locationservice/types.rb', line 6033

class SearchPlaceIndexForSuggestionsSummary < Struct.new(
  :text,
  :bias_position,
  :filter_b_box,
  :filter_countries,
  :max_results,
  :data_source,
  :language,
  :filter_categories)
  SENSITIVE = [:text, :bias_position, :filter_b_box]
  include Aws::Structure
end

#filter_countriesArray<String>

Contains the optional country filter specified in the request.

Returns:

  • (Array<String>)


6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
# File 'lib/aws-sdk-locationservice/types.rb', line 6033

class SearchPlaceIndexForSuggestionsSummary < Struct.new(
  :text,
  :bias_position,
  :filter_b_box,
  :filter_countries,
  :max_results,
  :data_source,
  :language,
  :filter_categories)
  SENSITIVE = [:text, :bias_position, :filter_b_box]
  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)


6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
# File 'lib/aws-sdk-locationservice/types.rb', line 6033

class SearchPlaceIndexForSuggestionsSummary < Struct.new(
  :text,
  :bias_position,
  :filter_b_box,
  :filter_countries,
  :max_results,
  :data_source,
  :language,
  :filter_categories)
  SENSITIVE = [:text, :bias_position, :filter_b_box]
  include Aws::Structure
end

#max_resultsInteger

Contains the optional result count limit specified in the request.

Returns:

  • (Integer)


6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
# File 'lib/aws-sdk-locationservice/types.rb', line 6033

class SearchPlaceIndexForSuggestionsSummary < Struct.new(
  :text,
  :bias_position,
  :filter_b_box,
  :filter_countries,
  :max_results,
  :data_source,
  :language,
  :filter_categories)
  SENSITIVE = [:text, :bias_position, :filter_b_box]
  include Aws::Structure
end

#textString

The free-form partial text input specified in the request.

Returns:

  • (String)


6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
# File 'lib/aws-sdk-locationservice/types.rb', line 6033

class SearchPlaceIndexForSuggestionsSummary < Struct.new(
  :text,
  :bias_position,
  :filter_b_box,
  :filter_countries,
  :max_results,
  :data_source,
  :language,
  :filter_categories)
  SENSITIVE = [:text, :bias_position, :filter_b_box]
  include Aws::Structure
end