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

Contents

Description

Uploads an image layer part to Amazon ECR.

Synopsis

Creating a Request

uploadLayerPart Source #

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

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

  • ulpRegistryId - The AWS account ID associated with the registry to which you are uploading layer parts. If you do not specify a registry, the default registry is assumed.
  • ulpRepositoryName - The name of the repository to which you are uploading layer parts.
  • ulpUploadId - The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload.
  • ulpPartFirstByte - The integer value of the first byte of the layer part.
  • ulpPartLastByte - The integer value of the last byte of the layer part.
  • ulpLayerPartBlob - The base64-encoded layer part payload.-- Note: This Lens automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This Lens accepts and returns only raw unencoded data.

data UploadLayerPart Source #

See: uploadLayerPart smart constructor.

Instances
Eq UploadLayerPart Source # 
Instance details

Defined in Network.AWS.ECR.UploadLayerPart

Data UploadLayerPart Source # 
Instance details

Defined in Network.AWS.ECR.UploadLayerPart

Methods

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

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

toConstr :: UploadLayerPart -> Constr #

dataTypeOf :: UploadLayerPart -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UploadLayerPart Source # 
Instance details

Defined in Network.AWS.ECR.UploadLayerPart

Show UploadLayerPart Source # 
Instance details

Defined in Network.AWS.ECR.UploadLayerPart

Generic UploadLayerPart Source # 
Instance details

Defined in Network.AWS.ECR.UploadLayerPart

Associated Types

type Rep UploadLayerPart :: Type -> Type #

Hashable UploadLayerPart Source # 
Instance details

Defined in Network.AWS.ECR.UploadLayerPart

ToJSON UploadLayerPart Source # 
Instance details

Defined in Network.AWS.ECR.UploadLayerPart

AWSRequest UploadLayerPart Source # 
Instance details

Defined in Network.AWS.ECR.UploadLayerPart

Associated Types

type Rs UploadLayerPart :: Type #

ToHeaders UploadLayerPart Source # 
Instance details

Defined in Network.AWS.ECR.UploadLayerPart

ToPath UploadLayerPart Source # 
Instance details

Defined in Network.AWS.ECR.UploadLayerPart

ToQuery UploadLayerPart Source # 
Instance details

Defined in Network.AWS.ECR.UploadLayerPart

NFData UploadLayerPart Source # 
Instance details

Defined in Network.AWS.ECR.UploadLayerPart

Methods

rnf :: UploadLayerPart -> () #

type Rep UploadLayerPart Source # 
Instance details

Defined in Network.AWS.ECR.UploadLayerPart

type Rep UploadLayerPart = D1 (MetaData "UploadLayerPart" "Network.AWS.ECR.UploadLayerPart" "amazonka-ecr-1.6.1-KW57ahBO482CZBe4C57Res" False) (C1 (MetaCons "UploadLayerPart'" PrefixI True) ((S1 (MetaSel (Just "_ulpRegistryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ulpRepositoryName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ulpUploadId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: (S1 (MetaSel (Just "_ulpPartFirstByte") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Nat) :*: (S1 (MetaSel (Just "_ulpPartLastByte") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Nat) :*: S1 (MetaSel (Just "_ulpLayerPartBlob") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Base64)))))
type Rs UploadLayerPart Source # 
Instance details

Defined in Network.AWS.ECR.UploadLayerPart

Request Lenses

ulpRegistryId :: Lens' UploadLayerPart (Maybe Text) Source #

The AWS account ID associated with the registry to which you are uploading layer parts. If you do not specify a registry, the default registry is assumed.

ulpRepositoryName :: Lens' UploadLayerPart Text Source #

The name of the repository to which you are uploading layer parts.

ulpUploadId :: Lens' UploadLayerPart Text Source #

The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload.

ulpPartFirstByte :: Lens' UploadLayerPart Natural Source #

The integer value of the first byte of the layer part.

ulpPartLastByte :: Lens' UploadLayerPart Natural Source #

The integer value of the last byte of the layer part.

ulpLayerPartBlob :: Lens' UploadLayerPart ByteString Source #

The base64-encoded layer part payload.-- Note: This Lens automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This Lens accepts and returns only raw unencoded data.

Destructuring the Response

uploadLayerPartResponse Source #

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

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

data UploadLayerPartResponse Source #

See: uploadLayerPartResponse smart constructor.

Instances
Eq UploadLayerPartResponse Source # 
Instance details

Defined in Network.AWS.ECR.UploadLayerPart

Data UploadLayerPartResponse Source # 
Instance details

Defined in Network.AWS.ECR.UploadLayerPart

Methods

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

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

toConstr :: UploadLayerPartResponse -> Constr #

dataTypeOf :: UploadLayerPartResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UploadLayerPartResponse Source # 
Instance details

Defined in Network.AWS.ECR.UploadLayerPart

Show UploadLayerPartResponse Source # 
Instance details

Defined in Network.AWS.ECR.UploadLayerPart

Generic UploadLayerPartResponse Source # 
Instance details

Defined in Network.AWS.ECR.UploadLayerPart

Associated Types

type Rep UploadLayerPartResponse :: Type -> Type #

NFData UploadLayerPartResponse Source # 
Instance details

Defined in Network.AWS.ECR.UploadLayerPart

Methods

rnf :: UploadLayerPartResponse -> () #

type Rep UploadLayerPartResponse Source # 
Instance details

Defined in Network.AWS.ECR.UploadLayerPart

type Rep UploadLayerPartResponse = D1 (MetaData "UploadLayerPartResponse" "Network.AWS.ECR.UploadLayerPart" "amazonka-ecr-1.6.1-KW57ahBO482CZBe4C57Res" False) (C1 (MetaCons "UploadLayerPartResponse'" PrefixI True) ((S1 (MetaSel (Just "_ulprsRegistryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ulprsLastByteReceived") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) :*: (S1 (MetaSel (Just "_ulprsRepositoryName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ulprsUploadId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ulprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

ulprsRegistryId :: Lens' UploadLayerPartResponse (Maybe Text) Source #

The registry ID associated with the request.

ulprsLastByteReceived :: Lens' UploadLayerPartResponse (Maybe Natural) Source #

The integer value of the last byte received in the request.

ulprsRepositoryName :: Lens' UploadLayerPartResponse (Maybe Text) Source #

The repository name associated with the request.

ulprsUploadId :: Lens' UploadLayerPartResponse (Maybe Text) Source #

The upload ID associated with the request.