public class SesClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
Constructor and Description |
---|
SesClient(Credential credential,
String region) |
SesClient(Credential credential,
String region,
ClientProfile profile) |
Modifier and Type | Method and Description |
---|---|
BatchSendEmailResponse |
BatchSendEmail(BatchSendEmailRequest req)
This API is used to send a TEXT or HTML email to multiple recipients at a time for marketing or notification purposes.
|
CreateEmailAddressResponse |
CreateEmailAddress(CreateEmailAddressRequest req)
After the sender domain is verified, you need a sender address to send emails.
|
CreateEmailIdentityResponse |
CreateEmailIdentity(CreateEmailIdentityRequest req)
This API is used to create a sender domain.
|
CreateEmailTemplateResponse |
CreateEmailTemplate(CreateEmailTemplateRequest req)
This API is used to create a TEXT or HTML email template.
|
CreateReceiverResponse |
CreateReceiver(CreateReceiverRequest req)
This API is used to create a recipient group, which is the list of target email addresses for batch sending emails.
|
CreateReceiverDetailResponse |
CreateReceiverDetail(CreateReceiverDetailRequest req)
This API is used to add recipient email addresses (up to 20,000 at a time) to a recipient group.
|
DeleteBlackListResponse |
DeleteBlackList(DeleteBlackListRequest req)
This API is used to unblocklist email addresses.
|
DeleteEmailAddressResponse |
DeleteEmailAddress(DeleteEmailAddressRequest req)
This API is used to delete a sender address.
|
DeleteEmailIdentityResponse |
DeleteEmailIdentity(DeleteEmailIdentityRequest req)
This API is used to delete a sender domain.
|
DeleteEmailTemplateResponse |
DeleteEmailTemplate(DeleteEmailTemplateRequest req)
This API is used to delete an email template.
|
DeleteReceiverResponse |
DeleteReceiver(DeleteReceiverRequest req)
This API is used to delete a recipient group and all recipient email addresses in the group based on the recipient group ID.
|
GetEmailIdentityResponse |
GetEmailIdentity(GetEmailIdentityRequest req)
This API is used to get the configuration details of a sender domain.
|
GetEmailTemplateResponse |
GetEmailTemplate(GetEmailTemplateRequest req)
This API is used to get the details of a template.
|
GetSendEmailStatusResponse |
GetSendEmailStatus(GetSendEmailStatusRequest req)
This API is used to get email sending status.
|
GetStatisticsReportResponse |
GetStatisticsReport(GetStatisticsReportRequest req)
This API is used to get the email sending statistics over a recent period, including data on sent emails, delivery success rate, open rate, bounce rate, and so on.
|
ListBlackEmailAddressResponse |
ListBlackEmailAddress(ListBlackEmailAddressRequest req)
The API is used to get blocklisted addresses.
|
ListEmailAddressResponse |
ListEmailAddress(ListEmailAddressRequest req)
This API is used to get the list of sender addresses.
|
ListEmailIdentitiesResponse |
ListEmailIdentities(ListEmailIdentitiesRequest req)
This API is used to get the list of sender domains, including verified and unverified domains.
|
ListEmailTemplatesResponse |
ListEmailTemplates(ListEmailTemplatesRequest req)
This API is used to get the list of email templates.
|
ListReceiversResponse |
ListReceivers(ListReceiversRequest req)
This API is used to query recipient groups.
|
ListSendTasksResponse |
ListSendTasks(ListSendTasksRequest req)
This API is used to query batch email sending tasks (including immediate, scheduled, and recurring tasks) by page.
|
SendEmailResponse |
SendEmail(SendEmailRequest req)
This API is used to send an HTML or TEXT email triggered for authentication or transaction.
|
UpdateEmailIdentityResponse |
UpdateEmailIdentity(UpdateEmailIdentityRequest req)
This API is used to verify whether your DNS configuration is correct.
|
UpdateEmailSmtpPassWordResponse |
UpdateEmailSmtpPassWord(UpdateEmailSmtpPassWordRequest req)
This API is used to set the SMTP password.
|
UpdateEmailTemplateResponse |
UpdateEmailTemplate(UpdateEmailTemplateRequest req)
This API is used to update an email template.
|
call, callOctetStream, getClientProfile, getCredential, getRegion, getRegionBreaker, internalRequest, internalRequest, internalRequestRaw, processResponseJson, processResponseSSE, retry, setClientProfile, setCredential, setRegion, setRegionBreaker
public SesClient(Credential credential, String region)
public SesClient(Credential credential, String region, ClientProfile profile)
public BatchSendEmailResponse BatchSendEmail(BatchSendEmailRequest req) throws TencentCloudSDKException
req
- BatchSendEmailRequestTencentCloudSDKException
public CreateEmailAddressResponse CreateEmailAddress(CreateEmailAddressRequest req) throws TencentCloudSDKException
req
- CreateEmailAddressRequestTencentCloudSDKException
public CreateEmailIdentityResponse CreateEmailIdentity(CreateEmailIdentityRequest req) throws TencentCloudSDKException
req
- CreateEmailIdentityRequestTencentCloudSDKException
public CreateEmailTemplateResponse CreateEmailTemplate(CreateEmailTemplateRequest req) throws TencentCloudSDKException
req
- CreateEmailTemplateRequestTencentCloudSDKException
public CreateReceiverResponse CreateReceiver(CreateReceiverRequest req) throws TencentCloudSDKException
req
- CreateReceiverRequestTencentCloudSDKException
public CreateReceiverDetailResponse CreateReceiverDetail(CreateReceiverDetailRequest req) throws TencentCloudSDKException
req
- CreateReceiverDetailRequestTencentCloudSDKException
public DeleteBlackListResponse DeleteBlackList(DeleteBlackListRequest req) throws TencentCloudSDKException
req
- DeleteBlackListRequestTencentCloudSDKException
public DeleteEmailAddressResponse DeleteEmailAddress(DeleteEmailAddressRequest req) throws TencentCloudSDKException
req
- DeleteEmailAddressRequestTencentCloudSDKException
public DeleteEmailIdentityResponse DeleteEmailIdentity(DeleteEmailIdentityRequest req) throws TencentCloudSDKException
req
- DeleteEmailIdentityRequestTencentCloudSDKException
public DeleteEmailTemplateResponse DeleteEmailTemplate(DeleteEmailTemplateRequest req) throws TencentCloudSDKException
req
- DeleteEmailTemplateRequestTencentCloudSDKException
public DeleteReceiverResponse DeleteReceiver(DeleteReceiverRequest req) throws TencentCloudSDKException
req
- DeleteReceiverRequestTencentCloudSDKException
public GetEmailIdentityResponse GetEmailIdentity(GetEmailIdentityRequest req) throws TencentCloudSDKException
req
- GetEmailIdentityRequestTencentCloudSDKException
public GetEmailTemplateResponse GetEmailTemplate(GetEmailTemplateRequest req) throws TencentCloudSDKException
req
- GetEmailTemplateRequestTencentCloudSDKException
public GetSendEmailStatusResponse GetSendEmailStatus(GetSendEmailStatusRequest req) throws TencentCloudSDKException
req
- GetSendEmailStatusRequestTencentCloudSDKException
public GetStatisticsReportResponse GetStatisticsReport(GetStatisticsReportRequest req) throws TencentCloudSDKException
req
- GetStatisticsReportRequestTencentCloudSDKException
public ListBlackEmailAddressResponse ListBlackEmailAddress(ListBlackEmailAddressRequest req) throws TencentCloudSDKException
req
- ListBlackEmailAddressRequestTencentCloudSDKException
public ListEmailAddressResponse ListEmailAddress(ListEmailAddressRequest req) throws TencentCloudSDKException
req
- ListEmailAddressRequestTencentCloudSDKException
public ListEmailIdentitiesResponse ListEmailIdentities(ListEmailIdentitiesRequest req) throws TencentCloudSDKException
req
- ListEmailIdentitiesRequestTencentCloudSDKException
public ListEmailTemplatesResponse ListEmailTemplates(ListEmailTemplatesRequest req) throws TencentCloudSDKException
req
- ListEmailTemplatesRequestTencentCloudSDKException
public ListReceiversResponse ListReceivers(ListReceiversRequest req) throws TencentCloudSDKException
req
- ListReceiversRequestTencentCloudSDKException
public ListSendTasksResponse ListSendTasks(ListSendTasksRequest req) throws TencentCloudSDKException
req
- ListSendTasksRequestTencentCloudSDKException
public SendEmailResponse SendEmail(SendEmailRequest req) throws TencentCloudSDKException
req
- SendEmailRequestTencentCloudSDKException
public UpdateEmailIdentityResponse UpdateEmailIdentity(UpdateEmailIdentityRequest req) throws TencentCloudSDKException
req
- UpdateEmailIdentityRequestTencentCloudSDKException
public UpdateEmailSmtpPassWordResponse UpdateEmailSmtpPassWord(UpdateEmailSmtpPassWordRequest req) throws TencentCloudSDKException
req
- UpdateEmailSmtpPassWordRequestTencentCloudSDKException
public UpdateEmailTemplateResponse UpdateEmailTemplate(UpdateEmailTemplateRequest req) throws TencentCloudSDKException
req
- UpdateEmailTemplateRequestTencentCloudSDKException
Copyright © 2024. All rights reserved.