v20191126

package
v1.0.940 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// CAM签名/鉴权错误。
	AUTHFAILURE = "AuthFailure"

	// 签名校验失败。
	AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"

	// 获取token为空。
	AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"

	// DryRun 操作,代表请求将会是成功的,只是多传了 DryRun 参数。
	DRYRUNOPERATION = "DryRunOperation"

	// 操作失败。
	FAILEDOPERATION = "FailedOperation"

	// 设备固件升级任务已经完成。
	FAILEDOPERATION_DEVICEFIRMWARETASKALREADDONE = "FailedOperation.DeviceFirmwareTaskAlreadDone"

	// 设备正在升级中。
	FAILEDOPERATION_DEVICEISUPDATING = "FailedOperation.DeviceIsUpdating"

	// 设备已经运行其他ota升级任务。
	FAILEDOPERATION_DEVICERUNNINGOTHEROTATASK = "FailedOperation.DeviceRunningOtherOtaTask"

	// 无相关操作权限。
	FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"

	// 内部错误。
	INTERNALERROR = "InternalError"

	// 参数错误。
	INVALIDPARAMETER = "InvalidParameter"

	// 参数取值错误。
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// 固件已存在。
	INVALIDPARAMETERVALUE_FIRMWAREALREADYEXIST = "InvalidParameterValue.FirmwareAlreadyExist"

	// tid非法。
	INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"

	// 超过配额限制。
	LIMITEXCEEDED = "LimitExceeded"

	// 缺少参数错误。
	MISSINGPARAMETER = "MissingParameter"

	// 操作被拒绝。
	OPERATIONDENIED = "OperationDenied"

	// 请求的次数超过了频率限制。
	REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

	// 资源被占用。
	RESOURCEINUSE = "ResourceInUse"

	// 资源不足。
	RESOURCEINSUFFICIENT = "ResourceInsufficient"

	// 资源不存在。
	RESOURCENOTFOUND = "ResourceNotFound"

	// 设备固件升级任务不存在。
	RESOURCENOTFOUND_DEVICEFIRMWARETASKNOTEXIST = "ResourceNotFound.DeviceFirmwareTaskNotExist"

	// 设备无固件版本。
	RESOURCENOTFOUND_DEVICEHASNOFIRMWARE = "ResourceNotFound.DeviceHasNoFirmware"

	// 固件不存在。
	RESOURCENOTFOUND_FIRMWARENOTEXIST = "ResourceNotFound.FirmwareNotExist"

	// 固件升级任务不存在。
	RESOURCENOTFOUND_FIRMWARETASKNOTEXIST = "ResourceNotFound.FirmwareTaskNotExist"

	// 资源不可用。
	RESOURCEUNAVAILABLE = "ResourceUnavailable"

	// 资源售罄。
	RESOURCESSOLDOUT = "ResourcesSoldOut"

	// 未授权操作。
	UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

	// 未知参数错误。
	UNKNOWNPARAMETER = "UnknownParameter"

	// 操作不支持。
	UNSUPPORTEDOPERATION = "UnsupportedOperation"
)
View Source
const APIVersion = "2019-11-26"

Variables

This section is empty.

Functions

This section is empty.

Types

type BindDevInfo

type BindDevInfo struct {
	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 设备名称
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 设备型号
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeviceModel *string `json:"DeviceModel,omitnil,omitempty" name:"DeviceModel"`

	// 用户角色,owner:主人,guest:访客
	Role *string `json:"Role,omitnil,omitempty" name:"Role"`
}

type BindUsrInfo

