aws_sdk_controltower/client/list_enabled_baselines.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListEnabledBaselines`](crate::operation::list_enabled_baselines::builders::ListEnabledBaselinesFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_enabled_baselines::builders::ListEnabledBaselinesFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`filter(EnabledBaselineFilter)`](crate::operation::list_enabled_baselines::builders::ListEnabledBaselinesFluentBuilder::filter) / [`set_filter(Option<EnabledBaselineFilter>)`](crate::operation::list_enabled_baselines::builders::ListEnabledBaselinesFluentBuilder::set_filter):<br>required: **false**<br><p>A filter applied on the <code>ListEnabledBaseline</code> operation. Allowed filters are <code>baselineIdentifiers</code> and <code>targetIdentifiers</code>. The filter can be applied for either, or both.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_enabled_baselines::builders::ListEnabledBaselinesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_enabled_baselines::builders::ListEnabledBaselinesFluentBuilder::set_next_token):<br>required: **false**<br><p>A pagination token.</p><br>
/// - [`max_results(i32)`](crate::operation::list_enabled_baselines::builders::ListEnabledBaselinesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_enabled_baselines::builders::ListEnabledBaselinesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to be shown.</p><br>
/// - [`include_children(bool)`](crate::operation::list_enabled_baselines::builders::ListEnabledBaselinesFluentBuilder::include_children) / [`set_include_children(Option<bool>)`](crate::operation::list_enabled_baselines::builders::ListEnabledBaselinesFluentBuilder::set_include_children):<br>required: **false**<br><p>A value that can be set to include the child enabled baselines in responses. The default value is false.</p><br>
/// - On success, responds with [`ListEnabledBaselinesOutput`](crate::operation::list_enabled_baselines::ListEnabledBaselinesOutput) with field(s):
/// - [`enabled_baselines(Vec::<EnabledBaselineSummary>)`](crate::operation::list_enabled_baselines::ListEnabledBaselinesOutput::enabled_baselines): <p>Retuens a list of summaries of <code>EnabledBaseline</code> resources.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_enabled_baselines::ListEnabledBaselinesOutput::next_token): <p>A pagination token.</p>
/// - On failure, responds with [`SdkError<ListEnabledBaselinesError>`](crate::operation::list_enabled_baselines::ListEnabledBaselinesError)
pub fn list_enabled_baselines(&self) -> crate::operation::list_enabled_baselines::builders::ListEnabledBaselinesFluentBuilder {
crate::operation::list_enabled_baselines::builders::ListEnabledBaselinesFluentBuilder::new(self.handle.clone())
}
}