libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MacieV2.Types.ClassificationResult

Description

 
Synopsis

Documentation

data ClassificationResult Source #

Provides the details of a sensitive data finding, including the types, number of occurrences, and locations of the sensitive data that was detected.

See: newClassificationResult smart constructor.

Constructors

ClassificationResult' 

Fields

  • sensitiveData :: Maybe [SensitiveDataItem]

    The category, types, and number of occurrences of the sensitive data that produced the finding.

  • status :: Maybe ClassificationResultStatus

    The status of the finding.

  • mimeType :: Maybe Text

    The type of content, as a MIME type, that the finding applies to. For example, application/gzip, for a GNU Gzip compressed archive file, or application/pdf, for an Adobe Portable Document Format file.

  • sizeClassified :: Maybe Integer

    The total size, in bytes, of the data that the finding applies to.

  • additionalOccurrences :: Maybe Bool

    Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object. A finding includes location data for a maximum of 15 occurrences of sensitive data.

    This value can help you determine whether to investigate additional occurrences of sensitive data in an object. You can do this by referring to the corresponding sensitive data discovery result for the finding (ClassificationDetails.detailedResultsLocation).

  • customDataIdentifiers :: Maybe CustomDataIdentifiers

    The custom data identifiers that detected the sensitive data and the number of occurrences of the data that they detected.

Instances

Instances details
Eq ClassificationResult Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ClassificationResult

Read ClassificationResult Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ClassificationResult

Show ClassificationResult Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ClassificationResult

Generic ClassificationResult Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ClassificationResult

Associated Types

type Rep ClassificationResult :: Type -> Type #

NFData ClassificationResult Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ClassificationResult

Methods

rnf :: ClassificationResult -> () #

Hashable ClassificationResult Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ClassificationResult

FromJSON ClassificationResult Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ClassificationResult

type Rep ClassificationResult Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ClassificationResult

type Rep ClassificationResult = D1 ('MetaData "ClassificationResult" "Amazonka.MacieV2.Types.ClassificationResult" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "ClassificationResult'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sensitiveData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SensitiveDataItem])) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClassificationResultStatus)) :*: S1 ('MetaSel ('Just "mimeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "sizeClassified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "additionalOccurrences") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "customDataIdentifiers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CustomDataIdentifiers))))))

newClassificationResult :: ClassificationResult Source #

Create a value of ClassificationResult 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:sensitiveData:ClassificationResult', classificationResult_sensitiveData - The category, types, and number of occurrences of the sensitive data that produced the finding.

$sel:status:ClassificationResult', classificationResult_status - The status of the finding.

$sel:mimeType:ClassificationResult', classificationResult_mimeType - The type of content, as a MIME type, that the finding applies to. For example, application/gzip, for a GNU Gzip compressed archive file, or application/pdf, for an Adobe Portable Document Format file.

$sel:sizeClassified:ClassificationResult', classificationResult_sizeClassified - The total size, in bytes, of the data that the finding applies to.

$sel:additionalOccurrences:ClassificationResult', classificationResult_additionalOccurrences - Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object. A finding includes location data for a maximum of 15 occurrences of sensitive data.

This value can help you determine whether to investigate additional occurrences of sensitive data in an object. You can do this by referring to the corresponding sensitive data discovery result for the finding (ClassificationDetails.detailedResultsLocation).

$sel:customDataIdentifiers:ClassificationResult', classificationResult_customDataIdentifiers - The custom data identifiers that detected the sensitive data and the number of occurrences of the data that they detected.

classificationResult_sensitiveData :: Lens' ClassificationResult (Maybe [SensitiveDataItem]) Source #

The category, types, and number of occurrences of the sensitive data that produced the finding.

classificationResult_mimeType :: Lens' ClassificationResult (Maybe Text) Source #

The type of content, as a MIME type, that the finding applies to. For example, application/gzip, for a GNU Gzip compressed archive file, or application/pdf, for an Adobe Portable Document Format file.

classificationResult_sizeClassified :: Lens' ClassificationResult (Maybe Integer) Source #

The total size, in bytes, of the data that the finding applies to.

classificationResult_additionalOccurrences :: Lens' ClassificationResult (Maybe Bool) Source #

Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object. A finding includes location data for a maximum of 15 occurrences of sensitive data.

This value can help you determine whether to investigate additional occurrences of sensitive data in an object. You can do this by referring to the corresponding sensitive data discovery result for the finding (ClassificationDetails.detailedResultsLocation).

classificationResult_customDataIdentifiers :: Lens' ClassificationResult (Maybe CustomDataIdentifiers) Source #

The custom data identifiers that detected the sensitive data and the number of occurrences of the data that they detected.