IoT.Client.
delete_thing
(**kwargs)¶Deletes the specified thing. Returns successfully with no error if the deletion is successful or you specify a thing that doesn't exist.
Requires permission to access the DeleteThing action.
See also: AWS API Documentation
Request Syntax
response = client.delete_thing(
thingName='string',
expectedVersion=123
)
[REQUIRED]
The name of the thing to delete.
DeleteThing
request is rejected with a VersionConflictException
.dict
Response Syntax
{}
Response Structure
(dict) --
The output of the DeleteThing operation.
Exceptions
IoT.Client.exceptions.ResourceNotFoundException
IoT.Client.exceptions.VersionConflictException
IoT.Client.exceptions.InvalidRequestException
IoT.Client.exceptions.ThrottlingException
IoT.Client.exceptions.UnauthorizedException
IoT.Client.exceptions.ServiceUnavailableException
IoT.Client.exceptions.InternalFailureException