Class: Aws::MTurk::Types::Locale
- Inherits:
-
Struct
- Object
- Struct
- Aws::MTurk::Types::Locale
- Includes:
- Structure
- Defined in:
- 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
-
#country ⇒ String
The country of the locale.
-
#subdivision ⇒ String
The state or subdivision of the locale.
Instance Attribute Details
#country ⇒ String
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.
1739 1740 1741 1742 1743 1744 |
# File 'lib/aws-sdk-mturk/types.rb', line 1739 class Locale < Struct.new( :country, :subdivision) SENSITIVE = [] include Aws::Structure end |
#subdivision ⇒ String
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.
1739 1740 1741 1742 1743 1744 |
# File 'lib/aws-sdk-mturk/types.rb', line 1739 class Locale < Struct.new( :country, :subdivision) SENSITIVE = [] include Aws::Structure end |