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 |
Retrieves details of events stored with Amazon Fraud Detector. This action does not retrieve prediction results.
Synopsis
- data GetEvent = GetEvent' {
- eventId :: Text
- eventTypeName :: Text
- newGetEvent :: Text -> Text -> GetEvent
- getEvent_eventId :: Lens' GetEvent Text
- getEvent_eventTypeName :: Lens' GetEvent Text
- data GetEventResponse = GetEventResponse' {
- event :: Maybe Event
- httpStatus :: Int
- newGetEventResponse :: Int -> GetEventResponse
- getEventResponse_event :: Lens' GetEventResponse (Maybe Event)
- getEventResponse_httpStatus :: Lens' GetEventResponse Int
Creating a Request
See: newGetEvent
smart constructor.
GetEvent' | |
|
Instances
Create a value of GetEvent
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:eventId:GetEvent'
, getEvent_eventId
- The ID of the event to retrieve.
$sel:eventTypeName:GetEvent'
, getEvent_eventTypeName
- The event type of the event to retrieve.
Request Lenses
Destructuring the Response
data GetEventResponse Source #
See: newGetEventResponse
smart constructor.
GetEventResponse' | |
|
Instances
Create a value of GetEventResponse
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:event:GetEventResponse'
, getEventResponse_event
- The details of the event.
$sel:httpStatus:GetEventResponse'
, getEventResponse_httpStatus
- The response's http status code.
Response Lenses
getEventResponse_event :: Lens' GetEventResponse (Maybe Event) Source #
The details of the event.
getEventResponse_httpStatus :: Lens' GetEventResponse Int Source #
The response's http status code.