libZSservicesZSamazonka-ecrZSamazonka-ecr
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ECR.Types.Layer

Description

 
Synopsis

Documentation

data Layer Source #

An object representing an Amazon ECR image layer.

See: newLayer smart constructor.

Constructors

Layer' 

Fields

Instances

Instances details
Eq Layer Source # 
Instance details

Defined in Amazonka.ECR.Types.Layer

Methods

(==) :: Layer -> Layer -> Bool #

(/=) :: Layer -> Layer -> Bool #

Read Layer Source # 
Instance details

Defined in Amazonka.ECR.Types.Layer

Show Layer Source # 
Instance details

Defined in Amazonka.ECR.Types.Layer

Methods

showsPrec :: Int -> Layer -> ShowS #

show :: Layer -> String #

showList :: [Layer] -> ShowS #

Generic Layer Source # 
Instance details

Defined in Amazonka.ECR.Types.Layer

Associated Types

type Rep Layer :: Type -> Type #

Methods

from :: Layer -> Rep Layer x #

to :: Rep Layer x -> Layer #

NFData Layer Source # 
Instance details

Defined in Amazonka.ECR.Types.Layer

Methods

rnf :: Layer -> () #

Hashable Layer Source # 
Instance details

Defined in Amazonka.ECR.Types.Layer

Methods

hashWithSalt :: Int -> Layer -> Int #

hash :: Layer -> Int #

FromJSON Layer Source # 
Instance details

Defined in Amazonka.ECR.Types.Layer

type Rep Layer Source # 
Instance details

Defined in Amazonka.ECR.Types.Layer

type Rep Layer = D1 ('MetaData "Layer" "Amazonka.ECR.Types.Layer" "libZSservicesZSamazonka-ecrZSamazonka-ecr" 'False) (C1 ('MetaCons "Layer'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "mediaType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "layerDigest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "layerSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "layerAvailability") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LayerAvailability)))))

newLayer :: Layer Source #

Create a value of Layer 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:mediaType:Layer', layer_mediaType - The media type of the layer, such as application/vnd.docker.image.rootfs.diff.tar.gzip or application/vnd.oci.image.layer.v1.tar+gzip.

$sel:layerDigest:Layer', layer_layerDigest - The sha256 digest of the image layer.

$sel:layerSize:Layer', layer_layerSize - The size, in bytes, of the image layer.

$sel:layerAvailability:Layer', layer_layerAvailability - The availability status of the image layer.

layer_mediaType :: Lens' Layer (Maybe Text) Source #

The media type of the layer, such as application/vnd.docker.image.rootfs.diff.tar.gzip or application/vnd.oci.image.layer.v1.tar+gzip.

layer_layerDigest :: Lens' Layer (Maybe Text) Source #

The sha256 digest of the image layer.

layer_layerSize :: Lens' Layer (Maybe Integer) Source #

The size, in bytes, of the image layer.

layer_layerAvailability :: Lens' Layer (Maybe LayerAvailability) Source #

The availability status of the image layer.