:doc:`Macie2 <../../macie2>` / Client / update_resource_profile_detections

**********************************
update_resource_profile_detections
**********************************



.. py:method:: Macie2.Client.update_resource_profile_detections(**kwargs)

  

  Updates the sensitivity scoring settings for an S3 bucket.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateResourceProfileDetections>`_  


  **Request Syntax**
  ::

    response = client.update_resource_profile_detections(
        resourceArn='string',
        suppressDataIdentifiers=[
            {
                'id': 'string',
                'type': 'CUSTOM'|'MANAGED'
            },
        ]
    )
    
  :type resourceArn: string
  :param resourceArn: **[REQUIRED]** 

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

    

  
  :type suppressDataIdentifiers: list
  :param suppressDataIdentifiers: 

    An array of objects, one for each custom data identifier or managed data identifier that detected a type of sensitive data to exclude from the bucket's score. To include 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 exclude from 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 from 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.

        

      
    

  
  :rtype: 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**
  
  *   :py:class:`Macie2.Client.exceptions.ValidationException`

  
  *   :py:class:`Macie2.Client.exceptions.InternalServerException`

  
  *   :py:class:`Macie2.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`Macie2.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Macie2.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Macie2.Client.exceptions.ThrottlingException`

  