update_s3_resources
(**kwargs)¶(Discontinued) Updates the classification types for the specified S3 resources. If memberAccountId
isn't specified, the action updates the classification types of the S3 resources associated with Amazon Macie Classic for the current Macie Classic administrator account. If memberAccountId
is specified, the action updates the classification types of the S3 resources associated with Macie Classic for the specified member account.
See also: AWS API Documentation
Request Syntax
response = client.update_s3_resources(
memberAccountId='string',
s3ResourcesUpdate=[
{
'bucketName': 'string',
'prefix': 'string',
'classificationTypeUpdate': {
'oneTime': 'FULL'|'NONE',
'continuous': 'FULL'
}
},
]
)
[REQUIRED]
(Discontinued) The S3 resources whose classification types you want to update.
(Discontinued) The S3 resources whose classification types you want to update. This data type is used as a request parameter in the UpdateS3Resources
action.
(Discontinued) The name of the S3 bucket whose classification types you want to update.
(Discontinued) The prefix of the S3 bucket whose classification types you want to update.
(Discontinued) The classification type that you want to update for the resource associated with Amazon Macie Classic.
(Discontinued) A one-time classification of all of the existing objects in a specified S3 bucket.
(Discontinued) A continuous classification of the objects that are added to a specified S3 bucket. Amazon Macie Classic begins performing continuous classification after a bucket is successfully associated with Macie Classic.
dict
Response Syntax
{
'failedS3Resources': [
{
'failedItem': {
'bucketName': 'string',
'prefix': 'string'
},
'errorCode': 'string',
'errorMessage': 'string'
},
]
}
Response Structure
(dict) --
failedS3Resources (list) --
(Discontinued) The S3 resources whose classification types can't be updated. 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