

# Button
<a name="API_runtime_Button"></a>

A button that appears on a response card show to the user.

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

 ** text **   <a name="lexv2-Type-runtime_Button-text"></a>
The text that is displayed on the button.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 50.  
Required: Yes

 ** value **   <a name="lexv2-Type-runtime_Button-value"></a>
The value returned to Amazon Lex V2 when a user chooses the button.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 50.  
Required: Yes

## See Also
<a name="API_runtime_Button_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/runtime.lex.v2-2020-08-07/Button) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/runtime.lex.v2-2020-08-07/Button) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/runtime.lex.v2-2020-08-07/Button) 