aws_sdk_resourceexplorer2/client/batch_get_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 [`BatchGetView`](crate::operation::batch_get_view::builders::BatchGetViewFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`view_arns(impl Into<String>)`](crate::operation::batch_get_view::builders::BatchGetViewFluentBuilder::view_arns) / [`set_view_arns(Option<Vec::<String>>)`](crate::operation::batch_get_view::builders::BatchGetViewFluentBuilder::set_view_arns):<br>required: **false**<br><p>A list of <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon resource names (ARNs)</a> that identify the views you want details for.</p><br>
7 /// - On success, responds with [`BatchGetViewOutput`](crate::operation::batch_get_view::BatchGetViewOutput) with field(s):
8 /// - [`views(Option<Vec::<View>>)`](crate::operation::batch_get_view::BatchGetViewOutput::views): <p>A structure with a list of objects with details for each of the specified views.</p>
9 /// - [`errors(Option<Vec::<BatchGetViewError>>)`](crate::operation::batch_get_view::BatchGetViewOutput::errors): <p>If any of the specified ARNs result in an error, then this structure describes the error.</p>
10 /// - On failure, responds with [`SdkError<BatchGetViewError>`](crate::operation::batch_get_view::BatchGetViewError)
11 pub fn batch_get_view(&self) -> crate::operation::batch_get_view::builders::BatchGetViewFluentBuilder {
12 crate::operation::batch_get_view::builders::BatchGetViewFluentBuilder::new(self.handle.clone())
13 }
14}