Struct aws_sdk_rum::operation::batch_delete_rum_metric_definitions::builders::BatchDeleteRumMetricDefinitionsFluentBuilder
source · pub struct BatchDeleteRumMetricDefinitionsFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to BatchDeleteRumMetricDefinitions.
Removes the specified metrics from being sent to an extended metrics destination.
If some metric definition IDs specified in a BatchDeleteRumMetricDefinitions operations are not valid, those metric definitions fail and return errors, but all valid metric definition IDs in the same operation are still deleted.
The maximum number of metric definitions that you can specify in one BatchDeleteRumMetricDefinitions operation is 200.
Implementations§
source§impl BatchDeleteRumMetricDefinitionsFluentBuilder
impl BatchDeleteRumMetricDefinitionsFluentBuilder
sourcepub fn as_input(&self) -> &BatchDeleteRumMetricDefinitionsInputBuilder
pub fn as_input(&self) -> &BatchDeleteRumMetricDefinitionsInputBuilder
Access the BatchDeleteRumMetricDefinitions as a reference.
sourcepub async fn send(
self
) -> Result<BatchDeleteRumMetricDefinitionsOutput, SdkError<BatchDeleteRumMetricDefinitionsError, HttpResponse>>
pub async fn send( self ) -> Result<BatchDeleteRumMetricDefinitionsOutput, SdkError<BatchDeleteRumMetricDefinitionsError, 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<BatchDeleteRumMetricDefinitionsOutput, BatchDeleteRumMetricDefinitionsError, Self>
pub fn customize( self ) -> CustomizableOperation<BatchDeleteRumMetricDefinitionsOutput, BatchDeleteRumMetricDefinitionsError, 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 CloudWatch RUM app monitor that is sending these metrics.
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 CloudWatch RUM app monitor that is sending these metrics.
sourcepub fn get_app_monitor_name(&self) -> &Option<String>
pub fn get_app_monitor_name(&self) -> &Option<String>
The name of the CloudWatch RUM app monitor that is sending these metrics.
sourcepub fn destination(self, input: MetricDestination) -> Self
pub fn destination(self, input: MetricDestination) -> Self
Defines the destination where you want to stop sending the specified metrics. Valid values are CloudWatch and Evidently. If you specify Evidently, you must also specify the ARN of the CloudWatchEvidently experiment that is to be the destination and an IAM role that has permission to write to the experiment.
sourcepub fn set_destination(self, input: Option<MetricDestination>) -> Self
pub fn set_destination(self, input: Option<MetricDestination>) -> Self
Defines the destination where you want to stop sending the specified metrics. Valid values are CloudWatch and Evidently. If you specify Evidently, you must also specify the ARN of the CloudWatchEvidently experiment that is to be the destination and an IAM role that has permission to write to the experiment.
sourcepub fn get_destination(&self) -> &Option<MetricDestination>
pub fn get_destination(&self) -> &Option<MetricDestination>
Defines the destination where you want to stop sending the specified metrics. Valid values are CloudWatch and Evidently. If you specify Evidently, you must also specify the ARN of the CloudWatchEvidently experiment that is to be the destination and an IAM role that has permission to write to the experiment.
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 was receiving the metrics that are being deleted.
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 was receiving the metrics that are being deleted.
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 was receiving the metrics that are being deleted.
sourcepub fn metric_definition_ids(self, input: impl Into<String>) -> Self
pub fn metric_definition_ids(self, input: impl Into<String>) -> Self
Appends an item to MetricDefinitionIds.
To override the contents of this collection use set_metric_definition_ids.
An array of structures which define the metrics that you want to stop sending.
sourcepub fn set_metric_definition_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_metric_definition_ids(self, input: Option<Vec<String>>) -> Self
An array of structures which define the metrics that you want to stop sending.
sourcepub fn get_metric_definition_ids(&self) -> &Option<Vec<String>>
pub fn get_metric_definition_ids(&self) -> &Option<Vec<String>>
An array of structures which define the metrics that you want to stop sending.
Trait Implementations§
source§impl Clone for BatchDeleteRumMetricDefinitionsFluentBuilder
impl Clone for BatchDeleteRumMetricDefinitionsFluentBuilder
source§fn clone(&self) -> BatchDeleteRumMetricDefinitionsFluentBuilder
fn clone(&self) -> BatchDeleteRumMetricDefinitionsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more