Skip to content

SetImageStatusResponse

Source code in docs_src/capo_ecr_public/types/set_image_status_response.py
class SetImageStatusResponse(TypedDict, closed=True):
    repository_name: NotRequired["capo_ecr_public.types.repository_name.RepositoryName"]
    """<p>The repository name that's associated with the request.</p>"""
    repository_type: NotRequired["capo_ecr_public.types.repository_type.RepositoryType"]
    """<p>The type of the repository.</p>"""
    image_id: NotRequired["capo_ecr_public.types.image_identifier.ImageIdentifier"]
    """<p>The image ID of the image that the status was set on.</p>"""
    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>"""

image_id instance-attribute

image_id: NotRequired[ImageIdentifier]

The image ID of the image that the status was set on.

repository_name instance-attribute

repository_name: NotRequired[RepositoryName]

The repository name that's associated with the request.

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.

status instance-attribute

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.