amazonka-ecr-1.6.0: 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

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.

Creating a Request

Arguments

 :: Text gduflRepositoryName -> Text gduflLayerDigest -> GetDownloadURLForLayer

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:

• gduflRegistryId - 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 - The name of the repository that is associated with the image layer to download.
• gduflLayerDigest - The digest of the image layer to download.

See: getDownloadURLForLayer smart constructor.

Instances

Request Lenses

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.

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

Destructuring the Response

Arguments

 :: Int gduflrsResponseStatus -> GetDownloadURLForLayerResponse

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:

• gduflrsLayerDigest - The digest of the image layer to download.
• gduflrsDownloadURL - The pre-signed Amazon S3 download URL for the requested layer.
• gduflrsResponseStatus - -- | The response status code.

See: getDownloadURLForLayerResponse smart constructor.

Instances