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 |
Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket.
This operation returns paginated results.
Synopsis
- data ListResourceProfileDetections = ListResourceProfileDetections' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- resourceArn :: Text
- newListResourceProfileDetections :: Text -> ListResourceProfileDetections
- listResourceProfileDetections_maxResults :: Lens' ListResourceProfileDetections (Maybe Natural)
- listResourceProfileDetections_nextToken :: Lens' ListResourceProfileDetections (Maybe Text)
- listResourceProfileDetections_resourceArn :: Lens' ListResourceProfileDetections Text
- data ListResourceProfileDetectionsResponse = ListResourceProfileDetectionsResponse' {
- detections :: Maybe [Detection]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListResourceProfileDetectionsResponse :: Int -> ListResourceProfileDetectionsResponse
- listResourceProfileDetectionsResponse_detections :: Lens' ListResourceProfileDetectionsResponse (Maybe [Detection])
- listResourceProfileDetectionsResponse_nextToken :: Lens' ListResourceProfileDetectionsResponse (Maybe Text)
- listResourceProfileDetectionsResponse_httpStatus :: Lens' ListResourceProfileDetectionsResponse Int
Creating a Request
data ListResourceProfileDetections Source #
See: newListResourceProfileDetections
smart constructor.
ListResourceProfileDetections' | |
|
Instances
newListResourceProfileDetections Source #
Create a value of ListResourceProfileDetections
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:maxResults:ListResourceProfileDetections'
, listResourceProfileDetections_maxResults
- The maximum number of items to include in each page of a paginated
response.
ListResourceProfileDetections
, listResourceProfileDetections_nextToken
- The nextToken string that specifies which page of results to return in a
paginated response.
$sel:resourceArn:ListResourceProfileDetections'
, listResourceProfileDetections_resourceArn
- The Amazon Resource Name (ARN) of the S3 bucket that the request applies
to.
Request Lenses
listResourceProfileDetections_maxResults :: Lens' ListResourceProfileDetections (Maybe Natural) Source #
The maximum number of items to include in each page of a paginated response.
listResourceProfileDetections_nextToken :: Lens' ListResourceProfileDetections (Maybe Text) Source #
The nextToken string that specifies which page of results to return in a paginated response.
listResourceProfileDetections_resourceArn :: Lens' ListResourceProfileDetections Text Source #
The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.
Destructuring the Response
data ListResourceProfileDetectionsResponse Source #
See: newListResourceProfileDetectionsResponse
smart constructor.
ListResourceProfileDetectionsResponse' | |
|
Instances
newListResourceProfileDetectionsResponse Source #
Create a value of ListResourceProfileDetectionsResponse
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:
ListResourceProfileDetectionsResponse
, listResourceProfileDetectionsResponse_detections
- An array of objects, one for each type of sensitive data that Amazon
Macie found in the bucket. Each object reports the number of occurrences
of the specified type and provides information about the custom data
identifier or managed data identifier that detected the data.
ListResourceProfileDetections
, listResourceProfileDetectionsResponse_nextToken
- The string to use in a subsequent request to get the next page of
results in a paginated response. This value is null if there are no
additional pages.
$sel:httpStatus:ListResourceProfileDetectionsResponse'
, listResourceProfileDetectionsResponse_httpStatus
- The response's http status code.
Response Lenses
listResourceProfileDetectionsResponse_detections :: Lens' ListResourceProfileDetectionsResponse (Maybe [Detection]) Source #
An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket. Each object reports the number of occurrences of the specified type and provides information about the custom data identifier or managed data identifier that detected the data.
listResourceProfileDetectionsResponse_nextToken :: Lens' ListResourceProfileDetectionsResponse (Maybe Text) Source #
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
listResourceProfileDetectionsResponse_httpStatus :: Lens' ListResourceProfileDetectionsResponse Int Source #
The response's http status code.