v5

package
v0.1.127 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenReqDefForAddApplication

func GenReqDefForAddApplication() *def.HttpRequestDef

func GenReqDefForAddBridge added in v0.1.98

func GenReqDefForAddBridge() *def.HttpRequestDef

func GenReqDefForAddCertificate

func GenReqDefForAddCertificate() *def.HttpRequestDef

func GenReqDefForAddDevice

func GenReqDefForAddDevice() *def.HttpRequestDef

func GenReqDefForAddDeviceGroup

func GenReqDefForAddDeviceGroup() *def.HttpRequestDef

func GenReqDefForAddFunctions added in v0.1.121

func GenReqDefForAddFunctions() *def.HttpRequestDef

func GenReqDefForAddQueue

func GenReqDefForAddQueue() *def.HttpRequestDef

func GenReqDefForAddTunnel added in v0.1.50

func GenReqDefForAddTunnel() *def.HttpRequestDef

func GenReqDefForBatchShowQueue

func GenReqDefForBatchShowQueue() *def.HttpRequestDef

func GenReqDefForBindDevicePolicy added in v0.1.102

func GenReqDefForBindDevicePolicy() *def.HttpRequestDef

func GenReqDefForBroadcastMessage added in v0.1.37

func GenReqDefForBroadcastMessage() *def.HttpRequestDef

func GenReqDefForChangeRuleStatus

func GenReqDefForChangeRuleStatus() *def.HttpRequestDef

func GenReqDefForCheckCertificate

func GenReqDefForCheckCertificate() *def.HttpRequestDef

func GenReqDefForCloseDeviceTunnel added in v0.1.50

func GenReqDefForCloseDeviceTunnel() *def.HttpRequestDef

func GenReqDefForCountAsyncHistoryCommands added in v0.1.121

func GenReqDefForCountAsyncHistoryCommands() *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 GenReqDefForCreateDeviceAuthorizer added in v0.1.102

func GenReqDefForCreateDeviceAuthorizer() *def.HttpRequestDef

func GenReqDefForCreateDevicePolicy added in v0.1.102

func GenReqDefForCreateDevicePolicy() *def.HttpRequestDef

func GenReqDefForCreateDeviceProxy added in v0.1.93

func GenReqDefForCreateDeviceProxy() *def.HttpRequestDef

func GenReqDefForCreateMessage

func GenReqDefForCreateMessage() *def.HttpRequestDef

func GenReqDefForCreateOrDeleteDeviceInGroup

func GenReqDefForCreateOrDeleteDeviceInGroup() *def.HttpRequestDef

func GenReqDefForCreateOtaPackage added in v0.1.28

func GenReqDefForCreateOtaPackage() *def.HttpRequestDef

func GenReqDefForCreateProduct

func GenReqDefForCreateProduct() *def.HttpRequestDef

func GenReqDefForCreateProvisioningTemplate added in v0.1.102

func GenReqDefForCreateProvisioningTemplate() *def.HttpRequestDef

func GenReqDefForCreateRoutingBacklogPolicy added in v0.1.91

func GenReqDefForCreateRoutingBacklogPolicy() *def.HttpRequestDef

func GenReqDefForCreateRoutingFlowControlPolicy added in v0.1.91

func GenReqDefForCreateRoutingFlowControlPolicy() *def.HttpRequestDef

func GenReqDefForCreateRoutingRule

func GenReqDefForCreateRoutingRule() *def.HttpRequestDef

func GenReqDefForCreateRule

func GenReqDefForCreateRule() *def.HttpRequestDef

func GenReqDefForCreateRuleAction

func GenReqDefForCreateRuleAction() *def.HttpRequestDef

func GenReqDefForDeleteApplication

func GenReqDefForDeleteApplication() *def.HttpRequestDef

func GenReqDefForDeleteBatchTask added in v0.1.49

func GenReqDefForDeleteBatchTask() *def.HttpRequestDef

func GenReqDefForDeleteBatchTaskFile

func GenReqDefForDeleteBatchTaskFile() *def.HttpRequestDef

func GenReqDefForDeleteBridge added in v0.1.98

func GenReqDefForDeleteBridge() *def.HttpRequestDef

func GenReqDefForDeleteCertificate

func GenReqDefForDeleteCertificate() *def.HttpRequestDef

func GenReqDefForDeleteDevice

func GenReqDefForDeleteDevice() *def.HttpRequestDef

func GenReqDefForDeleteDeviceAuthorizer added in v0.1.102

func GenReqDefForDeleteDeviceAuthorizer() *def.HttpRequestDef

func GenReqDefForDeleteDeviceGroup

func GenReqDefForDeleteDeviceGroup() *def.HttpRequestDef

func GenReqDefForDeleteDevicePolicy added in v0.1.102

func GenReqDefForDeleteDevicePolicy() *def.HttpRequestDef

func GenReqDefForDeleteDeviceProxy added in v0.1.93

func GenReqDefForDeleteDeviceProxy() *def.HttpRequestDef

func GenReqDefForDeleteDeviceTunnel added in v0.1.50

func GenReqDefForDeleteDeviceTunnel() *def.HttpRequestDef

func GenReqDefForDeleteFunctions added in v0.1.121

func GenReqDefForDeleteFunctions() *def.HttpRequestDef

func GenReqDefForDeleteOtaPackage added in v0.1.28

func GenReqDefForDeleteOtaPackage() *def.HttpRequestDef

func GenReqDefForDeleteProduct

func GenReqDefForDeleteProduct() *def.HttpRequestDef

func GenReqDefForDeleteProvisioningTemplate added in v0.1.102

func GenReqDefForDeleteProvisioningTemplate() *def.HttpRequestDef

func GenReqDefForDeleteQueue

func GenReqDefForDeleteQueue() *def.HttpRequestDef

func GenReqDefForDeleteRoutingBacklogPolicy added in v0.1.91

func GenReqDefForDeleteRoutingBacklogPolicy() *def.HttpRequestDef

func GenReqDefForDeleteRoutingFlowControlPolicy added in v0.1.91

func GenReqDefForDeleteRoutingFlowControlPolicy() *def.HttpRequestDef

func GenReqDefForDeleteRoutingRule

func GenReqDefForDeleteRoutingRule() *def.HttpRequestDef

func GenReqDefForDeleteRule

func GenReqDefForDeleteRule() *def.HttpRequestDef

func GenReqDefForDeleteRuleAction

func GenReqDefForDeleteRuleAction() *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 GenReqDefForListBridges added in v0.1.98

func GenReqDefForListBridges() *def.HttpRequestDef

func GenReqDefForListCertificates

func GenReqDefForListCertificates() *def.HttpRequestDef

func GenReqDefForListDeviceAuthorizers added in v0.1.102

func GenReqDefForListDeviceAuthorizers() *def.HttpRequestDef

func GenReqDefForListDeviceGroups

func GenReqDefForListDeviceGroups() *def.HttpRequestDef

func GenReqDefForListDeviceGroupsByDevice added in v0.1.98

func GenReqDefForListDeviceGroupsByDevice() *def.HttpRequestDef

func GenReqDefForListDeviceMessages

func GenReqDefForListDeviceMessages() *def.HttpRequestDef

func GenReqDefForListDevicePolicies added in v0.1.102

func GenReqDefForListDevicePolicies() *def.HttpRequestDef

func GenReqDefForListDeviceProxies added in v0.1.93

func GenReqDefForListDeviceProxies() *def.HttpRequestDef

func GenReqDefForListDeviceTunnels added in v0.1.50

func GenReqDefForListDeviceTunnels() *def.HttpRequestDef

func GenReqDefForListDevices

func GenReqDefForListDevices() *def.HttpRequestDef

func GenReqDefForListFunctions added in v0.1.121

func GenReqDefForListFunctions() *def.HttpRequestDef

func GenReqDefForListOtaPackageInfo added in v0.1.28

func GenReqDefForListOtaPackageInfo() *def.HttpRequestDef

func GenReqDefForListProducts

func GenReqDefForListProducts() *def.HttpRequestDef

func GenReqDefForListProperties

func GenReqDefForListProperties() *def.HttpRequestDef

func GenReqDefForListProvisioningTemplates added in v0.1.102

func GenReqDefForListProvisioningTemplates() *def.HttpRequestDef

func GenReqDefForListResourcesByTags

func GenReqDefForListResourcesByTags() *def.HttpRequestDef

func GenReqDefForListRoutingBacklogPolicy added in v0.1.91

func GenReqDefForListRoutingBacklogPolicy() *def.HttpRequestDef

func GenReqDefForListRoutingFlowControlPolicy added in v0.1.91

func GenReqDefForListRoutingFlowControlPolicy() *def.HttpRequestDef

func GenReqDefForListRoutingRules

func GenReqDefForListRoutingRules() *def.HttpRequestDef

func GenReqDefForListRuleActions

func GenReqDefForListRuleActions() *def.HttpRequestDef

func GenReqDefForListRules

func GenReqDefForListRules() *def.HttpRequestDef

func GenReqDefForResetBridgeSecret added in v0.1.98

func GenReqDefForResetBridgeSecret() *def.HttpRequestDef

func GenReqDefForResetDeviceSecret

func GenReqDefForResetDeviceSecret() *def.HttpRequestDef

func GenReqDefForResetFingerprint added in v0.0.81

func GenReqDefForResetFingerprint() *def.HttpRequestDef

func GenReqDefForRetryBatchTask added in v0.1.43

func GenReqDefForRetryBatchTask() *def.HttpRequestDef

func GenReqDefForSearchDevices added in v0.1.18

func GenReqDefForSearchDevices() *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 GenReqDefForShowDeviceAuthorizer added in v0.1.102

func GenReqDefForShowDeviceAuthorizer() *def.HttpRequestDef

func GenReqDefForShowDeviceGroup

func GenReqDefForShowDeviceGroup() *def.HttpRequestDef

func GenReqDefForShowDeviceMessage

func GenReqDefForShowDeviceMessage() *def.HttpRequestDef

func GenReqDefForShowDevicePolicy added in v0.1.102

func GenReqDefForShowDevicePolicy() *def.HttpRequestDef

func GenReqDefForShowDeviceProxy added in v0.1.93

func GenReqDefForShowDeviceProxy() *def.HttpRequestDef

func GenReqDefForShowDeviceShadow

func GenReqDefForShowDeviceShadow() *def.HttpRequestDef

func GenReqDefForShowDeviceTunnel added in v0.1.50

func GenReqDefForShowDeviceTunnel() *def.HttpRequestDef

func GenReqDefForShowDevicesInGroup

func GenReqDefForShowDevicesInGroup() *def.HttpRequestDef

func GenReqDefForShowOtaPackage added in v0.1.28

func GenReqDefForShowOtaPackage() *def.HttpRequestDef

func GenReqDefForShowProduct

func GenReqDefForShowProduct() *def.HttpRequestDef

func GenReqDefForShowProvisioningTemplate added in v0.1.102

func GenReqDefForShowProvisioningTemplate() *def.HttpRequestDef

func GenReqDefForShowQueue

func GenReqDefForShowQueue() *def.HttpRequestDef

func GenReqDefForShowRoutingBacklogPolicy added in v0.1.91

func GenReqDefForShowRoutingBacklogPolicy() *def.HttpRequestDef

func GenReqDefForShowRoutingFlowControlPolicy added in v0.1.91

func GenReqDefForShowRoutingFlowControlPolicy() *def.HttpRequestDef

func GenReqDefForShowRoutingRule

func GenReqDefForShowRoutingRule() *def.HttpRequestDef

func GenReqDefForShowRule

func GenReqDefForShowRule() *def.HttpRequestDef

func GenReqDefForShowRuleAction

func GenReqDefForShowRuleAction() *def.HttpRequestDef

func GenReqDefForShowTargetsInDevicePolicy added in v0.1.102

func GenReqDefForShowTargetsInDevicePolicy() *def.HttpRequestDef

func GenReqDefForStopBatchTask added in v0.1.43

func GenReqDefForStopBatchTask() *def.HttpRequestDef

func GenReqDefForTagDevice

func GenReqDefForTagDevice() *def.HttpRequestDef

func GenReqDefForUnbindDevicePolicy added in v0.1.102

func GenReqDefForUnbindDevicePolicy() *def.HttpRequestDef

func GenReqDefForUnfreezeDevice

func GenReqDefForUnfreezeDevice() *def.HttpRequestDef

func GenReqDefForUntagDevice

func GenReqDefForUntagDevice() *def.HttpRequestDef

func GenReqDefForUpdateApplication added in v0.1.88

func GenReqDefForUpdateApplication() *def.HttpRequestDef

func GenReqDefForUpdateCertificate added in v0.1.98

func GenReqDefForUpdateCertificate() *def.HttpRequestDef

func GenReqDefForUpdateDevice

func GenReqDefForUpdateDevice() *def.HttpRequestDef

func GenReqDefForUpdateDeviceAuthorizer added in v0.1.102

func GenReqDefForUpdateDeviceAuthorizer() *def.HttpRequestDef

func GenReqDefForUpdateDeviceGroup

func GenReqDefForUpdateDeviceGroup() *def.HttpRequestDef

func GenReqDefForUpdateDevicePolicy added in v0.1.102

func GenReqDefForUpdateDevicePolicy() *def.HttpRequestDef

func GenReqDefForUpdateDeviceProxy added in v0.1.93

func GenReqDefForUpdateDeviceProxy() *def.HttpRequestDef

func GenReqDefForUpdateDeviceShadowDesiredData

func GenReqDefForUpdateDeviceShadowDesiredData() *def.HttpRequestDef

func GenReqDefForUpdateProduct

func GenReqDefForUpdateProduct() *def.HttpRequestDef

func GenReqDefForUpdateProperties

func GenReqDefForUpdateProperties() *def.HttpRequestDef

func GenReqDefForUpdateProvisioningTemplate added in v0.1.102

func GenReqDefForUpdateProvisioningTemplate() *def.HttpRequestDef

func GenReqDefForUpdateRoutingBacklogPolicy added in v0.1.91

func GenReqDefForUpdateRoutingBacklogPolicy() *def.HttpRequestDef

func GenReqDefForUpdateRoutingFlowControlPolicy added in v0.1.91

func GenReqDefForUpdateRoutingFlowControlPolicy() *def.HttpRequestDef

func GenReqDefForUpdateRoutingRule

func GenReqDefForUpdateRoutingRule() *def.HttpRequestDef

func GenReqDefForUpdateRule

func GenReqDefForUpdateRule() *def.HttpRequestDef

func GenReqDefForUpdateRuleAction

func GenReqDefForUpdateRuleAction() *def.HttpRequestDef

func GenReqDefForUploadBatchTaskFile added in v0.1.23

func GenReqDefForUploadBatchTaskFile() *def.HttpRequestDef

func IoTDAClientBuilder

func IoTDAClientBuilder() *httpclient.HcHttpClientBuilder

Types

type AddApplicationInvoker added in v0.0.90

type AddApplicationInvoker struct {
	*invoker.BaseInvoker
}

func (*AddApplicationInvoker) GetBaseInvoker added in v0.1.118

func (i *AddApplicationInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*AddApplicationInvoker) Invoke added in v0.0.90

type AddBridgeInvoker added in v0.1.98

type AddBridgeInvoker struct {
	*invoker.BaseInvoker
}

func (*AddBridgeInvoker) GetBaseInvoker added in v0.1.118

func (i *AddBridgeInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*AddBridgeInvoker) Invoke added in v0.1.98

type AddCertificateInvoker added in v0.0.90

type AddCertificateInvoker struct {
	*invoker.BaseInvoker
}

func (*AddCertificateInvoker) GetBaseInvoker added in v0.1.118

func (i *AddCertificateInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*AddCertificateInvoker) Invoke added in v0.0.90

type AddDeviceGroupInvoker added in v0.0.90

type AddDeviceGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*AddDeviceGroupInvoker) GetBaseInvoker added in v0.1.118

func (i *AddDeviceGroupInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*AddDeviceGroupInvoker) Invoke added in v0.0.90

type AddDeviceInvoker added in v0.0.90

type AddDeviceInvoker struct {
	*invoker.BaseInvoker
}

func (*AddDeviceInvoker) GetBaseInvoker added in v0.1.118

func (i *AddDeviceInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*AddDeviceInvoker) Invoke added in v0.0.90

type AddFunctionsInvoker added in v0.1.121

type AddFunctionsInvoker struct {
	*invoker.BaseInvoker
}

func (*AddFunctionsInvoker) GetBaseInvoker added in v0.1.121

func (i *AddFunctionsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*AddFunctionsInvoker) Invoke added in v0.1.121

type AddQueueInvoker added in v0.0.90

type AddQueueInvoker struct {
	*invoker.BaseInvoker
}

func (*AddQueueInvoker) GetBaseInvoker added in v0.1.118

