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 |
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.
UpdateResourceProfile' | |
|
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.
UpdateResourceProfileResponse' | |
|
Instances
Generic UpdateResourceProfileResponse Source # | |
Read UpdateResourceProfileResponse Source # | |
Show UpdateResourceProfileResponse Source # | |
Defined in Amazonka.MacieV2.UpdateResourceProfile showsPrec :: Int -> UpdateResourceProfileResponse -> ShowS # show :: UpdateResourceProfileResponse -> String # showList :: [UpdateResourceProfileResponse] -> ShowS # | |
NFData UpdateResourceProfileResponse Source # | |
Defined in Amazonka.MacieV2.UpdateResourceProfile rnf :: UpdateResourceProfileResponse -> () # | |
Eq UpdateResourceProfileResponse Source # | |
type Rep UpdateResourceProfileResponse Source # | |
Defined in Amazonka.MacieV2.UpdateResourceProfile type Rep UpdateResourceProfileResponse = D1 ('MetaData "UpdateResourceProfileResponse" "Amazonka.MacieV2.UpdateResourceProfile" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "UpdateResourceProfileResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.