Skip to main content

Module core

Module core 

Source

Structs§

Event
ExpirationOptions
ObjectOpts
TransitionOptions

Enums§

IlmAction

Constants§

LIFECYCLE_CORRUPT_RULE_ERROR_KIND
A persisted rule that could never have passed validation. Callers that can report an error surface it; evaluation itself stays fail-closed and takes no action for the rule.
LIFECYCLE_MALFORMED_XML_ERROR_KIND
A validation failure that the S3 boundary must answer with MalformedXML rather than InvalidArgument: the document does not match the published schema shape (wrong number of Filter predicates, a one-member And).
TRANSITION_COMPLETE
TRANSITION_PENDING

Traits§

Lifecycle
LifecycleCalculate
RuleValidate

Functions§

abort_incomplete_multipart_upload_due
expected_expiry_time
expiration_action_has_valid_target
Returns whether an expiry action has enough identity to target the object it was evaluated against. A nil UUID is an explicit S3 null-version identity; only an absent version ID is ambiguous for an exact-version action.
lifecycle_has_corrupt_retention_count
Does any rule carry a retention count that validation would have rejected?
retained_noncurrent_versions
The retention count a rule keeps, or None when the persisted value is negative — a shape PUT validation rejects, so reaching it means the rule came from older persistence or an import.