func (i *AddQueueInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*AddQueueInvoker) Invoke added in v0.0.90

func (i *AddQueueInvoker) Invoke() (*model.AddQueueResponse, error)

type AddTunnelInvoker added in v0.1.50

type AddTunnelInvoker struct {
	*invoker.BaseInvoker
}

func (*AddTunnelInvoker) GetBaseInvoker added in v0.1.118

func (i *AddTunnelInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*AddTunnelInvoker) Invoke added in v0.1.50

type BatchShowQueueInvoker added in v0.0.90

type BatchShowQueueInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchShowQueueInvoker) GetBaseInvoker added in v0.1.118

func (i *BatchShowQueueInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*BatchShowQueueInvoker) Invoke added in v0.0.90

type BindDevicePolicyInvoker added in v0.1.102

type BindDevicePolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*BindDevicePolicyInvoker) GetBaseInvoker added in v0.1.118

func (i *BindDevicePolicyInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*BindDevicePolicyInvoker) Invoke added in v0.1.102

type BroadcastMessageInvoker added in v0.1.37

type BroadcastMessageInvoker struct {
	*invoker.BaseInvoker
}

func (*BroadcastMessageInvoker) GetBaseInvoker added in v0.1.118

func (i *BroadcastMessageInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*BroadcastMessageInvoker) Invoke added in v0.1.37

type ChangeRuleStatusInvoker added in v0.0.90

type ChangeRuleStatusInvoker struct {
	*invoker.BaseInvoker
}

func (*ChangeRuleStatusInvoker) GetBaseInvoker added in v0.1.118

func (i *ChangeRuleStatusInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ChangeRuleStatusInvoker) Invoke added in v0.0.90

type CheckCertificateInvoker added in v0.0.90

type CheckCertificateInvoker struct {
	*invoker.BaseInvoker
}

func (*CheckCertificateInvoker) GetBaseInvoker added in v0.1.118

func (i *CheckCertificateInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CheckCertificateInvoker) Invoke added in v0.0.90

type CloseDeviceTunnelInvoker added in v0.1.50

type CloseDeviceTunnelInvoker struct {
	*invoker.BaseInvoker
}

func (*CloseDeviceTunnelInvoker) GetBaseInvoker added in v0.1.118

func (i *CloseDeviceTunnelInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CloseDeviceTunnelInvoker) Invoke added in v0.1.50

type CountAsyncHistoryCommandsInvoker added in v0.1.121

type CountAsyncHistoryCommandsInvoker struct {
	*invoker.BaseInvoker
}

func (*CountAsyncHistoryCommandsInvoker) GetBaseInvoker added in v0.1.121

func (*CountAsyncHistoryCommandsInvoker) Invoke added in v0.1.121

type CreateAccessCodeInvoker added in v0.0.90

type CreateAccessCodeInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateAccessCodeInvoker) GetBaseInvoker added in v0.1.118

func (i *CreateAccessCodeInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CreateAccessCodeInvoker) Invoke added in v0.0.90

type CreateAsyncCommandInvoker added in v0.0.90

type CreateAsyncCommandInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateAsyncCommandInvoker) GetBaseInvoker added in v0.1.118

func (i *CreateAsyncCommandInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CreateAsyncCommandInvoker) Invoke added in v0.0.90

type CreateBatchTaskInvoker added in v0.0.90

type CreateBatchTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateBatchTaskInvoker) GetBaseInvoker added in v0.1.118

func (i *CreateBatchTaskInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CreateBatchTaskInvoker) Invoke added in v0.0.90

type CreateCommandInvoker added in v0.0.90

type CreateCommandInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateCommandInvoker) GetBaseInvoker added in v0.1.118

func (i *CreateCommandInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CreateCommandInvoker) Invoke added in v0.0.90

type CreateDeviceAuthorizerInvoker added in v0.1.102

type CreateDeviceAuthorizerInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateDeviceAuthorizerInvoker) GetBaseInvoker added in v0.1.118

func (i *CreateDeviceAuthorizerInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CreateDeviceAuthorizerInvoker) Invoke added in v0.1.102

type CreateDevicePolicyInvoker added in v0.1.102

type CreateDevicePolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateDevicePolicyInvoker) GetBaseInvoker added in v0.1.118

func (i *CreateDevicePolicyInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CreateDevicePolicyInvoker) Invoke added in v0.1.102

type CreateDeviceProxyInvoker added in v0.1.93

type CreateDeviceProxyInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateDeviceProxyInvoker) GetBaseInvoker added in v0.1.118

func (i *CreateDeviceProxyInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CreateDeviceProxyInvoker) Invoke added in v0.1.93

type CreateMessageInvoker added in v0.0.90

type CreateMessageInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateMessageInvoker) GetBaseInvoker added in v0.1.118

func (i *CreateMessageInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CreateMessageInvoker) Invoke added in v0.0.90

type CreateOrDeleteDeviceInGroupInvoker added in v0.0.90

type CreateOrDeleteDeviceInGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateOrDeleteDeviceInGroupInvoker) GetBaseInvoker added in v0.1.118

func (*CreateOrDeleteDeviceInGroupInvoker) Invoke added in v0.0.90

type CreateOtaPackageInvoker added in v0.1.28

type CreateOtaPackageInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateOtaPackageInvoker) GetBaseInvoker added in v0.1.118

func (i *CreateOtaPackageInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CreateOtaPackageInvoker) Invoke added in v0.1.28

type CreateProductInvoker added in v0.0.90

type CreateProductInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateProductInvoker) GetBaseInvoker added in v0.1.118

func (i *CreateProductInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CreateProductInvoker) Invoke added in v0.0.90

type CreateProvisioningTemplateInvoker added in v0.1.102

type CreateProvisioningTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateProvisioningTemplateInvoker) GetBaseInvoker added in v0.1.118

func (*CreateProvisioningTemplateInvoker) Invoke added in v0.1.102

type CreateRoutingBacklogPolicyInvoker added in v0.1.91

type CreateRoutingBacklogPolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateRoutingBacklogPolicyInvoker) GetBaseInvoker added in v0.1.118

func (*CreateRoutingBacklogPolicyInvoker) Invoke added in v0.1.91

type CreateRoutingFlowControlPolicyInvoker added in v0.1.91

type CreateRoutingFlowControlPolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateRoutingFlowControlPolicyInvoker) GetBaseInvoker added in v0.1.118

func (*CreateRoutingFlowControlPolicyInvoker) Invoke added in v0.1.91

type CreateRoutingRuleInvoker added in v0.0.90

type CreateRoutingRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateRoutingRuleInvoker) GetBaseInvoker added in v0.1.118

func (i *CreateRoutingRuleInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CreateRoutingRuleInvoker) Invoke added in v0.0.90

type CreateRuleActionInvoker added in v0.0.90

type CreateRuleActionInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateRuleActionInvoker) GetBaseInvoker added in v0.1.118

func (i *CreateRuleActionInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CreateRuleActionInvoker) Invoke added in v0.0.90

type CreateRuleInvoker added in v0.0.90

type CreateRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateRuleInvoker) GetBaseInvoker added in v0.1.118

func (i *CreateRuleInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CreateRuleInvoker) Invoke added in v0.0.90

type DeleteApplicationInvoker added in v0.0.90

type DeleteApplicationInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteApplicationInvoker) GetBaseInvoker added in v0.1.118

func (i *DeleteApplicationInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteApplicationInvoker) Invoke added in v0.0.90

type DeleteBatchTaskFileInvoker added in v0.0.90

type DeleteBatchTaskFileInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteBatchTaskFileInvoker) GetBaseInvoker added in v0.1.118

func (i *DeleteBatchTaskFileInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteBatchTaskFileInvoker) Invoke added in v0.0.90

type DeleteBatchTaskInvoker added in v0.1.49

type DeleteBatchTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteBatchTaskInvoker) GetBaseInvoker added in v0.1.118

func (i *DeleteBatchTaskInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteBatchTaskInvoker) Invoke added in v0.1.49

type DeleteBridgeInvoker added in v0.1.98

type DeleteBridgeInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteBridgeInvoker) GetBaseInvoker added in v0.1.118

func (i *DeleteBridgeInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteBridgeInvoker) Invoke added in v0.1.98

type DeleteCertificateInvoker added in v0.0.90

type DeleteCertificateInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteCertificateInvoker) GetBaseInvoker added in v0.1.118

func (i *DeleteCertificateInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteCertificateInvoker) Invoke added in v0.0.90

type DeleteDeviceAuthorizerInvoker added in v0.1.102

type DeleteDeviceAuthorizerInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteDeviceAuthorizerInvoker) GetBaseInvoker added in v0.1.118

func (i *DeleteDeviceAuthorizerInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteDeviceAuthorizerInvoker) Invoke added in v0.1.102

type DeleteDeviceGroupInvoker added in v0.0.90

type DeleteDeviceGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteDeviceGroupInvoker) GetBaseInvoker added in v0.1.118

func (i *DeleteDeviceGroupInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteDeviceGroupInvoker) Invoke added in v0.0.90

type DeleteDeviceInvoker added in v0.0.90

type DeleteDeviceInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteDeviceInvoker) GetBaseInvoker added in v0.1.118

func (i *DeleteDeviceInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteDeviceInvoker) Invoke added in v0.0.90

type DeleteDevicePolicyInvoker added in v0.1.102

type DeleteDevicePolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteDevicePolicyInvoker) GetBaseInvoker added in v0.1.118

func (i *DeleteDevicePolicyInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteDevicePolicyInvoker) Invoke added in v0.1.102

type DeleteDeviceProxyInvoker added in v0.1.93

type DeleteDeviceProxyInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteDeviceProxyInvoker) GetBaseInvoker added in v0.1.118

func (i *DeleteDeviceProxyInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteDeviceProxyInvoker) Invoke added in v0.1.93

type DeleteDeviceTunnelInvoker added in v0.1.50

type DeleteDeviceTunnelInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteDeviceTunnelInvoker) GetBaseInvoker added in v0.1.118

func (i *DeleteDeviceTunnelInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteDeviceTunnelInvoker) Invoke added in v0.1.50

type DeleteFunctionsInvoker added in v0.1.121

type DeleteFunctionsInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteFunctionsInvoker) GetBaseInvoker added in v0.1.121

func (i *DeleteFunctionsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteFunctionsInvoker) Invoke added in v0.1.121

type DeleteOtaPackageInvoker added in v0.1.28

type DeleteOtaPackageInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteOtaPackageInvoker) GetBaseInvoker added in v0.1.118

func (i *DeleteOtaPackageInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteOtaPackageInvoker) Invoke added in v0.1.28

type DeleteProductInvoker added in v0.0.90

type DeleteProductInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteProductInvoker) GetBaseInvoker added in v0.1.118

func (i *DeleteProductInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteProductInvoker) Invoke added in v0.0.90

type DeleteProvisioningTemplateInvoker added in v0.1.102

type DeleteProvisioningTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteProvisioningTemplateInvoker) GetBaseInvoker added in v0.1.118

func (*DeleteProvisioningTemplateInvoker) Invoke added in v0.1.102

type DeleteQueueInvoker added in v0.0.90

type DeleteQueueInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteQueueInvoker) GetBaseInvoker added in v0.1.118

func (i *DeleteQueueInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteQueueInvoker) Invoke added in v0.0.90

type DeleteRoutingBacklogPolicyInvoker added in v0.1.91

type DeleteRoutingBacklogPolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteRoutingBacklogPolicyInvoker) GetBaseInvoker added in v0.1.118

func (*DeleteRoutingBacklogPolicyInvoker) Invoke added in v0.1.91

type DeleteRoutingFlowControlPolicyInvoker added in v0.1.91

type DeleteRoutingFlowControlPolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteRoutingFlowControlPolicyInvoker) GetBaseInvoker added in v0.1.118

func (*DeleteRoutingFlowControlPolicyInvoker) Invoke added in v0.1.91

type DeleteRoutingRuleInvoker added in v0.0.90

type DeleteRoutingRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteRoutingRuleInvoker) GetBaseInvoker added in v0.1.118

func (i *DeleteRoutingRuleInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteRoutingRuleInvoker) Invoke added in v0.0.90

type DeleteRuleActionInvoker added in v0.0.90

type DeleteRuleActionInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteRuleActionInvoker) GetBaseInvoker added in v0.1.118

func (i *DeleteRuleActionInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteRuleActionInvoker) Invoke added in v0.0.90

type DeleteRuleInvoker added in v0.0.90

type DeleteRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteRuleInvoker) GetBaseInvoker added in v0.1.118

func (i *DeleteRuleInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteRuleInvoker) Invoke added in v0.0.90

type FreezeDeviceInvoker added in v0.0.90

type FreezeDeviceInvoker struct {
	*invoker.BaseInvoker
}

func (*FreezeDeviceInvoker) GetBaseInvoker added in v0.1.118

func (i *FreezeDeviceInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*FreezeDeviceInvoker) Invoke added in v0.0.90

type IoTDAClient

type IoTDAClient struct {
	HcClient *httpclient.HcHttpClient
}

func NewIoTDAClient

func NewIoTDAClient(hcClient *httpclient.HcHttpClient) *IoTDAClient

func (*IoTDAClient) AddApplication

func (c *IoTDAClient) AddApplication(request *model.AddApplicationRequest) (*model.AddApplicationResponse, error)

AddApplication 创建资源空间

资源空间对应的是物联网平台原有的应用,在物联网平台的含义与应用一致,只是变更了名称。应用服务器可以调用此接口创建资源空间。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) AddApplicationInvoker added in v0.0.90

func (c *IoTDAClient) AddApplicationInvoker(request *model.AddApplicationRequest) *AddApplicationInvoker

AddApplicationInvoker 创建资源空间

func (*IoTDAClient) AddBridge added in v0.1.98

func (c *IoTDAClient) AddBridge(request *model.AddBridgeRequest) (*model.AddBridgeResponse, error)

AddBridge 创建网桥

应用服务器可调用此接口在物联网平台创建一个网桥,仅在创建后的网桥才可以接入物联网平台。 - 一个实例最多支持20个网桥。 - 仅**标准版实例、企业版实例**支持该接口调用,基础版不支持。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) AddBridgeInvoker added in v0.1.98

func (c *IoTDAClient) AddBridgeInvoker(request *model.AddBridgeRequest) *AddBridgeInvoker

AddBridgeInvoker 创建网桥

func (*IoTDAClient) AddCertificate

func (c *IoTDAClient) AddCertificate(request *model.AddCertificateRequest) (*model.AddCertificateResponse, error)

AddCertificate 上传设备CA证书

应用服务器可调用此接口在物联网平台上传设备CA证书

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) AddCertificateInvoker added in v0.0.90

func (c *IoTDAClient) AddCertificateInvoker(request *model.AddCertificateRequest) *AddCertificateInvoker

AddCertificateInvoker 上传设备CA证书

func (*IoTDAClient) AddDevice

func (c *IoTDAClient) AddDevice(request *model.AddDeviceRequest) (*model.AddDeviceResponse, error)

AddDevice 创建设备

应用服务器可调用此接口在物联网平台创建一个设备,仅在创建后设备才可以接入物联网平台。

- 该接口支持使用gateway_id参数指定在父设备下创建一个子设备,并且支持多级子设备,当前最大支持二级子设备。 - 该接口同时还支持对设备进行初始配置,接口会读取创建设备请求参数product_id对应的产品详情,如果产品的属性有定义默认值,则会将该属性默认值写入该设备的设备影子中。 - 用户还可以使用创建设备请求参数shadow字段为设备指定初始配置,指定后将会根据service_id和desired设置的属性值与产品中对应属性的默认值比对,如果不同,则将以shadow字段中设置的属性值为准写入到设备影子中。 - 该接口仅支持创建单个设备,如需批量注册设备,请参见 [[创建批量任务](https://support.huaweicloud.com/api-iothub/iot_06_v5_0045.html)](tag:hws)[[创建批量任务](https://support.huaweicloud.com/intl/zh-cn/api-iothub/iot_06_v5_0045.html)](tag:hws_hk)。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) AddDeviceGroup

func (c *IoTDAClient) AddDeviceGroup(request *model.AddDeviceGroupRequest) (*model.AddDeviceGroupResponse, error)

AddDeviceGroup 添加设备组

应用服务器可调用此接口新建设备组,一个华为云账号下最多可有1,000个设备组,包括父设备组和子设备组。设备组的最大层级关系不超过5层,即群组形成的关系树最大深度不超过5。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) AddDeviceGroupInvoker added in v0.0.90

func (c *IoTDAClient) AddDeviceGroupInvoker(request *model.AddDeviceGroupRequest) *AddDeviceGroupInvoker

AddDeviceGroupInvoker 添加设备组

func (*IoTDAClient) AddDeviceInvoker added in v0.0.90

func (c *IoTDAClient) AddDeviceInvoker(request *model.AddDeviceRequest) *AddDeviceInvoker

AddDeviceInvoker 创建设备

func (*IoTDAClient) AddFunctions added in v0.1.121

func (c *IoTDAClient) AddFunctions(request *model.AddFunctionsRequest) (*model.AddFunctionsResponse, error)

AddFunctions 创建编解码函数

提供创建编解码函数的功能。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) AddFunctionsInvoker added in v0.1.121

