Skip to content

CreateRepositoryRequest

Source code in docs_src/capo_codeartifact/types/create_repository_request.py
class CreateRepositoryRequest(TypedDict, closed=True):
    domain: "capo_codeartifact.types.domain_name.DomainName"
    """<p> The name of the domain that contains the created repository. </p>"""
    domain_owner: NotRequired["capo_codeartifact.types.account_id.AccountId"]
    """<p> The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. </p>"""
    repository: "capo_codeartifact.types.repository_name.RepositoryName"
    """<p>The name of the repository to create. </p>"""
    description: NotRequired["capo_codeartifact.types.description.Description"]
    """<p> A description of the created repository. </p>"""
    upstreams: NotRequired[
        "capo_codeartifact.types.upstream_repository_list.UpstreamRepositoryList"
    ]
    """<p> A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html">Working with upstream repositories</a>. </p>"""
    tags: NotRequired["capo_codeartifact.types.tag_list.TagList"]
    """<p>One or more tag key-value pairs for the repository.</p>"""

description instance-attribute

description: NotRequired[Description]

A description of the created repository.

domain instance-attribute

domain: DomainName

The name of the domain that contains the created repository.

domain_owner instance-attribute

domain_owner: NotRequired[AccountId]

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

repository instance-attribute

repository: RepositoryName

The name of the repository to create.

tags instance-attribute

tags: NotRequired[TagList]

One or more tag key-value pairs for the repository.

upstreams instance-attribute

upstreams: NotRequired[UpstreamRepositoryList]

A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.