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

Copyright (c) 2013-2018 Brendan Hay Mozilla Public License, v. 2.0. Brendan Hay auto-generated non-portable (GHC extensions) None Haskell2010

Description

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

Synopsis

# Creating a Request

Arguments

 :: Text cluRepositoryName -> Text cluUploadId -> NonEmpty Text cluLayerDigests -> CompleteLayerUpload

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:

• cluRegistryId - 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 - The name of the repository to associate with the image layer.
• cluUploadId - The upload ID from a previous InitiateLayerUpload operation to associate with the image layer.
• cluLayerDigests - The sha256 digest of the image layer.

See: completeLayerUpload smart constructor.

Instances

# Request Lenses

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.

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

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

The sha256 digest of the image layer.

# Destructuring the Response

Arguments

 :: Int clursResponseStatus -> CompleteLayerUploadResponse

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:

• clursRegistryId - The registry ID associated with the request.
• clursLayerDigest - The sha256 digest of the image layer.
• clursRepositoryName - The repository name associated with the request.
• clursUploadId - The upload ID associated with the layer.
• clursResponseStatus - -- | The response status code.

See: completeLayerUploadResponse smart constructor.

Instances
The sha256 digest of the image layer.