Module Values.GetObjectTorrentRequestSource

This operation is not supported for 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: GetObject You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

Sourcetype nonrec t = {
  1. bucket : BucketName.t;
    (*

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

    *)
  2. key : ObjectKey.t;
    (*

    The object key for which to get the information.

    *)
  3. requestPayer : RequestPayer.t option;
  4. expectedBucketOwner : AccountId.t option;
    (*

    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).

    *)
}
Sourceval context_ : string
Sourceval make : ?requestPayer:??? -> ?expectedBucketOwner:??? -> bucket:BucketName.t -> key:ObjectKey.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of BucketName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t