func (c *IoTDAClient) AddFunctionsInvoker(request *model.AddFunctionsRequest) *AddFunctionsInvoker

AddFunctionsInvoker 创建编解码函数

func (*IoTDAClient) AddQueue

func (c *IoTDAClient) AddQueue(request *model.AddQueueRequest) (*model.AddQueueResponse, error)

AddQueue 创建AMQP队列

应用服务器可调用此接口在物联网平台创建一个AMQP队列。每个租户只能创建100个队列,若超过规格,则创建失败,若队列名称与已有的队列名称相同,则创建失败。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) AddQueueInvoker added in v0.0.90

func (c *IoTDAClient) AddQueueInvoker(request *model.AddQueueRequest) *AddQueueInvoker

AddQueueInvoker 创建AMQP队列

func (*IoTDAClient) AddTunnel added in v0.1.50

func (c *IoTDAClient) AddTunnel(request *model.AddTunnelRequest) (*model.AddTunnelResponse, error)

AddTunnel 创建设备隧道

用户可以通过该接口创建隧道(WebSocket协议),应用服务器和设备可以通过该隧道进行数据传输。

- 该API接口在基础版不支持。 - 该API调用后平台会向对应的MQTT/MQTTS设备下发隧道地址及密钥,同时给应用服务器也返回隧道地址及密钥,设备可以通过该地址及密钥创建WebSocket协议连接。 - 一个设备无法创建多个隧道。 - 具体应用可见“设备远程登录”功能,请参见[[设备远程登录](https://support.huaweicloud.com/usermanual-iothub/iot_01_00301.html)](tag:hws)[[设备远程登录](https://support.huaweicloud.com/intl/zh-cn/usermanual-iothub/iot_01_00301.html)](tag:hws_hk)。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) AddTunnelInvoker added in v0.1.50

func (c *IoTDAClient) AddTunnelInvoker(request *model.AddTunnelRequest) *AddTunnelInvoker

AddTunnelInvoker 创建设备隧道

func (*IoTDAClient) BatchShowQueue

func (c *IoTDAClient) BatchShowQueue(request *model.BatchShowQueueRequest) (*model.BatchShowQueueResponse, error)

BatchShowQueue 查询AMQP列表

应用服务器可调用此接口查询物联网平台中的AMQP队列信息列表。可通过队列名称作模糊查询,支持分页。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) BatchShowQueueInvoker added in v0.0.90

func (c *IoTDAClient) BatchShowQueueInvoker(request *model.BatchShowQueueRequest) *BatchShowQueueInvoker

BatchShowQueueInvoker 查询AMQP列表

func (*IoTDAClient) BindDevicePolicy added in v0.1.102

BindDevicePolicy 绑定设备策略

应用服务器可调用此接口在物联网平台上为批量设备绑定目标策略,目前支持绑定目标类型为:设备、产品,当目标类型为产品时,该产品下所有设备都会生效。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) BindDevicePolicyInvoker added in v0.1.102

func (c *IoTDAClient) BindDevicePolicyInvoker(request *model.BindDevicePolicyRequest) *BindDevicePolicyInvoker

BindDevicePolicyInvoker 绑定设备策略

func (*IoTDAClient) BroadcastMessage added in v0.1.37

BroadcastMessage 下发广播消息

应用服务器可调用此接口向订阅了指定Topic的所有在线设备发布广播消息。应用将广播消息下发给平台后,平台会先返回应用响应结果,再将消息广播给设备。 注意: - 此接口只适用于使用MQTT协议接入的设备。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) BroadcastMessageInvoker added in v0.1.37

func (c *IoTDAClient) BroadcastMessageInvoker(request *model.BroadcastMessageRequest) *BroadcastMessageInvoker

BroadcastMessageInvoker 下发广播消息

func (*IoTDAClient) ChangeRuleStatus

ChangeRuleStatus 修改规则状态

应用服务器可调用此接口修改物联网平台中指定规则的状态,激活或者去激活规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ChangeRuleStatusInvoker added in v0.0.90

func (c *IoTDAClient) ChangeRuleStatusInvoker(request *model.ChangeRuleStatusRequest) *ChangeRuleStatusInvoker

ChangeRuleStatusInvoker 修改规则状态

func (*IoTDAClient) CheckCertificate

CheckCertificate 验证设备CA证书

应用服务器可调用此接口在物联网平台验证设备的CA证书,目的是为了验证用户持有设备CA证书的私钥

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) CheckCertificateInvoker added in v0.0.90

func (c *IoTDAClient) CheckCertificateInvoker(request *model.CheckCertificateRequest) *CheckCertificateInvoker

CheckCertificateInvoker 验证设备CA证书

func (*IoTDAClient) CloseDeviceTunnel added in v0.1.50

CloseDeviceTunnel 关闭设备隧道

应用服务器可通过该接口关闭某个设备隧道。关闭后可以再次连接。 - 该API接口在基础版不支持。 - 具体应用可见“设备远程登录”功能,请参见[[设备远程登录](https://support.huaweicloud.com/usermanual-iothub/iot_01_00301.html)](tag:hws)[[设备远程登录](https://support.huaweicloud.com/intl/zh-cn/usermanual-iothub/iot_01_00301.html)](tag:hws_hk)。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) CloseDeviceTunnelInvoker added in v0.1.50

func (c *IoTDAClient) CloseDeviceTunnelInvoker(request *model.CloseDeviceTunnelRequest) *CloseDeviceTunnelInvoker

CloseDeviceTunnelInvoker 关闭设备隧道

func (*IoTDAClient) CountAsyncHistoryCommands added in v0.1.121

CountAsyncHistoryCommands 统计设备下的历史命令总数

统计设备下的历史命令总数。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) CountAsyncHistoryCommandsInvoker added in v0.1.121

func (c *IoTDAClient) CountAsyncHistoryCommandsInvoker(request *model.CountAsyncHistoryCommandsRequest) *CountAsyncHistoryCommandsInvoker

CountAsyncHistoryCommandsInvoker 统计设备下的历史命令总数

func (*IoTDAClient) CreateAccessCode

CreateAccessCode 生成接入凭证

接入凭证是用于客户端使用AMQP等协议与平台建链的一个认证凭据。只保留一条记录,如果重复调用只会重置接入凭证,使得之前的失效。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) CreateAccessCodeInvoker added in v0.0.90

func (c *IoTDAClient) CreateAccessCodeInvoker(request *model.CreateAccessCodeRequest) *CreateAccessCodeInvoker

CreateAccessCodeInvoker 生成接入凭证

func (*IoTDAClient) CreateAsyncCommand

CreateAsyncCommand 下发异步设备命令

设备的产品模型中定义了物联网平台可向设备下发的命令,应用服务器可调用此接口向指定设备下发异步命令,以实现对设备的控制。平台负责将命令发送给设备,并将设备执行命令结果异步通知应用服务器。 命令执行结果支持灵活的数据流转,应用服务器通过调用物联网平台的创建规则触发条件(Resource:device.command.status,Event:update)、创建规则动作并激活规则后,当命令状态变更时,物联网平台会根据规则将结果发送到规则指定的服务器,如用户自定义的HTTP服务器,AMQP服务器,以及华为云的其他储存服务器等, 详情参考[[设备命令状态变更通知](https://support.huaweicloud.com/api-iothub/iot_06_v5_01212.html)](tag:hws)[[设备命令状态变更通知](https://support.huaweicloud.com/intl/zh-cn/api-iothub/iot_06_v5_01212.html)](tag:hws_hk)。 注意: - 此接口适用于NB设备异步命令下发,暂不支持其他协议类型设备命令下发。 - 此接口仅支持单个设备异步命令下发,如需多个设备异步命令下发,请参见 [[创建批量任务](https://support.huaweicloud.com/api-iothub/iot_06_v5_0045.html)](tag:hws)[[创建批量任务](https://support.huaweicloud.com/intl/zh-cn/api-iothub/iot_06_v5_0045.html)](tag:hws_hk)。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) CreateAsyncCommandInvoker added in v0.0.90

func (c *IoTDAClient) CreateAsyncCommandInvoker(request *model.CreateAsyncCommandRequest) *CreateAsyncCommandInvoker

CreateAsyncCommandInvoker 下发异步设备命令

func (*IoTDAClient) CreateBatchTask

CreateBatchTask 创建批量任务

应用服务器可调用此接口为创建批量处理任务,对多个设备进行批量操作。当前支持批量软固件升级、批量创建设备、批量删除设备、批量冻结设备、批量解冻设备、批量创建命令、批量创建消息任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) CreateBatchTaskInvoker added in v0.0.90

func (c *IoTDAClient) CreateBatchTaskInvoker(request *model.CreateBatchTaskRequest) *CreateBatchTaskInvoker

CreateBatchTaskInvoker 创建批量任务

func (*IoTDAClient) CreateCommand

func (c *IoTDAClient) CreateCommand(request *model.CreateCommandRequest) (*model.CreateCommandResponse, error)

CreateCommand 下发设备命令

设备的产品模型中定义了物联网平台可向设备下发的命令,应用服务器可调用此接口向指定设备下发命令,以实现对设备的同步控制。平台负责将命令以同步方式发送给设备,并将设备执行命令结果同步返回, 如果设备没有响应,平台会返回给应用服务器超时,平台超时时间是20秒。如果命令下发需要超过20秒,建议采用[[消息下发](https://support.huaweicloud.com/api-iothub/iot_06_v5_0059.html)](tag:hws)[[消息下发](https://support.huaweicloud.com/intl/zh-cn/api-iothub/iot_06_v5_0059.html)](tag:hws_hk)。 注意: - 此接口适用于MQTT设备同步命令下发,暂不支持NB-IoT设备命令下发。 - 此接口仅支持单个设备同步命令下发,如需多个设备同步命令下发,请参见 [[创建批量任务](https://support.huaweicloud.com/api-iothub/iot_06_v5_0045.html)](tag:hws)[[创建批量任务](https://support.huaweicloud.com/intl/zh-cn/api-iothub/iot_06_v5_0045.html)](tag:hws_hk)。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) CreateCommandInvoker added in v0.0.90

func (c *IoTDAClient) CreateCommandInvoker(request *model.CreateCommandRequest) *CreateCommandInvoker

CreateCommandInvoker 下发设备命令

func (*IoTDAClient) CreateDeviceAuthorizer added in v0.1.102

CreateDeviceAuthorizer 创建自定义鉴权

应用服务器可调用此接口在物联网平台创建一个自定义鉴权。自定义鉴权是指用户可以通过函数服务自定义实现鉴权逻辑,以对接入平台的设备进行身份认证。 - 单个实例最大可配置10个自定义鉴权 - 仅标准版实例、企业版实例支持该接口调用,基础版不支持。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) CreateDeviceAuthorizerInvoker added in v0.1.102

func (c *IoTDAClient) CreateDeviceAuthorizerInvoker(request *model.CreateDeviceAuthorizerRequest) *CreateDeviceAuthorizerInvoker

CreateDeviceAuthorizerInvoker 创建自定义鉴权

func (*IoTDAClient) CreateDevicePolicy added in v0.1.102

CreateDevicePolicy 创建设备策略

应用服务器可调用此接口在物联网平台创建一个策略,该策略需要绑定到设备和产品下才能生效。 - 一个实例最多能创建50个设备策略。 - 仅**标准版实例、企业版实例**支持该接口调用,基础版不支持。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) CreateDevicePolicyInvoker added in v0.1.102

func (c *IoTDAClient) CreateDevicePolicyInvoker(request *model.CreateDevicePolicyRequest) *CreateDevicePolicyInvoker

CreateDevicePolicyInvoker 创建设备策略

func (*IoTDAClient) CreateDeviceProxy added in v0.1.93

CreateDeviceProxy 创建设备代理

应用服务器可调用此接口在物联网平台创建一个动态设备代理规则,用于子设备自主选择网关设备上线和上报消息,即代理组下的任意网关下的子设备均可以通过代理组里其他设备上线([[网关更新子设备状态](https://support.huaweicloud.com/api-iothub/iot_06_v5_3022.html)](tag:hws) [[网关更新子设备状态](https://support.huaweicloud.com/intl/zh-cn/api-iothub/iot_06_v5_3022.html)](tag:hws_hk))然后进行数据上报([[网关批量设备属性上报](https://support.huaweicloud.com/api-iothub/iot_06_v5_3006.html)](tag:hws) [[网关更新子设备状态](https://support.huaweicloud.com/intl/zh-cn/api-iothub/iot_06_v5_3006.html)](tag:hws_hk))。 - 单实例最多可以配置10个设备代理 - 单账号调用该接口的 TPS 限制最大为1/S(每秒1次请求数)

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) CreateDeviceProxyInvoker added in v0.1.93

func (c *IoTDAClient) CreateDeviceProxyInvoker(request *model.CreateDeviceProxyRequest) *CreateDeviceProxyInvoker

CreateDeviceProxyInvoker 创建设备代理

func (*IoTDAClient) CreateMessage

func (c *IoTDAClient) CreateMessage(request *model.CreateMessageRequest) (*model.CreateMessageResponse, error)

CreateMessage 下发设备消息

物联网平台可向设备下发消息,应用服务器可调用此接口向指定设备下发消息,以实现对设备的控制。应用将消息下发给平台后,平台返回应用响应结果,平台再将消息发送给设备。平台返回应用响应结果不一定是设备接收结果,建议用户应用通过订阅[[设备消息状态变更通知](https://support.huaweicloud.com/api-iothub/iot_06_v5_01203.html)](tag:hws)[[设备消息状态变更通知](https://support.huaweicloud.com/intl/zh-cn/api-iothub/iot_06_v5_01203.html)](tag:hws_hk),订阅后平台会将设备接收结果推送给订阅的应用。 注意: - 此接口适用于MQTT设备消息下发,暂不支持其他协议接入的设备消息下发。 - 此接口仅支持单个设备消息下发,如需多个设备消息下发,请参见 [[创建批量任务](https://support.huaweicloud.com/api-iothub/iot_06_v5_0045.html)](tag:hws)[[创建批量任务](https://support.huaweicloud.com/intl/zh-cn/api-iothub/iot_06_v5_0045.html)](tag:hws_hk)。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) CreateMessageInvoker added in v0.0.90

func (c *IoTDAClient) CreateMessageInvoker(request *model.CreateMessageRequest) *CreateMessageInvoker

CreateMessageInvoker 下发设备消息

func (*IoTDAClient) CreateOrDeleteDeviceInGroup

CreateOrDeleteDeviceInGroup 管理设备组中的设备

应用服务器可调用此接口管理设备组中的设备。单个设备组内最多添加20,000个设备,一个设备最多可以被添加到10个设备组中。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) CreateOrDeleteDeviceInGroupInvoker added in v0.0.90

func (c *IoTDAClient) CreateOrDeleteDeviceInGroupInvoker(request *model.CreateOrDeleteDeviceInGroupRequest) *CreateOrDeleteDeviceInGroupInvoker

CreateOrDeleteDeviceInGroupInvoker 管理设备组中的设备

func (*IoTDAClient) CreateOtaPackage added in v0.1.28

CreateOtaPackage 创建OTA升级包

用户可调用此接口创建升级包关联OBS对象 使用前提:使用该API需要您授权设备接入服务(IoTDA)的实例访问对象存储服务(OBS)以及 密钥管理服务(KMS Administrator)的权限。在“[[统一身份认证服务(IAM)](https://console.huaweicloud.com/iam)](tag:hws)[[统一身份认证服务(IAM)](https://console-intl.huaweicloud.com/iam)](tag:hws_hk) - 委托”中将委托名称为iotda_admin_trust的委托授权KMS Administrator和OBS OperateAccess

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) CreateOtaPackageInvoker added in v0.1.28

func (c *IoTDAClient) CreateOtaPackageInvoker(request *model.CreateOtaPackageRequest) *CreateOtaPackageInvoker

CreateOtaPackageInvoker 创建OTA升级包

func (*IoTDAClient) CreateProduct

func (c *IoTDAClient) CreateProduct(request *model.CreateProductRequest) (*model.CreateProductResponse, error)

CreateProduct 创建产品

应用服务器可调用此接口创建产品。此接口仅创建了产品,没有创建和安装插件,如果需要对数据进行编解码,还需要在平台开发和安装插件。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) CreateProductInvoker added in v0.0.90

func (c *IoTDAClient) CreateProductInvoker(request *model.CreateProductRequest) *CreateProductInvoker

CreateProductInvoker 创建产品

func (*IoTDAClient) CreateProvisioningTemplate added in v0.1.102

CreateProvisioningTemplate 创建预调配模板

应用服务器可调用此接口在物联网平台创建一个预调配模板。用户的设备未在平台注册时,可以通过预调配模板在设备首次接入物联网平台时将设备信息自动注册到物联网平台。 - 该预调配模板至少需要绑定到一个设备CA证书下才能生效。 - 一个实例最多可有10个预调配模板。 - 仅标准版实例、企业版实例支持该接口调用,基础版不支持。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) CreateProvisioningTemplateInvoker added in v0.1.102

func (c *IoTDAClient) CreateProvisioningTemplateInvoker(request *model.CreateProvisioningTemplateRequest) *CreateProvisioningTemplateInvoker

CreateProvisioningTemplateInvoker 创建预调配模板

func (*IoTDAClient) CreateRoutingBacklogPolicy added in v0.1.91

CreateRoutingBacklogPolicy 新建数据流转积压策略

应用服务器可调用此接口在物联网平台创建数据流转积压策略。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) CreateRoutingBacklogPolicyInvoker added in v0.1.91

func (c *IoTDAClient) CreateRoutingBacklogPolicyInvoker(request *model.CreateRoutingBacklogPolicyRequest) *CreateRoutingBacklogPolicyInvoker

CreateRoutingBacklogPolicyInvoker 新建数据流转积压策略

func (*IoTDAClient) CreateRoutingFlowControlPolicy added in v0.1.91

CreateRoutingFlowControlPolicy 新建数据流转流控策略

应用服务器可调用此接口在物联网平台创建数据流转流控策略。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) CreateRoutingFlowControlPolicyInvoker added in v0.1.91

func (c *IoTDAClient) CreateRoutingFlowControlPolicyInvoker(request *model.CreateRoutingFlowControlPolicyRequest) *CreateRoutingFlowControlPolicyInvoker

CreateRoutingFlowControlPolicyInvoker 新建数据流转流控策略

func (*IoTDAClient) CreateRoutingRule

CreateRoutingRule 创建规则触发条件

应用服务器可调用此接口在物联网平台创建一条规则触发条件。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) CreateRoutingRuleInvoker added in v0.0.90

