How do I move my Amazon SES account from production access to the Amazon SES sandbox?

2 分钟阅读
0

I want to move my Amazon Simple Email Service (Amazon SES) account from production access to the Amazon SES sandbox.

Resolution

Note: If you receive errors when you run AWS Command Line Interface (AWS CLI) commands, then see Troubleshoot AWS CLI errors. Also, make sure that you're using the most recent AWS CLI version.

To move your account from production access to the Amazon SES sandbox, complete the following steps:

  1. Configure the AWS CLI with the AWS account that's associated with the Amazon SES account that you want to move to the sandbox.
  2. Run the following put-account-details command:
    Note: Replace example-type with TRANSACTIONAL or MARKETING, example-https://url.com with your website URL, example-description with your use case description, and example-email-addresses with your additional contact email addresses. Also, replace example-preferred-language with EN for English or JA for Japanese, and replace example-region with your AWS Region.
    aws sesv2 put-account-details
     --no-production-access-enabled
     --mail-type example-type
    --website-url "example-https://url.com" 
    --use-case-description "example-description" 
    --additional-contact-email-addresses "example-email-addresses" 
    --contact-language example-preferred-language --region example-region

Note: When your account is moved back into the Amazon SES sandbox, restrictions are applied to your account. For more information, see Request production access (Moving out of the Amazon SES sandbox).

AWS 官方
AWS 官方已更新 2 个月前