| 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.UpdateClassificationScope
Description
Updates the classification scope settings for an account.
Synopsis
- data UpdateClassificationScope = UpdateClassificationScope' {}
- newUpdateClassificationScope :: Text -> UpdateClassificationScope
- updateClassificationScope_s3 :: Lens' UpdateClassificationScope (Maybe S3ClassificationScopeUpdate)
- updateClassificationScope_id :: Lens' UpdateClassificationScope Text
- data UpdateClassificationScopeResponse = UpdateClassificationScopeResponse' {
- httpStatus :: Int
- newUpdateClassificationScopeResponse :: Int -> UpdateClassificationScopeResponse
- updateClassificationScopeResponse_httpStatus :: Lens' UpdateClassificationScopeResponse Int
Creating a Request
data UpdateClassificationScope Source #
See: newUpdateClassificationScope smart constructor.
Constructors
| UpdateClassificationScope' | |
Fields
| |
Instances
newUpdateClassificationScope Source #
Arguments
| :: Text | |
| -> UpdateClassificationScope |
Create a value of UpdateClassificationScope 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:s3:UpdateClassificationScope', updateClassificationScope_s3 - The S3 buckets to add or remove from the exclusion list defined by the
classification scope.
UpdateClassificationScope, updateClassificationScope_id - The unique identifier for the Amazon Macie resource that the request
applies to.
Request Lenses
updateClassificationScope_s3 :: Lens' UpdateClassificationScope (Maybe S3ClassificationScopeUpdate) Source #
The S3 buckets to add or remove from the exclusion list defined by the classification scope.
updateClassificationScope_id :: Lens' UpdateClassificationScope Text Source #
The unique identifier for the Amazon Macie resource that the request applies to.
Destructuring the Response
data UpdateClassificationScopeResponse Source #
See: newUpdateClassificationScopeResponse smart constructor.
Constructors
| UpdateClassificationScopeResponse' | |
Fields
| |
Instances
newUpdateClassificationScopeResponse Source #
Arguments
| :: Int | |
| -> UpdateClassificationScopeResponse |
Create a value of UpdateClassificationScopeResponse 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:UpdateClassificationScopeResponse', updateClassificationScopeResponse_httpStatus - The response's http status code.
Response Lenses
updateClassificationScopeResponse_httpStatus :: Lens' UpdateClassificationScopeResponse Int Source #
The response's http status code.