 /// AWS Region
 public struct Region {
     
+    /// name of the region, see RegionName
     public let name: RegionName
+
+    /// name of the custom host, can contain IP and/or port (e.g. 127.0.0.1:9000)
     public let hostName: String?
+
+    /// use TLS/https (defaults to true)
     public let useTLS: Bool
     
     public enum RegionName : String, Codable {

        self.useTLS = true
    }
    
    public func encode(to encoder: Encoder) throws {
        var container = encoder.singleValueContainer()
        try container.encode(self.name.rawValue)

    }
}

extension Region {
    public init?(rawValue: String) {
        guard let name = RegionName(rawValue: rawValue) else {
            return nil
        }
