Skip to content

UploadLayerPartRequest

Source code in docs_src/capo_ecr_public/types/upload_layer_part_request.py
class UploadLayerPartRequest(TypedDict, closed=True):
    registry_id: NotRequired[
        "capo_ecr_public.types.registry_id_or_alias.RegistryIdOrAlias"
    ]
    """<p>The Amazon Web Services account ID, or registry alias, that's associated with the registry that you're uploading layer parts to. If you do not specify a registry, the default public registry is assumed.</p>"""
    repository_name: "capo_ecr_public.types.repository_name.RepositoryName"
    """<p>The name of the repository that you're uploading layer parts to.</p>"""
    repository_type: NotRequired["capo_ecr_public.types.repository_type.RepositoryType"]
    """<p>The type of the repository. If you don't specify a type, Amazon ECR uses <code>FREE</code>. Valid values:</p> <ul> <li> <p> <code>FREE</code>: A free repository.</p> </li> <li> <p> <code>PREMIUM</code>: A premium repository that holds paid content.</p> </li> </ul>"""
    upload_id: "capo_ecr_public.types.upload_id.UploadId"
    """<p>The upload ID from a previous <code>InitiateLayerUpload</code> operation to associate with the layer part upload.</p>"""
    part_first_byte: "capo_ecr_public.types.part_size.PartSize"
    """<p>The position of the first byte of the layer part witin the overall image layer.</p>"""
    part_last_byte: "capo_ecr_public.types.part_size.PartSize"
    """<p>The position of the last byte of the layer part within the overall image layer.</p>"""
    layer_part_blob: "capo_ecr_public.types.layer_part_blob.LayerPartBlob"
    """<p>The base64-encoded layer part payload.</p>"""

layer_part_blob instance-attribute

layer_part_blob: LayerPartBlob

The base64-encoded layer part payload.

part_first_byte instance-attribute

part_first_byte: PartSize

The position of the first byte of the layer part witin the overall image layer.

part_last_byte instance-attribute

part_last_byte: PartSize

The position of the last byte of the layer part within the overall image layer.

registry_id instance-attribute

registry_id: NotRequired[RegistryIdOrAlias]

The Amazon Web Services account ID, or registry alias, that's associated with the registry that you're uploading layer parts to. If you do not specify a registry, the default public registry is assumed.

repository_name instance-attribute

repository_name: RepositoryName

The name of the repository that you're uploading layer parts to.

repository_type instance-attribute

repository_type: NotRequired[RepositoryType]

The type of the repository. If you don't specify a type, Amazon ECR uses FREE. Valid values:

  • FREE: A free repository.

  • PREMIUM: A premium repository that holds paid content.

upload_id instance-attribute

upload_id: UploadId

The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload.