Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ImageDetail = ImageDetail' {
- artifactMediaType :: Maybe Text
- imageDigest :: Maybe Text
- imageManifestMediaType :: Maybe Text
- imagePushedAt :: Maybe POSIX
- imageScanFindingsSummary :: Maybe ImageScanFindingsSummary
- imageScanStatus :: Maybe ImageScanStatus
- imageSizeInBytes :: Maybe Integer
- imageTags :: Maybe [Text]
- lastRecordedPullTime :: Maybe POSIX
- registryId :: Maybe Text
- repositoryName :: Maybe Text
- newImageDetail :: ImageDetail
- imageDetail_artifactMediaType :: Lens' ImageDetail (Maybe Text)
- imageDetail_imageDigest :: Lens' ImageDetail (Maybe Text)
- imageDetail_imageManifestMediaType :: Lens' ImageDetail (Maybe Text)
- imageDetail_imagePushedAt :: Lens' ImageDetail (Maybe UTCTime)
- imageDetail_imageScanFindingsSummary :: Lens' ImageDetail (Maybe ImageScanFindingsSummary)
- imageDetail_imageScanStatus :: Lens' ImageDetail (Maybe ImageScanStatus)
- imageDetail_imageSizeInBytes :: Lens' ImageDetail (Maybe Integer)
- imageDetail_imageTags :: Lens' ImageDetail (Maybe [Text])
- imageDetail_lastRecordedPullTime :: Lens' ImageDetail (Maybe UTCTime)
- imageDetail_registryId :: Lens' ImageDetail (Maybe Text)
- imageDetail_repositoryName :: Lens' ImageDetail (Maybe Text)
Documentation
data ImageDetail Source #
An object that describes an image returned by a DescribeImages operation.
See: newImageDetail
smart constructor.
ImageDetail' | |
|
Instances
newImageDetail :: ImageDetail Source #
Create a value of ImageDetail
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:artifactMediaType:ImageDetail'
, imageDetail_artifactMediaType
- The artifact media type of the image.
$sel:imageDigest:ImageDetail'
, imageDetail_imageDigest
- The sha256
digest of the image manifest.
$sel:imageManifestMediaType:ImageDetail'
, imageDetail_imageManifestMediaType
- The media type of the image manifest.
$sel:imagePushedAt:ImageDetail'
, imageDetail_imagePushedAt
- The date and time, expressed in standard JavaScript date format, at
which the current image was pushed to the repository.
$sel:imageScanFindingsSummary:ImageDetail'
, imageDetail_imageScanFindingsSummary
- A summary of the last completed image scan.
$sel:imageScanStatus:ImageDetail'
, imageDetail_imageScanStatus
- The current state of the scan.
$sel:imageSizeInBytes:ImageDetail'
, imageDetail_imageSizeInBytes
- The size, in bytes, of the image in the repository.
If the image is a manifest list, this will be 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 may
return a larger image size than the image sizes returned by
DescribeImages.
$sel:imageTags:ImageDetail'
, imageDetail_imageTags
- The list of tags associated with this image.
$sel:lastRecordedPullTime:ImageDetail'
, imageDetail_lastRecordedPullTime
- The date and time, expressed in standard JavaScript date format, when
Amazon ECR recorded the last image pull.
Amazon ECR refreshes the last image pull timestamp at least once every
24 hours. For example, if you pull an image once a day then the
lastRecordedPullTime
timestamp will indicate the exact time that the
image was last pulled. However, if you pull an image once an hour,
because Amazon ECR refreshes the lastRecordedPullTime
timestamp at
least once every 24 hours, the result may not be the exact time that the
image was last pulled.
$sel:registryId:ImageDetail'
, imageDetail_registryId
- The Amazon Web Services account ID associated with the registry to which
this image belongs.
$sel:repositoryName:ImageDetail'
, imageDetail_repositoryName
- The name of the repository to which this image belongs.
imageDetail_artifactMediaType :: Lens' ImageDetail (Maybe Text) Source #
The artifact media type of the image.
imageDetail_imageDigest :: Lens' ImageDetail (Maybe Text) Source #
The sha256
digest of the image manifest.
imageDetail_imageManifestMediaType :: Lens' ImageDetail (Maybe Text) Source #
The media type of the image manifest.
imageDetail_imagePushedAt :: Lens' ImageDetail (Maybe UTCTime) Source #
The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.
imageDetail_imageScanFindingsSummary :: Lens' ImageDetail (Maybe ImageScanFindingsSummary) Source #
A summary of the last completed image scan.
imageDetail_imageScanStatus :: Lens' ImageDetail (Maybe ImageScanStatus) Source #
The current state of the scan.
imageDetail_imageSizeInBytes :: Lens' ImageDetail (Maybe Integer) Source #
The size, in bytes, of the image in the repository.
If the image is a manifest list, this will be 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 may
return a larger image size than the image sizes returned by
DescribeImages.
imageDetail_imageTags :: Lens' ImageDetail (Maybe [Text]) Source #
The list of tags associated with this image.
imageDetail_lastRecordedPullTime :: Lens' ImageDetail (Maybe UTCTime) Source #
The date and time, expressed in standard JavaScript date format, when Amazon ECR recorded the last image pull.
Amazon ECR refreshes the last image pull timestamp at least once every
24 hours. For example, if you pull an image once a day then the
lastRecordedPullTime
timestamp will indicate the exact time that the
image was last pulled. However, if you pull an image once an hour,
because Amazon ECR refreshes the lastRecordedPullTime
timestamp at
least once every 24 hours, the result may not be the exact time that the
image was last pulled.
imageDetail_registryId :: Lens' ImageDetail (Maybe Text) Source #
The Amazon Web Services account ID associated with the registry to which this image belongs.
imageDetail_repositoryName :: Lens' ImageDetail (Maybe Text) Source #
The name of the repository to which this image belongs.