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]
buckets can be found at
requests. Documentation on downloading objects from requester pays
the request. Bucket owners need not specify this parameter in their
Confirms that the requester knows that she or he will be charged for
@!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]
on.
The bucket containing the object that you want to place a Legal Hold
@!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