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.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
Eq AddThingToBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

Read AddThingToBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

Show AddThingToBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

Generic AddThingToBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

Associated Types

type Rep AddThingToBillingGroup :: Type -> Type #

NFData AddThingToBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

Methods

rnf :: AddThingToBillingGroup -> () #

Hashable AddThingToBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

ToJSON AddThingToBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

AWSRequest AddThingToBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

Associated Types

type AWSResponse 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

type Rep AddThingToBillingGroup Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

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

Defined in Amazonka.IoT.AddThingToBillingGroup

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:thingArn:AddThingToBillingGroup', addThingToBillingGroup_thingArn - The ARN of the thing to be added to the billing group.

$sel:billingGroupArn:AddThingToBillingGroup', addThingToBillingGroup_billingGroupArn - The ARN of the billing group.

$sel:thingName:AddThingToBillingGroup', addThingToBillingGroup_thingName - The name of the thing to be added to the billing group.

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

Request Lenses

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
Eq AddThingToBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

Read AddThingToBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

Show AddThingToBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

Generic AddThingToBillingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.AddThingToBillingGroup

Associated Types

type Rep AddThingToBillingGroupResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-iotZSamazonka-iot" '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