Class: Aws::STS::Types::GetCallerIdentityResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::STS::Types::GetCallerIdentityResponse
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-sts/types.rb
Overview
Contains the response to a successful GetCallerIdentity request, including information about the entity making the request.
Instance Attribute Summary collapse
-
#account ⇒ String
The AWS account ID number of the account that owns or contains the calling entity.
-
#arn ⇒ String
The AWS ARN associated with the calling entity.
-
#user_id ⇒ String
The unique identifier of the calling entity.
Method Summary
Methods included from Aws::Structure
#empty?, included, #initialize, #key?, new, #to_h, #to_s
Instance Attribute Details
#account ⇒ String
The AWS account ID number of the account that owns or contains the calling entity.
739 740 741 742 743 744 |
# File 'lib/aws-sdk-sts/types.rb', line 739 class GetCallerIdentityResponse < Struct.new( :user_id, :account, :arn) include Aws::Structure end |
#arn ⇒ String
The AWS ARN associated with the calling entity.
739 740 741 742 743 744 |
# File 'lib/aws-sdk-sts/types.rb', line 739 class GetCallerIdentityResponse < Struct.new( :user_id, :account, :arn) include Aws::Structure end |
#user_id ⇒ String
The unique identifier of the calling entity. The exact value depends on the type of entity 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*.
[1]: docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_variables.html#principaltable
739 740 741 742 743 744 |
# File 'lib/aws-sdk-sts/types.rb', line 739 class GetCallerIdentityResponse < Struct.new( :user_id, :account, :arn) include Aws::Structure end |