Skip to content

PutImageRequest

Source code in docs_src/capo_ecr_public/types/put_image_request.py
class PutImageRequest(TypedDict, closed=True):
    registry_id: NotRequired[
        "capo_ecr_public.types.registry_id_or_alias.RegistryIdOrAlias"
    ]
    """<p>The Amazon Web Services account ID, or registry alias, that's associated with the public registry that contains the repository where the image is put. If you do not specify a registry, the default public registry is assumed.</p>"""
    repository_name: "capo_ecr_public.types.repository_name.RepositoryName"
    """<p>The name of the repository where the image is put.</p>"""
    repository_type: NotRequired["capo_ecr_public.types.repository_type.RepositoryType"]
    """<p>The type of the repository. If you don't specify a type, Amazon ECR uses <code>FREE</code>. 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>"""
    image_manifest: "capo_ecr_public.types.image_manifest.ImageManifest"
    """<p>The image manifest that corresponds to the image to be uploaded.</p>"""
    image_manifest_media_type: NotRequired["capo_ecr_public.types.media_type.MediaType"]
    """<p>The media type of the image manifest. If you push an image manifest that doesn't contain the <code>mediaType</code> field, you must specify the <code>imageManifestMediaType</code> in the request.</p>"""
    image_tag: NotRequired["capo_ecr_public.types.image_tag.ImageTag"]
    """<p>The tag to associate with the image. This parameter is optional.</p>"""
    image_digest: NotRequired["capo_ecr_public.types.image_digest.ImageDigest"]
    """<p>The image digest of the image manifest that corresponds to the image.</p>"""

image_digest instance-attribute

image_digest: NotRequired[ImageDigest]

The image digest of the image manifest that corresponds to the image.

image_manifest instance-attribute

image_manifest: ImageManifest

The image manifest that corresponds to the image to be uploaded.

image_manifest_media_type instance-attribute

image_manifest_media_type: NotRequired[MediaType]

The media type of the image manifest. If you push an image manifest that doesn't contain the mediaType field, you must specify the imageManifestMediaType in the request.

image_tag instance-attribute

image_tag: NotRequired[ImageTag]

The tag to associate with the image. This parameter is optional.

registry_id instance-attribute

registry_id: NotRequired[RegistryIdOrAlias]

The Amazon Web Services account ID, or registry alias, that's associated with the public registry that contains the repository where the image is put. If you do not specify a registry, the default public registry is assumed.

repository_name instance-attribute

repository_name: RepositoryName

The name of the repository where the image is put.

repository_type instance-attribute

repository_type: NotRequired[RepositoryType]

The type of the repository. If you don't specify a type, Amazon ECR uses FREE. Valid values:

  • FREE: A free repository.

  • PREMIUM: A premium repository that holds paid content.