Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aws
GitHub Repository: aws/aws-cli
Path: blob/develop/awscli/examples/codebuild/batch-get-report-groups.rst
1567 views
**To get information about one or more report groups in AWS CodeBuild.**

The following ``batch-get-report-groups`` example retrieves information about the report group with the specified ARN. ::

    aws codebuild batch-get-report-groups \
        --report-group-arns arn:aws:codebuild:<region-ID>:<user-ID>:report-group/<report-group-name>

Output::

    {
        "reportGroups": [
            {
                "arn": "arn:aws:codebuild:<region-ID>:<user-ID>:report-group/<report-group-name>",
                "name": "report-group-name",
                "type": "TEST",
                "exportConfig": {
                    "exportConfigType": "NO_EXPORT"
                },
                "created": "2020-10-01T18:04:08.466000+00:00",
                "lastModified": "2020-10-01T18:04:08.466000+00:00",
                "tags": []
            }
        ],
        "reportGroupsNotFound": []
    }

For more information, see `Working with report groups  <https://docs.aws.amazon.com/codebuild/latest/userguide/test-report-group.html>`__ in the *AWS CodeBuild User Guide*.