Skip to content

GetKeyLastUsageResponse

Source code in docs_src/capo_kms/types/get_key_last_usage_response.py
class GetKeyLastUsageResponse(TypedDict, closed=True):
    key_id: NotRequired["capo_kms.types.key_id_type.KeyIdType"]
    """<p>The globally unique identifier for the KMS key.</p>"""
    key_last_usage: NotRequired["capo_kms.types.key_last_usage_data.KeyLastUsageData"]
    """<p>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.</p>"""
    tracking_start_date: NotRequired["capo_kms.types.date_type.DateType"]
    """<p>The date from which KMS began recording cryptographic activity for this key, or the date the KMS key was created, whichever is later.</p>"""
    key_creation_date: NotRequired["capo_kms.types.date_type.DateType"]
    """<p>The date and time when the KMS key was created.</p>"""

key_creation_date instance-attribute

key_creation_date: NotRequired[DateType]

The date and time when the KMS key was created.

key_id instance-attribute

key_id: NotRequired[KeyIdType]

The globally unique identifier for the KMS key.

key_last_usage instance-attribute

key_last_usage: NotRequired[KeyLastUsageData]

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.

tracking_start_date instance-attribute

tracking_start_date: NotRequired[DateType]

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