func (c *IoTDAClient) CreateRoutingRuleInvoker(request *model.CreateRoutingRuleRequest) *CreateRoutingRuleInvoker

CreateRoutingRuleInvoker 创建规则触发条件

func (*IoTDAClient) CreateRule

func (c *IoTDAClient) CreateRule(request *model.CreateRuleRequest) (*model.CreateRuleResponse, error)

CreateRule 创建规则

应用服务器可调用此接口在物联网平台创建一条规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) CreateRuleAction

CreateRuleAction 创建规则动作

应用服务器可调用此接口在物联网平台创建一条规则动作。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) CreateRuleActionInvoker added in v0.0.90

func (c *IoTDAClient) CreateRuleActionInvoker(request *model.CreateRuleActionRequest) *CreateRuleActionInvoker

CreateRuleActionInvoker 创建规则动作

func (*IoTDAClient) CreateRuleInvoker added in v0.0.90

func (c *IoTDAClient) CreateRuleInvoker(request *model.CreateRuleRequest) *CreateRuleInvoker

CreateRuleInvoker 创建规则

func (*IoTDAClient) DeleteApplication

DeleteApplication 删除资源空间

删除指定资源空间。删除资源空间属于高危操作,删除资源空间后,该空间下的产品、设备等资源将不可用,请谨慎操作!

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) DeleteApplicationInvoker added in v0.0.90

func (c *IoTDAClient) DeleteApplicationInvoker(request *model.DeleteApplicationRequest) *DeleteApplicationInvoker

DeleteApplicationInvoker 删除资源空间

func (*IoTDAClient) DeleteBatchTask added in v0.1.49

DeleteBatchTask 删除批量任务

应用服务器可调用此接口删除物联网平台中已经完成(状态为成功,失败,部分成功,已停止)的批量任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) DeleteBatchTaskFile

DeleteBatchTaskFile 删除批量任务文件

应用服务器可调用此接口删除批量任务文件。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) DeleteBatchTaskFileInvoker added in v0.0.90

func (c *IoTDAClient) DeleteBatchTaskFileInvoker(request *model.DeleteBatchTaskFileRequest) *DeleteBatchTaskFileInvoker

DeleteBatchTaskFileInvoker 删除批量任务文件

func (*IoTDAClient) DeleteBatchTaskInvoker added in v0.1.49

func (c *IoTDAClient) DeleteBatchTaskInvoker(request *model.DeleteBatchTaskRequest) *DeleteBatchTaskInvoker

DeleteBatchTaskInvoker 删除批量任务

func (*IoTDAClient) DeleteBridge added in v0.1.98

func (c *IoTDAClient) DeleteBridge(request *model.DeleteBridgeRequest) (*model.DeleteBridgeResponse, error)

DeleteBridge 删除网桥

应用服务器可调用此接口在物联网平台上删除指定网桥。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) DeleteBridgeInvoker added in v0.1.98

func (c *IoTDAClient) DeleteBridgeInvoker(request *model.DeleteBridgeRequest) *DeleteBridgeInvoker

DeleteBridgeInvoker 删除网桥

func (*IoTDAClient) DeleteCertificate

DeleteCertificate 删除设备CA证书

应用服务器可调用此接口在物联网平台删除设备CA证书

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) DeleteCertificateInvoker added in v0.0.90

func (c *IoTDAClient) DeleteCertificateInvoker(request *model.DeleteCertificateRequest) *DeleteCertificateInvoker

DeleteCertificateInvoker 删除设备CA证书

func (*IoTDAClient) DeleteDevice

func (c *IoTDAClient) DeleteDevice(request *model.DeleteDeviceRequest) (*model.DeleteDeviceResponse, error)

DeleteDevice 删除设备

应用服务器可调用此接口在物联网平台上删除指定设备。若设备下连接了非直连设备,则必须把设备下的非直连设备都删除后,才能删除该设备。该接口仅支持删除单个设备,如需批量删除设备,请参见 [[创建批量任务](https://support.huaweicloud.com/api-iothub/iot_06_v5_0045.html)](tag:hws)[[创建批量任务](https://support.huaweicloud.com/intl/zh-cn/api-iothub/iot_06_v5_0045.html)](tag:hws_hk)。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) DeleteDeviceAuthorizer added in v0.1.102

DeleteDeviceAuthorizer 删除自定义鉴权

应用服务器可调用此接口在物联网平台上删除指定自定义鉴权。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) DeleteDeviceAuthorizerInvoker added in v0.1.102

func (c *IoTDAClient) DeleteDeviceAuthorizerInvoker(request *model.DeleteDeviceAuthorizerRequest) *DeleteDeviceAuthorizerInvoker

DeleteDeviceAuthorizerInvoker 删除自定义鉴权

func (*IoTDAClient) DeleteDeviceGroup

DeleteDeviceGroup 删除设备组

应用服务器可调用此接口删除指定设备组,如果该设备组存在子设备组或者该设备组中存在设备,必须先删除子设备组并将设备从该设备组移除,才能删除该设备组。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) DeleteDeviceGroupInvoker added in v0.0.90

func (c *IoTDAClient) DeleteDeviceGroupInvoker(request *model.DeleteDeviceGroupRequest) *DeleteDeviceGroupInvoker

DeleteDeviceGroupInvoker 删除设备组

func (*IoTDAClient) DeleteDeviceInvoker added in v0.0.90

func (c *IoTDAClient) DeleteDeviceInvoker(request *model.DeleteDeviceRequest) *DeleteDeviceInvoker

DeleteDeviceInvoker 删除设备

func (*IoTDAClient) DeleteDevicePolicy added in v0.1.102

DeleteDevicePolicy 删除设备策略

应用服务器可调用此接口在物联网平台上删除指定策略,注意:删除策略同时会解绑该策略下所有绑定对象。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) DeleteDevicePolicyInvoker added in v0.1.102

func (c *IoTDAClient) DeleteDevicePolicyInvoker(request *model.DeleteDevicePolicyRequest) *DeleteDevicePolicyInvoker

DeleteDevicePolicyInvoker 删除设备策略

func (*IoTDAClient) DeleteDeviceProxy added in v0.1.93

DeleteDeviceProxy 删除设备代理

应用服务器可调用此接口在物联网平台上删除指定设备代理。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) DeleteDeviceProxyInvoker added in v0.1.93

func (c *IoTDAClient) DeleteDeviceProxyInvoker(request *model.DeleteDeviceProxyRequest) *DeleteDeviceProxyInvoker

DeleteDeviceProxyInvoker 删除设备代理

func (*IoTDAClient) DeleteDeviceTunnel added in v0.1.50

DeleteDeviceTunnel 删除设备隧道

用户可通过该接口删除某个设备隧道。删除后该通道不存在,无法再次连接。 - 该API接口在基础版不支持。 - 具体应用可见“设备远程登录”功能,请参见[[设备远程登录](https://support.huaweicloud.com/usermanual-iothub/iot_01_00301.html)](tag:hws)[[设备远程登录](https://support.huaweicloud.com/intl/zh-cn/usermanual-iothub/iot_01_00301.html)](tag:hws_hk)。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) DeleteDeviceTunnelInvoker added in v0.1.50

func (c *IoTDAClient) DeleteDeviceTunnelInvoker(request *model.DeleteDeviceTunnelRequest) *DeleteDeviceTunnelInvoker

DeleteDeviceTunnelInvoker 删除设备隧道

func (*IoTDAClient) DeleteFunctions added in v0.1.121

DeleteFunctions 删除编解码函数

提供删除编解码函数的功能。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) DeleteFunctionsInvoker added in v0.1.121

func (c *IoTDAClient) DeleteFunctionsInvoker(request *model.DeleteFunctionsRequest) *DeleteFunctionsInvoker

DeleteFunctionsInvoker 删除编解码函数

func (*IoTDAClient) DeleteOtaPackage added in v0.1.28

DeleteOtaPackage 删除OTA升级包

用户可调用此接口删除关联OBS对象的升级包信息,不会删除OBS上对象 使用前提:使用该API需要您授权设备接入服务(IoTDA)的实例访问对象存储服务(OBS)以及 密钥管理服务(KMS Administrator)的权限。在“[[统一身份认证服务(IAM)](https://console.huaweicloud.com/iam)](tag:hws)[[统一身份认证服务(IAM)](https://console-intl.huaweicloud.com/iam)](tag:hws_hk) - 委托”中将委托名称为iotda_admin_trust的委托授权KMS Administrator和OBS OperateAccess

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) DeleteOtaPackageInvoker added in v0.1.28

func (c *IoTDAClient) DeleteOtaPackageInvoker(request *model.DeleteOtaPackageRequest) *DeleteOtaPackageInvoker

DeleteOtaPackageInvoker 删除OTA升级包

func (*IoTDAClient) DeleteProduct

func (c *IoTDAClient) DeleteProduct(request *model.DeleteProductRequest) (*model.DeleteProductResponse, error)

DeleteProduct 删除产品

应用服务器可调用此接口删除已导入物联网平台的指定产品模型。此接口仅删除了产品,未删除关联的插件,在产品下存在设备时,该产品不允许删除。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) DeleteProductInvoker added in v0.0.90

func (c *IoTDAClient) DeleteProductInvoker(request *model.DeleteProductRequest) *DeleteProductInvoker

DeleteProductInvoker 删除产品

func (*IoTDAClient) DeleteProvisioningTemplate added in v0.1.102

DeleteProvisioningTemplate 删除预调配模板

应用服务器可调用此接口在物联网平台上删除指定预调配模板。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) DeleteProvisioningTemplateInvoker added in v0.1.102

func (c *IoTDAClient) DeleteProvisioningTemplateInvoker(request *model.DeleteProvisioningTemplateRequest) *DeleteProvisioningTemplateInvoker

DeleteProvisioningTemplateInvoker 删除预调配模板

func (*IoTDAClient) DeleteQueue

func (c *IoTDAClient) DeleteQueue(request *model.DeleteQueueRequest) (*model.DeleteQueueResponse, error)

DeleteQueue 删除AMQP队列

应用服务器可调用此接口在物联网平台上删除指定AMQP队列。若当前队列正在使用,则会删除失败。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) DeleteQueueInvoker added in v0.0.90

func (c *IoTDAClient) DeleteQueueInvoker(request *model.DeleteQueueRequest) *DeleteQueueInvoker

DeleteQueueInvoker 删除AMQP队列

func (*IoTDAClient) DeleteRoutingBacklogPolicy added in v0.1.91

DeleteRoutingBacklogPolicy 删除数据流转积压策略

应用服务器可调用此接口在物联网平台删除指定数据流转积压策略。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) DeleteRoutingBacklogPolicyInvoker added in v0.1.91

func (c *IoTDAClient) DeleteRoutingBacklogPolicyInvoker(request *model.DeleteRoutingBacklogPolicyRequest) *DeleteRoutingBacklogPolicyInvoker

DeleteRoutingBacklogPolicyInvoker 删除数据流转积压策略

func (*IoTDAClient) DeleteRoutingFlowControlPolicy added in v0.1.91

DeleteRoutingFlowControlPolicy 删除数据流转流控策略

应用服务器可调用此接口在物联网平台删除指定数据流转流控策略。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) DeleteRoutingFlowControlPolicyInvoker added in v0.1.91

func (c *IoTDAClient) DeleteRoutingFlowControlPolicyInvoker(request *model.DeleteRoutingFlowControlPolicyRequest) *DeleteRoutingFlowControlPolicyInvoker

DeleteRoutingFlowControlPolicyInvoker 删除数据流转流控策略

func (*IoTDAClient) DeleteRoutingRule

DeleteRoutingRule 删除规则触发条件

应用服务器可调用此接口删除物联网平台中的指定规则条件。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) DeleteRoutingRuleInvoker added in v0.0.90

func (c *IoTDAClient) DeleteRoutingRuleInvoker(request *model.DeleteRoutingRuleRequest) *DeleteRoutingRuleInvoker

DeleteRoutingRuleInvoker 删除规则触发条件

func (*IoTDAClient) DeleteRule

func (c *IoTDAClient) DeleteRule(request *model.DeleteRuleRequest) (*model.DeleteRuleResponse, error)

DeleteRule 删除规则

应用服务器可调用此接口删除物联网平台中的指定规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) DeleteRuleAction

DeleteRuleAction 删除规则动作

应用服务器可调用此接口删除物联网平台中的指定规则动作。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) DeleteRuleActionInvoker added in v0.0.90

func (c *IoTDAClient) DeleteRuleActionInvoker(request *model.DeleteRuleActionRequest) *DeleteRuleActionInvoker

DeleteRuleActionInvoker 删除规则动作

func (*IoTDAClient) DeleteRuleInvoker added in v0.0.90

func (c *IoTDAClient) DeleteRuleInvoker(request *model.DeleteRuleRequest) *DeleteRuleInvoker

DeleteRuleInvoker 删除规则

func (*IoTDAClient) FreezeDevice

func (c *IoTDAClient) FreezeDevice(request *model.FreezeDeviceRequest) (*model.FreezeDeviceResponse, error)

FreezeDevice 冻结设备

