aws_sdk_accessanalyzer/client/
list_analyzed_resources.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 [`ListAnalyzedResources`](crate::operation::list_analyzed_resources::builders::ListAnalyzedResourcesFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_analyzed_resources::builders::ListAnalyzedResourcesFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`analyzer_arn(impl Into<String>)`](crate::operation::list_analyzed_resources::builders::ListAnalyzedResourcesFluentBuilder::analyzer_arn) / [`set_analyzer_arn(Option<String>)`](crate::operation::list_analyzed_resources::builders::ListAnalyzedResourcesFluentBuilder::set_analyzer_arn):<br>required: **true**<br><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 a list of analyzed resources from.</p><br>
8    ///   - [`resource_type(ResourceType)`](crate::operation::list_analyzed_resources::builders::ListAnalyzedResourcesFluentBuilder::resource_type) / [`set_resource_type(Option<ResourceType>)`](crate::operation::list_analyzed_resources::builders::ListAnalyzedResourcesFluentBuilder::set_resource_type):<br>required: **false**<br><p>The type of resource.</p><br>
9    ///   - [`next_token(impl Into<String>)`](crate::operation::list_analyzed_resources::builders::ListAnalyzedResourcesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_analyzed_resources::builders::ListAnalyzedResourcesFluentBuilder::set_next_token):<br>required: **false**<br><p>A token used for pagination of results returned.</p><br>
10    ///   - [`max_results(i32)`](crate::operation::list_analyzed_resources::builders::ListAnalyzedResourcesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_analyzed_resources::builders::ListAnalyzedResourcesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in the response.</p><br>
11    /// - On success, responds with [`ListAnalyzedResourcesOutput`](crate::operation::list_analyzed_resources::ListAnalyzedResourcesOutput) with field(s):
12    ///   - [`analyzed_resources(Vec::<AnalyzedResourceSummary>)`](crate::operation::list_analyzed_resources::ListAnalyzedResourcesOutput::analyzed_resources): <p>A list of resources that were analyzed.</p>
13    ///   - [`next_token(Option<String>)`](crate::operation::list_analyzed_resources::ListAnalyzedResourcesOutput::next_token): <p>A token used for pagination of results returned.</p>
14    /// - On failure, responds with [`SdkError<ListAnalyzedResourcesError>`](crate::operation::list_analyzed_resources::ListAnalyzedResourcesError)
15    pub fn list_analyzed_resources(&self) -> crate::operation::list_analyzed_resources::builders::ListAnalyzedResourcesFluentBuilder {
16        crate::operation::list_analyzed_resources::builders::ListAnalyzedResourcesFluentBuilder::new(self.handle.clone())
17    }
18}