Skip to content

RecordExpirySpecification

Union Type

RecordExpirySpecification module-attribute

Specifies the record expiry (long-term memory time-to-live) applied to the records in a batch request. Provide exactly one of recordExpiryDurationDays or action. Set recordExpiryDurationDays to configure or update the expiry, or set action to REMOVE to remove a previously configured expiry.

Union Member Types

RecordExpirySpecificationRecordExpiryDurationDays dataclass

Bases: _SerdeShape

The duration, in days, after which the records in this request expire. The minimum is 31 days.

Attributes

value instance-attribute
value: int

RecordExpirySpecificationAction dataclass

Bases: _SerdeShape

The action to apply to the existing record expiry configuration. Set to REMOVE to remove a previously configured expiry so that the records no longer expire. This value does not apply when creating records.

Attributes

value instance-attribute
value: str

RecordExpirySpecificationUnknown dataclass

Bases: _SerdeShape

Represents an unknown variant. If you receive this value, you will need to update your library to receive the parsed value. This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str