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
Documentation
Provides information about a PII entity.
See: newPiiEntity
smart constructor.
PiiEntity' | |
|
Instances
FromJSON PiiEntity Source # | |
Generic PiiEntity Source # | |
Read PiiEntity Source # | |
Show PiiEntity Source # | |
NFData PiiEntity Source # | |
Defined in Amazonka.Comprehend.Types.PiiEntity | |
Eq PiiEntity Source # | |
Hashable PiiEntity Source # | |
Defined in Amazonka.Comprehend.Types.PiiEntity | |
type Rep PiiEntity Source # | |
Defined in Amazonka.Comprehend.Types.PiiEntity type Rep PiiEntity = D1 ('MetaData "PiiEntity" "Amazonka.Comprehend.Types.PiiEntity" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "PiiEntity'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "beginOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "endOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "score") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PiiEntityType))))) |
newPiiEntity :: PiiEntity Source #
Create a value of PiiEntity
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:beginOffset:PiiEntity'
, piiEntity_beginOffset
- The zero-based offset from the beginning of the source text to the first
character in the entity.
$sel:endOffset:PiiEntity'
, piiEntity_endOffset
- The zero-based offset from the beginning of the source text to the last
character in the entity.
$sel:score:PiiEntity'
, piiEntity_score
- The level of confidence that Amazon Comprehend has in the accuracy of
the detection.
$sel:type':PiiEntity'
, piiEntity_type
- The entity's type.
piiEntity_beginOffset :: Lens' PiiEntity (Maybe Int) Source #
The zero-based offset from the beginning of the source text to the first character in the entity.
piiEntity_endOffset :: Lens' PiiEntity (Maybe Int) Source #
The zero-based offset from the beginning of the source text to the last character in the entity.
piiEntity_score :: Lens' PiiEntity (Maybe Double) Source #
The level of confidence that Amazon Comprehend has in the accuracy of the detection.
piiEntity_type :: Lens' PiiEntity (Maybe PiiEntityType) Source #
The entity's type.