Struct aws_sdk_rum::operation::delete_rum_metrics_destination::builders::DeleteRumMetricsDestinationFluentBuilder
source · pub struct DeleteRumMetricsDestinationFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DeleteRumMetricsDestination.
Deletes a destination for CloudWatch RUM extended metrics, so that the specified app monitor stops sending extended metrics to that destination.
Implementations§
source§impl DeleteRumMetricsDestinationFluentBuilder
impl DeleteRumMetricsDestinationFluentBuilder
sourcepub fn as_input(&self) -> &DeleteRumMetricsDestinationInputBuilder
pub fn as_input(&self) -> &DeleteRumMetricsDestinationInputBuilder
Access the DeleteRumMetricsDestination as a reference.
sourcepub async fn send(
self
) -> Result<DeleteRumMetricsDestinationOutput, SdkError<DeleteRumMetricsDestinationError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteRumMetricsDestinationOutput, SdkError<DeleteRumMetricsDestinationError, HttpResponse>>
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.
sourcepub fn customize(
self
) -> CustomizableOperation<DeleteRumMetricsDestinationOutput, DeleteRumMetricsDestinationError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteRumMetricsDestinationOutput, DeleteRumMetricsDestinationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn app_monitor_name(self, input: impl Into<String>) -> Self
pub fn app_monitor_name(self, input: impl Into<String>) -> Self
The name of the app monitor that is sending metrics to the destination that you want to delete.
sourcepub fn set_app_monitor_name(self, input: Option<String>) -> Self
pub fn set_app_monitor_name(self, input: Option<String>) -> Self
The name of the app monitor that is sending metrics to the destination that you want to delete.
sourcepub fn get_app_monitor_name(&self) -> &Option<String>
pub fn get_app_monitor_name(&self) -> &Option<String>
The name of the app monitor that is sending metrics to the destination that you want to delete.
sourcepub fn destination(self, input: MetricDestination) -> Self
pub fn destination(self, input: MetricDestination) -> Self
The type of destination to delete. Valid values are CloudWatch and Evidently.
sourcepub fn set_destination(self, input: Option<MetricDestination>) -> Self
pub fn set_destination(self, input: Option<MetricDestination>) -> Self
The type of destination to delete. Valid values are CloudWatch and Evidently.
sourcepub fn get_destination(&self) -> &Option<MetricDestination>
pub fn get_destination(&self) -> &Option<MetricDestination>
The type of destination to delete. Valid values are CloudWatch and Evidently.
sourcepub fn destination_arn(self, input: impl Into<String>) -> Self
pub fn destination_arn(self, input: impl Into<String>) -> Self
This parameter is required if Destination is Evidently. If Destination is CloudWatch, do not use this parameter. This parameter specifies the ARN of the Evidently experiment that corresponds to the destination to delete.
sourcepub fn set_destination_arn(self, input: Option<String>) -> Self
pub fn set_destination_arn(self, input: Option<String>) -> Self
This parameter is required if Destination is Evidently. If Destination is CloudWatch, do not use this parameter. This parameter specifies the ARN of the Evidently experiment that corresponds to the destination to delete.
sourcepub fn get_destination_arn(&self) -> &Option<String>
pub fn get_destination_arn(&self) -> &Option<String>
This parameter is required if Destination is Evidently. If Destination is CloudWatch, do not use this parameter. This parameter specifies the ARN of the Evidently experiment that corresponds to the destination to delete.
Trait Implementations§
source§impl Clone for DeleteRumMetricsDestinationFluentBuilder
impl Clone for DeleteRumMetricsDestinationFluentBuilder
source§fn clone(&self) -> DeleteRumMetricsDestinationFluentBuilder
fn clone(&self) -> DeleteRumMetricsDestinationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more