aws_sdk_bcmpricingcalculator/client/
list_bill_estimates.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`ListBillEstimates`](crate::operation::list_bill_estimates::builders::ListBillEstimatesFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_bill_estimates::builders::ListBillEstimatesFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`filters(ListBillEstimatesFilter)`](crate::operation::list_bill_estimates::builders::ListBillEstimatesFluentBuilder::filters) / [`set_filters(Option<Vec::<ListBillEstimatesFilter>>)`](crate::operation::list_bill_estimates::builders::ListBillEstimatesFluentBuilder::set_filters):<br>required: **false**<br><p>Filters to apply to the list of bill estimates.</p><br>
8    ///   - [`created_at_filter(FilterTimestamp)`](crate::operation::list_bill_estimates::builders::ListBillEstimatesFluentBuilder::created_at_filter) / [`set_created_at_filter(Option<FilterTimestamp>)`](crate::operation::list_bill_estimates::builders::ListBillEstimatesFluentBuilder::set_created_at_filter):<br>required: **false**<br><p>Filter bill estimates based on the creation date.</p><br>
9    ///   - [`expires_at_filter(FilterTimestamp)`](crate::operation::list_bill_estimates::builders::ListBillEstimatesFluentBuilder::expires_at_filter) / [`set_expires_at_filter(Option<FilterTimestamp>)`](crate::operation::list_bill_estimates::builders::ListBillEstimatesFluentBuilder::set_expires_at_filter):<br>required: **false**<br><p>Filter bill estimates based on the expiration date.</p><br>
10    ///   - [`next_token(impl Into<String>)`](crate::operation::list_bill_estimates::builders::ListBillEstimatesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_bill_estimates::builders::ListBillEstimatesFluentBuilder::set_next_token):<br>required: **false**<br><p>A token to retrieve the next page of results.</p><br>
11    ///   - [`max_results(i32)`](crate::operation::list_bill_estimates::builders::ListBillEstimatesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_bill_estimates::builders::ListBillEstimatesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return per page.</p><br>
12    /// - On success, responds with [`ListBillEstimatesOutput`](crate::operation::list_bill_estimates::ListBillEstimatesOutput) with field(s):
13    ///   - [`items(Option<Vec::<BillEstimateSummary>>)`](crate::operation::list_bill_estimates::ListBillEstimatesOutput::items): <p>The list of bill estimates for the account.</p>
14    ///   - [`next_token(Option<String>)`](crate::operation::list_bill_estimates::ListBillEstimatesOutput::next_token): <p>A token to retrieve the next page of results, if any.</p>
15    /// - On failure, responds with [`SdkError<ListBillEstimatesError>`](crate::operation::list_bill_estimates::ListBillEstimatesError)
16    pub fn list_bill_estimates(&self) -> crate::operation::list_bill_estimates::builders::ListBillEstimatesFluentBuilder {
17        crate::operation::list_bill_estimates::builders::ListBillEstimatesFluentBuilder::new(self.handle.clone())
18    }
19}