class Aws::S3::Types::PutObjectLegalHoldRequest


@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLegalHoldRequest AWS API Documentation
@return [String]
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 Developer Guide*.
pays buckets, see [Downloading Objects in Requestor 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/dev/using-access-points.html<br><br><br><br>Points][1] in the *Amazon Simple Storage Service Developer Guide*.
For more information about access point ARNs, see [Using Access
SDKs, you provide the access point ARN in place of the bucket name.
When using this operation using an access point through the AWS
AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com.
form
to the access point hostname. The access point hostname takes the
When using this API with an access point, you must direct requests
Hold on.
The bucket name containing the object that you want to place a Legal
@!attribute [rw] bucket
}
content_md5: “ContentMD5”,
version_id: “ObjectVersionId”,
request_payer: “requester”, # accepts requester
},
status: “ON”, # accepts ON, OFF
legal_hold: {
key: “ObjectKey”, # required
bucket: “BucketName”, # required
{
data as a hash:
@note When making an API call, you may pass PutObjectLegalHoldRequest