Versions in this module Expand all Collapse all v0 v0.3.0 Jan 25, 2023 v0.2.0 Jan 25, 2023 v0.1.0 Jan 25, 2023 Changes in this version + type AddDeletionVideoTaskRequest struct + ClientToken string + InstanceId string + VideoId string + func CreateAddDeletionVideoTaskRequest() (request *AddDeletionVideoTaskRequest) + type AddDeletionVideoTaskResponse struct + Data bool + RequestId string + func CreateAddDeletionVideoTaskResponse() (response *AddDeletionVideoTaskResponse) + type AddSearchVideoTaskRequest struct + CallbackUrl string + ClientToken string + InstanceId string + QueryTags string + ReplaceStorageThreshold requests.Float + ReturnVideoNumber requests.Integer + StorageType requests.Integer + VideoId string + VideoTags string + VideoUrl string + func CreateAddSearchVideoTaskRequest() (request *AddSearchVideoTaskRequest) + type AddSearchVideoTaskResponse struct + Data Data + RequestId string + func CreateAddSearchVideoTaskResponse() (response *AddSearchVideoTaskResponse) + type AddStorageVideoTaskRequest struct + CallbackUrl string + ClientToken string + InstanceId string + VideoId string + VideoTags string + VideoUrl string + func CreateAddStorageVideoTaskRequest() (request *AddStorageVideoTaskRequest) + type AddStorageVideoTaskResponse struct + Data Data + RequestId string + func CreateAddStorageVideoTaskResponse() (response *AddStorageVideoTaskResponse) + type Client struct + func NewClient() (client *Client, err error) + func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error) + func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error) + func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error) + func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error) + func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error) + func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error) + func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error) + func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error) + func (client *Client) AddDeletionVideoTask(request *AddDeletionVideoTaskRequest) (response *AddDeletionVideoTaskResponse, err error) + func (client *Client) AddDeletionVideoTaskWithCallback(request *AddDeletionVideoTaskRequest, ...) <-chan int + func (client *Client) AddDeletionVideoTaskWithChan(request *AddDeletionVideoTaskRequest) (<-chan *AddDeletionVideoTaskResponse, <-chan error) + func (client *Client) AddSearchVideoTask(request *AddSearchVideoTaskRequest) (response *AddSearchVideoTaskResponse, err error) + func (client *Client) AddSearchVideoTaskWithCallback(request *AddSearchVideoTaskRequest, ...) <-chan int + func (client *Client) AddSearchVideoTaskWithChan(request *AddSearchVideoTaskRequest) (<-chan *AddSearchVideoTaskResponse, <-chan error) + func (client *Client) AddStorageVideoTask(request *AddStorageVideoTaskRequest) (response *AddStorageVideoTaskResponse, err error) + func (client *Client) AddStorageVideoTaskWithCallback(request *AddStorageVideoTaskRequest, ...) <-chan int + func (client *Client) AddStorageVideoTaskWithChan(request *AddStorageVideoTaskRequest) (<-chan *AddStorageVideoTaskResponse, <-chan error) + func (client *Client) GetTaskStatus(request *GetTaskStatusRequest) (response *GetTaskStatusResponse, err error) + func (client *Client) GetTaskStatusWithCallback(request *GetTaskStatusRequest, ...) <-chan int + func (client *Client) GetTaskStatusWithChan(request *GetTaskStatusRequest) (<-chan *GetTaskStatusResponse, <-chan error) + type Data struct + TaskId string + type GetTaskStatusRequest struct + ClientToken string + InstanceId string + TaskId string + func CreateGetTaskStatusRequest() (request *GetTaskStatusRequest) + type GetTaskStatusResponse struct + Data int + RequestId string + TaskInfo TaskInfo + func CreateGetTaskStatusResponse() (response *GetTaskStatusResponse) + type TaskInfo struct + AnalysisUseTime int64 + Description string + Duration float64 + ErrorInfo string + FinishTime int64 + ProcessResultOss string + QueryTags string + Resolution string + Status int + StorageInfo int + SubmitTime int64 + TaskId int64 + VideoId string + VideoTags string + VideoUrl string