Skip to main content

repositories_in_domains

Creates, updates, deletes, gets or lists a repositories_in_domains resource.

Overview

Namerepositories_in_domains
TypeResource
Idaws.codeartifact.repositories_in_domains

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the repository. (pattern: <code>[A-Za-z0-9][A-Za-z0-9._-]{1,99}</code>)
administrator_accountstringThe Amazon Web Services account ID that manages the repository. (pattern: <code>[0-9]{12}</code>)
arnstringThe ARN of the repository. (pattern: <code>\S+</code>)
created_timestring (date-time)A timestamp that represents the date and time the repository was created.
descriptionstringThe description of the repository. (pattern: <code>\P{C}*</code>)
domain_namestringThe name of the domain that contains the repository. (pattern: <code>[a-z][a-z0-9-]{0,48}[a-z0-9]</code>)
domain_ownerstringThe 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. (pattern: <code>[0-9]{12}</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_repositories_in_domainselectdomain, regiondomain-owner, administrator-account, repository-prefix, max-results, next-tokenReturns a list of RepositorySummary objects. Each RepositorySummary contains information about a repository in the specified domain and that matches the input parameters.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
domainstringThe name of the domain that contains the returned list of repositories.
regionstringAWS region (default: us-east-1)
administrator-accountstringFilter the list of repositories to only include those that are managed by the Amazon Web Services account ID.
domain-ownerstringThe 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
max-resultsintegerThe maximum number of results to return per page.
next-tokenstringThe 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.
repository-prefixstringA prefix used to filter returned repositories. Only repositories with names that start with repositoryPrefix are returned.

SELECT examples

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

SELECT
name,
administrator_account,
arn,
created_time,
description,
domain_name,
domain_owner
FROM aws.codeartifact.repositories_in_domains
WHERE domain = '{{ domain }}' -- required
AND region = '{{ region }}' -- required
AND `domain-owner` = '{{ domain-owner }}'
AND `administrator-account` = '{{ administrator-account }}'
AND `repository-prefix` = '{{ repository-prefix }}'
AND `max-results` = '{{ max-results }}'
AND `next-token` = '{{ next-token }}'
;