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)


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

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

#regionString

The AWS Region where this access key was most recently used.

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

Returns:

  • (String)


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

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

#service_nameString

The name of the AWS 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)


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

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