Class: Aws::S3::Types::GetPartRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bucket ⇒ String

The name of the bucket containing the part to retrieve.

Returns:

  • (String)


10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 10392

class GetPartRequest < Struct.new(
  :bucket,
  :key,
  :range,
  :request_payer,
  :upload_id,
  :part_number,
  :expected_bucket_owner,
  :checksum_mode)
  SENSITIVE = []
  include Aws::Structure
end

#checksum_mode ⇒ String

To retrieve the checksum, this mode must be enabled.

Returns:

  • (String)


10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 10392

class GetPartRequest < Struct.new(
  :bucket,
  :key,
  :range,
  :request_payer,
  :upload_id,
  :part_number,
  :expected_bucket_owner,
  :checksum_mode)
  SENSITIVE = []
  include Aws::Structure
end

#expected_bucket_owner ⇒ String

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

Returns:

  • (String)


10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 10392

class GetPartRequest < Struct.new(
  :bucket,
  :key,
  :range,
  :request_payer,
  :upload_id,
  :part_number,
  :expected_bucket_owner,
  :checksum_mode)
  SENSITIVE = []
  include Aws::Structure
end

#key ⇒ String

Object key for which the multipart upload was initiated.

Returns:

  • (String)


10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 10392

class GetPartRequest < Struct.new(
  :bucket,
  :key,
  :range,
  :request_payer,
  :upload_id,
  :part_number,
  :expected_bucket_owner,
  :checksum_mode)
  SENSITIVE = []
  include Aws::Structure
end

#part_number ⇒ Integer

Part number of the part to retrieve. This is a positive integer between 1 and 10,000.

Returns:

  • (Integer)


10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 10392

class GetPartRequest < Struct.new(
  :bucket,
  :key,
  :range,
  :request_payer,
  :upload_id,
  :part_number,
  :expected_bucket_owner,
  :checksum_mode)
  SENSITIVE = []
  include Aws::Structure
end

#range ⇒ String

Downloads the specified byte range of a part. For more information about the HTTP Range header, see https://www.rfc-editor.org/rfc/rfc9110.html#name-range.

Amazon S3 doesn't support retrieving multiple ranges of data per GetPart request.

Returns:

  • (String)


10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 10392

class GetPartRequest < Struct.new(
  :bucket,
  :key,
  :range,
  :request_payer,
  :upload_id,
  :part_number,
  :expected_bucket_owner,
  :checksum_mode)
  SENSITIVE = []
  include Aws::Structure
end

#request_payer ⇒ String

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 the corresponding charges. 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.

Returns:

  • (String)


10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 10392

class GetPartRequest < Struct.new(
  :bucket,
  :key,
  :range,
  :request_payer,
  :upload_id,
  :part_number,
  :expected_bucket_owner,
  :checksum_mode)
  SENSITIVE = []
  include Aws::Structure
end

#upload_id ⇒ String

Upload ID identifying the multipart upload to retrieve the specified part from.

Returns:

  • (String)


10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 10392

class GetPartRequest < Struct.new(
  :bucket,
  :key,
  :range,
  :request_payer,
  :upload_id,
  :part_number,
  :expected_bucket_owner,
  :checksum_mode)
  SENSITIVE = []
  include Aws::Structure
end