Skip to content

ImageDetail

Source code in docs_src/capo_ecr_public/types/image_detail.py
class ImageDetail(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 where this image belongs.</p>"""
    repository_name: NotRequired["capo_ecr_public.types.repository_name.RepositoryName"]
    """<p>The name of the repository where this image belongs.</p>"""
    repository_type: NotRequired["capo_ecr_public.types.repository_type.RepositoryType"]
    """<p>The type of the repository.</p>"""
    image_digest: NotRequired["capo_ecr_public.types.image_digest.ImageDigest"]
    """<p>The <code>sha256</code> digest of the image manifest.</p>"""
    image_tags: NotRequired["capo_ecr_public.types.image_tag_list.ImageTagList"]
    """<p>The list of tags that's associated with this image.</p>"""
    image_size_in_bytes: NotRequired[
        "capo_ecr_public.types.image_size_in_bytes.ImageSizeInBytes"
    ]
    """<p>The size, in bytes, of the image in the repository.</p> <p>If the image is a manifest list, this is the max size of all manifests in the list.</p> <note> <p>Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker registry. The output of the <code>docker images</code> command shows the uncompressed image size, so it might return a larger image size than the image sizes that are returned by <code>DescribeImages</code>.</p> </note>"""
    image_pushed_at: NotRequired["capo_ecr_public.types.push_timestamp.PushTimestamp"]
    """<p>The date and time, expressed in standard JavaScript date format, that the current image was pushed to the repository at. </p>"""
    image_manifest_media_type: NotRequired["capo_ecr_public.types.media_type.MediaType"]
    """<p>The media type of the image manifest.</p>"""
    artifact_media_type: NotRequired["capo_ecr_public.types.media_type.MediaType"]
    """<p>The artifact media type of the image.</p>"""
    subject_manifest_digest: NotRequired[
        "capo_ecr_public.types.image_digest.ImageDigest"
    ]
    """<p>The digest of the manifest that this image refers to as its subject.</p>"""
    image_status: NotRequired["capo_ecr_public.types.image_status.ImageStatus"]
    """<p>The status of the image. Valid values:</p> <ul> <li> <p> <code>ACTIVE</code>: The image isn't scheduled for deletion.</p> </li> <li> <p> <code>DEPRECATED</code>: The image is scheduled for deletion. Entitled buyers can still pull it until it's deleted.</p> </li> </ul>"""
    scheduled_deletion_at: NotRequired["capo_ecr_public.types.timestamp.Timestamp"]
    """<p>The date and time that the deprecated image is scheduled for deletion. This is the time of the <code>SetImageStatus</code> request plus the deprecation period. Amazon ECR deletes the image within 24 hours after this time. Amazon ECR returns this value only when the image status is <code>DEPRECATED</code>.</p>"""

artifact_media_type instance-attribute

artifact_media_type: NotRequired[MediaType]

The artifact media type of the image.

image_digest instance-attribute

image_digest: NotRequired[ImageDigest]

The sha256 digest of the image manifest.

image_manifest_media_type instance-attribute

image_manifest_media_type: NotRequired[MediaType]

The media type of the image manifest.

image_pushed_at instance-attribute

image_pushed_at: NotRequired[PushTimestamp]

The date and time, expressed in standard JavaScript date format, that the current image was pushed to the repository at.

image_size_in_bytes instance-attribute

image_size_in_bytes: NotRequired[ImageSizeInBytes]

The size, in bytes, of the image in the repository.

If the image is a manifest list, this is the max size of all manifests in the list.

Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker registry. The output of the docker images command shows the uncompressed image size, so it might return a larger image size than the image sizes that are returned by DescribeImages.

image_status instance-attribute

image_status: NotRequired[ImageStatus]

The status of the image. Valid values:

  • ACTIVE: The image isn't scheduled for deletion.

  • DEPRECATED: The image is scheduled for deletion. Entitled buyers can still pull it until it's deleted.

image_tags instance-attribute

image_tags: NotRequired[ImageTagList]

The list of tags that's associated with this image.

registry_id instance-attribute

registry_id: NotRequired[RegistryId]

The Amazon Web Services account ID that's associated with the public registry where this image belongs.

repository_name instance-attribute

repository_name: NotRequired[RepositoryName]

The name of the repository where this image belongs.

repository_type instance-attribute

repository_type: NotRequired[RepositoryType]

The type of the repository.

scheduled_deletion_at instance-attribute

scheduled_deletion_at: NotRequired[Timestamp]

The date and time that the deprecated image is scheduled for deletion. This is the time of the SetImageStatus request plus the deprecation period. Amazon ECR deletes the image within 24 hours after this time. Amazon ECR returns this value only when the image status is DEPRECATED.

subject_manifest_digest instance-attribute

subject_manifest_digest: NotRequired[ImageDigest]

The digest of the manifest that this image refers to as its subject.