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 |
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
- data CreateCustomEntityType = CreateCustomEntityType' {
- contextWords :: Maybe (NonEmpty Text)
- name :: Text
- regexString :: Text
- newCreateCustomEntityType :: Text -> Text -> CreateCustomEntityType
- createCustomEntityType_contextWords :: Lens' CreateCustomEntityType (Maybe (NonEmpty Text))
- createCustomEntityType_name :: Lens' CreateCustomEntityType Text
- createCustomEntityType_regexString :: Lens' CreateCustomEntityType Text
- data CreateCustomEntityTypeResponse = CreateCustomEntityTypeResponse' {
- name :: Maybe Text
- httpStatus :: Int
- newCreateCustomEntityTypeResponse :: Int -> CreateCustomEntityTypeResponse
- createCustomEntityTypeResponse_name :: Lens' CreateCustomEntityTypeResponse (Maybe Text)
- createCustomEntityTypeResponse_httpStatus :: Lens' CreateCustomEntityTypeResponse Int
Creating a Request
data CreateCustomEntityType Source #
See: newCreateCustomEntityType
smart constructor.
CreateCustomEntityType' | |
|
Instances
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.
CreateCustomEntityTypeResponse' | |
|
Instances
Generic CreateCustomEntityTypeResponse Source # | |
Read CreateCustomEntityTypeResponse Source # | |
Show CreateCustomEntityTypeResponse Source # | |
Defined in Amazonka.Glue.CreateCustomEntityType | |
NFData CreateCustomEntityTypeResponse Source # | |
Defined in Amazonka.Glue.CreateCustomEntityType rnf :: CreateCustomEntityTypeResponse -> () # | |
Eq CreateCustomEntityTypeResponse Source # | |
type Rep CreateCustomEntityTypeResponse Source # | |
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
createCustomEntityTypeResponse_name :: Lens' CreateCustomEntityTypeResponse (Maybe Text) Source #
The name of the custom pattern you created.
createCustomEntityTypeResponse_httpStatus :: Lens' CreateCustomEntityTypeResponse Int Source #
The response's http status code.