amazonka-databrew-2.0: Amazon Glue DataBrew SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DataBrew.Types.Threshold

Description

 
Synopsis

Documentation

data Threshold Source #

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.

Constructors

Threshold' 

Fields

  • type' :: Maybe ThresholdType

    The type of a threshold. Used for comparison of an actual count of rows that satisfy the rule to the threshold value.

  • unit :: Maybe ThresholdUnit

    Unit of threshold value. Can be either a COUNT or PERCENTAGE of the full sample size used for validation.

  • value :: Double

    The value of a threshold.

Instances

Instances details
FromJSON Threshold Source # 
Instance details

Defined in Amazonka.DataBrew.Types.Threshold

ToJSON Threshold Source # 
Instance details

Defined in Amazonka.DataBrew.Types.Threshold

Generic Threshold Source # 
Instance details

Defined in Amazonka.DataBrew.Types.Threshold

Associated Types

type Rep Threshold :: Type -> Type #

Read Threshold Source # 
Instance details

Defined in Amazonka.DataBrew.Types.Threshold

Show Threshold Source # 
Instance details

Defined in Amazonka.DataBrew.Types.Threshold

NFData Threshold Source # 
Instance details

Defined in Amazonka.DataBrew.Types.Threshold

Methods

rnf :: Threshold -> () #

Eq Threshold Source # 
Instance details

Defined in Amazonka.DataBrew.Types.Threshold

Hashable Threshold Source # 
Instance details

Defined in Amazonka.DataBrew.Types.Threshold

type Rep Threshold Source # 
Instance details

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))))

newThreshold Source #

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.

threshold_value :: Lens' Threshold Double Source #

The value of a threshold.