libZSservicesZSamazonka-iotZSamazonka-iot
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq DeleteThingType Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

Read DeleteThingType Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

Show DeleteThingType Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

Generic DeleteThingType Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

Associated Types

type Rep DeleteThingType :: Type -> Type #

NFData DeleteThingType Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

Methods

rnf :: DeleteThingType -> () #

Hashable DeleteThingType Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

AWSRequest DeleteThingType Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

Associated Types

type AWSResponse DeleteThingType #

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

type Rep DeleteThingType Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

type Rep DeleteThingType = D1 ('MetaData "DeleteThingType" "Amazonka.IoT.DeleteThingType" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DeleteThingType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "thingTypeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteThingType Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

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:

$sel:thingTypeName: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
Eq DeleteThingTypeResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

Read DeleteThingTypeResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

Show DeleteThingTypeResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

Generic DeleteThingTypeResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

Associated Types

type Rep DeleteThingTypeResponse :: Type -> Type #

NFData DeleteThingTypeResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

Methods

rnf :: DeleteThingTypeResponse -> () #

type Rep DeleteThingTypeResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingType

type Rep DeleteThingTypeResponse = D1 ('MetaData "DeleteThingTypeResponse" "Amazonka.IoT.DeleteThingType" "libZSservicesZSamazonka-iotZSamazonka-iot" '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