import { _Resource, _UnmarshalledResource } from "./_Resource"; /** *

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

*/ export interface _Event { /** *

The CloudTrail ID of the event returned.

*/ EventId?: string; /** *

The name of the event returned.

*/ EventName?: string; /** *

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

*/ ReadOnly?: string; /** *

The AWS 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.

*/ AccessKeyId?: string; /** *

The date and time of the event returned.

*/ EventTime?: Date | string | number; /** *

The AWS service that the request was made to.

*/ EventSource?: string; /** *

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

*/ Username?: string; /** *

A list of resources referenced by the event returned.

*/ Resources?: Array<_Resource> | Iterable<_Resource>; /** *

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

*/ CloudTrailEvent?: string; } export interface _UnmarshalledEvent extends _Event { /** *

The date and time of the event returned.

*/ EventTime?: Date; /** *

A list of resources referenced by the event returned.

*/ Resources?: Array<_UnmarshalledResource>; }