pub struct Image {
pub image_digest: String,
pub image_manifest: String,
pub image_manifest_media_type: String,
pub artifact_media_type: Option<String>,
pub image_size_in_bytes: u64,
pub image_pushed_at: DateTime<Utc>,
pub last_recorded_pull_time: Option<DateTime<Utc>>,
pub image_status: String,
pub last_archived_at: Option<DateTime<Utc>>,
pub last_activated_at: Option<DateTime<Utc>>,
pub last_in_use_at: Option<DateTime<Utc>>,
pub in_use_count: u64,
}Fields§
§image_digest: String§image_manifest: String§image_manifest_media_type: String§artifact_media_type: Option<String>§image_size_in_bytes: u64§image_pushed_at: DateTime<Utc>§last_recorded_pull_time: Option<DateTime<Utc>>§image_status: StringLifecycle/storage state surfaced through ImageDetail.imageStatus
in DescribeImages. One of ACTIVE, ARCHIVED, ACTIVATING.
Defaults to ACTIVE (the only value AWS exposes for newly pushed
images); transitions are driven by UpdateImageStorageClass.
last_archived_at: Option<DateTime<Utc>>Last time UpdateImageStorageClass archived this image. None
while the image has never been archived. Surfaced as
ImageDetail.lastArchivedAt.
last_activated_at: Option<DateTime<Utc>>Last time UpdateImageStorageClass restored this image from
archive. None while the image has never been activated from
archive. Surfaced as ImageDetail.lastActivatedAt.
last_in_use_at: Option<DateTime<Utc>>Last time the image was read by a pull-shaped op (BatchGetImage,
GetDownloadUrlForLayer, OCI manifest GET, OCI blob GET). Updated
alongside last_recorded_pull_time so callers that rely on the
fakecloud-extension lastInUseAt/inUseCount pair can introspect
pull frequency in tests.
in_use_count: u64Monotonic counter of pull-shaped accesses. Bumped by the same
touch points that update last_in_use_at. Defaults to 0; not
part of the AWS Smithy model — fakecloud surfaces it as
inUseCount in DescribeImages for parity with the user
expectation.