Documentation ¶
Index ¶
- func GenReqDefForAddApplication() *def.HttpRequestDef
- func GenReqDefForAddCertificate() *def.HttpRequestDef
- func GenReqDefForAddDevice() *def.HttpRequestDef
- func GenReqDefForAddDeviceGroup() *def.HttpRequestDef
- func GenReqDefForAddQueue() *def.HttpRequestDef
- func GenReqDefForBatchShowQueue() *def.HttpRequestDef
- func GenReqDefForChangeRuleStatus() *def.HttpRequestDef
- func GenReqDefForCheckCertificate() *def.HttpRequestDef
- func GenReqDefForCreateAccessCode() *def.HttpRequestDef
- func GenReqDefForCreateAsyncCommand() *def.HttpRequestDef
- func GenReqDefForCreateBatchTask() *def.HttpRequestDef
- func GenReqDefForCreateCommand() *def.HttpRequestDef
- func GenReqDefForCreateMessage() *def.HttpRequestDef
- func GenReqDefForCreateOrDeleteDeviceInGroup() *def.HttpRequestDef
- func GenReqDefForCreateProduct() *def.HttpRequestDef
- func GenReqDefForCreateRoutingRule() *def.HttpRequestDef
- func GenReqDefForCreateRule() *def.HttpRequestDef
- func GenReqDefForCreateRuleAction() *def.HttpRequestDef
- func GenReqDefForCreateSubscription() *def.HttpRequestDef
- func GenReqDefForDeleteApplication() *def.HttpRequestDef
- func GenReqDefForDeleteBatchTaskFile() *def.HttpRequestDef
- func GenReqDefForDeleteCertificate() *def.HttpRequestDef
- func GenReqDefForDeleteDevice() *def.HttpRequestDef
- func GenReqDefForDeleteDeviceGroup() *def.HttpRequestDef
- func GenReqDefForDeleteProduct() *def.HttpRequestDef
- func GenReqDefForDeleteQueue() *def.HttpRequestDef
- func GenReqDefForDeleteRoutingRule() *def.HttpRequestDef
- func GenReqDefForDeleteRule() *def.HttpRequestDef
- func GenReqDefForDeleteRuleAction() *def.HttpRequestDef
- func GenReqDefForDeleteSubscription() *def.HttpRequestDef
- func GenReqDefForFreezeDevice() *def.HttpRequestDef
- func GenReqDefForListAsyncCommands() *def.HttpRequestDef
- func GenReqDefForListAsyncHistoryCommands() *def.HttpRequestDef
- func GenReqDefForListBatchTaskFiles() *def.HttpRequestDef
- func GenReqDefForListBatchTasks() *def.HttpRequestDef
- func GenReqDefForListCertificates() *def.HttpRequestDef
- func GenReqDefForListDeviceGroups() *def.HttpRequestDef
- func GenReqDefForListDeviceMessages() *def.HttpRequestDef
- func GenReqDefForListDevices() *def.HttpRequestDef
- func GenReqDefForListProducts() *def.HttpRequestDef
- func GenReqDefForListProperties() *def.HttpRequestDef
- func GenReqDefForListResourcesByTags() *def.HttpRequestDef
- func GenReqDefForListRoutingRules() *def.HttpRequestDef
- func GenReqDefForListRuleActions() *def.HttpRequestDef
- func GenReqDefForListRules() *def.HttpRequestDef
- func GenReqDefForListSubscriptions() *def.HttpRequestDef
- func GenReqDefForResetDeviceSecret() *def.HttpRequestDef
- func GenReqDefForShowApplication() *def.HttpRequestDef
- func GenReqDefForShowApplications() *def.HttpRequestDef
- func GenReqDefForShowAsyncDeviceCommand() *def.HttpRequestDef
- func GenReqDefForShowBatchTask() *def.HttpRequestDef
- func GenReqDefForShowDevice() *def.HttpRequestDef
- func GenReqDefForShowDeviceGroup() *def.HttpRequestDef
- func GenReqDefForShowDeviceMessage() *def.HttpRequestDef
- func GenReqDefForShowDeviceShadow() *def.HttpRequestDef
- func GenReqDefForShowDevicesInGroup() *def.HttpRequestDef
- func GenReqDefForShowProduct() *def.HttpRequestDef
- func GenReqDefForShowQueue() *def.HttpRequestDef
- func GenReqDefForShowRoutingRule() *def.HttpRequestDef
- func GenReqDefForShowRule() *def.HttpRequestDef
- func GenReqDefForShowRuleAction() *def.HttpRequestDef
- func GenReqDefForShowSubscription() *def.HttpRequestDef
- func GenReqDefForTagDevice() *def.HttpRequestDef
- func GenReqDefForUnfreezeDevice() *def.HttpRequestDef
- func GenReqDefForUntagDevice() *def.HttpRequestDef
- func GenReqDefForUpdateDevice() *def.HttpRequestDef
- func GenReqDefForUpdateDeviceGroup() *def.HttpRequestDef
- func GenReqDefForUpdateDeviceShadowDesiredData() *def.HttpRequestDef
- func GenReqDefForUpdateProduct() *def.HttpRequestDef
- func GenReqDefForUpdateProperties() *def.HttpRequestDef
- func GenReqDefForUpdateRoutingRule() *def.HttpRequestDef
- func GenReqDefForUpdateRule() *def.HttpRequestDef
- func GenReqDefForUpdateRuleAction() *def.HttpRequestDef
- func GenReqDefForUpdateSubscription() *def.HttpRequestDef
- func IoTDAClientBuilder() *http_client.HcHttpClientBuilder
- type IoTDAClient
- func (c *IoTDAClient) AddApplication(request *model.AddApplicationRequest) (*model.AddApplicationResponse, error)
- func (c *IoTDAClient) AddCertificate(request *model.AddCertificateRequest) (*model.AddCertificateResponse, error)
- func (c *IoTDAClient) AddDevice(request *model.AddDeviceRequest) (*model.AddDeviceResponse, error)
- func (c *IoTDAClient) AddDeviceGroup(request *model.AddDeviceGroupRequest) (*model.AddDeviceGroupResponse, error)
- func (c *IoTDAClient) AddQueue(request *model.AddQueueRequest) (*model.AddQueueResponse, error)
- func (c *IoTDAClient) BatchShowQueue(request *model.BatchShowQueueRequest) (*model.BatchShowQueueResponse, error)
- func (c *IoTDAClient) ChangeRuleStatus(request *model.ChangeRuleStatusRequest) (*model.ChangeRuleStatusResponse, error)
- func (c *IoTDAClient) CheckCertificate(request *model.CheckCertificateRequest) (*model.CheckCertificateResponse, error)
- func (c *IoTDAClient) CreateAccessCode(request *model.CreateAccessCodeRequest) (*model.CreateAccessCodeResponse, error)
- func (c *IoTDAClient) CreateAsyncCommand(request *model.CreateAsyncCommandRequest) (*model.CreateAsyncCommandResponse, error)
- func (c *IoTDAClient) CreateBatchTask(request *model.CreateBatchTaskRequest) (*model.CreateBatchTaskResponse, error)
- func (c *IoTDAClient) CreateCommand(request *model.CreateCommandRequest) (*model.CreateCommandResponse, error)
- func (c *IoTDAClient) CreateMessage(request *model.CreateMessageRequest) (*model.CreateMessageResponse, error)
- func (c *IoTDAClient) CreateOrDeleteDeviceInGroup(request *model.CreateOrDeleteDeviceInGroupRequest) (*model.CreateOrDeleteDeviceInGroupResponse, error)
- func (c *IoTDAClient) CreateProduct(request *model.CreateProductRequest) (*model.CreateProductResponse, error)
- func (c *IoTDAClient) CreateRoutingRule(request *model.CreateRoutingRuleRequest) (*model.CreateRoutingRuleResponse, error)
- func (c *IoTDAClient) CreateRule(request *model.CreateRuleRequest) (*model.CreateRuleResponse, error)
- func (c *IoTDAClient) CreateRuleAction(request *model.CreateRuleActionRequest) (*model.CreateRuleActionResponse, error)
- func (c *IoTDAClient) CreateSubscription(request *model.CreateSubscriptionRequest) (*model.CreateSubscriptionResponse, error)
- func (c *IoTDAClient) DeleteApplication(request *model.DeleteApplicationRequest) (*model.DeleteApplicationResponse, error)
- func (c *IoTDAClient) DeleteBatchTaskFile(request *model.DeleteBatchTaskFileRequest) (*model.DeleteBatchTaskFileResponse, error)
- func (c *IoTDAClient) DeleteCertificate(request *model.DeleteCertificateRequest) (*model.DeleteCertificateResponse, error)
- func (c *IoTDAClient) DeleteDevice(request *model.DeleteDeviceRequest) (*model.DeleteDeviceResponse, error)
- func (c *IoTDAClient) DeleteDeviceGroup(request *model.DeleteDeviceGroupRequest) (*model.DeleteDeviceGroupResponse, error)
- func (c *IoTDAClient) DeleteProduct(request *model.DeleteProductRequest) (*model.DeleteProductResponse, error)
- func (c *IoTDAClient) DeleteQueue(request *model.DeleteQueueRequest) (*model.DeleteQueueResponse, error)
- func (c *IoTDAClient) DeleteRoutingRule(request *model.DeleteRoutingRuleRequest) (*model.DeleteRoutingRuleResponse, error)
- func (c *IoTDAClient) DeleteRule(request *model.DeleteRuleRequest) (*model.DeleteRuleResponse, error)
- func (c *IoTDAClient) DeleteRuleAction(request *model.DeleteRuleActionRequest) (*model.DeleteRuleActionResponse, error)
- func (c *IoTDAClient) DeleteSubscription(request *model.DeleteSubscriptionRequest) (*model.DeleteSubscriptionResponse, error)
- func (c *IoTDAClient) FreezeDevice(request *model.FreezeDeviceRequest) (*model.FreezeDeviceResponse, error)
- func (c *IoTDAClient) ListAsyncCommands(request *model.ListAsyncCommandsRequest) (*model.ListAsyncCommandsResponse, error)
- func (c *IoTDAClient) ListAsyncHistoryCommands(request *model.ListAsyncHistoryCommandsRequest) (*model.ListAsyncHistoryCommandsResponse, error)
- func (c *IoTDAClient) ListBatchTaskFiles(request *model.ListBatchTaskFilesRequest) (*model.ListBatchTaskFilesResponse, error)
- func (c *IoTDAClient) ListBatchTasks(request *model.ListBatchTasksRequest) (*model.ListBatchTasksResponse, error)
- func (c *IoTDAClient) ListCertificates(request *model.ListCertificatesRequest) (*model.ListCertificatesResponse, error)
- func (c *IoTDAClient) ListDeviceGroups(request *model.ListDeviceGroupsRequest) (*model.ListDeviceGroupsResponse, error)
- func (c *IoTDAClient) ListDeviceMessages(request *model.ListDeviceMessagesRequest) (*model.ListDeviceMessagesResponse, error)
- func (c *IoTDAClient) ListDevices(request *model.ListDevicesRequest) (*model.ListDevicesResponse, error)
- func (c *IoTDAClient) ListProducts(request *model.ListProductsRequest) (*model.ListProductsResponse, error)
- func (c *IoTDAClient) ListProperties(request *model.ListPropertiesRequest) (*model.ListPropertiesResponse, error)
- func (c *IoTDAClient) ListResourcesByTags(request *model.ListResourcesByTagsRequest) (*model.ListResourcesByTagsResponse, error)
- func (c *IoTDAClient) ListRoutingRules(request *model.ListRoutingRulesRequest) (*model.ListRoutingRulesResponse, error)
- func (c *IoTDAClient) ListRuleActions(request *model.ListRuleActionsRequest) (*model.ListRuleActionsResponse, error)
- func (c *IoTDAClient) ListRules(request *model.ListRulesRequest) (*model.ListRulesResponse, error)
- func (c *IoTDAClient) ListSubscriptions(request *model.ListSubscriptionsRequest) (*model.ListSubscriptionsResponse, error)
- func (c *IoTDAClient) ResetDeviceSecret(request *model.ResetDeviceSecretRequest) (*model.ResetDeviceSecretResponse, error)
- func (c *IoTDAClient) ShowApplication(request *model.ShowApplicationRequest) (*model.ShowApplicationResponse, error)
- func (c *IoTDAClient) ShowApplications(request *model.ShowApplicationsRequest) (*model.ShowApplicationsResponse, error)
- func (c *IoTDAClient) ShowAsyncDeviceCommand(request *model.ShowAsyncDeviceCommandRequest) (*model.ShowAsyncDeviceCommandResponse, error)
- func (c *IoTDAClient) ShowBatchTask(request *model.ShowBatchTaskRequest) (*model.ShowBatchTaskResponse, error)
- func (c *IoTDAClient) ShowDevice(request *model.ShowDeviceRequest) (*model.ShowDeviceResponse, error)
- func (c *IoTDAClient) ShowDeviceGroup(request *model.ShowDeviceGroupRequest) (*model.ShowDeviceGroupResponse, error)
- func (c *IoTDAClient) ShowDeviceMessage(request *model.ShowDeviceMessageRequest) (*model.ShowDeviceMessageResponse, error)
- func (c *IoTDAClient) ShowDeviceShadow(request *model.ShowDeviceShadowRequest) (*model.ShowDeviceShadowResponse, error)
- func (c *IoTDAClient) ShowDevicesInGroup(request *model.ShowDevicesInGroupRequest) (*model.ShowDevicesInGroupResponse, error)
- func (c *IoTDAClient) ShowProduct(request *model.ShowProductRequest) (*model.ShowProductResponse, error)
- func (c *IoTDAClient) ShowQueue(request *model.ShowQueueRequest) (*model.ShowQueueResponse, error)
- func (c *IoTDAClient) ShowRoutingRule(request *model.ShowRoutingRuleRequest) (*model.ShowRoutingRuleResponse, error)
- func (c *IoTDAClient) ShowRule(request *model.ShowRuleRequest) (*model.ShowRuleResponse, error)
- func (c *IoTDAClient) ShowRuleAction(request *model.ShowRuleActionRequest) (*model.ShowRuleActionResponse, error)
- func (c *IoTDAClient) ShowSubscription(request *model.ShowSubscriptionRequest) (*model.ShowSubscriptionResponse, error)
- func (c *IoTDAClient) TagDevice(request *model.TagDeviceRequest) (*model.TagDeviceResponse, error)
- func (c *IoTDAClient) UnfreezeDevice(request *model.UnfreezeDeviceRequest) (*model.UnfreezeDeviceResponse, error)
- func (c *IoTDAClient) UntagDevice(request *model.UntagDeviceRequest) (*model.UntagDeviceResponse, error)
- func (c *IoTDAClient) UpdateDevice(request *model.UpdateDeviceRequest) (*model.UpdateDeviceResponse, error)
- func (c *IoTDAClient) UpdateDeviceGroup(request *model.UpdateDeviceGroupRequest) (*model.UpdateDeviceGroupResponse, error)
- func (c *IoTDAClient) UpdateDeviceShadowDesiredData(request *model.UpdateDeviceShadowDesiredDataRequest) (*model.UpdateDeviceShadowDesiredDataResponse, error)
- func (c *IoTDAClient) UpdateProduct(request *model.UpdateProductRequest) (*model.UpdateProductResponse, error)
- func (c *IoTDAClient) UpdateProperties(request *model.UpdatePropertiesRequest) (*model.UpdatePropertiesResponse, error)
- func (c *IoTDAClient) UpdateRoutingRule(request *model.UpdateRoutingRuleRequest) (*model.UpdateRoutingRuleResponse, error)
- func (c *IoTDAClient) UpdateRule(request *model.UpdateRuleRequest) (*model.UpdateRuleResponse, error)
- func (c *IoTDAClient) UpdateRuleAction(request *model.UpdateRuleActionRequest) (*model.UpdateRuleActionResponse, error)
- func (c *IoTDAClient) UpdateSubscription(request *model.UpdateSubscriptionRequest) (*model.UpdateSubscriptionResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForAddApplication ¶
func GenReqDefForAddApplication() *def.HttpRequestDef
func GenReqDefForAddCertificate ¶
func GenReqDefForAddCertificate() *def.HttpRequestDef
func GenReqDefForAddDevice ¶
func GenReqDefForAddDevice() *def.HttpRequestDef
func GenReqDefForAddDeviceGroup ¶
func GenReqDefForAddDeviceGroup() *def.HttpRequestDef
func GenReqDefForAddQueue ¶
func GenReqDefForAddQueue() *def.HttpRequestDef
func GenReqDefForBatchShowQueue ¶
func GenReqDefForBatchShowQueue() *def.HttpRequestDef
func GenReqDefForChangeRuleStatus ¶
func GenReqDefForChangeRuleStatus() *def.HttpRequestDef
func GenReqDefForCheckCertificate ¶
func GenReqDefForCheckCertificate() *def.HttpRequestDef
func GenReqDefForCreateAccessCode ¶
func GenReqDefForCreateAccessCode() *def.HttpRequestDef
func GenReqDefForCreateAsyncCommand ¶
func GenReqDefForCreateAsyncCommand() *def.HttpRequestDef
func GenReqDefForCreateBatchTask ¶
func GenReqDefForCreateBatchTask() *def.HttpRequestDef
func GenReqDefForCreateCommand ¶
func GenReqDefForCreateCommand() *def.HttpRequestDef
func GenReqDefForCreateMessage ¶
func GenReqDefForCreateMessage() *def.HttpRequestDef
func GenReqDefForCreateOrDeleteDeviceInGroup ¶
func GenReqDefForCreateOrDeleteDeviceInGroup() *def.HttpRequestDef
func GenReqDefForCreateProduct ¶
func GenReqDefForCreateProduct() *def.HttpRequestDef
func GenReqDefForCreateRoutingRule ¶
func GenReqDefForCreateRoutingRule() *def.HttpRequestDef
func GenReqDefForCreateRule ¶
func GenReqDefForCreateRule() *def.HttpRequestDef
func GenReqDefForCreateRuleAction ¶
func GenReqDefForCreateRuleAction() *def.HttpRequestDef
func GenReqDefForCreateSubscription ¶
func GenReqDefForCreateSubscription() *def.HttpRequestDef
func GenReqDefForDeleteApplication ¶
func GenReqDefForDeleteApplication() *def.HttpRequestDef
func GenReqDefForDeleteBatchTaskFile ¶
func GenReqDefForDeleteBatchTaskFile() *def.HttpRequestDef
func GenReqDefForDeleteCertificate ¶
func GenReqDefForDeleteCertificate() *def.HttpRequestDef
func GenReqDefForDeleteDevice ¶
func GenReqDefForDeleteDevice() *def.HttpRequestDef
func GenReqDefForDeleteDeviceGroup ¶
func GenReqDefForDeleteDeviceGroup() *def.HttpRequestDef
func GenReqDefForDeleteProduct ¶
func GenReqDefForDeleteProduct() *def.HttpRequestDef
func GenReqDefForDeleteQueue ¶
func GenReqDefForDeleteQueue() *def.HttpRequestDef
func GenReqDefForDeleteRoutingRule ¶
func GenReqDefForDeleteRoutingRule() *def.HttpRequestDef
func GenReqDefForDeleteRule ¶
func GenReqDefForDeleteRule() *def.HttpRequestDef
func GenReqDefForDeleteRuleAction ¶
func GenReqDefForDeleteRuleAction() *def.HttpRequestDef
func GenReqDefForDeleteSubscription ¶
func GenReqDefForDeleteSubscription() *def.HttpRequestDef
func GenReqDefForFreezeDevice ¶
func GenReqDefForFreezeDevice() *def.HttpRequestDef
func GenReqDefForListAsyncCommands ¶
func GenReqDefForListAsyncCommands() *def.HttpRequestDef
func GenReqDefForListAsyncHistoryCommands ¶
func GenReqDefForListAsyncHistoryCommands() *def.HttpRequestDef
func GenReqDefForListBatchTaskFiles ¶
func GenReqDefForListBatchTaskFiles() *def.HttpRequestDef
func GenReqDefForListBatchTasks ¶
func GenReqDefForListBatchTasks() *def.HttpRequestDef
func GenReqDefForListCertificates ¶
func GenReqDefForListCertificates() *def.HttpRequestDef
func GenReqDefForListDeviceGroups ¶
func GenReqDefForListDeviceGroups() *def.HttpRequestDef
func GenReqDefForListDeviceMessages ¶
func GenReqDefForListDeviceMessages() *def.HttpRequestDef
func GenReqDefForListDevices ¶
func GenReqDefForListDevices() *def.HttpRequestDef
func GenReqDefForListProducts ¶
func GenReqDefForListProducts() *def.HttpRequestDef
func GenReqDefForListProperties ¶
func GenReqDefForListProperties() *def.HttpRequestDef
func GenReqDefForListResourcesByTags ¶
func GenReqDefForListResourcesByTags() *def.HttpRequestDef
func GenReqDefForListRoutingRules ¶
func GenReqDefForListRoutingRules() *def.HttpRequestDef
func GenReqDefForListRuleActions ¶
func GenReqDefForListRuleActions() *def.HttpRequestDef
func GenReqDefForListRules ¶
func GenReqDefForListRules() *def.HttpRequestDef
func GenReqDefForListSubscriptions ¶
func GenReqDefForListSubscriptions() *def.HttpRequestDef
func GenReqDefForResetDeviceSecret ¶
func GenReqDefForResetDeviceSecret() *def.HttpRequestDef
func GenReqDefForShowApplication ¶
func GenReqDefForShowApplication() *def.HttpRequestDef
func GenReqDefForShowApplications ¶
func GenReqDefForShowApplications() *def.HttpRequestDef
func GenReqDefForShowAsyncDeviceCommand ¶
func GenReqDefForShowAsyncDeviceCommand() *def.HttpRequestDef
func GenReqDefForShowBatchTask ¶
func GenReqDefForShowBatchTask() *def.HttpRequestDef
func GenReqDefForShowDevice ¶
func GenReqDefForShowDevice() *def.HttpRequestDef
func GenReqDefForShowDeviceGroup ¶
func GenReqDefForShowDeviceGroup() *def.HttpRequestDef
func GenReqDefForShowDeviceMessage ¶
func GenReqDefForShowDeviceMessage() *def.HttpRequestDef
func GenReqDefForShowDeviceShadow ¶
func GenReqDefForShowDeviceShadow() *def.HttpRequestDef
func GenReqDefForShowDevicesInGroup ¶
func GenReqDefForShowDevicesInGroup() *def.HttpRequestDef
func GenReqDefForShowProduct ¶
func GenReqDefForShowProduct() *def.HttpRequestDef
func GenReqDefForShowQueue ¶
func GenReqDefForShowQueue() *def.HttpRequestDef
func GenReqDefForShowRoutingRule ¶
func GenReqDefForShowRoutingRule() *def.HttpRequestDef
func GenReqDefForShowRule ¶
func GenReqDefForShowRule() *def.HttpRequestDef
func GenReqDefForShowRuleAction ¶
func GenReqDefForShowRuleAction() *def.HttpRequestDef
func GenReqDefForShowSubscription ¶
func GenReqDefForShowSubscription() *def.HttpRequestDef
func GenReqDefForTagDevice ¶
func GenReqDefForTagDevice() *def.HttpRequestDef
func GenReqDefForUnfreezeDevice ¶
func GenReqDefForUnfreezeDevice() *def.HttpRequestDef
func GenReqDefForUntagDevice ¶
func GenReqDefForUntagDevice() *def.HttpRequestDef
func GenReqDefForUpdateDevice ¶
func GenReqDefForUpdateDevice() *def.HttpRequestDef
func GenReqDefForUpdateDeviceGroup ¶
func GenReqDefForUpdateDeviceGroup() *def.HttpRequestDef
func GenReqDefForUpdateDeviceShadowDesiredData ¶
func GenReqDefForUpdateDeviceShadowDesiredData() *def.HttpRequestDef
func GenReqDefForUpdateProduct ¶
func GenReqDefForUpdateProduct() *def.HttpRequestDef
func GenReqDefForUpdateProperties ¶
func GenReqDefForUpdateProperties() *def.HttpRequestDef
func GenReqDefForUpdateRoutingRule ¶
func GenReqDefForUpdateRoutingRule() *def.HttpRequestDef
func GenReqDefForUpdateRule ¶
func GenReqDefForUpdateRule() *def.HttpRequestDef
func GenReqDefForUpdateRuleAction ¶
func GenReqDefForUpdateRuleAction() *def.HttpRequestDef
func GenReqDefForUpdateSubscription ¶
func GenReqDefForUpdateSubscription() *def.HttpRequestDef
func IoTDAClientBuilder ¶
func IoTDAClientBuilder() *http_client.HcHttpClientBuilder
Types ¶
type IoTDAClient ¶
type IoTDAClient struct {
HcClient *http_client.HcHttpClient
}
func NewIoTDAClient ¶
func NewIoTDAClient(hcClient *http_client.HcHttpClient) *IoTDAClient
func (*IoTDAClient) AddApplication ¶
func (c *IoTDAClient) AddApplication(request *model.AddApplicationRequest) (*model.AddApplicationResponse, error)
资源空间对应的是物联网平台原有的应用,在物联网平台的含义与应用一致,只是变更了名称。应用服务器可以调用此接口创建资源空间。
func (*IoTDAClient) AddCertificate ¶
func (c *IoTDAClient) AddCertificate(request *model.AddCertificateRequest) (*model.AddCertificateResponse, error)
应用服务器可调用此接口在物联网平台上传设备的CA证书
func (*IoTDAClient) AddDevice ¶
func (c *IoTDAClient) AddDevice(request *model.AddDeviceRequest) (*model.AddDeviceResponse, error)
应用服务器可调用此接口在物联网平台创建一个设备,仅在创建后设备才可以接入物联网平台。 - 该接口支持使用gateway_id参数指定在父设备下创建一个子设备,并且支持多级子设备,当前最大支持二级子设备。 - 该接口同时还支持对设备进行初始配置,接口会读取创建设备请求参数product_id对应的产品详情,如果产品的属性有定义默认值,则会将该属性默认值写入该设备的设备影子中。 - 用户还可以使用创建设备请求参数shadow字段为设备指定初始配置,指定后将会根据service_id和desired设置的属性值与产品中对应属性的默认值比对,如果不同,则将以shadow字段中设置的属性值为准写入到设备影子中。
func (*IoTDAClient) AddDeviceGroup ¶
func (c *IoTDAClient) AddDeviceGroup(request *model.AddDeviceGroupRequest) (*model.AddDeviceGroupResponse, error)
应用服务器可调用此接口新建设备组,一个华为云账号下最多可有1,000个分组,包括父分组和子分组。设备组的最大层级关系不超过5层,即群组形成的关系树最大深度不超过5。
func (*IoTDAClient) AddQueue ¶
func (c *IoTDAClient) AddQueue(request *model.AddQueueRequest) (*model.AddQueueResponse, error)
应用服务器可调用此接口在物联网平台创建一个AMQP队列。每个租户只能创建100个队列,若超过规格,则创建失败,若队列名称与已有的队列名称相同,则创建失败。
func (*IoTDAClient) BatchShowQueue ¶
func (c *IoTDAClient) BatchShowQueue(request *model.BatchShowQueueRequest) (*model.BatchShowQueueResponse, error)
应用服务器可调用此接口查询物联网平台中的AMQP队列信息列表。可通过队列名称作模糊查询,支持分页。
func (*IoTDAClient) ChangeRuleStatus ¶
func (c *IoTDAClient) ChangeRuleStatus(request *model.ChangeRuleStatusRequest) (*model.ChangeRuleStatusResponse, error)
应用服务器可调用此接口修改物联网平台中指定规则的状态,激活或者去激活规则。
func (*IoTDAClient) CheckCertificate ¶
func (c *IoTDAClient) CheckCertificate(request *model.CheckCertificateRequest) (*model.CheckCertificateResponse, error)
应用服务器可调用此接口在物联网平台验证设备的CA证书,目的是为了验证用户持有设备CA证书的私钥
func (*IoTDAClient) CreateAccessCode ¶
func (c *IoTDAClient) CreateAccessCode(request *model.CreateAccessCodeRequest) (*model.CreateAccessCodeResponse, error)
接入凭证是用于客户端使用AMQP等协议与平台建链的一个认证凭据。只保留一条记录,如果重复调用只会重置接入凭证,使得之前的失效。
func (*IoTDAClient) CreateAsyncCommand ¶
func (c *IoTDAClient) CreateAsyncCommand(request *model.CreateAsyncCommandRequest) (*model.CreateAsyncCommandResponse, error)
设备的产品模型中定义了物联网平台可向设备下发的命令,应用服务器可调用此接口向指定设备下发异步命令,以实现对设备的控制。平台负责将命令发送给设备,并将设备执行命令结果异步通知应用服务器。 命令执行结果支持灵活的数据流转,应用服务器通过调用物联网平台的创建规则触发条件(Resource:device.command.status,Event:update)、创建规则动作并激活规则后,当命令状态变更时,物联网平台会根据规则将结果发送到规则指定的服务器,如用户自定义的HTTP服务器,AMQP服务器,以及华为云的其他储存服务器等, 详情参考[设备命令状态变更通知](https://support.huaweicloud.com/api-iothub/iot_06_v5_01212.html)。注意:此接口适用于NB设备异步命令下发,暂不支持其他协议类型设备命令下发。
func (*IoTDAClient) CreateBatchTask ¶
func (c *IoTDAClient) CreateBatchTask(request *model.CreateBatchTaskRequest) (*model.CreateBatchTaskResponse, error)
应用服务器可调用此接口为创建批量处理任务,对多个设备进行批量操作。当前支持批量软固件升级、批量创建设备、批量删除设备、批量冻结设备、批量解冻设备、批量创建命令任务。
func (*IoTDAClient) CreateCommand ¶
func (c *IoTDAClient) CreateCommand(request *model.CreateCommandRequest) (*model.CreateCommandResponse, error)
设备的产品模型中定义了物联网平台可向设备下发的命令,应用服务器可调用此接口向指定设备下发命令,以实现对设备的同步控制。平台负责将命令以同步方式发送给设备,并将设备执行命令结果同步返回, 如果设备没有响应,平台会返回给应用服务器超时,平台超时间是25秒。注意:此接口适用于MQTT设备同步命令下发,暂不支持NB-IoT设备命令下发。
func (*IoTDAClient) CreateMessage ¶
func (c *IoTDAClient) CreateMessage(request *model.CreateMessageRequest) (*model.CreateMessageResponse, error)
物联网平台可向设备下发消息,应用服务器可调用此接口向指定设备下发消息,以实现对设备的控制。应用将消息下发给平台后,平台返回应用响应结果,平台再将消息发送给设备。注意:此接口适用于MQTT设备消息下发,暂不支持其他协议接入的设备消息下发。
func (*IoTDAClient) CreateOrDeleteDeviceInGroup ¶
func (c *IoTDAClient) CreateOrDeleteDeviceInGroup(request *model.CreateOrDeleteDeviceInGroupRequest) (*model.CreateOrDeleteDeviceInGroupResponse, error)
应用服务器可调用此接口管理设备组中的设备。单个设备组内最多添加20,000个设备,一个设备最多可以被添加到10个设备组中。
func (*IoTDAClient) CreateProduct ¶
func (c *IoTDAClient) CreateProduct(request *model.CreateProductRequest) (*model.CreateProductResponse, error)
应用服务器可调用此接口创建产品。
func (*IoTDAClient) CreateRoutingRule ¶
func (c *IoTDAClient) CreateRoutingRule(request *model.CreateRoutingRuleRequest) (*model.CreateRoutingRuleResponse, error)
应用服务器可调用此接口在物联网平台创建一条规则触发条件。
func (*IoTDAClient) CreateRule ¶
func (c *IoTDAClient) CreateRule(request *model.CreateRuleRequest) (*model.CreateRuleResponse, error)
应用服务器可调用此接口在物联网平台创建一条规则。
func (*IoTDAClient) CreateRuleAction ¶
func (c *IoTDAClient) CreateRuleAction(request *model.CreateRuleActionRequest) (*model.CreateRuleActionResponse, error)
应用服务器可调用此接口在物联网平台创建一条规则动作。
func (*IoTDAClient) CreateSubscription ¶
func (c *IoTDAClient) CreateSubscription(request *model.CreateSubscriptionRequest) (*model.CreateSubscriptionResponse, error)
应用服务器可调用此接口订阅物联网平台资源的变化事件,当资源发生变化时(如设备激活,设备数据更新等),平台会向应用服务器发送通知消息。
func (*IoTDAClient) DeleteApplication ¶
func (c *IoTDAClient) DeleteApplication(request *model.DeleteApplicationRequest) (*model.DeleteApplicationResponse, error)
删除指定资源空间。删除资源空间属于高危操作,删除资源空间后,该空间下的产品、设备等资源将不可用,请谨慎操作!
func (*IoTDAClient) DeleteBatchTaskFile ¶
func (c *IoTDAClient) DeleteBatchTaskFile(request *model.DeleteBatchTaskFileRequest) (*model.DeleteBatchTaskFileResponse, error)
应用服务器可调用此接口删除批量任务文件。
func (*IoTDAClient) DeleteCertificate ¶
func (c *IoTDAClient) DeleteCertificate(request *model.DeleteCertificateRequest) (*model.DeleteCertificateResponse, error)
应用服务器可调用此接口在物联网平台删除设备的CA证书
func (*IoTDAClient) DeleteDevice ¶
func (c *IoTDAClient) DeleteDevice(request *model.DeleteDeviceRequest) (*model.DeleteDeviceResponse, error)
应用服务器可调用此接口在物联网平台上删除指定设备。若设备下连接了非直连设备,则必须把设备下的非直连设备都删除后,才能删除该设备。
func (*IoTDAClient) DeleteDeviceGroup ¶
func (c *IoTDAClient) DeleteDeviceGroup(request *model.DeleteDeviceGroupRequest) (*model.DeleteDeviceGroupResponse, error)
应用服务器可调用此接口删除指定设备组,如果该设备组存在子设备组或者该设备组中存在设备,必须先删除子设备组并将设备从该设备组移除,才能删除该设备组。
func (*IoTDAClient) DeleteProduct ¶
func (c *IoTDAClient) DeleteProduct(request *model.DeleteProductRequest) (*model.DeleteProductResponse, error)
应用服务器可调用此接口删除已导入物联网平台的指定产品模型。
func (*IoTDAClient) DeleteQueue ¶
func (c *IoTDAClient) DeleteQueue(request *model.DeleteQueueRequest) (*model.DeleteQueueResponse, error)
应用服务器可调用此接口在物联网平台上删除指定AMQP队列。若当前队列正在使用,则会删除失败。
func (*IoTDAClient) DeleteRoutingRule ¶
func (c *IoTDAClient) DeleteRoutingRule(request *model.DeleteRoutingRuleRequest) (*model.DeleteRoutingRuleResponse, error)
应用服务器可调用此接口删除物联网平台中的指定规则条件。
func (*IoTDAClient) DeleteRule ¶
func (c *IoTDAClient) DeleteRule(request *model.DeleteRuleRequest) (*model.DeleteRuleResponse, error)
应用服务器可调用此接口删除物联网平台中的指定规则。
func (*IoTDAClient) DeleteRuleAction ¶
func (c *IoTDAClient) DeleteRuleAction(request *model.DeleteRuleActionRequest) (*model.DeleteRuleActionResponse, error)
应用服务器可调用此接口删除物联网平台中的指定规则动作。
func (*IoTDAClient) DeleteSubscription ¶
func (c *IoTDAClient) DeleteSubscription(request *model.DeleteSubscriptionRequest) (*model.DeleteSubscriptionResponse, error)
应用服务器可调用此接口删除物联网平台中的指定订阅配置。
func (*IoTDAClient) FreezeDevice ¶
func (c *IoTDAClient) FreezeDevice(request *model.FreezeDeviceRequest) (*model.FreezeDeviceResponse, error)
应用服务器可调用此接口冻结设备,设备冻结后不能再连接上线,可以通过解冻设备接口解除设备冻结。注意,当前仅支持冻结与平台直连的设备。
func (*IoTDAClient) ListAsyncCommands ¶
func (c *IoTDAClient) ListAsyncCommands(request *model.ListAsyncCommandsRequest) (*model.ListAsyncCommandsResponse, error)
查询设备下队列中的命(处理中的命令),包含PENDING,SENT,DELIVERED三种状态,注意:DELIVERED状态的命令经过系统设定的一段时间(具体以系统配置为准)仍然没有更新,就会从队列中移除,变为历史命令。
func (*IoTDAClient) ListAsyncHistoryCommands ¶
func (c *IoTDAClient) ListAsyncHistoryCommands(request *model.ListAsyncHistoryCommandsRequest) (*model.ListAsyncHistoryCommandsResponse, error)
查询设备下发的历史异步命令。
func (*IoTDAClient) ListBatchTaskFiles ¶
func (c *IoTDAClient) ListBatchTaskFiles(request *model.ListBatchTaskFilesRequest) (*model.ListBatchTaskFilesResponse, error)
应用服务器可调用此接口查询批量任务文件列表。
func (*IoTDAClient) ListBatchTasks ¶
func (c *IoTDAClient) ListBatchTasks(request *model.ListBatchTasksRequest) (*model.ListBatchTasksResponse, error)
应用服务器可调用此接口查询物联网平台中批量任务列表,每一个任务又包括具体的任务内容、任务状态、任务完成情况统计等。
func (*IoTDAClient) ListCertificates ¶
func (c *IoTDAClient) ListCertificates(request *model.ListCertificatesRequest) (*model.ListCertificatesResponse, error)
应用服务器可调用此接口在物联网平台获取设备的CA证书列表
func (*IoTDAClient) ListDeviceGroups ¶
func (c *IoTDAClient) ListDeviceGroups(request *model.ListDeviceGroupsRequest) (*model.ListDeviceGroupsResponse, error)
应用服务器可调用此接口查询物联网平台中的设备组信息列表。
func (*IoTDAClient) ListDeviceMessages ¶
func (c *IoTDAClient) ListDeviceMessages(request *model.ListDeviceMessagesRequest) (*model.ListDeviceMessagesResponse, error)
物联网平台可查询指定设备下的消息,平台为每个设备默认最多保存20条消息,超过20条后, 后续的消息会替换下发最早的消息。
func (*IoTDAClient) ListDevices ¶
func (c *IoTDAClient) ListDevices(request *model.ListDevicesRequest) (*model.ListDevicesResponse, error)
应用服务器可调用此接口查询物联网平台中的设备信息列表。
func (*IoTDAClient) ListProducts ¶
func (c *IoTDAClient) ListProducts(request *model.ListProductsRequest) (*model.ListProductsResponse, error)
应用服务器可调用此接口查询已导入物联网平台的产品模型信息列表,了解产品模型的概要信息。
func (*IoTDAClient) ListProperties ¶
func (c *IoTDAClient) ListProperties(request *model.ListPropertiesRequest) (*model.ListPropertiesResponse, error)
设备的产品模型中定义了物联网平台可向设备下发的属性,应用服务器可调用此接口查询指定设备下属性。注意:此接口适用于MQTT设备,暂不支持NB-IoT设备。
func (*IoTDAClient) ListResourcesByTags ¶
func (c *IoTDAClient) ListResourcesByTags(request *model.ListResourcesByTagsRequest) (*model.ListResourcesByTagsResponse, error)
应用服务器可调用此接口查询绑定了指定标签的资源。当前支持标签的资源有Device(设备)。
func (*IoTDAClient) ListRoutingRules ¶
func (c *IoTDAClient) ListRoutingRules(request *model.ListRoutingRulesRequest) (*model.ListRoutingRulesResponse, error)
应用服务器可调用此接口查询物联网平台中设置的规则条件列表。
func (*IoTDAClient) ListRuleActions ¶
func (c *IoTDAClient) ListRuleActions(request *model.ListRuleActionsRequest) (*model.ListRuleActionsResponse, error)
应用服务器可调用此接口查询物联网平台中设置的规则动作列表。
func (*IoTDAClient) ListRules ¶
func (c *IoTDAClient) ListRules(request *model.ListRulesRequest) (*model.ListRulesResponse, error)
应用服务器可调用此接口查询物联网平台中设置的规则列表。
func (*IoTDAClient) ListSubscriptions ¶
func (c *IoTDAClient) ListSubscriptions(request *model.ListSubscriptionsRequest) (*model.ListSubscriptionsResponse, error)
应用服务器可调用此接口查询物联网平台中的订阅配置信息列表。
func (*IoTDAClient) ResetDeviceSecret ¶
func (c *IoTDAClient) ResetDeviceSecret(request *model.ResetDeviceSecretRequest) (*model.ResetDeviceSecretResponse, error)
应用服务器可调用此接口重置设备密钥,携带指定密钥时平台将设备密钥重置为指定的密钥,不携带密钥时平台将自动生成一个新的随机密钥返回。
func (*IoTDAClient) ShowApplication ¶
func (c *IoTDAClient) ShowApplication(request *model.ShowApplicationRequest) (*model.ShowApplicationResponse, error)
资源空间对应的是物联网平台原有的应用,在物联网平台的含义与应用一致,只是变更了名称。应用服务器可以调用此接口查询指定资源空间详情。
func (*IoTDAClient) ShowApplications ¶
func (c *IoTDAClient) ShowApplications(request *model.ShowApplicationsRequest) (*model.ShowApplicationsResponse, error)
资源空间对应的是物联网平台原有的应用,在物联网平台的含义与应用一致,只是变更了名称。应用服务器可以调用此接口查询资源空间列表。
func (*IoTDAClient) ShowAsyncDeviceCommand ¶
func (c *IoTDAClient) ShowAsyncDeviceCommand(request *model.ShowAsyncDeviceCommandRequest) (*model.ShowAsyncDeviceCommandResponse, error)
物联网平台可查询指定id的命令。
func (*IoTDAClient) ShowBatchTask ¶
func (c *IoTDAClient) ShowBatchTask(request *model.ShowBatchTaskRequest) (*model.ShowBatchTaskResponse, error)
应用服务器可调用此接口查询物联网平台中指定批量任务的信息,包括任务内容、任务状态、任务完成情况统计以及子任务列表等。
func (*IoTDAClient) ShowDevice ¶
func (c *IoTDAClient) ShowDevice(request *model.ShowDeviceRequest) (*model.ShowDeviceResponse, error)
应用服务器可调用此接口查询物联网平台中指定设备的详细信息。
func (*IoTDAClient) ShowDeviceGroup ¶
func (c *IoTDAClient) ShowDeviceGroup(request *model.ShowDeviceGroupRequest) (*model.ShowDeviceGroupResponse, error)
应用服务器可调用此接口查询指定设备组详情。
func (*IoTDAClient) ShowDeviceMessage ¶
func (c *IoTDAClient) ShowDeviceMessage(request *model.ShowDeviceMessageRequest) (*model.ShowDeviceMessageResponse, error)
物联网平台可查询指定消息id的消息。
func (*IoTDAClient) ShowDeviceShadow ¶
func (c *IoTDAClient) ShowDeviceShadow(request *model.ShowDeviceShadowRequest) (*model.ShowDeviceShadowResponse, error)
应用服务器可调用此接口查询指定设备的设备影子信息,包括对设备的期望属性信息(desired区)和设备最新上报的属性信息(reported区)。 设备影子介绍: 设备影子是一个用于存储和检索设备当前状态信息的JSON文档。 - 每个设备有且只有一个设备影子,由设备ID唯一标识 - 设备影子仅保存最近一次设备的上报数据和预期数据 - 无论该设备是否在线,都可以通过该影子获取和设置设备的属性 - 设备上线或者设备上报属性时,如果desired区和reported区存在差异,则将差异部分下发给设备,配置的预期属性需在产品模型中定义且method具有可写属性“W”才可下发
func (*IoTDAClient) ShowDevicesInGroup ¶
func (c *IoTDAClient) ShowDevicesInGroup(request *model.ShowDevicesInGroupRequest) (*model.ShowDevicesInGroupResponse, error)
应用服务器可调用此接口查询指定设备组下的设备列表。
func (*IoTDAClient) ShowProduct ¶
func (c *IoTDAClient) ShowProduct(request *model.ShowProductRequest) (*model.ShowProductResponse, error)
应用服务器可调用此接口查询已导入物联网平台的指定产品模型详细信息,包括产品模型的服务、属性、命令等。
func (*IoTDAClient) ShowQueue ¶
func (c *IoTDAClient) ShowQueue(request *model.ShowQueueRequest) (*model.ShowQueueResponse, error)
应用服务器可调用此接口查询物联网平台中指定队列的详细信息。
func (*IoTDAClient) ShowRoutingRule ¶
func (c *IoTDAClient) ShowRoutingRule(request *model.ShowRoutingRuleRequest) (*model.ShowRoutingRuleResponse, error)
应用服务器可调用此接口查询物联网平台中指定规则条件的配置信息。
func (*IoTDAClient) ShowRule ¶
func (c *IoTDAClient) ShowRule(request *model.ShowRuleRequest) (*model.ShowRuleResponse, error)
应用服务器可调用此接口查询物联网平台中指定规则的配置信息。
func (*IoTDAClient) ShowRuleAction ¶
func (c *IoTDAClient) ShowRuleAction(request *model.ShowRuleActionRequest) (*model.ShowRuleActionResponse, error)
应用服务器可调用此接口查询物联网平台中指定规则动作的配置信息。
func (*IoTDAClient) ShowSubscription ¶
func (c *IoTDAClient) ShowSubscription(request *model.ShowSubscriptionRequest) (*model.ShowSubscriptionResponse, error)
应用服务器可调用此接口查询物联网平台中指定订阅的配置信息。
func (*IoTDAClient) TagDevice ¶
func (c *IoTDAClient) TagDevice(request *model.TagDeviceRequest) (*model.TagDeviceResponse, error)
应用服务器可调用此接口为指定资源绑定标签。当前支持标签的资源有Device(设备)。
func (*IoTDAClient) UnfreezeDevice ¶
func (c *IoTDAClient) UnfreezeDevice(request *model.UnfreezeDeviceRequest) (*model.UnfreezeDeviceResponse, error)
应用服务器可调用此接口解冻设备,解除冻结后,设备可以连接上线。
func (*IoTDAClient) UntagDevice ¶
func (c *IoTDAClient) UntagDevice(request *model.UntagDeviceRequest) (*model.UntagDeviceResponse, error)
应用服务器可调用此接口为指定资源解绑标签。当前支持标签的资源有Device(设备)。
func (*IoTDAClient) UpdateDevice ¶
func (c *IoTDAClient) UpdateDevice(request *model.UpdateDeviceRequest) (*model.UpdateDeviceResponse, error)
应用服务器可调用此接口修改物联网平台中指定设备的基本信息。
func (*IoTDAClient) UpdateDeviceGroup ¶
func (c *IoTDAClient) UpdateDeviceGroup(request *model.UpdateDeviceGroupRequest) (*model.UpdateDeviceGroupResponse, error)
应用服务器可调用此接口修改物联网平台中指定设备组。
func (*IoTDAClient) UpdateDeviceShadowDesiredData ¶
func (c *IoTDAClient) UpdateDeviceShadowDesiredData(request *model.UpdateDeviceShadowDesiredDataRequest) (*model.UpdateDeviceShadowDesiredDataResponse, error)
应用服务器可调用此接口配置设备影子的预期属性(desired区),当设备上线或者设备上报属性时把属性下发给设备。 设备影子介绍: 设备影子是一个用于存储和检索设备当前状态信息的JSON文档。 - 每个设备有且只有一个设备影子,由设备ID唯一标识 - 设备影子仅保存最近一次设备的上报数据和预期数据 - 无论该设备是否在线,都可以通过该影子获取和设置设备的属性 - 设备上线或者设备上报属性时,如果desired区和reported区存在差异,则将差异部分下发给设备,配置的预期属性需在产品模型中定义且method具有可写属性“W”才可下发
func (*IoTDAClient) UpdateProduct ¶
func (c *IoTDAClient) UpdateProduct(request *model.UpdateProductRequest) (*model.UpdateProductResponse, error)
应用服务器可调用此接口修改已导入物联网平台的指定产品模型,包括产品模型的服务、属性、命令等。
func (*IoTDAClient) UpdateProperties ¶
func (c *IoTDAClient) UpdateProperties(request *model.UpdatePropertiesRequest) (*model.UpdatePropertiesResponse, error)
设备的产品模型中定义了物联网平台可向设备下发的属性,应用服务器可调用此接口向指定设备下属性。平台负责将属性以同步方式发送给设备,并将设备执行属性结果同步返回。注意:此接口适用于MQTT设备,暂不支持NB-IoT设备。
func (*IoTDAClient) UpdateRoutingRule ¶
func (c *IoTDAClient) UpdateRoutingRule(request *model.UpdateRoutingRuleRequest) (*model.UpdateRoutingRuleResponse, error)
应用服务器可调用此接口修改物联网平台中指定规则条件的配置参数。
func (*IoTDAClient) UpdateRule ¶
func (c *IoTDAClient) UpdateRule(request *model.UpdateRuleRequest) (*model.UpdateRuleResponse, error)
应用服务器可调用此接口修改物联网平台中指定规则的配置。
func (*IoTDAClient) UpdateRuleAction ¶
func (c *IoTDAClient) UpdateRuleAction(request *model.UpdateRuleActionRequest) (*model.UpdateRuleActionResponse, error)
应用服务器可调用此接口修改物联网平台中指定规则动作的配置。
func (*IoTDAClient) UpdateSubscription ¶
func (c *IoTDAClient) UpdateSubscription(request *model.UpdateSubscriptionRequest) (*model.UpdateSubscriptionResponse, error)
应用服务器可调用此接口修改物联网平台中的指定订阅配置,当前仅支持修改订阅回调地址(callbackurl)。