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

Contents

Description

Notify Amazon ECR that you intend to upload an image layer.

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.

Synopsis

Creating a Request

initiateLayerUpload Source #

Creates a value of InitiateLayerUpload with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data InitiateLayerUpload Source #

See: initiateLayerUpload smart constructor.

Instances

Eq InitiateLayerUpload Source # 
Data InitiateLayerUpload Source # 

Methods

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

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

toConstr :: InitiateLayerUpload -> Constr #

dataTypeOf :: InitiateLayerUpload -> DataType #

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

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

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

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

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

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

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

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

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

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

Read InitiateLayerUpload Source # 
Show InitiateLayerUpload Source # 
Generic InitiateLayerUpload Source # 
Hashable InitiateLayerUpload Source # 
NFData InitiateLayerUpload Source # 

Methods

rnf :: InitiateLayerUpload -> () #

AWSRequest InitiateLayerUpload Source # 
ToPath InitiateLayerUpload Source # 
ToHeaders InitiateLayerUpload Source # 
ToQuery InitiateLayerUpload Source # 
ToJSON InitiateLayerUpload Source # 
type Rep InitiateLayerUpload Source # 
type Rep InitiateLayerUpload = D1 (MetaData "InitiateLayerUpload" "Network.AWS.ECR.InitiateLayerUpload" "amazonka-ecr-1.4.4-A4Pky1aCrQ8Q8zCT22L20" False) (C1 (MetaCons "InitiateLayerUpload'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_iluRegistryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_iluRepositoryName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs InitiateLayerUpload Source # 

Request Lenses

iluRegistryId :: Lens' InitiateLayerUpload (Maybe Text) Source #

The AWS account ID associated with the registry that you intend to upload layers to. If you do not specify a registry, the default registry is assumed.

iluRepositoryName :: Lens' InitiateLayerUpload Text Source #

The name of the repository that you intend to upload layers to.

Destructuring the Response

initiateLayerUploadResponse Source #

Creates a value of InitiateLayerUploadResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data InitiateLayerUploadResponse Source #

See: initiateLayerUploadResponse smart constructor.

Instances

Eq InitiateLayerUploadResponse Source # 
Data InitiateLayerUploadResponse Source # 

Methods

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

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

toConstr :: InitiateLayerUploadResponse -> Constr #

dataTypeOf :: InitiateLayerUploadResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read InitiateLayerUploadResponse Source # 
Show InitiateLayerUploadResponse Source # 
Generic InitiateLayerUploadResponse Source # 
NFData InitiateLayerUploadResponse Source # 
type Rep InitiateLayerUploadResponse Source # 
type Rep InitiateLayerUploadResponse = D1 (MetaData "InitiateLayerUploadResponse" "Network.AWS.ECR.InitiateLayerUpload" "amazonka-ecr-1.4.4-A4Pky1aCrQ8Q8zCT22L20" False) (C1 (MetaCons "InitiateLayerUploadResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ilursPartSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) ((:*:) (S1 (MetaSel (Just Symbol "_ilursUploadId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ilursResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

ilursPartSize :: Lens' InitiateLayerUploadResponse (Maybe Natural) Source #

The size, in bytes, that Amazon ECR expects future layer part uploads to be.

ilursUploadId :: Lens' InitiateLayerUploadResponse (Maybe Text) Source #

The upload ID for the layer upload. This parameter is passed to further UploadLayerPart and CompleteLayerUpload operations.