Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
Documentation
The threshold used with a non-aggregate check expression. The non-aggregate check expression will be applied to each row in a specific column. Then the threshold will be used to determine whether the validation succeeds.
See: newThreshold
smart constructor.
Threshold' | |
|
Instances
FromJSON Threshold Source # | |
ToJSON Threshold Source # | |
Defined in Amazonka.DataBrew.Types.Threshold | |
Generic Threshold Source # | |
Read Threshold Source # | |
Show Threshold Source # | |
NFData Threshold Source # | |
Defined in Amazonka.DataBrew.Types.Threshold | |
Eq Threshold Source # | |
Hashable Threshold Source # | |
Defined in Amazonka.DataBrew.Types.Threshold | |
type Rep Threshold Source # | |
Defined in Amazonka.DataBrew.Types.Threshold type Rep Threshold = D1 ('MetaData "Threshold" "Amazonka.DataBrew.Types.Threshold" "amazonka-databrew-2.0-GJMXoRzRb387Yq6XNY29RM" 'False) (C1 ('MetaCons "Threshold'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ThresholdType)) :*: (S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ThresholdUnit)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double)))) |
Create a value of Threshold
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:type':Threshold'
, threshold_type
- The type of a threshold. Used for comparison of an actual count of rows
that satisfy the rule to the threshold value.
$sel:unit:Threshold'
, threshold_unit
- Unit of threshold value. Can be either a COUNT or PERCENTAGE of the full
sample size used for validation.
$sel:value:Threshold'
, threshold_value
- The value of a threshold.
threshold_type :: Lens' Threshold (Maybe ThresholdType) Source #
The type of a threshold. Used for comparison of an actual count of rows that satisfy the rule to the threshold value.
threshold_unit :: Lens' Threshold (Maybe ThresholdUnit) Source #
Unit of threshold value. Can be either a COUNT or PERCENTAGE of the full sample size used for validation.