1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ViewBilling`](crate::operation::view_billing::builders::ViewBillingFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::view_billing::builders::ViewBillingFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`start(DateTime)`](crate::operation::view_billing::builders::ViewBillingFluentBuilder::start) / [`set_start(Option<DateTime>)`](crate::operation::view_billing::builders::ViewBillingFluentBuilder::set_start):<br>required: **false**<br><p>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).</p><br>
    ///   - [`end(DateTime)`](crate::operation::view_billing::builders::ViewBillingFluentBuilder::end) / [`set_end(Option<DateTime>)`](crate::operation::view_billing::builders::ViewBillingFluentBuilder::set_end):<br>required: **false**<br><p>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).</p><br>
    ///   - [`marker(impl Into<String>)`](crate::operation::view_billing::builders::ViewBillingFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::view_billing::builders::ViewBillingFluentBuilder::set_marker):<br>required: **false**<br><p>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 <code>MaxItems</code>, you can use <code>Marker</code> to return additional billing records. 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>Constraints: The marker must match the value of <code>NextPageMarker</code> that was returned in the previous response.</p><br>
    ///   - [`max_items(i32)`](crate::operation::view_billing::builders::ViewBillingFluentBuilder::max_items) / [`set_max_items(Option<i32>)`](crate::operation::view_billing::builders::ViewBillingFluentBuilder::set_max_items):<br>required: **false**<br><p>The number of billing records to be returned.</p> <p>Default: 20</p><br>
    /// - On success, responds with [`ViewBillingOutput`](crate::operation::view_billing::ViewBillingOutput) with field(s):
    ///   - [`next_page_marker(Option<String>)`](crate::operation::view_billing::ViewBillingOutput::next_page_marker): <p>If there are more billing records 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>
    ///   - [`billing_records(Option<Vec::<BillingRecord>>)`](crate::operation::view_billing::ViewBillingOutput::billing_records): <p>A summary of billing records.</p>
    /// - On failure, responds with [`SdkError<ViewBillingError>`](crate::operation::view_billing::ViewBillingError)
    pub fn view_billing(&self) -> crate::operation::view_billing::builders::ViewBillingFluentBuilder {
        crate::operation::view_billing::builders::ViewBillingFluentBuilder::new(self.handle.clone())
    }
}