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 |
Creates a billing group.
Requires permission to access the CreateBillingGroup action.
Synopsis
- data CreateBillingGroup = CreateBillingGroup' {}
- newCreateBillingGroup :: Text -> CreateBillingGroup
- createBillingGroup_billingGroupProperties :: Lens' CreateBillingGroup (Maybe BillingGroupProperties)
- createBillingGroup_tags :: Lens' CreateBillingGroup (Maybe [Tag])
- createBillingGroup_billingGroupName :: Lens' CreateBillingGroup Text
- data CreateBillingGroupResponse = CreateBillingGroupResponse' {}
- newCreateBillingGroupResponse :: Int -> CreateBillingGroupResponse
- createBillingGroupResponse_billingGroupArn :: Lens' CreateBillingGroupResponse (Maybe Text)
- createBillingGroupResponse_billingGroupName :: Lens' CreateBillingGroupResponse (Maybe Text)
- createBillingGroupResponse_billingGroupId :: Lens' CreateBillingGroupResponse (Maybe Text)
- createBillingGroupResponse_httpStatus :: Lens' CreateBillingGroupResponse Int
Creating a Request
data CreateBillingGroup Source #
See: newCreateBillingGroup
smart constructor.
CreateBillingGroup' | |
|
Instances
newCreateBillingGroup Source #
Create a value of CreateBillingGroup
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:billingGroupProperties:CreateBillingGroup'
, createBillingGroup_billingGroupProperties
- The properties of the billing group.
$sel:tags:CreateBillingGroup'
, createBillingGroup_tags
- Metadata which can be used to manage the billing group.
$sel:billingGroupName:CreateBillingGroup'
, createBillingGroup_billingGroupName
- The name you wish to give to the billing group.
Request Lenses
createBillingGroup_billingGroupProperties :: Lens' CreateBillingGroup (Maybe BillingGroupProperties) Source #
The properties of the billing group.
createBillingGroup_tags :: Lens' CreateBillingGroup (Maybe [Tag]) Source #
Metadata which can be used to manage the billing group.
createBillingGroup_billingGroupName :: Lens' CreateBillingGroup Text Source #
The name you wish to give to the billing group.
Destructuring the Response
data CreateBillingGroupResponse Source #
See: newCreateBillingGroupResponse
smart constructor.
CreateBillingGroupResponse' | |
|
Instances
newCreateBillingGroupResponse Source #
Create a value of CreateBillingGroupResponse
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:CreateBillingGroupResponse'
, createBillingGroupResponse_billingGroupArn
- The ARN of the billing group.
$sel:billingGroupName:CreateBillingGroup'
, createBillingGroupResponse_billingGroupName
- The name you gave to the billing group.
$sel:billingGroupId:CreateBillingGroupResponse'
, createBillingGroupResponse_billingGroupId
- The ID of the billing group.
$sel:httpStatus:CreateBillingGroupResponse'
, createBillingGroupResponse_httpStatus
- The response's http status code.
Response Lenses
createBillingGroupResponse_billingGroupArn :: Lens' CreateBillingGroupResponse (Maybe Text) Source #
The ARN of the billing group.
createBillingGroupResponse_billingGroupName :: Lens' CreateBillingGroupResponse (Maybe Text) Source #
The name you gave to the billing group.
createBillingGroupResponse_billingGroupId :: Lens' CreateBillingGroupResponse (Maybe Text) Source #
The ID of the billing group.
createBillingGroupResponse_httpStatus :: Lens' CreateBillingGroupResponse Int Source #
The response's http status code.