v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1445247249.8 KB

Gets a list ARNs for the report groups in the current Amazon Web Services account.

post/#X-Amz-Target=CodeBuild_20161006.ListReportGroups

Query parameters

maxResultsstring

Pagination limit

nextTokenstring

Pagination token

Headers

X-Amz-Target'CodeBuild_20161006.ListReportGroups' required

Request body

sortOrder'ASCENDING' | 'DESCENDING'

Used to specify the order to sort the list of returned report groups. Valid values are <code>ASCENDING</code> and <code>DESCENDING</code>.

sortBy'NAME' | 'CREATED_TIME' | 'LAST_MODIFIED_TIME'
<p> The criterion to be used to list build report groups. Valid values include: </p> <ul> <li> <p> <code>CREATED_TIME</code>: List based on when each report group was created.</p> </li> <li> <p> <code>LAST_MODIFIED_TIME</code>: List based on when each report group was last changed.</p> </li> <li> <p> <code>NAME</code>: List based on each report group's name.</p> </li> </ul>
nextTokenstring

During a previous call, the maximum number of items that can be returned is the value specified in <code>maxResults</code>. If there more items in the list, then a unique string called a <i>nextToken</i> is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.

maxResultsinteger

The maximum number of paginated report groups returned per response. Use <code>nextToken</code> to iterate pages in the list of returned <code>ReportGroup</code> objects. The default value is 100.

Response

Success

nextTokenstring

During a previous call, the maximum number of items that can be returned is the value specified in <code>maxResults</code>. If there more items in the list, then a unique string called a <i>nextToken</i> is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.

reportGroupsNonEmptyString[]

The list of ARNs for the report groups in the current Amazon Web Services account.