:doc:`AutoScaling <../../autoscaling>` / Paginator / DescribeLoadBalancerTargetGroups

********************************
DescribeLoadBalancerTargetGroups
********************************



.. py:class:: AutoScaling.Paginator.DescribeLoadBalancerTargetGroups

  ::

    
    paginator = client.get_paginator('describe_load_balancer_target_groups')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`AutoScaling.Client.describe_load_balancer_target_groups`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancerTargetGroups>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          AutoScalingGroupName='string',
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type AutoScalingGroupName: string
    :param AutoScalingGroupName: **[REQUIRED]** 

      The name of the Auto Scaling group.

      

    
    :type PaginationConfig: dict
    :param PaginationConfig: 

      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.

        

      
    
    
    :rtype: 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.
              

              
        
      
    