| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.ECR.PutImage
Description
Creates or updates the image manifest and tags associated with an image.
Synopsis
- putImage :: Text -> Text -> PutImage
- data PutImage
- piRegistryId :: Lens' PutImage (Maybe Text)
- piImageTag :: Lens' PutImage (Maybe Text)
- piRepositoryName :: Lens' PutImage Text
- piImageManifest :: Lens' PutImage Text
- putImageResponse :: Int -> PutImageResponse
- data PutImageResponse
- pirsImage :: Lens' PutImageResponse (Maybe Image)
- pirsResponseStatus :: Lens' PutImageResponse Int
Creating a Request
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.
See: putImage smart constructor.
Instances
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
Arguments
| :: Int | |
| -> PutImageResponse |
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:
pirsImage- Details of the image uploaded.pirsResponseStatus- -- | The response status code.
data PutImageResponse Source #
See: putImageResponse smart constructor.
Instances
Response Lenses
pirsResponseStatus :: Lens' PutImageResponse Int Source #
- - | The response status code.