Skip to content

/AWS1/CL_ECR=>BATCHGETIMAGE()

About BatchGetImage

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.

Method Signature

IMPORTING

Required arguments:

IV_REPOSITORYNAME TYPE /AWS1/ECRREPOSITORYNAME /AWS1/ECRREPOSITORYNAME

The repository that contains the images to describe.

IT_IMAGEIDS TYPE /AWS1/CL_ECRIMAGEIDENTIFIER=>TT_IMAGEIDENTIFIERLIST TT_IMAGEIDENTIFIERLIST

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

Optional arguments:

IV_REGISTRYID TYPE /AWS1/ECRREGISTRYID /AWS1/ECRREGISTRYID

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.

IT_ACCEPTEDMEDIATYPES TYPE /AWS1/CL_ECRMEDIATYPELIST_W=>TT_MEDIATYPELIST TT_MEDIATYPELIST

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ECRBATCHGETIMAGERSP /AWS1/CL_ECRBATCHGETIMAGERSP