Package cn.ucloud.usms.client
Class USMSClient
java.lang.Object
cn.ucloud.common.client.DefaultClient
cn.ucloud.usms.client.USMSClient
- All Implemented Interfaces:
Client,USMSClientInterface,Closeable,AutoCloseable
This client is used to call actions of **USMS** service
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBackfill(AddBackfillRequest request) AddBackfill - 添加回填CreateUSMSSignature - 申请短信签名CreateUSMSTemplate - 申请短信模板DeleteUSMSSignature - 删除短信签名DeleteUSMSTemplate - 删除短信模板GetUSMSSendReceipt - 获取短信发送状态GetUSMSSendStatistics - 获取发送统计数据QueryUSMSSignature - 查询短信签名申请状态QueryUSMSTemplate - 查询短信模板申请状态SendBatchUSMSMessage - 批量发送短信sendUSMSMessage(SendUSMSMessageRequest request) SendUSMSMessage - 发送短信UpdateUSMSSignature - 修改短信签名UpdateUSMSTemplate - 修改短信模板Methods inherited from class cn.ucloud.common.client.DefaultClient
close, getConfig, getCredential, getTransport, invoke, setConfig, setCredential, setTransport, useMiddleware
-
Constructor Details
-
USMSClient
-
-
Method Details
-
addBackfill
AddBackfill - 添加回填- Specified by:
addBackfillin interfaceUSMSClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUSMSSignature
public CreateUSMSSignatureResponse createUSMSSignature(CreateUSMSSignatureRequest request) throws UCloudException CreateUSMSSignature - 申请短信签名- Specified by:
createUSMSSignaturein interfaceUSMSClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUSMSTemplate
public CreateUSMSTemplateResponse createUSMSTemplate(CreateUSMSTemplateRequest request) throws UCloudException CreateUSMSTemplate - 申请短信模板- Specified by:
createUSMSTemplatein interfaceUSMSClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteUSMSSignature
public DeleteUSMSSignatureResponse deleteUSMSSignature(DeleteUSMSSignatureRequest request) throws UCloudException DeleteUSMSSignature - 删除短信签名- Specified by:
deleteUSMSSignaturein interfaceUSMSClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteUSMSTemplate
public DeleteUSMSTemplateResponse deleteUSMSTemplate(DeleteUSMSTemplateRequest request) throws UCloudException DeleteUSMSTemplate - 删除短信模板- Specified by:
deleteUSMSTemplatein interfaceUSMSClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUSMSSendReceipt
public GetUSMSSendReceiptResponse getUSMSSendReceipt(GetUSMSSendReceiptRequest request) throws UCloudException GetUSMSSendReceipt - 获取短信发送状态- Specified by:
getUSMSSendReceiptin interfaceUSMSClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUSMSSendStatistics
public GetUSMSSendStatisticsResponse getUSMSSendStatistics(GetUSMSSendStatisticsRequest request) throws UCloudException GetUSMSSendStatistics - 获取发送统计数据- Specified by:
getUSMSSendStatisticsin interfaceUSMSClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
queryUSMSSignature
public QueryUSMSSignatureResponse queryUSMSSignature(QueryUSMSSignatureRequest request) throws UCloudException QueryUSMSSignature - 查询短信签名申请状态- Specified by:
queryUSMSSignaturein interfaceUSMSClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
queryUSMSTemplate
public QueryUSMSTemplateResponse queryUSMSTemplate(QueryUSMSTemplateRequest request) throws UCloudException QueryUSMSTemplate - 查询短信模板申请状态- Specified by:
queryUSMSTemplatein interfaceUSMSClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
sendBatchUSMSMessage
public SendBatchUSMSMessageResponse sendBatchUSMSMessage(SendBatchUSMSMessageRequest request) throws UCloudException SendBatchUSMSMessage - 批量发送短信- Specified by:
sendBatchUSMSMessagein interfaceUSMSClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
sendUSMSMessage
public SendUSMSMessageResponse sendUSMSMessage(SendUSMSMessageRequest request) throws UCloudException SendUSMSMessage - 发送短信- Specified by:
sendUSMSMessagein interfaceUSMSClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateUSMSSignature
public UpdateUSMSSignatureResponse updateUSMSSignature(UpdateUSMSSignatureRequest request) throws UCloudException UpdateUSMSSignature - 修改短信签名- Specified by:
updateUSMSSignaturein interfaceUSMSClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateUSMSTemplate
public UpdateUSMSTemplateResponse updateUSMSTemplate(UpdateUSMSTemplateRequest request) throws UCloudException UpdateUSMSTemplate - 修改短信模板- Specified by:
updateUSMSTemplatein interfaceUSMSClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-