amazonka-ecr-1.4.5: 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.

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:

  • 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

Eq GetDownloadURLForLayer Source # 
Data GetDownloadURLForLayer Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetDownloadURLForLayer -> c GetDownloadURLForLayer #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetDownloadURLForLayer #

toConstr :: GetDownloadURLForLayer -> Constr #

dataTypeOf :: GetDownloadURLForLayer -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetDownloadURLForLayer) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetDownloadURLForLayer) #

gmapT :: (forall b. Data b => b -> b) -> GetDownloadURLForLayer -> GetDownloadURLForLayer #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetDownloadURLForLayer -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetDownloadURLForLayer -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetDownloadURLForLayer -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetDownloadURLForLayer -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetDownloadURLForLayer -> m GetDownloadURLForLayer #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetDownloadURLForLayer -> m GetDownloadURLForLayer #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetDownloadURLForLayer -> m GetDownloadURLForLayer #

Read GetDownloadURLForLayer Source # 
Show GetDownloadURLForLayer Source # 
Generic GetDownloadURLForLayer Source # 
Hashable GetDownloadURLForLayer Source # 
ToJSON GetDownloadURLForLayer Source # 
NFData GetDownloadURLForLayer Source # 

Methods

rnf :: GetDownloadURLForLayer -> () #

AWSRequest GetDownloadURLForLayer Source # 
ToPath GetDownloadURLForLayer Source # 
ToHeaders GetDownloadURLForLayer Source # 
ToQuery GetDownloadURLForLayer Source # 
type Rep GetDownloadURLForLayer Source # 
type Rep GetDownloadURLForLayer = D1 (MetaData "GetDownloadURLForLayer" "Network.AWS.ECR.GetDownloadURLForLayer" "amazonka-ecr-1.4.5-CCdpOETgEgK6cFz60uVoIg" False) (C1 (MetaCons "GetDownloadURLForLayer'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gduflRegistryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_gduflRepositoryName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_gduflLayerDigest") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs GetDownloadURLForLayer Source # 

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.

Instances

Eq GetDownloadURLForLayerResponse Source # 
Data GetDownloadURLForLayerResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetDownloadURLForLayerResponse -> c GetDownloadURLForLayerResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetDownloadURLForLayerResponse #

toConstr :: GetDownloadURLForLayerResponse -> Constr #

dataTypeOf :: GetDownloadURLForLayerResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetDownloadURLForLayerResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetDownloadURLForLayerResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetDownloadURLForLayerResponse -> GetDownloadURLForLayerResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetDownloadURLForLayerResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetDownloadURLForLayerResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetDownloadURLForLayerResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetDownloadURLForLayerResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetDownloadURLForLayerResponse -> m GetDownloadURLForLayerResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetDownloadURLForLayerResponse -> m GetDownloadURLForLayerResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetDownloadURLForLayerResponse -> m GetDownloadURLForLayerResponse #

Read GetDownloadURLForLayerResponse Source # 
Show GetDownloadURLForLayerResponse Source # 
Generic GetDownloadURLForLayerResponse Source # 
NFData GetDownloadURLForLayerResponse Source # 
type Rep GetDownloadURLForLayerResponse Source # 
type Rep GetDownloadURLForLayerResponse = D1 (MetaData "GetDownloadURLForLayerResponse" "Network.AWS.ECR.GetDownloadURLForLayer" "amazonka-ecr-1.4.5-CCdpOETgEgK6cFz60uVoIg" False) (C1 (MetaCons "GetDownloadURLForLayerResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gduflrsLayerDigest") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_gduflrsDownloadURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gduflrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

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.