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 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.
UpdateClassificationScope' | |
|
Instances
newUpdateClassificationScope Source #
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.
UpdateClassificationScopeResponse' | |
|
Instances
Generic UpdateClassificationScopeResponse Source # | |
Read UpdateClassificationScopeResponse Source # | |
Show UpdateClassificationScopeResponse Source # | |
NFData UpdateClassificationScopeResponse Source # | |
Defined in Amazonka.MacieV2.UpdateClassificationScope rnf :: UpdateClassificationScopeResponse -> () # | |
Eq UpdateClassificationScopeResponse Source # | |
type Rep UpdateClassificationScopeResponse Source # | |
Defined in Amazonka.MacieV2.UpdateClassificationScope type Rep UpdateClassificationScopeResponse = D1 ('MetaData "UpdateClassificationScopeResponse" "Amazonka.MacieV2.UpdateClassificationScope" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "UpdateClassificationScopeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateClassificationScopeResponse Source #
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.