list_repositories_in_domain

CodeArtifact.Client.list_repositories_in_domain(**kwargs)

Returns a list of RepositorySummary objects. Each RepositorySummary contains information about a repository in the specified domain and that matches the input parameters.

See also: AWS API Documentation

Request Syntax

response = client.list_repositories_in_domain(
    domain='string',
    domainOwner='string',
    administratorAccount='string',
    repositoryPrefix='string',
    maxResults=123,
    nextToken='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.
  • maxResults (integer) -- The maximum number of results to return per page.
  • nextToken (string) -- The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
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) --

      If there are additional results, this is the token for the next set of results.

Exceptions

  • CodeArtifact.Client.exceptions.AccessDeniedException
  • CodeArtifact.Client.exceptions.InternalServerException
  • CodeArtifact.Client.exceptions.ResourceNotFoundException
  • CodeArtifact.Client.exceptions.ThrottlingException
  • CodeArtifact.Client.exceptions.ValidationException