How to refresh an SES domain that has failed verification

0

For Amazon SES, If a domain in the Pending state is not verified within 72 hours it goes into the Unverified (Failed) state. If the DKIM records are configured it will not automatically be verified. There is a "Retry" option in the console that puts the domain back in the pending state so that it will be verified. The question is how can the Retry be triggered via the API?

The only option I can see is to delete and re-add it. Is there are cleaner or proper way of doing it?

BrianJ
posta un anno fa517 visualizzazioni
2 Risposte
1

There is no API Call to 'retry' the Domain verification process through API Calls. In the case of domian re-verification via API call, you would first need to 'delete' the domain using 'DeleteIdentity' API call and then attempt to verify the domain again using the 'VerifyDomainIdentity' API call

DeleteIdentity - https://docs.aws.amazon.com/ses/latest/APIReference/API_DeleteIdentity.html

VerifyDomainIdentity - https://docs.aws.amazon.com/ses/latest/APIReference/API_VerifyDomainIdentity.html

profile picture
ESPERTO
con risposta un anno fa
0
Risposta accettata

I am just following up. I found another post that said it could be done with Version1 of the API by calling VerifyDomainDkim(). I tried it out and it worked perfectly.

https://stackoverflow.com/questions/74747845/can-i-retry-dkim-domain-verification-in-aws-through-api-or-some-other-automated

BrianJ
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande