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 [`DescribeScalingPlans`](crate::operation::describe_scaling_plans::builders::DescribeScalingPlansFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`scaling_plan_names(impl Into<String>)`](crate::operation::describe_scaling_plans::builders::DescribeScalingPlansFluentBuilder::scaling_plan_names) / [`set_scaling_plan_names(Option<Vec::<String>>)`](crate::operation::describe_scaling_plans::builders::DescribeScalingPlansFluentBuilder::set_scaling_plan_names):<br>required: **false**<br><p>The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names.</p><br>
    ///   - [`scaling_plan_version(i64)`](crate::operation::describe_scaling_plans::builders::DescribeScalingPlansFluentBuilder::scaling_plan_version) / [`set_scaling_plan_version(Option<i64>)`](crate::operation::describe_scaling_plans::builders::DescribeScalingPlansFluentBuilder::set_scaling_plan_version):<br>required: **false**<br><p>The version number of the scaling plan. Currently, the only valid value is <code>1</code>.</p><note>  <p>If you specify a scaling plan version, you must also specify a scaling plan name.</p> </note><br>
    ///   - [`application_sources(ApplicationSource)`](crate::operation::describe_scaling_plans::builders::DescribeScalingPlansFluentBuilder::application_sources) / [`set_application_sources(Option<Vec::<ApplicationSource>>)`](crate::operation::describe_scaling_plans::builders::DescribeScalingPlansFluentBuilder::set_application_sources):<br>required: **false**<br><p>The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.</p><br>
    ///   - [`max_results(i32)`](crate::operation::describe_scaling_plans::builders::DescribeScalingPlansFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_scaling_plans::builders::DescribeScalingPlansFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_scaling_plans::builders::DescribeScalingPlansFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_scaling_plans::builders::DescribeScalingPlansFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of results.</p><br>
    /// - On success, responds with [`DescribeScalingPlansOutput`](crate::operation::describe_scaling_plans::DescribeScalingPlansOutput) with field(s):
    ///   - [`scaling_plans(Option<Vec::<ScalingPlan>>)`](crate::operation::describe_scaling_plans::DescribeScalingPlansOutput::scaling_plans): <p>Information about the scaling plans.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::describe_scaling_plans::DescribeScalingPlansOutput::next_token): <p>The token required to get the next set of results. This value is <code>null</code> if there are no more results to return.</p>
    /// - On failure, responds with [`SdkError<DescribeScalingPlansError>`](crate::operation::describe_scaling_plans::DescribeScalingPlansError)
    pub fn describe_scaling_plans(&self) -> crate::operation::describe_scaling_plans::builders::DescribeScalingPlansFluentBuilder {
        crate::operation::describe_scaling_plans::builders::DescribeScalingPlansFluentBuilder::new(self.handle.clone())
    }
}