HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/doc/awscli/examples/iot/deprecate-thing-type.rst
**Example 1: To deprecate a thing type**

The following ``deprecate-thing-type`` example deprecates a thing type so that users can't associate any new things with it. ::

    aws iot deprecate-thing-type \
        --thing-type-name "obsoleteThingType"

This command produces no output.

**Example 2: To reverse the deprecation of a thing type**

The following ``deprecate-thing-type`` example reverses the deprecation of a thing type, which makes it possible for users to associate new things with it again. ::

    aws iot deprecate-thing-type \
        --thing-type-name "obsoleteThingType" \
        --undo-deprecate

This command produces no output.

For more information, see `Thing Types <https://docs.aws.amazon.com/iot/latest/developerguide/thing-types.html>`__ in the *AWS IoT Developers Guide*.