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 |
Removes the given thing from the billing group.
Requires permission to access the RemoveThingFromBillingGroup action.
Synopsis
- data RemoveThingFromBillingGroup = RemoveThingFromBillingGroup' {}
- newRemoveThingFromBillingGroup :: RemoveThingFromBillingGroup
- removeThingFromBillingGroup_thingArn :: Lens' RemoveThingFromBillingGroup (Maybe Text)
- removeThingFromBillingGroup_billingGroupArn :: Lens' RemoveThingFromBillingGroup (Maybe Text)
- removeThingFromBillingGroup_thingName :: Lens' RemoveThingFromBillingGroup (Maybe Text)
- removeThingFromBillingGroup_billingGroupName :: 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.
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:thingArn:RemoveThingFromBillingGroup'
, removeThingFromBillingGroup_thingArn
- The ARN of the thing to be removed from the billing group.
$sel:billingGroupArn:RemoveThingFromBillingGroup'
, removeThingFromBillingGroup_billingGroupArn
- The ARN of the billing group.
$sel:thingName:RemoveThingFromBillingGroup'
, removeThingFromBillingGroup_thingName
- The name of the thing to be removed from the billing group.
$sel:billingGroupName:RemoveThingFromBillingGroup'
, removeThingFromBillingGroup_billingGroupName
- The name of the billing group.
Request Lenses
removeThingFromBillingGroup_thingArn :: Lens' RemoveThingFromBillingGroup (Maybe Text) Source #
The ARN of the thing to be removed from the billing group.
removeThingFromBillingGroup_billingGroupArn :: Lens' RemoveThingFromBillingGroup (Maybe Text) Source #
The ARN of the billing group.
removeThingFromBillingGroup_thingName :: Lens' RemoveThingFromBillingGroup (Maybe Text) Source #
The name of the thing to be removed from the billing group.
removeThingFromBillingGroup_billingGroupName :: Lens' RemoveThingFromBillingGroup (Maybe Text) Source #
The name of the billing group.
Destructuring the Response
data RemoveThingFromBillingGroupResponse Source #
See: newRemoveThingFromBillingGroupResponse
smart constructor.
RemoveThingFromBillingGroupResponse' | |
|
Instances
Eq RemoveThingFromBillingGroupResponse Source # | |
Read RemoveThingFromBillingGroupResponse Source # | |
Show RemoveThingFromBillingGroupResponse Source # | |
Generic RemoveThingFromBillingGroupResponse Source # | |
NFData RemoveThingFromBillingGroupResponse Source # | |
Defined in Amazonka.IoT.RemoveThingFromBillingGroup rnf :: RemoveThingFromBillingGroupResponse -> () # | |
type Rep RemoveThingFromBillingGroupResponse Source # | |
Defined in Amazonka.IoT.RemoveThingFromBillingGroup type Rep RemoveThingFromBillingGroupResponse = D1 ('MetaData "RemoveThingFromBillingGroupResponse" "Amazonka.IoT.RemoveThingFromBillingGroup" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "RemoveThingFromBillingGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newRemoveThingFromBillingGroupResponse Source #
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.