Documentation ¶
Index ¶
- Constants
- Variables
- func BuildSign(dsa, version, timestamp string, key []byte) string
- func GetDate(t time.Time) string
- type AdvanceOption
- type ApplyUploadParam
- type ApplyUploadResp
- type ApplyUploadResult
- type BaseResp
- type CommitUploadBody
- type CommitUploadParam
- type CommitUploadResp
- type CommitUploadResult
- type DomainInfo
- type Encryption
- type EntryptionInput
- type FileType
- type Function
- type GetWeightsResp
- type ImageMeta
- type ImgUrl
- type Jobs
- type ModifyVideoInfoBaseResp
- type ModifyVideoInfoBody
- type ModifyVideoInfoResp
- type ObjectMeta
- type OptionFun
- func WithFormat(format string) OptionFun
- func WithHttps() OptionFun
- func WithKV(kv url.Values) OptionFun
- func WithSig(key string) OptionFun
- func WithVodNoop() OptionFun
- func WithVodTplCenterCrop(width, height int) OptionFun
- func WithVodTplObj() OptionFun
- func WithVodTplResize(width, height int) OptionFun
- func WithVodTplSmartCrop(width, height int) OptionFun
- type OptionInfo
- type PublicErrorCode
- type SetVideoPublishStatusResp
- type SnapshotInput
- type StartWorkflowRequest
- type StartWorkflowResp
- type StartWorkflowResult
- type StoreInfo
- type TagControl
- type UploadAddress
- type UploadMediaByUrlParams
- type UploadMediaByUrlResp
- type UploadMediaByUrlResult
- type UploadPartInfo
- type UploadResult
- type UserMetaInfo
- type VideoDefinition
- type VideoFormat
- type VideoMeta
- type Vod
- func (p *Vod) AddCallbackSubscription(req *request.VodAddCallbackSubscriptionRequest) (*response.VodAddCallbackSubscriptionResponse, int, error)
- func (p *Vod) AddDomainToScheduler(req *request.VodAddDomainToSchedulerRequest) (*response.VodAddDomainToSchedulerResponse, int, error)
- func (p *Vod) AddOrUpdateCertificate(req *request.AddOrUpdateCertificateV2Request) (*response.AddOrUpdateCertificateV2Response, int, error)
- func (p *Vod) ApplyUploadInfo(req *request.VodApplyUploadInfoRequest) (*response.VodApplyUploadInfoResponse, int, error)
- func (p *Vod) CommitUploadInfo(req *request.VodCommitUploadInfoRequest) (*response.VodCommitUploadInfoResponse, int, error)
- func (p *Vod) CreateCdnPreloadTask(req *request.VodCreateCdnPreloadTaskRequest) (*response.VodCreateCdnPreloadTaskResponse, int, error)
- func (p *Vod) CreateCdnRefreshTask(req *request.VodCreateCdnRefreshTaskRequest) (*response.VodCreateCdnRefreshTaskResponse, int, error)
- func (p *Vod) CreateDomain(req *request.VodCreateDomainV2Request) (*response.VodCreateDomainV2Response, int, error)
- func (p *Vod) CreateSha1HlsDrmAuthToken(expireSeconds int64) (auth string, err error)
- func (p *Vod) CreateSpace(req *request.VodCreateSpaceRequest) (*response.VodCreateSpaceResponse, int, error)
- func (p *Vod) CreateTaskTemplate(req *request.VodCreateTaskTemplateRequest) (*response.VodCreateTaskTemplateResponse, int, error)
- func (p *Vod) CreateVideoClassification(req *request.VodCreateVideoClassificationRequest) (*response.VodCreateVideoClassificationResponse, int, error)
- func (p *Vod) CreateWatermarkTemplate(req *request.VodCreateWatermarkRequest) (*response.VodCreateWatermarkResponse, int, error)
- func (p *Vod) CreateWorkflowTemplate(req *request.VodCreateWorkflowTemplateRequest) (*response.VodCreateWorkflowTemplateResponse, int, error)
- func (p *Vod) DeleteDomain(req *request.VodDeleteDomainRequest) (*response.VodDeleteDomainResponse, int, error)
- func (p *Vod) DeleteMedia(req *request.VodDeleteMediaRequest) (*response.VodDeleteMediaResponse, int, error)
- func (p *Vod) DeleteSpace(req *request.VodDeleteSpaceRequest) (*response.VodDeleteSpaceResponse, int, error)
- func (p *Vod) DeleteTaskTemplate(req *request.VodDeleteTaskTemplateRequest) (*response.VodDeleteTaskTemplateResponse, int, error)
- func (p *Vod) DeleteTranscodes(req *request.VodDeleteTranscodesRequest) (*response.VodDeleteTranscodesResponse, int, error)
- func (p *Vod) DeleteVideoClassification(req *request.VodDeleteVideoClassificationRequest) (*response.VodDeleteVideoClassificationResponse, int, error)
- func (p *Vod) DeleteWatermarkTemplate(req *request.VodDeleteWatermarkRequest) (*response.VodDeleteWatermarkResponse, int, error)
- func (p *Vod) DeleteWorkflowTemplate(req *request.VodDeleteWorkflowTemplateRequest) (*response.VodDeleteWorkflowTemplateResponse, int, error)
- func (p *Vod) DescribeDrmDataKey(req *request.VodDescribeDrmDataKeyRequest) (*response.VodDescribeDrmDataKeyResponse, int, error)
- func (p *Vod) DescribeIpInfo(req *request.VodDescribeIPInfoRequest) (*response.VodDescribeIPInfoResponse, int, error)
- func (p *Vod) DescribeVodDomainBandwidthData(req *request.VodDescribeVodDomainBandwidthDataRequest) (*response.VodDescribeVodDomainBandwidthDataResponse, int, error)
- func (p *Vod) DescribeVodDomainTrafficData(req *request.VodDescribeVodDomainTrafficDataRequest) (*response.VodDescribeVodDomainTrafficDataResponse, int, error)
- func (p *Vod) DescribeVodPlayFileLogByDomain(req *request.DescribeVodPlayFileLogByDomainRequest) (*response.DescribeVodPlayFileLogByDomainResponse, int, error)
- func (p *Vod) DescribeVodSnapshotData(req *request.DescribeVodSnapshotDataRequest) (*response.DescribeVodSnapshotDataResponse, int, error)
- func (p *Vod) DescribeVodSpaceAIStatisData(req *request.DescribeVodSpaceAIStatisDataRequest) (*response.DescribeVodSpaceAIStatisDataResponse, int, error)
- func (p *Vod) DescribeVodSpaceDetectStatisData(req *request.DescribeVodSpaceDetectStatisDataRequest) (*response.DescribeVodSpaceDetectStatisDataResponse, int, error)
- func (p *Vod) DescribeVodSpaceEditDetailData(req *request.DescribeVodSpaceEditDetailDataRequest) (*response.DescribeVodSpaceEditDetailDataResponse, int, error)
- func (p *Vod) DescribeVodSpaceStorageData(req *request.VodDescribeVodSpaceStorageDataRequest) (*response.VodDescribeVodSpaceStorageDataResponse, int, error)
- func (p *Vod) DescribeVodSpaceSubtitleStatisData(req *request.DescribeVodSpaceSubtitleStatisDataRequest) (*response.DescribeVodSpaceSubtitleStatisDataResponse, int, error)
- func (p *Vod) DescribeVodSpaceTranscodeData(req *request.DescribeVodSpaceTranscodeDataRequest) (*response.DescribeVodSpaceTranscodeDataResponse, int, error)
- func (p *Vod) DescribeVodSpaceWorkflowDetailData(req *request.DescribeVodSpaceWorkflowDetailDataRequest) (*response.DescribeVodSpaceWorkflowDetailDataResponse, int, error)
- func (p *Vod) ExtractMediaMetaTask(req *request.VodExtractMediaMetaTaskRequest) (*response.VodExtractMediaMetaTaskResponse, int, error)
- func (p *Vod) GetAllPlayInfo(req *request.VodGetAllPlayInfoRequest) (*response.VodGetAllPlayInfoResponse, int, error)
- func (p *Vod) GetAppInfo(req *request.VodGetAppInfoRequest) (*response.VodGetAppInfoResponse, int, error)
- func (p *Vod) GetAudioEventDetectionForAudit(req *request.VodGetAudioEventDetectionForAuditRequest) (*response.VodGetAudioEventDetectionForAuditResponse, int, error)
- func (p *Vod) GetAudioInfoForAudit(req *request.VodGetAudioInfoForAuditRequest) (*response.VodGetAudioInfoForAuditResponse, int, error)
- func (p *Vod) GetAuditFramesForAudit(req *request.VodGetAuditFramesForAuditRequest) (*response.VodGetAuditFramesForAuditResponse, int, error)
- func (p *Vod) GetAutomaticSpeechRecognitionForAudit(req *request.VodGetAutomaticSpeechRecognitionForAuditRequest) (*response.VodGetAutomaticSpeechRecognitionForAuditResponse, int, error)
- func (p *Vod) GetBetterFramesForAudit(req *request.VodGetBetterFramesForAuditRequest) (*response.VodGetBetterFramesForAuditResponse, int, error)
- func (p *Vod) GetContentBlockTasks(req *request.VodGetContentBlockTasksRequest) (*response.VodGetContentBlockTasksResponse, int, error)
- func (p *Vod) GetDirectEditProgress(req *request.VodGetDirectEditProgressRequest) (*response.VodGetDirectEditProgressResponse, int, error)
- func (p *Vod) GetDirectEditResult(req *request.VodGetDirectEditResultRequest) (*response.VodGetDirectEditResultResponse, int, error)
- func (p *Vod) GetHlsDecryptionKey(req *request.VodGetHlsDecryptionKeyRequest) (*response.VodGetHlsDecryptionKeyResponse, int, error)
- func (p *Vod) GetMLFramesForAudit(req *request.VodGetMLFramesForAuditRequest) (*response.VodGetMLFramesForAuditResponse, int, error)
- func (p *Vod) GetMediaInfos(req *request.VodGetMediaInfosRequest) (*response.VodGetMediaInfosResponse, int, error)
- func (p *Vod) GetMediaInfos20230701(req *request.VodGetMediaInfosRequest) (*response.VodGetMediaInfosResponse, int, error)
- func (p *Vod) GetMediaList(req *request.VodGetMediaListRequest) (*response.VodGetMediaListResponse, int, error)
- func (p *Vod) GetPlayAuthToken(req *request.VodGetPlayInfoRequest, tokenExpireTime int) (string, error)
- func (p *Vod) GetPlayInfo(req *request.VodGetPlayInfoRequest) (*response.VodGetPlayInfoResponse, int, error)
- func (p *Vod) GetPlayInfoWithLiveTimeShiftScene(req *request.VodGetPlayInfoWithLiveTimeShiftSceneRequest) (*response.VodGetPlayInfoWithLiveTimeShiftSceneResponse, int, error)
- func (p *Vod) GetPrivateDrmAuthToken(req *request.VodGetPrivateDrmPlayAuthRequest, tokenExpireTime int) (string, error)
- func (p *Vod) GetPrivateDrmPlayAuth(req *request.VodGetPrivateDrmPlayAuthRequest) (*response.VodGetPrivateDrmPlayAuthResponse, int, error)
- func (p *Vod) GetRecommendedPoster(req *request.VodGetRecommendedPosterRequest) (*response.VodGetRecommendedPosterResponse, int, error)
- func (p *Vod) GetSmartStrategyLitePlayInfo(req *request.VodGetSmartStrategyLitePlayInfoRequest) (*response.VodGetSmartStrategyLitePlayInfoResponse, int, error)
- func (p *Vod) GetSpaceDetail(req *request.VodGetSpaceDetailRequest) (*response.VodGetSpaceDetailResponse, int, error)
- func (p *Vod) GetSubtitleAuthToken(req *request.VodGetSubtitleInfoListRequest, tokenExpireTime int) (string, error)
- func (p *Vod) GetSubtitleInfoList(req *request.VodGetSubtitleInfoListRequest) (*response.VodGetSubtitleInfoListResponse, int, error)
- func (p *Vod) GetTaskTemplate(req *request.VodGetTaskTemplateRequest) (*response.VodGetTaskTemplateResponse, int, error)
- func (p *Vod) GetUploadAuth() (*base.SecurityToken2, error)
- func (p *Vod) GetUploadAuthWithExpiredTime(expiredTime time.Duration) (*base.SecurityToken2, error)
- func (p *Vod) GetWatermarkTemplate(req *request.VodGetWatermarkRequest) (*response.VodGetWatermarkResponse, int, error)
- func (p *Vod) GetWorkflowExecution(req *request.VodGetWorkflowExecutionStatusRequest) (*response.VodGetWorkflowExecutionStatusResponse, int, error)
- func (p *Vod) GetWorkflowExecutionResult(req *request.VodGetWorkflowResultRequest) (*response.VodGetWorkflowResultResponse, int, error)
- func (p *Vod) GetWorkflowTemplate(req *request.VodGetWorkflowTemplateRequest) (*response.VodGetWorkflowTemplateResponse, int, error)
- func (p *Vod) InitUploadPart(tosHost string, oid string, auth string, client *http.Client, ...) (string, error)
- func (p *Vod) ListCdnAccessLog(req *request.VodListCdnAccessLogRequest) (*response.VodListCdnAccessLogResponse, int, error)
- func (p *Vod) ListCdnHitrateData(req *request.VodListCdnHitrateDataRequest) (*response.VodCdnStatisticsCommonResponse, int, error)
- func (p *Vod) ListCdnPvData(req *request.VodListCdnPvDataRequest) (*response.VodCdnStatisticsCommonResponse, int, error)
- func (p *Vod) ListCdnStatusData(req *request.VodListCdnStatusDataRequest) (*response.VodCdnStatisticsCommonResponse, int, error)
- func (p *Vod) ListCdnTasks(req *request.VodListCdnTasksRequest) (*response.VodListCdnTasksResponse, int, error)
- func (p *Vod) ListCdnTopAccess(req *request.VodListCdnTopAccessRequest) (*response.VodListCdnTopAccessResponse, int, error)
- func (p *Vod) ListCdnTopAccessUrl(req *request.VodListCdnTopAccessUrlRequest) (*response.VodListCdnTopAccessUrlResponse, int, error)
- func (p *Vod) ListCdnUsageData(req *request.VodListCdnUsageDataRequest) (*response.VodCdnStatisticsCommonResponse, int, error)
- func (p *Vod) ListDomain(req *request.VodListDomainRequest) (*response.VodListDomainResponse, int, error)
- func (p *Vod) ListFileMetaInfosByFileNames(req *request.VodListFileMetaInfosByFileNamesRequest) (*response.VodListFileMetaInfosByFileNamesResponse, int, error)
- func (p *Vod) ListSnapshots(req *request.VodListSnapshotsRequest) (*response.VodListSnapshotsResponse, int, error)
- func (p *Vod) ListSpace(req *request.VodListSpaceRequest) (*response.VodListSpaceResponse, int, error)
- func (p *Vod) ListTaskTemplate(req *request.VodListTaskTemplateRequest) (*response.VodListTaskTemplateResponse, int, error)
- func (p *Vod) ListVideoClassifications(req *request.VodListVideoClassificationsRequest) (*response.VodListVideoClassificationsResponse, int, error)
- func (p *Vod) ListWatermarkTemplate(req *request.VodListWatermarkRequest) (*response.VodListWatermarkResponse, int, error)
- func (p *Vod) ListWorkflowTemplate(req *request.VodListWorkflowTemplateRequest) (*response.VodListWorkflowTemplateResponse, int, error)
- func (p *Vod) QueryMediaBlockStatus(req *request.VodQueryMediaBlockStatusRequest) (*response.VodQueryMediaBlockStatusResponse, int, error)
- func (p *Vod) QueryUploadTaskInfo(req *request.VodQueryUploadTaskInfoRequest) (*response.VodQueryUploadTaskInfoResponse, int, error)
- func (p *Vod) RemoveDomainFromScheduler(req *request.VodRemoveDomainFromSchedulerRequest) (*response.VodRemoveDomainFromSchedulerResponse, int, error)
- func (p *Vod) RetrieveTranscodeResult(req *request.VodRetrieveTranscodeResultRequest) (*response.VodRetrieveTranscodeResultResponse, int, error)
- func (p *Vod) SetCallbackEvent(req *request.VodSetCallbackEventRequest) (*response.VodSetCallbackEventResponse, int, error)
- func (p *Vod) StartDomain(req *request.VodStartDomainRequest) (*response.VodStartDomainResponse, int, error)
- func (p *Vod) StartWorkflow(req *request.VodStartWorkflowRequest) (*response.VodStartWorkflowResponse, int, error)
- func (p *Vod) StopDomain(req *request.VodStopDomainRequest) (*response.VodStopDomainResponse, int, error)
- func (p *Vod) SubmitBlockMediaTask(req *request.VodSubmitBlockMediaTaskRequest) (*response.VodSubmitBlockMediaTaskResponse, int, error)
- func (p *Vod) SubmitBlockTasks(req *request.VodSubmitBlockTasksRequest) (*response.VodSubmitBlockTasksResponse, int, error)
- func (p *Vod) SubmitDirectEditTaskAsync(req *request.VodSubmitDirectEditTaskAsyncRequest) (*response.VodSubmitDirectEditTaskAsyncResponse, int, error)
- func (p *Vod) SubmitUnblockMediaTask(req *request.VodSubmitUnblockMediaTaskRequest) (*response.VodSubmitUnblockMediaTaskResponse, int, error)
- func (p *Vod) UpdateDomainAuthConfig(req *request.VodUpdateDomainAuthConfigV2Request) (*response.VodUpdateDomainAuthConfigV2Response, int, error)
- func (p *Vod) UpdateDomainExpire(req *request.VodUpdateDomainExpireV2Request) (*response.VodUpdateDomainExpireV2Response, int, error)
- func (p *Vod) UpdateDomainPlayRule(req *request.VodUpdateDomainPlayRuleRequest) (*response.VodUpdateDomainPlayRuleResponse, int, error)
- func (p *Vod) UpdateDomainUrlAuthConfig(req *request.VodUpdateDomainUrlAuthConfigV2Request) (*response.VodUpdateDomainUrlAuthConfigV2Response, int, error)
- func (p *Vod) UpdateMediaInfo(req *request.VodUpdateMediaInfoRequest) (*response.VodUpdateMediaInfoResponse, int, error)
- func (p *Vod) UpdateMediaPublishStatus(req *request.VodUpdateMediaPublishStatusRequest) (*response.VodUpdateMediaPublishStatusResponse, int, error)
- func (p *Vod) UpdateMediaStorageClass(req *request.VodUpdateMediaStorageClassRequest) (*response.VodUpdateMediaStorageClassResponse, int, error)
- func (p *Vod) UpdateSpace(req *request.VodUpdateSpaceRequest) (*response.VodUpdateSpaceResponse, int, error)
- func (p *Vod) UpdateSpaceUploadConfig(req *request.VodUpdateSpaceUploadConfigRequest) (*response.VodUpdateSpaceUploadConfigResponse, int, error)
- func (p *Vod) UpdateSubtitleInfo(req *request.VodUpdateSubtitleInfoRequest) (*response.VodUpdateSubtitleInfoResponse, int, error)
- func (p *Vod) UpdateSubtitleStatus(req *request.VodUpdateSubtitleStatusRequest) (*response.VodUpdateSubtitleStatusResponse, int, error)
- func (p *Vod) UpdateTaskTemplate(req *request.VodUpdateTaskTemplateRequest) (*response.VodUpdateTaskTemplateResponse, int, error)
- func (p *Vod) UpdateVideoClassification(req *request.VodUpdateVideoClassificationRequest) (*response.VodUpdateVideoClassificationResponse, int, error)
- func (p *Vod) UpdateWatermarkTemplate(req *request.VodUpdateWatermarkRequest) (*response.VodUpdateWatermarkResponse, int, error)
- func (p *Vod) UpdateWorkflowTemplate(req *request.VodUpdateWorkflowTemplateRequest) (*response.VodUpdateWorkflowTemplateResponse, int, error)
- func (p *Vod) Upload(vodUploadFuncRequest *model.VodUploadFuncRequest) (string, string, error, int)
- func (p *Vod) UploadMaterialWithCallback(materialRequest *request.VodUploadMaterialRequest) (*response.VodCommitUploadInfoResponse, int, error)
- func (p *Vod) UploadMediaByUrl(req *request.VodUrlUploadRequest) (*response.VodUrlUploadResponse, int, error)
- func (p *Vod) UploadMediaInner(uploadMediaInnerRequest *model.VodUploadMediaInnerFuncRequest) (*response.VodCommitUploadInfoResponse, int, error)
- func (p *Vod) UploadMediaWithCallback(mediaRequset *request.VodUploadMediaRequest) (*response.VodCommitUploadInfoResponse, int, error)
- func (p *Vod) UploadMergePart(uploadPart model.UploadPartCommon, uploadID string, ...) error
- func (p *Vod) UploadObjectWithCallback(filePath string, spaceName string, callbackArgs string, ...) (*response.VodCommitUploadInfoResponse, int, error)
- func (p *Vod) UploadObjectWithCallbackV2(uploadReq *request.VodUploadObjectRequest) (*response.VodCommitUploadInfoResponse, int, error)
- type WorkflowInput
Constants ¶
const ( DSAHmacSha1 = "HMAC-SHA1" Version2 = "2.0" SprAuth = ":" SprSign = "&" DateYYYYMMDDTHHmmss = "20060102T150405Z" )
const ( FORMAT_JPEG = "jpeg" FORMAT_PNG = "png" FORMAT_WEBP = "webp" FORMAT_AWEBP = "awebp" FORMAT_GIF = "gif" FORMAT_HEIC = "heic" FORMAT_ORIGINAL = "image" HTTP = "http" HTTPS = "https" KEY_SIG = "sig" VOD_TPL_OBJ = "tplv-vod-obj" VOD_TPL_NOOP = "tplv-vod-noop" VOD_TPL_RESIZE = "tplv-vod-rs" VOD_TPL_CENTER_CROP = "tplv-vod-cc" VOD_TPL_SMART_CROP = "tplv-vod-cs" VOD_TPL_SIG = "tplv-bd-sig" )
Variables ¶
var ( ServiceVOD = []byte("vod") ErrAccessKeyInvalid = errors.New("access key invalid") ErrSecretKeyInvalid = errors.New("secret key invalid") )
var ( ServiceInfoMap = map[string]*base.ServiceInfo{ base.RegionCnNorth1: { Timeout: 60 * time.Second, Host: "vod.volcengineapi.com", Header: http.Header{ "Accept": []string{"application/json"}, }, Credentials: base.Credentials{Region: base.RegionCnNorth1, Service: "vod"}, }, } ApiInfoList = map[string]*base.ApiInfo{}/* 104 elements not displayed */ )
var (
ErrKvSig = errors.New("Input kv already has sig query")
)
Functions ¶
Types ¶
type AdvanceOption ¶
type ApplyUploadParam ¶
type ApplyUploadResp ¶
type ApplyUploadResp struct { base.CommonResponse Result ApplyUploadResult }
type ApplyUploadResult ¶
type ApplyUploadResult struct { RequestID string UploadAddress UploadAddress }
type CommitUploadBody ¶
type CommitUploadParam ¶
type CommitUploadParam struct { SpaceName string Body CommitUploadBody }
type CommitUploadResp ¶
type CommitUploadResp struct { base.CommonResponse Result CommitUploadResult }
type CommitUploadResult ¶
type CommitUploadResult struct { RequestId string CallbackArgs string Results []UploadResult }
type DomainInfo ¶
type Encryption ¶
type EntryptionInput ¶
type GetWeightsResp ¶
type GetWeightsResp struct { ResponseMetadata *base.ResponseMetadata Result map[string]map[string]int `json:",omitempty"` }
type ModifyVideoInfoBaseResp ¶
type ModifyVideoInfoBaseResp struct {
BaseResp *BaseResp
}
type ModifyVideoInfoBody ¶
type ModifyVideoInfoBody struct { SpaceName string `json:"SpaceName"` Vid string `json:"Vid"` Info UserMetaInfo `json:"Info"` Tags TagControl `json:"Tags"` }
type ModifyVideoInfoResp ¶
type ModifyVideoInfoResp struct { ResponseMetadata *base.ResponseMetadata Result *ModifyVideoInfoBaseResp }
type ObjectMeta ¶
type OptionFun ¶
type OptionFun func(*option)
func WithFormat ¶
func WithVodNoop ¶
func WithVodNoop() OptionFun
func WithVodTplCenterCrop ¶
func WithVodTplObj ¶
func WithVodTplObj() OptionFun
func WithVodTplResize ¶
func WithVodTplSmartCrop ¶
type OptionInfo ¶
type PublicErrorCode ¶
type PublicErrorCode string
type SetVideoPublishStatusResp ¶
type SetVideoPublishStatusResp struct {
ResponseMetadata *base.ResponseMetadata
}
SetVideoPublishStatus
type SnapshotInput ¶
type SnapshotInput struct {
SnapshotTime float64
}
type StartWorkflowRequest ¶
type StartWorkflowResp ¶
type StartWorkflowResp struct { ResponseMetadata *base.ResponseMetadata Result *StartWorkflowResult `json:",omitempty"` }
type StartWorkflowResult ¶
type StartWorkflowResult struct {
RunId string
}
type TagControl ¶
type UploadAddress ¶
type UploadMediaByUrlParams ¶
type UploadMediaByUrlParams struct { SpaceName string Format VideoFormat SourceUrls []string CallbackArgs string }
type UploadMediaByUrlResp ¶
type UploadMediaByUrlResp struct { base.CommonResponse Result UploadMediaByUrlResult }
type UploadMediaByUrlResult ¶
type UploadPartInfo ¶ added in v1.0.103
type UploadResult ¶
type UploadResult struct { Vid string VideoMeta VideoMeta ImageMeta ImageMeta ObjectMeta ObjectMeta Encryption Encryption SnapshotUri string }
type UserMetaInfo ¶
type VideoDefinition ¶
type VideoDefinition string
const ( D1080P VideoDefinition = "1080p" D720P VideoDefinition = "720p" D540P VideoDefinition = "540p" D480P VideoDefinition = "480p" D360P VideoDefinition = "360p" D240P VideoDefinition = "240p" )
type VideoFormat ¶
type VideoFormat string
const ( MP4 VideoFormat = "mp4" M3U8 VideoFormat = "m3u8" )
type Vod ¶
func NewInstance ¶
func NewInstance() *Vod
func NewInstanceWithRegion ¶
func (*Vod) AddCallbackSubscription ¶
func (p *Vod) AddCallbackSubscription(req *request.VodAddCallbackSubscriptionRequest) (*response.VodAddCallbackSubscriptionResponse, int, error)
AddCallbackSubscription
- @param *request.VodAddCallbackSubscriptionRequest
- @return *response.VodAddCallbackSubscriptionResponse, int, error
func (*Vod) AddDomainToScheduler ¶ added in v1.0.136
func (p *Vod) AddDomainToScheduler(req *request.VodAddDomainToSchedulerRequest) (*response.VodAddDomainToSchedulerResponse, int, error)
AddDomainToScheduler
- @param *request.VodAddDomainToSchedulerRequest
- @return *response.VodAddDomainToSchedulerResponse, int, error
func (*Vod) AddOrUpdateCertificate ¶ added in v1.0.126
func (p *Vod) AddOrUpdateCertificate(req *request.AddOrUpdateCertificateV2Request) (*response.AddOrUpdateCertificateV2Response, int, error)
AddOrUpdateCertificate
- @param *request.AddOrUpdateCertificateV2Request
- @return *response.AddOrUpdateCertificateV2Response, int, error
func (*Vod) ApplyUploadInfo ¶
func (p *Vod) ApplyUploadInfo(req *request.VodApplyUploadInfoRequest) (*response.VodApplyUploadInfoResponse, int, error)
ApplyUploadInfo
- @param *request.VodApplyUploadInfoRequest
- @return *response.VodApplyUploadInfoResponse, int, error
func (*Vod) CommitUploadInfo ¶
func (p *Vod) CommitUploadInfo(req *request.VodCommitUploadInfoRequest) (*response.VodCommitUploadInfoResponse, int, error)
CommitUploadInfo
- @param *request.VodCommitUploadInfoRequest
- @return *response.VodCommitUploadInfoResponse, int, error
func (*Vod) CreateCdnPreloadTask ¶
func (p *Vod) CreateCdnPreloadTask(req *request.VodCreateCdnPreloadTaskRequest) (*response.VodCreateCdnPreloadTaskResponse, int, error)
CreateCdnPreloadTask
- @param *request.VodCreateCdnPreloadTaskRequest
- @return *response.VodCreateCdnPreloadTaskResponse, int, error
func (*Vod) CreateCdnRefreshTask ¶
func (p *Vod) CreateCdnRefreshTask(req *request.VodCreateCdnRefreshTaskRequest) (*response.VodCreateCdnRefreshTaskResponse, int, error)
CreateCdnRefreshTask
- @param *request.VodCreateCdnRefreshTaskRequest
- @return *response.VodCreateCdnRefreshTaskResponse, int, error
func (*Vod) CreateDomain ¶ added in v1.0.110
func (p *Vod) CreateDomain(req *request.VodCreateDomainV2Request) (*response.VodCreateDomainV2Response, int, error)
CreateDomain
- @param *request.VodCreateDomainV2Request
- @return *response.VodCreateDomainV2Response, int, error
func (*Vod) CreateSha1HlsDrmAuthToken ¶
func (*Vod) CreateSpace ¶
func (p *Vod) CreateSpace(req *request.VodCreateSpaceRequest) (*response.VodCreateSpaceResponse, int, error)
CreateSpace
- @param *request.VodCreateSpaceRequest
- @return *response.VodCreateSpaceResponse, int, error
func (*Vod) CreateTaskTemplate ¶ added in v1.0.107
func (p *Vod) CreateTaskTemplate(req *request.VodCreateTaskTemplateRequest) (*response.VodCreateTaskTemplateResponse, int, error)
CreateTaskTemplate
- @param *request.VodCreateTaskTemplateRequest
- @return *response.VodCreateTaskTemplateResponse, int, error
func (*Vod) CreateVideoClassification ¶
func (p *Vod) CreateVideoClassification(req *request.VodCreateVideoClassificationRequest) (*response.VodCreateVideoClassificationResponse, int, error)
CreateVideoClassification
- @param *request.VodCreateVideoClassificationRequest
- @return *response.VodCreateVideoClassificationResponse, int, error
func (*Vod) CreateWatermarkTemplate ¶ added in v1.0.107
func (p *Vod) CreateWatermarkTemplate(req *request.VodCreateWatermarkRequest) (*response.VodCreateWatermarkResponse, int, error)
CreateWatermarkTemplate
- @param *request.VodCreateWatermarkRequest
- @return *response.VodCreateWatermarkResponse, int, error
func (*Vod) CreateWorkflowTemplate ¶ added in v1.0.107
func (p *Vod) CreateWorkflowTemplate(req *request.VodCreateWorkflowTemplateRequest) (*response.VodCreateWorkflowTemplateResponse, int, error)
CreateWorkflowTemplate
- @param *request.VodCreateWorkflowTemplateRequest
- @return *response.VodCreateWorkflowTemplateResponse, int, error
func (*Vod) DeleteDomain ¶ added in v1.0.136
func (p *Vod) DeleteDomain(req *request.VodDeleteDomainRequest) (*response.VodDeleteDomainResponse, int, error)
DeleteDomain
- @param *request.VodDeleteDomainRequest
- @return *response.VodDeleteDomainResponse, int, error
func (*Vod) DeleteMedia ¶
func (p *Vod) DeleteMedia(req *request.VodDeleteMediaRequest) (*response.VodDeleteMediaResponse, int, error)
DeleteMedia
- @param *request.VodDeleteMediaRequest
- @return *response.VodDeleteMediaResponse, int, error
func (*Vod) DeleteSpace ¶ added in v1.0.136
func (p *Vod) DeleteSpace(req *request.VodDeleteSpaceRequest) (*response.VodDeleteSpaceResponse, int, error)
DeleteSpace
- @param *request.VodDeleteSpaceRequest
- @return *response.VodDeleteSpaceResponse, int, error
func (*Vod) DeleteTaskTemplate ¶ added in v1.0.107
func (p *Vod) DeleteTaskTemplate(req *request.VodDeleteTaskTemplateRequest) (*response.VodDeleteTaskTemplateResponse, int, error)
DeleteTaskTemplate
- @param *request.VodDeleteTaskTemplateRequest
- @return *response.VodDeleteTaskTemplateResponse, int, error
func (*Vod) DeleteTranscodes ¶
func (p *Vod) DeleteTranscodes(req *request.VodDeleteTranscodesRequest) (*response.VodDeleteTranscodesResponse, int, error)
DeleteTranscodes
- @param *request.VodDeleteTranscodesRequest
- @return *response.VodDeleteTranscodesResponse, int, error
func (*Vod) DeleteVideoClassification ¶
func (p *Vod) DeleteVideoClassification(req *request.VodDeleteVideoClassificationRequest) (*response.VodDeleteVideoClassificationResponse, int, error)
DeleteVideoClassification
- @param *request.VodDeleteVideoClassificationRequest
- @return *response.VodDeleteVideoClassificationResponse, int, error
func (*Vod) DeleteWatermarkTemplate ¶ added in v1.0.107
func (p *Vod) DeleteWatermarkTemplate(req *request.VodDeleteWatermarkRequest) (*response.VodDeleteWatermarkResponse, int, error)
DeleteWatermarkTemplate
- @param *request.VodDeleteWatermarkRequest
- @return *response.VodDeleteWatermarkResponse, int, error
func (*Vod) DeleteWorkflowTemplate ¶ added in v1.0.107
func (p *Vod) DeleteWorkflowTemplate(req *request.VodDeleteWorkflowTemplateRequest) (*response.VodDeleteWorkflowTemplateResponse, int, error)
DeleteWorkflowTemplate
- @param *request.VodDeleteWorkflowTemplateRequest
- @return *response.VodDeleteWorkflowTemplateResponse, int, error
func (*Vod) DescribeDrmDataKey ¶ added in v1.0.136
func (p *Vod) DescribeDrmDataKey(req *request.VodDescribeDrmDataKeyRequest) (*response.VodDescribeDrmDataKeyResponse, int, error)
DescribeDrmDataKey
- @param *request.VodDescribeDrmDataKeyRequest
- @return *response.VodDescribeDrmDataKeyResponse, int, error
func (*Vod) DescribeIpInfo ¶
func (p *Vod) DescribeIpInfo(req *request.VodDescribeIPInfoRequest) (*response.VodDescribeIPInfoResponse, int, error)
DescribeIpInfo
- @param *request.VodDescribeIPInfoRequest
- @return *response.VodDescribeIPInfoResponse, int, error
func (*Vod) DescribeVodDomainBandwidthData ¶
func (p *Vod) DescribeVodDomainBandwidthData(req *request.VodDescribeVodDomainBandwidthDataRequest) (*response.VodDescribeVodDomainBandwidthDataResponse, int, error)
DescribeVodDomainBandwidthData
- @param *request.VodDescribeVodDomainBandwidthDataRequest
- @return *response.VodDescribeVodDomainBandwidthDataResponse, int, error
func (*Vod) DescribeVodDomainTrafficData ¶
func (p *Vod) DescribeVodDomainTrafficData(req *request.VodDescribeVodDomainTrafficDataRequest) (*response.VodDescribeVodDomainTrafficDataResponse, int, error)
DescribeVodDomainTrafficData
- @param *request.VodDescribeVodDomainTrafficDataRequest
- @return *response.VodDescribeVodDomainTrafficDataResponse, int, error
func (*Vod) DescribeVodPlayFileLogByDomain ¶ added in v1.0.99
func (p *Vod) DescribeVodPlayFileLogByDomain(req *request.DescribeVodPlayFileLogByDomainRequest) (*response.DescribeVodPlayFileLogByDomainResponse, int, error)
DescribeVodPlayFileLogByDomain
- @param *request.DescribeVodPlayFileLogByDomainRequest
- @return *response.DescribeVodPlayFileLogByDomainResponse, int, error
func (*Vod) DescribeVodSnapshotData ¶
func (p *Vod) DescribeVodSnapshotData(req *request.DescribeVodSnapshotDataRequest) (*response.DescribeVodSnapshotDataResponse, int, error)
DescribeVodSnapshotData
- @param *request.DescribeVodSnapshotDataRequest
- @return *response.DescribeVodSnapshotDataResponse, int, error
func (*Vod) DescribeVodSpaceAIStatisData ¶
func (p *Vod) DescribeVodSpaceAIStatisData(req *request.DescribeVodSpaceAIStatisDataRequest) (*response.DescribeVodSpaceAIStatisDataResponse, int, error)
DescribeVodSpaceAIStatisData
- @param *request.DescribeVodSpaceAIStatisDataRequest
- @return *response.DescribeVodSpaceAIStatisDataResponse, int, error
func (*Vod) DescribeVodSpaceDetectStatisData ¶
func (p *Vod) DescribeVodSpaceDetectStatisData(req *request.DescribeVodSpaceDetectStatisDataRequest) (*response.DescribeVodSpaceDetectStatisDataResponse, int, error)
DescribeVodSpaceDetectStatisData
- @param *request.DescribeVodSpaceDetectStatisDataRequest
- @return *response.DescribeVodSpaceDetectStatisDataResponse, int, error
func (*Vod) DescribeVodSpaceEditDetailData ¶
func (p *Vod) DescribeVodSpaceEditDetailData(req *request.DescribeVodSpaceEditDetailDataRequest) (*response.DescribeVodSpaceEditDetailDataResponse, int, error)
DescribeVodSpaceEditDetailData
- @param *request.DescribeVodSpaceEditDetailDataRequest
- @return *response.DescribeVodSpaceEditDetailDataResponse, int, error
func (*Vod) DescribeVodSpaceStorageData ¶
func (p *Vod) DescribeVodSpaceStorageData(req *request.VodDescribeVodSpaceStorageDataRequest) (*response.VodDescribeVodSpaceStorageDataResponse, int, error)
DescribeVodSpaceStorageData
- @param *request.VodDescribeVodSpaceStorageDataRequest
- @return *response.VodDescribeVodSpaceStorageDataResponse, int, error
func (*Vod) DescribeVodSpaceSubtitleStatisData ¶
func (p *Vod) DescribeVodSpaceSubtitleStatisData(req *request.DescribeVodSpaceSubtitleStatisDataRequest) (*response.DescribeVodSpaceSubtitleStatisDataResponse, int, error)
DescribeVodSpaceSubtitleStatisData
- @param *request.DescribeVodSpaceSubtitleStatisDataRequest
- @return *response.DescribeVodSpaceSubtitleStatisDataResponse, int, error
func (*Vod) DescribeVodSpaceTranscodeData ¶
func (p *Vod) DescribeVodSpaceTranscodeData(req *request.DescribeVodSpaceTranscodeDataRequest) (*response.DescribeVodSpaceTranscodeDataResponse, int, error)
DescribeVodSpaceTranscodeData
- @param *request.DescribeVodSpaceTranscodeDataRequest
- @return *response.DescribeVodSpaceTranscodeDataResponse, int, error
func (*Vod) DescribeVodSpaceWorkflowDetailData ¶
func (p *Vod) DescribeVodSpaceWorkflowDetailData(req *request.DescribeVodSpaceWorkflowDetailDataRequest) (*response.DescribeVodSpaceWorkflowDetailDataResponse, int, error)
DescribeVodSpaceWorkflowDetailData
- @param *request.DescribeVodSpaceWorkflowDetailDataRequest
- @return *response.DescribeVodSpaceWorkflowDetailDataResponse, int, error
func (*Vod) ExtractMediaMetaTask ¶
func (p *Vod) ExtractMediaMetaTask(req *request.VodExtractMediaMetaTaskRequest) (*response.VodExtractMediaMetaTaskResponse, int, error)
ExtractMediaMetaTask
- @param *request.VodExtractMediaMetaTaskRequest
- @return *response.VodExtractMediaMetaTaskResponse, int, error
func (*Vod) GetAllPlayInfo ¶
func (p *Vod) GetAllPlayInfo(req *request.VodGetAllPlayInfoRequest) (*response.VodGetAllPlayInfoResponse, int, error)
GetAllPlayInfo
- @param *request.VodGetAllPlayInfoRequest
- @return *response.VodGetAllPlayInfoResponse, int, error
func (*Vod) GetAppInfo ¶
func (p *Vod) GetAppInfo(req *request.VodGetAppInfoRequest) (*response.VodGetAppInfoResponse, int, error)
GetAppInfo
- @param *request.VodGetAppInfoRequest
- @return *response.VodGetAppInfoResponse, int, error
func (*Vod) GetAudioEventDetectionForAudit ¶
func (p *Vod) GetAudioEventDetectionForAudit(req *request.VodGetAudioEventDetectionForAuditRequest) (*response.VodGetAudioEventDetectionForAuditResponse, int, error)
GetAudioEventDetectionForAudit
- @param *request.VodGetAudioEventDetectionForAuditRequest
- @return *response.VodGetAudioEventDetectionForAuditResponse, int, error
func (*Vod) GetAudioInfoForAudit ¶
func (p *Vod) GetAudioInfoForAudit(req *request.VodGetAudioInfoForAuditRequest) (*response.VodGetAudioInfoForAuditResponse, int, error)
GetAudioInfoForAudit
- @param *request.VodGetAudioInfoForAuditRequest
- @return *response.VodGetAudioInfoForAuditResponse, int, error
func (*Vod) GetAuditFramesForAudit ¶
func (p *Vod) GetAuditFramesForAudit(req *request.VodGetAuditFramesForAuditRequest) (*response.VodGetAuditFramesForAuditResponse, int, error)
GetAuditFramesForAudit
- @param *request.VodGetAuditFramesForAuditRequest
- @return *response.VodGetAuditFramesForAuditResponse, int, error
func (*Vod) GetAutomaticSpeechRecognitionForAudit ¶
func (p *Vod) GetAutomaticSpeechRecognitionForAudit(req *request.VodGetAutomaticSpeechRecognitionForAuditRequest) (*response.VodGetAutomaticSpeechRecognitionForAuditResponse, int, error)
GetAutomaticSpeechRecognitionForAudit
- @param *request.VodGetAutomaticSpeechRecognitionForAuditRequest
- @return *response.VodGetAutomaticSpeechRecognitionForAuditResponse, int, error
func (*Vod) GetBetterFramesForAudit ¶
func (p *Vod) GetBetterFramesForAudit(req *request.VodGetBetterFramesForAuditRequest) (*response.VodGetBetterFramesForAuditResponse, int, error)
GetBetterFramesForAudit
- @param *request.VodGetBetterFramesForAuditRequest
- @return *response.VodGetBetterFramesForAuditResponse, int, error
func (*Vod) GetContentBlockTasks ¶
func (p *Vod) GetContentBlockTasks(req *request.VodGetContentBlockTasksRequest) (*response.VodGetContentBlockTasksResponse, int, error)
GetContentBlockTasks
- @param *request.VodGetContentBlockTasksRequest
- @return *response.VodGetContentBlockTasksResponse, int, error
func (*Vod) GetDirectEditProgress ¶
func (p *Vod) GetDirectEditProgress(req *request.VodGetDirectEditProgressRequest) (*response.VodGetDirectEditProgressResponse, int, error)
GetDirectEditProgress
- @param *request.VodGetDirectEditProgressRequest
- @return *response.VodGetDirectEditProgressResponse, int, error
func (*Vod) GetDirectEditResult ¶
func (p *Vod) GetDirectEditResult(req *request.VodGetDirectEditResultRequest) (*response.VodGetDirectEditResultResponse, int, error)
GetDirectEditResult
- @param *request.VodGetDirectEditResultRequest
- @return *response.VodGetDirectEditResultResponse, int, error
func (*Vod) GetHlsDecryptionKey ¶
func (p *Vod) GetHlsDecryptionKey(req *request.VodGetHlsDecryptionKeyRequest) (*response.VodGetHlsDecryptionKeyResponse, int, error)
GetHlsDecryptionKey
- @param *request.VodGetHlsDecryptionKeyRequest
- @return *response.VodGetHlsDecryptionKeyResponse, int, error
func (*Vod) GetMLFramesForAudit ¶
func (p *Vod) GetMLFramesForAudit(req *request.VodGetMLFramesForAuditRequest) (*response.VodGetMLFramesForAuditResponse, int, error)
GetMLFramesForAudit
- @param *request.VodGetMLFramesForAuditRequest
- @return *response.VodGetMLFramesForAuditResponse, int, error
func (*Vod) GetMediaInfos ¶
func (p *Vod) GetMediaInfos(req *request.VodGetMediaInfosRequest) (*response.VodGetMediaInfosResponse, int, error)
GetMediaInfos
- @param *request.VodGetMediaInfosRequest
- @return *response.VodGetMediaInfosResponse, int, error
func (*Vod) GetMediaInfos20230701 ¶ added in v1.0.136
func (p *Vod) GetMediaInfos20230701(req *request.VodGetMediaInfosRequest) (*response.VodGetMediaInfosResponse, int, error)
GetMediaInfos20230701
- @param *request.VodGetMediaInfosRequest
- @return *response.VodGetMediaInfosResponse, int, error
func (*Vod) GetMediaList ¶
func (p *Vod) GetMediaList(req *request.VodGetMediaListRequest) (*response.VodGetMediaListResponse, int, error)
GetMediaList
- @param *request.VodGetMediaListRequest
- @return *response.VodGetMediaListResponse, int, error
func (*Vod) GetPlayAuthToken ¶
func (*Vod) GetPlayInfo ¶
func (p *Vod) GetPlayInfo(req *request.VodGetPlayInfoRequest) (*response.VodGetPlayInfoResponse, int, error)
GetPlayInfo
- @param *request.VodGetPlayInfoRequest
- @return *response.VodGetPlayInfoResponse, int, error
func (*Vod) GetPlayInfoWithLiveTimeShiftScene ¶
func (p *Vod) GetPlayInfoWithLiveTimeShiftScene(req *request.VodGetPlayInfoWithLiveTimeShiftSceneRequest) (*response.VodGetPlayInfoWithLiveTimeShiftSceneResponse, int, error)
GetPlayInfoWithLiveTimeShiftScene
- @param *request.VodGetPlayInfoWithLiveTimeShiftSceneRequest
- @return *response.VodGetPlayInfoWithLiveTimeShiftSceneResponse, int, error
func (*Vod) GetPrivateDrmAuthToken ¶
func (*Vod) GetPrivateDrmPlayAuth ¶
func (p *Vod) GetPrivateDrmPlayAuth(req *request.VodGetPrivateDrmPlayAuthRequest) (*response.VodGetPrivateDrmPlayAuthResponse, int, error)
GetPrivateDrmPlayAuth
- @param *request.VodGetPrivateDrmPlayAuthRequest
- @return *response.VodGetPrivateDrmPlayAuthResponse, int, error
func (*Vod) GetRecommendedPoster ¶
func (p *Vod) GetRecommendedPoster(req *request.VodGetRecommendedPosterRequest) (*response.VodGetRecommendedPosterResponse, int, error)
GetRecommendedPoster
- @param *request.VodGetRecommendedPosterRequest
- @return *response.VodGetRecommendedPosterResponse, int, error
func (*Vod) GetSmartStrategyLitePlayInfo ¶
func (p *Vod) GetSmartStrategyLitePlayInfo(req *request.VodGetSmartStrategyLitePlayInfoRequest) (*response.VodGetSmartStrategyLitePlayInfoResponse, int, error)
GetSmartStrategyLitePlayInfo
- @param *request.VodGetSmartStrategyLitePlayInfoRequest
- @return *response.VodGetSmartStrategyLitePlayInfoResponse, int, error
func (*Vod) GetSpaceDetail ¶
func (p *Vod) GetSpaceDetail(req *request.VodGetSpaceDetailRequest) (*response.VodGetSpaceDetailResponse, int, error)
GetSpaceDetail
- @param *request.VodGetSpaceDetailRequest
- @return *response.VodGetSpaceDetailResponse, int, error
func (*Vod) GetSubtitleAuthToken ¶
func (*Vod) GetSubtitleInfoList ¶
func (p *Vod) GetSubtitleInfoList(req *request.VodGetSubtitleInfoListRequest) (*response.VodGetSubtitleInfoListResponse, int, error)
GetSubtitleInfoList
- @param *request.VodGetSubtitleInfoListRequest
- @return *response.VodGetSubtitleInfoListResponse, int, error
func (*Vod) GetTaskTemplate ¶ added in v1.0.107
func (p *Vod) GetTaskTemplate(req *request.VodGetTaskTemplateRequest) (*response.VodGetTaskTemplateResponse, int, error)
GetTaskTemplate
- @param *request.VodGetTaskTemplateRequest
- @return *response.VodGetTaskTemplateResponse, int, error
func (*Vod) GetUploadAuth ¶
func (p *Vod) GetUploadAuth() (*base.SecurityToken2, error)
func (*Vod) GetUploadAuthWithExpiredTime ¶
func (*Vod) GetWatermarkTemplate ¶ added in v1.0.107
func (p *Vod) GetWatermarkTemplate(req *request.VodGetWatermarkRequest) (*response.VodGetWatermarkResponse, int, error)
GetWatermarkTemplate
- @param *request.VodGetWatermarkRequest
- @return *response.VodGetWatermarkResponse, int, error
func (*Vod) GetWorkflowExecution ¶
func (p *Vod) GetWorkflowExecution(req *request.VodGetWorkflowExecutionStatusRequest) (*response.VodGetWorkflowExecutionStatusResponse, int, error)
GetWorkflowExecution
- @param *request.VodGetWorkflowExecutionStatusRequest
- @return *response.VodGetWorkflowExecutionStatusResponse, int, error
func (*Vod) GetWorkflowExecutionResult ¶
func (p *Vod) GetWorkflowExecutionResult(req *request.VodGetWorkflowResultRequest) (*response.VodGetWorkflowResultResponse, int, error)
GetWorkflowExecutionResult
- @param *request.VodGetWorkflowResultRequest
- @return *response.VodGetWorkflowResultResponse, int, error
func (*Vod) GetWorkflowTemplate ¶ added in v1.0.107
func (p *Vod) GetWorkflowTemplate(req *request.VodGetWorkflowTemplateRequest) (*response.VodGetWorkflowTemplateResponse, int, error)
GetWorkflowTemplate
- @param *request.VodGetWorkflowTemplateRequest
- @return *response.VodGetWorkflowTemplateResponse, int, error
func (*Vod) InitUploadPart ¶ added in v1.0.103
func (*Vod) ListCdnAccessLog ¶
func (p *Vod) ListCdnAccessLog(req *request.VodListCdnAccessLogRequest) (*response.VodListCdnAccessLogResponse, int, error)
ListCdnAccessLog
- @param *request.VodListCdnAccessLogRequest
- @return *response.VodListCdnAccessLogResponse, int, error
func (*Vod) ListCdnHitrateData ¶ added in v1.0.98
func (p *Vod) ListCdnHitrateData(req *request.VodListCdnHitrateDataRequest) (*response.VodCdnStatisticsCommonResponse, int, error)
ListCdnHitrateData
- @param *request.VodListCdnHitrateDataRequest
- @return *response.VodCdnStatisticsCommonResponse, int, error
func (*Vod) ListCdnPvData ¶
func (p *Vod) ListCdnPvData(req *request.VodListCdnPvDataRequest) (*response.VodCdnStatisticsCommonResponse, int, error)
ListCdnPvData
- @param *request.VodListCdnPvDataRequest
- @return *response.VodCdnStatisticsCommonResponse, int, error
func (*Vod) ListCdnStatusData ¶
func (p *Vod) ListCdnStatusData(req *request.VodListCdnStatusDataRequest) (*response.VodCdnStatisticsCommonResponse, int, error)
ListCdnStatusData
- @param *request.VodListCdnStatusDataRequest
- @return *response.VodCdnStatisticsCommonResponse, int, error
func (*Vod) ListCdnTasks ¶
func (p *Vod) ListCdnTasks(req *request.VodListCdnTasksRequest) (*response.VodListCdnTasksResponse, int, error)
ListCdnTasks
- @param *request.VodListCdnTasksRequest
- @return *response.VodListCdnTasksResponse, int, error
func (*Vod) ListCdnTopAccess ¶ added in v1.0.112
func (p *Vod) ListCdnTopAccess(req *request.VodListCdnTopAccessRequest) (*response.VodListCdnTopAccessResponse, int, error)
ListCdnTopAccess
- @param *request.VodListCdnTopAccessRequest
- @return *response.VodListCdnTopAccessResponse, int, error
func (*Vod) ListCdnTopAccessUrl ¶
func (p *Vod) ListCdnTopAccessUrl(req *request.VodListCdnTopAccessUrlRequest) (*response.VodListCdnTopAccessUrlResponse, int, error)
ListCdnTopAccessUrl
- @param *request.VodListCdnTopAccessUrlRequest
- @return *response.VodListCdnTopAccessUrlResponse, int, error
func (*Vod) ListCdnUsageData ¶
func (p *Vod) ListCdnUsageData(req *request.VodListCdnUsageDataRequest) (*response.VodCdnStatisticsCommonResponse, int, error)
ListCdnUsageData
- @param *request.VodListCdnUsageDataRequest
- @return *response.VodCdnStatisticsCommonResponse, int, error
func (*Vod) ListDomain ¶
func (p *Vod) ListDomain(req *request.VodListDomainRequest) (*response.VodListDomainResponse, int, error)
ListDomain
- @param *request.VodListDomainRequest
- @return *response.VodListDomainResponse, int, error
func (*Vod) ListFileMetaInfosByFileNames ¶ added in v1.0.126
func (p *Vod) ListFileMetaInfosByFileNames(req *request.VodListFileMetaInfosByFileNamesRequest) (*response.VodListFileMetaInfosByFileNamesResponse, int, error)
ListFileMetaInfosByFileNames
- @param *request.VodListFileMetaInfosByFileNamesRequest
- @return *response.VodListFileMetaInfosByFileNamesResponse, int, error
func (*Vod) ListSnapshots ¶
func (p *Vod) ListSnapshots(req *request.VodListSnapshotsRequest) (*response.VodListSnapshotsResponse, int, error)
ListSnapshots
- @param *request.VodListSnapshotsRequest
- @return *response.VodListSnapshotsResponse, int, error
func (*Vod) ListSpace ¶
func (p *Vod) ListSpace(req *request.VodListSpaceRequest) (*response.VodListSpaceResponse, int, error)
ListSpace
- @param *request.VodListSpaceRequest
- @return *response.VodListSpaceResponse, int, error
func (*Vod) ListTaskTemplate ¶ added in v1.0.107
func (p *Vod) ListTaskTemplate(req *request.VodListTaskTemplateRequest) (*response.VodListTaskTemplateResponse, int, error)
ListTaskTemplate
- @param *request.VodListTaskTemplateRequest
- @return *response.VodListTaskTemplateResponse, int, error
func (*Vod) ListVideoClassifications ¶
func (p *Vod) ListVideoClassifications(req *request.VodListVideoClassificationsRequest) (*response.VodListVideoClassificationsResponse, int, error)
ListVideoClassifications
- @param *request.VodListVideoClassificationsRequest
- @return *response.VodListVideoClassificationsResponse, int, error
func (*Vod) ListWatermarkTemplate ¶ added in v1.0.107
func (p *Vod) ListWatermarkTemplate(req *request.VodListWatermarkRequest) (*response.VodListWatermarkResponse, int, error)
ListWatermarkTemplate
- @param *request.VodListWatermarkRequest
- @return *response.VodListWatermarkResponse, int, error
func (*Vod) ListWorkflowTemplate ¶ added in v1.0.107
func (p *Vod) ListWorkflowTemplate(req *request.VodListWorkflowTemplateRequest) (*response.VodListWorkflowTemplateResponse, int, error)
ListWorkflowTemplate
- @param *request.VodListWorkflowTemplateRequest
- @return *response.VodListWorkflowTemplateResponse, int, error
func (*Vod) QueryMediaBlockStatus ¶
func (p *Vod) QueryMediaBlockStatus(req *request.VodQueryMediaBlockStatusRequest) (*response.VodQueryMediaBlockStatusResponse, int, error)
QueryMediaBlockStatus
- @param *request.VodQueryMediaBlockStatusRequest
- @return *response.VodQueryMediaBlockStatusResponse, int, error
func (*Vod) QueryUploadTaskInfo ¶
func (p *Vod) QueryUploadTaskInfo(req *request.VodQueryUploadTaskInfoRequest) (*response.VodQueryUploadTaskInfoResponse, int, error)
QueryUploadTaskInfo
- @param *request.VodQueryUploadTaskInfoRequest
- @return *response.VodQueryUploadTaskInfoResponse, int, error
func (*Vod) RemoveDomainFromScheduler ¶ added in v1.0.136
func (p *Vod) RemoveDomainFromScheduler(req *request.VodRemoveDomainFromSchedulerRequest) (*response.VodRemoveDomainFromSchedulerResponse, int, error)
RemoveDomainFromScheduler
- @param *request.VodRemoveDomainFromSchedulerRequest
- @return *response.VodRemoveDomainFromSchedulerResponse, int, error
func (*Vod) RetrieveTranscodeResult ¶
func (p *Vod) RetrieveTranscodeResult(req *request.VodRetrieveTranscodeResultRequest) (*response.VodRetrieveTranscodeResultResponse, int, error)
RetrieveTranscodeResult
- @param *request.VodRetrieveTranscodeResultRequest
- @return *response.VodRetrieveTranscodeResultResponse, int, error
func (*Vod) SetCallbackEvent ¶
func (p *Vod) SetCallbackEvent(req *request.VodSetCallbackEventRequest) (*response.VodSetCallbackEventResponse, int, error)
SetCallbackEvent
- @param *request.VodSetCallbackEventRequest
- @return *response.VodSetCallbackEventResponse, int, error
func (*Vod) StartDomain ¶ added in v1.0.136
func (p *Vod) StartDomain(req *request.VodStartDomainRequest) (*response.VodStartDomainResponse, int, error)
StartDomain
- @param *request.VodStartDomainRequest
- @return *response.VodStartDomainResponse, int, error
func (*Vod) StartWorkflow ¶
func (p *Vod) StartWorkflow(req *request.VodStartWorkflowRequest) (*response.VodStartWorkflowResponse, int, error)
StartWorkflow
- @param *request.VodStartWorkflowRequest
- @return *response.VodStartWorkflowResponse, int, error
func (*Vod) StopDomain ¶ added in v1.0.136
func (p *Vod) StopDomain(req *request.VodStopDomainRequest) (*response.VodStopDomainResponse, int, error)
StopDomain
- @param *request.VodStopDomainRequest
- @return *response.VodStopDomainResponse, int, error
func (*Vod) SubmitBlockMediaTask ¶
func (p *Vod) SubmitBlockMediaTask(req *request.VodSubmitBlockMediaTaskRequest) (*response.VodSubmitBlockMediaTaskResponse, int, error)
SubmitBlockMediaTask
- @param *request.VodSubmitBlockMediaTaskRequest
- @return *response.VodSubmitBlockMediaTaskResponse, int, error
func (*Vod) SubmitBlockTasks ¶
func (p *Vod) SubmitBlockTasks(req *request.VodSubmitBlockTasksRequest) (*response.VodSubmitBlockTasksResponse, int, error)
SubmitBlockTasks
- @param *request.VodSubmitBlockTasksRequest
- @return *response.VodSubmitBlockTasksResponse, int, error
func (*Vod) SubmitDirectEditTaskAsync ¶
func (p *Vod) SubmitDirectEditTaskAsync(req *request.VodSubmitDirectEditTaskAsyncRequest) (*response.VodSubmitDirectEditTaskAsyncResponse, int, error)
SubmitDirectEditTaskAsync
- @param *request.VodSubmitDirectEditTaskAsyncRequest
- @return *response.VodSubmitDirectEditTaskAsyncResponse, int, error
func (*Vod) SubmitUnblockMediaTask ¶
func (p *Vod) SubmitUnblockMediaTask(req *request.VodSubmitUnblockMediaTaskRequest) (*response.VodSubmitUnblockMediaTaskResponse, int, error)
SubmitUnblockMediaTask
- @param *request.VodSubmitUnblockMediaTaskRequest
- @return *response.VodSubmitUnblockMediaTaskResponse, int, error
func (*Vod) UpdateDomainAuthConfig ¶ added in v1.0.110
func (p *Vod) UpdateDomainAuthConfig(req *request.VodUpdateDomainAuthConfigV2Request) (*response.VodUpdateDomainAuthConfigV2Response, int, error)
UpdateDomainAuthConfig
- @param *request.VodUpdateDomainAuthConfigV2Request
- @return *response.VodUpdateDomainAuthConfigV2Response, int, error
func (*Vod) UpdateDomainExpire ¶ added in v1.0.110
func (p *Vod) UpdateDomainExpire(req *request.VodUpdateDomainExpireV2Request) (*response.VodUpdateDomainExpireV2Response, int, error)
UpdateDomainExpire
- @param *request.VodUpdateDomainExpireV2Request
- @return *response.VodUpdateDomainExpireV2Response, int, error
func (*Vod) UpdateDomainPlayRule ¶ added in v1.0.136
func (p *Vod) UpdateDomainPlayRule(req *request.VodUpdateDomainPlayRuleRequest) (*response.VodUpdateDomainPlayRuleResponse, int, error)
UpdateDomainPlayRule
- @param *request.VodUpdateDomainPlayRuleRequest
- @return *response.VodUpdateDomainPlayRuleResponse, int, error
func (*Vod) UpdateDomainUrlAuthConfig ¶ added in v1.0.137
func (p *Vod) UpdateDomainUrlAuthConfig(req *request.VodUpdateDomainUrlAuthConfigV2Request) (*response.VodUpdateDomainUrlAuthConfigV2Response, int, error)
UpdateDomainUrlAuthConfig
- @param *request.VodUpdateDomainUrlAuthConfigV2Request
- @return *response.VodUpdateDomainUrlAuthConfigV2Response, int, error
func (*Vod) UpdateMediaInfo ¶
func (p *Vod) UpdateMediaInfo(req *request.VodUpdateMediaInfoRequest) (*response.VodUpdateMediaInfoResponse, int, error)
UpdateMediaInfo
- @param *request.VodUpdateMediaInfoRequest
- @return *response.VodUpdateMediaInfoResponse, int, error
func (*Vod) UpdateMediaPublishStatus ¶
func (p *Vod) UpdateMediaPublishStatus(req *request.VodUpdateMediaPublishStatusRequest) (*response.VodUpdateMediaPublishStatusResponse, int, error)
UpdateMediaPublishStatus
- @param *request.VodUpdateMediaPublishStatusRequest
- @return *response.VodUpdateMediaPublishStatusResponse, int, error
func (*Vod) UpdateMediaStorageClass ¶
func (p *Vod) UpdateMediaStorageClass(req *request.VodUpdateMediaStorageClassRequest) (*response.VodUpdateMediaStorageClassResponse, int, error)
UpdateMediaStorageClass
- @param *request.VodUpdateMediaStorageClassRequest
- @return *response.VodUpdateMediaStorageClassResponse, int, error
func (*Vod) UpdateSpace ¶
func (p *Vod) UpdateSpace(req *request.VodUpdateSpaceRequest) (*response.VodUpdateSpaceResponse, int, error)
UpdateSpace
- @param *request.VodUpdateSpaceRequest
- @return *response.VodUpdateSpaceResponse, int, error
func (*Vod) UpdateSpaceUploadConfig ¶
func (p *Vod) UpdateSpaceUploadConfig(req *request.VodUpdateSpaceUploadConfigRequest) (*response.VodUpdateSpaceUploadConfigResponse, int, error)
UpdateSpaceUploadConfig
- @param *request.VodUpdateSpaceUploadConfigRequest
- @return *response.VodUpdateSpaceUploadConfigResponse, int, error
func (*Vod) UpdateSubtitleInfo ¶
func (p *Vod) UpdateSubtitleInfo(req *request.VodUpdateSubtitleInfoRequest) (*response.VodUpdateSubtitleInfoResponse, int, error)
UpdateSubtitleInfo
- @param *request.VodUpdateSubtitleInfoRequest
- @return *response.VodUpdateSubtitleInfoResponse, int, error
func (*Vod) UpdateSubtitleStatus ¶
func (p *Vod) UpdateSubtitleStatus(req *request.VodUpdateSubtitleStatusRequest) (*response.VodUpdateSubtitleStatusResponse, int, error)
UpdateSubtitleStatus
- @param *request.VodUpdateSubtitleStatusRequest
- @return *response.VodUpdateSubtitleStatusResponse, int, error
func (*Vod) UpdateTaskTemplate ¶ added in v1.0.107
func (p *Vod) UpdateTaskTemplate(req *request.VodUpdateTaskTemplateRequest) (*response.VodUpdateTaskTemplateResponse, int, error)
UpdateTaskTemplate
- @param *request.VodUpdateTaskTemplateRequest
- @return *response.VodUpdateTaskTemplateResponse, int, error
func (*Vod) UpdateVideoClassification ¶
func (p *Vod) UpdateVideoClassification(req *request.VodUpdateVideoClassificationRequest) (*response.VodUpdateVideoClassificationResponse, int, error)
UpdateVideoClassification
- @param *request.VodUpdateVideoClassificationRequest
- @return *response.VodUpdateVideoClassificationResponse, int, error
func (*Vod) UpdateWatermarkTemplate ¶ added in v1.0.107
func (p *Vod) UpdateWatermarkTemplate(req *request.VodUpdateWatermarkRequest) (*response.VodUpdateWatermarkResponse, int, error)
UpdateWatermarkTemplate
- @param *request.VodUpdateWatermarkRequest
- @return *response.VodUpdateWatermarkResponse, int, error
func (*Vod) UpdateWorkflowTemplate ¶ added in v1.0.107
func (p *Vod) UpdateWorkflowTemplate(req *request.VodUpdateWorkflowTemplateRequest) (*response.VodUpdateWorkflowTemplateResponse, int, error)
UpdateWorkflowTemplate
- @param *request.VodUpdateWorkflowTemplateRequest
- @return *response.VodUpdateWorkflowTemplateResponse, int, error
func (*Vod) UploadMaterialWithCallback ¶
func (p *Vod) UploadMaterialWithCallback(materialRequest *request.VodUploadMaterialRequest) (*response.VodCommitUploadInfoResponse, int, error)
func (*Vod) UploadMediaByUrl ¶
func (p *Vod) UploadMediaByUrl(req *request.VodUrlUploadRequest) (*response.VodUrlUploadResponse, int, error)
UploadMediaByUrl
- @param *request.VodUrlUploadRequest
- @return *response.VodUrlUploadResponse, int, error
func (*Vod) UploadMediaInner ¶
func (p *Vod) UploadMediaInner(uploadMediaInnerRequest *model.VodUploadMediaInnerFuncRequest) (*response.VodCommitUploadInfoResponse, int, error)
func (*Vod) UploadMediaWithCallback ¶
func (p *Vod) UploadMediaWithCallback(mediaRequset *request.VodUploadMediaRequest) (*response.VodCommitUploadInfoResponse, int, error)
func (*Vod) UploadMergePart ¶ added in v1.0.103
func (p *Vod) UploadMergePart(uploadPart model.UploadPartCommon, uploadID string, uploadPartResponseList []*model.UploadPartResponse, client *http.Client, storageClass int32) error
func (*Vod) UploadObjectWithCallback ¶
func (*Vod) UploadObjectWithCallbackV2 ¶ added in v1.0.131
func (p *Vod) UploadObjectWithCallbackV2(uploadReq *request.VodUploadObjectRequest) (*response.VodCommitUploadInfoResponse, int, error)
type WorkflowInput ¶
type WorkflowInput struct {
TemplateId string
}
Source Files ¶
- auth.go
- base_service.go
- config.go
- errors.go
- model.go
- option.go
- vod_apps_manage_service.go
- vod_callback_service.go
- vod_cdn_service.go
- vod_edit_service.go
- vod_measure_service.go
- vod_media_service.go
- vod_play_service.go
- vod_project_service.go
- vod_smart_strategy_lite_service.go
- vod_space_service.go
- vod_trade_service.go
- vod_upload_service.go
- vod_workflow_service.go