Skip to content

Commit 3c35f11

Browse files
committed
fix: modify doc
1 parent b6edbdd commit 3c35f11

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

tencentcloud/data_source_tc_ses_send_email_status.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func dataSourceTencentCloudSesSendEmailStatus() *schema.Resource {
6868
"send_status": {
6969
Type: schema.TypeInt,
7070
Computed: true,
71-
Description: "Tencent Cloud processing status0: Successful.1001: Internal system exception.1002: Internal system exception.1003: Internal system exception.1003: Internal system exception.1004: Email sending timed out.1005: Internal system exception.1006: You have sent too many emails to the same address in a short period.1007: The email address is in the blocklist.1008: The sender domain is rejected by the recipient.1009: Internal system exception.1010: The daily email sending limit is exceeded.1011: You have no permission to send custom content. Use a template.1013: The sender domain is unsubscribed from by the recipient.2001: No results were found.3007: The template ID is invalid or the template is unavailable.3008: The sender domain is temporarily blocked by the recipient domain.3009: You have no permission to use this template.3010: The format of the TemplateData field is incorrect. 3014: The email cannot be sent because the sender domain is not verified.3020: The recipient email address is in the blocklist.3024: Failed to precheck the email address format.3030: Email sending is restricted temporarily due to a high bounce rate.3033: The account has insufficient balance or overdue payment.",
71+
Description: "Tencent Cloud processing status: `0`: Successful. `1001`: Internal system exception. `1002`: Internal system exception. `1003`: Internal system exception. `1003`: Internal system exception. `1004`: Email sending timed out. `1005`: Internal system exception. `1006`: You have sent too many emails to the same address in a short period. `1007`: The email address is in the blocklist. `1008`: The sender domain is rejected by the recipient. `1009`: Internal system exception. `1010`: The daily email sending limit is exceeded. `1011`: You have no permission to send custom content. Use a template. `1013`: The sender domain is unsubscribed from by the recipient. `2001`: No results were found. `3007`: The template ID is invalid or the template is unavailable. `3008`: The sender domain is temporarily blocked by the recipient domain. `3009`: You have no permission to use this template. `3010`: The format of the TemplateData field is incorrect. `3014`: The email cannot be sent because the sender domain is not verified. `3020`: The recipient email address is in the blocklist. `3024`: Failed to precheck the email address format. `3030`: Email sending is restricted temporarily due to a high bounce rate. `3033`: The account has insufficient balance or overdue payment.",
7272
},
7373
"deliver_status": {
7474
Type: schema.TypeInt,

tencentcloud/resource_tc_ses_receiver.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,13 @@ func resourceTencentCloudSesReceiver() *schema.Resource {
8282
"email": {
8383
Type: schema.TypeString,
8484
Required: true,
85+
ForceNew: true,
8586
Description: "Recipient email addresses.",
8687
},
8788
"template_data": {
8889
Type: schema.TypeString,
8990
Optional: true,
91+
ForceNew: true,
9092
Description: "Variable parameters in the template, please use json.dump to format the JSON object as a string type. The object is a set of key-value pairs, where each key represents a variable in the template, and the variables in the template are represented by {{key}}, and the corresponding values will be replaced with {{value}} when sent.Note: Parameter values cannot be complex data such as HTML. The total length of TemplateData (the entire JSON structure) should be less than 800 bytes.",
9193
},
9294
},

website/docs/d/ses_send_email_status.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ In addition to all arguments above, the following attributes are exported:
4141
* `from_email_address` - Sender email address.
4242
* `message_id` - The MessageId field returned by the SendEmail API.
4343
* `request_time` - Timestamp when the request arrives at Tencent Cloud.
44-
* `send_status` - Tencent Cloud processing status0: Successful.1001: Internal system exception.1002: Internal system exception.1003: Internal system exception.1003: Internal system exception.1004: Email sending timed out.1005: Internal system exception.1006: You have sent too many emails to the same address in a short period.1007: The email address is in the blocklist.1008: The sender domain is rejected by the recipient.1009: Internal system exception.1010: The daily email sending limit is exceeded.1011: You have no permission to send custom content. Use a template.1013: The sender domain is unsubscribed from by the recipient.2001: No results were found.3007: The template ID is invalid or the template is unavailable.3008: The sender domain is temporarily blocked by the recipient domain.3009: You have no permission to use this template.3010: The format of the TemplateData field is incorrect. 3014: The email cannot be sent because the sender domain is not verified.3020: The recipient email address is in the blocklist.3024: Failed to precheck the email address format.3030: Email sending is restricted temporarily due to a high bounce rate.3033: The account has insufficient balance or overdue payment.
44+
* `send_status` - Tencent Cloud processing status: `0`: Successful. `1001`: Internal system exception. `1002`: Internal system exception. `1003`: Internal system exception. `1003`: Internal system exception. `1004`: Email sending timed out. `1005`: Internal system exception. `1006`: You have sent too many emails to the same address in a short period. `1007`: The email address is in the blocklist. `1008`: The sender domain is rejected by the recipient. `1009`: Internal system exception. `1010`: The daily email sending limit is exceeded. `1011`: You have no permission to send custom content. Use a template. `1013`: The sender domain is unsubscribed from by the recipient. `2001`: No results were found. `3007`: The template ID is invalid or the template is unavailable. `3008`: The sender domain is temporarily blocked by the recipient domain. `3009`: You have no permission to use this template. `3010`: The format of the TemplateData field is incorrect. `3014`: The email cannot be sent because the sender domain is not verified. `3020`: The recipient email address is in the blocklist. `3024`: Failed to precheck the email address format. `3030`: Email sending is restricted temporarily due to a high bounce rate. `3033`: The account has insufficient balance or overdue payment.
4545
* `to_email_address` - Recipient email address.
4646
* `user_clicked` - Whether the recipient has clicked the links in the email.
4747
* `user_complainted` - Whether the recipient has reported the sender.

website/docs/r/ses_receiver.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ The following arguments are supported:
5757

5858
The `data` object supports the following:
5959

60-
* `email` - (Required, String) Recipient email addresses.
61-
* `template_data` - (Optional, String) Variable parameters in the template, please use json.dump to format the JSON object as a string type. The object is a set of key-value pairs, where each key represents a variable in the template, and the variables in the template are represented by {{key}}, and the corresponding values will be replaced with {{value}} when sent.Note: Parameter values cannot be complex data such as HTML. The total length of TemplateData (the entire JSON structure) should be less than 800 bytes.
60+
* `email` - (Required, String, ForceNew) Recipient email addresses.
61+
* `template_data` - (Optional, String, ForceNew) Variable parameters in the template, please use json.dump to format the JSON object as a string type. The object is a set of key-value pairs, where each key represents a variable in the template, and the variables in the template are represented by {{key}}, and the corresponding values will be replaced with {{value}} when sent.Note: Parameter values cannot be complex data such as HTML. The total length of TemplateData (the entire JSON structure) should be less than 800 bytes.
6262

6363
## Attributes Reference
6464

0 commit comments

Comments
 (0)