

# GeneratedQuery
<a name="API_agent-runtime_GeneratedQuery"></a>

Contains information about a query generated for a natural language query.

## Contents
<a name="API_agent-runtime_GeneratedQuery_Contents"></a>

 ** sql **   <a name="bedrock-Type-agent-runtime_GeneratedQuery-sql"></a>
An SQL query that corresponds to the natural language query.  
Type: String  
Required: No

 ** type **   <a name="bedrock-Type-agent-runtime_GeneratedQuery-type"></a>
The type of transformed query.  
Type: String  
Valid Values: `REDSHIFT_SQL`   
Required: No

## See Also
<a name="API_agent-runtime_GeneratedQuery_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-agent-runtime-2023-07-26/GeneratedQuery) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-agent-runtime-2023-07-26/GeneratedQuery) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-agent-runtime-2023-07-26/GeneratedQuery) 