:doc:`Route53RecoveryControlConfig <../../route53-recovery-control-config>` / Client / list_routing_controls

*********************
list_routing_controls
*********************



.. py:method:: Route53RecoveryControlConfig.Client.list_routing_controls(**kwargs)

  

  Returns an array of routing controls for a control panel. A routing control is an Amazon Route 53 Application Recovery Controller construct that has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control routing.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListRoutingControls>`_  


  **Request Syntax**
  ::

    response = client.list_routing_controls(
        ControlPanelArn='string',
        MaxResults=123,
        NextToken='string'
    )
    
  :type ControlPanelArn: string
  :param ControlPanelArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the control panel.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The number of objects that you want to return with this call.

    

  
  :type NextToken: string
  :param NextToken: 

    The token that identifies which batch of results you want to see.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'NextToken': 'string',
          'RoutingControls': [
              {
                  'ControlPanelArn': 'string',
                  'Name': 'string',
                  'RoutingControlArn': 'string',
                  'Status': 'PENDING'|'DEPLOYED'|'PENDING_DELETION',
                  'Owner': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 

      200 response - Success.

      
      

      - **NextToken** *(string) --* 

        The token that identifies which batch of results you want to see.

        
      

      - **RoutingControls** *(list) --* 

        An array of routing controls.

        
        

        - *(dict) --* 

          A routing control has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control traffic routing.

          
          

          - **ControlPanelArn** *(string) --* 

            The Amazon Resource Name (ARN) of the control panel that includes the routing control.

            
          

          - **Name** *(string) --* 

            The name of the routing control.

            
          

          - **RoutingControlArn** *(string) --* 

            The Amazon Resource Name (ARN) of the routing control.

            
          

          - **Status** *(string) --* 

            The deployment status of a routing control. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

            
          

          - **Owner** *(string) --* 

            The Amazon Web Services account ID of the routing control owner.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`Route53RecoveryControlConfig.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Route53RecoveryControlConfig.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Route53RecoveryControlConfig.Client.exceptions.ValidationException`

  
  *   :py:class:`Route53RecoveryControlConfig.Client.exceptions.InternalServerException`

  
  *   :py:class:`Route53RecoveryControlConfig.Client.exceptions.AccessDeniedException`

  