aws_sdk_autoscaling/client/
describe_load_balancer_target_groups.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DescribeLoadBalancerTargetGroups`](crate::operation::describe_load_balancer_target_groups::builders::DescribeLoadBalancerTargetGroupsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_load_balancer_target_groups::builders::DescribeLoadBalancerTargetGroupsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`auto_scaling_group_name(impl Into<String>)`](crate::operation::describe_load_balancer_target_groups::builders::DescribeLoadBalancerTargetGroupsFluentBuilder::auto_scaling_group_name) / [`set_auto_scaling_group_name(Option<String>)`](crate::operation::describe_load_balancer_target_groups::builders::DescribeLoadBalancerTargetGroupsFluentBuilder::set_auto_scaling_group_name):<br>required: **true**<br><p>The name of the Auto Scaling group.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_load_balancer_target_groups::builders::DescribeLoadBalancerTargetGroupsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_load_balancer_target_groups::builders::DescribeLoadBalancerTargetGroupsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of items to return. (You received this token from a previous call.)</p><br>
9    ///   - [`max_records(i32)`](crate::operation::describe_load_balancer_target_groups::builders::DescribeLoadBalancerTargetGroupsFluentBuilder::max_records) / [`set_max_records(Option<i32>)`](crate::operation::describe_load_balancer_target_groups::builders::DescribeLoadBalancerTargetGroupsFluentBuilder::set_max_records):<br>required: **false**<br><p>The maximum number of items to return with this call. The default value is <code>100</code> and the maximum value is <code>100</code>.</p><br>
10    /// - On success, responds with [`DescribeLoadBalancerTargetGroupsOutput`](crate::operation::describe_load_balancer_target_groups::DescribeLoadBalancerTargetGroupsOutput) with field(s):
11    ///   - [`load_balancer_target_groups(Option<Vec::<LoadBalancerTargetGroupState>>)`](crate::operation::describe_load_balancer_target_groups::DescribeLoadBalancerTargetGroupsOutput::load_balancer_target_groups): <p>Information about the target groups.</p>
12    ///   - [`next_token(Option<String>)`](crate::operation::describe_load_balancer_target_groups::DescribeLoadBalancerTargetGroupsOutput::next_token): <p>A string that indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the <code>NextToken</code> value when requesting the next set of items. This value is null when there are no more items to return.</p>
13    /// - On failure, responds with [`SdkError<DescribeLoadBalancerTargetGroupsError>`](crate::operation::describe_load_balancer_target_groups::DescribeLoadBalancerTargetGroupsError)
14    pub fn describe_load_balancer_target_groups(
15        &self,
16    ) -> crate::operation::describe_load_balancer_target_groups::builders::DescribeLoadBalancerTargetGroupsFluentBuilder {
17        crate::operation::describe_load_balancer_target_groups::builders::DescribeLoadBalancerTargetGroupsFluentBuilder::new(self.handle.clone())
18    }
19}