

# AnalyticsIntentStageGroupBySpecification
<a name="API_AnalyticsIntentStageGroupBySpecification"></a>

Contains the category by which to group the intent stages.

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

 ** name **   <a name="lexv2-Type-AnalyticsIntentStageGroupBySpecification-name"></a>
Specifies whether to group the intent stages by their name or the intent to which the session was switched.  
Type: String  
Valid Values: `IntentStageName | SwitchedToIntent`   
Required: Yes

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