class Aws::S3::Types::PutObjectLegalHoldRequest
@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLegalHoldRequest AWS API Documentation
@return [String]
‘403 Forbidden` (access denied).
by a different account, the request fails with the HTTP status code
The account ID of the expected bucket owner. If the bucket is owned
@!attribute [rw] expected_bucket_owner
@return [String]<br>: docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html<br><br><br><br>provided `ChecksumAlgorithm` parameter.
If you provide an individual checksum, Amazon S3 ignores any<br><br>integrity] in the *Amazon S3 User Guide*.
code `400 Bad Request`. For more information, see [Checking object
sent. Otherwise, Amazon S3 fails the request with the HTTP status
must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
functionality if not using the SDK. When sending this header, there
when using the SDK. This header will not provide any additional
Indicates the algorithm used to create the checksum for the object
@!attribute [rw] checksum_algorithm
@return [String]
calculated automatically.
Interface (CLI) or Amazon Web Services SDKs, this field is
For requests made using the Amazon Web Services Command Line
The MD5 hash for the request body.
@!attribute [rw] content_md5
@return [String]
The version ID of the object that you want to place a legal hold on.
@!attribute [rw] version_id
@return [String]<br>: docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html<br><br><br><br>in the *Amazon S3 User Guide*.
Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
requests. For information about downloading objects from Requester
request. Bucket owners need not specify this parameter in their
Confirms that the requester knows that they will be charged for the
@!attribute [rw] request_payer
@return [Types::ObjectLockLegalHold]
to the specified object.
Container element for the legal hold configuration you want to apply
@!attribute [rw] legal_hold
@return [String]
The key name for the object that you want to place a legal hold on.
@!attribute [rw] key
@return [String]<br>: docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html<br><br><br><br>[Using access points] in the *Amazon S3 User Guide*.
bucket name. For more information about access point ARNs, see
Services SDKs, you provide the access point ARN in place of the
When using this action with an access point through the Amazon Web
AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com.
takes the form
requests to the access point hostname. The access point hostname
When using this action with an access point, you must direct
hold on.
The bucket name containing the object that you want to place a legal
@!attribute [rw] bucket