IoTTwinMaker.Client.
delete_entity
(**kwargs)¶Deletes an entity.
See also: AWS API Documentation
Request Syntax
response = client.delete_entity(
workspaceId='string',
entityId='string',
isRecursive=True|False
)
[REQUIRED]
The ID of the workspace that contains the entity to delete.
[REQUIRED]
The ID of the entity to delete.
dict
Response Syntax
{
'state': 'CREATING'|'UPDATING'|'DELETING'|'ACTIVE'|'ERROR'
}
Response Structure
(dict) --
state (string) --
The current state of the deleted entity.
Exceptions
IoTTwinMaker.Client.exceptions.InternalServerException
IoTTwinMaker.Client.exceptions.ResourceNotFoundException
IoTTwinMaker.Client.exceptions.ThrottlingException
IoTTwinMaker.Client.exceptions.ValidationException
IoTTwinMaker.Client.exceptions.ServiceQuotaExceededException