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 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 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) CreatePlaylist(req *request.VodCreatePlaylistRequest) (*response.VodCreatePlaylistResponse, int, error)
- func (p *Vod) CreateSpace(req *request.VodCreateSpaceRequest) (*response.VodCreateSpaceResponse, int, error)
- func (p *Vod) CreateVideoClassification(req *request.VodCreateVideoClassificationRequest) (*response.VodCreateVideoClassificationResponse, int, error)
- func (p *Vod) DeleteMedia(req *request.VodDeleteMediaRequest) (*response.VodDeleteMediaResponse, int, error)
- func (p *Vod) DeletePlaylist(req *request.VodDeletePlaylistRequest) (*response.VodDeletePlaylistResponse, 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) 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) DescribeVodSnapshotData(req *request.DescribeVodSnapshotDataRequest) (*response.DescribeVodSnapshotDataResponse, int, error)
- func (p *Vod) DescribeVodSpaceStorageData(req *request.VodDescribeVodSpaceStorageDataRequest) (*response.VodDescribeVodSpaceStorageDataResponse, int, error)
- func (p *Vod) DescribeVodSpaceTranscodeData(req *request.DescribeVodSpaceTranscodeDataRequest) (*response.DescribeVodSpaceTranscodeDataResponse, int, error)
- func (p *Vod) GetMediaInfos(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) GetPlaylists(req *request.VodGetPlaylistsRequest) (*response.VodGetPlaylistsResponse, 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) 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) GetUploadAuth() (*base.SecurityToken2, error)
- func (p *Vod) GetUploadAuthWithExpiredTime(expiredTime time.Duration) (*base.SecurityToken2, error)
- func (p *Vod) GetWorkflowExecution(req *request.VodGetWorkflowExecutionStatusRequest) (*response.VodGetWorkflowExecutionStatusResponse, int, error)
- func (p *Vod) ListCdnAccessLog(req *request.VodListCdnAccessLogRequest) (*response.VodListCdnAccessLogResponse, 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) 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) ListSnapshots(req *request.VodListSnapshotsRequest) (*response.VodListSnapshotsResponse, int, error)
- func (p *Vod) ListSpace(req *request.VodListSpaceRequest) (*response.VodListSpaceResponse, int, error)
- func (p *Vod) ListVideoClassifications(req *request.VodListVideoClassificationsRequest) (*response.VodListVideoClassificationsResponse, 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) UpdateDomainExpire(req *request.VodUpdateDomainExpireV2Request) (*response.VodUpdateDomainExpireV2Response, int, error)
- func (p *Vod) UpdateDomainPlayRule(req *request.VodUpdateDomainPlayRuleRequestRequest) (*response.VodUpdateDomainPlayRuleResponse, 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) UpdatePlaylist(req *request.VodUpdatePlaylistRequest) (*response.VodUpdatePlaylistResponse, 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) UpdateVideoClassification(req *request.VodUpdateVideoClassificationRequest) (*response.VodUpdateVideoClassificationResponse, int, error)
- func (p *Vod) Upload(rd io.Reader, size int64, spaceName string, fileType string, ...) (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(rd io.Reader, size int64, spaceName string, fileType, callbackArgs string, ...) (*response.VodCommitUploadInfoResponse, int, error)
- func (p *Vod) UploadMediaWithCallback(mediaRequset *request.VodUploadMediaRequest) (*response.VodCommitUploadInfoResponse, int, error)
- func (p *Vod) UploadObjectWithCallback(filePath string, spaceName string, callbackArgs string, ...) (*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.RegionApSingapore: { Timeout: 60 * time.Second, Host: "vod.byteplusapi.com", Header: http.Header{ "Accept": []string{"application/json"}, }, Credentials: base.Credentials{Region: base.RegionApSingapore, Service: "vod"}, }, } ApiInfoList = map[string]*base.ApiInfo{ "GetPlayInfo": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetPlayInfo"}, "Version": []string{"2023-01-01"}, }, }, "GetPlayInfoWithLiveTimeShiftScene": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetPlayInfoWithLiveTimeShiftScene"}, "Version": []string{"2023-01-01"}, }, }, "GetPrivateDrmPlayAuth": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetPrivateDrmPlayAuth"}, "Version": []string{"2023-01-01"}, }, }, "UploadMediaByUrl": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"UploadMediaByUrl"}, "Version": []string{"2023-01-01"}, }, }, "QueryUploadTaskInfo": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"QueryUploadTaskInfo"}, "Version": []string{"2023-01-01"}, }, }, "ApplyUploadInfo": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"ApplyUploadInfo"}, "Version": []string{"2023-01-01"}, }, }, "CommitUploadInfo": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"CommitUploadInfo"}, "Version": []string{"2023-01-01"}, }, Timeout: 8 * time.Second, }, "CreatePlaylist": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreatePlaylist"}, "Version": []string{"2023-01-01"}, }, }, "GetPlaylists": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetPlaylists"}, "Version": []string{"2023-01-01"}, }, }, "UpdatePlaylist": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdatePlaylist"}, "Version": []string{"2023-01-01"}, }, }, "DeletePlaylist": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"DeletePlaylist"}, "Version": []string{"2023-01-01"}, }, }, "UpdateMediaInfo": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"UpdateMediaInfo"}, "Version": []string{"2023-01-01"}, }, }, "UpdateMediaPublishStatus": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"UpdateMediaPublishStatus"}, "Version": []string{"2023-01-01"}, }, }, "UpdateMediaStorageClass": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"UpdateMediaStorageClass"}, "Version": []string{"2023-01-01"}, }, }, "GetMediaInfos": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetMediaInfos"}, "Version": []string{"2023-01-01"}, }, }, "GetRecommendedPoster": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetRecommendedPoster"}, "Version": []string{"2023-01-01"}, }, }, "DeleteMedia": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"DeleteMedia"}, "Version": []string{"2023-01-01"}, }, }, "DeleteTranscodes": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"DeleteTranscodes"}, "Version": []string{"2023-01-01"}, }, }, "GetMediaList": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetMediaList"}, "Version": []string{"2023-01-01"}, }, }, "GetSubtitleInfoList": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetSubtitleInfoList"}, "Version": []string{"2023-01-01"}, }, }, "UpdateSubtitleStatus": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"UpdateSubtitleStatus"}, "Version": []string{"2023-01-01"}, }, }, "UpdateSubtitleInfo": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"UpdateSubtitleInfo"}, "Version": []string{"2023-01-01"}, }, }, "CreateVideoClassification": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"CreateVideoClassification"}, "Version": []string{"2023-01-01"}, }, }, "UpdateVideoClassification": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"UpdateVideoClassification"}, "Version": []string{"2023-01-01"}, }, }, "DeleteVideoClassification": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"DeleteVideoClassification"}, "Version": []string{"2023-01-01"}, }, }, "ListVideoClassifications": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"ListVideoClassifications"}, "Version": []string{"2023-01-01"}, }, }, "ListSnapshots": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"ListSnapshots"}, "Version": []string{"2023-01-01"}, }, }, "StartWorkflow": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"StartWorkflow"}, "Version": []string{"2023-01-01"}, }, }, "RetrieveTranscodeResult": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"RetrieveTranscodeResult"}, "Version": []string{"2023-01-01"}, }, }, "GetWorkflowExecution": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetWorkflowExecution"}, "Version": []string{"2023-01-01"}, }, }, "CreateSpace": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"CreateSpace"}, "Version": []string{"2023-01-01"}, }, }, "ListSpace": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"ListSpace"}, "Version": []string{"2023-01-01"}, }, }, "GetSpaceDetail": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"GetSpaceDetail"}, "Version": []string{"2023-01-01"}, }, }, "UpdateSpaceUploadConfig": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"UpdateSpaceUploadConfig"}, "Version": []string{"2023-01-01"}, }, }, "DescribeVodSpaceStorageData": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"DescribeVodSpaceStorageData"}, "Version": []string{"2023-01-01"}, }, }, "ListDomain": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"ListDomain"}, "Version": []string{"2023-01-01"}, }, }, "CreateCdnRefreshTask": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"CreateCdnRefreshTask"}, "Version": []string{"2023-01-01"}, }, }, "CreateCdnPreloadTask": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"CreateCdnPreloadTask"}, "Version": []string{"2023-01-01"}, }, }, "ListCdnTasks": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"ListCdnTasks"}, "Version": []string{"2023-01-01"}, }, }, "ListCdnAccessLog": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"ListCdnAccessLog"}, "Version": []string{"2023-01-01"}, }, }, "ListCdnTopAccessUrl": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"ListCdnTopAccessUrl"}, "Version": []string{"2023-01-01"}, }, }, "DescribeVodDomainBandwidthData": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"DescribeVodDomainBandwidthData"}, "Version": []string{"2023-01-01"}, }, }, "ListCdnUsageData": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"ListCdnUsageData"}, "Version": []string{"2023-01-01"}, }, }, "ListCdnStatusData": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"ListCdnStatusData"}, "Version": []string{"2023-01-01"}, }, }, "DescribeIpInfo": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"DescribeIpInfo"}, "Version": []string{"2023-01-01"}, }, }, "DescribeVodDomainTrafficData": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"DescribeVodDomainTrafficData"}, "Version": []string{"2023-01-01"}, }, }, "ListCdnPvData": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"ListCdnPvData"}, "Version": []string{"2023-01-01"}, }, }, "CreateDomain": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateDomain"}, "Version": []string{"2023-01-01"}, }, }, "UpdateDomainExpire": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateDomainExpire"}, "Version": []string{"2023-01-01"}, }, }, "AddCallbackSubscription": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"AddCallbackSubscription"}, "Version": []string{"2023-01-01"}, }, }, "SetCallbackEvent": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"SetCallbackEvent"}, "Version": []string{"2023-01-01"}, }, }, "DescribeVodSpaceTranscodeData": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"DescribeVodSpaceTranscodeData"}, "Version": []string{"2023-01-01"}, }, }, "DescribeVodSnapshotData": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"DescribeVodSnapshotData"}, "Version": []string{"2023-01-01"}, }, }, } )
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 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 ¶ added in v1.0.19
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.28
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.28
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 ¶ added in v1.0.19
func (p *Vod) CreateCdnPreloadTask(req *request.VodCreateCdnPreloadTaskRequest) (*response.VodCreateCdnPreloadTaskResponse, int, error)
CreateCdnPreloadTask
- @param *request.VodCreateCdnPreloadTaskRequest
- @return *response.VodCreateCdnPreloadTaskResponse, int, error
func (*Vod) CreateCdnRefreshTask ¶ added in v1.0.19
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.19
func (p *Vod) CreateDomain(req *request.VodCreateDomainV2Request) (*response.VodCreateDomainV2Response, int, error)
CreateDomain
- @param *request.VodCreateDomainV2Request
- @return *response.VodCreateDomainV2Response, int, error
func (*Vod) CreatePlaylist ¶ added in v1.0.22
func (p *Vod) CreatePlaylist(req *request.VodCreatePlaylistRequest) (*response.VodCreatePlaylistResponse, int, error)
CreatePlaylist
- @param *request.VodCreatePlaylistRequest
- @return *response.VodCreatePlaylistResponse, int, error
func (*Vod) CreateSpace ¶ added in v1.0.19
func (p *Vod) CreateSpace(req *request.VodCreateSpaceRequest) (*response.VodCreateSpaceResponse, int, error)
CreateSpace
- @param *request.VodCreateSpaceRequest
- @return *response.VodCreateSpaceResponse, int, error
func (*Vod) CreateVideoClassification ¶ added in v1.0.19
func (p *Vod) CreateVideoClassification(req *request.VodCreateVideoClassificationRequest) (*response.VodCreateVideoClassificationResponse, int, error)
CreateVideoClassification
- @param *request.VodCreateVideoClassificationRequest
- @return *response.VodCreateVideoClassificationResponse, int, error
func (*Vod) DeleteMedia ¶ added in v1.0.19
func (p *Vod) DeleteMedia(req *request.VodDeleteMediaRequest) (*response.VodDeleteMediaResponse, int, error)
DeleteMedia
- @param *request.VodDeleteMediaRequest
- @return *response.VodDeleteMediaResponse, int, error
func (*Vod) DeletePlaylist ¶ added in v1.0.22
func (p *Vod) DeletePlaylist(req *request.VodDeletePlaylistRequest) (*response.VodDeletePlaylistResponse, int, error)
DeletePlaylist
- @param *request.VodDeletePlaylistRequest
- @return *response.VodDeletePlaylistResponse, int, error
func (*Vod) DeleteTranscodes ¶ added in v1.0.19
func (p *Vod) DeleteTranscodes(req *request.VodDeleteTranscodesRequest) (*response.VodDeleteTranscodesResponse, int, error)
DeleteTranscodes
- @param *request.VodDeleteTranscodesRequest
- @return *response.VodDeleteTranscodesResponse, int, error
func (*Vod) DeleteVideoClassification ¶ added in v1.0.19
func (p *Vod) DeleteVideoClassification(req *request.VodDeleteVideoClassificationRequest) (*response.VodDeleteVideoClassificationResponse, int, error)
DeleteVideoClassification
- @param *request.VodDeleteVideoClassificationRequest
- @return *response.VodDeleteVideoClassificationResponse, int, error
func (*Vod) DescribeIpInfo ¶ added in v1.0.19
func (p *Vod) DescribeIpInfo(req *request.VodDescribeIPInfoRequest) (*response.VodDescribeIPInfoResponse, int, error)
DescribeIpInfo
- @param *request.VodDescribeIPInfoRequest
- @return *response.VodDescribeIPInfoResponse, int, error
func (*Vod) DescribeVodDomainBandwidthData ¶ added in v1.0.19
func (p *Vod) DescribeVodDomainBandwidthData(req *request.VodDescribeVodDomainBandwidthDataRequest) (*response.VodDescribeVodDomainBandwidthDataResponse, int, error)
DescribeVodDomainBandwidthData
- @param *request.VodDescribeVodDomainBandwidthDataRequest
- @return *response.VodDescribeVodDomainBandwidthDataResponse, int, error
func (*Vod) DescribeVodDomainTrafficData ¶ added in v1.0.19
func (p *Vod) DescribeVodDomainTrafficData(req *request.VodDescribeVodDomainTrafficDataRequest) (*response.VodDescribeVodDomainTrafficDataResponse, int, error)
DescribeVodDomainTrafficData
- @param *request.VodDescribeVodDomainTrafficDataRequest
- @return *response.VodDescribeVodDomainTrafficDataResponse, int, error
func (*Vod) DescribeVodSnapshotData ¶ added in v1.0.19
func (p *Vod) DescribeVodSnapshotData(req *request.DescribeVodSnapshotDataRequest) (*response.DescribeVodSnapshotDataResponse, int, error)
DescribeVodSnapshotData
- @param *request.DescribeVodSnapshotDataRequest
- @return *response.DescribeVodSnapshotDataResponse, int, error
func (*Vod) DescribeVodSpaceStorageData ¶ added in v1.0.19
func (p *Vod) DescribeVodSpaceStorageData(req *request.VodDescribeVodSpaceStorageDataRequest) (*response.VodDescribeVodSpaceStorageDataResponse, int, error)
DescribeVodSpaceStorageData
- @param *request.VodDescribeVodSpaceStorageDataRequest
- @return *response.VodDescribeVodSpaceStorageDataResponse, int, error
func (*Vod) DescribeVodSpaceTranscodeData ¶ added in v1.0.19
func (p *Vod) DescribeVodSpaceTranscodeData(req *request.DescribeVodSpaceTranscodeDataRequest) (*response.DescribeVodSpaceTranscodeDataResponse, int, error)
DescribeVodSpaceTranscodeData
- @param *request.DescribeVodSpaceTranscodeDataRequest
- @return *response.DescribeVodSpaceTranscodeDataResponse, 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) GetMediaList ¶ added in v1.0.19
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) GetPlaylists ¶ added in v1.0.22
func (p *Vod) GetPlaylists(req *request.VodGetPlaylistsRequest) (*response.VodGetPlaylistsResponse, int, error)
GetPlaylists
- @param *request.VodGetPlaylistsRequest
- @return *response.VodGetPlaylistsResponse, int, error
func (*Vod) GetPrivateDrmAuthToken ¶ added in v1.0.19
func (*Vod) GetPrivateDrmPlayAuth ¶ added in v1.0.19
func (p *Vod) GetPrivateDrmPlayAuth(req *request.VodGetPrivateDrmPlayAuthRequest) (*response.VodGetPrivateDrmPlayAuthResponse, int, error)
GetPrivateDrmPlayAuth
- @param *request.VodGetPrivateDrmPlayAuthRequest
- @return *response.VodGetPrivateDrmPlayAuthResponse, int, error
func (*Vod) GetRecommendedPoster ¶ added in v1.0.19
func (p *Vod) GetRecommendedPoster(req *request.VodGetRecommendedPosterRequest) (*response.VodGetRecommendedPosterResponse, int, error)
GetRecommendedPoster
- @param *request.VodGetRecommendedPosterRequest
- @return *response.VodGetRecommendedPosterResponse, int, error
func (*Vod) GetSpaceDetail ¶ added in v1.0.19
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 ¶ added in v1.0.19
func (p *Vod) GetSubtitleInfoList(req *request.VodGetSubtitleInfoListRequest) (*response.VodGetSubtitleInfoListResponse, int, error)
GetSubtitleInfoList
- @param *request.VodGetSubtitleInfoListRequest
- @return *response.VodGetSubtitleInfoListResponse, int, error
func (*Vod) GetUploadAuth ¶
func (p *Vod) GetUploadAuth() (*base.SecurityToken2, error)
func (*Vod) GetUploadAuthWithExpiredTime ¶
func (*Vod) GetWorkflowExecution ¶ added in v1.0.19
func (p *Vod) GetWorkflowExecution(req *request.VodGetWorkflowExecutionStatusRequest) (*response.VodGetWorkflowExecutionStatusResponse, int, error)
GetWorkflowExecution
- @param *request.VodGetWorkflowExecutionStatusRequest
- @return *response.VodGetWorkflowExecutionStatusResponse, int, error
func (*Vod) ListCdnAccessLog ¶ added in v1.0.19
func (p *Vod) ListCdnAccessLog(req *request.VodListCdnAccessLogRequest) (*response.VodListCdnAccessLogResponse, int, error)
ListCdnAccessLog
- @param *request.VodListCdnAccessLogRequest
- @return *response.VodListCdnAccessLogResponse, int, error
func (*Vod) ListCdnPvData ¶ added in v1.0.19
func (p *Vod) ListCdnPvData(req *request.VodListCdnPvDataRequest) (*response.VodCdnStatisticsCommonResponse, int, error)
ListCdnPvData
- @param *request.VodListCdnPvDataRequest
- @return *response.VodCdnStatisticsCommonResponse, int, error
func (*Vod) ListCdnStatusData ¶ added in v1.0.19
func (p *Vod) ListCdnStatusData(req *request.VodListCdnStatusDataRequest) (*response.VodCdnStatisticsCommonResponse, int, error)
ListCdnStatusData
- @param *request.VodListCdnStatusDataRequest
- @return *response.VodCdnStatisticsCommonResponse, int, error
func (*Vod) ListCdnTasks ¶ added in v1.0.19
func (p *Vod) ListCdnTasks(req *request.VodListCdnTasksRequest) (*response.VodListCdnTasksResponse, int, error)
ListCdnTasks
- @param *request.VodListCdnTasksRequest
- @return *response.VodListCdnTasksResponse, int, error
func (*Vod) ListCdnTopAccessUrl ¶ added in v1.0.19
func (p *Vod) ListCdnTopAccessUrl(req *request.VodListCdnTopAccessUrlRequest) (*response.VodListCdnTopAccessUrlResponse, int, error)
ListCdnTopAccessUrl
- @param *request.VodListCdnTopAccessUrlRequest
- @return *response.VodListCdnTopAccessUrlResponse, int, error
func (*Vod) ListCdnUsageData ¶ added in v1.0.19
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) ListSnapshots ¶ added in v1.0.19
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) ListVideoClassifications ¶ added in v1.0.19
func (p *Vod) ListVideoClassifications(req *request.VodListVideoClassificationsRequest) (*response.VodListVideoClassificationsResponse, int, error)
ListVideoClassifications
- @param *request.VodListVideoClassificationsRequest
- @return *response.VodListVideoClassificationsResponse, int, error
func (*Vod) QueryUploadTaskInfo ¶ added in v1.0.19
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.28
func (p *Vod) RemoveDomainFromScheduler(req *request.VodRemoveDomainFromSchedulerRequest) (*response.VodRemoveDomainFromSchedulerResponse, int, error)
RemoveDomainFromScheduler
- @param *request.VodRemoveDomainFromSchedulerRequest
- @return *response.VodRemoveDomainFromSchedulerResponse, int, error
func (*Vod) RetrieveTranscodeResult ¶ added in v1.0.19
func (p *Vod) RetrieveTranscodeResult(req *request.VodRetrieveTranscodeResultRequest) (*response.VodRetrieveTranscodeResultResponse, int, error)
RetrieveTranscodeResult
- @param *request.VodRetrieveTranscodeResultRequest
- @return *response.VodRetrieveTranscodeResultResponse, int, error
func (*Vod) SetCallbackEvent ¶ added in v1.0.19
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.28
func (p *Vod) StartDomain(req *request.VodStartDomainRequest) (*response.VodStartDomainResponse, int, error)
StartDomain
- @param *request.VodStartDomainRequest
- @return *response.VodStartDomainResponse, int, error
func (*Vod) StartWorkflow ¶ added in v1.0.19
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.28
func (p *Vod) StopDomain(req *request.VodStopDomainRequest) (*response.VodStopDomainResponse, int, error)
StopDomain
- @param *request.VodStopDomainRequest
- @return *response.VodStopDomainResponse, int, error
func (*Vod) UpdateDomainExpire ¶ added in v1.0.19
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.28
func (p *Vod) UpdateDomainPlayRule(req *request.VodUpdateDomainPlayRuleRequestRequest) (*response.VodUpdateDomainPlayRuleResponse, int, error)
UpdateDomainPlayRule
- @param *request.VodUpdateDomainPlayRuleRequestRequest
- @return *response.VodUpdateDomainPlayRuleResponse, int, error
func (*Vod) UpdateMediaInfo ¶ added in v1.0.19
func (p *Vod) UpdateMediaInfo(req *request.VodUpdateMediaInfoRequest) (*response.VodUpdateMediaInfoResponse, int, error)
UpdateMediaInfo
- @param *request.VodUpdateMediaInfoRequest
- @return *response.VodUpdateMediaInfoResponse, int, error
func (*Vod) UpdateMediaPublishStatus ¶ added in v1.0.19
func (p *Vod) UpdateMediaPublishStatus(req *request.VodUpdateMediaPublishStatusRequest) (*response.VodUpdateMediaPublishStatusResponse, int, error)
UpdateMediaPublishStatus
- @param *request.VodUpdateMediaPublishStatusRequest
- @return *response.VodUpdateMediaPublishStatusResponse, int, error
func (*Vod) UpdateMediaStorageClass ¶ added in v1.0.19
func (p *Vod) UpdateMediaStorageClass(req *request.VodUpdateMediaStorageClassRequest) (*response.VodUpdateMediaStorageClassResponse, int, error)
UpdateMediaStorageClass
- @param *request.VodUpdateMediaStorageClassRequest
- @return *response.VodUpdateMediaStorageClassResponse, int, error
func (*Vod) UpdatePlaylist ¶ added in v1.0.22
func (p *Vod) UpdatePlaylist(req *request.VodUpdatePlaylistRequest) (*response.VodUpdatePlaylistResponse, int, error)
UpdatePlaylist
- @param *request.VodUpdatePlaylistRequest
- @return *response.VodUpdatePlaylistResponse, 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 ¶ added in v1.0.19
func (p *Vod) UpdateSubtitleInfo(req *request.VodUpdateSubtitleInfoRequest) (*response.VodUpdateSubtitleInfoResponse, int, error)
UpdateSubtitleInfo
- @param *request.VodUpdateSubtitleInfoRequest
- @return *response.VodUpdateSubtitleInfoResponse, int, error
func (*Vod) UpdateSubtitleStatus ¶ added in v1.0.19
func (p *Vod) UpdateSubtitleStatus(req *request.VodUpdateSubtitleStatusRequest) (*response.VodUpdateSubtitleStatusResponse, int, error)
UpdateSubtitleStatus
- @param *request.VodUpdateSubtitleStatusRequest
- @return *response.VodUpdateSubtitleStatusResponse, int, error
func (*Vod) UpdateVideoClassification ¶ added in v1.0.19
func (p *Vod) UpdateVideoClassification(req *request.VodUpdateVideoClassificationRequest) (*response.VodUpdateVideoClassificationResponse, int, error)
UpdateVideoClassification
- @param *request.VodUpdateVideoClassificationRequest
- @return *response.VodUpdateVideoClassificationResponse, int, error
func (*Vod) UploadMaterialWithCallback ¶
func (p *Vod) UploadMaterialWithCallback(materialRequest *request.VodUploadMaterialRequest) (*response.VodCommitUploadInfoResponse, int, error)
func (*Vod) UploadMediaByUrl ¶ added in v1.0.19
func (p *Vod) UploadMediaByUrl(req *request.VodUrlUploadRequest) (*response.VodUrlUploadResponse, int, error)
UploadMediaByUrl
- @param *request.VodUrlUploadRequest
- @return *response.VodUrlUploadResponse, int, error
func (*Vod) UploadMediaInner ¶
func (*Vod) UploadMediaWithCallback ¶
func (p *Vod) UploadMediaWithCallback(mediaRequset *request.VodUploadMediaRequest) (*response.VodCommitUploadInfoResponse, int, error)
type WorkflowInput ¶
type WorkflowInput struct {
TemplateId string
}