get_classification_scope
(**kwargs)¶Retrieves the classification scope settings for an account.
See also: AWS API Documentation
Request Syntax
response = client.get_classification_scope(
id='string'
)
[REQUIRED]
The unique identifier for the Amazon Macie resource that the request applies to.
{
'id': 'string',
'name': 'string',
's3': {
'excludes': {
'bucketNames': [
'string',
]
}
}
}
Response Structure
The request succeeded.
The unique identifier for the classification scope.
The name of the classification scope: automated-sensitive-data-discovery.
The S3 buckets that are excluded from automated sensitive data discovery.
The S3 buckets that are excluded.
An array of strings, one for each S3 bucket that is excluded. Each string is the full name of an excluded bucket.
The name of an S3 bucket.
Exceptions
Macie2.Client.exceptions.ResourceNotFoundException
Macie2.Client.exceptions.ThrottlingException
Macie2.Client.exceptions.ValidationException
Macie2.Client.exceptions.InternalServerException
Macie2.Client.exceptions.AccessDeniedException