Skip to content

GetObjectTorrentRequest

Source code in docs_src/capo_s3/types/get_object_torrent_request.py
class GetObjectTorrentRequest(TypedDict, closed=True):
    bucket: "capo_s3.types.bucket_name.BucketName"
    """<p>The name of the bucket containing the object for which to get the torrent files.</p>"""
    key: "capo_s3.types.object_key.ObjectKey"
    """<p>The object key for which to get the information.</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. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>"""

bucket instance-attribute

bucket: BucketName

The name of the bucket containing the object for which to get the torrent files.

expected_bucket_owner instance-attribute

expected_bucket_owner: NotRequired[AccountId]

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

key instance-attribute

key: ObjectKey

The object key for which to get the information.

request_payer instance-attribute

request_payer: NotRequired[RequestPayer]