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 |
---|---|
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.
|
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.
|
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.
|
SendEmailResponse |
SendEmail(SendEmailRequest req)
This API is used to send a TEXT or HTML email.
|
UpdateEmailIdentityResponse |
UpdateEmailIdentity(UpdateEmailIdentityRequest req)
This API is used to verify whether your DNS configuration is correct.
|
UpdateEmailTemplateResponse |
UpdateEmailTemplate(UpdateEmailTemplateRequest req)
This API is used to update an email template.
|
call, getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegion
public SesClient(Credential credential, String region)
public SesClient(Credential credential, String region, ClientProfile profile)
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 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 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 SendEmailResponse SendEmail(SendEmailRequest req) throws TencentCloudSDKException
req
- SendEmailRequestTencentCloudSDKException
public UpdateEmailIdentityResponse UpdateEmailIdentity(UpdateEmailIdentityRequest req) throws TencentCloudSDKException
req
- UpdateEmailIdentityRequestTencentCloudSDKException
public UpdateEmailTemplateResponse UpdateEmailTemplate(UpdateEmailTemplateRequest req) throws TencentCloudSDKException
req
- UpdateEmailTemplateRequestTencentCloudSDKException
Copyright © 2021. All rights reserved.