aws.s3.get_object_torrent
Example SQL Queries
SELECT * FROMaws.s3.get_object_torrentWHERE"bucket" = 'VALUE'AND "key" = 'VALUE';Description
This operation is not supported by directory buckets.
Returns torrent files from a bucket. BitTorrent can save you bandwidth when you’re distributing large files.
You can get torrent only for objects that are less than 5 GB in size, and that are not encrypted using server-side encryption with a customer-provided encryption key.
To use GET, you must have READ access to the object.
This functionality is not supported for Amazon S3 on Outposts.
The following action is related to GetObjectTorrent:
Table Definition
| Column Name | Column Data Type |
|---|---|
| bucket Required Input Column The name of the bucket containing the object for which to get the torrent files. | VARCHAR |
| key Required Input Column The object key for which to get the information. | VARCHAR |
| expected_bucket_owner Input Column 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). | VARCHAR |
| request_payer Input Column Confirms that the requester knows that they will be charged for the request. Bucket owners need not specify this parameter in their requests. If either the source or destination S3 bucket has Requester Pays enabled, the requester will pay for corresponding charges to copy the object. For information about downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays Buckets in the Amazon S3 User Guide. This functionality is not supported for directory buckets. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| body A Bencoded dictionary as defined by the BitTorrent specification | BLOB |
| request_charged If present, indicates that the requester was successfully charged for the request. This functionality is not supported for directory buckets. | VARCHAR |