跳至內容

如何將我的 Amazon SES 帳戶從實際執行環境存取權移至 Amazon SES 沙箱?

1 分的閱讀內容
0

我想要將我的 Amazon Simple Email Service (Amazon SES) 帳戶從實際執行環境存取權移至 Amazon SES 沙箱。

解決方法

注意: 如果您執行 AWS Command Line Interface (AWS CLI) 命令時收到錯誤訊息,請參閱對 AWS CLI 錯誤進行疑難排解。此外,請務必使用最新版 AWS CLI。

如需將您的 Amazon SES 帳戶從實際執行環境存取權移至 Amazon SES 沙箱,請完成下面的步驟:

  1. 在您想要移至沙箱的 Amazon SES 帳戶的關聯 AWS 帳戶設定 AWS CLI。
  2. 執行下面的 put-account-details 命令:
    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 your-region
    
    注意事項: 請將 example-type 取代為 TRANSACTIONAL 或 MARKETING,將 example-https://url.com 取代為您的網站 URL,將 example-description 取代為您的案例說明,並將 example-email-addresses 取代為您的聯絡電子郵件地址。此外,將 example-preferred-language 取代為 EN (英文) 或 JA (日文),並將 your-region 取代為您的 AWS 區域。

若 Amazon SES 將您的 Amazon SES 帳戶重新移至沙箱,則會套用限制至您的帳戶。如需更多資訊,請參閱請求實際執行環境存取權 (移出 Amazon SES 沙箱)。

AWS 官方已更新 2 個月前