public class IotClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
构造器和说明 |
---|
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
req
- ActivateRuleRequestTencentCloudSDKException
public AddDeviceResponse AddDevice(AddDeviceRequest req) throws TencentCloudSDKException
req
- AddDeviceRequestTencentCloudSDKException
public AddProductResponse AddProduct(AddProductRequest req) throws TencentCloudSDKException
req
- AddProductRequestTencentCloudSDKException
public AddRuleResponse AddRule(AddRuleRequest req) throws TencentCloudSDKException
req
- AddRuleRequestTencentCloudSDKException
public AddTopicResponse AddTopic(AddTopicRequest req) throws TencentCloudSDKException
req
- AddTopicRequestTencentCloudSDKException
public AddUserResponse AddUser(AddUserRequest req) throws TencentCloudSDKException
req
- AddUserRequestTencentCloudSDKException
public AppAddUserResponse AppAddUser(AppAddUserRequest req) throws TencentCloudSDKException
req
- AppAddUserRequestTencentCloudSDKException
public DeactivateRuleResponse DeactivateRule(DeactivateRuleRequest req) throws TencentCloudSDKException
req
- DeactivateRuleRequestTencentCloudSDKException
public DeleteDeviceResponse DeleteDevice(DeleteDeviceRequest req) throws TencentCloudSDKException
req
- DeleteDeviceRequestTencentCloudSDKException
public DeleteProductResponse DeleteProduct(DeleteProductRequest req) throws TencentCloudSDKException
req
- DeleteProductRequestTencentCloudSDKException
public DeleteRuleResponse DeleteRule(DeleteRuleRequest req) throws TencentCloudSDKException
req
- DeleteRuleRequestTencentCloudSDKException
public DeleteTopicResponse DeleteTopic(DeleteTopicRequest req) throws TencentCloudSDKException
req
- DeleteTopicRequestTencentCloudSDKException
public GetDataHistoryResponse GetDataHistory(GetDataHistoryRequest req) throws TencentCloudSDKException
req
- GetDataHistoryRequestTencentCloudSDKException
public GetDeviceResponse GetDevice(GetDeviceRequest req) throws TencentCloudSDKException
req
- GetDeviceRequestTencentCloudSDKException
public GetDeviceDataResponse GetDeviceData(GetDeviceDataRequest req) throws TencentCloudSDKException
req
- GetDeviceDataRequestTencentCloudSDKException
public GetDeviceLogResponse GetDeviceLog(GetDeviceLogRequest req) throws TencentCloudSDKException
req
- GetDeviceLogRequestTencentCloudSDKException
public GetDeviceStatusesResponse GetDeviceStatuses(GetDeviceStatusesRequest req) throws TencentCloudSDKException
req
- GetDeviceStatusesRequestTencentCloudSDKException
public GetDevicesResponse GetDevices(GetDevicesRequest req) throws TencentCloudSDKException
req
- GetDevicesRequestTencentCloudSDKException
public GetProductResponse GetProduct(GetProductRequest req) throws TencentCloudSDKException
req
- GetProductRequestTencentCloudSDKException
public GetProductsResponse GetProducts(GetProductsRequest req) throws TencentCloudSDKException
req
- GetProductsRequestTencentCloudSDKException
public GetRuleResponse GetRule(GetRuleRequest req) throws TencentCloudSDKException
req
- GetRuleRequestTencentCloudSDKException
public GetRulesResponse GetRules(GetRulesRequest req) throws TencentCloudSDKException
req
- GetRulesRequestTencentCloudSDKException
public GetTopicResponse GetTopic(GetTopicRequest req) throws TencentCloudSDKException
req
- GetTopicRequestTencentCloudSDKException
public GetTopicsResponse GetTopics(GetTopicsRequest req) throws TencentCloudSDKException
req
- GetTopicsRequestTencentCloudSDKException
public GetUserResponse GetUser(GetUserRequest req) throws TencentCloudSDKException
req
- GetUserRequestTencentCloudSDKException
public IssueDeviceControlResponse IssueDeviceControl(IssueDeviceControlRequest req) throws TencentCloudSDKException
req
- IssueDeviceControlRequestTencentCloudSDKException
public PublishMsgResponse PublishMsg(PublishMsgRequest req) throws TencentCloudSDKException
req
- PublishMsgRequestTencentCloudSDKException
public ResetDeviceResponse ResetDevice(ResetDeviceRequest req) throws TencentCloudSDKException
req
- ResetDeviceRequestTencentCloudSDKException
public UpdateProductResponse UpdateProduct(UpdateProductRequest req) throws TencentCloudSDKException
req
- UpdateProductRequestTencentCloudSDKException
public UpdateRuleResponse UpdateRule(UpdateRuleRequest req) throws TencentCloudSDKException
req
- UpdateRuleRequestTencentCloudSDKException
Copyright © 2018. All rights reserved.