import { Value } from '../../../cloudformation/Value';
import { ColumnIdentifierProps } from './ColumnIdentifierProps';
import { AnchorDateConfigurationProps } from './AnchorDateConfigurationProps';
import { ExcludePeriodConfigurationProps } from './ExcludePeriodConfigurationProps';
/**
  A <code>RelativeDatesFilter</code> filters relative dates values.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatesfilter.html">the AWS Docs</a>
*/
export interface RelativeDatesFilterProps {
    /** <code>RelativeDateValue</code>  <a name="cfn-quicksight-dashboard-relativedatesfilter-relativedatevalue"></a>
  The date value of the filter.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    relativeDateValue?: Value<number>;
    /** <code>Column</code>  <a name="cfn-quicksight-dashboard-relativedatesfilter-column"></a>
  The column that the filter is applied to.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    column: ColumnIdentifierProps;
    /** <p> */
    relativeDateType: Value<string>;
    /** <code>TimeGranularity</code>  <a name="cfn-quicksight-dashboard-relativedatesfilter-timegranularity"></a>
  The level of time precision that is used to aggregate <code>DateTime</code> values.<br />
  
  Required: Yes<br />
  
  Allowed values: <code>DAY | HOUR | MILLISECOND | MINUTE | MONTH | QUARTER | SECOND | WEEK | YEAR</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    timeGranularity: Value<'DAY' | 'HOUR' | 'MILLISECOND' | 'MINUTE' | 'MONTH' | 'QUARTER' | 'SECOND' | 'WEEK' | 'YEAR'>;
    /** <code>ParameterName</code>  <a name="cfn-quicksight-dashboard-relativedatesfilter-parametername"></a>
  The parameter whose value should be used for the filter value.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>2048</code><br />
  
  Pattern: <code>^[a-zA-Z0-9]+$</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    parameterName?: Value<string>;
    /** <p> */
    nullOption: Value<string>;
    /** <code>FilterId</code>  <a name="cfn-quicksight-dashboard-relativedatesfilter-filterid"></a>
  An identifier that uniquely identifies a filter within a dashboard, analysis, or template.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>512</code><br />
  
  Pattern: <code>[\w\-]+</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    filterId: Value<string>;
    /** <code>AnchorDateConfiguration</code>  <a name="cfn-quicksight-dashboard-relativedatesfilter-anchordateconfiguration"></a>
  The date configuration of the filter.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    anchorDateConfiguration: AnchorDateConfigurationProps;
    /** <code>MinimumGranularity</code>  <a name="cfn-quicksight-dashboard-relativedatesfilter-minimumgranularity"></a>
  The minimum granularity (period granularity) of the relative dates filter.<br />
  
  Required: No<br />
  
  Allowed values: <code>DAY | HOUR | MILLISECOND | MINUTE | MONTH | QUARTER | SECOND | WEEK | YEAR</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    minimumGranularity?: Value<'DAY' | 'HOUR' | 'MILLISECOND' | 'MINUTE' | 'MONTH' | 'QUARTER' | 'SECOND' | 'WEEK' | 'YEAR'>;
    /** <code>ExcludePeriodConfiguration</code>  <a name="cfn-quicksight-dashboard-relativedatesfilter-excludeperiodconfiguration"></a>
  The configuration for the exclude period of the filter.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    excludePeriodConfiguration?: ExcludePeriodConfigurationProps;
}
