// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListControlResources`](crate::operation::list_control_resources::builders::ListControlResourcesFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_control_resources::builders::ListControlResourcesFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`environment_arn(impl Into<String>)`](crate::operation::list_control_resources::builders::ListControlResourcesFluentBuilder::environment_arn) / [`set_environment_arn(Option<String>)`](crate::operation::list_control_resources::builders::ListControlResourcesFluentBuilder::set_environment_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of this governance environment.</p><br>
/// - [`framework(impl Into<String>)`](crate::operation::list_control_resources::builders::ListControlResourcesFluentBuilder::framework) / [`set_framework(Option<String>)`](crate::operation::list_control_resources::builders::ListControlResourcesFluentBuilder::set_framework):<br>required: **true**<br><p>The name of the compliance framework.</p><br>
/// - [`framework_version(impl Into<String>)`](crate::operation::list_control_resources::builders::ListControlResourcesFluentBuilder::framework_version) / [`set_framework_version(Option<String>)`](crate::operation::list_control_resources::builders::ListControlResourcesFluentBuilder::set_framework_version):<br>required: **true**<br><p>The version of the compliance framework.</p><br>
/// - [`control_id(impl Into<String>)`](crate::operation::list_control_resources::builders::ListControlResourcesFluentBuilder::control_id) / [`set_control_id(Option<String>)`](crate::operation::list_control_resources::builders::ListControlResourcesFluentBuilder::set_control_id):<br>required: **true**<br><p>The identifier of the control.</p><br>
/// - [`project(impl Into<String>)`](crate::operation::list_control_resources::builders::ListControlResourcesFluentBuilder::project) / [`set_project(Option<String>)`](crate::operation::list_control_resources::builders::ListControlResourcesFluentBuilder::set_project):<br>required: **false**<br><p>Optional project scope. When provided, only resources that match the project's resource filters are considered. When omitted, all of the environment's resources are considered.</p><br>
/// - [`max_results(i32)`](crate::operation::list_control_resources::builders::ListControlResourcesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_control_resources::builders::ListControlResourcesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return on one page. The default is 50. If more results are available, use the <code>nextToken</code> value from the response to get the next page.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_control_resources::builders::ListControlResourcesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_control_resources::builders::ListControlResourcesFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token returned by a previous request. Use it to retrieve the next page of results.</p><br>
/// - On success, responds with [`ListControlResourcesOutput`](crate::operation::list_control_resources::ListControlResourcesOutput) with field(s):
/// - [`resources(Vec::<DiscoveredResource>)`](crate::operation::list_control_resources::ListControlResourcesOutput::resources): <p>The discovered resources that are in scope for the control.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_control_resources::ListControlResourcesOutput::next_token): <p>The pagination token for the next page of results. If the value is null, there are no more results to return.</p>
/// - On failure, responds with [`SdkError<ListControlResourcesError>`](crate::operation::list_control_resources::ListControlResourcesError)
pub fn list_control_resources(&self) -> crate::operation::list_control_resources::builders::ListControlResourcesFluentBuilder {
crate::operation::list_control_resources::builders::ListControlResourcesFluentBuilder::new(self.handle.clone())
}
}