1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListPrices`](crate::operation::list_prices::builders::ListPricesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_prices::builders::ListPricesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`tld(impl Into<String>)`](crate::operation::list_prices::builders::ListPricesFluentBuilder::tld) / [`set_tld(Option<String>)`](crate::operation::list_prices::builders::ListPricesFluentBuilder::set_tld):<br>required: **false**<br><p>The TLD for which you want to receive the pricing information. For example. <code>.net</code>.</p> <p>If a <code>Tld</code> value is not provided, a list of prices for all TLDs supported by Route&nbsp;53 is returned.</p><br>
    ///   - [`marker(impl Into<String>)`](crate::operation::list_prices::builders::ListPricesFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::list_prices::builders::ListPricesFluentBuilder::set_marker):<br>required: **false**<br><p>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 <code>MaxItems</code>, you can use <code>Marker</code> to return additional prices. Get the value of <code>NextPageMarker</code> from the previous response, and submit another request that includes the value of <code>NextPageMarker</code> in the <code>Marker</code> element.</p> <p>Used only for all TLDs. If you specify a TLD, don't specify a <code>Marker</code>.</p><br>
    ///   - [`max_items(i32)`](crate::operation::list_prices::builders::ListPricesFluentBuilder::max_items) / [`set_max_items(Option<i32>)`](crate::operation::list_prices::builders::ListPricesFluentBuilder::set_max_items):<br>required: **false**<br><p>Number of <code>Prices</code> to be returned.</p> <p>Used only for all TLDs. If you specify a TLD, don't specify a <code>MaxItems</code>.</p><br>
    /// - On success, responds with [`ListPricesOutput`](crate::operation::list_prices::ListPricesOutput) with field(s):
    ///   - [`prices(Option<Vec::<DomainPrice>>)`](crate::operation::list_prices::ListPricesOutput::prices): <p>A complex type that includes all the pricing information. If you specify a TLD, this array contains only the pricing for that TLD.</p>
    ///   - [`next_page_marker(Option<String>)`](crate::operation::list_prices::ListPricesOutput::next_page_marker): <p>If there are more prices than you specified for <code>MaxItems</code> in the request, submit another request and include the value of <code>NextPageMarker</code> in the value of <code>Marker</code>.</p> <p>Used only for all TLDs. If you specify a TLD, don't specify a <code>NextPageMarker</code>.</p>
    /// - On failure, responds with [`SdkError<ListPricesError>`](crate::operation::list_prices::ListPricesError)
    pub fn list_prices(&self) -> crate::operation::list_prices::builders::ListPricesFluentBuilder {
        crate::operation::list_prices::builders::ListPricesFluentBuilder::new(self.handle.clone())
    }
}