amazonka-ecr-1.4.0: Amazon EC2 Container Registry SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ECR.InitiateLayerUpload

Contents

Description

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

This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers. Use the docker CLI to pull, tag, and push images.

Synopsis

Creating a Request

initiateLayerUpload Source

Creates a value of InitiateLayerUpload with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

iluRegistryId :: Lens' InitiateLayerUpload (Maybe Text) Source

The AWS account ID associated with the registry that you intend to upload layers to. If you do not specify a registry, the default registry is assumed.

iluRepositoryName :: Lens' InitiateLayerUpload Text Source

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

Destructuring the Response

initiateLayerUploadResponse Source

Creates a value of InitiateLayerUploadResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

ilursPartSize :: Lens' InitiateLayerUploadResponse (Maybe Natural) Source

The size, in bytes, that Amazon ECR expects future layer part uploads to be.

ilursUploadId :: Lens' InitiateLayerUploadResponse (Maybe Text) Source

The upload ID for the layer upload. This parameter is passed to further UploadLayerPart and CompleteLayerUpload operations.