DescribeLoadBalancerTargetGroups

class AutoScaling.Paginator.DescribeLoadBalancerTargetGroups
paginator = client.get_paginator('describe_load_balancer_target_groups')
paginate(**kwargs)

Creates an iterator that will paginate through responses from AutoScaling.Client.describe_load_balancer_target_groups().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    AutoScalingGroupName='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • AutoScalingGroupName (string) --

    [REQUIRED]

    The name of the Auto Scaling group.

  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) --

      The size of each page.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type

dict

Returns

Response Syntax

{
    'LoadBalancerTargetGroups': [
        {
            'LoadBalancerTargetGroupARN': 'string',
            'State': 'string'
        },
    ],

}

Response Structure

  • (dict) --

    • LoadBalancerTargetGroups (list) --

      Information about the target groups.

      • (dict) --

        Describes the state of a target group.

        • LoadBalancerTargetGroupARN (string) --

          The Amazon Resource Name (ARN) of the target group.

        • State (string) --

          The state of the target group.

          • Adding - The Auto Scaling instances are being registered with the target group.
          • Added - All Auto Scaling instances are registered with the target group.
          • InService - At least one Auto Scaling instance passed an ELB health check.
          • Removing - The Auto Scaling instances are being deregistered from the target group. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances.
          • Removed - All Auto Scaling instances are deregistered from the target group.