应用服务器可调用此接口冻结设备,设备冻结后不能再连接上线,可以通过解冻设备接口解除设备冻结。注意,当前仅支持冻结与平台直连的设备。该接口仅支持冻结单个设备,如需批量冻结设备,请参见 [[创建批量任务](https://support.huaweicloud.com/api-iothub/iot_06_v5_0045.html)](tag:hws)[[创建批量任务](https://support.huaweicloud.com/intl/zh-cn/api-iothub/iot_06_v5_0045.html)](tag:hws_hk)。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) FreezeDeviceInvoker added in v0.0.90

func (c *IoTDAClient) FreezeDeviceInvoker(request *model.FreezeDeviceRequest) *FreezeDeviceInvoker

FreezeDeviceInvoker 冻结设备

func (*IoTDAClient) ListAsyncCommands

ListAsyncCommands 查询设备下队列中的命令

查询设备下队列中的命令(处理中的命令),包含PENDING、SENT、DELIVERED三种状态,注意:DELIVERED状态的命令经过系统设定的一段时间(具体以系统配置为准)仍然没有更新,就会从队列中移除,变为历史命令。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ListAsyncCommandsInvoker added in v0.1.121

func (c *IoTDAClient) ListAsyncCommandsInvoker(request *model.ListAsyncCommandsRequest) *ListAsyncCommandsInvoker

ListAsyncCommandsInvoker 查询设备下队列中的命令

func (*IoTDAClient) ListAsyncHistoryCommands

ListAsyncHistoryCommands 查询设备下的历史命令

查询设备下发的历史异步命令,包含EXPIRED、SUCCESSFUL、FAILED、TIMEOUT、DELIVERED五种状态。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ListAsyncHistoryCommandsInvoker added in v0.1.121

func (c *IoTDAClient) ListAsyncHistoryCommandsInvoker(request *model.ListAsyncHistoryCommandsRequest) *ListAsyncHistoryCommandsInvoker

ListAsyncHistoryCommandsInvoker 查询设备下的历史命令

func (*IoTDAClient) ListBatchTaskFiles

ListBatchTaskFiles 查询批量任务文件列表

应用服务器可调用此接口查询批量任务文件列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ListBatchTaskFilesInvoker added in v0.0.90

func (c *IoTDAClient) ListBatchTaskFilesInvoker(request *model.ListBatchTaskFilesRequest) *ListBatchTaskFilesInvoker

ListBatchTaskFilesInvoker 查询批量任务文件列表

func (*IoTDAClient) ListBatchTasks

func (c *IoTDAClient) ListBatchTasks(request *model.ListBatchTasksRequest) (*model.ListBatchTasksResponse, error)

ListBatchTasks 查询批量任务列表

应用服务器可调用此接口查询物联网平台中批量任务列表,每一个任务又包括具体的任务内容、任务状态、任务完成情况统计等。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ListBatchTasksInvoker added in v0.0.90

func (c *IoTDAClient) ListBatchTasksInvoker(request *model.ListBatchTasksRequest) *ListBatchTasksInvoker

ListBatchTasksInvoker 查询批量任务列表

func (*IoTDAClient) ListBridges added in v0.1.98

func (c *IoTDAClient) ListBridges(request *model.ListBridgesRequest) (*model.ListBridgesResponse, error)

ListBridges 查询网桥列表

应用服务器可调用此接口在物联网平台查询网桥列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ListBridgesInvoker added in v0.1.98

func (c *IoTDAClient) ListBridgesInvoker(request *model.ListBridgesRequest) *ListBridgesInvoker

ListBridgesInvoker 查询网桥列表

func (*IoTDAClient) ListCertificates

ListCertificates 获取设备CA证书列表

应用服务器可调用此接口在物联网平台获取设备CA证书列表

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ListCertificatesInvoker added in v0.0.90

func (c *IoTDAClient) ListCertificatesInvoker(request *model.ListCertificatesRequest) *ListCertificatesInvoker

ListCertificatesInvoker 获取设备CA证书列表

func (*IoTDAClient) ListDeviceAuthorizers added in v0.1.102

ListDeviceAuthorizers 查询自定义鉴权列表

应用服务器可调用此接口在物联网平台查询自定义鉴权列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ListDeviceAuthorizersInvoker added in v0.1.102

func (c *IoTDAClient) ListDeviceAuthorizersInvoker(request *model.ListDeviceAuthorizersRequest) *ListDeviceAuthorizersInvoker

ListDeviceAuthorizersInvoker 查询自定义鉴权列表

func (*IoTDAClient) ListDeviceGroups

ListDeviceGroups 查询设备组列表

应用服务器可调用此接口查询物联网平台中的设备组信息列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ListDeviceGroupsByDevice added in v0.1.98

ListDeviceGroupsByDevice 查询指定设备加入的设备组列表

应用服务器可调用此接口查询物联网平台中的某个设备加入的设备组信息列表。仅标准版实例、企业版实例支持该接口调用,基础版不支持。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ListDeviceGroupsByDeviceInvoker added in v0.1.98

func (c *IoTDAClient) ListDeviceGroupsByDeviceInvoker(request *model.ListDeviceGroupsByDeviceRequest) *ListDeviceGroupsByDeviceInvoker

ListDeviceGroupsByDeviceInvoker 查询指定设备加入的设备组列表

func (*IoTDAClient) ListDeviceGroupsInvoker added in v0.0.90

func (c *IoTDAClient) ListDeviceGroupsInvoker(request *model.ListDeviceGroupsRequest) *ListDeviceGroupsInvoker

ListDeviceGroupsInvoker 查询设备组列表

func (*IoTDAClient) ListDeviceMessages

ListDeviceMessages 查询设备消息

应用服务器可调用此接口查询平台下发给设备的消息,平台为每个设备默认最多保存20条消息,超过20条后, 后续的消息会替换下发最早的消息。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ListDeviceMessagesInvoker added in v0.0.90

func (c *IoTDAClient) ListDeviceMessagesInvoker(request *model.ListDeviceMessagesRequest) *ListDeviceMessagesInvoker

ListDeviceMessagesInvoker 查询设备消息

func (*IoTDAClient) ListDevicePolicies added in v0.1.102

ListDevicePolicies 查询设备策略列表

应用服务器可调用此接口在物联网平台查询策略列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ListDevicePoliciesInvoker added in v0.1.102

func (c *IoTDAClient) ListDevicePoliciesInvoker(request *model.ListDevicePoliciesRequest) *ListDevicePoliciesInvoker

ListDevicePoliciesInvoker 查询设备策略列表

func (*IoTDAClient) ListDeviceProxies added in v0.1.93

ListDeviceProxies 查询设备代理列表

应用服务器可调用此接口查询物联网平台中的设备代理列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ListDeviceProxiesInvoker added in v0.1.93

func (c *IoTDAClient) ListDeviceProxiesInvoker(request *model.ListDeviceProxiesRequest) *ListDeviceProxiesInvoker

ListDeviceProxiesInvoker 查询设备代理列表

func (*IoTDAClient) ListDeviceTunnels added in v0.1.50

ListDeviceTunnels 查询设备所有隧道

用户可通过该接口查询某项目下的所有设备隧道,以实现对设备管理。应用服务器可通过此接口向平台查询设备隧道建立的情况。 - 该API接口在基础版不支持。 - 具体应用可见“设备远程登录”功能,请参见[[设备远程登录](https://support.huaweicloud.com/usermanual-iothub/iot_01_00301.html)](tag:hws)[[设备远程登录](https://support.huaweicloud.com/intl/zh-cn/usermanual-iothub/iot_01_00301.html)](tag:hws_hk)。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ListDeviceTunnelsInvoker added in v0.1.50

func (c *IoTDAClient) ListDeviceTunnelsInvoker(request *model.ListDeviceTunnelsRequest) *ListDeviceTunnelsInvoker

ListDeviceTunnelsInvoker 查询设备所有隧道

func (*IoTDAClient) ListDevices

func (c *IoTDAClient) ListDevices(request *model.ListDevicesRequest) (*model.ListDevicesResponse, error)

ListDevices 查询设备列表

应用服务器可调用此接口查询物联网平台中的设备信息列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ListDevicesInvoker added in v0.0.90

func (c *IoTDAClient) ListDevicesInvoker(request *model.ListDevicesRequest) *ListDevicesInvoker

ListDevicesInvoker 查询设备列表

func (*IoTDAClient) ListFunctions added in v0.1.121

func (c *IoTDAClient) ListFunctions(request *model.ListFunctionsRequest) (*model.ListFunctionsResponse, error)

ListFunctions 查询编解码函数

提供查询编解码函数的功能。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ListFunctionsInvoker added in v0.1.121

func (c *IoTDAClient) ListFunctionsInvoker(request *model.ListFunctionsRequest) *ListFunctionsInvoker

ListFunctionsInvoker 查询编解码函数

func (*IoTDAClient) ListOtaPackageInfo added in v0.1.28

ListOtaPackageInfo 查询OTA升级包列表

用户可调用此接口查询关联OBS对象的升级包列表 使用前提:使用该API需要您授权设备接入服务(IoTDA)的实例访问对象存储服务(OBS)以及 密钥管理服务(KMS Administrator)的权限。在“[[统一身份认证服务(IAM)](https://console.huaweicloud.com/iam)](tag:hws)[[统一身份认证服务(IAM)](https://console-intl.huaweicloud.com/iam)](tag:hws_hk) - 委托”中将委托名称为iotda_admin_trust的委托授权KMS Administrator和OBS OperateAccess

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ListOtaPackageInfoInvoker added in v0.1.28

func (c *IoTDAClient) ListOtaPackageInfoInvoker(request *model.ListOtaPackageInfoRequest) *ListOtaPackageInfoInvoker

ListOtaPackageInfoInvoker 查询OTA升级包列表

func (*IoTDAClient) ListProducts

func (c *IoTDAClient) ListProducts(request *model.ListProductsRequest) (*model.ListProductsResponse, error)

ListProducts 查询产品列表

应用服务器可调用此接口查询已导入物联网平台的产品模型信息列表,了解产品模型的概要信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ListProductsInvoker added in v0.0.90

func (c *IoTDAClient) ListProductsInvoker(request *model.ListProductsRequest) *ListProductsInvoker

ListProductsInvoker 查询产品列表

func (*IoTDAClient) ListProperties

func (c *IoTDAClient) ListProperties(request *model.ListPropertiesRequest) (*model.ListPropertiesResponse, error)

ListProperties 查询设备属性

设备的产品模型中定义了物联网平台可向设备下发的属性,应用服务器可调用此接口向设备发送指令用以查询设备的实时属性, 并由设备将属性查询的结果同步返回给应用服务器。 注意:此接口适用于MQTT设备,暂不支持NB-IoT设备。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ListPropertiesInvoker added in v0.0.90

func (c *IoTDAClient) ListPropertiesInvoker(request *model.ListPropertiesRequest) *ListPropertiesInvoker

ListPropertiesInvoker 查询设备属性

func (*IoTDAClient) ListProvisioningTemplates added in v0.1.102

ListProvisioningTemplates 查询预调配模板列表

应用服务器可调用此接口在物联网平台查询预调配模板列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ListProvisioningTemplatesInvoker added in v0.1.102

func (c *IoTDAClient) ListProvisioningTemplatesInvoker(request *model.ListProvisioningTemplatesRequest) *ListProvisioningTemplatesInvoker

ListProvisioningTemplatesInvoker 查询预调配模板列表

func (*IoTDAClient) ListResourcesByTags

ListResourcesByTags 按标签查询资源

应用服务器可调用此接口查询绑定了指定标签的资源。当前支持标签的资源有Device(设备)。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ListResourcesByTagsInvoker added in v0.0.90

func (c *IoTDAClient) ListResourcesByTagsInvoker(request *model.ListResourcesByTagsRequest) *ListResourcesByTagsInvoker

ListResourcesByTagsInvoker 按标签查询资源

func (*IoTDAClient) ListRoutingBacklogPolicy added in v0.1.91

ListRoutingBacklogPolicy 查询数据流转积压策略列表

应用服务器可调用此接口查询在物联网平台设置的数据流转积压策略列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ListRoutingBacklogPolicyInvoker added in v0.1.91

func (c *IoTDAClient) ListRoutingBacklogPolicyInvoker(request *model.ListRoutingBacklogPolicyRequest) *ListRoutingBacklogPolicyInvoker

ListRoutingBacklogPolicyInvoker 查询数据流转积压策略列表

func (*IoTDAClient) ListRoutingFlowControlPolicy added in v0.1.91

ListRoutingFlowControlPolicy 查询数据流转流控策略列表

应用服务器可调用此接口查询在物联网平台设置的数据流转流控策略列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ListRoutingFlowControlPolicyInvoker added in v0.1.91

func (c *IoTDAClient) ListRoutingFlowControlPolicyInvoker(request *model.ListRoutingFlowControlPolicyRequest) *ListRoutingFlowControlPolicyInvoker

ListRoutingFlowControlPolicyInvoker 查询数据流转流控策略列表

func (*IoTDAClient) ListRoutingRules

ListRoutingRules 查询规则条件列表

应用服务器可调用此接口查询物联网平台中设置的规则条件列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ListRoutingRulesInvoker added in v0.0.90

func (c *IoTDAClient) ListRoutingRulesInvoker(request *model.ListRoutingRulesRequest) *ListRoutingRulesInvoker

ListRoutingRulesInvoker 查询规则条件列表

func (*IoTDAClient) ListRuleActions

ListRuleActions 查询规则动作列表

应用服务器可调用此接口查询物联网平台中设置的规则动作列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ListRuleActionsInvoker added in v0.0.90

func (c *IoTDAClient) ListRuleActionsInvoker(request *model.ListRuleActionsRequest) *ListRuleActionsInvoker

ListRuleActionsInvoker 查询规则动作列表

func (*IoTDAClient) ListRules

func (c *IoTDAClient) ListRules(request *model.ListRulesRequest) (*model.ListRulesResponse, error)

ListRules 查询规则列表

应用服务器可调用此接口查询物联网平台中设置的规则列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ListRulesInvoker added in v0.0.90

func (c *IoTDAClient) ListRulesInvoker(request *model.ListRulesRequest) *ListRulesInvoker

ListRulesInvoker 查询规则列表

func (*IoTDAClient) ResetBridgeSecret added in v0.1.98

ResetBridgeSecret 重置网桥密钥

应用服务器可调用此接口在物联网平台上重置网桥密钥。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ResetBridgeSecretInvoker added in v0.1.98

func (c *IoTDAClient) ResetBridgeSecretInvoker(request *model.ResetBridgeSecretRequest) *ResetBridgeSecretInvoker

ResetBridgeSecretInvoker 重置网桥密钥

func (*IoTDAClient) ResetDeviceSecret

ResetDeviceSecret 重置设备密钥

应用服务器可调用此接口重置设备密钥,携带指定密钥时平台将设备密钥重置为指定的密钥,不携带密钥时平台将自动生成一个新的随机密钥返回。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ResetDeviceSecretInvoker added in v0.0.90

func (c *IoTDAClient) ResetDeviceSecretInvoker(request *model.ResetDeviceSecretRequest) *ResetDeviceSecretInvoker

ResetDeviceSecretInvoker 重置设备密钥

func (*IoTDAClient) ResetFingerprint added in v0.0.81

ResetFingerprint 重置设备指纹

应用服务器可调用此接口重置设备指纹。携带指定设备指纹时将之重置为指定值;不携带时将之置空,后续设备第一次接入时,该设备指纹的值将设置为第一次接入时的证书指纹。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ResetFingerprintInvoker added in v0.0.90

func (c *IoTDAClient) ResetFingerprintInvoker(request *model.ResetFingerprintRequest) *ResetFingerprintInvoker

ResetFingerprintInvoker 重置设备指纹

func (*IoTDAClient) RetryBatchTask added in v0.1.43

func (c *IoTDAClient) RetryBatchTask(request *model.RetryBatchTaskRequest) (*model.RetryBatchTaskResponse, error)

RetryBatchTask 重试批量任务

应用服务器可调用此接口重试批量任务,目前只支持task_type为firmwareUpgrade,softwareUpgrade。如果task_id对应任务已经成功、停止、正在停止、等待中或初始化中,则不可以调用该接口。如果请求Body为{},则调用该接口后会重新执行所有状态为失败、失败待重试和已停止的子任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) RetryBatchTaskInvoker added in v0.1.43

func (c *IoTDAClient) RetryBatchTaskInvoker(request *model.RetryBatchTaskRequest) *RetryBatchTaskInvoker

RetryBatchTaskInvoker 重试批量任务

func (*IoTDAClient) SearchDevices added in v0.1.18

func (c *IoTDAClient) SearchDevices(request *model.SearchDevicesRequest) (*model.SearchDevicesResponse, error)

SearchDevices 灵活搜索设备列表

#### 接口说明

应用服务器使用SQL语句调用该接口,灵活的搜索所需要的设备资源列表

#### 限制

- 仅**标准版实例、企业版实例**支持该接口调用,基础版不支持。 - 单账号调用该接口的 TPS 限制最大为1/S(每秒1次请求数)

#### 类SQL语法使用说明

类SQL语句有select、from、where(可选)、order by(可选)、limit子句(可选)组成,长度限制为400个字符。子句里的内容大小写敏感,SQL语句的关键字大小写不敏感。

示例:

``` select * from device where device_id = 'as********' limit 0,5 ```

##### SELECT子句

``` select [field]/[count(*)/count(1)] from device ```

其中field为需要获取的字段,请参考响应参数字段名称,也可填*,获取所有字段。

如果需要统计搜索的设备个数,请填count(*)或者count(1).

##### FROM子句

``` from device ```

from后为要查询的资源名,当前支持\"device\"

##### WHERE子句(可选)

``` WHERE [condition1] AND [condition2] ```

最多支持5个condition,不支持嵌套;支持的检索字段请参见下面的**搜索条件字段说明**和**支持的运算符**章节

连接词支持AND、OR,优先级参考标准SQL语法,默认AND优先级高于OR。

##### LIMIT子句(可选)

``` limit [offset,] rows ```

offset标识搜索的偏移量,rows标识返回搜索结果的最大行数,例如:

- limit n ;示例(select * from device limit 10)

	最大返回n条结果数据

  - limit m,n; 示例(select * from device limit 20,10)
    搜索偏移量为m,最大返回n条结果数据

###### 限制

offset 最大 500, rows最大50,如果不填写limit子句,默认为limit 10

##### ORDER BY子句(可选)

用于实现自定义排序,当前支持自定义排序的字段为:\"marker\"。

``` order by marker [asc]/[desc] ```

子句不填写时默认逻辑为随机排序

#### 搜索条件字段说明

| 字段名 | 类型 | 说明 | 取值范围 | | :---------- | :----- | :--------------- | :----------------------------------------------------------- | | app_id | string | 资源空间ID | 长度不超过36,只允许字母、数字、下划线(_)、连接符(-)的组合。 | | device_id | string | 设备ID | 长度不超过128,只允许字母、数字、下划线(_)、连接符(-)的组合。 | | gateway_id | string | 网关ID | 长度不超过128,只允许字母、数字、下划线(_)、连接符(-)的组合。 | | product_id | string | 设备关联的产品ID | 长度不超过36,只允许字母、数字、下划线(_)、连接符(-)的组合。 | | device_name | string | 设备名称 | 长度不超过256,只允许中文、字母、数字、以及_?'#().,&%@!-等字符的组合符。 | | node_id | string | 设备标识码 | 长度不超过64,只允许字母、数字、下划线(_)、连接符(-)的组合 | | status | string | 设备的状态 | ONLINE(在线)、OFFLINE(离线)、ABNORMAL(异常)、INACTIVE(未激活)、FROZEN(冻结) | | node_type | string | 设备节点类型 | GATEWAY(直连设备或网关)、ENDPOINT(非直连设备) | | tag_key | string | 标签键 | 长度不超过64,只允许中文、字母、数字、以及_.-等字符的组合。 | | tag_value | string | 标签值 | 长度不超过128,只允许中文、字母、数字、以及_.-等字符的组合。 | | sw_version | string | 软件版本 | 长度不超过64,只允许字母、数字、下划线(_)、连接符(-)、英文点(.)的组合。 | | fw_version | string | 固件版本 | 长度不超过64,只允许字母、数字、下划线(_)、连接符(-)、英文点(.)的组合。 | | group_id | string | 群组Id | 长度不超过36,十六进制字符串和连接符(-)的组合 | | create_time | string | 设备注册时间 | 格式:yyyy-MM-dd'T'HH:mm:ss.SSS'Z',如:2015-06-06T12:10:10.000Z | | marker | string | 结果记录ID | 长度为24的十六进制字符串,如ffffffffffffffffffffffff |

#### 支持的运算符

| 运算符 | 支持的字段 | | ------- | ---------------------------------------- | | = | 所有 | | != | 所有 | | > | create_time、marker | | < | create_time、marker | | like | device_name、node_id、tag_key、tag_value | | in | 除tag_key、tag_value以外字段 | | not in | 除tag_key、tag_value以外字段 |

#### SQL 限制

- like: 只支持前缀匹配,不支持后缀匹配或者通配符匹配。前缀匹配不得少于4个字符,且不能包含任何特殊字符(只允许中文、字母、数字、下划线(_)、连接符(-)). 前缀后必须跟上\"%\"结尾。 - 不支持除了count(*)/count(1)以外的其他任何函数。 - 不支持其他SQL用法,如嵌套SQL、union、join、别名(Alias)等用法 - SQL长度限制为400个字符,单个请求条件最大支持5个。 - 不支持\"null\"和空字符串等条件值匹配

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) SearchDevicesInvoker added in v0.1.18

func (c *IoTDAClient) SearchDevicesInvoker(request *model.SearchDevicesRequest) *SearchDevicesInvoker

SearchDevicesInvoker 灵活搜索设备列表

func (*IoTDAClient) ShowApplication

ShowApplication 查询资源空间

资源空间对应的是物联网平台原有的应用,在物联网平台的含义与应用一致,只是变更了名称。应用服务器可以调用此接口查询指定资源空间详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ShowApplicationInvoker added in v0.0.90

func (c *IoTDAClient) ShowApplicationInvoker(request *model.ShowApplicationRequest) *ShowApplicationInvoker

ShowApplicationInvoker 查询资源空间

func (*IoTDAClient) ShowApplications

ShowApplications 查询资源空间列表

资源空间对应的是物联网平台原有的应用,在物联网平台的含义与应用一致,只是变更了名称。应用服务器可以调用此接口查询资源空间列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ShowApplicationsInvoker added in v0.0.90

func (c *IoTDAClient) ShowApplicationsInvoker(request *model.ShowApplicationsRequest) *ShowApplicationsInvoker

ShowApplicationsInvoker 查询资源空间列表

func (*IoTDAClient) ShowAsyncDeviceCommand

ShowAsyncDeviceCommand 查询指定id的命令

物联网平台可查询指定id的命令。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ShowAsyncDeviceCommandInvoker added in v0.0.90

func (c *IoTDAClient) ShowAsyncDeviceCommandInvoker(request *model.ShowAsyncDeviceCommandRequest) *ShowAsyncDeviceCommandInvoker

ShowAsyncDeviceCommandInvoker 查询指定id的命令

func (*IoTDAClient) ShowBatchTask

func (c *IoTDAClient) ShowBatchTask(request *model.ShowBatchTaskRequest) (*model.ShowBatchTaskResponse, error)

ShowBatchTask 查询批量任务

应用服务器可调用此接口查询物联网平台中指定批量任务的信息,包括任务内容、任务状态、任务完成情况统计以及子任务列表等。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ShowBatchTaskInvoker added in v0.0.90

func (c *IoTDAClient) ShowBatchTaskInvoker(request *model.ShowBatchTaskRequest) *ShowBatchTaskInvoker

ShowBatchTaskInvoker 查询批量任务

func (*IoTDAClient) ShowDevice

func (c *IoTDAClient) ShowDevice(request *model.ShowDeviceRequest) (*model.ShowDeviceResponse, error)

ShowDevice 查询设备

应用服务器可调用此接口查询物联网平台中指定设备的详细信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ShowDeviceAuthorizer added in v0.1.102

ShowDeviceAuthorizer 查询自定义鉴权详情

应用服务器可调用此接口在物联网平台查询指定自定义鉴权ID的详细信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ShowDeviceAuthorizerInvoker added in v0.1.102

func (c *IoTDAClient) ShowDeviceAuthorizerInvoker(request *model.ShowDeviceAuthorizerRequest) *ShowDeviceAuthorizerInvoker

ShowDeviceAuthorizerInvoker 查询自定义鉴权详情

func (*IoTDAClient) ShowDeviceGroup

ShowDeviceGroup 查询设备组

应用服务器可调用此接口查询指定设备组详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ShowDeviceGroupInvoker added in v0.0.90

func (c *IoTDAClient) ShowDeviceGroupInvoker(request *model.ShowDeviceGroupRequest) *ShowDeviceGroupInvoker

ShowDeviceGroupInvoker 查询设备组

func (*IoTDAClient) ShowDeviceInvoker added in v0.0.90

func (c *IoTDAClient) ShowDeviceInvoker(request *model.ShowDeviceRequest) *ShowDeviceInvoker

ShowDeviceInvoker 查询设备

func (*IoTDAClient) ShowDeviceMessage

ShowDeviceMessage 查询指定消息id的消息

应用服务器可调用此接口查询平台下发给设备的指定消息id的消息。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ShowDeviceMessageInvoker added in v0.0.90

func (c *IoTDAClient) ShowDeviceMessageInvoker(request *model.ShowDeviceMessageRequest) *ShowDeviceMessageInvoker

ShowDeviceMessageInvoker 查询指定消息id的消息

func (*IoTDAClient) ShowDevicePolicy added in v0.1.102

ShowDevicePolicy 查询设备策略详情

应用服务器可调用此接口在物联网平台查询指定策略ID的详细信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ShowDevicePolicyInvoker added in v0.1.102

func (c *IoTDAClient) ShowDevicePolicyInvoker(request *model.ShowDevicePolicyRequest) *ShowDevicePolicyInvoker

ShowDevicePolicyInvoker 查询设备策略详情

func (*IoTDAClient) ShowDeviceProxy added in v0.1.93

ShowDeviceProxy 查询设备代理详情

应用服务器可调用此接口查询物联网平台中指定设备代理的详细信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ShowDeviceProxyInvoker added in v0.1.93

func (c *IoTDAClient) ShowDeviceProxyInvoker(request *model.ShowDeviceProxyRequest) *ShowDeviceProxyInvoker

ShowDeviceProxyInvoker 查询设备代理详情

func (*IoTDAClient) ShowDeviceShadow

ShowDeviceShadow 查询设备影子数据

应用服务器可调用此接口查询指定设备的设备影子信息,包括对设备的期望属性信息(desired区)和设备最新上报的属性信息(reported区)。

设备影子介绍: 设备影子是一个用于存储和检索设备当前状态信息的JSON文档。 - 每个设备有且只有一个设备影子,由设备ID唯一标识 - 设备影子用于存储设备上报的(状态)属性和应用程序期望的设备(状态)属性 - 无论该设备是否在线,都可以通过该影子获取和设置设备的属性 - 设备上线或者设备上报属性时,如果desired区和reported区存在差异,则将差异部分下发给设备,配置的预期属性需在产品模型中定义且method具有可写属性“W”才可下发

限制: 设备影子JSON文档中的key不允许特殊字符:点(.)、dollar符号($)、空char(十六进制的ASCII码为00)。如果包含了以上特殊字符则无法正常刷新影子文档。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ShowDeviceShadowInvoker added in v0.0.90

func (c *IoTDAClient) ShowDeviceShadowInvoker(request *model.ShowDeviceShadowRequest) *ShowDeviceShadowInvoker

ShowDeviceShadowInvoker 查询设备影子数据

func (*IoTDAClient) ShowDeviceTunnel added in v0.1.50

ShowDeviceTunnel 查询设备隧道

用户可通过该接口查询某项目中的某个设备隧道,查看该设备隧道的信息与连接情况。应用服务器可调用此接口向平台查询设备隧道建立情况。 - 该API接口在基础版不支持。 - 具体应用可见“设备远程登录”功能,请参见[[设备远程登录](https://support.huaweicloud.com/usermanual-iothub/iot_01_00301.html)](tag:hws)[[设备远程登录](https://support.huaweicloud.com/intl/zh-cn/usermanual-iothub/iot_01_00301.html)](tag:hws_hk)。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ShowDeviceTunnelInvoker added in v0.1.50

func (c *IoTDAClient) ShowDeviceTunnelInvoker(request *model.ShowDeviceTunnelRequest) *ShowDeviceTunnelInvoker

ShowDeviceTunnelInvoker 查询设备隧道

func (*IoTDAClient) ShowDevicesInGroup

ShowDevicesInGroup 查询设备组设备列表

应用服务器可调用此接口查询指定设备组下的设备列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ShowDevicesInGroupInvoker added in v0.0.90

func (c *IoTDAClient) ShowDevicesInGroupInvoker(request *model.ShowDevicesInGroupRequest) *ShowDevicesInGroupInvoker

ShowDevicesInGroupInvoker 查询设备组设备列表

func (*IoTDAClient) ShowOtaPackage added in v0.1.28

func (c *IoTDAClient) ShowOtaPackage(request *model.ShowOtaPackageRequest) (*model.ShowOtaPackageResponse, error)

ShowOtaPackage 获取OTA升级包详情

用户可调用此接口查询关联OBS对象的升级包详情 使用前提:使用该API需要您授权设备接入服务(IoTDA)的实例访问对象存储服务(OBS)以及 密钥管理服务(KMS Administrator)的权限。在“[[统一身份认证服务(IAM)](https://console.huaweicloud.com/iam)](tag:hws)[[统一身份认证服务(IAM)](https://console-intl.huaweicloud.com/iam)](tag:hws_hk) - 委托”中将委托名称为iotda_admin_trust的委托授权KMS Administrator和OBS OperateAccess

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ShowOtaPackageInvoker added in v0.1.28

func (c *IoTDAClient) ShowOtaPackageInvoker(request *model.ShowOtaPackageRequest) *ShowOtaPackageInvoker

ShowOtaPackageInvoker 获取OTA升级包详情

func (*IoTDAClient) ShowProduct

func (c *IoTDAClient) ShowProduct(request *model.ShowProductRequest) (*model.ShowProductResponse, error)

ShowProduct 查询产品

应用服务器可调用此接口查询已导入物联网平台的指定产品模型详细信息,包括产品模型的服务、属性、命令等。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ShowProductInvoker added in v0.0.90

func (c *IoTDAClient) ShowProductInvoker(request *model.ShowProductRequest) *ShowProductInvoker

ShowProductInvoker 查询产品

func (*IoTDAClient) ShowProvisioningTemplate added in v0.1.102

ShowProvisioningTemplate 查询预调配模板详情

应用服务器可调用此接口在物联网平台查询指定预调配模板ID的详细信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ShowProvisioningTemplateInvoker added in v0.1.102

func (c *IoTDAClient) ShowProvisioningTemplateInvoker(request *model.ShowProvisioningTemplateRequest) *ShowProvisioningTemplateInvoker

ShowProvisioningTemplateInvoker 查询预调配模板详情

func (*IoTDAClient) ShowQueue

func (c *IoTDAClient) ShowQueue(request *model.ShowQueueRequest) (*model.ShowQueueResponse, error)

ShowQueue 查询单个AMQP队列

应用服务器可调用此接口查询物联网平台中指定队列的详细信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ShowQueueInvoker added in v0.0.90

func (c *IoTDAClient) ShowQueueInvoker(request *model.ShowQueueRequest) *ShowQueueInvoker

ShowQueueInvoker 查询单个AMQP队列

func (*IoTDAClient) ShowRoutingBacklogPolicy added in v0.1.91

ShowRoutingBacklogPolicy 查询数据流转积压策略

应用服务器可调用此接口在物联网平台查询指定数据流转积压策略。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ShowRoutingBacklogPolicyInvoker added in v0.1.91

func (c *IoTDAClient) ShowRoutingBacklogPolicyInvoker(request *model.ShowRoutingBacklogPolicyRequest) *ShowRoutingBacklogPolicyInvoker

ShowRoutingBacklogPolicyInvoker 查询数据流转积压策略

func (*IoTDAClient) ShowRoutingFlowControlPolicy added in v0.1.91

ShowRoutingFlowControlPolicy 查询数据流转流控策略

应用服务器可调用此接口在物联网平台查询指定数据流转流控策略。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ShowRoutingFlowControlPolicyInvoker added in v0.1.91

func (c *IoTDAClient) ShowRoutingFlowControlPolicyInvoker(request *model.ShowRoutingFlowControlPolicyRequest) *ShowRoutingFlowControlPolicyInvoker

ShowRoutingFlowControlPolicyInvoker 查询数据流转流控策略

func (*IoTDAClient) ShowRoutingRule

ShowRoutingRule 查询规则条件

应用服务器可调用此接口查询物联网平台中指定规则条件的配置信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ShowRoutingRuleInvoker added in v0.0.90

func (c *IoTDAClient) ShowRoutingRuleInvoker(request *model.ShowRoutingRuleRequest) *ShowRoutingRuleInvoker

ShowRoutingRuleInvoker 查询规则条件

func (*IoTDAClient) ShowRule

func (c *IoTDAClient) ShowRule(request *model.ShowRuleRequest) (*model.ShowRuleResponse, error)

ShowRule 查询规则

应用服务器可调用此接口查询物联网平台中指定规则的配置信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ShowRuleAction

func (c *IoTDAClient) ShowRuleAction(request *model.ShowRuleActionRequest) (*model.ShowRuleActionResponse, error)

ShowRuleAction 查询规则动作

应用服务器可调用此接口查询物联网平台中指定规则动作的配置信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ShowRuleActionInvoker added in v0.0.90

func (c *IoTDAClient) ShowRuleActionInvoker(request *model.ShowRuleActionRequest) *ShowRuleActionInvoker

ShowRuleActionInvoker 查询规则动作

func (*IoTDAClient) ShowRuleInvoker added in v0.0.90

func (c *IoTDAClient) ShowRuleInvoker(request *model.ShowRuleRequest) *ShowRuleInvoker

ShowRuleInvoker 查询规则

func (*IoTDAClient) ShowTargetsInDevicePolicy added in v0.1.102

ShowTargetsInDevicePolicy 查询设备策略绑定的目标列表

应用服务器可调用此接口在物联网平台上查询指定策略ID下绑定的目标列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) ShowTargetsInDevicePolicyInvoker added in v0.1.102

func (c *IoTDAClient) ShowTargetsInDevicePolicyInvoker(request *model.ShowTargetsInDevicePolicyRequest) *ShowTargetsInDevicePolicyInvoker

ShowTargetsInDevicePolicyInvoker 查询设备策略绑定的目标列表

func (*IoTDAClient) StopBatchTask added in v0.1.43

func (c *IoTDAClient) StopBatchTask(request *model.StopBatchTaskRequest) (*model.StopBatchTaskResponse, error)

StopBatchTask 停止批量任务

应用服务器可调用此接口停止批量任务,目前只支持task_type为firmwareUpgrade,softwareUpgrade。如果task_id对应任务已经完成(成功、失败、部分成功,已经停止)或正在停止中,则不可以调用该接口。如果请求Body为{},则调用该接口后会停止所有正在执行中、等待中和失败待重试状态的子任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) StopBatchTaskInvoker added in v0.1.43

func (c *IoTDAClient) StopBatchTaskInvoker(request *model.StopBatchTaskRequest) *StopBatchTaskInvoker

StopBatchTaskInvoker 停止批量任务

func (*IoTDAClient) TagDevice

func (c *IoTDAClient) TagDevice(request *model.TagDeviceRequest) (*model.TagDeviceResponse, error)

TagDevice 绑定标签

应用服务器可调用此接口为指定资源绑定标签。当前支持标签的资源有Device(设备)。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) TagDeviceInvoker added in v0.0.90

func (c *IoTDAClient) TagDeviceInvoker(request *model.TagDeviceRequest) *TagDeviceInvoker

TagDeviceInvoker 绑定标签

func (*IoTDAClient) UnbindDevicePolicy added in v0.1.102

UnbindDevicePolicy 解绑设备策略

应用服务器可调用此接口在物联网平台上解除指定策略下绑定的目标对象。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) UnbindDevicePolicyInvoker added in v0.1.102

func (c *IoTDAClient) UnbindDevicePolicyInvoker(request *model.UnbindDevicePolicyRequest) *UnbindDevicePolicyInvoker

UnbindDevicePolicyInvoker 解绑设备策略

func (*IoTDAClient) UnfreezeDevice

func (c *IoTDAClient) UnfreezeDevice(request *model.UnfreezeDeviceRequest) (*model.UnfreezeDeviceResponse, error)

UnfreezeDevice 解冻设备

应用服务器可调用此接口解冻设备,解除冻结后,设备可以连接上线。该接口仅支持解冻单个设备,如需批量解冻设备,请参见 [[创建批量任务](https://support.huaweicloud.com/api-iothub/iot_06_v5_0045.html)](tag:hws)[[创建批量任务](https://support.huaweicloud.com/intl/zh-cn/api-iothub/iot_06_v5_0045.html)](tag:hws_hk)。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) UnfreezeDeviceInvoker added in v0.0.90

func (c *IoTDAClient) UnfreezeDeviceInvoker(request *model.UnfreezeDeviceRequest) *UnfreezeDeviceInvoker

UnfreezeDeviceInvoker 解冻设备

func (*IoTDAClient) UntagDevice

func (c *IoTDAClient) UntagDevice(request *model.UntagDeviceRequest) (*model.UntagDeviceResponse, error)

UntagDevice 解绑标签

应用服务器可调用此接口为指定资源解绑标签。当前支持标签的资源有Device(设备)。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) UntagDeviceInvoker added in v0.0.90

func (c *IoTDAClient) UntagDeviceInvoker(request *model.UntagDeviceRequest) *UntagDeviceInvoker

UntagDeviceInvoker 解绑标签

func (*IoTDAClient) UpdateApplication added in v0.1.88

UpdateApplication 更新资源空间

应用服务器可以调用此接口更新资源空间的名称

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) UpdateApplicationInvoker added in v0.1.88

func (c *IoTDAClient) UpdateApplicationInvoker(request *model.UpdateApplicationRequest) *UpdateApplicationInvoker

UpdateApplicationInvoker 更新资源空间

func (*IoTDAClient) UpdateCertificate added in v0.1.98

UpdateCertificate 更新CA证书

应用服务器可调用此接口在物联网平台上更新CA证书。仅标准版实例、企业版实例支持该接口调用,基础版不支持。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) UpdateCertificateInvoker added in v0.1.98

func (c *IoTDAClient) UpdateCertificateInvoker(request *model.UpdateCertificateRequest) *UpdateCertificateInvoker

UpdateCertificateInvoker 更新CA证书

func (*IoTDAClient) UpdateDevice

func (c *IoTDAClient) UpdateDevice(request *model.UpdateDeviceRequest) (*model.UpdateDeviceResponse, error)

UpdateDevice 修改设备

应用服务器可调用此接口修改物联网平台中指定设备的基本信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) UpdateDeviceAuthorizer added in v0.1.102

UpdateDeviceAuthorizer 更新指定id的自定义鉴权

应用服务器可调用此接口在物联网平台更新指定id的自定义鉴权。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) UpdateDeviceAuthorizerInvoker added in v0.1.102

func (c *IoTDAClient) UpdateDeviceAuthorizerInvoker(request *model.UpdateDeviceAuthorizerRequest) *UpdateDeviceAuthorizerInvoker

UpdateDeviceAuthorizerInvoker 更新指定id的自定义鉴权

func (*IoTDAClient) UpdateDeviceGroup

UpdateDeviceGroup 修改设备组

应用服务器可调用此接口修改物联网平台中指定设备组。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) UpdateDeviceGroupInvoker added in v0.0.90

