Module Values.GetSessionTokenResponseSource

Contains the response to a successful GetSessionToken request, including temporary Amazon Web Services credentials that can be used to make Amazon Web Services requests.

Sourcetype getSessionTokenResult = {
  1. credentials : Credentials.t option;
    (*

    The temporary security credentials, which include an access key ID, a secret access key, and a security (or session) token. The size of the security token that STS API operations return is not fixed. We strongly recommend that you make no assumptions about the maximum size.

    *)
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. getSessionTokenResult : getSessionTokenResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `RegionDisabledException of RegionDisabledException.t
  2. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?credentials:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `RegionDisabledException of RegionDisabledException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `RegionDisabledException of RegionDisabledException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Structure of (string * [> `String of AccessKeyIdType.t | `Timestamp of DateType.t ]) list ]) 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