Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

ListRepositoriesInDomain

class CodeArtifact.Paginator.ListRepositoriesInDomain
paginator = client.get_paginator('list_repositories_in_domain')
paginate(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    domain='string',
    domainOwner='string',
    administratorAccount='string',
    repositoryPrefix='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • domain (string) --

    [REQUIRED]

    The name of the domain that contains the returned list of repositories.

  • domainOwner (string) -- The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
  • administratorAccount (string) -- Filter the list of repositories to only include those that are managed by the Amazon Web Services account ID.
  • 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 repositories.

      • (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.