

# AggregationPartitionBy
<a name="API_AggregationPartitionBy"></a>

The definition of an `AggregationPartitionBy`.

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

**Note**  
In the following list, the required parameters are described first.

 ** FieldName **   <a name="QS-Type-AggregationPartitionBy-FieldName"></a>
The field Name for an `AggregationPartitionBy`.  
Type: String  
Length Constraints: Maximum length of 256.  
Required: No

 ** TimeGranularity **   <a name="QS-Type-AggregationPartitionBy-TimeGranularity"></a>
The `TimeGranularity` for an `AggregationPartitionBy`.  
Type: String  
Valid Values: `YEAR | QUARTER | MONTH | WEEK | DAY | HOUR | MINUTE | SECOND | MILLISECOND`   
Required: No

## See Also
<a name="API_AggregationPartitionBy_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/quicksight-2018-04-01/AggregationPartitionBy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/quicksight-2018-04-01/AggregationPartitionBy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/quicksight-2018-04-01/AggregationPartitionBy) 