Skip to content

DeleteObjectAnnotationRequest

Source code in docs_src/capo_s3/types/delete_object_annotation_request.py
class DeleteObjectAnnotationRequest(TypedDict, closed=True):
    bucket: "capo_s3.types.bucket_name.BucketName"
    """<p>The name of the bucket that contains the object.</p>"""
    key: "capo_s3.types.object_key.ObjectKey"
    """<p>The object key.</p>"""
    annotation_name: "capo_s3.types.annotation_name.AnnotationName"
    """<p>The name of the annotation to delete. Annotation names are UTF-8 encoded and cannot start with <code>aws</code> or <code>s3</code> (case-insensitive).</p> <p>Length Constraints: Minimum length of 1. Maximum length of 512 bytes.</p>"""
    version_id: NotRequired["capo_s3.types.object_version_id.ObjectVersionId"]
    """<p>The version ID of the object.</p>"""
    request_payer: NotRequired["capo_s3.types.request_payer.RequestPayer"]
    expected_bucket_owner: NotRequired["capo_s3.types.account_id.AccountId"]
    """<p>The account ID of the expected bucket owner.</p>"""
    object_if_match: NotRequired["capo_s3.types.object_if_match.ObjectIfMatch"]
    """<p>If specified, the operation only succeeds if the object's ETag matches the provided value.</p>"""

annotation_name instance-attribute

annotation_name: AnnotationName

The name of the annotation to delete. Annotation names are UTF-8 encoded and cannot start with aws or s3 (case-insensitive).

Length Constraints: Minimum length of 1. Maximum length of 512 bytes.

bucket instance-attribute

bucket: BucketName

The name of the bucket that contains the object.

expected_bucket_owner instance-attribute

expected_bucket_owner: NotRequired[AccountId]

The account ID of the expected bucket owner.

key instance-attribute

key: ObjectKey

The object key.

object_if_match instance-attribute

object_if_match: NotRequired[ObjectIfMatch]

If specified, the operation only succeeds if the object's ETag matches the provided value.

request_payer instance-attribute

request_payer: NotRequired[RequestPayer]

version_id instance-attribute

version_id: NotRequired[ObjectVersionId]

The version ID of the object.