

# AnalyticsUtteranceGroupBySpecification
<a name="API_AnalyticsUtteranceGroupBySpecification"></a>

Contains the category by which to group the utterances.

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

 ** name **   <a name="lexv2-Type-AnalyticsUtteranceGroupBySpecification-name"></a>
Specifies whether to group the utterances by their text or their state.  
Type: String  
Valid Values: `UtteranceText | UtteranceState`   
Required: Yes

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