amazonka-ecr-2.0: Amazon EC2 Container Registry SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ECR.Types.ImageDetail

Description

 
Synopsis

Documentation

data ImageDetail Source #

An object that describes an image returned by a DescribeImages operation.

See: newImageDetail smart constructor.

Constructors

ImageDetail' 

Fields

  • artifactMediaType :: Maybe Text

    The artifact media type of the image.

  • imageDigest :: Maybe Text

    The sha256 digest of the image manifest.

  • imageManifestMediaType :: Maybe Text

    The media type of the image manifest.

  • imagePushedAt :: Maybe POSIX

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

  • imageScanFindingsSummary :: Maybe ImageScanFindingsSummary

    A summary of the last completed image scan.

  • imageScanStatus :: Maybe ImageScanStatus

    The current state of the scan.

  • imageSizeInBytes :: Maybe Integer

    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.

  • imageTags :: Maybe [Text]

    The list of tags associated with this image.

  • lastRecordedPullTime :: Maybe POSIX

    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.

  • registryId :: Maybe Text

    The Amazon Web Services account ID associated with the registry to which this image belongs.

  • repositoryName :: Maybe Text

    The name of the repository to which this image belongs.

Instances

Instances details
FromJSON ImageDetail Source # 
Instance details

Defined in Amazonka.ECR.Types.ImageDetail

Generic ImageDetail Source # 
Instance details

Defined in Amazonka.ECR.Types.ImageDetail

Associated Types

type Rep ImageDetail :: Type -> Type #

Read ImageDetail Source # 
Instance details

Defined in Amazonka.ECR.Types.ImageDetail

Show ImageDetail Source # 
Instance details

Defined in Amazonka.ECR.Types.ImageDetail

NFData ImageDetail Source # 
Instance details

Defined in Amazonka.ECR.Types.ImageDetail

Methods

rnf :: ImageDetail -> () #

Eq ImageDetail Source # 
Instance details

Defined in Amazonka.ECR.Types.ImageDetail

Hashable ImageDetail Source # 
Instance details

Defined in Amazonka.ECR.Types.ImageDetail

type Rep ImageDetail Source # 
Instance details

Defined in Amazonka.ECR.Types.ImageDetail

type Rep ImageDetail = D1 ('MetaData "ImageDetail" "Amazonka.ECR.Types.ImageDetail" "amazonka-ecr-2.0-BqgZWPod2JCFn2nq69DCrJ" 'False) (C1 ('MetaCons "ImageDetail'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "artifactMediaType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "imageDigest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "imageManifestMediaType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "imagePushedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "imageScanFindingsSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImageScanFindingsSummary))))) :*: ((S1 ('MetaSel ('Just "imageScanStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImageScanStatus)) :*: (S1 ('MetaSel ('Just "imageSizeInBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "imageTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "lastRecordedPullTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "registryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

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_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.