

# AggregatedUtterancesSortBy
<a name="API_AggregatedUtterancesSortBy"></a>

Specifies attributes for sorting a list of utterances.

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

 ** attribute **   <a name="lexv2-Type-AggregatedUtterancesSortBy-attribute"></a>
The utterance attribute to sort by.  
Type: String  
Valid Values: `HitCount | MissedCount`   
Required: Yes

 ** order **   <a name="lexv2-Type-AggregatedUtterancesSortBy-order"></a>
Specifies whether to sort the aggregated utterances in ascending or descending order.  
Type: String  
Valid Values: `Ascending | Descending`   
Required: Yes

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