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

Description

Gets detailed information for an image. Images are specified with either an imageTag or imageDigest.

When an image is pulled, the BatchGetImage API is called once to retrieve the image manifest.

Synopsis

Creating a Request

data BatchGetImage Source #

See: newBatchGetImage smart constructor.

Constructors

BatchGetImage' 

Fields

  • registryId :: Maybe Text

    The Amazon Web Services account ID associated with the registry that contains the images to describe. If you do not specify a registry, the default registry is assumed.

  • acceptedMediaTypes :: Maybe (NonEmpty Text)

    The accepted media types for the request.

    Valid values: application/vnd.docker.distribution.manifest.v1+json | application/vnd.docker.distribution.manifest.v2+json | application/vnd.oci.image.manifest.v1+json

  • repositoryName :: Text

    The repository that contains the images to describe.

  • imageIds :: [ImageIdentifier]

    A list of image ID references that correspond to images to describe. The format of the imageIds reference is imageTag=tag or imageDigest=digest.

Instances

Instances details
Eq BatchGetImage Source # 
Instance details

Defined in Amazonka.ECR.BatchGetImage

Read BatchGetImage Source # 
Instance details

Defined in Amazonka.ECR.BatchGetImage

Show BatchGetImage Source # 
Instance details

Defined in Amazonka.ECR.BatchGetImage

Generic BatchGetImage Source # 
Instance details

Defined in Amazonka.ECR.BatchGetImage

Associated Types

type Rep BatchGetImage :: Type -> Type #

NFData BatchGetImage Source # 
Instance details

Defined in Amazonka.ECR.BatchGetImage

Methods

rnf :: BatchGetImage -> () #

Hashable BatchGetImage Source # 
Instance details

Defined in Amazonka.ECR.BatchGetImage

ToJSON BatchGetImage Source # 
Instance details

Defined in Amazonka.ECR.BatchGetImage

AWSRequest BatchGetImage Source # 
Instance details

Defined in Amazonka.ECR.BatchGetImage

Associated Types

type AWSResponse BatchGetImage #

ToHeaders BatchGetImage Source # 
Instance details

Defined in Amazonka.ECR.BatchGetImage

ToPath BatchGetImage Source # 
Instance details

Defined in Amazonka.ECR.BatchGetImage

ToQuery BatchGetImage Source # 
Instance details

Defined in Amazonka.ECR.BatchGetImage

type Rep BatchGetImage Source # 
Instance details

Defined in Amazonka.ECR.BatchGetImage

type Rep BatchGetImage = D1 ('MetaData "BatchGetImage" "Amazonka.ECR.BatchGetImage" "libZSservicesZSamazonka-ecrZSamazonka-ecr" 'False) (C1 ('MetaCons "BatchGetImage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "registryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "acceptedMediaTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text)))) :*: (S1 ('MetaSel ('Just "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "imageIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ImageIdentifier]))))
type AWSResponse BatchGetImage Source # 
Instance details

Defined in Amazonka.ECR.BatchGetImage

newBatchGetImage Source #

Create a value of BatchGetImage 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:BatchGetImage', batchGetImage_registryId - The Amazon Web Services account ID associated with the registry that contains the images to describe. If you do not specify a registry, the default registry is assumed.

$sel:acceptedMediaTypes:BatchGetImage', batchGetImage_acceptedMediaTypes - The accepted media types for the request.

Valid values: application/vnd.docker.distribution.manifest.v1+json | application/vnd.docker.distribution.manifest.v2+json | application/vnd.oci.image.manifest.v1+json

$sel:repositoryName:BatchGetImage', batchGetImage_repositoryName - The repository that contains the images to describe.

$sel:imageIds:BatchGetImage', batchGetImage_imageIds - A list of image ID references that correspond to images to describe. The format of the imageIds reference is imageTag=tag or imageDigest=digest.

Request Lenses

batchGetImage_registryId :: Lens' BatchGetImage (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry that contains the images to describe. If you do not specify a registry, the default registry is assumed.

batchGetImage_acceptedMediaTypes :: Lens' BatchGetImage (Maybe (NonEmpty Text)) Source #

The accepted media types for the request.

Valid values: application/vnd.docker.distribution.manifest.v1+json | application/vnd.docker.distribution.manifest.v2+json | application/vnd.oci.image.manifest.v1+json

batchGetImage_repositoryName :: Lens' BatchGetImage Text Source #

The repository that contains the images to describe.

batchGetImage_imageIds :: Lens' BatchGetImage [ImageIdentifier] Source #

A list of image ID references that correspond to images to describe. The format of the imageIds reference is imageTag=tag or imageDigest=digest.

Destructuring the Response

data BatchGetImageResponse Source #

See: newBatchGetImageResponse smart constructor.

Constructors

BatchGetImageResponse' 

Fields

Instances

Instances details
Eq BatchGetImageResponse Source # 
Instance details

Defined in Amazonka.ECR.BatchGetImage

Read BatchGetImageResponse Source # 
Instance details

Defined in Amazonka.ECR.BatchGetImage

Show BatchGetImageResponse Source # 
Instance details

Defined in Amazonka.ECR.BatchGetImage

Generic BatchGetImageResponse Source # 
Instance details

Defined in Amazonka.ECR.BatchGetImage

Associated Types

type Rep BatchGetImageResponse :: Type -> Type #

NFData BatchGetImageResponse Source # 
Instance details

Defined in Amazonka.ECR.BatchGetImage

Methods

rnf :: BatchGetImageResponse -> () #

type Rep BatchGetImageResponse Source # 
Instance details

Defined in Amazonka.ECR.BatchGetImage

type Rep BatchGetImageResponse = D1 ('MetaData "BatchGetImageResponse" "Amazonka.ECR.BatchGetImage" "libZSservicesZSamazonka-ecrZSamazonka-ecr" 'False) (C1 ('MetaCons "BatchGetImageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "images") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Image])) :*: (S1 ('MetaSel ('Just "failures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ImageFailure])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newBatchGetImageResponse Source #

Create a value of BatchGetImageResponse 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:images:BatchGetImageResponse', batchGetImageResponse_images - A list of image objects corresponding to the image references in the request.

$sel:failures:BatchGetImageResponse', batchGetImageResponse_failures - Any failures associated with the call.

$sel:httpStatus:BatchGetImageResponse', batchGetImageResponse_httpStatus - The response's http status code.

Response Lenses

batchGetImageResponse_images :: Lens' BatchGetImageResponse (Maybe [Image]) Source #

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