Macie.Client.
disassociate_s3_resources
(**kwargs)¶(Discontinued) Removes specified S3 resources from being monitored by Amazon Macie Classic. If memberAccountId
isn't specified, the action removes specified S3 resources from Macie Classic for the current Macie Classic administrator account. If memberAccountId
is specified, the action removes specified S3 resources from Macie Classic for the specified member account.
See also: AWS API Documentation
Request Syntax
response = client.disassociate_s3_resources(
memberAccountId='string',
associatedS3Resources=[
{
'bucketName': 'string',
'prefix': 'string'
},
]
)
[REQUIRED]
(Discontinued) The S3 resources (buckets or prefixes) that you want to remove from being monitored and classified by Amazon Macie Classic.
(Discontinued) Contains information about the S3 resource. This data type is used as a request parameter in the DisassociateS3Resources
action and can be used as a response parameter in the AssociateS3Resources
and UpdateS3Resources
actions.
(Discontinued) The name of the S3 bucket.
(Discontinued) The prefix of the S3 bucket.
dict
Response Syntax
{
'failedS3Resources': [
{
'failedItem': {
'bucketName': 'string',
'prefix': 'string'
},
'errorCode': 'string',
'errorMessage': 'string'
},
]
}
Response Structure
(dict) --
failedS3Resources (list) --
(Discontinued) S3 resources that couldn't be removed from being monitored and classified by Amazon Macie Classic. An error code and an error message are provided for each failed item.
(dict) --
(Discontinued) Includes details about the failed S3 resources.
failedItem (dict) --
(Discontinued) The failed S3 resources.
bucketName (string) --
(Discontinued) The name of the S3 bucket.
prefix (string) --
(Discontinued) The prefix of the S3 bucket.
errorCode (string) --
(Discontinued) The status code of a failed item.
errorMessage (string) --
(Discontinued) The error message of a failed item.
Exceptions
Macie.Client.exceptions.InvalidInputException
Macie.Client.exceptions.AccessDeniedException
Macie.Client.exceptions.InternalException