amazonka-maciev2-2.0: Amazon Macie 2 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.MacieV2.GetSensitiveDataOccurrences

Description

Retrieves occurrences of sensitive data reported by a finding.

Synopsis

Creating a Request

data GetSensitiveDataOccurrences Source #

See: newGetSensitiveDataOccurrences smart constructor.

Constructors

GetSensitiveDataOccurrences' 

Fields

Instances

Instances details
ToHeaders GetSensitiveDataOccurrences Source # 
Instance details

Defined in Amazonka.MacieV2.GetSensitiveDataOccurrences

ToPath GetSensitiveDataOccurrences Source # 
Instance details

Defined in Amazonka.MacieV2.GetSensitiveDataOccurrences

ToQuery GetSensitiveDataOccurrences Source # 
Instance details

Defined in Amazonka.MacieV2.GetSensitiveDataOccurrences

AWSRequest GetSensitiveDataOccurrences Source # 
Instance details

Defined in Amazonka.MacieV2.GetSensitiveDataOccurrences

Generic GetSensitiveDataOccurrences Source # 
Instance details

Defined in Amazonka.MacieV2.GetSensitiveDataOccurrences

Associated Types

type Rep GetSensitiveDataOccurrences :: Type -> Type #

Read GetSensitiveDataOccurrences Source # 
Instance details

Defined in Amazonka.MacieV2.GetSensitiveDataOccurrences

Show GetSensitiveDataOccurrences Source # 
Instance details

Defined in Amazonka.MacieV2.GetSensitiveDataOccurrences

NFData GetSensitiveDataOccurrences Source # 
Instance details

Defined in Amazonka.MacieV2.GetSensitiveDataOccurrences

Eq GetSensitiveDataOccurrences Source # 
Instance details

Defined in Amazonka.MacieV2.GetSensitiveDataOccurrences

Hashable GetSensitiveDataOccurrences Source # 
Instance details

Defined in Amazonka.MacieV2.GetSensitiveDataOccurrences

type AWSResponse GetSensitiveDataOccurrences Source # 
Instance details

Defined in Amazonka.MacieV2.GetSensitiveDataOccurrences

type Rep GetSensitiveDataOccurrences Source # 
Instance details

Defined in Amazonka.MacieV2.GetSensitiveDataOccurrences

type Rep GetSensitiveDataOccurrences = D1 ('MetaData "GetSensitiveDataOccurrences" "Amazonka.MacieV2.GetSensitiveDataOccurrences" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "GetSensitiveDataOccurrences'" 'PrefixI 'True) (S1 ('MetaSel ('Just "findingId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetSensitiveDataOccurrences Source #

Create a value of GetSensitiveDataOccurrences 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:findingId:GetSensitiveDataOccurrences', getSensitiveDataOccurrences_findingId - The unique identifier for the finding.

Request Lenses

Destructuring the Response

data GetSensitiveDataOccurrencesResponse Source #

Constructors

GetSensitiveDataOccurrencesResponse' 

Fields

  • error :: Maybe Text

    If an error occurred when Amazon Macie attempted to retrieve occurrences of sensitive data reported by the finding, a description of the error that occurred. This value is null if the status (status) of the request is PROCESSING or SUCCESS.

  • sensitiveDataOccurrences :: Maybe (HashMap Text [DetectedDataDetails])

    A map that specifies 1-100 types of sensitive data reported by the finding and, for each type, 1-10 occurrences of sensitive data.

  • status :: Maybe RevealRequestStatus

    The status of the request to retrieve occurrences of sensitive data reported by the finding. Possible values are:

    • ERROR - An error occurred when Amazon Macie attempted to locate, retrieve, or encrypt the sensitive data. The error value indicates the nature of the error that occurred.
    • PROCESSING - Macie is processing the request.
    • SUCCESS - Macie successfully located, retrieved, and encrypted the sensitive data.
  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic GetSensitiveDataOccurrencesResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetSensitiveDataOccurrences

Read GetSensitiveDataOccurrencesResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetSensitiveDataOccurrences

Show GetSensitiveDataOccurrencesResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetSensitiveDataOccurrences

NFData GetSensitiveDataOccurrencesResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetSensitiveDataOccurrences

Eq GetSensitiveDataOccurrencesResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetSensitiveDataOccurrences

type Rep GetSensitiveDataOccurrencesResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetSensitiveDataOccurrences

type Rep GetSensitiveDataOccurrencesResponse = D1 ('MetaData "GetSensitiveDataOccurrencesResponse" "Amazonka.MacieV2.GetSensitiveDataOccurrences" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "GetSensitiveDataOccurrencesResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sensitiveDataOccurrences") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text [DetectedDataDetails])))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RevealRequestStatus)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetSensitiveDataOccurrencesResponse Source #

Create a value of GetSensitiveDataOccurrencesResponse 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:error:GetSensitiveDataOccurrencesResponse', getSensitiveDataOccurrencesResponse_error - If an error occurred when Amazon Macie attempted to retrieve occurrences of sensitive data reported by the finding, a description of the error that occurred. This value is null if the status (status) of the request is PROCESSING or SUCCESS.

$sel:sensitiveDataOccurrences:GetSensitiveDataOccurrencesResponse', getSensitiveDataOccurrencesResponse_sensitiveDataOccurrences - A map that specifies 1-100 types of sensitive data reported by the finding and, for each type, 1-10 occurrences of sensitive data.

GetSensitiveDataOccurrencesResponse, getSensitiveDataOccurrencesResponse_status - The status of the request to retrieve occurrences of sensitive data reported by the finding. Possible values are:

  • ERROR - An error occurred when Amazon Macie attempted to locate, retrieve, or encrypt the sensitive data. The error value indicates the nature of the error that occurred.
  • PROCESSING - Macie is processing the request.
  • SUCCESS - Macie successfully located, retrieved, and encrypted the sensitive data.

$sel:httpStatus:GetSensitiveDataOccurrencesResponse', getSensitiveDataOccurrencesResponse_httpStatus - The response's http status code.

Response Lenses

getSensitiveDataOccurrencesResponse_error :: Lens' GetSensitiveDataOccurrencesResponse (Maybe Text) Source #

If an error occurred when Amazon Macie attempted to retrieve occurrences of sensitive data reported by the finding, a description of the error that occurred. This value is null if the status (status) of the request is PROCESSING or SUCCESS.

getSensitiveDataOccurrencesResponse_sensitiveDataOccurrences :: Lens' GetSensitiveDataOccurrencesResponse (Maybe (HashMap Text [DetectedDataDetails])) Source #

A map that specifies 1-100 types of sensitive data reported by the finding and, for each type, 1-10 occurrences of sensitive data.

getSensitiveDataOccurrencesResponse_status :: Lens' GetSensitiveDataOccurrencesResponse (Maybe RevealRequestStatus) Source #

The status of the request to retrieve occurrences of sensitive data reported by the finding. Possible values are:

  • ERROR - An error occurred when Amazon Macie attempted to locate, retrieve, or encrypt the sensitive data. The error value indicates the nature of the error that occurred.
  • PROCESSING - Macie is processing the request.
  • SUCCESS - Macie successfully located, retrieved, and encrypted the sensitive data.