Skip to content

Event

Structure Class

Event dataclass

Bases: _SerdeShape

Contains information about an event that was returned by a lookup request. The result includes a representation of a CloudTrail event.

Attributes

access_key_id class-attribute instance-attribute
access_key_id: str | None = ...

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 class-attribute instance-attribute
cloud_trail_event: str | None = ...

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

event_id class-attribute instance-attribute
event_id: str | None = ...

The CloudTrail ID of the event returned.

event_name class-attribute instance-attribute
event_name: str | None = ...

The name of the event returned.

event_source class-attribute instance-attribute
event_source: str | None = ...

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

event_time class-attribute instance-attribute
event_time: datetime | None = ...

The date and time of the event returned.

read_only class-attribute instance-attribute
read_only: str | None = ...

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

resources class-attribute instance-attribute
resources: list[Resource] | None = ...

A list of resources referenced by the event returned.

username class-attribute instance-attribute
username: str | None = ...

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