Documentation ¶
Index ¶
- Constants
- type AIAnalysisTemplateItem
- type AIRecognitionTemplateItem
- type Activity
- type ActivityPara
- type ActivityResItem
- type ActivityResult
- type AdaptiveDynamicStreamingInfoItem
- type AdaptiveDynamicStreamingTaskInput
- type AdaptiveDynamicStreamingTemplate
- type AdaptiveStreamTemplate
- type AddOnSubtitle
- type AiAnalysisResult
- type AiAnalysisTaskClassificationInput
- type AiAnalysisTaskClassificationOutput
- type AiAnalysisTaskClassificationResult
- type AiAnalysisTaskCoverInput
- type AiAnalysisTaskCoverOutput
- type AiAnalysisTaskCoverResult
- type AiAnalysisTaskFrameTagInput
- type AiAnalysisTaskFrameTagOutput
- type AiAnalysisTaskFrameTagResult
- type AiAnalysisTaskHighlightInput
- type AiAnalysisTaskHighlightOutput
- type AiAnalysisTaskHighlightResult
- type AiAnalysisTaskInput
- type AiAnalysisTaskTagInput
- type AiAnalysisTaskTagOutput
- type AiAnalysisTaskTagResult
- type AiContentReviewResult
- type AiContentReviewTaskInput
- type AiQualityControlTaskInput
- type AiRecognitionResult
- type AiRecognitionTaskAsrFullTextResult
- type AiRecognitionTaskAsrFullTextResultInput
- type AiRecognitionTaskAsrFullTextResultOutput
- type AiRecognitionTaskAsrFullTextSegmentItem
- type AiRecognitionTaskAsrWordsResult
- type AiRecognitionTaskAsrWordsResultInput
- type AiRecognitionTaskAsrWordsResultItem
- type AiRecognitionTaskAsrWordsResultOutput
- type AiRecognitionTaskAsrWordsSegmentItem
- type AiRecognitionTaskFaceResult
- type AiRecognitionTaskFaceResultInput
- type AiRecognitionTaskFaceResultItem
- type AiRecognitionTaskFaceResultOutput
- type AiRecognitionTaskFaceSegmentItem
- type AiRecognitionTaskInput
- type AiRecognitionTaskOcrFullTextResult
- type AiRecognitionTaskOcrFullTextResultInput
- type AiRecognitionTaskOcrFullTextResultOutput
- type AiRecognitionTaskOcrFullTextSegmentItem
- type AiRecognitionTaskOcrFullTextSegmentTextItem
- type AiRecognitionTaskOcrWordsResult
- type AiRecognitionTaskOcrWordsResultInput
- type AiRecognitionTaskOcrWordsResultItem
- type AiRecognitionTaskOcrWordsResultOutput
- type AiRecognitionTaskOcrWordsSegmentItem
- type AiRecognitionTaskTransTextResult
- type AiRecognitionTaskTransTextResultInput
- type AiRecognitionTaskTransTextResultOutput
- type AiRecognitionTaskTransTextSegmentItem
- type AiReviewPoliticalAsrTaskInput
- type AiReviewPoliticalAsrTaskOutput
- type AiReviewPoliticalOcrTaskInput
- type AiReviewPoliticalOcrTaskOutput
- type AiReviewPoliticalTaskInput
- type AiReviewPoliticalTaskOutput
- type AiReviewPornAsrTaskInput
- type AiReviewPornAsrTaskOutput
- type AiReviewPornOcrTaskInput
- type AiReviewPornOcrTaskOutput
- type AiReviewPornTaskInput
- type AiReviewPornTaskOutput
- type AiReviewProhibitedAsrTaskInput
- type AiReviewProhibitedAsrTaskOutput
- type AiReviewProhibitedOcrTaskInput
- type AiReviewProhibitedOcrTaskOutput
- type AiReviewTaskPoliticalAsrResult
- type AiReviewTaskPoliticalOcrResult
- type AiReviewTaskPoliticalResult
- type AiReviewTaskPornAsrResult
- type AiReviewTaskPornOcrResult
- type AiReviewTaskPornResult
- type AiReviewTaskProhibitedAsrResult
- type AiReviewTaskProhibitedOcrResult
- type AiReviewTaskTerrorismOcrResult
- type AiReviewTaskTerrorismResult
- type AiReviewTerrorismOcrTaskInput
- type AiReviewTerrorismOcrTaskOutput
- type AiReviewTerrorismTaskInput
- type AiReviewTerrorismTaskOutput
- type AiSampleFaceInfo
- type AiSampleFaceOperation
- type AiSampleFailFaceInfo
- type AiSamplePerson
- type AiSampleTagOperation
- type AiSampleWord
- type AiSampleWordInfo
- type AnimatedGraphicTaskInput
- type AnimatedGraphicsTemplate
- type ArtifactRepairConfig
- type AsrFullTextConfigureInfo
- type AsrFullTextConfigureInfoForUpdate
- type AsrWordsConfigureInfo
- type AsrWordsConfigureInfoForUpdate
- type AudioTemplateInfo
- type AudioTemplateInfoForUpdate
- type AwsS3FileUploadTrigger
- type AwsSQS
- type ClassificationConfigureInfo
- type ClassificationConfigureInfoForUpdate
- type Client
- func (c *Client) CreateAIAnalysisTemplate(request *CreateAIAnalysisTemplateRequest) (response *CreateAIAnalysisTemplateResponse, err error)
- func (c *Client) CreateAIAnalysisTemplateWithContext(ctx context.Context, request *CreateAIAnalysisTemplateRequest) (response *CreateAIAnalysisTemplateResponse, err error)
- func (c *Client) CreateAIRecognitionTemplate(request *CreateAIRecognitionTemplateRequest) (response *CreateAIRecognitionTemplateResponse, err error)
- func (c *Client) CreateAIRecognitionTemplateWithContext(ctx context.Context, request *CreateAIRecognitionTemplateRequest) (response *CreateAIRecognitionTemplateResponse, err error)
- func (c *Client) CreateAdaptiveDynamicStreamingTemplate(request *CreateAdaptiveDynamicStreamingTemplateRequest) (response *CreateAdaptiveDynamicStreamingTemplateResponse, err error)
- func (c *Client) CreateAdaptiveDynamicStreamingTemplateWithContext(ctx context.Context, request *CreateAdaptiveDynamicStreamingTemplateRequest) (response *CreateAdaptiveDynamicStreamingTemplateResponse, err error)
- func (c *Client) CreateAnimatedGraphicsTemplate(request *CreateAnimatedGraphicsTemplateRequest) (response *CreateAnimatedGraphicsTemplateResponse, err error)
- func (c *Client) CreateAnimatedGraphicsTemplateWithContext(ctx context.Context, request *CreateAnimatedGraphicsTemplateRequest) (response *CreateAnimatedGraphicsTemplateResponse, err error)
- func (c *Client) CreateContentReviewTemplate(request *CreateContentReviewTemplateRequest) (response *CreateContentReviewTemplateResponse, err error)
- func (c *Client) CreateContentReviewTemplateWithContext(ctx context.Context, request *CreateContentReviewTemplateRequest) (response *CreateContentReviewTemplateResponse, err error)
- func (c *Client) CreateImageSpriteTemplate(request *CreateImageSpriteTemplateRequest) (response *CreateImageSpriteTemplateResponse, err error)
- func (c *Client) CreateImageSpriteTemplateWithContext(ctx context.Context, request *CreateImageSpriteTemplateRequest) (response *CreateImageSpriteTemplateResponse, err error)
- func (c *Client) CreatePersonSample(request *CreatePersonSampleRequest) (response *CreatePersonSampleResponse, err error)
- func (c *Client) CreatePersonSampleWithContext(ctx context.Context, request *CreatePersonSampleRequest) (response *CreatePersonSampleResponse, err error)
- func (c *Client) CreateSampleSnapshotTemplate(request *CreateSampleSnapshotTemplateRequest) (response *CreateSampleSnapshotTemplateResponse, err error)
- func (c *Client) CreateSampleSnapshotTemplateWithContext(ctx context.Context, request *CreateSampleSnapshotTemplateRequest) (response *CreateSampleSnapshotTemplateResponse, err error)
- func (c *Client) CreateSchedule(request *CreateScheduleRequest) (response *CreateScheduleResponse, err error)
- func (c *Client) CreateScheduleWithContext(ctx context.Context, request *CreateScheduleRequest) (response *CreateScheduleResponse, err error)
- func (c *Client) CreateSnapshotByTimeOffsetTemplate(request *CreateSnapshotByTimeOffsetTemplateRequest) (response *CreateSnapshotByTimeOffsetTemplateResponse, err error)
- func (c *Client) CreateSnapshotByTimeOffsetTemplateWithContext(ctx context.Context, request *CreateSnapshotByTimeOffsetTemplateRequest) (response *CreateSnapshotByTimeOffsetTemplateResponse, err error)
- func (c *Client) CreateTranscodeTemplate(request *CreateTranscodeTemplateRequest) (response *CreateTranscodeTemplateResponse, err error)
- func (c *Client) CreateTranscodeTemplateWithContext(ctx context.Context, request *CreateTranscodeTemplateRequest) (response *CreateTranscodeTemplateResponse, err error)
- func (c *Client) CreateWatermarkTemplate(request *CreateWatermarkTemplateRequest) (response *CreateWatermarkTemplateResponse, err error)
- func (c *Client) CreateWatermarkTemplateWithContext(ctx context.Context, request *CreateWatermarkTemplateRequest) (response *CreateWatermarkTemplateResponse, err error)
- func (c *Client) CreateWordSamples(request *CreateWordSamplesRequest) (response *CreateWordSamplesResponse, err error)
- func (c *Client) CreateWordSamplesWithContext(ctx context.Context, request *CreateWordSamplesRequest) (response *CreateWordSamplesResponse, err error)
- func (c *Client) CreateWorkflow(request *CreateWorkflowRequest) (response *CreateWorkflowResponse, err error)
- func (c *Client) CreateWorkflowWithContext(ctx context.Context, request *CreateWorkflowRequest) (response *CreateWorkflowResponse, err error)
- func (c *Client) DeleteAIAnalysisTemplate(request *DeleteAIAnalysisTemplateRequest) (response *DeleteAIAnalysisTemplateResponse, err error)
- func (c *Client) DeleteAIAnalysisTemplateWithContext(ctx context.Context, request *DeleteAIAnalysisTemplateRequest) (response *DeleteAIAnalysisTemplateResponse, err error)
- func (c *Client) DeleteAIRecognitionTemplate(request *DeleteAIRecognitionTemplateRequest) (response *DeleteAIRecognitionTemplateResponse, err error)
- func (c *Client) DeleteAIRecognitionTemplateWithContext(ctx context.Context, request *DeleteAIRecognitionTemplateRequest) (response *DeleteAIRecognitionTemplateResponse, err error)
- func (c *Client) DeleteAdaptiveDynamicStreamingTemplate(request *DeleteAdaptiveDynamicStreamingTemplateRequest) (response *DeleteAdaptiveDynamicStreamingTemplateResponse, err error)
- func (c *Client) DeleteAdaptiveDynamicStreamingTemplateWithContext(ctx context.Context, request *DeleteAdaptiveDynamicStreamingTemplateRequest) (response *DeleteAdaptiveDynamicStreamingTemplateResponse, err error)
- func (c *Client) DeleteAnimatedGraphicsTemplate(request *DeleteAnimatedGraphicsTemplateRequest) (response *DeleteAnimatedGraphicsTemplateResponse, err error)
- func (c *Client) DeleteAnimatedGraphicsTemplateWithContext(ctx context.Context, request *DeleteAnimatedGraphicsTemplateRequest) (response *DeleteAnimatedGraphicsTemplateResponse, err error)
- func (c *Client) DeleteContentReviewTemplate(request *DeleteContentReviewTemplateRequest) (response *DeleteContentReviewTemplateResponse, err error)
- func (c *Client) DeleteContentReviewTemplateWithContext(ctx context.Context, request *DeleteContentReviewTemplateRequest) (response *DeleteContentReviewTemplateResponse, err error)
- func (c *Client) DeleteImageSpriteTemplate(request *DeleteImageSpriteTemplateRequest) (response *DeleteImageSpriteTemplateResponse, err error)
- func (c *Client) DeleteImageSpriteTemplateWithContext(ctx context.Context, request *DeleteImageSpriteTemplateRequest) (response *DeleteImageSpriteTemplateResponse, err error)
- func (c *Client) DeletePersonSample(request *DeletePersonSampleRequest) (response *DeletePersonSampleResponse, err error)
- func (c *Client) DeletePersonSampleWithContext(ctx context.Context, request *DeletePersonSampleRequest) (response *DeletePersonSampleResponse, err error)
- func (c *Client) DeleteSampleSnapshotTemplate(request *DeleteSampleSnapshotTemplateRequest) (response *DeleteSampleSnapshotTemplateResponse, err error)
- func (c *Client) DeleteSampleSnapshotTemplateWithContext(ctx context.Context, request *DeleteSampleSnapshotTemplateRequest) (response *DeleteSampleSnapshotTemplateResponse, err error)
- func (c *Client) DeleteSchedule(request *DeleteScheduleRequest) (response *DeleteScheduleResponse, err error)
- func (c *Client) DeleteScheduleWithContext(ctx context.Context, request *DeleteScheduleRequest) (response *DeleteScheduleResponse, err error)
- func (c *Client) DeleteSnapshotByTimeOffsetTemplate(request *DeleteSnapshotByTimeOffsetTemplateRequest) (response *DeleteSnapshotByTimeOffsetTemplateResponse, err error)
- func (c *Client) DeleteSnapshotByTimeOffsetTemplateWithContext(ctx context.Context, request *DeleteSnapshotByTimeOffsetTemplateRequest) (response *DeleteSnapshotByTimeOffsetTemplateResponse, err error)
- func (c *Client) DeleteTranscodeTemplate(request *DeleteTranscodeTemplateRequest) (response *DeleteTranscodeTemplateResponse, err error)
- func (c *Client) DeleteTranscodeTemplateWithContext(ctx context.Context, request *DeleteTranscodeTemplateRequest) (response *DeleteTranscodeTemplateResponse, err error)
- func (c *Client) DeleteWatermarkTemplate(request *DeleteWatermarkTemplateRequest) (response *DeleteWatermarkTemplateResponse, err error)
- func (c *Client) DeleteWatermarkTemplateWithContext(ctx context.Context, request *DeleteWatermarkTemplateRequest) (response *DeleteWatermarkTemplateResponse, err error)
- func (c *Client) DeleteWordSamples(request *DeleteWordSamplesRequest) (response *DeleteWordSamplesResponse, err error)
- func (c *Client) DeleteWordSamplesWithContext(ctx context.Context, request *DeleteWordSamplesRequest) (response *DeleteWordSamplesResponse, err error)
- func (c *Client) DeleteWorkflow(request *DeleteWorkflowRequest) (response *DeleteWorkflowResponse, err error)
- func (c *Client) DeleteWorkflowWithContext(ctx context.Context, request *DeleteWorkflowRequest) (response *DeleteWorkflowResponse, err error)
- func (c *Client) DescribeAIAnalysisTemplates(request *DescribeAIAnalysisTemplatesRequest) (response *DescribeAIAnalysisTemplatesResponse, err error)
- func (c *Client) DescribeAIAnalysisTemplatesWithContext(ctx context.Context, request *DescribeAIAnalysisTemplatesRequest) (response *DescribeAIAnalysisTemplatesResponse, err error)
- func (c *Client) DescribeAIRecognitionTemplates(request *DescribeAIRecognitionTemplatesRequest) (response *DescribeAIRecognitionTemplatesResponse, err error)
- func (c *Client) DescribeAIRecognitionTemplatesWithContext(ctx context.Context, request *DescribeAIRecognitionTemplatesRequest) (response *DescribeAIRecognitionTemplatesResponse, err error)
- func (c *Client) DescribeAdaptiveDynamicStreamingTemplates(request *DescribeAdaptiveDynamicStreamingTemplatesRequest) (response *DescribeAdaptiveDynamicStreamingTemplatesResponse, err error)
- func (c *Client) DescribeAdaptiveDynamicStreamingTemplatesWithContext(ctx context.Context, request *DescribeAdaptiveDynamicStreamingTemplatesRequest) (response *DescribeAdaptiveDynamicStreamingTemplatesResponse, err error)
- func (c *Client) DescribeAnimatedGraphicsTemplates(request *DescribeAnimatedGraphicsTemplatesRequest) (response *DescribeAnimatedGraphicsTemplatesResponse, err error)
- func (c *Client) DescribeAnimatedGraphicsTemplatesWithContext(ctx context.Context, request *DescribeAnimatedGraphicsTemplatesRequest) (response *DescribeAnimatedGraphicsTemplatesResponse, err error)
- func (c *Client) DescribeContentReviewTemplates(request *DescribeContentReviewTemplatesRequest) (response *DescribeContentReviewTemplatesResponse, err error)
- func (c *Client) DescribeContentReviewTemplatesWithContext(ctx context.Context, request *DescribeContentReviewTemplatesRequest) (response *DescribeContentReviewTemplatesResponse, err error)
- func (c *Client) DescribeImageSpriteTemplates(request *DescribeImageSpriteTemplatesRequest) (response *DescribeImageSpriteTemplatesResponse, err error)
- func (c *Client) DescribeImageSpriteTemplatesWithContext(ctx context.Context, request *DescribeImageSpriteTemplatesRequest) (response *DescribeImageSpriteTemplatesResponse, err error)
- func (c *Client) DescribeMediaMetaData(request *DescribeMediaMetaDataRequest) (response *DescribeMediaMetaDataResponse, err error)
- func (c *Client) DescribeMediaMetaDataWithContext(ctx context.Context, request *DescribeMediaMetaDataRequest) (response *DescribeMediaMetaDataResponse, err error)
- func (c *Client) DescribePersonSamples(request *DescribePersonSamplesRequest) (response *DescribePersonSamplesResponse, err error)
- func (c *Client) DescribePersonSamplesWithContext(ctx context.Context, request *DescribePersonSamplesRequest) (response *DescribePersonSamplesResponse, err error)
- func (c *Client) DescribeSampleSnapshotTemplates(request *DescribeSampleSnapshotTemplatesRequest) (response *DescribeSampleSnapshotTemplatesResponse, err error)
- func (c *Client) DescribeSampleSnapshotTemplatesWithContext(ctx context.Context, request *DescribeSampleSnapshotTemplatesRequest) (response *DescribeSampleSnapshotTemplatesResponse, err error)
- func (c *Client) DescribeSchedules(request *DescribeSchedulesRequest) (response *DescribeSchedulesResponse, err error)
- func (c *Client) DescribeSchedulesWithContext(ctx context.Context, request *DescribeSchedulesRequest) (response *DescribeSchedulesResponse, err error)
- func (c *Client) DescribeSnapshotByTimeOffsetTemplates(request *DescribeSnapshotByTimeOffsetTemplatesRequest) (response *DescribeSnapshotByTimeOffsetTemplatesResponse, err error)
- func (c *Client) DescribeSnapshotByTimeOffsetTemplatesWithContext(ctx context.Context, request *DescribeSnapshotByTimeOffsetTemplatesRequest) (response *DescribeSnapshotByTimeOffsetTemplatesResponse, err error)
- func (c *Client) DescribeTaskDetail(request *DescribeTaskDetailRequest) (response *DescribeTaskDetailResponse, err error)
- func (c *Client) DescribeTaskDetailWithContext(ctx context.Context, request *DescribeTaskDetailRequest) (response *DescribeTaskDetailResponse, err error)
- func (c *Client) DescribeTasks(request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
- func (c *Client) DescribeTasksWithContext(ctx context.Context, request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
- func (c *Client) DescribeTranscodeTemplates(request *DescribeTranscodeTemplatesRequest) (response *DescribeTranscodeTemplatesResponse, err error)
- func (c *Client) DescribeTranscodeTemplatesWithContext(ctx context.Context, request *DescribeTranscodeTemplatesRequest) (response *DescribeTranscodeTemplatesResponse, err error)
- func (c *Client) DescribeWatermarkTemplates(request *DescribeWatermarkTemplatesRequest) (response *DescribeWatermarkTemplatesResponse, err error)
- func (c *Client) DescribeWatermarkTemplatesWithContext(ctx context.Context, request *DescribeWatermarkTemplatesRequest) (response *DescribeWatermarkTemplatesResponse, err error)
- func (c *Client) DescribeWordSamples(request *DescribeWordSamplesRequest) (response *DescribeWordSamplesResponse, err error)
- func (c *Client) DescribeWordSamplesWithContext(ctx context.Context, request *DescribeWordSamplesRequest) (response *DescribeWordSamplesResponse, err error)
- func (c *Client) DescribeWorkflows(request *DescribeWorkflowsRequest) (response *DescribeWorkflowsResponse, err error)
- func (c *Client) DescribeWorkflowsWithContext(ctx context.Context, request *DescribeWorkflowsRequest) (response *DescribeWorkflowsResponse, err error)
- func (c *Client) DisableSchedule(request *DisableScheduleRequest) (response *DisableScheduleResponse, err error)
- func (c *Client) DisableScheduleWithContext(ctx context.Context, request *DisableScheduleRequest) (response *DisableScheduleResponse, err error)
- func (c *Client) DisableWorkflow(request *DisableWorkflowRequest) (response *DisableWorkflowResponse, err error)
- func (c *Client) DisableWorkflowWithContext(ctx context.Context, request *DisableWorkflowRequest) (response *DisableWorkflowResponse, err error)
- func (c *Client) EditMedia(request *EditMediaRequest) (response *EditMediaResponse, err error)
- func (c *Client) EditMediaWithContext(ctx context.Context, request *EditMediaRequest) (response *EditMediaResponse, err error)
- func (c *Client) EnableSchedule(request *EnableScheduleRequest) (response *EnableScheduleResponse, err error)
- func (c *Client) EnableScheduleWithContext(ctx context.Context, request *EnableScheduleRequest) (response *EnableScheduleResponse, err error)
- func (c *Client) EnableWorkflow(request *EnableWorkflowRequest) (response *EnableWorkflowResponse, err error)
- func (c *Client) EnableWorkflowWithContext(ctx context.Context, request *EnableWorkflowRequest) (response *EnableWorkflowResponse, err error)
- func (c *Client) ExecuteFunction(request *ExecuteFunctionRequest) (response *ExecuteFunctionResponse, err error)
- func (c *Client) ExecuteFunctionWithContext(ctx context.Context, request *ExecuteFunctionRequest) (response *ExecuteFunctionResponse, err error)
- func (c *Client) ManageTask(request *ManageTaskRequest) (response *ManageTaskResponse, err error)
- func (c *Client) ManageTaskWithContext(ctx context.Context, request *ManageTaskRequest) (response *ManageTaskResponse, err error)
- func (c *Client) ModifyAIAnalysisTemplate(request *ModifyAIAnalysisTemplateRequest) (response *ModifyAIAnalysisTemplateResponse, err error)
- func (c *Client) ModifyAIAnalysisTemplateWithContext(ctx context.Context, request *ModifyAIAnalysisTemplateRequest) (response *ModifyAIAnalysisTemplateResponse, err error)
- func (c *Client) ModifyAIRecognitionTemplate(request *ModifyAIRecognitionTemplateRequest) (response *ModifyAIRecognitionTemplateResponse, err error)
- func (c *Client) ModifyAIRecognitionTemplateWithContext(ctx context.Context, request *ModifyAIRecognitionTemplateRequest) (response *ModifyAIRecognitionTemplateResponse, err error)
- func (c *Client) ModifyAdaptiveDynamicStreamingTemplate(request *ModifyAdaptiveDynamicStreamingTemplateRequest) (response *ModifyAdaptiveDynamicStreamingTemplateResponse, err error)
- func (c *Client) ModifyAdaptiveDynamicStreamingTemplateWithContext(ctx context.Context, request *ModifyAdaptiveDynamicStreamingTemplateRequest) (response *ModifyAdaptiveDynamicStreamingTemplateResponse, err error)
- func (c *Client) ModifyAnimatedGraphicsTemplate(request *ModifyAnimatedGraphicsTemplateRequest) (response *ModifyAnimatedGraphicsTemplateResponse, err error)
- func (c *Client) ModifyAnimatedGraphicsTemplateWithContext(ctx context.Context, request *ModifyAnimatedGraphicsTemplateRequest) (response *ModifyAnimatedGraphicsTemplateResponse, err error)
- func (c *Client) ModifyContentReviewTemplate(request *ModifyContentReviewTemplateRequest) (response *ModifyContentReviewTemplateResponse, err error)
- func (c *Client) ModifyContentReviewTemplateWithContext(ctx context.Context, request *ModifyContentReviewTemplateRequest) (response *ModifyContentReviewTemplateResponse, err error)
- func (c *Client) ModifyImageSpriteTemplate(request *ModifyImageSpriteTemplateRequest) (response *ModifyImageSpriteTemplateResponse, err error)
- func (c *Client) ModifyImageSpriteTemplateWithContext(ctx context.Context, request *ModifyImageSpriteTemplateRequest) (response *ModifyImageSpriteTemplateResponse, err error)
- func (c *Client) ModifyPersonSample(request *ModifyPersonSampleRequest) (response *ModifyPersonSampleResponse, err error)
- func (c *Client) ModifyPersonSampleWithContext(ctx context.Context, request *ModifyPersonSampleRequest) (response *ModifyPersonSampleResponse, err error)
- func (c *Client) ModifySampleSnapshotTemplate(request *ModifySampleSnapshotTemplateRequest) (response *ModifySampleSnapshotTemplateResponse, err error)
- func (c *Client) ModifySampleSnapshotTemplateWithContext(ctx context.Context, request *ModifySampleSnapshotTemplateRequest) (response *ModifySampleSnapshotTemplateResponse, err error)
- func (c *Client) ModifySchedule(request *ModifyScheduleRequest) (response *ModifyScheduleResponse, err error)
- func (c *Client) ModifyScheduleWithContext(ctx context.Context, request *ModifyScheduleRequest) (response *ModifyScheduleResponse, err error)
- func (c *Client) ModifySnapshotByTimeOffsetTemplate(request *ModifySnapshotByTimeOffsetTemplateRequest) (response *ModifySnapshotByTimeOffsetTemplateResponse, err error)
- func (c *Client) ModifySnapshotByTimeOffsetTemplateWithContext(ctx context.Context, request *ModifySnapshotByTimeOffsetTemplateRequest) (response *ModifySnapshotByTimeOffsetTemplateResponse, err error)
- func (c *Client) ModifyTranscodeTemplate(request *ModifyTranscodeTemplateRequest) (response *ModifyTranscodeTemplateResponse, err error)
- func (c *Client) ModifyTranscodeTemplateWithContext(ctx context.Context, request *ModifyTranscodeTemplateRequest) (response *ModifyTranscodeTemplateResponse, err error)
- func (c *Client) ModifyWatermarkTemplate(request *ModifyWatermarkTemplateRequest) (response *ModifyWatermarkTemplateResponse, err error)
- func (c *Client) ModifyWatermarkTemplateWithContext(ctx context.Context, request *ModifyWatermarkTemplateRequest) (response *ModifyWatermarkTemplateResponse, err error)
- func (c *Client) ModifyWordSample(request *ModifyWordSampleRequest) (response *ModifyWordSampleResponse, err error)
- func (c *Client) ModifyWordSampleWithContext(ctx context.Context, request *ModifyWordSampleRequest) (response *ModifyWordSampleResponse, err error)
- func (c *Client) ParseLiveStreamProcessNotification(request *ParseLiveStreamProcessNotificationRequest) (response *ParseLiveStreamProcessNotificationResponse, err error)
- func (c *Client) ParseLiveStreamProcessNotificationWithContext(ctx context.Context, request *ParseLiveStreamProcessNotificationRequest) (response *ParseLiveStreamProcessNotificationResponse, err error)
- func (c *Client) ParseNotification(request *ParseNotificationRequest) (response *ParseNotificationResponse, err error)
- func (c *Client) ParseNotificationWithContext(ctx context.Context, request *ParseNotificationRequest) (response *ParseNotificationResponse, err error)
- func (c *Client) ProcessLiveStream(request *ProcessLiveStreamRequest) (response *ProcessLiveStreamResponse, err error)
- func (c *Client) ProcessLiveStreamWithContext(ctx context.Context, request *ProcessLiveStreamRequest) (response *ProcessLiveStreamResponse, err error)
- func (c *Client) ProcessMedia(request *ProcessMediaRequest) (response *ProcessMediaResponse, err error)
- func (c *Client) ProcessMediaWithContext(ctx context.Context, request *ProcessMediaRequest) (response *ProcessMediaResponse, err error)
- func (c *Client) ResetWorkflow(request *ResetWorkflowRequest) (response *ResetWorkflowResponse, err error)
- func (c *Client) ResetWorkflowWithContext(ctx context.Context, request *ResetWorkflowRequest) (response *ResetWorkflowResponse, err error)
- type ColorEnhanceConfig
- type ContentReviewTemplateItem
- type CosFileUploadTrigger
- type CosInputInfo
- type CosOutputStorage
- type CoverConfigureInfo
- type CoverConfigureInfoForUpdate
- type CreateAIAnalysisTemplateRequest
- type CreateAIAnalysisTemplateRequestParams
- type CreateAIAnalysisTemplateResponse
- type CreateAIAnalysisTemplateResponseParams
- type CreateAIRecognitionTemplateRequest
- type CreateAIRecognitionTemplateRequestParams
- type CreateAIRecognitionTemplateResponse
- type CreateAIRecognitionTemplateResponseParams
- type CreateAdaptiveDynamicStreamingTemplateRequest
- type CreateAdaptiveDynamicStreamingTemplateRequestParams
- type CreateAdaptiveDynamicStreamingTemplateResponse
- type CreateAdaptiveDynamicStreamingTemplateResponseParams
- type CreateAnimatedGraphicsTemplateRequest
- type CreateAnimatedGraphicsTemplateRequestParams
- type CreateAnimatedGraphicsTemplateResponse
- type CreateAnimatedGraphicsTemplateResponseParams
- type CreateContentReviewTemplateRequest
- type CreateContentReviewTemplateRequestParams
- type CreateContentReviewTemplateResponse
- type CreateContentReviewTemplateResponseParams
- type CreateImageSpriteTemplateRequest
- type CreateImageSpriteTemplateRequestParams
- type CreateImageSpriteTemplateResponse
- type CreateImageSpriteTemplateResponseParams
- type CreatePersonSampleRequest
- type CreatePersonSampleRequestParams
- type CreatePersonSampleResponse
- type CreatePersonSampleResponseParams
- type CreateSampleSnapshotTemplateRequest
- type CreateSampleSnapshotTemplateRequestParams
- type CreateSampleSnapshotTemplateResponse
- type CreateSampleSnapshotTemplateResponseParams
- type CreateScheduleRequest
- type CreateScheduleRequestParams
- type CreateScheduleResponse
- type CreateScheduleResponseParams
- type CreateSnapshotByTimeOffsetTemplateRequest
- type CreateSnapshotByTimeOffsetTemplateRequestParams
- type CreateSnapshotByTimeOffsetTemplateResponse
- type CreateSnapshotByTimeOffsetTemplateResponseParams
- type CreateTranscodeTemplateRequest
- type CreateTranscodeTemplateRequestParams
- type CreateTranscodeTemplateResponse
- type CreateTranscodeTemplateResponseParams
- type CreateWatermarkTemplateRequest
- type CreateWatermarkTemplateRequestParams
- type CreateWatermarkTemplateResponse
- type CreateWatermarkTemplateResponseParams
- type CreateWordSamplesRequest
- type CreateWordSamplesRequestParams
- type CreateWordSamplesResponse
- type CreateWordSamplesResponseParams
- type CreateWorkflowRequest
- type CreateWorkflowRequestParams
- type CreateWorkflowResponse
- type CreateWorkflowResponseParams
- type DeleteAIAnalysisTemplateRequest
- type DeleteAIAnalysisTemplateRequestParams
- type DeleteAIAnalysisTemplateResponse
- type DeleteAIAnalysisTemplateResponseParams
- type DeleteAIRecognitionTemplateRequest
- type DeleteAIRecognitionTemplateRequestParams
- type DeleteAIRecognitionTemplateResponse
- type DeleteAIRecognitionTemplateResponseParams
- type DeleteAdaptiveDynamicStreamingTemplateRequest
- type DeleteAdaptiveDynamicStreamingTemplateRequestParams
- type DeleteAdaptiveDynamicStreamingTemplateResponse
- type DeleteAdaptiveDynamicStreamingTemplateResponseParams
- type DeleteAnimatedGraphicsTemplateRequest
- type DeleteAnimatedGraphicsTemplateRequestParams
- type DeleteAnimatedGraphicsTemplateResponse
- type DeleteAnimatedGraphicsTemplateResponseParams
- type DeleteContentReviewTemplateRequest
- type DeleteContentReviewTemplateRequestParams
- type DeleteContentReviewTemplateResponse
- type DeleteContentReviewTemplateResponseParams
- type DeleteImageSpriteTemplateRequest
- type DeleteImageSpriteTemplateRequestParams
- type DeleteImageSpriteTemplateResponse
- type DeleteImageSpriteTemplateResponseParams
- type DeletePersonSampleRequest
- type DeletePersonSampleRequestParams
- type DeletePersonSampleResponse
- type DeletePersonSampleResponseParams
- type DeleteSampleSnapshotTemplateRequest
- type DeleteSampleSnapshotTemplateRequestParams
- type DeleteSampleSnapshotTemplateResponse
- type DeleteSampleSnapshotTemplateResponseParams
- type DeleteScheduleRequest
- type DeleteScheduleRequestParams
- type DeleteScheduleResponse
- type DeleteScheduleResponseParams
- type DeleteSnapshotByTimeOffsetTemplateRequest
- type DeleteSnapshotByTimeOffsetTemplateRequestParams
- type DeleteSnapshotByTimeOffsetTemplateResponse
- type DeleteSnapshotByTimeOffsetTemplateResponseParams
- type DeleteTranscodeTemplateRequest
- type DeleteTranscodeTemplateRequestParams
- type DeleteTranscodeTemplateResponse
- type DeleteTranscodeTemplateResponseParams
- type DeleteWatermarkTemplateRequest
- type DeleteWatermarkTemplateRequestParams
- type DeleteWatermarkTemplateResponse
- type DeleteWatermarkTemplateResponseParams
- type DeleteWordSamplesRequest
- type DeleteWordSamplesRequestParams
- type DeleteWordSamplesResponse
- type DeleteWordSamplesResponseParams
- type DeleteWorkflowRequest
- type DeleteWorkflowRequestParams
- type DeleteWorkflowResponse
- type DeleteWorkflowResponseParams
- type DescribeAIAnalysisTemplatesRequest
- type DescribeAIAnalysisTemplatesRequestParams
- type DescribeAIAnalysisTemplatesResponse
- type DescribeAIAnalysisTemplatesResponseParams
- type DescribeAIRecognitionTemplatesRequest
- type DescribeAIRecognitionTemplatesRequestParams
- type DescribeAIRecognitionTemplatesResponse
- type DescribeAIRecognitionTemplatesResponseParams
- type DescribeAdaptiveDynamicStreamingTemplatesRequest
- type DescribeAdaptiveDynamicStreamingTemplatesRequestParams
- type DescribeAdaptiveDynamicStreamingTemplatesResponse
- type DescribeAdaptiveDynamicStreamingTemplatesResponseParams
- type DescribeAnimatedGraphicsTemplatesRequest
- type DescribeAnimatedGraphicsTemplatesRequestParams
- type DescribeAnimatedGraphicsTemplatesResponse
- type DescribeAnimatedGraphicsTemplatesResponseParams
- type DescribeContentReviewTemplatesRequest
- type DescribeContentReviewTemplatesRequestParams
- type DescribeContentReviewTemplatesResponse
- type DescribeContentReviewTemplatesResponseParams
- type DescribeImageSpriteTemplatesRequest
- type DescribeImageSpriteTemplatesRequestParams
- type DescribeImageSpriteTemplatesResponse
- type DescribeImageSpriteTemplatesResponseParams
- type DescribeMediaMetaDataRequest
- type DescribeMediaMetaDataRequestParams
- type DescribeMediaMetaDataResponse
- type DescribeMediaMetaDataResponseParams
- type DescribePersonSamplesRequest
- type DescribePersonSamplesRequestParams
- type DescribePersonSamplesResponse
- type DescribePersonSamplesResponseParams
- type DescribeSampleSnapshotTemplatesRequest
- type DescribeSampleSnapshotTemplatesRequestParams
- type DescribeSampleSnapshotTemplatesResponse
- type DescribeSampleSnapshotTemplatesResponseParams
- type DescribeSchedulesRequest
- type DescribeSchedulesRequestParams
- type DescribeSchedulesResponse
- type DescribeSchedulesResponseParams
- type DescribeSnapshotByTimeOffsetTemplatesRequest
- type DescribeSnapshotByTimeOffsetTemplatesRequestParams
- type DescribeSnapshotByTimeOffsetTemplatesResponse
- type DescribeSnapshotByTimeOffsetTemplatesResponseParams
- type DescribeTaskDetailRequest
- type DescribeTaskDetailRequestParams
- type DescribeTaskDetailResponse
- type DescribeTaskDetailResponseParams
- type DescribeTasksRequest
- type DescribeTasksRequestParams
- type DescribeTasksResponse
- type DescribeTasksResponseParams
- type DescribeTranscodeTemplatesRequest
- type DescribeTranscodeTemplatesRequestParams
- type DescribeTranscodeTemplatesResponse
- type DescribeTranscodeTemplatesResponseParams
- type DescribeWatermarkTemplatesRequest
- type DescribeWatermarkTemplatesRequestParams
- type DescribeWatermarkTemplatesResponse
- type DescribeWatermarkTemplatesResponseParams
- type DescribeWordSamplesRequest
- type DescribeWordSamplesRequestParams
- type DescribeWordSamplesResponse
- type DescribeWordSamplesResponseParams
- type DescribeWorkflowsRequest
- type DescribeWorkflowsRequestParams
- type DescribeWorkflowsResponse
- type DescribeWorkflowsResponseParams
- type DisableScheduleRequest
- type DisableScheduleRequestParams
- type DisableScheduleResponse
- type DisableScheduleResponseParams
- type DisableWorkflowRequest
- type DisableWorkflowRequestParams
- type DisableWorkflowResponse
- type DisableWorkflowResponseParams
- type EditMediaFileInfo
- type EditMediaOutputConfig
- type EditMediaRequest
- type EditMediaRequestParams
- type EditMediaResponse
- type EditMediaResponseParams
- type EditMediaTask
- type EditMediaTaskInput
- type EditMediaTaskOutput
- type EnableScheduleRequest
- type EnableScheduleRequestParams
- type EnableScheduleResponse
- type EnableScheduleResponseParams
- type EnableWorkflowRequest
- type EnableWorkflowRequestParams
- type EnableWorkflowResponse
- type EnableWorkflowResponseParams
- type EnhanceConfig
- type ExecuteFunctionRequest
- type ExecuteFunctionRequestParams
- type ExecuteFunctionResponse
- type ExecuteFunctionResponseParams
- type FaceConfigureInfo
- type FaceConfigureInfoForUpdate
- type FaceEnhanceConfig
- type FrameRateConfig
- type FrameTagConfigureInfo
- type FrameTagConfigureInfoForUpdate
- type HdrConfig
- type HeadTailParameter
- type HighlightSegmentItem
- type ImageQualityEnhanceConfig
- type ImageSpriteTaskInput
- type ImageSpriteTemplate
- type ImageWatermarkInput
- type ImageWatermarkInputForUpdate
- type ImageWatermarkTemplate
- type LiveStreamAiRecognitionResultInfo
- type LiveStreamAiRecognitionResultItem
- type LiveStreamAiReviewImagePoliticalResult
- type LiveStreamAiReviewImagePornResult
- type LiveStreamAiReviewImageTerrorismResult
- type LiveStreamAiReviewResultInfo
- type LiveStreamAiReviewResultItem
- type LiveStreamAiReviewVoicePornResult
- type LiveStreamAsrFullTextRecognitionResult
- type LiveStreamAsrWordsRecognitionResult
- type LiveStreamFaceRecognitionResult
- type LiveStreamOcrFullTextRecognitionResult
- type LiveStreamOcrWordsRecognitionResult
- type LiveStreamProcessErrorInfo
- type LiveStreamProcessTask
- type LiveStreamTaskNotifyConfig
- type LiveStreamTransTextRecognitionResult
- type LowLightEnhanceConfig
- type ManageTaskRequest
- type ManageTaskRequestParams
- type ManageTaskResponse
- type ManageTaskResponseParams
- type MediaAiAnalysisClassificationItem
- type MediaAiAnalysisCoverItem
- type MediaAiAnalysisFrameTagItem
- type MediaAiAnalysisFrameTagSegmentItem
- type MediaAiAnalysisHighlightItem
- type MediaAiAnalysisTagItem
- type MediaAnimatedGraphicsItem
- type MediaAudioStreamItem
- type MediaContentReviewAsrTextSegmentItem
- type MediaContentReviewOcrTextSegmentItem
- type MediaContentReviewPoliticalSegmentItem
- type MediaContentReviewSegmentItem
- type MediaImageSpriteItem
- type MediaInputInfo
- type MediaMetaData
- type MediaProcessTaskAdaptiveDynamicStreamingResult
- type MediaProcessTaskAnimatedGraphicResult
- type MediaProcessTaskImageSpriteResult
- type MediaProcessTaskInput
- type MediaProcessTaskResult
- type MediaProcessTaskSampleSnapshotResult
- type MediaProcessTaskSnapshotByTimeOffsetResult
- type MediaProcessTaskTranscodeResult
- type MediaSampleSnapshotItem
- type MediaSnapshotByTimeOffsetItem
- type MediaSnapshotByTimePicInfoItem
- type MediaTranscodeItem
- type MediaVideoStreamItem
- type ModifyAIAnalysisTemplateRequest
- type ModifyAIAnalysisTemplateRequestParams
- type ModifyAIAnalysisTemplateResponse
- type ModifyAIAnalysisTemplateResponseParams
- type ModifyAIRecognitionTemplateRequest
- type ModifyAIRecognitionTemplateRequestParams
- type ModifyAIRecognitionTemplateResponse
- type ModifyAIRecognitionTemplateResponseParams
- type ModifyAdaptiveDynamicStreamingTemplateRequest
- type ModifyAdaptiveDynamicStreamingTemplateRequestParams
- type ModifyAdaptiveDynamicStreamingTemplateResponse
- type ModifyAdaptiveDynamicStreamingTemplateResponseParams
- type ModifyAnimatedGraphicsTemplateRequest
- type ModifyAnimatedGraphicsTemplateRequestParams
- type ModifyAnimatedGraphicsTemplateResponse
- type ModifyAnimatedGraphicsTemplateResponseParams
- type ModifyContentReviewTemplateRequest
- type ModifyContentReviewTemplateRequestParams
- type ModifyContentReviewTemplateResponse
- type ModifyContentReviewTemplateResponseParams
- type ModifyImageSpriteTemplateRequest
- type ModifyImageSpriteTemplateRequestParams
- type ModifyImageSpriteTemplateResponse
- type ModifyImageSpriteTemplateResponseParams
- type ModifyPersonSampleRequest
- type ModifyPersonSampleRequestParams
- type ModifyPersonSampleResponse
- type ModifyPersonSampleResponseParams
- type ModifySampleSnapshotTemplateRequest
- type ModifySampleSnapshotTemplateRequestParams
- type ModifySampleSnapshotTemplateResponse
- type ModifySampleSnapshotTemplateResponseParams
- type ModifyScheduleRequest
- type ModifyScheduleRequestParams
- type ModifyScheduleResponse
- type ModifyScheduleResponseParams
- type ModifySnapshotByTimeOffsetTemplateRequest
- type ModifySnapshotByTimeOffsetTemplateRequestParams
- type ModifySnapshotByTimeOffsetTemplateResponse
- type ModifySnapshotByTimeOffsetTemplateResponseParams
- type ModifyTranscodeTemplateRequest
- type ModifyTranscodeTemplateRequestParams
- type ModifyTranscodeTemplateResponse
- type ModifyTranscodeTemplateResponseParams
- type ModifyWatermarkTemplateRequest
- type ModifyWatermarkTemplateRequestParams
- type ModifyWatermarkTemplateResponse
- type ModifyWatermarkTemplateResponseParams
- type ModifyWordSampleRequest
- type ModifyWordSampleRequestParams
- type ModifyWordSampleResponse
- type ModifyWordSampleResponseParams
- type MosaicInput
- type NumberFormat
- type OcrFullTextConfigureInfo
- type OcrFullTextConfigureInfoForUpdate
- type OcrWordsConfigureInfo
- type OcrWordsConfigureInfoForUpdate
- type OverrideTranscodeParameter
- type ParseLiveStreamProcessNotificationRequest
- type ParseLiveStreamProcessNotificationRequestParams
- type ParseLiveStreamProcessNotificationResponse
- type ParseLiveStreamProcessNotificationResponseParams
- type ParseNotificationRequest
- type ParseNotificationRequestParams
- type ParseNotificationResponse
- type ParseNotificationResponseParams
- type PoliticalAsrReviewTemplateInfo
- type PoliticalAsrReviewTemplateInfoForUpdate
- type PoliticalConfigureInfo
- type PoliticalConfigureInfoForUpdate
- type PoliticalImgReviewTemplateInfo
- type PoliticalImgReviewTemplateInfoForUpdate
- type PoliticalOcrReviewTemplateInfo
- type PoliticalOcrReviewTemplateInfoForUpdate
- type PornAsrReviewTemplateInfo
- type PornAsrReviewTemplateInfoForUpdate
- type PornConfigureInfo
- type PornConfigureInfoForUpdate
- type PornImgReviewTemplateInfo
- type PornImgReviewTemplateInfoForUpdate
- type PornOcrReviewTemplateInfo
- type PornOcrReviewTemplateInfoForUpdate
- type ProcessLiveStreamRequest
- type ProcessLiveStreamRequestParams
- type ProcessLiveStreamResponse
- type ProcessLiveStreamResponseParams
- type ProcessMediaRequest
- type ProcessMediaRequestParams
- type ProcessMediaResponse
- type ProcessMediaResponseParams
- type ProhibitedAsrReviewTemplateInfo
- type ProhibitedAsrReviewTemplateInfoForUpdate
- type ProhibitedConfigureInfo
- type ProhibitedConfigureInfoForUpdate
- type ProhibitedOcrReviewTemplateInfo
- type ProhibitedOcrReviewTemplateInfoForUpdate
- type QualityControlData
- type QualityControlItem
- type QualityControlResult
- type RawImageWatermarkInput
- type RawTranscodeParameter
- type RawWatermarkParameter
- type ResetWorkflowRequest
- type ResetWorkflowRequestParams
- type ResetWorkflowResponse
- type ResetWorkflowResponseParams
- type S3InputInfo
- type S3OutputStorage
- type SampleSnapshotTaskInput
- type SampleSnapshotTemplate
- type ScheduleAnalysisTaskResult
- type ScheduleQualityControlTaskResult
- type ScheduleRecognitionTaskResult
- type ScheduleReviewTaskResult
- type ScheduleTask
- type SchedulesInfo
- type ScratchRepairConfig
- type SharpEnhanceConfig
- type SnapshotByTimeOffsetTaskInput
- type SnapshotByTimeOffsetTemplate
- type SubtitleTemplate
- type SuperResolutionConfig
- type SvgWatermarkInput
- type SvgWatermarkInputForUpdate
- type TEHDConfig
- type TEHDConfigForUpdate
- type TagConfigureInfo
- type TagConfigureInfoForUpdate
- type TaskNotifyConfig
- type TaskOutputStorage
- type TaskSimpleInfo
- type TerrorismConfigureInfo
- type TerrorismConfigureInfoForUpdate
- type TerrorismImgReviewTemplateInfo
- type TerrorismImgReviewTemplateInfoForUpdate
- type TerrorismOcrReviewTemplateInfo
- type TerrorismOcrReviewTemplateInfoForUpdate
- type TextWatermarkTemplateInput
- type TextWatermarkTemplateInputForUpdate
- type TranscodeTaskInput
- type TranscodeTemplate
- type UrlInputInfo
- type UserDefineAsrTextReviewTemplateInfo
- type UserDefineAsrTextReviewTemplateInfoForUpdate
- type UserDefineConfigureInfo
- type UserDefineConfigureInfoForUpdate
- type UserDefineFaceReviewTemplateInfo
- type UserDefineFaceReviewTemplateInfoForUpdate
- type UserDefineOcrTextReviewTemplateInfo
- type UserDefineOcrTextReviewTemplateInfoForUpdate
- type VideoDenoiseConfig
- type VideoEnhanceConfig
- type VideoTemplateInfo
- type VideoTemplateInfoForUpdate
- type WatermarkInput
- type WatermarkTemplate
- type WorkflowInfo
- type WorkflowTask
- type WorkflowTrigger
Constants ¶
const ( // Operation failed. FAILEDOPERATION = "FailedOperation" // Operation failed: notification has already been set for the bucket. FAILEDOPERATION_BUCKETNOTIFYALREADYEXIST = "FailedOperation.BucketNotifyAlreadyExist" // Operation failed: COS service is suspended. FAILEDOPERATION_COSSTATUSINAVLID = "FailedOperation.CosStatusInavlid" // Operation failed: Error getting the source notification. FAILEDOPERATION_GETSOURCENOTIFY = "FailedOperation.GetSourceNotify" // Operation failed: unauthorized MPS user. FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" // Operation failed: invalid user. FAILEDOPERATION_INVALIDUSER = "FailedOperation.InvalidUser" // Operation failed: Error setting the source notification. FAILEDOPERATION_SETSOURCENOTIFY = "FailedOperation.SetSourceNotify" // Internal error. INTERNALERROR = "InternalError" // Data error. INTERNALERROR_ACCESSDBERROR = "InternalError.AccessDBError" // Internal error: failed to generate template ID. INTERNALERROR_GENDEFINITION = "InternalError.GenDefinition" // Internal error: failed to upload watermark image. INTERNALERROR_UPLOADWATERMARKERROR = "InternalError.UploadWatermarkError" // Parameter error. INVALIDPARAMETER = "InvalidParameter" // Incorrect parameter value. INVALIDPARAMETERVALUE = "InvalidParameterValue" // Parameter error: Audio stream bitrate. INVALIDPARAMETERVALUE_AUDIOBITRATE = "InvalidParameterValue.AudioBitrate" // Incorrect parameter value: AudioChannel. INVALIDPARAMETERVALUE_AUDIOCHANNEL = "InvalidParameterValue.AudioChannel" // Parameter error: audio stream codec. INVALIDPARAMETERVALUE_AUDIOCODEC = "InvalidParameterValue.AudioCodec" // Parameter error: audio stream sample rate. INVALIDPARAMETERVALUE_AUDIOSAMPLERATE = "InvalidParameterValue.AudioSampleRate" // Invalid audio/video bitrate. INVALIDPARAMETERVALUE_BITRATE = "InvalidParameterValue.Bitrate" // Incorrect parameter value: the value of the `BlockConfidence` parameter is invalid. INVALIDPARAMETERVALUE_BLOCKCONFIDENCE = "InvalidParameterValue.BlockConfidence" // Incorrect parameter value: the control field parameter for intelligent categorization is incorrect. INVALIDPARAMETERVALUE_CLASSIFCATIONCONFIGURE = "InvalidParameterValue.ClassifcationConfigure" // Invalid audio/video codec. INVALIDPARAMETERVALUE_CODEC = "InvalidParameterValue.Codec" // Incorrect parameter value: ColumnCount. INVALIDPARAMETERVALUE_COLUMNCOUNT = "InvalidParameterValue.ColumnCount" // Parameter error: template description. INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" // Parameter error: container format. INVALIDPARAMETERVALUE_CONTAINER = "InvalidParameterValue.Container" // Incorrect parameter value: ContainerType. INVALIDPARAMETERVALUE_CONTAINERTYPE = "InvalidParameterValue.ContainerType" // Incorrect parameter value: CoordinateOrigin. INVALIDPARAMETERVALUE_COORDINATEORIGIN = "InvalidParameterValue.CoordinateOrigin" // Incorrect parameter value: the control field parameter for intelligent cover generation is incorrect. INVALIDPARAMETERVALUE_COVERCONFIGURE = "InvalidParameterValue.CoverConfigure" // Incorrect parameter value: the default face library filter tag is invalid. INVALIDPARAMETERVALUE_DEFAULTLIBRARYLABELSET = "InvalidParameterValue.DefaultLibraryLabelSet" // Parameter error: Definition. INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" // Parameter error: Definitions. INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" // Incorrect parameter value: the default template cannot be deleted. INVALIDPARAMETERVALUE_DELETEDEFAULTTEMPLATE = "InvalidParameterValue.DeleteDefaultTemplate" // INVALIDPARAMETERVALUE_DESTINATIONLANGUAGE = "InvalidParameterValue.DestinationLanguage" // Invalid switch value used to prohibit transcoding from low bitrate to high bitrate. INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEOBITRATE = "InvalidParameterValue.DisableHigherVideoBitrate" // Invalid switch value used to prohibit transcoding from low resolution to high resolution. INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEORESOLUTION = "InvalidParameterValue.DisableHigherVideoResolution" // Incorrect parameter value: duplicated face. INVALIDPARAMETERVALUE_FACEDUPLICATE = "InvalidParameterValue.FaceDuplicate" // Incorrect parameter value: invalid face library parameter. INVALIDPARAMETERVALUE_FACELIBRARY = "InvalidParameterValue.FaceLibrary" // Incorrect parameter value: the value of the face score parameter is invalid. INVALIDPARAMETERVALUE_FACESCORE = "InvalidParameterValue.FaceScore" // Invalid parameter: incorrect fill type. INVALIDPARAMETERVALUE_FILLTYPE = "InvalidParameterValue.FillType" // Incorrect parameter value: Format. INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" // Incorrect parameter value: `Format` is `webp`, but both `Width` and `Height` are empty. INVALIDPARAMETERVALUE_FORMATWEBPLACKWIDTHANDHEIGHT = "InvalidParameterValue.FormatWebpLackWidthAndHeight" // Incorrect parameter value: when `Format` is `webp`, `Width` and `Height` cannot be both 0. INVALIDPARAMETERVALUE_FORMATWEBPWIDTHANDHEIGHTBOTHZERO = "InvalidParameterValue.FormatWebpWidthAndHeightBothZero" // Parameter error: video frame rate. INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps" // Incorrect parameter value: the control field parameter for intelligent frame-specific tagging is incorrect. INVALIDPARAMETERVALUE_FRAMETAGCONFIGURE = "InvalidParameterValue.FrameTagConfigure" // Incorrect parameter value: FunctionArg. INVALIDPARAMETERVALUE_FUNCTIONARG = "InvalidParameterValue.FunctionArg" // Incorrect parameter value: FunctionName. INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName" // Invalid GOP value. INVALIDPARAMETERVALUE_GOP = "InvalidParameterValue.Gop" // Parameter error: height. INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" // Invalid ImageContent INVALIDPARAMETERVALUE_IMAGECONTENT = "InvalidParameterValue.ImageContent" // Parameter error: image watermarking template. INVALIDPARAMETERVALUE_IMAGETEMPLATE = "InvalidParameterValue.ImageTemplate" // The value of the parsed `Content` is invalid. INVALIDPARAMETERVALUE_INVALIDCONTENT = "InvalidParameterValue.InvalidContent" // Invalid operation type. INVALIDPARAMETERVALUE_INVALIDOPERATIONTYPE = "InvalidParameterValue.InvalidOperationType" // Incorrect parameter value: invalid `LabelSet` value. INVALIDPARAMETERVALUE_LABELSET = "InvalidParameterValue.LabelSet" // Parameter error: Limit. INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" // Incorrect parameter value: the default template cannot be modified. INVALIDPARAMETERVALUE_MODIFYDEFAULTTEMPLATE = "InvalidParameterValue.ModifyDefaultTemplate" // Incorrect parameter value: `Name` exceeds the length limit. INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" // Tasks not in processing status are not supported. INVALIDPARAMETERVALUE_NOTPROCESSINGTASK = "InvalidParameterValue.NotProcessingTask" // Incorrect parameter value: object library parameter is invalid. INVALIDPARAMETERVALUE_OBJECTLIBRARY = "InvalidParameterValue.ObjectLibrary" // Incorrect parameter value: incorrect face image format. INVALIDPARAMETERVALUE_PICFORMATERROR = "InvalidParameterValue.PicFormatError" // Incorrect parameter value: Quality. INVALIDPARAMETERVALUE_QUALITY = "InvalidParameterValue.Quality" // Incorrect parameter value: RemoveAudio. INVALIDPARAMETERVALUE_REMOVEAUDIO = "InvalidParameterValue.RemoveAudio" // Incorrect parameter value: RemoveVideo. INVALIDPARAMETERVALUE_REMOVEVIDEO = "InvalidParameterValue.RemoveVideo" // Parameter error: invalid `RepeatType`. INVALIDPARAMETERVALUE_REPEATTYPE = "InvalidParameterValue.RepeatType" // Parameter error: Incorrect resolution. INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" // Invalid ResolutionAdaptive INVALIDPARAMETERVALUE_RESOLUTIONADAPTIVE = "InvalidParameterValue.ResolutionAdaptive" // Incorrect parameter value: The value of the `ReviewConfidence` parameter is invalid. INVALIDPARAMETERVALUE_REVIEWCONFIDENCE = "InvalidParameterValue.ReviewConfidence" // Incorrect parameter value: RowCount. INVALIDPARAMETERVALUE_ROWCOUNT = "InvalidParameterValue.RowCount" // Incorrect parameter value: SampleInterval. INVALIDPARAMETERVALUE_SAMPLEINTERVAL = "InvalidParameterValue.SampleInterval" // Invalid audio sample rate. INVALIDPARAMETERVALUE_SAMPLERATE = "InvalidParameterValue.SampleRate" // Incorrect parameter value: SampleType. INVALIDPARAMETERVALUE_SAMPLETYPE = "InvalidParameterValue.SampleType" // `SessionContext` is too long. INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong" // The deduplication ID already exists. The request is removed due to duplication. INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId" // `SessionId` is too long. INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong" // Invalid parameter: incorrect audio channel system. INVALIDPARAMETERVALUE_SOUNDSYSTEM = "InvalidParameterValue.SoundSystem" // INVALIDPARAMETERVALUE_SOURCELANGUAGE = "InvalidParameterValue.SourceLanguage" // Source file error. INVALIDPARAMETERVALUE_SRCFILE = "InvalidParameterValue.SrcFile" // Incorrect parameter value: The value of the `SubtitleFormat` parameter is invalid. INVALIDPARAMETERVALUE_SUBTITLEFORMAT = "InvalidParameterValue.SubtitleFormat" // Incorrect parameter value: SVG is empty. INVALIDPARAMETERVALUE_SVGTEMPLATE = "InvalidParameterValue.SvgTemplate" // Incorrect parameter value: SVG height. INVALIDPARAMETERVALUE_SVGTEMPLATEHEIGHT = "InvalidParameterValue.SvgTemplateHeight" // Incorrect parameter value: SVG width. INVALIDPARAMETERVALUE_SVGTEMPLATEWIDTH = "InvalidParameterValue.SvgTemplateWidth" // Incorrect parameter value: invalid `Switch` value. INVALIDPARAMETERVALUE_SWITCH = "InvalidParameterValue.Switch" // Incorrect parameter value: invalid `TEHD Type` . INVALIDPARAMETERVALUE_TEHDTYPE = "InvalidParameterValue.TEHDType" // Incorrect parameter value: the control field parameter for intelligent tagging is incorrect. INVALIDPARAMETERVALUE_TAGCONFIGURE = "InvalidParameterValue.TagConfigure" // The task ID does not exist. INVALIDPARAMETERVALUE_TASKID = "InvalidParameterValue.TaskId" // Parameter error: text transparency. INVALIDPARAMETERVALUE_TEXTALPHA = "InvalidParameterValue.TextAlpha" // Parameter error: text template. INVALIDPARAMETERVALUE_TEXTTEMPLATE = "InvalidParameterValue.TextTemplate" // Parameter error: incorrect `Type` value. INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" // Incorrect parameter value: the custom face library filter tag is invalid. INVALIDPARAMETERVALUE_USERDEFINELIBRARYLABELSET = "InvalidParameterValue.UserDefineLibraryLabelSet" // Parameter error: video stream bitrate. INVALIDPARAMETERVALUE_VIDEOBITRATE = "InvalidParameterValue.VideoBitrate" // Parameter error: video stream codec. INVALIDPARAMETERVALUE_VIDEOCODEC = "InvalidParameterValue.VideoCodec" // Parameter error: Wwdth. INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" // The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported. INVALIDPARAMETERVALUE_XPOS = "InvalidParameterValue.XPos" // The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported. INVALIDPARAMETERVALUE_YPOS = "InvalidParameterValue.YPos" // Limit reached: the number of templates exceeds the limit. LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" // The resource does not exist. RESOURCENOTFOUND = "ResourceNotFound" // The resource does not exist: invalid COS bucket name. RESOURCENOTFOUND_COSBUCKETNAMEINVALID = "ResourceNotFound.CosBucketNameInvalid" // The resource does not exist: the COS bucket does not exist. RESOURCENOTFOUND_COSBUCKETNOTEXIST = "ResourceNotFound.CosBucketNotExist" // The resource does not exist: figure. RESOURCENOTFOUND_PERSON = "ResourceNotFound.Person" // The resource does not exist: the template does not exist. RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // The resource does not exist: Keyword. RESOURCENOTFOUND_WORD = "ResourceNotFound.Word" // Unauthorized operation. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" )
const APIVersion = "2019-06-12"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AIAnalysisTemplateItem ¶
type AIAnalysisTemplateItem struct { // Unique ID of intelligent analysis template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` // Intelligent analysis template name. Name *string `json:"Name,omitnil" name:"Name"` // Intelligent analysis template description. Comment *string `json:"Comment,omitnil" name:"Comment"` // Control parameter of intelligent categorization task. ClassificationConfigure *ClassificationConfigureInfo `json:"ClassificationConfigure,omitnil" name:"ClassificationConfigure"` // Control parameter of intelligent tagging task. TagConfigure *TagConfigureInfo `json:"TagConfigure,omitnil" name:"TagConfigure"` // Control parameter of intelligent cover generating task. CoverConfigure *CoverConfigureInfo `json:"CoverConfigure,omitnil" name:"CoverConfigure"` // Control parameter of intelligent frame-specific tagging task. FrameTagConfigure *FrameTagConfigureInfo `json:"FrameTagConfigure,omitnil" name:"FrameTagConfigure"` // Creation time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52). CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Last modified time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52). UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // The template type. Valid values: // * Preset // * Custom // Note: This field may return `null`, indicating that no valid value can be obtained. Type *string `json:"Type,omitnil" name:"Type"` }
type AIRecognitionTemplateItem ¶
type AIRecognitionTemplateItem struct { // Unique ID of a video content recognition template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` // Name of a video content recognition template. Name *string `json:"Name,omitnil" name:"Name"` // Description of a video content recognition template. Comment *string `json:"Comment,omitnil" name:"Comment"` // Face recognition control parameter. // Note: This field may return null, indicating that no valid values can be obtained. FaceConfigure *FaceConfigureInfo `json:"FaceConfigure,omitnil" name:"FaceConfigure"` // Full text recognition control parameter. // Note: This field may return null, indicating that no valid values can be obtained. OcrFullTextConfigure *OcrFullTextConfigureInfo `json:"OcrFullTextConfigure,omitnil" name:"OcrFullTextConfigure"` // Text keyword recognition control parameter. // Note: This field may return null, indicating that no valid values can be obtained. OcrWordsConfigure *OcrWordsConfigureInfo `json:"OcrWordsConfigure,omitnil" name:"OcrWordsConfigure"` // Full speech recognition control parameter. // Note: This field may return null, indicating that no valid values can be obtained. AsrFullTextConfigure *AsrFullTextConfigureInfo `json:"AsrFullTextConfigure,omitnil" name:"AsrFullTextConfigure"` // Speech keyword recognition control parameter. // Note: This field may return null, indicating that no valid values can be obtained. AsrWordsConfigure *AsrWordsConfigureInfo `json:"AsrWordsConfigure,omitnil" name:"AsrWordsConfigure"` // Creation time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Last modified time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // The template type. Valid values: // * Preset // * Custom // Note: This field may return `null`, indicating that no valid value can be obtained. Type *string `json:"Type,omitnil" name:"Type"` }
type Activity ¶
type Activity struct { // The subtask type. // <li>`input`: The start.</li> // <li>`output`: The end.</li> // <li>`action-trans`: Transcoding.</li> // <li>`action-samplesnapshot`: Sampled screencapturing.</li> // <li>`action-AIAnalysis`: Content analysis.</li> // <li>`action-AIRecognition`: Content recognition.</li> // <li>`action-aiReview`: Content moderation.</li> // <li>`action-animated-graphics`: Animated screenshot generation.</li> // <li>`action-image-sprite`: Image sprite generation.</li> // <li>`action-snapshotByTimeOffset`: Time point screencapturing.</li> // <li>`action-adaptive-substream`: Adaptive bitrate streaming.</li> // Note: This field may return null, indicating that no valid values can be obtained. ActivityType *string `json:"ActivityType,omitnil" name:"ActivityType"` // The indexes of the subsequent actions. // Note: This field may return null, indicating that no valid values can be obtained. ReardriveIndex []*int64 `json:"ReardriveIndex,omitnil" name:"ReardriveIndex"` // The parameters of a subtask. // Note: This field may return null, indicating that no valid values can be obtained. ActivityPara *ActivityPara `json:"ActivityPara,omitnil" name:"ActivityPara"` }
type ActivityPara ¶
type ActivityPara struct { // A transcoding task. TranscodeTask *TranscodeTaskInput `json:"TranscodeTask,omitnil" name:"TranscodeTask"` // An animated screenshot generation task. AnimatedGraphicTask *AnimatedGraphicTaskInput `json:"AnimatedGraphicTask,omitnil" name:"AnimatedGraphicTask"` // A time point screencapturing task. SnapshotByTimeOffsetTask *SnapshotByTimeOffsetTaskInput `json:"SnapshotByTimeOffsetTask,omitnil" name:"SnapshotByTimeOffsetTask"` // A sampled screencapturing task. SampleSnapshotTask *SampleSnapshotTaskInput `json:"SampleSnapshotTask,omitnil" name:"SampleSnapshotTask"` // An image sprite generation task. ImageSpriteTask *ImageSpriteTaskInput `json:"ImageSpriteTask,omitnil" name:"ImageSpriteTask"` // An adaptive bitrate streaming task. AdaptiveDynamicStreamingTask *AdaptiveDynamicStreamingTaskInput `json:"AdaptiveDynamicStreamingTask,omitnil" name:"AdaptiveDynamicStreamingTask"` // A content moderation task. AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitnil" name:"AiContentReviewTask"` // A content analysis task. AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitnil" name:"AiAnalysisTask"` // A content recognition task. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitnil" name:"AiRecognitionTask"` }
type ActivityResItem ¶
type ActivityResItem struct { // The result of a transcoding task. // Note: This field may return null, indicating that no valid values can be obtained. TranscodeTask *MediaProcessTaskTranscodeResult `json:"TranscodeTask,omitnil" name:"TranscodeTask"` // The result of an animated image generating task. // Note: This field may return null, indicating that no valid values can be obtained. AnimatedGraphicTask *MediaProcessTaskAnimatedGraphicResult `json:"AnimatedGraphicTask,omitnil" name:"AnimatedGraphicTask"` // The result of a time point screenshot task. // Note: This field may return null, indicating that no valid values can be obtained. SnapshotByTimeOffsetTask *MediaProcessTaskSampleSnapshotResult `json:"SnapshotByTimeOffsetTask,omitnil" name:"SnapshotByTimeOffsetTask"` // The result of a sampled screenshot task. // Note: This field may return null, indicating that no valid values can be obtained. SampleSnapshotTask *MediaProcessTaskSampleSnapshotResult `json:"SampleSnapshotTask,omitnil" name:"SampleSnapshotTask"` // The result of an image sprite task. // Note: This field may return null, indicating that no valid values can be obtained. ImageSpriteTask *MediaProcessTaskImageSpriteResult `json:"ImageSpriteTask,omitnil" name:"ImageSpriteTask"` // The result of an adaptive bitrate streaming task. // Note: This field may return null, indicating that no valid values can be obtained. AdaptiveDynamicStreamingTask *MediaProcessTaskAdaptiveDynamicStreamingResult `json:"AdaptiveDynamicStreamingTask,omitnil" name:"AdaptiveDynamicStreamingTask"` // The result of a content recognition task. // Note: This field may return null, indicating that no valid values can be obtained. RecognitionTask *ScheduleRecognitionTaskResult `json:"RecognitionTask,omitnil" name:"RecognitionTask"` // The result of a content moderation task. // Note: This field may return null, indicating that no valid values can be obtained. ReviewTask *ScheduleReviewTaskResult `json:"ReviewTask,omitnil" name:"ReviewTask"` // The result of a content analysis task. // Note: This field may return null, indicating that no valid values can be obtained. AnalysisTask *ScheduleAnalysisTaskResult `json:"AnalysisTask,omitnil" name:"AnalysisTask"` }
type ActivityResult ¶
type ActivityResult struct { // The type of the scheme’s subtask. // <li>Transcode: Transcoding</li> // <li>SampleSnapshot: Sampled screenshot</li> // <li>AnimatedGraphics: Animated image generating</li> // <li>SnapshotByTimeOffset: Time point screenshot</li> // <li>ImageSprites: Image sprite generating</li> // <li>AdaptiveDynamicStreaming: Adaptive bitrate streaming</li> // <li>AiContentReview: Content moderation</li> // <li>AIRecognition: Content recognition</li> // <li>AIAnalysis: Content analysis</li> ActivityType *string `json:"ActivityType,omitnil" name:"ActivityType"` // The execution results of the subtasks of the scheme. ActivityResItem *ActivityResItem `json:"ActivityResItem,omitnil" name:"ActivityResItem"` }
type AdaptiveDynamicStreamingInfoItem ¶
type AdaptiveDynamicStreamingInfoItem struct { // Adaptive bitrate streaming specification. Definition *int64 `json:"Definition,omitnil" name:"Definition"` // Container format. Valid values: HLS, MPEG-DASH. Package *string `json:"Package,omitnil" name:"Package"` // Playback address. Path *string `json:"Path,omitnil" name:"Path"` // Storage location of adaptive bitrate streaming files. Storage *TaskOutputStorage `json:"Storage,omitnil" name:"Storage"` }
type AdaptiveDynamicStreamingTaskInput ¶
type AdaptiveDynamicStreamingTaskInput struct { // Adaptive bitrate streaming template ID. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // List of up to 10 image or text watermarks. WatermarkSet []*WatermarkInput `json:"WatermarkSet,omitnil" name:"WatermarkSet"` // Target bucket of an output file after being transcoded to adaptive bitrate streaming. If this parameter is left empty, the `OutputStorage` value of the upper folder will be inherited. // Note: this field may return null, indicating that no valid values can be obtained. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` // The relative or absolute output path of the manifest file after being transcoded to adaptive bitrate streaming. If this parameter is left empty, a relative path in the following format will be used by default: `{inputName}_adaptiveDynamicStreaming_{definition}.{format}`. OutputObjectPath *string `json:"OutputObjectPath,omitnil" name:"OutputObjectPath"` // The relative output path of the substream file after being transcoded to adaptive bitrate streaming. If this parameter is left empty, a relative path in the following format will be used by default: `{inputName}_adaptiveDynamicStreaming_{definition}_{subStreamNumber}.{format}`. SubStreamObjectName *string `json:"SubStreamObjectName,omitnil" name:"SubStreamObjectName"` // The relative output path of the segment file after being transcoded to adaptive bitrate streaming (in HLS format only). If this parameter is left empty, a relative path in the following format will be used by default: `{inputName}_adaptiveDynamicStreaming_{definition}_{subStreamNumber}_{segmentNumber}.{format}`. SegmentObjectName *string `json:"SegmentObjectName,omitnil" name:"SegmentObjectName"` // The subtitle file to add. // Note: This field may return·null, indicating that no valid values can be obtained. AddOnSubtitles []*AddOnSubtitle `json:"AddOnSubtitles,omitnil" name:"AddOnSubtitles"` }
type AdaptiveDynamicStreamingTemplate ¶
type AdaptiveDynamicStreamingTemplate struct { // Unique ID of an adaptive bitrate streaming template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // Template type. Valid values: // <li>Preset: preset template;</li> // <li>Custom: custom template.</li> Type *string `json:"Type,omitnil" name:"Type"` // Name of an adaptive bitrate streaming template. Name *string `json:"Name,omitnil" name:"Name"` // Description of an adaptive bitrate streaming template. Comment *string `json:"Comment,omitnil" name:"Comment"` // Adaptive bitrate streaming format. Valid values: // <li>HLS;</li> // <li>MPEG-DASH.</li> Format *string `json:"Format,omitnil" name:"Format"` // Parameter information of input streams for transcoding to adaptive bitrate streaming. Up to 10 streams can be input. StreamInfos []*AdaptiveStreamTemplate `json:"StreamInfos,omitnil" name:"StreamInfos"` // Whether to prohibit transcoding from low bitrate to high bitrate. Valid values: // <li>0: no,</li> // <li>1: yes.</li> DisableHigherVideoBitrate *uint64 `json:"DisableHigherVideoBitrate,omitnil" name:"DisableHigherVideoBitrate"` // Whether to prohibit transcoding from low resolution to high resolution. Valid values: // <li>0: no,</li> // <li>1: yes.</li> DisableHigherVideoResolution *uint64 `json:"DisableHigherVideoResolution,omitnil" name:"DisableHigherVideoResolution"` // Creation time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Last modified time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` }
type AdaptiveStreamTemplate ¶
type AdaptiveStreamTemplate struct { // Video parameter information. Video *VideoTemplateInfo `json:"Video,omitnil" name:"Video"` // Audio parameter information. Audio *AudioTemplateInfo `json:"Audio,omitnil" name:"Audio"` // Whether to remove audio stream. Valid values: // <li>0: no,</li> // <li>1: yes.</li> RemoveAudio *uint64 `json:"RemoveAudio,omitnil" name:"RemoveAudio"` // Whether to remove video stream. Valid values: // <li>0: no,</li> // <li>1: yes.</li> RemoveVideo *uint64 `json:"RemoveVideo,omitnil" name:"RemoveVideo"` }
type AddOnSubtitle ¶
type AddOnSubtitle struct { // The mode. Valid values: // <li>`subtitle-stream`: Add a subtitle track.</li> // <li>`close-caption-708`: Embed CEA-708 subtitles in SEI frames.</li> // <li>`close-caption-608`: Embed CEA-608 subtitles in SEI frames.</li> // Note: This field may return·null, indicating that no valid values can be obtained. Type *string `json:"Type,omitnil" name:"Type"` // The subtitle file. // Note: This field may return·null, indicating that no valid values can be obtained. Subtitle *MediaInputInfo `json:"Subtitle,omitnil" name:"Subtitle"` }
type AiAnalysisResult ¶
type AiAnalysisResult struct { // Task type. Valid values: // <li>Classification: intelligent categorization</li> // <li>Cover: intelligent cover generating</li> // <li>Tag: intelligent tagging</li> // <li>FrameTag: intelligent frame-specific tagging</li> // <li>Highlight: intelligent highlight generating</li> Type *string `json:"Type,omitnil" name:"Type"` // Query result of intelligent categorization task in video content analysis, which is valid if task type is `Classification`. ClassificationTask *AiAnalysisTaskClassificationResult `json:"ClassificationTask,omitnil" name:"ClassificationTask"` // Query result of intelligent cover generating task in video content analysis, which is valid if task type is `Cover`. CoverTask *AiAnalysisTaskCoverResult `json:"CoverTask,omitnil" name:"CoverTask"` // Query result of intelligent tagging task in video content analysis, which is valid if task type is `Tag`. TagTask *AiAnalysisTaskTagResult `json:"TagTask,omitnil" name:"TagTask"` // Query result of intelligent frame-specific tagging task in video content analysis, which is valid if task type is `FrameTag`. FrameTagTask *AiAnalysisTaskFrameTagResult `json:"FrameTagTask,omitnil" name:"FrameTagTask"` // The result of a highlight generation task. This parameter is valid if `Type` is `Highlight`. // Note: This field may return null, indicating that no valid values can be obtained. HighlightTask *AiAnalysisTaskHighlightResult `json:"HighlightTask,omitnil" name:"HighlightTask"` }
type AiAnalysisTaskClassificationInput ¶
type AiAnalysisTaskClassificationInput struct { // Intelligent video categorization template ID. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` }
type AiAnalysisTaskClassificationOutput ¶
type AiAnalysisTaskClassificationOutput struct { // List of intelligently generated video categories. ClassificationSet []*MediaAiAnalysisClassificationItem `json:"ClassificationSet,omitnil" name:"ClassificationSet"` }
type AiAnalysisTaskClassificationResult ¶
type AiAnalysisTaskClassificationResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; otherwise it is failed. This parameter is no longer recommended. Consider using the new error code parameter ErrCodeExt. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil" name:"Message"` // Input of intelligent categorization task. Input *AiAnalysisTaskClassificationInput `json:"Input,omitnil" name:"Input"` // Output of intelligent categorization task. Output *AiAnalysisTaskClassificationOutput `json:"Output,omitnil" name:"Output"` }
type AiAnalysisTaskCoverInput ¶
type AiAnalysisTaskCoverInput struct { // Intelligent video cover generating template ID. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` }
type AiAnalysisTaskCoverOutput ¶
type AiAnalysisTaskCoverOutput struct { // List of intelligently generated covers. CoverSet []*MediaAiAnalysisCoverItem `json:"CoverSet,omitnil" name:"CoverSet"` // Storage location of intelligently generated cover. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` }
type AiAnalysisTaskCoverResult ¶
type AiAnalysisTaskCoverResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; otherwise it is failed. This parameter is no longer recommended. Consider using the new error code parameter ErrCodeExt. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil" name:"Message"` // Input of intelligent cover generating task. Input *AiAnalysisTaskCoverInput `json:"Input,omitnil" name:"Input"` // Output of intelligent cover generating task. Output *AiAnalysisTaskCoverOutput `json:"Output,omitnil" name:"Output"` }
type AiAnalysisTaskFrameTagInput ¶
type AiAnalysisTaskFrameTagInput struct { // Intelligent frame-specific video tagging template ID. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` }
type AiAnalysisTaskFrameTagOutput ¶
type AiAnalysisTaskFrameTagOutput struct { // List of frame-specific video tags. SegmentSet []*MediaAiAnalysisFrameTagSegmentItem `json:"SegmentSet,omitnil" name:"SegmentSet"` }
type AiAnalysisTaskFrameTagResult ¶
type AiAnalysisTaskFrameTagResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; otherwise it is failed. This parameter is no longer recommended. Consider using the new error code parameter ErrCodeExt. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil" name:"Message"` // Input of intelligent frame-specific tagging task. Input *AiAnalysisTaskFrameTagInput `json:"Input,omitnil" name:"Input"` // Output of intelligent frame-specific tagging task. Output *AiAnalysisTaskFrameTagOutput `json:"Output,omitnil" name:"Output"` }
type AiAnalysisTaskHighlightInput ¶
type AiAnalysisTaskHighlightInput struct { // The ID of the intelligent highlight generation template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` }
type AiAnalysisTaskHighlightOutput ¶
type AiAnalysisTaskHighlightOutput struct { // A list of the highlight segments generated. HighlightSet []*MediaAiAnalysisHighlightItem `json:"HighlightSet,omitnil" name:"HighlightSet"` // The storage location of the highlight segments. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` }
type AiAnalysisTaskHighlightResult ¶
type AiAnalysisTaskHighlightResult struct { // The task status. Valid values: `PROCESSING`, `SUCCESS`, `FAIL`. Status *string `json:"Status,omitnil" name:"Status"` // Error code. `0`: The task succeeded; other values: The task failed. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // The error message. Message *string `json:"Message,omitnil" name:"Message"` // The input of the intelligent highlight generation task. Input *AiAnalysisTaskHighlightInput `json:"Input,omitnil" name:"Input"` // The output of the intelligent highlight generation task. // Note: This field may return null, indicating that no valid values can be obtained. Output *AiAnalysisTaskHighlightOutput `json:"Output,omitnil" name:"Output"` }
type AiAnalysisTaskInput ¶
type AiAnalysisTaskInput struct { // Video content analysis template ID. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // An extended parameter, whose value is a stringfied JSON. // Note: This parameter is for customers with special requirements. It needs to be customized offline. // Note: This field may return null, indicating that no valid values can be obtained. ExtendedParameter *string `json:"ExtendedParameter,omitnil" name:"ExtendedParameter"` }
type AiAnalysisTaskTagInput ¶
type AiAnalysisTaskTagInput struct { // Intelligent video tagging template ID. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` }
type AiAnalysisTaskTagOutput ¶
type AiAnalysisTaskTagOutput struct { // List of intelligently generated video tags. TagSet []*MediaAiAnalysisTagItem `json:"TagSet,omitnil" name:"TagSet"` }
type AiAnalysisTaskTagResult ¶
type AiAnalysisTaskTagResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; otherwise it is failed. This parameter is no longer recommended. Consider using the new error code parameter ErrCodeExt. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil" name:"Message"` // Input of intelligent tagging task. Input *AiAnalysisTaskTagInput `json:"Input,omitnil" name:"Input"` // Output of intelligent tagging task. Output *AiAnalysisTaskTagOutput `json:"Output,omitnil" name:"Output"` }
type AiContentReviewResult ¶
type AiContentReviewResult struct { // Task type. Valid values: // <li>Porn (in images)</li> // <li>Terrorism (in images)</li> // <li>Political (in images)</li> // <li>Porn.Asr</li> // <li>Porn.Ocr</li> // <li>Political.Asr</li> // <li>Political.Ocr</li> // <li>Terrorism.Ocr</li> // <li>Prohibited.Asr</li> // <li>Prohibited.Ocr</li> Type *string `json:"Type,omitnil" name:"Type"` // Sample rate, which indicates the number of video frames captured per second for audit SampleRate *float64 `json:"SampleRate,omitnil" name:"SampleRate"` // Audited video duration in seconds. Duration *float64 `json:"Duration,omitnil" name:"Duration"` // Query result of an intelligent porn information detection in image task in video content audit, which is valid when task type is `Porn`. // Note: This field may return null, indicating that no valid values can be obtained. PornTask *AiReviewTaskPornResult `json:"PornTask,omitnil" name:"PornTask"` // The result of detecting terrorism content in images, which is valid when the task type is `Terrorism`. // Note: This field may return `null`, indicating that no valid values can be obtained. TerrorismTask *AiReviewTaskTerrorismResult `json:"TerrorismTask,omitnil" name:"TerrorismTask"` // The result of detecting politically sensitive information in images, which is valid when the task type is `Political`. // Note: This field may return `null`, indicating that no valid values can be obtained. PoliticalTask *AiReviewTaskPoliticalResult `json:"PoliticalTask,omitnil" name:"PoliticalTask"` // Query result of an ASR-based porn information detection in text task in video content audit, which is valid when task type is `Porn.Asr`. // Note: This field may return null, indicating that no valid values can be obtained. PornAsrTask *AiReviewTaskPornAsrResult `json:"PornAsrTask,omitnil" name:"PornAsrTask"` // Query result of an OCR-based porn information detection in text task in video content audit, which is valid when task type is `Porn.Ocr`. // Note: This field may return null, indicating that no valid values can be obtained. PornOcrTask *AiReviewTaskPornOcrResult `json:"PornOcrTask,omitnil" name:"PornOcrTask"` // The result of detecting politically sensitive information based on ASR, which is valid when the task type is `Political.Asr`. // Note: This field may return `null`, indicating that no valid values can be obtained. PoliticalAsrTask *AiReviewTaskPoliticalAsrResult `json:"PoliticalAsrTask,omitnil" name:"PoliticalAsrTask"` // The result of detecting politically sensitive information based on OCR, which is valid when the task type is `Political.Ocr`. // Note: This field may return `null`, indicating that no valid values can be obtained. PoliticalOcrTask *AiReviewTaskPoliticalOcrResult `json:"PoliticalOcrTask,omitnil" name:"PoliticalOcrTask"` // The result of detecting terrorism content based on OCR, which is valid when task type is `Terrorism.Ocr`. // Note: This field may return `null`, indicating that no valid values can be obtained. TerrorismOcrTask *AiReviewTaskTerrorismOcrResult `json:"TerrorismOcrTask,omitnil" name:"TerrorismOcrTask"` // Query result of ASR-based prohibited information detection in speech task in video content audit, which is valid if task type is `Prohibited.Asr`. ProhibitedAsrTask *AiReviewTaskProhibitedAsrResult `json:"ProhibitedAsrTask,omitnil" name:"ProhibitedAsrTask"` // Query result of OCR-based prohibited information detection in text task in video content audit, which is valid if task type is `Prohibited.Ocr`. ProhibitedOcrTask *AiReviewTaskProhibitedOcrResult `json:"ProhibitedOcrTask,omitnil" name:"ProhibitedOcrTask"` }
type AiContentReviewTaskInput ¶
type AiContentReviewTaskInput struct { // Video content audit template ID. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` }
type AiQualityControlTaskInput ¶
type AiQualityControlTaskInput struct { // The ID of the quality control template. // Note: This field may return null, indicating that no valid values can be obtained. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // The channel extension parameter, which is a serialized JSON string. // Note: This field may return null, indicating that no valid values can be obtained. ChannelExtPara *string `json:"ChannelExtPara,omitnil" name:"ChannelExtPara"` }
type AiRecognitionResult ¶
type AiRecognitionResult struct { // The task type. Valid values: // <li>FaceRecognition: Face recognition</li> // <li>AsrWordsRecognition: Speech keyword recognition</li> // <li>OcrWordsRecognition: Text keyword recognition</li> // <li>AsrFullTextRecognition: Full speech recognition</li> // <li>OcrFullTextRecognition: Full text recognition</li> // <li>TransTextRecognition: Speech translation</li> Type *string `json:"Type,omitnil" name:"Type"` // Face recognition result, which is valid when `Type` is // `FaceRecognition`. // Note: This field may return null, indicating that no valid values can be obtained. FaceTask *AiRecognitionTaskFaceResult `json:"FaceTask,omitnil" name:"FaceTask"` // Speech keyword recognition result, which is valid when `Type` is // `AsrWordsRecognition`. // Note: This field may return null, indicating that no valid values can be obtained. AsrWordsTask *AiRecognitionTaskAsrWordsResult `json:"AsrWordsTask,omitnil" name:"AsrWordsTask"` // Full speech recognition result, which is valid when `Type` is // `AsrFullTextRecognition`. // Note: This field may return null, indicating that no valid values can be obtained. AsrFullTextTask *AiRecognitionTaskAsrFullTextResult `json:"AsrFullTextTask,omitnil" name:"AsrFullTextTask"` // Text keyword recognition result, which is valid when `Type` is // `OcrWordsRecognition`. // Note: This field may return null, indicating that no valid values can be obtained. OcrWordsTask *AiRecognitionTaskOcrWordsResult `json:"OcrWordsTask,omitnil" name:"OcrWordsTask"` // Full text recognition result, which is valid when `Type` is // `OcrFullTextRecognition`. // Note: This field may return null, indicating that no valid values can be obtained. OcrFullTextTask *AiRecognitionTaskOcrFullTextResult `json:"OcrFullTextTask,omitnil" name:"OcrFullTextTask"` // The translation result. This parameter is valid only if `Type` is // `TransTextRecognition`. // Note: This field may return null, indicating that no valid values can be obtained. TransTextTask *AiRecognitionTaskTransTextResult `json:"TransTextTask,omitnil" name:"TransTextTask"` }
type AiRecognitionTaskAsrFullTextResult ¶
type AiRecognitionTaskAsrFullTextResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; otherwise it is failed. This parameter is no longer recommended. Consider using the new error code parameter ErrCodeExt. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil" name:"Message"` // Input information of a full speech recognition task. Input *AiRecognitionTaskAsrFullTextResultInput `json:"Input,omitnil" name:"Input"` // Output information of a full speech recognition task. // Note: This field may return null, indicating that no valid values can be obtained. Output *AiRecognitionTaskAsrFullTextResultOutput `json:"Output,omitnil" name:"Output"` }
type AiRecognitionTaskAsrFullTextResultInput ¶
type AiRecognitionTaskAsrFullTextResultInput struct { // Full speech recognition template ID. Definition *int64 `json:"Definition,omitnil" name:"Definition"` }
type AiRecognitionTaskAsrFullTextResultOutput ¶
type AiRecognitionTaskAsrFullTextResultOutput struct { // List of full speech recognition segments. SegmentSet []*AiRecognitionTaskAsrFullTextSegmentItem `json:"SegmentSet,omitnil" name:"SegmentSet"` // Subtitles file address. SubtitlePath *string `json:"SubtitlePath,omitnil" name:"SubtitlePath"` // Subtitles file storage location. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` }
type AiRecognitionTaskAsrFullTextSegmentItem ¶
type AiRecognitionTaskAsrFullTextSegmentItem struct { // Confidence of a recognition segment. Value range: 0-100. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // Start time offset of a recognition segment in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil" name:"StartTimeOffset"` // End time offset of a recognition segment in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil" name:"EndTimeOffset"` // Recognized text. Text *string `json:"Text,omitnil" name:"Text"` }
type AiRecognitionTaskAsrWordsResult ¶
type AiRecognitionTaskAsrWordsResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; otherwise it is failed. This parameter is no longer recommended. Consider using the new error code parameter ErrCodeExt. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil" name:"Message"` // Input information of a speech keyword recognition task. Input *AiRecognitionTaskAsrWordsResultInput `json:"Input,omitnil" name:"Input"` // Output information of a speech keyword recognition task. // Note: This field may return null, indicating that no valid values can be obtained. Output *AiRecognitionTaskAsrWordsResultOutput `json:"Output,omitnil" name:"Output"` }
type AiRecognitionTaskAsrWordsResultInput ¶
type AiRecognitionTaskAsrWordsResultInput struct { // Speech keyword recognition template ID. Definition *int64 `json:"Definition,omitnil" name:"Definition"` }
type AiRecognitionTaskAsrWordsResultItem ¶
type AiRecognitionTaskAsrWordsResultItem struct { // Speech keyword. Word *string `json:"Word,omitnil" name:"Word"` // List of time segments that contain the speech keyword. SegmentSet []*AiRecognitionTaskAsrWordsSegmentItem `json:"SegmentSet,omitnil" name:"SegmentSet"` }
type AiRecognitionTaskAsrWordsResultOutput ¶
type AiRecognitionTaskAsrWordsResultOutput struct { // Speech keyword recognition result set. ResultSet []*AiRecognitionTaskAsrWordsResultItem `json:"ResultSet,omitnil" name:"ResultSet"` }
type AiRecognitionTaskAsrWordsSegmentItem ¶
type AiRecognitionTaskAsrWordsSegmentItem struct { // Start time offset of a recognition segment in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil" name:"StartTimeOffset"` // End time offset of a recognition segment in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil" name:"EndTimeOffset"` // Confidence of a recognition segment. Value range: 0-100. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` }
type AiRecognitionTaskFaceResult ¶
type AiRecognitionTaskFaceResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; otherwise it is failed. This parameter is no longer recommended. Consider using the new error code parameter ErrCodeExt. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil" name:"Message"` // Input information of a face recognition task. Input *AiRecognitionTaskFaceResultInput `json:"Input,omitnil" name:"Input"` // Output information of a face recognition task. // Note: This field may return null, indicating that no valid values can be obtained. Output *AiRecognitionTaskFaceResultOutput `json:"Output,omitnil" name:"Output"` }
type AiRecognitionTaskFaceResultInput ¶
type AiRecognitionTaskFaceResultInput struct { // Face recognition template ID. Definition *int64 `json:"Definition,omitnil" name:"Definition"` }
type AiRecognitionTaskFaceResultItem ¶
type AiRecognitionTaskFaceResultItem struct { // Unique ID of a figure. Id *string `json:"Id,omitnil" name:"Id"` // Figure library type, indicating to which figure library the recognized figure belongs: // <li>Default: Default figure library;</li> // <li>UserDefine: Custom figure library.</li> Type *string `json:"Type,omitnil" name:"Type"` // Name of a figure. Name *string `json:"Name,omitnil" name:"Name"` // Result set of segments that contain a figure. SegmentSet []*AiRecognitionTaskFaceSegmentItem `json:"SegmentSet,omitnil" name:"SegmentSet"` // The person’s gender. // <li>Male</li> // <li>Female</li> // Note: This field may return null, indicating that no valid value can be obtained. Gender *string `json:"Gender,omitnil" name:"Gender"` // The person’s birth date. // Note: This field may return null, indicating that no valid value can be obtained. Birthday *string `json:"Birthday,omitnil" name:"Birthday"` // The person’s job or job title. // Note: This field may return null, indicating that no valid value can be obtained. Profession *string `json:"Profession,omitnil" name:"Profession"` // The college the person graduated from. // Note: This field may return null, indicating that no valid value can be obtained. SchoolOfGraduation *string `json:"SchoolOfGraduation,omitnil" name:"SchoolOfGraduation"` // The person’s profile. // Note: This field may return null, indicating that no valid value can be obtained. Abstract *string `json:"Abstract,omitnil" name:"Abstract"` // The person’s place of birth. // Note: This field may return null, indicating that no valid value can be obtained. PlaceOfBirth *string `json:"PlaceOfBirth,omitnil" name:"PlaceOfBirth"` // Whether the person is a politician or artist. // <li>Politician</li> // <li>Artist</li> // Note: This field may return null, indicating that no valid value can be obtained. PersonType *string `json:"PersonType,omitnil" name:"PersonType"` // Sensitivity // <li>Normal</li> // <li>Sensitive</li> // Note: This field may return null, indicating that no valid value can be obtained. Remark *string `json:"Remark,omitnil" name:"Remark"` // The screenshot URL. // Note: This field may return null, indicating that no valid value can be obtained. Url *string `json:"Url,omitnil" name:"Url"` }
type AiRecognitionTaskFaceResultOutput ¶
type AiRecognitionTaskFaceResultOutput struct { // Intelligent face recognition result set. ResultSet []*AiRecognitionTaskFaceResultItem `json:"ResultSet,omitnil" name:"ResultSet"` }
type AiRecognitionTaskFaceSegmentItem ¶
type AiRecognitionTaskFaceSegmentItem struct { // Start time offset of a recognition segment in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil" name:"StartTimeOffset"` // End time offset of a recognition segment in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil" name:"EndTimeOffset"` // Confidence of a recognition segment. Value range: 0-100. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // Zone coordinates of a recognition result. The array contains four elements: [x1,y1,x2,y2], i.e., the horizontal and vertical coordinates of the top-left and bottom-right corners. AreaCoordSet []*int64 `json:"AreaCoordSet,omitnil" name:"AreaCoordSet"` }
type AiRecognitionTaskInput ¶
type AiRecognitionTaskInput struct { // Intelligent video recognition template ID. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` }
type AiRecognitionTaskOcrFullTextResult ¶
type AiRecognitionTaskOcrFullTextResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; otherwise it is failed. This parameter is no longer recommended. Consider using the new error code parameter ErrCodeExt. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil" name:"Message"` // Input information of a full text recognition task. Input *AiRecognitionTaskOcrFullTextResultInput `json:"Input,omitnil" name:"Input"` // Output information of a full text recognition task. // Note: This field may return null, indicating that no valid values can be obtained. Output *AiRecognitionTaskOcrFullTextResultOutput `json:"Output,omitnil" name:"Output"` }
type AiRecognitionTaskOcrFullTextResultInput ¶
type AiRecognitionTaskOcrFullTextResultInput struct { // Full text recognition template ID. Definition *int64 `json:"Definition,omitnil" name:"Definition"` }
type AiRecognitionTaskOcrFullTextResultOutput ¶
type AiRecognitionTaskOcrFullTextResultOutput struct { // Full text recognition result set. SegmentSet []*AiRecognitionTaskOcrFullTextSegmentItem `json:"SegmentSet,omitnil" name:"SegmentSet"` }
type AiRecognitionTaskOcrFullTextSegmentItem ¶
type AiRecognitionTaskOcrFullTextSegmentItem struct { // Start time offset of a recognition segment in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil" name:"StartTimeOffset"` // End time offset of a recognition segment in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil" name:"EndTimeOffset"` // Recognition segment result set. TextSet []*AiRecognitionTaskOcrFullTextSegmentTextItem `json:"TextSet,omitnil" name:"TextSet"` }
type AiRecognitionTaskOcrFullTextSegmentTextItem ¶
type AiRecognitionTaskOcrFullTextSegmentTextItem struct { // Confidence of a recognition segment. Value range: 0-100. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // Zone coordinates of a recognition result. The array contains four elements: [x1,y1,x2,y2], i.e., the horizontal and vertical coordinates of the top-left and bottom-right corners. AreaCoordSet []*int64 `json:"AreaCoordSet,omitnil" name:"AreaCoordSet"` // Recognized text. Text *string `json:"Text,omitnil" name:"Text"` }
type AiRecognitionTaskOcrWordsResult ¶
type AiRecognitionTaskOcrWordsResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; otherwise it is failed. This parameter is no longer recommended. Consider using the new error code parameter ErrCodeExt. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil" name:"Message"` // Input information of a text keyword recognition task. Input *AiRecognitionTaskOcrWordsResultInput `json:"Input,omitnil" name:"Input"` // Output information of a text keyword recognition task. // Note: This field may return null, indicating that no valid values can be obtained. Output *AiRecognitionTaskOcrWordsResultOutput `json:"Output,omitnil" name:"Output"` }
type AiRecognitionTaskOcrWordsResultInput ¶
type AiRecognitionTaskOcrWordsResultInput struct { // Text keyword recognition template ID. Definition *int64 `json:"Definition,omitnil" name:"Definition"` }
type AiRecognitionTaskOcrWordsResultItem ¶
type AiRecognitionTaskOcrWordsResultItem struct { // Text keyword. Word *string `json:"Word,omitnil" name:"Word"` // List of segments that contain a text keyword. SegmentSet []*AiRecognitionTaskOcrWordsSegmentItem `json:"SegmentSet,omitnil" name:"SegmentSet"` }
type AiRecognitionTaskOcrWordsResultOutput ¶
type AiRecognitionTaskOcrWordsResultOutput struct { // Text keyword recognition result set. ResultSet []*AiRecognitionTaskOcrWordsResultItem `json:"ResultSet,omitnil" name:"ResultSet"` }
type AiRecognitionTaskOcrWordsSegmentItem ¶
type AiRecognitionTaskOcrWordsSegmentItem struct { // Start time offset of a recognition segment in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil" name:"StartTimeOffset"` // End time offset of a recognition segment in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil" name:"EndTimeOffset"` // Confidence of a recognition segment. Value range: 0-100. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // Zone coordinates of a recognition result. The array contains four elements: [x1,y1,x2,y2], i.e., the horizontal and vertical coordinates of the top-left and bottom-right corners. AreaCoordSet []*int64 `json:"AreaCoordSet,omitnil" name:"AreaCoordSet"` }
type AiRecognitionTaskTransTextResult ¶
type AiRecognitionTaskTransTextResult struct { // The task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value indicates the task has failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // The error code. `0` indicates the task is successful; other values indicate the task has failed. This parameter is not recommended. Please use `ErrCodeExt` instead. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // The error message. Message *string `json:"Message,omitnil" name:"Message"` // The input of the translation task. Input *AiRecognitionTaskTransTextResultInput `json:"Input,omitnil" name:"Input"` // The output of the translation task. // Note: This field may return null, indicating that no valid values can be obtained. Output *AiRecognitionTaskTransTextResultOutput `json:"Output,omitnil" name:"Output"` }
type AiRecognitionTaskTransTextResultInput ¶
type AiRecognitionTaskTransTextResultInput struct { // The translation template ID. Definition *int64 `json:"Definition,omitnil" name:"Definition"` }
type AiRecognitionTaskTransTextResultOutput ¶
type AiRecognitionTaskTransTextResultOutput struct { // The translated segments. SegmentSet []*AiRecognitionTaskTransTextSegmentItem `json:"SegmentSet,omitnil" name:"SegmentSet"` // The subtitle URL. SubtitlePath *string `json:"SubtitlePath,omitnil" name:"SubtitlePath"` // The subtitle storage location. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` }
type AiRecognitionTaskTransTextSegmentItem ¶
type AiRecognitionTaskTransTextSegmentItem struct { // The confidence score for a segment. Value range: 0-100. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // The start time offset (seconds) of a segment. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil" name:"StartTimeOffset"` // The end time offset (seconds) of a segment. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil" name:"EndTimeOffset"` // The text transcript. Text *string `json:"Text,omitnil" name:"Text"` // The translation. Trans *string `json:"Trans,omitnil" name:"Trans"` }
type AiReviewPoliticalAsrTaskInput ¶
type AiReviewPoliticalAsrTaskInput struct { // The template ID. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` }
type AiReviewPoliticalAsrTaskOutput ¶
type AiReviewPoliticalAsrTaskOutput struct { // The confidence score for the ASR-based detection of sensitive information. Value range: 0-100. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // The suggestion for handling the sensitive information detected based on ASR. Valid values: // <li>pass</li> // <li>review</li> // <li>block</li> Suggestion *string `json:"Suggestion,omitnil" name:"Suggestion"` // The video segments that contain sensitive information detected based on ASR. SegmentSet []*MediaContentReviewAsrTextSegmentItem `json:"SegmentSet,omitnil" name:"SegmentSet"` }
type AiReviewPoliticalOcrTaskInput ¶
type AiReviewPoliticalOcrTaskInput struct { // The template ID. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` }
type AiReviewPoliticalOcrTaskOutput ¶
type AiReviewPoliticalOcrTaskOutput struct { // The confidence score for the OCR-based detection of sensitive information. Value range: 0-100. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // The suggestion for handling the sensitive information detected based on OCR. Valid values: // <li>pass</li> // <li>review</li> // <li>block</li> Suggestion *string `json:"Suggestion,omitnil" name:"Suggestion"` // The video segments that contain sensitive information detected based on OCR. SegmentSet []*MediaContentReviewOcrTextSegmentItem `json:"SegmentSet,omitnil" name:"SegmentSet"` }
type AiReviewPoliticalTaskInput ¶
type AiReviewPoliticalTaskInput struct { // The template ID. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` }
type AiReviewPoliticalTaskOutput ¶
type AiReviewPoliticalTaskOutput struct { // The confidence score for the detection of sensitive information. Value range: 0-100. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // The suggestion for handling the sensitive information detected. Valid values: // <li>pass</li> // <li>review</li> // <li>block</li> Suggestion *string `json:"Suggestion,omitnil" name:"Suggestion"` // The labels for the detected sensitive content. The relationship between the values of this parameter and those of the `LabelSet` parameter in [PoliticalImgReviewTemplateInfo](https://intl.cloud.tencent.com/document/api/862/37615?from_cn_redirect=1#AiReviewPoliticalTaskOutput) is as follows: // violation_photo: // <li>violation_photo (banned icons)</li> // Other values (politician/entertainment/sport/entrepreneur/scholar/celebrity/military): // <li>politician</li> Label *string `json:"Label,omitnil" name:"Label"` // The video segments that contain sensitive information. SegmentSet []*MediaContentReviewPoliticalSegmentItem `json:"SegmentSet,omitnil" name:"SegmentSet"` }
type AiReviewPornAsrTaskInput ¶
type AiReviewPornAsrTaskInput struct { // ID of a porn information detection template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` }
type AiReviewPornAsrTaskOutput ¶
type AiReviewPornAsrTaskOutput struct { // Score of the ASR-detected porn information in text from 0 to 100. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // Suggestion for the ASR-detected porn information in text. Valid values: // <li>pass.</li> // <li>review.</li> // <li>block.</li> Suggestion *string `json:"Suggestion,omitnil" name:"Suggestion"` // List of video segments that contain the ASR-detected porn information in text. SegmentSet []*MediaContentReviewAsrTextSegmentItem `json:"SegmentSet,omitnil" name:"SegmentSet"` }
type AiReviewPornOcrTaskInput ¶
type AiReviewPornOcrTaskInput struct { // ID of a porn information detection template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` }
type AiReviewPornOcrTaskOutput ¶
type AiReviewPornOcrTaskOutput struct { // Score of the OCR-detected porn information in text from 0 to 100. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // Suggestion for the OCR-detected porn information in text. Valid values: // <li>pass.</li> // <li>review.</li> // <li>block.</li> Suggestion *string `json:"Suggestion,omitnil" name:"Suggestion"` // List of video segments that contain the OCR-detected porn information in text. SegmentSet []*MediaContentReviewOcrTextSegmentItem `json:"SegmentSet,omitnil" name:"SegmentSet"` }
type AiReviewPornTaskInput ¶
type AiReviewPornTaskInput struct { // ID of a porn information detection template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` }
type AiReviewPornTaskOutput ¶
type AiReviewPornTaskOutput struct { // Score of the detected porn information in video from 0 to 100. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // Suggestion for the detected porn information. Valid values: // <li>pass.</li> // <li>review.</li> // <li>block.</li> Suggestion *string `json:"Suggestion,omitnil" name:"Suggestion"` // Tag of the detected porn information in video. Valid values: // <li>porn: Porn.</li> // <li>sexy: Sexiness.</li> // <li>vulgar: Vulgarity.</li> // <li>intimacy: Intimacy.</li> Label *string `json:"Label,omitnil" name:"Label"` // List of video segments that contain the detected porn information. SegmentSet []*MediaContentReviewSegmentItem `json:"SegmentSet,omitnil" name:"SegmentSet"` }
type AiReviewProhibitedAsrTaskInput ¶
type AiReviewProhibitedAsrTaskInput struct { // Prohibited information detection template ID. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` }
type AiReviewProhibitedAsrTaskOutput ¶
type AiReviewProhibitedAsrTaskOutput struct { // Score of ASR-detected prohibited information in speech between 0 and 100. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // Suggestion for ASR-detected prohibited information in speech. Valid values: // <li>pass.</li> // <li>review.</li> // <li>block.</li> Suggestion *string `json:"Suggestion,omitnil" name:"Suggestion"` // List of video segments that contain the ASR-detected prohibited information in speech. SegmentSet []*MediaContentReviewAsrTextSegmentItem `json:"SegmentSet,omitnil" name:"SegmentSet"` }
type AiReviewProhibitedOcrTaskInput ¶
type AiReviewProhibitedOcrTaskInput struct { // Prohibited information detection template ID. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` }
type AiReviewProhibitedOcrTaskOutput ¶
type AiReviewProhibitedOcrTaskOutput struct { // Score of OCR-detected prohibited information in text between 0 and 100. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // Suggestion for OCR-detected prohibited information in text. Valid values: // <li>pass.</li> // <li>review.</li> // <li>block.</li> Suggestion *string `json:"Suggestion,omitnil" name:"Suggestion"` // List of video segments that contain the OCR-detected prohibited information in text. SegmentSet []*MediaContentReviewOcrTextSegmentItem `json:"SegmentSet,omitnil" name:"SegmentSet"` }
type AiReviewTaskPoliticalAsrResult ¶
type AiReviewTaskPoliticalAsrResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; otherwise it is failed. This parameter is no longer recommended. Consider using the new error code parameter ErrCodeExt. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil" name:"Message"` // The input parameter for ASR-based detection of politically sensitive information. Input *AiReviewPoliticalAsrTaskInput `json:"Input,omitnil" name:"Input"` // The output of ASR-based detection of politically sensitive information. // Note: This field may return `null`, indicating that no valid values can be obtained. Output *AiReviewPoliticalAsrTaskOutput `json:"Output,omitnil" name:"Output"` }
type AiReviewTaskPoliticalOcrResult ¶
type AiReviewTaskPoliticalOcrResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; otherwise it is failed. This parameter is no longer recommended. Consider using the new error code parameter ErrCodeExt. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil" name:"Message"` // The input parameter for OCR-based detection of politically sensitive information. Input *AiReviewPoliticalOcrTaskInput `json:"Input,omitnil" name:"Input"` // The output of OCR-based detection of politically sensitive information. // Note: This field may return `null`, indicating that no valid values can be obtained. Output *AiReviewPoliticalOcrTaskOutput `json:"Output,omitnil" name:"Output"` }
type AiReviewTaskPoliticalResult ¶
type AiReviewTaskPoliticalResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; otherwise it is failed. This parameter is no longer recommended. Consider using the new error code parameter ErrCodeExt. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil" name:"Message"` // The input parameter for sensitive information detection. Input *AiReviewPoliticalTaskInput `json:"Input,omitnil" name:"Input"` // The output of sensitive information detection. // Note: This field may return `null`, indicating that no valid values can be obtained. Output *AiReviewPoliticalTaskOutput `json:"Output,omitnil" name:"Output"` }
type AiReviewTaskPornAsrResult ¶
type AiReviewTaskPornAsrResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; otherwise it is failed. This parameter is no longer recommended. Consider using the new error code parameter ErrCodeExt. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil" name:"Message"` // Input for an ASR-based porn information detection in text task during content audit. Input *AiReviewPornAsrTaskInput `json:"Input,omitnil" name:"Input"` // Output of an ASR-based porn information detection in text task during content audit. // Note: This field may return null, indicating that no valid values can be obtained. Output *AiReviewPornAsrTaskOutput `json:"Output,omitnil" name:"Output"` }
type AiReviewTaskPornOcrResult ¶
type AiReviewTaskPornOcrResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; otherwise it is failed. This parameter is no longer recommended. Consider using the new error code parameter ErrCodeExt. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil" name:"Message"` // Input for an OCR-based porn information detection in text task during content audit. Input *AiReviewPornOcrTaskInput `json:"Input,omitnil" name:"Input"` // Output of an OCR-based porn information detection in text task during content audit. // Note: This field may return null, indicating that no valid values can be obtained. Output *AiReviewPornOcrTaskOutput `json:"Output,omitnil" name:"Output"` }
type AiReviewTaskPornResult ¶
type AiReviewTaskPornResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; otherwise it is failed. This parameter is no longer recommended. Consider using the new error code parameter ErrCodeExt. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil" name:"Message"` // Input for a porn information detection task during content audit. Input *AiReviewPornTaskInput `json:"Input,omitnil" name:"Input"` // Output of a porn information detection task during content audit. // Note: This field may return null, indicating that no valid values can be obtained. Output *AiReviewPornTaskOutput `json:"Output,omitnil" name:"Output"` }
type AiReviewTaskProhibitedAsrResult ¶
type AiReviewTaskProhibitedAsrResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // Error code. 0: success; other values: failure. // <li>40000: invalid input parameter. Please check it;</li> // <li>60000: invalid source file (e.g., video data is corrupted). Please check whether the source file is normal;</li> // <li>70000: internal service error. Please try again.</li> ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil" name:"Message"` // Input of ASR-based prohibited information detection in speech task in content audit Input *AiReviewProhibitedAsrTaskInput `json:"Input,omitnil" name:"Input"` // Output of ASR-based prohibited information detection in speech task in content audit Output *AiReviewProhibitedAsrTaskOutput `json:"Output,omitnil" name:"Output"` }
type AiReviewTaskProhibitedOcrResult ¶
type AiReviewTaskProhibitedOcrResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // Error code. 0: success; other values: failure. // <li>40000: invalid input parameter. Please check it;</li> // <li>60000: invalid source file (e.g., video data is corrupted). Please check whether the source file is normal;</li> // <li>70000: internal service error. Please try again.</li> ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil" name:"Message"` // Input of OCR-based prohibited information detection in text task in content audit Input *AiReviewProhibitedOcrTaskInput `json:"Input,omitnil" name:"Input"` // Output of OCR-based prohibited information detection in text task in content audit Output *AiReviewProhibitedOcrTaskOutput `json:"Output,omitnil" name:"Output"` }
type AiReviewTaskTerrorismOcrResult ¶
type AiReviewTaskTerrorismOcrResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // Error code. 0: success; other values: failure. // <li>40000: invalid input parameter. Please check it;</li> // <li>60000: invalid source file (e.g., video data is corrupted). Please check whether the source file is normal;</li> // <li>70000: internal service error. Please try again.</li> ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil" name:"Message"` // The input parameter for OCR-based detection of terrorism content. Input *AiReviewTerrorismOcrTaskInput `json:"Input,omitnil" name:"Input"` // The output of OCR-based detection of terrorism content. // Note: This field may return `null`, indicating that no valid values can be obtained. Output *AiReviewTerrorismOcrTaskOutput `json:"Output,omitnil" name:"Output"` }
type AiReviewTaskTerrorismResult ¶
type AiReviewTaskTerrorismResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; otherwise it is failed. This parameter is no longer recommended. Consider using the new error code parameter ErrCodeExt. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil" name:"Message"` // The input parameter for sensitive information detection. Input *AiReviewTerrorismTaskInput `json:"Input,omitnil" name:"Input"` // The output of sensitive information detection. // Note: This field may return `null`, indicating that no valid values can be obtained. Output *AiReviewTerrorismTaskOutput `json:"Output,omitnil" name:"Output"` }
type AiReviewTerrorismOcrTaskInput ¶
type AiReviewTerrorismOcrTaskInput struct { // The template ID. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` }
type AiReviewTerrorismOcrTaskOutput ¶
type AiReviewTerrorismOcrTaskOutput struct { // The confidence score for the OCR-based detection of sensitive information. Value range: 1-100. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // The suggestion for handling the sensitive information detected based on OCR. Valid values: // <li>pass</li> // <li>review</li> // <li>block</li> Suggestion *string `json:"Suggestion,omitnil" name:"Suggestion"` // The video segments that contain sensitive information detected based on OCR. SegmentSet []*MediaContentReviewOcrTextSegmentItem `json:"SegmentSet,omitnil" name:"SegmentSet"` }
type AiReviewTerrorismTaskInput ¶
type AiReviewTerrorismTaskInput struct { // The template ID. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` }
type AiReviewTerrorismTaskOutput ¶
type AiReviewTerrorismTaskOutput struct { // The confidence score for the detection of sensitive information. Value range: 0-100. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // The suggestion for handling the sensitive information detected. Valid values: // <li>pass</li> // <li>review</li> // <li>block</li> Suggestion *string `json:"Suggestion,omitnil" name:"Suggestion"` // The labels for the detected sensitive content. Valid values: // <li>guns</li> // <li>crowd</li> // <li>police</li> // <li>bloody</li> // <li>banners (sensitive flags)</li> // <li>militant</li> // <li>explosion</li> // <li>terrorists</li> // <li>scenario (sensitive scenes) </li> Label *string `json:"Label,omitnil" name:"Label"` // The video segments that contain sensitive information. SegmentSet []*MediaContentReviewSegmentItem `json:"SegmentSet,omitnil" name:"SegmentSet"` }
type AiSampleFaceInfo ¶
type AiSampleFaceOperation ¶
type AiSampleFaceOperation struct { // Operation type. Valid values: add, delete, reset. The `reset` operation will clear the existing face data of a figure and add `FaceContents` as the specified face data. Type *string `json:"Type,omitnil" name:"Type"` // Face ID set. This field is required when `Type` is `delete`. FaceIds []*string `json:"FaceIds,omitnil" name:"FaceIds"` // String set generated by [Base64-encoding](https://tools.ietf.org/html/rfc4648) the face image. // <li>This field is required when `Type` is `add` or `reset`;</li> // <li>Array length limit: 5 images.</li> // Note: The image must be a relatively clear full-face photo of a figure in at least 200 * 200 px. FaceContents []*string `json:"FaceContents,omitnil" name:"FaceContents"` }
type AiSampleFailFaceInfo ¶
type AiSampleFailFaceInfo struct { // Corresponds to incorrect image subscripts in the `FaceContents` input parameter, starting from 0. Index *uint64 `json:"Index,omitnil" name:"Index"` // Error code. Valid values: // <li>0: Succeeded;</li> // <li>Other values: Failed.</li> ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error description. Message *string `json:"Message,omitnil" name:"Message"` }
type AiSamplePerson ¶
type AiSamplePerson struct { // Figure ID. PersonId *string `json:"PersonId,omitnil" name:"PersonId"` // Name of a figure. Name *string `json:"Name,omitnil" name:"Name"` // Figure description. Description *string `json:"Description,omitnil" name:"Description"` // Face information. FaceInfoSet []*AiSampleFaceInfo `json:"FaceInfoSet,omitnil" name:"FaceInfoSet"` // Figure tag. TagSet []*string `json:"TagSet,omitnil" name:"TagSet"` // Use case. UsageSet []*string `json:"UsageSet,omitnil" name:"UsageSet"` // Creation time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Last modified time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` }
type AiSampleTagOperation ¶
type AiSampleWord ¶
type AiSampleWord struct { // Keyword. Keyword *string `json:"Keyword,omitnil" name:"Keyword"` // Keyword tag. TagSet []*string `json:"TagSet,omitnil" name:"TagSet"` // Keyword use case. UsageSet []*string `json:"UsageSet,omitnil" name:"UsageSet"` // Creation time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Last modified time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` }
type AiSampleWordInfo ¶
type AnimatedGraphicTaskInput ¶
type AnimatedGraphicTaskInput struct { // Animated image generating template ID. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // Start time of an animated image in a video in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil" name:"StartTimeOffset"` // End time of an animated image in a video in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil" name:"EndTimeOffset"` // Target bucket of a generated animated image file. If this parameter is left empty, the `OutputStorage` value of the upper folder will be inherited. // Note: This field may return null, indicating that no valid values can be obtained. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` // Output path to a generated animated image file, which can be a relative path or an absolute path. If this parameter is left empty, the following relative path will be used by default: `{inputName}_animatedGraphic_{definition}.{format}`. OutputObjectPath *string `json:"OutputObjectPath,omitnil" name:"OutputObjectPath"` }
type AnimatedGraphicsTemplate ¶
type AnimatedGraphicsTemplate struct { // Unique ID of an animated image generating template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // Template type. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil" name:"Type"` // Name of an animated image generating template. Name *string `json:"Name,omitnil" name:"Name"` // Description of an animated image generating template. Comment *string `json:"Comment,omitnil" name:"Comment"` // Maximum value of the width (or long side) of an animated image in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Width *uint64 `json:"Width,omitnil" name:"Width"` // Maximum value of the height (or short side) of an animated image in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Height *uint64 `json:"Height,omitnil" name:"Height"` // Resolution adaption. Valid values: // <li>open: Enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: Disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitnil" name:"ResolutionAdaptive"` // Animated image format. Format *string `json:"Format,omitnil" name:"Format"` // Frame rate. Fps *uint64 `json:"Fps,omitnil" name:"Fps"` // Image quality. Quality *float64 `json:"Quality,omitnil" name:"Quality"` // Creation time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Last modified time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` }
type ArtifactRepairConfig ¶
type ArtifactRepairConfig struct { // Whether to enable the feature. Valid values: // <li>ON</li> // <li>OFF</li> // Default value: ON. Switch *string `json:"Switch,omitnil" name:"Switch"` // The strength. Valid values: // <li>weak</li> // <li>strong</li> // Default value: weak. // Note: This field may return null, indicating that no valid values can be obtained. Type *string `json:"Type,omitnil" name:"Type"` }
type AsrFullTextConfigureInfo ¶
type AsrFullTextConfigureInfo struct { // Switch of a full speech recognition task. Valid values: // <li>ON: Enables an intelligent full speech recognition task;</li> // <li>OFF: Disables an intelligent full speech recognition task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Format of the generated subtitles file. If this parameter is left empty or an empty string is entered, no subtitles files will be generated. Valid value: // <li>vtt: Generates a WebVTT subtitles file.</li> SubtitleFormat *string `json:"SubtitleFormat,omitnil" name:"SubtitleFormat"` }
type AsrFullTextConfigureInfoForUpdate ¶
type AsrFullTextConfigureInfoForUpdate struct { // Switch of a full speech recognition task. Valid values: // <li>ON: Enables an intelligent full speech recognition task;</li> // <li>OFF: Disables an intelligent full speech recognition task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Format of the generated subtitles file. If an empty string is entered, no subtitles files will be generated. Valid value: // <li>vtt: Generates a WebVTT subtitles file.</li> SubtitleFormat *string `json:"SubtitleFormat,omitnil" name:"SubtitleFormat"` }
type AsrWordsConfigureInfo ¶
type AsrWordsConfigureInfo struct { // Switch of a speech keyword recognition task. Valid values: // <li>ON: Enables a speech keyword recognition task;</li> // <li>OFF: Disables a speech keyword recognition task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Keyword filter tag, which specifies the keyword tag that needs to be returned. If this parameter is left empty, all results will be returned. // There can be up to 10 tags, each with a length limit of 16 characters. LabelSet []*string `json:"LabelSet,omitnil" name:"LabelSet"` }
type AsrWordsConfigureInfoForUpdate ¶
type AsrWordsConfigureInfoForUpdate struct { // Switch of a speech keyword recognition task. Valid values: // <li>ON: Enables a speech keyword recognition task;</li> // <li>OFF: Disables a speech keyword recognition task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Keyword filter tag, which specifies the keyword tag that needs to be returned. If this parameter is left empty, all results will be returned. // There can be up to 10 tags, each with a length limit of 16 characters. LabelSet []*string `json:"LabelSet,omitnil" name:"LabelSet"` }
type AudioTemplateInfo ¶
type AudioTemplateInfo struct { // Audio stream codec. // When the outer `Container` parameter is `mp3`, the valid value is: // <li>libmp3lame.</li> // When the outer `Container` parameter is `ogg` or `flac`, the valid value is: // <li>flac.</li> // When the outer `Container` parameter is `m4a`, the valid values include: // <li>libfdk_aac;</li> // <li>libmp3lame;</li> // <li>ac3.</li> // When the outer `Container` parameter is `mp4` or `flv`, the valid values include: // <li>libfdk_aac: more suitable for mp4;</li> // <li>libmp3lame: more suitable for flv.</li> // When the outer `Container` parameter is `hls`, the valid values include: // <li>libfdk_aac;</li> // <li>libmp3lame.</li> Codec *string `json:"Codec,omitnil" name:"Codec"` // Audio stream bitrate in Kbps. Value range: 0 and [26, 256]. // If the value is 0, the bitrate of the audio stream will be the same as that of the original audio. Bitrate *uint64 `json:"Bitrate,omitnil" name:"Bitrate"` // Audio stream sample rate. Valid values: // <li>32,000</li> // <li>44,100</li> // <li>48,000</li> // In Hz. SampleRate *uint64 `json:"SampleRate,omitnil" name:"SampleRate"` // Audio channel system. Valid values: // <li>1: Mono</li> // <li>2: Dual</li> // <li>6: Stereo</li> // When the media is packaged in audio format (FLAC, OGG, MP3, M4A), the sound channel cannot be set to stereo. // Default value: 2 AudioChannel *int64 `json:"AudioChannel,omitnil" name:"AudioChannel"` }
type AudioTemplateInfoForUpdate ¶
type AudioTemplateInfoForUpdate struct { // Audio stream codec. // When the outer `Container` parameter is `mp3`, the valid value is: // <li>libmp3lame.</li> // When the outer `Container` parameter is `ogg` or `flac`, the valid value is: // <li>flac.</li> // When the outer `Container` parameter is `m4a`, the valid values include: // <li>libfdk_aac;</li> // <li>libmp3lame;</li> // <li>ac3.</li> // When the outer `Container` parameter is `mp4` or `flv`, the valid values include: // <li>libfdk_aac: More suitable for mp4;</li> // <li>libmp3lame: More suitable for flv;</li> // <li>mp2.</li> // When the outer `Container` parameter is `hls`, the valid values include: // <li>libfdk_aac;</li> // <li>libmp3lame.</li> Codec *string `json:"Codec,omitnil" name:"Codec"` // Audio stream bitrate in Kbps. Value range: 0 and [26, 256]. If the value is 0, the bitrate of the audio stream will be the same as that of the original audio. Bitrate *uint64 `json:"Bitrate,omitnil" name:"Bitrate"` // Audio stream sample rate. Valid values: // <li>32,000</li> // <li>44,100</li> // <li>48,000</li> // In Hz. SampleRate *uint64 `json:"SampleRate,omitnil" name:"SampleRate"` // Audio channel system. Valid values: // <li>1: Mono</li> // <li>2: Dual</li> // <li>6: Stereo</li> // When the media is packaged in audio format (FLAC, OGG, MP3, M4A), the sound channel cannot be set to stereo. AudioChannel *int64 `json:"AudioChannel,omitnil" name:"AudioChannel"` // The audio tracks to retain. All audio tracks are retained by default. StreamSelects []*int64 `json:"StreamSelects,omitnil" name:"StreamSelects"` }
type AwsS3FileUploadTrigger ¶
type AwsS3FileUploadTrigger struct { // The AWS S3 bucket bound to the scheme. S3Bucket *string `json:"S3Bucket,omitnil" name:"S3Bucket"` // The region of the AWS S3 bucket. S3Region *string `json:"S3Region,omitnil" name:"S3Region"` // The bucket directory bound. It must be an absolute path that starts and ends with `/`, such as `/movie/201907/`. If you do not specify this, the root directory will be bound. Dir *string `json:"Dir,omitnil" name:"Dir"` // The file formats that will trigger the scheme, such as ["mp4", "flv", "mov"]. If you do not specify this, the upload of files in any format will trigger the scheme. Formats []*string `json:"Formats,omitnil" name:"Formats"` // The key ID of the AWS S3 bucket. // Note: This field may return null, indicating that no valid values can be obtained. S3SecretId *string `json:"S3SecretId,omitnil" name:"S3SecretId"` // The key of the AWS S3 bucket. // Note: This field may return null, indicating that no valid values can be obtained. S3SecretKey *string `json:"S3SecretKey,omitnil" name:"S3SecretKey"` // The SQS queue of the AWS S3 bucket. // Note: The queue must be in the same region as the bucket. // Note: This field may return null, indicating that no valid values can be obtained. AwsSQS *AwsSQS `json:"AwsSQS,omitnil" name:"AwsSQS"` }
type AwsSQS ¶
type AwsSQS struct { // The region of the SQS queue. SQSRegion *string `json:"SQSRegion,omitnil" name:"SQSRegion"` // The name of the SQS queue. SQSQueueName *string `json:"SQSQueueName,omitnil" name:"SQSQueueName"` // The key ID required to read from/write to the SQS queue. S3SecretId *string `json:"S3SecretId,omitnil" name:"S3SecretId"` // The key required to read from/write to the SQS queue. S3SecretKey *string `json:"S3SecretKey,omitnil" name:"S3SecretKey"` }
type ClassificationConfigureInfo ¶
type ClassificationConfigureInfo struct { // Switch of intelligent categorization task. Valid values: // <li>ON: enables intelligent categorization task;</li> // <li>OFF: disables intelligent categorization task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` }
type ClassificationConfigureInfoForUpdate ¶
type ClassificationConfigureInfoForUpdate struct { // Switch of intelligent categorization task. Valid values: // <li>ON: enables intelligent categorization task;</li> // <li>OFF: disables intelligent categorization task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CreateAIAnalysisTemplate ¶
func (c *Client) CreateAIAnalysisTemplate(request *CreateAIAnalysisTemplateRequest) (response *CreateAIAnalysisTemplateResponse, err error)
CreateAIAnalysisTemplate This API is used to create a custom content analysis template. Up to 50 templates can be created.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CLASSIFCATIONCONFIGURE = "InvalidParameterValue.ClassifcationConfigure" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_COVERCONFIGURE = "InvalidParameterValue.CoverConfigure" INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" INVALIDPARAMETERVALUE_FRAMETAGCONFIGURE = "InvalidParameterValue.FrameTagConfigure" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_TAGCONFIGURE = "InvalidParameterValue.TagConfigure" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
func (*Client) CreateAIAnalysisTemplateWithContext ¶
func (c *Client) CreateAIAnalysisTemplateWithContext(ctx context.Context, request *CreateAIAnalysisTemplateRequest) (response *CreateAIAnalysisTemplateResponse, err error)
CreateAIAnalysisTemplate This API is used to create a custom content analysis template. Up to 50 templates can be created.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CLASSIFCATIONCONFIGURE = "InvalidParameterValue.ClassifcationConfigure" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_COVERCONFIGURE = "InvalidParameterValue.CoverConfigure" INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" INVALIDPARAMETERVALUE_FRAMETAGCONFIGURE = "InvalidParameterValue.FrameTagConfigure" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_TAGCONFIGURE = "InvalidParameterValue.TagConfigure" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
func (*Client) CreateAIRecognitionTemplate ¶
func (c *Client) CreateAIRecognitionTemplate(request *CreateAIRecognitionTemplateRequest) (response *CreateAIRecognitionTemplateResponse, err error)
CreateAIRecognitionTemplate This API is used to create a custom content recognition template. Up to 50 templates can be created.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_DEFAULTLIBRARYLABELSET = "InvalidParameterValue.DefaultLibraryLabelSet" INVALIDPARAMETERVALUE_DESTINATIONLANGUAGE = "InvalidParameterValue.DestinationLanguage" INVALIDPARAMETERVALUE_FACELIBRARY = "InvalidParameterValue.FaceLibrary" INVALIDPARAMETERVALUE_FACESCORE = "InvalidParameterValue.FaceScore" INVALIDPARAMETERVALUE_LABELSET = "InvalidParameterValue.LabelSet" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_OBJECTLIBRARY = "InvalidParameterValue.ObjectLibrary" INVALIDPARAMETERVALUE_SOURCELANGUAGE = "InvalidParameterValue.SourceLanguage" INVALIDPARAMETERVALUE_SUBTITLEFORMAT = "InvalidParameterValue.SubtitleFormat" INVALIDPARAMETERVALUE_SWITCH = "InvalidParameterValue.Switch" INVALIDPARAMETERVALUE_USERDEFINELIBRARYLABELSET = "InvalidParameterValue.UserDefineLibraryLabelSet" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
func (*Client) CreateAIRecognitionTemplateWithContext ¶
func (c *Client) CreateAIRecognitionTemplateWithContext(ctx context.Context, request *CreateAIRecognitionTemplateRequest) (response *CreateAIRecognitionTemplateResponse, err error)
CreateAIRecognitionTemplate This API is used to create a custom content recognition template. Up to 50 templates can be created.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_DEFAULTLIBRARYLABELSET = "InvalidParameterValue.DefaultLibraryLabelSet" INVALIDPARAMETERVALUE_DESTINATIONLANGUAGE = "InvalidParameterValue.DestinationLanguage" INVALIDPARAMETERVALUE_FACELIBRARY = "InvalidParameterValue.FaceLibrary" INVALIDPARAMETERVALUE_FACESCORE = "InvalidParameterValue.FaceScore" INVALIDPARAMETERVALUE_LABELSET = "InvalidParameterValue.LabelSet" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_OBJECTLIBRARY = "InvalidParameterValue.ObjectLibrary" INVALIDPARAMETERVALUE_SOURCELANGUAGE = "InvalidParameterValue.SourceLanguage" INVALIDPARAMETERVALUE_SUBTITLEFORMAT = "InvalidParameterValue.SubtitleFormat" INVALIDPARAMETERVALUE_SWITCH = "InvalidParameterValue.Switch" INVALIDPARAMETERVALUE_USERDEFINELIBRARYLABELSET = "InvalidParameterValue.UserDefineLibraryLabelSet" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
func (*Client) CreateAdaptiveDynamicStreamingTemplate ¶
func (c *Client) CreateAdaptiveDynamicStreamingTemplate(request *CreateAdaptiveDynamicStreamingTemplateRequest) (response *CreateAdaptiveDynamicStreamingTemplateResponse, err error)
CreateAdaptiveDynamicStreamingTemplate This API is used to create an adaptive bitrate streaming template. Up up to 100 such templates can be created.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_BITRATE = "InvalidParameterValue.Bitrate" INVALIDPARAMETERVALUE_CODEC = "InvalidParameterValue.Codec" INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEOBITRATE = "InvalidParameterValue.DisableHigherVideoBitrate" INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEORESOLUTION = "InvalidParameterValue.DisableHigherVideoResolution" INVALIDPARAMETERVALUE_FILLTYPE = "InvalidParameterValue.FillType" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps" INVALIDPARAMETERVALUE_GOP = "InvalidParameterValue.Gop" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REMOVEAUDIO = "InvalidParameterValue.RemoveAudio" INVALIDPARAMETERVALUE_REMOVEVIDEO = "InvalidParameterValue.RemoveVideo" INVALIDPARAMETERVALUE_SAMPLERATE = "InvalidParameterValue.SampleRate" INVALIDPARAMETERVALUE_SOUNDSYSTEM = "InvalidParameterValue.SoundSystem" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
func (*Client) CreateAdaptiveDynamicStreamingTemplateWithContext ¶
func (c *Client) CreateAdaptiveDynamicStreamingTemplateWithContext(ctx context.Context, request *CreateAdaptiveDynamicStreamingTemplateRequest) (response *CreateAdaptiveDynamicStreamingTemplateResponse, err error)
CreateAdaptiveDynamicStreamingTemplate This API is used to create an adaptive bitrate streaming template. Up up to 100 such templates can be created.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_BITRATE = "InvalidParameterValue.Bitrate" INVALIDPARAMETERVALUE_CODEC = "InvalidParameterValue.Codec" INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEOBITRATE = "InvalidParameterValue.DisableHigherVideoBitrate" INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEORESOLUTION = "InvalidParameterValue.DisableHigherVideoResolution" INVALIDPARAMETERVALUE_FILLTYPE = "InvalidParameterValue.FillType" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps" INVALIDPARAMETERVALUE_GOP = "InvalidParameterValue.Gop" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REMOVEAUDIO = "InvalidParameterValue.RemoveAudio" INVALIDPARAMETERVALUE_REMOVEVIDEO = "InvalidParameterValue.RemoveVideo" INVALIDPARAMETERVALUE_SAMPLERATE = "InvalidParameterValue.SampleRate" INVALIDPARAMETERVALUE_SOUNDSYSTEM = "InvalidParameterValue.SoundSystem" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
func (*Client) CreateAnimatedGraphicsTemplate ¶
func (c *Client) CreateAnimatedGraphicsTemplate(request *CreateAnimatedGraphicsTemplateRequest) (response *CreateAnimatedGraphicsTemplateResponse, err error)
CreateAnimatedGraphicsTemplate This API is used to create a custom animated image generating template. Up to 16 templates can be created.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_FORMATWEBPLACKWIDTHANDHEIGHT = "InvalidParameterValue.FormatWebpLackWidthAndHeight" INVALIDPARAMETERVALUE_FORMATWEBPWIDTHANDHEIGHTBOTHZERO = "InvalidParameterValue.FormatWebpWidthAndHeightBothZero" INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_QUALITY = "InvalidParameterValue.Quality" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
func (*Client) CreateAnimatedGraphicsTemplateWithContext ¶
func (c *Client) CreateAnimatedGraphicsTemplateWithContext(ctx context.Context, request *CreateAnimatedGraphicsTemplateRequest) (response *CreateAnimatedGraphicsTemplateResponse, err error)
CreateAnimatedGraphicsTemplate This API is used to create a custom animated image generating template. Up to 16 templates can be created.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_FORMATWEBPLACKWIDTHANDHEIGHT = "InvalidParameterValue.FormatWebpLackWidthAndHeight" INVALIDPARAMETERVALUE_FORMATWEBPWIDTHANDHEIGHTBOTHZERO = "InvalidParameterValue.FormatWebpWidthAndHeightBothZero" INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_QUALITY = "InvalidParameterValue.Quality" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
func (*Client) CreateContentReviewTemplate ¶
func (c *Client) CreateContentReviewTemplate(request *CreateContentReviewTemplateRequest) (response *CreateContentReviewTemplateResponse, err error)
CreateContentReviewTemplate This API is used to create a custom content moderation template. Up to 50 templates can be created in total.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INTERNALERROR_GENDEFINITION = "InternalError.GenDefinition" INVALIDPARAMETERVALUE_BLOCKCONFIDENCE = "InvalidParameterValue.BlockConfidence" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_LABELSET = "InvalidParameterValue.LabelSet" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REVIEWCONFIDENCE = "InvalidParameterValue.ReviewConfidence" INVALIDPARAMETERVALUE_SWITCH = "InvalidParameterValue.Switch" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
func (*Client) CreateContentReviewTemplateWithContext ¶
func (c *Client) CreateContentReviewTemplateWithContext(ctx context.Context, request *CreateContentReviewTemplateRequest) (response *CreateContentReviewTemplateResponse, err error)
CreateContentReviewTemplate This API is used to create a custom content moderation template. Up to 50 templates can be created in total.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INTERNALERROR_GENDEFINITION = "InternalError.GenDefinition" INVALIDPARAMETERVALUE_BLOCKCONFIDENCE = "InvalidParameterValue.BlockConfidence" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_LABELSET = "InvalidParameterValue.LabelSet" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REVIEWCONFIDENCE = "InvalidParameterValue.ReviewConfidence" INVALIDPARAMETERVALUE_SWITCH = "InvalidParameterValue.Switch" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
func (*Client) CreateImageSpriteTemplate ¶
func (c *Client) CreateImageSpriteTemplate(request *CreateImageSpriteTemplateRequest) (response *CreateImageSpriteTemplateResponse, err error)
CreateImageSpriteTemplate This API is used to create a custom image sprite generating template. Up to 16 templates can be created.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COLUMNCOUNT = "InvalidParameterValue.ColumnCount" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" INVALIDPARAMETERVALUE_ROWCOUNT = "InvalidParameterValue.RowCount" INVALIDPARAMETERVALUE_SAMPLEINTERVAL = "InvalidParameterValue.SampleInterval" INVALIDPARAMETERVALUE_SAMPLETYPE = "InvalidParameterValue.SampleType" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
func (*Client) CreateImageSpriteTemplateWithContext ¶
func (c *Client) CreateImageSpriteTemplateWithContext(ctx context.Context, request *CreateImageSpriteTemplateRequest) (response *CreateImageSpriteTemplateResponse, err error)
CreateImageSpriteTemplate This API is used to create a custom image sprite generating template. Up to 16 templates can be created.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COLUMNCOUNT = "InvalidParameterValue.ColumnCount" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" INVALIDPARAMETERVALUE_ROWCOUNT = "InvalidParameterValue.RowCount" INVALIDPARAMETERVALUE_SAMPLEINTERVAL = "InvalidParameterValue.SampleInterval" INVALIDPARAMETERVALUE_SAMPLETYPE = "InvalidParameterValue.SampleType" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
func (*Client) CreatePersonSample ¶
func (c *Client) CreatePersonSample(request *CreatePersonSampleRequest) (response *CreatePersonSampleResponse, err error)
CreatePersonSample This API is used to create image samples for video processing operations such as content recognition and inappropriate information detection with the help of technologies such as facial feature positioning.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FACEDUPLICATE = "InvalidParameterValue.FaceDuplicate" INVALIDPARAMETERVALUE_PICFORMATERROR = "InvalidParameterValue.PicFormatError"
func (*Client) CreatePersonSampleWithContext ¶
func (c *Client) CreatePersonSampleWithContext(ctx context.Context, request *CreatePersonSampleRequest) (response *CreatePersonSampleResponse, err error)
CreatePersonSample This API is used to create image samples for video processing operations such as content recognition and inappropriate information detection with the help of technologies such as facial feature positioning.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FACEDUPLICATE = "InvalidParameterValue.FaceDuplicate" INVALIDPARAMETERVALUE_PICFORMATERROR = "InvalidParameterValue.PicFormatError"
func (*Client) CreateSampleSnapshotTemplate ¶
func (c *Client) CreateSampleSnapshotTemplate(request *CreateSampleSnapshotTemplateRequest) (response *CreateSampleSnapshotTemplateResponse, err error)
CreateSampleSnapshotTemplate This API is used to create a custom sampled screencapturing template. Up to 16 templates can be created.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" INVALIDPARAMETERVALUE_SAMPLEINTERVAL = "InvalidParameterValue.SampleInterval" INVALIDPARAMETERVALUE_SAMPLETYPE = "InvalidParameterValue.SampleType" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
func (*Client) CreateSampleSnapshotTemplateWithContext ¶
func (c *Client) CreateSampleSnapshotTemplateWithContext(ctx context.Context, request *CreateSampleSnapshotTemplateRequest) (response *CreateSampleSnapshotTemplateResponse, err error)
CreateSampleSnapshotTemplate This API is used to create a custom sampled screencapturing template. Up to 16 templates can be created.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" INVALIDPARAMETERVALUE_SAMPLEINTERVAL = "InvalidParameterValue.SampleInterval" INVALIDPARAMETERVALUE_SAMPLETYPE = "InvalidParameterValue.SampleType" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
func (*Client) CreateSchedule ¶
func (c *Client) CreateSchedule(request *CreateScheduleRequest) (response *CreateScheduleResponse, err error)
CreateSchedule This API is used to create a scheme for media files uploaded to a specified COS bucket. A scheme may include the following tasks:
1. Video transcoding (with watermark)
2. Animated screenshot generating
3. Time point screencapturing
4. Sampled screencapturing
5. Image sprite generating
6. Adaptive bitrate streaming
7. Intelligent content moderation (detection of pornographic and sensitive content)
8. Intelligent content analysis (labeling, categorization, thumbnail generation, labeling by frame)
9. Intelligent content recognition (face, full text, text keyword, full speech, and speech keyword)
Note: A scheme is disabled upon creation. You need to manually enable it.
error code that may be returned:
FAILEDOPERATION_COSSTATUSINAVLID = "FailedOperation.CosStatusInavlid" FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INTERNALERROR_ACCESSDBERROR = "InternalError.AccessDBError" INTERNALERROR_GENDEFINITION = "InternalError.GenDefinition" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" RESOURCENOTFOUND_COSBUCKETNAMEINVALID = "ResourceNotFound.CosBucketNameInvalid" RESOURCENOTFOUND_COSBUCKETNOTEXIST = "ResourceNotFound.CosBucketNotExist"
func (*Client) CreateScheduleWithContext ¶
func (c *Client) CreateScheduleWithContext(ctx context.Context, request *CreateScheduleRequest) (response *CreateScheduleResponse, err error)
CreateSchedule This API is used to create a scheme for media files uploaded to a specified COS bucket. A scheme may include the following tasks:
1. Video transcoding (with watermark)
2. Animated screenshot generating
3. Time point screencapturing
4. Sampled screencapturing
5. Image sprite generating
6. Adaptive bitrate streaming
7. Intelligent content moderation (detection of pornographic and sensitive content)
8. Intelligent content analysis (labeling, categorization, thumbnail generation, labeling by frame)
9. Intelligent content recognition (face, full text, text keyword, full speech, and speech keyword)
Note: A scheme is disabled upon creation. You need to manually enable it.
error code that may be returned:
FAILEDOPERATION_COSSTATUSINAVLID = "FailedOperation.CosStatusInavlid" FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INTERNALERROR_ACCESSDBERROR = "InternalError.AccessDBError" INTERNALERROR_GENDEFINITION = "InternalError.GenDefinition" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" RESOURCENOTFOUND_COSBUCKETNAMEINVALID = "ResourceNotFound.CosBucketNameInvalid" RESOURCENOTFOUND_COSBUCKETNOTEXIST = "ResourceNotFound.CosBucketNotExist"
func (*Client) CreateSnapshotByTimeOffsetTemplate ¶
func (c *Client) CreateSnapshotByTimeOffsetTemplate(request *CreateSnapshotByTimeOffsetTemplateRequest) (response *CreateSnapshotByTimeOffsetTemplateResponse, err error)
CreateSnapshotByTimeOffsetTemplate This API is used to create a custom time point screencapturing template. Up to 16 templates can be created.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
func (*Client) CreateSnapshotByTimeOffsetTemplateWithContext ¶
func (c *Client) CreateSnapshotByTimeOffsetTemplateWithContext(ctx context.Context, request *CreateSnapshotByTimeOffsetTemplateRequest) (response *CreateSnapshotByTimeOffsetTemplateResponse, err error)
CreateSnapshotByTimeOffsetTemplate This API is used to create a custom time point screencapturing template. Up to 16 templates can be created.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
func (*Client) CreateTranscodeTemplate ¶
func (c *Client) CreateTranscodeTemplate(request *CreateTranscodeTemplateRequest) (response *CreateTranscodeTemplateResponse, err error)
CreateTranscodeTemplate This API is used to create a custom transcoding template. Up to 1,000 templates can be created.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INTERNALERROR_ACCESSDBERROR = "InternalError.AccessDBError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_AUDIOBITRATE = "InvalidParameterValue.AudioBitrate" INVALIDPARAMETERVALUE_AUDIOCHANNEL = "InvalidParameterValue.AudioChannel" INVALIDPARAMETERVALUE_AUDIOCODEC = "InvalidParameterValue.AudioCodec" INVALIDPARAMETERVALUE_AUDIOSAMPLERATE = "InvalidParameterValue.AudioSampleRate" INVALIDPARAMETERVALUE_CONTAINER = "InvalidParameterValue.Container" INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REMOVEAUDIO = "InvalidParameterValue.RemoveAudio" INVALIDPARAMETERVALUE_REMOVEVIDEO = "InvalidParameterValue.RemoveVideo" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" INVALIDPARAMETERVALUE_SAMPLERATE = "InvalidParameterValue.SampleRate" INVALIDPARAMETERVALUE_TEHDTYPE = "InvalidParameterValue.TEHDType" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" INVALIDPARAMETERVALUE_VIDEOBITRATE = "InvalidParameterValue.VideoBitrate" INVALIDPARAMETERVALUE_VIDEOCODEC = "InvalidParameterValue.VideoCodec" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
func (*Client) CreateTranscodeTemplateWithContext ¶
func (c *Client) CreateTranscodeTemplateWithContext(ctx context.Context, request *CreateTranscodeTemplateRequest) (response *CreateTranscodeTemplateResponse, err error)
CreateTranscodeTemplate This API is used to create a custom transcoding template. Up to 1,000 templates can be created.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INTERNALERROR_ACCESSDBERROR = "InternalError.AccessDBError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_AUDIOBITRATE = "InvalidParameterValue.AudioBitrate" INVALIDPARAMETERVALUE_AUDIOCHANNEL = "InvalidParameterValue.AudioChannel" INVALIDPARAMETERVALUE_AUDIOCODEC = "InvalidParameterValue.AudioCodec" INVALIDPARAMETERVALUE_AUDIOSAMPLERATE = "InvalidParameterValue.AudioSampleRate" INVALIDPARAMETERVALUE_CONTAINER = "InvalidParameterValue.Container" INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REMOVEAUDIO = "InvalidParameterValue.RemoveAudio" INVALIDPARAMETERVALUE_REMOVEVIDEO = "InvalidParameterValue.RemoveVideo" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" INVALIDPARAMETERVALUE_SAMPLERATE = "InvalidParameterValue.SampleRate" INVALIDPARAMETERVALUE_TEHDTYPE = "InvalidParameterValue.TEHDType" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" INVALIDPARAMETERVALUE_VIDEOBITRATE = "InvalidParameterValue.VideoBitrate" INVALIDPARAMETERVALUE_VIDEOCODEC = "InvalidParameterValue.VideoCodec" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
func (*Client) CreateWatermarkTemplate ¶
func (c *Client) CreateWatermarkTemplate(request *CreateWatermarkTemplateRequest) (response *CreateWatermarkTemplateResponse, err error)
CreateWatermarkTemplate This API is used to create a custom watermarking template. Up to 1,000 templates can be created.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INTERNALERROR_GENDEFINITION = "InternalError.GenDefinition" INTERNALERROR_UPLOADWATERMARKERROR = "InternalError.UploadWatermarkError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_COORDINATEORIGIN = "InvalidParameterValue.CoordinateOrigin" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_IMAGECONTENT = "InvalidParameterValue.ImageContent" INVALIDPARAMETERVALUE_IMAGETEMPLATE = "InvalidParameterValue.ImageTemplate" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REPEATTYPE = "InvalidParameterValue.RepeatType" INVALIDPARAMETERVALUE_SVGTEMPLATE = "InvalidParameterValue.SvgTemplate" INVALIDPARAMETERVALUE_SVGTEMPLATEHEIGHT = "InvalidParameterValue.SvgTemplateHeight" INVALIDPARAMETERVALUE_SVGTEMPLATEWIDTH = "InvalidParameterValue.SvgTemplateWidth" INVALIDPARAMETERVALUE_TEXTALPHA = "InvalidParameterValue.TextAlpha" INVALIDPARAMETERVALUE_TEXTTEMPLATE = "InvalidParameterValue.TextTemplate" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" INVALIDPARAMETERVALUE_XPOS = "InvalidParameterValue.XPos" INVALIDPARAMETERVALUE_YPOS = "InvalidParameterValue.YPos" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
func (*Client) CreateWatermarkTemplateWithContext ¶
func (c *Client) CreateWatermarkTemplateWithContext(ctx context.Context, request *CreateWatermarkTemplateRequest) (response *CreateWatermarkTemplateResponse, err error)
CreateWatermarkTemplate This API is used to create a custom watermarking template. Up to 1,000 templates can be created.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INTERNALERROR_GENDEFINITION = "InternalError.GenDefinition" INTERNALERROR_UPLOADWATERMARKERROR = "InternalError.UploadWatermarkError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_COORDINATEORIGIN = "InvalidParameterValue.CoordinateOrigin" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_IMAGECONTENT = "InvalidParameterValue.ImageContent" INVALIDPARAMETERVALUE_IMAGETEMPLATE = "InvalidParameterValue.ImageTemplate" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REPEATTYPE = "InvalidParameterValue.RepeatType" INVALIDPARAMETERVALUE_SVGTEMPLATE = "InvalidParameterValue.SvgTemplate" INVALIDPARAMETERVALUE_SVGTEMPLATEHEIGHT = "InvalidParameterValue.SvgTemplateHeight" INVALIDPARAMETERVALUE_SVGTEMPLATEWIDTH = "InvalidParameterValue.SvgTemplateWidth" INVALIDPARAMETERVALUE_TEXTALPHA = "InvalidParameterValue.TextAlpha" INVALIDPARAMETERVALUE_TEXTTEMPLATE = "InvalidParameterValue.TextTemplate" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" INVALIDPARAMETERVALUE_XPOS = "InvalidParameterValue.XPos" INVALIDPARAMETERVALUE_YPOS = "InvalidParameterValue.YPos" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
func (*Client) CreateWordSamples ¶
func (c *Client) CreateWordSamples(request *CreateWordSamplesRequest) (response *CreateWordSamplesResponse, err error)
CreateWordSamples This API is used to create keyword samples in batches for video processing operations such as content recognition and inappropriate information detection with the help of the OCR and ASR technologies.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) CreateWordSamplesWithContext ¶
func (c *Client) CreateWordSamplesWithContext(ctx context.Context, request *CreateWordSamplesRequest) (response *CreateWordSamplesResponse, err error)
CreateWordSamples This API is used to create keyword samples in batches for video processing operations such as content recognition and inappropriate information detection with the help of the OCR and ASR technologies.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) CreateWorkflow ¶
func (c *Client) CreateWorkflow(request *CreateWorkflowRequest) (response *CreateWorkflowResponse, err error)
CreateWorkflow This API is used to create a workflow for media files uploaded to a specified COS bucket. A workflow may include the following tasks:
1. Video transcoding (with watermark)
2. Animated image generating
3. Time point screencapturing
4. Sampled screencapturing
5. Image sprite generating
6. Adaptive bitrate streaming
7. Intelligent content moderation (detection of pornographic and sensitive content)
8. Intelligent content analysis (labeling, categorization, thumbnail generation, frame-specific labeling)
9. Intelligent content recognition (face, full text, text keyword, full speech, and speech keyword)
Note: A workflow is disabled upon creation. You need to manually enable it.
error code that may be returned:
FAILEDOPERATION_COSSTATUSINAVLID = "FailedOperation.CosStatusInavlid" FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" RESOURCENOTFOUND_COSBUCKETNAMEINVALID = "ResourceNotFound.CosBucketNameInvalid" RESOURCENOTFOUND_COSBUCKETNOTEXIST = "ResourceNotFound.CosBucketNotExist"
func (*Client) CreateWorkflowWithContext ¶
func (c *Client) CreateWorkflowWithContext(ctx context.Context, request *CreateWorkflowRequest) (response *CreateWorkflowResponse, err error)
CreateWorkflow This API is used to create a workflow for media files uploaded to a specified COS bucket. A workflow may include the following tasks:
1. Video transcoding (with watermark)
2. Animated image generating
3. Time point screencapturing
4. Sampled screencapturing
5. Image sprite generating
6. Adaptive bitrate streaming
7. Intelligent content moderation (detection of pornographic and sensitive content)
8. Intelligent content analysis (labeling, categorization, thumbnail generation, frame-specific labeling)
9. Intelligent content recognition (face, full text, text keyword, full speech, and speech keyword)
Note: A workflow is disabled upon creation. You need to manually enable it.
error code that may be returned:
FAILEDOPERATION_COSSTATUSINAVLID = "FailedOperation.CosStatusInavlid" FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" RESOURCENOTFOUND_COSBUCKETNAMEINVALID = "ResourceNotFound.CosBucketNameInvalid" RESOURCENOTFOUND_COSBUCKETNOTEXIST = "ResourceNotFound.CosBucketNotExist"
func (*Client) DeleteAIAnalysisTemplate ¶
func (c *Client) DeleteAIAnalysisTemplate(request *DeleteAIAnalysisTemplateRequest) (response *DeleteAIAnalysisTemplateResponse, err error)
DeleteAIAnalysisTemplate This API is used to delete a custom content analysis template.
Note: templates with an ID below 10000 are preset and cannot be deleted.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DELETEDEFAULTTEMPLATE = "InvalidParameterValue.DeleteDefaultTemplate" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DeleteAIAnalysisTemplateWithContext ¶
func (c *Client) DeleteAIAnalysisTemplateWithContext(ctx context.Context, request *DeleteAIAnalysisTemplateRequest) (response *DeleteAIAnalysisTemplateResponse, err error)
DeleteAIAnalysisTemplate This API is used to delete a custom content analysis template.
Note: templates with an ID below 10000 are preset and cannot be deleted.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DELETEDEFAULTTEMPLATE = "InvalidParameterValue.DeleteDefaultTemplate" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DeleteAIRecognitionTemplate ¶
func (c *Client) DeleteAIRecognitionTemplate(request *DeleteAIRecognitionTemplateRequest) (response *DeleteAIRecognitionTemplateResponse, err error)
DeleteAIRecognitionTemplate This API is used to delete a custom content recognition template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DELETEDEFAULTTEMPLATE = "InvalidParameterValue.DeleteDefaultTemplate" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DeleteAIRecognitionTemplateWithContext ¶
func (c *Client) DeleteAIRecognitionTemplateWithContext(ctx context.Context, request *DeleteAIRecognitionTemplateRequest) (response *DeleteAIRecognitionTemplateResponse, err error)
DeleteAIRecognitionTemplate This API is used to delete a custom content recognition template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DELETEDEFAULTTEMPLATE = "InvalidParameterValue.DeleteDefaultTemplate" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DeleteAdaptiveDynamicStreamingTemplate ¶
func (c *Client) DeleteAdaptiveDynamicStreamingTemplate(request *DeleteAdaptiveDynamicStreamingTemplateRequest) (response *DeleteAdaptiveDynamicStreamingTemplateResponse, err error)
DeleteAdaptiveDynamicStreamingTemplate This API is used to delete an adaptive bitrate streaming template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DeleteAdaptiveDynamicStreamingTemplateWithContext ¶
func (c *Client) DeleteAdaptiveDynamicStreamingTemplateWithContext(ctx context.Context, request *DeleteAdaptiveDynamicStreamingTemplateRequest) (response *DeleteAdaptiveDynamicStreamingTemplateResponse, err error)
DeleteAdaptiveDynamicStreamingTemplate This API is used to delete an adaptive bitrate streaming template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DeleteAnimatedGraphicsTemplate ¶
func (c *Client) DeleteAnimatedGraphicsTemplate(request *DeleteAnimatedGraphicsTemplateRequest) (response *DeleteAnimatedGraphicsTemplateResponse, err error)
DeleteAnimatedGraphicsTemplate This API is used to delete a custom animated image generating template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DeleteAnimatedGraphicsTemplateWithContext ¶
func (c *Client) DeleteAnimatedGraphicsTemplateWithContext(ctx context.Context, request *DeleteAnimatedGraphicsTemplateRequest) (response *DeleteAnimatedGraphicsTemplateResponse, err error)
DeleteAnimatedGraphicsTemplate This API is used to delete a custom animated image generating template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DeleteContentReviewTemplate ¶
func (c *Client) DeleteContentReviewTemplate(request *DeleteContentReviewTemplateRequest) (response *DeleteContentReviewTemplateResponse, err error)
DeleteContentReviewTemplate This API is used to delete a custom content moderation template.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DELETEDEFAULTTEMPLATE = "InvalidParameterValue.DeleteDefaultTemplate" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DeleteContentReviewTemplateWithContext ¶
func (c *Client) DeleteContentReviewTemplateWithContext(ctx context.Context, request *DeleteContentReviewTemplateRequest) (response *DeleteContentReviewTemplateResponse, err error)
DeleteContentReviewTemplate This API is used to delete a custom content moderation template.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DELETEDEFAULTTEMPLATE = "InvalidParameterValue.DeleteDefaultTemplate" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DeleteImageSpriteTemplate ¶
func (c *Client) DeleteImageSpriteTemplate(request *DeleteImageSpriteTemplateRequest) (response *DeleteImageSpriteTemplateResponse, err error)
DeleteImageSpriteTemplate This API is used to delete an image sprite generating template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DeleteImageSpriteTemplateWithContext ¶
func (c *Client) DeleteImageSpriteTemplateWithContext(ctx context.Context, request *DeleteImageSpriteTemplateRequest) (response *DeleteImageSpriteTemplateResponse, err error)
DeleteImageSpriteTemplate This API is used to delete an image sprite generating template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DeletePersonSample ¶
func (c *Client) DeletePersonSample(request *DeletePersonSampleRequest) (response *DeletePersonSampleResponse, err error)
DeletePersonSample This API is used to delete image samples by image ID.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" RESOURCENOTFOUND_PERSON = "ResourceNotFound.Person"
func (*Client) DeletePersonSampleWithContext ¶
func (c *Client) DeletePersonSampleWithContext(ctx context.Context, request *DeletePersonSampleRequest) (response *DeletePersonSampleResponse, err error)
DeletePersonSample This API is used to delete image samples by image ID.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" RESOURCENOTFOUND_PERSON = "ResourceNotFound.Person"
func (*Client) DeleteSampleSnapshotTemplate ¶
func (c *Client) DeleteSampleSnapshotTemplate(request *DeleteSampleSnapshotTemplateRequest) (response *DeleteSampleSnapshotTemplateResponse, err error)
DeleteSampleSnapshotTemplate This API is used to delete a custom sampled screencapturing template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DeleteSampleSnapshotTemplateWithContext ¶
func (c *Client) DeleteSampleSnapshotTemplateWithContext(ctx context.Context, request *DeleteSampleSnapshotTemplateRequest) (response *DeleteSampleSnapshotTemplateResponse, err error)
DeleteSampleSnapshotTemplate This API is used to delete a custom sampled screencapturing template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DeleteSchedule ¶
func (c *Client) DeleteSchedule(request *DeleteScheduleRequest) (response *DeleteScheduleResponse, err error)
DeleteSchedule This API is used to delete a scheme.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ACCESSDBERROR = "InternalError.AccessDBError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DeleteScheduleWithContext ¶
func (c *Client) DeleteScheduleWithContext(ctx context.Context, request *DeleteScheduleRequest) (response *DeleteScheduleResponse, err error)
DeleteSchedule This API is used to delete a scheme.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ACCESSDBERROR = "InternalError.AccessDBError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DeleteSnapshotByTimeOffsetTemplate ¶
func (c *Client) DeleteSnapshotByTimeOffsetTemplate(request *DeleteSnapshotByTimeOffsetTemplateRequest) (response *DeleteSnapshotByTimeOffsetTemplateResponse, err error)
DeleteSnapshotByTimeOffsetTemplate This API is used to delete a custom time point screencapturing template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DeleteSnapshotByTimeOffsetTemplateWithContext ¶
func (c *Client) DeleteSnapshotByTimeOffsetTemplateWithContext(ctx context.Context, request *DeleteSnapshotByTimeOffsetTemplateRequest) (response *DeleteSnapshotByTimeOffsetTemplateResponse, err error)
DeleteSnapshotByTimeOffsetTemplate This API is used to delete a custom time point screencapturing template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DeleteTranscodeTemplate ¶
func (c *Client) DeleteTranscodeTemplate(request *DeleteTranscodeTemplateRequest) (response *DeleteTranscodeTemplateResponse, err error)
DeleteTranscodeTemplate This API is used to delete a custom transcoding template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INTERNALERROR_ACCESSDBERROR = "InternalError.AccessDBError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DeleteTranscodeTemplateWithContext ¶
func (c *Client) DeleteTranscodeTemplateWithContext(ctx context.Context, request *DeleteTranscodeTemplateRequest) (response *DeleteTranscodeTemplateResponse, err error)
DeleteTranscodeTemplate This API is used to delete a custom transcoding template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INTERNALERROR_ACCESSDBERROR = "InternalError.AccessDBError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DeleteWatermarkTemplate ¶
func (c *Client) DeleteWatermarkTemplate(request *DeleteWatermarkTemplateRequest) (response *DeleteWatermarkTemplateResponse, err error)
DeleteWatermarkTemplate This API is used to delete a custom watermarking template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteWatermarkTemplateWithContext ¶
func (c *Client) DeleteWatermarkTemplateWithContext(ctx context.Context, request *DeleteWatermarkTemplateRequest) (response *DeleteWatermarkTemplateResponse, err error)
DeleteWatermarkTemplate This API is used to delete a custom watermarking template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteWordSamples ¶
func (c *Client) DeleteWordSamples(request *DeleteWordSamplesRequest) (response *DeleteWordSamplesResponse, err error)
DeleteWordSamples This API is used to delete keyword samples in batches.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DeleteWordSamplesWithContext ¶
func (c *Client) DeleteWordSamplesWithContext(ctx context.Context, request *DeleteWordSamplesRequest) (response *DeleteWordSamplesResponse, err error)
DeleteWordSamples This API is used to delete keyword samples in batches.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DeleteWorkflow ¶
func (c *Client) DeleteWorkflow(request *DeleteWorkflowRequest) (response *DeleteWorkflowResponse, err error)
DeleteWorkflow This API is used to delete a workflow. An enabled workflow must be disabled before it can be deleted.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DeleteWorkflowWithContext ¶
func (c *Client) DeleteWorkflowWithContext(ctx context.Context, request *DeleteWorkflowRequest) (response *DeleteWorkflowResponse, err error)
DeleteWorkflow This API is used to delete a workflow. An enabled workflow must be disabled before it can be deleted.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DescribeAIAnalysisTemplates ¶
func (c *Client) DescribeAIAnalysisTemplates(request *DescribeAIAnalysisTemplatesRequest) (response *DescribeAIAnalysisTemplatesResponse, err error)
DescribeAIAnalysisTemplates This API is used to get the list of content analysis templates based on unique template ID. The returned result includes all eligible custom and preset video content analysis templates.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DescribeAIAnalysisTemplatesWithContext ¶
func (c *Client) DescribeAIAnalysisTemplatesWithContext(ctx context.Context, request *DescribeAIAnalysisTemplatesRequest) (response *DescribeAIAnalysisTemplatesResponse, err error)
DescribeAIAnalysisTemplates This API is used to get the list of content analysis templates based on unique template ID. The returned result includes all eligible custom and preset video content analysis templates.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DescribeAIRecognitionTemplates ¶
func (c *Client) DescribeAIRecognitionTemplates(request *DescribeAIRecognitionTemplatesRequest) (response *DescribeAIRecognitionTemplatesResponse, err error)
DescribeAIRecognitionTemplates This API is used to get the list of content recognition templates based on unique template ID. The return result includes all eligible custom and preset content recognition templates.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DescribeAIRecognitionTemplatesWithContext ¶
func (c *Client) DescribeAIRecognitionTemplatesWithContext(ctx context.Context, request *DescribeAIRecognitionTemplatesRequest) (response *DescribeAIRecognitionTemplatesResponse, err error)
DescribeAIRecognitionTemplates This API is used to get the list of content recognition templates based on unique template ID. The return result includes all eligible custom and preset content recognition templates.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DescribeAdaptiveDynamicStreamingTemplates ¶
func (c *Client) DescribeAdaptiveDynamicStreamingTemplates(request *DescribeAdaptiveDynamicStreamingTemplatesRequest) (response *DescribeAdaptiveDynamicStreamingTemplatesResponse, err error)
DescribeAdaptiveDynamicStreamingTemplates This API is used to query the list of adaptive bitrate streaming templates and supports paginated queries by filters.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeAdaptiveDynamicStreamingTemplatesWithContext ¶
func (c *Client) DescribeAdaptiveDynamicStreamingTemplatesWithContext(ctx context.Context, request *DescribeAdaptiveDynamicStreamingTemplatesRequest) (response *DescribeAdaptiveDynamicStreamingTemplatesResponse, err error)
DescribeAdaptiveDynamicStreamingTemplates This API is used to query the list of adaptive bitrate streaming templates and supports paginated queries by filters.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeAnimatedGraphicsTemplates ¶
func (c *Client) DescribeAnimatedGraphicsTemplates(request *DescribeAnimatedGraphicsTemplatesRequest) (response *DescribeAnimatedGraphicsTemplatesResponse, err error)
DescribeAnimatedGraphicsTemplates This API is used to query the list of animated image generating templates and supports paged queries by filters.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
func (*Client) DescribeAnimatedGraphicsTemplatesWithContext ¶
func (c *Client) DescribeAnimatedGraphicsTemplatesWithContext(ctx context.Context, request *DescribeAnimatedGraphicsTemplatesRequest) (response *DescribeAnimatedGraphicsTemplatesResponse, err error)
DescribeAnimatedGraphicsTemplates This API is used to query the list of animated image generating templates and supports paged queries by filters.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
func (*Client) DescribeContentReviewTemplates ¶
func (c *Client) DescribeContentReviewTemplates(request *DescribeContentReviewTemplatesRequest) (response *DescribeContentReviewTemplatesResponse, err error)
DescribeContentReviewTemplates This API is used to query content moderation templates by template ID. Both custom and preset templates that match the template IDs passed in will be returned.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DescribeContentReviewTemplatesWithContext ¶
func (c *Client) DescribeContentReviewTemplatesWithContext(ctx context.Context, request *DescribeContentReviewTemplatesRequest) (response *DescribeContentReviewTemplatesResponse, err error)
DescribeContentReviewTemplates This API is used to query content moderation templates by template ID. Both custom and preset templates that match the template IDs passed in will be returned.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DescribeImageSpriteTemplates ¶
func (c *Client) DescribeImageSpriteTemplates(request *DescribeImageSpriteTemplatesRequest) (response *DescribeImageSpriteTemplatesResponse, err error)
DescribeImageSpriteTemplates This API is used to query the list of image sprite generating templates and supports paged queries by filters.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
func (*Client) DescribeImageSpriteTemplatesWithContext ¶
func (c *Client) DescribeImageSpriteTemplatesWithContext(ctx context.Context, request *DescribeImageSpriteTemplatesRequest) (response *DescribeImageSpriteTemplatesResponse, err error)
DescribeImageSpriteTemplates This API is used to query the list of image sprite generating templates and supports paged queries by filters.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
func (*Client) DescribeMediaMetaData ¶
func (c *Client) DescribeMediaMetaData(request *DescribeMediaMetaDataRequest) (response *DescribeMediaMetaDataResponse, err error)
DescribeMediaMetaData This API is used to get the metadata of media, such as video image width/height, codec, length, and frame rate.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_SRCFILE = "InvalidParameterValue.SrcFile"
func (*Client) DescribeMediaMetaDataWithContext ¶
func (c *Client) DescribeMediaMetaDataWithContext(ctx context.Context, request *DescribeMediaMetaDataRequest) (response *DescribeMediaMetaDataResponse, err error)
DescribeMediaMetaData This API is used to get the metadata of media, such as video image width/height, codec, length, and frame rate.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_SRCFILE = "InvalidParameterValue.SrcFile"
func (*Client) DescribePersonSamples ¶
func (c *Client) DescribePersonSamples(request *DescribePersonSamplesRequest) (response *DescribePersonSamplesResponse, err error)
DescribePersonSamples This API is used to query the information of image samples. It supports paginated queries by image ID, name, and tag.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribePersonSamplesWithContext ¶
func (c *Client) DescribePersonSamplesWithContext(ctx context.Context, request *DescribePersonSamplesRequest) (response *DescribePersonSamplesResponse, err error)
DescribePersonSamples This API is used to query the information of image samples. It supports paginated queries by image ID, name, and tag.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeSampleSnapshotTemplates ¶
func (c *Client) DescribeSampleSnapshotTemplates(request *DescribeSampleSnapshotTemplatesRequest) (response *DescribeSampleSnapshotTemplatesResponse, err error)
DescribeSampleSnapshotTemplates This API is used to query the list of sampled screencapturing templates and supports paged queries by filters.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
func (*Client) DescribeSampleSnapshotTemplatesWithContext ¶
func (c *Client) DescribeSampleSnapshotTemplatesWithContext(ctx context.Context, request *DescribeSampleSnapshotTemplatesRequest) (response *DescribeSampleSnapshotTemplatesResponse, err error)
DescribeSampleSnapshotTemplates This API is used to query the list of sampled screencapturing templates and supports paged queries by filters.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
func (*Client) DescribeSchedules ¶
func (c *Client) DescribeSchedules(request *DescribeSchedulesRequest) (response *DescribeSchedulesResponse, err error)
DescribeSchedules This API is used to query a scheme.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" FAILEDOPERATION_INVALIDUSER = "FailedOperation.InvalidUser" INTERNALERROR = "InternalError" INTERNALERROR_ACCESSDBERROR = "InternalError.AccessDBError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeSchedulesWithContext ¶
func (c *Client) DescribeSchedulesWithContext(ctx context.Context, request *DescribeSchedulesRequest) (response *DescribeSchedulesResponse, err error)
DescribeSchedules This API is used to query a scheme.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" FAILEDOPERATION_INVALIDUSER = "FailedOperation.InvalidUser" INTERNALERROR = "InternalError" INTERNALERROR_ACCESSDBERROR = "InternalError.AccessDBError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeSnapshotByTimeOffsetTemplates ¶
func (c *Client) DescribeSnapshotByTimeOffsetTemplates(request *DescribeSnapshotByTimeOffsetTemplatesRequest) (response *DescribeSnapshotByTimeOffsetTemplatesResponse, err error)
DescribeSnapshotByTimeOffsetTemplates This API is used to query the list of time point screencapturing templates and supports paged queries by filters.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
func (*Client) DescribeSnapshotByTimeOffsetTemplatesWithContext ¶
func (c *Client) DescribeSnapshotByTimeOffsetTemplatesWithContext(ctx context.Context, request *DescribeSnapshotByTimeOffsetTemplatesRequest) (response *DescribeSnapshotByTimeOffsetTemplatesResponse, err error)
DescribeSnapshotByTimeOffsetTemplates This API is used to query the list of time point screencapturing templates and supports paged queries by filters.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
func (*Client) DescribeTaskDetail ¶
func (c *Client) DescribeTaskDetail(request *DescribeTaskDetailRequest) (response *DescribeTaskDetailResponse, err error)
DescribeTaskDetail This API is used to query the details of execution status and result of a task submitted in the last 3 days by task ID.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeTaskDetailWithContext ¶
func (c *Client) DescribeTaskDetailWithContext(ctx context.Context, request *DescribeTaskDetailRequest) (response *DescribeTaskDetailResponse, err error)
DescribeTaskDetail This API is used to query the details of execution status and result of a task submitted in the last 3 days by task ID.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeTasks ¶
func (c *Client) DescribeTasks(request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
DescribeTasks * This API is used to query tasks.
* If the data is large, one API call may not be able to obtain all the tasks in the query. You can use the `ScrollToken` parameter to query tasks with multiple calls.
* Only tasks in the last seven days (168 hours) can be queried.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
func (*Client) DescribeTasksWithContext ¶
func (c *Client) DescribeTasksWithContext(ctx context.Context, request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
DescribeTasks * This API is used to query tasks.
* If the data is large, one API call may not be able to obtain all the tasks in the query. You can use the `ScrollToken` parameter to query tasks with multiple calls.
* Only tasks in the last seven days (168 hours) can be queried.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
func (*Client) DescribeTranscodeTemplates ¶
func (c *Client) DescribeTranscodeTemplates(request *DescribeTranscodeTemplatesRequest) (response *DescribeTranscodeTemplatesResponse, err error)
DescribeTranscodeTemplates This API is used to get the list of transcoding templates based on unique template ID. The return result includes all eligible custom and [preset transcoding templates](https://intl.cloud.tencent.com/document/product/266/33476?from_cn_redirect=1#.E9.A2.84.E7.BD.AE.E8.BD.AC.E7.A0.81.E6.A8.A1.E6.9D.BF).
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INTERNALERROR_ACCESSDBERROR = "InternalError.AccessDBError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CONTAINERTYPE = "InvalidParameterValue.ContainerType" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TEHDTYPE = "InvalidParameterValue.TEHDType" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DescribeTranscodeTemplatesWithContext ¶
func (c *Client) DescribeTranscodeTemplatesWithContext(ctx context.Context, request *DescribeTranscodeTemplatesRequest) (response *DescribeTranscodeTemplatesResponse, err error)
DescribeTranscodeTemplates This API is used to get the list of transcoding templates based on unique template ID. The return result includes all eligible custom and [preset transcoding templates](https://intl.cloud.tencent.com/document/product/266/33476?from_cn_redirect=1#.E9.A2.84.E7.BD.AE.E8.BD.AC.E7.A0.81.E6.A8.A1.E6.9D.BF).
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INTERNALERROR_ACCESSDBERROR = "InternalError.AccessDBError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CONTAINERTYPE = "InvalidParameterValue.ContainerType" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TEHDTYPE = "InvalidParameterValue.TEHDType" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DescribeWatermarkTemplates ¶
func (c *Client) DescribeWatermarkTemplates(request *DescribeWatermarkTemplatesRequest) (response *DescribeWatermarkTemplatesResponse, err error)
DescribeWatermarkTemplates This API is used to query custom watermarking templates and supports paged queries by filters.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DescribeWatermarkTemplatesWithContext ¶
func (c *Client) DescribeWatermarkTemplatesWithContext(ctx context.Context, request *DescribeWatermarkTemplatesRequest) (response *DescribeWatermarkTemplatesResponse, err error)
DescribeWatermarkTemplates This API is used to query custom watermarking templates and supports paged queries by filters.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DescribeWordSamples ¶
func (c *Client) DescribeWordSamples(request *DescribeWordSamplesRequest) (response *DescribeWordSamplesResponse, err error)
DescribeWordSamples This API is used to perform paged queries of keyword sample information by use case, keyword, and tag.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeWordSamplesWithContext ¶
func (c *Client) DescribeWordSamplesWithContext(ctx context.Context, request *DescribeWordSamplesRequest) (response *DescribeWordSamplesResponse, err error)
DescribeWordSamples This API is used to perform paged queries of keyword sample information by use case, keyword, and tag.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeWorkflows ¶
func (c *Client) DescribeWorkflows(request *DescribeWorkflowsRequest) (response *DescribeWorkflowsResponse, err error)
DescribeWorkflows This API is used to get the list of workflow details by workflow ID.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeWorkflowsWithContext ¶
func (c *Client) DescribeWorkflowsWithContext(ctx context.Context, request *DescribeWorkflowsRequest) (response *DescribeWorkflowsResponse, err error)
DescribeWorkflows This API is used to get the list of workflow details by workflow ID.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DisableSchedule ¶
func (c *Client) DisableSchedule(request *DisableScheduleRequest) (response *DisableScheduleResponse, err error)
DisableSchedule This API is used to disable a scheme.
error code that may be returned:
FAILEDOPERATION_BUCKETNOTIFYALREADYEXIST = "FailedOperation.BucketNotifyAlreadyExist" FAILEDOPERATION_COSSTATUSINAVLID = "FailedOperation.CosStatusInavlid" FAILEDOPERATION_GETSOURCENOTIFY = "FailedOperation.GetSourceNotify" FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" FAILEDOPERATION_INVALIDUSER = "FailedOperation.InvalidUser" FAILEDOPERATION_SETSOURCENOTIFY = "FailedOperation.SetSourceNotify" INTERNALERROR = "InternalError" INTERNALERROR_ACCESSDBERROR = "InternalError.AccessDBError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_COSBUCKETNAMEINVALID = "ResourceNotFound.CosBucketNameInvalid" RESOURCENOTFOUND_COSBUCKETNOTEXIST = "ResourceNotFound.CosBucketNotExist" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DisableScheduleWithContext ¶
func (c *Client) DisableScheduleWithContext(ctx context.Context, request *DisableScheduleRequest) (response *DisableScheduleResponse, err error)
DisableSchedule This API is used to disable a scheme.
error code that may be returned:
FAILEDOPERATION_BUCKETNOTIFYALREADYEXIST = "FailedOperation.BucketNotifyAlreadyExist" FAILEDOPERATION_COSSTATUSINAVLID = "FailedOperation.CosStatusInavlid" FAILEDOPERATION_GETSOURCENOTIFY = "FailedOperation.GetSourceNotify" FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" FAILEDOPERATION_INVALIDUSER = "FailedOperation.InvalidUser" FAILEDOPERATION_SETSOURCENOTIFY = "FailedOperation.SetSourceNotify" INTERNALERROR = "InternalError" INTERNALERROR_ACCESSDBERROR = "InternalError.AccessDBError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_COSBUCKETNAMEINVALID = "ResourceNotFound.CosBucketNameInvalid" RESOURCENOTFOUND_COSBUCKETNOTEXIST = "ResourceNotFound.CosBucketNotExist" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DisableWorkflow ¶
func (c *Client) DisableWorkflow(request *DisableWorkflowRequest) (response *DisableWorkflowResponse, err error)
DisableWorkflow This API is used to disable a workflow.
error code that may be returned:
FAILEDOPERATION_COSSTATUSINAVLID = "FailedOperation.CosStatusInavlid" FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_COSBUCKETNAMEINVALID = "ResourceNotFound.CosBucketNameInvalid" RESOURCENOTFOUND_COSBUCKETNOTEXIST = "ResourceNotFound.CosBucketNotExist" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DisableWorkflowWithContext ¶
func (c *Client) DisableWorkflowWithContext(ctx context.Context, request *DisableWorkflowRequest) (response *DisableWorkflowResponse, err error)
DisableWorkflow This API is used to disable a workflow.
error code that may be returned:
FAILEDOPERATION_COSSTATUSINAVLID = "FailedOperation.CosStatusInavlid" FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_COSBUCKETNAMEINVALID = "ResourceNotFound.CosBucketNameInvalid" RESOURCENOTFOUND_COSBUCKETNOTEXIST = "ResourceNotFound.CosBucketNotExist" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) EditMedia ¶
func (c *Client) EditMedia(request *EditMediaRequest) (response *EditMediaResponse, err error)
EditMedia This API is used to edit a video (by clipping, splicing, etc.) to generate a new VOD video. Editing features include:
1. Clipping a file to generate a new video;
2. Splicing multiple files to generate a new video;
3. Clipping multiple files and then splicing the clips to generate a new video.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) EditMediaWithContext ¶
func (c *Client) EditMediaWithContext(ctx context.Context, request *EditMediaRequest) (response *EditMediaResponse, err error)
EditMedia This API is used to edit a video (by clipping, splicing, etc.) to generate a new VOD video. Editing features include:
1. Clipping a file to generate a new video;
2. Splicing multiple files to generate a new video;
3. Clipping multiple files and then splicing the clips to generate a new video.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) EnableSchedule ¶
func (c *Client) EnableSchedule(request *EnableScheduleRequest) (response *EnableScheduleResponse, err error)
EnableSchedule This API is used to enable a scheme.
error code that may be returned:
FAILEDOPERATION_BUCKETNOTIFYALREADYEXIST = "FailedOperation.BucketNotifyAlreadyExist" FAILEDOPERATION_COSSTATUSINAVLID = "FailedOperation.CosStatusInavlid" FAILEDOPERATION_GETSOURCENOTIFY = "FailedOperation.GetSourceNotify" FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" FAILEDOPERATION_INVALIDUSER = "FailedOperation.InvalidUser" FAILEDOPERATION_SETSOURCENOTIFY = "FailedOperation.SetSourceNotify" INTERNALERROR = "InternalError" INTERNALERROR_ACCESSDBERROR = "InternalError.AccessDBError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_COSBUCKETNAMEINVALID = "ResourceNotFound.CosBucketNameInvalid" RESOURCENOTFOUND_COSBUCKETNOTEXIST = "ResourceNotFound.CosBucketNotExist" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) EnableScheduleWithContext ¶
func (c *Client) EnableScheduleWithContext(ctx context.Context, request *EnableScheduleRequest) (response *EnableScheduleResponse, err error)
EnableSchedule This API is used to enable a scheme.
error code that may be returned:
FAILEDOPERATION_BUCKETNOTIFYALREADYEXIST = "FailedOperation.BucketNotifyAlreadyExist" FAILEDOPERATION_COSSTATUSINAVLID = "FailedOperation.CosStatusInavlid" FAILEDOPERATION_GETSOURCENOTIFY = "FailedOperation.GetSourceNotify" FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" FAILEDOPERATION_INVALIDUSER = "FailedOperation.InvalidUser" FAILEDOPERATION_SETSOURCENOTIFY = "FailedOperation.SetSourceNotify" INTERNALERROR = "InternalError" INTERNALERROR_ACCESSDBERROR = "InternalError.AccessDBError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_COSBUCKETNAMEINVALID = "ResourceNotFound.CosBucketNameInvalid" RESOURCENOTFOUND_COSBUCKETNOTEXIST = "ResourceNotFound.CosBucketNotExist" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) EnableWorkflow ¶
func (c *Client) EnableWorkflow(request *EnableWorkflowRequest) (response *EnableWorkflowResponse, err error)
EnableWorkflow This API is used to enable a workflow.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BUCKETNOTIFYALREADYEXIST = "FailedOperation.BucketNotifyAlreadyExist" FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_COSBUCKETNAMEINVALID = "ResourceNotFound.CosBucketNameInvalid" RESOURCENOTFOUND_COSBUCKETNOTEXIST = "ResourceNotFound.CosBucketNotExist" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) EnableWorkflowWithContext ¶
func (c *Client) EnableWorkflowWithContext(ctx context.Context, request *EnableWorkflowRequest) (response *EnableWorkflowResponse, err error)
EnableWorkflow This API is used to enable a workflow.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BUCKETNOTIFYALREADYEXIST = "FailedOperation.BucketNotifyAlreadyExist" FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_COSBUCKETNAMEINVALID = "ResourceNotFound.CosBucketNameInvalid" RESOURCENOTFOUND_COSBUCKETNOTEXIST = "ResourceNotFound.CosBucketNotExist" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) ExecuteFunction ¶
func (c *Client) ExecuteFunction(request *ExecuteFunctionRequest) (response *ExecuteFunctionResponse, err error)
ExecuteFunction This API is reserved for special circumstances. Do not use it unless you are directed to use it by technical support.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" FAILEDOPERATION_INVALIDUSER = "FailedOperation.InvalidUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_FUNCTIONARG = "InvalidParameterValue.FunctionArg" INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ExecuteFunctionWithContext ¶
func (c *Client) ExecuteFunctionWithContext(ctx context.Context, request *ExecuteFunctionRequest) (response *ExecuteFunctionResponse, err error)
ExecuteFunction This API is reserved for special circumstances. Do not use it unless you are directed to use it by technical support.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" FAILEDOPERATION_INVALIDUSER = "FailedOperation.InvalidUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_FUNCTIONARG = "InvalidParameterValue.FunctionArg" INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ManageTask ¶
func (c *Client) ManageTask(request *ManageTaskRequest) (response *ManageTaskResponse, err error)
ManageTask This API is used to manage initiated tasks.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDOPERATIONTYPE = "InvalidParameterValue.InvalidOperationType" INVALIDPARAMETERVALUE_NOTPROCESSINGTASK = "InvalidParameterValue.NotProcessingTask" INVALIDPARAMETERVALUE_TASKID = "InvalidParameterValue.TaskId"
func (*Client) ManageTaskWithContext ¶
func (c *Client) ManageTaskWithContext(ctx context.Context, request *ManageTaskRequest) (response *ManageTaskResponse, err error)
ManageTask This API is used to manage initiated tasks.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDOPERATIONTYPE = "InvalidParameterValue.InvalidOperationType" INVALIDPARAMETERVALUE_NOTPROCESSINGTASK = "InvalidParameterValue.NotProcessingTask" INVALIDPARAMETERVALUE_TASKID = "InvalidParameterValue.TaskId"
func (*Client) ModifyAIAnalysisTemplate ¶
func (c *Client) ModifyAIAnalysisTemplate(request *ModifyAIAnalysisTemplateRequest) (response *ModifyAIAnalysisTemplateResponse, err error)
ModifyAIAnalysisTemplate This API is used to modify a custom content analysis template.
Note: templates with an ID below 10000 are preset and cannot be modified.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_CLASSIFCATIONCONFIGURE = "InvalidParameterValue.ClassifcationConfigure" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_COVERCONFIGURE = "InvalidParameterValue.CoverConfigure" INVALIDPARAMETERVALUE_FRAMETAGCONFIGURE = "InvalidParameterValue.FrameTagConfigure" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_TAGCONFIGURE = "InvalidParameterValue.TagConfigure" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) ModifyAIAnalysisTemplateWithContext ¶
func (c *Client) ModifyAIAnalysisTemplateWithContext(ctx context.Context, request *ModifyAIAnalysisTemplateRequest) (response *ModifyAIAnalysisTemplateResponse, err error)
ModifyAIAnalysisTemplate This API is used to modify a custom content analysis template.
Note: templates with an ID below 10000 are preset and cannot be modified.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_CLASSIFCATIONCONFIGURE = "InvalidParameterValue.ClassifcationConfigure" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_COVERCONFIGURE = "InvalidParameterValue.CoverConfigure" INVALIDPARAMETERVALUE_FRAMETAGCONFIGURE = "InvalidParameterValue.FrameTagConfigure" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_TAGCONFIGURE = "InvalidParameterValue.TagConfigure" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) ModifyAIRecognitionTemplate ¶
func (c *Client) ModifyAIRecognitionTemplate(request *ModifyAIRecognitionTemplateRequest) (response *ModifyAIRecognitionTemplateResponse, err error)
ModifyAIRecognitionTemplate This API is used to modify a custom content recognition template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_DEFAULTLIBRARYLABELSET = "InvalidParameterValue.DefaultLibraryLabelSet" INVALIDPARAMETERVALUE_FACELIBRARY = "InvalidParameterValue.FaceLibrary" INVALIDPARAMETERVALUE_FACESCORE = "InvalidParameterValue.FaceScore" INVALIDPARAMETERVALUE_LABELSET = "InvalidParameterValue.LabelSet" INVALIDPARAMETERVALUE_MODIFYDEFAULTTEMPLATE = "InvalidParameterValue.ModifyDefaultTemplate" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_OBJECTLIBRARY = "InvalidParameterValue.ObjectLibrary" INVALIDPARAMETERVALUE_SUBTITLEFORMAT = "InvalidParameterValue.SubtitleFormat" INVALIDPARAMETERVALUE_SWITCH = "InvalidParameterValue.Switch" INVALIDPARAMETERVALUE_USERDEFINELIBRARYLABELSET = "InvalidParameterValue.UserDefineLibraryLabelSet" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) ModifyAIRecognitionTemplateWithContext ¶
func (c *Client) ModifyAIRecognitionTemplateWithContext(ctx context.Context, request *ModifyAIRecognitionTemplateRequest) (response *ModifyAIRecognitionTemplateResponse, err error)
ModifyAIRecognitionTemplate This API is used to modify a custom content recognition template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_DEFAULTLIBRARYLABELSET = "InvalidParameterValue.DefaultLibraryLabelSet" INVALIDPARAMETERVALUE_FACELIBRARY = "InvalidParameterValue.FaceLibrary" INVALIDPARAMETERVALUE_FACESCORE = "InvalidParameterValue.FaceScore" INVALIDPARAMETERVALUE_LABELSET = "InvalidParameterValue.LabelSet" INVALIDPARAMETERVALUE_MODIFYDEFAULTTEMPLATE = "InvalidParameterValue.ModifyDefaultTemplate" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_OBJECTLIBRARY = "InvalidParameterValue.ObjectLibrary" INVALIDPARAMETERVALUE_SUBTITLEFORMAT = "InvalidParameterValue.SubtitleFormat" INVALIDPARAMETERVALUE_SWITCH = "InvalidParameterValue.Switch" INVALIDPARAMETERVALUE_USERDEFINELIBRARYLABELSET = "InvalidParameterValue.UserDefineLibraryLabelSet" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) ModifyAdaptiveDynamicStreamingTemplate ¶
func (c *Client) ModifyAdaptiveDynamicStreamingTemplate(request *ModifyAdaptiveDynamicStreamingTemplateRequest) (response *ModifyAdaptiveDynamicStreamingTemplateResponse, err error)
ModifyAdaptiveDynamicStreamingTemplate This API is used to modify an adaptive bitrate streaming template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_AUDIOBITRATE = "InvalidParameterValue.AudioBitrate" INVALIDPARAMETERVALUE_AUDIOCHANNEL = "InvalidParameterValue.AudioChannel" INVALIDPARAMETERVALUE_AUDIOCODEC = "InvalidParameterValue.AudioCodec" INVALIDPARAMETERVALUE_AUDIOSAMPLERATE = "InvalidParameterValue.AudioSampleRate" INVALIDPARAMETERVALUE_BITRATE = "InvalidParameterValue.Bitrate" INVALIDPARAMETERVALUE_CODEC = "InvalidParameterValue.Codec" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEOBITRATE = "InvalidParameterValue.DisableHigherVideoBitrate" INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEORESOLUTION = "InvalidParameterValue.DisableHigherVideoResolution" INVALIDPARAMETERVALUE_FILLTYPE = "InvalidParameterValue.FillType" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps" INVALIDPARAMETERVALUE_GOP = "InvalidParameterValue.Gop" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REMOVEAUDIO = "InvalidParameterValue.RemoveAudio" INVALIDPARAMETERVALUE_REMOVEVIDEO = "InvalidParameterValue.RemoveVideo" INVALIDPARAMETERVALUE_SOUNDSYSTEM = "InvalidParameterValue.SoundSystem" INVALIDPARAMETERVALUE_VIDEOBITRATE = "InvalidParameterValue.VideoBitrate" INVALIDPARAMETERVALUE_VIDEOCODEC = "InvalidParameterValue.VideoCodec" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width"
func (*Client) ModifyAdaptiveDynamicStreamingTemplateWithContext ¶
func (c *Client) ModifyAdaptiveDynamicStreamingTemplateWithContext(ctx context.Context, request *ModifyAdaptiveDynamicStreamingTemplateRequest) (response *ModifyAdaptiveDynamicStreamingTemplateResponse, err error)
ModifyAdaptiveDynamicStreamingTemplate This API is used to modify an adaptive bitrate streaming template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_AUDIOBITRATE = "InvalidParameterValue.AudioBitrate" INVALIDPARAMETERVALUE_AUDIOCHANNEL = "InvalidParameterValue.AudioChannel" INVALIDPARAMETERVALUE_AUDIOCODEC = "InvalidParameterValue.AudioCodec" INVALIDPARAMETERVALUE_AUDIOSAMPLERATE = "InvalidParameterValue.AudioSampleRate" INVALIDPARAMETERVALUE_BITRATE = "InvalidParameterValue.Bitrate" INVALIDPARAMETERVALUE_CODEC = "InvalidParameterValue.Codec" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEOBITRATE = "InvalidParameterValue.DisableHigherVideoBitrate" INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEORESOLUTION = "InvalidParameterValue.DisableHigherVideoResolution" INVALIDPARAMETERVALUE_FILLTYPE = "InvalidParameterValue.FillType" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps" INVALIDPARAMETERVALUE_GOP = "InvalidParameterValue.Gop" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REMOVEAUDIO = "InvalidParameterValue.RemoveAudio" INVALIDPARAMETERVALUE_REMOVEVIDEO = "InvalidParameterValue.RemoveVideo" INVALIDPARAMETERVALUE_SOUNDSYSTEM = "InvalidParameterValue.SoundSystem" INVALIDPARAMETERVALUE_VIDEOBITRATE = "InvalidParameterValue.VideoBitrate" INVALIDPARAMETERVALUE_VIDEOCODEC = "InvalidParameterValue.VideoCodec" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width"
func (*Client) ModifyAnimatedGraphicsTemplate ¶
func (c *Client) ModifyAnimatedGraphicsTemplate(request *ModifyAnimatedGraphicsTemplateRequest) (response *ModifyAnimatedGraphicsTemplateResponse, err error)
ModifyAnimatedGraphicsTemplate This API is used to modify a custom animated image generating template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_FORMATWEBPLACKWIDTHANDHEIGHT = "InvalidParameterValue.FormatWebpLackWidthAndHeight" INVALIDPARAMETERVALUE_FORMATWEBPWIDTHANDHEIGHTBOTHZERO = "InvalidParameterValue.FormatWebpWidthAndHeightBothZero" INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_QUALITY = "InvalidParameterValue.Quality" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) ModifyAnimatedGraphicsTemplateWithContext ¶
func (c *Client) ModifyAnimatedGraphicsTemplateWithContext(ctx context.Context, request *ModifyAnimatedGraphicsTemplateRequest) (response *ModifyAnimatedGraphicsTemplateResponse, err error)
ModifyAnimatedGraphicsTemplate This API is used to modify a custom animated image generating template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_FORMATWEBPLACKWIDTHANDHEIGHT = "InvalidParameterValue.FormatWebpLackWidthAndHeight" INVALIDPARAMETERVALUE_FORMATWEBPWIDTHANDHEIGHTBOTHZERO = "InvalidParameterValue.FormatWebpWidthAndHeightBothZero" INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_QUALITY = "InvalidParameterValue.Quality" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) ModifyContentReviewTemplate ¶
func (c *Client) ModifyContentReviewTemplate(request *ModifyContentReviewTemplateRequest) (response *ModifyContentReviewTemplateResponse, err error)
ModifyContentReviewTemplate This API is used to modify a custom content moderation template.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_BLOCKCONFIDENCE = "InvalidParameterValue.BlockConfidence" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_LABELSET = "InvalidParameterValue.LabelSet" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REVIEWCONFIDENCE = "InvalidParameterValue.ReviewConfidence" INVALIDPARAMETERVALUE_SWITCH = "InvalidParameterValue.Switch" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) ModifyContentReviewTemplateWithContext ¶
func (c *Client) ModifyContentReviewTemplateWithContext(ctx context.Context, request *ModifyContentReviewTemplateRequest) (response *ModifyContentReviewTemplateResponse, err error)
ModifyContentReviewTemplate This API is used to modify a custom content moderation template.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_BLOCKCONFIDENCE = "InvalidParameterValue.BlockConfidence" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_LABELSET = "InvalidParameterValue.LabelSet" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REVIEWCONFIDENCE = "InvalidParameterValue.ReviewConfidence" INVALIDPARAMETERVALUE_SWITCH = "InvalidParameterValue.Switch" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) ModifyImageSpriteTemplate ¶
func (c *Client) ModifyImageSpriteTemplate(request *ModifyImageSpriteTemplateRequest) (response *ModifyImageSpriteTemplateResponse, err error)
ModifyImageSpriteTemplate This API is used to modify a custom image sprite generating template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COLUMNCOUNT = "InvalidParameterValue.ColumnCount" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" INVALIDPARAMETERVALUE_ROWCOUNT = "InvalidParameterValue.RowCount" INVALIDPARAMETERVALUE_SAMPLEINTERVAL = "InvalidParameterValue.SampleInterval" INVALIDPARAMETERVALUE_SAMPLETYPE = "InvalidParameterValue.SampleType" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) ModifyImageSpriteTemplateWithContext ¶
func (c *Client) ModifyImageSpriteTemplateWithContext(ctx context.Context, request *ModifyImageSpriteTemplateRequest) (response *ModifyImageSpriteTemplateResponse, err error)
ModifyImageSpriteTemplate This API is used to modify a custom image sprite generating template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COLUMNCOUNT = "InvalidParameterValue.ColumnCount" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" INVALIDPARAMETERVALUE_ROWCOUNT = "InvalidParameterValue.RowCount" INVALIDPARAMETERVALUE_SAMPLEINTERVAL = "InvalidParameterValue.SampleInterval" INVALIDPARAMETERVALUE_SAMPLETYPE = "InvalidParameterValue.SampleType" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) ModifyPersonSample ¶
func (c *Client) ModifyPersonSample(request *ModifyPersonSampleRequest) (response *ModifyPersonSampleResponse, err error)
ModifyPersonSample This API is used to modify image samples by image ID. You can use it to modify the name and description of an image sample and add/delete/reset facial features or tags. There must be at least one image left after the deletion of facial features; otherwise, please reset instead of delete the facial features.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FACEDUPLICATE = "InvalidParameterValue.FaceDuplicate" INVALIDPARAMETERVALUE_PICFORMATERROR = "InvalidParameterValue.PicFormatError" RESOURCENOTFOUND_PERSON = "ResourceNotFound.Person"
func (*Client) ModifyPersonSampleWithContext ¶
func (c *Client) ModifyPersonSampleWithContext(ctx context.Context, request *ModifyPersonSampleRequest) (response *ModifyPersonSampleResponse, err error)
ModifyPersonSample This API is used to modify image samples by image ID. You can use it to modify the name and description of an image sample and add/delete/reset facial features or tags. There must be at least one image left after the deletion of facial features; otherwise, please reset instead of delete the facial features.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FACEDUPLICATE = "InvalidParameterValue.FaceDuplicate" INVALIDPARAMETERVALUE_PICFORMATERROR = "InvalidParameterValue.PicFormatError" RESOURCENOTFOUND_PERSON = "ResourceNotFound.Person"
func (*Client) ModifySampleSnapshotTemplate ¶
func (c *Client) ModifySampleSnapshotTemplate(request *ModifySampleSnapshotTemplateRequest) (response *ModifySampleSnapshotTemplateResponse, err error)
ModifySampleSnapshotTemplate This API is used to modify a custom sampled screencapturing template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_FILLTYPE = "InvalidParameterValue.FillType" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" INVALIDPARAMETERVALUE_SAMPLEINTERVAL = "InvalidParameterValue.SampleInterval" INVALIDPARAMETERVALUE_SAMPLETYPE = "InvalidParameterValue.SampleType" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) ModifySampleSnapshotTemplateWithContext ¶
func (c *Client) ModifySampleSnapshotTemplateWithContext(ctx context.Context, request *ModifySampleSnapshotTemplateRequest) (response *ModifySampleSnapshotTemplateResponse, err error)
ModifySampleSnapshotTemplate This API is used to modify a custom sampled screencapturing template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_FILLTYPE = "InvalidParameterValue.FillType" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" INVALIDPARAMETERVALUE_SAMPLEINTERVAL = "InvalidParameterValue.SampleInterval" INVALIDPARAMETERVALUE_SAMPLETYPE = "InvalidParameterValue.SampleType" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) ModifySchedule ¶
func (c *Client) ModifySchedule(request *ModifyScheduleRequest) (response *ModifyScheduleResponse, err error)
ModifySchedule This API is used to modify a scheme.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" FAILEDOPERATION_INVALIDUSER = "FailedOperation.InvalidUser" INTERNALERROR = "InternalError" INTERNALERROR_ACCESSDBERROR = "InternalError.AccessDBError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) ModifyScheduleWithContext ¶
func (c *Client) ModifyScheduleWithContext(ctx context.Context, request *ModifyScheduleRequest) (response *ModifyScheduleResponse, err error)
ModifySchedule This API is used to modify a scheme.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" FAILEDOPERATION_INVALIDUSER = "FailedOperation.InvalidUser" INTERNALERROR = "InternalError" INTERNALERROR_ACCESSDBERROR = "InternalError.AccessDBError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) ModifySnapshotByTimeOffsetTemplate ¶
func (c *Client) ModifySnapshotByTimeOffsetTemplate(request *ModifySnapshotByTimeOffsetTemplateRequest) (response *ModifySnapshotByTimeOffsetTemplateResponse, err error)
ModifySnapshotByTimeOffsetTemplate This API is used to modify a custom time point screencapturing template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_FILLTYPE = "InvalidParameterValue.FillType" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) ModifySnapshotByTimeOffsetTemplateWithContext ¶
func (c *Client) ModifySnapshotByTimeOffsetTemplateWithContext(ctx context.Context, request *ModifySnapshotByTimeOffsetTemplateRequest) (response *ModifySnapshotByTimeOffsetTemplateResponse, err error)
ModifySnapshotByTimeOffsetTemplate This API is used to modify a custom time point screencapturing template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_FILLTYPE = "InvalidParameterValue.FillType" INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) ModifyTranscodeTemplate ¶
func (c *Client) ModifyTranscodeTemplate(request *ModifyTranscodeTemplateRequest) (response *ModifyTranscodeTemplateResponse, err error)
ModifyTranscodeTemplate This API is used to modify a custom transcoding template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INTERNALERROR_ACCESSDBERROR = "InternalError.AccessDBError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_AUDIOBITRATE = "InvalidParameterValue.AudioBitrate" INVALIDPARAMETERVALUE_AUDIOCHANNEL = "InvalidParameterValue.AudioChannel" INVALIDPARAMETERVALUE_AUDIOCODEC = "InvalidParameterValue.AudioCodec" INVALIDPARAMETERVALUE_AUDIOSAMPLERATE = "InvalidParameterValue.AudioSampleRate" INVALIDPARAMETERVALUE_CONTAINER = "InvalidParameterValue.Container" INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REMOVEAUDIO = "InvalidParameterValue.RemoveAudio" INVALIDPARAMETERVALUE_REMOVEVIDEO = "InvalidParameterValue.RemoveVideo" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" INVALIDPARAMETERVALUE_RESOLUTIONADAPTIVE = "InvalidParameterValue.ResolutionAdaptive" INVALIDPARAMETERVALUE_SAMPLERATE = "InvalidParameterValue.SampleRate" INVALIDPARAMETERVALUE_TEHDTYPE = "InvalidParameterValue.TEHDType" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" INVALIDPARAMETERVALUE_VIDEOBITRATE = "InvalidParameterValue.VideoBitrate" INVALIDPARAMETERVALUE_VIDEOCODEC = "InvalidParameterValue.VideoCodec" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) ModifyTranscodeTemplateWithContext ¶
func (c *Client) ModifyTranscodeTemplateWithContext(ctx context.Context, request *ModifyTranscodeTemplateRequest) (response *ModifyTranscodeTemplateResponse, err error)
ModifyTranscodeTemplate This API is used to modify a custom transcoding template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INTERNALERROR_ACCESSDBERROR = "InternalError.AccessDBError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_AUDIOBITRATE = "InvalidParameterValue.AudioBitrate" INVALIDPARAMETERVALUE_AUDIOCHANNEL = "InvalidParameterValue.AudioChannel" INVALIDPARAMETERVALUE_AUDIOCODEC = "InvalidParameterValue.AudioCodec" INVALIDPARAMETERVALUE_AUDIOSAMPLERATE = "InvalidParameterValue.AudioSampleRate" INVALIDPARAMETERVALUE_CONTAINER = "InvalidParameterValue.Container" INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REMOVEAUDIO = "InvalidParameterValue.RemoveAudio" INVALIDPARAMETERVALUE_REMOVEVIDEO = "InvalidParameterValue.RemoveVideo" INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution" INVALIDPARAMETERVALUE_RESOLUTIONADAPTIVE = "InvalidParameterValue.ResolutionAdaptive" INVALIDPARAMETERVALUE_SAMPLERATE = "InvalidParameterValue.SampleRate" INVALIDPARAMETERVALUE_TEHDTYPE = "InvalidParameterValue.TEHDType" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" INVALIDPARAMETERVALUE_VIDEOBITRATE = "InvalidParameterValue.VideoBitrate" INVALIDPARAMETERVALUE_VIDEOCODEC = "InvalidParameterValue.VideoCodec" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) ModifyWatermarkTemplate ¶
func (c *Client) ModifyWatermarkTemplate(request *ModifyWatermarkTemplateRequest) (response *ModifyWatermarkTemplateResponse, err error)
ModifyWatermarkTemplate This API is used to modify a custom watermarking template. The watermark type cannot be modified.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INTERNALERROR_UPLOADWATERMARKERROR = "InternalError.UploadWatermarkError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_COORDINATEORIGIN = "InvalidParameterValue.CoordinateOrigin" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_IMAGECONTENT = "InvalidParameterValue.ImageContent" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REPEATTYPE = "InvalidParameterValue.RepeatType" INVALIDPARAMETERVALUE_SVGTEMPLATEHEIGHT = "InvalidParameterValue.SvgTemplateHeight" INVALIDPARAMETERVALUE_SVGTEMPLATEWIDTH = "InvalidParameterValue.SvgTemplateWidth" INVALIDPARAMETERVALUE_TEXTALPHA = "InvalidParameterValue.TextAlpha" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" INVALIDPARAMETERVALUE_XPOS = "InvalidParameterValue.XPos" INVALIDPARAMETERVALUE_YPOS = "InvalidParameterValue.YPos" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) ModifyWatermarkTemplateWithContext ¶
func (c *Client) ModifyWatermarkTemplateWithContext(ctx context.Context, request *ModifyWatermarkTemplateRequest) (response *ModifyWatermarkTemplateResponse, err error)
ModifyWatermarkTemplate This API is used to modify a custom watermarking template. The watermark type cannot be modified.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INTERNALERROR_UPLOADWATERMARKERROR = "InternalError.UploadWatermarkError" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_COORDINATEORIGIN = "InvalidParameterValue.CoordinateOrigin" INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" INVALIDPARAMETERVALUE_IMAGECONTENT = "InvalidParameterValue.ImageContent" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_REPEATTYPE = "InvalidParameterValue.RepeatType" INVALIDPARAMETERVALUE_SVGTEMPLATEHEIGHT = "InvalidParameterValue.SvgTemplateHeight" INVALIDPARAMETERVALUE_SVGTEMPLATEWIDTH = "InvalidParameterValue.SvgTemplateWidth" INVALIDPARAMETERVALUE_TEXTALPHA = "InvalidParameterValue.TextAlpha" INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width" INVALIDPARAMETERVALUE_XPOS = "InvalidParameterValue.XPos" INVALIDPARAMETERVALUE_YPOS = "InvalidParameterValue.YPos" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) ModifyWordSample ¶
func (c *Client) ModifyWordSample(request *ModifyWordSampleRequest) (response *ModifyWordSampleResponse, err error)
ModifyWordSample This API is used to modify the use case and tag of a keyword. The keyword itself cannot be modified, but you can delete it and create another one if needed.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_WORD = "ResourceNotFound.Word"
func (*Client) ModifyWordSampleWithContext ¶
func (c *Client) ModifyWordSampleWithContext(ctx context.Context, request *ModifyWordSampleRequest) (response *ModifyWordSampleResponse, err error)
ModifyWordSample This API is used to modify the use case and tag of a keyword. The keyword itself cannot be modified, but you can delete it and create another one if needed.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_WORD = "ResourceNotFound.Word"
func (*Client) ParseLiveStreamProcessNotification ¶
func (c *Client) ParseLiveStreamProcessNotification(request *ParseLiveStreamProcessNotificationRequest) (response *ParseLiveStreamProcessNotificationResponse, err error)
ParseLiveStreamProcessNotification This API is used to parse the content of an MPS live stream processing event notification from the `msgBody` field in the message received from CMQ.
Instead of initiating a video processing task, this API is used to help generate SDKs for various programming languages. You can parse the event notification based on the analytic function of the SDKs.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INVALIDPARAMETERVALUE_INVALIDCONTENT = "InvalidParameterValue.InvalidContent"
func (*Client) ParseLiveStreamProcessNotificationWithContext ¶
func (c *Client) ParseLiveStreamProcessNotificationWithContext(ctx context.Context, request *ParseLiveStreamProcessNotificationRequest) (response *ParseLiveStreamProcessNotificationResponse, err error)
ParseLiveStreamProcessNotification This API is used to parse the content of an MPS live stream processing event notification from the `msgBody` field in the message received from CMQ.
Instead of initiating a video processing task, this API is used to help generate SDKs for various programming languages. You can parse the event notification based on the analytic function of the SDKs.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INVALIDPARAMETERVALUE_INVALIDCONTENT = "InvalidParameterValue.InvalidContent"
func (*Client) ParseNotification ¶
func (c *Client) ParseNotification(request *ParseNotificationRequest) (response *ParseNotificationResponse, err error)
ParseNotification This API is used to parse the content of an MPS event notification from the `msgBody` field in the message received from CMQ.
Instead of initiating a video processing task, this API is used to help generate SDKs for various programming languages. You can parse the event notification based on the analytic function of the SDKs.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDCONTENT = "InvalidParameterValue.InvalidContent"
func (*Client) ParseNotificationWithContext ¶
func (c *Client) ParseNotificationWithContext(ctx context.Context, request *ParseNotificationRequest) (response *ParseNotificationResponse, err error)
ParseNotification This API is used to parse the content of an MPS event notification from the `msgBody` field in the message received from CMQ.
Instead of initiating a video processing task, this API is used to help generate SDKs for various programming languages. You can parse the event notification based on the analytic function of the SDKs.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDCONTENT = "InvalidParameterValue.InvalidContent"
func (*Client) ProcessLiveStream ¶
func (c *Client) ProcessLiveStream(request *ProcessLiveStreamRequest) (response *ProcessLiveStreamResponse, err error)
ProcessLiveStream This API is used to initiate live stream processing tasks. Such tasks may include the following:
* Intelligent content moderation (detection of pornographic content in images and audio, detection of sensitive information)
* Intelligent content recognition (face, full text, text keyword, and speech keyword recognition; real-time speech translation)
Live stream processing notifications are written into the specified CMQ queue in real time. You need to obtain the processing results from the CMQ queue. The output files of processing tasks are saved to the specified bucket.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId"
func (*Client) ProcessLiveStreamWithContext ¶
func (c *Client) ProcessLiveStreamWithContext(ctx context.Context, request *ProcessLiveStreamRequest) (response *ProcessLiveStreamResponse, err error)
ProcessLiveStream This API is used to initiate live stream processing tasks. Such tasks may include the following:
* Intelligent content moderation (detection of pornographic content in images and audio, detection of sensitive information)
* Intelligent content recognition (face, full text, text keyword, and speech keyword recognition; real-time speech translation)
Live stream processing notifications are written into the specified CMQ queue in real time. You need to obtain the processing results from the CMQ queue. The output files of processing tasks are saved to the specified bucket.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions" INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId"
func (*Client) ProcessMedia ¶
func (c *Client) ProcessMedia(request *ProcessMediaRequest) (response *ProcessMediaResponse, err error)
ProcessMedia This API is used to initiate processing tasks for media specified by a URL or in COS. Such tasks may include the following:
1. Video transcoding (general transcoding, Top Speed Codec, audio/video enhancement)
2. Animated image generating
3. Time point screencapturing
4. Sampled screencapturing
5. Image sprite generating
6. Adaptive bitrate streaming
7. Intelligent content moderation (detection of pornographic and sensitive content)
8. Intelligent content analysis (labeling, categorization, thumbnail generation, labeling by frame, splitting, highlight generation, opening and closing segment recognition)
9. Intelligent content recognition (face, full text, text keyword, full speech, speech keyword, speech translation, object recognition)
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong" INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId" INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong"
func (*Client) ProcessMediaWithContext ¶
func (c *Client) ProcessMediaWithContext(ctx context.Context, request *ProcessMediaRequest) (response *ProcessMediaResponse, err error)
ProcessMedia This API is used to initiate processing tasks for media specified by a URL or in COS. Such tasks may include the following:
1. Video transcoding (general transcoding, Top Speed Codec, audio/video enhancement)
2. Animated image generating
3. Time point screencapturing
4. Sampled screencapturing
5. Image sprite generating
6. Adaptive bitrate streaming
7. Intelligent content moderation (detection of pornographic and sensitive content)
8. Intelligent content analysis (labeling, categorization, thumbnail generation, labeling by frame, splitting, highlight generation, opening and closing segment recognition)
9. Intelligent content recognition (face, full text, text keyword, full speech, speech keyword, speech translation, object recognition)
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong" INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId" INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong"
func (*Client) ResetWorkflow ¶
func (c *Client) ResetWorkflow(request *ResetWorkflowRequest) (response *ResetWorkflowResponse, err error)
ResetWorkflow This API is used to reset an existing workflow that is disabled.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) ResetWorkflowWithContext ¶
func (c *Client) ResetWorkflowWithContext(ctx context.Context, request *ResetWorkflowRequest) (response *ResetWorkflowResponse, err error)
ResetWorkflow This API is used to reset an existing workflow that is disabled.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
type ColorEnhanceConfig ¶
type ColorEnhanceConfig struct { // Whether to enable the feature. Valid values: // <li>ON</li> // <li>OFF</li> // Default value: ON. Switch *string `json:"Switch,omitnil" name:"Switch"` // The strength. Valid values: // <li>weak</li> // <li>normal</li> // <li>strong</li> // Default value: weak. // Note: This field may return null, indicating that no valid values can be obtained. Type *string `json:"Type,omitnil" name:"Type"` }
type ContentReviewTemplateItem ¶
type ContentReviewTemplateItem struct { // Unique ID of a content audit template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` // Name of a content audit template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Description of a content audit template. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Porn information detection control parameter. // Note: This field may return null, indicating that no valid values can be obtained. PornConfigure *PornConfigureInfo `json:"PornConfigure,omitnil" name:"PornConfigure"` // The parameters for detecting sensitive information. // Note: This field may return `null`, indicating that no valid values can be obtained. TerrorismConfigure *TerrorismConfigureInfo `json:"TerrorismConfigure,omitnil" name:"TerrorismConfigure"` // The parameters for detecting sensitive information. // Note: This field may return `null`, indicating that no valid values can be obtained. PoliticalConfigure *PoliticalConfigureInfo `json:"PoliticalConfigure,omitnil" name:"PoliticalConfigure"` // Control parameter of prohibited information detection. Prohibited information includes: // <li>Abusive;</li> // <li>Drug-related.</li> // Note: this field may return null, indicating that no valid values can be obtained. ProhibitedConfigure *ProhibitedConfigureInfo `json:"ProhibitedConfigure,omitnil" name:"ProhibitedConfigure"` // Custom content audit control parameter. // Note: This field may return null, indicating that no valid values can be obtained. UserDefineConfigure *UserDefineConfigureInfo `json:"UserDefineConfigure,omitnil" name:"UserDefineConfigure"` // Creation time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Last modified time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // The template type. Valid values: // * Preset // * Custom // Note: This field may return `null`, indicating that no valid values can be obtained. Type *string `json:"Type,omitnil" name:"Type"` }
type CosFileUploadTrigger ¶
type CosFileUploadTrigger struct { // Name of the COS bucket bound to a workflow, such as `TopRankVideo-125xxx88`. Bucket *string `json:"Bucket,omitnil" name:"Bucket"` // Region of the COS bucket bound to a workflow, such as `ap-chongiqng`. Region *string `json:"Region,omitnil" name:"Region"` // Input path directory bound to a workflow, such as `/movie/201907/`. If this parameter is left empty, the `/` root directory will be used. Dir *string `json:"Dir,omitnil" name:"Dir"` // Format list of files that can trigger a workflow, such as ["mp4", "flv", "mov"]. If this parameter is left empty, files in all formats can trigger the workflow. Formats []*string `json:"Formats,omitnil" name:"Formats"` }
type CosInputInfo ¶
type CosInputInfo struct { // The COS bucket of the object to process, such as `TopRankVideo-125xxx88`. Bucket *string `json:"Bucket,omitnil" name:"Bucket"` // The region of the COS bucket, such as `ap-chongqing`. Region *string `json:"Region,omitnil" name:"Region"` // The path of the object to process, such as `/movie/201907/WildAnimal.mov`. Object *string `json:"Object,omitnil" name:"Object"` }
type CosOutputStorage ¶
type CosOutputStorage struct { // The bucket to which the output file of media processing is saved, such as `TopRankVideo-125xxx88`. If this parameter is left empty, the value of the upper layer will be inherited. Bucket *string `json:"Bucket,omitnil" name:"Bucket"` // The region of the output bucket, such as `ap-chongqing`. If this parameter is left empty, the value of the upper layer will be inherited. Region *string `json:"Region,omitnil" name:"Region"` }
type CoverConfigureInfo ¶
type CoverConfigureInfo struct { // Switch of intelligent cover generating task. Valid values: // <li>ON: enables intelligent cover generating task;</li> // <li>OFF: disables intelligent cover generating task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` }
type CoverConfigureInfoForUpdate ¶
type CoverConfigureInfoForUpdate struct { // Switch of intelligent cover generating task. Valid values: // <li>ON: enables intelligent cover generating task;</li> // <li>OFF: disables intelligent cover generating task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` }
type CreateAIAnalysisTemplateRequest ¶
type CreateAIAnalysisTemplateRequest struct { *tchttp.BaseRequest // Video content analysis template name. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Video content analysis template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Control parameter of intelligent categorization task. ClassificationConfigure *ClassificationConfigureInfo `json:"ClassificationConfigure,omitnil" name:"ClassificationConfigure"` // Control parameter of intelligent tagging task. TagConfigure *TagConfigureInfo `json:"TagConfigure,omitnil" name:"TagConfigure"` // Control parameter of intelligent cover generating task. CoverConfigure *CoverConfigureInfo `json:"CoverConfigure,omitnil" name:"CoverConfigure"` // Control parameter of intelligent frame-specific tagging task. FrameTagConfigure *FrameTagConfigureInfo `json:"FrameTagConfigure,omitnil" name:"FrameTagConfigure"` }
func NewCreateAIAnalysisTemplateRequest ¶
func NewCreateAIAnalysisTemplateRequest() (request *CreateAIAnalysisTemplateRequest)
func (*CreateAIAnalysisTemplateRequest) FromJsonString ¶
func (r *CreateAIAnalysisTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAIAnalysisTemplateRequest) ToJsonString ¶
func (r *CreateAIAnalysisTemplateRequest) ToJsonString() string
type CreateAIAnalysisTemplateRequestParams ¶
type CreateAIAnalysisTemplateRequestParams struct { // Video content analysis template name. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Video content analysis template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Control parameter of intelligent categorization task. ClassificationConfigure *ClassificationConfigureInfo `json:"ClassificationConfigure,omitnil" name:"ClassificationConfigure"` // Control parameter of intelligent tagging task. TagConfigure *TagConfigureInfo `json:"TagConfigure,omitnil" name:"TagConfigure"` // Control parameter of intelligent cover generating task. CoverConfigure *CoverConfigureInfo `json:"CoverConfigure,omitnil" name:"CoverConfigure"` // Control parameter of intelligent frame-specific tagging task. FrameTagConfigure *FrameTagConfigureInfo `json:"FrameTagConfigure,omitnil" name:"FrameTagConfigure"` }
Predefined struct for user
type CreateAIAnalysisTemplateResponse ¶
type CreateAIAnalysisTemplateResponse struct { *tchttp.BaseResponse Response *CreateAIAnalysisTemplateResponseParams `json:"Response"` }
func NewCreateAIAnalysisTemplateResponse ¶
func NewCreateAIAnalysisTemplateResponse() (response *CreateAIAnalysisTemplateResponse)
func (*CreateAIAnalysisTemplateResponse) FromJsonString ¶
func (r *CreateAIAnalysisTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAIAnalysisTemplateResponse) ToJsonString ¶
func (r *CreateAIAnalysisTemplateResponse) ToJsonString() string
type CreateAIAnalysisTemplateResponseParams ¶
type CreateAIAnalysisTemplateResponseParams struct { // Unique ID of video content analysis template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateAIRecognitionTemplateRequest ¶
type CreateAIRecognitionTemplateRequest struct { *tchttp.BaseRequest // Name of a video content recognition template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Description of a video content recognition template. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Face recognition control parameter. FaceConfigure *FaceConfigureInfo `json:"FaceConfigure,omitnil" name:"FaceConfigure"` // Full text recognition control parameter. OcrFullTextConfigure *OcrFullTextConfigureInfo `json:"OcrFullTextConfigure,omitnil" name:"OcrFullTextConfigure"` // Text keyword recognition control parameter. OcrWordsConfigure *OcrWordsConfigureInfo `json:"OcrWordsConfigure,omitnil" name:"OcrWordsConfigure"` // Full speech recognition control parameter. AsrFullTextConfigure *AsrFullTextConfigureInfo `json:"AsrFullTextConfigure,omitnil" name:"AsrFullTextConfigure"` // Speech keyword recognition control parameter. AsrWordsConfigure *AsrWordsConfigureInfo `json:"AsrWordsConfigure,omitnil" name:"AsrWordsConfigure"` }
func NewCreateAIRecognitionTemplateRequest ¶
func NewCreateAIRecognitionTemplateRequest() (request *CreateAIRecognitionTemplateRequest)
func (*CreateAIRecognitionTemplateRequest) FromJsonString ¶
func (r *CreateAIRecognitionTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAIRecognitionTemplateRequest) ToJsonString ¶
func (r *CreateAIRecognitionTemplateRequest) ToJsonString() string
type CreateAIRecognitionTemplateRequestParams ¶
type CreateAIRecognitionTemplateRequestParams struct { // Name of a video content recognition template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Description of a video content recognition template. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Face recognition control parameter. FaceConfigure *FaceConfigureInfo `json:"FaceConfigure,omitnil" name:"FaceConfigure"` // Full text recognition control parameter. OcrFullTextConfigure *OcrFullTextConfigureInfo `json:"OcrFullTextConfigure,omitnil" name:"OcrFullTextConfigure"` // Text keyword recognition control parameter. OcrWordsConfigure *OcrWordsConfigureInfo `json:"OcrWordsConfigure,omitnil" name:"OcrWordsConfigure"` // Full speech recognition control parameter. AsrFullTextConfigure *AsrFullTextConfigureInfo `json:"AsrFullTextConfigure,omitnil" name:"AsrFullTextConfigure"` // Speech keyword recognition control parameter. AsrWordsConfigure *AsrWordsConfigureInfo `json:"AsrWordsConfigure,omitnil" name:"AsrWordsConfigure"` }
Predefined struct for user
type CreateAIRecognitionTemplateResponse ¶
type CreateAIRecognitionTemplateResponse struct { *tchttp.BaseResponse Response *CreateAIRecognitionTemplateResponseParams `json:"Response"` }
func NewCreateAIRecognitionTemplateResponse ¶
func NewCreateAIRecognitionTemplateResponse() (response *CreateAIRecognitionTemplateResponse)
func (*CreateAIRecognitionTemplateResponse) FromJsonString ¶
func (r *CreateAIRecognitionTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAIRecognitionTemplateResponse) ToJsonString ¶
func (r *CreateAIRecognitionTemplateResponse) ToJsonString() string
type CreateAIRecognitionTemplateResponseParams ¶
type CreateAIRecognitionTemplateResponseParams struct { // Unique ID of a video content recognition template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateAdaptiveDynamicStreamingTemplateRequest ¶
type CreateAdaptiveDynamicStreamingTemplateRequest struct { *tchttp.BaseRequest // Adaptive bitrate streaming format. Valid values: // <li>HLS,</li> // <li>MPEG-DASH.</li> Format *string `json:"Format,omitnil" name:"Format"` // Parameter information of output substreams for transcoding to adaptive bitrate streaming. Up to 10 substreams can be output. // Note: the frame rate of each substream must be consistent; otherwise, the frame rate of the first substream is used as the output frame rate. StreamInfos []*AdaptiveStreamTemplate `json:"StreamInfos,omitnil" name:"StreamInfos"` // Template name. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Whether to prohibit transcoding from low bitrate to high bitrate. Valid values: // <li>0: no,</li> // <li>1: yes.</li> // Default value: 0. DisableHigherVideoBitrate *uint64 `json:"DisableHigherVideoBitrate,omitnil" name:"DisableHigherVideoBitrate"` // Whether to prohibit transcoding from low resolution to high resolution. Valid values: // <li>0: no,</li> // <li>1: yes.</li> // Default value: 0. DisableHigherVideoResolution *uint64 `json:"DisableHigherVideoResolution,omitnil" name:"DisableHigherVideoResolution"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` }
func NewCreateAdaptiveDynamicStreamingTemplateRequest ¶
func NewCreateAdaptiveDynamicStreamingTemplateRequest() (request *CreateAdaptiveDynamicStreamingTemplateRequest)
func (*CreateAdaptiveDynamicStreamingTemplateRequest) FromJsonString ¶
func (r *CreateAdaptiveDynamicStreamingTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAdaptiveDynamicStreamingTemplateRequest) ToJsonString ¶
func (r *CreateAdaptiveDynamicStreamingTemplateRequest) ToJsonString() string
type CreateAdaptiveDynamicStreamingTemplateRequestParams ¶
type CreateAdaptiveDynamicStreamingTemplateRequestParams struct { // Adaptive bitrate streaming format. Valid values: // <li>HLS,</li> // <li>MPEG-DASH.</li> Format *string `json:"Format,omitnil" name:"Format"` // Parameter information of output substreams for transcoding to adaptive bitrate streaming. Up to 10 substreams can be output. // Note: the frame rate of each substream must be consistent; otherwise, the frame rate of the first substream is used as the output frame rate. StreamInfos []*AdaptiveStreamTemplate `json:"StreamInfos,omitnil" name:"StreamInfos"` // Template name. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Whether to prohibit transcoding from low bitrate to high bitrate. Valid values: // <li>0: no,</li> // <li>1: yes.</li> // Default value: 0. DisableHigherVideoBitrate *uint64 `json:"DisableHigherVideoBitrate,omitnil" name:"DisableHigherVideoBitrate"` // Whether to prohibit transcoding from low resolution to high resolution. Valid values: // <li>0: no,</li> // <li>1: yes.</li> // Default value: 0. DisableHigherVideoResolution *uint64 `json:"DisableHigherVideoResolution,omitnil" name:"DisableHigherVideoResolution"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` }
Predefined struct for user
type CreateAdaptiveDynamicStreamingTemplateResponse ¶
type CreateAdaptiveDynamicStreamingTemplateResponse struct { *tchttp.BaseResponse Response *CreateAdaptiveDynamicStreamingTemplateResponseParams `json:"Response"` }
func NewCreateAdaptiveDynamicStreamingTemplateResponse ¶
func NewCreateAdaptiveDynamicStreamingTemplateResponse() (response *CreateAdaptiveDynamicStreamingTemplateResponse)
func (*CreateAdaptiveDynamicStreamingTemplateResponse) FromJsonString ¶
func (r *CreateAdaptiveDynamicStreamingTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAdaptiveDynamicStreamingTemplateResponse) ToJsonString ¶
func (r *CreateAdaptiveDynamicStreamingTemplateResponse) ToJsonString() string
type CreateAdaptiveDynamicStreamingTemplateResponseParams ¶
type CreateAdaptiveDynamicStreamingTemplateResponseParams struct { // Unique ID of an adaptive bitrate streaming template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateAnimatedGraphicsTemplateRequest ¶
type CreateAnimatedGraphicsTemplateRequest struct { *tchttp.BaseRequest // Video frame rate in Hz. Value range: [1, 30]. Fps *uint64 `json:"Fps,omitnil" name:"Fps"` // Maximum value of the width (or long side) of an animated image in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Width *uint64 `json:"Width,omitnil" name:"Width"` // Maximum value of the height (or short side) of a video stream in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Height *uint64 `json:"Height,omitnil" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitnil" name:"ResolutionAdaptive"` // Animated image format. Valid values: gif; webp. Default value: gif. Format *string `json:"Format,omitnil" name:"Format"` // Image quality. Value range: [1, 100]. Default value: 75. Quality *float64 `json:"Quality,omitnil" name:"Quality"` // Name of an animated image generating template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` }
func NewCreateAnimatedGraphicsTemplateRequest ¶
func NewCreateAnimatedGraphicsTemplateRequest() (request *CreateAnimatedGraphicsTemplateRequest)
func (*CreateAnimatedGraphicsTemplateRequest) FromJsonString ¶
func (r *CreateAnimatedGraphicsTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAnimatedGraphicsTemplateRequest) ToJsonString ¶
func (r *CreateAnimatedGraphicsTemplateRequest) ToJsonString() string
type CreateAnimatedGraphicsTemplateRequestParams ¶
type CreateAnimatedGraphicsTemplateRequestParams struct { // Video frame rate in Hz. Value range: [1, 30]. Fps *uint64 `json:"Fps,omitnil" name:"Fps"` // Maximum value of the width (or long side) of an animated image in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Width *uint64 `json:"Width,omitnil" name:"Width"` // Maximum value of the height (or short side) of a video stream in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Height *uint64 `json:"Height,omitnil" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitnil" name:"ResolutionAdaptive"` // Animated image format. Valid values: gif; webp. Default value: gif. Format *string `json:"Format,omitnil" name:"Format"` // Image quality. Value range: [1, 100]. Default value: 75. Quality *float64 `json:"Quality,omitnil" name:"Quality"` // Name of an animated image generating template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` }
Predefined struct for user
type CreateAnimatedGraphicsTemplateResponse ¶
type CreateAnimatedGraphicsTemplateResponse struct { *tchttp.BaseResponse Response *CreateAnimatedGraphicsTemplateResponseParams `json:"Response"` }
func NewCreateAnimatedGraphicsTemplateResponse ¶
func NewCreateAnimatedGraphicsTemplateResponse() (response *CreateAnimatedGraphicsTemplateResponse)
func (*CreateAnimatedGraphicsTemplateResponse) FromJsonString ¶
func (r *CreateAnimatedGraphicsTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAnimatedGraphicsTemplateResponse) ToJsonString ¶
func (r *CreateAnimatedGraphicsTemplateResponse) ToJsonString() string
type CreateAnimatedGraphicsTemplateResponseParams ¶
type CreateAnimatedGraphicsTemplateResponseParams struct { // Unique ID of an animated image generating template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateContentReviewTemplateRequest ¶
type CreateContentReviewTemplateRequest struct { *tchttp.BaseRequest // The name of the content moderation template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // The template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Control parameter for porn information PornConfigure *PornConfigureInfo `json:"PornConfigure,omitnil" name:"PornConfigure"` // Control parameter for terrorism information TerrorismConfigure *TerrorismConfigureInfo `json:"TerrorismConfigure,omitnil" name:"TerrorismConfigure"` // Control parameter for politically sensitive information PoliticalConfigure *PoliticalConfigureInfo `json:"PoliticalConfigure,omitnil" name:"PoliticalConfigure"` // Control parameter of prohibited information detection. Prohibited information includes: // <li>Abusive;</li> // <li>Drug-related.</li> // Note: this parameter is not supported yet. ProhibitedConfigure *ProhibitedConfigureInfo `json:"ProhibitedConfigure,omitnil" name:"ProhibitedConfigure"` // Custom content moderation parameters. UserDefineConfigure *UserDefineConfigureInfo `json:"UserDefineConfigure,omitnil" name:"UserDefineConfigure"` }
func NewCreateContentReviewTemplateRequest ¶
func NewCreateContentReviewTemplateRequest() (request *CreateContentReviewTemplateRequest)
func (*CreateContentReviewTemplateRequest) FromJsonString ¶
func (r *CreateContentReviewTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateContentReviewTemplateRequest) ToJsonString ¶
func (r *CreateContentReviewTemplateRequest) ToJsonString() string
type CreateContentReviewTemplateRequestParams ¶
type CreateContentReviewTemplateRequestParams struct { // The name of the content moderation template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // The template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Control parameter for porn information PornConfigure *PornConfigureInfo `json:"PornConfigure,omitnil" name:"PornConfigure"` // Control parameter for terrorism information TerrorismConfigure *TerrorismConfigureInfo `json:"TerrorismConfigure,omitnil" name:"TerrorismConfigure"` // Control parameter for politically sensitive information PoliticalConfigure *PoliticalConfigureInfo `json:"PoliticalConfigure,omitnil" name:"PoliticalConfigure"` // Control parameter of prohibited information detection. Prohibited information includes: // <li>Abusive;</li> // <li>Drug-related.</li> // Note: this parameter is not supported yet. ProhibitedConfigure *ProhibitedConfigureInfo `json:"ProhibitedConfigure,omitnil" name:"ProhibitedConfigure"` // Custom content moderation parameters. UserDefineConfigure *UserDefineConfigureInfo `json:"UserDefineConfigure,omitnil" name:"UserDefineConfigure"` }
Predefined struct for user
type CreateContentReviewTemplateResponse ¶
type CreateContentReviewTemplateResponse struct { *tchttp.BaseResponse Response *CreateContentReviewTemplateResponseParams `json:"Response"` }
func NewCreateContentReviewTemplateResponse ¶
func NewCreateContentReviewTemplateResponse() (response *CreateContentReviewTemplateResponse)
func (*CreateContentReviewTemplateResponse) FromJsonString ¶
func (r *CreateContentReviewTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateContentReviewTemplateResponse) ToJsonString ¶
func (r *CreateContentReviewTemplateResponse) ToJsonString() string
type CreateContentReviewTemplateResponseParams ¶
type CreateContentReviewTemplateResponseParams struct { // The unique ID of the content moderation template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateImageSpriteTemplateRequest ¶
type CreateImageSpriteTemplateRequest struct { *tchttp.BaseRequest // Sampling type. Valid values: // <li>Percent: By percent.</li> // <li>Time: By time interval.</li> SampleType *string `json:"SampleType,omitnil" name:"SampleType"` // Sampling interval. // <li>If `SampleType` is `Percent`, sampling will be performed at an interval of the specified percentage.</li> // <li>If `SampleType` is `Time`, sampling will be performed at the specified time interval in seconds.</li> SampleInterval *uint64 `json:"SampleInterval,omitnil" name:"SampleInterval"` // Subimage row count of an image sprite. RowCount *uint64 `json:"RowCount,omitnil" name:"RowCount"` // Subimage column count of an image sprite. ColumnCount *uint64 `json:"ColumnCount,omitnil" name:"ColumnCount"` // Name of an image sprite generating template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Subimage width of an image sprite in px. Value range: [128, 4,096]. Width *uint64 `json:"Width,omitnil" name:"Width"` // Subimage height of an image sprite in px. Value range: [128, 4,096]. Height *uint64 `json:"Height,omitnil" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitnil" name:"ResolutionAdaptive"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // Default value: black. FillType *string `json:"FillType,omitnil" name:"FillType"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // The image format. Valid values: jpg (default), png, webp. Format *string `json:"Format,omitnil" name:"Format"` }
func NewCreateImageSpriteTemplateRequest ¶
func NewCreateImageSpriteTemplateRequest() (request *CreateImageSpriteTemplateRequest)
func (*CreateImageSpriteTemplateRequest) FromJsonString ¶
func (r *CreateImageSpriteTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateImageSpriteTemplateRequest) ToJsonString ¶
func (r *CreateImageSpriteTemplateRequest) ToJsonString() string
type CreateImageSpriteTemplateRequestParams ¶
type CreateImageSpriteTemplateRequestParams struct { // Sampling type. Valid values: // <li>Percent: By percent.</li> // <li>Time: By time interval.</li> SampleType *string `json:"SampleType,omitnil" name:"SampleType"` // Sampling interval. // <li>If `SampleType` is `Percent`, sampling will be performed at an interval of the specified percentage.</li> // <li>If `SampleType` is `Time`, sampling will be performed at the specified time interval in seconds.</li> SampleInterval *uint64 `json:"SampleInterval,omitnil" name:"SampleInterval"` // Subimage row count of an image sprite. RowCount *uint64 `json:"RowCount,omitnil" name:"RowCount"` // Subimage column count of an image sprite. ColumnCount *uint64 `json:"ColumnCount,omitnil" name:"ColumnCount"` // Name of an image sprite generating template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Subimage width of an image sprite in px. Value range: [128, 4,096]. Width *uint64 `json:"Width,omitnil" name:"Width"` // Subimage height of an image sprite in px. Value range: [128, 4,096]. Height *uint64 `json:"Height,omitnil" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitnil" name:"ResolutionAdaptive"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // Default value: black. FillType *string `json:"FillType,omitnil" name:"FillType"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // The image format. Valid values: jpg (default), png, webp. Format *string `json:"Format,omitnil" name:"Format"` }
Predefined struct for user
type CreateImageSpriteTemplateResponse ¶
type CreateImageSpriteTemplateResponse struct { *tchttp.BaseResponse Response *CreateImageSpriteTemplateResponseParams `json:"Response"` }
func NewCreateImageSpriteTemplateResponse ¶
func NewCreateImageSpriteTemplateResponse() (response *CreateImageSpriteTemplateResponse)
func (*CreateImageSpriteTemplateResponse) FromJsonString ¶
func (r *CreateImageSpriteTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateImageSpriteTemplateResponse) ToJsonString ¶
func (r *CreateImageSpriteTemplateResponse) ToJsonString() string
type CreateImageSpriteTemplateResponseParams ¶
type CreateImageSpriteTemplateResponseParams struct { // Unique ID of an image sprite generating template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreatePersonSampleRequest ¶
type CreatePersonSampleRequest struct { *tchttp.BaseRequest // Name of an image. Length limit: 20 characters Name *string `json:"Name,omitnil" name:"Name"` // Image usage. Valid values: // 1. Recognition: used for content recognition; equivalent to `Recognition.Face` // 2. Review: used for inappropriate information recognition; equivalent to `Review.Face` // 3. All: equivalent to 1+2 Usages []*string `json:"Usages,omitnil" name:"Usages"` // Image description. Length limit: 1,024 characters Description *string `json:"Description,omitnil" name:"Description"` // [Base64](https://tools.ietf.org/html/rfc4648) string converted from an image. Only JPEG and PNG images are supported. Array length limit: 5 images // Note: the image must be a relatively clear facial feature photo of one person with a size of at least 200 x 200 pixels. FaceContents []*string `json:"FaceContents,omitnil" name:"FaceContents"` // Image tag // <li>Array length limit: 20 tags</li> // <li>Tag length limit: 128 characters</li> Tags []*string `json:"Tags,omitnil" name:"Tags"` }
func NewCreatePersonSampleRequest ¶
func NewCreatePersonSampleRequest() (request *CreatePersonSampleRequest)
func (*CreatePersonSampleRequest) FromJsonString ¶
func (r *CreatePersonSampleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePersonSampleRequest) ToJsonString ¶
func (r *CreatePersonSampleRequest) ToJsonString() string
type CreatePersonSampleRequestParams ¶
type CreatePersonSampleRequestParams struct { // Name of an image. Length limit: 20 characters Name *string `json:"Name,omitnil" name:"Name"` // Image usage. Valid values: // 1. Recognition: used for content recognition; equivalent to `Recognition.Face` // 2. Review: used for inappropriate information recognition; equivalent to `Review.Face` // 3. All: equivalent to 1+2 Usages []*string `json:"Usages,omitnil" name:"Usages"` // Image description. Length limit: 1,024 characters Description *string `json:"Description,omitnil" name:"Description"` // [Base64](https://tools.ietf.org/html/rfc4648) string converted from an image. Only JPEG and PNG images are supported. Array length limit: 5 images // Note: the image must be a relatively clear facial feature photo of one person with a size of at least 200 x 200 pixels. FaceContents []*string `json:"FaceContents,omitnil" name:"FaceContents"` // Image tag // <li>Array length limit: 20 tags</li> // <li>Tag length limit: 128 characters</li> Tags []*string `json:"Tags,omitnil" name:"Tags"` }
Predefined struct for user
type CreatePersonSampleResponse ¶
type CreatePersonSampleResponse struct { *tchttp.BaseResponse Response *CreatePersonSampleResponseParams `json:"Response"` }
func NewCreatePersonSampleResponse ¶
func NewCreatePersonSampleResponse() (response *CreatePersonSampleResponse)
func (*CreatePersonSampleResponse) FromJsonString ¶
func (r *CreatePersonSampleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePersonSampleResponse) ToJsonString ¶
func (r *CreatePersonSampleResponse) ToJsonString() string
type CreatePersonSampleResponseParams ¶
type CreatePersonSampleResponseParams struct { // Image information Person *AiSamplePerson `json:"Person,omitnil" name:"Person"` // Information of images that failed the verification by facial feature positioning FailFaceInfoSet []*AiSampleFailFaceInfo `json:"FailFaceInfoSet,omitnil" name:"FailFaceInfoSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateSampleSnapshotTemplateRequest ¶
type CreateSampleSnapshotTemplateRequest struct { *tchttp.BaseRequest // Sampled screencapturing type. Valid values: // <li>Percent: By percent.</li> // <li>Time: By time interval.</li> SampleType *string `json:"SampleType,omitnil" name:"SampleType"` // Sampling interval. // <li>If `SampleType` is `Percent`, sampling will be performed at an interval of the specified percentage.</li> // <li>If `SampleType` is `Time`, sampling will be performed at the specified time interval in seconds.</li> SampleInterval *uint64 `json:"SampleInterval,omitnil" name:"SampleInterval"` // Name of a sampled screencapturing template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Image width in px. Value range: [128, 4,096]. Width *uint64 `json:"Width,omitnil" name:"Width"` // Image height in px. Value range: [128, 4,096]. Height *uint64 `json:"Height,omitnil" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitnil" name:"ResolutionAdaptive"` // The image format. Valid values: jpg (default), png, webp. Format *string `json:"Format,omitnil" name:"Format"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // <li>white: fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks.</li> // <li>gauss: fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.</li> // Default value: black. FillType *string `json:"FillType,omitnil" name:"FillType"` }
func NewCreateSampleSnapshotTemplateRequest ¶
func NewCreateSampleSnapshotTemplateRequest() (request *CreateSampleSnapshotTemplateRequest)
func (*CreateSampleSnapshotTemplateRequest) FromJsonString ¶
func (r *CreateSampleSnapshotTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSampleSnapshotTemplateRequest) ToJsonString ¶
func (r *CreateSampleSnapshotTemplateRequest) ToJsonString() string
type CreateSampleSnapshotTemplateRequestParams ¶
type CreateSampleSnapshotTemplateRequestParams struct { // Sampled screencapturing type. Valid values: // <li>Percent: By percent.</li> // <li>Time: By time interval.</li> SampleType *string `json:"SampleType,omitnil" name:"SampleType"` // Sampling interval. // <li>If `SampleType` is `Percent`, sampling will be performed at an interval of the specified percentage.</li> // <li>If `SampleType` is `Time`, sampling will be performed at the specified time interval in seconds.</li> SampleInterval *uint64 `json:"SampleInterval,omitnil" name:"SampleInterval"` // Name of a sampled screencapturing template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Image width in px. Value range: [128, 4,096]. Width *uint64 `json:"Width,omitnil" name:"Width"` // Image height in px. Value range: [128, 4,096]. Height *uint64 `json:"Height,omitnil" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitnil" name:"ResolutionAdaptive"` // The image format. Valid values: jpg (default), png, webp. Format *string `json:"Format,omitnil" name:"Format"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // <li>white: fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks.</li> // <li>gauss: fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.</li> // Default value: black. FillType *string `json:"FillType,omitnil" name:"FillType"` }
Predefined struct for user
type CreateSampleSnapshotTemplateResponse ¶
type CreateSampleSnapshotTemplateResponse struct { *tchttp.BaseResponse Response *CreateSampleSnapshotTemplateResponseParams `json:"Response"` }
func NewCreateSampleSnapshotTemplateResponse ¶
func NewCreateSampleSnapshotTemplateResponse() (response *CreateSampleSnapshotTemplateResponse)
func (*CreateSampleSnapshotTemplateResponse) FromJsonString ¶
func (r *CreateSampleSnapshotTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSampleSnapshotTemplateResponse) ToJsonString ¶
func (r *CreateSampleSnapshotTemplateResponse) ToJsonString() string
type CreateSampleSnapshotTemplateResponseParams ¶
type CreateSampleSnapshotTemplateResponseParams struct { // Unique ID of a sampled screencapturing template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateScheduleRequest ¶
type CreateScheduleRequest struct { *tchttp.BaseRequest // The scheme name (max 128 characters). This name should be unique across your account. ScheduleName *string `json:"ScheduleName,omitnil" name:"ScheduleName"` // The trigger of the scheme. If a file is uploaded to the specified bucket, the scheme will be triggered. Trigger *WorkflowTrigger `json:"Trigger,omitnil" name:"Trigger"` // The subtasks of the scheme. Activities []*Activity `json:"Activities,omitnil" name:"Activities"` // The bucket to save the output file. If you do not specify this parameter, the bucket in `Trigger` will be used. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` // The directory to save the media processing output file, which must start and end with `/`, such as `/movie/201907/`. // If you do not specify this, the file will be saved to the trigger directory. OutputDir *string `json:"OutputDir,omitnil" name:"OutputDir"` // The notification configuration. If you do not specify this parameter, notifications will not be sent. TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitnil" name:"TaskNotifyConfig"` }
func NewCreateScheduleRequest ¶
func NewCreateScheduleRequest() (request *CreateScheduleRequest)
func (*CreateScheduleRequest) FromJsonString ¶
func (r *CreateScheduleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateScheduleRequest) ToJsonString ¶
func (r *CreateScheduleRequest) ToJsonString() string
type CreateScheduleRequestParams ¶
type CreateScheduleRequestParams struct { // The scheme name (max 128 characters). This name should be unique across your account. ScheduleName *string `json:"ScheduleName,omitnil" name:"ScheduleName"` // The trigger of the scheme. If a file is uploaded to the specified bucket, the scheme will be triggered. Trigger *WorkflowTrigger `json:"Trigger,omitnil" name:"Trigger"` // The subtasks of the scheme. Activities []*Activity `json:"Activities,omitnil" name:"Activities"` // The bucket to save the output file. If you do not specify this parameter, the bucket in `Trigger` will be used. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` // The directory to save the media processing output file, which must start and end with `/`, such as `/movie/201907/`. // If you do not specify this, the file will be saved to the trigger directory. OutputDir *string `json:"OutputDir,omitnil" name:"OutputDir"` // The notification configuration. If you do not specify this parameter, notifications will not be sent. TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitnil" name:"TaskNotifyConfig"` }
Predefined struct for user
type CreateScheduleResponse ¶
type CreateScheduleResponse struct { *tchttp.BaseResponse Response *CreateScheduleResponseParams `json:"Response"` }
func NewCreateScheduleResponse ¶
func NewCreateScheduleResponse() (response *CreateScheduleResponse)
func (*CreateScheduleResponse) FromJsonString ¶
func (r *CreateScheduleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateScheduleResponse) ToJsonString ¶
func (r *CreateScheduleResponse) ToJsonString() string
type CreateScheduleResponseParams ¶
type CreateScheduleResponseParams struct { // The scheme ID. ScheduleId *int64 `json:"ScheduleId,omitnil" name:"ScheduleId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateSnapshotByTimeOffsetTemplateRequest ¶
type CreateSnapshotByTimeOffsetTemplateRequest struct { *tchttp.BaseRequest // Name of a time point screencapturing template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Image width in px. Value range: [128, 4,096]. Width *uint64 `json:"Width,omitnil" name:"Width"` // Image height in px. Value range: [128, 4,096]. Height *uint64 `json:"Height,omitnil" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitnil" name:"ResolutionAdaptive"` // The image format. Valid values: jpg (default), png, webp. Format *string `json:"Format,omitnil" name:"Format"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // <li>white: fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks.</li> // <li>gauss: fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.</li> // Default value: black. FillType *string `json:"FillType,omitnil" name:"FillType"` }
func NewCreateSnapshotByTimeOffsetTemplateRequest ¶
func NewCreateSnapshotByTimeOffsetTemplateRequest() (request *CreateSnapshotByTimeOffsetTemplateRequest)
func (*CreateSnapshotByTimeOffsetTemplateRequest) FromJsonString ¶
func (r *CreateSnapshotByTimeOffsetTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSnapshotByTimeOffsetTemplateRequest) ToJsonString ¶
func (r *CreateSnapshotByTimeOffsetTemplateRequest) ToJsonString() string
type CreateSnapshotByTimeOffsetTemplateRequestParams ¶
type CreateSnapshotByTimeOffsetTemplateRequestParams struct { // Name of a time point screencapturing template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Image width in px. Value range: [128, 4,096]. Width *uint64 `json:"Width,omitnil" name:"Width"` // Image height in px. Value range: [128, 4,096]. Height *uint64 `json:"Height,omitnil" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitnil" name:"ResolutionAdaptive"` // The image format. Valid values: jpg (default), png, webp. Format *string `json:"Format,omitnil" name:"Format"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // <li>white: fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks.</li> // <li>gauss: fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.</li> // Default value: black. FillType *string `json:"FillType,omitnil" name:"FillType"` }
Predefined struct for user
type CreateSnapshotByTimeOffsetTemplateResponse ¶
type CreateSnapshotByTimeOffsetTemplateResponse struct { *tchttp.BaseResponse Response *CreateSnapshotByTimeOffsetTemplateResponseParams `json:"Response"` }
func NewCreateSnapshotByTimeOffsetTemplateResponse ¶
func NewCreateSnapshotByTimeOffsetTemplateResponse() (response *CreateSnapshotByTimeOffsetTemplateResponse)
func (*CreateSnapshotByTimeOffsetTemplateResponse) FromJsonString ¶
func (r *CreateSnapshotByTimeOffsetTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSnapshotByTimeOffsetTemplateResponse) ToJsonString ¶
func (r *CreateSnapshotByTimeOffsetTemplateResponse) ToJsonString() string
type CreateSnapshotByTimeOffsetTemplateResponseParams ¶
type CreateSnapshotByTimeOffsetTemplateResponseParams struct { // Unique ID of a time point screencapturing template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateTranscodeTemplateRequest ¶
type CreateTranscodeTemplateRequest struct { *tchttp.BaseRequest // Container format. Valid values: mp4; flv; hls; mp3; flac; ogg; m4a. Among them, mp3, flac, ogg, and m4a are for audio files. Container *string `json:"Container,omitnil" name:"Container"` // Name of a transcoding template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Whether to remove video data. Valid values: // <li>0: Retain</li> // <li>1: Remove</li> // Default value: 0. RemoveVideo *int64 `json:"RemoveVideo,omitnil" name:"RemoveVideo"` // Whether to remove audio data. Valid values: // <li>0: Retain</li> // <li>1: Remove</li> // Default value: 0. RemoveAudio *int64 `json:"RemoveAudio,omitnil" name:"RemoveAudio"` // Video stream configuration parameter. This field is required when `RemoveVideo` is 0. VideoTemplate *VideoTemplateInfo `json:"VideoTemplate,omitnil" name:"VideoTemplate"` // Audio stream configuration parameter. This field is required when `RemoveAudio` is 0. AudioTemplate *AudioTemplateInfo `json:"AudioTemplate,omitnil" name:"AudioTemplate"` // TESHD transcoding parameter. To enable it, please contact your Tencent Cloud sales rep. TEHDConfig *TEHDConfig `json:"TEHDConfig,omitnil" name:"TEHDConfig"` // Audio/Video enhancement configuration. EnhanceConfig *EnhanceConfig `json:"EnhanceConfig,omitnil" name:"EnhanceConfig"` }
func NewCreateTranscodeTemplateRequest ¶
func NewCreateTranscodeTemplateRequest() (request *CreateTranscodeTemplateRequest)
func (*CreateTranscodeTemplateRequest) FromJsonString ¶
func (r *CreateTranscodeTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTranscodeTemplateRequest) ToJsonString ¶
func (r *CreateTranscodeTemplateRequest) ToJsonString() string
type CreateTranscodeTemplateRequestParams ¶
type CreateTranscodeTemplateRequestParams struct { // Container format. Valid values: mp4; flv; hls; mp3; flac; ogg; m4a. Among them, mp3, flac, ogg, and m4a are for audio files. Container *string `json:"Container,omitnil" name:"Container"` // Name of a transcoding template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Whether to remove video data. Valid values: // <li>0: Retain</li> // <li>1: Remove</li> // Default value: 0. RemoveVideo *int64 `json:"RemoveVideo,omitnil" name:"RemoveVideo"` // Whether to remove audio data. Valid values: // <li>0: Retain</li> // <li>1: Remove</li> // Default value: 0. RemoveAudio *int64 `json:"RemoveAudio,omitnil" name:"RemoveAudio"` // Video stream configuration parameter. This field is required when `RemoveVideo` is 0. VideoTemplate *VideoTemplateInfo `json:"VideoTemplate,omitnil" name:"VideoTemplate"` // Audio stream configuration parameter. This field is required when `RemoveAudio` is 0. AudioTemplate *AudioTemplateInfo `json:"AudioTemplate,omitnil" name:"AudioTemplate"` // TESHD transcoding parameter. To enable it, please contact your Tencent Cloud sales rep. TEHDConfig *TEHDConfig `json:"TEHDConfig,omitnil" name:"TEHDConfig"` // Audio/Video enhancement configuration. EnhanceConfig *EnhanceConfig `json:"EnhanceConfig,omitnil" name:"EnhanceConfig"` }
Predefined struct for user
type CreateTranscodeTemplateResponse ¶
type CreateTranscodeTemplateResponse struct { *tchttp.BaseResponse Response *CreateTranscodeTemplateResponseParams `json:"Response"` }
func NewCreateTranscodeTemplateResponse ¶
func NewCreateTranscodeTemplateResponse() (response *CreateTranscodeTemplateResponse)
func (*CreateTranscodeTemplateResponse) FromJsonString ¶
func (r *CreateTranscodeTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTranscodeTemplateResponse) ToJsonString ¶
func (r *CreateTranscodeTemplateResponse) ToJsonString() string
type CreateTranscodeTemplateResponseParams ¶
type CreateTranscodeTemplateResponseParams struct { // Unique ID of a transcoding template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateWatermarkTemplateRequest ¶
type CreateWatermarkTemplateRequest struct { *tchttp.BaseRequest // Watermarking type. Valid values: // <li>image: Image watermark;</li> // <li>text: Text watermark;</li> // <li>svg: SVG watermark.</li> Type *string `json:"Type,omitnil" name:"Type"` // Watermarking template name. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Origin position. Valid values: // <li>TopLeft: The origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text;</li> // <li>TopRight: The origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text;</li> // <li>BottomLeft: The origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text;</li> // <li>BottomRight: The origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.</li> // Default value: TopLeft. CoordinateOrigin *string `json:"CoordinateOrigin,omitnil" name:"CoordinateOrigin"` // The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: // <li>If the string ends in %, the `XPos` of the watermark will be the specified percentage of the video width; for example, `10%` means that `XPos` is 10% of the video width;</li> // <li>If the string ends in px, the `XPos` of the watermark will be the specified px; for example, `100px` means that `XPos` is 100 px.</li> // Default value: 0 px. XPos *string `json:"XPos,omitnil" name:"XPos"` // The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: // <li>If the string ends in %, the `YPos` of the watermark will be the specified percentage of the video height; for example, `10%` means that `YPos` is 10% of the video height;</li> // <li>If the string ends in px, the `YPos` of the watermark will be the specified px; for example, `100px` means that `YPos` is 100 px.</li> // Default value: 0 px. YPos *string `json:"YPos,omitnil" name:"YPos"` // Image watermarking template. This field is required and valid only when `Type` is `image`. ImageTemplate *ImageWatermarkInput `json:"ImageTemplate,omitnil" name:"ImageTemplate"` // Text watermarking template. This field is required and valid only when `Type` is `text`. TextTemplate *TextWatermarkTemplateInput `json:"TextTemplate,omitnil" name:"TextTemplate"` // SVG watermarking template. This field is required and valid only when `Type` is `svg`. SvgTemplate *SvgWatermarkInput `json:"SvgTemplate,omitnil" name:"SvgTemplate"` }
func NewCreateWatermarkTemplateRequest ¶
func NewCreateWatermarkTemplateRequest() (request *CreateWatermarkTemplateRequest)
func (*CreateWatermarkTemplateRequest) FromJsonString ¶
func (r *CreateWatermarkTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateWatermarkTemplateRequest) ToJsonString ¶
func (r *CreateWatermarkTemplateRequest) ToJsonString() string
type CreateWatermarkTemplateRequestParams ¶
type CreateWatermarkTemplateRequestParams struct { // Watermarking type. Valid values: // <li>image: Image watermark;</li> // <li>text: Text watermark;</li> // <li>svg: SVG watermark.</li> Type *string `json:"Type,omitnil" name:"Type"` // Watermarking template name. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Origin position. Valid values: // <li>TopLeft: The origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text;</li> // <li>TopRight: The origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text;</li> // <li>BottomLeft: The origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text;</li> // <li>BottomRight: The origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.</li> // Default value: TopLeft. CoordinateOrigin *string `json:"CoordinateOrigin,omitnil" name:"CoordinateOrigin"` // The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: // <li>If the string ends in %, the `XPos` of the watermark will be the specified percentage of the video width; for example, `10%` means that `XPos` is 10% of the video width;</li> // <li>If the string ends in px, the `XPos` of the watermark will be the specified px; for example, `100px` means that `XPos` is 100 px.</li> // Default value: 0 px. XPos *string `json:"XPos,omitnil" name:"XPos"` // The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: // <li>If the string ends in %, the `YPos` of the watermark will be the specified percentage of the video height; for example, `10%` means that `YPos` is 10% of the video height;</li> // <li>If the string ends in px, the `YPos` of the watermark will be the specified px; for example, `100px` means that `YPos` is 100 px.</li> // Default value: 0 px. YPos *string `json:"YPos,omitnil" name:"YPos"` // Image watermarking template. This field is required and valid only when `Type` is `image`. ImageTemplate *ImageWatermarkInput `json:"ImageTemplate,omitnil" name:"ImageTemplate"` // Text watermarking template. This field is required and valid only when `Type` is `text`. TextTemplate *TextWatermarkTemplateInput `json:"TextTemplate,omitnil" name:"TextTemplate"` // SVG watermarking template. This field is required and valid only when `Type` is `svg`. SvgTemplate *SvgWatermarkInput `json:"SvgTemplate,omitnil" name:"SvgTemplate"` }
Predefined struct for user
type CreateWatermarkTemplateResponse ¶
type CreateWatermarkTemplateResponse struct { *tchttp.BaseResponse Response *CreateWatermarkTemplateResponseParams `json:"Response"` }
func NewCreateWatermarkTemplateResponse ¶
func NewCreateWatermarkTemplateResponse() (response *CreateWatermarkTemplateResponse)
func (*CreateWatermarkTemplateResponse) FromJsonString ¶
func (r *CreateWatermarkTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateWatermarkTemplateResponse) ToJsonString ¶
func (r *CreateWatermarkTemplateResponse) ToJsonString() string
type CreateWatermarkTemplateResponseParams ¶
type CreateWatermarkTemplateResponseParams struct { // Unique ID of a watermarking template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` // Watermark image address. This field is valid only when `Type` is `image`. ImageUrl *string `json:"ImageUrl,omitnil" name:"ImageUrl"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateWordSamplesRequest ¶
type CreateWordSamplesRequest struct { *tchttp.BaseRequest // <b>Keyword usage. Valid values:</b> // 1. Recognition.Ocr: OCR-based content recognition // 2. Recognition.Asr: ASR-based content recognition // 3. Review.Ocr: OCR-based inappropriate information recognition // 4. Review.Asr: ASR-based inappropriate information recognition // <b>Valid values can also be:</b> // 5. Recognition: ASR- and OCR-based content recognition; equivalent to 1+2 // 6. Review: ASR- and OCR-based inappropriate information recognition; equivalent to 3+4 // 7. All: ASR- and OCR-based content recognition and inappropriate information detection; equivalent to 1+2+3+4 Usages []*string `json:"Usages,omitnil" name:"Usages"` // Keyword. Array length limit: 100. Words []*AiSampleWordInfo `json:"Words,omitnil" name:"Words"` }
func NewCreateWordSamplesRequest ¶
func NewCreateWordSamplesRequest() (request *CreateWordSamplesRequest)
func (*CreateWordSamplesRequest) FromJsonString ¶
func (r *CreateWordSamplesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateWordSamplesRequest) ToJsonString ¶
func (r *CreateWordSamplesRequest) ToJsonString() string
type CreateWordSamplesRequestParams ¶
type CreateWordSamplesRequestParams struct { // <b>Keyword usage. Valid values:</b> // 1. Recognition.Ocr: OCR-based content recognition // 2. Recognition.Asr: ASR-based content recognition // 3. Review.Ocr: OCR-based inappropriate information recognition // 4. Review.Asr: ASR-based inappropriate information recognition // <b>Valid values can also be:</b> // 5. Recognition: ASR- and OCR-based content recognition; equivalent to 1+2 // 6. Review: ASR- and OCR-based inappropriate information recognition; equivalent to 3+4 // 7. All: ASR- and OCR-based content recognition and inappropriate information detection; equivalent to 1+2+3+4 Usages []*string `json:"Usages,omitnil" name:"Usages"` // Keyword. Array length limit: 100. Words []*AiSampleWordInfo `json:"Words,omitnil" name:"Words"` }
Predefined struct for user
type CreateWordSamplesResponse ¶
type CreateWordSamplesResponse struct { *tchttp.BaseResponse Response *CreateWordSamplesResponseParams `json:"Response"` }
func NewCreateWordSamplesResponse ¶
func NewCreateWordSamplesResponse() (response *CreateWordSamplesResponse)
func (*CreateWordSamplesResponse) FromJsonString ¶
func (r *CreateWordSamplesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateWordSamplesResponse) ToJsonString ¶
func (r *CreateWordSamplesResponse) ToJsonString() string
type CreateWordSamplesResponseParams ¶
type CreateWordSamplesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateWorkflowRequest ¶
type CreateWorkflowRequest struct { *tchttp.BaseRequest // Workflow name of up to 128 characters, which must be unique for the same user. WorkflowName *string `json:"WorkflowName,omitnil" name:"WorkflowName"` // Triggering rule bound to a workflow. If an uploaded video hits the rule for the object, the workflow will be triggered. Trigger *WorkflowTrigger `json:"Trigger,omitnil" name:"Trigger"` // The location to save the output file of media processing. If this parameter is left empty, the storage location in `Trigger` will be inherited. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` // The directory to save the media processing output file, which must start and end with `/`, such as `/movie/201907/`. // If you do not specify this, the file will be saved to the trigger directory. OutputDir *string `json:"OutputDir,omitnil" name:"OutputDir"` // The media processing parameters to use. MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitnil" name:"MediaProcessTask"` // Type parameter of a video content audit task. AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitnil" name:"AiContentReviewTask"` // Video content analysis task parameter. AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitnil" name:"AiAnalysisTask"` // Type parameter of a video content recognition task. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitnil" name:"AiRecognitionTask"` // Event notification configuration for a task. If this parameter is left empty, no event notifications will be obtained. TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitnil" name:"TaskNotifyConfig"` // Workflow priority. The higher the value, the higher the priority. Value range: [-10, 10]. If this parameter is left empty, 0 will be used. TaskPriority *int64 `json:"TaskPriority,omitnil" name:"TaskPriority"` }
func NewCreateWorkflowRequest ¶
func NewCreateWorkflowRequest() (request *CreateWorkflowRequest)
func (*CreateWorkflowRequest) FromJsonString ¶
func (r *CreateWorkflowRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateWorkflowRequest) ToJsonString ¶
func (r *CreateWorkflowRequest) ToJsonString() string
type CreateWorkflowRequestParams ¶
type CreateWorkflowRequestParams struct { // Workflow name of up to 128 characters, which must be unique for the same user. WorkflowName *string `json:"WorkflowName,omitnil" name:"WorkflowName"` // Triggering rule bound to a workflow. If an uploaded video hits the rule for the object, the workflow will be triggered. Trigger *WorkflowTrigger `json:"Trigger,omitnil" name:"Trigger"` // The location to save the output file of media processing. If this parameter is left empty, the storage location in `Trigger` will be inherited. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` // The directory to save the media processing output file, which must start and end with `/`, such as `/movie/201907/`. // If you do not specify this, the file will be saved to the trigger directory. OutputDir *string `json:"OutputDir,omitnil" name:"OutputDir"` // The media processing parameters to use. MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitnil" name:"MediaProcessTask"` // Type parameter of a video content audit task. AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitnil" name:"AiContentReviewTask"` // Video content analysis task parameter. AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitnil" name:"AiAnalysisTask"` // Type parameter of a video content recognition task. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitnil" name:"AiRecognitionTask"` // Event notification configuration for a task. If this parameter is left empty, no event notifications will be obtained. TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitnil" name:"TaskNotifyConfig"` // Workflow priority. The higher the value, the higher the priority. Value range: [-10, 10]. If this parameter is left empty, 0 will be used. TaskPriority *int64 `json:"TaskPriority,omitnil" name:"TaskPriority"` }
Predefined struct for user
type CreateWorkflowResponse ¶
type CreateWorkflowResponse struct { *tchttp.BaseResponse Response *CreateWorkflowResponseParams `json:"Response"` }
func NewCreateWorkflowResponse ¶
func NewCreateWorkflowResponse() (response *CreateWorkflowResponse)
func (*CreateWorkflowResponse) FromJsonString ¶
func (r *CreateWorkflowResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateWorkflowResponse) ToJsonString ¶
func (r *CreateWorkflowResponse) ToJsonString() string
type CreateWorkflowResponseParams ¶
type CreateWorkflowResponseParams struct { // Workflow ID. WorkflowId *int64 `json:"WorkflowId,omitnil" name:"WorkflowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteAIAnalysisTemplateRequest ¶
type DeleteAIAnalysisTemplateRequest struct { *tchttp.BaseRequest // Unique ID of video content analysis template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` }
func NewDeleteAIAnalysisTemplateRequest ¶
func NewDeleteAIAnalysisTemplateRequest() (request *DeleteAIAnalysisTemplateRequest)
func (*DeleteAIAnalysisTemplateRequest) FromJsonString ¶
func (r *DeleteAIAnalysisTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAIAnalysisTemplateRequest) ToJsonString ¶
func (r *DeleteAIAnalysisTemplateRequest) ToJsonString() string
type DeleteAIAnalysisTemplateRequestParams ¶
type DeleteAIAnalysisTemplateRequestParams struct { // Unique ID of video content analysis template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` }
Predefined struct for user
type DeleteAIAnalysisTemplateResponse ¶
type DeleteAIAnalysisTemplateResponse struct { *tchttp.BaseResponse Response *DeleteAIAnalysisTemplateResponseParams `json:"Response"` }
func NewDeleteAIAnalysisTemplateResponse ¶
func NewDeleteAIAnalysisTemplateResponse() (response *DeleteAIAnalysisTemplateResponse)
func (*DeleteAIAnalysisTemplateResponse) FromJsonString ¶
func (r *DeleteAIAnalysisTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAIAnalysisTemplateResponse) ToJsonString ¶
func (r *DeleteAIAnalysisTemplateResponse) ToJsonString() string
type DeleteAIAnalysisTemplateResponseParams ¶
type DeleteAIAnalysisTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteAIRecognitionTemplateRequest ¶
type DeleteAIRecognitionTemplateRequest struct { *tchttp.BaseRequest // Unique ID of a video content recognition template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` }
func NewDeleteAIRecognitionTemplateRequest ¶
func NewDeleteAIRecognitionTemplateRequest() (request *DeleteAIRecognitionTemplateRequest)
func (*DeleteAIRecognitionTemplateRequest) FromJsonString ¶
func (r *DeleteAIRecognitionTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAIRecognitionTemplateRequest) ToJsonString ¶
func (r *DeleteAIRecognitionTemplateRequest) ToJsonString() string
type DeleteAIRecognitionTemplateRequestParams ¶
type DeleteAIRecognitionTemplateRequestParams struct { // Unique ID of a video content recognition template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` }
Predefined struct for user
type DeleteAIRecognitionTemplateResponse ¶
type DeleteAIRecognitionTemplateResponse struct { *tchttp.BaseResponse Response *DeleteAIRecognitionTemplateResponseParams `json:"Response"` }
func NewDeleteAIRecognitionTemplateResponse ¶
func NewDeleteAIRecognitionTemplateResponse() (response *DeleteAIRecognitionTemplateResponse)
func (*DeleteAIRecognitionTemplateResponse) FromJsonString ¶
func (r *DeleteAIRecognitionTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAIRecognitionTemplateResponse) ToJsonString ¶
func (r *DeleteAIRecognitionTemplateResponse) ToJsonString() string
type DeleteAIRecognitionTemplateResponseParams ¶
type DeleteAIRecognitionTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteAdaptiveDynamicStreamingTemplateRequest ¶
type DeleteAdaptiveDynamicStreamingTemplateRequest struct { *tchttp.BaseRequest // Unique ID of an adaptive bitrate streaming template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` }
func NewDeleteAdaptiveDynamicStreamingTemplateRequest ¶
func NewDeleteAdaptiveDynamicStreamingTemplateRequest() (request *DeleteAdaptiveDynamicStreamingTemplateRequest)
func (*DeleteAdaptiveDynamicStreamingTemplateRequest) FromJsonString ¶
func (r *DeleteAdaptiveDynamicStreamingTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAdaptiveDynamicStreamingTemplateRequest) ToJsonString ¶
func (r *DeleteAdaptiveDynamicStreamingTemplateRequest) ToJsonString() string
type DeleteAdaptiveDynamicStreamingTemplateRequestParams ¶
type DeleteAdaptiveDynamicStreamingTemplateRequestParams struct { // Unique ID of an adaptive bitrate streaming template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` }
Predefined struct for user
type DeleteAdaptiveDynamicStreamingTemplateResponse ¶
type DeleteAdaptiveDynamicStreamingTemplateResponse struct { *tchttp.BaseResponse Response *DeleteAdaptiveDynamicStreamingTemplateResponseParams `json:"Response"` }
func NewDeleteAdaptiveDynamicStreamingTemplateResponse ¶
func NewDeleteAdaptiveDynamicStreamingTemplateResponse() (response *DeleteAdaptiveDynamicStreamingTemplateResponse)
func (*DeleteAdaptiveDynamicStreamingTemplateResponse) FromJsonString ¶
func (r *DeleteAdaptiveDynamicStreamingTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAdaptiveDynamicStreamingTemplateResponse) ToJsonString ¶
func (r *DeleteAdaptiveDynamicStreamingTemplateResponse) ToJsonString() string
type DeleteAdaptiveDynamicStreamingTemplateResponseParams ¶
type DeleteAdaptiveDynamicStreamingTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteAnimatedGraphicsTemplateRequest ¶
type DeleteAnimatedGraphicsTemplateRequest struct { *tchttp.BaseRequest // Unique ID of an animated image generating template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` }
func NewDeleteAnimatedGraphicsTemplateRequest ¶
func NewDeleteAnimatedGraphicsTemplateRequest() (request *DeleteAnimatedGraphicsTemplateRequest)
func (*DeleteAnimatedGraphicsTemplateRequest) FromJsonString ¶
func (r *DeleteAnimatedGraphicsTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAnimatedGraphicsTemplateRequest) ToJsonString ¶
func (r *DeleteAnimatedGraphicsTemplateRequest) ToJsonString() string
type DeleteAnimatedGraphicsTemplateRequestParams ¶
type DeleteAnimatedGraphicsTemplateRequestParams struct { // Unique ID of an animated image generating template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` }
Predefined struct for user
type DeleteAnimatedGraphicsTemplateResponse ¶
type DeleteAnimatedGraphicsTemplateResponse struct { *tchttp.BaseResponse Response *DeleteAnimatedGraphicsTemplateResponseParams `json:"Response"` }
func NewDeleteAnimatedGraphicsTemplateResponse ¶
func NewDeleteAnimatedGraphicsTemplateResponse() (response *DeleteAnimatedGraphicsTemplateResponse)
func (*DeleteAnimatedGraphicsTemplateResponse) FromJsonString ¶
func (r *DeleteAnimatedGraphicsTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAnimatedGraphicsTemplateResponse) ToJsonString ¶
func (r *DeleteAnimatedGraphicsTemplateResponse) ToJsonString() string
type DeleteAnimatedGraphicsTemplateResponseParams ¶
type DeleteAnimatedGraphicsTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteContentReviewTemplateRequest ¶
type DeleteContentReviewTemplateRequest struct { *tchttp.BaseRequest // The unique ID of the content moderation template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` }
func NewDeleteContentReviewTemplateRequest ¶
func NewDeleteContentReviewTemplateRequest() (request *DeleteContentReviewTemplateRequest)
func (*DeleteContentReviewTemplateRequest) FromJsonString ¶
func (r *DeleteContentReviewTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteContentReviewTemplateRequest) ToJsonString ¶
func (r *DeleteContentReviewTemplateRequest) ToJsonString() string
type DeleteContentReviewTemplateRequestParams ¶
type DeleteContentReviewTemplateRequestParams struct { // The unique ID of the content moderation template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` }
Predefined struct for user
type DeleteContentReviewTemplateResponse ¶
type DeleteContentReviewTemplateResponse struct { *tchttp.BaseResponse Response *DeleteContentReviewTemplateResponseParams `json:"Response"` }
func NewDeleteContentReviewTemplateResponse ¶
func NewDeleteContentReviewTemplateResponse() (response *DeleteContentReviewTemplateResponse)
func (*DeleteContentReviewTemplateResponse) FromJsonString ¶
func (r *DeleteContentReviewTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteContentReviewTemplateResponse) ToJsonString ¶
func (r *DeleteContentReviewTemplateResponse) ToJsonString() string
type DeleteContentReviewTemplateResponseParams ¶
type DeleteContentReviewTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteImageSpriteTemplateRequest ¶
type DeleteImageSpriteTemplateRequest struct { *tchttp.BaseRequest // Unique ID of an image sprite generating template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` }
func NewDeleteImageSpriteTemplateRequest ¶
func NewDeleteImageSpriteTemplateRequest() (request *DeleteImageSpriteTemplateRequest)
func (*DeleteImageSpriteTemplateRequest) FromJsonString ¶
func (r *DeleteImageSpriteTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteImageSpriteTemplateRequest) ToJsonString ¶
func (r *DeleteImageSpriteTemplateRequest) ToJsonString() string
type DeleteImageSpriteTemplateRequestParams ¶
type DeleteImageSpriteTemplateRequestParams struct { // Unique ID of an image sprite generating template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` }
Predefined struct for user
type DeleteImageSpriteTemplateResponse ¶
type DeleteImageSpriteTemplateResponse struct { *tchttp.BaseResponse Response *DeleteImageSpriteTemplateResponseParams `json:"Response"` }
func NewDeleteImageSpriteTemplateResponse ¶
func NewDeleteImageSpriteTemplateResponse() (response *DeleteImageSpriteTemplateResponse)
func (*DeleteImageSpriteTemplateResponse) FromJsonString ¶
func (r *DeleteImageSpriteTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteImageSpriteTemplateResponse) ToJsonString ¶
func (r *DeleteImageSpriteTemplateResponse) ToJsonString() string
type DeleteImageSpriteTemplateResponseParams ¶
type DeleteImageSpriteTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeletePersonSampleRequest ¶
type DeletePersonSampleRequest struct { *tchttp.BaseRequest // Image ID PersonId *string `json:"PersonId,omitnil" name:"PersonId"` }
func NewDeletePersonSampleRequest ¶
func NewDeletePersonSampleRequest() (request *DeletePersonSampleRequest)
func (*DeletePersonSampleRequest) FromJsonString ¶
func (r *DeletePersonSampleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeletePersonSampleRequest) ToJsonString ¶
func (r *DeletePersonSampleRequest) ToJsonString() string
type DeletePersonSampleRequestParams ¶
type DeletePersonSampleRequestParams struct { // Image ID PersonId *string `json:"PersonId,omitnil" name:"PersonId"` }
Predefined struct for user
type DeletePersonSampleResponse ¶
type DeletePersonSampleResponse struct { *tchttp.BaseResponse Response *DeletePersonSampleResponseParams `json:"Response"` }
func NewDeletePersonSampleResponse ¶
func NewDeletePersonSampleResponse() (response *DeletePersonSampleResponse)
func (*DeletePersonSampleResponse) FromJsonString ¶
func (r *DeletePersonSampleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeletePersonSampleResponse) ToJsonString ¶
func (r *DeletePersonSampleResponse) ToJsonString() string
type DeletePersonSampleResponseParams ¶
type DeletePersonSampleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteSampleSnapshotTemplateRequest ¶
type DeleteSampleSnapshotTemplateRequest struct { *tchttp.BaseRequest // Unique ID of a sampled screencapturing template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` }
func NewDeleteSampleSnapshotTemplateRequest ¶
func NewDeleteSampleSnapshotTemplateRequest() (request *DeleteSampleSnapshotTemplateRequest)
func (*DeleteSampleSnapshotTemplateRequest) FromJsonString ¶
func (r *DeleteSampleSnapshotTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSampleSnapshotTemplateRequest) ToJsonString ¶
func (r *DeleteSampleSnapshotTemplateRequest) ToJsonString() string
type DeleteSampleSnapshotTemplateRequestParams ¶
type DeleteSampleSnapshotTemplateRequestParams struct { // Unique ID of a sampled screencapturing template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` }
Predefined struct for user
type DeleteSampleSnapshotTemplateResponse ¶
type DeleteSampleSnapshotTemplateResponse struct { *tchttp.BaseResponse Response *DeleteSampleSnapshotTemplateResponseParams `json:"Response"` }
func NewDeleteSampleSnapshotTemplateResponse ¶
func NewDeleteSampleSnapshotTemplateResponse() (response *DeleteSampleSnapshotTemplateResponse)
func (*DeleteSampleSnapshotTemplateResponse) FromJsonString ¶
func (r *DeleteSampleSnapshotTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSampleSnapshotTemplateResponse) ToJsonString ¶
func (r *DeleteSampleSnapshotTemplateResponse) ToJsonString() string
type DeleteSampleSnapshotTemplateResponseParams ¶
type DeleteSampleSnapshotTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteScheduleRequest ¶
type DeleteScheduleRequest struct { *tchttp.BaseRequest // The scheme ID. ScheduleId *int64 `json:"ScheduleId,omitnil" name:"ScheduleId"` }
func NewDeleteScheduleRequest ¶
func NewDeleteScheduleRequest() (request *DeleteScheduleRequest)
func (*DeleteScheduleRequest) FromJsonString ¶
func (r *DeleteScheduleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteScheduleRequest) ToJsonString ¶
func (r *DeleteScheduleRequest) ToJsonString() string
type DeleteScheduleRequestParams ¶
type DeleteScheduleRequestParams struct { // The scheme ID. ScheduleId *int64 `json:"ScheduleId,omitnil" name:"ScheduleId"` }
Predefined struct for user
type DeleteScheduleResponse ¶
type DeleteScheduleResponse struct { *tchttp.BaseResponse Response *DeleteScheduleResponseParams `json:"Response"` }
func NewDeleteScheduleResponse ¶
func NewDeleteScheduleResponse() (response *DeleteScheduleResponse)
func (*DeleteScheduleResponse) FromJsonString ¶
func (r *DeleteScheduleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteScheduleResponse) ToJsonString ¶
func (r *DeleteScheduleResponse) ToJsonString() string
type DeleteScheduleResponseParams ¶
type DeleteScheduleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteSnapshotByTimeOffsetTemplateRequest ¶
type DeleteSnapshotByTimeOffsetTemplateRequest struct { *tchttp.BaseRequest // Unique ID of a time point screencapturing template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` }
func NewDeleteSnapshotByTimeOffsetTemplateRequest ¶
func NewDeleteSnapshotByTimeOffsetTemplateRequest() (request *DeleteSnapshotByTimeOffsetTemplateRequest)
func (*DeleteSnapshotByTimeOffsetTemplateRequest) FromJsonString ¶
func (r *DeleteSnapshotByTimeOffsetTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSnapshotByTimeOffsetTemplateRequest) ToJsonString ¶
func (r *DeleteSnapshotByTimeOffsetTemplateRequest) ToJsonString() string
type DeleteSnapshotByTimeOffsetTemplateRequestParams ¶
type DeleteSnapshotByTimeOffsetTemplateRequestParams struct { // Unique ID of a time point screencapturing template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` }
Predefined struct for user
type DeleteSnapshotByTimeOffsetTemplateResponse ¶
type DeleteSnapshotByTimeOffsetTemplateResponse struct { *tchttp.BaseResponse Response *DeleteSnapshotByTimeOffsetTemplateResponseParams `json:"Response"` }
func NewDeleteSnapshotByTimeOffsetTemplateResponse ¶
func NewDeleteSnapshotByTimeOffsetTemplateResponse() (response *DeleteSnapshotByTimeOffsetTemplateResponse)
func (*DeleteSnapshotByTimeOffsetTemplateResponse) FromJsonString ¶
func (r *DeleteSnapshotByTimeOffsetTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSnapshotByTimeOffsetTemplateResponse) ToJsonString ¶
func (r *DeleteSnapshotByTimeOffsetTemplateResponse) ToJsonString() string
type DeleteSnapshotByTimeOffsetTemplateResponseParams ¶
type DeleteSnapshotByTimeOffsetTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteTranscodeTemplateRequest ¶
type DeleteTranscodeTemplateRequest struct { *tchttp.BaseRequest // Unique ID of a transcoding template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` }
func NewDeleteTranscodeTemplateRequest ¶
func NewDeleteTranscodeTemplateRequest() (request *DeleteTranscodeTemplateRequest)
func (*DeleteTranscodeTemplateRequest) FromJsonString ¶
func (r *DeleteTranscodeTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTranscodeTemplateRequest) ToJsonString ¶
func (r *DeleteTranscodeTemplateRequest) ToJsonString() string
type DeleteTranscodeTemplateRequestParams ¶
type DeleteTranscodeTemplateRequestParams struct { // Unique ID of a transcoding template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` }
Predefined struct for user
type DeleteTranscodeTemplateResponse ¶
type DeleteTranscodeTemplateResponse struct { *tchttp.BaseResponse Response *DeleteTranscodeTemplateResponseParams `json:"Response"` }
func NewDeleteTranscodeTemplateResponse ¶
func NewDeleteTranscodeTemplateResponse() (response *DeleteTranscodeTemplateResponse)
func (*DeleteTranscodeTemplateResponse) FromJsonString ¶
func (r *DeleteTranscodeTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTranscodeTemplateResponse) ToJsonString ¶
func (r *DeleteTranscodeTemplateResponse) ToJsonString() string
type DeleteTranscodeTemplateResponseParams ¶
type DeleteTranscodeTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteWatermarkTemplateRequest ¶
type DeleteWatermarkTemplateRequest struct { *tchttp.BaseRequest // Unique ID of a watermarking template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` }
func NewDeleteWatermarkTemplateRequest ¶
func NewDeleteWatermarkTemplateRequest() (request *DeleteWatermarkTemplateRequest)
func (*DeleteWatermarkTemplateRequest) FromJsonString ¶
func (r *DeleteWatermarkTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteWatermarkTemplateRequest) ToJsonString ¶
func (r *DeleteWatermarkTemplateRequest) ToJsonString() string
type DeleteWatermarkTemplateRequestParams ¶
type DeleteWatermarkTemplateRequestParams struct { // Unique ID of a watermarking template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` }
Predefined struct for user
type DeleteWatermarkTemplateResponse ¶
type DeleteWatermarkTemplateResponse struct { *tchttp.BaseResponse Response *DeleteWatermarkTemplateResponseParams `json:"Response"` }
func NewDeleteWatermarkTemplateResponse ¶
func NewDeleteWatermarkTemplateResponse() (response *DeleteWatermarkTemplateResponse)
func (*DeleteWatermarkTemplateResponse) FromJsonString ¶
func (r *DeleteWatermarkTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteWatermarkTemplateResponse) ToJsonString ¶
func (r *DeleteWatermarkTemplateResponse) ToJsonString() string
type DeleteWatermarkTemplateResponseParams ¶
type DeleteWatermarkTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteWordSamplesRequest ¶
type DeleteWordSamplesRequest struct { *tchttp.BaseRequest // Keyword. Array length limit: 100 words. Keywords []*string `json:"Keywords,omitnil" name:"Keywords"` }
func NewDeleteWordSamplesRequest ¶
func NewDeleteWordSamplesRequest() (request *DeleteWordSamplesRequest)
func (*DeleteWordSamplesRequest) FromJsonString ¶
func (r *DeleteWordSamplesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteWordSamplesRequest) ToJsonString ¶
func (r *DeleteWordSamplesRequest) ToJsonString() string
type DeleteWordSamplesRequestParams ¶
type DeleteWordSamplesRequestParams struct { // Keyword. Array length limit: 100 words. Keywords []*string `json:"Keywords,omitnil" name:"Keywords"` }
Predefined struct for user
type DeleteWordSamplesResponse ¶
type DeleteWordSamplesResponse struct { *tchttp.BaseResponse Response *DeleteWordSamplesResponseParams `json:"Response"` }
func NewDeleteWordSamplesResponse ¶
func NewDeleteWordSamplesResponse() (response *DeleteWordSamplesResponse)
func (*DeleteWordSamplesResponse) FromJsonString ¶
func (r *DeleteWordSamplesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteWordSamplesResponse) ToJsonString ¶
func (r *DeleteWordSamplesResponse) ToJsonString() string
type DeleteWordSamplesResponseParams ¶
type DeleteWordSamplesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteWorkflowRequest ¶
type DeleteWorkflowRequest struct { *tchttp.BaseRequest // Workflow ID. WorkflowId *int64 `json:"WorkflowId,omitnil" name:"WorkflowId"` }
func NewDeleteWorkflowRequest ¶
func NewDeleteWorkflowRequest() (request *DeleteWorkflowRequest)
func (*DeleteWorkflowRequest) FromJsonString ¶
func (r *DeleteWorkflowRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteWorkflowRequest) ToJsonString ¶
func (r *DeleteWorkflowRequest) ToJsonString() string
type DeleteWorkflowRequestParams ¶
type DeleteWorkflowRequestParams struct { // Workflow ID. WorkflowId *int64 `json:"WorkflowId,omitnil" name:"WorkflowId"` }
Predefined struct for user
type DeleteWorkflowResponse ¶
type DeleteWorkflowResponse struct { *tchttp.BaseResponse Response *DeleteWorkflowResponseParams `json:"Response"` }
func NewDeleteWorkflowResponse ¶
func NewDeleteWorkflowResponse() (response *DeleteWorkflowResponse)
func (*DeleteWorkflowResponse) FromJsonString ¶
func (r *DeleteWorkflowResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteWorkflowResponse) ToJsonString ¶
func (r *DeleteWorkflowResponse) ToJsonString() string
type DeleteWorkflowResponseParams ¶
type DeleteWorkflowResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeAIAnalysisTemplatesRequest ¶
type DescribeAIAnalysisTemplatesRequest struct { *tchttp.BaseRequest // Unique ID filter of video content analysis templates. Array length limit: 10. Definitions []*int64 `json:"Definitions,omitnil" name:"Definitions"` // Pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // The filter for querying templates. If this parameter is left empty, both preset and custom templates are returned. Valid values: // * Preset // * Custom Type *string `json:"Type,omitnil" name:"Type"` }
func NewDescribeAIAnalysisTemplatesRequest ¶
func NewDescribeAIAnalysisTemplatesRequest() (request *DescribeAIAnalysisTemplatesRequest)
func (*DescribeAIAnalysisTemplatesRequest) FromJsonString ¶
func (r *DescribeAIAnalysisTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAIAnalysisTemplatesRequest) ToJsonString ¶
func (r *DescribeAIAnalysisTemplatesRequest) ToJsonString() string
type DescribeAIAnalysisTemplatesRequestParams ¶
type DescribeAIAnalysisTemplatesRequestParams struct { // Unique ID filter of video content analysis templates. Array length limit: 10. Definitions []*int64 `json:"Definitions,omitnil" name:"Definitions"` // Pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // The filter for querying templates. If this parameter is left empty, both preset and custom templates are returned. Valid values: // * Preset // * Custom Type *string `json:"Type,omitnil" name:"Type"` }
Predefined struct for user
type DescribeAIAnalysisTemplatesResponse ¶
type DescribeAIAnalysisTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeAIAnalysisTemplatesResponseParams `json:"Response"` }
func NewDescribeAIAnalysisTemplatesResponse ¶
func NewDescribeAIAnalysisTemplatesResponse() (response *DescribeAIAnalysisTemplatesResponse)
func (*DescribeAIAnalysisTemplatesResponse) FromJsonString ¶
func (r *DescribeAIAnalysisTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAIAnalysisTemplatesResponse) ToJsonString ¶
func (r *DescribeAIAnalysisTemplatesResponse) ToJsonString() string
type DescribeAIAnalysisTemplatesResponseParams ¶
type DescribeAIAnalysisTemplatesResponseParams struct { // Number of eligible entries. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // List of video content analysis template details. AIAnalysisTemplateSet []*AIAnalysisTemplateItem `json:"AIAnalysisTemplateSet,omitnil" name:"AIAnalysisTemplateSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeAIRecognitionTemplatesRequest ¶
type DescribeAIRecognitionTemplatesRequest struct { *tchttp.BaseRequest // Unique ID filter of video content recognition templates. Array length limit: 10. Definitions []*int64 `json:"Definitions,omitnil" name:"Definitions"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 50. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // The filter for querying templates. If this parameter is left empty, both preset and custom templates are returned. Valid values: // * Preset // * Custom Type *string `json:"Type,omitnil" name:"Type"` }
func NewDescribeAIRecognitionTemplatesRequest ¶
func NewDescribeAIRecognitionTemplatesRequest() (request *DescribeAIRecognitionTemplatesRequest)
func (*DescribeAIRecognitionTemplatesRequest) FromJsonString ¶
func (r *DescribeAIRecognitionTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAIRecognitionTemplatesRequest) ToJsonString ¶
func (r *DescribeAIRecognitionTemplatesRequest) ToJsonString() string
type DescribeAIRecognitionTemplatesRequestParams ¶
type DescribeAIRecognitionTemplatesRequestParams struct { // Unique ID filter of video content recognition templates. Array length limit: 10. Definitions []*int64 `json:"Definitions,omitnil" name:"Definitions"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 50. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // The filter for querying templates. If this parameter is left empty, both preset and custom templates are returned. Valid values: // * Preset // * Custom Type *string `json:"Type,omitnil" name:"Type"` }
Predefined struct for user
type DescribeAIRecognitionTemplatesResponse ¶
type DescribeAIRecognitionTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeAIRecognitionTemplatesResponseParams `json:"Response"` }
func NewDescribeAIRecognitionTemplatesResponse ¶
func NewDescribeAIRecognitionTemplatesResponse() (response *DescribeAIRecognitionTemplatesResponse)
func (*DescribeAIRecognitionTemplatesResponse) FromJsonString ¶
func (r *DescribeAIRecognitionTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAIRecognitionTemplatesResponse) ToJsonString ¶
func (r *DescribeAIRecognitionTemplatesResponse) ToJsonString() string
type DescribeAIRecognitionTemplatesResponseParams ¶
type DescribeAIRecognitionTemplatesResponseParams struct { // Number of eligible entries. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // List of video content recognition template details. AIRecognitionTemplateSet []*AIRecognitionTemplateItem `json:"AIRecognitionTemplateSet,omitnil" name:"AIRecognitionTemplateSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeAdaptiveDynamicStreamingTemplatesRequest ¶
type DescribeAdaptiveDynamicStreamingTemplatesRequest struct { *tchttp.BaseRequest // Unique ID filter of adaptive bitrate streaming templates. Array length limit: 100. Definitions []*uint64 `json:"Definitions,omitnil" name:"Definitions"` // Pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Template type filter. Valid values: // <li>Preset: preset template;</li> // <li>Custom: custom template.</li> Type *string `json:"Type,omitnil" name:"Type"` }
func NewDescribeAdaptiveDynamicStreamingTemplatesRequest ¶
func NewDescribeAdaptiveDynamicStreamingTemplatesRequest() (request *DescribeAdaptiveDynamicStreamingTemplatesRequest)
func (*DescribeAdaptiveDynamicStreamingTemplatesRequest) FromJsonString ¶
func (r *DescribeAdaptiveDynamicStreamingTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAdaptiveDynamicStreamingTemplatesRequest) ToJsonString ¶
func (r *DescribeAdaptiveDynamicStreamingTemplatesRequest) ToJsonString() string
type DescribeAdaptiveDynamicStreamingTemplatesRequestParams ¶
type DescribeAdaptiveDynamicStreamingTemplatesRequestParams struct { // Unique ID filter of adaptive bitrate streaming templates. Array length limit: 100. Definitions []*uint64 `json:"Definitions,omitnil" name:"Definitions"` // Pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Template type filter. Valid values: // <li>Preset: preset template;</li> // <li>Custom: custom template.</li> Type *string `json:"Type,omitnil" name:"Type"` }
Predefined struct for user
type DescribeAdaptiveDynamicStreamingTemplatesResponse ¶
type DescribeAdaptiveDynamicStreamingTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeAdaptiveDynamicStreamingTemplatesResponseParams `json:"Response"` }
func NewDescribeAdaptiveDynamicStreamingTemplatesResponse ¶
func NewDescribeAdaptiveDynamicStreamingTemplatesResponse() (response *DescribeAdaptiveDynamicStreamingTemplatesResponse)
func (*DescribeAdaptiveDynamicStreamingTemplatesResponse) FromJsonString ¶
func (r *DescribeAdaptiveDynamicStreamingTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAdaptiveDynamicStreamingTemplatesResponse) ToJsonString ¶
func (r *DescribeAdaptiveDynamicStreamingTemplatesResponse) ToJsonString() string
type DescribeAdaptiveDynamicStreamingTemplatesResponseParams ¶
type DescribeAdaptiveDynamicStreamingTemplatesResponseParams struct { // Number of eligible entries. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // List of adaptive bitrate streaming template details. AdaptiveDynamicStreamingTemplateSet []*AdaptiveDynamicStreamingTemplate `json:"AdaptiveDynamicStreamingTemplateSet,omitnil" name:"AdaptiveDynamicStreamingTemplateSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeAnimatedGraphicsTemplatesRequest ¶
type DescribeAnimatedGraphicsTemplatesRequest struct { *tchttp.BaseRequest // Unique ID filter of animated image generating templates. Array length limit: 100. Definitions []*uint64 `json:"Definitions,omitnil" name:"Definitions"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Template type filter. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil" name:"Type"` }
func NewDescribeAnimatedGraphicsTemplatesRequest ¶
func NewDescribeAnimatedGraphicsTemplatesRequest() (request *DescribeAnimatedGraphicsTemplatesRequest)
func (*DescribeAnimatedGraphicsTemplatesRequest) FromJsonString ¶
func (r *DescribeAnimatedGraphicsTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAnimatedGraphicsTemplatesRequest) ToJsonString ¶
func (r *DescribeAnimatedGraphicsTemplatesRequest) ToJsonString() string
type DescribeAnimatedGraphicsTemplatesRequestParams ¶
type DescribeAnimatedGraphicsTemplatesRequestParams struct { // Unique ID filter of animated image generating templates. Array length limit: 100. Definitions []*uint64 `json:"Definitions,omitnil" name:"Definitions"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Template type filter. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil" name:"Type"` }
Predefined struct for user
type DescribeAnimatedGraphicsTemplatesResponse ¶
type DescribeAnimatedGraphicsTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeAnimatedGraphicsTemplatesResponseParams `json:"Response"` }
func NewDescribeAnimatedGraphicsTemplatesResponse ¶
func NewDescribeAnimatedGraphicsTemplatesResponse() (response *DescribeAnimatedGraphicsTemplatesResponse)
func (*DescribeAnimatedGraphicsTemplatesResponse) FromJsonString ¶
func (r *DescribeAnimatedGraphicsTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAnimatedGraphicsTemplatesResponse) ToJsonString ¶
func (r *DescribeAnimatedGraphicsTemplatesResponse) ToJsonString() string
type DescribeAnimatedGraphicsTemplatesResponseParams ¶
type DescribeAnimatedGraphicsTemplatesResponseParams struct { // Number of eligible entries. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // List of animated image generating template details. AnimatedGraphicsTemplateSet []*AnimatedGraphicsTemplate `json:"AnimatedGraphicsTemplateSet,omitnil" name:"AnimatedGraphicsTemplateSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeContentReviewTemplatesRequest ¶
type DescribeContentReviewTemplatesRequest struct { *tchttp.BaseRequest // The IDs of the content moderation templates to query. Array length limit: 50. Definitions []*int64 `json:"Definitions,omitnil" name:"Definitions"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 50. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // The filter for querying templates. If this parameter is left empty, both preset and custom templates are returned. Valid values: // * Preset // * Custom Type *string `json:"Type,omitnil" name:"Type"` }
func NewDescribeContentReviewTemplatesRequest ¶
func NewDescribeContentReviewTemplatesRequest() (request *DescribeContentReviewTemplatesRequest)
func (*DescribeContentReviewTemplatesRequest) FromJsonString ¶
func (r *DescribeContentReviewTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeContentReviewTemplatesRequest) ToJsonString ¶
func (r *DescribeContentReviewTemplatesRequest) ToJsonString() string
type DescribeContentReviewTemplatesRequestParams ¶
type DescribeContentReviewTemplatesRequestParams struct { // The IDs of the content moderation templates to query. Array length limit: 50. Definitions []*int64 `json:"Definitions,omitnil" name:"Definitions"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 50. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // The filter for querying templates. If this parameter is left empty, both preset and custom templates are returned. Valid values: // * Preset // * Custom Type *string `json:"Type,omitnil" name:"Type"` }
Predefined struct for user
type DescribeContentReviewTemplatesResponse ¶
type DescribeContentReviewTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeContentReviewTemplatesResponseParams `json:"Response"` }
func NewDescribeContentReviewTemplatesResponse ¶
func NewDescribeContentReviewTemplatesResponse() (response *DescribeContentReviewTemplatesResponse)
func (*DescribeContentReviewTemplatesResponse) FromJsonString ¶
func (r *DescribeContentReviewTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeContentReviewTemplatesResponse) ToJsonString ¶
func (r *DescribeContentReviewTemplatesResponse) ToJsonString() string
type DescribeContentReviewTemplatesResponseParams ¶
type DescribeContentReviewTemplatesResponseParams struct { // Number of eligible entries. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // List of content audit template details. ContentReviewTemplateSet []*ContentReviewTemplateItem `json:"ContentReviewTemplateSet,omitnil" name:"ContentReviewTemplateSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeImageSpriteTemplatesRequest ¶
type DescribeImageSpriteTemplatesRequest struct { *tchttp.BaseRequest // Unique ID filter of image sprite generating templates. Array length limit: 100. Definitions []*uint64 `json:"Definitions,omitnil" name:"Definitions"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Template type filter. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil" name:"Type"` }
func NewDescribeImageSpriteTemplatesRequest ¶
func NewDescribeImageSpriteTemplatesRequest() (request *DescribeImageSpriteTemplatesRequest)
func (*DescribeImageSpriteTemplatesRequest) FromJsonString ¶
func (r *DescribeImageSpriteTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeImageSpriteTemplatesRequest) ToJsonString ¶
func (r *DescribeImageSpriteTemplatesRequest) ToJsonString() string
type DescribeImageSpriteTemplatesRequestParams ¶
type DescribeImageSpriteTemplatesRequestParams struct { // Unique ID filter of image sprite generating templates. Array length limit: 100. Definitions []*uint64 `json:"Definitions,omitnil" name:"Definitions"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Template type filter. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil" name:"Type"` }
Predefined struct for user
type DescribeImageSpriteTemplatesResponse ¶
type DescribeImageSpriteTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeImageSpriteTemplatesResponseParams `json:"Response"` }
func NewDescribeImageSpriteTemplatesResponse ¶
func NewDescribeImageSpriteTemplatesResponse() (response *DescribeImageSpriteTemplatesResponse)
func (*DescribeImageSpriteTemplatesResponse) FromJsonString ¶
func (r *DescribeImageSpriteTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeImageSpriteTemplatesResponse) ToJsonString ¶
func (r *DescribeImageSpriteTemplatesResponse) ToJsonString() string
type DescribeImageSpriteTemplatesResponseParams ¶
type DescribeImageSpriteTemplatesResponseParams struct { // Number of eligible entries. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // List of image sprite generating template details. ImageSpriteTemplateSet []*ImageSpriteTemplate `json:"ImageSpriteTemplateSet,omitnil" name:"ImageSpriteTemplateSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeMediaMetaDataRequest ¶
type DescribeMediaMetaDataRequest struct { *tchttp.BaseRequest // Input information of file for metadata getting. InputInfo *MediaInputInfo `json:"InputInfo,omitnil" name:"InputInfo"` }
func NewDescribeMediaMetaDataRequest ¶
func NewDescribeMediaMetaDataRequest() (request *DescribeMediaMetaDataRequest)
func (*DescribeMediaMetaDataRequest) FromJsonString ¶
func (r *DescribeMediaMetaDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMediaMetaDataRequest) ToJsonString ¶
func (r *DescribeMediaMetaDataRequest) ToJsonString() string
type DescribeMediaMetaDataRequestParams ¶
type DescribeMediaMetaDataRequestParams struct { // Input information of file for metadata getting. InputInfo *MediaInputInfo `json:"InputInfo,omitnil" name:"InputInfo"` }
Predefined struct for user
type DescribeMediaMetaDataResponse ¶
type DescribeMediaMetaDataResponse struct { *tchttp.BaseResponse Response *DescribeMediaMetaDataResponseParams `json:"Response"` }
func NewDescribeMediaMetaDataResponse ¶
func NewDescribeMediaMetaDataResponse() (response *DescribeMediaMetaDataResponse)
func (*DescribeMediaMetaDataResponse) FromJsonString ¶
func (r *DescribeMediaMetaDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMediaMetaDataResponse) ToJsonString ¶
func (r *DescribeMediaMetaDataResponse) ToJsonString() string
type DescribeMediaMetaDataResponseParams ¶
type DescribeMediaMetaDataResponseParams struct { // Media metadata. MetaData *MediaMetaData `json:"MetaData,omitnil" name:"MetaData"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribePersonSamplesRequest ¶
type DescribePersonSamplesRequest struct { *tchttp.BaseRequest // Type of images to pull. Valid values: // <li>UserDefine: custom image library</li> // <li>Default: default image library</li> // // Default value: UserDefine. Samples in the custom image library will be pulled. // Note: you can pull the default image library only using the image name or a combination of the image name and ID, and only one face image is returned. Type *string `json:"Type,omitnil" name:"Type"` // Image ID. Array length limit: 100 PersonIds []*string `json:"PersonIds,omitnil" name:"PersonIds"` // Image name. Array length limit: 20 Names []*string `json:"Names,omitnil" name:"Names"` // Image tag. Array length limit: 20 Tags []*string `json:"Tags,omitnil" name:"Tags"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned entries. Default value: 100. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` }
func NewDescribePersonSamplesRequest ¶
func NewDescribePersonSamplesRequest() (request *DescribePersonSamplesRequest)
func (*DescribePersonSamplesRequest) FromJsonString ¶
func (r *DescribePersonSamplesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePersonSamplesRequest) ToJsonString ¶
func (r *DescribePersonSamplesRequest) ToJsonString() string
type DescribePersonSamplesRequestParams ¶
type DescribePersonSamplesRequestParams struct { // Type of images to pull. Valid values: // <li>UserDefine: custom image library</li> // <li>Default: default image library</li> // // Default value: UserDefine. Samples in the custom image library will be pulled. // Note: you can pull the default image library only using the image name or a combination of the image name and ID, and only one face image is returned. Type *string `json:"Type,omitnil" name:"Type"` // Image ID. Array length limit: 100 PersonIds []*string `json:"PersonIds,omitnil" name:"PersonIds"` // Image name. Array length limit: 20 Names []*string `json:"Names,omitnil" name:"Names"` // Image tag. Array length limit: 20 Tags []*string `json:"Tags,omitnil" name:"Tags"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned entries. Default value: 100. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` }
Predefined struct for user
type DescribePersonSamplesResponse ¶
type DescribePersonSamplesResponse struct { *tchttp.BaseResponse Response *DescribePersonSamplesResponseParams `json:"Response"` }
func NewDescribePersonSamplesResponse ¶
func NewDescribePersonSamplesResponse() (response *DescribePersonSamplesResponse)
func (*DescribePersonSamplesResponse) FromJsonString ¶
func (r *DescribePersonSamplesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePersonSamplesResponse) ToJsonString ¶
func (r *DescribePersonSamplesResponse) ToJsonString() string
type DescribePersonSamplesResponseParams ¶
type DescribePersonSamplesResponseParams struct { // Number of eligible entries. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // Image information PersonSet []*AiSamplePerson `json:"PersonSet,omitnil" name:"PersonSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeSampleSnapshotTemplatesRequest ¶
type DescribeSampleSnapshotTemplatesRequest struct { *tchttp.BaseRequest // Unique ID filter of sampled screencapturing templates. Array length limit: 100. Definitions []*uint64 `json:"Definitions,omitnil" name:"Definitions"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Template type filter. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil" name:"Type"` }
func NewDescribeSampleSnapshotTemplatesRequest ¶
func NewDescribeSampleSnapshotTemplatesRequest() (request *DescribeSampleSnapshotTemplatesRequest)
func (*DescribeSampleSnapshotTemplatesRequest) FromJsonString ¶
func (r *DescribeSampleSnapshotTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSampleSnapshotTemplatesRequest) ToJsonString ¶
func (r *DescribeSampleSnapshotTemplatesRequest) ToJsonString() string
type DescribeSampleSnapshotTemplatesRequestParams ¶
type DescribeSampleSnapshotTemplatesRequestParams struct { // Unique ID filter of sampled screencapturing templates. Array length limit: 100. Definitions []*uint64 `json:"Definitions,omitnil" name:"Definitions"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Template type filter. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil" name:"Type"` }
Predefined struct for user
type DescribeSampleSnapshotTemplatesResponse ¶
type DescribeSampleSnapshotTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeSampleSnapshotTemplatesResponseParams `json:"Response"` }
func NewDescribeSampleSnapshotTemplatesResponse ¶
func NewDescribeSampleSnapshotTemplatesResponse() (response *DescribeSampleSnapshotTemplatesResponse)
func (*DescribeSampleSnapshotTemplatesResponse) FromJsonString ¶
func (r *DescribeSampleSnapshotTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSampleSnapshotTemplatesResponse) ToJsonString ¶
func (r *DescribeSampleSnapshotTemplatesResponse) ToJsonString() string
type DescribeSampleSnapshotTemplatesResponseParams ¶
type DescribeSampleSnapshotTemplatesResponseParams struct { // Number of eligible entries. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // List of sampled screencapturing template details. SampleSnapshotTemplateSet []*SampleSnapshotTemplate `json:"SampleSnapshotTemplateSet,omitnil" name:"SampleSnapshotTemplateSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeSchedulesRequest ¶
type DescribeSchedulesRequest struct { *tchttp.BaseRequest // The IDs of the schemes to query. Array length limit: 100. ScheduleIds []*int64 `json:"ScheduleIds,omitnil" name:"ScheduleIds"` // The trigger type. Valid values: // <li>`CosFileUpload`: The scheme is triggered when a file is uploaded to Tencent Cloud Object Storage (COS).</li> // <li>`AwsS3FileUpload`: The scheme is triggered when a file is uploaded to AWS S3.</li> // If you do not specify this parameter or leave it empty, all schemes will be returned regardless of the trigger type. TriggerType *string `json:"TriggerType,omitnil" name:"TriggerType"` // The scheme status. Valid values: // <li>`Enabled`</li> // <li>`Disabled`</li> // If you do not specify this parameter, all schemes will be returned regardless of the status. Status *string `json:"Status,omitnil" name:"Status"` // The pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // The maximum number of records to return. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` }
func NewDescribeSchedulesRequest ¶
func NewDescribeSchedulesRequest() (request *DescribeSchedulesRequest)
func (*DescribeSchedulesRequest) FromJsonString ¶
func (r *DescribeSchedulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSchedulesRequest) ToJsonString ¶
func (r *DescribeSchedulesRequest) ToJsonString() string
type DescribeSchedulesRequestParams ¶
type DescribeSchedulesRequestParams struct { // The IDs of the schemes to query. Array length limit: 100. ScheduleIds []*int64 `json:"ScheduleIds,omitnil" name:"ScheduleIds"` // The trigger type. Valid values: // <li>`CosFileUpload`: The scheme is triggered when a file is uploaded to Tencent Cloud Object Storage (COS).</li> // <li>`AwsS3FileUpload`: The scheme is triggered when a file is uploaded to AWS S3.</li> // If you do not specify this parameter or leave it empty, all schemes will be returned regardless of the trigger type. TriggerType *string `json:"TriggerType,omitnil" name:"TriggerType"` // The scheme status. Valid values: // <li>`Enabled`</li> // <li>`Disabled`</li> // If you do not specify this parameter, all schemes will be returned regardless of the status. Status *string `json:"Status,omitnil" name:"Status"` // The pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // The maximum number of records to return. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` }
Predefined struct for user
type DescribeSchedulesResponse ¶
type DescribeSchedulesResponse struct { *tchttp.BaseResponse Response *DescribeSchedulesResponseParams `json:"Response"` }
func NewDescribeSchedulesResponse ¶
func NewDescribeSchedulesResponse() (response *DescribeSchedulesResponse)
func (*DescribeSchedulesResponse) FromJsonString ¶
func (r *DescribeSchedulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSchedulesResponse) ToJsonString ¶
func (r *DescribeSchedulesResponse) ToJsonString() string
type DescribeSchedulesResponseParams ¶
type DescribeSchedulesResponseParams struct { // The total number of records that meet the conditions. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // The information of the schemes. ScheduleInfoSet []*SchedulesInfo `json:"ScheduleInfoSet,omitnil" name:"ScheduleInfoSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeSnapshotByTimeOffsetTemplatesRequest ¶
type DescribeSnapshotByTimeOffsetTemplatesRequest struct { *tchttp.BaseRequest // Unique ID filter of time point screencapturing templates. Array length limit: 100. Definitions []*uint64 `json:"Definitions,omitnil" name:"Definitions"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Template type filter. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil" name:"Type"` }
func NewDescribeSnapshotByTimeOffsetTemplatesRequest ¶
func NewDescribeSnapshotByTimeOffsetTemplatesRequest() (request *DescribeSnapshotByTimeOffsetTemplatesRequest)
func (*DescribeSnapshotByTimeOffsetTemplatesRequest) FromJsonString ¶
func (r *DescribeSnapshotByTimeOffsetTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSnapshotByTimeOffsetTemplatesRequest) ToJsonString ¶
func (r *DescribeSnapshotByTimeOffsetTemplatesRequest) ToJsonString() string
type DescribeSnapshotByTimeOffsetTemplatesRequestParams ¶
type DescribeSnapshotByTimeOffsetTemplatesRequestParams struct { // Unique ID filter of time point screencapturing templates. Array length limit: 100. Definitions []*uint64 `json:"Definitions,omitnil" name:"Definitions"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Template type filter. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil" name:"Type"` }
Predefined struct for user
type DescribeSnapshotByTimeOffsetTemplatesResponse ¶
type DescribeSnapshotByTimeOffsetTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeSnapshotByTimeOffsetTemplatesResponseParams `json:"Response"` }
func NewDescribeSnapshotByTimeOffsetTemplatesResponse ¶
func NewDescribeSnapshotByTimeOffsetTemplatesResponse() (response *DescribeSnapshotByTimeOffsetTemplatesResponse)
func (*DescribeSnapshotByTimeOffsetTemplatesResponse) FromJsonString ¶
func (r *DescribeSnapshotByTimeOffsetTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSnapshotByTimeOffsetTemplatesResponse) ToJsonString ¶
func (r *DescribeSnapshotByTimeOffsetTemplatesResponse) ToJsonString() string
type DescribeSnapshotByTimeOffsetTemplatesResponseParams ¶
type DescribeSnapshotByTimeOffsetTemplatesResponseParams struct { // Number of eligible entries. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // List of time point screencapturing template details. SnapshotByTimeOffsetTemplateSet []*SnapshotByTimeOffsetTemplate `json:"SnapshotByTimeOffsetTemplateSet,omitnil" name:"SnapshotByTimeOffsetTemplateSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeTaskDetailRequest ¶
type DescribeTaskDetailRequest struct { *tchttp.BaseRequest // Video processing task ID. TaskId *string `json:"TaskId,omitnil" name:"TaskId"` }
func NewDescribeTaskDetailRequest ¶
func NewDescribeTaskDetailRequest() (request *DescribeTaskDetailRequest)
func (*DescribeTaskDetailRequest) FromJsonString ¶
func (r *DescribeTaskDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTaskDetailRequest) ToJsonString ¶
func (r *DescribeTaskDetailRequest) ToJsonString() string
type DescribeTaskDetailRequestParams ¶
type DescribeTaskDetailRequestParams struct { // Video processing task ID. TaskId *string `json:"TaskId,omitnil" name:"TaskId"` }
Predefined struct for user
type DescribeTaskDetailResponse ¶
type DescribeTaskDetailResponse struct { *tchttp.BaseResponse Response *DescribeTaskDetailResponseParams `json:"Response"` }
func NewDescribeTaskDetailResponse ¶
func NewDescribeTaskDetailResponse() (response *DescribeTaskDetailResponse)
func (*DescribeTaskDetailResponse) FromJsonString ¶
func (r *DescribeTaskDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTaskDetailResponse) ToJsonString ¶
func (r *DescribeTaskDetailResponse) ToJsonString() string
type DescribeTaskDetailResponseParams ¶
type DescribeTaskDetailResponseParams struct { // The task type. Valid values: // <li>WorkflowTask</li> // <li>EditMediaTask</li> // <li>LiveStreamProcessTask</li> // <li>ScheduleTask (scheme)</li> TaskType *string `json:"TaskType,omitnil" name:"TaskType"` // Task status. Valid values: // <li>WAITING: Waiting;</li> // <li>PROCESSING: Processing;</li> // <li>FINISH: Completed.</li> Status *string `json:"Status,omitnil" name:"Status"` // Creation time of a task in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Start time of task execution in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). BeginProcessTime *string `json:"BeginProcessTime,omitnil" name:"BeginProcessTime"` // End time of task execution in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). FinishTime *string `json:"FinishTime,omitnil" name:"FinishTime"` // Video editing task information. This field has a value only when `TaskType` is `EditMediaTask`. EditMediaTask *EditMediaTask `json:"EditMediaTask,omitnil" name:"EditMediaTask"` // Information of a video processing task. This field has a value only when `TaskType` is `WorkflowTask`. // Note: This field may return null, indicating that no valid values can be obtained. WorkflowTask *WorkflowTask `json:"WorkflowTask,omitnil" name:"WorkflowTask"` // Information of a live stream processing task. This field has a value only when `TaskType` is `LiveStreamProcessTask`. // Note: This field may return null, indicating that no valid values can be obtained. LiveStreamProcessTask *LiveStreamProcessTask `json:"LiveStreamProcessTask,omitnil" name:"LiveStreamProcessTask"` // Event notification information of a task. // Note: This field may return null, indicating that no valid values can be obtained. TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitnil" name:"TaskNotifyConfig"` // Task flow priority. Value range: [-10, 10]. TasksPriority *int64 `json:"TasksPriority,omitnil" name:"TasksPriority"` // The ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or an empty string is entered, no deduplication will be performed. SessionId *string `json:"SessionId,omitnil" name:"SessionId"` // The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitnil" name:"SessionContext"` // Extended information field, used in specific scenarios. ExtInfo *string `json:"ExtInfo,omitnil" name:"ExtInfo"` // The information of a scheme. This parameter is valid only if `TaskType` is `ScheduleTask`. // Note: This field may return null, indicating that no valid values can be obtained. ScheduleTask *ScheduleTask `json:"ScheduleTask,omitnil" name:"ScheduleTask"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeTasksRequest ¶
type DescribeTasksRequest struct { *tchttp.BaseRequest // Filter: Task status. Valid values: WAITING (waiting), PROCESSING (processing), FINISH (completed). Status *string `json:"Status,omitnil" name:"Status"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Scrolling identifier which is used for pulling in batches. If a single request cannot pull all the data entries, the API will return `ScrollToken`, and if the next request carries it, the next pull will start from the next entry. ScrollToken *string `json:"ScrollToken,omitnil" name:"ScrollToken"` }
func NewDescribeTasksRequest ¶
func NewDescribeTasksRequest() (request *DescribeTasksRequest)
func (*DescribeTasksRequest) FromJsonString ¶
func (r *DescribeTasksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTasksRequest) ToJsonString ¶
func (r *DescribeTasksRequest) ToJsonString() string
type DescribeTasksRequestParams ¶
type DescribeTasksRequestParams struct { // Filter: Task status. Valid values: WAITING (waiting), PROCESSING (processing), FINISH (completed). Status *string `json:"Status,omitnil" name:"Status"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Scrolling identifier which is used for pulling in batches. If a single request cannot pull all the data entries, the API will return `ScrollToken`, and if the next request carries it, the next pull will start from the next entry. ScrollToken *string `json:"ScrollToken,omitnil" name:"ScrollToken"` }
Predefined struct for user
type DescribeTasksResponse ¶
type DescribeTasksResponse struct { *tchttp.BaseResponse Response *DescribeTasksResponseParams `json:"Response"` }
func NewDescribeTasksResponse ¶
func NewDescribeTasksResponse() (response *DescribeTasksResponse)
func (*DescribeTasksResponse) FromJsonString ¶
func (r *DescribeTasksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTasksResponse) ToJsonString ¶
func (r *DescribeTasksResponse) ToJsonString() string
type DescribeTasksResponseParams ¶
type DescribeTasksResponseParams struct { // Task overview list. TaskSet []*TaskSimpleInfo `json:"TaskSet,omitnil" name:"TaskSet"` // Scrolling identifier. If a request does not return all the data entries, this field indicates the ID of the next entry. If this field is an empty string, there is no more data. ScrollToken *string `json:"ScrollToken,omitnil" name:"ScrollToken"` // The total number of records that meet the conditions. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeTranscodeTemplatesRequest ¶
type DescribeTranscodeTemplatesRequest struct { *tchttp.BaseRequest // Unique ID filter of transcoding templates. Array length limit: 100. Definitions []*int64 `json:"Definitions,omitnil" name:"Definitions"` // Template type filter. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil" name:"Type"` // Container format filter. Valid values: // <li>Video: Video container format that can contain both video stream and audio stream;</li> // <li>PureAudio: Audio container format that can contain only audio stream.</li> ContainerType *string `json:"ContainerType,omitnil" name:"ContainerType"` // TESHD filter, which is used to filter common transcoding or ultra-fast HD transcoding templates. Valid values: // <li>Common: Common transcoding template;</li> // <li>TEHD: TESHD template.</li> TEHDType *string `json:"TEHDType,omitnil" name:"TEHDType"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // The template type (replacing `TEHDType`). Valid values: // <li>Common: Common transcoding template</li> // <li>TEHD: TESHD template</li> // <li>Enhance: Audio/Video enhancement template.</li> // This parameter is left empty by default, which indicates to return all types of templates. TranscodeType *string `json:"TranscodeType,omitnil" name:"TranscodeType"` }
func NewDescribeTranscodeTemplatesRequest ¶
func NewDescribeTranscodeTemplatesRequest() (request *DescribeTranscodeTemplatesRequest)
func (*DescribeTranscodeTemplatesRequest) FromJsonString ¶
func (r *DescribeTranscodeTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTranscodeTemplatesRequest) ToJsonString ¶
func (r *DescribeTranscodeTemplatesRequest) ToJsonString() string
type DescribeTranscodeTemplatesRequestParams ¶
type DescribeTranscodeTemplatesRequestParams struct { // Unique ID filter of transcoding templates. Array length limit: 100. Definitions []*int64 `json:"Definitions,omitnil" name:"Definitions"` // Template type filter. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil" name:"Type"` // Container format filter. Valid values: // <li>Video: Video container format that can contain both video stream and audio stream;</li> // <li>PureAudio: Audio container format that can contain only audio stream.</li> ContainerType *string `json:"ContainerType,omitnil" name:"ContainerType"` // TESHD filter, which is used to filter common transcoding or ultra-fast HD transcoding templates. Valid values: // <li>Common: Common transcoding template;</li> // <li>TEHD: TESHD template.</li> TEHDType *string `json:"TEHDType,omitnil" name:"TEHDType"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // The template type (replacing `TEHDType`). Valid values: // <li>Common: Common transcoding template</li> // <li>TEHD: TESHD template</li> // <li>Enhance: Audio/Video enhancement template.</li> // This parameter is left empty by default, which indicates to return all types of templates. TranscodeType *string `json:"TranscodeType,omitnil" name:"TranscodeType"` }
Predefined struct for user
type DescribeTranscodeTemplatesResponse ¶
type DescribeTranscodeTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeTranscodeTemplatesResponseParams `json:"Response"` }
func NewDescribeTranscodeTemplatesResponse ¶
func NewDescribeTranscodeTemplatesResponse() (response *DescribeTranscodeTemplatesResponse)
func (*DescribeTranscodeTemplatesResponse) FromJsonString ¶
func (r *DescribeTranscodeTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTranscodeTemplatesResponse) ToJsonString ¶
func (r *DescribeTranscodeTemplatesResponse) ToJsonString() string
type DescribeTranscodeTemplatesResponseParams ¶
type DescribeTranscodeTemplatesResponseParams struct { // Number of eligible entries. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // List of transcoding template details. TranscodeTemplateSet []*TranscodeTemplate `json:"TranscodeTemplateSet,omitnil" name:"TranscodeTemplateSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeWatermarkTemplatesRequest ¶
type DescribeWatermarkTemplatesRequest struct { *tchttp.BaseRequest // Unique ID filter of watermarking templates. Array length limit: 100. Definitions []*int64 `json:"Definitions,omitnil" name:"Definitions"` // Watermark type filter. Valid values: // <li>image: Image watermark;</li> // <li>text: Text watermark.</li> Type *string `json:"Type,omitnil" name:"Type"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned entries // <li>Default value: 10;</li> // <li>Maximum value: 100.</li> Limit *uint64 `json:"Limit,omitnil" name:"Limit"` }
func NewDescribeWatermarkTemplatesRequest ¶
func NewDescribeWatermarkTemplatesRequest() (request *DescribeWatermarkTemplatesRequest)
func (*DescribeWatermarkTemplatesRequest) FromJsonString ¶
func (r *DescribeWatermarkTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWatermarkTemplatesRequest) ToJsonString ¶
func (r *DescribeWatermarkTemplatesRequest) ToJsonString() string
type DescribeWatermarkTemplatesRequestParams ¶
type DescribeWatermarkTemplatesRequestParams struct { // Unique ID filter of watermarking templates. Array length limit: 100. Definitions []*int64 `json:"Definitions,omitnil" name:"Definitions"` // Watermark type filter. Valid values: // <li>image: Image watermark;</li> // <li>text: Text watermark.</li> Type *string `json:"Type,omitnil" name:"Type"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned entries // <li>Default value: 10;</li> // <li>Maximum value: 100.</li> Limit *uint64 `json:"Limit,omitnil" name:"Limit"` }
Predefined struct for user
type DescribeWatermarkTemplatesResponse ¶
type DescribeWatermarkTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeWatermarkTemplatesResponseParams `json:"Response"` }
func NewDescribeWatermarkTemplatesResponse ¶
func NewDescribeWatermarkTemplatesResponse() (response *DescribeWatermarkTemplatesResponse)
func (*DescribeWatermarkTemplatesResponse) FromJsonString ¶
func (r *DescribeWatermarkTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWatermarkTemplatesResponse) ToJsonString ¶
func (r *DescribeWatermarkTemplatesResponse) ToJsonString() string
type DescribeWatermarkTemplatesResponseParams ¶
type DescribeWatermarkTemplatesResponseParams struct { // Number of eligible entries. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // List of watermarking template details. WatermarkTemplateSet []*WatermarkTemplate `json:"WatermarkTemplateSet,omitnil" name:"WatermarkTemplateSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeWordSamplesRequest ¶
type DescribeWordSamplesRequest struct { *tchttp.BaseRequest // Keyword filter. Array length limit: 100 words. Keywords []*string `json:"Keywords,omitnil" name:"Keywords"` // <b>Keyword usage. Valid values:</b> // 1. Recognition.Ocr: OCR-based content recognition // 2. Recognition.Asr: ASR-based content recognition // 3. Review.Ocr: OCR-based inappropriate information recognition // 4. Review.Asr: ASR-based inappropriate information recognition // <b>Valid values can also be:</b> // 5. Recognition: ASR- and OCR-based content recognition; equivalent to 1+2 // 6. Review: ASR- and OCR-based inappropriate information recognition; equivalent to 3+4 // You can select multiple elements, which are connected by OR logic. If a usage contains any element in this parameter, the keyword sample will be used. Usages []*string `json:"Usages,omitnil" name:"Usages"` // Tag filter. Array length limit: 20 words. Tags []*string `json:"Tags,omitnil" name:"Tags"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned entries. Default value: 100. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` }
func NewDescribeWordSamplesRequest ¶
func NewDescribeWordSamplesRequest() (request *DescribeWordSamplesRequest)
func (*DescribeWordSamplesRequest) FromJsonString ¶
func (r *DescribeWordSamplesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWordSamplesRequest) ToJsonString ¶
func (r *DescribeWordSamplesRequest) ToJsonString() string
type DescribeWordSamplesRequestParams ¶
type DescribeWordSamplesRequestParams struct { // Keyword filter. Array length limit: 100 words. Keywords []*string `json:"Keywords,omitnil" name:"Keywords"` // <b>Keyword usage. Valid values:</b> // 1. Recognition.Ocr: OCR-based content recognition // 2. Recognition.Asr: ASR-based content recognition // 3. Review.Ocr: OCR-based inappropriate information recognition // 4. Review.Asr: ASR-based inappropriate information recognition // <b>Valid values can also be:</b> // 5. Recognition: ASR- and OCR-based content recognition; equivalent to 1+2 // 6. Review: ASR- and OCR-based inappropriate information recognition; equivalent to 3+4 // You can select multiple elements, which are connected by OR logic. If a usage contains any element in this parameter, the keyword sample will be used. Usages []*string `json:"Usages,omitnil" name:"Usages"` // Tag filter. Array length limit: 20 words. Tags []*string `json:"Tags,omitnil" name:"Tags"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned entries. Default value: 100. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` }
Predefined struct for user
type DescribeWordSamplesResponse ¶
type DescribeWordSamplesResponse struct { *tchttp.BaseResponse Response *DescribeWordSamplesResponseParams `json:"Response"` }
func NewDescribeWordSamplesResponse ¶
func NewDescribeWordSamplesResponse() (response *DescribeWordSamplesResponse)
func (*DescribeWordSamplesResponse) FromJsonString ¶
func (r *DescribeWordSamplesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWordSamplesResponse) ToJsonString ¶
func (r *DescribeWordSamplesResponse) ToJsonString() string
type DescribeWordSamplesResponseParams ¶
type DescribeWordSamplesResponseParams struct { // Number of eligible entries. // Note: This field may return null, indicating that no valid values can be obtained. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // Keyword information. // Note: This field may return null, indicating that no valid values can be obtained. WordSet []*AiSampleWord `json:"WordSet,omitnil" name:"WordSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeWorkflowsRequest ¶
type DescribeWorkflowsRequest struct { *tchttp.BaseRequest // Workflow ID filter. Array length limit: 100. WorkflowIds []*int64 `json:"WorkflowIds,omitnil" name:"WorkflowIds"` // Workflow status. Valid values: // <li>Enabled: Enabled,</li> // <li>Disabled: Disabled.</li> // If this parameter is left empty, the workflow status will not be distinguished. Status *string `json:"Status,omitnil" name:"Status"` // Paging offset. Default value: 0. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
func NewDescribeWorkflowsRequest ¶
func NewDescribeWorkflowsRequest() (request *DescribeWorkflowsRequest)
func (*DescribeWorkflowsRequest) FromJsonString ¶
func (r *DescribeWorkflowsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWorkflowsRequest) ToJsonString ¶
func (r *DescribeWorkflowsRequest) ToJsonString() string
type DescribeWorkflowsRequestParams ¶
type DescribeWorkflowsRequestParams struct { // Workflow ID filter. Array length limit: 100. WorkflowIds []*int64 `json:"WorkflowIds,omitnil" name:"WorkflowIds"` // Workflow status. Valid values: // <li>Enabled: Enabled,</li> // <li>Disabled: Disabled.</li> // If this parameter is left empty, the workflow status will not be distinguished. Status *string `json:"Status,omitnil" name:"Status"` // Paging offset. Default value: 0. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
Predefined struct for user
type DescribeWorkflowsResponse ¶
type DescribeWorkflowsResponse struct { *tchttp.BaseResponse Response *DescribeWorkflowsResponseParams `json:"Response"` }
func NewDescribeWorkflowsResponse ¶
func NewDescribeWorkflowsResponse() (response *DescribeWorkflowsResponse)
func (*DescribeWorkflowsResponse) FromJsonString ¶
func (r *DescribeWorkflowsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWorkflowsResponse) ToJsonString ¶
func (r *DescribeWorkflowsResponse) ToJsonString() string
type DescribeWorkflowsResponseParams ¶
type DescribeWorkflowsResponseParams struct { // Number of eligible entries. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // Workflow information array. WorkflowInfoSet []*WorkflowInfo `json:"WorkflowInfoSet,omitnil" name:"WorkflowInfoSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DisableScheduleRequest ¶
type DisableScheduleRequest struct { *tchttp.BaseRequest // The scheme ID. ScheduleId *int64 `json:"ScheduleId,omitnil" name:"ScheduleId"` }
func NewDisableScheduleRequest ¶
func NewDisableScheduleRequest() (request *DisableScheduleRequest)
func (*DisableScheduleRequest) FromJsonString ¶
func (r *DisableScheduleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableScheduleRequest) ToJsonString ¶
func (r *DisableScheduleRequest) ToJsonString() string
type DisableScheduleRequestParams ¶
type DisableScheduleRequestParams struct { // The scheme ID. ScheduleId *int64 `json:"ScheduleId,omitnil" name:"ScheduleId"` }
Predefined struct for user
type DisableScheduleResponse ¶
type DisableScheduleResponse struct { *tchttp.BaseResponse Response *DisableScheduleResponseParams `json:"Response"` }
func NewDisableScheduleResponse ¶
func NewDisableScheduleResponse() (response *DisableScheduleResponse)
func (*DisableScheduleResponse) FromJsonString ¶
func (r *DisableScheduleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableScheduleResponse) ToJsonString ¶
func (r *DisableScheduleResponse) ToJsonString() string
type DisableScheduleResponseParams ¶
type DisableScheduleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DisableWorkflowRequest ¶
type DisableWorkflowRequest struct { *tchttp.BaseRequest // Workflow ID. WorkflowId *int64 `json:"WorkflowId,omitnil" name:"WorkflowId"` }
func NewDisableWorkflowRequest ¶
func NewDisableWorkflowRequest() (request *DisableWorkflowRequest)
func (*DisableWorkflowRequest) FromJsonString ¶
func (r *DisableWorkflowRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableWorkflowRequest) ToJsonString ¶
func (r *DisableWorkflowRequest) ToJsonString() string
type DisableWorkflowRequestParams ¶
type DisableWorkflowRequestParams struct { // Workflow ID. WorkflowId *int64 `json:"WorkflowId,omitnil" name:"WorkflowId"` }
Predefined struct for user
type DisableWorkflowResponse ¶
type DisableWorkflowResponse struct { *tchttp.BaseResponse Response *DisableWorkflowResponseParams `json:"Response"` }
func NewDisableWorkflowResponse ¶
func NewDisableWorkflowResponse() (response *DisableWorkflowResponse)
func (*DisableWorkflowResponse) FromJsonString ¶
func (r *DisableWorkflowResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableWorkflowResponse) ToJsonString ¶
func (r *DisableWorkflowResponse) ToJsonString() string
type DisableWorkflowResponseParams ¶
type DisableWorkflowResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type EditMediaFileInfo ¶
type EditMediaFileInfo struct { // Video input information. InputInfo *MediaInputInfo `json:"InputInfo,omitnil" name:"InputInfo"` // Start time offset of video clipping in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil" name:"StartTimeOffset"` // End time offset of video clipping in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil" name:"EndTimeOffset"` }
type EditMediaOutputConfig ¶
type EditMediaOutputConfig struct { // Format. Valid values: `mp4` (default), `hls`, `mov`, `flv`, `avi` Container *string `json:"Container,omitnil" name:"Container"` // The editing mode. Valid values are `normal` and `fast`. The default is `normal`, which indicates precise editing. Type *string `json:"Type,omitnil" name:"Type"` }
type EditMediaRequest ¶
type EditMediaRequest struct { *tchttp.BaseRequest // Information of input video file. FileInfos []*EditMediaFileInfo `json:"FileInfos,omitnil" name:"FileInfos"` // The storage location of the media processing output file. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` // The path to save the media processing output file. OutputObjectPath *string `json:"OutputObjectPath,omitnil" name:"OutputObjectPath"` // Configuration for output files of video editing OutputConfig *EditMediaOutputConfig `json:"OutputConfig,omitnil" name:"OutputConfig"` // Event notification information of task. If this parameter is left empty, no event notifications will be obtained. TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitnil" name:"TaskNotifyConfig"` // Task priority. The higher the value, the higher the priority. Value range: -10–10. If this parameter is left empty, 0 will be used. TasksPriority *int64 `json:"TasksPriority,omitnil" name:"TasksPriority"` // The ID used for deduplication. If there was a request with the same ID in the last three days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or an empty string is entered, no deduplication will be performed. SessionId *string `json:"SessionId,omitnil" name:"SessionId"` // The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitnil" name:"SessionContext"` }
func NewEditMediaRequest ¶
func NewEditMediaRequest() (request *EditMediaRequest)
func (*EditMediaRequest) FromJsonString ¶
func (r *EditMediaRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EditMediaRequest) ToJsonString ¶
func (r *EditMediaRequest) ToJsonString() string
type EditMediaRequestParams ¶
type EditMediaRequestParams struct { // Information of input video file. FileInfos []*EditMediaFileInfo `json:"FileInfos,omitnil" name:"FileInfos"` // The storage location of the media processing output file. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` // The path to save the media processing output file. OutputObjectPath *string `json:"OutputObjectPath,omitnil" name:"OutputObjectPath"` // Configuration for output files of video editing OutputConfig *EditMediaOutputConfig `json:"OutputConfig,omitnil" name:"OutputConfig"` // Event notification information of task. If this parameter is left empty, no event notifications will be obtained. TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitnil" name:"TaskNotifyConfig"` // Task priority. The higher the value, the higher the priority. Value range: -10–10. If this parameter is left empty, 0 will be used. TasksPriority *int64 `json:"TasksPriority,omitnil" name:"TasksPriority"` // The ID used for deduplication. If there was a request with the same ID in the last three days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or an empty string is entered, no deduplication will be performed. SessionId *string `json:"SessionId,omitnil" name:"SessionId"` // The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitnil" name:"SessionContext"` }
Predefined struct for user
type EditMediaResponse ¶
type EditMediaResponse struct { *tchttp.BaseResponse Response *EditMediaResponseParams `json:"Response"` }
func NewEditMediaResponse ¶
func NewEditMediaResponse() (response *EditMediaResponse)
func (*EditMediaResponse) FromJsonString ¶
func (r *EditMediaResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EditMediaResponse) ToJsonString ¶
func (r *EditMediaResponse) ToJsonString() string
type EditMediaResponseParams ¶
type EditMediaResponseParams struct { // Video editing task ID, which can be used to query the status of an editing task. TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type EditMediaTask ¶
type EditMediaTask struct { // Task ID. TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // Task status. Valid values: // <li>PROCESSING: processing;</li> // <li>FINISH: completed.</li> Status *string `json:"Status,omitnil" name:"Status"` // Error code // <li>0: success;</li> // <li>Other values: failure.</li> ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil" name:"Message"` // Input of video editing task. Input *EditMediaTaskInput `json:"Input,omitnil" name:"Input"` // Output of video editing task. Output *EditMediaTaskOutput `json:"Output,omitnil" name:"Output"` }
type EditMediaTaskInput ¶
type EditMediaTaskInput struct { // Information of input video file. FileInfoSet []*EditMediaFileInfo `json:"FileInfoSet,omitnil" name:"FileInfoSet"` }
type EditMediaTaskOutput ¶
type EditMediaTaskOutput struct { // Target storage of edited file. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` // Path of edited video file. Path *string `json:"Path,omitnil" name:"Path"` }
type EnableScheduleRequest ¶
type EnableScheduleRequest struct { *tchttp.BaseRequest // The scheme ID. ScheduleId *int64 `json:"ScheduleId,omitnil" name:"ScheduleId"` }
func NewEnableScheduleRequest ¶
func NewEnableScheduleRequest() (request *EnableScheduleRequest)
func (*EnableScheduleRequest) FromJsonString ¶
func (r *EnableScheduleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableScheduleRequest) ToJsonString ¶
func (r *EnableScheduleRequest) ToJsonString() string
type EnableScheduleRequestParams ¶
type EnableScheduleRequestParams struct { // The scheme ID. ScheduleId *int64 `json:"ScheduleId,omitnil" name:"ScheduleId"` }
Predefined struct for user
type EnableScheduleResponse ¶
type EnableScheduleResponse struct { *tchttp.BaseResponse Response *EnableScheduleResponseParams `json:"Response"` }
func NewEnableScheduleResponse ¶
func NewEnableScheduleResponse() (response *EnableScheduleResponse)
func (*EnableScheduleResponse) FromJsonString ¶
func (r *EnableScheduleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableScheduleResponse) ToJsonString ¶
func (r *EnableScheduleResponse) ToJsonString() string
type EnableScheduleResponseParams ¶
type EnableScheduleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type EnableWorkflowRequest ¶
type EnableWorkflowRequest struct { *tchttp.BaseRequest // Workflow ID. WorkflowId *int64 `json:"WorkflowId,omitnil" name:"WorkflowId"` }
func NewEnableWorkflowRequest ¶
func NewEnableWorkflowRequest() (request *EnableWorkflowRequest)
func (*EnableWorkflowRequest) FromJsonString ¶
func (r *EnableWorkflowRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableWorkflowRequest) ToJsonString ¶
func (r *EnableWorkflowRequest) ToJsonString() string
type EnableWorkflowRequestParams ¶
type EnableWorkflowRequestParams struct { // Workflow ID. WorkflowId *int64 `json:"WorkflowId,omitnil" name:"WorkflowId"` }
Predefined struct for user
type EnableWorkflowResponse ¶
type EnableWorkflowResponse struct { *tchttp.BaseResponse Response *EnableWorkflowResponseParams `json:"Response"` }
func NewEnableWorkflowResponse ¶
func NewEnableWorkflowResponse() (response *EnableWorkflowResponse)
func (*EnableWorkflowResponse) FromJsonString ¶
func (r *EnableWorkflowResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableWorkflowResponse) ToJsonString ¶
func (r *EnableWorkflowResponse) ToJsonString() string
type EnableWorkflowResponseParams ¶
type EnableWorkflowResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type EnhanceConfig ¶
type EnhanceConfig struct { // Video enhancement configuration. // Note: This field may return null, indicating that no valid values can be obtained. VideoEnhance *VideoEnhanceConfig `json:"VideoEnhance,omitnil" name:"VideoEnhance"` }
type ExecuteFunctionRequest ¶
type ExecuteFunctionRequest struct { *tchttp.BaseRequest // Name of called backend API. FunctionName *string `json:"FunctionName,omitnil" name:"FunctionName"` // API parameter. Parameter format will depend on the actual function definition. FunctionArg *string `json:"FunctionArg,omitnil" name:"FunctionArg"` }
func NewExecuteFunctionRequest ¶
func NewExecuteFunctionRequest() (request *ExecuteFunctionRequest)
func (*ExecuteFunctionRequest) FromJsonString ¶
func (r *ExecuteFunctionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ExecuteFunctionRequest) ToJsonString ¶
func (r *ExecuteFunctionRequest) ToJsonString() string
type ExecuteFunctionRequestParams ¶
type ExecuteFunctionRequestParams struct { // Name of called backend API. FunctionName *string `json:"FunctionName,omitnil" name:"FunctionName"` // API parameter. Parameter format will depend on the actual function definition. FunctionArg *string `json:"FunctionArg,omitnil" name:"FunctionArg"` }
Predefined struct for user
type ExecuteFunctionResponse ¶
type ExecuteFunctionResponse struct { *tchttp.BaseResponse Response *ExecuteFunctionResponseParams `json:"Response"` }
func NewExecuteFunctionResponse ¶
func NewExecuteFunctionResponse() (response *ExecuteFunctionResponse)
func (*ExecuteFunctionResponse) FromJsonString ¶
func (r *ExecuteFunctionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ExecuteFunctionResponse) ToJsonString ¶
func (r *ExecuteFunctionResponse) ToJsonString() string
type ExecuteFunctionResponseParams ¶
type ExecuteFunctionResponseParams struct { // Packed string, which will vary according to the custom API. Result *string `json:"Result,omitnil" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type FaceConfigureInfo ¶
type FaceConfigureInfo struct { // Switch of a face recognition task. Valid values: // <li>ON: Enables an intelligent face recognition task;</li> // <li>OFF: Disables an intelligent face recognition task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Face recognition filter score. If this score is reached or exceeded, a recognition result will be returned. Value range: 0-100. Default value: 95. Score *float64 `json:"Score,omitnil" name:"Score"` // The default face filter labels, which specify the types of faces to return. If this parameter is left empty, the detection results for all labels are returned. Valid values: // <li>entertainment (people in the entertainment industry)</li> // <li>sport (sports celebrities)</li> // <li>politician</li> DefaultLibraryLabelSet []*string `json:"DefaultLibraryLabelSet,omitnil" name:"DefaultLibraryLabelSet"` // Custom face tags for filter, which specify the face recognition results to return. If this parameter is not specified or left empty, the recognition results for all custom face tags are returned. // Up to 100 tags are allowed, each containing no more than 16 characters. UserDefineLibraryLabelSet []*string `json:"UserDefineLibraryLabelSet,omitnil" name:"UserDefineLibraryLabelSet"` // Figure library. Valid values: // <li>Default: Default figure library;</li> // <li>UserDefine: Custom figure library.</li> // <li>All: Both default and custom figure libraries will be used.</li> // Default value: All (both default and custom figure libraries will be used.) FaceLibrary *string `json:"FaceLibrary,omitnil" name:"FaceLibrary"` }
type FaceConfigureInfoForUpdate ¶
type FaceConfigureInfoForUpdate struct { // Switch of a face recognition task. Valid values: // <li>ON: Enables an intelligent face recognition task;</li> // <li>OFF: Disables an intelligent face recognition task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Face recognition filter score. If this score is reached or exceeded, a recognition result will be returned. Value range: 0-100. Score *float64 `json:"Score,omitnil" name:"Score"` // The default face filter labels, which specify the types of faces to return. If this parameter is left empty, the detection results for all labels are returned. Valid values: // <li>entertainment (people in the entertainment industry)</li> // <li>sport (sports celebrities)</li> // <li>politician</li> DefaultLibraryLabelSet []*string `json:"DefaultLibraryLabelSet,omitnil" name:"DefaultLibraryLabelSet"` // Custom face tags for filter, which specify the face recognition results to return. If this parameter is not specified or left empty, the recognition results for all custom face tags are returned. // Up to 100 tags are allowed, each containing no more than 16 characters. UserDefineLibraryLabelSet []*string `json:"UserDefineLibraryLabelSet,omitnil" name:"UserDefineLibraryLabelSet"` // Figure library. Valid values: // <li>Default: Default figure library;</li> // <li>UserDefine: Custom figure library.</li> // <li>All: Both default and custom figure libraries will be used.</li> FaceLibrary *string `json:"FaceLibrary,omitnil" name:"FaceLibrary"` }
type FaceEnhanceConfig ¶
type FaceEnhanceConfig struct { // Whether to enable the feature. Valid values: // <li>ON</li> // <li>OFF</li> // Default value: ON. Switch *string `json:"Switch,omitnil" name:"Switch"` // The strength. Value range: 0.0-1.0 // Default value: 0.0. // Note: This field may return null, indicating that no valid values can be obtained. Intensity *float64 `json:"Intensity,omitnil" name:"Intensity"` }
type FrameRateConfig ¶
type FrameRateConfig struct { // Whether to enable the feature. Valid values: // <li>ON</li> // <li>OFF</li> // Default value: ON. Switch *string `json:"Switch,omitnil" name:"Switch"` // The frame rate (Hz). Value range: [0, 100]. // Default value: 0. // Note: For transcoding, this parameter will overwrite `Fps` of `VideoTemplate`. // Note: This field may return null, indicating that no valid values can be obtained. Fps *uint64 `json:"Fps,omitnil" name:"Fps"` }
type FrameTagConfigureInfo ¶
type FrameTagConfigureInfo struct { // Switch of intelligent frame-specific tagging task. Valid values: // <li>ON: enables intelligent frame-specific tagging task;</li> // <li>OFF: disables intelligent frame-specific tagging task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` }
type FrameTagConfigureInfoForUpdate ¶
type FrameTagConfigureInfoForUpdate struct { // Switch of intelligent frame-specific tagging task. Valid values: // <li>ON: enables intelligent frame-specific tagging task;</li> // <li>OFF: disables intelligent frame-specific tagging task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` }
type HdrConfig ¶
type HdrConfig struct { // Whether to enable the feature. Valid values: // <li>ON</li> // <li>OFF</li> // Default value: ON. Switch *string `json:"Switch,omitnil" name:"Switch"` // The strength. Valid values: // <li>HDR10</li> // <li>HLG</li> // Default value: HDR10. // Note: The video codec must be `libx265`. // Note: The bit depth for video encoding is 10 bits. // Note: This field may return null, indicating that no valid values can be obtained. Type *string `json:"Type,omitnil" name:"Type"` }
type HeadTailParameter ¶
type HeadTailParameter struct { // Opening credits list HeadSet []*MediaInputInfo `json:"HeadSet,omitnil" name:"HeadSet"` // Closing credits list TailSet []*MediaInputInfo `json:"TailSet,omitnil" name:"TailSet"` }
type HighlightSegmentItem ¶
type HighlightSegmentItem struct { // The confidence score. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // The start time offset of the segment. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil" name:"StartTimeOffset"` // The end time offset of the segment. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil" name:"EndTimeOffset"` }
type ImageQualityEnhanceConfig ¶
type ImageQualityEnhanceConfig struct { // Whether to enable the feature. Valid values: // <li>ON</li> // <li>OFF</li> // Default value: ON. Switch *string `json:"Switch,omitnil" name:"Switch"` // The strength. Valid values: // <li>weak</li> // <li>normal</li> // <li>strong</li> // Default value: weak. // Note: This field may return null, indicating that no valid values can be obtained. Type *string `json:"Type,omitnil" name:"Type"` }
type ImageSpriteTaskInput ¶
type ImageSpriteTaskInput struct { // ID of an image sprite generating template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // Target bucket of a generated image sprite. If this parameter is left empty, the `OutputStorage` value of the upper folder will be inherited. // Note: This field may return null, indicating that no valid values can be obtained. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` // Output path to a generated image sprite file, which can be a relative path or an absolute path. If this parameter is left empty, the following relative path will be used by default: `{inputName}_imageSprite_{definition}_{number}.{format}`. OutputObjectPath *string `json:"OutputObjectPath,omitnil" name:"OutputObjectPath"` // Output path to the WebVTT file after an image sprite is generated, which can only be a relative path. If this parameter is left empty, the following relative path will be used by default: `{inputName}_imageSprite_{definition}.{format}`. WebVttObjectName *string `json:"WebVttObjectName,omitnil" name:"WebVttObjectName"` // Rule of the `{number}` variable in the image sprite output path. // Note: This field may return null, indicating that no valid values can be obtained. ObjectNumberFormat *NumberFormat `json:"ObjectNumberFormat,omitnil" name:"ObjectNumberFormat"` }
type ImageSpriteTemplate ¶
type ImageSpriteTemplate struct { // Unique ID of an image sprite generating template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // Template type. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil" name:"Type"` // Name of an image sprite generating template. Name *string `json:"Name,omitnil" name:"Name"` // Subimage width of an image sprite. Width *uint64 `json:"Width,omitnil" name:"Width"` // Subimage height of an image sprite. Height *uint64 `json:"Height,omitnil" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitnil" name:"ResolutionAdaptive"` // Sampling type. SampleType *string `json:"SampleType,omitnil" name:"SampleType"` // Sampling interval. SampleInterval *uint64 `json:"SampleInterval,omitnil" name:"SampleInterval"` // Subimage row count of an image sprite. RowCount *uint64 `json:"RowCount,omitnil" name:"RowCount"` // Subimage column count of an image sprite. ColumnCount *uint64 `json:"ColumnCount,omitnil" name:"ColumnCount"` // Creation time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Last modified time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: Stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: Fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // Default value: black. FillType *string `json:"FillType,omitnil" name:"FillType"` // Template description. Comment *string `json:"Comment,omitnil" name:"Comment"` // The image format. Format *string `json:"Format,omitnil" name:"Format"` }
type ImageWatermarkInput ¶
type ImageWatermarkInput struct { // String generated by [Base64-encoding](https://tools.ietf.org/html/rfc4648) a watermark image. JPEG and PNG images are supported. ImageContent *string `json:"ImageContent,omitnil" name:"ImageContent"` // Watermark width. % and px formats are supported: // <li>If the string ends in %, the `Width` of the watermark will be the specified percentage of the video width. For example, `10%` means that `Width` is 10% of the video width;</li> // <li>If the string ends in px, the `Width` of the watermark will be in pixels. For example, `100px` means that `Width` is 100 pixels. Value range: [8, 4096].</li> // Default value: 10%. Width *string `json:"Width,omitnil" name:"Width"` // Watermark height. % and px formats are supported: // <li>If the string ends in %, the `Height` of the watermark will be the specified percentage of the video height. For example, `10%` means that `Height` is 10% of the video height;</li> // <li>If the string ends in px, the `Height` of the watermark will be in pixels. For example, `100px` means that `Height` is 100 pixels. Value range: 0 or [8, 4096].</li> // Default value: 0px, which means that `Height` will be proportionally scaled according to the aspect ratio of the original watermark image. Height *string `json:"Height,omitnil" name:"Height"` // Repeat type of an animated watermark. Valid values: // <li>once: no longer appears after watermark playback ends.</li> // <li>repeat_last_frame: stays on the last frame after watermark playback ends.</li> // <li>repeat (default): repeats the playback until the video ends.</li> RepeatType *string `json:"RepeatType,omitnil" name:"RepeatType"` }
type ImageWatermarkInputForUpdate ¶
type ImageWatermarkInputForUpdate struct { // String generated by [Base64-encoding](https://tools.ietf.org/html/rfc4648) a watermark image. JPEG and PNG images are supported. ImageContent *string `json:"ImageContent,omitnil" name:"ImageContent"` // Watermark width. % and px formats are supported: // <li>If the string ends in %, the `Width` of the watermark will be the specified percentage of the video width. For example, `10%` means that `Width` is 10% of the video width;</li> // <li>If the string ends in px, the `Width` of the watermark will be in pixels. For example, `100px` means that `Width` is 100 pixels. Value range: [8, 4096].</li> Width *string `json:"Width,omitnil" name:"Width"` // Watermark height. % and px formats are supported: // <li>If the string ends in %, the `Height` of the watermark will be the specified percentage of the video height. For example, `10%` means that `Height` is 10% of the video height;</li> // <li>If the string ends in px, the `Height` of the watermark will be in pixels. For example, `100px` means that `Height` is 100 pixels. Value range: 0 or [8, 4096].</li> // Default value: 0px, which means that `Height` will be proportionally scaled according to the aspect ratio of the original watermark image. Height *string `json:"Height,omitnil" name:"Height"` // Repeat type of an animated watermark. Valid values: // <li>once: no longer appears after watermark playback ends.</li> // <li>repeat_last_frame: stays on the last frame after watermark playback ends.</li> // <li>repeat (default): repeats the playback until the video ends.</li> RepeatType *string `json:"RepeatType,omitnil" name:"RepeatType"` }
type ImageWatermarkTemplate ¶
type ImageWatermarkTemplate struct { // Watermark image address. ImageUrl *string `json:"ImageUrl,omitnil" name:"ImageUrl"` // Watermark width. % and px formats are supported: // <li>If the string ends in %, the `Width` of the watermark will be the specified percentage of the video width; for example, `10%` means that `Width` is 10% of the video width;</li> // <li>If the string ends in px, the `Width` of the watermark will be in px; for example, `100px` means that `Width` is 100 px.</li> Width *string `json:"Width,omitnil" name:"Width"` // Watermark height. % and px formats are supported: // <li>If the string ends in %, the `Height` of the watermark will be the specified percentage of the video height. For example, `10%` means that `Height` is 10% of the video height;</li> // <li>If the string ends in px, the `Height` of the watermark will be in pixels. For example, `100px` means that `Height` is 100 pixels.</li> // `0px` means that `Height` will be proportionally scaled according to the video width. Height *string `json:"Height,omitnil" name:"Height"` // Repeat type of an animated watermark. Valid values: // <li>once: no longer appears after watermark playback ends.</li> // <li>repeat_last_frame: stays on the last frame after watermark playback ends.</li> // <li>repeat (default): repeats the playback until the video ends.</li> RepeatType *string `json:"RepeatType,omitnil" name:"RepeatType"` }
type LiveStreamAiRecognitionResultInfo ¶
type LiveStreamAiRecognitionResultInfo struct { // Content recognition result list. ResultSet []*LiveStreamAiRecognitionResultItem `json:"ResultSet,omitnil" name:"ResultSet"` }
type LiveStreamAiRecognitionResultItem ¶
type LiveStreamAiRecognitionResultItem struct { // The result type. Valid values: // <li>FaceRecognition: Face recognition</li> // <li>AsrWordsRecognition: Speech keyword recognition</li> // <li>OcrWordsRecognition: Text keyword recognition</li> // <li>AsrFullTextRecognition: Full speech recognition</li> // <li>OcrFullTextRecognition: Full text recognition</li> // <li>TransTextRecognition: Speech translation</li> Type *string `json:"Type,omitnil" name:"Type"` // Face recognition result, which is valid when `Type` is // `FaceRecognition`. FaceRecognitionResultSet []*LiveStreamFaceRecognitionResult `json:"FaceRecognitionResultSet,omitnil" name:"FaceRecognitionResultSet"` // Speech keyword recognition result, which is valid when `Type` is // `AsrWordsRecognition`. AsrWordsRecognitionResultSet []*LiveStreamAsrWordsRecognitionResult `json:"AsrWordsRecognitionResultSet,omitnil" name:"AsrWordsRecognitionResultSet"` // Text keyword recognition result, which is valid when `Type` is // `OcrWordsRecognition`. OcrWordsRecognitionResultSet []*LiveStreamOcrWordsRecognitionResult `json:"OcrWordsRecognitionResultSet,omitnil" name:"OcrWordsRecognitionResultSet"` // Full speech recognition result, which is valid when `Type` is // `AsrFullTextRecognition`. AsrFullTextRecognitionResultSet []*LiveStreamAsrFullTextRecognitionResult `json:"AsrFullTextRecognitionResultSet,omitnil" name:"AsrFullTextRecognitionResultSet"` // Full text recognition result, which is valid when `Type` is // `OcrFullTextRecognition`. OcrFullTextRecognitionResultSet []*LiveStreamOcrFullTextRecognitionResult `json:"OcrFullTextRecognitionResultSet,omitnil" name:"OcrFullTextRecognitionResultSet"` // The translation result. This parameter is valid only if `Type` is `TransTextRecognition`. TransTextRecognitionResultSet []*LiveStreamTransTextRecognitionResult `json:"TransTextRecognitionResultSet,omitnil" name:"TransTextRecognitionResultSet"` }
type LiveStreamAiReviewImagePoliticalResult ¶
type LiveStreamAiReviewImagePoliticalResult struct { // Start PTS time of a suspected segment in seconds. StartPtsTime *float64 `json:"StartPtsTime,omitnil" name:"StartPtsTime"` // End PTS time of a suspected segment in seconds. EndPtsTime *float64 `json:"EndPtsTime,omitnil" name:"EndPtsTime"` // The confidence score for the detected sensitive segments. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // Suggestion for porn information detection of a suspected segment. Valid values: // <li>pass</li> // <li>review</li> // <li>block</li> Suggestion *string `json:"Suggestion,omitnil" name:"Suggestion"` // The labels for the detected sensitive information. Valid values: // <li>politician</li> // <li>violation_photo (banned icons)</li> Label *string `json:"Label,omitnil" name:"Label"` // The name of a sensitive person or banned icon. Name *string `json:"Name,omitnil" name:"Name"` // The pixel coordinates of the detected sensitive people or banned icons. The format is [x1, y1, x2, y2], which indicates the coordinates of the top-left and bottom-right corners. AreaCoordSet []*int64 `json:"AreaCoordSet,omitnil" name:"AreaCoordSet"` // URL of a suspected image (which will not be permanently stored // and will be deleted after `PicUrlExpireTime`). Url *string `json:"Url,omitnil" name:"Url"` // Expiration time of a suspected image URL in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). PicUrlExpireTime *string `json:"PicUrlExpireTime,omitnil" name:"PicUrlExpireTime"` }
type LiveStreamAiReviewImagePornResult ¶
type LiveStreamAiReviewImagePornResult struct { // Start PTS time of a suspected segment in seconds. StartPtsTime *float64 `json:"StartPtsTime,omitnil" name:"StartPtsTime"` // End PTS time of a suspected segment in seconds. EndPtsTime *float64 `json:"EndPtsTime,omitnil" name:"EndPtsTime"` // Score of a suspected porn segment. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // Suggestion for porn information detection of a suspected segment. Valid values: // <li>pass</li> // <li>review</li> // <li>block</li> Suggestion *string `json:"Suggestion,omitnil" name:"Suggestion"` // Tag of the detected porn information in video. Valid values: // <li>porn: Porn.</li> // <li>sexy: Sexiness.</li> // <li>vulgar: Vulgarity.</li> // <li>intimacy: Intimacy.</li> Label *string `json:"Label,omitnil" name:"Label"` // URL of a suspected image (which will not be permanently stored // and will be deleted after `PicUrlExpireTime`). Url *string `json:"Url,omitnil" name:"Url"` // Expiration time of a suspected image URL in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). PicUrlExpireTime *string `json:"PicUrlExpireTime,omitnil" name:"PicUrlExpireTime"` }
type LiveStreamAiReviewImageTerrorismResult ¶
type LiveStreamAiReviewImageTerrorismResult struct { // Start PTS time of a suspected segment in seconds. StartPtsTime *float64 `json:"StartPtsTime,omitnil" name:"StartPtsTime"` // End PTS time of a suspected segment in seconds. EndPtsTime *float64 `json:"EndPtsTime,omitnil" name:"EndPtsTime"` // The confidence score for the detected sensitive segments. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // The suggestion for handling the sensitive segments. Valid values: // <li>pass</li> // <li>review</li> // <li>block</li> Suggestion *string `json:"Suggestion,omitnil" name:"Suggestion"` // The labels for the detected sensitive content. Valid values: // <li>guns</li> // <li>crowd</li> // <li>police</li> // <li>bloody</li> // <li>banners (sensitive flags)</li> // <li>militant</li> // <li>explosion</li> // <li>terrorists</li> Label *string `json:"Label,omitnil" name:"Label"` // URL of a suspected image (which will not be permanently stored // and will be deleted after `PicUrlExpireTime`). Url *string `json:"Url,omitnil" name:"Url"` // Expiration time of a suspected image URL in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). PicUrlExpireTime *string `json:"PicUrlExpireTime,omitnil" name:"PicUrlExpireTime"` }
type LiveStreamAiReviewResultInfo ¶
type LiveStreamAiReviewResultInfo struct { // List of content audit results. ResultSet []*LiveStreamAiReviewResultItem `json:"ResultSet,omitnil" name:"ResultSet"` }
type LiveStreamAiReviewResultItem ¶
type LiveStreamAiReviewResultItem struct { // The type of moderation result. Valid values: // <li>ImagePorn</li> // <li>ImageTerrorism</li> // <li>ImagePolitical</li> // <li>VoicePorn</li> Type *string `json:"Type,omitnil" name:"Type"` // Result of porn information detection in image, which is valid when `Type` is `ImagePorn`. ImagePornResultSet []*LiveStreamAiReviewImagePornResult `json:"ImagePornResultSet,omitnil" name:"ImagePornResultSet"` // The result of detecting sensitive information in images, which is valid if `Type` is `ImageTerrorism`. ImageTerrorismResultSet []*LiveStreamAiReviewImageTerrorismResult `json:"ImageTerrorismResultSet,omitnil" name:"ImageTerrorismResultSet"` // The result of detecting sensitive information in images, which is valid if `Type` is `ImagePolitical`. ImagePoliticalResultSet []*LiveStreamAiReviewImagePoliticalResult `json:"ImagePoliticalResultSet,omitnil" name:"ImagePoliticalResultSet"` // The result for moderation of pornographic content in audio. This parameter is valid if `Type` is `VoicePorn`. VoicePornResultSet []*LiveStreamAiReviewVoicePornResult `json:"VoicePornResultSet,omitnil" name:"VoicePornResultSet"` }
type LiveStreamAiReviewVoicePornResult ¶
type LiveStreamAiReviewVoicePornResult struct { // Start PTS time of a suspected segment in seconds. StartPtsTime *float64 `json:"StartPtsTime,omitnil" name:"StartPtsTime"` // End PTS time of a suspected segment in seconds. EndPtsTime *float64 `json:"EndPtsTime,omitnil" name:"EndPtsTime"` // Score of a suspected porn segment. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // Suggestion for porn information detection of a suspected segment. Valid values: // <li>pass</li> // <li>review</li> // <li>block</li> Suggestion *string `json:"Suggestion,omitnil" name:"Suggestion"` // Tag of the detected porn information in video. Valid values: // <li>sexual_moan: Sexual moans.</li> Label *string `json:"Label,omitnil" name:"Label"` }
type LiveStreamAsrFullTextRecognitionResult ¶
type LiveStreamAsrFullTextRecognitionResult struct { // Recognized text. Text *string `json:"Text,omitnil" name:"Text"` // Start PTS time of recognized segment in seconds. StartPtsTime *float64 `json:"StartPtsTime,omitnil" name:"StartPtsTime"` // End PTS time of recognized segment in seconds. EndPtsTime *float64 `json:"EndPtsTime,omitnil" name:"EndPtsTime"` // Confidence of recognized segment. Value range: 0–100. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` }
type LiveStreamAsrWordsRecognitionResult ¶
type LiveStreamAsrWordsRecognitionResult struct { // Speech keyword. Word *string `json:"Word,omitnil" name:"Word"` // Start PTS time of recognized segment in seconds. StartPtsTime *float64 `json:"StartPtsTime,omitnil" name:"StartPtsTime"` // End PTS time of recognized segment in seconds. EndPtsTime *float64 `json:"EndPtsTime,omitnil" name:"EndPtsTime"` // Confidence of recognized segment. Value range: 0–100. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` }
type LiveStreamFaceRecognitionResult ¶
type LiveStreamFaceRecognitionResult struct { // Unique ID of figure. Id *string `json:"Id,omitnil" name:"Id"` // Figure name. Name *string `json:"Name,omitnil" name:"Name"` // Figure library type, indicating to which figure library the recognized figure belongs: // <li>Default: default figure library</li><li>UserDefine: custom figure library</li> Type *string `json:"Type,omitnil" name:"Type"` // Start PTS time of recognized segment in seconds. StartPtsTime *float64 `json:"StartPtsTime,omitnil" name:"StartPtsTime"` // End PTS time of recognized segment in seconds. EndPtsTime *float64 `json:"EndPtsTime,omitnil" name:"EndPtsTime"` // Confidence of recognized segment. Value range: 0–100. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // Zone coordinates of recognition result. The array contains four elements: [x1,y1,x2,y2], i.e., the horizontal and vertical coordinates of the top-left and bottom-right corners. AreaCoordSet []*int64 `json:"AreaCoordSet,omitnil" name:"AreaCoordSet"` }
type LiveStreamOcrFullTextRecognitionResult ¶
type LiveStreamOcrFullTextRecognitionResult struct { // Speech text. Text *string `json:"Text,omitnil" name:"Text"` // Start PTS time of recognized segment in seconds. StartPtsTime *float64 `json:"StartPtsTime,omitnil" name:"StartPtsTime"` // End PTS time of recognized segment in seconds. EndPtsTime *float64 `json:"EndPtsTime,omitnil" name:"EndPtsTime"` // Confidence of recognized segment. Value range: 0–100. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // Zone coordinates of recognition result. The array contains four elements: [x1,y1,x2,y2], i.e., the horizontal and vertical coordinates of the top-left and bottom-right corners. AreaCoordSet []*int64 `json:"AreaCoordSet,omitnil" name:"AreaCoordSet"` }
type LiveStreamOcrWordsRecognitionResult ¶
type LiveStreamOcrWordsRecognitionResult struct { // Text keyword. Word *string `json:"Word,omitnil" name:"Word"` // Start PTS time of recognized segment in seconds. StartPtsTime *float64 `json:"StartPtsTime,omitnil" name:"StartPtsTime"` // End PTS time of recognized segment in seconds. EndPtsTime *float64 `json:"EndPtsTime,omitnil" name:"EndPtsTime"` // Confidence of recognized segment. Value range: 0–100. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // Zone coordinates of recognition result. The array contains four elements: [x1,y1,x2,y2], i.e., the horizontal and vertical coordinates of the top-left and bottom-right corners. AreaCoords []*int64 `json:"AreaCoords,omitnil" name:"AreaCoords"` }
type LiveStreamProcessErrorInfo ¶
type LiveStreamProcessErrorInfo struct { // Error code: // <li>0: No error;</li> // <li>If this parameter is not 0, an error has occurred. Please see the error message (`Message`).</li> ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil" name:"Message"` }
type LiveStreamProcessTask ¶
type LiveStreamProcessTask struct { // The media processing task ID. TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // Task flow status. Valid values: // <li>PROCESSING: Processing;</li> // <li>FINISH: Completed.</li> Status *string `json:"Status,omitnil" name:"Status"` // Error code. 0: success; other values: failure. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil" name:"Message"` // Live stream URL. Url *string `json:"Url,omitnil" name:"Url"` }
type LiveStreamTaskNotifyConfig ¶
type LiveStreamTaskNotifyConfig struct { // CMQ model. There are two types: `Queue` and `Topic`. Currently, only `Queue` is supported. CmqModel *string `json:"CmqModel,omitnil" name:"CmqModel"` // CMQ region, such as `sh` and `bj`. CmqRegion *string `json:"CmqRegion,omitnil" name:"CmqRegion"` // This parameter is valid when the model is `Queue`, indicating the name of the CMQ queue for receiving event notifications. QueueName *string `json:"QueueName,omitnil" name:"QueueName"` // This parameter is valid when the model is `Topic`, indicating the name of the CMQ topic for receiving event notifications. TopicName *string `json:"TopicName,omitnil" name:"TopicName"` // The notification type, `CMQ` by default. If this parameter is set to `URL`, HTTP callbacks are sent to the URL specified by `NotifyUrl`. // // <font color="red">Note: If you do not pass this parameter or pass in an empty string, `CMQ` will be used. To use a different notification type, specify this parameter accordingly.</font> NotifyType *string `json:"NotifyType,omitnil" name:"NotifyType"` // HTTP callback URL, required if `NotifyType` is set to `URL` NotifyUrl *string `json:"NotifyUrl,omitnil" name:"NotifyUrl"` }
type LiveStreamTransTextRecognitionResult ¶
type LiveStreamTransTextRecognitionResult struct { // The text transcript. Text *string `json:"Text,omitnil" name:"Text"` // The PTS (seconds) of the start of a segment. StartPtsTime *float64 `json:"StartPtsTime,omitnil" name:"StartPtsTime"` // The PTS (seconds) of the end of a segment. EndPtsTime *float64 `json:"EndPtsTime,omitnil" name:"EndPtsTime"` // The confidence score for a segment. Value range: 0-100. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // The translation. Trans *string `json:"Trans,omitnil" name:"Trans"` }
type LowLightEnhanceConfig ¶
type LowLightEnhanceConfig struct { // Whether to enable the feature. Valid values: // <li>ON</li> // <li>OFF</li> // Default value: ON. Switch *string `json:"Switch,omitnil" name:"Switch"` // The strength. Valid values: // <li>normal</li> // Default value: normal. // Note: This field may return null, indicating that no valid values can be obtained. Type *string `json:"Type,omitnil" name:"Type"` }
type ManageTaskRequest ¶
type ManageTaskRequest struct { *tchttp.BaseRequest // Operation type. Valid values: // <ul> // <li>Abort: task termination. Description: // <ul><li>If the [task type](https://intl.cloud.tencent.com/document/product/862/37614?from_cn_redirect=1#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0) is live stream processing (`LiveStreamProcessTask`), tasks whose [task status](https://intl.cloud.tencent.com/document/product/862/37614?from_cn_redirect=1#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0) is `WAITING` or `PROCESSING` can be terminated.</li> // <li>For other [task types](https://intl.cloud.tencent.com/document/product/862/37614?from_cn_redirect=1#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0), only tasks whose [task status](https://intl.cloud.tencent.com/document/product/862/37614?from_cn_redirect=1#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0) is `WAITING` can be terminated.</li></ul> // </li></ul> OperationType *string `json:"OperationType,omitnil" name:"OperationType"` // Video processing task ID. TaskId *string `json:"TaskId,omitnil" name:"TaskId"` }
func NewManageTaskRequest ¶
func NewManageTaskRequest() (request *ManageTaskRequest)
func (*ManageTaskRequest) FromJsonString ¶
func (r *ManageTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ManageTaskRequest) ToJsonString ¶
func (r *ManageTaskRequest) ToJsonString() string
type ManageTaskRequestParams ¶
type ManageTaskRequestParams struct { // Operation type. Valid values: // <ul> // <li>Abort: task termination. Description: // <ul><li>If the [task type](https://intl.cloud.tencent.com/document/product/862/37614?from_cn_redirect=1#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0) is live stream processing (`LiveStreamProcessTask`), tasks whose [task status](https://intl.cloud.tencent.com/document/product/862/37614?from_cn_redirect=1#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0) is `WAITING` or `PROCESSING` can be terminated.</li> // <li>For other [task types](https://intl.cloud.tencent.com/document/product/862/37614?from_cn_redirect=1#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0), only tasks whose [task status](https://intl.cloud.tencent.com/document/product/862/37614?from_cn_redirect=1#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0) is `WAITING` can be terminated.</li></ul> // </li></ul> OperationType *string `json:"OperationType,omitnil" name:"OperationType"` // Video processing task ID. TaskId *string `json:"TaskId,omitnil" name:"TaskId"` }
Predefined struct for user
type ManageTaskResponse ¶
type ManageTaskResponse struct { *tchttp.BaseResponse Response *ManageTaskResponseParams `json:"Response"` }
func NewManageTaskResponse ¶
func NewManageTaskResponse() (response *ManageTaskResponse)
func (*ManageTaskResponse) FromJsonString ¶
func (r *ManageTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ManageTaskResponse) ToJsonString ¶
func (r *ManageTaskResponse) ToJsonString() string
type ManageTaskResponseParams ¶
type ManageTaskResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type MediaAiAnalysisClassificationItem ¶
type MediaAiAnalysisClassificationItem struct { // Name of intelligently generated category. Classification *string `json:"Classification,omitnil" name:"Classification"` // Confidence of intelligently generated category between 0 and 100. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` }
type MediaAiAnalysisFrameTagItem ¶
type MediaAiAnalysisFrameTagItem struct { // Frame-specific tag name. Tag *string `json:"Tag,omitnil" name:"Tag"` CategorySet []*string `json:"CategorySet,omitnil" name:"CategorySet"` // Confidence of intelligently generated frame-specific tag between 0 and 100. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` }
type MediaAiAnalysisFrameTagSegmentItem ¶
type MediaAiAnalysisFrameTagSegmentItem struct { // Start time offset of frame-specific tag. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil" name:"StartTimeOffset"` // End time offset of frame-specific tag. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil" name:"EndTimeOffset"` // List of tags in time period. TagSet []*MediaAiAnalysisFrameTagItem `json:"TagSet,omitnil" name:"TagSet"` }
type MediaAiAnalysisHighlightItem ¶
type MediaAiAnalysisHighlightItem struct { // The URL of the highlight segments. HighlightPath *string `json:"HighlightPath,omitnil" name:"HighlightPath"` // The URL of the thumbnail. CovImgPath *string `json:"CovImgPath,omitnil" name:"CovImgPath"` // The confidence score. Value range: 0-100. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // The duration of the highlights. Duration *float64 `json:"Duration,omitnil" name:"Duration"` // A list of the highlight segments. SegmentSet []*HighlightSegmentItem `json:"SegmentSet,omitnil" name:"SegmentSet"` }
type MediaAiAnalysisTagItem ¶
type MediaAnimatedGraphicsItem ¶
type MediaAnimatedGraphicsItem struct { // Storage location of a generated animated image file. Storage *TaskOutputStorage `json:"Storage,omitnil" name:"Storage"` // Path to a generated animated image file. Path *string `json:"Path,omitnil" name:"Path"` // ID of an animated image generating template. For more information, please see [Animated Image Generating Parameter Template](https://intl.cloud.tencent.com/document/product/266/33481?from_cn_redirect=1#.E8.BD.AC.E5.8A.A8.E5.9B.BE.E6.A8.A1.E6.9D.BF). Definition *int64 `json:"Definition,omitnil" name:"Definition"` // Animated image format, such as gif. Container *string `json:"Container,omitnil" name:"Container"` // Height of an animated image in px. Height *int64 `json:"Height,omitnil" name:"Height"` // Width of an animated image in px. Width *int64 `json:"Width,omitnil" name:"Width"` // Bitrate of an animated image in bps. Bitrate *int64 `json:"Bitrate,omitnil" name:"Bitrate"` // Size of an animated image in bytes. Size *int64 `json:"Size,omitnil" name:"Size"` // MD5 value of an animated image. Md5 *string `json:"Md5,omitnil" name:"Md5"` // Start time offset of an animated image in the video in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil" name:"StartTimeOffset"` // End time offset of an animated image in the video in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil" name:"EndTimeOffset"` }
type MediaAudioStreamItem ¶
type MediaAudioStreamItem struct { // Bitrate of an audio stream in bps. // Note: This field may return null, indicating that no valid values can be obtained. Bitrate *int64 `json:"Bitrate,omitnil" name:"Bitrate"` // Sample rate of an audio stream in Hz. // Note: This field may return null, indicating that no valid values can be obtained. SamplingRate *int64 `json:"SamplingRate,omitnil" name:"SamplingRate"` // Audio stream codec, such as aac. // Note: This field may return null, indicating that no valid values can be obtained. Codec *string `json:"Codec,omitnil" name:"Codec"` // Number of sound channels, e.g., 2 // Note: this field may return `null`, indicating that no valid value was found. Channel *int64 `json:"Channel,omitnil" name:"Channel"` }
type MediaContentReviewAsrTextSegmentItem ¶
type MediaContentReviewAsrTextSegmentItem struct { // Start time offset of a suspected segment in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil" name:"StartTimeOffset"` // End time offset of a suspected segment in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil" name:"EndTimeOffset"` // Confidence of a suspected segment. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // Suggestion for suspected segment audit. Valid values: // <li>pass.</li> // <li>review.</li> // <li>block.</li> Suggestion *string `json:"Suggestion,omitnil" name:"Suggestion"` // List of suspected keywords. KeywordSet []*string `json:"KeywordSet,omitnil" name:"KeywordSet"` }
type MediaContentReviewOcrTextSegmentItem ¶
type MediaContentReviewOcrTextSegmentItem struct { // Start time offset of a suspected segment in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil" name:"StartTimeOffset"` // End time offset of a suspected segment in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil" name:"EndTimeOffset"` // Confidence of a suspected segment. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // Suggestion for suspected segment audit. Valid values: // <li>pass.</li> // <li>review.</li> // <li>block.</li> Suggestion *string `json:"Suggestion,omitnil" name:"Suggestion"` // List of suspected keywords. KeywordSet []*string `json:"KeywordSet,omitnil" name:"KeywordSet"` // Zone coordinates (at the pixel level) of suspected text: [x1, y1, x2, y2], i.e., the coordinates of the top-left and bottom-right corners. AreaCoordSet []*int64 `json:"AreaCoordSet,omitnil" name:"AreaCoordSet"` // URL of a suspected image (which will not be permanently stored // and will be deleted after `PicUrlExpireTime`). Url *string `json:"Url,omitnil" name:"Url"` // Expiration time of a suspected image URL in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). PicUrlExpireTime *string `json:"PicUrlExpireTime,omitnil" name:"PicUrlExpireTime"` }
type MediaContentReviewPoliticalSegmentItem ¶
type MediaContentReviewPoliticalSegmentItem struct { // Start time offset of a suspected segment in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil" name:"StartTimeOffset"` // End time offset of a suspected segment in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil" name:"EndTimeOffset"` // The confidence score for the detected sensitive segments. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // The suggestion for handling the sensitive segments. Valid values: // <li>pass</li> // <li>review</li> // <li>block</li> Suggestion *string `json:"Suggestion,omitnil" name:"Suggestion"` // The name of a sensitive person or banned icon. Name *string `json:"Name,omitnil" name:"Name"` // The labels for the detected sensitive segments. The relationship between the values of this parameter and those of the `LabelSet` parameter in [PoliticalImgReviewTemplateInfo](https://intl.cloud.tencent.com/document/api/862/37615?from_cn_redirect=1#PoliticalImgReviewTemplateInfo) is as follows: // violation_photo: // <li>violation_photo (banned icons)</li> // politician: // <li>nation_politician (state leader)</li> // <li>province_politician (provincial officials)</li> // <li>bureau_politician (bureau-level officials)</li> // <li>county_politician (county-level officials)</li> // <li>rural_politician (township-level officials)</li> // <li>sensitive_politician (sensitive people)</li> // <li>foreign_politician (state leaders of other countries)</li> // entertainment: // <li>sensitive_entertainment (sensitive people in the entertainment industry</li> // sport: // <li>sensitive_sport (sensitive sports celebrities)</li> // entrepreneur: // <li>sensitive_entrepreneur</li> // scholar: // <li>sensitive_scholar</li> // celebrity: // <li>sensitive_celebrity</li> // <li>historical_celebrity (sensitive historical figures)</li> // military: // <li>sensitive_military (sensitive people in military)</li> Label *string `json:"Label,omitnil" name:"Label"` // URL of a suspected image (which will not be permanently stored // and will be deleted after `PicUrlExpireTime`). Url *string `json:"Url,omitnil" name:"Url"` // The pixel coordinates of the detected sensitive people or banned icons. The format is [x1, y1, x2, y2], which indicates the coordinates of the top-left and bottom-right corners. AreaCoordSet []*int64 `json:"AreaCoordSet,omitnil" name:"AreaCoordSet"` // Expiration time of a suspected image URL in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). PicUrlExpireTime *string `json:"PicUrlExpireTime,omitnil" name:"PicUrlExpireTime"` }
type MediaContentReviewSegmentItem ¶
type MediaContentReviewSegmentItem struct { // Start time offset of a suspected segment in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil" name:"StartTimeOffset"` // End time offset of a suspected segment in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil" name:"EndTimeOffset"` // Score of a suspected porn segment. Confidence *float64 `json:"Confidence,omitnil" name:"Confidence"` // Tag of porn information detection result of a suspected segment. Label *string `json:"Label,omitnil" name:"Label"` // Suggestion for porn information detection of a suspected segment. Valid values: // <li>pass.</li> // <li>review.</li> // <li>block.</li> Suggestion *string `json:"Suggestion,omitnil" name:"Suggestion"` // URL of a suspected image (which will not be permanently stored // and will be deleted after `PicUrlExpireTime`). Url *string `json:"Url,omitnil" name:"Url"` // Expiration time of a suspected image URL in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). PicUrlExpireTime *string `json:"PicUrlExpireTime,omitnil" name:"PicUrlExpireTime"` }
type MediaImageSpriteItem ¶
type MediaImageSpriteItem struct { // Image sprite specification. For more information, please see [Image Sprite Parameter Template](https://intl.cloud.tencent.com/document/product/266/33480?from_cn_redirect=1#.E9.9B.AA.E7.A2.A7.E5.9B.BE.E6.A8.A1.E6.9D.BF). Definition *int64 `json:"Definition,omitnil" name:"Definition"` // Subimage height of an image sprite. Height *int64 `json:"Height,omitnil" name:"Height"` // Subimage width of an image sprite. Width *int64 `json:"Width,omitnil" name:"Width"` // Total number of subimages in each image sprite. TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // Path to each image sprite. ImagePathSet []*string `json:"ImagePathSet,omitnil" name:"ImagePathSet"` // Path to a WebVtt file for the position-time relationship among subimages in an image sprite. The WebVtt file indicates the corresponding time points of each subimage and their coordinates in the image sprite, which is typically used by the player for implementing preview. WebVttPath *string `json:"WebVttPath,omitnil" name:"WebVttPath"` // Storage location of an image sprite file. Storage *TaskOutputStorage `json:"Storage,omitnil" name:"Storage"` }
type MediaInputInfo ¶
type MediaInputInfo struct { // The input type. Valid values: // <li>`COS`: A COS bucket address.</li> // <li> `URL`: A URL.</li> // <li> `AWS-S3`: An AWS S3 bucket address. Currently, this type is only supported for transcoding tasks.</li> Type *string `json:"Type,omitnil" name:"Type"` // The information of the COS object to process. This parameter is valid and required when `Type` is `COS`. CosInputInfo *CosInputInfo `json:"CosInputInfo,omitnil" name:"CosInputInfo"` // The URL of the object to process. This parameter is valid and required when `Type` is `URL`. // Note: This field may return null, indicating that no valid value can be obtained. UrlInputInfo *UrlInputInfo `json:"UrlInputInfo,omitnil" name:"UrlInputInfo"` // The information of the AWS S3 object processed. This parameter is required if `Type` is `AWS-S3`. // Note: This field may return null, indicating that no valid value can be obtained. S3InputInfo *S3InputInfo `json:"S3InputInfo,omitnil" name:"S3InputInfo"` }
type MediaMetaData ¶
type MediaMetaData struct { // Size of an uploaded media file in bytes (which is the sum of size of m3u8 and ts files if the video is in HLS format). // Note: This field may return null, indicating that no valid values can be obtained. Size *int64 `json:"Size,omitnil" name:"Size"` // Container, such as m4a and mp4. // Note: This field may return null, indicating that no valid values can be obtained. Container *string `json:"Container,omitnil" name:"Container"` // Sum of the average bitrate of a video stream and that of an audio stream in bps. // Note: This field may return null, indicating that no valid values can be obtained. Bitrate *int64 `json:"Bitrate,omitnil" name:"Bitrate"` // Maximum value of the height of a video stream in px. // Note: This field may return null, indicating that no valid values can be obtained. Height *int64 `json:"Height,omitnil" name:"Height"` // Maximum value of the width of a video stream in px. // Note: This field may return null, indicating that no valid values can be obtained. Width *int64 `json:"Width,omitnil" name:"Width"` // Video duration in seconds. // Note: This field may return null, indicating that no valid values can be obtained. Duration *float64 `json:"Duration,omitnil" name:"Duration"` // Selected angle during video recording in degrees. // Note: This field may return null, indicating that no valid values can be obtained. Rotate *int64 `json:"Rotate,omitnil" name:"Rotate"` // Video stream information. // Note: This field may return null, indicating that no valid values can be obtained. VideoStreamSet []*MediaVideoStreamItem `json:"VideoStreamSet,omitnil" name:"VideoStreamSet"` // Audio stream information. // Note: This field may return null, indicating that no valid values can be obtained. AudioStreamSet []*MediaAudioStreamItem `json:"AudioStreamSet,omitnil" name:"AudioStreamSet"` // Video duration in seconds. // Note: This field may return null, indicating that no valid values can be obtained. VideoDuration *float64 `json:"VideoDuration,omitnil" name:"VideoDuration"` // Audio duration in seconds. // Note: This field may return null, indicating that no valid values can be obtained. AudioDuration *float64 `json:"AudioDuration,omitnil" name:"AudioDuration"` }
type MediaProcessTaskAdaptiveDynamicStreamingResult ¶
type MediaProcessTaskAdaptiveDynamicStreamingResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; otherwise it is failed. This parameter is no longer recommended. Consider using the new error code parameter ErrCodeExt. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil" name:"Message"` // Input of an adaptive bitrate streaming task. Input *AdaptiveDynamicStreamingTaskInput `json:"Input,omitnil" name:"Input"` // Output of an adaptive bitrate streaming task. // Note: this field may return null, indicating that no valid values can be obtained. Output *AdaptiveDynamicStreamingInfoItem `json:"Output,omitnil" name:"Output"` }
type MediaProcessTaskAnimatedGraphicResult ¶
type MediaProcessTaskAnimatedGraphicResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; otherwise it is failed. This parameter is no longer recommended. Consider using the new error code parameter ErrCodeExt. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil" name:"Message"` // Input for an animated image generating task. Input *AnimatedGraphicTaskInput `json:"Input,omitnil" name:"Input"` // Output of an animated image generating task. // Note: This field may return null, indicating that no valid values can be obtained. Output *MediaAnimatedGraphicsItem `json:"Output,omitnil" name:"Output"` }
type MediaProcessTaskImageSpriteResult ¶
type MediaProcessTaskImageSpriteResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; otherwise it is failed. This parameter is no longer recommended. Consider using the new error code parameter ErrCodeExt. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil" name:"Message"` // Input for an image sprite generating task. Input *ImageSpriteTaskInput `json:"Input,omitnil" name:"Input"` // Output of an image sprite generating task. // Note: This field may return null, indicating that no valid values can be obtained. Output *MediaImageSpriteItem `json:"Output,omitnil" name:"Output"` }
type MediaProcessTaskInput ¶
type MediaProcessTaskInput struct { // List of transcoding tasks. TranscodeTaskSet []*TranscodeTaskInput `json:"TranscodeTaskSet,omitnil" name:"TranscodeTaskSet"` // List of animated image generating tasks. AnimatedGraphicTaskSet []*AnimatedGraphicTaskInput `json:"AnimatedGraphicTaskSet,omitnil" name:"AnimatedGraphicTaskSet"` // List of time point screencapturing tasks. SnapshotByTimeOffsetTaskSet []*SnapshotByTimeOffsetTaskInput `json:"SnapshotByTimeOffsetTaskSet,omitnil" name:"SnapshotByTimeOffsetTaskSet"` // List of sampled screencapturing tasks. SampleSnapshotTaskSet []*SampleSnapshotTaskInput `json:"SampleSnapshotTaskSet,omitnil" name:"SampleSnapshotTaskSet"` // List of image sprite generating tasks. ImageSpriteTaskSet []*ImageSpriteTaskInput `json:"ImageSpriteTaskSet,omitnil" name:"ImageSpriteTaskSet"` // List of adaptive bitrate streaming tasks. AdaptiveDynamicStreamingTaskSet []*AdaptiveDynamicStreamingTaskInput `json:"AdaptiveDynamicStreamingTaskSet,omitnil" name:"AdaptiveDynamicStreamingTaskSet"` }
type MediaProcessTaskResult ¶
type MediaProcessTaskResult struct { // Task type. Valid values: // <li>Transcode: Transcoding</li> // <li>AnimatedGraphics: Animated image generating</li> // <li>SnapshotByTimeOffset: Time point screencapturing</li> // <li>SampleSnapshot: Sampled screencapturing</li> // <li>ImageSprites: Image sprite generating</li> // <li>CoverBySnapshot: Screencapturing for cover image</li> // <li>AdaptiveDynamicStreaming: Adaptive bitrate streaming</li> Type *string `json:"Type,omitnil" name:"Type"` // Query result of a transcoding task, which is valid when task type is `Transcode`. // Note: This field may return null, indicating that no valid values can be obtained. TranscodeTask *MediaProcessTaskTranscodeResult `json:"TranscodeTask,omitnil" name:"TranscodeTask"` // Query result of an animated image generating task, which is valid when task type is `AnimatedGraphics`. // Note: This field may return null, indicating that no valid values can be obtained. AnimatedGraphicTask *MediaProcessTaskAnimatedGraphicResult `json:"AnimatedGraphicTask,omitnil" name:"AnimatedGraphicTask"` // Query result of a time point screencapturing task, which is valid when task type is `SnapshotByTimeOffset`. // Note: This field may return null, indicating that no valid values can be obtained. SnapshotByTimeOffsetTask *MediaProcessTaskSnapshotByTimeOffsetResult `json:"SnapshotByTimeOffsetTask,omitnil" name:"SnapshotByTimeOffsetTask"` // Query result of a sampled screencapturing task, which is valid when task type is `SampleSnapshot`. // Note: This field may return null, indicating that no valid values can be obtained. SampleSnapshotTask *MediaProcessTaskSampleSnapshotResult `json:"SampleSnapshotTask,omitnil" name:"SampleSnapshotTask"` // Query result of an image sprite generating task, which is valid when task type is `ImageSprite`. // Note: This field may return null, indicating that no valid values can be obtained. ImageSpriteTask *MediaProcessTaskImageSpriteResult `json:"ImageSpriteTask,omitnil" name:"ImageSpriteTask"` // Query result of an adaptive bitrate streaming task, which is valid if the task type is `AdaptiveDynamicStreaming`. // Note: this field may return null, indicating that no valid values can be obtained. AdaptiveDynamicStreamingTask *MediaProcessTaskAdaptiveDynamicStreamingResult `json:"AdaptiveDynamicStreamingTask,omitnil" name:"AdaptiveDynamicStreamingTask"` }
type MediaProcessTaskSampleSnapshotResult ¶
type MediaProcessTaskSampleSnapshotResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; otherwise it is failed. This parameter is no longer recommended. Consider using the new error code parameter ErrCodeExt. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil" name:"Message"` // Input for a sampled screencapturing task. Input *SampleSnapshotTaskInput `json:"Input,omitnil" name:"Input"` // Output of a sampled screencapturing task. // Note: This field may return null, indicating that no valid values can be obtained. Output *MediaSampleSnapshotItem `json:"Output,omitnil" name:"Output"` }
type MediaProcessTaskSnapshotByTimeOffsetResult ¶
type MediaProcessTaskSnapshotByTimeOffsetResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; otherwise it is failed. This parameter is no longer recommended. Consider using the new error code parameter ErrCodeExt. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil" name:"Message"` // Input for a time point screencapturing task. Input *SnapshotByTimeOffsetTaskInput `json:"Input,omitnil" name:"Input"` // Output of a time point screencapturing task. // Note: This field may return null, indicating that no valid values can be obtained. Output *MediaSnapshotByTimeOffsetItem `json:"Output,omitnil" name:"Output"` }
type MediaProcessTaskTranscodeResult ¶
type MediaProcessTaskTranscodeResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // Error code. 0 indicates the task is successful; otherwise it is failed. This parameter is no longer recommended. Consider using the new error code parameter ErrCodeExt. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil" name:"Message"` // Input for a transcoding task. Input *TranscodeTaskInput `json:"Input,omitnil" name:"Input"` // Output of a transcoding task. // Note: This field may return null, indicating that no valid values can be obtained. Output *MediaTranscodeItem `json:"Output,omitnil" name:"Output"` // Transcoding progress. Value range: 0-100 // Note: This field may return `null`, indicating that no valid value was found. Progress *int64 `json:"Progress,omitnil" name:"Progress"` }
type MediaSampleSnapshotItem ¶
type MediaSampleSnapshotItem struct { // Sampled screenshot specification ID. For more information, please see [Sampled Screencapturing Parameter Template](https://intl.cloud.tencent.com/document/product/266/33480?from_cn_redirect=1#.E9.87.87.E6.A0.B7.E6.88.AA.E5.9B.BE.E6.A8.A1.E6.9D.BF). Definition *int64 `json:"Definition,omitnil" name:"Definition"` // Sample type. Valid values: // <li>Percent: Samples at the specified percentage interval.</li> // <li>Time: Samples at the specified time interval.</li> SampleType *string `json:"SampleType,omitnil" name:"SampleType"` // Sampling interval // <li>If `SampleType` is `Percent`, this value means taking a screenshot at an interval of the specified percentage.</li> // <li>If `SampleType` is `Time`, this value means taking a screenshot at an interval of the specified time (in seconds). The first screenshot is always the first video frame.</li> Interval *int64 `json:"Interval,omitnil" name:"Interval"` // Storage location of a generated screenshot file. Storage *TaskOutputStorage `json:"Storage,omitnil" name:"Storage"` // List of paths to generated screenshots. ImagePathSet []*string `json:"ImagePathSet,omitnil" name:"ImagePathSet"` // List of watermarking template IDs if the screenshots are watermarked. WaterMarkDefinition []*int64 `json:"WaterMarkDefinition,omitnil" name:"WaterMarkDefinition"` }
type MediaSnapshotByTimeOffsetItem ¶
type MediaSnapshotByTimeOffsetItem struct { // Specification of a time point screenshot. For more information, please see [Parameter Template for Time Point Screencapturing](https://intl.cloud.tencent.com/document/product/266/33480?from_cn_redirect=1#.E6.97.B6.E9.97.B4.E7.82.B9.E6.88.AA.E5.9B.BE.E6.A8.A1.E6.9D.BF). Definition *int64 `json:"Definition,omitnil" name:"Definition"` // Information set of screenshots of the same specification. Each element represents a screenshot. PicInfoSet []*MediaSnapshotByTimePicInfoItem `json:"PicInfoSet,omitnil" name:"PicInfoSet"` // Location of a time point screenshot file. Storage *TaskOutputStorage `json:"Storage,omitnil" name:"Storage"` }
type MediaSnapshotByTimePicInfoItem ¶
type MediaSnapshotByTimePicInfoItem struct { // The timestamp (seconds) of the screenshot. TimeOffset *float64 `json:"TimeOffset,omitnil" name:"TimeOffset"` // Path to the screenshot. Path *string `json:"Path,omitnil" name:"Path"` // List of watermarking template IDs if the screenshots are watermarked. WaterMarkDefinition []*int64 `json:"WaterMarkDefinition,omitnil" name:"WaterMarkDefinition"` }
type MediaTranscodeItem ¶
type MediaTranscodeItem struct { // Target bucket of an output file. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` // Path to an output video file. Path *string `json:"Path,omitnil" name:"Path"` // Transcoding specification ID. For more information, please see [Transcoding Parameter Template](https://intl.cloud.tencent.com/document/product/266/33478?from_cn_redirect=1#.E8.BD.AC.E7.A0.81.E6.A8.A1.E6.9D.BF). Definition *int64 `json:"Definition,omitnil" name:"Definition"` // Sum of the average bitrate of a video stream and that of an audio stream in bps. Bitrate *int64 `json:"Bitrate,omitnil" name:"Bitrate"` // Maximum value of the height of a video stream in px. Height *int64 `json:"Height,omitnil" name:"Height"` // Maximum value of the width of a video stream in px. Width *int64 `json:"Width,omitnil" name:"Width"` // Total size of a media file in bytes (which is the sum of size of m3u8 and ts files if the video is in HLS format). Size *int64 `json:"Size,omitnil" name:"Size"` // Video duration in seconds. Duration *float64 `json:"Duration,omitnil" name:"Duration"` // Container, such as m4a and mp4. Container *string `json:"Container,omitnil" name:"Container"` // MD5 value of a video. Md5 *string `json:"Md5,omitnil" name:"Md5"` // Audio stream information. // Note: This field may return null, indicating that no valid values can be obtained. AudioStreamSet []*MediaAudioStreamItem `json:"AudioStreamSet,omitnil" name:"AudioStreamSet"` // Video stream information. // Note: This field may return null, indicating that no valid values can be obtained. VideoStreamSet []*MediaVideoStreamItem `json:"VideoStreamSet,omitnil" name:"VideoStreamSet"` }
type MediaVideoStreamItem ¶
type MediaVideoStreamItem struct { // Bitrate of a video stream in bps. // Note: This field may return null, indicating that no valid values can be obtained. Bitrate *int64 `json:"Bitrate,omitnil" name:"Bitrate"` // Height of a video stream in px. // Note: This field may return null, indicating that no valid values can be obtained. Height *int64 `json:"Height,omitnil" name:"Height"` // Width of a video stream in px. // Note: This field may return null, indicating that no valid values can be obtained. Width *int64 `json:"Width,omitnil" name:"Width"` // Video stream codec, such as h264. // Note: This field may return null, indicating that no valid values can be obtained. Codec *string `json:"Codec,omitnil" name:"Codec"` // Frame rate in Hz. // Note: This field may return null, indicating that no valid values can be obtained. Fps *int64 `json:"Fps,omitnil" name:"Fps"` // Color primaries // Note: this field may return `null`, indicating that no valid value was found. ColorPrimaries *string `json:"ColorPrimaries,omitnil" name:"ColorPrimaries"` // Color space // Note: this field may return `null`, indicating that no valid value was found. ColorSpace *string `json:"ColorSpace,omitnil" name:"ColorSpace"` // Color transfer // Note: this field may return `null`, indicating that no valid value was found. ColorTransfer *string `json:"ColorTransfer,omitnil" name:"ColorTransfer"` // HDR type // Note: This field may return `null`, indicating that no valid value was found. HdrType *string `json:"HdrType,omitnil" name:"HdrType"` }
type ModifyAIAnalysisTemplateRequest ¶
type ModifyAIAnalysisTemplateRequest struct { *tchttp.BaseRequest // Unique ID of video content analysis template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` // Video content analysis template name. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Video content analysis template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Control parameter of intelligent categorization task. ClassificationConfigure *ClassificationConfigureInfoForUpdate `json:"ClassificationConfigure,omitnil" name:"ClassificationConfigure"` // Control parameter of intelligent tagging task. TagConfigure *TagConfigureInfoForUpdate `json:"TagConfigure,omitnil" name:"TagConfigure"` // Control parameter of intelligent cover generating task. CoverConfigure *CoverConfigureInfoForUpdate `json:"CoverConfigure,omitnil" name:"CoverConfigure"` // Control parameter of intelligent frame-specific tagging task. FrameTagConfigure *FrameTagConfigureInfoForUpdate `json:"FrameTagConfigure,omitnil" name:"FrameTagConfigure"` }
func NewModifyAIAnalysisTemplateRequest ¶
func NewModifyAIAnalysisTemplateRequest() (request *ModifyAIAnalysisTemplateRequest)
func (*ModifyAIAnalysisTemplateRequest) FromJsonString ¶
func (r *ModifyAIAnalysisTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAIAnalysisTemplateRequest) ToJsonString ¶
func (r *ModifyAIAnalysisTemplateRequest) ToJsonString() string
type ModifyAIAnalysisTemplateRequestParams ¶
type ModifyAIAnalysisTemplateRequestParams struct { // Unique ID of video content analysis template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` // Video content analysis template name. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Video content analysis template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Control parameter of intelligent categorization task. ClassificationConfigure *ClassificationConfigureInfoForUpdate `json:"ClassificationConfigure,omitnil" name:"ClassificationConfigure"` // Control parameter of intelligent tagging task. TagConfigure *TagConfigureInfoForUpdate `json:"TagConfigure,omitnil" name:"TagConfigure"` // Control parameter of intelligent cover generating task. CoverConfigure *CoverConfigureInfoForUpdate `json:"CoverConfigure,omitnil" name:"CoverConfigure"` // Control parameter of intelligent frame-specific tagging task. FrameTagConfigure *FrameTagConfigureInfoForUpdate `json:"FrameTagConfigure,omitnil" name:"FrameTagConfigure"` }
Predefined struct for user
type ModifyAIAnalysisTemplateResponse ¶
type ModifyAIAnalysisTemplateResponse struct { *tchttp.BaseResponse Response *ModifyAIAnalysisTemplateResponseParams `json:"Response"` }
func NewModifyAIAnalysisTemplateResponse ¶
func NewModifyAIAnalysisTemplateResponse() (response *ModifyAIAnalysisTemplateResponse)
func (*ModifyAIAnalysisTemplateResponse) FromJsonString ¶
func (r *ModifyAIAnalysisTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAIAnalysisTemplateResponse) ToJsonString ¶
func (r *ModifyAIAnalysisTemplateResponse) ToJsonString() string
type ModifyAIAnalysisTemplateResponseParams ¶
type ModifyAIAnalysisTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyAIRecognitionTemplateRequest ¶
type ModifyAIRecognitionTemplateRequest struct { *tchttp.BaseRequest // Unique ID of a video content recognition template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` // Name of a video content recognition template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Description of a video content recognition template. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Face recognition control parameter. FaceConfigure *FaceConfigureInfoForUpdate `json:"FaceConfigure,omitnil" name:"FaceConfigure"` // Full text recognition control parameter. OcrFullTextConfigure *OcrFullTextConfigureInfoForUpdate `json:"OcrFullTextConfigure,omitnil" name:"OcrFullTextConfigure"` // Text keyword recognition control parameter. OcrWordsConfigure *OcrWordsConfigureInfoForUpdate `json:"OcrWordsConfigure,omitnil" name:"OcrWordsConfigure"` // Full speech recognition control parameter. AsrFullTextConfigure *AsrFullTextConfigureInfoForUpdate `json:"AsrFullTextConfigure,omitnil" name:"AsrFullTextConfigure"` // Speech keyword recognition control parameter. AsrWordsConfigure *AsrWordsConfigureInfoForUpdate `json:"AsrWordsConfigure,omitnil" name:"AsrWordsConfigure"` }
func NewModifyAIRecognitionTemplateRequest ¶
func NewModifyAIRecognitionTemplateRequest() (request *ModifyAIRecognitionTemplateRequest)
func (*ModifyAIRecognitionTemplateRequest) FromJsonString ¶
func (r *ModifyAIRecognitionTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAIRecognitionTemplateRequest) ToJsonString ¶
func (r *ModifyAIRecognitionTemplateRequest) ToJsonString() string
type ModifyAIRecognitionTemplateRequestParams ¶
type ModifyAIRecognitionTemplateRequestParams struct { // Unique ID of a video content recognition template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` // Name of a video content recognition template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Description of a video content recognition template. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Face recognition control parameter. FaceConfigure *FaceConfigureInfoForUpdate `json:"FaceConfigure,omitnil" name:"FaceConfigure"` // Full text recognition control parameter. OcrFullTextConfigure *OcrFullTextConfigureInfoForUpdate `json:"OcrFullTextConfigure,omitnil" name:"OcrFullTextConfigure"` // Text keyword recognition control parameter. OcrWordsConfigure *OcrWordsConfigureInfoForUpdate `json:"OcrWordsConfigure,omitnil" name:"OcrWordsConfigure"` // Full speech recognition control parameter. AsrFullTextConfigure *AsrFullTextConfigureInfoForUpdate `json:"AsrFullTextConfigure,omitnil" name:"AsrFullTextConfigure"` // Speech keyword recognition control parameter. AsrWordsConfigure *AsrWordsConfigureInfoForUpdate `json:"AsrWordsConfigure,omitnil" name:"AsrWordsConfigure"` }
Predefined struct for user
type ModifyAIRecognitionTemplateResponse ¶
type ModifyAIRecognitionTemplateResponse struct { *tchttp.BaseResponse Response *ModifyAIRecognitionTemplateResponseParams `json:"Response"` }
func NewModifyAIRecognitionTemplateResponse ¶
func NewModifyAIRecognitionTemplateResponse() (response *ModifyAIRecognitionTemplateResponse)
func (*ModifyAIRecognitionTemplateResponse) FromJsonString ¶
func (r *ModifyAIRecognitionTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAIRecognitionTemplateResponse) ToJsonString ¶
func (r *ModifyAIRecognitionTemplateResponse) ToJsonString() string
type ModifyAIRecognitionTemplateResponseParams ¶
type ModifyAIRecognitionTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyAdaptiveDynamicStreamingTemplateRequest ¶
type ModifyAdaptiveDynamicStreamingTemplateRequest struct { *tchttp.BaseRequest // Unique ID of an adaptive bitrate streaming template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // Template name. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Adaptive bitrate streaming format. Valid values: // <li>HLS,</li> // <li>MPEG-DASH.</li> Format *string `json:"Format,omitnil" name:"Format"` // Whether to prohibit transcoding from low bitrate to high bitrate. Valid values: // <li>0: no,</li> // <li>1: yes.</li> DisableHigherVideoBitrate *uint64 `json:"DisableHigherVideoBitrate,omitnil" name:"DisableHigherVideoBitrate"` // Whether to prohibit transcoding from low resolution to high resolution. Valid values: // <li>0: no,</li> // <li>1: yes.</li> DisableHigherVideoResolution *uint64 `json:"DisableHigherVideoResolution,omitnil" name:"DisableHigherVideoResolution"` // Parameter information of input streams for transcoding to adaptive bitrate streaming. Up to 10 streams can be input. // Note: the frame rate of each stream must be consistent; otherwise, the frame rate of the first stream is used as the output frame rate. StreamInfos []*AdaptiveStreamTemplate `json:"StreamInfos,omitnil" name:"StreamInfos"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` }
func NewModifyAdaptiveDynamicStreamingTemplateRequest ¶
func NewModifyAdaptiveDynamicStreamingTemplateRequest() (request *ModifyAdaptiveDynamicStreamingTemplateRequest)
func (*ModifyAdaptiveDynamicStreamingTemplateRequest) FromJsonString ¶
func (r *ModifyAdaptiveDynamicStreamingTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAdaptiveDynamicStreamingTemplateRequest) ToJsonString ¶
func (r *ModifyAdaptiveDynamicStreamingTemplateRequest) ToJsonString() string
type ModifyAdaptiveDynamicStreamingTemplateRequestParams ¶
type ModifyAdaptiveDynamicStreamingTemplateRequestParams struct { // Unique ID of an adaptive bitrate streaming template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // Template name. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Adaptive bitrate streaming format. Valid values: // <li>HLS,</li> // <li>MPEG-DASH.</li> Format *string `json:"Format,omitnil" name:"Format"` // Whether to prohibit transcoding from low bitrate to high bitrate. Valid values: // <li>0: no,</li> // <li>1: yes.</li> DisableHigherVideoBitrate *uint64 `json:"DisableHigherVideoBitrate,omitnil" name:"DisableHigherVideoBitrate"` // Whether to prohibit transcoding from low resolution to high resolution. Valid values: // <li>0: no,</li> // <li>1: yes.</li> DisableHigherVideoResolution *uint64 `json:"DisableHigherVideoResolution,omitnil" name:"DisableHigherVideoResolution"` // Parameter information of input streams for transcoding to adaptive bitrate streaming. Up to 10 streams can be input. // Note: the frame rate of each stream must be consistent; otherwise, the frame rate of the first stream is used as the output frame rate. StreamInfos []*AdaptiveStreamTemplate `json:"StreamInfos,omitnil" name:"StreamInfos"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` }
Predefined struct for user
type ModifyAdaptiveDynamicStreamingTemplateResponse ¶
type ModifyAdaptiveDynamicStreamingTemplateResponse struct { *tchttp.BaseResponse Response *ModifyAdaptiveDynamicStreamingTemplateResponseParams `json:"Response"` }
func NewModifyAdaptiveDynamicStreamingTemplateResponse ¶
func NewModifyAdaptiveDynamicStreamingTemplateResponse() (response *ModifyAdaptiveDynamicStreamingTemplateResponse)
func (*ModifyAdaptiveDynamicStreamingTemplateResponse) FromJsonString ¶
func (r *ModifyAdaptiveDynamicStreamingTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAdaptiveDynamicStreamingTemplateResponse) ToJsonString ¶
func (r *ModifyAdaptiveDynamicStreamingTemplateResponse) ToJsonString() string
type ModifyAdaptiveDynamicStreamingTemplateResponseParams ¶
type ModifyAdaptiveDynamicStreamingTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyAnimatedGraphicsTemplateRequest ¶
type ModifyAnimatedGraphicsTemplateRequest struct { *tchttp.BaseRequest // Unique ID of an animated image generating template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // Name of an animated image generating template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Maximum value of the width (or long side) of an animated image in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Width *uint64 `json:"Width,omitnil" name:"Width"` // Maximum value of the height (or short side) of a video stream in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Height *uint64 `json:"Height,omitnil" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitnil" name:"ResolutionAdaptive"` // Animated image format. Valid values: gif, webp. Format *string `json:"Format,omitnil" name:"Format"` // Video frame rate in Hz. Value range: [1, 30]. Fps *uint64 `json:"Fps,omitnil" name:"Fps"` // Image quality. Value range: [1, 100]. Default value: 75. Quality *float64 `json:"Quality,omitnil" name:"Quality"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` }
func NewModifyAnimatedGraphicsTemplateRequest ¶
func NewModifyAnimatedGraphicsTemplateRequest() (request *ModifyAnimatedGraphicsTemplateRequest)
func (*ModifyAnimatedGraphicsTemplateRequest) FromJsonString ¶
func (r *ModifyAnimatedGraphicsTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAnimatedGraphicsTemplateRequest) ToJsonString ¶
func (r *ModifyAnimatedGraphicsTemplateRequest) ToJsonString() string
type ModifyAnimatedGraphicsTemplateRequestParams ¶
type ModifyAnimatedGraphicsTemplateRequestParams struct { // Unique ID of an animated image generating template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // Name of an animated image generating template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Maximum value of the width (or long side) of an animated image in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Width *uint64 `json:"Width,omitnil" name:"Width"` // Maximum value of the height (or short side) of a video stream in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Height *uint64 `json:"Height,omitnil" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitnil" name:"ResolutionAdaptive"` // Animated image format. Valid values: gif, webp. Format *string `json:"Format,omitnil" name:"Format"` // Video frame rate in Hz. Value range: [1, 30]. Fps *uint64 `json:"Fps,omitnil" name:"Fps"` // Image quality. Value range: [1, 100]. Default value: 75. Quality *float64 `json:"Quality,omitnil" name:"Quality"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` }
Predefined struct for user
type ModifyAnimatedGraphicsTemplateResponse ¶
type ModifyAnimatedGraphicsTemplateResponse struct { *tchttp.BaseResponse Response *ModifyAnimatedGraphicsTemplateResponseParams `json:"Response"` }
func NewModifyAnimatedGraphicsTemplateResponse ¶
func NewModifyAnimatedGraphicsTemplateResponse() (response *ModifyAnimatedGraphicsTemplateResponse)
func (*ModifyAnimatedGraphicsTemplateResponse) FromJsonString ¶
func (r *ModifyAnimatedGraphicsTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAnimatedGraphicsTemplateResponse) ToJsonString ¶
func (r *ModifyAnimatedGraphicsTemplateResponse) ToJsonString() string
type ModifyAnimatedGraphicsTemplateResponseParams ¶
type ModifyAnimatedGraphicsTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyContentReviewTemplateRequest ¶
type ModifyContentReviewTemplateRequest struct { *tchttp.BaseRequest // The unique ID of the content moderation template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` // The name of the content moderation template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // The template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Control parameter for porn information PornConfigure *PornConfigureInfoForUpdate `json:"PornConfigure,omitnil" name:"PornConfigure"` // Control parameter for terrorism information TerrorismConfigure *TerrorismConfigureInfoForUpdate `json:"TerrorismConfigure,omitnil" name:"TerrorismConfigure"` // Control parameter for politically sensitive information PoliticalConfigure *PoliticalConfigureInfoForUpdate `json:"PoliticalConfigure,omitnil" name:"PoliticalConfigure"` // Control parameter of prohibited information detection. Prohibited information includes: // <li>Abusive;</li> // <li>Drug-related.</li> // Note: this parameter is not supported yet. ProhibitedConfigure *ProhibitedConfigureInfoForUpdate `json:"ProhibitedConfigure,omitnil" name:"ProhibitedConfigure"` // Custom content moderation parameters. UserDefineConfigure *UserDefineConfigureInfoForUpdate `json:"UserDefineConfigure,omitnil" name:"UserDefineConfigure"` }
func NewModifyContentReviewTemplateRequest ¶
func NewModifyContentReviewTemplateRequest() (request *ModifyContentReviewTemplateRequest)
func (*ModifyContentReviewTemplateRequest) FromJsonString ¶
func (r *ModifyContentReviewTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyContentReviewTemplateRequest) ToJsonString ¶
func (r *ModifyContentReviewTemplateRequest) ToJsonString() string
type ModifyContentReviewTemplateRequestParams ¶
type ModifyContentReviewTemplateRequestParams struct { // The unique ID of the content moderation template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` // The name of the content moderation template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // The template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Control parameter for porn information PornConfigure *PornConfigureInfoForUpdate `json:"PornConfigure,omitnil" name:"PornConfigure"` // Control parameter for terrorism information TerrorismConfigure *TerrorismConfigureInfoForUpdate `json:"TerrorismConfigure,omitnil" name:"TerrorismConfigure"` // Control parameter for politically sensitive information PoliticalConfigure *PoliticalConfigureInfoForUpdate `json:"PoliticalConfigure,omitnil" name:"PoliticalConfigure"` // Control parameter of prohibited information detection. Prohibited information includes: // <li>Abusive;</li> // <li>Drug-related.</li> // Note: this parameter is not supported yet. ProhibitedConfigure *ProhibitedConfigureInfoForUpdate `json:"ProhibitedConfigure,omitnil" name:"ProhibitedConfigure"` // Custom content moderation parameters. UserDefineConfigure *UserDefineConfigureInfoForUpdate `json:"UserDefineConfigure,omitnil" name:"UserDefineConfigure"` }
Predefined struct for user
type ModifyContentReviewTemplateResponse ¶
type ModifyContentReviewTemplateResponse struct { *tchttp.BaseResponse Response *ModifyContentReviewTemplateResponseParams `json:"Response"` }
func NewModifyContentReviewTemplateResponse ¶
func NewModifyContentReviewTemplateResponse() (response *ModifyContentReviewTemplateResponse)
func (*ModifyContentReviewTemplateResponse) FromJsonString ¶
func (r *ModifyContentReviewTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyContentReviewTemplateResponse) ToJsonString ¶
func (r *ModifyContentReviewTemplateResponse) ToJsonString() string
type ModifyContentReviewTemplateResponseParams ¶
type ModifyContentReviewTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyImageSpriteTemplateRequest ¶
type ModifyImageSpriteTemplateRequest struct { *tchttp.BaseRequest // Unique ID of an image sprite generating template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // Name of an image sprite generating template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Subimage width of an image sprite in px. Value range: [128, 4,096]. Width *uint64 `json:"Width,omitnil" name:"Width"` // Subimage height of an image sprite in px. Value range: [128, 4,096]. Height *uint64 `json:"Height,omitnil" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitnil" name:"ResolutionAdaptive"` // Sampling type. Valid values: // <li>Percent: By percent.</li> // <li>Time: By time interval.</li> SampleType *string `json:"SampleType,omitnil" name:"SampleType"` // Sampling interval. // <li>If `SampleType` is `Percent`, sampling will be performed at an interval of the specified percentage.</li> // <li>If `SampleType` is `Time`, sampling will be performed at the specified time interval in seconds.</li> SampleInterval *uint64 `json:"SampleInterval,omitnil" name:"SampleInterval"` // Subimage row count of an image sprite. RowCount *uint64 `json:"RowCount,omitnil" name:"RowCount"` // Subimage column count of an image sprite. ColumnCount *uint64 `json:"ColumnCount,omitnil" name:"ColumnCount"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // Default value: black. FillType *string `json:"FillType,omitnil" name:"FillType"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // The image format. Valid values: jpg, png, webp. Format *string `json:"Format,omitnil" name:"Format"` }
func NewModifyImageSpriteTemplateRequest ¶
func NewModifyImageSpriteTemplateRequest() (request *ModifyImageSpriteTemplateRequest)
func (*ModifyImageSpriteTemplateRequest) FromJsonString ¶
func (r *ModifyImageSpriteTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyImageSpriteTemplateRequest) ToJsonString ¶
func (r *ModifyImageSpriteTemplateRequest) ToJsonString() string
type ModifyImageSpriteTemplateRequestParams ¶
type ModifyImageSpriteTemplateRequestParams struct { // Unique ID of an image sprite generating template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // Name of an image sprite generating template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Subimage width of an image sprite in px. Value range: [128, 4,096]. Width *uint64 `json:"Width,omitnil" name:"Width"` // Subimage height of an image sprite in px. Value range: [128, 4,096]. Height *uint64 `json:"Height,omitnil" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitnil" name:"ResolutionAdaptive"` // Sampling type. Valid values: // <li>Percent: By percent.</li> // <li>Time: By time interval.</li> SampleType *string `json:"SampleType,omitnil" name:"SampleType"` // Sampling interval. // <li>If `SampleType` is `Percent`, sampling will be performed at an interval of the specified percentage.</li> // <li>If `SampleType` is `Time`, sampling will be performed at the specified time interval in seconds.</li> SampleInterval *uint64 `json:"SampleInterval,omitnil" name:"SampleInterval"` // Subimage row count of an image sprite. RowCount *uint64 `json:"RowCount,omitnil" name:"RowCount"` // Subimage column count of an image sprite. ColumnCount *uint64 `json:"ColumnCount,omitnil" name:"ColumnCount"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // Default value: black. FillType *string `json:"FillType,omitnil" name:"FillType"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // The image format. Valid values: jpg, png, webp. Format *string `json:"Format,omitnil" name:"Format"` }
Predefined struct for user
type ModifyImageSpriteTemplateResponse ¶
type ModifyImageSpriteTemplateResponse struct { *tchttp.BaseResponse Response *ModifyImageSpriteTemplateResponseParams `json:"Response"` }
func NewModifyImageSpriteTemplateResponse ¶
func NewModifyImageSpriteTemplateResponse() (response *ModifyImageSpriteTemplateResponse)
func (*ModifyImageSpriteTemplateResponse) FromJsonString ¶
func (r *ModifyImageSpriteTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyImageSpriteTemplateResponse) ToJsonString ¶
func (r *ModifyImageSpriteTemplateResponse) ToJsonString() string
type ModifyImageSpriteTemplateResponseParams ¶
type ModifyImageSpriteTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyPersonSampleRequest ¶
type ModifyPersonSampleRequest struct { *tchttp.BaseRequest // Image ID PersonId *string `json:"PersonId,omitnil" name:"PersonId"` // Name. Length limit: 128 characters. Name *string `json:"Name,omitnil" name:"Name"` // Description. Length limit: 1,024 characters. Description *string `json:"Description,omitnil" name:"Description"` // Image usage. Valid values: // 1. Recognition: used for content recognition; equivalent to `Recognition.Face` // 2. Review: used for inappropriate information recognition; equivalent to `Review.Face` // 3. All: used for content recognition and inappropriate information recognition; equivalent to 1+2 Usages []*string `json:"Usages,omitnil" name:"Usages"` // Information of operations on facial features FaceOperationInfo *AiSampleFaceOperation `json:"FaceOperationInfo,omitnil" name:"FaceOperationInfo"` // Tag operation information. TagOperationInfo *AiSampleTagOperation `json:"TagOperationInfo,omitnil" name:"TagOperationInfo"` }
func NewModifyPersonSampleRequest ¶
func NewModifyPersonSampleRequest() (request *ModifyPersonSampleRequest)
func (*ModifyPersonSampleRequest) FromJsonString ¶
func (r *ModifyPersonSampleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPersonSampleRequest) ToJsonString ¶
func (r *ModifyPersonSampleRequest) ToJsonString() string
type ModifyPersonSampleRequestParams ¶
type ModifyPersonSampleRequestParams struct { // Image ID PersonId *string `json:"PersonId,omitnil" name:"PersonId"` // Name. Length limit: 128 characters. Name *string `json:"Name,omitnil" name:"Name"` // Description. Length limit: 1,024 characters. Description *string `json:"Description,omitnil" name:"Description"` // Image usage. Valid values: // 1. Recognition: used for content recognition; equivalent to `Recognition.Face` // 2. Review: used for inappropriate information recognition; equivalent to `Review.Face` // 3. All: used for content recognition and inappropriate information recognition; equivalent to 1+2 Usages []*string `json:"Usages,omitnil" name:"Usages"` // Information of operations on facial features FaceOperationInfo *AiSampleFaceOperation `json:"FaceOperationInfo,omitnil" name:"FaceOperationInfo"` // Tag operation information. TagOperationInfo *AiSampleTagOperation `json:"TagOperationInfo,omitnil" name:"TagOperationInfo"` }
Predefined struct for user
type ModifyPersonSampleResponse ¶
type ModifyPersonSampleResponse struct { *tchttp.BaseResponse Response *ModifyPersonSampleResponseParams `json:"Response"` }
func NewModifyPersonSampleResponse ¶
func NewModifyPersonSampleResponse() (response *ModifyPersonSampleResponse)
func (*ModifyPersonSampleResponse) FromJsonString ¶
func (r *ModifyPersonSampleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPersonSampleResponse) ToJsonString ¶
func (r *ModifyPersonSampleResponse) ToJsonString() string
type ModifyPersonSampleResponseParams ¶
type ModifyPersonSampleResponseParams struct { // Image information Person *AiSamplePerson `json:"Person,omitnil" name:"Person"` // Information of images that failed the verification by facial feature positioning. // Note: this field may return `null`, indicating that no valid values can be obtained. FailFaceInfoSet []*AiSampleFailFaceInfo `json:"FailFaceInfoSet,omitnil" name:"FailFaceInfoSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifySampleSnapshotTemplateRequest ¶
type ModifySampleSnapshotTemplateRequest struct { *tchttp.BaseRequest // Unique ID of a sampled screencapturing template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // Name of a sampled screencapturing template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Image width in px. Value range: [128, 4,096]. Width *uint64 `json:"Width,omitnil" name:"Width"` // Image height in px. Value range: [128, 4,096]. Height *uint64 `json:"Height,omitnil" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitnil" name:"ResolutionAdaptive"` // Sampled screencapturing type. Valid values: // <li>Percent: By percent.</li> // <li>Time: By time interval.</li> SampleType *string `json:"SampleType,omitnil" name:"SampleType"` // Sampling interval. // <li>If `SampleType` is `Percent`, sampling will be performed at an interval of the specified percentage.</li> // <li>If `SampleType` is `Time`, sampling will be performed at the specified time interval in seconds.</li> SampleInterval *uint64 `json:"SampleInterval,omitnil" name:"SampleInterval"` // The image format. Valid values: jpg, png, webp. Format *string `json:"Format,omitnil" name:"Format"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // <li>white: fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks.</li> // <li>gauss: fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.</li> // Default value: black. FillType *string `json:"FillType,omitnil" name:"FillType"` }
func NewModifySampleSnapshotTemplateRequest ¶
func NewModifySampleSnapshotTemplateRequest() (request *ModifySampleSnapshotTemplateRequest)
func (*ModifySampleSnapshotTemplateRequest) FromJsonString ¶
func (r *ModifySampleSnapshotTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySampleSnapshotTemplateRequest) ToJsonString ¶
func (r *ModifySampleSnapshotTemplateRequest) ToJsonString() string
type ModifySampleSnapshotTemplateRequestParams ¶
type ModifySampleSnapshotTemplateRequestParams struct { // Unique ID of a sampled screencapturing template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // Name of a sampled screencapturing template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Image width in px. Value range: [128, 4,096]. Width *uint64 `json:"Width,omitnil" name:"Width"` // Image height in px. Value range: [128, 4,096]. Height *uint64 `json:"Height,omitnil" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitnil" name:"ResolutionAdaptive"` // Sampled screencapturing type. Valid values: // <li>Percent: By percent.</li> // <li>Time: By time interval.</li> SampleType *string `json:"SampleType,omitnil" name:"SampleType"` // Sampling interval. // <li>If `SampleType` is `Percent`, sampling will be performed at an interval of the specified percentage.</li> // <li>If `SampleType` is `Time`, sampling will be performed at the specified time interval in seconds.</li> SampleInterval *uint64 `json:"SampleInterval,omitnil" name:"SampleInterval"` // The image format. Valid values: jpg, png, webp. Format *string `json:"Format,omitnil" name:"Format"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // <li>white: fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks.</li> // <li>gauss: fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.</li> // Default value: black. FillType *string `json:"FillType,omitnil" name:"FillType"` }
Predefined struct for user
type ModifySampleSnapshotTemplateResponse ¶
type ModifySampleSnapshotTemplateResponse struct { *tchttp.BaseResponse Response *ModifySampleSnapshotTemplateResponseParams `json:"Response"` }
func NewModifySampleSnapshotTemplateResponse ¶
func NewModifySampleSnapshotTemplateResponse() (response *ModifySampleSnapshotTemplateResponse)
func (*ModifySampleSnapshotTemplateResponse) FromJsonString ¶
func (r *ModifySampleSnapshotTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySampleSnapshotTemplateResponse) ToJsonString ¶
func (r *ModifySampleSnapshotTemplateResponse) ToJsonString() string
type ModifySampleSnapshotTemplateResponseParams ¶
type ModifySampleSnapshotTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyScheduleRequest ¶
type ModifyScheduleRequest struct { *tchttp.BaseRequest // The scheme ID. ScheduleId *int64 `json:"ScheduleId,omitnil" name:"ScheduleId"` // The scheme name. ScheduleName *string `json:"ScheduleName,omitnil" name:"ScheduleName"` // The trigger of the scheme. Trigger *WorkflowTrigger `json:"Trigger,omitnil" name:"Trigger"` // The subtasks of the scheme. // Note: You need to pass in the full list of subtasks even if you want to change only some of the subtasks. Activities []*Activity `json:"Activities,omitnil" name:"Activities"` // The bucket to save the output file. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` // The directory to save the media processing output file, which must start and end with `/`. // Note: If this parameter is left empty, the current `OutputDir` value will be invalidated. OutputDir *string `json:"OutputDir,omitnil" name:"OutputDir"` // The notification configuration. TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitnil" name:"TaskNotifyConfig"` }
func NewModifyScheduleRequest ¶
func NewModifyScheduleRequest() (request *ModifyScheduleRequest)
func (*ModifyScheduleRequest) FromJsonString ¶
func (r *ModifyScheduleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyScheduleRequest) ToJsonString ¶
func (r *ModifyScheduleRequest) ToJsonString() string
type ModifyScheduleRequestParams ¶
type ModifyScheduleRequestParams struct { // The scheme ID. ScheduleId *int64 `json:"ScheduleId,omitnil" name:"ScheduleId"` // The scheme name. ScheduleName *string `json:"ScheduleName,omitnil" name:"ScheduleName"` // The trigger of the scheme. Trigger *WorkflowTrigger `json:"Trigger,omitnil" name:"Trigger"` // The subtasks of the scheme. // Note: You need to pass in the full list of subtasks even if you want to change only some of the subtasks. Activities []*Activity `json:"Activities,omitnil" name:"Activities"` // The bucket to save the output file. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` // The directory to save the media processing output file, which must start and end with `/`. // Note: If this parameter is left empty, the current `OutputDir` value will be invalidated. OutputDir *string `json:"OutputDir,omitnil" name:"OutputDir"` // The notification configuration. TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitnil" name:"TaskNotifyConfig"` }
Predefined struct for user
type ModifyScheduleResponse ¶
type ModifyScheduleResponse struct { *tchttp.BaseResponse Response *ModifyScheduleResponseParams `json:"Response"` }
func NewModifyScheduleResponse ¶
func NewModifyScheduleResponse() (response *ModifyScheduleResponse)
func (*ModifyScheduleResponse) FromJsonString ¶
func (r *ModifyScheduleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyScheduleResponse) ToJsonString ¶
func (r *ModifyScheduleResponse) ToJsonString() string
type ModifyScheduleResponseParams ¶
type ModifyScheduleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifySnapshotByTimeOffsetTemplateRequest ¶
type ModifySnapshotByTimeOffsetTemplateRequest struct { *tchttp.BaseRequest // Unique ID of a time point screencapturing template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // Name of a time point screencapturing template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Image width in px. Value range: [128, 4,096]. Width *uint64 `json:"Width,omitnil" name:"Width"` // Image height in px. Value range: [128, 4,096]. Height *uint64 `json:"Height,omitnil" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitnil" name:"ResolutionAdaptive"` // The image format. Valid values: jpg, png, webp. Format *string `json:"Format,omitnil" name:"Format"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // <li>white: fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks.</li> // <li>gauss: fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.</li> // Default value: black. FillType *string `json:"FillType,omitnil" name:"FillType"` }
func NewModifySnapshotByTimeOffsetTemplateRequest ¶
func NewModifySnapshotByTimeOffsetTemplateRequest() (request *ModifySnapshotByTimeOffsetTemplateRequest)
func (*ModifySnapshotByTimeOffsetTemplateRequest) FromJsonString ¶
func (r *ModifySnapshotByTimeOffsetTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySnapshotByTimeOffsetTemplateRequest) ToJsonString ¶
func (r *ModifySnapshotByTimeOffsetTemplateRequest) ToJsonString() string
type ModifySnapshotByTimeOffsetTemplateRequestParams ¶
type ModifySnapshotByTimeOffsetTemplateRequestParams struct { // Unique ID of a time point screencapturing template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // Name of a time point screencapturing template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Image width in px. Value range: [128, 4,096]. Width *uint64 `json:"Width,omitnil" name:"Width"` // Image height in px. Value range: [128, 4,096]. Height *uint64 `json:"Height,omitnil" name:"Height"` // Resolution adaption. Valid values: // <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitnil" name:"ResolutionAdaptive"` // The image format. Valid values: jpg, png, webp. Format *string `json:"Format,omitnil" name:"Format"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // <li>white: fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks.</li> // <li>gauss: fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.</li> // Default value: black. FillType *string `json:"FillType,omitnil" name:"FillType"` }
Predefined struct for user
type ModifySnapshotByTimeOffsetTemplateResponse ¶
type ModifySnapshotByTimeOffsetTemplateResponse struct { *tchttp.BaseResponse Response *ModifySnapshotByTimeOffsetTemplateResponseParams `json:"Response"` }
func NewModifySnapshotByTimeOffsetTemplateResponse ¶
func NewModifySnapshotByTimeOffsetTemplateResponse() (response *ModifySnapshotByTimeOffsetTemplateResponse)
func (*ModifySnapshotByTimeOffsetTemplateResponse) FromJsonString ¶
func (r *ModifySnapshotByTimeOffsetTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySnapshotByTimeOffsetTemplateResponse) ToJsonString ¶
func (r *ModifySnapshotByTimeOffsetTemplateResponse) ToJsonString() string
type ModifySnapshotByTimeOffsetTemplateResponseParams ¶
type ModifySnapshotByTimeOffsetTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyTranscodeTemplateRequest ¶
type ModifyTranscodeTemplateRequest struct { *tchttp.BaseRequest // Unique ID of a transcoding template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` // Container format. Valid values: mp4; flv; hls; mp3; flac; ogg; m4a. Among them, mp3, flac, ogg, and m4a are for audio files. Container *string `json:"Container,omitnil" name:"Container"` // Name of a transcoding template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Whether to remove video data. Valid values: // <li>0: Retain</li> // <li>1: Remove</li> RemoveVideo *int64 `json:"RemoveVideo,omitnil" name:"RemoveVideo"` // Whether to remove audio data. Valid values: // <li>0: Retain</li> // <li>1: Remove</li> RemoveAudio *int64 `json:"RemoveAudio,omitnil" name:"RemoveAudio"` // Video stream configuration parameter. VideoTemplate *VideoTemplateInfoForUpdate `json:"VideoTemplate,omitnil" name:"VideoTemplate"` // Audio stream configuration parameter. AudioTemplate *AudioTemplateInfoForUpdate `json:"AudioTemplate,omitnil" name:"AudioTemplate"` // TESHD transcoding parameter. To enable it, please contact your Tencent Cloud sales rep. TEHDConfig *TEHDConfigForUpdate `json:"TEHDConfig,omitnil" name:"TEHDConfig"` // Audio/Video enhancement settings. EnhanceConfig *EnhanceConfig `json:"EnhanceConfig,omitnil" name:"EnhanceConfig"` }
func NewModifyTranscodeTemplateRequest ¶
func NewModifyTranscodeTemplateRequest() (request *ModifyTranscodeTemplateRequest)
func (*ModifyTranscodeTemplateRequest) FromJsonString ¶
func (r *ModifyTranscodeTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTranscodeTemplateRequest) ToJsonString ¶
func (r *ModifyTranscodeTemplateRequest) ToJsonString() string
type ModifyTranscodeTemplateRequestParams ¶
type ModifyTranscodeTemplateRequestParams struct { // Unique ID of a transcoding template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` // Container format. Valid values: mp4; flv; hls; mp3; flac; ogg; m4a. Among them, mp3, flac, ogg, and m4a are for audio files. Container *string `json:"Container,omitnil" name:"Container"` // Name of a transcoding template. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Whether to remove video data. Valid values: // <li>0: Retain</li> // <li>1: Remove</li> RemoveVideo *int64 `json:"RemoveVideo,omitnil" name:"RemoveVideo"` // Whether to remove audio data. Valid values: // <li>0: Retain</li> // <li>1: Remove</li> RemoveAudio *int64 `json:"RemoveAudio,omitnil" name:"RemoveAudio"` // Video stream configuration parameter. VideoTemplate *VideoTemplateInfoForUpdate `json:"VideoTemplate,omitnil" name:"VideoTemplate"` // Audio stream configuration parameter. AudioTemplate *AudioTemplateInfoForUpdate `json:"AudioTemplate,omitnil" name:"AudioTemplate"` // TESHD transcoding parameter. To enable it, please contact your Tencent Cloud sales rep. TEHDConfig *TEHDConfigForUpdate `json:"TEHDConfig,omitnil" name:"TEHDConfig"` // Audio/Video enhancement settings. EnhanceConfig *EnhanceConfig `json:"EnhanceConfig,omitnil" name:"EnhanceConfig"` }
Predefined struct for user
type ModifyTranscodeTemplateResponse ¶
type ModifyTranscodeTemplateResponse struct { *tchttp.BaseResponse Response *ModifyTranscodeTemplateResponseParams `json:"Response"` }
func NewModifyTranscodeTemplateResponse ¶
func NewModifyTranscodeTemplateResponse() (response *ModifyTranscodeTemplateResponse)
func (*ModifyTranscodeTemplateResponse) FromJsonString ¶
func (r *ModifyTranscodeTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTranscodeTemplateResponse) ToJsonString ¶
func (r *ModifyTranscodeTemplateResponse) ToJsonString() string
type ModifyTranscodeTemplateResponseParams ¶
type ModifyTranscodeTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyWatermarkTemplateRequest ¶
type ModifyWatermarkTemplateRequest struct { *tchttp.BaseRequest // Unique ID of a watermarking template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` // Watermarking template name. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Origin position. Valid values: // <li>TopLeft: The origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text;</li> // <li>TopRight: The origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text;</li> // <li>BottomLeft: The origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text;</li> // <li>BottomRight: The origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.</li> CoordinateOrigin *string `json:"CoordinateOrigin,omitnil" name:"CoordinateOrigin"` // The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: // <li>If the string ends in %, the `XPos` of the watermark will be the specified percentage of the video width; for example, `10%` means that `XPos` is 10% of the video width;</li> // <li>If the string ends in px, the `XPos` of the watermark will be the specified px; for example, `100px` means that `XPos` is 100 px.</li> XPos *string `json:"XPos,omitnil" name:"XPos"` // The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: // <li>If the string ends in %, the `YPos` of the watermark will be the specified percentage of the video height; for example, `10%` means that `YPos` is 10% of the video height;</li> // <li>If the string ends in px, the `YPos` of the watermark will be the specified px; for example, `100px` means that `YPos` is 100 px.</li> YPos *string `json:"YPos,omitnil" name:"YPos"` // Image watermarking template. This field is valid only for image watermarking templates. ImageTemplate *ImageWatermarkInputForUpdate `json:"ImageTemplate,omitnil" name:"ImageTemplate"` // Text watermarking template. This field is valid only for text watermarking templates. TextTemplate *TextWatermarkTemplateInputForUpdate `json:"TextTemplate,omitnil" name:"TextTemplate"` // SVG watermarking template. This field is required when `Type` is `svg` and is invalid when `Type` is `image` or `text`. SvgTemplate *SvgWatermarkInputForUpdate `json:"SvgTemplate,omitnil" name:"SvgTemplate"` }
func NewModifyWatermarkTemplateRequest ¶
func NewModifyWatermarkTemplateRequest() (request *ModifyWatermarkTemplateRequest)
func (*ModifyWatermarkTemplateRequest) FromJsonString ¶
func (r *ModifyWatermarkTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyWatermarkTemplateRequest) ToJsonString ¶
func (r *ModifyWatermarkTemplateRequest) ToJsonString() string
type ModifyWatermarkTemplateRequestParams ¶
type ModifyWatermarkTemplateRequestParams struct { // Unique ID of a watermarking template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` // Watermarking template name. Length limit: 64 characters. Name *string `json:"Name,omitnil" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil" name:"Comment"` // Origin position. Valid values: // <li>TopLeft: The origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text;</li> // <li>TopRight: The origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text;</li> // <li>BottomLeft: The origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text;</li> // <li>BottomRight: The origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.</li> CoordinateOrigin *string `json:"CoordinateOrigin,omitnil" name:"CoordinateOrigin"` // The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: // <li>If the string ends in %, the `XPos` of the watermark will be the specified percentage of the video width; for example, `10%` means that `XPos` is 10% of the video width;</li> // <li>If the string ends in px, the `XPos` of the watermark will be the specified px; for example, `100px` means that `XPos` is 100 px.</li> XPos *string `json:"XPos,omitnil" name:"XPos"` // The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: // <li>If the string ends in %, the `YPos` of the watermark will be the specified percentage of the video height; for example, `10%` means that `YPos` is 10% of the video height;</li> // <li>If the string ends in px, the `YPos` of the watermark will be the specified px; for example, `100px` means that `YPos` is 100 px.</li> YPos *string `json:"YPos,omitnil" name:"YPos"` // Image watermarking template. This field is valid only for image watermarking templates. ImageTemplate *ImageWatermarkInputForUpdate `json:"ImageTemplate,omitnil" name:"ImageTemplate"` // Text watermarking template. This field is valid only for text watermarking templates. TextTemplate *TextWatermarkTemplateInputForUpdate `json:"TextTemplate,omitnil" name:"TextTemplate"` // SVG watermarking template. This field is required when `Type` is `svg` and is invalid when `Type` is `image` or `text`. SvgTemplate *SvgWatermarkInputForUpdate `json:"SvgTemplate,omitnil" name:"SvgTemplate"` }
Predefined struct for user
type ModifyWatermarkTemplateResponse ¶
type ModifyWatermarkTemplateResponse struct { *tchttp.BaseResponse Response *ModifyWatermarkTemplateResponseParams `json:"Response"` }
func NewModifyWatermarkTemplateResponse ¶
func NewModifyWatermarkTemplateResponse() (response *ModifyWatermarkTemplateResponse)
func (*ModifyWatermarkTemplateResponse) FromJsonString ¶
func (r *ModifyWatermarkTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyWatermarkTemplateResponse) ToJsonString ¶
func (r *ModifyWatermarkTemplateResponse) ToJsonString() string
type ModifyWatermarkTemplateResponseParams ¶
type ModifyWatermarkTemplateResponseParams struct { // Image watermark address. This field is valid only when `ImageTemplate.ImageContent` is non-empty. ImageUrl *string `json:"ImageUrl,omitnil" name:"ImageUrl"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyWordSampleRequest ¶
type ModifyWordSampleRequest struct { *tchttp.BaseRequest // Keyword. Length limit: 128 characters. Keyword *string `json:"Keyword,omitnil" name:"Keyword"` // <b>Keyword usage. Valid values:</b> // 1. Recognition.Ocr: OCR-based content recognition // 2. Recognition.Asr: ASR-based content recognition // 3. Review.Ocr: OCR-based inappropriate information recognition // 4. Review.Asr: ASR-based inappropriate information recognition // <b>Valid values can also be:</b> // 5. Recognition: ASR- and OCR-based content recognition; equivalent to 1+2 // 6. Review: ASR- and OCR-based inappropriate information recognition; equivalent to 3+4 // 7. All: equivalent to 1+2+3+4 Usages []*string `json:"Usages,omitnil" name:"Usages"` // Tag operation information. TagOperationInfo *AiSampleTagOperation `json:"TagOperationInfo,omitnil" name:"TagOperationInfo"` }
func NewModifyWordSampleRequest ¶
func NewModifyWordSampleRequest() (request *ModifyWordSampleRequest)
func (*ModifyWordSampleRequest) FromJsonString ¶
func (r *ModifyWordSampleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyWordSampleRequest) ToJsonString ¶
func (r *ModifyWordSampleRequest) ToJsonString() string
type ModifyWordSampleRequestParams ¶
type ModifyWordSampleRequestParams struct { // Keyword. Length limit: 128 characters. Keyword *string `json:"Keyword,omitnil" name:"Keyword"` // <b>Keyword usage. Valid values:</b> // 1. Recognition.Ocr: OCR-based content recognition // 2. Recognition.Asr: ASR-based content recognition // 3. Review.Ocr: OCR-based inappropriate information recognition // 4. Review.Asr: ASR-based inappropriate information recognition // <b>Valid values can also be:</b> // 5. Recognition: ASR- and OCR-based content recognition; equivalent to 1+2 // 6. Review: ASR- and OCR-based inappropriate information recognition; equivalent to 3+4 // 7. All: equivalent to 1+2+3+4 Usages []*string `json:"Usages,omitnil" name:"Usages"` // Tag operation information. TagOperationInfo *AiSampleTagOperation `json:"TagOperationInfo,omitnil" name:"TagOperationInfo"` }
Predefined struct for user
type ModifyWordSampleResponse ¶
type ModifyWordSampleResponse struct { *tchttp.BaseResponse Response *ModifyWordSampleResponseParams `json:"Response"` }
func NewModifyWordSampleResponse ¶
func NewModifyWordSampleResponse() (response *ModifyWordSampleResponse)
func (*ModifyWordSampleResponse) FromJsonString ¶
func (r *ModifyWordSampleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyWordSampleResponse) ToJsonString ¶
func (r *ModifyWordSampleResponse) ToJsonString() string
type ModifyWordSampleResponseParams ¶
type ModifyWordSampleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type MosaicInput ¶
type MosaicInput struct { // Origin position, which currently can only be: // <li>TopLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the blur is in the top-left corner of the image or text.</li> // Default value: TopLeft. CoordinateOrigin *string `json:"CoordinateOrigin,omitnil" name:"CoordinateOrigin"` // The horizontal position of the origin of the blur relative to the origin of coordinates of the video. % and px formats are supported: // <li>If the string ends in %, the `XPos` of the blur will be the specified percentage of the video width; for example, `10%` means that `XPos` is 10% of the video width;</li> // <li>If the string ends in px, the `XPos` of the blur will be the specified px; for example, `100px` means that `XPos` is 100 px.</li> // Default value: 0 px. XPos *string `json:"XPos,omitnil" name:"XPos"` // Vertical position of the origin of blur relative to the origin of coordinates of video. % and px formats are supported: // <li>If the string ends in %, the `YPos` of the blur will be the specified percentage of the video height; for example, `10%` means that `YPos` is 10% of the video height;</li> // <li>If the string ends in px, the `YPos` of the blur will be the specified px; for example, `100px` means that `YPos` is 100 px.</li> // Default value: 0 px. YPos *string `json:"YPos,omitnil" name:"YPos"` // Blur width. % and px formats are supported: // <li>If the string ends in %, the `Width` of the blur will be the specified percentage of the video width; for example, `10%` means that `Width` is 10% of the video width;</li> // <li>If the string ends in px, the `Width` of the blur will be in px; for example, `100px` means that `Width` is 100 px.</li> // Default value: 10%. Width *string `json:"Width,omitnil" name:"Width"` // Blur height. % and px formats are supported: // <li>If the string ends in %, the `Height` of the blur will be the specified percentage of the video height; for example, `10%` means that `Height` is 10% of the video height;</li> // <li>If the string ends in px, the `Height` of the blur will be in px; for example, `100px` means that `Height` is 100 px.</li> // Default value: 10%. Height *string `json:"Height,omitnil" name:"Height"` // Start time offset of blur in seconds. If this parameter is left empty or 0 is entered, the blur will appear upon the first video frame. // <li>If this parameter is left empty or 0 is entered, the blur will appear upon the first video frame;</li> // <li>If this value is greater than 0 (e.g., n), the blur will appear at second n after the first video frame;</li> // <li>If this value is smaller than 0 (e.g., -n), the blur will appear at second n before the last video frame.</li> StartTimeOffset *float64 `json:"StartTimeOffset,omitnil" name:"StartTimeOffset"` // End time offset of blur in seconds. // <li>If this parameter is left empty or 0 is entered, the blur will exist till the last video frame;</li> // <li>If this value is greater than 0 (e.g., n), the blur will exist till second n;</li> // <li>If this value is smaller than 0 (e.g., -n), the blur will exist till second n before the last video frame.</li> EndTimeOffset *float64 `json:"EndTimeOffset,omitnil" name:"EndTimeOffset"` }
type NumberFormat ¶
type NumberFormat struct { // Start value of the `{number}` variable. Default value: 0. InitialValue *uint64 `json:"InitialValue,omitnil" name:"InitialValue"` // Increment of the `{number}` variable. Default value: 1. Increment *uint64 `json:"Increment,omitnil" name:"Increment"` // Minimum length of the `{number}` variable. A placeholder will be used if the variable length is below the minimum requirement. Default value: 1. MinLength *uint64 `json:"MinLength,omitnil" name:"MinLength"` // Placeholder used when the `{number}` variable length is below the minimum requirement. Default value: 0. PlaceHolder *string `json:"PlaceHolder,omitnil" name:"PlaceHolder"` }
type OcrFullTextConfigureInfo ¶
type OcrFullTextConfigureInfo struct { // Switch of a full text recognition task. Valid values: // <li>ON: Enables an intelligent full text recognition task;</li> // <li>OFF: Disables an intelligent full text recognition task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` }
type OcrFullTextConfigureInfoForUpdate ¶
type OcrFullTextConfigureInfoForUpdate struct { // Switch of a full text recognition task. Valid values: // <li>ON: Enables an intelligent full text recognition task;</li> // <li>OFF: Disables an intelligent full text recognition task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` }
type OcrWordsConfigureInfo ¶
type OcrWordsConfigureInfo struct { // Switch of a text keyword recognition task. Valid values: // <li>ON: Enables a text keyword recognition task;</li> // <li>OFF: Disables a text keyword recognition task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Keyword filter tag, which specifies the keyword tag that needs to be returned. If this parameter is left empty, all results will be returned. // There can be up to 10 tags, each with a length limit of 16 characters. LabelSet []*string `json:"LabelSet,omitnil" name:"LabelSet"` }
type OcrWordsConfigureInfoForUpdate ¶
type OcrWordsConfigureInfoForUpdate struct { // Switch of a text keyword recognition task. Valid values: // <li>ON: Enables a text keyword recognition task;</li> // <li>OFF: Disables a text keyword recognition task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Keyword filter tag, which specifies the keyword tag that needs to be returned. If this parameter is left empty, all results will be returned. // There can be up to 10 tags, each with a length limit of 16 characters. LabelSet []*string `json:"LabelSet,omitnil" name:"LabelSet"` }
type OverrideTranscodeParameter ¶
type OverrideTranscodeParameter struct { // Container format. Valid values: mp4, flv, hls, mp3, flac, ogg, and m4a; mp3, flac, ogg, and m4a are formats of audio files. Container *string `json:"Container,omitnil" name:"Container"` // Whether to remove video data. Valid values: // <li>0: retain</li> // <li>1: remove</li> RemoveVideo *uint64 `json:"RemoveVideo,omitnil" name:"RemoveVideo"` // Whether to remove audio data. Valid values: // <li>0: retain</li> // <li>1: remove</li> RemoveAudio *uint64 `json:"RemoveAudio,omitnil" name:"RemoveAudio"` // Video stream configuration parameter. VideoTemplate *VideoTemplateInfoForUpdate `json:"VideoTemplate,omitnil" name:"VideoTemplate"` // Audio stream configuration parameter. AudioTemplate *AudioTemplateInfoForUpdate `json:"AudioTemplate,omitnil" name:"AudioTemplate"` // The TSC transcoding parameters. // Note: This field may return null, indicating that no valid values can be obtained. TEHDConfig *TEHDConfigForUpdate `json:"TEHDConfig,omitnil" name:"TEHDConfig"` // The subtitle settings. // Note: This field may return null, indicating that no valid values can be obtained. SubtitleTemplate *SubtitleTemplate `json:"SubtitleTemplate,omitnil" name:"SubtitleTemplate"` // The information of the external audio track to add. // Note: This field may return null, indicating that no valid values can be obtained. AddonAudioStream []*MediaInputInfo `json:"AddonAudioStream,omitnil" name:"AddonAudioStream"` // An extended field for transcoding. // Note: This field may return·null, indicating that no valid values can be obtained. StdExtInfo *string `json:"StdExtInfo,omitnil" name:"StdExtInfo"` // The subtitle file to add. // Note: This field may return·null, indicating that no valid values can be obtained. AddOnSubtitles []*AddOnSubtitle `json:"AddOnSubtitles,omitnil" name:"AddOnSubtitles"` }
type ParseLiveStreamProcessNotificationRequest ¶
type ParseLiveStreamProcessNotificationRequest struct { *tchttp.BaseRequest // Live stream event notification obtained from CMQ. Content *string `json:"Content,omitnil" name:"Content"` }
func NewParseLiveStreamProcessNotificationRequest ¶
func NewParseLiveStreamProcessNotificationRequest() (request *ParseLiveStreamProcessNotificationRequest)
func (*ParseLiveStreamProcessNotificationRequest) FromJsonString ¶
func (r *ParseLiveStreamProcessNotificationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ParseLiveStreamProcessNotificationRequest) ToJsonString ¶
func (r *ParseLiveStreamProcessNotificationRequest) ToJsonString() string
type ParseLiveStreamProcessNotificationRequestParams ¶
type ParseLiveStreamProcessNotificationRequestParams struct { // Live stream event notification obtained from CMQ. Content *string `json:"Content,omitnil" name:"Content"` }
Predefined struct for user
type ParseLiveStreamProcessNotificationResponse ¶
type ParseLiveStreamProcessNotificationResponse struct { *tchttp.BaseResponse Response *ParseLiveStreamProcessNotificationResponseParams `json:"Response"` }
func NewParseLiveStreamProcessNotificationResponse ¶
func NewParseLiveStreamProcessNotificationResponse() (response *ParseLiveStreamProcessNotificationResponse)
func (*ParseLiveStreamProcessNotificationResponse) FromJsonString ¶
func (r *ParseLiveStreamProcessNotificationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ParseLiveStreamProcessNotificationResponse) ToJsonString ¶
func (r *ParseLiveStreamProcessNotificationResponse) ToJsonString() string
type ParseLiveStreamProcessNotificationResponseParams ¶
type ParseLiveStreamProcessNotificationResponseParams struct { // Result type of live stream processing. Valid values: // <li>AiReviewResult: Content audit result;</li> // <li>ProcessEof: Live stream processing has been completed.</li> NotificationType *string `json:"NotificationType,omitnil" name:"NotificationType"` // Video processing task ID. TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // Information of a live stream processing error, which is valid when `NotificationType` is `ProcessEof`. // Note: This field may return null, indicating that no valid values can be obtained. ProcessEofInfo *LiveStreamProcessErrorInfo `json:"ProcessEofInfo,omitnil" name:"ProcessEofInfo"` // Content audit result, which is valid when `NotificationType` is `AiReviewResult`. // Note: This field may return null, indicating that no valid values can be obtained. AiReviewResultInfo *LiveStreamAiReviewResultInfo `json:"AiReviewResultInfo,omitnil" name:"AiReviewResultInfo"` // Content recognition result, which is valid if `NotificationType` is `AiRecognitionResult`. AiRecognitionResultInfo *LiveStreamAiRecognitionResultInfo `json:"AiRecognitionResultInfo,omitnil" name:"AiRecognitionResultInfo"` // The ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or an empty string is entered, no deduplication will be performed. SessionId *string `json:"SessionId,omitnil" name:"SessionId"` // The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitnil" name:"SessionContext"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ParseNotificationRequest ¶
type ParseNotificationRequest struct { *tchttp.BaseRequest // Event notification obtained from CMQ. Content *string `json:"Content,omitnil" name:"Content"` }
func NewParseNotificationRequest ¶
func NewParseNotificationRequest() (request *ParseNotificationRequest)
func (*ParseNotificationRequest) FromJsonString ¶
func (r *ParseNotificationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ParseNotificationRequest) ToJsonString ¶
func (r *ParseNotificationRequest) ToJsonString() string
type ParseNotificationRequestParams ¶
type ParseNotificationRequestParams struct { // Event notification obtained from CMQ. Content *string `json:"Content,omitnil" name:"Content"` }
Predefined struct for user
type ParseNotificationResponse ¶
type ParseNotificationResponse struct { *tchttp.BaseResponse Response *ParseNotificationResponseParams `json:"Response"` }
func NewParseNotificationResponse ¶
func NewParseNotificationResponse() (response *ParseNotificationResponse)
func (*ParseNotificationResponse) FromJsonString ¶
func (r *ParseNotificationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ParseNotificationResponse) ToJsonString ¶
func (r *ParseNotificationResponse) ToJsonString() string
type ParseNotificationResponseParams ¶
type ParseNotificationResponseParams struct { // The event type. Valid values: // <li>WorkflowTask</li> // <li>EditMediaTask</li> // <li>ScheduleTask (scheme)</li> EventType *string `json:"EventType,omitnil" name:"EventType"` // The information of a video processing task. Information will be returned only if `EventType` is `WorkflowTask`. // Note: This field may return null, indicating that no valid values can be obtained. WorkflowTaskEvent *WorkflowTask `json:"WorkflowTaskEvent,omitnil" name:"WorkflowTaskEvent"` // The information of a video editing task. Information will be returned only if `EventType` is `EditMediaTask`. // Note: This field may return null, indicating that no valid values can be obtained. EditMediaTaskEvent *EditMediaTask `json:"EditMediaTaskEvent,omitnil" name:"EditMediaTaskEvent"` // The ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or an empty string is entered, no deduplication will be performed. SessionId *string `json:"SessionId,omitnil" name:"SessionId"` // The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitnil" name:"SessionContext"` // The information of a scheme. Information will be returned only if `EventType` is `ScheduleTask`. // Note: This field may return null, indicating that no valid values can be obtained. ScheduleTaskEvent *ScheduleTask `json:"ScheduleTaskEvent,omitnil" name:"ScheduleTaskEvent"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type PoliticalAsrReviewTemplateInfo ¶
type PoliticalAsrReviewTemplateInfo struct { // Whether to detect sensitive information based on ASR. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 100 will be used by default. Value range: 0-100. BlockConfidence *int64 `json:"BlockConfidence,omitnil" name:"BlockConfidence"` // Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 75 will be used by default. Value range: 0-100. ReviewConfidence *int64 `json:"ReviewConfidence,omitnil" name:"ReviewConfidence"` }
type PoliticalAsrReviewTemplateInfoForUpdate ¶
type PoliticalAsrReviewTemplateInfoForUpdate struct { // Whether to detect sensitive information based on ASR. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. Value range: 0-100. BlockConfidence *int64 `json:"BlockConfidence,omitnil" name:"BlockConfidence"` // Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. Value range: 0-100. ReviewConfidence *int64 `json:"ReviewConfidence,omitnil" name:"ReviewConfidence"` }
type PoliticalConfigureInfo ¶
type PoliticalConfigureInfo struct { // The parameters for detecting sensitive information in images. ImgReviewInfo *PoliticalImgReviewTemplateInfo `json:"ImgReviewInfo,omitnil" name:"ImgReviewInfo"` // The parameters for detecting sensitive information based on ASR. AsrReviewInfo *PoliticalAsrReviewTemplateInfo `json:"AsrReviewInfo,omitnil" name:"AsrReviewInfo"` // The parameters for detecting sensitive information based on OCR. OcrReviewInfo *PoliticalOcrReviewTemplateInfo `json:"OcrReviewInfo,omitnil" name:"OcrReviewInfo"` }
type PoliticalConfigureInfoForUpdate ¶
type PoliticalConfigureInfoForUpdate struct { // The parameters for detecting sensitive information in images. ImgReviewInfo *PoliticalImgReviewTemplateInfoForUpdate `json:"ImgReviewInfo,omitnil" name:"ImgReviewInfo"` // The parameters for detecting sensitive information based on ASR. AsrReviewInfo *PoliticalAsrReviewTemplateInfoForUpdate `json:"AsrReviewInfo,omitnil" name:"AsrReviewInfo"` // The parameters for detecting sensitive information based on OCR. OcrReviewInfo *PoliticalOcrReviewTemplateInfoForUpdate `json:"OcrReviewInfo,omitnil" name:"OcrReviewInfo"` }
type PoliticalImgReviewTemplateInfo ¶
type PoliticalImgReviewTemplateInfo struct { // Whether to detect sensitive information in images. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // The filter labels for sensitive information detection in images, which specify the types of sensitive information to return. If this parameter is left empty, the detection results for all labels are returned. Valid values: // <li>violation_photo (banned icons)</li> // <li>politician</li> // <li>entertainment (people in the entertainment industry)</li> // <li>sport (people in the sports industry)</li> // <li>entrepreneur</li> // <li>scholar</li> // <li>celebrity</li> // <li>military (people in military)</li> LabelSet []*string `json:"LabelSet,omitnil" name:"LabelSet"` // Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 97 will be used by default. Value range: 0-100. BlockConfidence *int64 `json:"BlockConfidence,omitnil" name:"BlockConfidence"` // Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 95 will be used by default. Value range: 0-100. ReviewConfidence *int64 `json:"ReviewConfidence,omitnil" name:"ReviewConfidence"` }
type PoliticalImgReviewTemplateInfoForUpdate ¶
type PoliticalImgReviewTemplateInfoForUpdate struct { // Whether to detect sensitive information in images. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // The filter labels for sensitive information detection in images, which specify the types of sensitive information to return. If this parameter is left empty, the detection results for all labels are returned. Valid values: // <li>violation_photo (banned icons)</li> // <li>politician</li> // <li>entertainment (people in the entertainment industry)</li> // <li>sport (people in the sports industry)</li> // <li>entrepreneur</li> // <li>scholar</li> // <li>celebrity</li> // <li>military (people in military)</li> LabelSet []*string `json:"LabelSet,omitnil" name:"LabelSet"` // Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. Value range: 0-100. BlockConfidence *int64 `json:"BlockConfidence,omitnil" name:"BlockConfidence"` // Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. Value range: 0-100. ReviewConfidence *int64 `json:"ReviewConfidence,omitnil" name:"ReviewConfidence"` }
type PoliticalOcrReviewTemplateInfo ¶
type PoliticalOcrReviewTemplateInfo struct { // Whether to detect sensitive information based on OCR. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 100 will be used by default. Value range: 0-100. BlockConfidence *int64 `json:"BlockConfidence,omitnil" name:"BlockConfidence"` // Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 75 will be used by default. Value range: 0-100. ReviewConfidence *int64 `json:"ReviewConfidence,omitnil" name:"ReviewConfidence"` }
type PoliticalOcrReviewTemplateInfoForUpdate ¶
type PoliticalOcrReviewTemplateInfoForUpdate struct { // Whether to detect sensitive information based on OCR. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. Value range: 0-100. BlockConfidence *int64 `json:"BlockConfidence,omitnil" name:"BlockConfidence"` // Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. Value range: 0-100. ReviewConfidence *int64 `json:"ReviewConfidence,omitnil" name:"ReviewConfidence"` }
type PornAsrReviewTemplateInfo ¶
type PornAsrReviewTemplateInfo struct { // Switch of a porn information detection in speech task. Valid values: // <li>ON: Enables a porn information detection in speech task;</li> // <li>OFF: Disables a porn information detection in speech task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 100 will be used by default. Value range: 0-100. BlockConfidence *int64 `json:"BlockConfidence,omitnil" name:"BlockConfidence"` // Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 75 will be used by default. Value range: 0-100. ReviewConfidence *int64 `json:"ReviewConfidence,omitnil" name:"ReviewConfidence"` }
type PornAsrReviewTemplateInfoForUpdate ¶
type PornAsrReviewTemplateInfoForUpdate struct { // Switch of a porn information detection in speech task. Valid values: // <li>ON: Enables a porn information detection in speech task;</li> // <li>OFF: Disables a porn information detection in speech task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. Value range: 0-100. BlockConfidence *int64 `json:"BlockConfidence,omitnil" name:"BlockConfidence"` // Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. Value range: 0-100. ReviewConfidence *int64 `json:"ReviewConfidence,omitnil" name:"ReviewConfidence"` }
type PornConfigureInfo ¶
type PornConfigureInfo struct { // Control parameter of porn information detection in image. // Note: This field may return null, indicating that no valid values can be obtained. ImgReviewInfo *PornImgReviewTemplateInfo `json:"ImgReviewInfo,omitnil" name:"ImgReviewInfo"` // Control parameter of porn information detection in speech. // Note: This field may return null, indicating that no valid values can be obtained. AsrReviewInfo *PornAsrReviewTemplateInfo `json:"AsrReviewInfo,omitnil" name:"AsrReviewInfo"` // Control parameter of porn information detection in text. // Note: This field may return null, indicating that no valid values can be obtained. OcrReviewInfo *PornOcrReviewTemplateInfo `json:"OcrReviewInfo,omitnil" name:"OcrReviewInfo"` }
type PornConfigureInfoForUpdate ¶
type PornConfigureInfoForUpdate struct { // Control parameter of porn information detection in image. ImgReviewInfo *PornImgReviewTemplateInfoForUpdate `json:"ImgReviewInfo,omitnil" name:"ImgReviewInfo"` // Control parameter of porn information detection in speech. AsrReviewInfo *PornAsrReviewTemplateInfoForUpdate `json:"AsrReviewInfo,omitnil" name:"AsrReviewInfo"` // Control parameter of porn information detection in text. OcrReviewInfo *PornOcrReviewTemplateInfoForUpdate `json:"OcrReviewInfo,omitnil" name:"OcrReviewInfo"` }
type PornImgReviewTemplateInfo ¶
type PornImgReviewTemplateInfo struct { // Switch of a porn information detection in image task. Valid values: // <li>ON: Enables a porn information detection in image task;</li> // <li>OFF: Disables a porn information detection in image task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Filter tag for porn information detection in image. If an audit result contains the selected tag, it will be returned; if the filter tag is empty, all audit results will be returned. Valid values: // <li>porn: Porn;</li> // <li>vulgar: Vulgarity;</li> // <li>intimacy: Intimacy;</li> // <li>sexy: Sexiness.</li> LabelSet []*string `json:"LabelSet,omitnil" name:"LabelSet"` // Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 90 will be used by default. Value range: 0-100. BlockConfidence *int64 `json:"BlockConfidence,omitnil" name:"BlockConfidence"` // Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 0 will be used by default. Value range: 0-100. ReviewConfidence *int64 `json:"ReviewConfidence,omitnil" name:"ReviewConfidence"` }
type PornImgReviewTemplateInfoForUpdate ¶
type PornImgReviewTemplateInfoForUpdate struct { // Switch of a porn information detection in image task. Valid values: // <li>ON: Enables a porn information detection in image task;</li> // <li>OFF: Disables a porn information detection in image task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Filter tag for porn information detection in image. If an audit result contains the selected tag, it will be returned; if the filter tag is empty, all audit results will be returned. Valid values: // <li>porn: Porn;</li> // <li>vulgar: Vulgarity;</li> // <li>intimacy: Intimacy;</li> // <li>sexy: Sexiness.</li> LabelSet []*string `json:"LabelSet,omitnil" name:"LabelSet"` // Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. Value range: 0-100. BlockConfidence *int64 `json:"BlockConfidence,omitnil" name:"BlockConfidence"` // Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. Value range: 0-100. ReviewConfidence *int64 `json:"ReviewConfidence,omitnil" name:"ReviewConfidence"` }
type PornOcrReviewTemplateInfo ¶
type PornOcrReviewTemplateInfo struct { // Switch of a porn information detection in text task. Valid values: // <li>ON: Enables a porn information detection in text task;</li> // <li>OFF: Disables a porn information detection in text task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 100 will be used by default. Value range: 0-100. BlockConfidence *int64 `json:"BlockConfidence,omitnil" name:"BlockConfidence"` // Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 75 will be used by default. Value range: 0-100. ReviewConfidence *int64 `json:"ReviewConfidence,omitnil" name:"ReviewConfidence"` }
type PornOcrReviewTemplateInfoForUpdate ¶
type PornOcrReviewTemplateInfoForUpdate struct { // Switch of a porn information detection in text task. Valid values: // <li>ON: Enables a porn information detection in text task;</li> // <li>OFF: Disables a porn information detection in text task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. Value range: 0-100. BlockConfidence *int64 `json:"BlockConfidence,omitnil" name:"BlockConfidence"` // Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. Value range: 0-100. ReviewConfidence *int64 `json:"ReviewConfidence,omitnil" name:"ReviewConfidence"` }
type ProcessLiveStreamRequest ¶
type ProcessLiveStreamRequest struct { *tchttp.BaseRequest // Live stream URL, which must be a live stream file address. RTMP, HLS, and FLV are supported. Url *string `json:"Url,omitnil" name:"Url"` // Event notification information of a task, which is used to specify the live stream processing result. TaskNotifyConfig *LiveStreamTaskNotifyConfig `json:"TaskNotifyConfig,omitnil" name:"TaskNotifyConfig"` // Target bucket of a live stream processing output file. This parameter is required if a file will be output. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` // Target directory of a live stream processing output file, such as `/movie/201909/`. If this parameter is left empty, the `/` directory will be used. OutputDir *string `json:"OutputDir,omitnil" name:"OutputDir"` // Type parameter of a video content audit task. AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitnil" name:"AiContentReviewTask"` // Type parameter of video content recognition task. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitnil" name:"AiRecognitionTask"` // The ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or an empty string is entered, no deduplication will be performed. SessionId *string `json:"SessionId,omitnil" name:"SessionId"` // The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitnil" name:"SessionContext"` }
func NewProcessLiveStreamRequest ¶
func NewProcessLiveStreamRequest() (request *ProcessLiveStreamRequest)
func (*ProcessLiveStreamRequest) FromJsonString ¶
func (r *ProcessLiveStreamRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ProcessLiveStreamRequest) ToJsonString ¶
func (r *ProcessLiveStreamRequest) ToJsonString() string
type ProcessLiveStreamRequestParams ¶
type ProcessLiveStreamRequestParams struct { // Live stream URL, which must be a live stream file address. RTMP, HLS, and FLV are supported. Url *string `json:"Url,omitnil" name:"Url"` // Event notification information of a task, which is used to specify the live stream processing result. TaskNotifyConfig *LiveStreamTaskNotifyConfig `json:"TaskNotifyConfig,omitnil" name:"TaskNotifyConfig"` // Target bucket of a live stream processing output file. This parameter is required if a file will be output. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` // Target directory of a live stream processing output file, such as `/movie/201909/`. If this parameter is left empty, the `/` directory will be used. OutputDir *string `json:"OutputDir,omitnil" name:"OutputDir"` // Type parameter of a video content audit task. AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitnil" name:"AiContentReviewTask"` // Type parameter of video content recognition task. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitnil" name:"AiRecognitionTask"` // The ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or an empty string is entered, no deduplication will be performed. SessionId *string `json:"SessionId,omitnil" name:"SessionId"` // The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitnil" name:"SessionContext"` }
Predefined struct for user
type ProcessLiveStreamResponse ¶
type ProcessLiveStreamResponse struct { *tchttp.BaseResponse Response *ProcessLiveStreamResponseParams `json:"Response"` }
func NewProcessLiveStreamResponse ¶
func NewProcessLiveStreamResponse() (response *ProcessLiveStreamResponse)
func (*ProcessLiveStreamResponse) FromJsonString ¶
func (r *ProcessLiveStreamResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ProcessLiveStreamResponse) ToJsonString ¶
func (r *ProcessLiveStreamResponse) ToJsonString() string
type ProcessLiveStreamResponseParams ¶
type ProcessLiveStreamResponseParams struct { // Task ID TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ProcessMediaRequest ¶
type ProcessMediaRequest struct { *tchttp.BaseRequest // The information of the file to process. InputInfo *MediaInputInfo `json:"InputInfo,omitnil" name:"InputInfo"` // The storage location of the media processing output file. If this parameter is left empty, the storage location in `InputInfo` will be inherited. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` // The directory to save the media processing output file, which must start and end with `/`, such as `/movie/201907/`. // If you do not specify this parameter, the file will be saved to the directory specified in `InputInfo`. OutputDir *string `json:"OutputDir,omitnil" name:"OutputDir"` // The scheme ID. // Note 1: About `OutputStorage` and `OutputDir` // <li>If an output storage and directory are specified for a subtask of the scheme, those output settings will be applied.</li> // <li>If an output storage and directory are not specified for the subtasks of a scheme, the output parameters passed in the `ProcessMedia` API will be applied.</li> // Note 2: If `TaskNotifyConfig` is specified, the specified settings will be used instead of the default callback settings of the scheme. // // Note 3: The trigger configured for a scheme is for automatically starting a scheme. It stops working when you manually call this API to start a scheme. ScheduleId *int64 `json:"ScheduleId,omitnil" name:"ScheduleId"` // The media processing parameters to use. MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitnil" name:"MediaProcessTask"` // Type parameter of a video content audit task. AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitnil" name:"AiContentReviewTask"` // Video content analysis task parameter. AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitnil" name:"AiAnalysisTask"` // Type parameter of a video content recognition task. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitnil" name:"AiRecognitionTask"` // The parameters of a quality control task. AiQualityControlTask *AiQualityControlTaskInput `json:"AiQualityControlTask,omitnil" name:"AiQualityControlTask"` // Event notification information of a task. If this parameter is left empty, no event notifications will be obtained. TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitnil" name:"TaskNotifyConfig"` // Task flow priority. The higher the value, the higher the priority. Value range: [-10, 10]. If this parameter is left empty, 0 will be used. TasksPriority *int64 `json:"TasksPriority,omitnil" name:"TasksPriority"` // The ID used for deduplication. If there was a request with the same ID in the last three days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or an empty string is entered, no deduplication will be performed. SessionId *string `json:"SessionId,omitnil" name:"SessionId"` // The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitnil" name:"SessionContext"` // The task type. // <li> `Online` (default): A task that is executed immediately.</li> // <li> `Offline`: A task that is executed when the system is idle (within three days by default).</li> TaskType *string `json:"TaskType,omitnil" name:"TaskType"` }
func NewProcessMediaRequest ¶
func NewProcessMediaRequest() (request *ProcessMediaRequest)
func (*ProcessMediaRequest) FromJsonString ¶
func (r *ProcessMediaRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ProcessMediaRequest) ToJsonString ¶
func (r *ProcessMediaRequest) ToJsonString() string
type ProcessMediaRequestParams ¶
type ProcessMediaRequestParams struct { // The information of the file to process. InputInfo *MediaInputInfo `json:"InputInfo,omitnil" name:"InputInfo"` // The storage location of the media processing output file. If this parameter is left empty, the storage location in `InputInfo` will be inherited. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` // The directory to save the media processing output file, which must start and end with `/`, such as `/movie/201907/`. // If you do not specify this parameter, the file will be saved to the directory specified in `InputInfo`. OutputDir *string `json:"OutputDir,omitnil" name:"OutputDir"` // The scheme ID. // Note 1: About `OutputStorage` and `OutputDir` // <li>If an output storage and directory are specified for a subtask of the scheme, those output settings will be applied.</li> // <li>If an output storage and directory are not specified for the subtasks of a scheme, the output parameters passed in the `ProcessMedia` API will be applied.</li> // Note 2: If `TaskNotifyConfig` is specified, the specified settings will be used instead of the default callback settings of the scheme. // // Note 3: The trigger configured for a scheme is for automatically starting a scheme. It stops working when you manually call this API to start a scheme. ScheduleId *int64 `json:"ScheduleId,omitnil" name:"ScheduleId"` // The media processing parameters to use. MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitnil" name:"MediaProcessTask"` // Type parameter of a video content audit task. AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitnil" name:"AiContentReviewTask"` // Video content analysis task parameter. AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitnil" name:"AiAnalysisTask"` // Type parameter of a video content recognition task. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitnil" name:"AiRecognitionTask"` // The parameters of a quality control task. AiQualityControlTask *AiQualityControlTaskInput `json:"AiQualityControlTask,omitnil" name:"AiQualityControlTask"` // Event notification information of a task. If this parameter is left empty, no event notifications will be obtained. TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitnil" name:"TaskNotifyConfig"` // Task flow priority. The higher the value, the higher the priority. Value range: [-10, 10]. If this parameter is left empty, 0 will be used. TasksPriority *int64 `json:"TasksPriority,omitnil" name:"TasksPriority"` // The ID used for deduplication. If there was a request with the same ID in the last three days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or an empty string is entered, no deduplication will be performed. SessionId *string `json:"SessionId,omitnil" name:"SessionId"` // The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters. SessionContext *string `json:"SessionContext,omitnil" name:"SessionContext"` // The task type. // <li> `Online` (default): A task that is executed immediately.</li> // <li> `Offline`: A task that is executed when the system is idle (within three days by default).</li> TaskType *string `json:"TaskType,omitnil" name:"TaskType"` }
Predefined struct for user
type ProcessMediaResponse ¶
type ProcessMediaResponse struct { *tchttp.BaseResponse Response *ProcessMediaResponseParams `json:"Response"` }
func NewProcessMediaResponse ¶
func NewProcessMediaResponse() (response *ProcessMediaResponse)
func (*ProcessMediaResponse) FromJsonString ¶
func (r *ProcessMediaResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ProcessMediaResponse) ToJsonString ¶
func (r *ProcessMediaResponse) ToJsonString() string
type ProcessMediaResponseParams ¶
type ProcessMediaResponseParams struct { // Task ID. TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ProhibitedAsrReviewTemplateInfo ¶
type ProhibitedAsrReviewTemplateInfo struct { // Switch of prohibited information detection in speech task. Valid values: // <li>ON: enables prohibited information detection in speech task;</li> // <li>OFF: disables prohibited information detection in speech task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 100 will be used by default. Value range: 0–100. BlockConfidence *int64 `json:"BlockConfidence,omitnil" name:"BlockConfidence"` // Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 75 will be used by default. Value range: 0–100. ReviewConfidence *int64 `json:"ReviewConfidence,omitnil" name:"ReviewConfidence"` }
type ProhibitedAsrReviewTemplateInfoForUpdate ¶
type ProhibitedAsrReviewTemplateInfoForUpdate struct { // Switch of prohibited information detection in speech task. Valid values: // <li>ON: enables prohibited information detection in speech task;</li> // <li>OFF: disables prohibited information detection in speech task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 100 will be used by default. Value range: 0–100. BlockConfidence *int64 `json:"BlockConfidence,omitnil" name:"BlockConfidence"` // Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 75 will be used by default. Value range: 0–100. ReviewConfidence *int64 `json:"ReviewConfidence,omitnil" name:"ReviewConfidence"` }
type ProhibitedConfigureInfo ¶
type ProhibitedConfigureInfo struct { // Control parameter of prohibited information detection in speech. AsrReviewInfo *ProhibitedAsrReviewTemplateInfo `json:"AsrReviewInfo,omitnil" name:"AsrReviewInfo"` // Control parameter of prohibited information detection in text. OcrReviewInfo *ProhibitedOcrReviewTemplateInfo `json:"OcrReviewInfo,omitnil" name:"OcrReviewInfo"` }
type ProhibitedConfigureInfoForUpdate ¶
type ProhibitedConfigureInfoForUpdate struct { // Control parameter of prohibited information detection in speech. AsrReviewInfo *ProhibitedAsrReviewTemplateInfoForUpdate `json:"AsrReviewInfo,omitnil" name:"AsrReviewInfo"` // Control parameter of prohibited information detection in text. OcrReviewInfo *ProhibitedOcrReviewTemplateInfoForUpdate `json:"OcrReviewInfo,omitnil" name:"OcrReviewInfo"` }
type ProhibitedOcrReviewTemplateInfo ¶
type ProhibitedOcrReviewTemplateInfo struct { // Switch of prohibited information detection in text task. Valid values: // <li>ON: enables prohibited information detection in text task;</li> // <li>OFF: disables prohibited information detection in text task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 100 will be used by default. Value range: 0–100. BlockConfidence *int64 `json:"BlockConfidence,omitnil" name:"BlockConfidence"` // Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 75 will be used by default. Value range: 0–100. ReviewConfidence *int64 `json:"ReviewConfidence,omitnil" name:"ReviewConfidence"` }
type ProhibitedOcrReviewTemplateInfoForUpdate ¶
type ProhibitedOcrReviewTemplateInfoForUpdate struct { // Switch of prohibited information detection in text task. Valid values: // <li>ON: enables prohibited information detection in text task;</li> // <li>OFF: disables prohibited information detection in text task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 100 will be used by default. Value range: 0–100. BlockConfidence *int64 `json:"BlockConfidence,omitnil" name:"BlockConfidence"` // Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 75 will be used by default. Value range: 0–100. ReviewConfidence *int64 `json:"ReviewConfidence,omitnil" name:"ReviewConfidence"` }
type QualityControlData ¶
type QualityControlData struct { // Whether there is an audio track. `true` indicates that there isn't. // Note: This field may return null, indicating that no valid values can be obtained. NoAudio *bool `json:"NoAudio,omitnil" name:"NoAudio"` // Whether there is a video track. `true` indicates that there isn't. // Note: This field may return null, indicating that no valid values can be obtained. NoVideo *bool `json:"NoVideo,omitnil" name:"NoVideo"` // The no-reference video quality score. Value range: 0-100. // Note: This field may return null, indicating that no valid values can be obtained. QualityEvaluationScore *int64 `json:"QualityEvaluationScore,omitnil" name:"QualityEvaluationScore"` // The issues detected by quality control. // Note: This field may return null, indicating that no valid values can be obtained. QualityControlResultSet []*QualityControlResult `json:"QualityControlResultSet,omitnil" name:"QualityControlResultSet"` }
type QualityControlItem ¶
type QualityControlItem struct { // The confidence score. Value range: 0-100. // Note: This field may return null, indicating that no valid values can be obtained. Confidence *int64 `json:"Confidence,omitnil" name:"Confidence"` // The start timestamp (second) of the segment. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil" name:"StartTimeOffset"` // The end timestamp (second) of the segment. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil" name:"EndTimeOffset"` // The coordinates (px) of the top left and bottom right corner. // Note: This field may return null, indicating that no valid values can be obtained. AreaCoordSet []*int64 `json:"AreaCoordSet,omitnil" name:"AreaCoordSet"` }
type QualityControlResult ¶
type QualityControlResult struct { // The issue type. Valid values: // `Jitter` // `Blur` // `LowLighting` // `HighLighting` (overexposure) // `CrashScreen` (video corruption) // `BlackWhiteEdge` // `SolidColorScreen` (blank screen) // `Noise` // `Mosaic` (pixelation) // `QRCode` // `AppletCode` (Weixin Mini Program code) // `BarCode` // `LowVoice` // `HighVoice` // `NoVoice` // `LowEvaluation` (low no-reference video quality score) Type *string `json:"Type,omitnil" name:"Type"` // The information of a checked segment in quality control. QualityControlItems []*QualityControlItem `json:"QualityControlItems,omitnil" name:"QualityControlItems"` }
type RawImageWatermarkInput ¶
type RawImageWatermarkInput struct { // Input content of watermark image. JPEG and PNG images are supported. ImageContent *MediaInputInfo `json:"ImageContent,omitnil" name:"ImageContent"` // Watermark width. % and px formats are supported: // <li>If the string ends in %, the `Width` of the watermark will be the specified percentage of the video width; for example, `10%` means that `Width` is 10% of the video width;</li> // <li>If the string ends in px, the `Width` of the watermark will be in px; for example, `100px` means that `Width` is 100 px.</li> // Default value: 10%. Width *string `json:"Width,omitnil" name:"Width"` // Watermark height. % and px formats are supported: // <li>If the string ends in %, the `Height` of the watermark will be the specified percentage of the video height; for example, `10%` means that `Height` is 10% of the video height;</li> // <li>If the string ends in px, the `Height` of the watermark will be in px; for example, `100px` means that `Height` is 100 px.</li> // Default value: 0 px, which means that `Height` will be proportionally scaled according to the aspect ratio of the original watermark image. Height *string `json:"Height,omitnil" name:"Height"` // Repeat type of an animated watermark. Valid values: // <li>`once`: no longer appears after watermark playback ends.</li> // <li>`repeat_last_frame`: stays on the last frame after watermark playback ends.</li> // <li>`repeat` (default): repeats the playback until the video ends.</li> RepeatType *string `json:"RepeatType,omitnil" name:"RepeatType"` }
type RawTranscodeParameter ¶
type RawTranscodeParameter struct { // Container. Valid values: mp4; flv; hls; mp3; flac; ogg; m4a. Among them, mp3, flac, ogg, and m4a are for audio files. Container *string `json:"Container,omitnil" name:"Container"` // Whether to remove video data. Valid values: // <li>0: retain;</li> // <li>1: remove.</li> // Default value: 0. RemoveVideo *int64 `json:"RemoveVideo,omitnil" name:"RemoveVideo"` // Whether to remove audio data. Valid values: // <li>0: retain;</li> // <li>1: remove.</li> // Default value: 0. RemoveAudio *int64 `json:"RemoveAudio,omitnil" name:"RemoveAudio"` // Video stream configuration parameter. This field is required when `RemoveVideo` is 0. VideoTemplate *VideoTemplateInfo `json:"VideoTemplate,omitnil" name:"VideoTemplate"` // Audio stream configuration parameter. This field is required when `RemoveAudio` is 0. AudioTemplate *AudioTemplateInfo `json:"AudioTemplate,omitnil" name:"AudioTemplate"` // TESHD transcoding parameter. TEHDConfig *TEHDConfig `json:"TEHDConfig,omitnil" name:"TEHDConfig"` }
type RawWatermarkParameter ¶
type RawWatermarkParameter struct { // Watermark type. Valid values: // <li>image: image watermark.</li> Type *string `json:"Type,omitnil" name:"Type"` // Origin position, which currently can only be: // <li>TopLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text.</li> // Default value: TopLeft. CoordinateOrigin *string `json:"CoordinateOrigin,omitnil" name:"CoordinateOrigin"` // The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: // <li>If the string ends in %, the `XPos` of the watermark will be the specified percentage of the video width; for example, `10%` means that `XPos` is 10% of the video width;</li> // <li>If the string ends in px, the `XPos` of the watermark will be the specified px; for example, `100px` means that `XPos` is 100 px.</li> // Default value: 0 px. XPos *string `json:"XPos,omitnil" name:"XPos"` // The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: // <li>If the string ends in %, the `YPos` of the watermark will be the specified percentage of the video height; for example, `10%` means that `YPos` is 10% of the video height;</li> // <li>If the string ends in px, the `YPos` of the watermark will be the specified px; for example, `100px` means that `YPos` is 100 px.</li> // Default value: 0 px. YPos *string `json:"YPos,omitnil" name:"YPos"` // Image watermark template. This field is required when `Type` is `image` and is invalid when `Type` is `text`. ImageTemplate *RawImageWatermarkInput `json:"ImageTemplate,omitnil" name:"ImageTemplate"` }
type ResetWorkflowRequest ¶
type ResetWorkflowRequest struct { *tchttp.BaseRequest // Workflow ID. WorkflowId *int64 `json:"WorkflowId,omitnil" name:"WorkflowId"` // Workflow name of up to 128 characters, which must be unique for the same user. WorkflowName *string `json:"WorkflowName,omitnil" name:"WorkflowName"` // Triggering rule bound to a workflow. If an uploaded video hits the rule for the object, the workflow will be triggered. Trigger *WorkflowTrigger `json:"Trigger,omitnil" name:"Trigger"` // Output configuration of a video processing output file. If this parameter is left empty, the storage location in `Trigger` will be inherited. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` // Target directory of a video processing output file, such as `/movie/201907/`. If this parameter is left empty, the file will be outputted to the same directory where the source file is located, i.e.; `{inputDir}`. OutputDir *string `json:"OutputDir,omitnil" name:"OutputDir"` // Parameter of a video processing task. MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitnil" name:"MediaProcessTask"` // Type parameter of a video content audit task. AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitnil" name:"AiContentReviewTask"` // Video content analysis task parameter. AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitnil" name:"AiAnalysisTask"` // Type parameter of a video content recognition task. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitnil" name:"AiRecognitionTask"` // Workflow priority. The higher the value, the higher the priority. Value range: [-10, 10]. If this parameter is left empty, 0 will be used. TaskPriority *int64 `json:"TaskPriority,omitnil" name:"TaskPriority"` // Event notification information of a task. If this parameter is left empty, no event notifications will be obtained. TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitnil" name:"TaskNotifyConfig"` }
func NewResetWorkflowRequest ¶
func NewResetWorkflowRequest() (request *ResetWorkflowRequest)
func (*ResetWorkflowRequest) FromJsonString ¶
func (r *ResetWorkflowRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetWorkflowRequest) ToJsonString ¶
func (r *ResetWorkflowRequest) ToJsonString() string
type ResetWorkflowRequestParams ¶
type ResetWorkflowRequestParams struct { // Workflow ID. WorkflowId *int64 `json:"WorkflowId,omitnil" name:"WorkflowId"` // Workflow name of up to 128 characters, which must be unique for the same user. WorkflowName *string `json:"WorkflowName,omitnil" name:"WorkflowName"` // Triggering rule bound to a workflow. If an uploaded video hits the rule for the object, the workflow will be triggered. Trigger *WorkflowTrigger `json:"Trigger,omitnil" name:"Trigger"` // Output configuration of a video processing output file. If this parameter is left empty, the storage location in `Trigger` will be inherited. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` // Target directory of a video processing output file, such as `/movie/201907/`. If this parameter is left empty, the file will be outputted to the same directory where the source file is located, i.e.; `{inputDir}`. OutputDir *string `json:"OutputDir,omitnil" name:"OutputDir"` // Parameter of a video processing task. MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitnil" name:"MediaProcessTask"` // Type parameter of a video content audit task. AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitnil" name:"AiContentReviewTask"` // Video content analysis task parameter. AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitnil" name:"AiAnalysisTask"` // Type parameter of a video content recognition task. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitnil" name:"AiRecognitionTask"` // Workflow priority. The higher the value, the higher the priority. Value range: [-10, 10]. If this parameter is left empty, 0 will be used. TaskPriority *int64 `json:"TaskPriority,omitnil" name:"TaskPriority"` // Event notification information of a task. If this parameter is left empty, no event notifications will be obtained. TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitnil" name:"TaskNotifyConfig"` }
Predefined struct for user
type ResetWorkflowResponse ¶
type ResetWorkflowResponse struct { *tchttp.BaseResponse Response *ResetWorkflowResponseParams `json:"Response"` }
func NewResetWorkflowResponse ¶
func NewResetWorkflowResponse() (response *ResetWorkflowResponse)
func (*ResetWorkflowResponse) FromJsonString ¶
func (r *ResetWorkflowResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetWorkflowResponse) ToJsonString ¶
func (r *ResetWorkflowResponse) ToJsonString() string
type ResetWorkflowResponseParams ¶
type ResetWorkflowResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type S3InputInfo ¶
type S3InputInfo struct { // The AWS S3 bucket. S3Bucket *string `json:"S3Bucket,omitnil" name:"S3Bucket"` // The region of the AWS S3 bucket. S3Region *string `json:"S3Region,omitnil" name:"S3Region"` // The path of the AWS S3 object. S3Object *string `json:"S3Object,omitnil" name:"S3Object"` // The key ID required to access the AWS S3 object. S3SecretId *string `json:"S3SecretId,omitnil" name:"S3SecretId"` // The key required to access the AWS S3 object. S3SecretKey *string `json:"S3SecretKey,omitnil" name:"S3SecretKey"` }
type S3OutputStorage ¶
type S3OutputStorage struct { // The AWS S3 bucket. S3Bucket *string `json:"S3Bucket,omitnil" name:"S3Bucket"` // The region of the AWS S3 bucket. S3Region *string `json:"S3Region,omitnil" name:"S3Region"` // The key ID required to upload files to the AWS S3 object. S3SecretId *string `json:"S3SecretId,omitnil" name:"S3SecretId"` // The key required to upload files to the AWS S3 object. S3SecretKey *string `json:"S3SecretKey,omitnil" name:"S3SecretKey"` }
type SampleSnapshotTaskInput ¶
type SampleSnapshotTaskInput struct { // Sampled screencapturing template ID. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // List of up to 10 image or text watermarks. // Note: This field may return null, indicating that no valid values can be obtained. WatermarkSet []*WatermarkInput `json:"WatermarkSet,omitnil" name:"WatermarkSet"` // Target bucket of a sampled screenshot. If this parameter is left empty, the `OutputStorage` value of the upper folder will be inherited. // Note: This field may return null, indicating that no valid values can be obtained. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` // Output path to a generated sampled screenshot, which can be a relative path or an absolute path. If this parameter is left empty, the following relative path will be used by default: `{inputName}_sampleSnapshot_{definition}_{number}.{format}`. OutputObjectPath *string `json:"OutputObjectPath,omitnil" name:"OutputObjectPath"` // Rule of the `{number}` variable in the sampled screenshot output path. // Note: This field may return null, indicating that no valid values can be obtained. ObjectNumberFormat *NumberFormat `json:"ObjectNumberFormat,omitnil" name:"ObjectNumberFormat"` }
type SampleSnapshotTemplate ¶
type SampleSnapshotTemplate struct { // Unique ID of a sampled screencapturing template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // Template type. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil" name:"Type"` // Name of a sampled screencapturing template. Name *string `json:"Name,omitnil" name:"Name"` // Template description. Comment *string `json:"Comment,omitnil" name:"Comment"` // Maximum value of the width (or long side) of a screenshot in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Width *uint64 `json:"Width,omitnil" name:"Width"` // Maximum value of the height (or short side) of a screenshot in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Height *uint64 `json:"Height,omitnil" name:"Height"` // Resolution adaption. Valid values: // <li>open: Enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: Disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitnil" name:"ResolutionAdaptive"` // Image format. Format *string `json:"Format,omitnil" name:"Format"` // Sampled screencapturing type. SampleType *string `json:"SampleType,omitnil" name:"SampleType"` // Sampling interval. SampleInterval *uint64 `json:"SampleInterval,omitnil" name:"SampleInterval"` // Creation time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Last modified time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: Stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: Fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // <li>white: Fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks.</li> // <li>gauss: Fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.</li> // Default value: black. FillType *string `json:"FillType,omitnil" name:"FillType"` }
type ScheduleAnalysisTaskResult ¶
type ScheduleAnalysisTaskResult struct { // The task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task has failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // The error code. 0 indicates the task is successful; other values indicate the task has failed. This parameter is not recommended. Please use `ErrCodeExt` instead. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // The error message. Message *string `json:"Message,omitnil" name:"Message"` // The input of the content analysis task. Input *AiAnalysisTaskInput `json:"Input,omitnil" name:"Input"` // The output of the content analysis task. // Note: This field may return null, indicating that no valid values can be obtained. Output []*AiAnalysisResult `json:"Output,omitnil" name:"Output"` }
type ScheduleQualityControlTaskResult ¶
type ScheduleQualityControlTaskResult struct { // The task status. Valid values: `PROCESSING`, `SUCCESS`, `FAIL`. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value indicates the task has failed. For details, see [Error Codes](https://www.tencentcloud.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // The error code. `0` indicates the task is successful; other values indicate the task has failed. This parameter is not recommended. Please use `ErrCodeExt` instead. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // The error message. Message *string `json:"Message,omitnil" name:"Message"` // The input of the quality control task. Input *AiQualityControlTaskInput `json:"Input,omitnil" name:"Input"` // The output of the quality control task. // Note: This field may return null, indicating that no valid values can be obtained. Output *QualityControlData `json:"Output,omitnil" name:"Output"` }
type ScheduleRecognitionTaskResult ¶
type ScheduleRecognitionTaskResult struct { // The task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task has failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // The error code. 0 indicates the task is successful; other values indicate the task has failed. This parameter is not recommended. Please use `ErrCodeExt` instead. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // The error message. Message *string `json:"Message,omitnil" name:"Message"` // The input of the content recognition task. Input *AiRecognitionTaskInput `json:"Input,omitnil" name:"Input"` // The output of the content recognition task. // Note: This field may return null, indicating that no valid values can be obtained. Output []*AiRecognitionResult `json:"Output,omitnil" name:"Output"` }
type ScheduleReviewTaskResult ¶
type ScheduleReviewTaskResult struct { // The task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil" name:"Status"` // The error code. An empty string indicates the task is successful; any other value returned indicates the task has failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249). ErrCodeExt *string `json:"ErrCodeExt,omitnil" name:"ErrCodeExt"` // The error code. 0 indicates the task is successful; other values indicate the task has failed. This parameter is not recommended. Please use `ErrCodeExt` instead. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // The error message. Message *string `json:"Message,omitnil" name:"Message"` // The input of the content moderation task. Input *AiContentReviewTaskInput `json:"Input,omitnil" name:"Input"` // The output of the content moderation task. // Note: This field may return null, indicating that no valid values can be obtained. Output []*AiContentReviewResult `json:"Output,omitnil" name:"Output"` }
type ScheduleTask ¶
type ScheduleTask struct { // The scheme ID. TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // The scheme status. Valid values: // <li>PROCESSING</li> // <li>FINISH</li> Status *string `json:"Status,omitnil" name:"Status"` // If the value returned is not 0, there was a source error. If 0 is returned, refer to the error codes of the corresponding task type. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // If there was a source error, this parameter is the error message. For other errors, refer to the error messages of the corresponding task type. Message *string `json:"Message,omitnil" name:"Message"` // The information of the file processed. // Note: This field may return null, indicating that no valid values can be obtained. InputInfo *MediaInputInfo `json:"InputInfo,omitnil" name:"InputInfo"` // The metadata of the source video. // Note: This field may return null, indicating that no valid values can be obtained. MetaData *MediaMetaData `json:"MetaData,omitnil" name:"MetaData"` // The output of the scheme. // Note: This field may return null, indicating that no valid values can be obtained. ActivityResultSet []*ActivityResult `json:"ActivityResultSet,omitnil" name:"ActivityResultSet"` }
type SchedulesInfo ¶
type SchedulesInfo struct { // The scheme ID. ScheduleId *int64 `json:"ScheduleId,omitnil" name:"ScheduleId"` // The scheme name. // Note: This field may return null, indicating that no valid values can be obtained. ScheduleName *string `json:"ScheduleName,omitnil" name:"ScheduleName"` // The scheme status. Valid values: // `Enabled` // `Disabled` // Note: This field may return null, indicating that no valid values can be obtained. Status []*string `json:"Status,omitnil" name:"Status"` // The trigger of the scheme. // Note: This field may return null, indicating that no valid values can be obtained. Trigger *WorkflowTrigger `json:"Trigger,omitnil" name:"Trigger"` // The subtasks of the scheme. // Note: This field may return null, indicating that no valid values can be obtained. Activities []*Activity `json:"Activities,omitnil" name:"Activities"` // The bucket to save the output file. // Note: This field may return null, indicating that no valid values can be obtained. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` // The directory to save the output file. // Note: This field may return null, indicating that no valid values can be obtained. OutputDir *string `json:"OutputDir,omitnil" name:"OutputDir"` // The notification configuration. // Note: This field may return null, indicating that no valid values can be obtained. TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitnil" name:"TaskNotifyConfig"` // The creation time in [ISO date format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52). // Note: This field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // The last updated time in [ISO date format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52). // Note: This field may return null, indicating that no valid values can be obtained. UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` }
type ScratchRepairConfig ¶
type ScratchRepairConfig struct { // Whether to enable the feature. Valid values: // <li>ON</li> // <li>OFF</li> // Default value: ON. Switch *string `json:"Switch,omitnil" name:"Switch"` // The strength. Value range: 0.0-1.0 // Default value: 0.0 // Note: This field may return null, indicating that no valid values can be obtained. Intensity *float64 `json:"Intensity,omitnil" name:"Intensity"` }
type SharpEnhanceConfig ¶
type SharpEnhanceConfig struct { // Whether to enable the feature. Valid values: // <li>ON</li> // <li>OFF</li> // Default value: ON. Switch *string `json:"Switch,omitnil" name:"Switch"` // The strength. Value range: 0.0-1.0 // Default value: 0.0 // Note: This field may return null, indicating that no valid values can be obtained. Intensity *float64 `json:"Intensity,omitnil" name:"Intensity"` }
type SnapshotByTimeOffsetTaskInput ¶
type SnapshotByTimeOffsetTaskInput struct { // ID of a time point screencapturing template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // List of screenshot time points in the format of `s` or `%`: // <li>If the string ends in `s`, it means that the time point is in seconds; for example, `3.5s` means that the time point is the 3.5th second;</li> // <li>If the string ends in `%`, it means that the time point is the specified percentage of the video duration; for example, `10%` means that the time point is 10% of the video duration.</li> ExtTimeOffsetSet []*string `json:"ExtTimeOffsetSet,omitnil" name:"ExtTimeOffsetSet"` // List of time points of screenshots in <font color=red>seconds</font>. TimeOffsetSet []*float64 `json:"TimeOffsetSet,omitnil" name:"TimeOffsetSet"` // List of up to 10 image or text watermarks. // Note: This field may return null, indicating that no valid values can be obtained. WatermarkSet []*WatermarkInput `json:"WatermarkSet,omitnil" name:"WatermarkSet"` // Target bucket of a generated time point screenshot file. If this parameter is left empty, the `OutputStorage` value of the upper folder will be inherited. // Note: This field may return null, indicating that no valid values can be obtained. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` // Output path to a generated time point screenshot, which can be a relative path or an absolute path. If this parameter is left empty, the following relative path will be used by default: `{inputName}_snapshotByTimeOffset_{definition}_{number}.{format}`. OutputObjectPath *string `json:"OutputObjectPath,omitnil" name:"OutputObjectPath"` // Rule of the `{number}` variable in the time point screenshot output path. // Note: This field may return null, indicating that no valid values can be obtained. ObjectNumberFormat *NumberFormat `json:"ObjectNumberFormat,omitnil" name:"ObjectNumberFormat"` }
type SnapshotByTimeOffsetTemplate ¶
type SnapshotByTimeOffsetTemplate struct { // Unique ID of a time point screencapturing template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // Template type. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil" name:"Type"` // Name of a time point screencapturing template. Name *string `json:"Name,omitnil" name:"Name"` // Template description. Comment *string `json:"Comment,omitnil" name:"Comment"` // Maximum value of the width (or long side) of a screenshot in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Width *uint64 `json:"Width,omitnil" name:"Width"` // Maximum value of the height (or short side) of a screenshot in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Height *uint64 `json:"Height,omitnil" name:"Height"` // Resolution adaption. Valid values: // <li>open: Enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li> // <li>close: Disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li> // Default value: open. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitnil" name:"ResolutionAdaptive"` // Image format. Format *string `json:"Format,omitnil" name:"Format"` // Creation time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Last modified time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: Stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: Fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // <li>white: Fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks.</li> // <li>gauss: Fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.</li> // Default value: black. FillType *string `json:"FillType,omitnil" name:"FillType"` }
type SubtitleTemplate ¶
type SubtitleTemplate struct { // The URL of the subtitles to add to the video. // Note: This field may return·null, indicating that no valid values can be obtained. Path *string `json:"Path,omitnil" name:"Path"` // The subtitle track to add to the video. If both `Path` and `StreamIndex` are specified, `Path` will be used. You need to specify at least one of the two parameters. // Note: This field may return·null, indicating that no valid values can be obtained. StreamIndex *int64 `json:"StreamIndex,omitnil" name:"StreamIndex"` // The font. Valid values: // <li>`hei.ttf`: Heiti.</li> // <li>`song.ttf`: Songti.</li> // <li>`simkai.ttf`: Kaiti.</li> // <li>`arial.ttf`: Arial.</li> // The default is `hei.ttf`. // Note: This field may return·null, indicating that no valid values can be obtained. FontType *string `json:"FontType,omitnil" name:"FontType"` // The font size (pixels). If this is not specified, the font size in the subtitle file will be used. // Note: This field may return·null, indicating that no valid values can be obtained. FontSize *string `json:"FontSize,omitnil" name:"FontSize"` // The font color in 0xRRGGBB format. Default value: 0xFFFFFF (white). // Note: This field may return·null, indicating that no valid values can be obtained. FontColor *string `json:"FontColor,omitnil" name:"FontColor"` // The text transparency. Value range: 0-1. // <li>`0`: Fully transparent.</li> // <li>`1`: Fully opaque.</li> // Default value: 1. // Note: This field may return·null, indicating that no valid values can be obtained. FontAlpha *float64 `json:"FontAlpha,omitnil" name:"FontAlpha"` }
type SuperResolutionConfig ¶
type SuperResolutionConfig struct { // Whether to enable the feature. Valid values: // <li>ON</li> // <li>OFF</li> // Default value: ON. Switch *string `json:"Switch,omitnil" name:"Switch"` // The strength. Valid values: // <li>lq: For low-resolution videos with obvious noise</li> // <li>hq: For high-resolution videos</li> // Default value: lq. // Note: This field may return null, indicating that no valid values can be obtained. Type *string `json:"Type,omitnil" name:"Type"` // The ratio of the target resolution to the original resolution. Valid values: // <li>2</li> // Default value: 2. // Note: This field may return null, indicating that no valid values can be obtained. Size *int64 `json:"Size,omitnil" name:"Size"` }
type SvgWatermarkInput ¶
type SvgWatermarkInput struct { // Watermark width, which supports six formats of px, %, W%, H%, S%, and L%: // <li>If the string ends in px, the `Width` of the watermark will be in px; for example, `100px` means that `Width` is 100 px; if `0px` is entered // and `Height` is not `0px`, the watermark width will be proportionally scaled based on the source SVG image; if `0px` is entered for both `Width` and `Height`, the watermark width will be the width of the source SVG image;</li> // <li>If the string ends in `W%`, the `Width` of the watermark will be the specified percentage of the video width; for example, `10W%` means that `Width` is 10% of the video width;</li> // <li>If the string ends in `H%`, the `Width` of the watermark will be the specified percentage of the video height; for example, `10H%` means that `Width` is 10% of the video height;</li> // <li>If the string ends in `S%`, the `Width` of the watermark will be the specified percentage of the short side of the video; for example, `10S%` means that `Width` is 10% of the short side of the video;</li> // <li>If the string ends in `L%`, the `Width` of the watermark will be the specified percentage of the long side of the video; for example, `10L%` means that `Width` is 10% of the long side of the video;</li> // <li>If the string ends in %, the meaning is the same as `W%`.</li> // Default value: 10W%. Width *string `json:"Width,omitnil" name:"Width"` // Watermark height, which supports six formats of px, %, W%, H%, S%, and L%: // <li>If the string ends in px, the `Height` of the watermark will be in px; for example, `100px` means that `Height` is 100 px; if `0px` is entered // and `Width` is not `0px`, the watermark height will be proportionally scaled based on the source SVG image; if `0px` is entered for both `Width` and `Height`, the watermark height will be the height of the source SVG image;</li> // <li>If the string ends in `W%`, the `Height` of the watermark will be the specified percentage of the video width; for example, `10W%` means that `Height` is 10% of the video width;</li> // <li>If the string ends in `H%`, the `Height` of the watermark will be the specified percentage of the video height; for example, `10H%` means that `Height` is 10% of the video height;</li> // <li>If the string ends in `S%`, the `Height` of the watermark will be the specified percentage of the short side of the video; for example, `10S%` means that `Height` is 10% of the short side of the video;</li> // <li>If the string ends in `L%`, the `Height` of the watermark will be the specified percentage of the long side of the video; for example, `10L%` means that `Height` is 10% of the long side of the video;</li> // <li>If the string ends in %, the meaning is the same as `H%`.</li> // Default value: 0 px. Height *string `json:"Height,omitnil" name:"Height"` }
type SvgWatermarkInputForUpdate ¶
type SvgWatermarkInputForUpdate struct { // Watermark width, which supports six formats of px, %, W%, H%, S%, and L%: // <li>If the string ends in px, the `Width` of the watermark will be in px; for example, `100px` means that `Width` is 100 px; if `0px` is entered // and `Height` is not `0px`, the watermark width will be proportionally scaled based on the source SVG image; if `0px` is entered for both `Width` and `Height`, the watermark width will be the width of the source SVG image;</li> // <li>If the string ends in `W%`, the `Width` of the watermark will be the specified percentage of the video width; for example, `10W%` means that `Width` is 10% of the video width;</li> // <li>If the string ends in `H%`, the `Width` of the watermark will be the specified percentage of the video height; for example, `10H%` means that `Width` is 10% of the video height;</li> // <li>If the string ends in `S%`, the `Width` of the watermark will be the specified percentage of the short side of the video; for example, `10S%` means that `Width` is 10% of the short side of the video;</li> // <li>If the string ends in `L%`, the `Width` of the watermark will be the specified percentage of the long side of the video; for example, `10L%` means that `Width` is 10% of the long side of the video;</li> // <li>If the string ends in %, the meaning is the same as `W%`.</li> // Default value: 10W%. Width *string `json:"Width,omitnil" name:"Width"` // Watermark height, which supports six formats of px, %, W%, H%, S%, and L%: // <li>If the string ends in px, the `Height` of the watermark will be in px; for example, `100px` means that `Height` is 100 px; if `0px` is entered // and `Width` is not `0px`, the watermark height will be proportionally scaled based on the source SVG image; if `0px` is entered for both `Width` and `Height`, the watermark height will be the height of the source SVG image;</li> // <li>If the string ends in `W%`, the `Height` of the watermark will be the specified percentage of the video width; for example, `10W%` means that `Height` is 10% of the video width;</li> // <li>If the string ends in `H%`, the `Height` of the watermark will be the specified percentage of the video height; for example, `10H%` means that `Height` is 10% of the video height;</li> // <li>If the string ends in `S%`, the `Height` of the watermark will be the specified percentage of the short side of the video; for example, `10S%` means that `Height` is 10% of the short side of the video;</li> // <li>If the string ends in `L%`, the `Height` of the watermark will be the specified percentage of the long side of the video; for example, `10L%` means that `Height` is 10% of the long side of the video;</li> // <li>If the string ends in %, the meaning is the same as `H%`. // Default value: 0 px. Height *string `json:"Height,omitnil" name:"Height"` }
type TEHDConfig ¶
type TEHDConfig struct { // TESHD type. Valid values: // <li>TEHD-100: TESHD-100.</li> // If this parameter is left empty, TESHD will not be enabled. Type *string `json:"Type,omitnil" name:"Type"` // Maximum bitrate, which is valid when `Type` is `TESHD`. // If this parameter is left empty or 0 is entered, there will be no upper limit for bitrate. MaxVideoBitrate *uint64 `json:"MaxVideoBitrate,omitnil" name:"MaxVideoBitrate"` }
type TEHDConfigForUpdate ¶
type TEHDConfigForUpdate struct { // The TSC type. Valid values: // <li>`TEHD-100`: TSC-100 (video TSC). </li> // <li>`TEHD-200`: TSC-200 (audio TSC). </li> // If this parameter is left blank, no modification will be made. // Note: This field may return·null, indicating that no valid values can be obtained. Type *string `json:"Type,omitnil" name:"Type"` // The maximum video bitrate. If this parameter is not specified, no modifications will be made. // Note: This field may return·null, indicating that no valid values can be obtained. MaxVideoBitrate *uint64 `json:"MaxVideoBitrate,omitnil" name:"MaxVideoBitrate"` }
type TagConfigureInfo ¶
type TagConfigureInfo struct { // Switch of intelligent tagging task. Valid values: // <li>ON: enables intelligent tagging task;</li> // <li>OFF: disables intelligent tagging task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` }
type TagConfigureInfoForUpdate ¶
type TagConfigureInfoForUpdate struct { // Switch of intelligent tagging task. Valid values: // <li>ON: enables intelligent tagging task;</li> // <li>OFF: disables intelligent tagging task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` }
type TaskNotifyConfig ¶
type TaskNotifyConfig struct { // The CMQ or TDMQ-CMQ model. Valid values: Queue, Topic. CmqModel *string `json:"CmqModel,omitnil" name:"CmqModel"` // The CMQ or TDMQ-CMQ region, such as `sh` (Shanghai) or `bj` (Beijing). CmqRegion *string `json:"CmqRegion,omitnil" name:"CmqRegion"` // The CMQ or TDMQ-CMQ topic to receive notifications. This parameter is valid when `CmqModel` is `Topic`. TopicName *string `json:"TopicName,omitnil" name:"TopicName"` // The CMQ or TDMQ-CMQ queue to receive notifications. This parameter is valid when `CmqModel` is `Queue`. QueueName *string `json:"QueueName,omitnil" name:"QueueName"` // Workflow notification method. Valid values: Finish, Change. If this parameter is left empty, `Finish` will be used. NotifyMode *string `json:"NotifyMode,omitnil" name:"NotifyMode"` // The notification type. Valid values: // <li>`CMQ`: This value is no longer used. Please use `TDMQ-CMQ` instead.</li> // <li>`TDMQ-CMQ`: Message queue</li> // <li>`URL`: If `NotifyType` is set to `URL`, HTTP callbacks are sent to the URL specified by `NotifyUrl`. HTTP and JSON are used for the callbacks. The packet contains the response parameters of the `ParseNotification` API.</li> // <li>`SCF`: This notification type is not recommended. You need to configure it in the SCF console.</li> // <li>`AWS-SQS`: AWS queue. This type is only supported for AWS tasks, and the queue must be in the same region as the AWS bucket.</li> // <font color="red">Note: If you do not pass this parameter or pass in an empty string, `CMQ` will be used. To use a different notification type, specify this parameter accordingly.</font> NotifyType *string `json:"NotifyType,omitnil" name:"NotifyType"` // HTTP callback URL, required if `NotifyType` is set to `URL` NotifyUrl *string `json:"NotifyUrl,omitnil" name:"NotifyUrl"` // The AWS SQS queue. This parameter is required if `NotifyType` is `AWS-SQS`. // // Note: This field may return null, indicating that no valid values can be obtained. AwsSQS *AwsSQS `json:"AwsSQS,omitnil" name:"AwsSQS"` }
type TaskOutputStorage ¶
type TaskOutputStorage struct { // The storage type for a media processing output file. Valid values: // <li>`COS`: Tencent Cloud COS</li> // <li>`>AWS-S3`: AWS S3. This type is only supported for AWS tasks, and the output bucket must be in the same region as the bucket of the source file.</li> Type *string `json:"Type,omitnil" name:"Type"` // The location to save the output object in COS. This parameter is valid and required when `Type` is COS. // Note: This field may return null, indicating that no valid value can be obtained. CosOutputStorage *CosOutputStorage `json:"CosOutputStorage,omitnil" name:"CosOutputStorage"` // The AWS S3 bucket to save the output file. This parameter is required if `Type` is `AWS-S3`. // Note: This field may return null, indicating that no valid value can be obtained. S3OutputStorage *S3OutputStorage `json:"S3OutputStorage,omitnil" name:"S3OutputStorage"` }
type TaskSimpleInfo ¶
type TaskSimpleInfo struct { // Task ID. TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // Task type. Valid values: // <li> WorkflowTask: Workflow processing task;</li> // <li> LiveProcessTask: Live stream processing task.</li> TaskType *string `json:"TaskType,omitnil" name:"TaskType"` // Creation time of a task in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Start time of task execution in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). If the task has not been started yet, this field will be `0000-00-00T00:00:00Z`. BeginProcessTime *string `json:"BeginProcessTime,omitnil" name:"BeginProcessTime"` // End time of a task in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). If the task has not been completed yet, this field will be `0000-00-00T00:00:00Z`. FinishTime *string `json:"FinishTime,omitnil" name:"FinishTime"` // The subtask type. SubTaskTypes []*string `json:"SubTaskTypes,omitnil" name:"SubTaskTypes"` }
type TerrorismConfigureInfo ¶
type TerrorismConfigureInfo struct { // The parameters for detecting sensitive information in images. ImgReviewInfo *TerrorismImgReviewTemplateInfo `json:"ImgReviewInfo,omitnil" name:"ImgReviewInfo"` // The parameters for detecting sensitive information based on OCR. OcrReviewInfo *TerrorismOcrReviewTemplateInfo `json:"OcrReviewInfo,omitnil" name:"OcrReviewInfo"` }
type TerrorismConfigureInfoForUpdate ¶
type TerrorismConfigureInfoForUpdate struct { // The parameters for detecting sensitive information in images. ImgReviewInfo *TerrorismImgReviewTemplateInfoForUpdate `json:"ImgReviewInfo,omitnil" name:"ImgReviewInfo"` // The parameters for detecting sensitive information based on OCR. OcrReviewInfo *TerrorismOcrReviewTemplateInfoForUpdate `json:"OcrReviewInfo,omitnil" name:"OcrReviewInfo"` }
type TerrorismImgReviewTemplateInfo ¶
type TerrorismImgReviewTemplateInfo struct { // Whether to detect sensitive information in images. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // The filter labels for sensitive information detection in images, which specify the types of sensitive information to return. If this parameter is left empty, the detection results for all labels are returned. Valid values: // <li>guns</li> // <li>crowd</li> // <li>bloody</li> // <li>police</li> // <li>banners (sensitive flags)</li> // <li>militant</li> // <li>explosion</li> // <li>terrorists</li> // <li>scenario (sensitive scenes) </li> LabelSet []*string `json:"LabelSet,omitnil" name:"LabelSet"` // Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 90 will be used by default. Value range: 0-100. BlockConfidence *int64 `json:"BlockConfidence,omitnil" name:"BlockConfidence"` // Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 80 will be used by default. Value range: 0-100. ReviewConfidence *int64 `json:"ReviewConfidence,omitnil" name:"ReviewConfidence"` }
type TerrorismImgReviewTemplateInfoForUpdate ¶
type TerrorismImgReviewTemplateInfoForUpdate struct { // Whether to detect sensitive information in images. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // The filter labels for sensitive information detection in images, which specify the types of sensitive information to return. If this parameter is left empty, the detection results for all labels are returned. Valid values: // <li>guns</li> // <li>crowd</li> // <li>bloody</li> // <li>police</li> // <li>banners (sensitive flags)</li> // <li>militant</li> // <li>explosion</li> // <li>terrorists</li> // <li>scenario (sensitive scenes) </li> LabelSet []*string `json:"LabelSet,omitnil" name:"LabelSet"` // Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. Value range: 0-100. BlockConfidence *int64 `json:"BlockConfidence,omitnil" name:"BlockConfidence"` // Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. Value range: 0-100. ReviewConfidence *int64 `json:"ReviewConfidence,omitnil" name:"ReviewConfidence"` }
type TerrorismOcrReviewTemplateInfo ¶
type TerrorismOcrReviewTemplateInfo struct { // Whether to detect sensitive information based on OCR. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 100 will be used by default. Value range: 0–100. BlockConfidence *int64 `json:"BlockConfidence,omitnil" name:"BlockConfidence"` // Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 75 will be used by default. Value range: 0–100. ReviewConfidence *int64 `json:"ReviewConfidence,omitnil" name:"ReviewConfidence"` }
type TerrorismOcrReviewTemplateInfoForUpdate ¶
type TerrorismOcrReviewTemplateInfoForUpdate struct { // Whether to detect sensitive information based on OCR. Valid values: // <li>ON</li> // <li>OFF</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 100 will be used by default. Value range: 0–100. BlockConfidence *int64 `json:"BlockConfidence,omitnil" name:"BlockConfidence"` // Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 75 will be used by default. Value range: 0–100. ReviewConfidence *int64 `json:"ReviewConfidence,omitnil" name:"ReviewConfidence"` }
type TextWatermarkTemplateInput ¶
type TextWatermarkTemplateInput struct { // Font type. Currently, two types are supported: // <li>simkai.ttf: Both Chinese and English are supported;</li> // <li>arial.ttf: Only English is supported.</li> FontType *string `json:"FontType,omitnil" name:"FontType"` // Font size in Npx format where N is a numeric value. FontSize *string `json:"FontSize,omitnil" name:"FontSize"` // Font color in 0xRRGGBB format. Default value: 0xFFFFFF (white). FontColor *string `json:"FontColor,omitnil" name:"FontColor"` // Text transparency. Value range: (0, 1] // <li>0: Completely transparent</li> // <li>1: Completely opaque</li> // Default value: 1. FontAlpha *float64 `json:"FontAlpha,omitnil" name:"FontAlpha"` }
type TextWatermarkTemplateInputForUpdate ¶
type TextWatermarkTemplateInputForUpdate struct { // Font type. Currently, two types are supported: // <li>simkai.ttf: Both Chinese and English are supported;</li> // <li>arial.ttf: Only English is supported.</li> FontType *string `json:"FontType,omitnil" name:"FontType"` // Font size in Npx format where N is a numeric value. FontSize *string `json:"FontSize,omitnil" name:"FontSize"` // Font color in 0xRRGGBB format. Default value: 0xFFFFFF (white). FontColor *string `json:"FontColor,omitnil" name:"FontColor"` // Text transparency. Value range: (0, 1] // <li>0: Completely transparent</li> // <li>1: Completely opaque</li> FontAlpha *float64 `json:"FontAlpha,omitnil" name:"FontAlpha"` }
type TranscodeTaskInput ¶
type TranscodeTaskInput struct { // ID of a video transcoding template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // Custom video transcoding parameter, which is valid if `Definition` is 0. // This parameter is used in highly customized scenarios. We recommend you use `Definition` to specify the transcoding parameter preferably. RawParameter *RawTranscodeParameter `json:"RawParameter,omitnil" name:"RawParameter"` // Video transcoding custom parameter, which is valid when `Definition` is not 0. // When any parameters in this structure are entered, they will be used to override corresponding parameters in templates. // This parameter is used in highly customized scenarios. We recommend you only use `Definition` to specify the transcoding parameter. // Note: this field may return `null`, indicating that no valid value was found. OverrideParameter *OverrideTranscodeParameter `json:"OverrideParameter,omitnil" name:"OverrideParameter"` // List of up to 10 image or text watermarks. // Note: This field may return null, indicating that no valid values can be obtained. WatermarkSet []*WatermarkInput `json:"WatermarkSet,omitnil" name:"WatermarkSet"` // List of blurs. Up to 10 ones can be supported. MosaicSet []*MosaicInput `json:"MosaicSet,omitnil" name:"MosaicSet"` // Start time offset of a transcoded video, in seconds. // <li>If this parameter is left empty or set to 0, the transcoded video will start at the same time as the original video.</li> // <li>If this parameter is set to a positive number (n for example), the transcoded video will start at the nth second of the original video.</li> // <li>If this parameter is set to a negative number (-n for example), the transcoded video will start at the nth second before the end of the original video.</li> StartTimeOffset *float64 `json:"StartTimeOffset,omitnil" name:"StartTimeOffset"` // End time offset of a transcoded video, in seconds. // <li>If this parameter is left empty or set to 0, the transcoded video will end at the same time as the original video.</li> // <li>If this parameter is set to a positive number (n for example), the transcoded video will end at the nth second of the original video.</li> // <li>If this parameter is set to a negative number (-n for example), the transcoded video will end at the nth second before the end of the original video.</li> EndTimeOffset *float64 `json:"EndTimeOffset,omitnil" name:"EndTimeOffset"` // Target bucket of an output file. If this parameter is left empty, the `OutputStorage` value of the upper folder will be inherited. // Note: This field may return null, indicating that no valid values can be obtained. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` // Path to a primary output file, which can be a relative path or an absolute path. If this parameter is left empty, the following relative path will be used by default: `{inputName}_transcode_{definition}.{format}`. OutputObjectPath *string `json:"OutputObjectPath,omitnil" name:"OutputObjectPath"` // Path to an output file part (the path to ts during transcoding to HLS), which can only be a relative path. If this parameter is left empty, the following relative path will be used by default: `{inputName}_transcode_{definition}_{number}.{format}`. SegmentObjectName *string `json:"SegmentObjectName,omitnil" name:"SegmentObjectName"` // Rule of the `{number}` variable in the output path after transcoding. // Note: This field may return null, indicating that no valid values can be obtained. ObjectNumberFormat *NumberFormat `json:"ObjectNumberFormat,omitnil" name:"ObjectNumberFormat"` // Opening and closing credits parameters // Note: this field may return `null`, indicating that no valid value was found. HeadTailParameter *HeadTailParameter `json:"HeadTailParameter,omitnil" name:"HeadTailParameter"` }
type TranscodeTemplate ¶
type TranscodeTemplate struct { // Unique ID of a transcoding template. Definition *string `json:"Definition,omitnil" name:"Definition"` // Container format. Valid values: mp4, flv, hls, mp3, flac, ogg. Container *string `json:"Container,omitnil" name:"Container"` // Name of a transcoding template. // Note: This field may return null, indicating that no valid values can be obtained. Name *string `json:"Name,omitnil" name:"Name"` // Template description. // Note: This field may return null, indicating that no valid values can be obtained. Comment *string `json:"Comment,omitnil" name:"Comment"` // Template type. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil" name:"Type"` // Whether to remove video data. Valid values: // <li>0: Retain;</li> // <li>1: Remove.</li> RemoveVideo *int64 `json:"RemoveVideo,omitnil" name:"RemoveVideo"` // Whether to remove audio data. Valid values: // <li>0: Retain;</li> // <li>1: Remove.</li> RemoveAudio *int64 `json:"RemoveAudio,omitnil" name:"RemoveAudio"` // Video stream configuration parameter. This field is valid only when `RemoveVideo` is 0. // Note: This field may return null, indicating that no valid values can be obtained. VideoTemplate *VideoTemplateInfo `json:"VideoTemplate,omitnil" name:"VideoTemplate"` // Audio stream configuration parameter. This field is valid only when `RemoveAudio` is 0. // Note: This field may return null, indicating that no valid values can be obtained. AudioTemplate *AudioTemplateInfo `json:"AudioTemplate,omitnil" name:"AudioTemplate"` // TESHD transcoding parameter. To enable it, please contact your Tencent Cloud sales rep. // Note: This field may return null, indicating that no valid values can be obtained. TEHDConfig *TEHDConfig `json:"TEHDConfig,omitnil" name:"TEHDConfig"` // Container format filter. Valid values: // <li>Video: Video container format that can contain both video stream and audio stream;</li> // <li>PureAudio: Audio container format that can contain only audio stream.</li> ContainerType *string `json:"ContainerType,omitnil" name:"ContainerType"` // Creation time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Last modified time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // Audio/Video enhancement configuration. // Note: This field may return null, indicating that no valid values can be obtained. EnhanceConfig *EnhanceConfig `json:"EnhanceConfig,omitnil" name:"EnhanceConfig"` }
type UrlInputInfo ¶
type UrlInputInfo struct { // URL of a video. Url *string `json:"Url,omitnil" name:"Url"` }
type UserDefineAsrTextReviewTemplateInfo ¶
type UserDefineAsrTextReviewTemplateInfo struct { // Switch of a custom speech audit task. Valid values: // <li>ON: Enables a custom speech audit task;</li> // <li>OFF: Disables a custom speech audit task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Custom speech filter tag. If an audit result contains the selected tag, it will be returned; if the filter tag is empty, all audit results will be returned. To use the tag filtering feature, you need to add the corresponding tag when adding materials for custom speech keywords. // There can be up to 10 tags, each with a length limit of 16 characters. LabelSet []*string `json:"LabelSet,omitnil" name:"LabelSet"` // Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 100 will be used by default. Value range: 0-100. BlockConfidence *int64 `json:"BlockConfidence,omitnil" name:"BlockConfidence"` // Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 75 will be used by default. Value range: 0-100. ReviewConfidence *int64 `json:"ReviewConfidence,omitnil" name:"ReviewConfidence"` }
type UserDefineAsrTextReviewTemplateInfoForUpdate ¶
type UserDefineAsrTextReviewTemplateInfoForUpdate struct { // Switch of a custom speech audit task. Valid values: // <li>ON: Enables a custom speech audit task;</li> // <li>OFF: Disables a custom speech audit task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Custom speech filter tag. If an audit result contains the selected tag, it will be returned; if the filter tag is empty, all audit results will be returned. To use the tag filtering feature, you need to add the corresponding tag when adding materials for custom speech keywords. // There can be up to 10 tags, each with a length limit of 16 characters. LabelSet []*string `json:"LabelSet,omitnil" name:"LabelSet"` // Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. Value range: 0-100. BlockConfidence *int64 `json:"BlockConfidence,omitnil" name:"BlockConfidence"` // Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. Value range: 0-100. ReviewConfidence *int64 `json:"ReviewConfidence,omitnil" name:"ReviewConfidence"` }
type UserDefineConfigureInfo ¶
type UserDefineConfigureInfo struct { // Control parameter of custom figure audit. // Note: This field may return null, indicating that no valid values can be obtained. FaceReviewInfo *UserDefineFaceReviewTemplateInfo `json:"FaceReviewInfo,omitnil" name:"FaceReviewInfo"` // Control parameter of custom speech audit. // Note: This field may return null, indicating that no valid values can be obtained. AsrReviewInfo *UserDefineAsrTextReviewTemplateInfo `json:"AsrReviewInfo,omitnil" name:"AsrReviewInfo"` // Control parameter of custom text audit. // Note: This field may return null, indicating that no valid values can be obtained. OcrReviewInfo *UserDefineOcrTextReviewTemplateInfo `json:"OcrReviewInfo,omitnil" name:"OcrReviewInfo"` }
type UserDefineConfigureInfoForUpdate ¶
type UserDefineConfigureInfoForUpdate struct { // Control parameter of custom figure audit. FaceReviewInfo *UserDefineFaceReviewTemplateInfoForUpdate `json:"FaceReviewInfo,omitnil" name:"FaceReviewInfo"` // Control parameter of custom speech audit. AsrReviewInfo *UserDefineAsrTextReviewTemplateInfoForUpdate `json:"AsrReviewInfo,omitnil" name:"AsrReviewInfo"` // Control parameter of custom text audit. OcrReviewInfo *UserDefineOcrTextReviewTemplateInfoForUpdate `json:"OcrReviewInfo,omitnil" name:"OcrReviewInfo"` }
type UserDefineFaceReviewTemplateInfo ¶
type UserDefineFaceReviewTemplateInfo struct { // Switch of a custom figure audit task. Valid values: // <li>ON: Enables a custom figure audit task;</li> // <li>OFF: Disables a custom figure audit task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Custom figure filter tag. If an audit result contains the selected tag, it will be returned; if the filter tag is empty, all audit results will be returned. To use the tag filtering feature, you need to add the corresponding tag when adding materials for the custom figure library. // There can be up to 10 tags, each with a length limit of 16 characters. LabelSet []*string `json:"LabelSet,omitnil" name:"LabelSet"` // Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 97 will be used by default. Value range: 0-100. BlockConfidence *int64 `json:"BlockConfidence,omitnil" name:"BlockConfidence"` // Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 95 will be used by default. Value range: 0-100. ReviewConfidence *int64 `json:"ReviewConfidence,omitnil" name:"ReviewConfidence"` }
type UserDefineFaceReviewTemplateInfoForUpdate ¶
type UserDefineFaceReviewTemplateInfoForUpdate struct { // Switch of a custom figure audit task. Valid values: // <li>ON: Enables a custom figure audit task;</li> // <li>OFF: Disables a custom figure audit task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Custom figure filter tag. If an audit result contains the selected tag, it will be returned; if the filter tag is empty, all audit results will be returned. To use the tag filtering feature, you need to add the corresponding tag when adding materials for the custom figure library. // There can be up to 10 tags, each with a length limit of 16 characters. LabelSet []*string `json:"LabelSet,omitnil" name:"LabelSet"` // Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. Value range: 0-100. BlockConfidence *int64 `json:"BlockConfidence,omitnil" name:"BlockConfidence"` // Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. Value range: 0-100. ReviewConfidence *int64 `json:"ReviewConfidence,omitnil" name:"ReviewConfidence"` }
type UserDefineOcrTextReviewTemplateInfo ¶
type UserDefineOcrTextReviewTemplateInfo struct { // Switch of a custom text audit task. Valid values: // <li>ON: Enables a custom text audit task;</li> // <li>OFF: Disables a custom text audit task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Custom text filter tag. If an audit result contains the selected tag, it will be returned; if the filter tag is empty, all audit results will be returned. To use the tag filtering feature, you need to add the corresponding tag when adding materials for custom text keywords. // There can be up to 10 tags, each with a length limit of 16 characters. LabelSet []*string `json:"LabelSet,omitnil" name:"LabelSet"` // Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 100 will be used by default. Value range: 0-100. BlockConfidence *int64 `json:"BlockConfidence,omitnil" name:"BlockConfidence"` // Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 75 will be used by default. Value range: 0-100. ReviewConfidence *int64 `json:"ReviewConfidence,omitnil" name:"ReviewConfidence"` }
type UserDefineOcrTextReviewTemplateInfoForUpdate ¶
type UserDefineOcrTextReviewTemplateInfoForUpdate struct { // Switch of a custom text audit task. Valid values: // <li>ON: Enables a custom text audit task;</li> // <li>OFF: Disables a custom text audit task.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Custom text filter tag. If an audit result contains the selected tag, it will be returned; if the filter tag is empty, all audit results will be returned. To use the tag filtering feature, you need to add the corresponding tag when adding materials for custom text keywords. // There can be up to 10 tags, each with a length limit of 16 characters. LabelSet *string `json:"LabelSet,omitnil" name:"LabelSet"` // Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. Value range: 0-100. BlockConfidence *int64 `json:"BlockConfidence,omitnil" name:"BlockConfidence"` // Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. Value range: 0-100. ReviewConfidence *int64 `json:"ReviewConfidence,omitnil" name:"ReviewConfidence"` }
type VideoDenoiseConfig ¶
type VideoDenoiseConfig struct { // Whether to enable the feature. Valid values: // <li>ON</li> // <li>OFF</li> // Default value: ON. Switch *string `json:"Switch,omitnil" name:"Switch"` // The strength. Valid values: // <li>weak</li> // <li>strong</li> // Default value: weak. // Note: This field may return null, indicating that no valid values can be obtained. Type *string `json:"Type,omitnil" name:"Type"` }
type VideoEnhanceConfig ¶
type VideoEnhanceConfig struct { // Frame interpolation configuration. // Note: This field may return null, indicating that no valid values can be obtained. FrameRate *FrameRateConfig `json:"FrameRate,omitnil" name:"FrameRate"` // Super resolution configuration. // Note: This field may return null, indicating that no valid values can be obtained. SuperResolution *SuperResolutionConfig `json:"SuperResolution,omitnil" name:"SuperResolution"` // HDR configuration. // Note: This field may return null, indicating that no valid values can be obtained. Hdr *HdrConfig `json:"Hdr,omitnil" name:"Hdr"` // Image noise removal configuration. // Note: This field may return null, indicating that no valid values can be obtained. Denoise *VideoDenoiseConfig `json:"Denoise,omitnil" name:"Denoise"` // Overall enhancement configuration. // Note: This field may return null, indicating that no valid values can be obtained. ImageQualityEnhance *ImageQualityEnhanceConfig `json:"ImageQualityEnhance,omitnil" name:"ImageQualityEnhance"` // Color enhancement configuration. // Note: This field may return null, indicating that no valid values can be obtained. ColorEnhance *ColorEnhanceConfig `json:"ColorEnhance,omitnil" name:"ColorEnhance"` // Detail enhancement configuration. // Note: This field may return null, indicating that no valid values can be obtained. SharpEnhance *SharpEnhanceConfig `json:"SharpEnhance,omitnil" name:"SharpEnhance"` // Face enhancement configuration. // Note: This field may return null, indicating that no valid values can be obtained. FaceEnhance *FaceEnhanceConfig `json:"FaceEnhance,omitnil" name:"FaceEnhance"` // Low-light enhancement configuration. // Note: This field may return null, indicating that no valid values can be obtained. LowLightEnhance *LowLightEnhanceConfig `json:"LowLightEnhance,omitnil" name:"LowLightEnhance"` // Banding removal configuration. // Note: This field may return null, indicating that no valid values can be obtained. ScratchRepair *ScratchRepairConfig `json:"ScratchRepair,omitnil" name:"ScratchRepair"` // Artifact removal (smoothing) configuration. // Note: This field may return null, indicating that no valid values can be obtained. ArtifactRepair *ArtifactRepairConfig `json:"ArtifactRepair,omitnil" name:"ArtifactRepair"` }
type VideoTemplateInfo ¶
type VideoTemplateInfo struct { // The video codec. Valid values: // <li>`libx264`: H.264</li> // <li>`libx265`: H.265</li> // <li>`av1`: AOMedia Video 1</li> // Note: You must specify a resolution (not higher than 640 x 480) if the H.265 codec is used. // Note: You can only use the AOMedia Video 1 codec for MP4 files. Codec *string `json:"Codec,omitnil" name:"Codec"` // The video frame rate (Hz). Value range: [0, 100]. // If the value is 0, the frame rate will be the same as that of the source video. // Note: For adaptive bitrate streaming, the value range of this parameter is [0, 60]. Fps *uint64 `json:"Fps,omitnil" name:"Fps"` // The video bitrate (Kbps). Value range: 0 and [128, 35000]. // If the value is 0, the bitrate of the video will be the same as that of the source video. Bitrate *uint64 `json:"Bitrate,omitnil" name:"Bitrate"` // Resolution adaption. Valid values: // <li>open: Enabled. When resolution adaption is enabled, `Width` indicates the long side of a video, while `Height` indicates the short side.</li> // <li>close: Disabled. When resolution adaption is disabled, `Width` indicates the width of a video, while `Height` indicates the height.</li> // Default value: open. // Note: When resolution adaption is enabled, `Width` cannot be smaller than `Height`. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitnil" name:"ResolutionAdaptive"` // Maximum value of the width (or long side) of a video stream in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Width *uint64 `json:"Width,omitnil" name:"Width"` // Maximum value of the height (or short side) of a video stream in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> // Default value: 0. Height *uint64 `json:"Height,omitnil" name:"Height"` // Frame interval between I keyframes. Value range: 0 and [1,100000]. // If this parameter is 0 or left empty, the system will automatically set the GOP length. Gop *uint64 `json:"Gop,omitnil" name:"Gop"` // The fill mode, which indicates how a video is resized when the video’s original aspect ratio is different from the target aspect ratio. Valid values: // <li>stretch: Stretch the image frame by frame to fill the entire screen. The video image may become "squashed" or "stretched" after transcoding.</li> // <li>black: Keep the image's original aspect ratio and fill the blank space with black bars.</li> // <li>white: Keep the image’s original aspect ratio and fill the blank space with white bars.</li> // <li>gauss: Keep the image’s original aspect ratio and apply Gaussian blur to the blank space.</li> // Default value: black. // Note: Only `stretch` and `black` are supported for adaptive bitrate streaming. FillType *string `json:"FillType,omitnil" name:"FillType"` // The control factor of video constant bitrate. Value range: [1, 51] // If this parameter is specified, CRF (a bitrate control method) will be used for transcoding. (Video bitrate will no longer take effect.) // It is not recommended to specify this parameter if there are no special requirements. Vcrf *uint64 `json:"Vcrf,omitnil" name:"Vcrf"` }
type VideoTemplateInfoForUpdate ¶
type VideoTemplateInfoForUpdate struct { // The video codec. Valid values: // <li>libx264: H.264</li> // <li>libx265: H.265</li> // <li>av1: AOMedia Video 1</li> // Note: You must specify a resolution (not higher than 640 x 480) if the H.265 codec is used. // Note: You can only use the AOMedia Video 1 codec for MP4 files. Codec *string `json:"Codec,omitnil" name:"Codec"` // Video frame rate in Hz. Value range: [0, 100]. // If the value is 0, the frame rate will be the same as that of the source video. Fps *uint64 `json:"Fps,omitnil" name:"Fps"` // Bitrate of a video stream in Kbps. Value range: 0 and [128, 35,000]. // If the value is 0, the bitrate of the video will be the same as that of the source video. Bitrate *uint64 `json:"Bitrate,omitnil" name:"Bitrate"` // Resolution adaption. Valid values: // <li>open: Enabled. When resolution adaption is enabled, `Width` indicates the long side of a video, while `Height` indicates the short side.</li> // <li>close: Disabled. When resolution adaption is disabled, `Width` indicates the width of a video, while `Height` indicates the height.</li> // Note: When resolution adaption is enabled, `Width` cannot be smaller than `Height`. ResolutionAdaptive *string `json:"ResolutionAdaptive,omitnil" name:"ResolutionAdaptive"` // Maximum value of the width (or long side) of a video stream in px. Value range: 0 and [128, 4,096]. // <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li> // <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li> // <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li> // <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li> Width *uint64 `json:"Width,omitnil" name:"Width"` // Maximum value of the height (or short side) of a video stream in px. Value range: 0 and [128, 4,096]. Height *uint64 `json:"Height,omitnil" name:"Height"` // Frame interval between I keyframes. Value range: 0 and [1,100000]. If this parameter is 0, the system will automatically set the GOP length. Gop *uint64 `json:"Gop,omitnil" name:"Gop"` // Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: // <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li> // <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li> // <li>white: fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks.</li> // <li>gauss: fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.</li> FillType *string `json:"FillType,omitnil" name:"FillType"` // The control factor of video constant bitrate. Value range: [0, 51]. This parameter will be disabled if you enter `0`. // It is not recommended to specify this parameter if there are no special requirements. Vcrf *uint64 `json:"Vcrf,omitnil" name:"Vcrf"` // Whether to enable adaptive encoding. Valid values: // <li>0: Disable</li> // <li>1: Enable</li> // Default value: 0. If this parameter is set to `1`, multiple streams with different resolutions and bitrates will be generated automatically. The highest resolution, bitrate, and quality of the streams are determined by the values of `width` and `height`, `Bitrate`, and `Vcrf` in `VideoTemplate` respectively. If these parameters are not set in `VideoTemplate`, the highest resolution generated will be the same as that of the source video, and the highest video quality will be close to VMAF 95. To use this parameter or learn about the billing details of adaptive encoding, please contact your sales rep. ContentAdaptStream *uint64 `json:"ContentAdaptStream,omitnil" name:"ContentAdaptStream"` }
type WatermarkInput ¶
type WatermarkInput struct { // ID of a watermarking template. Definition *uint64 `json:"Definition,omitnil" name:"Definition"` // Custom watermark parameter, which is valid if `Definition` is 0. // This parameter is used in highly customized scenarios. We recommend you use `Definition` to specify the watermark parameter preferably. // Custom watermark parameter is not available for screenshot. RawParameter *RawWatermarkParameter `json:"RawParameter,omitnil" name:"RawParameter"` // Text content of up to 100 characters. This field is required only when the watermark type is text. // Text watermark is not available for screenshot. TextContent *string `json:"TextContent,omitnil" name:"TextContent"` // SVG content of up to 2,000,000 characters. This field is required only when the watermark type is `SVG`. // SVG watermark is not available for screenshot. SvgContent *string `json:"SvgContent,omitnil" name:"SvgContent"` // Start time offset of a watermark in seconds. If this parameter is left empty or 0 is entered, the watermark will appear upon the first video frame. // <li>If this parameter is left empty or 0 is entered, the watermark will appear upon the first video frame;</li> // <li>If this value is greater than 0 (e.g., n), the watermark will appear at second n after the first video frame;</li> // <li>If this value is smaller than 0 (e.g., -n), the watermark will appear at second n before the last video frame.</li> StartTimeOffset *float64 `json:"StartTimeOffset,omitnil" name:"StartTimeOffset"` // End time offset of a watermark in seconds. // <li>If this parameter is left empty or 0 is entered, the watermark will exist till the last video frame;</li> // <li>If this value is greater than 0 (e.g., n), the watermark will exist till second n;</li> // <li>If this value is smaller than 0 (e.g., -n), the watermark will exist till second n before the last video frame.</li> EndTimeOffset *float64 `json:"EndTimeOffset,omitnil" name:"EndTimeOffset"` }
type WatermarkTemplate ¶
type WatermarkTemplate struct { // Unique ID of a watermarking template. Definition *int64 `json:"Definition,omitnil" name:"Definition"` // Watermark type. Valid values: // <li>image: Image watermark;</li> // <li>text: Text watermark.</li> Type *string `json:"Type,omitnil" name:"Type"` // Name of a watermarking template. Name *string `json:"Name,omitnil" name:"Name"` // Template description. Comment *string `json:"Comment,omitnil" name:"Comment"` // Horizontal position of the origin of the watermark image relative to the origin of the video. // <li>If the string ends in %, the `Left` edge of the watermark will be at the position of the specified percentage of the video width; for example, `10%` means that the `Left` edge is at 10% of the video width;</li> // <li>If the string ends in px, the `Left` edge of the watermark will be at the position of the specified px of the video width; for example, `100px` means that the `Left` edge is at the position of 100 px.</li> XPos *string `json:"XPos,omitnil" name:"XPos"` // Vertical position of the origin of the watermark image relative to the origin of the video. // <li>If the string ends in %, the `Top` edge of the watermark will beat the position of the specified percentage of the video height; for example, `10%` means that the `Top` edge is at 10% of the video height;</li> // <li>If the string ends in px, the `Top` edge of the watermark will be at the position of the specified px of the video height; for example, `100px` means that the `Top` edge is at the position of 100 px.</li> YPos *string `json:"YPos,omitnil" name:"YPos"` // Image watermarking template. This field is valid only when `Type` is `image`. // Note: This field may return null, indicating that no valid values can be obtained. ImageTemplate *ImageWatermarkTemplate `json:"ImageTemplate,omitnil" name:"ImageTemplate"` // Text watermarking template. This field is valid only when `Type` is `text`. // Note: This field may return null, indicating that no valid values can be obtained. TextTemplate *TextWatermarkTemplateInput `json:"TextTemplate,omitnil" name:"TextTemplate"` // SVG watermarking template. This field is valid when `Type` is `svg`. // Note: This field may return null, indicating that no valid values can be obtained. SvgTemplate *SvgWatermarkInput `json:"SvgTemplate,omitnil" name:"SvgTemplate"` // Creation time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Last modified time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // Origin position. Valid values: // <li>topLeft: The origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text;</li> // <li>topRight: The origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text;</li> // <li>bottomLeft: The origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text;</li> // <li>bottomRight: The origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.</li> CoordinateOrigin *string `json:"CoordinateOrigin,omitnil" name:"CoordinateOrigin"` }
type WorkflowInfo ¶
type WorkflowInfo struct { // Workflow ID. WorkflowId *int64 `json:"WorkflowId,omitnil" name:"WorkflowId"` // Workflow name. WorkflowName *string `json:"WorkflowName,omitnil" name:"WorkflowName"` // Workflow status. Valid values: // <li>Enabled: Enabled,</li> // <li>Disabled: Disabled.</li> Status *string `json:"Status,omitnil" name:"Status"` // Input rule bound to a workflow. If an uploaded video hits the rule for the object, the workflow will be triggered. Trigger *WorkflowTrigger `json:"Trigger,omitnil" name:"Trigger"` // The location to save the media processing output file. // Note: This field may return null, indicating that no valid value can be obtained. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil" name:"OutputStorage"` // The media processing parameters to use. // Note: This field may return null, indicating that no valid value can be obtained. MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitnil" name:"MediaProcessTask"` // Type parameter of a video content audit task. // Note: This field may return null, indicating that no valid values can be obtained. AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitnil" name:"AiContentReviewTask"` // Video content analysis task parameter. AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitnil" name:"AiAnalysisTask"` // Type parameter of a video content recognition task. // Note: This field may return null, indicating that no valid values can be obtained. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitnil" name:"AiRecognitionTask"` // Event notification information of a task. If this parameter is left empty, no event notifications will be obtained. // Note: This field may return null, indicating that no valid values can be obtained. TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitnil" name:"TaskNotifyConfig"` // Task flow priority. The higher the value, the higher the priority. Value range: [-10, 10]. If this parameter is left empty, 0 will be used. TaskPriority *int64 `json:"TaskPriority,omitnil" name:"TaskPriority"` // The directory to save the media processing output file, such as `/movie/201907/`. OutputDir *string `json:"OutputDir,omitnil" name:"OutputDir"` // Creation time of a workflow in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Last modified time of a workflow in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` }
type WorkflowTask ¶
type WorkflowTask struct { // The media processing task ID. TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // Task flow status. Valid values: // <li>PROCESSING: Processing;</li> // <li>FINISH: Completed.</li> Status *string `json:"Status,omitnil" name:"Status"` // If the value returned is not 0, there was a source error. If 0 is returned, refer to the error codes of the corresponding task type. ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // Except those for source errors, error messages vary with task type. Message *string `json:"Message,omitnil" name:"Message"` // The information of the file processed. // Note: This field may return null, indicating that no valid value can be obtained. InputInfo *MediaInputInfo `json:"InputInfo,omitnil" name:"InputInfo"` // Metadata of a source video. // Note: This field may return null, indicating that no valid values can be obtained. MetaData *MediaMetaData `json:"MetaData,omitnil" name:"MetaData"` // The execution status and result of the media processing task. MediaProcessResultSet []*MediaProcessTaskResult `json:"MediaProcessResultSet,omitnil" name:"MediaProcessResultSet"` // Execution status and result of a video content audit task. AiContentReviewResultSet []*AiContentReviewResult `json:"AiContentReviewResultSet,omitnil" name:"AiContentReviewResultSet"` // Execution status and result of video content analysis task. AiAnalysisResultSet []*AiAnalysisResult `json:"AiAnalysisResultSet,omitnil" name:"AiAnalysisResultSet"` // Execution status and result of a video content recognition task. AiRecognitionResultSet []*AiRecognitionResult `json:"AiRecognitionResultSet,omitnil" name:"AiRecognitionResultSet"` // The execution status and result of a quality control task. // Note: This field may return null, indicating that no valid values can be obtained. AiQualityControlTaskResult *ScheduleQualityControlTaskResult `json:"AiQualityControlTaskResult,omitnil" name:"AiQualityControlTaskResult"` }
type WorkflowTrigger ¶
type WorkflowTrigger struct { // The trigger type. Valid values: // <li>`CosFileUpload`: Tencent Cloud COS trigger.</li> // <li>`AwsS3FileUpload`: AWS S3 trigger. Currently, this type is only supported for transcoding tasks and schemes (not supported for workflows).</li> // Type *string `json:"Type,omitnil" name:"Type"` // This parameter is required and valid when `Type` is `CosFileUpload`, indicating the COS trigger rule. // Note: This field may return null, indicating that no valid values can be obtained. CosFileUploadTrigger *CosFileUploadTrigger `json:"CosFileUploadTrigger,omitnil" name:"CosFileUploadTrigger"` // The AWS S3 trigger. This parameter is valid and required if `Type` is `AwsS3FileUpload`. // // Note: Currently, the key for the AWS S3 bucket, the trigger SQS queue, and the callback SQS queue must be the same. // Note: This field may return null, indicating that no valid values can be obtained. AwsS3FileUploadTrigger *AwsS3FileUploadTrigger `json:"AwsS3FileUploadTrigger,omitnil" name:"AwsS3FileUploadTrigger"` }