pub struct ViewBillingFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ViewBilling
.
Returns all the domain-related billing records for the current Amazon Web Services account for a specified period
Implementations§
source§impl ViewBillingFluentBuilder
impl ViewBillingFluentBuilder
sourcepub fn as_input(&self) -> &ViewBillingInputBuilder
pub fn as_input(&self) -> &ViewBillingInputBuilder
Access the ViewBilling as a reference.
sourcepub async fn send(
self
) -> Result<ViewBillingOutput, SdkError<ViewBillingError, HttpResponse>>
pub async fn send( self ) -> Result<ViewBillingOutput, SdkError<ViewBillingError, 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<ViewBillingOutput, ViewBillingError, Self>
pub fn customize( self ) -> CustomizableOperation<ViewBillingOutput, ViewBillingError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ViewBillingPaginator
pub fn into_paginator(self) -> ViewBillingPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn start(self, input: DateTime) -> Self
pub fn start(self, input: DateTime) -> Self
The beginning date and time for the time period for which you want a list of billing records. Specify the date and time in Unix time format and Coordinated Universal time (UTC).
sourcepub fn set_start(self, input: Option<DateTime>) -> Self
pub fn set_start(self, input: Option<DateTime>) -> Self
The beginning date and time for the time period for which you want a list of billing records. Specify the date and time in Unix time format and Coordinated Universal time (UTC).
sourcepub fn get_start(&self) -> &Option<DateTime>
pub fn get_start(&self) -> &Option<DateTime>
The beginning date and time for the time period for which you want a list of billing records. Specify the date and time in Unix time format and Coordinated Universal time (UTC).
sourcepub fn end(self, input: DateTime) -> Self
pub fn end(self, input: DateTime) -> Self
The end date and time for the time period for which you want a list of billing records. Specify the date and time in Unix time format and Coordinated Universal time (UTC).
sourcepub fn set_end(self, input: Option<DateTime>) -> Self
pub fn set_end(self, input: Option<DateTime>) -> Self
The end date and time for the time period for which you want a list of billing records. Specify the date and time in Unix time format and Coordinated Universal time (UTC).
sourcepub fn get_end(&self) -> &Option<DateTime>
pub fn get_end(&self) -> &Option<DateTime>
The end date and time for the time period for which you want a list of billing records. Specify the date and time in Unix time format and Coordinated Universal time (UTC).
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
For an initial request for a list of billing records, omit this element. If the number of billing records that are associated with the current Amazon Web Services account during the specified period is greater than the value that you specified for MaxItems
, you can use Marker
to return additional billing records. Get the value of NextPageMarker
from the previous response, and submit another request that includes the value of NextPageMarker
in the Marker
element.
Constraints: The marker must match the value of NextPageMarker
that was returned in the previous response.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
For an initial request for a list of billing records, omit this element. If the number of billing records that are associated with the current Amazon Web Services account during the specified period is greater than the value that you specified for MaxItems
, you can use Marker
to return additional billing records. Get the value of NextPageMarker
from the previous response, and submit another request that includes the value of NextPageMarker
in the Marker
element.
Constraints: The marker must match the value of NextPageMarker
that was returned in the previous response.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
For an initial request for a list of billing records, omit this element. If the number of billing records that are associated with the current Amazon Web Services account during the specified period is greater than the value that you specified for MaxItems
, you can use Marker
to return additional billing records. Get the value of NextPageMarker
from the previous response, and submit another request that includes the value of NextPageMarker
in the Marker
element.
Constraints: The marker must match the value of NextPageMarker
that was returned in the previous response.
sourcepub fn max_items(self, input: i32) -> Self
pub fn max_items(self, input: i32) -> Self
The number of billing records to be returned.
Default: 20
sourcepub fn set_max_items(self, input: Option<i32>) -> Self
pub fn set_max_items(self, input: Option<i32>) -> Self
The number of billing records to be returned.
Default: 20
sourcepub fn get_max_items(&self) -> &Option<i32>
pub fn get_max_items(&self) -> &Option<i32>
The number of billing records to be returned.
Default: 20
Trait Implementations§
source§impl Clone for ViewBillingFluentBuilder
impl Clone for ViewBillingFluentBuilder
source§fn clone(&self) -> ViewBillingFluentBuilder
fn clone(&self) -> ViewBillingFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for ViewBillingFluentBuilder
impl !RefUnwindSafe for ViewBillingFluentBuilder
impl Send for ViewBillingFluentBuilder
impl Sync for ViewBillingFluentBuilder
impl Unpin for ViewBillingFluentBuilder
impl !UnwindSafe for ViewBillingFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more