type BindUsrInfo struct {
	// IotVideo平台分配给终端用户的用户id
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`

	// 用户角色,owner:主人,guest:访客
	Role *string `json:"Role,omitnil,omitempty" name:"Role"`
}

type ClearDeviceActiveCodeRequest

type ClearDeviceActiveCodeRequest struct {
	*tchttp.BaseRequest

	// 设备TID列表,0<元素数量<=100
	Tids []*string `json:"Tids,omitnil,omitempty" name:"Tids"`
}

func NewClearDeviceActiveCodeRequest

func NewClearDeviceActiveCodeRequest() (request *ClearDeviceActiveCodeRequest)

func (*ClearDeviceActiveCodeRequest) FromJsonString

func (r *ClearDeviceActiveCodeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ClearDeviceActiveCodeRequest) ToJsonString

func (r *ClearDeviceActiveCodeRequest) ToJsonString() string

type ClearDeviceActiveCodeRequestParams added in v1.0.426

type ClearDeviceActiveCodeRequestParams struct {
	// 设备TID列表,0<元素数量<=100
	Tids []*string `json:"Tids,omitnil,omitempty" name:"Tids"`
}

Predefined struct for user

type ClearDeviceActiveCodeResponse

type ClearDeviceActiveCodeResponse struct {
	*tchttp.BaseResponse
	Response *ClearDeviceActiveCodeResponseParams `json:"Response"`
}

func NewClearDeviceActiveCodeResponse

func NewClearDeviceActiveCodeResponse() (response *ClearDeviceActiveCodeResponse)

func (*ClearDeviceActiveCodeResponse) FromJsonString

func (r *ClearDeviceActiveCodeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ClearDeviceActiveCodeResponse) ToJsonString

func (r *ClearDeviceActiveCodeResponse) ToJsonString() string

type ClearDeviceActiveCodeResponseParams added in v1.0.426

type ClearDeviceActiveCodeResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) ClearDeviceActiveCode

func (c *Client) ClearDeviceActiveCode(request *ClearDeviceActiveCodeRequest) (response *ClearDeviceActiveCodeResponse, err error)

ClearDeviceActiveCode 清除设备激活码

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ClearDeviceActiveCodeWithContext added in v1.0.324

func (c *Client) ClearDeviceActiveCodeWithContext(ctx context.Context, request *ClearDeviceActiveCodeRequest) (response *ClearDeviceActiveCodeResponse, err error)

ClearDeviceActiveCode 清除设备激活码

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateAnonymousAccessToken

func (c *Client) CreateAnonymousAccessToken(request *CreateAnonymousAccessTokenRequest) (response *CreateAnonymousAccessTokenResponse, err error)

CreateAnonymousAccessToken 创建匿名访问Token

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateAnonymousAccessTokenWithContext added in v1.0.324

func (c *Client) CreateAnonymousAccessTokenWithContext(ctx context.Context, request *CreateAnonymousAccessTokenRequest) (response *CreateAnonymousAccessTokenResponse, err error)

CreateAnonymousAccessToken 创建匿名访问Token

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateAppUsr

func (c *Client) CreateAppUsr(request *CreateAppUsrRequest) (response *CreateAppUsrResponse, err error)

CreateAppUsr 本接口(CreateAppUsr)用于接收由厂商云发送过来的注册请求,建立厂商云终端用户与IoT Video终端用户的映射关系。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateAppUsrWithContext added in v1.0.324

func (c *Client) CreateAppUsrWithContext(ctx context.Context, request *CreateAppUsrRequest) (response *CreateAppUsrResponse, err error)

CreateAppUsr 本接口(CreateAppUsr)用于接收由厂商云发送过来的注册请求,建立厂商云终端用户与IoT Video终端用户的映射关系。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateBinding

func (c *Client) CreateBinding(request *CreateBindingRequest) (response *CreateBindingResponse, err error)

CreateBinding 本接口(CreateBinding)用于终端用户和设备进行绑定,具体的应用场景如下:

终端用户与设备具有“强关联”关系。用户与设备绑定之后,用户终端即具备了该设备的访问权限,访问或操作设备时,无需获取设备访问Token。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateBindingWithContext added in v1.0.324

func (c *Client) CreateBindingWithContext(ctx context.Context, request *CreateBindingRequest) (response *CreateBindingResponse, err error)

CreateBinding 本接口(CreateBinding)用于终端用户和设备进行绑定,具体的应用场景如下:

终端用户与设备具有“强关联”关系。用户与设备绑定之后,用户终端即具备了该设备的访问权限,访问或操作设备时,无需获取设备访问Token。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateDevToken

func (c *Client) CreateDevToken(request *CreateDevTokenRequest) (response *CreateDevTokenResponse, err error)

CreateDevToken 本接口(CreateDevToken)用于以下场景:

终端用户与设备没有强绑定关联关系;

允许终端用户短时或一次性临时访问设备;

当终端用户与设备有强绑定关系时,可以不用调用此接口

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateDevTokenWithContext added in v1.0.324

func (c *Client) CreateDevTokenWithContext(ctx context.Context, request *CreateDevTokenRequest) (response *CreateDevTokenResponse, err error)

CreateDevToken 本接口(CreateDevToken)用于以下场景:

终端用户与设备没有强绑定关联关系;

允许终端用户短时或一次性临时访问设备;

当终端用户与设备有强绑定关系时,可以不用调用此接口

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateDevices

func (c *Client) CreateDevices(request *CreateDevicesRequest) (response *CreateDevicesResponse, err error)

CreateDevices 本接口(CreateDevices)用于批量创建新的物联网视频通信设备。

注意:腾讯云不会对设备私钥进行保存,请自行保管好您的设备私钥。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateDevicesWithContext added in v1.0.324

func (c *Client) CreateDevicesWithContext(ctx context.Context, request *CreateDevicesRequest) (response *CreateDevicesResponse, err error)

CreateDevices 本接口(CreateDevices)用于批量创建新的物联网视频通信设备。

注意:腾讯云不会对设备私钥进行保存,请自行保管好您的设备私钥。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateGencode

func (c *Client) CreateGencode(request *CreateGencodeRequest) (response *CreateGencodeResponse, err error)

CreateGencode 本接口(CreateGencode)用于生成设备物模型源代码

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateGencodeWithContext added in v1.0.324

func (c *Client) CreateGencodeWithContext(ctx context.Context, request *CreateGencodeRequest) (response *CreateGencodeResponse, err error)

CreateGencode 本接口(CreateGencode)用于生成设备物模型源代码

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateIotDataType

func (c *Client) CreateIotDataType(request *CreateIotDataTypeRequest) (response *CreateIotDataTypeResponse, err error)

CreateIotDataType 本接口(CreateIotDataType)用于创建自定义物模型数据类型。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateIotDataTypeWithContext added in v1.0.324

func (c *Client) CreateIotDataTypeWithContext(ctx context.Context, request *CreateIotDataTypeRequest) (response *CreateIotDataTypeResponse, err error)

CreateIotDataType 本接口(CreateIotDataType)用于创建自定义物模型数据类型。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateIotModel

func (c *Client) CreateIotModel(request *CreateIotModelRequest) (response *CreateIotModelResponse, err error)

CreateIotModel 本接口(CreateIotModel)用于定义的物模型提交。

该接口实现了物模型草稿箱的功能,保存用户最后一次编辑的物模型数据。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateIotModelWithContext added in v1.0.324

func (c *Client) CreateIotModelWithContext(ctx context.Context, request *CreateIotModelRequest) (response *CreateIotModelResponse, err error)

CreateIotModel 本接口(CreateIotModel)用于定义的物模型提交。

该接口实现了物模型草稿箱的功能,保存用户最后一次编辑的物模型数据。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateProduct

func (c *Client) CreateProduct(request *CreateProductRequest) (response *CreateProductResponse, err error)

CreateProduct 本接口(CreateProduct)用于创建一个新的物联网智能视频产品。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateProductWithContext added in v1.0.324

func (c *Client) CreateProductWithContext(ctx context.Context, request *CreateProductRequest) (response *CreateProductResponse, err error)

CreateProduct 本接口(CreateProduct)用于创建一个新的物联网智能视频产品。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateStorage

func (c *Client) CreateStorage(request *CreateStorageRequest) (response *CreateStorageResponse, err error)

CreateStorage 该接口已经停止维护,请勿使用

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateStorageService

func (c *Client) CreateStorageService(request *CreateStorageServiceRequest) (response *CreateStorageServiceResponse, err error)

CreateStorageService 购买云存服务

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateStorageServiceWithContext added in v1.0.324

func (c *Client) CreateStorageServiceWithContext(ctx context.Context, request *CreateStorageServiceRequest) (response *CreateStorageServiceResponse, err error)

CreateStorageService 购买云存服务

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateStorageWithContext added in v1.0.324

func (c *Client) CreateStorageWithContext(ctx context.Context, request *CreateStorageRequest) (response *CreateStorageResponse, err error)

CreateStorage 该接口已经停止维护,请勿使用

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateTraceIds

func (c *Client) CreateTraceIds(request *CreateTraceIdsRequest) (response *CreateTraceIdsResponse, err error)

CreateTraceIds 本接口(CreateTraceIds)用于将设备加到日志跟踪白名单。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateTraceIdsWithContext added in v1.0.324

func (c *Client) CreateTraceIdsWithContext(ctx context.Context, request *CreateTraceIdsRequest) (response *CreateTraceIdsResponse, err error)

CreateTraceIds 本接口(CreateTraceIds)用于将设备加到日志跟踪白名单。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateUploadPath

func (c *Client) CreateUploadPath(request *CreateUploadPathRequest) (response *CreateUploadPathResponse, err error)

CreateUploadPath 本接口(CreateUploadPath)用于获取固件上传路径。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateUploadPathWithContext added in v1.0.324

func (c *Client) CreateUploadPathWithContext(ctx context.Context, request *CreateUploadPathRequest) (response *CreateUploadPathResponse, err error)

CreateUploadPath 本接口(CreateUploadPath)用于获取固件上传路径。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateUsrToken

func (c *Client) CreateUsrToken(request *CreateUsrTokenRequest) (response *CreateUsrTokenResponse, err error)

CreateUsrToken 本接口(CreateUsrToken)用于终端用户获取IoT Video平台的accessToken,初始化SDK,连接到IoT Video接入服务器。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateUsrTokenWithContext added in v1.0.324

func (c *Client) CreateUsrTokenWithContext(ctx context.Context, request *CreateUsrTokenRequest) (response *CreateUsrTokenResponse, err error)

CreateUsrToken 本接口(CreateUsrToken)用于终端用户获取IoT Video平台的accessToken,初始化SDK,连接到IoT Video接入服务器。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteAppUsr

func (c *Client) DeleteAppUsr(request *DeleteAppUsrRequest) (response *DeleteAppUsrResponse, err error)

DeleteAppUsr 本接口(DeleteAppUsr)用于删除终端用户。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteAppUsrWithContext added in v1.0.324

func (c *Client) DeleteAppUsrWithContext(ctx context.Context, request *DeleteAppUsrRequest) (response *DeleteAppUsrResponse, err error)

DeleteAppUsr 本接口(DeleteAppUsr)用于删除终端用户。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteBinding

func (c *Client) DeleteBinding(request *DeleteBindingRequest) (response *DeleteBindingResponse, err error)

DeleteBinding 本接口(DeleteBinding)用于终端用户和设备进行解绑定。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteBindingWithContext added in v1.0.324

func (c *Client) DeleteBindingWithContext(ctx context.Context, request *DeleteBindingRequest) (response *DeleteBindingResponse, err error)

DeleteBinding 本接口(DeleteBinding)用于终端用户和设备进行解绑定。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteDevice

func (c *Client) DeleteDevice(request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error)

DeleteDevice 本接口(DeleteDevice)用于删除设备,可进行批量操作,每次操作最多100台设备。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteDeviceWithContext added in v1.0.324

func (c *Client) DeleteDeviceWithContext(ctx context.Context, request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error)

DeleteDevice 本接口(DeleteDevice)用于删除设备,可进行批量操作,每次操作最多100台设备。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteIotDataType

func (c *Client) DeleteIotDataType(request *DeleteIotDataTypeRequest) (response *DeleteIotDataTypeResponse, err error)

DeleteIotDataType 本接口(DeleteIotDataType)用于删除自定义物模型数据类型。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteIotDataTypeWithContext added in v1.0.324

func (c *Client) DeleteIotDataTypeWithContext(ctx context.Context, request *DeleteIotDataTypeRequest) (response *DeleteIotDataTypeResponse, err error)

DeleteIotDataType 本接口(DeleteIotDataType)用于删除自定义物模型数据类型。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteMessageQueue

func (c *Client) DeleteMessageQueue(request *DeleteMessageQueueRequest) (response *DeleteMessageQueueResponse, err error)

DeleteMessageQueue 本接口(DeleteMessageQueue)用于删除物联网智能视频产品的转发消息配置信息。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteMessageQueueWithContext added in v1.0.324

func (c *Client) DeleteMessageQueueWithContext(ctx context.Context, request *DeleteMessageQueueRequest) (response *DeleteMessageQueueResponse, err error)

DeleteMessageQueue 本接口(DeleteMessageQueue)用于删除物联网智能视频产品的转发消息配置信息。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteOtaVersion

func (c *Client) DeleteOtaVersion(request *DeleteOtaVersionRequest) (response *DeleteOtaVersionResponse, err error)

DeleteOtaVersion 本接口(DeleteOtaVersion)用于删除固件版本信息。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteOtaVersionWithContext added in v1.0.324

func (c *Client) DeleteOtaVersionWithContext(ctx context.Context, request *DeleteOtaVersionRequest) (response *DeleteOtaVersionResponse, err error)

DeleteOtaVersion 本接口(DeleteOtaVersion)用于删除固件版本信息。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteProduct

func (c *Client) DeleteProduct(request *DeleteProductRequest) (response *DeleteProductResponse, err error)

DeleteProduct 本接口(DeleteProduct)用于删除一个物联网智能视频产品。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteProductWithContext added in v1.0.324

func (c *Client) DeleteProductWithContext(ctx context.Context, request *DeleteProductRequest) (response *DeleteProductResponse, err error)

DeleteProduct 本接口(DeleteProduct)用于删除一个物联网智能视频产品。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteTraceIds

func (c *Client) DeleteTraceIds(request *DeleteTraceIdsRequest) (response *DeleteTraceIdsResponse, err error)

DeleteTraceIds 本接口(DeleteTraceIds)用于将设备从日志跟踪白名单中删除,该接口可批量操作,最多支持同时操作100台设备。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteTraceIdsWithContext added in v1.0.324

func (c *Client) DeleteTraceIdsWithContext(ctx context.Context, request *DeleteTraceIdsRequest) (response *DeleteTraceIdsResponse, err error)

DeleteTraceIds 本接口(DeleteTraceIds)用于将设备从日志跟踪白名单中删除,该接口可批量操作,最多支持同时操作100台设备。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeliverStorageService

func (c *Client) DeliverStorageService(request *DeliverStorageServiceRequest) (response *DeliverStorageServiceResponse, err error)

DeliverStorageService 将已购买的云存服务转移到另一设备

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeliverStorageServiceWithContext added in v1.0.324

func (c *Client) DeliverStorageServiceWithContext(ctx context.Context, request *DeliverStorageServiceRequest) (response *DeliverStorageServiceResponse, err error)

DeliverStorageService 将已购买的云存服务转移到另一设备

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeAccountBalance

func (c *Client) DescribeAccountBalance(request *DescribeAccountBalanceRequest) (response *DescribeAccountBalanceResponse, err error)

DescribeAccountBalance 客户可通过本接口获取账户余额信息, 默认接口请求频率限制:1次/秒

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeAccountBalanceWithContext added in v1.0.324

func (c *Client) DescribeAccountBalanceWithContext(ctx context.Context, request *DescribeAccountBalanceRequest) (response *DescribeAccountBalanceResponse, err error)

DescribeAccountBalance 客户可通过本接口获取账户余额信息, 默认接口请求频率限制:1次/秒

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeBindDev

func (c *Client) DescribeBindDev(request *DescribeBindDevRequest) (response *DescribeBindDevResponse, err error)

DescribeBindDev 本接口(DescribeBindDev)用于查询终端用户绑定的设备列表。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeBindDevWithContext added in v1.0.324

func (c *Client) DescribeBindDevWithContext(ctx context.Context, request *DescribeBindDevRequest) (response *DescribeBindDevResponse, err error)

DescribeBindDev 本接口(DescribeBindDev)用于查询终端用户绑定的设备列表。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeBindUsr

func (c *Client) DescribeBindUsr(request *DescribeBindUsrRequest) (response *DescribeBindUsrResponse, err error)

DescribeBindUsr 本接口(DescribeBindUsr)用于查询设备被分享的所有用户列表。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeBindUsrWithContext added in v1.0.324

func (c *Client) DescribeBindUsrWithContext(ctx context.Context, request *DescribeBindUsrRequest) (response *DescribeBindUsrResponse, err error)

DescribeBindUsr 本接口(DescribeBindUsr)用于查询设备被分享的所有用户列表。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeDevice

func (c *Client) DescribeDevice(request *DescribeDeviceRequest) (response *DescribeDeviceResponse, err error)

DescribeDevice 本接口(DescribeDevice)获取设备信息。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeDeviceModel

func (c *Client) DescribeDeviceModel(request *DescribeDeviceModelRequest) (response *DescribeDeviceModelResponse, err error)

DescribeDeviceModel 本接口(DescribeDeviceModel)用于获取设备物模型。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeDeviceModelWithContext added in v1.0.324

func (c *Client) DescribeDeviceModelWithContext(ctx context.Context, request *DescribeDeviceModelRequest) (response *DescribeDeviceModelResponse, err error)

DescribeDeviceModel 本接口(DescribeDeviceModel)用于获取设备物模型。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeDeviceWithContext added in v1.0.324

func (c *Client) DescribeDeviceWithContext(ctx context.Context, request *DescribeDeviceRequest) (response *DescribeDeviceResponse, err error)

DescribeDevice 本接口(DescribeDevice)获取设备信息。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeDevices

func (c *Client) DescribeDevices(request *DescribeDevicesRequest) (response *DescribeDevicesResponse, err error)

DescribeDevices 本接口(DescribeDevices)用于获取设备信息列表。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeDevicesWithContext added in v1.0.324

func (c *Client) DescribeDevicesWithContext(ctx context.Context, request *DescribeDevicesRequest) (response *DescribeDevicesResponse, err error)

DescribeDevices 本接口(DescribeDevices)用于获取设备信息列表。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeIotDataType

func (c *Client) DescribeIotDataType(request *DescribeIotDataTypeRequest) (response *DescribeIotDataTypeResponse, err error)

DescribeIotDataType 本接口(DescribeIotDataType)用于查询自定义的物模型数据类型。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeIotDataTypeWithContext added in v1.0.324

func (c *Client) DescribeIotDataTypeWithContext(ctx context.Context, request *DescribeIotDataTypeRequest) (response *DescribeIotDataTypeResponse, err error)

DescribeIotDataType 本接口(DescribeIotDataType)用于查询自定义的物模型数据类型。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeIotModel

func (c *Client) DescribeIotModel(request *DescribeIotModelRequest) (response *DescribeIotModelResponse, err error)

DescribeIotModel 本接口(DescribeIotModel)用于获取物模型定义详情。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeIotModelWithContext added in v1.0.324

func (c *Client) DescribeIotModelWithContext(ctx context.Context, request *DescribeIotModelRequest) (response *DescribeIotModelResponse, err error)

DescribeIotModel 本接口(DescribeIotModel)用于获取物模型定义详情。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeIotModels

func (c *Client) DescribeIotModels(request *DescribeIotModelsRequest) (response *DescribeIotModelsResponse, err error)

DescribeIotModels 本接口(DescribeIotModels)用于列出物模型历史版本列表。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeIotModelsWithContext added in v1.0.324

func (c *Client) DescribeIotModelsWithContext(ctx context.Context, request *DescribeIotModelsRequest) (response *DescribeIotModelsResponse, err error)

DescribeIotModels 本接口(DescribeIotModels)用于列出物模型历史版本列表。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeLogs

func (c *Client) DescribeLogs(request *DescribeLogsRequest) (response *DescribeLogsResponse, err error)

DescribeLogs 本接口(DescribeLogs)用于查询设备日志列表。

设备日志最长保留时长为15天,超期自动清除。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeLogsWithContext added in v1.0.324

func (c *Client) DescribeLogsWithContext(ctx context.Context, request *DescribeLogsRequest) (response *DescribeLogsResponse, err error)

DescribeLogs 本接口(DescribeLogs)用于查询设备日志列表。

设备日志最长保留时长为15天,超期自动清除。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeMessageQueue

func (c *Client) DescribeMessageQueue(request *DescribeMessageQueueRequest) (response *DescribeMessageQueueResponse, err error)

DescribeMessageQueue 本接口(DescribeMessageQueue)用于查询物联网智能视频产品转发消息配置。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeMessageQueueWithContext added in v1.0.324

func (c *Client) DescribeMessageQueueWithContext(ctx context.Context, request *DescribeMessageQueueRequest) (response *DescribeMessageQueueResponse, err error)

DescribeMessageQueue 本接口(DescribeMessageQueue)用于查询物联网智能视频产品转发消息配置。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeModelDataRet

func (c *Client) DescribeModelDataRet(request *DescribeModelDataRetRequest) (response *DescribeModelDataRetResponse, err error)

DescribeModelDataRet 本接口(DescribeModelDataRet)用于根据TaskId获取对设备物模型操作最终响应的结果。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeModelDataRetWithContext added in v1.0.324

func (c *Client) DescribeModelDataRetWithContext(ctx context.Context, request *DescribeModelDataRetRequest) (response *DescribeModelDataRetResponse, err error)

DescribeModelDataRet 本接口(DescribeModelDataRet)用于根据TaskId获取对设备物模型操作最终响应的结果。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeOsList

func (c *Client) DescribeOsList(request *DescribeOsListRequest) (response *DescribeOsListResponse, err error)

DescribeOsList 查看操作系统支持的芯片列表

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeOsListWithContext added in v1.0.324

func (c *Client) DescribeOsListWithContext(ctx context.Context, request *DescribeOsListRequest) (response *DescribeOsListResponse, err error)

DescribeOsList 查看操作系统支持的芯片列表

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeOtaVersions

func (c *Client) DescribeOtaVersions(request *DescribeOtaVersionsRequest) (response *DescribeOtaVersionsResponse, err error)

DescribeOtaVersions 本接口(DescribeOtaVersions)用于查询固件版本信息列表。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeOtaVersionsWithContext added in v1.0.324

func (c *Client) DescribeOtaVersionsWithContext(ctx context.Context, request *DescribeOtaVersionsRequest) (response *DescribeOtaVersionsResponse, err error)

DescribeOtaVersions 本接口(DescribeOtaVersions)用于查询固件版本信息列表。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeProduct

func (c *Client) DescribeProduct(request *DescribeProductRequest) (response *DescribeProductResponse, err error)

DescribeProduct 本接口(DescribeProduct)用于获取单个产品的详细信息。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeProductWithContext added in v1.0.324

func (c *Client) DescribeProductWithContext(ctx context.Context, request *DescribeProductRequest) (response *DescribeProductResponse, err error)

DescribeProduct 本接口(DescribeProduct)用于获取单个产品的详细信息。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeProducts

func (c *Client) DescribeProducts(request *DescribeProductsRequest) (response *DescribeProductsResponse, err error)

DescribeProducts 本接口(DescribeProducts)用于列出用户账号下的物联网智能视频产品列表。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeProductsWithContext added in v1.0.324

func (c *Client) DescribeProductsWithContext(ctx context.Context, request *DescribeProductsRequest) (response *DescribeProductsResponse, err error)

DescribeProducts 本接口(DescribeProducts)用于列出用户账号下的物联网智能视频产品列表。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribePubVersions

func (c *Client) DescribePubVersions(request *DescribePubVersionsRequest) (response *DescribePubVersionsResponse, err error)

DescribePubVersions 本接口(DescribePubVersions)用于获取某一产品发布过的全部固件版本。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribePubVersionsWithContext added in v1.0.324

func (c *Client) DescribePubVersionsWithContext(ctx context.Context, request *DescribePubVersionsRequest) (response *DescribePubVersionsResponse, err error)

DescribePubVersions 本接口(DescribePubVersions)用于获取某一产品发布过的全部固件版本。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeRechargeRecords

func (c *Client) DescribeRechargeRecords(request *DescribeRechargeRecordsRequest) (response *DescribeRechargeRecordsResponse, err error)

DescribeRechargeRecords 客户可通过本接口获取充值记录信息, 一次最多返回50条记录。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeRechargeRecordsWithContext added in v1.0.324

func (c *Client) DescribeRechargeRecordsWithContext(ctx context.Context, request *DescribeRechargeRecordsRequest) (response *DescribeRechargeRecordsResponse, err error)

DescribeRechargeRecords 客户可通过本接口获取充值记录信息, 一次最多返回50条记录。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeRegistrationStatus

func (c *Client) DescribeRegistrationStatus(request *DescribeRegistrationStatusRequest) (response *DescribeRegistrationStatusResponse, err error)

DescribeRegistrationStatus 本接口(DescribeRegistrationStatus)用于查询终端用户的注册状态。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeRegistrationStatusWithContext added in v1.0.324

func (c *Client) DescribeRegistrationStatusWithContext(ctx context.Context, request *DescribeRegistrationStatusRequest) (response *DescribeRegistrationStatusResponse, err error)

DescribeRegistrationStatus 本接口(DescribeRegistrationStatus)用于查询终端用户的注册状态。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeRunLog

func (c *Client) DescribeRunLog(request *DescribeRunLogRequest) (response *DescribeRunLogResponse, err error)

DescribeRunLog 本接口(DescribeRunLog)用于获取设备运行日志。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeRunLogWithContext added in v1.0.324

func (c *Client) DescribeRunLogWithContext(ctx context.Context, request *DescribeRunLogRequest) (response *DescribeRunLogResponse, err error)

DescribeRunLog 本接口(DescribeRunLog)用于获取设备运行日志。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeStorageService

func (c *Client) DescribeStorageService(request *DescribeStorageServiceRequest) (response *DescribeStorageServiceResponse, err error)

DescribeStorageService 查询云存服务

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeStorageServiceWithContext added in v1.0.324

func (c *Client) DescribeStorageServiceWithContext(ctx context.Context, request *DescribeStorageServiceRequest) (response *DescribeStorageServiceResponse, err error)

DescribeStorageService 查询云存服务

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeStream

func (c *Client) DescribeStream(request *DescribeStreamRequest) (response *DescribeStreamResponse, err error)

DescribeStream 请求设备直播流地址

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DEVICEFIRMWARETASKALREADDONE = "FailedOperation.DeviceFirmwareTaskAlreadDone"
FAILEDOPERATION_DEVICEISUPDATING = "FailedOperation.DeviceIsUpdating"
FAILEDOPERATION_DEVICERUNNINGOTHEROTATASK = "FailedOperation.DeviceRunningOtherOtaTask"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FIRMWAREALREADYEXIST = "InvalidParameterValue.FirmwareAlreadyExist"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_DEVICEFIRMWARETASKNOTEXIST = "ResourceNotFound.DeviceFirmwareTaskNotExist"
RESOURCENOTFOUND_DEVICEHASNOFIRMWARE = "ResourceNotFound.DeviceHasNoFirmware"
RESOURCENOTFOUND_FIRMWARENOTEXIST = "ResourceNotFound.FirmwareNotExist"
RESOURCENOTFOUND_FIRMWARETASKNOTEXIST = "ResourceNotFound.FirmwareTaskNotExist"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeStreamWithContext added in v1.0.324

func (c *Client) DescribeStreamWithContext(ctx context.Context, request *DescribeStreamRequest) (response *DescribeStreamResponse, err error)

DescribeStream 请求设备直播流地址

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DEVICEFIRMWARETASKALREADDONE = "FailedOperation.DeviceFirmwareTaskAlreadDone"
FAILEDOPERATION_DEVICEISUPDATING = "FailedOperation.DeviceIsUpdating"
FAILEDOPERATION_DEVICERUNNINGOTHEROTATASK = "FailedOperation.DeviceRunningOtherOtaTask"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FIRMWAREALREADYEXIST = "InvalidParameterValue.FirmwareAlreadyExist"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_DEVICEFIRMWARETASKNOTEXIST = "ResourceNotFound.DeviceFirmwareTaskNotExist"
RESOURCENOTFOUND_DEVICEHASNOFIRMWARE = "ResourceNotFound.DeviceHasNoFirmware"
RESOURCENOTFOUND_FIRMWARENOTEXIST = "ResourceNotFound.FirmwareNotExist"
RESOURCENOTFOUND_FIRMWARETASKNOTEXIST = "ResourceNotFound.FirmwareTaskNotExist"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeTraceIds

func (c *Client) DescribeTraceIds(request *DescribeTraceIdsRequest) (response *DescribeTraceIdsResponse, err error)

DescribeTraceIds 本接口(DescribeTraceIds)用于查询设备日志跟踪白名单。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeTraceIdsWithContext added in v1.0.324

func (c *Client) DescribeTraceIdsWithContext(ctx context.Context, request *DescribeTraceIdsRequest) (response *DescribeTraceIdsResponse, err error)

DescribeTraceIds 本接口(DescribeTraceIds)用于查询设备日志跟踪白名单。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeTraceStatus

func (c *Client) DescribeTraceStatus(request *DescribeTraceStatusRequest) (response *DescribeTraceStatusResponse, err error)

DescribeTraceStatus 本接口(DescribeTraceStatus)用于查询指定设备是否在白名单中。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeTraceStatusWithContext added in v1.0.324

func (c *Client) DescribeTraceStatusWithContext(ctx context.Context, request *DescribeTraceStatusRequest) (response *DescribeTraceStatusResponse, err error)

DescribeTraceStatus 本接口(DescribeTraceStatus)用于查询指定设备是否在白名单中。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DisableDevice

func (c *Client) DisableDevice(request *DisableDeviceRequest) (response *DisableDeviceResponse, err error)

DisableDevice 本接口(DisableDevice)用于禁用设备,可进行批量操作,每次操作最多100台设备。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DisableDeviceStream

func (c *Client) DisableDeviceStream(request *DisableDeviceStreamRequest) (response *DisableDeviceStreamResponse, err error)

DisableDeviceStream 本接口(DisableDeviceStream)用于停止设备推流,可进行批量操作,每次操作最多100台设备。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DisableDeviceStreamWithContext added in v1.0.324

func (c *Client) DisableDeviceStreamWithContext(ctx context.Context, request *DisableDeviceStreamRequest) (response *DisableDeviceStreamResponse, err error)

DisableDeviceStream 本接口(DisableDeviceStream)用于停止设备推流,可进行批量操作,每次操作最多100台设备。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DisableDeviceWithContext added in v1.0.324

func (c *Client) DisableDeviceWithContext(ctx context.Context, request *DisableDeviceRequest) (response *DisableDeviceResponse, err error)

DisableDevice 本接口(DisableDevice)用于禁用设备,可进行批量操作,每次操作最多100台设备。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DisableOtaVersion

func (c *Client) DisableOtaVersion(request *DisableOtaVersionRequest) (response *DisableOtaVersionResponse, err error)

DisableOtaVersion 本接口(DisableOtaVersion)用于禁用固件版本。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DisableOtaVersionWithContext added in v1.0.324

func (c *Client) DisableOtaVersionWithContext(ctx context.Context, request *DisableOtaVersionRequest) (response *DisableOtaVersionResponse, err error)

DisableOtaVersion 本接口(DisableOtaVersion)用于禁用固件版本。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyDevice

func (c *Client) ModifyDevice(request *ModifyDeviceRequest) (response *ModifyDeviceResponse, err error)

ModifyDevice 修改设备信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyDeviceAction

func (c *Client) ModifyDeviceAction(request *ModifyDeviceActionRequest) (response *ModifyDeviceActionResponse, err error)

ModifyDeviceAction 本接口(ModifyDeviceAction)用于修改设备物模型的行为(Action)。

可对ctlVal数据属性进行写入,如:Action.takePhoto.ctlVal,设备在线且成功发送到设备才返回,物模型写入数据时,不需要传入时标信息,平台以当前时标作为数据的时标更新物模型中的时标信息。

注意:

1.若设备当前不在线,会直接返回错误

2.若设备网络出现异常时,消息发送可能超时,超时等待最长时间为3秒

3.value的内容必须与实际物模型的定义一致

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyDeviceActionWithContext added in v1.0.324

func (c *Client) ModifyDeviceActionWithContext(ctx context.Context, request *ModifyDeviceActionRequest) (response *ModifyDeviceActionResponse, err error)

ModifyDeviceAction 本接口(ModifyDeviceAction)用于修改设备物模型的行为(Action)。

可对ctlVal数据属性进行写入,如:Action.takePhoto.ctlVal,设备在线且成功发送到设备才返回,物模型写入数据时,不需要传入时标信息,平台以当前时标作为数据的时标更新物模型中的时标信息。

注意:

1.若设备当前不在线,会直接返回错误

2.若设备网络出现异常时,消息发送可能超时,超时等待最长时间为3秒

3.value的内容必须与实际物模型的定义一致

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyDeviceProperty

func (c *Client) ModifyDeviceProperty(request *ModifyDevicePropertyRequest) (response *ModifyDevicePropertyResponse, err error)

ModifyDeviceProperty 本接口(ModifyDeviceProperty)用于修改设备物模型的属性(ProWritable)。

可对setVal数据属性进行写入,如:

ProWritable.Pos.setVal

对于嵌套类型的可写属性,可以仅对其部分数据内容进行写入,如:

ProWritable.Pos.setVal.x;

可写属性云端写入成功即返回;云端向设备端发布属性变更参数;若当前设备不在线,在设备下次上线时会自动更新这些属性参数;

物模型写入数据时,不需要传入时标信息,平台以当前时标作为数据的时标更新物模型中的时标信息。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyDevicePropertyWithContext added in v1.0.324

func (c *Client) ModifyDevicePropertyWithContext(ctx context.Context, request *ModifyDevicePropertyRequest) (response *ModifyDevicePropertyResponse, err error)

ModifyDeviceProperty 本接口(ModifyDeviceProperty)用于修改设备物模型的属性(ProWritable)。

可对setVal数据属性进行写入,如:

ProWritable.Pos.setVal

对于嵌套类型的可写属性,可以仅对其部分数据内容进行写入,如:

ProWritable.Pos.setVal.x;

可写属性云端写入成功即返回;云端向设备端发布属性变更参数;若当前设备不在线,在设备下次上线时会自动更新这些属性参数;

物模型写入数据时,不需要传入时标信息,平台以当前时标作为数据的时标更新物模型中的时标信息。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyDeviceWithContext added in v1.0.324

func (c *Client) ModifyDeviceWithContext(ctx context.Context, request *ModifyDeviceRequest) (response *ModifyDeviceResponse, err error)

ModifyDevice 修改设备信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyProduct

func (c *Client) ModifyProduct(request *ModifyProductRequest) (response *ModifyProductResponse, err error)

ModifyProduct 本接口(ModifyProduct)用于编辑物联网智能视频产品的相关信息。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyProductWithContext added in v1.0.324

func (c *Client) ModifyProductWithContext(ctx context.Context, request *ModifyProductRequest) (response *ModifyProductResponse, err error)

ModifyProduct 本接口(ModifyProduct)用于编辑物联网智能视频产品的相关信息。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyVerContent

func (c *Client) ModifyVerContent(request *ModifyVerContentRequest) (response *ModifyVerContentResponse, err error)

ModifyVerContent 编辑版本描述信息

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyVerContentWithContext added in v1.0.324

func (c *Client) ModifyVerContentWithContext(ctx context.Context, request *ModifyVerContentRequest) (response *ModifyVerContentResponse, err error)

ModifyVerContent 编辑版本描述信息

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) RefundStorageService

func (c *Client) RefundStorageService(request *RefundStorageServiceRequest) (response *RefundStorageServiceResponse, err error)

RefundStorageService 本接口(RefundStorageService)用于退订已购买的云存服务。

退订时,云存服务对应订单的处理方式 :

1. 未开始的订单自动回到已付费订单池

2. 已开始的订单自动失效

3. 购买云存接口,优先从已付费订单池中分配订单

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) RefundStorageServiceWithContext added in v1.0.324

func (c *Client) RefundStorageServiceWithContext(ctx context.Context, request *RefundStorageServiceRequest) (response *RefundStorageServiceResponse, err error)

RefundStorageService 本接口(RefundStorageService)用于退订已购买的云存服务。

退订时,云存服务对应订单的处理方式 :

1. 未开始的订单自动回到已付费订单池

2. 已开始的订单自动失效

3. 购买云存接口,优先从已付费订单池中分配订单

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) RunDevice

func (c *Client) RunDevice(request *RunDeviceRequest) (response *RunDeviceResponse, err error)

RunDevice 本接口(RunDevice)用于启用设备,可进行批量操作,每次操作最多100台设备。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) RunDeviceStream

func (c *Client) RunDeviceStream(request *RunDeviceStreamRequest) (response *RunDeviceStreamResponse, err error)

RunDeviceStream 本接口(RunDeviceStream)用于开启设备推流,可进行批量操作,每次操作最多100台设备。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) RunDeviceStreamWithContext added in v1.0.324

func (c *Client) RunDeviceStreamWithContext(ctx context.Context, request *RunDeviceStreamRequest) (response *RunDeviceStreamResponse, err error)

RunDeviceStream 本接口(RunDeviceStream)用于开启设备推流,可进行批量操作,每次操作最多100台设备。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) RunDeviceWithContext added in v1.0.324

func (c *Client) RunDeviceWithContext(ctx context.Context, request *RunDeviceRequest) (response *RunDeviceResponse, err error)

RunDevice 本接口(RunDevice)用于启用设备,可进行批量操作,每次操作最多100台设备。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) RunIotModel

func (c *Client) RunIotModel(request *RunIotModelRequest) (response *RunIotModelResponse, err error)

RunIotModel 本接口(RunIotModel)用于对定义的物模型进行发布。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) RunIotModelWithContext added in v1.0.324

func (c *Client) RunIotModelWithContext(ctx context.Context, request *RunIotModelRequest) (response *RunIotModelResponse, err error)

RunIotModel 本接口(RunIotModel)用于对定义的物模型进行发布。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) RunOtaVersion

func (c *Client) RunOtaVersion(request *RunOtaVersionRequest) (response *RunOtaVersionResponse, err error)

RunOtaVersion 本接口(RunOtaVersion)用于固件版本正式发布。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) RunOtaVersionWithContext added in v1.0.324

func (c *Client) RunOtaVersionWithContext(ctx context.Context, request *RunOtaVersionRequest) (response *RunOtaVersionResponse, err error)

RunOtaVersion 本接口(RunOtaVersion)用于固件版本正式发布。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) RunTestOtaVersion

func (c *Client) RunTestOtaVersion(request *RunTestOtaVersionRequest) (response *RunTestOtaVersionResponse, err error)

RunTestOtaVersion 本接口(RunTestOtaVersion)用于固件版本测试发布。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) RunTestOtaVersionWithContext added in v1.0.324

func (c *Client) RunTestOtaVersionWithContext(ctx context.Context, request *RunTestOtaVersionRequest) (response *RunTestOtaVersionResponse, err error)

RunTestOtaVersion 本接口(RunTestOtaVersion)用于固件版本测试发布。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) SendOnlineMsg

func (c *Client) SendOnlineMsg(request *SendOnlineMsgRequest) (response *SendOnlineMsgResponse, err error)

SendOnlineMsg 本接口(SendOnlineMsg)用于向设备发送在线消息。

注意:

若设备当前不在线,会直接返回错误;

若设备网络出现异常时,消息发送可能超时,超时等待最长时间为3秒.waitresp非0情况下,会导致本接口阻塞3秒。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) SendOnlineMsgWithContext added in v1.0.324

func (c *Client) SendOnlineMsgWithContext(ctx context.Context, request *SendOnlineMsgRequest) (response *SendOnlineMsgResponse, err error)

SendOnlineMsg 本接口(SendOnlineMsg)用于向设备发送在线消息。

注意:

若设备当前不在线,会直接返回错误;

若设备网络出现异常时,消息发送可能超时,超时等待最长时间为3秒.waitresp非0情况下,会导致本接口阻塞3秒。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) SetMessageQueue

func (c *Client) SetMessageQueue(request *SetMessageQueueRequest) (response *SetMessageQueueResponse, err error)

SetMessageQueue 本接口(SetMessageQueue)用于配置物联网智能视频产品的转发消息队列。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) SetMessageQueueWithContext added in v1.0.324

func (c *Client) SetMessageQueueWithContext(ctx context.Context, request *SetMessageQueueRequest) (response *SetMessageQueueResponse, err error)

SetMessageQueue 本接口(SetMessageQueue)用于配置物联网智能视频产品的转发消息队列。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UpgradeDevice

func (c *Client) UpgradeDevice(request *UpgradeDeviceRequest) (response *UpgradeDeviceResponse, err error)

UpgradeDevice 本接口(UpgradeDevice)用于对设备进行固件升级。

该接口向指定的设备下发固件更新指令,可将固件升级到任意版本(可实现固件降级)。

警告:使能UpgradeNow参数存在一定的风险性!建议仅在debug场景下使用!

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UpgradeDeviceWithContext added in v1.0.324

func (c *Client) UpgradeDeviceWithContext(ctx context.Context, request *UpgradeDeviceRequest) (response *UpgradeDeviceResponse, err error)

UpgradeDevice 本接口(UpgradeDevice)用于对设备进行固件升级。

该接口向指定的设备下发固件更新指令,可将固件升级到任意版本(可实现固件降级)。

警告:使能UpgradeNow参数存在一定的风险性!建议仅在debug场景下使用!

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UploadOtaVersion

func (c *Client) UploadOtaVersion(request *UploadOtaVersionRequest) (response *UploadOtaVersionResponse, err error)

UploadOtaVersion 本接口(UploadOtaVersion)接收上传到控制台的固件版本信息。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UploadOtaVersionWithContext added in v1.0.324

func (c *Client) UploadOtaVersionWithContext(ctx context.Context, request *UploadOtaVersionRequest) (response *UploadOtaVersionResponse, err error)

UploadOtaVersion 本接口(UploadOtaVersion)接收上传到控制台的固件版本信息。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure"
AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_PERMISSIONDENIED = "FailedOperation.PermissionDenied"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TID = "InvalidParameterValue.Tid"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

type Contents

type Contents struct {
	// 英文,长度不超过300个字符
	// 注意:此字段可能返回 null,表示取不到有效值。
	En *string `json:"En,omitnil,omitempty" name:"En"`

	// 中文简体,长度不超过300个字符
	// 注意:此字段可能返回 null,表示取不到有效值。
	Cn *string `json:"Cn,omitnil,omitempty" name:"Cn"`

	// 中文繁体(Traditional Chinese),长度不超过300个字符
	// 注意:此字段可能返回 null,表示取不到有效值。
	Tc *string `json:"Tc,omitnil,omitempty" name:"Tc"`

	// 默认语言,最多不超过300个字符
	// 注意:此字段可能返回 null,表示取不到有效值。
	Default *string `json:"Default,omitnil,omitempty" name:"Default"`
}

type CreateAnonymousAccessTokenRequest

type CreateAnonymousAccessTokenRequest struct {
	*tchttp.BaseRequest

	// Token的TTL(time to alive)分钟数,最大值1440(即24小时)
	TtlMinutes *int64 `json:"TtlMinutes,omitnil,omitempty" name:"TtlMinutes"`

	// 设备ID。创建Token时, 此参数为必须项
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 旧的AccessToken。续期Token时,此参数为必须
	OldAccessToken *string `json:"OldAccessToken,omitnil,omitempty" name:"OldAccessToken"`
}

func NewCreateAnonymousAccessTokenRequest

func NewCreateAnonymousAccessTokenRequest() (request *CreateAnonymousAccessTokenRequest)

func (*CreateAnonymousAccessTokenRequest) FromJsonString

func (r *CreateAnonymousAccessTokenRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAnonymousAccessTokenRequest) ToJsonString

func (r *CreateAnonymousAccessTokenRequest) ToJsonString() string

type CreateAnonymousAccessTokenRequestParams added in v1.0.426

type CreateAnonymousAccessTokenRequestParams struct {
	// Token的TTL(time to alive)分钟数,最大值1440(即24小时)
	TtlMinutes *int64 `json:"TtlMinutes,omitnil,omitempty" name:"TtlMinutes"`

	// 设备ID。创建Token时, 此参数为必须项
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 旧的AccessToken。续期Token时,此参数为必须
	OldAccessToken *string `json:"OldAccessToken,omitnil,omitempty" name:"OldAccessToken"`
}

Predefined struct for user

type CreateAnonymousAccessTokenResponse

type CreateAnonymousAccessTokenResponse struct {
	*tchttp.BaseResponse
	Response *CreateAnonymousAccessTokenResponseParams `json:"Response"`
}

func NewCreateAnonymousAccessTokenResponse

func NewCreateAnonymousAccessTokenResponse() (response *CreateAnonymousAccessTokenResponse)

func (*CreateAnonymousAccessTokenResponse) FromJsonString

func (r *CreateAnonymousAccessTokenResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAnonymousAccessTokenResponse) ToJsonString

func (r *CreateAnonymousAccessTokenResponse) ToJsonString() string

type CreateAnonymousAccessTokenResponseParams added in v1.0.426

type CreateAnonymousAccessTokenResponseParams struct {
	// 终端用户在IoT Video上的唯一标识ID
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`

	// IoT Video平台的AccessToken
	AccessToken *string `json:"AccessToken,omitnil,omitempty" name:"AccessToken"`

	// Token的过期时间,单位秒(UTC时间)
	ExpireTime *int64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateAppUsrRequest

type CreateAppUsrRequest struct {
	*tchttp.BaseRequest

	// 标识用户的唯一ID,防止同一个用户多次注册
	CunionId *string `json:"CunionId,omitnil,omitempty" name:"CunionId"`

	// 用于小程序关联手机号
	Mobile *string `json:"Mobile,omitnil,omitempty" name:"Mobile"`
}

func NewCreateAppUsrRequest

func NewCreateAppUsrRequest() (request *CreateAppUsrRequest)

func (*CreateAppUsrRequest) FromJsonString

func (r *CreateAppUsrRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAppUsrRequest) ToJsonString

func (r *CreateAppUsrRequest) ToJsonString() string

type CreateAppUsrRequestParams added in v1.0.426

type CreateAppUsrRequestParams struct {
	// 标识用户的唯一ID,防止同一个用户多次注册
	CunionId *string `json:"CunionId,omitnil,omitempty" name:"CunionId"`

	// 用于小程序关联手机号
	Mobile *string `json:"Mobile,omitnil,omitempty" name:"Mobile"`
}

Predefined struct for user

type CreateAppUsrResponse

type CreateAppUsrResponse struct {
	*tchttp.BaseResponse
	Response *CreateAppUsrResponseParams `json:"Response"`
}

func NewCreateAppUsrResponse

func NewCreateAppUsrResponse() (response *CreateAppUsrResponse)

func (*CreateAppUsrResponse) FromJsonString

func (r *CreateAppUsrResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAppUsrResponse) ToJsonString

func (r *CreateAppUsrResponse) ToJsonString() string

type CreateAppUsrResponseParams added in v1.0.426

type CreateAppUsrResponseParams struct {
	// 厂商云标识用户的唯一ID
	CunionId *string `json:"CunionId,omitnil,omitempty" name:"CunionId"`

	// 客户的终端用户在IoT Video上的唯一标识ID
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`

	// 用户是否为新创建
	NewRegist *bool `json:"NewRegist,omitnil,omitempty" name:"NewRegist"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateBindingRequest

type CreateBindingRequest struct {
	*tchttp.BaseRequest

	// 终端用户在IoT Video上的唯一标识ID
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`

	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 用户角色,owner:主人,guest:访客
	Role *string `json:"Role,omitnil,omitempty" name:"Role"`

	// 是否踢掉之前的主人,true:踢掉;false:不踢掉。当role为guest时,可以不填
	ForceBind *bool `json:"ForceBind,omitnil,omitempty" name:"ForceBind"`

	// 设备昵称,最多不超过64个字符
	Nick *string `json:"Nick,omitnil,omitempty" name:"Nick"`

	// 绑定过程中的会话token,由设备通过SDK接口确认是否允许绑定的token,用于增加设备被绑定的安全性
	BindToken *string `json:"BindToken,omitnil,omitempty" name:"BindToken"`
}

func NewCreateBindingRequest

func NewCreateBindingRequest() (request *CreateBindingRequest)

func (*CreateBindingRequest) FromJsonString

func (r *CreateBindingRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateBindingRequest) ToJsonString

func (r *CreateBindingRequest) ToJsonString() string

type CreateBindingRequestParams added in v1.0.426

type CreateBindingRequestParams struct {
	// 终端用户在IoT Video上的唯一标识ID
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`

	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 用户角色,owner:主人,guest:访客
	Role *string `json:"Role,omitnil,omitempty" name:"Role"`

	// 是否踢掉之前的主人,true:踢掉;false:不踢掉。当role为guest时,可以不填
	ForceBind *bool `json:"ForceBind,omitnil,omitempty" name:"ForceBind"`

	// 设备昵称,最多不超过64个字符
	Nick *string `json:"Nick,omitnil,omitempty" name:"Nick"`

	// 绑定过程中的会话token,由设备通过SDK接口确认是否允许绑定的token,用于增加设备被绑定的安全性
	BindToken *string `json:"BindToken,omitnil,omitempty" name:"BindToken"`
}

Predefined struct for user

type CreateBindingResponse

type CreateBindingResponse struct {
	*tchttp.BaseResponse
	Response *CreateBindingResponseParams `json:"Response"`
}

func NewCreateBindingResponse

func NewCreateBindingResponse() (response *CreateBindingResponse)

func (*CreateBindingResponse) FromJsonString

func (r *CreateBindingResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateBindingResponse) ToJsonString

func (r *CreateBindingResponse) ToJsonString() string

type CreateBindingResponseParams added in v1.0.426

type CreateBindingResponseParams struct {
	// 访问设备的AccessToken
	AccessToken *string `json:"AccessToken,omitnil,omitempty" name:"AccessToken"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateDevTokenRequest

type CreateDevTokenRequest struct {
	*tchttp.BaseRequest

	// 客户的终端用户在IoT Video上的唯一标识ID
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`

	// 设备TID列表,0<元素数量<=100
	Tids []*string `json:"Tids,omitnil,omitempty" name:"Tids"`

	// Token的TTL(time to alive)分钟数
	TtlMinutes *uint64 `json:"TtlMinutes,omitnil,omitempty" name:"TtlMinutes"`
}

func NewCreateDevTokenRequest

func NewCreateDevTokenRequest() (request *CreateDevTokenRequest)

func (*CreateDevTokenRequest) FromJsonString

func (r *CreateDevTokenRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDevTokenRequest) ToJsonString

func (r *CreateDevTokenRequest) ToJsonString() string

type CreateDevTokenRequestParams added in v1.0.426

type CreateDevTokenRequestParams struct {
	// 客户的终端用户在IoT Video上的唯一标识ID
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`

	// 设备TID列表,0<元素数量<=100
	Tids []*string `json:"Tids,omitnil,omitempty" name:"Tids"`

	// Token的TTL(time to alive)分钟数
	TtlMinutes *uint64 `json:"TtlMinutes,omitnil,omitempty" name:"TtlMinutes"`
}

Predefined struct for user

type CreateDevTokenResponse

type CreateDevTokenResponse struct {
	*tchttp.BaseResponse
	Response *CreateDevTokenResponseParams `json:"Response"`
}

func NewCreateDevTokenResponse

func NewCreateDevTokenResponse() (response *CreateDevTokenResponse)

func (*CreateDevTokenResponse) FromJsonString

func (r *CreateDevTokenResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDevTokenResponse) ToJsonString

func (r *CreateDevTokenResponse) ToJsonString() string

type CreateDevTokenResponseParams added in v1.0.426

type CreateDevTokenResponseParams struct {
	// 返回的用户token列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data []*DevTokenInfo `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateDevicesRequest

type CreateDevicesRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 创建设备的数量,数量范围1-100
	Number *uint64 `json:"Number,omitnil,omitempty" name:"Number"`

	// 设备名称前缀,支持英文、数字,不超过10字符
	NamePrefix *string `json:"NamePrefix,omitnil,omitempty" name:"NamePrefix"`

	// 操作人
	Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"`
}

func NewCreateDevicesRequest

func NewCreateDevicesRequest() (request *CreateDevicesRequest)

func (*CreateDevicesRequest) FromJsonString

func (r *CreateDevicesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDevicesRequest) ToJsonString

func (r *CreateDevicesRequest) ToJsonString() string

type CreateDevicesRequestParams added in v1.0.426

type CreateDevicesRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 创建设备的数量,数量范围1-100
	Number *uint64 `json:"Number,omitnil,omitempty" name:"Number"`

	// 设备名称前缀,支持英文、数字,不超过10字符
	NamePrefix *string `json:"NamePrefix,omitnil,omitempty" name:"NamePrefix"`

	// 操作人
	Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"`
}

Predefined struct for user

type CreateDevicesResponse

type CreateDevicesResponse struct {
	*tchttp.BaseResponse
	Response *CreateDevicesResponseParams `json:"Response"`
}

func NewCreateDevicesResponse

func NewCreateDevicesResponse() (response *CreateDevicesResponse)

func (*CreateDevicesResponse) FromJsonString

func (r *CreateDevicesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDevicesResponse) ToJsonString

func (r *CreateDevicesResponse) ToJsonString() string

type CreateDevicesResponseParams added in v1.0.426

type CreateDevicesResponseParams struct {
	// 新创建设备的认证信息
	Data []*DeviceCertificate `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateGencodeRequest

type CreateGencodeRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 物模型发布版本号,-1代表未发布的,保存的是草稿箱的版本。1代表已发布的物模型。
	Revision *int64 `json:"Revision,omitnil,omitempty" name:"Revision"`
}

func NewCreateGencodeRequest

func NewCreateGencodeRequest() (request *CreateGencodeRequest)

func (*CreateGencodeRequest) FromJsonString

func (r *CreateGencodeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateGencodeRequest) ToJsonString

func (r *CreateGencodeRequest) ToJsonString() string

type CreateGencodeRequestParams added in v1.0.426

type CreateGencodeRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 物模型发布版本号,-1代表未发布的,保存的是草稿箱的版本。1代表已发布的物模型。
	Revision *int64 `json:"Revision,omitnil,omitempty" name:"Revision"`
}

Predefined struct for user

type CreateGencodeResponse

type CreateGencodeResponse struct {
	*tchttp.BaseResponse
	Response *CreateGencodeResponseParams `json:"Response"`
}

func NewCreateGencodeResponse

func NewCreateGencodeResponse() (response *CreateGencodeResponse)

func (*CreateGencodeResponse) FromJsonString

func (r *CreateGencodeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateGencodeResponse) ToJsonString

func (r *CreateGencodeResponse) ToJsonString() string

type CreateGencodeResponseParams added in v1.0.426

type CreateGencodeResponseParams struct {
	// 生成的源代码(zip压缩后的base64编码)
	// 注意:此字段可能返回 null,表示取不到有效值。
	ZipCode *string `json:"ZipCode,omitnil,omitempty" name:"ZipCode"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateIotDataTypeRequest

type CreateIotDataTypeRequest struct {
	*tchttp.BaseRequest

	// 用户自定义数据类型,json格式的字符串
	IotDataType *string `json:"IotDataType,omitnil,omitempty" name:"IotDataType"`
}

func NewCreateIotDataTypeRequest

func NewCreateIotDataTypeRequest() (request *CreateIotDataTypeRequest)

func (*CreateIotDataTypeRequest) FromJsonString

func (r *CreateIotDataTypeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateIotDataTypeRequest) ToJsonString

func (r *CreateIotDataTypeRequest) ToJsonString() string

type CreateIotDataTypeRequestParams added in v1.0.426

type CreateIotDataTypeRequestParams struct {
	// 用户自定义数据类型,json格式的字符串
	IotDataType *string `json:"IotDataType,omitnil,omitempty" name:"IotDataType"`
}

Predefined struct for user

type CreateIotDataTypeResponse

type CreateIotDataTypeResponse struct {
	*tchttp.BaseResponse
	Response *CreateIotDataTypeResponseParams `json:"Response"`
}

func NewCreateIotDataTypeResponse

func NewCreateIotDataTypeResponse() (response *CreateIotDataTypeResponse)

func (*CreateIotDataTypeResponse) FromJsonString

func (r *CreateIotDataTypeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateIotDataTypeResponse) ToJsonString

func (r *CreateIotDataTypeResponse) ToJsonString() string

type CreateIotDataTypeResponseParams added in v1.0.426

type CreateIotDataTypeResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateIotModelRequest

type CreateIotModelRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 物模型json串
	IotModel *string `json:"IotModel,omitnil,omitempty" name:"IotModel"`
}

func NewCreateIotModelRequest

func NewCreateIotModelRequest() (request *CreateIotModelRequest)

func (*CreateIotModelRequest) FromJsonString

func (r *CreateIotModelRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateIotModelRequest) ToJsonString

func (r *CreateIotModelRequest) ToJsonString() string

type CreateIotModelRequestParams added in v1.0.426

type CreateIotModelRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 物模型json串
	IotModel *string `json:"IotModel,omitnil,omitempty" name:"IotModel"`
}

