amazonka-ecr-1.6.1: Amazon EC2 Container Registry SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 # 
Instance details

Defined in Network.AWS.ECR.GetDownloadURLForLayer

Data GetDownloadURLForLayer Source # 
Instance details

Defined in Network.AWS.ECR.GetDownloadURLForLayer

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 # 
Instance details

Defined in Network.AWS.ECR.GetDownloadURLForLayer

Show GetDownloadURLForLayer Source # 
Instance details

Defined in Network.AWS.ECR.GetDownloadURLForLayer

Generic GetDownloadURLForLayer Source # 
Instance details

Defined in Network.AWS.ECR.GetDownloadURLForLayer

Associated Types

type Rep GetDownloadURLForLayer :: Type -> Type #

Hashable GetDownloadURLForLayer Source # 
Instance details

Defined in Network.AWS.ECR.GetDownloadURLForLayer

ToJSON GetDownloadURLForLayer Source # 
Instance details

Defined in Network.AWS.ECR.GetDownloadURLForLayer

AWSRequest GetDownloadURLForLayer Source # 
Instance details

Defined in Network.AWS.ECR.GetDownloadURLForLayer

Associated Types

type Rs GetDownloadURLForLayer :: Type #

ToHeaders GetDownloadURLForLayer Source # 
Instance details

Defined in Network.AWS.ECR.GetDownloadURLForLayer

ToPath GetDownloadURLForLayer Source # 
Instance details

Defined in Network.AWS.ECR.GetDownloadURLForLayer

ToQuery GetDownloadURLForLayer Source # 
Instance details

Defined in Network.AWS.ECR.GetDownloadURLForLayer

NFData GetDownloadURLForLayer Source # 
Instance details

Defined in Network.AWS.ECR.GetDownloadURLForLayer

Methods

rnf :: GetDownloadURLForLayer -> () #

type Rep GetDownloadURLForLayer Source # 
Instance details

Defined in Network.AWS.ECR.GetDownloadURLForLayer

type Rep GetDownloadURLForLayer = D1 (MetaData "GetDownloadURLForLayer" "Network.AWS.ECR.GetDownloadURLForLayer" "amazonka-ecr-1.6.1-KW57ahBO482CZBe4C57Res" False) (C1 (MetaCons "GetDownloadURLForLayer'" PrefixI True) (S1 (MetaSel (Just "_gduflRegistryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gduflRepositoryName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_gduflLayerDigest") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs GetDownloadURLForLayer Source # 
Instance details

Defined in Network.AWS.ECR.GetDownloadURLForLayer

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 # 
Instance details

Defined in Network.AWS.ECR.GetDownloadURLForLayer

Data GetDownloadURLForLayerResponse Source # 
Instance details

Defined in Network.AWS.ECR.GetDownloadURLForLayer

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 # 
Instance details

Defined in Network.AWS.ECR.GetDownloadURLForLayer

Show GetDownloadURLForLayerResponse Source # 
Instance details

Defined in Network.AWS.ECR.GetDownloadURLForLayer

Generic GetDownloadURLForLayerResponse Source # 
Instance details

Defined in Network.AWS.ECR.GetDownloadURLForLayer

Associated Types

type Rep GetDownloadURLForLayerResponse :: Type -> Type #

NFData GetDownloadURLForLayerResponse Source # 
Instance details

Defined in Network.AWS.ECR.GetDownloadURLForLayer

type Rep GetDownloadURLForLayerResponse Source # 
Instance details

Defined in Network.AWS.ECR.GetDownloadURLForLayer

type Rep GetDownloadURLForLayerResponse = D1 (MetaData "GetDownloadURLForLayerResponse" "Network.AWS.ECR.GetDownloadURLForLayer" "amazonka-ecr-1.6.1-KW57ahBO482CZBe4C57Res" False) (C1 (MetaCons "GetDownloadURLForLayerResponse'" PrefixI True) (S1 (MetaSel (Just "_gduflrsLayerDigest") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gduflrsDownloadURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gduflrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (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.