pub struct GetUsageTotalsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetUsageTotals
.
Retrieves (queries) aggregated usage data for an account.
Implementations§
source§impl GetUsageTotalsFluentBuilder
impl GetUsageTotalsFluentBuilder
sourcepub fn as_input(&self) -> &GetUsageTotalsInputBuilder
pub fn as_input(&self) -> &GetUsageTotalsInputBuilder
Access the GetUsageTotals as a reference.
sourcepub async fn send(
self
) -> Result<GetUsageTotalsOutput, SdkError<GetUsageTotalsError, HttpResponse>>
pub async fn send( self ) -> Result<GetUsageTotalsOutput, SdkError<GetUsageTotalsError, 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<GetUsageTotalsOutput, GetUsageTotalsError, Self>
pub fn customize( self ) -> CustomizableOperation<GetUsageTotalsOutput, GetUsageTotalsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn time_range(self, input: impl Into<String>) -> Self
pub fn time_range(self, input: impl Into<String>) -> Self
The inclusive time period to retrieve the data for. Valid values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days. If you don't specify a value for this parameter, Amazon Macie provides aggregated usage data for the preceding 30 days.
sourcepub fn set_time_range(self, input: Option<String>) -> Self
pub fn set_time_range(self, input: Option<String>) -> Self
The inclusive time period to retrieve the data for. Valid values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days. If you don't specify a value for this parameter, Amazon Macie provides aggregated usage data for the preceding 30 days.
sourcepub fn get_time_range(&self) -> &Option<String>
pub fn get_time_range(&self) -> &Option<String>
The inclusive time period to retrieve the data for. Valid values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days. If you don't specify a value for this parameter, Amazon Macie provides aggregated usage data for the preceding 30 days.
Trait Implementations§
source§impl Clone for GetUsageTotalsFluentBuilder
impl Clone for GetUsageTotalsFluentBuilder
source§fn clone(&self) -> GetUsageTotalsFluentBuilder
fn clone(&self) -> GetUsageTotalsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more