Struct aws_sdk_sesv2::operation::batch_get_metric_data::builders::BatchGetMetricDataFluentBuilder
source · pub struct BatchGetMetricDataFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to BatchGetMetricData.
Retrieves batches of metric data collected based on your sending activity.
You can execute this operation no more than 16 times per second, and with at most 160 queries from the batches per second (cumulative).
Implementations§
source§impl BatchGetMetricDataFluentBuilder
impl BatchGetMetricDataFluentBuilder
sourcepub fn as_input(&self) -> &BatchGetMetricDataInputBuilder
pub fn as_input(&self) -> &BatchGetMetricDataInputBuilder
Access the BatchGetMetricData as a reference.
sourcepub async fn send(
self
) -> Result<BatchGetMetricDataOutput, SdkError<BatchGetMetricDataError, HttpResponse>>
pub async fn send( self ) -> Result<BatchGetMetricDataOutput, SdkError<BatchGetMetricDataError, 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<BatchGetMetricDataOutput, BatchGetMetricDataError, Self>
pub fn customize( self ) -> CustomizableOperation<BatchGetMetricDataOutput, BatchGetMetricDataError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn queries(self, input: BatchGetMetricDataQuery) -> Self
pub fn queries(self, input: BatchGetMetricDataQuery) -> Self
Appends an item to Queries.
To override the contents of this collection use set_queries.
A list of queries for metrics to be retrieved.
sourcepub fn set_queries(self, input: Option<Vec<BatchGetMetricDataQuery>>) -> Self
pub fn set_queries(self, input: Option<Vec<BatchGetMetricDataQuery>>) -> Self
A list of queries for metrics to be retrieved.
sourcepub fn get_queries(&self) -> &Option<Vec<BatchGetMetricDataQuery>>
pub fn get_queries(&self) -> &Option<Vec<BatchGetMetricDataQuery>>
A list of queries for metrics to be retrieved.
Trait Implementations§
source§impl Clone for BatchGetMetricDataFluentBuilder
impl Clone for BatchGetMetricDataFluentBuilder
source§fn clone(&self) -> BatchGetMetricDataFluentBuilder
fn clone(&self) -> BatchGetMetricDataFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more