public class IotClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
Constructor and Description |
---|
IotClient(Credential credential,
String region)
构造client
|
IotClient(Credential credential,
String region,
ClientProfile profile)
构造client
|
getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegion
public IotClient(Credential credential, String region)
credential
- 认证信息实例region
- 产品地域public IotClient(Credential credential, String region, ClientProfile profile)
credential
- 认证信息实例region
- 产品地域profile
- 配置实例public ActivateRuleResponse ActivateRule(ActivateRuleRequest req) throws TencentCloudSDKException
ActivateRuleRequest
- TencentCloudSDKException
public AddDeviceResponse AddDevice(AddDeviceRequest req) throws TencentCloudSDKException
AddDeviceRequest
- TencentCloudSDKException
public AddProductResponse AddProduct(AddProductRequest req) throws TencentCloudSDKException
AddProductRequest
- TencentCloudSDKException
public AddRuleResponse AddRule(AddRuleRequest req) throws TencentCloudSDKException
AddRuleRequest
- TencentCloudSDKException
public AddTopicResponse AddTopic(AddTopicRequest req) throws TencentCloudSDKException
AddTopicRequest
- TencentCloudSDKException
public DeactivateRuleResponse DeactivateRule(DeactivateRuleRequest req) throws TencentCloudSDKException
DeactivateRuleRequest
- TencentCloudSDKException
public DeleteDeviceResponse DeleteDevice(DeleteDeviceRequest req) throws TencentCloudSDKException
DeleteDeviceRequest
- TencentCloudSDKException
public DeleteProductResponse DeleteProduct(DeleteProductRequest req) throws TencentCloudSDKException
DeleteProductRequest
- TencentCloudSDKException
public DeleteRuleResponse DeleteRule(DeleteRuleRequest req) throws TencentCloudSDKException
DeleteRuleRequest
- TencentCloudSDKException
public DeleteTopicResponse DeleteTopic(DeleteTopicRequest req) throws TencentCloudSDKException
DeleteTopicRequest
- TencentCloudSDKException
public GetDataHistoryResponse GetDataHistory(GetDataHistoryRequest req) throws TencentCloudSDKException
GetDataHistoryRequest
- TencentCloudSDKException
public GetDeviceResponse GetDevice(GetDeviceRequest req) throws TencentCloudSDKException
GetDeviceRequest
- TencentCloudSDKException
public GetDeviceDataResponse GetDeviceData(GetDeviceDataRequest req) throws TencentCloudSDKException
GetDeviceDataRequest
- TencentCloudSDKException
public GetDeviceLogResponse GetDeviceLog(GetDeviceLogRequest req) throws TencentCloudSDKException
GetDeviceLogRequest
- TencentCloudSDKException
public GetDeviceStatusesResponse GetDeviceStatuses(GetDeviceStatusesRequest req) throws TencentCloudSDKException
GetDeviceStatusesRequest
- TencentCloudSDKException
public GetDevicesResponse GetDevices(GetDevicesRequest req) throws TencentCloudSDKException
GetDevicesRequest
- TencentCloudSDKException
public GetProductResponse GetProduct(GetProductRequest req) throws TencentCloudSDKException
GetProductRequest
- TencentCloudSDKException
public GetProductsResponse GetProducts(GetProductsRequest req) throws TencentCloudSDKException
GetProductsRequest
- TencentCloudSDKException
public GetRuleResponse GetRule(GetRuleRequest req) throws TencentCloudSDKException
GetRuleRequest
- TencentCloudSDKException
public GetRulesResponse GetRules(GetRulesRequest req) throws TencentCloudSDKException
GetRulesRequest
- TencentCloudSDKException
public GetTopicResponse GetTopic(GetTopicRequest req) throws TencentCloudSDKException
GetTopicRequest
- TencentCloudSDKException
public GetTopicsResponse GetTopics(GetTopicsRequest req) throws TencentCloudSDKException
GetTopicsRequest
- TencentCloudSDKException
public GetUserResponse GetUser(GetUserRequest req) throws TencentCloudSDKException
GetUserRequest
- TencentCloudSDKException
public IssueDeviceControlResponse IssueDeviceControl(IssueDeviceControlRequest req) throws TencentCloudSDKException
IssueDeviceControlRequest
- TencentCloudSDKException
public PublishMsgResponse PublishMsg(PublishMsgRequest req) throws TencentCloudSDKException
PublishMsgRequest
- TencentCloudSDKException
public ResetDeviceResponse ResetDevice(ResetDeviceRequest req) throws TencentCloudSDKException
ResetDeviceRequest
- TencentCloudSDKException
public UpdateProductResponse UpdateProduct(UpdateProductRequest req) throws TencentCloudSDKException
UpdateProductRequest
- TencentCloudSDKException
public UpdateRuleResponse UpdateRule(UpdateRuleRequest req) throws TencentCloudSDKException
UpdateRuleRequest
- TencentCloudSDKException
Copyright © 2018. All rights reserved.