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 |
Synopsis
- data CustomEntityType = CustomEntityType' {
- contextWords :: Maybe (NonEmpty Text)
- name :: Text
- regexString :: Text
- newCustomEntityType :: Text -> Text -> CustomEntityType
- customEntityType_contextWords :: Lens' CustomEntityType (Maybe (NonEmpty Text))
- customEntityType_name :: Lens' CustomEntityType Text
- customEntityType_regexString :: Lens' CustomEntityType Text
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.
CustomEntityType' | |
|
Instances
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.