aws_sdk_billing/client/get_billing_view.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 [`GetBillingView`](crate::operation::get_billing_view::builders::GetBillingViewFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`GetBillingViewOutput`](crate::operation::get_billing_view::GetBillingViewOutput) with field(s):
8 /// - [`billing_view(Option<BillingViewElement>)`](crate::operation::get_billing_view::GetBillingViewOutput::billing_view): <p>The billing view element associated with the specified ARN.</p>
9 /// - On failure, responds with [`SdkError<GetBillingViewError>`](crate::operation::get_billing_view::GetBillingViewError)
10 pub fn get_billing_view(&self) -> crate::operation::get_billing_view::builders::GetBillingViewFluentBuilder {
11 crate::operation::get_billing_view::builders::GetBillingViewFluentBuilder::new(self.handle.clone())
12 }
13}