You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::IAM::Types::GetAccessKeyLastUsedResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb

Overview

Contains the response to a successful GetAccessKeyLastUsed request. It is also returned as a member of the AccessKeyMetaData structure returned by the ListAccessKeys action.

Instance Attribute Summary collapse

Instance Attribute Details

#access_key_last_usedTypes::AccessKeyLastUsed

Contains information about the last time the access key was used.



2468
2469
2470
2471
2472
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 2468

class GetAccessKeyLastUsedResponse < Struct.new(
  :user_name,
  :access_key_last_used)
  include Aws::Structure
end

#user_nameString

The name of the AWS IAM user that owns this access key.

Returns:

  • (String)


2468
2469
2470
2471
2472
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 2468

class GetAccessKeyLastUsedResponse < Struct.new(
  :user_name,
  :access_key_last_used)
  include Aws::Structure
end