:doc:`EMRServerless <../../emr-serverless>` / Client / stop_application

****************
stop_application
****************



.. py:method:: EMRServerless.Client.stop_application(**kwargs)

  

  Stops a specified application and releases initial capacity if configured. All scheduled and running jobs must be completed or cancelled before stopping an application.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/StopApplication>`_  


  **Request Syntax**
  ::

    response = client.stop_application(
        applicationId='string'
    )
    
  :type applicationId: string
  :param applicationId: **[REQUIRED]** 

    The ID of the application to stop.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`EMRServerless.Client.exceptions.ValidationException`

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

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

  