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

Contents

Description

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

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:

  • iluRegistryId - The AWS account ID associated with the registry to which you intend to upload layers. If you do not specify a registry, the default registry is assumed.
  • iluRepositoryName - The name of the repository to which you intend to upload layers.

data InitiateLayerUpload Source #

See: initiateLayerUpload smart constructor.

Instances
Eq InitiateLayerUpload Source # 
Instance details

Defined in Network.AWS.ECR.InitiateLayerUpload

Data InitiateLayerUpload Source # 
Instance details

Defined in Network.AWS.ECR.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 Source # 
Instance details

Defined in Network.AWS.ECR.InitiateLayerUpload

Show InitiateLayerUpload Source # 
Instance details

Defined in Network.AWS.ECR.InitiateLayerUpload

Generic InitiateLayerUpload Source # 
Instance details

Defined in Network.AWS.ECR.InitiateLayerUpload

Associated Types

type Rep InitiateLayerUpload :: Type -> Type #

Hashable InitiateLayerUpload Source # 
Instance details

Defined in Network.AWS.ECR.InitiateLayerUpload

ToJSON InitiateLayerUpload Source # 
Instance details

Defined in Network.AWS.ECR.InitiateLayerUpload

AWSRequest InitiateLayerUpload Source # 
Instance details

Defined in Network.AWS.ECR.InitiateLayerUpload

Associated Types

type Rs InitiateLayerUpload :: Type #

ToHeaders InitiateLayerUpload Source # 
Instance details

Defined in Network.AWS.ECR.InitiateLayerUpload

ToPath InitiateLayerUpload Source # 
Instance details

Defined in Network.AWS.ECR.InitiateLayerUpload

ToQuery InitiateLayerUpload Source # 
Instance details

Defined in Network.AWS.ECR.InitiateLayerUpload

NFData InitiateLayerUpload Source # 
Instance details

Defined in Network.AWS.ECR.InitiateLayerUpload

Methods

rnf :: InitiateLayerUpload -> () #

type Rep InitiateLayerUpload Source # 
Instance details

Defined in Network.AWS.ECR.InitiateLayerUpload

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

Defined in Network.AWS.ECR.InitiateLayerUpload

Request Lenses

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

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

iluRepositoryName :: Lens' InitiateLayerUpload Text Source #

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

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:

  • 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 Source #

See: initiateLayerUploadResponse smart constructor.

Instances
Eq InitiateLayerUploadResponse Source # 
Instance details

Defined in Network.AWS.ECR.InitiateLayerUpload

Data InitiateLayerUploadResponse Source # 
Instance details

Defined in Network.AWS.ECR.InitiateLayerUpload

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

Defined in Network.AWS.ECR.InitiateLayerUpload

Show InitiateLayerUploadResponse Source # 
Instance details

Defined in Network.AWS.ECR.InitiateLayerUpload

Generic InitiateLayerUploadResponse Source # 
Instance details

Defined in Network.AWS.ECR.InitiateLayerUpload

Associated Types

type Rep InitiateLayerUploadResponse :: Type -> Type #

NFData InitiateLayerUploadResponse Source # 
Instance details

Defined in Network.AWS.ECR.InitiateLayerUpload

type Rep InitiateLayerUploadResponse Source # 
Instance details

Defined in Network.AWS.ECR.InitiateLayerUpload

type Rep InitiateLayerUploadResponse = D1 (MetaData "InitiateLayerUploadResponse" "Network.AWS.ECR.InitiateLayerUpload" "amazonka-ecr-1.6.1-KW57ahBO482CZBe4C57Res" False) (C1 (MetaCons "InitiateLayerUploadResponse'" PrefixI True) (S1 (MetaSel (Just "_ilursPartSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: (S1 (MetaSel (Just "_ilursUploadId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ilursResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (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.