Predefined struct for user

type CreateIotModelResponse

type CreateIotModelResponse struct {
	*tchttp.BaseResponse
	Response *CreateIotModelResponseParams `json:"Response"`
}

func NewCreateIotModelResponse

func NewCreateIotModelResponse() (response *CreateIotModelResponse)

func (*CreateIotModelResponse) FromJsonString

func (r *CreateIotModelResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateIotModelResponse) ToJsonString

func (r *CreateIotModelResponse) ToJsonString() string

type CreateIotModelResponseParams added in v1.0.426

type CreateIotModelResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateProductRequest

type CreateProductRequest struct {
	*tchttp.BaseRequest

	// 产器型号(APP产品,为APP包名)
	ProductModel *string `json:"ProductModel,omitnil,omitempty" name:"ProductModel"`

	// 产品名称
	// 仅支持中文、英文、数字、下划线,不超过32个字符
	ProductName *string `json:"ProductName,omitnil,omitempty" name:"ProductName"`

	// 产品描述信息
	// 不支持单引号、双引号、退格符、回车符、换行符、制表符、反斜杠、下划线、“%”、“#”、“$”,不超过128字符
	ProductDescription *string `json:"ProductDescription,omitnil,omitempty" name:"ProductDescription"`

	// 设备功能码(ypsxth:音频双向通话 ,spdxth:视频单向通话)
	Features []*string `json:"Features,omitnil,omitempty" name:"Features"`

	// 主芯片产商ID
	ChipManufactureId *string `json:"ChipManufactureId,omitnil,omitempty" name:"ChipManufactureId"`

	// 主芯片ID
	ChipId *string `json:"ChipId,omitnil,omitempty" name:"ChipId"`

	// 地域:
	// China-Mainland(中国大陆)
	// China-Hong Kong, Macao and Taiwan(港澳台地区)
	// America(美国)
	// Europe(欧洲)
	// India(印度)
	// Other-Overseas(其他境外地区)
	ProductRegion *string `json:"ProductRegion,omitnil,omitempty" name:"ProductRegion"`

	// 设备类型, 0-普通视频设备,1-NVR设备
	ProductCate *uint64 `json:"ProductCate,omitnil,omitempty" name:"ProductCate"`

	// 接入模型,bit0是0:公版小程序未接入,bit0是1:公版小程序已接入
	AccessMode *int64 `json:"AccessMode,omitnil,omitempty" name:"AccessMode"`

	// Linux,Android,Liteos等系统
	Os *string `json:"Os,omitnil,omitempty" name:"Os"`

	// 芯片架构,只是针对操作系统为android的
	ChipArch *string `json:"ChipArch,omitnil,omitempty" name:"ChipArch"`
}

func NewCreateProductRequest

func NewCreateProductRequest() (request *CreateProductRequest)

func (*CreateProductRequest) FromJsonString

func (r *CreateProductRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateProductRequest) ToJsonString

func (r *CreateProductRequest) ToJsonString() string

type CreateProductRequestParams added in v1.0.426

type CreateProductRequestParams struct {
	// 产器型号(APP产品,为APP包名)
	ProductModel *string `json:"ProductModel,omitnil,omitempty" name:"ProductModel"`

	// 产品名称
	// 仅支持中文、英文、数字、下划线,不超过32个字符
	ProductName *string `json:"ProductName,omitnil,omitempty" name:"ProductName"`

	// 产品描述信息
	// 不支持单引号、双引号、退格符、回车符、换行符、制表符、反斜杠、下划线、“%”、“#”、“$”,不超过128字符
	ProductDescription *string `json:"ProductDescription,omitnil,omitempty" name:"ProductDescription"`

	// 设备功能码(ypsxth:音频双向通话 ,spdxth:视频单向通话)
	Features []*string `json:"Features,omitnil,omitempty" name:"Features"`

	// 主芯片产商ID
	ChipManufactureId *string `json:"ChipManufactureId,omitnil,omitempty" name:"ChipManufactureId"`

	// 主芯片ID
	ChipId *string `json:"ChipId,omitnil,omitempty" name:"ChipId"`

	// 地域:
	// China-Mainland(中国大陆)
	// China-Hong Kong, Macao and Taiwan(港澳台地区)
	// America(美国)
	// Europe(欧洲)
	// India(印度)
	// Other-Overseas(其他境外地区)
	ProductRegion *string `json:"ProductRegion,omitnil,omitempty" name:"ProductRegion"`

	// 设备类型, 0-普通视频设备,1-NVR设备
	ProductCate *uint64 `json:"ProductCate,omitnil,omitempty" name:"ProductCate"`

	// 接入模型,bit0是0:公版小程序未接入,bit0是1:公版小程序已接入
	AccessMode *int64 `json:"AccessMode,omitnil,omitempty" name:"AccessMode"`

	// Linux,Android,Liteos等系统
	Os *string `json:"Os,omitnil,omitempty" name:"Os"`

	// 芯片架构,只是针对操作系统为android的
	ChipArch *string `json:"ChipArch,omitnil,omitempty" name:"ChipArch"`
}

Predefined struct for user

type CreateProductResponse

type CreateProductResponse struct {
	*tchttp.BaseResponse
	Response *CreateProductResponseParams `json:"Response"`
}

func NewCreateProductResponse

func NewCreateProductResponse() (response *CreateProductResponse)

func (*CreateProductResponse) FromJsonString

func (r *CreateProductResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateProductResponse) ToJsonString

func (r *CreateProductResponse) ToJsonString() string

type CreateProductResponseParams added in v1.0.426

