aws_sdk_resourceexplorer2/client/
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 [`GetView`](crate::operation::get_view::builders::GetViewFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`view_arn(impl Into<String>)`](crate::operation::get_view::builders::GetViewFluentBuilder::view_arn) / [`set_view_arn(Option<String>)`](crate::operation::get_view::builders::GetViewFluentBuilder::set_view_arn):<br>required: **true**<br><p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon resource name (ARN)</a> of the view that you want information about.</p><br>
7    /// - On success, responds with [`GetViewOutput`](crate::operation::get_view::GetViewOutput) with field(s):
8    ///   - [`view(Option<View>)`](crate::operation::get_view::GetViewOutput::view): <p>A structure that contains the details for the requested view.</p>
9    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_view::GetViewOutput::tags): <p>Tag key and value pairs that are attached to the view.</p>
10    /// - On failure, responds with [`SdkError<GetViewError>`](crate::operation::get_view::GetViewError)
11    pub fn get_view(&self) -> crate::operation::get_view::builders::GetViewFluentBuilder {
12        crate::operation::get_view::builders::GetViewFluentBuilder::new(self.handle.clone())
13    }
14}