ModifyMemoryStrategyInput
Input for modifying a memory strategy.
Contents
- memoryStrategyId
-
The unique identifier of the memory strategy to modify.
Type: String
Required: Yes
- configuration
-
The updated configuration for the memory strategy.
Type: ModifyStrategyConfiguration object
Required: No
- description
-
The updated description of the memory strategy.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 4096.
Required: No
- memoryRecordSchema
-
Updated metadata schema for records generated by this strategy.
Type: MemoryRecordSchema object
Required: No
- namespaces
-
This member has been deprecated.
This is a legacy parameter, use
namespaceTemplates. The updated namespaces for the memory strategy.Type: Array of strings
Array Members: Fixed number of 1 item.
Length Constraints: Minimum length of 1. Maximum length of 512.
Pattern:
[a-zA-Z0-9\-_\/]*(\{[a-zA-Z][a-zA-Z0-9]*\}[a-zA-Z0-9\-_\/]*)*Required: No
- namespaceTemplates
-
The updated namespaceTemplates for the memory strategy.
Type: Array of strings
Array Members: Fixed number of 1 item.
Length Constraints: Minimum length of 1. Maximum length of 512.
Pattern:
[a-zA-Z0-9\-_\/]*(\{[a-zA-Z][a-zA-Z0-9]*\}[a-zA-Z0-9\-_\/]*)*Required: No
- recordExpirySpecification
-
Updates or removes the record expiry (long-term memory time-to-live) for this strategy. Set
recordExpiryDurationDaysto configure or update the number of days after which records expire, or setactiontoREMOVEto remove a previously configured time-to-live so that newer records no longer expire. The change applies only to records created after the update.Type: RecordExpirySpecification object
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: