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 |
Sends performance events to Evidently. These events can be used to evaluate a launch or an experiment.
Synopsis
- data PutProjectEvents = PutProjectEvents' {}
- newPutProjectEvents :: Text -> PutProjectEvents
- putProjectEvents_events :: Lens' PutProjectEvents [Event]
- putProjectEvents_project :: Lens' PutProjectEvents Text
- data PutProjectEventsResponse = PutProjectEventsResponse' {}
- newPutProjectEventsResponse :: Int -> PutProjectEventsResponse
- putProjectEventsResponse_eventResults :: Lens' PutProjectEventsResponse (Maybe [PutProjectEventsResultEntry])
- putProjectEventsResponse_failedEventCount :: Lens' PutProjectEventsResponse (Maybe Int)
- putProjectEventsResponse_httpStatus :: Lens' PutProjectEventsResponse Int
Creating a Request
data PutProjectEvents Source #
See: newPutProjectEvents
smart constructor.
Instances
Create a value of PutProjectEvents
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:events:PutProjectEvents'
, putProjectEvents_events
- An array of event structures that contain the performance data that is
being sent to Evidently.
PutProjectEvents
, putProjectEvents_project
- The name or ARN of the project to write the events to.
Request Lenses
putProjectEvents_events :: Lens' PutProjectEvents [Event] Source #
An array of event structures that contain the performance data that is being sent to Evidently.
putProjectEvents_project :: Lens' PutProjectEvents Text Source #
The name or ARN of the project to write the events to.
Destructuring the Response
data PutProjectEventsResponse Source #
See: newPutProjectEventsResponse
smart constructor.
PutProjectEventsResponse' | |
|
Instances
newPutProjectEventsResponse Source #
Create a value of PutProjectEventsResponse
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:eventResults:PutProjectEventsResponse'
, putProjectEventsResponse_eventResults
- A structure that contains Evidently's response to the sent events,
including an event ID and error codes, if any.
$sel:failedEventCount:PutProjectEventsResponse'
, putProjectEventsResponse_failedEventCount
- The number of events in the operation that could not be used by
Evidently.
$sel:httpStatus:PutProjectEventsResponse'
, putProjectEventsResponse_httpStatus
- The response's http status code.
Response Lenses
putProjectEventsResponse_eventResults :: Lens' PutProjectEventsResponse (Maybe [PutProjectEventsResultEntry]) Source #
A structure that contains Evidently's response to the sent events, including an event ID and error codes, if any.
putProjectEventsResponse_failedEventCount :: Lens' PutProjectEventsResponse (Maybe Int) Source #
The number of events in the operation that could not be used by Evidently.
putProjectEventsResponse_httpStatus :: Lens' PutProjectEventsResponse Int Source #
The response's http status code.