| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.ECR.GetDownloadURLForLayer
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.
Synopsis
- getDownloadURLForLayer :: Text -> Text -> GetDownloadURLForLayer
- data GetDownloadURLForLayer
- gduflRegistryId :: Lens' GetDownloadURLForLayer (Maybe Text)
- gduflRepositoryName :: Lens' GetDownloadURLForLayer Text
- gduflLayerDigest :: Lens' GetDownloadURLForLayer Text
- getDownloadURLForLayerResponse :: Int -> GetDownloadURLForLayerResponse
- data GetDownloadURLForLayerResponse
- gduflrsLayerDigest :: Lens' GetDownloadURLForLayerResponse (Maybe Text)
- gduflrsDownloadURL :: Lens' GetDownloadURLForLayerResponse (Maybe Text)
- gduflrsResponseStatus :: Lens' GetDownloadURLForLayerResponse Int
Creating a Request
getDownloadURLForLayer Source #
Arguments
| :: Text | |
| -> Text | |
| -> 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.
data GetDownloadURLForLayer Source #
See: getDownloadURLForLayer smart constructor.
Instances
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 #
Arguments
| :: Int | |
| -> 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.
data GetDownloadURLForLayerResponse Source #
See: getDownloadURLForLayerResponse smart constructor.
Instances
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.
gduflrsResponseStatus :: Lens' GetDownloadURLForLayerResponse Int Source #
- - | The response status code.