Skip to content

/AWS1/CL_ECP=>INITIATELAYERUPLOAD()

About InitiateLayerUpload

Notifies Amazon ECR that you intend to upload an image layer.

When an image is pushed, the InitiateLayerUpload API is called once for each image layer that hasn't already been uploaded. Whether an image layer uploads is determined by the BatchCheckLayerAvailability API action.

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.

Method Signature

IMPORTING

Required arguments:

IV_REPOSITORYNAME TYPE /AWS1/ECPREPOSITORYNAME /AWS1/ECPREPOSITORYNAME

The name of the repository that you want to upload layers to.

Optional arguments:

IV_REGISTRYID TYPE /AWS1/ECPREGISTRYIDORALIAS /AWS1/ECPREGISTRYIDORALIAS

The Amazon Web Services account ID, or registry alias, that's associated with the registry to which you intend to upload layers. If you do not specify a registry, the default public registry is assumed.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ECPINITIATELAYERUPL01 /AWS1/CL_ECPINITIATELAYERUPL01