aws_sdk_resourceexplorer2/client/
get_default_view.rs

1
2
3
4
5
6
7
8
9
10
11
12
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetDefaultView`](crate::operation::get_default_view::builders::GetDefaultViewFluentBuilder) operation.
    ///
    /// - The fluent builder takes no input, just [`send`](crate::operation::get_default_view::builders::GetDefaultViewFluentBuilder::send) it.
    /// - On success, responds with [`GetDefaultViewOutput`](crate::operation::get_default_view::GetDefaultViewOutput) with field(s):
    ///   - [`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>
    /// - On failure, responds with [`SdkError<GetDefaultViewError>`](crate::operation::get_default_view::GetDefaultViewError)
    pub fn get_default_view(&self) -> crate::operation::get_default_view::builders::GetDefaultViewFluentBuilder {
        crate::operation::get_default_view::builders::GetDefaultViewFluentBuilder::new(self.handle.clone())
    }
}