amazonka-iot-2.0: Amazon IoT SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoT.DeleteThingType

Description

Deletes the specified thing type. You cannot delete a thing type if it has things associated with it. To delete a thing type, first mark it as deprecated by calling DeprecateThingType, then remove any associated things by calling UpdateThing to change the thing type on any associated thing, and finally use DeleteThingType to delete the thing type.

Requires permission to access the DeleteThingType action.

Synopsis

Creating a Request

data DeleteThingType Source #

The input for the DeleteThingType operation.

See: newDeleteThingType smart constructor.

Constructors

DeleteThingType' 

Fields

Instances

Instances details
ToHeaders DeleteThingType Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

ToPath DeleteThingType Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

ToQuery DeleteThingType Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

AWSRequest DeleteThingType Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

Associated Types

type AWSResponse DeleteThingType #

Generic DeleteThingType Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

Associated Types

type Rep DeleteThingType :: Type -> Type #

Read DeleteThingType Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

Show DeleteThingType Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

NFData DeleteThingType Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

Methods

rnf :: DeleteThingType -> () #

Eq DeleteThingType Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

Hashable DeleteThingType Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

type AWSResponse DeleteThingType Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

type Rep DeleteThingType Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

type Rep DeleteThingType = D1 ('MetaData "DeleteThingType" "Amazonka.IoT.DeleteThingType" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "DeleteThingType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "thingTypeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteThingType Source #

Create a value of DeleteThingType with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

DeleteThingType, deleteThingType_thingTypeName - The name of the thing type.

Request Lenses

Destructuring the Response

data DeleteThingTypeResponse Source #

The output for the DeleteThingType operation.

See: newDeleteThingTypeResponse smart constructor.

Constructors

DeleteThingTypeResponse' 

Fields

Instances

Instances details
Generic DeleteThingTypeResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

Associated Types

type Rep DeleteThingTypeResponse :: Type -> Type #

Read DeleteThingTypeResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

Show DeleteThingTypeResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

NFData DeleteThingTypeResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

Methods

rnf :: DeleteThingTypeResponse -> () #

Eq DeleteThingTypeResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

type Rep DeleteThingTypeResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

type Rep DeleteThingTypeResponse = D1 ('MetaData "DeleteThingTypeResponse" "Amazonka.IoT.DeleteThingType" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "DeleteThingTypeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteThingTypeResponse Source #

Create a value of DeleteThingTypeResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:DeleteThingTypeResponse', deleteThingTypeResponse_httpStatus - The response's http status code.

Response Lenses