| 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 |
Amazonka.MacieV2.GetSensitiveDataOccurrences
Description
Retrieves occurrences of sensitive data reported by a finding.
Synopsis
- data GetSensitiveDataOccurrences = GetSensitiveDataOccurrences' {}
- newGetSensitiveDataOccurrences :: Text -> GetSensitiveDataOccurrences
- getSensitiveDataOccurrences_findingId :: Lens' GetSensitiveDataOccurrences Text
- data GetSensitiveDataOccurrencesResponse = GetSensitiveDataOccurrencesResponse' {}
- newGetSensitiveDataOccurrencesResponse :: Int -> GetSensitiveDataOccurrencesResponse
- getSensitiveDataOccurrencesResponse_error :: Lens' GetSensitiveDataOccurrencesResponse (Maybe Text)
- getSensitiveDataOccurrencesResponse_sensitiveDataOccurrences :: Lens' GetSensitiveDataOccurrencesResponse (Maybe (HashMap Text [DetectedDataDetails]))
- getSensitiveDataOccurrencesResponse_status :: Lens' GetSensitiveDataOccurrencesResponse (Maybe RevealRequestStatus)
- getSensitiveDataOccurrencesResponse_httpStatus :: Lens' GetSensitiveDataOccurrencesResponse Int
Creating a Request
data GetSensitiveDataOccurrences Source #
See: newGetSensitiveDataOccurrences smart constructor.
Constructors
| GetSensitiveDataOccurrences' | |
Instances
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
getSensitiveDataOccurrences_findingId :: Lens' GetSensitiveDataOccurrences Text Source #
The unique identifier for the finding.
Destructuring the Response
data GetSensitiveDataOccurrencesResponse Source #
See: newGetSensitiveDataOccurrencesResponse smart constructor.
Constructors
| GetSensitiveDataOccurrencesResponse' | |
Fields
| |
Instances
newGetSensitiveDataOccurrencesResponse Source #
Arguments
| :: Int | |
| -> GetSensitiveDataOccurrencesResponse |
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.
getSensitiveDataOccurrencesResponse_httpStatus :: Lens' GetSensitiveDataOccurrencesResponse Int Source #
The response's http status code.