Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Adds a thing to a billing group.
Requires permission to access the AddThingToBillingGroup action.
Synopsis
- data AddThingToBillingGroup = AddThingToBillingGroup' {}
- newAddThingToBillingGroup :: AddThingToBillingGroup
- addThingToBillingGroup_thingArn :: Lens' AddThingToBillingGroup (Maybe Text)
- addThingToBillingGroup_billingGroupArn :: Lens' AddThingToBillingGroup (Maybe Text)
- addThingToBillingGroup_thingName :: Lens' AddThingToBillingGroup (Maybe Text)
- addThingToBillingGroup_billingGroupName :: Lens' AddThingToBillingGroup (Maybe Text)
- data AddThingToBillingGroupResponse = AddThingToBillingGroupResponse' {
- httpStatus :: Int
- newAddThingToBillingGroupResponse :: Int -> AddThingToBillingGroupResponse
- addThingToBillingGroupResponse_httpStatus :: Lens' AddThingToBillingGroupResponse Int
Creating a Request
data AddThingToBillingGroup Source #
See: newAddThingToBillingGroup
smart constructor.
Instances
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_billingGroupArn :: Lens' AddThingToBillingGroup (Maybe Text) Source #
The ARN of the billing group.
addThingToBillingGroup_thingName :: Lens' AddThingToBillingGroup (Maybe Text) Source #
The name of the thing to be added to the billing group.
addThingToBillingGroup_billingGroupName :: Lens' AddThingToBillingGroup (Maybe Text) Source #
The name of the billing group.
Destructuring the Response
data AddThingToBillingGroupResponse Source #
See: newAddThingToBillingGroupResponse
smart constructor.
AddThingToBillingGroupResponse' | |
|
Instances
Eq AddThingToBillingGroupResponse Source # | |
Read AddThingToBillingGroupResponse Source # | |
Show AddThingToBillingGroupResponse Source # | |
Defined in Amazonka.IoT.AddThingToBillingGroup | |
Generic AddThingToBillingGroupResponse Source # | |
NFData AddThingToBillingGroupResponse Source # | |
Defined in Amazonka.IoT.AddThingToBillingGroup rnf :: AddThingToBillingGroupResponse -> () # | |
type Rep AddThingToBillingGroupResponse Source # | |
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
addThingToBillingGroupResponse_httpStatus :: Lens' AddThingToBillingGroupResponse Int Source #
The response's http status code.