type CreateProductResponseParams struct {
	// 产品详细信息
	Data *ProductBase `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateStorageRequest

type CreateStorageRequest struct {
	*tchttp.BaseRequest

	// 云存套餐ID
	PkgId *string `json:"PkgId,omitnil,omitempty" name:"PkgId"`

	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 用户唯一标识,由厂商保证内部唯一性
	UserTag *string `json:"UserTag,omitnil,omitempty" name:"UserTag"`
}

func NewCreateStorageRequest

func NewCreateStorageRequest() (request *CreateStorageRequest)

func (*CreateStorageRequest) FromJsonString

func (r *CreateStorageRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStorageRequest) ToJsonString

func (r *CreateStorageRequest) ToJsonString() string

type CreateStorageRequestParams added in v1.0.426

type CreateStorageRequestParams struct {
	// 云存套餐ID
	PkgId *string `json:"PkgId,omitnil,omitempty" name:"PkgId"`

	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 用户唯一标识,由厂商保证内部唯一性
	UserTag *string `json:"UserTag,omitnil,omitempty" name:"UserTag"`
}

Predefined struct for user

type CreateStorageResponse

type CreateStorageResponse struct {
	*tchttp.BaseResponse
	Response *CreateStorageResponseParams `json:"Response"`
}

func NewCreateStorageResponse

func NewCreateStorageResponse() (response *CreateStorageResponse)

func (*CreateStorageResponse) FromJsonString

func (r *CreateStorageResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStorageResponse) ToJsonString

func (r *CreateStorageResponse) ToJsonString() string

type CreateStorageResponseParams added in v1.0.426

type CreateStorageResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateStorageServiceRequest

type CreateStorageServiceRequest struct {
	*tchttp.BaseRequest

	// 云存套餐ID:
	// yc1m3d : 全时3天存储月套餐。
	// yc1m7d : 全时7天存储月套餐。
	// yc1m30d :全时30天存储月套餐。
	// yc1y3d :全时3天存储年套餐。
	// yc1y7d :全时7天存储年套餐。
	// yc1y30d :全时30天存储年套餐。
	// ye1m3d :事件3天存储月套餐。
	// ye1m7d :事件7天存储月套餐。
	// ye1m30d :事件30天存储月套餐 。
	// ye1y3d :事件3天存储年套餐。
	// ye1y7d :事件7天存储年套餐。
	// ye1y30d :事件30天存储年套餐。
	// yc1w7d : 全时7天存储周套餐。
	// ye1w7d : 事件7天存储周套餐。
	PkgId *string `json:"PkgId,omitnil,omitempty" name:"PkgId"`

	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 订单数量,可一次性创建多个订单
	OrderCount *int64 `json:"OrderCount,omitnil,omitempty" name:"OrderCount"`

	// 云存服务所在的区域,如ap-guangzhou,ap-singapore, na-siliconvalley, eu-frankfurt
	StorageRegion *string `json:"StorageRegion,omitnil,omitempty" name:"StorageRegion"`

	// 视频流通道号。(对于存在多路视频流的设备,如NVR设备,与设备实际视频流通道号对应)
	ChnNum *int64 `json:"ChnNum,omitnil,omitempty" name:"ChnNum"`

	// 设备主人用户在IoT Video平台的注册ID。该参数用于验证Paas/Saas平台的设备/用户关系链是否一致
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`

	// 服务生效时间,若不指定此参数,服务立即生效
	EnableTime *int64 `json:"EnableTime,omitnil,omitempty" name:"EnableTime"`
}

func NewCreateStorageServiceRequest

func NewCreateStorageServiceRequest() (request *CreateStorageServiceRequest)

func (*CreateStorageServiceRequest) FromJsonString

func (r *CreateStorageServiceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStorageServiceRequest) ToJsonString

func (r *CreateStorageServiceRequest) ToJsonString() string

type CreateStorageServiceRequestParams added in v1.0.426

type CreateStorageServiceRequestParams struct {
	// 云存套餐ID:
	// yc1m3d : 全时3天存储月套餐。
	// yc1m7d : 全时7天存储月套餐。
	// yc1m30d :全时30天存储月套餐。
	// yc1y3d :全时3天存储年套餐。
	// yc1y7d :全时7天存储年套餐。
	// yc1y30d :全时30天存储年套餐。
	// ye1m3d :事件3天存储月套餐。
	// ye1m7d :事件7天存储月套餐。
	// ye1m30d :事件30天存储月套餐 。
	// ye1y3d :事件3天存储年套餐。
	// ye1y7d :事件7天存储年套餐。
	// ye1y30d :事件30天存储年套餐。
	// yc1w7d : 全时7天存储周套餐。
	// ye1w7d : 事件7天存储周套餐。
	PkgId *string `json:"PkgId,omitnil,omitempty" name:"PkgId"`

	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 订单数量,可一次性创建多个订单
	OrderCount *int64 `json:"OrderCount,omitnil,omitempty" name:"OrderCount"`

	// 云存服务所在的区域,如ap-guangzhou,ap-singapore, na-siliconvalley, eu-frankfurt
	StorageRegion *string `json:"StorageRegion,omitnil,omitempty" name:"StorageRegion"`

	// 视频流通道号。(对于存在多路视频流的设备,如NVR设备,与设备实际视频流通道号对应)
	ChnNum *int64 `json:"ChnNum,omitnil,omitempty" name:"ChnNum"`

	// 设备主人用户在IoT Video平台的注册ID。该参数用于验证Paas/Saas平台的设备/用户关系链是否一致
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`

	// 服务生效时间,若不指定此参数,服务立即生效
	EnableTime *int64 `json:"EnableTime,omitnil,omitempty" name:"EnableTime"`
}

Predefined struct for user

type CreateStorageServiceResponse

type CreateStorageServiceResponse struct {
	*tchttp.BaseResponse
	Response *CreateStorageServiceResponseParams `json:"Response"`
}

func NewCreateStorageServiceResponse

func NewCreateStorageServiceResponse() (response *CreateStorageServiceResponse)

func (*CreateStorageServiceResponse) FromJsonString

func (r *CreateStorageServiceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStorageServiceResponse) ToJsonString

func (r *CreateStorageServiceResponse) ToJsonString() string

type CreateStorageServiceResponseParams added in v1.0.426

type CreateStorageServiceResponseParams struct {
	// 标志是否为续订
	IsRenew *bool `json:"IsRenew,omitnil,omitempty" name:"IsRenew"`

	// 云存服务ID
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// 云存服务所在的区域
	StorageRegion *string `json:"StorageRegion,omitnil,omitempty" name:"StorageRegion"`

	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 视频流通道号。(对于存在多路视频流的设备,如NVR设备,与设备实际视频流通道号对应)
	ChnNum *int64 `json:"ChnNum,omitnil,omitempty" name:"ChnNum"`

	// 终端用户在IoT Video平台的注册ID
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`

	// 服务开始时间
	StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 服务失效时间
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 服务状态
	// 1:正常使用中
	// 2:待续费。设备云存服务已到期,但是历史云存数据未过期。续费后仍可查看这些历史数据。
	// 3:已过期。查询不到设备保存在云端的数据。
	// 4:等待服务生效。
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 新增的云存定单列表
	Data []*StorageOrder `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateTraceIdsRequest

type CreateTraceIdsRequest struct {
	*tchttp.BaseRequest

	// 设备TID列表
	Tids []*string `json:"Tids,omitnil,omitempty" name:"Tids"`
}

func NewCreateTraceIdsRequest

func NewCreateTraceIdsRequest() (request *CreateTraceIdsRequest)

func (*CreateTraceIdsRequest) FromJsonString

func (r *CreateTraceIdsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTraceIdsRequest) ToJsonString

func (r *CreateTraceIdsRequest) ToJsonString() string

type CreateTraceIdsRequestParams added in v1.0.426

type CreateTraceIdsRequestParams struct {
	// 设备TID列表
	Tids []*string `json:"Tids,omitnil,omitempty" name:"Tids"`
}

Predefined struct for user

type CreateTraceIdsResponse

type CreateTraceIdsResponse struct {
	*tchttp.BaseResponse
	Response *CreateTraceIdsResponseParams `json:"Response"`
}

func NewCreateTraceIdsResponse

func NewCreateTraceIdsResponse() (response *CreateTraceIdsResponse)

func (*CreateTraceIdsResponse) FromJsonString

func (r *CreateTraceIdsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTraceIdsResponse) ToJsonString

func (r *CreateTraceIdsResponse) ToJsonString() string

type CreateTraceIdsResponseParams added in v1.0.426

type CreateTraceIdsResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateUploadPathRequest

type CreateUploadPathRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 固件文件名
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`
}

func NewCreateUploadPathRequest

func NewCreateUploadPathRequest() (request *CreateUploadPathRequest)

func (*CreateUploadPathRequest) FromJsonString

func (r *CreateUploadPathRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateUploadPathRequest) ToJsonString

func (r *CreateUploadPathRequest) ToJsonString() string

type CreateUploadPathRequestParams added in v1.0.426

type CreateUploadPathRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 固件文件名
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`
}

Predefined struct for user

type CreateUploadPathResponse

type CreateUploadPathResponse struct {
	*tchttp.BaseResponse
	Response *CreateUploadPathResponseParams `json:"Response"`
}

func NewCreateUploadPathResponse

func NewCreateUploadPathResponse() (response *CreateUploadPathResponse)

func (*CreateUploadPathResponse) FromJsonString

func (r *CreateUploadPathResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateUploadPathResponse) ToJsonString

func (r *CreateUploadPathResponse) ToJsonString() string

type CreateUploadPathResponseParams added in v1.0.426

type CreateUploadPathResponseParams struct {
	// 固件上传地址URL,用户可将本地的固件文件通过该URL以PUT的请求方式上传。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data *string `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateUsrTokenRequest

type CreateUsrTokenRequest struct {
	*tchttp.BaseRequest

	// 终端用户在IoT Video上的唯一标识ID
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`

	// 终端唯一ID,用于区分同一个用户的多个终端
	UniqueId *string `json:"UniqueId,omitnil,omitempty" name:"UniqueId"`

	// Token的TTL(time to alive)分钟数
	TtlMinutes *uint64 `json:"TtlMinutes,omitnil,omitempty" name:"TtlMinutes"`

	// 旧的AccessToken。续期Token时,此参数为必须。
	OldAccessToken *string `json:"OldAccessToken,omitnil,omitempty" name:"OldAccessToken"`
}

func NewCreateUsrTokenRequest

func NewCreateUsrTokenRequest() (request *CreateUsrTokenRequest)

func (*CreateUsrTokenRequest) FromJsonString

func (r *CreateUsrTokenRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateUsrTokenRequest) ToJsonString

func (r *CreateUsrTokenRequest) ToJsonString() string

type CreateUsrTokenRequestParams added in v1.0.426

type CreateUsrTokenRequestParams struct {
	// 终端用户在IoT Video上的唯一标识ID
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`

	// 终端唯一ID,用于区分同一个用户的多个终端
	UniqueId *string `json:"UniqueId,omitnil,omitempty" name:"UniqueId"`

	// Token的TTL(time to alive)分钟数
	TtlMinutes *uint64 `json:"TtlMinutes,omitnil,omitempty" name:"TtlMinutes"`

	// 旧的AccessToken。续期Token时,此参数为必须。
	OldAccessToken *string `json:"OldAccessToken,omitnil,omitempty" name:"OldAccessToken"`
}

Predefined struct for user

type CreateUsrTokenResponse

type CreateUsrTokenResponse struct {
	*tchttp.BaseResponse
	Response *CreateUsrTokenResponseParams `json:"Response"`
}

func NewCreateUsrTokenResponse

func NewCreateUsrTokenResponse() (response *CreateUsrTokenResponse)

func (*CreateUsrTokenResponse) FromJsonString

func (r *CreateUsrTokenResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateUsrTokenResponse) ToJsonString

func (r *CreateUsrTokenResponse) ToJsonString() string

type CreateUsrTokenResponseParams added in v1.0.426

type CreateUsrTokenResponseParams struct {
	// 终端用户在IoT Video上的唯一标识ID
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`

	// IoT Video平台的AccessToken
	AccessToken *string `json:"AccessToken,omitnil,omitempty" name:"AccessToken"`

	// Token的过期时间,单位秒(UTC时间)
	ExpireTime *uint64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// 终端ID
	TerminalId *string `json:"TerminalId,omitnil,omitempty" name:"TerminalId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type Data

type Data struct {
	// 直播协议
	// 注意:此字段可能返回 null,表示取不到有效值。
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// 流媒体播放地址
	// 注意:此字段可能返回 null,表示取不到有效值。
	URI *string `json:"URI,omitnil,omitempty" name:"URI"`

	// 流媒体地址过期时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	ExpireTime *int64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// 视频编码
	// 注意:此字段可能返回 null,表示取不到有效值。
	VideoCodec *string `json:"VideoCodec,omitnil,omitempty" name:"VideoCodec"`

	// 音频编码
	// 注意:此字段可能返回 null,表示取不到有效值。
	AudioCodec *string `json:"AudioCodec,omitnil,omitempty" name:"AudioCodec"`
}

type DeleteAppUsrRequest

type DeleteAppUsrRequest struct {
	*tchttp.BaseRequest

	// 客户的终端用户在IoT Video上的唯一标识ID
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`
}

func NewDeleteAppUsrRequest

func NewDeleteAppUsrRequest() (request *DeleteAppUsrRequest)

func (*DeleteAppUsrRequest) FromJsonString

func (r *DeleteAppUsrRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAppUsrRequest) ToJsonString

func (r *DeleteAppUsrRequest) ToJsonString() string

type DeleteAppUsrRequestParams added in v1.0.426

type DeleteAppUsrRequestParams struct {
	// 客户的终端用户在IoT Video上的唯一标识ID
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`
}

Predefined struct for user

type DeleteAppUsrResponse

type DeleteAppUsrResponse struct {
	*tchttp.BaseResponse
	Response *DeleteAppUsrResponseParams `json:"Response"`
}

func NewDeleteAppUsrResponse

func NewDeleteAppUsrResponse() (response *DeleteAppUsrResponse)

func (*DeleteAppUsrResponse) FromJsonString

func (r *DeleteAppUsrResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAppUsrResponse) ToJsonString

func (r *DeleteAppUsrResponse) ToJsonString() string

type DeleteAppUsrResponseParams added in v1.0.426

type DeleteAppUsrResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteBindingRequest

type DeleteBindingRequest struct {
	*tchttp.BaseRequest

	// 终端用户在IoT Video上的唯一标识ID
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`

	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 用户角色,owner:主人,guest:访客
	Role *string `json:"Role,omitnil,omitempty" name:"Role"`
}

func NewDeleteBindingRequest

func NewDeleteBindingRequest() (request *DeleteBindingRequest)

func (*DeleteBindingRequest) FromJsonString

func (r *DeleteBindingRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteBindingRequest) ToJsonString

func (r *DeleteBindingRequest) ToJsonString() string

type DeleteBindingRequestParams added in v1.0.426

type DeleteBindingRequestParams struct {
	// 终端用户在IoT Video上的唯一标识ID
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`

	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 用户角色,owner:主人,guest:访客
	Role *string `json:"Role,omitnil,omitempty" name:"Role"`
}

Predefined struct for user

type DeleteBindingResponse

type DeleteBindingResponse struct {
	*tchttp.BaseResponse
	Response *DeleteBindingResponseParams `json:"Response"`
}

func NewDeleteBindingResponse

func NewDeleteBindingResponse() (response *DeleteBindingResponse)

func (*DeleteBindingResponse) FromJsonString

func (r *DeleteBindingResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteBindingResponse) ToJsonString

func (r *DeleteBindingResponse) ToJsonString() string

type DeleteBindingResponseParams added in v1.0.426

type DeleteBindingResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteDeviceRequest

type DeleteDeviceRequest struct {
	*tchttp.BaseRequest

	// 设备TID列表
	Tids []*string `json:"Tids,omitnil,omitempty" name:"Tids"`
}

func NewDeleteDeviceRequest

func NewDeleteDeviceRequest() (request *DeleteDeviceRequest)

func (*DeleteDeviceRequest) FromJsonString

func (r *DeleteDeviceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDeviceRequest) ToJsonString

func (r *DeleteDeviceRequest) ToJsonString() string

type DeleteDeviceRequestParams added in v1.0.426

type DeleteDeviceRequestParams struct {
	// 设备TID列表
	Tids []*string `json:"Tids,omitnil,omitempty" name:"Tids"`
}

Predefined struct for user

type DeleteDeviceResponse

type DeleteDeviceResponse struct {
	*tchttp.BaseResponse
	Response *DeleteDeviceResponseParams `json:"Response"`
}

func NewDeleteDeviceResponse

func NewDeleteDeviceResponse() (response *DeleteDeviceResponse)

func (*DeleteDeviceResponse) FromJsonString

func (r *DeleteDeviceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDeviceResponse) ToJsonString

func (r *DeleteDeviceResponse) ToJsonString() string

type DeleteDeviceResponseParams added in v1.0.426

type DeleteDeviceResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteIotDataTypeRequest

type DeleteIotDataTypeRequest struct {
	*tchttp.BaseRequest

	// 自定义数据类型的标识符
	TypeId *string `json:"TypeId,omitnil,omitempty" name:"TypeId"`
}

func NewDeleteIotDataTypeRequest

func NewDeleteIotDataTypeRequest() (request *DeleteIotDataTypeRequest)

func (*DeleteIotDataTypeRequest) FromJsonString

func (r *DeleteIotDataTypeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteIotDataTypeRequest) ToJsonString

func (r *DeleteIotDataTypeRequest) ToJsonString() string

type DeleteIotDataTypeRequestParams added in v1.0.426

type DeleteIotDataTypeRequestParams struct {
	// 自定义数据类型的标识符
	TypeId *string `json:"TypeId,omitnil,omitempty" name:"TypeId"`
}

Predefined struct for user

type DeleteIotDataTypeResponse

type DeleteIotDataTypeResponse struct {
	*tchttp.BaseResponse
	Response *DeleteIotDataTypeResponseParams `json:"Response"`
}

func NewDeleteIotDataTypeResponse

func NewDeleteIotDataTypeResponse() (response *DeleteIotDataTypeResponse)

func (*DeleteIotDataTypeResponse) FromJsonString

func (r *DeleteIotDataTypeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteIotDataTypeResponse) ToJsonString

func (r *DeleteIotDataTypeResponse) ToJsonString() string

type DeleteIotDataTypeResponseParams added in v1.0.426

type DeleteIotDataTypeResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteMessageQueueRequest

type DeleteMessageQueueRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`
}

func NewDeleteMessageQueueRequest

func NewDeleteMessageQueueRequest() (request *DeleteMessageQueueRequest)

func (*DeleteMessageQueueRequest) FromJsonString

func (r *DeleteMessageQueueRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteMessageQueueRequest) ToJsonString

func (r *DeleteMessageQueueRequest) ToJsonString() string

type DeleteMessageQueueRequestParams added in v1.0.426

type DeleteMessageQueueRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`
}

Predefined struct for user

type DeleteMessageQueueResponse

type DeleteMessageQueueResponse struct {
	*tchttp.BaseResponse
	Response *DeleteMessageQueueResponseParams `json:"Response"`
}

func NewDeleteMessageQueueResponse

func NewDeleteMessageQueueResponse() (response *DeleteMessageQueueResponse)

func (*DeleteMessageQueueResponse) FromJsonString

func (r *DeleteMessageQueueResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteMessageQueueResponse) ToJsonString

func (r *DeleteMessageQueueResponse) ToJsonString() string

type DeleteMessageQueueResponseParams added in v1.0.426

type DeleteMessageQueueResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteOtaVersionRequest

type DeleteOtaVersionRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 固件版本号,格式为x.y.z, x,y 范围0-63,z范围1~524288
	OtaVersion *string `json:"OtaVersion,omitnil,omitempty" name:"OtaVersion"`

	// 操作人
	Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"`
}

func NewDeleteOtaVersionRequest

func NewDeleteOtaVersionRequest() (request *DeleteOtaVersionRequest)

func (*DeleteOtaVersionRequest) FromJsonString

func (r *DeleteOtaVersionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteOtaVersionRequest) ToJsonString

func (r *DeleteOtaVersionRequest) ToJsonString() string

type DeleteOtaVersionRequestParams added in v1.0.426

type DeleteOtaVersionRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 固件版本号,格式为x.y.z, x,y 范围0-63,z范围1~524288
	OtaVersion *string `json:"OtaVersion,omitnil,omitempty" name:"OtaVersion"`

	// 操作人
	Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"`
}

Predefined struct for user

type DeleteOtaVersionResponse

type DeleteOtaVersionResponse struct {
	*tchttp.BaseResponse
	Response *DeleteOtaVersionResponseParams `json:"Response"`
}

func NewDeleteOtaVersionResponse

func NewDeleteOtaVersionResponse() (response *DeleteOtaVersionResponse)

func (*DeleteOtaVersionResponse) FromJsonString

func (r *DeleteOtaVersionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteOtaVersionResponse) ToJsonString

func (r *DeleteOtaVersionResponse) ToJsonString() string

type DeleteOtaVersionResponseParams added in v1.0.426

type DeleteOtaVersionResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteProductRequest

type DeleteProductRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`
}

func NewDeleteProductRequest

func NewDeleteProductRequest() (request *DeleteProductRequest)

func (*DeleteProductRequest) FromJsonString

func (r *DeleteProductRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteProductRequest) ToJsonString

func (r *DeleteProductRequest) ToJsonString() string

type DeleteProductRequestParams added in v1.0.426

type DeleteProductRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`
}

Predefined struct for user

type DeleteProductResponse

type DeleteProductResponse struct {
	*tchttp.BaseResponse
	Response *DeleteProductResponseParams `json:"Response"`
}

func NewDeleteProductResponse

func NewDeleteProductResponse() (response *DeleteProductResponse)

func (*DeleteProductResponse) FromJsonString

func (r *DeleteProductResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteProductResponse) ToJsonString

func (r *DeleteProductResponse) ToJsonString() string

type DeleteProductResponseParams added in v1.0.426

type DeleteProductResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteTraceIdsRequest

type DeleteTraceIdsRequest struct {
	*tchttp.BaseRequest

	// 设备TID列表
	Tids []*string `json:"Tids,omitnil,omitempty" name:"Tids"`
}

func NewDeleteTraceIdsRequest

func NewDeleteTraceIdsRequest() (request *DeleteTraceIdsRequest)

func (*DeleteTraceIdsRequest) FromJsonString

func (r *DeleteTraceIdsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteTraceIdsRequest) ToJsonString

func (r *DeleteTraceIdsRequest) ToJsonString() string

type DeleteTraceIdsRequestParams added in v1.0.426

type DeleteTraceIdsRequestParams struct {
	// 设备TID列表
	Tids []*string `json:"Tids,omitnil,omitempty" name:"Tids"`
}

Predefined struct for user

type DeleteTraceIdsResponse

type DeleteTraceIdsResponse struct {
	*tchttp.BaseResponse
	Response *DeleteTraceIdsResponseParams `json:"Response"`
}

func NewDeleteTraceIdsResponse

func NewDeleteTraceIdsResponse() (response *DeleteTraceIdsResponse)

func (*DeleteTraceIdsResponse) FromJsonString

func (r *DeleteTraceIdsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteTraceIdsResponse) ToJsonString

func (r *DeleteTraceIdsResponse) ToJsonString() string

type DeleteTraceIdsResponseParams added in v1.0.426

type DeleteTraceIdsResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeliverStorageServiceRequest

