:doc:`IoTThingsGraph <../../iotthingsgraph>` / Client / get_namespace_deletion_status

*****************************
get_namespace_deletion_status
*****************************



.. py:method:: IoTThingsGraph.Client.get_namespace_deletion_status()

  

  Gets the status of a namespace deletion task.

  

  .. danger::

        This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.


  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/GetNamespaceDeletionStatus>`_  


  **Request Syntax**
  ::

    response = client.get_namespace_deletion_status()
    
    
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'namespaceArn': 'string',
          'namespaceName': 'string',
          'status': 'IN_PROGRESS'|'SUCCEEDED'|'FAILED',
          'errorCode': 'VALIDATION_FAILED',
          'errorMessage': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **namespaceArn** *(string) --* 

        The ARN of the namespace that is being deleted.

        
      

      - **namespaceName** *(string) --* 

        The name of the namespace that is being deleted.

        
      

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

        The status of the deletion request.

        
      

      - **errorCode** *(string) --* 

        An error code returned by the namespace deletion task.

        
      

      - **errorMessage** *(string) --* 

        An error code returned by the namespace deletion task.

        
  
  **Exceptions**
  
  *   :py:class:`IoTThingsGraph.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`IoTThingsGraph.Client.exceptions.InternalFailureException`

  
  *   :py:class:`IoTThingsGraph.Client.exceptions.ThrottlingException`

  