Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- 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 #
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:
data GetDownloadURLForLayer Source #
See: getDownloadURLForLayer
smart constructor.
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:
data GetDownloadURLForLayerResponse Source #
See: getDownloadURLForLayerResponse
smart constructor.
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.