:doc:`CodeCatalyst <../../codecatalyst>` / Client / stop_dev_environment

********************
stop_dev_environment
********************



.. py:method:: CodeCatalyst.Client.stop_dev_environment(**kwargs)

  

  Pauses a specified Dev Environment and places it in a non-running state. Stopped Dev Environments do not consume compute minutes.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/StopDevEnvironment>`_  


  **Request Syntax**
  ::

    response = client.stop_dev_environment(
        spaceName='string',
        projectName='string',
        id='string'
    )
    
  :type spaceName: string
  :param spaceName: **[REQUIRED]** 

    The name of the space.

    

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

    The name of the project in the space.

    

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

    The system-generated unique ID of the Dev Environment.

    

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

    
    ::

      {
          'spaceName': 'string',
          'projectName': 'string',
          'id': 'string',
          'status': 'PENDING'|'RUNNING'|'STARTING'|'STOPPING'|'STOPPED'|'FAILED'|'DELETING'|'DELETED'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **spaceName** *(string) --* 

        The name of the space.

        
      

      - **projectName** *(string) --* 

        The name of the project in the space.

        
      

      - **id** *(string) --* 

        The system-generated unique ID of the Dev Environment.

        
      

      - **status** *(string) --* 

        The status of the Dev Environment.

        
  
  **Exceptions**
  
  *   :py:class:`CodeCatalyst.Client.exceptions.ThrottlingException`

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

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

  
  *   :py:class:`CodeCatalyst.Client.exceptions.ServiceQuotaExceededException`

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

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

  