Macie2 / Client / update_resource_profile_detections

update_resource_profile_detections#

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'
        },
    ]
)
Parameters:
  • resourceArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.

  • suppressDataIdentifiers (list) –

    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.

    • (dict) –

      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.

      • id (string) –

        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.

      • type (string) –

        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.

Return type:

dict

Returns:

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