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

Contents

Description

Inform Amazon ECR that the image layer upload for a specified registry, repository name, and upload ID, has completed. You can optionally provide a sha256 digest of the image layer for data validation purposes.

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

completeLayerUpload Source

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

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

Request Lenses

cluRegistryId :: Lens' CompleteLayerUpload (Maybe Text) Source

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

cluRepositoryName :: Lens' CompleteLayerUpload Text Source

The name of the repository to associate with the image layer.

cluUploadId :: Lens' CompleteLayerUpload Text Source

The upload ID from a previous InitiateLayerUpload operation to associate with the image layer.

cluLayerDigests :: Lens' CompleteLayerUpload (NonEmpty Text) Source

The sha256 digest of the image layer.

Destructuring the Response

completeLayerUploadResponse Source

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

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

Response Lenses

clursRegistryId :: Lens' CompleteLayerUploadResponse (Maybe Text) Source

The registry ID associated with the request.

clursLayerDigest :: Lens' CompleteLayerUploadResponse (Maybe Text) Source

The sha256 digest of the image layer.

clursRepositoryName :: Lens' CompleteLayerUploadResponse (Maybe Text) Source

The repository name associated with the request.

clursUploadId :: Lens' CompleteLayerUploadResponse (Maybe Text) Source

The upload ID associated with the layer.