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

Contents

Description

Retrieves the pre-signed Amazon S3 download URL corresponding to an image layer. You can only get URLs for image layers that are referenced in an image.

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

getDownloadURLForLayer Source

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

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

Request Lenses

gduflRegistryId :: Lens' GetDownloadURLForLayer (Maybe Text) Source

The AWS account ID associated with the registry that contains the image layer to download. If you do not specify a registry, the default registry is assumed.

gduflRepositoryName :: Lens' GetDownloadURLForLayer Text Source

The name of the repository that is associated with the image layer to download.

gduflLayerDigest :: Lens' GetDownloadURLForLayer Text Source

The digest of the image layer to download.

Destructuring the Response

getDownloadURLForLayerResponse Source

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

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

Response Lenses

gduflrsLayerDigest :: Lens' GetDownloadURLForLayerResponse (Maybe Text) Source

The digest of the image layer to download.

gduflrsDownloadURL :: Lens' GetDownloadURLForLayerResponse (Maybe Text) Source

The pre-signed Amazon S3 download URL for the requested layer.