1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAnalyzedResource`](crate::operation::get_analyzed_resource::builders::GetAnalyzedResourceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`analyzer_arn(impl ::std::convert::Into<String>)`](crate::operation::get_analyzed_resource::builders::GetAnalyzedResourceFluentBuilder::analyzer_arn) / [`set_analyzer_arn(Option<String>)`](crate::operation::get_analyzed_resource::builders::GetAnalyzedResourceFluentBuilder::set_analyzer_arn): <p>The <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-getting-started.html#permission-resources">ARN of the analyzer</a> to retrieve information from.</p>
    ///   - [`resource_arn(impl ::std::convert::Into<String>)`](crate::operation::get_analyzed_resource::builders::GetAnalyzedResourceFluentBuilder::resource_arn) / [`set_resource_arn(Option<String>)`](crate::operation::get_analyzed_resource::builders::GetAnalyzedResourceFluentBuilder::set_resource_arn): <p>The ARN of the resource to retrieve information about.</p>
    /// - On success, responds with [`GetAnalyzedResourceOutput`](crate::operation::get_analyzed_resource::GetAnalyzedResourceOutput) with field(s):
    ///   - [`resource(Option<AnalyzedResource>)`](crate::operation::get_analyzed_resource::GetAnalyzedResourceOutput::resource): <p>An <code>AnalyzedResource</code> object that contains information that IAM Access Analyzer found when it analyzed the resource.</p>
    /// - On failure, responds with [`SdkError<GetAnalyzedResourceError>`](crate::operation::get_analyzed_resource::GetAnalyzedResourceError)
    pub fn get_analyzed_resource(
        &self,
    ) -> crate::operation::get_analyzed_resource::builders::GetAnalyzedResourceFluentBuilder {
        crate::operation::get_analyzed_resource::builders::GetAnalyzedResourceFluentBuilder::new(
            self.handle.clone(),
        )
    }
}