Values.UploadLayerPartRequestSourceUploads an image layer part to Amazon ECR. When an image is pushed, each new image layer is uploaded in parts. The maximum size of each image layer part can be 20971520 bytes (or about 20MB). The UploadLayerPart API is called once per each new image layer part. This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
type nonrec t = {registryId : RegistryId.t option;The Amazon Web Services account ID associated with the registry to which you are uploading layer parts. If you do not specify a registry, the default registry is assumed.
*)repositoryName : RepositoryName.t;The name of the repository to which you are uploading layer parts.
*)uploadId : UploadId.t;The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload.
*)partFirstByte : PartSize.t;The position of the first byte of the layer part witin the overall image layer.
*)partLastByte : PartSize.t;The position of the last byte of the layer part within the overall image layer.
*)layerPartBlob : LayerPartBlob.t;The base64-encoded layer part payload.
*)}val make :
?registryId:??? ->
repositoryName:RepositoryName.t ->
uploadId:UploadId.t ->
partFirstByte:PartSize.t ->
partLastByte:PartSize.t ->
layerPartBlob:LayerPartBlob.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Blob of LayerPartBlob.t
| `Long of PartSize.t
| `String of RegistryId.t ])
list ]