Skip to content

ObjectLockRetention

rboto-s3==0.4.0 · Service index · Types

Public import: from rboto_s3.types import ObjectLockRetention.

Used in: input. Typed dictionary. Presence and nullability are separate: NotRequired permits omission; | None permits a null value.

ObjectLockRetention = TypedDict(
    "ObjectLockRetention",
    {
        "mode": NotRequired['ObjectLockRetentionMode'],
        "retain_until_date": NotRequired['str'],
        "event_hold": NotRequired['ObjectLockEventHold'],
        "event_hold_duration": NotRequired['EventHoldDuration'],
    },
)

EventHoldDuration, ObjectLockEventHold, ObjectLockRetentionMode