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

***********************
update_resource_profile
***********************



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

  

  Updates the sensitivity score for an S3 bucket.

  

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


  **Request Syntax**
  ::

    response = client.update_resource_profile(
        resourceArn='string',
        sensitivityScoreOverride=123
    )
    
  :type resourceArn: string
  :param resourceArn: **[REQUIRED]** 

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

    

  
  :type sensitivityScoreOverride: integer
  :param sensitivityScoreOverride: 

    The new sensitivity score for the bucket. Valid values are: 100, assign the maximum score and apply the *Sensitive* label to the bucket; and, null (empty), assign a score that Amazon Macie calculates automatically after you submit the request.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 

      The request succeeded. The S3 bucket's sensitivity score was 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`

  