| 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 |
Amazonka.IoT.DescribeBillingGroup
Description
Returns information about a billing group.
Requires permission to access the DescribeBillingGroup action.
Synopsis
- data DescribeBillingGroup = DescribeBillingGroup' {}
- newDescribeBillingGroup :: Text -> DescribeBillingGroup
- describeBillingGroup_billingGroupName :: Lens' DescribeBillingGroup Text
- data DescribeBillingGroupResponse = DescribeBillingGroupResponse' {}
- newDescribeBillingGroupResponse :: Int -> DescribeBillingGroupResponse
- describeBillingGroupResponse_billingGroupArn :: Lens' DescribeBillingGroupResponse (Maybe Text)
- describeBillingGroupResponse_version :: Lens' DescribeBillingGroupResponse (Maybe Integer)
- describeBillingGroupResponse_billingGroupProperties :: Lens' DescribeBillingGroupResponse (Maybe BillingGroupProperties)
- describeBillingGroupResponse_billingGroupName :: Lens' DescribeBillingGroupResponse (Maybe Text)
- describeBillingGroupResponse_billingGroupId :: Lens' DescribeBillingGroupResponse (Maybe Text)
- describeBillingGroupResponse_billingGroupMetadata :: Lens' DescribeBillingGroupResponse (Maybe BillingGroupMetadata)
- describeBillingGroupResponse_httpStatus :: Lens' DescribeBillingGroupResponse Int
Creating a Request
data DescribeBillingGroup Source #
See: newDescribeBillingGroup smart constructor.
Constructors
| DescribeBillingGroup' | |
Fields
| |
Instances
newDescribeBillingGroup Source #
Create a value of DescribeBillingGroup 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:billingGroupName:DescribeBillingGroup', describeBillingGroup_billingGroupName - The name of the billing group.
Request Lenses
describeBillingGroup_billingGroupName :: Lens' DescribeBillingGroup Text Source #
The name of the billing group.
Destructuring the Response
data DescribeBillingGroupResponse Source #
See: newDescribeBillingGroupResponse smart constructor.
Constructors
| DescribeBillingGroupResponse' | |
Fields
| |
Instances
newDescribeBillingGroupResponse Source #
Create a value of DescribeBillingGroupResponse 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:DescribeBillingGroupResponse', describeBillingGroupResponse_billingGroupArn - The ARN of the billing group.
$sel:version:DescribeBillingGroupResponse', describeBillingGroupResponse_version - The version of the billing group.
$sel:billingGroupProperties:DescribeBillingGroupResponse', describeBillingGroupResponse_billingGroupProperties - The properties of the billing group.
$sel:billingGroupName:DescribeBillingGroup', describeBillingGroupResponse_billingGroupName - The name of the billing group.
$sel:billingGroupId:DescribeBillingGroupResponse', describeBillingGroupResponse_billingGroupId - The ID of the billing group.
$sel:billingGroupMetadata:DescribeBillingGroupResponse', describeBillingGroupResponse_billingGroupMetadata - Additional information about the billing group.
$sel:httpStatus:DescribeBillingGroupResponse', describeBillingGroupResponse_httpStatus - The response's http status code.
Response Lenses
describeBillingGroupResponse_billingGroupArn :: Lens' DescribeBillingGroupResponse (Maybe Text) Source #
The ARN of the billing group.
describeBillingGroupResponse_version :: Lens' DescribeBillingGroupResponse (Maybe Integer) Source #
The version of the billing group.
describeBillingGroupResponse_billingGroupProperties :: Lens' DescribeBillingGroupResponse (Maybe BillingGroupProperties) Source #
The properties of the billing group.
describeBillingGroupResponse_billingGroupName :: Lens' DescribeBillingGroupResponse (Maybe Text) Source #
The name of the billing group.
describeBillingGroupResponse_billingGroupId :: Lens' DescribeBillingGroupResponse (Maybe Text) Source #
The ID of the billing group.
describeBillingGroupResponse_billingGroupMetadata :: Lens' DescribeBillingGroupResponse (Maybe BillingGroupMetadata) Source #
Additional information about the billing group.
describeBillingGroupResponse_httpStatus :: Lens' DescribeBillingGroupResponse Int Source #
The response's http status code.