pub struct ListPricesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListPrices
.
Lists the following prices for either all the TLDs supported by Route 53, or the specified TLD:
-
Registration
-
Transfer
-
Owner change
-
Domain renewal
-
Domain restoration
Implementations§
source§impl ListPricesFluentBuilder
impl ListPricesFluentBuilder
sourcepub fn as_input(&self) -> &ListPricesInputBuilder
pub fn as_input(&self) -> &ListPricesInputBuilder
Access the ListPrices as a reference.
sourcepub async fn send(
self
) -> Result<ListPricesOutput, SdkError<ListPricesError, HttpResponse>>
pub async fn send( self ) -> Result<ListPricesOutput, SdkError<ListPricesError, 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<ListPricesOutput, ListPricesError, Self>
pub fn customize( self ) -> CustomizableOperation<ListPricesOutput, ListPricesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListPricesPaginator
pub fn into_paginator(self) -> ListPricesPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn tld(self, input: impl Into<String>) -> Self
pub fn tld(self, input: impl Into<String>) -> Self
The TLD for which you want to receive the pricing information. For example. .net
.
If a Tld
value is not provided, a list of prices for all TLDs supported by Route 53 is returned.
sourcepub fn set_tld(self, input: Option<String>) -> Self
pub fn set_tld(self, input: Option<String>) -> Self
The TLD for which you want to receive the pricing information. For example. .net
.
If a Tld
value is not provided, a list of prices for all TLDs supported by Route 53 is returned.
sourcepub fn get_tld(&self) -> &Option<String>
pub fn get_tld(&self) -> &Option<String>
The TLD for which you want to receive the pricing information. For example. .net
.
If a Tld
value is not provided, a list of prices for all TLDs supported by Route 53 is returned.
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 prices, omit this element. If the number of prices that are not yet complete is greater than the value that you specified for MaxItems
, you can use Marker
to return additional prices. Get the value of NextPageMarker
from the previous response, and submit another request that includes the value of NextPageMarker
in the Marker
element.
Used only for all TLDs. If you specify a TLD, don't specify a Marker
.
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 prices, omit this element. If the number of prices that are not yet complete is greater than the value that you specified for MaxItems
, you can use Marker
to return additional prices. Get the value of NextPageMarker
from the previous response, and submit another request that includes the value of NextPageMarker
in the Marker
element.
Used only for all TLDs. If you specify a TLD, don't specify a Marker
.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
For an initial request for a list of prices, omit this element. If the number of prices that are not yet complete is greater than the value that you specified for MaxItems
, you can use Marker
to return additional prices. Get the value of NextPageMarker
from the previous response, and submit another request that includes the value of NextPageMarker
in the Marker
element.
Used only for all TLDs. If you specify a TLD, don't specify a Marker
.
sourcepub fn max_items(self, input: i32) -> Self
pub fn max_items(self, input: i32) -> Self
Number of Prices
to be returned.
Used only for all TLDs. If you specify a TLD, don't specify a MaxItems
.
sourcepub fn set_max_items(self, input: Option<i32>) -> Self
pub fn set_max_items(self, input: Option<i32>) -> Self
Number of Prices
to be returned.
Used only for all TLDs. If you specify a TLD, don't specify a MaxItems
.
sourcepub fn get_max_items(&self) -> &Option<i32>
pub fn get_max_items(&self) -> &Option<i32>
Number of Prices
to be returned.
Used only for all TLDs. If you specify a TLD, don't specify a MaxItems
.
Trait Implementations§
source§impl Clone for ListPricesFluentBuilder
impl Clone for ListPricesFluentBuilder
source§fn clone(&self) -> ListPricesFluentBuilder
fn clone(&self) -> ListPricesFluentBuilder
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 ListPricesFluentBuilder
impl !RefUnwindSafe for ListPricesFluentBuilder
impl Send for ListPricesFluentBuilder
impl Sync for ListPricesFluentBuilder
impl Unpin for ListPricesFluentBuilder
impl !UnwindSafe for ListPricesFluentBuilder
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