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>"""
    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 required for images that use the Docker Image Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.</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 required for images that use the Docker Image Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.

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.