class Aws::S3::Types::PutObjectLegalHoldRequest
@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLegalHoldRequest AWS API Documentation
@return [String]
denied).
request fails with the HTTP status code ‘403 Forbidden` (access
you provide does not match the actual owner of the bucket, the
The account ID of the expected bucket owner. If the account ID that
@!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
object integrity] in the *Amazon S3 User Guide*.
status code `400 Bad Request`. For more information, see [Checking
header sent. Otherwise, Amazon S3 fails the request with the HTTP
there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
functionality if you don’t use the SDK. When you send this header,
when you use 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></note>
<note markdown=“1”> This functionality is not supported for directory buckets.
Requester Pays Buckets] in the *Amazon S3 User Guide*.
objects from Requester Pays buckets, see [Downloading Objects in
charges to copy the object. For information about downloading
Requester Pays enabled, the requester will pay for corresponding
requests. If either the source or destination S3 bucket has
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.
The access point hostname takes the form
point ARN, you must direct requests to the access point hostname.
bucket name or specify the access point ARN. When using the access
you must provide the alias of the access point in place of the
**Access points** - When you use this action with an access point,
hold on.
The bucket name containing the object that you want to place a legal
@!attribute [rw] bucket