

# GuardrailTextBlock
<a name="API_runtime_GuardrailTextBlock"></a>

The text block to be evaluated by the guardrail.

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

 ** text **   <a name="bedrock-Type-runtime_GuardrailTextBlock-text"></a>
The input text details to be evaluated by the guardrail.  
Type: String  
Required: Yes

 ** qualifiers **   <a name="bedrock-Type-runtime_GuardrailTextBlock-qualifiers"></a>
The qualifiers describing the text block.  
Type: Array of strings  
Valid Values: `grounding_source | query | guard_content`   
Required: No

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