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.DeprecateThingType

Description

Deprecates a thing type. You can not associate new things with deprecated thing type.

Requires permission to access the DeprecateThingType action.

Synopsis

Creating a Request

data DeprecateThingType Source #

The input for the DeprecateThingType operation.

See: newDeprecateThingType smart constructor.

Constructors

DeprecateThingType' 

Fields

  • undoDeprecate :: Maybe Bool

    Whether to undeprecate a deprecated thing type. If true, the thing type will not be deprecated anymore and you can associate it with things.

  • thingTypeName :: Text

    The name of the thing type to deprecate.

Instances

Instances details
Eq DeprecateThingType Source # 
Instance details

Defined in Amazonka.IoT.DeprecateThingType

Read DeprecateThingType Source # 
Instance details

Defined in Amazonka.IoT.DeprecateThingType

Show DeprecateThingType Source # 
Instance details

Defined in Amazonka.IoT.DeprecateThingType

Generic DeprecateThingType Source # 
Instance details

Defined in Amazonka.IoT.DeprecateThingType

Associated Types

type Rep DeprecateThingType :: Type -> Type #

NFData DeprecateThingType Source # 
Instance details

Defined in Amazonka.IoT.DeprecateThingType

Methods

rnf :: DeprecateThingType -> () #

Hashable DeprecateThingType Source # 
Instance details

Defined in Amazonka.IoT.DeprecateThingType

ToJSON DeprecateThingType Source # 
Instance details

Defined in Amazonka.IoT.DeprecateThingType

AWSRequest DeprecateThingType Source # 
Instance details

Defined in Amazonka.IoT.DeprecateThingType

Associated Types

type AWSResponse DeprecateThingType #

ToHeaders DeprecateThingType Source # 
Instance details

Defined in Amazonka.IoT.DeprecateThingType

ToPath DeprecateThingType Source # 
Instance details

Defined in Amazonka.IoT.DeprecateThingType

ToQuery DeprecateThingType Source # 
Instance details

Defined in Amazonka.IoT.DeprecateThingType

type Rep DeprecateThingType Source # 
Instance details

Defined in Amazonka.IoT.DeprecateThingType

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

Defined in Amazonka.IoT.DeprecateThingType

newDeprecateThingType Source #

Create a value of DeprecateThingType 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:undoDeprecate:DeprecateThingType', deprecateThingType_undoDeprecate - Whether to undeprecate a deprecated thing type. If true, the thing type will not be deprecated anymore and you can associate it with things.

$sel:thingTypeName:DeprecateThingType', deprecateThingType_thingTypeName - The name of the thing type to deprecate.

Request Lenses

deprecateThingType_undoDeprecate :: Lens' DeprecateThingType (Maybe Bool) Source #

Whether to undeprecate a deprecated thing type. If true, the thing type will not be deprecated anymore and you can associate it with things.

deprecateThingType_thingTypeName :: Lens' DeprecateThingType Text Source #

The name of the thing type to deprecate.

Destructuring the Response

data DeprecateThingTypeResponse Source #

The output for the DeprecateThingType operation.

See: newDeprecateThingTypeResponse smart constructor.

Constructors

DeprecateThingTypeResponse' 

Fields

Instances

Instances details
Eq DeprecateThingTypeResponse Source # 
Instance details

Defined in Amazonka.IoT.DeprecateThingType

Read DeprecateThingTypeResponse Source # 
Instance details

Defined in Amazonka.IoT.DeprecateThingType

Show DeprecateThingTypeResponse Source # 
Instance details

Defined in Amazonka.IoT.DeprecateThingType

Generic DeprecateThingTypeResponse Source # 
Instance details

Defined in Amazonka.IoT.DeprecateThingType

Associated Types

type Rep DeprecateThingTypeResponse :: Type -> Type #

NFData DeprecateThingTypeResponse Source # 
Instance details

Defined in Amazonka.IoT.DeprecateThingType

type Rep DeprecateThingTypeResponse Source # 
Instance details

Defined in Amazonka.IoT.DeprecateThingType

type Rep DeprecateThingTypeResponse = D1 ('MetaData "DeprecateThingTypeResponse" "Amazonka.IoT.DeprecateThingType" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DeprecateThingTypeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeprecateThingTypeResponse Source #

Create a value of DeprecateThingTypeResponse 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:DeprecateThingTypeResponse', deprecateThingTypeResponse_httpStatus - The response's http status code.

Response Lenses