CmdID

CmdID / aws / aws iot

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

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-groupsIdentify
Its 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

3 in the AWS CLI reference
--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.