aws_sdk_resourceexplorer2/client/
get_default_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 [`GetDefaultView`](crate::operation::get_default_view::builders::GetDefaultViewFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::get_default_view::builders::GetDefaultViewFluentBuilder::send) it.
6    /// - On success, responds with [`GetDefaultViewOutput`](crate::operation::get_default_view::GetDefaultViewOutput) with field(s):
7    ///   - [`view_arn(Option<String>)`](crate::operation::get_default_view::GetDefaultViewOutput::view_arn): <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 is the current default for the Amazon Web Services Region in which you called this operation.</p>
8    /// - On failure, responds with [`SdkError<GetDefaultViewError>`](crate::operation::get_default_view::GetDefaultViewError)
9    pub fn get_default_view(&self) -> crate::operation::get_default_view::builders::GetDefaultViewFluentBuilder {
10        crate::operation::get_default_view::builders::GetDefaultViewFluentBuilder::new(self.handle.clone())
11    }
12}