| 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.CreateBillingGroup
Description
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_billingGroupId :: Lens' CreateBillingGroupResponse (Maybe Text)
- createBillingGroupResponse_billingGroupName :: Lens' CreateBillingGroupResponse (Maybe Text)
- createBillingGroupResponse_httpStatus :: Lens' CreateBillingGroupResponse Int
Creating a Request
data CreateBillingGroup Source #
See: newCreateBillingGroup smart constructor.
Constructors
| CreateBillingGroup' | |
Fields
| |
Instances
newCreateBillingGroup Source #
Arguments
| :: Text | |
| -> CreateBillingGroup |
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.
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.
Constructors
| CreateBillingGroupResponse' | |
Fields
| |
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:billingGroupId:CreateBillingGroupResponse', createBillingGroupResponse_billingGroupId - The ID of the billing group.
CreateBillingGroup, createBillingGroupResponse_billingGroupName - The name you gave to 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_billingGroupId :: Lens' CreateBillingGroupResponse (Maybe Text) Source #
The ID of the billing group.
createBillingGroupResponse_billingGroupName :: Lens' CreateBillingGroupResponse (Maybe Text) Source #
The name you gave to the billing group.
createBillingGroupResponse_httpStatus :: Lens' CreateBillingGroupResponse Int Source #
The response's http status code.