Class: Aws::MTurk::Types::Locale

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb

Overview

The Locale data structure represents a geographical region or location.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#countryString

The country of the locale. Must be a valid ISO 3166 country code. For example, the code US refers to the United States of America.

Returns:

  • (String)


1739
1740
1741
1742
1743
1744
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 1739

class Locale < Struct.new(
  :country,
  :subdivision)
  SENSITIVE = []
  include Aws::Structure
end

#subdivisionString

The state or subdivision of the locale. A valid ISO 3166-2 subdivision code. For example, the code WA refers to the state of Washington.

Returns:

  • (String)


1739
1740
1741
1742
1743
1744
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 1739

class Locale < Struct.new(
  :country,
  :subdivision)
  SENSITIVE = []
  include Aws::Structure
end