type DeliverStorageServiceRequest struct {
	*tchttp.BaseRequest

	// 待转移的源云存服务ID
	SrcServiceId *string `json:"SrcServiceId,omitnil,omitempty" name:"SrcServiceId"`

	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 视频流通道号。(对于存在多路视频流的设备,如NVR设备,与设备实际视频流通道号对应)
	ChnNum *int64 `json:"ChnNum,omitnil,omitempty" name:"ChnNum"`

	// 设备主人用户在IoT Video平台的注册ID。该参数用于验证Paas/Saas平台的设备/用户关系链是否一致
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`
}

func NewDeliverStorageServiceRequest

func NewDeliverStorageServiceRequest() (request *DeliverStorageServiceRequest)

func (*DeliverStorageServiceRequest) FromJsonString

func (r *DeliverStorageServiceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeliverStorageServiceRequest) ToJsonString

func (r *DeliverStorageServiceRequest) ToJsonString() string

type DeliverStorageServiceRequestParams added in v1.0.426

type DeliverStorageServiceRequestParams struct {
	// 待转移的源云存服务ID
	SrcServiceId *string `json:"SrcServiceId,omitnil,omitempty" name:"SrcServiceId"`

	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 视频流通道号。(对于存在多路视频流的设备,如NVR设备,与设备实际视频流通道号对应)
	ChnNum *int64 `json:"ChnNum,omitnil,omitempty" name:"ChnNum"`

	// 设备主人用户在IoT Video平台的注册ID。该参数用于验证Paas/Saas平台的设备/用户关系链是否一致
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`
}

Predefined struct for user

type DeliverStorageServiceResponse

type DeliverStorageServiceResponse struct {
	*tchttp.BaseResponse
	Response *DeliverStorageServiceResponseParams `json:"Response"`
}

func NewDeliverStorageServiceResponse

func NewDeliverStorageServiceResponse() (response *DeliverStorageServiceResponse)

func (*DeliverStorageServiceResponse) FromJsonString

func (r *DeliverStorageServiceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeliverStorageServiceResponse) ToJsonString

func (r *DeliverStorageServiceResponse) ToJsonString() string

type DeliverStorageServiceResponseParams added in v1.0.426

type DeliverStorageServiceResponseParams struct {
	// 被转出的云存服务ID
	SrcServiceId *string `json:"SrcServiceId,omitnil,omitempty" name:"SrcServiceId"`

	// 被转入的云存服务ID
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// 云存服务所在的区域
	StorageRegion *string `json:"StorageRegion,omitnil,omitempty" name:"StorageRegion"`

	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 视频流通道号。(对于存在多路视频流的设备,如NVR设备,与设备实际视频流通道号对应)
	ChnNum *int64 `json:"ChnNum,omitnil,omitempty" name:"ChnNum"`

	// 终端用户在IoT Video平台的注册ID
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`

	// 服务开始时间
	StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 服务失效时间
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 服务状态
	// 1:正常使用中
	// 2:待续费。设备云存服务已到期,但是历史云存数据未过期。续费后仍可查看这些历史数据。
	// 3:已过期。查询不到设备保存在云端的数据。
	// 4:等待服务生效。
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 新增的云存定单列表
	Data []*StorageOrder `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAccountBalanceRequest

type DescribeAccountBalanceRequest struct {
	*tchttp.BaseRequest

	// 账户类型 1:设备接入 2:云存
	AccountType *int64 `json:"AccountType,omitnil,omitempty" name:"AccountType"`
}

func NewDescribeAccountBalanceRequest

func NewDescribeAccountBalanceRequest() (request *DescribeAccountBalanceRequest)

func (*DescribeAccountBalanceRequest) FromJsonString

func (r *DescribeAccountBalanceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAccountBalanceRequest) ToJsonString

func (r *DescribeAccountBalanceRequest) ToJsonString() string

type DescribeAccountBalanceRequestParams added in v1.0.426

type DescribeAccountBalanceRequestParams struct {
	// 账户类型 1:设备接入 2:云存
	AccountType *int64 `json:"AccountType,omitnil,omitempty" name:"AccountType"`
}

Predefined struct for user

type DescribeAccountBalanceResponse

type DescribeAccountBalanceResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAccountBalanceResponseParams `json:"Response"`
}

func NewDescribeAccountBalanceResponse

func NewDescribeAccountBalanceResponse() (response *DescribeAccountBalanceResponse)

func (*DescribeAccountBalanceResponse) FromJsonString

func (r *DescribeAccountBalanceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAccountBalanceResponse) ToJsonString

func (r *DescribeAccountBalanceResponse) ToJsonString() string

type DescribeAccountBalanceResponseParams added in v1.0.426

type DescribeAccountBalanceResponseParams struct {
	// 账户类型 1=设备接入;2=云存。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AccountType *int64 `json:"AccountType,omitnil,omitempty" name:"AccountType"`

	// 余额, 单位 : 分(人民币)。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Balance *int64 `json:"Balance,omitnil,omitempty" name:"Balance"`

	// 账户状态,1=正常;8=冻结;9=销户。
	// 注意:此字段可能返回 null,表示取不到有效值。
	State *int64 `json:"State,omitnil,omitempty" name:"State"`

	// 最后修改时间,UTC值。
	// 注意:此字段可能返回 null,表示取不到有效值。
	LastUpdateTime *int64 `json:"LastUpdateTime,omitnil,omitempty" name:"LastUpdateTime"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBindDevRequest

type DescribeBindDevRequest struct {
	*tchttp.BaseRequest

	// 终端用户在IoT Video上的唯一标识ID
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`
}

func NewDescribeBindDevRequest

func NewDescribeBindDevRequest() (request *DescribeBindDevRequest)

func (*DescribeBindDevRequest) FromJsonString

func (r *DescribeBindDevRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBindDevRequest) ToJsonString

func (r *DescribeBindDevRequest) ToJsonString() string

type DescribeBindDevRequestParams added in v1.0.426

type DescribeBindDevRequestParams struct {
	// 终端用户在IoT Video上的唯一标识ID
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`
}

Predefined struct for user

type DescribeBindDevResponse

type DescribeBindDevResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBindDevResponseParams `json:"Response"`
}

func NewDescribeBindDevResponse

func NewDescribeBindDevResponse() (response *DescribeBindDevResponse)

func (*DescribeBindDevResponse) FromJsonString

func (r *DescribeBindDevResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBindDevResponse) ToJsonString

func (r *DescribeBindDevResponse) ToJsonString() string

type DescribeBindDevResponseParams added in v1.0.426

type DescribeBindDevResponseParams struct {
	// 绑定的设备列表信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data []*BindDevInfo `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBindUsrRequest

type DescribeBindUsrRequest struct {
	*tchttp.BaseRequest

	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 设备主人的AccessId
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`
}

func NewDescribeBindUsrRequest

func NewDescribeBindUsrRequest() (request *DescribeBindUsrRequest)

func (*DescribeBindUsrRequest) FromJsonString

func (r *DescribeBindUsrRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBindUsrRequest) ToJsonString

func (r *DescribeBindUsrRequest) ToJsonString() string

type DescribeBindUsrRequestParams added in v1.0.426

type DescribeBindUsrRequestParams struct {
	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 设备主人的AccessId
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`
}

Predefined struct for user

type DescribeBindUsrResponse

type DescribeBindUsrResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBindUsrResponseParams `json:"Response"`
}

func NewDescribeBindUsrResponse

func NewDescribeBindUsrResponse() (response *DescribeBindUsrResponse)

func (*DescribeBindUsrResponse) FromJsonString

func (r *DescribeBindUsrResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBindUsrResponse) ToJsonString

func (r *DescribeBindUsrResponse) ToJsonString() string

type DescribeBindUsrResponseParams added in v1.0.426

type DescribeBindUsrResponseParams struct {
	// 具有绑定关系的终端用户信息列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data []*BindUsrInfo `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDeviceModelRequest

type DescribeDeviceModelRequest struct {
	*tchttp.BaseRequest

	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 物模型的分支路径
	Branch *string `json:"Branch,omitnil,omitempty" name:"Branch"`
}

func NewDescribeDeviceModelRequest

func NewDescribeDeviceModelRequest() (request *DescribeDeviceModelRequest)

func (*DescribeDeviceModelRequest) FromJsonString

func (r *DescribeDeviceModelRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDeviceModelRequest) ToJsonString

func (r *DescribeDeviceModelRequest) ToJsonString() string

type DescribeDeviceModelRequestParams added in v1.0.426

type DescribeDeviceModelRequestParams struct {
	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 物模型的分支路径
	Branch *string `json:"Branch,omitnil,omitempty" name:"Branch"`
}

Predefined struct for user

type DescribeDeviceModelResponse

type DescribeDeviceModelResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDeviceModelResponseParams `json:"Response"`
}

func NewDescribeDeviceModelResponse

func NewDescribeDeviceModelResponse() (response *DescribeDeviceModelResponse)

func (*DescribeDeviceModelResponse) FromJsonString

func (r *DescribeDeviceModelResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDeviceModelResponse) ToJsonString

func (r *DescribeDeviceModelResponse) ToJsonString() string

type DescribeDeviceModelResponseParams added in v1.0.426

type DescribeDeviceModelResponseParams struct {
	// 设备物模型信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data *DeviceModelData `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDeviceRequest

type DescribeDeviceRequest struct {
	*tchttp.BaseRequest

	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`
}

func NewDescribeDeviceRequest

func NewDescribeDeviceRequest() (request *DescribeDeviceRequest)

func (*DescribeDeviceRequest) FromJsonString

func (r *DescribeDeviceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDeviceRequest) ToJsonString

func (r *DescribeDeviceRequest) ToJsonString() string

type DescribeDeviceRequestParams added in v1.0.426

type DescribeDeviceRequestParams struct {
	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`
}

Predefined struct for user

type DescribeDeviceResponse

type DescribeDeviceResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDeviceResponseParams `json:"Response"`
}

func NewDescribeDeviceResponse

func NewDescribeDeviceResponse() (response *DescribeDeviceResponse)

func (*DescribeDeviceResponse) FromJsonString

func (r *DescribeDeviceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDeviceResponse) ToJsonString

func (r *DescribeDeviceResponse) ToJsonString() string

type DescribeDeviceResponseParams added in v1.0.426

type DescribeDeviceResponseParams struct {
	// 设备信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data *DeviceData `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDevicesRequest

type DescribeDevicesRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 是否返回全量数据
	// 当该值为false时,返回值中的设备物模型、固件版本、在线状态、最后在线时间字段等字段,都将返回数据类型的零值。
	ReturnModel *bool `json:"ReturnModel,omitnil,omitempty" name:"ReturnModel"`

	// 分页数量,0<取值范围<=100
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 分页偏移,取值>0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 指定固件版本号,为空查询此产品下所有设备
	OtaVersion *string `json:"OtaVersion,omitnil,omitempty" name:"OtaVersion"`

	// 设备名称,支持左前缀模糊匹配
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`
}

func NewDescribeDevicesRequest

func NewDescribeDevicesRequest() (request *DescribeDevicesRequest)

func (*DescribeDevicesRequest) FromJsonString

func (r *DescribeDevicesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDevicesRequest) ToJsonString

func (r *DescribeDevicesRequest) ToJsonString() string

type DescribeDevicesRequestParams added in v1.0.426

type DescribeDevicesRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 是否返回全量数据
	// 当该值为false时,返回值中的设备物模型、固件版本、在线状态、最后在线时间字段等字段,都将返回数据类型的零值。
	ReturnModel *bool `json:"ReturnModel,omitnil,omitempty" name:"ReturnModel"`

	// 分页数量,0<取值范围<=100
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 分页偏移,取值>0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 指定固件版本号,为空查询此产品下所有设备
	OtaVersion *string `json:"OtaVersion,omitnil,omitempty" name:"OtaVersion"`

	// 设备名称,支持左前缀模糊匹配
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`
}

Predefined struct for user

type DescribeDevicesResponse

type DescribeDevicesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDevicesResponseParams `json:"Response"`
}

func NewDescribeDevicesResponse

func NewDescribeDevicesResponse() (response *DescribeDevicesResponse)

func (*DescribeDevicesResponse) FromJsonString

func (r *DescribeDevicesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDevicesResponse) ToJsonString

func (r *DescribeDevicesResponse) ToJsonString() string

type DescribeDevicesResponseParams added in v1.0.426

type DescribeDevicesResponseParams struct {
	// 设备信息 列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data []*DevicesData `json:"Data,omitnil,omitempty" name:"Data"`

	// 设备总数
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeIotDataTypeRequest

type DescribeIotDataTypeRequest struct {
	*tchttp.BaseRequest

	// 自定义数据类型的标识符,为空则返回全量自定义类型的列表
	TypeId *string `json:"TypeId,omitnil,omitempty" name:"TypeId"`
}

func NewDescribeIotDataTypeRequest

func NewDescribeIotDataTypeRequest() (request *DescribeIotDataTypeRequest)

func (*DescribeIotDataTypeRequest) FromJsonString

func (r *DescribeIotDataTypeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeIotDataTypeRequest) ToJsonString

func (r *DescribeIotDataTypeRequest) ToJsonString() string

type DescribeIotDataTypeRequestParams added in v1.0.426

type DescribeIotDataTypeRequestParams struct {
	// 自定义数据类型的标识符,为空则返回全量自定义类型的列表
	TypeId *string `json:"TypeId,omitnil,omitempty" name:"TypeId"`
}

Predefined struct for user

type DescribeIotDataTypeResponse

type DescribeIotDataTypeResponse struct {
	*tchttp.BaseResponse
	Response *DescribeIotDataTypeResponseParams `json:"Response"`
}

func NewDescribeIotDataTypeResponse

func NewDescribeIotDataTypeResponse() (response *DescribeIotDataTypeResponse)

func (*DescribeIotDataTypeResponse) FromJsonString

func (r *DescribeIotDataTypeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeIotDataTypeResponse) ToJsonString

func (r *DescribeIotDataTypeResponse) ToJsonString() string

type DescribeIotDataTypeResponseParams added in v1.0.426

type DescribeIotDataTypeResponseParams struct {
	// 自定义数据类型,json格式的字符串
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data []*string `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeIotModelRequest

type DescribeIotModelRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 物模型版本号, -1表示最新编辑的(未发布)
	Revision *int64 `json:"Revision,omitnil,omitempty" name:"Revision"`
}

func NewDescribeIotModelRequest

func NewDescribeIotModelRequest() (request *DescribeIotModelRequest)

func (*DescribeIotModelRequest) FromJsonString

func (r *DescribeIotModelRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeIotModelRequest) ToJsonString

func (r *DescribeIotModelRequest) ToJsonString() string

type DescribeIotModelRequestParams added in v1.0.426

type DescribeIotModelRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 物模型版本号, -1表示最新编辑的(未发布)
	Revision *int64 `json:"Revision,omitnil,omitempty" name:"Revision"`
}

Predefined struct for user

type DescribeIotModelResponse

type DescribeIotModelResponse struct {
	*tchttp.BaseResponse
	Response *DescribeIotModelResponseParams `json:"Response"`
}

func NewDescribeIotModelResponse

func NewDescribeIotModelResponse() (response *DescribeIotModelResponse)

func (*DescribeIotModelResponse) FromJsonString

func (r *DescribeIotModelResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeIotModelResponse) ToJsonString

func (r *DescribeIotModelResponse) ToJsonString() string

type DescribeIotModelResponseParams added in v1.0.426

type DescribeIotModelResponseParams struct {
	// 物模型定义,json格式的字符串
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data *string `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeIotModelsRequest

type DescribeIotModelsRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`
}

func NewDescribeIotModelsRequest

func NewDescribeIotModelsRequest() (request *DescribeIotModelsRequest)

func (*DescribeIotModelsRequest) FromJsonString

func (r *DescribeIotModelsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeIotModelsRequest) ToJsonString

func (r *DescribeIotModelsRequest) ToJsonString() string

type DescribeIotModelsRequestParams added in v1.0.426

type DescribeIotModelsRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`
}

Predefined struct for user

type DescribeIotModelsResponse

type DescribeIotModelsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeIotModelsResponseParams `json:"Response"`
}

func NewDescribeIotModelsResponse

func NewDescribeIotModelsResponse() (response *DescribeIotModelsResponse)

func (*DescribeIotModelsResponse) FromJsonString

func (r *DescribeIotModelsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeIotModelsResponse) ToJsonString

func (r *DescribeIotModelsResponse) ToJsonString() string

type DescribeIotModelsResponseParams added in v1.0.426

