:doc:`SESV2 <../../sesv2>` / Client / update_reputation_entity_customer_managed_status

************************************************
update_reputation_entity_customer_managed_status
************************************************



.. py:method:: SESV2.Client.update_reputation_entity_customer_managed_status(**kwargs)

  

  Update the customer-managed sending status for a reputation entity. This allows you to enable, disable, or reinstate sending for the entity.

   

  The customer-managed status works in conjunction with the Amazon Web Services Amazon SES-managed status to determine the overall sending capability. When you update the customer-managed status, the Amazon Web Services Amazon SES-managed status remains unchanged. If Amazon Web Services Amazon SES has disabled the entity, it will not be allowed to send regardless of the customer-managed status setting. When you reinstate an entity through the customer-managed status, it can continue sending only if the Amazon Web Services Amazon SES-managed status also permits sending, even if there are active reputation findings, until the findings are resolved or new violations occur.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateReputationEntityCustomerManagedStatus>`_  


  **Request Syntax**
  ::

    response = client.update_reputation_entity_customer_managed_status(
        ReputationEntityType='RESOURCE',
        ReputationEntityReference='string',
        SendingStatus='ENABLED'|'REINSTATED'|'DISABLED'
    )
    
  :type ReputationEntityType: string
  :param ReputationEntityType: **[REQUIRED]** 

    The type of reputation entity. Currently, only ``RESOURCE`` type entities are supported.

    

  
  :type ReputationEntityReference: string
  :param ReputationEntityReference: **[REQUIRED]** 

    The unique identifier for the reputation entity. For resource-type entities, this is the Amazon Resource Name (ARN) of the resource.

    

  
  :type SendingStatus: string
  :param SendingStatus: **[REQUIRED]** 

    The new customer-managed sending status for the reputation entity. This can be one of the following:

     

    
    * ``ENABLED`` – Allow sending for this entity.
     
    * ``DISABLED`` – Prevent sending for this entity.
     
    * ``REINSTATED`` – Allow sending even if there are active reputation findings.
    

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 

      If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

      
  
  **Exceptions**
  
  *   :py:class:`SESV2.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`SESV2.Client.exceptions.BadRequestException`

  
  *   :py:class:`SESV2.Client.exceptions.ConflictException`

  