class Stax::Aws::Sts

Public Class Methods

account_id() click to toggle source
# File lib/stax/aws/sts.rb, line 17
def account_id
  id.account
end
client() click to toggle source
# File lib/stax/aws/sts.rb, line 9
def client
  @_client ||= ::Aws::STS::Client.new
end
id() click to toggle source
# File lib/stax/aws/sts.rb, line 13
def id
  @_id ||= client.get_caller_identity
end
user_arn() click to toggle source
# File lib/stax/aws/sts.rb, line 25
def user_arn
  id.arn
end
user_id() click to toggle source
# File lib/stax/aws/sts.rb, line 21
def user_id
  id.user_id
end