| 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.GetClassificationScope
Description
Retrieves the classification scope settings for an account.
Synopsis
- data GetClassificationScope = GetClassificationScope' {}
- newGetClassificationScope :: Text -> GetClassificationScope
- getClassificationScope_id :: Lens' GetClassificationScope Text
- data GetClassificationScopeResponse = GetClassificationScopeResponse' {}
- newGetClassificationScopeResponse :: Int -> GetClassificationScopeResponse
- getClassificationScopeResponse_id :: Lens' GetClassificationScopeResponse (Maybe Text)
- getClassificationScopeResponse_name :: Lens' GetClassificationScopeResponse (Maybe Text)
- getClassificationScopeResponse_s3 :: Lens' GetClassificationScopeResponse (Maybe S3ClassificationScope)
- getClassificationScopeResponse_httpStatus :: Lens' GetClassificationScopeResponse Int
Creating a Request
data GetClassificationScope Source #
See: newGetClassificationScope smart constructor.
Constructors
| GetClassificationScope' | |
Instances
newGetClassificationScope Source #
Arguments
| :: Text | |
| -> GetClassificationScope |
Create a value of GetClassificationScope 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:
GetClassificationScope, getClassificationScope_id - The unique identifier for the Amazon Macie resource that the request
applies to.
Request Lenses
getClassificationScope_id :: Lens' GetClassificationScope Text Source #
The unique identifier for the Amazon Macie resource that the request applies to.
Destructuring the Response
data GetClassificationScopeResponse Source #
See: newGetClassificationScopeResponse smart constructor.
Constructors
| GetClassificationScopeResponse' | |
Instances
newGetClassificationScopeResponse Source #
Create a value of GetClassificationScopeResponse 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:
GetClassificationScope, getClassificationScopeResponse_id - The unique identifier for the classification scope.
GetClassificationScopeResponse, getClassificationScopeResponse_name - The name of the classification scope.
$sel:s3:GetClassificationScopeResponse', getClassificationScopeResponse_s3 - The S3 buckets that are excluded from automated sensitive data
discovery.
$sel:httpStatus:GetClassificationScopeResponse', getClassificationScopeResponse_httpStatus - The response's http status code.
Response Lenses
getClassificationScopeResponse_id :: Lens' GetClassificationScopeResponse (Maybe Text) Source #
The unique identifier for the classification scope.
getClassificationScopeResponse_name :: Lens' GetClassificationScopeResponse (Maybe Text) Source #
The name of the classification scope.
getClassificationScopeResponse_s3 :: Lens' GetClassificationScopeResponse (Maybe S3ClassificationScope) Source #
The S3 buckets that are excluded from automated sensitive data discovery.
getClassificationScopeResponse_httpStatus :: Lens' GetClassificationScopeResponse Int Source #
The response's http status code.