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
show all
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

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)

    The country of the locale.

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

    The state or subdivision of the locale.