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.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
- data RemoveThingFromBillingGroup = RemoveThingFromBillingGroup' {}
- newRemoveThingFromBillingGroup :: RemoveThingFromBillingGroup
- removeThingFromBillingGroup_billingGroupArn :: Lens' RemoveThingFromBillingGroup (Maybe Text)
- removeThingFromBillingGroup_billingGroupName :: Lens' RemoveThingFromBillingGroup (Maybe Text)
- removeThingFromBillingGroup_thingArn :: Lens' RemoveThingFromBillingGroup (Maybe Text)
- removeThingFromBillingGroup_thingName :: Lens' RemoveThingFromBillingGroup (Maybe Text)
- data RemoveThingFromBillingGroupResponse = RemoveThingFromBillingGroupResponse' {
- httpStatus :: Int
- newRemoveThingFromBillingGroupResponse :: Int -> RemoveThingFromBillingGroupResponse
- removeThingFromBillingGroupResponse_httpStatus :: Lens' RemoveThingFromBillingGroupResponse Int
Creating a Request
data RemoveThingFromBillingGroup Source #
See: newRemoveThingFromBillingGroup
smart constructor.
Constructors
RemoveThingFromBillingGroup' | |
Instances
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_billingGroupArn :: Lens' RemoveThingFromBillingGroup (Maybe Text) Source #
The ARN of the billing group.
removeThingFromBillingGroup_billingGroupName :: Lens' RemoveThingFromBillingGroup (Maybe Text) Source #
The name of the billing group.
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 #
See: newRemoveThingFromBillingGroupResponse
smart constructor.
Constructors
RemoveThingFromBillingGroupResponse' | |
Fields
|
Instances
newRemoveThingFromBillingGroupResponse Source #
Arguments
:: Int | |
-> RemoveThingFromBillingGroupResponse |
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
removeThingFromBillingGroupResponse_httpStatus :: Lens' RemoveThingFromBillingGroupResponse Int Source #
The response's http status code.