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 |
(Discontinued) 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
- (Discontinued) The Amazon Web Services account ID of the Amazon Macie
Classic member account whose S3 resources' classification types you
want to update.
$sel:s3ResourcesUpdate:UpdateS3Resources'
, updateS3Resources_s3ResourcesUpdate
- (Discontinued) The S3 resources whose classification types you want to
update.
Request Lenses
updateS3Resources_memberAccountId :: Lens' UpdateS3Resources (Maybe Text) Source #
(Discontinued) The Amazon Web Services account ID of the Amazon Macie Classic member account whose S3 resources' classification types you want to update.
updateS3Resources_s3ResourcesUpdate :: Lens' UpdateS3Resources [S3ResourceClassificationUpdate] Source #
(Discontinued) 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
- (Discontinued) 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 #
(Discontinued) 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.