Module Values.GetIdentityCenterAuthTokenResponseSource

The response from GetIdentityCenterAuthToken containing the encrypted authentication token and expiration time.

Sourcetype getIdentityCenterAuthTokenResult = {
  1. token : SensitiveString.t option;
    (*

    The encrypted authentication token containing the caller's Amazon Web Services IAM Identity Center identity information. This token is encrypted using Key Management Service and can only be decrypted by the specified Amazon Redshift clusters. Use this token with Amazon Redshift drivers to authenticate using your Amazon Web Services IAM Identity Center identity.

    *)
  2. expirationTime : TStamp.t option;
    (*

    The time (UTC) when the token expires. After this timestamp, the token will no longer be valid for authentication.

    *)
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. getIdentityCenterAuthTokenResult : getIdentityCenterAuthTokenResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `ClusterNotFoundFault of ClusterNotFoundFault.t
  2. | `InvalidClusterStateFault of InvalidClusterStateFault.t
  3. | `RedshiftInvalidParameterFault of RedshiftInvalidParameterFault.t
  4. | `UnsupportedOperationFault of UnsupportedOperationFault.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?token:??? -> ?expirationTime:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ClusterNotFoundFault of unit | `InvalidClusterStateFault of unit | `RedshiftInvalidParameterFault of unit | `Unknown_operation_error of string * string option | `UnsupportedOperationFault of unit ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ClusterNotFoundFault of unit | `InvalidClusterStateFault of unit | `RedshiftInvalidParameterFault 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 SensitiveString.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