Struct aws_sdk_rum::client::fluent_builders::PutRumEvents
source · [−]pub struct PutRumEvents<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to PutRumEvents.
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.
Implementations
impl<C, M, R> PutRumEvents<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> PutRumEvents<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<PutRumEventsOutput, SdkError<PutRumEventsError>> where
R::Policy: SmithyRetryPolicy<PutRumEventsInputOperationOutputAlias, PutRumEventsOutput, PutRumEventsError, PutRumEventsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<PutRumEventsOutput, SdkError<PutRumEventsError>> where
R::Policy: SmithyRetryPolicy<PutRumEventsInputOperationOutputAlias, PutRumEventsOutput, PutRumEventsError, PutRumEventsInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The ID of the app monitor that is sending this data.
The ID of the app monitor that is sending this data.
A unique identifier for this batch of RUM event data.
A unique identifier for this batch of RUM event data.
A structure that contains information about the app monitor that collected this telemetry information.
A structure that contains information about the app monitor that collected this telemetry information.
A structure that contains information about the user session that this batch of events was collected from.
A structure that contains information about the user session that this batch of events was collected from.
Appends an item to RumEvents.
To override the contents of this collection use set_rum_events.
An array of structures that contain the telemetry event data.
An array of structures that contain the telemetry event data.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for PutRumEvents<C, M, R>
impl<C, M, R> Unpin for PutRumEvents<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for PutRumEvents<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more