Skip to content

Event

Source code in docs_src/capo_cloudtrail/types/event.py
class Event(TypedDict, closed=True):
    event_id: NotRequired["capo_cloudtrail.types.string.String"]
    """<p>The CloudTrail ID of the event returned.</p>"""
    event_name: NotRequired["capo_cloudtrail.types.string.String"]
    """<p>The name of the event returned.</p>"""
    read_only: NotRequired["capo_cloudtrail.types.string.String"]
    """<p>Information about whether the event is a write event or a read event. </p>"""
    access_key_id: NotRequired["capo_cloudtrail.types.string.String"]
    """<p>The Amazon Web Services access key ID that was used to sign the request. If the request was made with temporary security credentials, this is the access key ID of the temporary credentials.</p>"""
    event_time: NotRequired["capo_cloudtrail.types.date.Date"]
    """<p>The date and time of the event returned.</p>"""
    event_source: NotRequired["capo_cloudtrail.types.string.String"]
    """<p>The Amazon Web Services service to which the request was made.</p>"""
    username: NotRequired["capo_cloudtrail.types.string.String"]
    """<p>A user name or role name of the requester that called the API in the event returned.</p>"""
    resources: NotRequired["capo_cloudtrail.types.resource_list.ResourceList"]
    """<p>A list of resources referenced by the event returned.</p>"""
    cloud_trail_event: NotRequired["capo_cloudtrail.types.string.String"]
    """<p>A JSON string that contains a representation of the event returned.</p>"""

access_key_id instance-attribute

access_key_id: NotRequired[String]

The Amazon Web Services access key ID that was used to sign the request. If the request was made with temporary security credentials, this is the access key ID of the temporary credentials.

cloud_trail_event instance-attribute

cloud_trail_event: NotRequired[String]

A JSON string that contains a representation of the event returned.

event_id instance-attribute

event_id: NotRequired[String]

The CloudTrail ID of the event returned.

event_name instance-attribute

event_name: NotRequired[String]

The name of the event returned.

event_source instance-attribute

event_source: NotRequired[String]

The Amazon Web Services service to which the request was made.

event_time instance-attribute

event_time: NotRequired[Date]

The date and time of the event returned.

read_only instance-attribute

read_only: NotRequired[String]

Information about whether the event is a write event or a read event.

resources instance-attribute

resources: NotRequired[ResourceList]

A list of resources referenced by the event returned.

username instance-attribute

username: NotRequired[String]

A user name or role name of the requester that called the API in the event returned.