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

Contents

Description

Creates or updates the image manifest associated with an image.

Synopsis

Creating a Request

putImage Source #

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

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

  • piRegistryId - The AWS account ID associated with the registry that contains the repository in which to put the image. If you do not specify a registry, the default registry is assumed.
  • piRepositoryName - The name of the repository in which to put the image.
  • piImageManifest - The image manifest corresponding to the image to be uploaded.

data PutImage Source #

See: putImage smart constructor.

Instances

Eq PutImage Source # 
Data PutImage Source # 

Methods

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

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

toConstr :: PutImage -> Constr #

dataTypeOf :: PutImage -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutImage Source # 
Show PutImage Source # 
Generic PutImage Source # 

Associated Types

type Rep PutImage :: * -> * #

Methods

from :: PutImage -> Rep PutImage x #

to :: Rep PutImage x -> PutImage #

Hashable PutImage Source # 

Methods

hashWithSalt :: Int -> PutImage -> Int #

hash :: PutImage -> Int #

ToJSON PutImage Source # 
NFData PutImage Source # 

Methods

rnf :: PutImage -> () #

AWSRequest PutImage Source # 
ToPath PutImage Source # 
ToHeaders PutImage Source # 

Methods

toHeaders :: PutImage -> [Header] #

ToQuery PutImage Source # 
type Rep PutImage Source # 
type Rep PutImage = D1 (MetaData "PutImage" "Network.AWS.ECR.PutImage" "amazonka-ecr-1.4.5-CCdpOETgEgK6cFz60uVoIg" False) (C1 (MetaCons "PutImage'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_piRegistryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_piRepositoryName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_piImageManifest") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs PutImage Source # 

Request Lenses

piRegistryId :: Lens' PutImage (Maybe Text) Source #

The AWS account ID associated with the registry that contains the repository in which to put the image. If you do not specify a registry, the default registry is assumed.

piRepositoryName :: Lens' PutImage Text Source #

The name of the repository in which to put the image.

piImageManifest :: Lens' PutImage Text Source #

The image manifest corresponding to the image to be uploaded.

Destructuring the Response

putImageResponse Source #

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

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

data PutImageResponse Source #

See: putImageResponse smart constructor.

Instances

Eq PutImageResponse Source # 
Data PutImageResponse Source # 

Methods

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

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

toConstr :: PutImageResponse -> Constr #

dataTypeOf :: PutImageResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutImageResponse Source # 
Show PutImageResponse Source # 
Generic PutImageResponse Source # 
NFData PutImageResponse Source # 

Methods

rnf :: PutImageResponse -> () #

type Rep PutImageResponse Source # 
type Rep PutImageResponse = D1 (MetaData "PutImageResponse" "Network.AWS.ECR.PutImage" "amazonka-ecr-1.4.5-CCdpOETgEgK6cFz60uVoIg" False) (C1 (MetaCons "PutImageResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_pirsImage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Image))) (S1 (MetaSel (Just Symbol "_pirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

pirsImage :: Lens' PutImageResponse (Maybe Image) Source #

Details of the image uploaded.

pirsResponseStatus :: Lens' PutImageResponse Int Source #

  • - | The response status code.