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 |
Deletes the billing group.
Requires permission to access the DeleteBillingGroup action.
Synopsis
- data DeleteBillingGroup = DeleteBillingGroup' {}
- newDeleteBillingGroup :: Text -> DeleteBillingGroup
- deleteBillingGroup_expectedVersion :: Lens' DeleteBillingGroup (Maybe Integer)
- deleteBillingGroup_billingGroupName :: Lens' DeleteBillingGroup Text
- data DeleteBillingGroupResponse = DeleteBillingGroupResponse' {
- httpStatus :: Int
- newDeleteBillingGroupResponse :: Int -> DeleteBillingGroupResponse
- deleteBillingGroupResponse_httpStatus :: Lens' DeleteBillingGroupResponse Int
Creating a Request
data DeleteBillingGroup Source #
See: newDeleteBillingGroup
smart constructor.
DeleteBillingGroup' | |
|
Instances
newDeleteBillingGroup Source #
Create a value of DeleteBillingGroup
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:expectedVersion:DeleteBillingGroup'
, deleteBillingGroup_expectedVersion
- The expected version of the billing group. If the version of the billing
group does not match the expected version specified in the request, the
DeleteBillingGroup
request is rejected with a
VersionConflictException
.
$sel:billingGroupName:DeleteBillingGroup'
, deleteBillingGroup_billingGroupName
- The name of the billing group.
Request Lenses
deleteBillingGroup_expectedVersion :: Lens' DeleteBillingGroup (Maybe Integer) Source #
The expected version of the billing group. If the version of the billing
group does not match the expected version specified in the request, the
DeleteBillingGroup
request is rejected with a
VersionConflictException
.
deleteBillingGroup_billingGroupName :: Lens' DeleteBillingGroup Text Source #
The name of the billing group.
Destructuring the Response
data DeleteBillingGroupResponse Source #
See: newDeleteBillingGroupResponse
smart constructor.
DeleteBillingGroupResponse' | |
|
Instances
newDeleteBillingGroupResponse Source #
Create a value of DeleteBillingGroupResponse
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:DeleteBillingGroupResponse'
, deleteBillingGroupResponse_httpStatus
- The response's http status code.
Response Lenses
deleteBillingGroupResponse_httpStatus :: Lens' DeleteBillingGroupResponse Int Source #
The response's http status code.