ObjectLockRetention
¶
Used by
-
AsyncS3Client Operationsput_object_retention -
S3Client Operationsput_object_retention
Source code in docs_src/capo_s3/types/object_lock_retention.py
event_hold
instance-attribute
¶
event_hold: NotRequired[ObjectLockEventHold]
The event hold status for the object. Set to ON to enable an event hold or OFF to disable it.
event_hold_duration
instance-attribute
¶
event_hold_duration: NotRequired[EventHoldDuration]
The event hold duration for the object. Specifies how long the object remains protected after the event hold is released.
mode
instance-attribute
¶
mode: NotRequired[ObjectLockRetentionMode]
Indicates the Retention mode for the specified object.