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

Description

Deletes a thing group.

Requires permission to access the DeleteThingGroup action.

Synopsis

Creating a Request

data DeleteThingGroup Source #

See: newDeleteThingGroup smart constructor.

Constructors

DeleteThingGroup' 

Fields

Instances

Instances details
Eq DeleteThingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingGroup

Read DeleteThingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingGroup

Show DeleteThingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingGroup

Generic DeleteThingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingGroup

Associated Types

type Rep DeleteThingGroup :: Type -> Type #

NFData DeleteThingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingGroup

Methods

rnf :: DeleteThingGroup -> () #

Hashable DeleteThingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingGroup

AWSRequest DeleteThingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingGroup

Associated Types

type AWSResponse DeleteThingGroup #

ToHeaders DeleteThingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingGroup

ToPath DeleteThingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingGroup

ToQuery DeleteThingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingGroup

type Rep DeleteThingGroup Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingGroup

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

Defined in Amazonka.IoT.DeleteThingGroup

newDeleteThingGroup Source #

Create a value of DeleteThingGroup 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:expectedVersion:DeleteThingGroup', deleteThingGroup_expectedVersion - The expected version of the thing group to delete.

$sel:thingGroupName:DeleteThingGroup', deleteThingGroup_thingGroupName - The name of the thing group to delete.

Request Lenses

deleteThingGroup_expectedVersion :: Lens' DeleteThingGroup (Maybe Integer) Source #

The expected version of the thing group to delete.

deleteThingGroup_thingGroupName :: Lens' DeleteThingGroup Text Source #

The name of the thing group to delete.

Destructuring the Response

data DeleteThingGroupResponse Source #

See: newDeleteThingGroupResponse smart constructor.

Constructors

DeleteThingGroupResponse' 

Fields

Instances

Instances details
Eq DeleteThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingGroup

Read DeleteThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingGroup

Show DeleteThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingGroup

Generic DeleteThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingGroup

Associated Types

type Rep DeleteThingGroupResponse :: Type -> Type #

NFData DeleteThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingGroup

type Rep DeleteThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteThingGroup

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

newDeleteThingGroupResponse Source #

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

Response Lenses