Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_entity

delete_entity(**kwargs)

Deletes an entity.

See also: AWS API Documentation

Request Syntax

response = client.delete_entity(
    workspaceId='string',
    entityId='string',
    isRecursive=True|False
)
Parameters
  • workspaceId (string) --

    [REQUIRED]

    The ID of the workspace that contains the entity to delete.

  • entityId (string) --

    [REQUIRED]

    The ID of the entity to delete.

  • isRecursive (boolean) -- A Boolean value that specifies whether the operation deletes child entities.
Return type

dict

Returns

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