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

Contents

Description

Creates or updates the image manifest and tags 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.
  • piImageTag - The tag to associate with the image. This parameter is required for images that use the Docker Image Manifest V2 Schema 2 or OCI formats.
  • 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 # 
Instance details

Defined in Network.AWS.ECR.PutImage

Data PutImage Source # 
Instance details

Defined in Network.AWS.ECR.PutImage

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

Defined in Network.AWS.ECR.PutImage

Show PutImage Source # 
Instance details

Defined in Network.AWS.ECR.PutImage

Generic PutImage Source # 
Instance details

Defined in Network.AWS.ECR.PutImage

Associated Types

type Rep PutImage :: Type -> Type #

Methods

from :: PutImage -> Rep PutImage x #

to :: Rep PutImage x -> PutImage #

Hashable PutImage Source # 
Instance details

Defined in Network.AWS.ECR.PutImage

Methods

hashWithSalt :: Int -> PutImage -> Int #

hash :: PutImage -> Int #

ToJSON PutImage Source # 
Instance details

Defined in Network.AWS.ECR.PutImage

AWSRequest PutImage Source # 
Instance details

Defined in Network.AWS.ECR.PutImage

Associated Types

type Rs PutImage :: Type #

ToHeaders PutImage Source # 
Instance details

Defined in Network.AWS.ECR.PutImage

Methods

toHeaders :: PutImage -> [Header] #

ToPath PutImage Source # 
Instance details

Defined in Network.AWS.ECR.PutImage

ToQuery PutImage Source # 
Instance details

Defined in Network.AWS.ECR.PutImage

NFData PutImage Source # 
Instance details

Defined in Network.AWS.ECR.PutImage

Methods

rnf :: PutImage -> () #

type Rep PutImage Source # 
Instance details

Defined in Network.AWS.ECR.PutImage

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

Defined in Network.AWS.ECR.PutImage

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.

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

The tag to associate with the image. This parameter is required for images that use the Docker Image Manifest V2 Schema 2 or OCI formats.

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

Defined in Network.AWS.ECR.PutImage

Data PutImageResponse Source # 
Instance details

Defined in Network.AWS.ECR.PutImage

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

Defined in Network.AWS.ECR.PutImage

Show PutImageResponse Source # 
Instance details

Defined in Network.AWS.ECR.PutImage

Generic PutImageResponse Source # 
Instance details

Defined in Network.AWS.ECR.PutImage

Associated Types

type Rep PutImageResponse :: Type -> Type #

NFData PutImageResponse Source # 
Instance details

Defined in Network.AWS.ECR.PutImage

Methods

rnf :: PutImageResponse -> () #

type Rep PutImageResponse Source # 
Instance details

Defined in Network.AWS.ECR.PutImage

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

Response Lenses

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

Details of the image uploaded.

pirsResponseStatus :: Lens' PutImageResponse Int Source #

  • - | The response status code.