type DescribeIotModelsResponseParams struct {
	// 历史版本列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data []*IotModelData `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeLogsRequest

type DescribeLogsRequest struct {
	*tchttp.BaseRequest

	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 当前分页的最大条数,0<取值范围<=100
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 分页偏移量,取值范围>0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 日志类型 1.在线状态变更 2.ProConst变更 3.ProWritable变更 4.Action控制 5.ProReadonly变更 6.Event事件
	LogType *uint64 `json:"LogType,omitnil,omitempty" name:"LogType"`

	// 查询的起始时间 UNIX时间戳,单位秒
	StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 物模型对象索引,用于模糊查询,字符长度<=255,每层节点的字符长度<=16
	DataObject *string `json:"DataObject,omitnil,omitempty" name:"DataObject"`

	// 查询的结束时间 UNIX时间戳,单位秒
	EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

func NewDescribeLogsRequest

func NewDescribeLogsRequest() (request *DescribeLogsRequest)

func (*DescribeLogsRequest) FromJsonString

func (r *DescribeLogsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeLogsRequest) ToJsonString

func (r *DescribeLogsRequest) ToJsonString() string

type DescribeLogsRequestParams added in v1.0.426

type DescribeLogsRequestParams struct {
	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 当前分页的最大条数,0<取值范围<=100
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 分页偏移量,取值范围>0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 日志类型 1.在线状态变更 2.ProConst变更 3.ProWritable变更 4.Action控制 5.ProReadonly变更 6.Event事件
	LogType *uint64 `json:"LogType,omitnil,omitempty" name:"LogType"`

	// 查询的起始时间 UNIX时间戳,单位秒
	StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 物模型对象索引,用于模糊查询,字符长度<=255,每层节点的字符长度<=16
	DataObject *string `json:"DataObject,omitnil,omitempty" name:"DataObject"`

	// 查询的结束时间 UNIX时间戳,单位秒
	EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

Predefined struct for user

type DescribeLogsResponse

type DescribeLogsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeLogsResponseParams `json:"Response"`
}

func NewDescribeLogsResponse

func NewDescribeLogsResponse() (response *DescribeLogsResponse)

func (*DescribeLogsResponse) FromJsonString

func (r *DescribeLogsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeLogsResponse) ToJsonString

func (r *DescribeLogsResponse) ToJsonString() string

type DescribeLogsResponseParams added in v1.0.426

type DescribeLogsResponseParams struct {
	// 设备日志信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data []*LogData `json:"Data,omitnil,omitempty" name:"Data"`

	// Data数组所包含的信息条数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeMessageQueueRequest

type DescribeMessageQueueRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`
}

func NewDescribeMessageQueueRequest

func NewDescribeMessageQueueRequest() (request *DescribeMessageQueueRequest)

func (*DescribeMessageQueueRequest) FromJsonString

func (r *DescribeMessageQueueRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMessageQueueRequest) ToJsonString

func (r *DescribeMessageQueueRequest) ToJsonString() string

type DescribeMessageQueueRequestParams added in v1.0.426

type DescribeMessageQueueRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`
}

Predefined struct for user

type DescribeMessageQueueResponse

type DescribeMessageQueueResponse struct {
	*tchttp.BaseResponse
	Response *DescribeMessageQueueResponseParams `json:"Response"`
}

func NewDescribeMessageQueueResponse

func NewDescribeMessageQueueResponse() (response *DescribeMessageQueueResponse)

func (*DescribeMessageQueueResponse) FromJsonString

func (r *DescribeMessageQueueResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMessageQueueResponse) ToJsonString

func (r *DescribeMessageQueueResponse) ToJsonString() string

type DescribeMessageQueueResponseParams added in v1.0.426

type DescribeMessageQueueResponseParams struct {
	// 消息队列配置
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data *MsgQueueData `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeModelDataRetRequest

type DescribeModelDataRetRequest struct {
	*tchttp.BaseRequest

	// 任务ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

func NewDescribeModelDataRetRequest

func NewDescribeModelDataRetRequest() (request *DescribeModelDataRetRequest)

func (*DescribeModelDataRetRequest) FromJsonString

func (r *DescribeModelDataRetRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeModelDataRetRequest) ToJsonString

func (r *DescribeModelDataRetRequest) ToJsonString() string

type DescribeModelDataRetRequestParams added in v1.0.426

type DescribeModelDataRetRequestParams struct {
	// 任务ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

Predefined struct for user

type DescribeModelDataRetResponse

type DescribeModelDataRetResponse struct {
	*tchttp.BaseResponse
	Response *DescribeModelDataRetResponseParams `json:"Response"`
}

func NewDescribeModelDataRetResponse

func NewDescribeModelDataRetResponse() (response *DescribeModelDataRetResponse)

func (*DescribeModelDataRetResponse) FromJsonString

func (r *DescribeModelDataRetResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeModelDataRetResponse) ToJsonString

func (r *DescribeModelDataRetResponse) ToJsonString() string

type DescribeModelDataRetResponseParams added in v1.0.426

type DescribeModelDataRetResponseParams struct {
	// 设备响应结果
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data *string `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeOsListRequest

type DescribeOsListRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeOsListRequest

func NewDescribeOsListRequest() (request *DescribeOsListRequest)

func (*DescribeOsListRequest) FromJsonString

func (r *DescribeOsListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOsListRequest) ToJsonString

func (r *DescribeOsListRequest) ToJsonString() string

type DescribeOsListRequestParams added in v1.0.426

type DescribeOsListRequestParams struct {
}

Predefined struct for user

type DescribeOsListResponse

type DescribeOsListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeOsListResponseParams `json:"Response"`
}

func NewDescribeOsListResponse

func NewDescribeOsListResponse() (response *DescribeOsListResponse)

func (*DescribeOsListResponse) FromJsonString

func (r *DescribeOsListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOsListResponse) ToJsonString

func (r *DescribeOsListResponse) ToJsonString() string

type DescribeOsListResponseParams added in v1.0.426

type DescribeOsListResponseParams struct {
	// 系统类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data *SystemType `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeOtaVersionsRequest

type DescribeOtaVersionsRequest struct {
	*tchttp.BaseRequest

	// 分页偏移量
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页数量,0<取值范围<=100
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 产品ID,为空时查询客户所有产品的版本信息
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 版本号,支持模糊匹配
	OtaVersion *string `json:"OtaVersion,omitnil,omitempty" name:"OtaVersion"`

	// 版本类型 1未发布 2测试发布 3正式发布 4禁用
	PubStatus *uint64 `json:"PubStatus,omitnil,omitempty" name:"PubStatus"`
}

func NewDescribeOtaVersionsRequest

func NewDescribeOtaVersionsRequest() (request *DescribeOtaVersionsRequest)

func (*DescribeOtaVersionsRequest) FromJsonString

func (r *DescribeOtaVersionsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOtaVersionsRequest) ToJsonString

func (r *DescribeOtaVersionsRequest) ToJsonString() string

type DescribeOtaVersionsRequestParams added in v1.0.426

type DescribeOtaVersionsRequestParams struct {
	// 分页偏移量
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页数量,0<取值范围<=100
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 产品ID,为空时查询客户所有产品的版本信息
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 版本号,支持模糊匹配
	OtaVersion *string `json:"OtaVersion,omitnil,omitempty" name:"OtaVersion"`

	// 版本类型 1未发布 2测试发布 3正式发布 4禁用
	PubStatus *uint64 `json:"PubStatus,omitnil,omitempty" name:"PubStatus"`
}

Predefined struct for user

type DescribeOtaVersionsResponse

type DescribeOtaVersionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeOtaVersionsResponseParams `json:"Response"`
}

func NewDescribeOtaVersionsResponse

func NewDescribeOtaVersionsResponse() (response *DescribeOtaVersionsResponse)

func (*DescribeOtaVersionsResponse) FromJsonString

func (r *DescribeOtaVersionsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOtaVersionsResponse) ToJsonString

func (r *DescribeOtaVersionsResponse) ToJsonString() string

type DescribeOtaVersionsResponseParams added in v1.0.426

type DescribeOtaVersionsResponseParams struct {
	// 版本数量
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 版本详细信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data []*VersionData `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeProductRequest

type DescribeProductRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`
}

func NewDescribeProductRequest

func NewDescribeProductRequest() (request *DescribeProductRequest)

func (*DescribeProductRequest) FromJsonString

func (r *DescribeProductRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProductRequest) ToJsonString

func (r *DescribeProductRequest) ToJsonString() string

type DescribeProductRequestParams added in v1.0.426

type DescribeProductRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`
}

Predefined struct for user

type DescribeProductResponse

type DescribeProductResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProductResponseParams `json:"Response"`
}

func NewDescribeProductResponse

func NewDescribeProductResponse() (response *DescribeProductResponse)

func (*DescribeProductResponse) FromJsonString

func (r *DescribeProductResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProductResponse) ToJsonString

func (r *DescribeProductResponse) ToJsonString() string

type DescribeProductResponseParams added in v1.0.426

type DescribeProductResponseParams struct {
	// 产品详情
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data *ProductData `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeProductsRequest

type DescribeProductsRequest struct {
	*tchttp.BaseRequest

	// 分页大小,当前页面中显示的最大数量,值范围 1-100
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 分页偏移,Offset从0开始
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 产器型号(APP产品,为APP包名)
	ProductModel *string `json:"ProductModel,omitnil,omitempty" name:"ProductModel"`

	// 开始时间 ,UNIX 时间戳,单位秒
	StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 结束时间 ,UNIX 时间戳,单位秒
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

func NewDescribeProductsRequest

func NewDescribeProductsRequest() (request *DescribeProductsRequest)

func (*DescribeProductsRequest) FromJsonString

func (r *DescribeProductsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProductsRequest) ToJsonString

func (r *DescribeProductsRequest) ToJsonString() string

type DescribeProductsRequestParams added in v1.0.426

type DescribeProductsRequestParams struct {
	// 分页大小,当前页面中显示的最大数量,值范围 1-100
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 分页偏移,Offset从0开始
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 产器型号(APP产品,为APP包名)
	ProductModel *string `json:"ProductModel,omitnil,omitempty" name:"ProductModel"`

	// 开始时间 ,UNIX 时间戳,单位秒
	StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 结束时间 ,UNIX 时间戳,单位秒
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

Predefined struct for user

type DescribeProductsResponse

type DescribeProductsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProductsResponseParams `json:"Response"`
}

func NewDescribeProductsResponse

func NewDescribeProductsResponse() (response *DescribeProductsResponse)

func (*DescribeProductsResponse) FromJsonString

func (r *DescribeProductsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProductsResponse) ToJsonString

func (r *DescribeProductsResponse) ToJsonString() string

type DescribeProductsResponseParams added in v1.0.426

type DescribeProductsResponseParams struct {
	// 产品详细信息列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data []*ProductData `json:"Data,omitnil,omitempty" name:"Data"`

	// 产品总数
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePubVersionsRequest

type DescribePubVersionsRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`
}

func NewDescribePubVersionsRequest

func NewDescribePubVersionsRequest() (request *DescribePubVersionsRequest)

func (*DescribePubVersionsRequest) FromJsonString

func (r *DescribePubVersionsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePubVersionsRequest) ToJsonString

func (r *DescribePubVersionsRequest) ToJsonString() string

type DescribePubVersionsRequestParams added in v1.0.426

type DescribePubVersionsRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`
}

Predefined struct for user

type DescribePubVersionsResponse

type DescribePubVersionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribePubVersionsResponseParams `json:"Response"`
}

func NewDescribePubVersionsResponse

func NewDescribePubVersionsResponse() (response *DescribePubVersionsResponse)

func (*DescribePubVersionsResponse) FromJsonString

func (r *DescribePubVersionsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePubVersionsResponse) ToJsonString

func (r *DescribePubVersionsResponse) ToJsonString() string

type DescribePubVersionsResponseParams added in v1.0.426

type DescribePubVersionsResponseParams struct {
	// 历史发布的版本列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data []*OtaPubHistory `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeRechargeRecordsRequest

type DescribeRechargeRecordsRequest struct {
	*tchttp.BaseRequest

	// 账户类型 1:设备接入 2:云存。
	AccountType *int64 `json:"AccountType,omitnil,omitempty" name:"AccountType"`

	// 从第几条记录开始显示, 默认值为0。
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 总共查询多少条记录,默认为值50。
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeRechargeRecordsRequest

func NewDescribeRechargeRecordsRequest() (request *DescribeRechargeRecordsRequest)

func (*DescribeRechargeRecordsRequest) FromJsonString

func (r *DescribeRechargeRecordsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRechargeRecordsRequest) ToJsonString

func (r *DescribeRechargeRecordsRequest) ToJsonString() string

type DescribeRechargeRecordsRequestParams added in v1.0.426

type DescribeRechargeRecordsRequestParams struct {
	// 账户类型 1:设备接入 2:云存。
	AccountType *int64 `json:"AccountType,omitnil,omitempty" name:"AccountType"`

	// 从第几条记录开始显示, 默认值为0。
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 总共查询多少条记录,默认为值50。
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeRechargeRecordsResponse

type DescribeRechargeRecordsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRechargeRecordsResponseParams `json:"Response"`
}

func NewDescribeRechargeRecordsResponse

func NewDescribeRechargeRecordsResponse() (response *DescribeRechargeRecordsResponse)

func (*DescribeRechargeRecordsResponse) FromJsonString

func (r *DescribeRechargeRecordsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRechargeRecordsResponse) ToJsonString

func (r *DescribeRechargeRecordsResponse) ToJsonString() string

type DescribeRechargeRecordsResponseParams added in v1.0.426

type DescribeRechargeRecordsResponseParams struct {
	// 账户类型 1:设备接入 2:云存
	// 注意:此字段可能返回 null,表示取不到有效值。
	AccountType *int64 `json:"AccountType,omitnil,omitempty" name:"AccountType"`

	// 充值记录列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	Records []*RechargeRecord `json:"Records,omitnil,omitempty" name:"Records"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeRegistrationStatusRequest

type DescribeRegistrationStatusRequest struct {
	*tchttp.BaseRequest

	// 终端用户的唯一ID列表,0<元素数量<=100
	CunionIds []*string `json:"CunionIds,omitnil,omitempty" name:"CunionIds"`
}

func NewDescribeRegistrationStatusRequest

func NewDescribeRegistrationStatusRequest() (request *DescribeRegistrationStatusRequest)

func (*DescribeRegistrationStatusRequest) FromJsonString

func (r *DescribeRegistrationStatusRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRegistrationStatusRequest) ToJsonString

func (r *DescribeRegistrationStatusRequest) ToJsonString() string

type DescribeRegistrationStatusRequestParams added in v1.0.426

type DescribeRegistrationStatusRequestParams struct {
	// 终端用户的唯一ID列表,0<元素数量<=100
	CunionIds []*string `json:"CunionIds,omitnil,omitempty" name:"CunionIds"`
}

Predefined struct for user

type DescribeRegistrationStatusResponse

type DescribeRegistrationStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRegistrationStatusResponseParams `json:"Response"`
}

func NewDescribeRegistrationStatusResponse

func NewDescribeRegistrationStatusResponse() (response *DescribeRegistrationStatusResponse)

func (*DescribeRegistrationStatusResponse) FromJsonString

func (r *DescribeRegistrationStatusResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRegistrationStatusResponse) ToJsonString

func (r *DescribeRegistrationStatusResponse) ToJsonString() string

type DescribeRegistrationStatusResponseParams added in v1.0.426

type DescribeRegistrationStatusResponseParams struct {
	// 终端用户注册状态列表
	Data []*RegisteredStatus `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeRunLogRequest

type DescribeRunLogRequest struct {
	*tchttp.BaseRequest

	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`
}

func NewDescribeRunLogRequest

func NewDescribeRunLogRequest() (request *DescribeRunLogRequest)

func (*DescribeRunLogRequest) FromJsonString

func (r *DescribeRunLogRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRunLogRequest) ToJsonString

func (r *DescribeRunLogRequest) ToJsonString() string

type DescribeRunLogRequestParams added in v1.0.426

type DescribeRunLogRequestParams struct {
	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`
}

Predefined struct for user

type DescribeRunLogResponse

type DescribeRunLogResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRunLogResponseParams `json:"Response"`
}

func NewDescribeRunLogResponse

func NewDescribeRunLogResponse() (response *DescribeRunLogResponse)

func (*DescribeRunLogResponse) FromJsonString

func (r *DescribeRunLogResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRunLogResponse) ToJsonString

func (r *DescribeRunLogResponse) ToJsonString() string

type DescribeRunLogResponseParams added in v1.0.426

type DescribeRunLogResponseParams struct {
	// 设备运行日志文本信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data *string `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeStorageServiceRequest

type DescribeStorageServiceRequest struct {
	*tchttp.BaseRequest

	// 云存服务ID
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// 是否返回已结束的订单信息(已过期/已退订/已转移)
	GetFinishedOrder *bool `json:"GetFinishedOrder,omitnil,omitempty" name:"GetFinishedOrder"`
}

func NewDescribeStorageServiceRequest

func NewDescribeStorageServiceRequest() (request *DescribeStorageServiceRequest)

func (*DescribeStorageServiceRequest) FromJsonString

func (r *DescribeStorageServiceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStorageServiceRequest) ToJsonString

func (r *DescribeStorageServiceRequest) ToJsonString() string

type DescribeStorageServiceRequestParams added in v1.0.426

type DescribeStorageServiceRequestParams struct {
	// 云存服务ID
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// 是否返回已结束的订单信息(已过期/已退订/已转移)
	GetFinishedOrder *bool `json:"GetFinishedOrder,omitnil,omitempty" name:"GetFinishedOrder"`
}

Predefined struct for user

type DescribeStorageServiceResponse

type DescribeStorageServiceResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStorageServiceResponseParams `json:"Response"`
}

func NewDescribeStorageServiceResponse

func NewDescribeStorageServiceResponse() (response *DescribeStorageServiceResponse)

func (*DescribeStorageServiceResponse) FromJsonString

func (r *DescribeStorageServiceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStorageServiceResponse) ToJsonString

func (r *DescribeStorageServiceResponse) ToJsonString() string

type DescribeStorageServiceResponseParams added in v1.0.426

type DescribeStorageServiceResponseParams struct {
	// 云存服务ID
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// 云存服务所在的区域
	StorageRegion *string `json:"StorageRegion,omitnil,omitempty" name:"StorageRegion"`

	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 视频流通道号。(对于存在多路视频流的设备,如NVR设备,与设备实际视频流通道号对应)
	ChnNum *int64 `json:"ChnNum,omitnil,omitempty" name:"ChnNum"`

	// 终端用户在IoT Video平台的注册ID
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`

	// 服务开始时间
	StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 服务失效时间
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 服务状态
	// 1:正常使用中
	// 2:待续费。设备云存服务已到期,但是历史云存数据未过期。续费后仍可查看这些历史数据。
	// 3:已过期。查询不到设备保存在云端的数据。
	// 4:等待服务生效。
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 云存定单列表
	Data []*StorageOrder `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeStreamRequest

type DescribeStreamRequest struct {
	*tchttp.BaseRequest

	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 终端用户ID
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`

	// 直播协议, 可选值:RTSP、RTMP、HLS、HLS-fmp4
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// 音视频流地址
	Address *string `json:"Address,omitnil,omitempty" name:"Address"`

	// 设备访问token,访问用户未绑定的设备时,需提供该参数
	AccessToken *string `json:"AccessToken,omitnil,omitempty" name:"AccessToken"`
}

func NewDescribeStreamRequest

func NewDescribeStreamRequest() (request *DescribeStreamRequest)

func (*DescribeStreamRequest) FromJsonString

func (r *DescribeStreamRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamRequest) ToJsonString

func (r *DescribeStreamRequest) ToJsonString() string

type DescribeStreamRequestParams added in v1.0.426

type DescribeStreamRequestParams struct {
	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 终端用户ID
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`

	// 直播协议, 可选值:RTSP、RTMP、HLS、HLS-fmp4
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// 音视频流地址
	Address *string `json:"Address,omitnil,omitempty" name:"Address"`

	// 设备访问token,访问用户未绑定的设备时,需提供该参数
	AccessToken *string `json:"AccessToken,omitnil,omitempty" name:"AccessToken"`
}

Predefined struct for user

type DescribeStreamResponse

type DescribeStreamResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStreamResponseParams `json:"Response"`
}

func NewDescribeStreamResponse

func NewDescribeStreamResponse() (response *DescribeStreamResponse)

func (*DescribeStreamResponse) FromJsonString

func (r *DescribeStreamResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamResponse) ToJsonString

func (r *DescribeStreamResponse) ToJsonString() string

type DescribeStreamResponseParams added in v1.0.426

type DescribeStreamResponseParams struct {
	// 返回参数结构
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data *Data `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTraceIdsRequest

type DescribeTraceIdsRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeTraceIdsRequest

func NewDescribeTraceIdsRequest() (request *DescribeTraceIdsRequest)

func (*DescribeTraceIdsRequest) FromJsonString

func (r *DescribeTraceIdsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTraceIdsRequest) ToJsonString

func (r *DescribeTraceIdsRequest) ToJsonString() string

type DescribeTraceIdsRequestParams added in v1.0.426

type DescribeTraceIdsRequestParams struct {
}

Predefined struct for user

type DescribeTraceIdsResponse

type DescribeTraceIdsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTraceIdsResponseParams `json:"Response"`
}

func NewDescribeTraceIdsResponse

func NewDescribeTraceIdsResponse() (response *DescribeTraceIdsResponse)

func (*DescribeTraceIdsResponse) FromJsonString

func (r *DescribeTraceIdsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTraceIdsResponse) ToJsonString

func (r *DescribeTraceIdsResponse) ToJsonString() string

type DescribeTraceIdsResponseParams added in v1.0.426

type DescribeTraceIdsResponseParams struct {
	// 设备TID列表,列表元素之间以“,”分隔
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data *string `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTraceStatusRequest

type DescribeTraceStatusRequest struct {
	*tchttp.BaseRequest

	// 设备TID列表
	Tids []*string `json:"Tids,omitnil,omitempty" name:"Tids"`
}

func NewDescribeTraceStatusRequest

func NewDescribeTraceStatusRequest() (request *DescribeTraceStatusRequest)

func (*DescribeTraceStatusRequest) FromJsonString

func (r *DescribeTraceStatusRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTraceStatusRequest) ToJsonString

func (r *DescribeTraceStatusRequest) ToJsonString() string

type DescribeTraceStatusRequestParams added in v1.0.426

type DescribeTraceStatusRequestParams struct {
	// 设备TID列表
	Tids []*string `json:"Tids,omitnil,omitempty" name:"Tids"`
}

Predefined struct for user

type DescribeTraceStatusResponse

type DescribeTraceStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTraceStatusResponseParams `json:"Response"`
}

func NewDescribeTraceStatusResponse

func NewDescribeTraceStatusResponse() (response *DescribeTraceStatusResponse)

func (*DescribeTraceStatusResponse) FromJsonString

func (r *DescribeTraceStatusResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTraceStatusResponse) ToJsonString

func (r *DescribeTraceStatusResponse) ToJsonString() string

type DescribeTraceStatusResponseParams added in v1.0.426

type DescribeTraceStatusResponseParams struct {
	// 设备追踪状态列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data []*TraceStatus `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DevTokenInfo

type DevTokenInfo struct {
	// 客户的终端用户在IotVideo上的唯一标识id
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`

	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// IotVideo平台的accessToken
	AccessToken *string `json:"AccessToken,omitnil,omitempty" name:"AccessToken"`

	// Token的过期时间,单位秒(UTC时间)
	ExpireTime *uint64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`
}

type DeviceCertificate

type DeviceCertificate struct {
	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 设备初始证书信息,base64编码
	Certificate *string `json:"Certificate,omitnil,omitempty" name:"Certificate"`

	// 设备私钥下载地址
	WhiteBoxSoUrl *string `json:"WhiteBoxSoUrl,omitnil,omitempty" name:"WhiteBoxSoUrl"`
}

type DeviceData

type DeviceData struct {
	// 设备TID
	// 注意:此字段可能返回 null,表示取不到有效值。
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 激活时间 0代表未激活
	// 注意:此字段可能返回 null,表示取不到有效值。
	ActiveTime *uint64 `json:"ActiveTime,omitnil,omitempty" name:"ActiveTime"`

	// 设备是否被禁用
	// 注意:此字段可能返回 null,表示取不到有效值。
	Disabled *bool `json:"Disabled,omitnil,omitempty" name:"Disabled"`

	// 固件版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	OtaVersion *string `json:"OtaVersion,omitnil,omitempty" name:"OtaVersion"`

	// 设备在线状态
	// 注意:此字段可能返回 null,表示取不到有效值。
	Online *uint64 `json:"Online,omitnil,omitempty" name:"Online"`

	// 设备最后上线时间(mqtt连接成功时间),UNIX时间戳,单位秒
	// 注意:此字段可能返回 null,表示取不到有效值。
	LastOnlineTime *uint64 `json:"LastOnlineTime,omitnil,omitempty" name:"LastOnlineTime"`

	// 物模型json数据
	// 注意:此字段可能返回 null,表示取不到有效值。
	IotModel *string `json:"IotModel,omitnil,omitempty" name:"IotModel"`

	// 设备名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 产品ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 设备初始证书信息,base64编码
	// 注意:此字段可能返回 null,表示取不到有效值。
	Certificate *string `json:"Certificate,omitnil,omitempty" name:"Certificate"`

	// 设备私钥下载地址
	// 注意:此字段可能返回 null,表示取不到有效值。
	WhiteBoxSoUrl *string `json:"WhiteBoxSoUrl,omitnil,omitempty" name:"WhiteBoxSoUrl"`

	// 设备推流状态
	// 注意:此字段可能返回 null,表示取不到有效值。
	StreamStatus *bool `json:"StreamStatus,omitnil,omitempty" name:"StreamStatus"`
}

type DeviceModelData

type DeviceModelData struct {
	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 物模型分支路径
	// 注意:此字段可能返回 null,表示取不到有效值。
	Branch *string `json:"Branch,omitnil,omitempty" name:"Branch"`

	// 物模型数据
	// 注意:此字段可能返回 null,表示取不到有效值。
	IotModel *string `json:"IotModel,omitnil,omitempty" name:"IotModel"`
}

type DevicesData

type DevicesData struct {
	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 设备名称
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 激活时间 0代表未激活
	ActiveTime *uint64 `json:"ActiveTime,omitnil,omitempty" name:"ActiveTime"`

	// 设备是否被禁用
	Disabled *bool `json:"Disabled,omitnil,omitempty" name:"Disabled"`

	// 设备推流状态
	StreamStatus *bool `json:"StreamStatus,omitnil,omitempty" name:"StreamStatus"`

	// 固件版本
	OtaVersion *string `json:"OtaVersion,omitnil,omitempty" name:"OtaVersion"`

	// 设备在线状态
	Online *uint64 `json:"Online,omitnil,omitempty" name:"Online"`

	// 设备最后上线时间(mqtt连接成功时间),UNIX时间戳,单位秒
	LastOnlineTime *uint64 `json:"LastOnlineTime,omitnil,omitempty" name:"LastOnlineTime"`

	// 物模型json数据
	IotModel *string `json:"IotModel,omitnil,omitempty" name:"IotModel"`

	// 设备固件最新更新时间,UNIX时间戳,单位秒
	LastUpdateTime *uint64 `json:"LastUpdateTime,omitnil,omitempty" name:"LastUpdateTime"`
}

type DisableDeviceRequest

type DisableDeviceRequest struct {
	*tchttp.BaseRequest

	// 设备TID ≤100
	Tids []*string `json:"Tids,omitnil,omitempty" name:"Tids"`
}

func NewDisableDeviceRequest

func NewDisableDeviceRequest() (request *DisableDeviceRequest)

func (*DisableDeviceRequest) FromJsonString

func (r *DisableDeviceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableDeviceRequest) ToJsonString

func (r *DisableDeviceRequest) ToJsonString() string

type DisableDeviceRequestParams added in v1.0.426

type DisableDeviceRequestParams struct {
	// 设备TID ≤100
	Tids []*string `json:"Tids,omitnil,omitempty" name:"Tids"`
}

Predefined struct for user

type DisableDeviceResponse

type DisableDeviceResponse struct {
	*tchttp.BaseResponse
	Response *DisableDeviceResponseParams `json:"Response"`
}

func NewDisableDeviceResponse

func NewDisableDeviceResponse() (response *DisableDeviceResponse)

func (*DisableDeviceResponse) FromJsonString

func (r *DisableDeviceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableDeviceResponse) ToJsonString

func (r *DisableDeviceResponse) ToJsonString() string

type DisableDeviceResponseParams added in v1.0.426

type DisableDeviceResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DisableDeviceStreamRequest

type DisableDeviceStreamRequest struct {
	*tchttp.BaseRequest

	// 设备TID列表
	Tids []*string `json:"Tids,omitnil,omitempty" name:"Tids"`
}

func NewDisableDeviceStreamRequest

func NewDisableDeviceStreamRequest() (request *DisableDeviceStreamRequest)

func (*DisableDeviceStreamRequest) FromJsonString

func (r *DisableDeviceStreamRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableDeviceStreamRequest) ToJsonString

func (r *DisableDeviceStreamRequest) ToJsonString() string

type DisableDeviceStreamRequestParams added in v1.0.426

type DisableDeviceStreamRequestParams struct {
	// 设备TID列表
	Tids []*string `json:"Tids,omitnil,omitempty" name:"Tids"`
}

Predefined struct for user

type DisableDeviceStreamResponse

type DisableDeviceStreamResponse struct {
	*tchttp.BaseResponse
	Response *DisableDeviceStreamResponseParams `json:"Response"`
}

func NewDisableDeviceStreamResponse

func NewDisableDeviceStreamResponse() (response *DisableDeviceStreamResponse)

func (*DisableDeviceStreamResponse) FromJsonString

func (r *DisableDeviceStreamResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableDeviceStreamResponse) ToJsonString

func (r *DisableDeviceStreamResponse) ToJsonString() string

type DisableDeviceStreamResponseParams added in v1.0.426

type DisableDeviceStreamResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DisableOtaVersionRequest

type DisableOtaVersionRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 固件版本号,格式为x.y.z, x,y 范围0-63,z范围1~524288
	OtaVersion *string `json:"OtaVersion,omitnil,omitempty" name:"OtaVersion"`

	// 操作人
	Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"`
}

func NewDisableOtaVersionRequest

func NewDisableOtaVersionRequest() (request *DisableOtaVersionRequest)

func (*DisableOtaVersionRequest) FromJsonString

func (r *DisableOtaVersionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableOtaVersionRequest) ToJsonString

func (r *DisableOtaVersionRequest) ToJsonString() string

type DisableOtaVersionRequestParams added in v1.0.426

type DisableOtaVersionRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 固件版本号,格式为x.y.z, x,y 范围0-63,z范围1~524288
	OtaVersion *string `json:"OtaVersion,omitnil,omitempty" name:"OtaVersion"`

	// 操作人
	Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"`
}

Predefined struct for user

type DisableOtaVersionResponse

type DisableOtaVersionResponse struct {
	*tchttp.BaseResponse
	Response *DisableOtaVersionResponseParams `json:"Response"`
}

func NewDisableOtaVersionResponse

func NewDisableOtaVersionResponse() (response *DisableOtaVersionResponse)

func (*DisableOtaVersionResponse) FromJsonString

func (r *DisableOtaVersionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableOtaVersionResponse) ToJsonString

func (r *DisableOtaVersionResponse) ToJsonString() string

type DisableOtaVersionResponseParams added in v1.0.426

type DisableOtaVersionResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type IotModelData

type IotModelData struct {
	// 版本号
	Revision *int64 `json:"Revision,omitnil,omitempty" name:"Revision"`

	// 发布时间
	ReleaseTime *int64 `json:"ReleaseTime,omitnil,omitempty" name:"ReleaseTime"`
}

type LogData

type LogData struct {
	// 发生时间 UNIX时间戳,单位秒
	Occurtime *uint64 `json:"Occurtime,omitnil,omitempty" name:"Occurtime"`

	// 日志类型 1在线状态变更 2FP变更 3SP变更 4CO控制 5ST变更 6EV事件
	LogType *uint64 `json:"LogType,omitnil,omitempty" name:"LogType"`

	// 物模型对象索引
	// 注意:此字段可能返回 null,表示取不到有效值。
	DataObject *string `json:"DataObject,omitnil,omitempty" name:"DataObject"`

	// 物模型旧值  json串
	// 注意:此字段可能返回 null,表示取不到有效值。
	OldValue *string `json:"OldValue,omitnil,omitempty" name:"OldValue"`

	// 物模型新值  json串
	// 注意:此字段可能返回 null,表示取不到有效值。
	NewValue *string `json:"NewValue,omitnil,omitempty" name:"NewValue"`
}

type ModifyDeviceActionRequest

type ModifyDeviceActionRequest struct {
	*tchttp.BaseRequest

	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 如果设备处于休眠状态,是否唤醒设备
	Wakeup *bool `json:"Wakeup,omitnil,omitempty" name:"Wakeup"`

	// 物模型的分支路径
	Branch *string `json:"Branch,omitnil,omitempty" name:"Branch"`

	// 写入的物模型数据,如果是json需要转义成字符串
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`

	// Value字段的类型是否为数值(float、int)
	IsNum *bool `json:"IsNum,omitnil,omitempty" name:"IsNum"`
}

func NewModifyDeviceActionRequest

func NewModifyDeviceActionRequest() (request *ModifyDeviceActionRequest)

func (*ModifyDeviceActionRequest) FromJsonString

func (r *ModifyDeviceActionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDeviceActionRequest) ToJsonString

func (r *ModifyDeviceActionRequest) ToJsonString() string

type ModifyDeviceActionRequestParams added in v1.0.426

type ModifyDeviceActionRequestParams struct {
	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 如果设备处于休眠状态,是否唤醒设备
	Wakeup *bool `json:"Wakeup,omitnil,omitempty" name:"Wakeup"`

	// 物模型的分支路径
	Branch *string `json:"Branch,omitnil,omitempty" name:"Branch"`

	// 写入的物模型数据,如果是json需要转义成字符串
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`

	// Value字段的类型是否为数值(float、int)
	IsNum *bool `json:"IsNum,omitnil,omitempty" name:"IsNum"`
}

Predefined struct for user

type ModifyDeviceActionResponse

type ModifyDeviceActionResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDeviceActionResponseParams `json:"Response"`
}

func NewModifyDeviceActionResponse

func NewModifyDeviceActionResponse() (response *ModifyDeviceActionResponse)

func (*ModifyDeviceActionResponse) FromJsonString

func (r *ModifyDeviceActionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDeviceActionResponse) ToJsonString

func (r *ModifyDeviceActionResponse) ToJsonString() string

type ModifyDeviceActionResponseParams added in v1.0.426

type ModifyDeviceActionResponseParams struct {
	// 设备端的响应结果
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data *string `json:"Data,omitnil,omitempty" name:"Data"`

	// 任务ID
	// 若设备端未能及时响应时,会返回此字段,用户可以通过DescribeModelDataRet获取设备的最终响应结果。
	// 注意:此字段可能返回 null,表示取不到有效值。
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDevicePropertyRequest

type ModifyDevicePropertyRequest struct {
	*tchttp.BaseRequest

	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 如果设备处于休眠状态,是否唤醒设备
	Wakeup *bool `json:"Wakeup,omitnil,omitempty" name:"Wakeup"`

	// 物模型的分支路径
	Branch *string `json:"Branch,omitnil,omitempty" name:"Branch"`

	// 写入的物模型数据,如果是json需要转义成字符串
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`

	// Value字段是否为数值(float、int)
	IsNum *bool `json:"IsNum,omitnil,omitempty" name:"IsNum"`
}

func NewModifyDevicePropertyRequest

func NewModifyDevicePropertyRequest() (request *ModifyDevicePropertyRequest)

func (*ModifyDevicePropertyRequest) FromJsonString

func (r *ModifyDevicePropertyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDevicePropertyRequest) ToJsonString

func (r *ModifyDevicePropertyRequest) ToJsonString() string

type ModifyDevicePropertyRequestParams added in v1.0.426

type ModifyDevicePropertyRequestParams struct {
	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 如果设备处于休眠状态,是否唤醒设备
	Wakeup *bool `json:"Wakeup,omitnil,omitempty" name:"Wakeup"`

	// 物模型的分支路径
	Branch *string `json:"Branch,omitnil,omitempty" name:"Branch"`

	// 写入的物模型数据,如果是json需要转义成字符串
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`

	// Value字段是否为数值(float、int)
	IsNum *bool `json:"IsNum,omitnil,omitempty" name:"IsNum"`
}

Predefined struct for user

type ModifyDevicePropertyResponse

type ModifyDevicePropertyResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDevicePropertyResponseParams `json:"Response"`
}

func NewModifyDevicePropertyResponse

func NewModifyDevicePropertyResponse() (response *ModifyDevicePropertyResponse)

func (*ModifyDevicePropertyResponse) FromJsonString

func (r *ModifyDevicePropertyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDevicePropertyResponse) ToJsonString

func (r *ModifyDevicePropertyResponse) ToJsonString() string

type ModifyDevicePropertyResponseParams added in v1.0.426

type ModifyDevicePropertyResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDeviceRequest

type ModifyDeviceRequest struct {
	*tchttp.BaseRequest

	// 设备ID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 用户ID
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`

	// 设备昵称,最多不超过64个字符
	Nick *string `json:"Nick,omitnil,omitempty" name:"Nick"`
}

func NewModifyDeviceRequest

func NewModifyDeviceRequest() (request *ModifyDeviceRequest)

func (*ModifyDeviceRequest) FromJsonString

func (r *ModifyDeviceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDeviceRequest) ToJsonString

func (r *ModifyDeviceRequest) ToJsonString() string

type ModifyDeviceRequestParams added in v1.0.426

type ModifyDeviceRequestParams struct {
	// 设备ID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 用户ID
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`

	// 设备昵称,最多不超过64个字符
	Nick *string `json:"Nick,omitnil,omitempty" name:"Nick"`
}

Predefined struct for user

type ModifyDeviceResponse

type ModifyDeviceResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDeviceResponseParams `json:"Response"`
}

func NewModifyDeviceResponse

func NewModifyDeviceResponse() (response *ModifyDeviceResponse)

func (*ModifyDeviceResponse) FromJsonString

func (r *ModifyDeviceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDeviceResponse) ToJsonString

func (r *ModifyDeviceResponse) ToJsonString() string

type ModifyDeviceResponseParams added in v1.0.426

type ModifyDeviceResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyProductRequest

type ModifyProductRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 产品名称
	ProductName *string `json:"ProductName,omitnil,omitempty" name:"ProductName"`

	// 产品描述
	ProductDescription *string `json:"ProductDescription,omitnil,omitempty" name:"ProductDescription"`

	// 主芯片产商ID
	ChipManufactureId *string `json:"ChipManufactureId,omitnil,omitempty" name:"ChipManufactureId"`

	// 主芯片ID
	ChipId *string `json:"ChipId,omitnil,omitempty" name:"ChipId"`
}

