:doc:`SageMaker <../../sagemaker>` / Client / delete_space

************
delete_space
************



.. py:method:: SageMaker.Client.delete_space(**kwargs)

  

  Used to delete a space.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteSpace>`_  


  **Request Syntax**
  ::

    response = client.delete_space(
        DomainId='string',
        SpaceName='string'
    )
    
  :type DomainId: string
  :param DomainId: **[REQUIRED]** 

    The ID of the associated domain.

    

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

    The name of the space.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`SageMaker.Client.exceptions.ResourceNotFound`

  
  *   :py:class:`SageMaker.Client.exceptions.ResourceInUse`

  