ListReportGroups

class CodeBuild.Paginator.ListReportGroups
paginator = client.get_paginator('list_report_groups')
paginate(**kwargs)

Creates an iterator that will paginate through responses from CodeBuild.Client.list_report_groups().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    sortOrder='ASCENDING'|'DESCENDING',
    sortBy='NAME'|'CREATED_TIME'|'LAST_MODIFIED_TIME',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • sortOrder (string) -- Used to specify the order to sort the list of returned report groups. Valid values are ASCENDING and DESCENDING .
  • sortBy (string) --

    The criterion to be used to list build report groups. Valid values include:

    • CREATED_TIME : List based on when each report group was created.
    • LAST_MODIFIED_TIME : List based on when each report group was last changed.
    • NAME : List based on each report group's name.
  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) --

      The size of each page.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type

dict

Returns

Response Syntax

{
    'reportGroups': [
        'string',
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • reportGroups (list) --

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

      • (string) --
    • NextToken (string) --

      A token to resume pagination.