| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.AddThingToBillingGroup
Description
Adds a thing to a billing group.
Requires permission to access the AddThingToBillingGroup action.
Synopsis
- data AddThingToBillingGroup = AddThingToBillingGroup' {}
- newAddThingToBillingGroup :: AddThingToBillingGroup
- addThingToBillingGroup_billingGroupArn :: Lens' AddThingToBillingGroup (Maybe Text)
- addThingToBillingGroup_billingGroupName :: Lens' AddThingToBillingGroup (Maybe Text)
- addThingToBillingGroup_thingArn :: Lens' AddThingToBillingGroup (Maybe Text)
- addThingToBillingGroup_thingName :: 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.
Constructors
| AddThingToBillingGroup' | |
Fields
| |
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: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_billingGroupArn :: Lens' AddThingToBillingGroup (Maybe Text) Source #
The ARN of the billing group.
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
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.