Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Event = Event' {}
- newEvent :: Event
- event_username :: Lens' Event (Maybe Text)
- event_resources :: Lens' Event (Maybe [Resource])
- event_eventTime :: Lens' Event (Maybe UTCTime)
- event_cloudTrailEvent :: Lens' Event (Maybe Text)
- event_eventName :: Lens' Event (Maybe Text)
- event_readOnly :: Lens' Event (Maybe Text)
- event_accessKeyId :: Lens' Event (Maybe Text)
- event_eventSource :: Lens' Event (Maybe Text)
- event_eventId :: Lens' Event (Maybe Text)
Documentation
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.
Event' | |
|
Instances
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_cloudTrailEvent :: Lens' Event (Maybe Text) Source #
A JSON string that contains a representation 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.