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 (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket.
Synopsis
- data GetResourceProfile = GetResourceProfile' {
- resourceArn :: Text
- newGetResourceProfile :: Text -> GetResourceProfile
- getResourceProfile_resourceArn :: Lens' GetResourceProfile Text
- data GetResourceProfileResponse = GetResourceProfileResponse' {}
- newGetResourceProfileResponse :: Int -> GetResourceProfileResponse
- getResourceProfileResponse_profileUpdatedAt :: Lens' GetResourceProfileResponse (Maybe UTCTime)
- getResourceProfileResponse_sensitivityScore :: Lens' GetResourceProfileResponse (Maybe Int)
- getResourceProfileResponse_sensitivityScoreOverridden :: Lens' GetResourceProfileResponse (Maybe Bool)
- getResourceProfileResponse_statistics :: Lens' GetResourceProfileResponse (Maybe ResourceStatistics)
- getResourceProfileResponse_httpStatus :: Lens' GetResourceProfileResponse Int
Creating a Request
data GetResourceProfile Source #
See: newGetResourceProfile
smart constructor.
GetResourceProfile' | |
|
Instances
newGetResourceProfile Source #
Create a value of GetResourceProfile
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:resourceArn:GetResourceProfile'
, getResourceProfile_resourceArn
- The Amazon Resource Name (ARN) of the S3 bucket that the request applies
to.
Request Lenses
getResourceProfile_resourceArn :: Lens' GetResourceProfile Text Source #
The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.
Destructuring the Response
data GetResourceProfileResponse Source #
See: newGetResourceProfileResponse
smart constructor.
GetResourceProfileResponse' | |
|
Instances
newGetResourceProfileResponse Source #
Create a value of GetResourceProfileResponse
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:profileUpdatedAt:GetResourceProfileResponse'
, getResourceProfileResponse_profileUpdatedAt
- The date and time, in UTC and extended ISO 8601 format, when Amazon
Macie most recently recalculated sensitive data discovery statistics and
details for the bucket. If the bucket's sensitivity score is calculated
automatically, this includes the score.
GetResourceProfileResponse
, getResourceProfileResponse_sensitivityScore
- The current sensitivity score for the bucket, ranging from -1 (no
analysis due to an error) to 100 (sensitive). By default, this score is
calculated automatically based on the amount of data that Amazon Macie
has analyzed in the bucket and the amount of sensitive data that Macie
has found in the bucket.
$sel:sensitivityScoreOverridden:GetResourceProfileResponse'
, getResourceProfileResponse_sensitivityScoreOverridden
- Specifies whether the bucket's current sensitivity score was set
manually. If this value is true, the score was manually changed to 100.
If this value is false, the score was calculated automatically by Amazon
Macie.
$sel:statistics:GetResourceProfileResponse'
, getResourceProfileResponse_statistics
- The sensitive data discovery statistics for the bucket. The statistics
capture the results of automated sensitive data discovery activities
that Amazon Macie has performed for the bucket.
$sel:httpStatus:GetResourceProfileResponse'
, getResourceProfileResponse_httpStatus
- The response's http status code.
Response Lenses
getResourceProfileResponse_profileUpdatedAt :: Lens' GetResourceProfileResponse (Maybe UTCTime) Source #
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently recalculated sensitive data discovery statistics and details for the bucket. If the bucket's sensitivity score is calculated automatically, this includes the score.
getResourceProfileResponse_sensitivityScore :: Lens' GetResourceProfileResponse (Maybe Int) Source #
The current sensitivity score for the bucket, ranging from -1 (no analysis due to an error) to 100 (sensitive). By default, this score is calculated automatically based on the amount of data that Amazon Macie has analyzed in the bucket and the amount of sensitive data that Macie has found in the bucket.
getResourceProfileResponse_sensitivityScoreOverridden :: Lens' GetResourceProfileResponse (Maybe Bool) Source #
Specifies whether the bucket's current sensitivity score was set manually. If this value is true, the score was manually changed to 100. If this value is false, the score was calculated automatically by Amazon Macie.
getResourceProfileResponse_statistics :: Lens' GetResourceProfileResponse (Maybe ResourceStatistics) Source #
The sensitive data discovery statistics for the bucket. The statistics capture the results of automated sensitive data discovery activities that Amazon Macie has performed for the bucket.
getResourceProfileResponse_httpStatus :: Lens' GetResourceProfileResponse Int Source #
The response's http status code.