aws iot list-billing-groups
Lists the billing groups you have created. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To list the billing groups for your AWS account and region
The following list-billing-groups example lists all billing groups that are defined for your AWS account and AWS Region.
aws iot list-billing-groupsIdentifyIts output
{
"billingGroups": [
{
"groupName": "GroupOne",
"groupArn": "arn:aws:iot:us-west-2:123456789012:billinggroup/GroupOne"
}
]
}For more information, see Billing Groups in the AWS IoT Developers Guide.
Options
--max-resultsThe maximum number of results to return per request.--name-prefix-filterLimit the results to billing groups whose names have the given prefix.--next-tokenTo retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.