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.UpdateResourceProfile
Description
Updates the sensitivity score for an S3 bucket.
Synopsis
- data UpdateResourceProfile = UpdateResourceProfile' {}
- newUpdateResourceProfile :: Text -> UpdateResourceProfile
- updateResourceProfile_sensitivityScoreOverride :: Lens' UpdateResourceProfile (Maybe Int)
- updateResourceProfile_resourceArn :: Lens' UpdateResourceProfile Text
- data UpdateResourceProfileResponse = UpdateResourceProfileResponse' {
- httpStatus :: Int
- newUpdateResourceProfileResponse :: Int -> UpdateResourceProfileResponse
- updateResourceProfileResponse_httpStatus :: Lens' UpdateResourceProfileResponse Int
Creating a Request
data UpdateResourceProfile Source #
See: newUpdateResourceProfile
smart constructor.
Constructors
UpdateResourceProfile' | |
Fields
|
Instances
newUpdateResourceProfile Source #
Create a value of UpdateResourceProfile
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:sensitivityScoreOverride:UpdateResourceProfile'
, updateResourceProfile_sensitivityScoreOverride
- The new sensitivity score for the bucket. Valid values are: 100, assign
the maximum score and apply the Sensitive label to the bucket; and,
null (empty), assign a score that Amazon Macie calculates automatically
after you submit the request.
$sel:resourceArn:UpdateResourceProfile'
, updateResourceProfile_resourceArn
- The Amazon Resource Name (ARN) of the S3 bucket that the request applies
to.
Request Lenses
updateResourceProfile_sensitivityScoreOverride :: Lens' UpdateResourceProfile (Maybe Int) Source #
The new sensitivity score for the bucket. Valid values are: 100, assign the maximum score and apply the Sensitive label to the bucket; and, null (empty), assign a score that Amazon Macie calculates automatically after you submit the request.
updateResourceProfile_resourceArn :: Lens' UpdateResourceProfile Text Source #
The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.
Destructuring the Response
data UpdateResourceProfileResponse Source #
See: newUpdateResourceProfileResponse
smart constructor.
Constructors
UpdateResourceProfileResponse' | |
Fields
|
Instances
newUpdateResourceProfileResponse Source #
Create a value of UpdateResourceProfileResponse
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:httpStatus:UpdateResourceProfileResponse'
, updateResourceProfileResponse_httpStatus
- The response's http status code.
Response Lenses
updateResourceProfileResponse_httpStatus :: Lens' UpdateResourceProfileResponse Int Source #
The response's http status code.