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

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

Overview

Describes the last time an access key was used.

This object does not include data in the response of a CreateBucketAccessKey action.

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 'gems/aws-sdk-lightsail/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 'gems/aws-sdk-lightsail/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 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 142

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