CmdID / aws / aws codebuild
aws codebuild list-report-groups
Gets a list ARNs for the report groups in the current Amazon Web Services account. AWS CLI reference
1 example 4 options Its page in the AWS CLI reference
Examples
To get a list of the report group ARNs in AWS CodeBuild.
The following list-report-groups example retrieves the report group ARNs for the account in the region.
aws codebuild list-report-groupsIdentifyIts output
{
"reportGroups": [
"arn:aws:codebuild:<region-ID>:<user-ID>:report-group/report-group-1",
"arn:aws:codebuild:<region-ID>:<user-ID>:report-group/report-group-2",
"arn:aws:codebuild:<region-ID>:<user-ID>:report-group/report-group-3"
]
}For more information, see Working with report groups in the AWS CodeBuild User Guide.
Options
--max-resultsThe maximum number of paginated report groups returned per response.--next-tokenDuring a previous call, the maximum number of items that can be returned is the value specified in maxResults.--sort-byThe criterion to be used to list build report groups.--sort-orderUsed to specify the order to sort the list of returned report groups.