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.CreateCustomEntityType

Description

Creates a custom pattern that is used to detect sensitive data across the columns and rows of your structured data.

Each custom pattern you create specifies a regular expression and an optional list of context words. If no context words are passed only a regular expression is checked.

Synopsis

Creating a Request

data CreateCustomEntityType Source #

See: newCreateCustomEntityType smart constructor.

Constructors

CreateCustomEntityType' 

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
ToJSON CreateCustomEntityType Source # 
Instance details

Defined in Amazonka.Glue.CreateCustomEntityType

ToHeaders CreateCustomEntityType Source # 
Instance details

Defined in Amazonka.Glue.CreateCustomEntityType

ToPath CreateCustomEntityType Source # 
Instance details

Defined in Amazonka.Glue.CreateCustomEntityType

ToQuery CreateCustomEntityType Source # 
Instance details

Defined in Amazonka.Glue.CreateCustomEntityType

AWSRequest CreateCustomEntityType Source # 
Instance details

Defined in Amazonka.Glue.CreateCustomEntityType

Associated Types

type AWSResponse CreateCustomEntityType #

Generic CreateCustomEntityType Source # 
Instance details

Defined in Amazonka.Glue.CreateCustomEntityType

Associated Types

type Rep CreateCustomEntityType :: Type -> Type #

Read CreateCustomEntityType Source # 
Instance details

Defined in Amazonka.Glue.CreateCustomEntityType

Show CreateCustomEntityType Source # 
Instance details

Defined in Amazonka.Glue.CreateCustomEntityType

NFData CreateCustomEntityType Source # 
Instance details

Defined in Amazonka.Glue.CreateCustomEntityType

Methods

rnf :: CreateCustomEntityType -> () #

Eq CreateCustomEntityType Source # 
Instance details

Defined in Amazonka.Glue.CreateCustomEntityType

Hashable CreateCustomEntityType Source # 
Instance details

Defined in Amazonka.Glue.CreateCustomEntityType

type AWSResponse CreateCustomEntityType Source # 
Instance details

Defined in Amazonka.Glue.CreateCustomEntityType

type Rep CreateCustomEntityType Source # 
Instance details

Defined in Amazonka.Glue.CreateCustomEntityType

type Rep CreateCustomEntityType = D1 ('MetaData "CreateCustomEntityType" "Amazonka.Glue.CreateCustomEntityType" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "CreateCustomEntityType'" '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))))

newCreateCustomEntityType Source #

Create a value of CreateCustomEntityType 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:

CreateCustomEntityType, createCustomEntityType_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.

CreateCustomEntityType, createCustomEntityType_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.

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

Request Lenses

createCustomEntityType_contextWords :: Lens' CreateCustomEntityType (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.

createCustomEntityType_name :: Lens' CreateCustomEntityType 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.

createCustomEntityType_regexString :: Lens' CreateCustomEntityType Text Source #

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

Destructuring the Response

data CreateCustomEntityTypeResponse Source #

See: newCreateCustomEntityTypeResponse smart constructor.

Constructors

CreateCustomEntityTypeResponse' 

Fields

Instances

Instances details
Generic CreateCustomEntityTypeResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateCustomEntityType

Associated Types

type Rep CreateCustomEntityTypeResponse :: Type -> Type #

Read CreateCustomEntityTypeResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateCustomEntityType

Show CreateCustomEntityTypeResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateCustomEntityType

NFData CreateCustomEntityTypeResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateCustomEntityType

Eq CreateCustomEntityTypeResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateCustomEntityType

type Rep CreateCustomEntityTypeResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateCustomEntityType

type Rep CreateCustomEntityTypeResponse = D1 ('MetaData "CreateCustomEntityTypeResponse" "Amazonka.Glue.CreateCustomEntityType" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "CreateCustomEntityTypeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateCustomEntityTypeResponse Source #

Create a value of CreateCustomEntityTypeResponse 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:

CreateCustomEntityType, createCustomEntityTypeResponse_name - The name of the custom pattern you created.

$sel:httpStatus:CreateCustomEntityTypeResponse', createCustomEntityTypeResponse_httpStatus - The response's http status code.

Response Lenses