CmdID / aws / aws codebuild
aws codebuild list-reports-for-report-group
Returns a list of ARNs for the reports that belong to a ReportGroup. AWS CLI reference
1 example 5 options Its page in the AWS CLI reference
Examples
To get a list of the reports in a report group in AWS CodeBuild.
The following list-reports-for-report-group example retrieves the reports in the specified report group for the account in the region.
aws codebuild list-reports-for-report-group --report-group-arn arn:aws:codebuild:<region-ID>:<user-ID>:report-group/<report-group-name>Identify--report-group-arnThe ARN of the report group for which you want to return report ARNs.Its output
{
"reports": [
"arn:aws:codebuild:<region-ID>:<user-ID>:report/report-1",
"arn:aws:codebuild:<region-ID>:<user-ID>:report/report-2",
"arn:aws:codebuild:<region-ID>:<user-ID>:report/report-3"
]
}For more information, see Working with report groups in the AWS CodeBuild User Guide.
Options
--filterA ReportFilter object used to filter the returned reports.--max-resultsThe maximum number of paginated reports in this report group returned per response.--next-tokenDuring a previous call, the maximum number of items that can be returned is the value specified in maxResults.--report-group-arnThe ARN of the report group for which you want to return report ARNs.--sort-orderUse to specify whether the results are returned in ascending or descending order.