Class: Aws::S3::Types::GetObjectTorrentRequest

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-s3/types.rb

Overview

Note:

When making an API call, you may pass GetObjectTorrentRequest data as a hash:

{
  bucket: "BucketName", # required
  key: "ObjectKey", # required
  request_payer: "requester", # accepts requester
}

Instance Attribute Summary collapse

Instance Attribute Details

#bucketString

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

Returns:

  • (String)


4992
4993
4994
4995
4996
4997
# File 'lib/aws-sdk-s3/types.rb', line 4992

class GetObjectTorrentRequest < Struct.new(
  :bucket,
  :key,
  :request_payer)
  include Aws::Structure
end

#keyString

The object key for which to get the information.

Returns:

  • (String)


4992
4993
4994
4995
4996
4997
# File 'lib/aws-sdk-s3/types.rb', line 4992

class GetObjectTorrentRequest < Struct.new(
  :bucket,
  :key,
  :request_payer)
  include Aws::Structure
end

#request_payerString

Confirms that the requester knows that they will be charged for the request. Bucket owners need not specify this parameter in their requests. For information about downloading objects from requester pays buckets, see [Downloading Objects in Requestor Pays Buckets] in the *Amazon S3 Developer Guide*.

[1]: docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html

Returns:

  • (String)


4992
4993
4994
4995
4996
4997
# File 'lib/aws-sdk-s3/types.rb', line 4992

class GetObjectTorrentRequest < Struct.new(
  :bucket,
  :key,
  :request_payer)
  include Aws::Structure
end