amazonka-glue-2.0: Amazon Glue 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.Glue.Types.CustomEntityType

Description

 
Synopsis

Documentation

data CustomEntityType Source #

An object representing a custom pattern for detecting sensitive data across the columns and rows of your structured data.

See: newCustomEntityType smart constructor.

Constructors

CustomEntityType' 

Fields

  • contextWords :: Maybe (NonEmpty Text)

    A list of context words. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data.

    If no context words are passed only a regular expression is checked.

  • name :: Text

    A name for the custom pattern that allows it to be retrieved or deleted later. This name must be unique per Amazon Web Services account.

  • regexString :: Text

    A regular expression string that is used for detecting sensitive data in a custom pattern.

Instances

Instances details
FromJSON CustomEntityType Source # 
Instance details

Defined in Amazonka.Glue.Types.CustomEntityType

Generic CustomEntityType Source # 
Instance details

Defined in Amazonka.Glue.Types.CustomEntityType

Associated Types

type Rep CustomEntityType :: Type -> Type #

Read CustomEntityType Source # 
Instance details

Defined in Amazonka.Glue.Types.CustomEntityType

Show CustomEntityType Source # 
Instance details

Defined in Amazonka.Glue.Types.CustomEntityType

NFData CustomEntityType Source # 
Instance details

Defined in Amazonka.Glue.Types.CustomEntityType

Methods

rnf :: CustomEntityType -> () #

Eq CustomEntityType Source # 
Instance details

Defined in Amazonka.Glue.Types.CustomEntityType

Hashable CustomEntityType Source # 
Instance details

Defined in Amazonka.Glue.Types.CustomEntityType

type Rep CustomEntityType Source # 
Instance details

Defined in Amazonka.Glue.Types.CustomEntityType

type Rep CustomEntityType = D1 ('MetaData "CustomEntityType" "Amazonka.Glue.Types.CustomEntityType" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "CustomEntityType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "contextWords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "regexString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCustomEntityType Source #

Create a value of CustomEntityType 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:contextWords:CustomEntityType', customEntityType_contextWords - A list of context words. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data.

If no context words are passed only a regular expression is checked.

$sel:name:CustomEntityType', customEntityType_name - A name for the custom pattern that allows it to be retrieved or deleted later. This name must be unique per Amazon Web Services account.

$sel:regexString:CustomEntityType', customEntityType_regexString - A regular expression string that is used for detecting sensitive data in a custom pattern.

customEntityType_contextWords :: Lens' CustomEntityType (Maybe (NonEmpty Text)) Source #

A list of context words. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data.

If no context words are passed only a regular expression is checked.

customEntityType_name :: Lens' CustomEntityType Text Source #

A name for the custom pattern that allows it to be retrieved or deleted later. This name must be unique per Amazon Web Services account.

customEntityType_regexString :: Lens' CustomEntityType Text Source #

A regular expression string that is used for detecting sensitive data in a custom pattern.