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

Description

Adds a thing to a billing group.

Requires permission to access the AddThingToBillingGroup action.

Synopsis

Creating a Request

data AddThingToBillingGroup Source #

See: newAddThingToBillingGroup smart constructor.

Constructors

AddThingToBillingGroup' 

Fields

Instances

Instances details
ToJSON AddThingToBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

ToHeaders AddThingToBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

ToPath AddThingToBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

ToQuery AddThingToBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

AWSRequest AddThingToBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

Associated Types

type AWSResponse AddThingToBillingGroup #

Generic AddThingToBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

Associated Types

type Rep AddThingToBillingGroup :: Type -> Type #

Read AddThingToBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

Show AddThingToBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

NFData AddThingToBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

Methods

rnf :: AddThingToBillingGroup -> () #

Eq AddThingToBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

Hashable AddThingToBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

type AWSResponse AddThingToBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

type Rep AddThingToBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

type Rep AddThingToBillingGroup = D1 ('MetaData "AddThingToBillingGroup" "Amazonka.IoT.AddThingToBillingGroup" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "AddThingToBillingGroup'" '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)))))

newAddThingToBillingGroup :: AddThingToBillingGroup Source #

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

$sel:billingGroupName:AddThingToBillingGroup', addThingToBillingGroup_billingGroupName - The name of the billing group.

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

AddThingToBillingGroup, addThingToBillingGroup_thingArn - The ARN of the thing to be added to the billing group.

AddThingToBillingGroup, addThingToBillingGroup_thingName - The name of the thing to be added to the billing group.

Request Lenses

addThingToBillingGroup_billingGroupName :: Lens' AddThingToBillingGroup (Maybe Text) Source #

The name of the billing group.

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

addThingToBillingGroup_thingArn :: Lens' AddThingToBillingGroup (Maybe Text) Source #

The ARN of the thing to be added to the billing group.

addThingToBillingGroup_thingName :: Lens' AddThingToBillingGroup (Maybe Text) Source #

The name of the thing to be added to the billing group.

Destructuring the Response

data AddThingToBillingGroupResponse Source #

See: newAddThingToBillingGroupResponse smart constructor.

Constructors

AddThingToBillingGroupResponse' 

Fields

Instances

Instances details
Generic AddThingToBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

Associated Types

type Rep AddThingToBillingGroupResponse :: Type -> Type #

Read AddThingToBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

Show AddThingToBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

NFData AddThingToBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

Eq AddThingToBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

type Rep AddThingToBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

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

newAddThingToBillingGroupResponse Source #

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

Response Lenses