Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Layer = Layer' {}
- newLayer :: Layer
- layer_mediaType :: Lens' Layer (Maybe Text)
- layer_layerDigest :: Lens' Layer (Maybe Text)
- layer_layerSize :: Lens' Layer (Maybe Integer)
- layer_layerAvailability :: Lens' Layer (Maybe LayerAvailability)
Documentation
An object representing an Amazon ECR image layer.
See: newLayer
smart constructor.
Layer' | |
|
Instances
Eq Layer Source # | |
Read Layer Source # | |
Show Layer Source # | |
Generic Layer Source # | |
NFData Layer Source # | |
Defined in Amazonka.ECRPublic.Types.Layer | |
Hashable Layer Source # | |
Defined in Amazonka.ECRPublic.Types.Layer | |
FromJSON Layer Source # | |
type Rep Layer Source # | |
Defined in Amazonka.ECRPublic.Types.Layer type Rep Layer = D1 ('MetaData "Layer" "Amazonka.ECRPublic.Types.Layer" "libZSservicesZSamazonka-ecr-publicZSamazonka-ecr-public" '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))))) |
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_layerAvailability :: Lens' Layer (Maybe LayerAvailability) Source #
The availability status of the image layer.