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
public class USMSClient extends DefaultClient implements USMSClientInterface
This client is used to call actions of **USMS** service
-
-
Constructor Summary
Constructors Constructor Description USMSClient(Config config, Credential credential)
-
Method Summary
-
Methods inherited from class cn.ucloud.common.client.DefaultClient
getConfig, getCredential, getTransport, invoke, setConfig, setCredential, setTransport, useMiddleware
-
-
-
-
Constructor Detail
-
USMSClient
public USMSClient(Config config, Credential credential)
-
-
Method Detail
-
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
-
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
-
-