libZSservicesZSamazonka-ecr-publicZSamazonka-ecr-public
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.ECRPublic.BatchCheckLayerAvailability

Description

Checks the availability of one or more image layers within a repository in a public registry. When an image is pushed to a repository, each image layer is checked to verify if it has been uploaded before. If it has been uploaded, then the image layer is skipped.

This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

Synopsis

Creating a Request

data BatchCheckLayerAvailability Source #

See: newBatchCheckLayerAvailability smart constructor.

Constructors

BatchCheckLayerAvailability' 

Fields

  • registryId :: Maybe Text

    The AWS account ID associated with the public registry that contains the image layers to check. If you do not specify a registry, the default public registry is assumed.

  • repositoryName :: Text

    The name of the repository that is associated with the image layers to check.

  • layerDigests :: NonEmpty Text

    The digests of the image layers to check.

Instances

Instances details
Eq BatchCheckLayerAvailability Source # 
Instance details

Defined in Amazonka.ECRPublic.BatchCheckLayerAvailability

Read BatchCheckLayerAvailability Source # 
Instance details

Defined in Amazonka.ECRPublic.BatchCheckLayerAvailability

Show BatchCheckLayerAvailability Source # 
Instance details

Defined in Amazonka.ECRPublic.BatchCheckLayerAvailability

Generic BatchCheckLayerAvailability Source # 
Instance details

Defined in Amazonka.ECRPublic.BatchCheckLayerAvailability

Associated Types

type Rep BatchCheckLayerAvailability :: Type -> Type #

NFData BatchCheckLayerAvailability Source # 
Instance details

Defined in Amazonka.ECRPublic.BatchCheckLayerAvailability

Hashable BatchCheckLayerAvailability Source # 
Instance details

Defined in Amazonka.ECRPublic.BatchCheckLayerAvailability

ToJSON BatchCheckLayerAvailability Source # 
Instance details

Defined in Amazonka.ECRPublic.BatchCheckLayerAvailability

AWSRequest BatchCheckLayerAvailability Source # 
Instance details

Defined in Amazonka.ECRPublic.BatchCheckLayerAvailability

ToHeaders BatchCheckLayerAvailability Source # 
Instance details

Defined in Amazonka.ECRPublic.BatchCheckLayerAvailability

ToPath BatchCheckLayerAvailability Source # 
Instance details

Defined in Amazonka.ECRPublic.BatchCheckLayerAvailability

ToQuery BatchCheckLayerAvailability Source # 
Instance details

Defined in Amazonka.ECRPublic.BatchCheckLayerAvailability

type Rep BatchCheckLayerAvailability Source # 
Instance details

Defined in Amazonka.ECRPublic.BatchCheckLayerAvailability

type Rep BatchCheckLayerAvailability = D1 ('MetaData "BatchCheckLayerAvailability" "Amazonka.ECRPublic.BatchCheckLayerAvailability" "libZSservicesZSamazonka-ecr-publicZSamazonka-ecr-public" 'False) (C1 ('MetaCons "BatchCheckLayerAvailability'" 'PrefixI 'True) (S1 ('MetaSel ('Just "registryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "layerDigests") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text)))))
type AWSResponse BatchCheckLayerAvailability Source # 
Instance details

Defined in Amazonka.ECRPublic.BatchCheckLayerAvailability

newBatchCheckLayerAvailability Source #

Create a value of BatchCheckLayerAvailability 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:registryId:BatchCheckLayerAvailability', batchCheckLayerAvailability_registryId - The AWS account ID associated with the public registry that contains the image layers to check. If you do not specify a registry, the default public registry is assumed.

$sel:repositoryName:BatchCheckLayerAvailability', batchCheckLayerAvailability_repositoryName - The name of the repository that is associated with the image layers to check.

$sel:layerDigests:BatchCheckLayerAvailability', batchCheckLayerAvailability_layerDigests - The digests of the image layers to check.

Request Lenses

batchCheckLayerAvailability_registryId :: Lens' BatchCheckLayerAvailability (Maybe Text) Source #

The AWS account ID associated with the public registry that contains the image layers to check. If you do not specify a registry, the default public registry is assumed.

batchCheckLayerAvailability_repositoryName :: Lens' BatchCheckLayerAvailability Text Source #

The name of the repository that is associated with the image layers to check.

Destructuring the Response

data BatchCheckLayerAvailabilityResponse Source #

Constructors

BatchCheckLayerAvailabilityResponse' 

Fields

Instances

Instances details
Eq BatchCheckLayerAvailabilityResponse Source # 
Instance details

Defined in Amazonka.ECRPublic.BatchCheckLayerAvailability

Read BatchCheckLayerAvailabilityResponse Source # 
Instance details

Defined in Amazonka.ECRPublic.BatchCheckLayerAvailability

Show BatchCheckLayerAvailabilityResponse Source # 
Instance details

Defined in Amazonka.ECRPublic.BatchCheckLayerAvailability

Generic BatchCheckLayerAvailabilityResponse Source # 
Instance details

Defined in Amazonka.ECRPublic.BatchCheckLayerAvailability

NFData BatchCheckLayerAvailabilityResponse Source # 
Instance details

Defined in Amazonka.ECRPublic.BatchCheckLayerAvailability

type Rep BatchCheckLayerAvailabilityResponse Source # 
Instance details

Defined in Amazonka.ECRPublic.BatchCheckLayerAvailability

type Rep BatchCheckLayerAvailabilityResponse = D1 ('MetaData "BatchCheckLayerAvailabilityResponse" "Amazonka.ECRPublic.BatchCheckLayerAvailability" "libZSservicesZSamazonka-ecr-publicZSamazonka-ecr-public" 'False) (C1 ('MetaCons "BatchCheckLayerAvailabilityResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "failures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LayerFailure])) :*: (S1 ('MetaSel ('Just "layers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Layer])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newBatchCheckLayerAvailabilityResponse Source #

Create a value of BatchCheckLayerAvailabilityResponse 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:failures:BatchCheckLayerAvailabilityResponse', batchCheckLayerAvailabilityResponse_failures - Any failures associated with the call.

$sel:layers:BatchCheckLayerAvailabilityResponse', batchCheckLayerAvailabilityResponse_layers - A list of image layer objects corresponding to the image layer references in the request.

$sel:httpStatus:BatchCheckLayerAvailabilityResponse', batchCheckLayerAvailabilityResponse_httpStatus - The response's http status code.

Response Lenses

batchCheckLayerAvailabilityResponse_layers :: Lens' BatchCheckLayerAvailabilityResponse (Maybe [Layer]) Source #

A list of image layer objects corresponding to the image layer references in the request.