Skip to content

/AWS1/CL_KMSGETKEYLASTUSAGERSP

GetKeyLastUsageResponse

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_keyid TYPE /AWS1/KMSKEYIDTYPE /AWS1/KMSKEYIDTYPE

The globally unique identifier for the KMS key.

io_keylastusage TYPE REF TO /AWS1/CL_KMSKEYLASTUSAGEDATA /AWS1/CL_KMSKEYLASTUSAGEDATA

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.

iv_trackingstartdate TYPE /AWS1/KMSDATETYPE /AWS1/KMSDATETYPE

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

iv_keycreationdate TYPE /AWS1/KMSDATETYPE /AWS1/KMSDATETYPE

The date and time when the KMS key was created.


Queryable Attributes

KeyId

The globally unique identifier for the KMS key.

Accessible with the following methods

Method Description
GET_KEYID() Getter for KEYID, with configurable default
ASK_KEYID() Getter for KEYID w/ exceptions if field has no value
HAS_KEYID() Determine if KEYID has a value

KeyLastUsage

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.

Accessible with the following methods

Method Description
GET_KEYLASTUSAGE() Getter for KEYLASTUSAGE

TrackingStartDate

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

Accessible with the following methods

Method Description
GET_TRACKINGSTARTDATE() Getter for TRACKINGSTARTDATE, with configurable default
ASK_TRACKINGSTARTDATE() Getter for TRACKINGSTARTDATE w/ exceptions if field has no v
HAS_TRACKINGSTARTDATE() Determine if TRACKINGSTARTDATE has a value

KeyCreationDate

The date and time when the KMS key was created.

Accessible with the following methods

Method Description
GET_KEYCREATIONDATE() Getter for KEYCREATIONDATE, with configurable default
ASK_KEYCREATIONDATE() Getter for KEYCREATIONDATE w/ exceptions if field has no val
HAS_KEYCREATIONDATE() Determine if KEYCREATIONDATE has a value