Macie2.Client.
update_resource_profile_detections
(**kwargs)¶Updates the sensitivity scoring settings for an S3 bucket.
See also: AWS API Documentation
Request Syntax
response = client.update_resource_profile_detections(
resourceArn='string',
suppressDataIdentifiers=[
{
'id': 'string',
'type': 'CUSTOM'|'MANAGED'
},
]
)
[REQUIRED]
The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.
An array of objects, one for each custom data identifier or managed data identifier that detected the type of sensitive data to start excluding or including in the bucket's score. To start including all sensitive data types in the score, don't specify any values for this array.
Specifies a custom data identifier or managed data identifier that detected a type of sensitive data to start excluding or including in an S3 bucket's sensitivity score.
The unique identifier for the custom data identifier or managed data identifier that detected the type of sensitive data to exclude or include in the score.
The type of data identifier that detected the sensitive data. Possible values are: CUSTOM, for a custom data identifier; and, MANAGED, for a managed data identifier.
dict
Response Syntax
{}
Response Structure
(dict) --
The request succeeded. The settings were updated and there isn't any content to include in the body of the response (No Content).
Exceptions
Macie2.Client.exceptions.ValidationException
Macie2.Client.exceptions.InternalServerException
Macie2.Client.exceptions.ServiceQuotaExceededException
Macie2.Client.exceptions.AccessDeniedException
Macie2.Client.exceptions.ResourceNotFoundException
Macie2.Client.exceptions.ThrottlingException