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.InitiateLayerUpload

Contents

Description

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

Synopsis

Creating a Request

initiateLayerUpload #

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:

  • iluRegistryId - 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 - The name of the repository that you intend to upload layers to.

data InitiateLayerUpload #

See: initiateLayerUpload smart constructor.

Instances

Eq InitiateLayerUpload # 
Data InitiateLayerUpload # 

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 # 
Show InitiateLayerUpload # 
Generic InitiateLayerUpload # 
Hashable InitiateLayerUpload # 
ToJSON InitiateLayerUpload # 
NFData InitiateLayerUpload # 

Methods

rnf :: InitiateLayerUpload -> () #

AWSRequest InitiateLayerUpload # 
ToQuery InitiateLayerUpload # 
ToPath InitiateLayerUpload # 
ToHeaders InitiateLayerUpload # 
type Rep InitiateLayerUpload # 
type Rep InitiateLayerUpload = D1 (MetaData "InitiateLayerUpload" "Network.AWS.ECR.InitiateLayerUpload" "amazonka-ecr-1.4.5-5nGSxfFcP6f5SQqSnAVfxz" 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 # 

Request Lenses

iluRegistryId :: Lens' InitiateLayerUpload (Maybe Text) #

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 #

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

Destructuring the Response

initiateLayerUploadResponse #

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:

  • ilursPartSize - The size, in bytes, that Amazon ECR expects future layer part uploads to be.
  • ilursUploadId - The upload ID for the layer upload. This parameter is passed to further UploadLayerPart and CompleteLayerUpload operations.
  • ilursResponseStatus - -- | The response status code.

data InitiateLayerUploadResponse #

See: initiateLayerUploadResponse smart constructor.

Instances

Eq InitiateLayerUploadResponse # 
Data InitiateLayerUploadResponse # 

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 # 
Show InitiateLayerUploadResponse # 
Generic InitiateLayerUploadResponse # 
NFData InitiateLayerUploadResponse # 
type Rep InitiateLayerUploadResponse # 
type Rep InitiateLayerUploadResponse = D1 (MetaData "InitiateLayerUploadResponse" "Network.AWS.ECR.InitiateLayerUpload" "amazonka-ecr-1.4.5-5nGSxfFcP6f5SQqSnAVfxz" 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) #

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

ilursUploadId :: Lens' InitiateLayerUploadResponse (Maybe Text) #

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