1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeScalingPlanResources`](crate::operation::describe_scaling_plan_resources::builders::DescribeScalingPlanResourcesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`scaling_plan_name(impl Into<String>)`](crate::operation::describe_scaling_plan_resources::builders::DescribeScalingPlanResourcesFluentBuilder::scaling_plan_name) / [`set_scaling_plan_name(Option<String>)`](crate::operation::describe_scaling_plan_resources::builders::DescribeScalingPlanResourcesFluentBuilder::set_scaling_plan_name):<br>required: **true**<br><p>The name of the scaling plan.</p><br>
    ///   - [`scaling_plan_version(i64)`](crate::operation::describe_scaling_plan_resources::builders::DescribeScalingPlanResourcesFluentBuilder::scaling_plan_version) / [`set_scaling_plan_version(Option<i64>)`](crate::operation::describe_scaling_plan_resources::builders::DescribeScalingPlanResourcesFluentBuilder::set_scaling_plan_version):<br>required: **true**<br><p>The version number of the scaling plan. Currently, the only valid value is <code>1</code>.</p><br>
    ///   - [`max_results(i32)`](crate::operation::describe_scaling_plan_resources::builders::DescribeScalingPlanResourcesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_scaling_plan_resources::builders::DescribeScalingPlanResourcesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of scalable resources to return. The value must be between 1 and 50. The default value is 50.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_scaling_plan_resources::builders::DescribeScalingPlanResourcesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_scaling_plan_resources::builders::DescribeScalingPlanResourcesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of results.</p><br>
    /// - On success, responds with [`DescribeScalingPlanResourcesOutput`](crate::operation::describe_scaling_plan_resources::DescribeScalingPlanResourcesOutput) with field(s):
    ///   - [`scaling_plan_resources(Option<Vec::<ScalingPlanResource>>)`](crate::operation::describe_scaling_plan_resources::DescribeScalingPlanResourcesOutput::scaling_plan_resources): <p>Information about the scalable resources.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::describe_scaling_plan_resources::DescribeScalingPlanResourcesOutput::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<DescribeScalingPlanResourcesError>`](crate::operation::describe_scaling_plan_resources::DescribeScalingPlanResourcesError)
    pub fn describe_scaling_plan_resources(
        &self,
    ) -> crate::operation::describe_scaling_plan_resources::builders::DescribeScalingPlanResourcesFluentBuilder {
        crate::operation::describe_scaling_plan_resources::builders::DescribeScalingPlanResourcesFluentBuilder::new(self.handle.clone())
    }
}