

# ModifyMemoryStrategyInput
<a name="API_ModifyMemoryStrategyInput"></a>

Input for modifying a memory strategy.

## Contents
<a name="API_ModifyMemoryStrategyInput_Contents"></a>

 ** memoryStrategyId **   <a name="bedrockagentcorecontrol-Type-ModifyMemoryStrategyInput-memoryStrategyId"></a>
The unique identifier of the memory strategy to modify.  
Type: String  
Required: Yes

 ** configuration **   <a name="bedrockagentcorecontrol-Type-ModifyMemoryStrategyInput-configuration"></a>
The updated configuration for the memory strategy.  
Type: [ModifyStrategyConfiguration](API_ModifyStrategyConfiguration.md) object  
Required: No

 ** description **   <a name="bedrockagentcorecontrol-Type-ModifyMemoryStrategyInput-description"></a>
The updated description of the memory strategy.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 4096.  
Required: No

 ** namespaces **   <a name="bedrockagentcorecontrol-Type-ModifyMemoryStrategyInput-namespaces"></a>
 *This member has been deprecated.*   
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\-_\/]*(\{(actorId|sessionId|memoryStrategyId)\}[a-zA-Z0-9\-_\/]*)*`   
Required: No

 ** namespaceTemplates **   <a name="bedrockagentcorecontrol-Type-ModifyMemoryStrategyInput-namespaceTemplates"></a>
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\-_\/]*(\{(actorId|sessionId|memoryStrategyId)\}[a-zA-Z0-9\-_\/]*)*`   
Required: No

## See Also
<a name="API_ModifyMemoryStrategyInput_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/bedrock-agentcore-control-2023-06-05/ModifyMemoryStrategyInput) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-agentcore-control-2023-06-05/ModifyMemoryStrategyInput) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-agentcore-control-2023-06-05/ModifyMemoryStrategyInput) 