

# UserPreferenceMemoryStrategyInput
<a name="API_UserPreferenceMemoryStrategyInput"></a>

Input for creating a user preference memory strategy.

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

 ** name **   <a name="bedrockagentcorecontrol-Type-UserPreferenceMemoryStrategyInput-name"></a>
The name of the user preference memory strategy.  
Type: String  
Pattern: `[a-zA-Z][a-zA-Z0-9_]{0,47}`   
Required: Yes

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

 ** namespaces **   <a name="bedrockagentcorecontrol-Type-UserPreferenceMemoryStrategyInput-namespaces"></a>
 *This member has been deprecated.*   
The namespaces associated with the user preference 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-UserPreferenceMemoryStrategyInput-namespaceTemplates"></a>
The namespaceTemplates associated with the user preference 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_UserPreferenceMemoryStrategyInput_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/UserPreferenceMemoryStrategyInput) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-agentcore-control-2023-06-05/UserPreferenceMemoryStrategyInput) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-agentcore-control-2023-06-05/UserPreferenceMemoryStrategyInput) 