repositories_in_domains
Creates, updates, deletes, gets or lists a repositories_in_domains resource.
Overview
| Name | repositories_in_domains |
| Type | Resource |
| Id | aws.codeartifact.repositories_in_domains |
Fields
The following fields are returned by SELECT queries:
- list_repositories_in_domain
| Name | Datatype | Description |
|---|---|---|
name | string | The name of the repository. (pattern: <code>[A-Za-z0-9][A-Za-z0-9._-]{1,99}</code>) |
administrator_account | string | The Amazon Web Services account ID that manages the repository. (pattern: <code>[0-9]{12}</code>) |
arn | string | The ARN of the repository. (pattern: <code>\S+</code>) |
created_time | string (date-time) | A timestamp that represents the date and time the repository was created. |
description | string | The description of the repository. (pattern: <code>\P{C}*</code>) |
domain_name | string | The name of the domain that contains the repository. (pattern: <code>[a-z][a-z0-9-]{0,48}[a-z0-9]</code>) |
domain_owner | string | The 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_repositories_in_domain | select | domain, region | domain-owner, administrator-account, repository-prefix, max-results, next-token | Returns 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.
| Name | Datatype | Description |
|---|---|---|
domain | string | The name of the domain that contains the returned list of repositories. |
region | string | AWS region (default: us-east-1) |
administrator-account | string | Filter the list of repositories to only include those that are managed by the Amazon Web Services account ID. |
domain-owner | string | The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. |
max-results | integer | The maximum number of results to return per page. |
next-token | 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. |
repository-prefix | string | A prefix used to filter returned repositories. Only repositories with names that start with repositoryPrefix are returned. |
SELECT examples
- list_repositories_in_domain
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 }}'
;