Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Updates the classification types for the specified S3 resources. If memberAccountId isn't specified, the action updates the classification types of the S3 resources associated with Amazon Macie Classic for the current Macie Classic administrator account. If memberAccountId is specified, the action updates the classification types of the S3 resources associated with Macie Classic for the specified member account.
Synopsis
- data UpdateS3Resources = UpdateS3Resources' {}
- newUpdateS3Resources :: UpdateS3Resources
- updateS3Resources_memberAccountId :: Lens' UpdateS3Resources (Maybe Text)
- updateS3Resources_s3ResourcesUpdate :: Lens' UpdateS3Resources [S3ResourceClassificationUpdate]
- data UpdateS3ResourcesResponse = UpdateS3ResourcesResponse' {}
- newUpdateS3ResourcesResponse :: Int -> UpdateS3ResourcesResponse
- updateS3ResourcesResponse_failedS3Resources :: Lens' UpdateS3ResourcesResponse (Maybe [FailedS3Resource])
- updateS3ResourcesResponse_httpStatus :: Lens' UpdateS3ResourcesResponse Int
Creating a Request
data UpdateS3Resources Source #
See: newUpdateS3Resources
smart constructor.
UpdateS3Resources' | |
|
Instances
newUpdateS3Resources :: UpdateS3Resources Source #
Create a value of UpdateS3Resources
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:memberAccountId:UpdateS3Resources'
, updateS3Resources_memberAccountId
- The AWS ID of the Amazon Macie Classic member account whose S3
resources' classification types you want to update.
$sel:s3ResourcesUpdate:UpdateS3Resources'
, updateS3Resources_s3ResourcesUpdate
- The S3 resources whose classification types you want to update.
Request Lenses
updateS3Resources_memberAccountId :: Lens' UpdateS3Resources (Maybe Text) Source #
The AWS ID of the Amazon Macie Classic member account whose S3 resources' classification types you want to update.
updateS3Resources_s3ResourcesUpdate :: Lens' UpdateS3Resources [S3ResourceClassificationUpdate] Source #
The S3 resources whose classification types you want to update.
Destructuring the Response
data UpdateS3ResourcesResponse Source #
See: newUpdateS3ResourcesResponse
smart constructor.
UpdateS3ResourcesResponse' | |
|
Instances
newUpdateS3ResourcesResponse Source #
Create a value of UpdateS3ResourcesResponse
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:failedS3Resources:UpdateS3ResourcesResponse'
, updateS3ResourcesResponse_failedS3Resources
- The S3 resources whose classification types can't be updated. An error
code and an error message are provided for each failed item.
$sel:httpStatus:UpdateS3ResourcesResponse'
, updateS3ResourcesResponse_httpStatus
- The response's http status code.
Response Lenses
updateS3ResourcesResponse_failedS3Resources :: Lens' UpdateS3ResourcesResponse (Maybe [FailedS3Resource]) Source #
The S3 resources whose classification types can't be updated. An error code and an error message are provided for each failed item.
updateS3ResourcesResponse_httpStatus :: Lens' UpdateS3ResourcesResponse Int Source #
The response's http status code.