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

********************
update_control_panel
********************



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

  

  Updates a control panel. The only update you can make to a control panel is to change the name of the control panel.

  

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


  **Request Syntax**
  ::

    response = client.update_control_panel(
        ControlPanelArn='string',
        ControlPanelName='string'
    )
    
  :type ControlPanelArn: string
  :param ControlPanelArn: **[REQUIRED]** 

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

    

  
  :type ControlPanelName: string
  :param ControlPanelName: **[REQUIRED]** 

    The name of the control panel.

    

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

    
    ::

      {
          'ControlPanel': {
              'ClusterArn': 'string',
              'ControlPanelArn': 'string',
              'DefaultControlPanel': True|False,
              'Name': 'string',
              'RoutingControlCount': 123,
              'Status': 'PENDING'|'DEPLOYED'|'PENDING_DELETION',
              'Owner': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 

      200 response - Success.

      
      

      - **ControlPanel** *(dict) --* 

        The control panel to update.

        
        

        - **ClusterArn** *(string) --* 

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

          
        

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

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

          
        

        - **DefaultControlPanel** *(boolean) --* 

          A flag that Amazon Route 53 Application Recovery Controller sets to true to designate the default control panel for a cluster. When you create a cluster, Amazon Route 53 Application Recovery Controller creates a control panel, and sets this flag for that control panel. If you create a control panel yourself, this flag is set to false.

          
        

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

          The name of the control panel. You can use any non-white space character in the name.

          
        

        - **RoutingControlCount** *(integer) --* 

          The number of routing controls in the control panel.

          
        

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

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

          
        

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

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

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

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

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

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

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

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

  