Module Values.GetCallerIdentityResponseSource

Contains the response to a successful GetCallerIdentity request, including information about the entity making the request.

Sourcetype getCallerIdentityResult = {
  1. userId : UserIdType.t option;
    (*

    The unique identifier of the calling entity. The exact value depends on the type of entity that is making the call. The values returned are those listed in the aws:userid column in the Principal table found on the Policy Variables reference page in the IAM User Guide.

    *)
  2. account : AccountType.t option;
    (*

    The Amazon Web Services account ID number of the account that owns or contains the calling entity.

    *)
  3. arn : ArnType.t option;
    (*

    The Amazon Web Services ARN associated with the calling entity.

    *)
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. getCallerIdentityResult : getCallerIdentityResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?userId:??? -> ?account:??? -> ?arn:??? -> unit -> t
Sourceval error_of_json : 'a -> Yojson.Safe.t -> [> `Unknown_operation_error of 'a * string option ]
Sourceval error_of_xml : 'a -> Awso.Xml.t -> [> `Unknown_operation_error of 'a * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `String of UserIdType.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