Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Inform Amazon ECR that the image layer upload for a specified registry,
repository name, and upload ID, has completed. You can optionally
provide a sha256
digest of the image layer for data validation
purposes.
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.
- completeLayerUpload :: Text -> Text -> NonEmpty Text -> CompleteLayerUpload
- data CompleteLayerUpload
- cluRegistryId :: Lens' CompleteLayerUpload (Maybe Text)
- cluRepositoryName :: Lens' CompleteLayerUpload Text
- cluUploadId :: Lens' CompleteLayerUpload Text
- cluLayerDigests :: Lens' CompleteLayerUpload (NonEmpty Text)
- completeLayerUploadResponse :: Int -> CompleteLayerUploadResponse
- data CompleteLayerUploadResponse
- clursRegistryId :: Lens' CompleteLayerUploadResponse (Maybe Text)
- clursLayerDigest :: Lens' CompleteLayerUploadResponse (Maybe Text)
- clursRepositoryName :: Lens' CompleteLayerUploadResponse (Maybe Text)
- clursUploadId :: Lens' CompleteLayerUploadResponse (Maybe Text)
- clursResponseStatus :: Lens' CompleteLayerUploadResponse Int
Creating a Request
Creates a value of CompleteLayerUpload
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CompleteLayerUpload Source #
See: completeLayerUpload
smart constructor.
Request Lenses
cluRegistryId :: Lens' CompleteLayerUpload (Maybe Text) Source #
The AWS account ID associated with the registry to which to upload layers. If you do not specify a registry, the default registry is assumed.
cluRepositoryName :: Lens' CompleteLayerUpload Text Source #
The name of the repository to associate with the image layer.
cluUploadId :: Lens' CompleteLayerUpload Text Source #
The upload ID from a previous InitiateLayerUpload operation to associate with the image layer.
cluLayerDigests :: Lens' CompleteLayerUpload (NonEmpty Text) Source #
The sha256
digest of the image layer.
Destructuring the Response
completeLayerUploadResponse Source #
Creates a value of CompleteLayerUploadResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CompleteLayerUploadResponse Source #
See: completeLayerUploadResponse
smart constructor.
Response Lenses
clursRegistryId :: Lens' CompleteLayerUploadResponse (Maybe Text) Source #
The registry ID associated with the request.
clursLayerDigest :: Lens' CompleteLayerUploadResponse (Maybe Text) Source #
The sha256
digest of the image layer.
clursRepositoryName :: Lens' CompleteLayerUploadResponse (Maybe Text) Source #
The repository name associated with the request.
clursUploadId :: Lens' CompleteLayerUploadResponse (Maybe Text) Source #
The upload ID associated with the layer.
clursResponseStatus :: Lens' CompleteLayerUploadResponse Int Source #
The response status code.