IoTDataPlane / Client / delete_thing_shadow

delete_thing_shadow#

IoTDataPlane.Client.delete_thing_shadow(**kwargs)#

Deletes the shadow for the specified thing.

Requires permission to access the DeleteThingShadow action.

For more information, see DeleteThingShadow in the IoT Developer Guide.

See also: AWS API Documentation

Request Syntax

response = client.delete_thing_shadow(
    thingName='string',
    shadowName='string'
)
Parameters:
  • thingName (string) –

    [REQUIRED]

    The name of the thing.

  • shadowName (string) – The name of the shadow.

Return type:

dict

Returns:

Response Syntax

{
    'payload': StreamingBody()
}

Response Structure

  • (dict) –

    The output from the DeleteThingShadow operation.

    • payload (StreamingBody) –

      The state information, in JSON format.

Exceptions

  • IoTDataPlane.Client.exceptions.ResourceNotFoundException

  • IoTDataPlane.Client.exceptions.InvalidRequestException

  • IoTDataPlane.Client.exceptions.ThrottlingException

  • IoTDataPlane.Client.exceptions.UnauthorizedException

  • IoTDataPlane.Client.exceptions.ServiceUnavailableException

  • IoTDataPlane.Client.exceptions.InternalFailureException

  • IoTDataPlane.Client.exceptions.MethodNotAllowedException

  • IoTDataPlane.Client.exceptions.UnsupportedDocumentEncodingException