Skip to content

KeyLastUsageData

Source code in docs_src/capo_kms/types/key_last_usage_data.py
class KeyLastUsageData(TypedDict, closed=True):
    operation: NotRequired[
        "capo_kms.types.key_last_usage_tracking_operation.KeyLastUsageTrackingOperation"
    ]
    """<p>The last successful cryptographic operation the KMS key was used for. Absent if the key has not been used since KMS began tracking.</p>"""
    timestamp: NotRequired["capo_kms.types.date_type.DateType"]
    """<p>The date and time when the KMS key was most recently used for a successful cryptographic operation. Absent if the key has not been used since KMS began tracking.</p>"""
    cloud_trail_event_id: NotRequired[
        "capo_kms.types.cloud_trail_event_id_type.CloudTrailEventIdType"
    ]
    """<p>The CloudTrail <code>eventId</code> associated with the last successful cryptographic operation. Absent if the key has not been used since KMS began tracking.</p>"""
    kms_request_id: NotRequired["capo_kms.types.kms_request_id_type.KmsRequestIdType"]
    """<p>The KMS request ID associated with the last successful cryptographic operation. Absent if the key has not been used since KMS began tracking.</p>"""

cloud_trail_event_id instance-attribute

cloud_trail_event_id: NotRequired[CloudTrailEventIdType]

The CloudTrail eventId associated with the last successful cryptographic operation. Absent if the key has not been used since KMS began tracking.

kms_request_id instance-attribute

kms_request_id: NotRequired[KmsRequestIdType]

The KMS request ID associated with the last successful cryptographic operation. Absent if the key has not been used since KMS began tracking.

operation instance-attribute

operation: NotRequired[KeyLastUsageTrackingOperation]

The last successful cryptographic operation the KMS key was used for. Absent if the key has not been used since KMS began tracking.

timestamp instance-attribute

timestamp: NotRequired[DateType]

The date and time when the KMS key was most recently used for a successful cryptographic operation. Absent if the key has not been used since KMS began tracking.