amazonka-ecr-1.4.0: 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.

This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers. Use the docker CLI to pull, tag, and push images.

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:

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:

Response Lenses

pirsImage :: Lens' PutImageResponse (Maybe Image) Source

Details of the image uploaded.

pirsResponseStatus :: Lens' PutImageResponse Int Source

The response status code.