class Amazonite::Kms::GetKeyLastUsageResponse

Included Modules

Defined in:

kms/get_key_last_usage_response.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(key_id : String | Nil = nil, key_last_usage : KeyLastUsageData | Nil = nil, tracking_start_date : Time | Nil = nil, key_creation_date : Time | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def key_creation_date : Time | Nil #

The date and time when the KMS key was created.


[View source]
def key_creation_date=(key_creation_date : Time | Nil) #

The date and time when the KMS key was created.


[View source]
def key_id : String | Nil #

The globally unique identifier for the KMS key.


[View source]
def key_id=(key_id : String | Nil) #

The globally unique identifier for the KMS key.


[View source]
def key_last_usage : KeyLastUsageData | Nil #

Contains usage information about the last time the KMS key was used for a successful cryptographic operation. If the key has not been used since tracking began, this response element is empty.


[View source]
def key_last_usage=(key_last_usage : KeyLastUsageData | Nil) #

Contains usage information about the last time the KMS key was used for a successful cryptographic operation. If the key has not been used since tracking began, this response element is empty.


[View source]
def tracking_start_date : Time | Nil #

The date from which KMS began recording cryptographic activity for this key, or the date the KMS key was created, whichever is later.


[View source]
def tracking_start_date=(tracking_start_date : Time | Nil) #

The date from which KMS began recording cryptographic activity for this key, or the date the KMS key was created, whichever is later.


[View source]
def validate! : Nil #

[View source]