ListRepositories

class CodeArtifact.Paginator.ListRepositories
paginator = client.get_paginator('list_repositories')
paginate(**kwargs)

Creates an iterator that will paginate through responses from CodeArtifact.Client.list_repositories().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    repositoryPrefix='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • repositoryPrefix (string) -- A prefix used to filter returned repositories. Only repositories with names that start with repositoryPrefix are returned.
  • 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

{
    'repositories': [
        {
            'name': 'string',
            'administratorAccount': 'string',
            'domainName': 'string',
            'domainOwner': 'string',
            'arn': 'string',
            'description': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • repositories (list) --

      The returned list of RepositorySummary objects.

      • (dict) --

        Details about a repository, including its Amazon Resource Name (ARN), description, and domain information. The ListRepositories operation returns a list of RepositorySummary objects.

        • name (string) --

          The name of the repository.

        • administratorAccount (string) --

          The Amazon Web Services account ID that manages the repository.

        • domainName (string) --

          The name of the domain that contains the repository.

        • domainOwner (string) --

          The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

        • arn (string) --

          The ARN of the repository.

        • description (string) --

          The description of the repository.

    • NextToken (string) --

      A token to resume pagination.