SESV2 / Client / update_reputation_entity_customer_managed_status
update_reputation_entity_customer_managed_status¶
- 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
Request Syntax
response = client.update_reputation_entity_customer_managed_status( ReputationEntityType='RESOURCE', ReputationEntityReference='string', SendingStatus='ENABLED'|'REINSTATED'|'DISABLED' )
- Parameters:
ReputationEntityType (string) –
[REQUIRED]
The type of reputation entity. Currently, only
RESOURCE
type entities are supported.ReputationEntityReference (string) –
[REQUIRED]
The unique identifier for the reputation entity. For resource-type entities, this is the Amazon Resource Name (ARN) of the resource.
SendingStatus (string) –
[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.
- Return type:
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