Module Values.ClusterCredentialsSource

Temporary credentials with authorization to log on to an Amazon Redshift database.

Sourcetype getClusterCredentialsResult = {
  1. dbUser : String_.t option;
    (*

    A database user name that is authorized to log on to the database DbName using the password DbPassword. If the specified DbUser exists in the database, the new user name has the same database permissions as the the user named in DbUser. By default, the user is added to PUBLIC. If the DbGroups parameter is specifed, DbUser is added to the listed groups for any sessions created using these credentials.

    *)
  2. dbPassword : SensitiveString.t option;
    (*

    A temporary password that authorizes the user name returned by DbUser to log on to the database DbName.

    *)
  3. expiration : TStamp.t option;
    (*

    The date and time the password in DbPassword expires.

    *)
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. getClusterCredentialsResult : getClusterCredentialsResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `ClusterNotFoundFault of ClusterNotFoundFault.t
  2. | `UnsupportedOperationFault of UnsupportedOperationFault.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?dbUser:??? -> ?dbPassword:??? -> ?expiration:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ClusterNotFoundFault of unit | `Unknown_operation_error of string * string option | `UnsupportedOperationFault of unit ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ClusterNotFoundFault of unit | `Unknown_operation_error of string * string option | `UnsupportedOperationFault of unit ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `String of String_.t | `Timestamp of TStamp.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t