Module Values.ClusterExtendedCredentialsSource

Returns a database user name and temporary password with temporary authorization to log in to an Amazon Redshift database. The database user is mapped 1:1 to the source Identity and Access Management (IAM) identity. For more information about IAM identities, see IAM Identities (users, user groups, and roles) in the Amazon Web Services Identity and Access Management User Guide. The Identity and Access Management (IAM) identity that runs this operation must have an IAM policy attached that allows access to all necessary actions and resources. For more information about permissions, see Using identity-based policies (IAM policies) in the Amazon Redshift Cluster Management Guide.

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

    A database user name that you provide when you connect to a database. The database user is mapped 1:1 to the source IAM identity.

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

    A temporary password that you provide when you connect to a database.

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

    The time (UTC) when the temporary password expires. After this timestamp, a log in with the temporary password fails.

    *)
  4. nextRefreshTime : TStamp.t option;
    (*

    Reserved for future use.

    *)
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. getClusterCredentialsWithIAMResult : getClusterCredentialsWithIAMResult;
  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:??? -> ?nextRefreshTime:??? -> 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