class Aws::S3::Types::ObjectLockRetention
A Retention configuration for an object.
@note When making an API call, you may pass ObjectLockRetention
data as a hash: { mode: "GOVERNANCE", # accepts GOVERNANCE, COMPLIANCE retain_until_date: Time.now, }
@!attribute [rw] mode
Indicates the Retention mode for the specified object. @return [String]
@!attribute [rw] retain_until_date
The date on which this Object Lock Retention will expire. @return [Time]
@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockRetention AWS API Documentation
Constants
- SENSITIVE