You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::MTurk::Types::Locale
- Inherits:
-
Struct
- Object
- Struct
- Aws::MTurk::Types::Locale
- Defined in:
- (unknown)
Overview
Note:
When passing Locale as input to an Aws::Client method, you can use a vanilla Hash:
{
country: "CountryParameters", # required
subdivision: "CountryParameters",
}
The Locale data structure represents a geographical region or location.
Returned by:
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.
#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.