View a markdown version of this page

RecordExpirySpecification - Amazon Bedrock AgentCore Data Plane

RecordExpirySpecification

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.

Contents

Important

This data type is a UNION, so only one of the following members can be specified when used or returned.

action

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.

Type: String

Valid Values: REMOVE

Required: No

recordExpiryDurationDays

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

Type: Integer

Valid Range: Minimum value of 31.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: