Locale

public struct Locale : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • 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.

    Declaration

    Swift

    public let country: 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.

    Declaration

    Swift

    public let subdivision: String?
  • Undocumented

    Declaration

    Swift

    public init(country: String, subdivision: String? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws