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 telemetry events about your application performance and user
behavior to CloudWatch RUM. The code snippet that RUM generates for you
to add to your application includes PutRumEvents
operations to send
this data to RUM.
Each PutRumEvents
operation can send a batch of events from one user
session.
Synopsis
- data PutRumEvents = PutRumEvents' {}
- newPutRumEvents :: AppMonitorDetails -> Text -> Text -> UserDetails -> PutRumEvents
- putRumEvents_appMonitorDetails :: Lens' PutRumEvents AppMonitorDetails
- putRumEvents_batchId :: Lens' PutRumEvents Text
- putRumEvents_id :: Lens' PutRumEvents Text
- putRumEvents_rumEvents :: Lens' PutRumEvents [RumEvent]
- putRumEvents_userDetails :: Lens' PutRumEvents UserDetails
- data PutRumEventsResponse = PutRumEventsResponse' {
- httpStatus :: Int
- newPutRumEventsResponse :: Int -> PutRumEventsResponse
- putRumEventsResponse_httpStatus :: Lens' PutRumEventsResponse Int
Creating a Request
data PutRumEvents Source #
See: newPutRumEvents
smart constructor.
PutRumEvents' | |
|
Instances
:: AppMonitorDetails | |
-> Text | |
-> Text | |
-> UserDetails | |
-> PutRumEvents |
Create a value of PutRumEvents
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:appMonitorDetails:PutRumEvents'
, putRumEvents_appMonitorDetails
- A structure that contains information about the app monitor that
collected this telemetry information.
$sel:batchId:PutRumEvents'
, putRumEvents_batchId
- A unique identifier for this batch of RUM event data.
PutRumEvents
, putRumEvents_id
- The ID of the app monitor that is sending this data.
$sel:rumEvents:PutRumEvents'
, putRumEvents_rumEvents
- An array of structures that contain the telemetry event data.
$sel:userDetails:PutRumEvents'
, putRumEvents_userDetails
- A structure that contains information about the user session that this
batch of events was collected from.
Request Lenses
putRumEvents_appMonitorDetails :: Lens' PutRumEvents AppMonitorDetails Source #
A structure that contains information about the app monitor that collected this telemetry information.
putRumEvents_batchId :: Lens' PutRumEvents Text Source #
A unique identifier for this batch of RUM event data.
putRumEvents_id :: Lens' PutRumEvents Text Source #
The ID of the app monitor that is sending this data.
putRumEvents_rumEvents :: Lens' PutRumEvents [RumEvent] Source #
An array of structures that contain the telemetry event data.
putRumEvents_userDetails :: Lens' PutRumEvents UserDetails Source #
A structure that contains information about the user session that this batch of events was collected from.
Destructuring the Response
data PutRumEventsResponse Source #
See: newPutRumEventsResponse
smart constructor.
PutRumEventsResponse' | |
|
Instances
newPutRumEventsResponse Source #
Create a value of PutRumEventsResponse
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:httpStatus:PutRumEventsResponse'
, putRumEventsResponse_httpStatus
- The response's http status code.
Response Lenses
putRumEventsResponse_httpStatus :: Lens' PutRumEventsResponse Int Source #
The response's http status code.