Smaws_Client_STS.GetCallerIdentityReturns details about the IAM user or role whose credentials are used to call the operation.
No permissions are required to perform this operation. If an administrator attaches a policy to your identity that explicitly denies access to the sts:GetCallerIdentity action, you can still perform this operation. Permissions are not required because the same information is returned when access is denied. To view an example response, see I Am Not Authorized to Perform: iam:DeleteVirtualMFADevice in the IAM User Guide.
val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error ] -> stringval request :
'http_type Smaws_Lib.Context.t ->
Types.get_caller_identity_request ->
(Types.get_caller_identity_response, [> Smaws_Lib.Protocols.AwsQuery.error ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.get_caller_identity_request ->
(Types.get_caller_identity_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error ] * Smaws_Lib.Response.metadata)
Stdlib.result