IoTThingsGraph / Client / get_namespace_deletion_status

get_namespace_deletion_status#

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

Request Syntax

response = client.get_namespace_deletion_status()
Return type:

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

  • IoTThingsGraph.Client.exceptions.InvalidRequestException

  • IoTThingsGraph.Client.exceptions.InternalFailureException

  • IoTThingsGraph.Client.exceptions.ThrottlingException