ListSharedProjects

class CodeBuild.Paginator.ListSharedProjects
paginator = client.get_paginator('list_shared_projects')
paginate(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    sortBy='ARN'|'MODIFIED_TIME',
    sortOrder='ASCENDING'|'DESCENDING',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • sortBy (string) --

    The criterion to be used to list build projects shared with the current Amazon Web Services account or user. Valid values include:

    • ARN : List based on the ARN.
    • MODIFIED_TIME : List based on when information about the shared project was last changed.
  • sortOrder (string) --

    The order in which to list shared build projects. Valid values include:

    • ASCENDING : List in ascending order.
    • DESCENDING : List in descending order.
  • 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

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

Response Structure

  • (dict) --

    • projects (list) --

      The list of ARNs for the build projects shared with the current Amazon Web Services account or user.

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

      A token to resume pagination.