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 |
Updates information about the billing group.
Requires permission to access the UpdateBillingGroup action.
Synopsis
- data UpdateBillingGroup = UpdateBillingGroup' {}
- newUpdateBillingGroup :: Text -> BillingGroupProperties -> UpdateBillingGroup
- updateBillingGroup_expectedVersion :: Lens' UpdateBillingGroup (Maybe Integer)
- updateBillingGroup_billingGroupName :: Lens' UpdateBillingGroup Text
- updateBillingGroup_billingGroupProperties :: Lens' UpdateBillingGroup BillingGroupProperties
- data UpdateBillingGroupResponse = UpdateBillingGroupResponse' {
- version :: Maybe Integer
- httpStatus :: Int
- newUpdateBillingGroupResponse :: Int -> UpdateBillingGroupResponse
- updateBillingGroupResponse_version :: Lens' UpdateBillingGroupResponse (Maybe Integer)
- updateBillingGroupResponse_httpStatus :: Lens' UpdateBillingGroupResponse Int
Creating a Request
data UpdateBillingGroup Source #
See: newUpdateBillingGroup
smart constructor.
UpdateBillingGroup' | |
|
Instances
newUpdateBillingGroup Source #
Create a value of UpdateBillingGroup
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:UpdateBillingGroup'
, updateBillingGroup_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
UpdateBillingGroup
request is rejected with a
VersionConflictException
.
$sel:billingGroupName:UpdateBillingGroup'
, updateBillingGroup_billingGroupName
- The name of the billing group.
$sel:billingGroupProperties:UpdateBillingGroup'
, updateBillingGroup_billingGroupProperties
- The properties of the billing group.
Request Lenses
updateBillingGroup_expectedVersion :: Lens' UpdateBillingGroup (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
UpdateBillingGroup
request is rejected with a
VersionConflictException
.
updateBillingGroup_billingGroupName :: Lens' UpdateBillingGroup Text Source #
The name of the billing group.
updateBillingGroup_billingGroupProperties :: Lens' UpdateBillingGroup BillingGroupProperties Source #
The properties of the billing group.
Destructuring the Response
data UpdateBillingGroupResponse Source #
See: newUpdateBillingGroupResponse
smart constructor.
UpdateBillingGroupResponse' | |
|
Instances
newUpdateBillingGroupResponse Source #
Create a value of UpdateBillingGroupResponse
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:version:UpdateBillingGroupResponse'
, updateBillingGroupResponse_version
- The latest version of the billing group.
$sel:httpStatus:UpdateBillingGroupResponse'
, updateBillingGroupResponse_httpStatus
- The response's http status code.
Response Lenses
updateBillingGroupResponse_version :: Lens' UpdateBillingGroupResponse (Maybe Integer) Source #
The latest version of the billing group.
updateBillingGroupResponse_httpStatus :: Lens' UpdateBillingGroupResponse Int Source #
The response's http status code.