libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudTrail.Types.Event

Description

 
Synopsis

Documentation

data Event Source #

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

See: newEvent smart constructor.

Constructors

Event' 

Fields

Instances

Instances details
Eq Event Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Event

Methods

(==) :: Event -> Event -> Bool #

(/=) :: Event -> Event -> Bool #

Read Event Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Event

Show Event Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Event

Methods

showsPrec :: Int -> Event -> ShowS #

show :: Event -> String #

showList :: [Event] -> ShowS #

Generic Event Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Event

Associated Types

type Rep Event :: Type -> Type #

Methods

from :: Event -> Rep Event x #

to :: Rep Event x -> Event #

NFData Event Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Event

Methods

rnf :: Event -> () #

Hashable Event Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Event

Methods

hashWithSalt :: Int -> Event -> Int #

hash :: Event -> Int #

FromJSON Event Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Event

type Rep Event Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Event

newEvent :: Event Source #

Create a value of Event with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:username:Event', event_username - A user name or role name of the requester that called the API in the event returned.

$sel:resources:Event', event_resources - A list of resources referenced by the event returned.

$sel:eventTime:Event', event_eventTime - The date and time of the event returned.

$sel:cloudTrailEvent:Event', event_cloudTrailEvent - A JSON string that contains a representation of the event returned.

$sel:eventName:Event', event_eventName - The name of the event returned.

$sel:readOnly:Event', event_readOnly - Information about whether the event is a write event or a read event.

$sel:accessKeyId:Event', event_accessKeyId - 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.

$sel:eventSource:Event', event_eventSource - The Amazon Web Services service to which the request was made.

$sel:eventId:Event', event_eventId - The CloudTrail ID of the event returned.

event_username :: Lens' Event (Maybe Text) Source #

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

event_resources :: Lens' Event (Maybe [Resource]) Source #

A list of resources referenced by the event returned.

event_eventTime :: Lens' Event (Maybe UTCTime) Source #

The date and time of the event returned.

event_cloudTrailEvent :: Lens' Event (Maybe Text) Source #

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

event_eventName :: Lens' Event (Maybe Text) Source #

The name of the event returned.

event_readOnly :: Lens' Event (Maybe Text) Source #

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

event_accessKeyId :: Lens' Event (Maybe Text) Source #

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.

event_eventSource :: Lens' Event (Maybe Text) Source #

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

event_eventId :: Lens' Event (Maybe Text) Source #

The CloudTrail ID of the event returned.