class Aws::STS::Client

def get_caller_identity(params = {}, options = {})

Parameters:
  • params (Hash) -- ({})

Overloads:
  • get_caller_identity(params = {})

Other tags:
    See: http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetCallerIdentity - AWS API Documentation

Other tags:
    Example: Response structure -
    Example: Example: To get details about a calling user federated with GetFederationToken -
    Example: Example: To get details about a calling user federated with AssumeRole -
    Example: Example: To get details about a calling IAM user -

Returns:
  • (Types::GetCallerIdentityResponse) - Returns a {Seahorse::Client::Response response} object which responds to the following methods:
def get_caller_identity(params = {}, options = {})
  req = build_request(:get_caller_identity, params)
  req.send_request(options)
end