func (c *IoTDAClient) UpdateDeviceGroupInvoker(request *model.UpdateDeviceGroupRequest) *UpdateDeviceGroupInvoker

UpdateDeviceGroupInvoker 修改设备组

func (*IoTDAClient) UpdateDeviceInvoker added in v0.0.90

func (c *IoTDAClient) UpdateDeviceInvoker(request *model.UpdateDeviceRequest) *UpdateDeviceInvoker

UpdateDeviceInvoker 修改设备

func (*IoTDAClient) UpdateDevicePolicy added in v0.1.102

UpdateDevicePolicy 更新设备策略信息

应用服务器可调用此接口在物联网平台更新策略。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) UpdateDevicePolicyInvoker added in v0.1.102

func (c *IoTDAClient) UpdateDevicePolicyInvoker(request *model.UpdateDevicePolicyRequest) *UpdateDevicePolicyInvoker

UpdateDevicePolicyInvoker 更新设备策略信息

func (*IoTDAClient) UpdateDeviceProxy added in v0.1.93

UpdateDeviceProxy 修改设备代理

应用服务器可调用此接口修改物联网平台中指定设备代理的基本信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) UpdateDeviceProxyInvoker added in v0.1.93

func (c *IoTDAClient) UpdateDeviceProxyInvoker(request *model.UpdateDeviceProxyRequest) *UpdateDeviceProxyInvoker

