Skip to content

AssociateRepositoriesRequest

Source code in docs_src/capo_ecr_public/types/associate_repositories_request.py
class AssociateRepositoriesRequest(TypedDict, closed=True):
    registry_id: NotRequired["capo_ecr_public.types.registry_id.RegistryId"]
    """<p>The Amazon Web Services account ID that's associated with the public registry that contains the repositories to associate. If you do not specify a registry, the default public registry is assumed. You can specify only your own account ID. Cross-account access through a repository policy isn't supported for this operation.</p>"""
    repository_name: "capo_ecr_public.types.repository_name.RepositoryName"
    """<p>The name of the source repository.</p>"""
    repository_type: "capo_ecr_public.types.repository_type.RepositoryType"
    """<p>The type of the source repository. Valid values:</p> <ul> <li> <p> <code>FREE</code>: A free repository.</p> </li> <li> <p> <code>PREMIUM</code>: A premium repository that holds paid content.</p> </li> </ul>"""
    associated_repository_name: "capo_ecr_public.types.repository_name.RepositoryName"
    """<p>The name of the repository to associate with the source repository.</p>"""
    associated_repository_type: "capo_ecr_public.types.repository_type.RepositoryType"
    """<p>The type of the repository to associate with the source repository. This must be different from the type of the source repository. Valid values:</p> <ul> <li> <p> <code>FREE</code>: A free repository.</p> </li> <li> <p> <code>PREMIUM</code>: A premium repository that holds paid content.</p> </li> </ul>"""

associated_repository_name instance-attribute

associated_repository_name: RepositoryName

The name of the repository to associate with the source repository.

associated_repository_type instance-attribute

associated_repository_type: RepositoryType

The type of the repository to associate with the source repository. This must be different from the type of the source repository. Valid values:

  • FREE: A free repository.

  • PREMIUM: A premium repository that holds paid content.

registry_id instance-attribute

registry_id: NotRequired[RegistryId]

The Amazon Web Services account ID that's associated with the public registry that contains the repositories to associate. If you do not specify a registry, the default public registry is assumed. You can specify only your own account ID. Cross-account access through a repository policy isn't supported for this operation.

repository_name instance-attribute

repository_name: RepositoryName

The name of the source repository.

repository_type instance-attribute

repository_type: RepositoryType

The type of the source repository. Valid values:

  • FREE: A free repository.

  • PREMIUM: A premium repository that holds paid content.