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

Description

Remove the specified thing from the specified group.

You must specify either a thingGroupArn or a thingGroupName to identify the thing group and either a thingArn or a thingName to identify the thing to remove from the thing group.

Requires permission to access the RemoveThingFromThingGroup action.

Synopsis

Creating a Request

data RemoveThingFromThingGroup Source #

See: newRemoveThingFromThingGroup smart constructor.

Constructors

RemoveThingFromThingGroup' 

Fields

Instances

Instances details
Eq RemoveThingFromThingGroup Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromThingGroup

Read RemoveThingFromThingGroup Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromThingGroup

Show RemoveThingFromThingGroup Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromThingGroup

Generic RemoveThingFromThingGroup Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromThingGroup

Associated Types

type Rep RemoveThingFromThingGroup :: Type -> Type #

NFData RemoveThingFromThingGroup Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromThingGroup

Hashable RemoveThingFromThingGroup Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromThingGroup

ToJSON RemoveThingFromThingGroup Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromThingGroup

AWSRequest RemoveThingFromThingGroup Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromThingGroup

ToHeaders RemoveThingFromThingGroup Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromThingGroup

ToPath RemoveThingFromThingGroup Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromThingGroup

ToQuery RemoveThingFromThingGroup Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromThingGroup

type Rep RemoveThingFromThingGroup Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromThingGroup

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

Defined in Amazonka.IoT.RemoveThingFromThingGroup

newRemoveThingFromThingGroup :: RemoveThingFromThingGroup Source #

Create a value of RemoveThingFromThingGroup 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:thingGroupArn:RemoveThingFromThingGroup', removeThingFromThingGroup_thingGroupArn - The group ARN.

$sel:thingArn:RemoveThingFromThingGroup', removeThingFromThingGroup_thingArn - The ARN of the thing to remove from the group.

$sel:thingGroupName:RemoveThingFromThingGroup', removeThingFromThingGroup_thingGroupName - The group name.

$sel:thingName:RemoveThingFromThingGroup', removeThingFromThingGroup_thingName - The name of the thing to remove from the group.

Request Lenses

removeThingFromThingGroup_thingArn :: Lens' RemoveThingFromThingGroup (Maybe Text) Source #

The ARN of the thing to remove from the group.

removeThingFromThingGroup_thingName :: Lens' RemoveThingFromThingGroup (Maybe Text) Source #

The name of the thing to remove from the group.

Destructuring the Response

data RemoveThingFromThingGroupResponse Source #

See: newRemoveThingFromThingGroupResponse smart constructor.

Constructors

RemoveThingFromThingGroupResponse' 

Fields

Instances

Instances details
Eq RemoveThingFromThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromThingGroup

Read RemoveThingFromThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromThingGroup

Show RemoveThingFromThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromThingGroup

Generic RemoveThingFromThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromThingGroup

Associated Types

type Rep RemoveThingFromThingGroupResponse :: Type -> Type #

NFData RemoveThingFromThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromThingGroup

type Rep RemoveThingFromThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromThingGroup

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

newRemoveThingFromThingGroupResponse Source #

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

Response Lenses