UpdateDeviceProxyInvoker 修改设备代理

func (*IoTDAClient) UpdateDeviceShadowDesiredData

UpdateDeviceShadowDesiredData 配置设备影子预期数据

应用服务器可调用此接口配置设备影子的预期属性(desired区),当设备上线或者设备上报属性时把属性下发给设备。

设备影子介绍: 设备影子是一个用于存储和检索设备当前状态信息的JSON文档。 - 每个设备有且只有一个设备影子,由设备ID唯一标识 - 设备影子用于存储设备上报的(状态)属性和应用程序期望的设备(状态)属性 - 无论该设备是否在线,都可以通过该影子获取和设置设备的属性 - 设备上线或者设备上报属性时,如果desired区和reported区存在差异,则将差异部分下发给设备,配置的预期属性需在产品模型中定义且method具有可写属性“W”才可下发 - 该接口仅支持配置单个设备的设备影子的预期数据,如需多个设备的设备影子配置,请参见 [[创建批量任务](https://support.huaweicloud.com/api-iothub/iot_06_v5_0045.html)](tag:hws)[[创建批量任务](https://support.huaweicloud.com/intl/zh-cn/api-iothub/iot_06_v5_0045.html)](tag:hws_hk)。

限制: 设备影子JSON文档中的key不允许特殊字符:点(.)、dollar符号($)、空char(十六进制的ASCII码为00)。如果包含了以上特殊字符则无法正常刷新影子文档。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) UpdateDeviceShadowDesiredDataInvoker added in v0.0.90

func (c *IoTDAClient) UpdateDeviceShadowDesiredDataInvoker(request *model.UpdateDeviceShadowDesiredDataRequest) *UpdateDeviceShadowDesiredDataInvoker

UpdateDeviceShadowDesiredDataInvoker 配置设备影子预期数据

func (*IoTDAClient) UpdateProduct

func (c *IoTDAClient) UpdateProduct(request *model.UpdateProductRequest) (*model.UpdateProductResponse, error)

UpdateProduct 修改产品

应用服务器可调用此接口修改已导入物联网平台的指定产品模型,包括产品模型的服务、属性、命令等。此接口仅修改了产品,未修改和安装插件,如果修改了产品中的service定义,且在平台中有对应的插件,请修改并重新安装插件。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) UpdateProductInvoker added in v0.0.90

func (c *IoTDAClient) UpdateProductInvoker(request *model.UpdateProductRequest) *UpdateProductInvoker

UpdateProductInvoker 修改产品

func (*IoTDAClient) UpdateProperties

UpdateProperties 修改设备属性

设备的产品模型中定义了物联网平台可向设备下发的属性,应用服务器可调用此接口向指定设备下发属性。平台负责将属性以同步方式发送给设备,并将设备执行属性结果同步返回。 注意:此接口适用于MQTT设备,暂不支持NB-IoT设备。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) UpdatePropertiesInvoker added in v0.0.90

func (c *IoTDAClient) UpdatePropertiesInvoker(request *model.UpdatePropertiesRequest) *UpdatePropertiesInvoker

UpdatePropertiesInvoker 修改设备属性

func (*IoTDAClient) UpdateProvisioningTemplate added in v0.1.102

UpdateProvisioningTemplate 更新指定id的预调配模板信息

应用服务器可调用此接口在物联网平台更新指定id的预调配模板。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) UpdateProvisioningTemplateInvoker added in v0.1.102

func (c *IoTDAClient) UpdateProvisioningTemplateInvoker(request *model.UpdateProvisioningTemplateRequest) *UpdateProvisioningTemplateInvoker

UpdateProvisioningTemplateInvoker 更新指定id的预调配模板信息

func (*IoTDAClient) UpdateRoutingBacklogPolicy added in v0.1.91

UpdateRoutingBacklogPolicy 修改数据流转积压策略

应用服务器可调用此接口在物联网平台修改指定数据流转积压策略。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) UpdateRoutingBacklogPolicyInvoker added in v0.1.91

func (c *IoTDAClient) UpdateRoutingBacklogPolicyInvoker(request *model.UpdateRoutingBacklogPolicyRequest) *UpdateRoutingBacklogPolicyInvoker

UpdateRoutingBacklogPolicyInvoker 修改数据流转积压策略

func (*IoTDAClient) UpdateRoutingFlowControlPolicy added in v0.1.91

UpdateRoutingFlowControlPolicy 修改数据流转流控策略

应用服务器可调用此接口在物联网平台修改指定数据流转流控策略。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) UpdateRoutingFlowControlPolicyInvoker added in v0.1.91

func (c *IoTDAClient) UpdateRoutingFlowControlPolicyInvoker(request *model.UpdateRoutingFlowControlPolicyRequest) *UpdateRoutingFlowControlPolicyInvoker

UpdateRoutingFlowControlPolicyInvoker 修改数据流转流控策略

func (*IoTDAClient) UpdateRoutingRule

UpdateRoutingRule 修改规则触发条件

应用服务器可调用此接口修改物联网平台中指定规则条件的配置参数。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) UpdateRoutingRuleInvoker added in v0.0.90

func (c *IoTDAClient) UpdateRoutingRuleInvoker(request *model.UpdateRoutingRuleRequest) *UpdateRoutingRuleInvoker

UpdateRoutingRuleInvoker 修改规则触发条件

func (*IoTDAClient) UpdateRule

func (c *IoTDAClient) UpdateRule(request *model.UpdateRuleRequest) (*model.UpdateRuleResponse, error)

UpdateRule 修改规则

应用服务器可调用此接口修改物联网平台中指定规则的配置。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) UpdateRuleAction

UpdateRuleAction 修改规则动作

应用服务器可调用此接口修改物联网平台中指定规则动作的配置。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) UpdateRuleActionInvoker added in v0.0.90

func (c *IoTDAClient) UpdateRuleActionInvoker(request *model.UpdateRuleActionRequest) *UpdateRuleActionInvoker

UpdateRuleActionInvoker 修改规则动作

func (*IoTDAClient) UpdateRuleInvoker added in v0.0.90

func (c *IoTDAClient) UpdateRuleInvoker(request *model.UpdateRuleRequest) *UpdateRuleInvoker

UpdateRuleInvoker 修改规则

func (*IoTDAClient) UploadBatchTaskFile added in v0.1.23

UploadBatchTaskFile 上传批量任务文件

应用服务器可调用此接口上传批量任务文件,用于创建批量任务。当前支持批量创建设备任务、批量删除设备任务、批量冻结设备任务、批量解冻设备任务的文件上传。 - [批量注册设备模板](https://developer.obs.cn-north-4.myhuaweicloud.com/template/BatchCreateDevices_Template.xlsx)

- [批量删除设备模板](https://developer.obs.cn-north-4.myhuaweicloud.com/template/BatchDeleteDevices_Template.xlsx)

- [批量冻结设备模板](https://developer.obs.cn-north-4.myhuaweicloud.com/template/BatchFreezeDevices_Template.xlsx)

- [批量解冻设备模板](https://developer.obs.cn-north-4.myhuaweicloud.com/template/BatchUnfreezeDevices_Template.xlsx)

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDAClient) UploadBatchTaskFileInvoker added in v0.1.23

func (c *IoTDAClient) UploadBatchTaskFileInvoker(request *model.UploadBatchTaskFileRequest) *UploadBatchTaskFileInvoker

UploadBatchTaskFileInvoker 上传批量任务文件

type ListAsyncCommandsInvoker added in v0.1.121

type ListAsyncCommandsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAsyncCommandsInvoker) GetBaseInvoker added in v0.1.121

func (i *ListAsyncCommandsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListAsyncCommandsInvoker) Invoke added in v0.1.121

type ListAsyncHistoryCommandsInvoker added in v0.1.121

type ListAsyncHistoryCommandsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAsyncHistoryCommandsInvoker) GetBaseInvoker added in v0.1.121

func (*ListAsyncHistoryCommandsInvoker) Invoke added in v0.1.121

type ListBatchTaskFilesInvoker added in v0.0.90

type ListBatchTaskFilesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListBatchTaskFilesInvoker) GetBaseInvoker added in v0.1.118

func (i *ListBatchTaskFilesInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListBatchTaskFilesInvoker) Invoke added in v0.0.90

type ListBatchTasksInvoker added in v0.0.90

type ListBatchTasksInvoker struct {
	*invoker.BaseInvoker
}

func (*ListBatchTasksInvoker) GetBaseInvoker added in v0.1.118

func (i *ListBatchTasksInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListBatchTasksInvoker) Invoke added in v0.0.90

type ListBridgesInvoker added in v0.1.98

type ListBridgesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListBridgesInvoker) GetBaseInvoker added in v0.1.118

func (i *ListBridgesInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListBridgesInvoker) Invoke added in v0.1.98

type ListCertificatesInvoker added in v0.0.90

type ListCertificatesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListCertificatesInvoker) GetBaseInvoker added in v0.1.118

func (i *ListCertificatesInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListCertificatesInvoker) Invoke added in v0.0.90

type ListDeviceAuthorizersInvoker added in v0.1.102

type ListDeviceAuthorizersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListDeviceAuthorizersInvoker) GetBaseInvoker added in v0.1.118

func (i *ListDeviceAuthorizersInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListDeviceAuthorizersInvoker) Invoke added in v0.1.102

type ListDeviceGroupsByDeviceInvoker added in v0.1.98

type ListDeviceGroupsByDeviceInvoker struct {
	*invoker.BaseInvoker
}

func (*ListDeviceGroupsByDeviceInvoker) GetBaseInvoker added in v0.1.118

func (*ListDeviceGroupsByDeviceInvoker) Invoke added in v0.1.98

type ListDeviceGroupsInvoker added in v0.0.90

type ListDeviceGroupsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListDeviceGroupsInvoker) GetBaseInvoker added in v0.1.118

func (i *ListDeviceGroupsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListDeviceGroupsInvoker) Invoke added in v0.0.90

type ListDeviceMessagesInvoker added in v0.0.90

type ListDeviceMessagesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListDeviceMessagesInvoker) GetBaseInvoker added in v0.1.118

