Learn R Programming

paws.storage (version 0.1.7)

s3_get_object_torrent: Return torrent files from a bucket

Description

Return torrent files from a bucket. BitTorrent can save you bandwidth when you\'re distributing large files. For more information about BitTorrent, see Amazon S3 Torrent.

Usage

s3_get_object_torrent(Bucket, Key, RequestPayer)

Arguments

Bucket

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

Key

[required] The object key for which to get the information.

RequestPayer

Request syntax

svc$get_object_torrent(
  Bucket = "string",
  Key = "string",
  RequestPayer = "requester"
)

Details

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 customer-provided encryption key.

To use GET, you must have READ access to the object.

The following operation is related to GetObjectTorrent:

  • GetObject

Examples

Run this code
# NOT RUN {
# The following example retrieves torrent files of an object.
# }
# NOT RUN {
svc$get_object_torrent(
  Bucket = "examplebucket",
  Key = "HappyFace.jpg"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab