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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3/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
  expected_bucket_owner: "AccountId",
}

Constant Summary collapse

SENSITIVE =
[]

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)


5998
5999
6000
6001
6002
6003
6004
6005
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 5998

class GetObjectTorrentRequest < Struct.new(
  :bucket,
  :key,
  :request_payer,
  :expected_bucket_owner)
  SENSITIVE = []
  include Aws::Structure
end

#expected_bucket_ownerString

The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

Returns:

  • (String)


5998
5999
6000
6001
6002
6003
6004
6005
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 5998

class GetObjectTorrentRequest < Struct.new(
  :bucket,
  :key,
  :request_payer,
  :expected_bucket_owner)
  SENSITIVE = []
  include Aws::Structure
end

#keyString

The object key for which to get the information.

Returns:

  • (String)


5998
5999
6000
6001
6002
6003
6004
6005
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 5998

class GetObjectTorrentRequest < Struct.new(
  :bucket,
  :key,
  :request_payer,
  :expected_bucket_owner)
  SENSITIVE = []
  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 User Guide.

Returns:

  • (String)


5998
5999
6000
6001
6002
6003
6004
6005
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 5998

class GetObjectTorrentRequest < Struct.new(
  :bucket,
  :key,
  :request_payer,
  :expected_bucket_owner)
  SENSITIVE = []
  include Aws::Structure
end