func NewModifyProductRequest

func NewModifyProductRequest() (request *ModifyProductRequest)

func (*ModifyProductRequest) FromJsonString

func (r *ModifyProductRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyProductRequest) ToJsonString

func (r *ModifyProductRequest) ToJsonString() string

type ModifyProductRequestParams added in v1.0.426

type ModifyProductRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 产品名称
	ProductName *string `json:"ProductName,omitnil,omitempty" name:"ProductName"`

	// 产品描述
	ProductDescription *string `json:"ProductDescription,omitnil,omitempty" name:"ProductDescription"`

	// 主芯片产商ID
	ChipManufactureId *string `json:"ChipManufactureId,omitnil,omitempty" name:"ChipManufactureId"`

	// 主芯片ID
	ChipId *string `json:"ChipId,omitnil,omitempty" name:"ChipId"`
}

Predefined struct for user

type ModifyProductResponse

type ModifyProductResponse struct {
	*tchttp.BaseResponse
	Response *ModifyProductResponseParams `json:"Response"`
}

func NewModifyProductResponse

func NewModifyProductResponse() (response *ModifyProductResponse)

func (*ModifyProductResponse) FromJsonString

func (r *ModifyProductResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyProductResponse) ToJsonString

func (r *ModifyProductResponse) ToJsonString() string

type ModifyProductResponseParams added in v1.0.426

type ModifyProductResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyVerContentRequest

type ModifyVerContentRequest struct {
	*tchttp.BaseRequest

	// 产品id
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 需要修改的版本号
	OtaVersion *string `json:"OtaVersion,omitnil,omitempty" name:"OtaVersion"`

	// 操作人,字符长度<=64
	Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"`

	// 备注信息
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`

	// 版本发布的描述信息,需要国际化,可以为空
	Contents *Contents `json:"Contents,omitnil,omitempty" name:"Contents"`
}

func NewModifyVerContentRequest

func NewModifyVerContentRequest() (request *ModifyVerContentRequest)

func (*ModifyVerContentRequest) FromJsonString

func (r *ModifyVerContentRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyVerContentRequest) ToJsonString

func (r *ModifyVerContentRequest) ToJsonString() string

type ModifyVerContentRequestParams added in v1.0.426

type ModifyVerContentRequestParams struct {
	// 产品id
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 需要修改的版本号
	OtaVersion *string `json:"OtaVersion,omitnil,omitempty" name:"OtaVersion"`

	// 操作人,字符长度<=64
	Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"`

	// 备注信息
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`

	// 版本发布的描述信息,需要国际化,可以为空
	Contents *Contents `json:"Contents,omitnil,omitempty" name:"Contents"`
}

Predefined struct for user

type ModifyVerContentResponse

type ModifyVerContentResponse struct {
	*tchttp.BaseResponse
	Response *ModifyVerContentResponseParams `json:"Response"`
}

func NewModifyVerContentResponse

func NewModifyVerContentResponse() (response *ModifyVerContentResponse)

func (*ModifyVerContentResponse) FromJsonString

func (r *ModifyVerContentResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyVerContentResponse) ToJsonString

func (r *ModifyVerContentResponse) ToJsonString() string

type ModifyVerContentResponseParams added in v1.0.426

type ModifyVerContentResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type MsgQueueData

type MsgQueueData struct {
	// 消息队列类型 1:CMQ 2:kafka
	MsgQueueType *uint64 `json:"MsgQueueType,omitnil,omitempty" name:"MsgQueueType"`

	// 消息类型列表,整型值(0-31)之间以“,”分隔
	MsgType *string `json:"MsgType,omitnil,omitempty" name:"MsgType"`

	// 主题名称
	Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`

	// 实例名称
	Instance *string `json:"Instance,omitnil,omitempty" name:"Instance"`

	// 消息地域
	MsgRegion *string `json:"MsgRegion,omitnil,omitempty" name:"MsgRegion"`
}

type OsData

type OsData struct {
	// 芯片型号
	// 注意:此字段可能返回 null,表示取不到有效值。
	ChipId *string `json:"ChipId,omitnil,omitempty" name:"ChipId"`

	// 芯片厂商
	// 注意:此字段可能返回 null,表示取不到有效值。
	ChipManufacture *string `json:"ChipManufacture,omitnil,omitempty" name:"ChipManufacture"`
}

type OtaPubHistory

type OtaPubHistory struct {
	// 版本名称
	OtaVersion *string `json:"OtaVersion,omitnil,omitempty" name:"OtaVersion"`

	// 发布时间,unix时间戳,单位:秒
	PublishTime *uint64 `json:"PublishTime,omitnil,omitempty" name:"PublishTime"`
}

type ProductBase

type ProductBase struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 产器型号(APP产品,为APP包名)
	ProductModel *string `json:"ProductModel,omitnil,omitempty" name:"ProductModel"`

	// 产品名称
	ProductName *string `json:"ProductName,omitnil,omitempty" name:"ProductName"`

	// 产品描述信息
	ProductDescription *string `json:"ProductDescription,omitnil,omitempty" name:"ProductDescription"`

	// 创建时间,UNIX 时间戳,单位秒
	CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 物模型发布版本号,0代表物模型尚未发布
	IotModelRevision *uint64 `json:"IotModelRevision,omitnil,omitempty" name:"IotModelRevision"`

	// 产品密钥
	SecretKey *string `json:"SecretKey,omitnil,omitempty" name:"SecretKey"`

	// 设备功能码
	// ypsxth : 音频双向通话;
	// spdxth : 视频单向通话(监控);
	// NVR0824 : NVR设备,大于8路,小于等于24路;
	// WifiKeepalive : Wifi保活(低功耗产品);
	// Alexa : Alexa接入;
	// Google : Google接入;
	// 注意:此字段可能返回 null,表示取不到有效值。
	FuncCode []*string `json:"FuncCode,omitnil,omitempty" name:"FuncCode"`

	// 产品类别,0 : 普通视频设备;1 : NVR设备
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProductCate *int64 `json:"ProductCate,omitnil,omitempty" name:"ProductCate"`

	// 产品地域
	// China-Mainland(中国大陆)
	// China-Hong Kong, Macao and Taiwan(港澳台地区)
	// America(美国)
	// Europe(欧洲)
	// India(印度)
	// Other-Overseas(其他境外地区)
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProductRegion *string `json:"ProductRegion,omitnil,omitempty" name:"ProductRegion"`
}

type ProductData

type ProductData struct {
	// 产品ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 产品名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProductName *string `json:"ProductName,omitnil,omitempty" name:"ProductName"`

	// 产品描述信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProductDescription *string `json:"ProductDescription,omitnil,omitempty" name:"ProductDescription"`

	// 创建时间,UNIX 时间戳,单位秒
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreateTime *int64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 物模型发布版本号,0代表物模型尚未发布
	// 注意:此字段可能返回 null,表示取不到有效值。
	IotModelRevision *int64 `json:"IotModelRevision,omitnil,omitempty" name:"IotModelRevision"`

	// 产品密钥
	// 注意:此字段可能返回 null,表示取不到有效值。
	SecretKey *string `json:"SecretKey,omitnil,omitempty" name:"SecretKey"`

	// 设备功能码
	// 注意:此字段可能返回 null,表示取不到有效值。
	Features []*string `json:"Features,omitnil,omitempty" name:"Features"`

	// 产器型号(APP产品,为APP包名)
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProductModel *string `json:"ProductModel,omitnil,omitempty" name:"ProductModel"`

	// 主芯片厂商id
	// 注意:此字段可能返回 null,表示取不到有效值。
	ChipManufactureId *string `json:"ChipManufactureId,omitnil,omitempty" name:"ChipManufactureId"`

	// 主芯片型号
	// 注意:此字段可能返回 null,表示取不到有效值。
	ChipId *string `json:"ChipId,omitnil,omitempty" name:"ChipId"`

	// 产品类别,0:普通视频设备;1:NVR设备
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProductCate *int64 `json:"ProductCate,omitnil,omitempty" name:"ProductCate"`

	// 产品地区
	// China-Mainland(中国大陆)
	// China-Hong Kong, Macao and Taiwan(港澳台地区)
	// America(美国)
	// Europe(欧洲)
	// India(印度)
	// Other-Overseas(其他境外地区)
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProductRegion *string `json:"ProductRegion,omitnil,omitempty" name:"ProductRegion"`

	// 接入模型,bit0是0:公版小程序未接入,bit0是1:公版小程序已接入
	// 注意:此字段可能返回 null,表示取不到有效值。
	AccessMode *int64 `json:"AccessMode,omitnil,omitempty" name:"AccessMode"`

	// linux,android,liteos
	// 注意:此字段可能返回 null,表示取不到有效值。
	Os *string `json:"Os,omitnil,omitempty" name:"Os"`
}

type RechargeRecord

type RechargeRecord struct {
	// 流水记录号。
	// 注意:此字段可能返回 null,表示取不到有效值。
	WaterId *int64 `json:"WaterId,omitnil,omitempty" name:"WaterId"`

	// 充值前的余额,单位0.01元。
	// 注意:此字段可能返回 null,表示取不到有效值。
	BalanceBeforeRecharge *int64 `json:"BalanceBeforeRecharge,omitnil,omitempty" name:"BalanceBeforeRecharge"`

	// 充值金额,单位0.01元。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Money *int64 `json:"Money,omitnil,omitempty" name:"Money"`

	// 充值时间, UTC值。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OperateTime *int64 `json:"OperateTime,omitnil,omitempty" name:"OperateTime"`
}

type RefundStorageServiceRequest

type RefundStorageServiceRequest struct {
	*tchttp.BaseRequest

	// 云存服务ID
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// 云存子订单ID。如果指定子订单ID,则仅退订该子订单,如果未指定子定单ID,则退订所有子订单
	OrderId *string `json:"OrderId,omitnil,omitempty" name:"OrderId"`
}

func NewRefundStorageServiceRequest

func NewRefundStorageServiceRequest() (request *RefundStorageServiceRequest)

func (*RefundStorageServiceRequest) FromJsonString

func (r *RefundStorageServiceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RefundStorageServiceRequest) ToJsonString

func (r *RefundStorageServiceRequest) ToJsonString() string

type RefundStorageServiceRequestParams added in v1.0.426

type RefundStorageServiceRequestParams struct {
	// 云存服务ID
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// 云存子订单ID。如果指定子订单ID,则仅退订该子订单,如果未指定子定单ID,则退订所有子订单
	OrderId *string `json:"OrderId,omitnil,omitempty" name:"OrderId"`
}

Predefined struct for user

type RefundStorageServiceResponse

type RefundStorageServiceResponse struct {
	*tchttp.BaseResponse
	Response *RefundStorageServiceResponseParams `json:"Response"`
}

func NewRefundStorageServiceResponse

func NewRefundStorageServiceResponse() (response *RefundStorageServiceResponse)

func (*RefundStorageServiceResponse) FromJsonString

func (r *RefundStorageServiceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RefundStorageServiceResponse) ToJsonString

func (r *RefundStorageServiceResponse) ToJsonString() string

type RefundStorageServiceResponseParams added in v1.0.426

