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

***************************
approve_plan_execution_step
***************************



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

  

  Approves a step in a plan execution that requires manual approval. When you create a plan, you can include approval steps that require manual intervention before the execution can proceed. This operation allows you to provide that approval.

   

  You must specify the plan ARN, execution ID, step name, and approval status. You can also provide an optional comment explaining the approval decision.

  

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


  **Request Syntax**
  ::

    response = client.approve_plan_execution_step(
        planArn='string',
        executionId='string',
        stepName='string',
        approval='approve'|'decline',
        comment='string'
    )
    
  :type planArn: string
  :param planArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the plan.

    

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

    The execution identifier of a plan execution.

    

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

    The name of a step in a plan execution.

    

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

    The status of approval for a plan execution step.

    

  
  :type comment: string
  :param comment: 

    A comment that you can enter about a plan execution.

    

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

    
    ::

      {}
      
    **Response Structure**

    

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

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

  