| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.FraudDetector.GetEvent
Description
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.
Constructors
| GetEvent' | |
Fields
| |
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:
GetEvent, getEvent_eventId - The ID of the event to retrieve.
GetEvent, getEvent_eventTypeName - The event type of the event to retrieve.
Request Lenses
Destructuring the Response
data GetEventResponse Source #
See: newGetEventResponse smart constructor.
Constructors
| GetEventResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> GetEventResponse |
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.