type RefundStorageServiceResponseParams struct {
	// 云存服务ID
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// 云存服务所在的区域
	StorageRegion *string `json:"StorageRegion,omitnil,omitempty" name:"StorageRegion"`

	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 视频流通道号。(对于存在多路视频流的设备,如NVR设备,与设备实际视频流通道号对应)
	ChnNum *int64 `json:"ChnNum,omitnil,omitempty" name:"ChnNum"`

	// 终端用户在IoT Video平台的注册ID
	AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"`

	// 服务开始时间
	StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 服务失效时间
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 服务状态
	// 1:正常使用中
	// 2:待续费。设备云存服务已到期,但是历史云存数据未过期。续费后仍可查看这些历史数据。
	// 3:已过期。查询不到设备保存在云端的数据。
	// 4:等待服务生效。
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 有效云存定单列表
	Data []*StorageOrder `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type RegisteredStatus

type RegisteredStatus struct {
	// 终端用户的唯一ID
	CunionId *string `json:"CunionId,omitnil,omitempty" name:"CunionId"`

	// 注册状态
	IsRegisted *bool `json:"IsRegisted,omitnil,omitempty" name:"IsRegisted"`
}

type RunDeviceRequest

type RunDeviceRequest struct {
	*tchttp.BaseRequest

	// TID列表 ≤100
	Tids []*string `json:"Tids,omitnil,omitempty" name:"Tids"`
}

func NewRunDeviceRequest

func NewRunDeviceRequest() (request *RunDeviceRequest)

func (*RunDeviceRequest) FromJsonString

func (r *RunDeviceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RunDeviceRequest) ToJsonString

func (r *RunDeviceRequest) ToJsonString() string

type RunDeviceRequestParams added in v1.0.426

type RunDeviceRequestParams struct {
	// TID列表 ≤100
	Tids []*string `json:"Tids,omitnil,omitempty" name:"Tids"`
}

Predefined struct for user

type RunDeviceResponse

type RunDeviceResponse struct {
	*tchttp.BaseResponse
	Response *RunDeviceResponseParams `json:"Response"`
}

func NewRunDeviceResponse

func NewRunDeviceResponse() (response *RunDeviceResponse)

func (*RunDeviceResponse) FromJsonString

func (r *RunDeviceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RunDeviceResponse) ToJsonString

func (r *RunDeviceResponse) ToJsonString() string

type RunDeviceResponseParams added in v1.0.426

type RunDeviceResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type RunDeviceStreamRequest

type RunDeviceStreamRequest struct {
	*tchttp.BaseRequest

	// 设备TID 列表
	Tids []*string `json:"Tids,omitnil,omitempty" name:"Tids"`
}

func NewRunDeviceStreamRequest

func NewRunDeviceStreamRequest() (request *RunDeviceStreamRequest)

func (*RunDeviceStreamRequest) FromJsonString

func (r *RunDeviceStreamRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RunDeviceStreamRequest) ToJsonString

func (r *RunDeviceStreamRequest) ToJsonString() string

type RunDeviceStreamRequestParams added in v1.0.426

type RunDeviceStreamRequestParams struct {
	// 设备TID 列表
	Tids []*string `json:"Tids,omitnil,omitempty" name:"Tids"`
}

Predefined struct for user

type RunDeviceStreamResponse

type RunDeviceStreamResponse struct {
	*tchttp.BaseResponse
	Response *RunDeviceStreamResponseParams `json:"Response"`
}

func NewRunDeviceStreamResponse

func NewRunDeviceStreamResponse() (response *RunDeviceStreamResponse)

func (*RunDeviceStreamResponse) FromJsonString

func (r *RunDeviceStreamResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RunDeviceStreamResponse) ToJsonString

func (r *RunDeviceStreamResponse) ToJsonString() string

type RunDeviceStreamResponseParams added in v1.0.426

type RunDeviceStreamResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type RunIotModelRequest

type RunIotModelRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 物模型定义,json格式的字符串
	IotModel *string `json:"IotModel,omitnil,omitempty" name:"IotModel"`
}

func NewRunIotModelRequest

func NewRunIotModelRequest() (request *RunIotModelRequest)

func (*RunIotModelRequest) FromJsonString

func (r *RunIotModelRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RunIotModelRequest) ToJsonString

func (r *RunIotModelRequest) ToJsonString() string

type RunIotModelRequestParams added in v1.0.426

type RunIotModelRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 物模型定义,json格式的字符串
	IotModel *string `json:"IotModel,omitnil,omitempty" name:"IotModel"`
}

Predefined struct for user

type RunIotModelResponse

type RunIotModelResponse struct {
	*tchttp.BaseResponse
	Response *RunIotModelResponseParams `json:"Response"`
}

func NewRunIotModelResponse

func NewRunIotModelResponse() (response *RunIotModelResponse)

func (*RunIotModelResponse) FromJsonString

func (r *RunIotModelResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RunIotModelResponse) ToJsonString

func (r *RunIotModelResponse) ToJsonString() string

type RunIotModelResponseParams added in v1.0.426

type RunIotModelResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type RunOtaVersionRequest

type RunOtaVersionRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 固件版本号,格式为x.y.z, x,y 范围0-63,z范围1~524288
	OtaVersion *string `json:"OtaVersion,omitnil,omitempty" name:"OtaVersion"`

	// 灰度值,取值范围0-100,为0时相当于暂停发布
	GrayValue *uint64 `json:"GrayValue,omitnil,omitempty" name:"GrayValue"`

	// 指定的旧版本
	OldVersions []*string `json:"OldVersions,omitnil,omitempty" name:"OldVersions"`

	// 操作人
	Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"`

	// 备注信息
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`

	// 版本发布的描述信息,需要国际化,可以为空
	Contents *Contents `json:"Contents,omitnil,omitempty" name:"Contents"`
}

func NewRunOtaVersionRequest

func NewRunOtaVersionRequest() (request *RunOtaVersionRequest)

func (*RunOtaVersionRequest) FromJsonString

func (r *RunOtaVersionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RunOtaVersionRequest) ToJsonString

func (r *RunOtaVersionRequest) ToJsonString() string

type RunOtaVersionRequestParams added in v1.0.426

type RunOtaVersionRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 固件版本号,格式为x.y.z, x,y 范围0-63,z范围1~524288
	OtaVersion *string `json:"OtaVersion,omitnil,omitempty" name:"OtaVersion"`

	// 灰度值,取值范围0-100,为0时相当于暂停发布
	GrayValue *uint64 `json:"GrayValue,omitnil,omitempty" name:"GrayValue"`

	// 指定的旧版本
	OldVersions []*string `json:"OldVersions,omitnil,omitempty" name:"OldVersions"`

	// 操作人
	Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"`

	// 备注信息
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`

	// 版本发布的描述信息,需要国际化,可以为空
	Contents *Contents `json:"Contents,omitnil,omitempty" name:"Contents"`
}

Predefined struct for user

type RunOtaVersionResponse

type RunOtaVersionResponse struct {
	*tchttp.BaseResponse
	Response *RunOtaVersionResponseParams `json:"Response"`
}

func NewRunOtaVersionResponse

func NewRunOtaVersionResponse() (response *RunOtaVersionResponse)

func (*RunOtaVersionResponse) FromJsonString

func (r *RunOtaVersionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RunOtaVersionResponse) ToJsonString

func (r *RunOtaVersionResponse) ToJsonString() string

type RunOtaVersionResponseParams added in v1.0.426

type RunOtaVersionResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type RunTestOtaVersionRequest

type RunTestOtaVersionRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 固件版本号,格式为x.y.z, x,y 范围0-63,z范围1~524288
	OtaVersion *string `json:"OtaVersion,omitnil,omitempty" name:"OtaVersion"`

	// 指定可升级的设备TID
	Tids []*string `json:"Tids,omitnil,omitempty" name:"Tids"`

	// 操作人
	Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"`

	// 备注信息
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
}

func NewRunTestOtaVersionRequest

func NewRunTestOtaVersionRequest() (request *RunTestOtaVersionRequest)

func (*RunTestOtaVersionRequest) FromJsonString

func (r *RunTestOtaVersionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RunTestOtaVersionRequest) ToJsonString

func (r *RunTestOtaVersionRequest) ToJsonString() string

type RunTestOtaVersionRequestParams added in v1.0.426

type RunTestOtaVersionRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 固件版本号,格式为x.y.z, x,y 范围0-63,z范围1~524288
	OtaVersion *string `json:"OtaVersion,omitnil,omitempty" name:"OtaVersion"`

	// 指定可升级的设备TID
	Tids []*string `json:"Tids,omitnil,omitempty" name:"Tids"`

	// 操作人
	Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"`

	// 备注信息
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
}

Predefined struct for user

type RunTestOtaVersionResponse

type RunTestOtaVersionResponse struct {
	*tchttp.BaseResponse
	Response *RunTestOtaVersionResponseParams `json:"Response"`
}

func NewRunTestOtaVersionResponse

func NewRunTestOtaVersionResponse() (response *RunTestOtaVersionResponse)

func (*RunTestOtaVersionResponse) FromJsonString

func (r *RunTestOtaVersionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RunTestOtaVersionResponse) ToJsonString

func (r *RunTestOtaVersionResponse) ToJsonString() string

type RunTestOtaVersionResponseParams added in v1.0.426

type RunTestOtaVersionResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SendOnlineMsgRequest

type SendOnlineMsgRequest struct {
	*tchttp.BaseRequest

	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 如果设备处于休眠状态,是否唤醒设备
	Wakeup *bool `json:"Wakeup,omitnil,omitempty" name:"Wakeup"`

	// 等待回应类型
	// 0:不等待设备回应直接响应请求;
	// 1:要求设备确认消息已接收,或等待超时后返回;
	// 2:要求设备进行响应处理,收到设备的响应数据后,将设备响应数据回应给请求方;
	WaitResp *uint64 `json:"WaitResp,omitnil,omitempty" name:"WaitResp"`

	// 消息主题
	MsgTopic *string `json:"MsgTopic,omitnil,omitempty" name:"MsgTopic"`

	// 消息内容,最大长度不超过8k字节
	MsgContent *string `json:"MsgContent,omitnil,omitempty" name:"MsgContent"`
}

func NewSendOnlineMsgRequest

func NewSendOnlineMsgRequest() (request *SendOnlineMsgRequest)

func (*SendOnlineMsgRequest) FromJsonString

func (r *SendOnlineMsgRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SendOnlineMsgRequest) ToJsonString

func (r *SendOnlineMsgRequest) ToJsonString() string

type SendOnlineMsgRequestParams added in v1.0.426

type SendOnlineMsgRequestParams struct {
	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 如果设备处于休眠状态,是否唤醒设备
	Wakeup *bool `json:"Wakeup,omitnil,omitempty" name:"Wakeup"`

	// 等待回应类型
	// 0:不等待设备回应直接响应请求;
	// 1:要求设备确认消息已接收,或等待超时后返回;
	// 2:要求设备进行响应处理,收到设备的响应数据后,将设备响应数据回应给请求方;
	WaitResp *uint64 `json:"WaitResp,omitnil,omitempty" name:"WaitResp"`

	// 消息主题
	MsgTopic *string `json:"MsgTopic,omitnil,omitempty" name:"MsgTopic"`

	// 消息内容,最大长度不超过8k字节
	MsgContent *string `json:"MsgContent,omitnil,omitempty" name:"MsgContent"`
}

Predefined struct for user

type SendOnlineMsgResponse

type SendOnlineMsgResponse struct {
	*tchttp.BaseResponse
	Response *SendOnlineMsgResponseParams `json:"Response"`
}

func NewSendOnlineMsgResponse

func NewSendOnlineMsgResponse() (response *SendOnlineMsgResponse)

func (*SendOnlineMsgResponse) FromJsonString

func (r *SendOnlineMsgResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SendOnlineMsgResponse) ToJsonString

func (r *SendOnlineMsgResponse) ToJsonString() string

type SendOnlineMsgResponseParams added in v1.0.426

type SendOnlineMsgResponseParams struct {
	// 若返回此项则表明需要用户用此taskID进行查询请求是否成功(只有waitresp不等于0的情况下才可能会返回该taskID项)
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// 设备响应信息
	Data *string `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SetMessageQueueRequest

type SetMessageQueueRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 消息队列类型 1-CMQ; 2-Ckafka
	MsgQueueType *uint64 `json:"MsgQueueType,omitnil,omitempty" name:"MsgQueueType"`

	// 消息类型,整型值(0-31)之间以“,”分隔
	// 0.设备在线状态变更
	// 1.常亮属性(ProConst)变更
	// 2.可写属性(ProWritable)变更
	// 3.只读属性(ProReadonly)变更
	// 4.设备控制(Action)
	// 5.设备事件(Event)
	// 6.系统事件(System)
	MsgType *string `json:"MsgType,omitnil,omitempty" name:"MsgType"`

	// 消息队列主题,不超过32字符
	Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`

	// kafka消息队列的实例名,不超过64字符
	Instance *string `json:"Instance,omitnil,omitempty" name:"Instance"`

	// 消息地域,不超过32字符
	MsgRegion *string `json:"MsgRegion,omitnil,omitempty" name:"MsgRegion"`
}

func NewSetMessageQueueRequest

func NewSetMessageQueueRequest() (request *SetMessageQueueRequest)

func (*SetMessageQueueRequest) FromJsonString

func (r *SetMessageQueueRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SetMessageQueueRequest) ToJsonString

func (r *SetMessageQueueRequest) ToJsonString() string

type SetMessageQueueRequestParams added in v1.0.426

type SetMessageQueueRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 消息队列类型 1-CMQ; 2-Ckafka
	MsgQueueType *uint64 `json:"MsgQueueType,omitnil,omitempty" name:"MsgQueueType"`

	// 消息类型,整型值(0-31)之间以“,”分隔
	// 0.设备在线状态变更
	// 1.常亮属性(ProConst)变更
	// 2.可写属性(ProWritable)变更
	// 3.只读属性(ProReadonly)变更
	// 4.设备控制(Action)
	// 5.设备事件(Event)
	// 6.系统事件(System)
	MsgType *string `json:"MsgType,omitnil,omitempty" name:"MsgType"`

	// 消息队列主题,不超过32字符
	Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`

	// kafka消息队列的实例名,不超过64字符
	Instance *string `json:"Instance,omitnil,omitempty" name:"Instance"`

	// 消息地域,不超过32字符
	MsgRegion *string `json:"MsgRegion,omitnil,omitempty" name:"MsgRegion"`
}

Predefined struct for user

type SetMessageQueueResponse

type SetMessageQueueResponse struct {
	*tchttp.BaseResponse
	Response *SetMessageQueueResponseParams `json:"Response"`
}

func NewSetMessageQueueResponse

func NewSetMessageQueueResponse() (response *SetMessageQueueResponse)

func (*SetMessageQueueResponse) FromJsonString

func (r *SetMessageQueueResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SetMessageQueueResponse) ToJsonString

func (r *SetMessageQueueResponse) ToJsonString() string

type SetMessageQueueResponseParams added in v1.0.426

type SetMessageQueueResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type StorageOrder

type StorageOrder struct {
	// 定单唯一性ID
	OrderId *string `json:"OrderId,omitnil,omitempty" name:"OrderId"`

	// 云存套餐ID
	PkgId *string `json:"PkgId,omitnil,omitempty" name:"PkgId"`

	// 定单服务状态
	// 1;订单正在使用。
	// 2:订单未开始。
	// 3:订单已经使用过,现在暂时未开始使用(该订单从其他服务转移而来)。
	// 4:订单已过期。
	// 5:订单已被退订。
	// 6:定单已被转移到其他云存服务。
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 定单服务生效时间
	StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 定单服务失效时间
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

type SystemType

type SystemType struct {
	// 安卓系统
	// 注意:此字段可能返回 null,表示取不到有效值。
	Android []*OsData `json:"Android,omitnil,omitempty" name:"Android"`

	// linux系统
	// 注意:此字段可能返回 null,表示取不到有效值。
	Linux []*OsData `json:"Linux,omitnil,omitempty" name:"Linux"`

	// LiteOs系统
	// 注意:此字段可能返回 null,表示取不到有效值。
	LiteOs []*OsData `json:"LiteOs,omitnil,omitempty" name:"LiteOs"`
}

type TraceStatus

type TraceStatus struct {
	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 设备追踪状态
	IsExist *bool `json:"IsExist,omitnil,omitempty" name:"IsExist"`
}

type UpgradeDeviceRequest

type UpgradeDeviceRequest struct {
	*tchttp.BaseRequest

	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 固件版本号
	OtaVersion *string `json:"OtaVersion,omitnil,omitempty" name:"OtaVersion"`

	// 是否立即升级
	UpgradeNow *bool `json:"UpgradeNow,omitnil,omitempty" name:"UpgradeNow"`
}

func NewUpgradeDeviceRequest

func NewUpgradeDeviceRequest() (request *UpgradeDeviceRequest)

func (*UpgradeDeviceRequest) FromJsonString

func (r *UpgradeDeviceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpgradeDeviceRequest) ToJsonString

func (r *UpgradeDeviceRequest) ToJsonString() string

type UpgradeDeviceRequestParams added in v1.0.426

type UpgradeDeviceRequestParams struct {
	// 设备TID
	Tid *string `json:"Tid,omitnil,omitempty" name:"Tid"`

	// 固件版本号
	OtaVersion *string `json:"OtaVersion,omitnil,omitempty" name:"OtaVersion"`

	// 是否立即升级
	UpgradeNow *bool `json:"UpgradeNow,omitnil,omitempty" name:"UpgradeNow"`
}

Predefined struct for user

type UpgradeDeviceResponse

type UpgradeDeviceResponse struct {
	*tchttp.BaseResponse
	Response *UpgradeDeviceResponseParams `json:"Response"`
}

func NewUpgradeDeviceResponse

func NewUpgradeDeviceResponse() (response *UpgradeDeviceResponse)

func (*UpgradeDeviceResponse) FromJsonString

func (r *UpgradeDeviceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpgradeDeviceResponse) ToJsonString

func (r *UpgradeDeviceResponse) ToJsonString() string

type UpgradeDeviceResponseParams added in v1.0.426

type UpgradeDeviceResponseParams struct {
	// 设备端返回的数据
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data *string `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UploadOtaVersionRequest

type UploadOtaVersionRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 固件版本号,格式为x.y.z, x,y 范围0-63,z范围1~524288
	OtaVersion *string `json:"OtaVersion,omitnil,omitempty" name:"OtaVersion"`

	// 固件版本URL
	VersionUrl *string `json:"VersionUrl,omitnil,omitempty" name:"VersionUrl"`

	// 文件大小,单位:byte
	FileSize *uint64 `json:"FileSize,omitnil,omitempty" name:"FileSize"`

	// 文件md5校验码(32字符)
	Md5 *string `json:"Md5,omitnil,omitempty" name:"Md5"`

	// 操作人
	Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"`

	// 备注信息
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`

	// 版本发布的描述信息,需要国际化,可以为空
	Contents *Contents `json:"Contents,omitnil,omitempty" name:"Contents"`
}

func NewUploadOtaVersionRequest

func NewUploadOtaVersionRequest() (request *UploadOtaVersionRequest)

func (*UploadOtaVersionRequest) FromJsonString

func (r *UploadOtaVersionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UploadOtaVersionRequest) ToJsonString

func (r *UploadOtaVersionRequest) ToJsonString() string

type UploadOtaVersionRequestParams added in v1.0.426

type UploadOtaVersionRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 固件版本号,格式为x.y.z, x,y 范围0-63,z范围1~524288
	OtaVersion *string `json:"OtaVersion,omitnil,omitempty" name:"OtaVersion"`

	// 固件版本URL
	VersionUrl *string `json:"VersionUrl,omitnil,omitempty" name:"VersionUrl"`

	// 文件大小,单位:byte
	FileSize *uint64 `json:"FileSize,omitnil,omitempty" name:"FileSize"`

	// 文件md5校验码(32字符)
	Md5 *string `json:"Md5,omitnil,omitempty" name:"Md5"`

	// 操作人
	Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"`

	// 备注信息
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`

	// 版本发布的描述信息,需要国际化,可以为空
	Contents *Contents `json:"Contents,omitnil,omitempty" name:"Contents"`
}

Predefined struct for user

type UploadOtaVersionResponse

type UploadOtaVersionResponse struct {
	*tchttp.BaseResponse
	Response *UploadOtaVersionResponseParams `json:"Response"`
}

func NewUploadOtaVersionResponse

func NewUploadOtaVersionResponse() (response *UploadOtaVersionResponse)

func (*UploadOtaVersionResponse) FromJsonString

func (r *UploadOtaVersionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UploadOtaVersionResponse) ToJsonString

func (r *UploadOtaVersionResponse) ToJsonString() string

type UploadOtaVersionResponseParams added in v1.0.426

type UploadOtaVersionResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type VersionData

type VersionData struct {
	// 产品ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 固件版本号
	// 注意:此字段可能返回 null,表示取不到有效值。
	OtaVersion *string `json:"OtaVersion,omitnil,omitempty" name:"OtaVersion"`

	// 版本类型 1未发布 2测试发布 3正式发布 4禁用
	// 注意:此字段可能返回 null,表示取不到有效值。
	PubStatus *uint64 `json:"PubStatus,omitnil,omitempty" name:"PubStatus"`

	// 固件版本存储路径URL
	// 注意:此字段可能返回 null,表示取不到有效值。
	VersionUrl *string `json:"VersionUrl,omitnil,omitempty" name:"VersionUrl"`

	// 文件大小,byte
	// 注意:此字段可能返回 null,表示取不到有效值。
	FileSize *uint64 `json:"FileSize,omitnil,omitempty" name:"FileSize"`

	// 文件校验码
	// 注意:此字段可能返回 null,表示取不到有效值。
	Md5 *string `json:"Md5,omitnil,omitempty" name:"Md5"`

	// 指定的允许升级的旧版本,PubStatus=3时有效
	// 注意:此字段可能返回 null,表示取不到有效值。
	OldVersions *string `json:"OldVersions,omitnil,omitempty" name:"OldVersions"`

	// 指定的允许升级的旧设备id,PubStatus=2时有效
	// 注意:此字段可能返回 null,表示取不到有效值。
	Tids *string `json:"Tids,omitnil,omitempty" name:"Tids"`

	// 灰度值(0-100),PubStatus=3时有效,表示n%的升级总量
	// 注意:此字段可能返回 null,表示取不到有效值。
	GrayValue *uint64 `json:"GrayValue,omitnil,omitempty" name:"GrayValue"`

	// 最近一次发布时间,UNIX时间戳,单位秒
	// 注意:此字段可能返回 null,表示取不到有效值。
	PublishTime *uint64 `json:"PublishTime,omitnil,omitempty" name:"PublishTime"`

	// 此版本激活的设备总数
	// 注意:此字段可能返回 null,表示取不到有效值。
	ActiveCount *int64 `json:"ActiveCount,omitnil,omitempty" name:"ActiveCount"`

	// 此版本在线的设备总数
	// 注意:此字段可能返回 null,表示取不到有效值。
	OnlineCount *int64 `json:"OnlineCount,omitnil,omitempty" name:"OnlineCount"`

	// 上传固件文件的时间,UNIX时间戳,单位秒
	// 注意:此字段可能返回 null,表示取不到有效值。
	UpdateTime *uint64 `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// 发布记录的最后变更时间,UNIX时间戳,单位秒
	// 注意:此字段可能返回 null,表示取不到有效值。
	UploadTime *uint64 `json:"UploadTime,omitnil,omitempty" name:"UploadTime"`

	// 该固件版本发布的变更次数
	// 注意:此字段可能返回 null,表示取不到有效值。
	ModifyTimes *uint64 `json:"ModifyTimes,omitnil,omitempty" name:"ModifyTimes"`

	// 备注信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`

	// 版本发布的描述信息,需要国际化,可以为空
	// 注意:此字段可能返回 null,表示取不到有效值。
	Contents *Contents `json:"Contents,omitnil,omitempty" name:"Contents"`

	// 月活设备数,当月第一天开始有上线的设备数量。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AliveInMonthCnt *uint64 `json:"AliveInMonthCnt,omitnil,omitempty" name:"AliveInMonthCnt"`
}

Jump to

Keyboard shortcuts

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