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 |
Informs Amazon ECR that the image layer upload has completed for a specified registry, repository name, and upload ID. You can optionally provide a sha256
digest of the image layer for data validation purposes.
Synopsis
- 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:
cluRegistryId
- 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
- The name of the repository to associate with the image layer.cluUploadId
- The upload ID from a previousInitiateLayerUpload
operation to associate with the image layer.cluLayerDigests
- Thesha256
digest of the image layer.
data CompleteLayerUpload Source #
See: completeLayerUpload
smart constructor.
Instances
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:
clursRegistryId
- The registry ID associated with the request.clursLayerDigest
- Thesha256
digest of the image layer.clursRepositoryName
- The repository name associated with the request.clursUploadId
- The upload ID associated with the layer.clursResponseStatus
- -- | The response status code.
data CompleteLayerUploadResponse Source #
See: completeLayerUploadResponse
smart constructor.
Instances
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.