libZSservicesZSamazonka-databrewZSamazonka-databrew
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DataBrew.Types.FilterExpression

Description

 
Synopsis

Documentation

data FilterExpression Source #

Represents a structure for defining parameter conditions. Supported conditions are described here: Supported conditions for dynamic datasets in the Glue DataBrew Developer Guide.

See: newFilterExpression smart constructor.

Constructors

FilterExpression' 

Fields

  • expression :: Text

    The expression which includes condition names followed by substitution variables, possibly grouped and combined with other conditions. For example, "(starts_with :prefix1 or starts_with :prefix2) and (ends_with :suffix1 or ends_with :suffix2)". Substitution variables should start with ':' symbol.

  • valuesMap :: HashMap Text Text

    The map of substitution variable names to their values used in this filter expression.

Instances

Instances details
Eq FilterExpression Source # 
Instance details

Defined in Amazonka.DataBrew.Types.FilterExpression

Read FilterExpression Source # 
Instance details

Defined in Amazonka.DataBrew.Types.FilterExpression

Show FilterExpression Source # 
Instance details

Defined in Amazonka.DataBrew.Types.FilterExpression

Generic FilterExpression Source # 
Instance details

Defined in Amazonka.DataBrew.Types.FilterExpression

Associated Types

type Rep FilterExpression :: Type -> Type #

NFData FilterExpression Source # 
Instance details

Defined in Amazonka.DataBrew.Types.FilterExpression

Methods

rnf :: FilterExpression -> () #

Hashable FilterExpression Source # 
Instance details

Defined in Amazonka.DataBrew.Types.FilterExpression

ToJSON FilterExpression Source # 
Instance details

Defined in Amazonka.DataBrew.Types.FilterExpression

FromJSON FilterExpression Source # 
Instance details

Defined in Amazonka.DataBrew.Types.FilterExpression

type Rep FilterExpression Source # 
Instance details

Defined in Amazonka.DataBrew.Types.FilterExpression

type Rep FilterExpression = D1 ('MetaData "FilterExpression" "Amazonka.DataBrew.Types.FilterExpression" "libZSservicesZSamazonka-databrewZSamazonka-databrew" 'False) (C1 ('MetaCons "FilterExpression'" 'PrefixI 'True) (S1 ('MetaSel ('Just "expression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "valuesMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text))))

newFilterExpression Source #

Create a value of FilterExpression 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:expression:FilterExpression', filterExpression_expression - The expression which includes condition names followed by substitution variables, possibly grouped and combined with other conditions. For example, "(starts_with :prefix1 or starts_with :prefix2) and (ends_with :suffix1 or ends_with :suffix2)". Substitution variables should start with ':' symbol.

$sel:valuesMap:FilterExpression', filterExpression_valuesMap - The map of substitution variable names to their values used in this filter expression.

filterExpression_expression :: Lens' FilterExpression Text Source #

The expression which includes condition names followed by substitution variables, possibly grouped and combined with other conditions. For example, "(starts_with :prefix1 or starts_with :prefix2) and (ends_with :suffix1 or ends_with :suffix2)". Substitution variables should start with ':' symbol.

filterExpression_valuesMap :: Lens' FilterExpression (HashMap Text Text) Source #

The map of substitution variable names to their values used in this filter expression.