aws_sdk_controltower/client/list_enabled_controls.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListEnabledControls`](crate::operation::list_enabled_controls::builders::ListEnabledControlsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_enabled_controls::builders::ListEnabledControlsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`target_identifier(impl Into<String>)`](crate::operation::list_enabled_controls::builders::ListEnabledControlsFluentBuilder::target_identifier) / [`set_target_identifier(Option<String>)`](crate::operation::list_enabled_controls::builders::ListEnabledControlsFluentBuilder::set_target_identifier):<br>required: **false**<br><p>The ARN of the organizational unit. For information on how to find the <code>targetIdentifier</code>, see <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/Welcome.html">the overview page</a>.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_enabled_controls::builders::ListEnabledControlsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_enabled_controls::builders::ListEnabledControlsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token to continue the list from a previous API call with the same parameters.</p><br>
/// - [`max_results(i32)`](crate::operation::list_enabled_controls::builders::ListEnabledControlsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_enabled_controls::builders::ListEnabledControlsFluentBuilder::set_max_results):<br>required: **false**<br><p>How many results to return per API call.</p><br>
/// - [`filter(EnabledControlFilter)`](crate::operation::list_enabled_controls::builders::ListEnabledControlsFluentBuilder::filter) / [`set_filter(Option<EnabledControlFilter>)`](crate::operation::list_enabled_controls::builders::ListEnabledControlsFluentBuilder::set_filter):<br>required: **false**<br><p>An input filter for the <code>ListEnabledControls</code> API that lets you select the types of control operations to view.</p><br>
/// - On success, responds with [`ListEnabledControlsOutput`](crate::operation::list_enabled_controls::ListEnabledControlsOutput) with field(s):
/// - [`enabled_controls(Vec::<EnabledControlSummary>)`](crate::operation::list_enabled_controls::ListEnabledControlsOutput::enabled_controls): <p>Lists the controls enabled by Amazon Web Services Control Tower on the specified organizational unit and the accounts it contains.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_enabled_controls::ListEnabledControlsOutput::next_token): <p>Retrieves the next page of results. If the string is empty, the response is the end of the results.</p>
/// - On failure, responds with [`SdkError<ListEnabledControlsError>`](crate::operation::list_enabled_controls::ListEnabledControlsError)
pub fn list_enabled_controls(&self) -> crate::operation::list_enabled_controls::builders::ListEnabledControlsFluentBuilder {
crate::operation::list_enabled_controls::builders::ListEnabledControlsFluentBuilder::new(self.handle.clone())
}
}