:doc:`ARCRegionswitch <../../arc-region-switch>` / Client / update_plan_execution

*********************
update_plan_execution
*********************



.. py:method:: ARCRegionswitch.Client.update_plan_execution(**kwargs)

  

  Updates an in-progress plan execution. This operation allows you to modify certain aspects of the execution, such as adding a comment or changing the action.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/UpdatePlanExecution>`_  


  **Request Syntax**
  ::

    response = client.update_plan_execution(
        planArn='string',
        executionId='string',
        action='switchToGraceful'|'switchToUngraceful'|'pause'|'resume',
        comment='string'
    )
    
  :type planArn: string
  :param planArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the plan with the execution to update.

    

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

    The execution identifier of a plan execution.

    

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

    The action specified for a plan execution, for example, Switch to Graceful or Pause.

    

  
  :type comment: string
  :param comment: 

    An optional comment about the plan execution.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`ARCRegionswitch.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`ARCRegionswitch.Client.exceptions.IllegalStateException`

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

  