Class: Aws::Lightsail::Types::AccessKeyLastUsed

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lightsail/types.rb

Overview

Describes the last time an access key was used.

<note markdown=“1”> This object does not include data in the response of a

CreateBucketAccessKey][1

action.

</note>

[1]: docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_CreateBucketAccessKey.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#last_used_dateTime

The date and time when the access key was most recently used.

This value is null if the access key has not been used.

Returns:

  • (Time)


142
143
144
145
146
147
148
# File 'lib/aws-sdk-lightsail/types.rb', line 142

class AccessKeyLastUsed < Struct.new(
  :last_used_date,
  :region,
  :service_name)
  SENSITIVE = []
  include Aws::Structure
end

#regionString

The Amazon Web Services Region where this access key was most recently used.

This value is ‘N/A` if the access key has not been used.

Returns:

  • (String)


142
143
144
145
146
147
148
# File 'lib/aws-sdk-lightsail/types.rb', line 142

class AccessKeyLastUsed < Struct.new(
  :last_used_date,
  :region,
  :service_name)
  SENSITIVE = []
  include Aws::Structure
end

#service_nameString

The name of the Amazon Web Services service with which this access key was most recently used.

This value is ‘N/A` if the access key has not been used.

Returns:

  • (String)


142
143
144
145
146
147
148
# File 'lib/aws-sdk-lightsail/types.rb', line 142

class AccessKeyLastUsed < Struct.new(
  :last_used_date,
  :region,
  :service_name)
  SENSITIVE = []
  include Aws::Structure
end