Skip to content

DeleteThingRequest

Source code in docs_src/capo_iot/types/delete_thing_request.py
class DeleteThingRequest(TypedDict, closed=True):
    thing_name: "capo_iot.types.thing_name.ThingName"
    """<p>The name of the thing to delete.</p>"""
    expected_version: NotRequired["capo_iot.types.optional_version.OptionalVersion"]
    """<p>The expected version of the thing record in the registry. If the version of the record in the registry does not match the expected version specified in the request, the <code>DeleteThing</code> request is rejected with a <code>VersionConflictException</code>.</p>"""

expected_version instance-attribute

expected_version: NotRequired[OptionalVersion]

The expected version of the thing record in the registry. If the version of the record in the registry does not match the expected version specified in the request, the DeleteThing request is rejected with a VersionConflictException.

thing_name instance-attribute

thing_name: ThingName

The name of the thing to delete.