update_classification_scope
(**kwargs)¶Updates the classification scope settings for an account.
See also: AWS API Documentation
Request Syntax
response = client.update_classification_scope(
id='string',
s3={
'excludes': {
'bucketNames': [
'string',
],
'operation': 'ADD'|'REPLACE'|'REMOVE'
}
}
)
[REQUIRED]
The unique identifier for the Amazon Macie resource that the request applies to.
The S3 buckets to add or remove from the exclusion list defined by the classification scope.
The names of the S3 buckets to add or remove from the list.
Depending on the value specified for the update operation (ClassificationScopeUpdateOperation), an array of strings that: lists the names of buckets to add or remove from the list, or specifies a new set of bucket names that overwrites all existing names in the list. Each string must be the full name of an S3 bucket. Values are case sensitive.
The name of an S3 bucket.
Specifies how to apply the changes to the exclusion list. Valid values are:
dict
Response Syntax
{}
Response Structure
(dict) --
The request succeeded. The specified settings were updated and there isn't any content to include in the body of the response (No Content).
Exceptions
Macie2.Client.exceptions.ResourceNotFoundException
Macie2.Client.exceptions.ThrottlingException
Macie2.Client.exceptions.ValidationException
Macie2.Client.exceptions.InternalServerException
Macie2.Client.exceptions.AccessDeniedException