func (i *ListDeviceMessagesInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListDeviceMessagesInvoker) Invoke added in v0.0.90

type ListDevicePoliciesInvoker added in v0.1.102

type ListDevicePoliciesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListDevicePoliciesInvoker) GetBaseInvoker added in v0.1.118

func (i *ListDevicePoliciesInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListDevicePoliciesInvoker) Invoke added in v0.1.102

type ListDeviceProxiesInvoker added in v0.1.93

type ListDeviceProxiesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListDeviceProxiesInvoker) GetBaseInvoker added in v0.1.118

func (i *ListDeviceProxiesInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListDeviceProxiesInvoker) Invoke added in v0.1.93

type ListDeviceTunnelsInvoker added in v0.1.50

type ListDeviceTunnelsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListDeviceTunnelsInvoker) GetBaseInvoker added in v0.1.118

func (i *ListDeviceTunnelsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListDeviceTunnelsInvoker) Invoke added in v0.1.50

type ListDevicesInvoker added in v0.0.90

type ListDevicesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListDevicesInvoker) GetBaseInvoker added in v0.1.118

func (i *ListDevicesInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListDevicesInvoker) Invoke added in v0.0.90

type ListFunctionsInvoker added in v0.1.121

type ListFunctionsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListFunctionsInvoker) GetBaseInvoker added in v0.1.121

func (i *ListFunctionsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListFunctionsInvoker) Invoke added in v0.1.121

type ListOtaPackageInfoInvoker added in v0.1.28

type ListOtaPackageInfoInvoker struct {
	*invoker.BaseInvoker
}

func (*ListOtaPackageInfoInvoker) GetBaseInvoker added in v0.1.118

func (i *ListOtaPackageInfoInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListOtaPackageInfoInvoker) Invoke added in v0.1.28

type ListProductsInvoker added in v0.0.90

type ListProductsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListProductsInvoker) GetBaseInvoker added in v0.1.118

func (i *ListProductsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListProductsInvoker) Invoke added in v0.0.90

type ListPropertiesInvoker added in v0.0.90

type ListPropertiesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPropertiesInvoker) GetBaseInvoker added in v0.1.118

func (i *ListPropertiesInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListPropertiesInvoker) Invoke added in v0.0.90

type ListProvisioningTemplatesInvoker added in v0.1.102

type ListProvisioningTemplatesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListProvisioningTemplatesInvoker) GetBaseInvoker added in v0.1.118

func (*ListProvisioningTemplatesInvoker) Invoke added in v0.1.102

type ListResourcesByTagsInvoker added in v0.0.90

type ListResourcesByTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListResourcesByTagsInvoker) GetBaseInvoker added in v0.1.118

func (i *ListResourcesByTagsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListResourcesByTagsInvoker) Invoke added in v0.0.90

type ListRoutingBacklogPolicyInvoker added in v0.1.91

type ListRoutingBacklogPolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*ListRoutingBacklogPolicyInvoker) GetBaseInvoker added in v0.1.118

func (*ListRoutingBacklogPolicyInvoker) Invoke added in v0.1.91

type ListRoutingFlowControlPolicyInvoker added in v0.1.91

type ListRoutingFlowControlPolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*ListRoutingFlowControlPolicyInvoker) GetBaseInvoker added in v0.1.118

func (*ListRoutingFlowControlPolicyInvoker) Invoke added in v0.1.91

type ListRoutingRulesInvoker added in v0.0.90

type ListRoutingRulesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListRoutingRulesInvoker) GetBaseInvoker added in v0.1.118

func (i *ListRoutingRulesInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListRoutingRulesInvoker) Invoke added in v0.0.90

type ListRuleActionsInvoker added in v0.0.90

type ListRuleActionsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListRuleActionsInvoker) GetBaseInvoker added in v0.1.118

func (i *ListRuleActionsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListRuleActionsInvoker) Invoke added in v0.0.90

type ListRulesInvoker added in v0.0.90

type ListRulesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListRulesInvoker) GetBaseInvoker added in v0.1.118

func (i *ListRulesInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListRulesInvoker) Invoke added in v0.0.90

type ResetBridgeSecretInvoker added in v0.1.98

type ResetBridgeSecretInvoker struct {
	*invoker.BaseInvoker
}

func (*ResetBridgeSecretInvoker) GetBaseInvoker added in v0.1.118

func (i *ResetBridgeSecretInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ResetBridgeSecretInvoker) Invoke added in v0.1.98

type ResetDeviceSecretInvoker added in v0.0.90

type ResetDeviceSecretInvoker struct {
	*invoker.BaseInvoker
}

func (*ResetDeviceSecretInvoker) GetBaseInvoker added in v0.1.118

func (i *ResetDeviceSecretInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ResetDeviceSecretInvoker) Invoke added in v0.0.90

type ResetFingerprintInvoker added in v0.0.90

type ResetFingerprintInvoker struct {
	*invoker.BaseInvoker
}

func (*ResetFingerprintInvoker) GetBaseInvoker added in v0.1.118

func (i *ResetFingerprintInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ResetFingerprintInvoker) Invoke added in v0.0.90

type RetryBatchTaskInvoker added in v0.1.43

type RetryBatchTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*RetryBatchTaskInvoker) GetBaseInvoker added in v0.1.118

func (i *RetryBatchTaskInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RetryBatchTaskInvoker) Invoke added in v0.1.43

type SearchDevicesInvoker added in v0.1.18

type SearchDevicesInvoker struct {
	*invoker.BaseInvoker
}

func (*SearchDevicesInvoker) GetBaseInvoker added in v0.1.118

func (i *SearchDevicesInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*SearchDevicesInvoker) Invoke added in v0.1.18

type ShowApplicationInvoker added in v0.0.90

type ShowApplicationInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowApplicationInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowApplicationInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowApplicationInvoker) Invoke added in v0.0.90

type ShowApplicationsInvoker added in v0.0.90

type ShowApplicationsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowApplicationsInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowApplicationsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowApplicationsInvoker) Invoke added in v0.0.90

type ShowAsyncDeviceCommandInvoker added in v0.0.90

type ShowAsyncDeviceCommandInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowAsyncDeviceCommandInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowAsyncDeviceCommandInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowAsyncDeviceCommandInvoker) Invoke added in v0.0.90

type ShowBatchTaskInvoker added in v0.0.90

type ShowBatchTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowBatchTaskInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowBatchTaskInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowBatchTaskInvoker) Invoke added in v0.0.90

type ShowDeviceAuthorizerInvoker added in v0.1.102

type ShowDeviceAuthorizerInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDeviceAuthorizerInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowDeviceAuthorizerInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowDeviceAuthorizerInvoker) Invoke added in v0.1.102

type ShowDeviceGroupInvoker added in v0.0.90

type ShowDeviceGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDeviceGroupInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowDeviceGroupInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowDeviceGroupInvoker) Invoke added in v0.0.90

type ShowDeviceInvoker added in v0.0.90

type ShowDeviceInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDeviceInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowDeviceInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowDeviceInvoker) Invoke added in v0.0.90

type ShowDeviceMessageInvoker added in v0.0.90

type ShowDeviceMessageInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDeviceMessageInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowDeviceMessageInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowDeviceMessageInvoker) Invoke added in v0.0.90

type ShowDevicePolicyInvoker added in v0.1.102

type ShowDevicePolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDevicePolicyInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowDevicePolicyInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowDevicePolicyInvoker) Invoke added in v0.1.102

type ShowDeviceProxyInvoker added in v0.1.93

type ShowDeviceProxyInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDeviceProxyInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowDeviceProxyInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowDeviceProxyInvoker) Invoke added in v0.1.93

type ShowDeviceShadowInvoker added in v0.0.90

type ShowDeviceShadowInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDeviceShadowInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowDeviceShadowInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowDeviceShadowInvoker) Invoke added in v0.0.90

type ShowDeviceTunnelInvoker added in v0.1.50

type ShowDeviceTunnelInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDeviceTunnelInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowDeviceTunnelInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowDeviceTunnelInvoker) Invoke added in v0.1.50

type ShowDevicesInGroupInvoker added in v0.0.90

type ShowDevicesInGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDevicesInGroupInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowDevicesInGroupInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowDevicesInGroupInvoker) Invoke added in v0.0.90

type ShowOtaPackageInvoker added in v0.1.28

type ShowOtaPackageInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowOtaPackageInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowOtaPackageInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowOtaPackageInvoker) Invoke added in v0.1.28

type ShowProductInvoker added in v0.0.90

type ShowProductInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowProductInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowProductInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowProductInvoker) Invoke added in v0.0.90

type ShowProvisioningTemplateInvoker added in v0.1.102

type ShowProvisioningTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowProvisioningTemplateInvoker) GetBaseInvoker added in v0.1.118

func (*ShowProvisioningTemplateInvoker) Invoke added in v0.1.102

type ShowQueueInvoker added in v0.0.90

type ShowQueueInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowQueueInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowQueueInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowQueueInvoker) Invoke added in v0.0.90

type ShowRoutingBacklogPolicyInvoker added in v0.1.91

type ShowRoutingBacklogPolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowRoutingBacklogPolicyInvoker) GetBaseInvoker added in v0.1.118

func (*ShowRoutingBacklogPolicyInvoker) Invoke added in v0.1.91

type ShowRoutingFlowControlPolicyInvoker added in v0.1.91

type ShowRoutingFlowControlPolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowRoutingFlowControlPolicyInvoker) GetBaseInvoker added in v0.1.118

func (*ShowRoutingFlowControlPolicyInvoker) Invoke added in v0.1.91

type ShowRoutingRuleInvoker added in v0.0.90

type ShowRoutingRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowRoutingRuleInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowRoutingRuleInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowRoutingRuleInvoker) Invoke added in v0.0.90

type ShowRuleActionInvoker added in v0.0.90

type ShowRuleActionInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowRuleActionInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowRuleActionInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowRuleActionInvoker) Invoke added in v0.0.90

type ShowRuleInvoker added in v0.0.90

type ShowRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowRuleInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowRuleInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowRuleInvoker) Invoke added in v0.0.90

func (i *ShowRuleInvoker) Invoke() (*model.ShowRuleResponse, error)

type ShowTargetsInDevicePolicyInvoker added in v0.1.102

type ShowTargetsInDevicePolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowTargetsInDevicePolicyInvoker) GetBaseInvoker added in v0.1.118

func (*ShowTargetsInDevicePolicyInvoker) Invoke added in v0.1.102

type StopBatchTaskInvoker added in v0.1.43

type StopBatchTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*StopBatchTaskInvoker) GetBaseInvoker added in v0.1.118

func (i *StopBatchTaskInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*StopBatchTaskInvoker) Invoke added in v0.1.43

type TagDeviceInvoker added in v0.0.90

type TagDeviceInvoker struct {
	*invoker.BaseInvoker
}

func (*TagDeviceInvoker) GetBaseInvoker added in v0.1.118

func (i *TagDeviceInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*TagDeviceInvoker) Invoke added in v0.0.90

type UnbindDevicePolicyInvoker added in v0.1.102

type UnbindDevicePolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*UnbindDevicePolicyInvoker) GetBaseInvoker added in v0.1.118

func (i *UnbindDevicePolicyInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UnbindDevicePolicyInvoker) Invoke added in v0.1.102

type UnfreezeDeviceInvoker added in v0.0.90

type UnfreezeDeviceInvoker struct {
	*invoker.BaseInvoker
}

func (*UnfreezeDeviceInvoker) GetBaseInvoker added in v0.1.118

func (i *UnfreezeDeviceInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UnfreezeDeviceInvoker) Invoke added in v0.0.90

type UntagDeviceInvoker added in v0.0.90

type UntagDeviceInvoker struct {
	*invoker.BaseInvoker
}

func (*UntagDeviceInvoker) GetBaseInvoker added in v0.1.118

func (i *UntagDeviceInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UntagDeviceInvoker) Invoke added in v0.0.90

type UpdateApplicationInvoker added in v0.1.88

type UpdateApplicationInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateApplicationInvoker) GetBaseInvoker added in v0.1.118

func (i *UpdateApplicationInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UpdateApplicationInvoker) Invoke added in v0.1.88

type UpdateCertificateInvoker added in v0.1.98

type UpdateCertificateInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateCertificateInvoker) GetBaseInvoker added in v0.1.118

func (i *UpdateCertificateInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UpdateCertificateInvoker) Invoke added in v0.1.98

type UpdateDeviceAuthorizerInvoker added in v0.1.102

type UpdateDeviceAuthorizerInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateDeviceAuthorizerInvoker) GetBaseInvoker added in v0.1.118

func (i *UpdateDeviceAuthorizerInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UpdateDeviceAuthorizerInvoker) Invoke added in v0.1.102

type UpdateDeviceGroupInvoker added in v0.0.90

type UpdateDeviceGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateDeviceGroupInvoker) GetBaseInvoker added in v0.1.118

func (i *UpdateDeviceGroupInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UpdateDeviceGroupInvoker) Invoke added in v0.0.90

type UpdateDeviceInvoker added in v0.0.90

type UpdateDeviceInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateDeviceInvoker) GetBaseInvoker added in v0.1.118

func (i *UpdateDeviceInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UpdateDeviceInvoker) Invoke added in v0.0.90

type UpdateDevicePolicyInvoker added in v0.1.102

type UpdateDevicePolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateDevicePolicyInvoker) GetBaseInvoker added in v0.1.118

func (i *UpdateDevicePolicyInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UpdateDevicePolicyInvoker) Invoke added in v0.1.102

type UpdateDeviceProxyInvoker added in v0.1.93

type UpdateDeviceProxyInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateDeviceProxyInvoker) GetBaseInvoker added in v0.1.118

func (i *UpdateDeviceProxyInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UpdateDeviceProxyInvoker) Invoke added in v0.1.93

type UpdateDeviceShadowDesiredDataInvoker added in v0.0.90

type UpdateDeviceShadowDesiredDataInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateDeviceShadowDesiredDataInvoker) GetBaseInvoker added in v0.1.118

func (*UpdateDeviceShadowDesiredDataInvoker) Invoke added in v0.0.90

type UpdateProductInvoker added in v0.0.90

type UpdateProductInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateProductInvoker) GetBaseInvoker added in v0.1.118

func (i *UpdateProductInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UpdateProductInvoker) Invoke added in v0.0.90

type UpdatePropertiesInvoker added in v0.0.90

type UpdatePropertiesInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdatePropertiesInvoker) GetBaseInvoker added in v0.1.118

func (i *UpdatePropertiesInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UpdatePropertiesInvoker) Invoke added in v0.0.90

type UpdateProvisioningTemplateInvoker added in v0.1.102

type UpdateProvisioningTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateProvisioningTemplateInvoker) GetBaseInvoker added in v0.1.118

func (*UpdateProvisioningTemplateInvoker) Invoke added in v0.1.102

type UpdateRoutingBacklogPolicyInvoker added in v0.1.91

type UpdateRoutingBacklogPolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateRoutingBacklogPolicyInvoker) GetBaseInvoker added in v0.1.118

func (*UpdateRoutingBacklogPolicyInvoker) Invoke added in v0.1.91

type UpdateRoutingFlowControlPolicyInvoker added in v0.1.91

type UpdateRoutingFlowControlPolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateRoutingFlowControlPolicyInvoker) GetBaseInvoker added in v0.1.118

func (*UpdateRoutingFlowControlPolicyInvoker) Invoke added in v0.1.91

type UpdateRoutingRuleInvoker added in v0.0.90

type UpdateRoutingRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateRoutingRuleInvoker) GetBaseInvoker added in v0.1.118

func (i *UpdateRoutingRuleInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UpdateRoutingRuleInvoker) Invoke added in v0.0.90

type UpdateRuleActionInvoker added in v0.0.90

type UpdateRuleActionInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateRuleActionInvoker) GetBaseInvoker added in v0.1.118

func (i *UpdateRuleActionInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UpdateRuleActionInvoker) Invoke added in v0.0.90

type UpdateRuleInvoker added in v0.0.90

type UpdateRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateRuleInvoker) GetBaseInvoker added in v0.1.118

func (i *UpdateRuleInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UpdateRuleInvoker) Invoke added in v0.0.90

type UploadBatchTaskFileInvoker added in v0.1.23

type UploadBatchTaskFileInvoker struct {
	*invoker.BaseInvoker
}

func (*UploadBatchTaskFileInvoker) GetBaseInvoker added in v0.1.118

func (i *UploadBatchTaskFileInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UploadBatchTaskFileInvoker) Invoke added in v0.1.23

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL