aws_sdk_billing/client/associate_source_views.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 [`AssociateSourceViews`](crate::operation::associate_source_views::builders::AssociateSourceViewsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`arn(impl Into<String>)`](crate::operation::associate_source_views::builders::AssociateSourceViewsFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::associate_source_views::builders::AssociateSourceViewsFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the billing view to associate source views with.</p><br>
7 /// - [`source_views(impl Into<String>)`](crate::operation::associate_source_views::builders::AssociateSourceViewsFluentBuilder::source_views) / [`set_source_views(Option<Vec::<String>>)`](crate::operation::associate_source_views::builders::AssociateSourceViewsFluentBuilder::set_source_views):<br>required: **true**<br><p>A list of ARNs of the source billing views to associate.</p><br>
8 /// - On success, responds with [`AssociateSourceViewsOutput`](crate::operation::associate_source_views::AssociateSourceViewsOutput) with field(s):
9 /// - [`arn(String)`](crate::operation::associate_source_views::AssociateSourceViewsOutput::arn): <p>The ARN of the billing view that the source views were associated with.</p>
10 /// - On failure, responds with [`SdkError<AssociateSourceViewsError>`](crate::operation::associate_source_views::AssociateSourceViewsError)
11 pub fn associate_source_views(&self) -> crate::operation::associate_source_views::builders::AssociateSourceViewsFluentBuilder {
12 crate::operation::associate_source_views::builders::AssociateSourceViewsFluentBuilder::new(self.handle.clone())
13 }
14}