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

Description

Removes the given thing from the billing group.

Requires permission to access the RemoveThingFromBillingGroup action.

This call is asynchronous. It might take several seconds for the detachment to propagate.

Synopsis

Creating a Request

data RemoveThingFromBillingGroup Source #

See: newRemoveThingFromBillingGroup smart constructor.

Constructors

RemoveThingFromBillingGroup' 

Fields

Instances

Instances details
ToJSON RemoveThingFromBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromBillingGroup

ToHeaders RemoveThingFromBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromBillingGroup

ToPath RemoveThingFromBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromBillingGroup

ToQuery RemoveThingFromBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromBillingGroup

AWSRequest RemoveThingFromBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromBillingGroup

Generic RemoveThingFromBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromBillingGroup

Associated Types

type Rep RemoveThingFromBillingGroup :: Type -> Type #

Read RemoveThingFromBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromBillingGroup

Show RemoveThingFromBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromBillingGroup

NFData RemoveThingFromBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromBillingGroup

Eq RemoveThingFromBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromBillingGroup

Hashable RemoveThingFromBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromBillingGroup

type AWSResponse RemoveThingFromBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromBillingGroup

type Rep RemoveThingFromBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromBillingGroup

type Rep RemoveThingFromBillingGroup = D1 ('MetaData "RemoveThingFromBillingGroup" "Amazonka.IoT.RemoveThingFromBillingGroup" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "RemoveThingFromBillingGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "billingGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "billingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "thingArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "thingName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newRemoveThingFromBillingGroup :: RemoveThingFromBillingGroup Source #

Create a value of RemoveThingFromBillingGroup 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:billingGroupArn:RemoveThingFromBillingGroup', removeThingFromBillingGroup_billingGroupArn - The ARN of the billing group.

$sel:billingGroupName:RemoveThingFromBillingGroup', removeThingFromBillingGroup_billingGroupName - The name of the billing group.

RemoveThingFromBillingGroup, removeThingFromBillingGroup_thingArn - The ARN of the thing to be removed from the billing group.

RemoveThingFromBillingGroup, removeThingFromBillingGroup_thingName - The name of the thing to be removed from the billing group.

Request Lenses

removeThingFromBillingGroup_thingArn :: Lens' RemoveThingFromBillingGroup (Maybe Text) Source #

The ARN of the thing to be removed from the billing group.

removeThingFromBillingGroup_thingName :: Lens' RemoveThingFromBillingGroup (Maybe Text) Source #

The name of the thing to be removed from the billing group.

Destructuring the Response

data RemoveThingFromBillingGroupResponse Source #

Constructors

RemoveThingFromBillingGroupResponse' 

Fields

Instances

Instances details
Generic RemoveThingFromBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromBillingGroup

Read RemoveThingFromBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromBillingGroup

Show RemoveThingFromBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromBillingGroup

NFData RemoveThingFromBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromBillingGroup

Eq RemoveThingFromBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromBillingGroup

type Rep RemoveThingFromBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.RemoveThingFromBillingGroup

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

newRemoveThingFromBillingGroupResponse Source #

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

Response Lenses