Skip to content

S3  >  Dictionaries  >  ObjectLockRetentionDict

ObjectLockRetentionDict

Dictionary Type

ObjectLockRetentionDict

Bases: TypedDict

Dictionary form of ObjectLockRetention.

Attributes

event_hold instance-attribute
event_hold: str | None

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: EventHoldDuration | EventHoldDurationDict | None

The event hold duration for the object. Specifies how long the object remains protected after the event hold is released.

mode instance-attribute
mode: str | None

Indicates the Retention mode for the specified object.

retain_until_date instance-attribute
retain_until_date: datetime | None

The date on which this Object Lock Retention will expire.