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 |
Notify Amazon ECR that you intend to upload an image layer.
Synopsis
- initiateLayerUpload :: Text -> InitiateLayerUpload
- data InitiateLayerUpload
- iluRegistryId :: Lens' InitiateLayerUpload (Maybe Text)
- iluRepositoryName :: Lens' InitiateLayerUpload Text
- initiateLayerUploadResponse :: Int -> InitiateLayerUploadResponse
- data InitiateLayerUploadResponse
- ilursPartSize :: Lens' InitiateLayerUploadResponse (Maybe Natural)
- ilursUploadId :: Lens' InitiateLayerUploadResponse (Maybe Text)
- ilursResponseStatus :: Lens' InitiateLayerUploadResponse Int
Creating a Request
Creates a value of InitiateLayerUpload
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
iluRegistryId
- The AWS account ID associated with the registry to which you intend to upload layers. If you do not specify a registry, the default registry is assumed.iluRepositoryName
- The name of the repository to which you intend to upload layers.
data InitiateLayerUpload Source #
See: initiateLayerUpload
smart constructor.
Instances
Request Lenses
iluRegistryId :: Lens' InitiateLayerUpload (Maybe Text) Source #
The AWS account ID associated with the registry to which you intend to upload layers. If you do not specify a registry, the default registry is assumed.
iluRepositoryName :: Lens' InitiateLayerUpload Text Source #
The name of the repository to which you intend to upload layers.
Destructuring the Response
initiateLayerUploadResponse Source #
Creates a value of InitiateLayerUploadResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ilursPartSize
- The size, in bytes, that Amazon ECR expects future layer part uploads to be.ilursUploadId
- The upload ID for the layer upload. This parameter is passed to furtherUploadLayerPart
andCompleteLayerUpload
operations.ilursResponseStatus
- -- | The response status code.
data InitiateLayerUploadResponse Source #
See: initiateLayerUploadResponse
smart constructor.
Instances
Response Lenses
ilursPartSize :: Lens' InitiateLayerUploadResponse (Maybe Natural) Source #
The size, in bytes, that Amazon ECR expects future layer part uploads to be.
ilursUploadId :: Lens' InitiateLayerUploadResponse (Maybe Text) Source #
The upload ID for the layer upload. This parameter is passed to further UploadLayerPart
and CompleteLayerUpload
operations.
ilursResponseStatus :: Lens' InitiateLayerUploadResponse Int Source #
- - | The response status code.