aws-sdk-billing 1.52.0

AWS SDK for AWS Billing
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetBillingView`](crate::operation::get_billing_view::builders::GetBillingViewFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`arn(impl Into<String>)`](crate::operation::get_billing_view::builders::GetBillingViewFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::get_billing_view::builders::GetBillingViewFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.</p><br>
    /// - On success, responds with [`GetBillingViewOutput`](crate::operation::get_billing_view::GetBillingViewOutput) with field(s):
    ///   - [`billing_view(Option<BillingViewElement>)`](crate::operation::get_billing_view::GetBillingViewOutput::billing_view): <p>The billing view element associated with the specified ARN.</p>
    /// - On failure, responds with [`SdkError<GetBillingViewError>`](crate::operation::get_billing_view::GetBillingViewError)
    pub fn get_billing_view(&self) -> crate::operation::get_billing_view::builders::GetBillingViewFluentBuilder {
        crate::operation::get_billing_view::builders::GetBillingViewFluentBuilder::new(self.handle.clone())
    }
}