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 AiAnalysisTaskDelLogoInput
- type AiAnalysisTaskDelLogoOutput
- type AiAnalysisTaskDelLogoResult
- type AiAnalysisTaskDescriptionInput
- type AiAnalysisTaskDescriptionOutput
- type AiAnalysisTaskDescriptionResult
- type AiAnalysisTaskFrameTagInput
- type AiAnalysisTaskFrameTagOutput
- type AiAnalysisTaskFrameTagResult
- type AiAnalysisTaskHeadTailInput
- type AiAnalysisTaskHeadTailOutput
- type AiAnalysisTaskHeadTailResult
- type AiAnalysisTaskHighlightInput
- type AiAnalysisTaskHighlightOutput
- type AiAnalysisTaskHighlightResult
- type AiAnalysisTaskHorizontalToVerticalInput
- type AiAnalysisTaskHorizontalToVerticalOutput
- type AiAnalysisTaskHorizontalToVerticalResult
- type AiAnalysisTaskInput
- type AiAnalysisTaskSegmentInput
- type AiAnalysisTaskSegmentOutput
- type AiAnalysisTaskSegmentResult
- type AiAnalysisTaskTagInput
- type AiAnalysisTaskTagOutput
- type AiAnalysisTaskTagResult
- type AiContentReviewResult
- type AiContentReviewTaskInput
- type AiParagraphInfo
- 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 AiRecognitionTaskObjectResult
- type AiRecognitionTaskObjectResultInput
- type AiRecognitionTaskObjectResultItem
- type AiRecognitionTaskObjectResultOutput
- type AiRecognitionTaskObjectSeqmentItem
- 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 AudioBeautifyConfig
- type AudioDenoiseConfig
- type AudioEnhanceConfig
- type AudioSeparateConfig
- 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) CreateQualityControlTemplate(request *CreateQualityControlTemplateRequest) (response *CreateQualityControlTemplateResponse, err error)
- func (c *Client) CreateQualityControlTemplateWithContext(ctx context.Context, request *CreateQualityControlTemplateRequest) (response *CreateQualityControlTemplateResponse, 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) DeleteQualityControlTemplate(request *DeleteQualityControlTemplateRequest) (response *DeleteQualityControlTemplateResponse, err error)
- func (c *Client) DeleteQualityControlTemplateWithContext(ctx context.Context, request *DeleteQualityControlTemplateRequest) (response *DeleteQualityControlTemplateResponse, 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) DescribeQualityControlTemplates(request *DescribeQualityControlTemplatesRequest) (response *DescribeQualityControlTemplatesResponse, err error)
- func (c *Client) DescribeQualityControlTemplatesWithContext(ctx context.Context, request *DescribeQualityControlTemplatesRequest) (response *DescribeQualityControlTemplatesResponse, 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) ModifyQualityControlTemplate(request *ModifyQualityControlTemplateRequest) (response *ModifyQualityControlTemplateResponse, err error)
- func (c *Client) ModifyQualityControlTemplateWithContext(ctx context.Context, request *ModifyQualityControlTemplateRequest) (response *ModifyQualityControlTemplateResponse, 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 ComposeAudioItem
- type ComposeAudioOperation
- type ComposeAudioStream
- type ComposeCanvas
- type ComposeEmptyItem
- type ComposeImageItem
- type ComposeImageOperation
- type ComposeMediaConfig
- type ComposeMediaItem
- type ComposeMediaTrack
- type ComposeSourceMedia
- type ComposeStyles
- type ComposeSubtitleItem
- type ComposeSubtitleStyle
- type ComposeTargetInfo
- type ComposeTrackTime
- type ComposeTransitionItem
- type ComposeTransitionOperation
- type ComposeVideoItem
- type ComposeVideoStream
- type ContainerDiagnoseResultItem
- 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 CreateQualityControlTemplateRequest
- type CreateQualityControlTemplateRequestParams
- type CreateQualityControlTemplateResponse
- type CreateQualityControlTemplateResponseParams
- 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 DeleteQualityControlTemplateRequest
- type DeleteQualityControlTemplateRequestParams
- type DeleteQualityControlTemplateResponse
- type DeleteQualityControlTemplateResponseParams
- 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 DescribeQualityControlTemplatesRequest
- type DescribeQualityControlTemplatesRequestParams
- type DescribeQualityControlTemplatesResponse
- type DescribeQualityControlTemplatesResponseParams
- 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 DiagnoseResult
- type DisableScheduleRequest
- type DisableScheduleRequestParams
- type DisableScheduleResponse
- type DisableScheduleResponseParams
- type DisableWorkflowRequest
- type DisableWorkflowRequestParams
- type DisableWorkflowResponse
- type DisableWorkflowResponseParams
- type DrmInfo
- 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 LiveActivityResItem
- type LiveActivityResult
- type LiveRecordFile
- type LiveRecordResult
- type LiveRecordTaskInput
- type LiveScheduleLiveRecordTaskResult
- type LiveScheduleTask
- type LiveStreamAiAnalysisResultInfo
- type LiveStreamAiAnalysisResultItem
- type LiveStreamAiQualityControlResultInfo
- type LiveStreamAiRecognitionResultInfo
- type LiveStreamAiRecognitionResultItem
- type LiveStreamAiReviewImagePoliticalResult
- type LiveStreamAiReviewImagePornResult
- type LiveStreamAiReviewImageTerrorismResult
- type LiveStreamAiReviewResultInfo
- type LiveStreamAiReviewResultItem
- type LiveStreamAiReviewVoicePornResult
- type LiveStreamAsrFullTextRecognitionResult
- type LiveStreamAsrWordsRecognitionResult
- type LiveStreamFaceRecognitionResult
- type LiveStreamObjectRecognitionResult
- type LiveStreamOcrFullTextRecognitionResult
- type LiveStreamOcrWordsRecognitionResult
- type LiveStreamProcessErrorInfo
- type LiveStreamProcessTask
- type LiveStreamRecordResultInfo
- type LiveStreamTagRecognitionResult
- type LiveStreamTaskNotifyConfig
- type LiveStreamTransTextRecognitionResult
- type LowLightEnhanceConfig
- type ManageTaskRequest
- type ManageTaskRequestParams
- type ManageTaskResponse
- type ManageTaskResponseParams
- type MediaAiAnalysisClassificationItem
- type MediaAiAnalysisCoverItem
- type MediaAiAnalysisDescriptionItem
- 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 ModifyQualityControlTemplateRequest
- type ModifyQualityControlTemplateRequestParams
- type ModifyQualityControlTemplateResponse
- type ModifyQualityControlTemplateResponseParams
- 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 QualityControlItemConfig
- type QualityControlResult
- type QualityControlTemplate
- 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 SegmentRecognitionItem
- type SharpEnhanceConfig
- type SimpleAesDrm
- 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 TranslateConfigureInfo
- 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 VolumeBalanceConfig
- 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" // Resource generation failed. FAILEDOPERATION_GENERATERESOURCE = "FailedOperation.GenerateResource" // 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 configuration error: improper AAC frame timestamp interval. INVALIDPARAMETERVALUE_AACDURATIONDEVIATION = "InvalidParameterValue.AACDurationDeviation" // Parameter configuration error: improper audio-video interleaving. INVALIDPARAMETERVALUE_AVTIMESTAMPINTERLEAVE = "InvalidParameterValue.AVTimestampInterleave" // Parameter error: Audio stream bitrate. INVALIDPARAMETERVALUE_AUDIOBITRATE = "InvalidParameterValue.AudioBitrate" // Parameter configuration error: audio stream bitrate out of range. INVALIDPARAMETERVALUE_AUDIOBITRATEOUTOFRANGE = "InvalidParameterValue.AudioBitrateOutofRange" // Incorrect parameter value: AudioChannel. INVALIDPARAMETERVALUE_AUDIOCHANNEL = "InvalidParameterValue.AudioChannel" // Parameter configuration error: audio track change. INVALIDPARAMETERVALUE_AUDIOCHANNELSCHANGED = "InvalidParameterValue.AudioChannelsChanged" // Parameter error: audio stream codec. INVALIDPARAMETERVALUE_AUDIOCODEC = "InvalidParameterValue.AudioCodec" // Parameter configuration error: audio decoding error. INVALIDPARAMETERVALUE_AUDIODECODEFAILED = "InvalidParameterValue.AudioDecodeFailed" // Parameter configuration error: audio frame dropping. INVALIDPARAMETERVALUE_AUDIODROPPINGFRAMES = "InvalidParameterValue.AudioDroppingFrames" // Parameter configuration error: duplicate frames in audio streams. INVALIDPARAMETERVALUE_AUDIODUPLICATEDFRAME = "InvalidParameterValue.AudioDuplicatedFrame" // Parameter configuration error: opposite phase in dual-channel audio. INVALIDPARAMETERVALUE_AUDIOOUTOFPHASE = "InvalidParameterValue.AudioOutOfPhase" // Parameter error: audio stream sample rate. INVALIDPARAMETERVALUE_AUDIOSAMPLERATE = "InvalidParameterValue.AudioSampleRate" // Parameter configuration error: audio sample rate change. INVALIDPARAMETERVALUE_AUDIOSAMPLERATECHANGED = "InvalidParameterValue.AudioSampleRateChanged" // Parameter configuration error: no audio stream. INVALIDPARAMETERVALUE_AUDIOSTREAMLACK = "InvalidParameterValue.AudioStreamLack" // Invalid audio/video bitrate. INVALIDPARAMETERVALUE_BITRATE = "InvalidParameterValue.Bitrate" // Parameter configuration error: black and white edges detection. INVALIDPARAMETERVALUE_BLACKWHITEEDGE = "InvalidParameterValue.BlackWhiteEdge" // Incorrect parameter value: the value of the `BlockConfidence` parameter is invalid. INVALIDPARAMETERVALUE_BLOCKCONFIDENCE = "InvalidParameterValue.BlockConfidence" // Parameter configuration error: blur detection. INVALIDPARAMETERVALUE_BLUR = "InvalidParameterValue.Blur" // 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" // Parameter configuration error: screen glitch detection. INVALIDPARAMETERVALUE_CRASHSCREEN = "InvalidParameterValue.CrashScreen" // Parameter configuration error: video aspect ratio exception. INVALIDPARAMETERVALUE_DARORSARINVALID = "InvalidParameterValue.DarOrSarInvalid" // 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" // Parameter configuration error: DTS jitter too high. INVALIDPARAMETERVALUE_DTSJITTER = "InvalidParameterValue.DtsJitter" // Enabled detection items in template configuration are empty. INVALIDPARAMETERVALUE_EMPTYDETECTITEM = "InvalidParameterValue.EmptyDetectItem" // 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" // Parameter configuration error: significant jitter in the stream frame rate calculated via PTS. INVALIDPARAMETERVALUE_FPSJITTER = "InvalidParameterValue.FpsJitter" // 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 configuration error: invalid M3U8 file. INVALIDPARAMETERVALUE_HLSBADM3U8FORMAT = "InvalidParameterValue.HLSBadM3u8Format" // Parameter configuration error: invalid main M3U8 file. INVALIDPARAMETERVALUE_HLSINVALIDMASTERM3U8 = "InvalidParameterValue.HLSInvalidMasterM3u8" // Parameter configuration error: invalid media M3U8 file. INVALIDPARAMETERVALUE_HLSINVALIDMEDIAM3U8 = "InvalidParameterValue.HLSInvalidMediaM3u8" // Parameter configuration error: parameters recommended by standards missing in main M3U8. INVALIDPARAMETERVALUE_HLSMASTERM3U8RECOMMENDED = "InvalidParameterValue.HLSMasterM3u8Recommended" // Parameter configuration error: EXT-X-DISCONTINUITY in media M3U8. INVALIDPARAMETERVALUE_HLSMEDIAM3U8DISCONTINUITYEXIST = "InvalidParameterValue.HLSMediaM3u8DiscontinuityExist" // Parameter configuration error: parameters recommended by standards missing in media M3U8. INVALIDPARAMETERVALUE_HLSMEDIAM3U8RECOMMENDED = "InvalidParameterValue.HLSMediaM3u8Recommended" // Parameter configuration error: DTS jumps between segments without EXT-X-DISCONTINUITY. INVALIDPARAMETERVALUE_HLSMEDIASEGMENTSDTSJITTERDEVIATION = "InvalidParameterValue.HLSMediaSegmentsDTSJitterDeviation" // Parameter configuration error: PTS jumps between segments without EXT-X-DISCONTINUITY. INVALIDPARAMETERVALUE_HLSMEDIASEGMENTSPTSJITTERDEVIATION = "InvalidParameterValue.HLSMediaSegmentsPTSJitterDeviation" // Parameter configuration error: changed number of streams in segments. INVALIDPARAMETERVALUE_HLSMEDIASEGMENTSSTREAMNUMCHANGE = "InvalidParameterValue.HLSMediaSegmentsStreamNumChange" // Parameter error: height. INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height" // Parameter configuration error: brightness anomaly of overexposure. INVALIDPARAMETERVALUE_HIGHLIGHTING = "InvalidParameterValue.HighLighting" // Parameter configuration error: high voice detection. INVALIDPARAMETERVALUE_HIGHVOICE = "InvalidParameterValue.HighVoice" // 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 configuration error: missing audio stream recovery. INVALIDPARAMETERVALUE_LACKAUDIORECOVER = "InvalidParameterValue.LackAudioRecover" // Parameter configuration error: missing video stream recovery. INVALIDPARAMETERVALUE_LACKVIDEORECOVER = "InvalidParameterValue.LackVideoRecover" // Parameter error: Limit. INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" // Parameter configuration error: no-reference scoring. INVALIDPARAMETERVALUE_LOWEVALUATION = "InvalidParameterValue.LowEvaluation" // Parameter configuration error: brightness anomaly of low light. INVALIDPARAMETERVALUE_LOWLIGHTING = "InvalidParameterValue.LowLighting" // Parameter configuration error: low voice detection. INVALIDPARAMETERVALUE_LOWVOICE = "InvalidParameterValue.LowVoice" // Incorrect parameter value: the default template cannot be modified. INVALIDPARAMETERVALUE_MODIFYDEFAULTTEMPLATE = "InvalidParameterValue.ModifyDefaultTemplate" // Parameter configuration error: mosaic detection. INVALIDPARAMETERVALUE_MOSAIC = "InvalidParameterValue.Mosaic" // Parameter configuration error: codec FourCC in MP4 not meeting Apple HLS requirements. INVALIDPARAMETERVALUE_MP4INVALIDCODECFOURCC = "InvalidParameterValue.Mp4InvalidCodecFourcc" // Incorrect parameter value: `Name` exceeds the length limit. INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" // Parameter configuration error: no voice detection. INVALIDPARAMETERVALUE_NOVOICE = "InvalidParameterValue.NoVoice" // Tasks not in processing status are not supported. INVALIDPARAMETERVALUE_NOTPROCESSINGTASK = "InvalidParameterValue.NotProcessingTask" // Incorrect parameter value: object library parameter is invalid. INVALIDPARAMETERVALUE_OBJECTLIBRARY = "InvalidParameterValue.ObjectLibrary" // Parameter configuration error: stream parameter set information change. INVALIDPARAMETERVALUE_PARAMETERSETSCHANGED = "InvalidParameterValue.ParameterSetsChanged" // Incorrect parameter value: incorrect face image format. INVALIDPARAMETERVALUE_PICFORMATERROR = "InvalidParameterValue.PicFormatError" // Parameter configuration error: PTS jitter too high. INVALIDPARAMETERVALUE_PTSJITTER = "InvalidParameterValue.PtsJitter" // Parameter configuration error: PTS less than DTS for media streams. INVALIDPARAMETERVALUE_PTSLESSTHANDTS = "InvalidParameterValue.PtsLessThanDts" // Incorrect parameter value: Quality. INVALIDPARAMETERVALUE_QUALITY = "InvalidParameterValue.Quality" // Parameter configuration error: significant jitter in the network receive frame rate. INVALIDPARAMETERVALUE_RECEIVEFPSJITTER = "InvalidParameterValue.ReceiveFpsJitter" // Parameter configuration error: network receive video frame rate too low. INVALIDPARAMETERVALUE_RECEIVEFPSTOOSMALL = "InvalidParameterValue.ReceiveFpsTooSmall" // 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" // Parameter configuration error: stream end. INVALIDPARAMETERVALUE_STREAMEND = "InvalidParameterValue.StreamEnd" // Parameter configuration error: NALU start code error. INVALIDPARAMETERVALUE_STREAMNALUERROR = "InvalidParameterValue.StreamNALUError" // Parameter configuration error: stream open failure. INVALIDPARAMETERVALUE_STREAMOPENFAILED = "InvalidParameterValue.StreamOpenFailed" // Parameter configuration error: stream parsing failure. INVALIDPARAMETERVALUE_STREAMPARSEFAILED = "InvalidParameterValue.StreamParseFailed" // 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 configuration error: TMCD track in MP4. INVALIDPARAMETERVALUE_TIMECODETRACKEXIST = "InvalidParameterValue.TimecodeTrackExist" // Parameter configuration error: DTS timestamp rollback. INVALIDPARAMETERVALUE_TIMESTAMPFALLBACK = "InvalidParameterValue.TimestampFallback" // Parameter configuration error: multiple programs in MPEG2-TS streams. INVALIDPARAMETERVALUE_TSMULTIPROGRAMS = "InvalidParameterValue.TsMultiPrograms" // Parameter configuration error: no AUD NALU in the H26x stream of MPEG-TS. INVALIDPARAMETERVALUE_TSSTREAMNOAUD = "InvalidParameterValue.TsStreamNoAud" // Parameter error: incorrect `Type` value. INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type" // Unknown diagnostic category. INVALIDPARAMETERVALUE_UNKNOWNCATEGORY = "InvalidParameterValue.UnknownCategory" // 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 configuration error: video stream bitrate out of range. INVALIDPARAMETERVALUE_VIDEOBITRATEOUTOFRANGE = "InvalidParameterValue.VideoBitrateOutofRange" // Parameter error: video stream codec. INVALIDPARAMETERVALUE_VIDEOCODEC = "InvalidParameterValue.VideoCodec" // Parameter configuration error: video decoding error. INVALIDPARAMETERVALUE_VIDEODECODEFAILED = "InvalidParameterValue.VideoDecodeFailed" // Parameter configuration error: video frame dropping. INVALIDPARAMETERVALUE_VIDEODROPPINGFRAMES = "InvalidParameterValue.VideoDroppingFrames" // Parameter configuration error: duplicate frames in video streams. INVALIDPARAMETERVALUE_VIDEODUPLICATEDFRAME = "InvalidParameterValue.VideoDuplicatedFrame" // Parameter configuration error: first frame not an IDR frame. INVALIDPARAMETERVALUE_VIDEOFIRSTFRAMENOTIDR = "InvalidParameterValue.VideoFirstFrameNotIdr" // Parameter configuration error: video freezing. INVALIDPARAMETERVALUE_VIDEOFREEZEDFRAME = "InvalidParameterValue.VideoFreezedFrame" // Parameter configuration error: video resolution change. INVALIDPARAMETERVALUE_VIDEORESOLUTIONCHANGED = "InvalidParameterValue.VideoResolutionChanged" // Parameter configuration error: video rotation. INVALIDPARAMETERVALUE_VIDEOROTATION = "InvalidParameterValue.VideoRotation" // Parameter configuration error: no video stream. INVALIDPARAMETERVALUE_VIDEOSTREAMLACK = "InvalidParameterValue.VideoStreamLack" // 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,omitempty" name:"Definition"` // Intelligent analysis template name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Intelligent analysis template description. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // Control parameter of intelligent categorization task. ClassificationConfigure *ClassificationConfigureInfo `json:"ClassificationConfigure,omitnil,omitempty" name:"ClassificationConfigure"` // Control parameter of intelligent tagging task. TagConfigure *TagConfigureInfo `json:"TagConfigure,omitnil,omitempty" name:"TagConfigure"` // Control parameter of intelligent cover generating task. CoverConfigure *CoverConfigureInfo `json:"CoverConfigure,omitnil,omitempty" name:"CoverConfigure"` // Control parameter of intelligent frame-specific tagging task. FrameTagConfigure *FrameTagConfigureInfo `json:"FrameTagConfigure,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"Type"` }
type AIRecognitionTemplateItem ¶
type AIRecognitionTemplateItem struct { // Unique ID of a video content recognition template. Definition *int64 `json:"Definition,omitnil,omitempty" name:"Definition"` // Name of a video content recognition template. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Description of a video content recognition template. Comment *string `json:"Comment,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"AsrWordsConfigure"` // Voice translation control parameters. // Note: This field may return null, indicating that no valid values can be obtained. TranslateConfigure *TranslateConfigureInfo `json:"TranslateConfigure,omitnil,omitempty" name:"TranslateConfigure"` // 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,omitempty" 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,omitempty" 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,omitempty" name:"Type"` }
type Activity ¶
type Activity struct { // Atomic task type. // <li>input: start node.</li> // <li>output: termination node.</li> // <li>action-trans: transcoding.</li> // <li>action-samplesnapshot: sampled screenshot taking.</li> // <li>action-AIAnalysis: analysis.</li> // <li>action-AIRecognition: recognition.</li> // <li>action-aiReview: auditing.</li> // <li>action-animated-graphics: animated image generating.</li> // <li>action-image-sprite: sprite image generating.</li> // <li>action-snapshotByTimeOffset: time point screenshot taking.</li> // <li>action-adaptive-substream: adaptive bitrate streaming.</li> // <li>action-AIQualityControl: media quality inspection.</li> // // // // Note: This field may return null, indicating that no valid values can be obtained. ActivityType *string `json:"ActivityType,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ActivityPara"` }
type ActivityPara ¶
type ActivityPara struct { // A transcoding task. TranscodeTask *TranscodeTaskInput `json:"TranscodeTask,omitnil,omitempty" name:"TranscodeTask"` // An animated screenshot generation task. AnimatedGraphicTask *AnimatedGraphicTaskInput `json:"AnimatedGraphicTask,omitnil,omitempty" name:"AnimatedGraphicTask"` // A time point screencapturing task. SnapshotByTimeOffsetTask *SnapshotByTimeOffsetTaskInput `json:"SnapshotByTimeOffsetTask,omitnil,omitempty" name:"SnapshotByTimeOffsetTask"` // A sampled screencapturing task. SampleSnapshotTask *SampleSnapshotTaskInput `json:"SampleSnapshotTask,omitnil,omitempty" name:"SampleSnapshotTask"` // An image sprite generation task. ImageSpriteTask *ImageSpriteTaskInput `json:"ImageSpriteTask,omitnil,omitempty" name:"ImageSpriteTask"` // An adaptive bitrate streaming task. AdaptiveDynamicStreamingTask *AdaptiveDynamicStreamingTaskInput `json:"AdaptiveDynamicStreamingTask,omitnil,omitempty" name:"AdaptiveDynamicStreamingTask"` // A content moderation task. AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitnil,omitempty" name:"AiContentReviewTask"` // A content analysis task. AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitnil,omitempty" name:"AiAnalysisTask"` // A content recognition task. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitnil,omitempty" name:"AiRecognitionTask"` // Media quality inspection task. // Note: This field may return null, indicating that no valid values can be obtained. QualityControlTask *AiQualityControlTaskInput `json:"QualityControlTask,omitnil,omitempty" name:"QualityControlTask"` }
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,omitempty" 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,omitempty" 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 *MediaProcessTaskSnapshotByTimeOffsetResult `json:"SnapshotByTimeOffsetTask,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"AnalysisTask"` // Media quality inspection task output. // Note: This field may return null, indicating that no valid values can be obtained. QualityControlTask *ScheduleQualityControlTaskResult `json:"QualityControlTask,omitnil,omitempty" name:"QualityControlTask"` }
type ActivityResult ¶
type ActivityResult struct { // Atomic task type. // <li>Transcode: transcoding.</li> // <li>SampleSnapshot: sampled screenshot taking.</li> // <li>AnimatedGraphics: animated image generating.</li> // <li>SnapshotByTimeOffset: time point screenshot taking.</li> // <li>ImageSprites: sprite image generating.</li> // <li>AdaptiveDynamicStreaming: adaptive bitrate streaming.</li> // <li>AiContentReview: content moderation.</li> // <li>AIRecognition: intelligent identification.</li> // <li>AIAnalysis: intelligent analysis.</li> // // <li>AiQualityControl: media quality inspection.</li> ActivityType *string `json:"ActivityType,omitnil,omitempty" name:"ActivityType"` // The execution results of the subtasks of the scheme. ActivityResItem *ActivityResItem `json:"ActivityResItem,omitnil,omitempty" name:"ActivityResItem"` }
type AdaptiveDynamicStreamingInfoItem ¶
type AdaptiveDynamicStreamingInfoItem struct { // Adaptive bitrate streaming specification. Definition *int64 `json:"Definition,omitnil,omitempty" name:"Definition"` // Container format. Valid values: HLS, MPEG-DASH. Package *string `json:"Package,omitnil,omitempty" name:"Package"` // Playback address. Path *string `json:"Path,omitnil,omitempty" name:"Path"` // Storage location of adaptive bitrate streaming files. Storage *TaskOutputStorage `json:"Storage,omitnil,omitempty" name:"Storage"` }
type AdaptiveDynamicStreamingTaskInput ¶
type AdaptiveDynamicStreamingTaskInput struct { // Adaptive bitrate streaming template ID. Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` // List of up to 10 image or text watermarks. WatermarkSet []*WatermarkInput `json:"WatermarkSet,omitnil,omitempty" name:"WatermarkSet"` // // Note: This field may return·null, indicating that no valid values can be obtained. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"SegmentObjectName"` // // Note: This field may return·null, indicating that no valid values can be obtained. AddOnSubtitles []*AddOnSubtitle `json:"AddOnSubtitles,omitnil,omitempty" name:"AddOnSubtitles"` // // Note: This field may return·null, indicating that no valid values can be obtained. DrmInfo *DrmInfo `json:"DrmInfo,omitnil,omitempty" name:"DrmInfo"` // Adaptive transcoding template type. // Common: audio-video. // PureAudio: audio-only. // Note: This field may return null, indicating that no valid values can be obtained. DefinitionType *string `json:"DefinitionType,omitnil,omitempty" name:"DefinitionType"` }
type AdaptiveDynamicStreamingTemplate ¶
type AdaptiveDynamicStreamingTemplate struct { // Unique ID of an adaptive bitrate streaming template. Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` // Template type. Valid values: // <li>Preset: preset template;</li> // <li>Custom: custom template.</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Name of an adaptive bitrate streaming template. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Description of an adaptive bitrate streaming template. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // Adaptive bitrate streaming format. Valid values: // <li>HLS;</li> // <li>MPEG-DASH.</li> Format *string `json:"Format,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"UpdateTime"` // Whether it is an audio-only template. 0: video template. 1: audio-only template.Note: This field may return null, indicating that no valid values can be obtained. PureAudio *uint64 `json:"PureAudio,omitnil,omitempty" name:"PureAudio"` // HLS segment type. Valid values: // <li>ts-segment: HLS+TS segment.</li> // <li>ts-byterange: HLS+TS byte range.</li> // <li>mp4-segment: HLS+MP4 segment.</li> // <li>mp4-byterange: HLS+MP4 byte range.</li> // <li>ts-packed-audio: TS+Packed audio.</li> // <li>mp4-packed-audio: MP4+Packed audio.</li> // Default value: ts-segment. // // Note: The HLS segment format for adaptive bitrate streaming is based on this field.Note: This field may return null, indicating that no valid values can be obtained. SegmentType *string `json:"SegmentType,omitnil,omitempty" name:"SegmentType"` }
type AdaptiveStreamTemplate ¶
type AdaptiveStreamTemplate struct { // Video parameter information. Video *VideoTemplateInfo `json:"Video,omitnil,omitempty" name:"Video"` // Audio parameter information. Audio *AudioTemplateInfo `json:"Audio,omitnil,omitempty" name:"Audio"` // Whether to remove audio stream. Valid values: // <li>0: no,</li> // <li>1: yes.</li> RemoveAudio *uint64 `json:"RemoveAudio,omitnil,omitempty" name:"RemoveAudio"` // Whether to remove video stream. Valid values: // <li>0: no,</li> // <li>1: yes.</li> RemoveVideo *uint64 `json:"RemoveVideo,omitnil,omitempty" 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,omitempty" name:"Type"` // The subtitle file. // Note: This field may return·null, indicating that no valid values can be obtained. Subtitle *MediaInputInfo `json:"Subtitle,omitnil,omitempty" name:"Subtitle"` }
type AiAnalysisResult ¶
type AiAnalysisResult struct { // Task type. Valid values: // <li>Classification: intelligent classification.</li> // <li>Cover: intelligent thumbnail generating.</li> // <li>Tag: intelligent tagging.</li> // <li>FrameTag: intelligent frame-by-frame tagging.</li> // <li>Highlight: intelligent highlights generating.</li> // // <li>DeLogo: intelligent removal.</li> // <li>Description: large model summarization.</li> Type *string `json:"Type,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"HighlightTask"` // The query result of an intelligent removal task for video analysis, which is valid when the task type is DeLogo. // Note: This field may return null, indicating that no valid values can be obtained. DeLogoTask *AiAnalysisTaskDelLogoResult `json:"DeLogoTask,omitnil,omitempty" name:"DeLogoTask"` // The query result of a splitting task for video analysis, which is valid when the task type is SegmentRecognition. // Note: This field may return null, indicating that no valid values can be obtained. SegmentTask *AiAnalysisTaskSegmentResult `json:"SegmentTask,omitnil,omitempty" name:"SegmentTask"` // The query result of an opening and closing segments recognition task for video analysis, which is valid when the task type is HeadTailRecognition. // Note: This field may return null, indicating that no valid values can be obtained. HeadTailTask *AiAnalysisTaskHeadTailResult `json:"HeadTailTask,omitnil,omitempty" name:"HeadTailTask"` // The query result of a video analysis summarization task, which is valid when the task type is Description. // Note: This field may return null, indicating that no valid values can be obtained. DescriptionTask *AiAnalysisTaskDescriptionResult `json:"DescriptionTask,omitnil,omitempty" name:"DescriptionTask"` // The query result of a landscape-to-portrait task for video analysis, which is valid when the task type is HorizontalToVertical. // Note: This field may return null, indicating that no valid values can be obtained. HorizontalToVerticalTask *AiAnalysisTaskHorizontalToVerticalResult `json:"HorizontalToVerticalTask,omitnil,omitempty" name:"HorizontalToVerticalTask"` }
type AiAnalysisTaskClassificationInput ¶
type AiAnalysisTaskClassificationInput struct { // Intelligent video categorization template ID. Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` }
type AiAnalysisTaskClassificationOutput ¶
type AiAnalysisTaskClassificationOutput struct { // List of intelligently generated video categories. ClassificationSet []*MediaAiAnalysisClassificationItem `json:"ClassificationSet,omitnil,omitempty" name:"ClassificationSet"` }
type AiAnalysisTaskClassificationResult ¶
type AiAnalysisTaskClassificationResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Input of intelligent categorization task. Input *AiAnalysisTaskClassificationInput `json:"Input,omitnil,omitempty" name:"Input"` // Output of intelligent categorization task. Output *AiAnalysisTaskClassificationOutput `json:"Output,omitnil,omitempty" name:"Output"` }
type AiAnalysisTaskCoverInput ¶
type AiAnalysisTaskCoverInput struct { // Intelligent video cover generating template ID. Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` }
type AiAnalysisTaskCoverOutput ¶
type AiAnalysisTaskCoverOutput struct { // List of intelligently generated covers. CoverSet []*MediaAiAnalysisCoverItem `json:"CoverSet,omitnil,omitempty" name:"CoverSet"` // Storage location of intelligently generated cover. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil,omitempty" name:"OutputStorage"` }
type AiAnalysisTaskCoverResult ¶
type AiAnalysisTaskCoverResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Input of intelligent cover generating task. Input *AiAnalysisTaskCoverInput `json:"Input,omitnil,omitempty" name:"Input"` // Output of intelligent cover generating task. Output *AiAnalysisTaskCoverOutput `json:"Output,omitnil,omitempty" name:"Output"` }
type AiAnalysisTaskDelLogoInput ¶
type AiAnalysisTaskDelLogoInput struct { // Intelligent removal template ID. Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` }
type AiAnalysisTaskDelLogoOutput ¶
type AiAnalysisTaskDelLogoOutput struct { // Path of a file after removal. Path *string `json:"Path,omitnil,omitempty" name:"Path"` // Storage location of a file after removal. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil,omitempty" name:"OutputStorage"` // Path of a subtitle file extracted from a video. // Note: This field may return null, indicating that no valid values can be obtained. OriginSubtitlePath *string `json:"OriginSubtitlePath,omitnil,omitempty" name:"OriginSubtitlePath"` // Path of a subtitle translation file extracted from a video. // Note: This field may return null, indicating that no valid values can be obtained. TranslateSubtitlePath *string `json:"TranslateSubtitlePath,omitnil,omitempty" name:"TranslateSubtitlePath"` }
type AiAnalysisTaskDelLogoResult ¶
type AiAnalysisTaskDelLogoResult struct { // Task status, including PROCESSING, SUCCESS, and FAIL. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Error code. `0`: Task successful. Other values: Task failed. ErrCode *int64 `json:"ErrCode,omitnil,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Intelligent removal task input. Input *AiAnalysisTaskDelLogoInput `json:"Input,omitnil,omitempty" name:"Input"` // Intelligent removal task output.Note: This field may return null, indicating that no valid values can be obtained. Output *AiAnalysisTaskDelLogoOutput `json:"Output,omitnil,omitempty" name:"Output"` }
type AiAnalysisTaskDescriptionInput ¶
type AiAnalysisTaskDescriptionInput struct { // Intelligent description template ID. Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` }
type AiAnalysisTaskDescriptionOutput ¶
type AiAnalysisTaskDescriptionOutput struct { // Intelligent video description list. DescriptionSet []*MediaAiAnalysisDescriptionItem `json:"DescriptionSet,omitnil,omitempty" name:"DescriptionSet"` }
type AiAnalysisTaskDescriptionResult ¶
type AiAnalysisTaskDescriptionResult struct { // Task status, including PROCESSING, SUCCESS, and FAIL. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Error code. `0`: Task successful. Other values: Task failed. ErrCode *int64 `json:"ErrCode,omitnil,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Intelligent description task input. Input *AiAnalysisTaskDescriptionInput `json:"Input,omitnil,omitempty" name:"Input"` // Intelligent description task output. // Note: This field may return null, indicating that no valid values can be obtained. Output *AiAnalysisTaskDescriptionOutput `json:"Output,omitnil,omitempty" name:"Output"` }
type AiAnalysisTaskFrameTagInput ¶
type AiAnalysisTaskFrameTagInput struct { // Intelligent frame-specific video tagging template ID. Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` }
type AiAnalysisTaskFrameTagOutput ¶
type AiAnalysisTaskFrameTagOutput struct { // List of frame-specific video tags. SegmentSet []*MediaAiAnalysisFrameTagSegmentItem `json:"SegmentSet,omitnil,omitempty" name:"SegmentSet"` }
type AiAnalysisTaskFrameTagResult ¶
type AiAnalysisTaskFrameTagResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Input of intelligent frame-specific tagging task. Input *AiAnalysisTaskFrameTagInput `json:"Input,omitnil,omitempty" name:"Input"` // Output of intelligent frame-specific tagging task. Output *AiAnalysisTaskFrameTagOutput `json:"Output,omitnil,omitempty" name:"Output"` }
type AiAnalysisTaskHeadTailInput ¶
type AiAnalysisTaskHeadTailInput struct { // Opening and closing segments recognition template ID. Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` }
type AiAnalysisTaskHeadTailOutput ¶
type AiAnalysisTaskHeadTailOutput struct { // Opening segment PTS. // Note: This field may return null, indicating that no valid values can be obtained. HeadTimeOffset *float64 `json:"HeadTimeOffset,omitnil,omitempty" name:"HeadTimeOffset"` // Closing segment PTS. // Note: This field may return null, indicating that no valid values can be obtained. TailTimeOffset *float64 `json:"TailTimeOffset,omitnil,omitempty" name:"TailTimeOffset"` }
type AiAnalysisTaskHeadTailResult ¶
type AiAnalysisTaskHeadTailResult struct { // Task status, including PROCESSING, SUCCESS, and FAIL. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Error code. `0`: Task successful. Other values: Task failed. ErrCode *int64 `json:"ErrCode,omitnil,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Opening and closing segments recognition task input. Input *AiAnalysisTaskHeadTailInput `json:"Input,omitnil,omitempty" name:"Input"` // Opening and closing segments recognition task output.Note: This field may return null, indicating that no valid values can be obtained. Output *AiAnalysisTaskHeadTailOutput `json:"Output,omitnil,omitempty" name:"Output"` }
type AiAnalysisTaskHighlightInput ¶
type AiAnalysisTaskHighlightInput struct { // The ID of the intelligent highlight generation template. Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` }
type AiAnalysisTaskHighlightOutput ¶
type AiAnalysisTaskHighlightOutput struct { // A list of the highlight segments generated. HighlightSet []*MediaAiAnalysisHighlightItem `json:"HighlightSet,omitnil,omitempty" name:"HighlightSet"` // The storage location of the highlight segments. // Note: This field may return·null, indicating that no valid values can be obtained. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil,omitempty" name:"OutputStorage"` }
type AiAnalysisTaskHighlightResult ¶
type AiAnalysisTaskHighlightResult struct { // The task status. Valid values: `PROCESSING`, `SUCCESS`, `FAIL`. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Error code. `0`: The task succeeded; other values: The task failed. ErrCode *int64 `json:"ErrCode,omitnil,omitempty" name:"ErrCode"` // The error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The input of the intelligent highlight generation task. Input *AiAnalysisTaskHighlightInput `json:"Input,omitnil,omitempty" 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,omitempty" name:"Output"` }
type AiAnalysisTaskHorizontalToVerticalInput ¶
type AiAnalysisTaskHorizontalToVerticalInput struct { // Intelligent landscape-to-portrait template ID. // Note: This field may return null, indicating that no valid values can be obtained. Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` }
type AiAnalysisTaskHorizontalToVerticalOutput ¶
type AiAnalysisTaskHorizontalToVerticalOutput struct { // Intelligent landscape-to-portrait video list. // Note: This field may return null, indicating that no valid values can be obtained. Path *string `json:"Path,omitnil,omitempty" name:"Path"` // Storage location of intelligent landscape-to-portrait videos. // Note: This field may return null, indicating that no valid values can be obtained. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil,omitempty" name:"OutputStorage"` // Confidence. // // Note: This field may return null, indicating that no valid values can be obtained. Confidence *float64 `json:"Confidence,omitnil,omitempty" name:"Confidence"` }
type AiAnalysisTaskHorizontalToVerticalResult ¶
type AiAnalysisTaskHorizontalToVerticalResult struct { // Task status, including PROCESSING, SUCCESS, and FAIL. // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Error code. 0: Task successful. Other values: Task failed. // // Note: This field may return null, indicating that no valid values can be obtained. ErrCode *int64 `json:"ErrCode,omitnil,omitempty" name:"ErrCode"` // Error message // // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Intelligent landscape-to-portrait task input. // Note: This field may return null, indicating that no valid values can be obtained. Input *AiAnalysisTaskHorizontalToVerticalInput `json:"Input,omitnil,omitempty" name:"Input"` // Intelligent landscape-to-portrait task output. // Note: This field may return null, indicating that no valid values can be obtained. Output *AiAnalysisTaskHorizontalToVerticalOutput `json:"Output,omitnil,omitempty" name:"Output"` }
type AiAnalysisTaskInput ¶
type AiAnalysisTaskInput struct { // Video content analysis template ID. Definition *uint64 `json:"Definition,omitnil,omitempty" 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,omitempty" name:"ExtendedParameter"` }
type AiAnalysisTaskSegmentInput ¶
type AiAnalysisTaskSegmentInput struct { // Splitting task template ID. Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` }
type AiAnalysisTaskSegmentOutput ¶
type AiAnalysisTaskSegmentOutput struct { // Intelligent splitting sub-segment list. SegmentSet []*SegmentRecognitionItem `json:"SegmentSet,omitnil,omitempty" name:"SegmentSet"` }
type AiAnalysisTaskSegmentResult ¶
type AiAnalysisTaskSegmentResult struct { // Task status, including PROCESSING, SUCCESS, and FAIL. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Error code. `0`: Task successful. Other values: Task failed. ErrCode *int64 `json:"ErrCode,omitnil,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Splitting task input. Input *AiAnalysisTaskSegmentInput `json:"Input,omitnil,omitempty" name:"Input"` // Splitting task output.Note: This field may return null, indicating that no valid values can be obtained. Output *AiAnalysisTaskSegmentOutput `json:"Output,omitnil,omitempty" name:"Output"` }
type AiAnalysisTaskTagInput ¶
type AiAnalysisTaskTagInput struct { // Intelligent video tagging template ID. Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` }
type AiAnalysisTaskTagOutput ¶
type AiAnalysisTaskTagOutput struct { // List of intelligently generated video tags. TagSet []*MediaAiAnalysisTagItem `json:"TagSet,omitnil,omitempty" name:"TagSet"` }
type AiAnalysisTaskTagResult ¶
type AiAnalysisTaskTagResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Input of intelligent tagging task. Input *AiAnalysisTaskTagInput `json:"Input,omitnil,omitempty" name:"Input"` // Output of intelligent tagging task. Output *AiAnalysisTaskTagOutput `json:"Output,omitnil,omitempty" 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,omitempty" name:"Type"` // Sample rate, which indicates the number of video frames captured per second for audit SampleRate *float64 `json:"SampleRate,omitnil,omitempty" name:"SampleRate"` // Audited video duration in seconds. Duration *float64 `json:"Duration,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"ProhibitedOcrTask"` }
type AiContentReviewTaskInput ¶
type AiContentReviewTaskInput struct { // Video content audit template ID. Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` }
type AiParagraphInfo ¶
type AiParagraphInfo struct { // Segment summary. // Note: This field may return null, indicating that no valid values can be obtained. Summary *string `json:"Summary,omitnil,omitempty" name:"Summary"` // Segmentation start time point, in seconds. // Note: This field may return null, indicating that no valid values can be obtained. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil,omitempty" name:"StartTimeOffset"` // Segmentation end time point, in seconds. // Note: This field may return null, indicating that no valid values can be obtained. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil,omitempty" name:"EndTimeOffset"` }
type AiQualityControlTaskInput ¶
type AiQualityControlTaskInput struct { // Media quality inspection template ID. // You can directly use a preset template or customize a template in the console. The preset templates are as follows: // - 10: Enable all quality inspection items. // - 20: Only enable quality inspection items corresponding to format diagnosis. // - 30: Only enable quality inspection items corresponding to no-reference scoring. // - 40: Only enable quality inspection items corresponding to screen quality. // Note: This field may return null, indicating that no valid values can be obtained. Definition *uint64 `json:"Definition,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"TransTextTask"` // Object recognition result, which is valid when Type is // // ObjectRecognition. // Note: This field may return null, indicating that no valid values can be obtained. ObjectTask *AiRecognitionTaskObjectResult `json:"ObjectTask,omitnil,omitempty" name:"ObjectTask"` }
type AiRecognitionTaskAsrFullTextResult ¶
type AiRecognitionTaskAsrFullTextResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Input information of a full speech recognition task. Input *AiRecognitionTaskAsrFullTextResultInput `json:"Input,omitnil,omitempty" 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,omitempty" name:"Output"` // Task progress. // Note: This field may return null, indicating that no valid values can be obtained. Progress *uint64 `json:"Progress,omitnil,omitempty" name:"Progress"` }
type AiRecognitionTaskAsrFullTextResultInput ¶
type AiRecognitionTaskAsrFullTextResultInput struct { // Full speech recognition template ID. Definition *int64 `json:"Definition,omitnil,omitempty" name:"Definition"` }
type AiRecognitionTaskAsrFullTextResultOutput ¶
type AiRecognitionTaskAsrFullTextResultOutput struct { // List of full speech recognition segments. SegmentSet []*AiRecognitionTaskAsrFullTextSegmentItem `json:"SegmentSet,omitnil,omitempty" name:"SegmentSet"` // Subtitles file address. SubtitlePath *string `json:"SubtitlePath,omitnil,omitempty" name:"SubtitlePath"` // Subtitles file storage location. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil,omitempty" name:"OutputStorage"` }
type AiRecognitionTaskAsrFullTextSegmentItem ¶
type AiRecognitionTaskAsrFullTextSegmentItem struct { // Confidence of a recognition segment. Value range: 0-100. Confidence *float64 `json:"Confidence,omitnil,omitempty" name:"Confidence"` // Start time offset of a recognition segment in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil,omitempty" name:"StartTimeOffset"` // End time offset of a recognition segment in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil,omitempty" name:"EndTimeOffset"` // Recognized text. Text *string `json:"Text,omitnil,omitempty" name:"Text"` }
type AiRecognitionTaskAsrWordsResult ¶
type AiRecognitionTaskAsrWordsResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Input information of a speech keyword recognition task. Input *AiRecognitionTaskAsrWordsResultInput `json:"Input,omitnil,omitempty" 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,omitempty" name:"Output"` }
type AiRecognitionTaskAsrWordsResultInput ¶
type AiRecognitionTaskAsrWordsResultInput struct { // Speech keyword recognition template ID. Definition *int64 `json:"Definition,omitnil,omitempty" name:"Definition"` }
type AiRecognitionTaskAsrWordsResultItem ¶
type AiRecognitionTaskAsrWordsResultItem struct { // Speech keyword. Word *string `json:"Word,omitnil,omitempty" name:"Word"` // List of time segments that contain the speech keyword. SegmentSet []*AiRecognitionTaskAsrWordsSegmentItem `json:"SegmentSet,omitnil,omitempty" name:"SegmentSet"` }
type AiRecognitionTaskAsrWordsResultOutput ¶
type AiRecognitionTaskAsrWordsResultOutput struct { // Speech keyword recognition result set. ResultSet []*AiRecognitionTaskAsrWordsResultItem `json:"ResultSet,omitnil,omitempty" name:"ResultSet"` }
type AiRecognitionTaskAsrWordsSegmentItem ¶
type AiRecognitionTaskAsrWordsSegmentItem struct { // Start time offset of a recognition segment in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil,omitempty" name:"StartTimeOffset"` // End time offset of a recognition segment in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil,omitempty" name:"EndTimeOffset"` // Confidence of a recognition segment. Value range: 0-100. Confidence *float64 `json:"Confidence,omitnil,omitempty" name:"Confidence"` }
type AiRecognitionTaskFaceResult ¶
type AiRecognitionTaskFaceResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Input information of a face recognition task. Input *AiRecognitionTaskFaceResultInput `json:"Input,omitnil,omitempty" 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,omitempty" name:"Output"` }
type AiRecognitionTaskFaceResultInput ¶
type AiRecognitionTaskFaceResultInput struct { // Face recognition template ID. Definition *int64 `json:"Definition,omitnil,omitempty" name:"Definition"` }
type AiRecognitionTaskFaceResultItem ¶
type AiRecognitionTaskFaceResultItem struct { // Unique ID of a figure. Id *string `json:"Id,omitnil,omitempty" 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,omitempty" name:"Type"` // Name of a figure. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Result set of segments that contain a figure. SegmentSet []*AiRecognitionTaskFaceSegmentItem `json:"SegmentSet,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"Remark"` // The screenshot URL. // Note: This field may return null, indicating that no valid value can be obtained. Url *string `json:"Url,omitnil,omitempty" name:"Url"` }
type AiRecognitionTaskFaceResultOutput ¶
type AiRecognitionTaskFaceResultOutput struct { // Intelligent face recognition result set. ResultSet []*AiRecognitionTaskFaceResultItem `json:"ResultSet,omitnil,omitempty" name:"ResultSet"` }
type AiRecognitionTaskFaceSegmentItem ¶
type AiRecognitionTaskFaceSegmentItem struct { // Start time offset of a recognition segment in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil,omitempty" name:"StartTimeOffset"` // End time offset of a recognition segment in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil,omitempty" name:"EndTimeOffset"` // Confidence of a recognition segment. Value range: 0-100. Confidence *float64 `json:"Confidence,omitnil,omitempty" 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,omitempty" name:"AreaCoordSet"` }
type AiRecognitionTaskInput ¶
type AiRecognitionTaskInput struct { // Intelligent video recognition template ID. Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` }
type AiRecognitionTaskObjectResult ¶
type AiRecognitionTaskObjectResult struct { // Task status, including PROCESSING, SUCCESS, and FAIL. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Error code. `0`: Task successful. Other values: Task failed. ErrCode *int64 `json:"ErrCode,omitnil,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Object recognition task input. Input *AiRecognitionTaskObjectResultInput `json:"Input,omitnil,omitempty" name:"Input"` // Object recognition task output.Note: This field may return null, indicating that no valid values can be obtained. Output *AiRecognitionTaskObjectResultOutput `json:"Output,omitnil,omitempty" name:"Output"` }
type AiRecognitionTaskObjectResultInput ¶
type AiRecognitionTaskObjectResultInput struct { // Object recognition template ID. Definition *int64 `json:"Definition,omitnil,omitempty" name:"Definition"` }
type AiRecognitionTaskObjectResultItem ¶
type AiRecognitionTaskObjectResultItem struct { // Name of a recognized object. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // List of segments that contain the object. SegmentSet []*AiRecognitionTaskObjectSeqmentItem `json:"SegmentSet,omitnil,omitempty" name:"SegmentSet"` }
type AiRecognitionTaskObjectResultOutput ¶
type AiRecognitionTaskObjectResultOutput struct { // Intelligent object recognition result set. ResultSet []*AiRecognitionTaskObjectResultItem `json:"ResultSet,omitnil,omitempty" name:"ResultSet"` }
type AiRecognitionTaskObjectSeqmentItem ¶
type AiRecognitionTaskObjectSeqmentItem struct { // Start time offset of a recognized segment, in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil,omitempty" name:"StartTimeOffset"` // End time offset of a recognized segment, in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil,omitempty" name:"EndTimeOffset"` // Confidence of a recognized segment. Value range: 0-100. Confidence *float64 `json:"Confidence,omitnil,omitempty" name:"Confidence"` // Zone coordinates of the recognition result. An array contains four elements: [x1, y1, x2, y2], representing the horizontal and vertical coordinates of the top-left and bottom-right corners, respectively. AreaCoordSet []*int64 `json:"AreaCoordSet,omitnil,omitempty" name:"AreaCoordSet"` }
type AiRecognitionTaskOcrFullTextResult ¶
type AiRecognitionTaskOcrFullTextResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Input information of a full text recognition task. Input *AiRecognitionTaskOcrFullTextResultInput `json:"Input,omitnil,omitempty" 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,omitempty" name:"Output"` }
type AiRecognitionTaskOcrFullTextResultInput ¶
type AiRecognitionTaskOcrFullTextResultInput struct { // Full text recognition template ID. Definition *int64 `json:"Definition,omitnil,omitempty" name:"Definition"` }
type AiRecognitionTaskOcrFullTextResultOutput ¶
type AiRecognitionTaskOcrFullTextResultOutput struct { // Full text recognition result set. SegmentSet []*AiRecognitionTaskOcrFullTextSegmentItem `json:"SegmentSet,omitnil,omitempty" name:"SegmentSet"` }
type AiRecognitionTaskOcrFullTextSegmentItem ¶
type AiRecognitionTaskOcrFullTextSegmentItem struct { // Start time offset of a recognition segment in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil,omitempty" name:"StartTimeOffset"` // End time offset of a recognition segment in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil,omitempty" name:"EndTimeOffset"` // Recognition segment result set. TextSet []*AiRecognitionTaskOcrFullTextSegmentTextItem `json:"TextSet,omitnil,omitempty" name:"TextSet"` }
type AiRecognitionTaskOcrFullTextSegmentTextItem ¶
type AiRecognitionTaskOcrFullTextSegmentTextItem struct { // Confidence of a recognition segment. Value range: 0-100. Confidence *float64 `json:"Confidence,omitnil,omitempty" 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,omitempty" name:"AreaCoordSet"` // Recognized text. Text *string `json:"Text,omitnil,omitempty" name:"Text"` }
type AiRecognitionTaskOcrWordsResult ¶
type AiRecognitionTaskOcrWordsResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Input information of a text keyword recognition task. Input *AiRecognitionTaskOcrWordsResultInput `json:"Input,omitnil,omitempty" 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,omitempty" name:"Output"` }
type AiRecognitionTaskOcrWordsResultInput ¶
type AiRecognitionTaskOcrWordsResultInput struct { // Text keyword recognition template ID. Definition *int64 `json:"Definition,omitnil,omitempty" name:"Definition"` }
type AiRecognitionTaskOcrWordsResultItem ¶
type AiRecognitionTaskOcrWordsResultItem struct { // Text keyword. Word *string `json:"Word,omitnil,omitempty" name:"Word"` // List of segments that contain a text keyword. SegmentSet []*AiRecognitionTaskOcrWordsSegmentItem `json:"SegmentSet,omitnil,omitempty" name:"SegmentSet"` }
type AiRecognitionTaskOcrWordsResultOutput ¶
type AiRecognitionTaskOcrWordsResultOutput struct { // Text keyword recognition result set. ResultSet []*AiRecognitionTaskOcrWordsResultItem `json:"ResultSet,omitnil,omitempty" name:"ResultSet"` }
type AiRecognitionTaskOcrWordsSegmentItem ¶
type AiRecognitionTaskOcrWordsSegmentItem struct { // Start time offset of a recognition segment in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil,omitempty" name:"StartTimeOffset"` // End time offset of a recognition segment in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil,omitempty" name:"EndTimeOffset"` // Confidence of a recognition segment. Value range: 0-100. Confidence *float64 `json:"Confidence,omitnil,omitempty" 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,omitempty" name:"AreaCoordSet"` }
type AiRecognitionTaskTransTextResult ¶
type AiRecognitionTaskTransTextResult struct { // The task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // The error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The input of the translation task. Input *AiRecognitionTaskTransTextResultInput `json:"Input,omitnil,omitempty" 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,omitempty" name:"Output"` // Task progress. // Note: This field may return null, indicating that no valid values can be obtained. Progress *uint64 `json:"Progress,omitnil,omitempty" name:"Progress"` }
type AiRecognitionTaskTransTextResultInput ¶
type AiRecognitionTaskTransTextResultInput struct { // The translation template ID. Definition *int64 `json:"Definition,omitnil,omitempty" name:"Definition"` }
type AiRecognitionTaskTransTextResultOutput ¶
type AiRecognitionTaskTransTextResultOutput struct { // The translated segments. SegmentSet []*AiRecognitionTaskTransTextSegmentItem `json:"SegmentSet,omitnil,omitempty" name:"SegmentSet"` // The subtitle URL. SubtitlePath *string `json:"SubtitlePath,omitnil,omitempty" name:"SubtitlePath"` // The subtitle storage location. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil,omitempty" name:"OutputStorage"` }
type AiRecognitionTaskTransTextSegmentItem ¶
type AiRecognitionTaskTransTextSegmentItem struct { // The confidence score for a segment. Value range: 0-100. Confidence *float64 `json:"Confidence,omitnil,omitempty" name:"Confidence"` // The start time offset (seconds) of a segment. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil,omitempty" name:"StartTimeOffset"` // The end time offset (seconds) of a segment. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil,omitempty" name:"EndTimeOffset"` // The text transcript. Text *string `json:"Text,omitnil,omitempty" name:"Text"` // The translation. Trans *string `json:"Trans,omitnil,omitempty" name:"Trans"` }
type AiReviewPoliticalAsrTaskInput ¶
type AiReviewPoliticalAsrTaskInput struct { // The template ID. Definition *uint64 `json:"Definition,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Suggestion"` // The video segments that contain sensitive information detected based on ASR. SegmentSet []*MediaContentReviewAsrTextSegmentItem `json:"SegmentSet,omitnil,omitempty" name:"SegmentSet"` }
type AiReviewPoliticalOcrTaskInput ¶
type AiReviewPoliticalOcrTaskInput struct { // The template ID. Definition *uint64 `json:"Definition,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Suggestion"` // The video segments that contain sensitive information detected based on OCR. SegmentSet []*MediaContentReviewOcrTextSegmentItem `json:"SegmentSet,omitnil,omitempty" name:"SegmentSet"` }
type AiReviewPoliticalTaskInput ¶
type AiReviewPoliticalTaskInput struct { // The template ID. Definition *uint64 `json:"Definition,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"Label"` // The video segments that contain sensitive information. SegmentSet []*MediaContentReviewPoliticalSegmentItem `json:"SegmentSet,omitnil,omitempty" name:"SegmentSet"` }
type AiReviewPornAsrTaskInput ¶
type AiReviewPornAsrTaskInput struct { // ID of a porn information detection template. Definition *uint64 `json:"Definition,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Suggestion"` // List of video segments that contain the ASR-detected porn information in text. SegmentSet []*MediaContentReviewAsrTextSegmentItem `json:"SegmentSet,omitnil,omitempty" name:"SegmentSet"` }
type AiReviewPornOcrTaskInput ¶
type AiReviewPornOcrTaskInput struct { // ID of a porn information detection template. Definition *uint64 `json:"Definition,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Suggestion"` // List of video segments that contain the OCR-detected porn information in text. SegmentSet []*MediaContentReviewOcrTextSegmentItem `json:"SegmentSet,omitnil,omitempty" name:"SegmentSet"` }
type AiReviewPornTaskInput ¶
type AiReviewPornTaskInput struct { // The ID of a porn detection template. // Note: This field may return·null, indicating that no valid values can be obtained. Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` }
type AiReviewPornTaskOutput ¶
type AiReviewPornTaskOutput struct { // Score of the detected porn information in video from 0 to 100. Confidence *float64 `json:"Confidence,omitnil,omitempty" name:"Confidence"` // Suggestion for the detected porn information. Valid values: // <li>pass.</li> // <li>review.</li> // <li>block.</li> Suggestion *string `json:"Suggestion,omitnil,omitempty" 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,omitempty" name:"Label"` // List of video segments that contain the detected porn information. SegmentSet []*MediaContentReviewSegmentItem `json:"SegmentSet,omitnil,omitempty" name:"SegmentSet"` }
type AiReviewProhibitedAsrTaskInput ¶
type AiReviewProhibitedAsrTaskInput struct { // Prohibited information detection template ID. Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` }
type AiReviewProhibitedAsrTaskOutput ¶
type AiReviewProhibitedAsrTaskOutput struct { // Score of ASR-detected prohibited information in speech between 0 and 100. Confidence *float64 `json:"Confidence,omitnil,omitempty" 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,omitempty" name:"Suggestion"` // List of video segments that contain the ASR-detected prohibited information in speech. SegmentSet []*MediaContentReviewAsrTextSegmentItem `json:"SegmentSet,omitnil,omitempty" name:"SegmentSet"` }
type AiReviewProhibitedOcrTaskInput ¶
type AiReviewProhibitedOcrTaskInput struct { // Prohibited information detection template ID. Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` }
type AiReviewProhibitedOcrTaskOutput ¶
type AiReviewProhibitedOcrTaskOutput struct { // Score of OCR-detected prohibited information in text between 0 and 100. Confidence *float64 `json:"Confidence,omitnil,omitempty" 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,omitempty" name:"Suggestion"` // List of video segments that contain the OCR-detected prohibited information in text. SegmentSet []*MediaContentReviewOcrTextSegmentItem `json:"SegmentSet,omitnil,omitempty" name:"SegmentSet"` }
type AiReviewTaskPoliticalAsrResult ¶
type AiReviewTaskPoliticalAsrResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The input parameter for ASR-based detection of politically sensitive information. Input *AiReviewPoliticalAsrTaskInput `json:"Input,omitnil,omitempty" 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,omitempty" name:"Output"` }
type AiReviewTaskPoliticalOcrResult ¶
type AiReviewTaskPoliticalOcrResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // Error message. // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The input parameter for OCR-based detection of politically sensitive information. Input *AiReviewPoliticalOcrTaskInput `json:"Input,omitnil,omitempty" 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,omitempty" name:"Output"` }
type AiReviewTaskPoliticalResult ¶
type AiReviewTaskPoliticalResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The input parameter for sensitive information detection. Input *AiReviewPoliticalTaskInput `json:"Input,omitnil,omitempty" 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,omitempty" name:"Output"` }
type AiReviewTaskPornAsrResult ¶
type AiReviewTaskPornAsrResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Input for an ASR-based porn information detection in text task during content audit. Input *AiReviewPornAsrTaskInput `json:"Input,omitnil,omitempty" 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,omitempty" name:"Output"` }
type AiReviewTaskPornOcrResult ¶
type AiReviewTaskPornOcrResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Input for an OCR-based porn information detection in text task during content audit. Input *AiReviewPornOcrTaskInput `json:"Input,omitnil,omitempty" 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,omitempty" name:"Output"` }
type AiReviewTaskPornResult ¶
type AiReviewTaskPornResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // Error message. // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Input for a porn information detection task during content audit. Input *AiReviewPornTaskInput `json:"Input,omitnil,omitempty" 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,omitempty" name:"Output"` }
type AiReviewTaskProhibitedAsrResult ¶
type AiReviewTaskProhibitedAsrResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Input of ASR-based prohibited information detection in speech task in content audit Input *AiReviewProhibitedAsrTaskInput `json:"Input,omitnil,omitempty" name:"Input"` // Output of ASR-based prohibited information detection in speech task in content audit Output *AiReviewProhibitedAsrTaskOutput `json:"Output,omitnil,omitempty" name:"Output"` }
type AiReviewTaskProhibitedOcrResult ¶
type AiReviewTaskProhibitedOcrResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Input of OCR-based prohibited information detection in text task in content audit Input *AiReviewProhibitedOcrTaskInput `json:"Input,omitnil,omitempty" name:"Input"` // Output of OCR-based prohibited information detection in text task in content audit Output *AiReviewProhibitedOcrTaskOutput `json:"Output,omitnil,omitempty" name:"Output"` }
type AiReviewTaskTerrorismOcrResult ¶
type AiReviewTaskTerrorismOcrResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The input parameter for OCR-based detection of terrorism content. Input *AiReviewTerrorismOcrTaskInput `json:"Input,omitnil,omitempty" 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,omitempty" name:"Output"` }
type AiReviewTaskTerrorismResult ¶
type AiReviewTaskTerrorismResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The input parameter for sensitive information detection. Input *AiReviewTerrorismTaskInput `json:"Input,omitnil,omitempty" 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,omitempty" name:"Output"` }
type AiReviewTerrorismOcrTaskInput ¶
type AiReviewTerrorismOcrTaskInput struct { // The template ID. Definition *uint64 `json:"Definition,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Suggestion"` // The video segments that contain sensitive information detected based on OCR. SegmentSet []*MediaContentReviewOcrTextSegmentItem `json:"SegmentSet,omitnil,omitempty" name:"SegmentSet"` }
type AiReviewTerrorismTaskInput ¶
type AiReviewTerrorismTaskInput struct { // The template ID. Definition *uint64 `json:"Definition,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"Label"` // The video segments that contain sensitive information. SegmentSet []*MediaContentReviewSegmentItem `json:"SegmentSet,omitnil,omitempty" 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,omitempty" name:"Type"` // Face ID set. This field is required when `Type` is `delete`. FaceIds []*string `json:"FaceIds,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Index"` // Error code. Valid values: // <li>0: Succeeded;</li> // <li>Other values: Failed.</li> ErrCode *int64 `json:"ErrCode,omitnil,omitempty" name:"ErrCode"` // Error description. Message *string `json:"Message,omitnil,omitempty" name:"Message"` }
type AiSamplePerson ¶
type AiSamplePerson struct { // Figure ID. PersonId *string `json:"PersonId,omitnil,omitempty" name:"PersonId"` // Name of a figure. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Figure description. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Face information. FaceInfoSet []*AiSampleFaceInfo `json:"FaceInfoSet,omitnil,omitempty" name:"FaceInfoSet"` // Figure tag. TagSet []*string `json:"TagSet,omitnil,omitempty" name:"TagSet"` // Use case. UsageSet []*string `json:"UsageSet,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"UpdateTime"` }
type AiSampleTagOperation ¶
type AiSampleWord ¶
type AiSampleWord struct { // Keyword. Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"` // Keyword tag. TagSet []*string `json:"TagSet,omitnil,omitempty" name:"TagSet"` // Keyword use case. UsageSet []*string `json:"UsageSet,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"UpdateTime"` }
type AiSampleWordInfo ¶
type AiSampleWordInfo struct { // Keyword. Length limit: 20 characters. Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"` // Keyword tag // <li>Array length limit: 20 tags;</li> // <li>Tag length limit: 128 characters.</li> Tags []*string `json:"Tags,omitnil,omitempty" name:"Tags"` }
type AnimatedGraphicTaskInput ¶
type AnimatedGraphicTaskInput struct { // Animated image generating template ID. Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` // Start time of an animated image in a video in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil,omitempty" name:"StartTimeOffset"` // End time of an animated image in a video in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil,omitempty" 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,omitempty" name:"OutputStorage"` // Output path of a file after animated image generating, which can be a relative or absolute path. // If you need to define an output path, the path must end with `.{format}`. For variable names, refer to [Filename Variable](https://intl.cloud.tencent.com/document/product/862/37039?from_cn_redirect=1). // Relative path example: // <li>Filename_{Variable name}.{format}.</li> // <li>Filename.{format}.</li> // Absolute path example: // <li>/Custom path/Filename_{Variable name}.{format}.</li> // If left empty, a relative path is used by default: `{inputName}_animatedGraphic_{definition}.{format}`. OutputObjectPath *string `json:"OutputObjectPath,omitnil,omitempty" name:"OutputObjectPath"` }
type AnimatedGraphicsTemplate ¶
type AnimatedGraphicsTemplate struct { // Unique ID of an animated image generating template. Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` // Template type. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Name of an animated image generating template. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Description of an animated image generating template. Comment *string `json:"Comment,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"ResolutionAdaptive"` // Animated image format. Format *string `json:"Format,omitnil,omitempty" name:"Format"` // Frame rate. Fps *uint64 `json:"Fps,omitnil,omitempty" name:"Fps"` // Image quality. Quality *float64 `json:"Quality,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"LabelSet"` }
type AudioBeautifyConfig ¶
type AudioBeautifyConfig struct { // Whether to enable the feature. Valid values: // <li>`ON`</li> // <li>`OFF` </li> // Default value: `ON`. Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // The audio improvement options. You can specify multiple options. Valid values: // <li>`declick`: Noise removal.</li> // <li>`deesser`: De-essing.</li> // Default: `declick`. // Note: This field may return·null, indicating that no valid values can be obtained. Types []*string `json:"Types,omitnil,omitempty" name:"Types"` }
type AudioDenoiseConfig ¶
type AudioDenoiseConfig struct { // Whether to enable the feature. Valid values: // <li>`ON`</li> // <li>`OFF` </li> // Default value: `ON`. Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` }
type AudioEnhanceConfig ¶
type AudioEnhanceConfig struct { // The audio noise reduction configuration. // Note: This field may return·null, indicating that no valid values can be obtained. Denoise *AudioDenoiseConfig `json:"Denoise,omitnil,omitempty" name:"Denoise"` // The audio separation configuration. // Note: This field may return·null, indicating that no valid values can be obtained. Separate *AudioSeparateConfig `json:"Separate,omitnil,omitempty" name:"Separate"` // The volume equalization configuration. // Note: This field may return·null, indicating that no valid values can be obtained. VolumeBalance *VolumeBalanceConfig `json:"VolumeBalance,omitnil,omitempty" name:"VolumeBalance"` // The audio improvement configuration. // Note: This field may return·null, indicating that no valid values can be obtained. Beautify *AudioBeautifyConfig `json:"Beautify,omitnil,omitempty" name:"Beautify"` }
type AudioSeparateConfig ¶
type AudioSeparateConfig struct { // Whether to enable the feature. Valid values: // <li>`ON`</li> // <li>`OFF` </li> // Default value: `ON`. Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // The scenario. Valid values: // <li>`normal`: Separate voice and background audio.</li> // <li>`music`: Separate vocals and instrumentals.</li> // Default value: `normal`. // Note: This field may return·null, indicating that no valid values can be obtained. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // The output audio track. Valid values: // <li>`vocal`: Voice.</li> // <li>`background`: Output background audio if the scenario is `normal`, and output instrumentals if the scenario is `music`.</li> // Default value: `vocal`. // Note: This field may return·null, indicating that no valid values can be obtained. Track *string `json:"Track,omitnil,omitempty" name:"Track"` }
type AudioTemplateInfo ¶
type AudioTemplateInfo struct { // Audio stream encoding format. // When audio transcoding is not needed, the value is: // <li>copy.</li> // When the outer parameter Container is mp3, the value is: // <li>mp3.</li> // When the outer parameter Container is ogg or flac, the value is: // <li>flac.</li> // When the outer parameter Container is m4a, valid values are: // <li>aac;</li> // <li>ac3.</li> // When the outer parameter Container is mp4 or flv, valid values are: // <li>aac: more suitable for mp4;</li> // <li>mp3: more suitable for flv;</li> // <li>mp2.</li> // When the outer parameter Container is hls, valid values are: // <li>aac;</li> // <li>mp3.</li> Codec *string `json:"Codec,omitnil,omitempty" 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 *int64 `json:"Bitrate,omitnil,omitempty" 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,omitempty" name:"SampleRate"` // Audio channel mode. Valid values: // <li>1: single channel.</li> // <li>2: dual channel.</li> // <li>6: 5.1 surround sound.</li> // When the media encapsulation format is audio (flac, ogg, mp3, and m4a), the number of channels cannot be set to 5.1 surround sound. // Default value: 2. AudioChannel *int64 `json:"AudioChannel,omitnil,omitempty" name:"AudioChannel"` }
type AudioTemplateInfoForUpdate ¶
type AudioTemplateInfoForUpdate struct { // Audio stream encoding format. // When audio transcoding is not needed, the value is: // <li>copy.</li> // When the outer parameter Container is mp3, the value is: // <li>mp3.</li> // When the outer parameter Container is ogg or flac, the value is: // <li>flac.</li> // When the outer parameter Container is m4a, valid values are: // <li>aac;</li> // <li>ac3.</li> // When the outer parameter Container is mp4 or flv, valid values are: // <li>aac: more suitable for mp4;</li> // <li>mp3: more suitable for flv;</li> // <li>mp2.</li> // When the outer parameter Container is hls, valid values are: // <li>aac;</li> // <li>mp3.</li> // Note: This field may return null, indicating that no valid values can be obtained. Codec *string `json:"Codec,omitnil,omitempty" 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 *int64 `json:"Bitrate,omitnil,omitempty" 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,omitempty" name:"SampleRate"` // Audio channel mode. Valid values: // <li>1: single channel.</li> // <li>2: dual channel.</li> // <li>6: 5.1 surround sound.</li> // When the media encapsulation format is audio (flac, ogg, mp3, and m4a), the number of channels cannot be set to 5.1 surround sound. // Note: This field may return null, indicating that no valid values can be obtained. AudioChannel *int64 `json:"AudioChannel,omitnil,omitempty" name:"AudioChannel"` // The audio tracks to retain. All audio tracks are retained by default. StreamSelects []*int64 `json:"StreamSelects,omitnil,omitempty" name:"StreamSelects"` }
type AwsS3FileUploadTrigger ¶
type AwsS3FileUploadTrigger struct { // The AWS S3 bucket bound to the scheme. S3Bucket *string `json:"S3Bucket,omitnil,omitempty" name:"S3Bucket"` // The region of the AWS S3 bucket. S3Region *string `json:"S3Region,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"AwsSQS"` }
type AwsSQS ¶
type AwsSQS struct { // The region of the SQS queue. // Note: This field may return·null, indicating that no valid values can be obtained. SQSRegion *string `json:"SQSRegion,omitnil,omitempty" name:"SQSRegion"` // The name of the SQS queue. // Note: This field may return·null, indicating that no valid values can be obtained. SQSQueueName *string `json:"SQSQueueName,omitnil,omitempty" name:"SQSQueueName"` // The key ID required to read from/write to the SQS queue. // Note: This field may return·null, indicating that no valid values can be obtained. S3SecretId *string `json:"S3SecretId,omitnil,omitempty" name:"S3SecretId"` // The key required to read from/write to the SQS queue. // Note: This field may return·null, indicating that no valid values can be obtained. S3SecretKey *string `json:"S3SecretKey,omitnil,omitempty" 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,omitempty" 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,omitempty" 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_FORMAT = "InvalidParameterValue.Format" 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_FORMAT = "InvalidParameterValue.Format" 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) CreateQualityControlTemplate ¶
func (c *Client) CreateQualityControlTemplate(request *CreateQualityControlTemplateRequest) (response *CreateQualityControlTemplateResponse, err error)
CreateQualityControlTemplate This API is used to create a media quality inspection template. Up to 50 templates can be created.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_AACDURATIONDEVIATION = "InvalidParameterValue.AACDurationDeviation" INVALIDPARAMETERVALUE_AVTIMESTAMPINTERLEAVE = "InvalidParameterValue.AVTimestampInterleave" INVALIDPARAMETERVALUE_AUDIOBITRATEOUTOFRANGE = "InvalidParameterValue.AudioBitrateOutofRange" INVALIDPARAMETERVALUE_AUDIOCHANNELSCHANGED = "InvalidParameterValue.AudioChannelsChanged" INVALIDPARAMETERVALUE_AUDIODECODEFAILED = "InvalidParameterValue.AudioDecodeFailed" INVALIDPARAMETERVALUE_AUDIODROPPINGFRAMES = "InvalidParameterValue.AudioDroppingFrames" INVALIDPARAMETERVALUE_AUDIODUPLICATEDFRAME = "InvalidParameterValue.AudioDuplicatedFrame" INVALIDPARAMETERVALUE_AUDIOOUTOFPHASE = "InvalidParameterValue.AudioOutOfPhase" INVALIDPARAMETERVALUE_AUDIOSAMPLERATECHANGED = "InvalidParameterValue.AudioSampleRateChanged" INVALIDPARAMETERVALUE_AUDIOSTREAMLACK = "InvalidParameterValue.AudioStreamLack" INVALIDPARAMETERVALUE_BLACKWHITEEDGE = "InvalidParameterValue.BlackWhiteEdge" INVALIDPARAMETERVALUE_BLUR = "InvalidParameterValue.Blur" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_CRASHSCREEN = "InvalidParameterValue.CrashScreen" INVALIDPARAMETERVALUE_DARORSARINVALID = "InvalidParameterValue.DarOrSarInvalid" INVALIDPARAMETERVALUE_DTSJITTER = "InvalidParameterValue.DtsJitter" INVALIDPARAMETERVALUE_EMPTYDETECTITEM = "InvalidParameterValue.EmptyDetectItem" INVALIDPARAMETERVALUE_FPSJITTER = "InvalidParameterValue.FpsJitter" INVALIDPARAMETERVALUE_HLSBADM3U8FORMAT = "InvalidParameterValue.HLSBadM3u8Format" INVALIDPARAMETERVALUE_HLSINVALIDMASTERM3U8 = "InvalidParameterValue.HLSInvalidMasterM3u8" INVALIDPARAMETERVALUE_HLSINVALIDMEDIAM3U8 = "InvalidParameterValue.HLSInvalidMediaM3u8" INVALIDPARAMETERVALUE_HLSMASTERM3U8RECOMMENDED = "InvalidParameterValue.HLSMasterM3u8Recommended" INVALIDPARAMETERVALUE_HLSMEDIAM3U8DISCONTINUITYEXIST = "InvalidParameterValue.HLSMediaM3u8DiscontinuityExist" INVALIDPARAMETERVALUE_HLSMEDIAM3U8RECOMMENDED = "InvalidParameterValue.HLSMediaM3u8Recommended" INVALIDPARAMETERVALUE_HLSMEDIASEGMENTSDTSJITTERDEVIATION = "InvalidParameterValue.HLSMediaSegmentsDTSJitterDeviation" INVALIDPARAMETERVALUE_HLSMEDIASEGMENTSPTSJITTERDEVIATION = "InvalidParameterValue.HLSMediaSegmentsPTSJitterDeviation" INVALIDPARAMETERVALUE_HLSMEDIASEGMENTSSTREAMNUMCHANGE = "InvalidParameterValue.HLSMediaSegmentsStreamNumChange" INVALIDPARAMETERVALUE_HIGHLIGHTING = "InvalidParameterValue.HighLighting" INVALIDPARAMETERVALUE_HIGHVOICE = "InvalidParameterValue.HighVoice" INVALIDPARAMETERVALUE_LACKAUDIORECOVER = "InvalidParameterValue.LackAudioRecover" INVALIDPARAMETERVALUE_LACKVIDEORECOVER = "InvalidParameterValue.LackVideoRecover" INVALIDPARAMETERVALUE_LOWEVALUATION = "InvalidParameterValue.LowEvaluation" INVALIDPARAMETERVALUE_LOWLIGHTING = "InvalidParameterValue.LowLighting" INVALIDPARAMETERVALUE_LOWVOICE = "InvalidParameterValue.LowVoice" INVALIDPARAMETERVALUE_MOSAIC = "InvalidParameterValue.Mosaic" INVALIDPARAMETERVALUE_MP4INVALIDCODECFOURCC = "InvalidParameterValue.Mp4InvalidCodecFourcc" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_NOVOICE = "InvalidParameterValue.NoVoice" INVALIDPARAMETERVALUE_PARAMETERSETSCHANGED = "InvalidParameterValue.ParameterSetsChanged" INVALIDPARAMETERVALUE_PTSJITTER = "InvalidParameterValue.PtsJitter" INVALIDPARAMETERVALUE_PTSLESSTHANDTS = "InvalidParameterValue.PtsLessThanDts" INVALIDPARAMETERVALUE_RECEIVEFPSJITTER = "InvalidParameterValue.ReceiveFpsJitter" INVALIDPARAMETERVALUE_RECEIVEFPSTOOSMALL = "InvalidParameterValue.ReceiveFpsTooSmall" INVALIDPARAMETERVALUE_STREAMEND = "InvalidParameterValue.StreamEnd" INVALIDPARAMETERVALUE_STREAMNALUERROR = "InvalidParameterValue.StreamNALUError" INVALIDPARAMETERVALUE_STREAMOPENFAILED = "InvalidParameterValue.StreamOpenFailed" INVALIDPARAMETERVALUE_STREAMPARSEFAILED = "InvalidParameterValue.StreamParseFailed" INVALIDPARAMETERVALUE_SVGTEMPLATE = "InvalidParameterValue.SvgTemplate" INVALIDPARAMETERVALUE_TIMECODETRACKEXIST = "InvalidParameterValue.TimecodeTrackExist" INVALIDPARAMETERVALUE_TIMESTAMPFALLBACK = "InvalidParameterValue.TimestampFallback" INVALIDPARAMETERVALUE_TSMULTIPROGRAMS = "InvalidParameterValue.TsMultiPrograms" INVALIDPARAMETERVALUE_TSSTREAMNOAUD = "InvalidParameterValue.TsStreamNoAud" INVALIDPARAMETERVALUE_UNKNOWNCATEGORY = "InvalidParameterValue.UnknownCategory" INVALIDPARAMETERVALUE_VIDEOBITRATEOUTOFRANGE = "InvalidParameterValue.VideoBitrateOutofRange" INVALIDPARAMETERVALUE_VIDEODECODEFAILED = "InvalidParameterValue.VideoDecodeFailed" INVALIDPARAMETERVALUE_VIDEODROPPINGFRAMES = "InvalidParameterValue.VideoDroppingFrames" INVALIDPARAMETERVALUE_VIDEODUPLICATEDFRAME = "InvalidParameterValue.VideoDuplicatedFrame" INVALIDPARAMETERVALUE_VIDEOFIRSTFRAMENOTIDR = "InvalidParameterValue.VideoFirstFrameNotIdr" INVALIDPARAMETERVALUE_VIDEOFREEZEDFRAME = "InvalidParameterValue.VideoFreezedFrame" INVALIDPARAMETERVALUE_VIDEORESOLUTIONCHANGED = "InvalidParameterValue.VideoResolutionChanged" INVALIDPARAMETERVALUE_VIDEOROTATION = "InvalidParameterValue.VideoRotation" INVALIDPARAMETERVALUE_VIDEOSTREAMLACK = "InvalidParameterValue.VideoStreamLack" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
func (*Client) CreateQualityControlTemplateWithContext ¶
func (c *Client) CreateQualityControlTemplateWithContext(ctx context.Context, request *CreateQualityControlTemplateRequest) (response *CreateQualityControlTemplateResponse, err error)
CreateQualityControlTemplate This API is used to create a media quality inspection template. Up to 50 templates can be created.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_AACDURATIONDEVIATION = "InvalidParameterValue.AACDurationDeviation" INVALIDPARAMETERVALUE_AVTIMESTAMPINTERLEAVE = "InvalidParameterValue.AVTimestampInterleave" INVALIDPARAMETERVALUE_AUDIOBITRATEOUTOFRANGE = "InvalidParameterValue.AudioBitrateOutofRange" INVALIDPARAMETERVALUE_AUDIOCHANNELSCHANGED = "InvalidParameterValue.AudioChannelsChanged" INVALIDPARAMETERVALUE_AUDIODECODEFAILED = "InvalidParameterValue.AudioDecodeFailed" INVALIDPARAMETERVALUE_AUDIODROPPINGFRAMES = "InvalidParameterValue.AudioDroppingFrames" INVALIDPARAMETERVALUE_AUDIODUPLICATEDFRAME = "InvalidParameterValue.AudioDuplicatedFrame" INVALIDPARAMETERVALUE_AUDIOOUTOFPHASE = "InvalidParameterValue.AudioOutOfPhase" INVALIDPARAMETERVALUE_AUDIOSAMPLERATECHANGED = "InvalidParameterValue.AudioSampleRateChanged" INVALIDPARAMETERVALUE_AUDIOSTREAMLACK = "InvalidParameterValue.AudioStreamLack" INVALIDPARAMETERVALUE_BLACKWHITEEDGE = "InvalidParameterValue.BlackWhiteEdge" INVALIDPARAMETERVALUE_BLUR = "InvalidParameterValue.Blur" INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment" INVALIDPARAMETERVALUE_CRASHSCREEN = "InvalidParameterValue.CrashScreen" INVALIDPARAMETERVALUE_DARORSARINVALID = "InvalidParameterValue.DarOrSarInvalid" INVALIDPARAMETERVALUE_DTSJITTER = "InvalidParameterValue.DtsJitter" INVALIDPARAMETERVALUE_EMPTYDETECTITEM = "InvalidParameterValue.EmptyDetectItem" INVALIDPARAMETERVALUE_FPSJITTER = "InvalidParameterValue.FpsJitter" INVALIDPARAMETERVALUE_HLSBADM3U8FORMAT = "InvalidParameterValue.HLSBadM3u8Format" INVALIDPARAMETERVALUE_HLSINVALIDMASTERM3U8 = "InvalidParameterValue.HLSInvalidMasterM3u8" INVALIDPARAMETERVALUE_HLSINVALIDMEDIAM3U8 = "InvalidParameterValue.HLSInvalidMediaM3u8" INVALIDPARAMETERVALUE_HLSMASTERM3U8RECOMMENDED = "InvalidParameterValue.HLSMasterM3u8Recommended" INVALIDPARAMETERVALUE_HLSMEDIAM3U8DISCONTINUITYEXIST = "InvalidParameterValue.HLSMediaM3u8DiscontinuityExist" INVALIDPARAMETERVALUE_HLSMEDIAM3U8RECOMMENDED = "InvalidParameterValue.HLSMediaM3u8Recommended" INVALIDPARAMETERVALUE_HLSMEDIASEGMENTSDTSJITTERDEVIATION = "InvalidParameterValue.HLSMediaSegmentsDTSJitterDeviation" INVALIDPARAMETERVALUE_HLSMEDIASEGMENTSPTSJITTERDEVIATION = "InvalidParameterValue.HLSMediaSegmentsPTSJitterDeviation" INVALIDPARAMETERVALUE_HLSMEDIASEGMENTSSTREAMNUMCHANGE = "InvalidParameterValue.HLSMediaSegmentsStreamNumChange" INVALIDPARAMETERVALUE_HIGHLIGHTING = "InvalidParameterValue.HighLighting" INVALIDPARAMETERVALUE_HIGHVOICE = "InvalidParameterValue.HighVoice" INVALIDPARAMETERVALUE_LACKAUDIORECOVER = "InvalidParameterValue.LackAudioRecover" INVALIDPARAMETERVALUE_LACKVIDEORECOVER = "InvalidParameterValue.LackVideoRecover" INVALIDPARAMETERVALUE_LOWEVALUATION = "InvalidParameterValue.LowEvaluation" INVALIDPARAMETERVALUE_LOWLIGHTING = "InvalidParameterValue.LowLighting" INVALIDPARAMETERVALUE_LOWVOICE = "InvalidParameterValue.LowVoice" INVALIDPARAMETERVALUE_MOSAIC = "InvalidParameterValue.Mosaic" INVALIDPARAMETERVALUE_MP4INVALIDCODECFOURCC = "InvalidParameterValue.Mp4InvalidCodecFourcc" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_NOVOICE = "InvalidParameterValue.NoVoice" INVALIDPARAMETERVALUE_PARAMETERSETSCHANGED = "InvalidParameterValue.ParameterSetsChanged" INVALIDPARAMETERVALUE_PTSJITTER = "InvalidParameterValue.PtsJitter" INVALIDPARAMETERVALUE_PTSLESSTHANDTS = "InvalidParameterValue.PtsLessThanDts" INVALIDPARAMETERVALUE_RECEIVEFPSJITTER = "InvalidParameterValue.ReceiveFpsJitter" INVALIDPARAMETERVALUE_RECEIVEFPSTOOSMALL = "InvalidParameterValue.ReceiveFpsTooSmall" INVALIDPARAMETERVALUE_STREAMEND = "InvalidParameterValue.StreamEnd" INVALIDPARAMETERVALUE_STREAMNALUERROR = "InvalidParameterValue.StreamNALUError" INVALIDPARAMETERVALUE_STREAMOPENFAILED = "InvalidParameterValue.StreamOpenFailed" INVALIDPARAMETERVALUE_STREAMPARSEFAILED = "InvalidParameterValue.StreamParseFailed" INVALIDPARAMETERVALUE_SVGTEMPLATE = "InvalidParameterValue.SvgTemplate" INVALIDPARAMETERVALUE_TIMECODETRACKEXIST = "InvalidParameterValue.TimecodeTrackExist" INVALIDPARAMETERVALUE_TIMESTAMPFALLBACK = "InvalidParameterValue.TimestampFallback" INVALIDPARAMETERVALUE_TSMULTIPROGRAMS = "InvalidParameterValue.TsMultiPrograms" INVALIDPARAMETERVALUE_TSSTREAMNOAUD = "InvalidParameterValue.TsStreamNoAud" INVALIDPARAMETERVALUE_UNKNOWNCATEGORY = "InvalidParameterValue.UnknownCategory" INVALIDPARAMETERVALUE_VIDEOBITRATEOUTOFRANGE = "InvalidParameterValue.VideoBitrateOutofRange" INVALIDPARAMETERVALUE_VIDEODECODEFAILED = "InvalidParameterValue.VideoDecodeFailed" INVALIDPARAMETERVALUE_VIDEODROPPINGFRAMES = "InvalidParameterValue.VideoDroppingFrames" INVALIDPARAMETERVALUE_VIDEODUPLICATEDFRAME = "InvalidParameterValue.VideoDuplicatedFrame" INVALIDPARAMETERVALUE_VIDEOFIRSTFRAMENOTIDR = "InvalidParameterValue.VideoFirstFrameNotIdr" INVALIDPARAMETERVALUE_VIDEOFREEZEDFRAME = "InvalidParameterValue.VideoFreezedFrame" INVALIDPARAMETERVALUE_VIDEORESOLUTIONCHANGED = "InvalidParameterValue.VideoResolutionChanged" INVALIDPARAMETERVALUE_VIDEOROTATION = "InvalidParameterValue.VideoRotation" INVALIDPARAMETERVALUE_VIDEOSTREAMLACK = "InvalidParameterValue.VideoStreamLack" LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
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_GENERATERESOURCE = "FailedOperation.GenerateResource" 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_GENERATERESOURCE = "FailedOperation.GenerateResource" 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) DeleteQualityControlTemplate ¶
func (c *Client) DeleteQualityControlTemplate(request *DeleteQualityControlTemplateRequest) (response *DeleteQualityControlTemplateResponse, err error)
DeleteQualityControlTemplate This API is used to delete a media quality inspection template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
func (*Client) DeleteQualityControlTemplateWithContext ¶
func (c *Client) DeleteQualityControlTemplateWithContext(ctx context.Context, request *DeleteQualityControlTemplateRequest) (response *DeleteQualityControlTemplateResponse, err error)
DeleteQualityControlTemplate This API is used to delete a media quality inspection template.
error code that may be returned:
FAILEDOPERATION_INVALIDMPSUSER = "FailedOperation.InvalidMpsUser" INTERNALERROR = "InternalError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
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) DescribeQualityControlTemplates ¶
func (c *Client) DescribeQualityControlTemplates(request *DescribeQualityControlTemplatesRequest) (response *DescribeQualityControlTemplatesResponse, err error)
DescribeQualityControlTemplates This API is used to query custom media quality inspection templates, supporting paged queries by conditions.
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) DescribeQualityControlTemplatesWithContext ¶
func (c *Client) DescribeQualityControlTemplatesWithContext(ctx context.Context, request *DescribeQualityControlTemplatesRequest) (response *DescribeQualityControlTemplatesResponse, err error)
DescribeQualityControlTemplates This API is used to query custom media quality inspection templates, supporting paged queries by conditions.
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) 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_GENERATERESOURCE = "FailedOperation.GenerateResource" 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_GENERATERESOURCE = "FailedOperation.GenerateResource" 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 = "FailedOperation" 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 = "FailedOperation" 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_BUCKETNOTIFYALREADYEXIST = "FailedOperation.BucketNotifyAlreadyExist" 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_BUCKETNOTIFYALREADYEXIST = "FailedOperation.BucketNotifyAlreadyExist" 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 to generate a new one. Editing features include:
1. **Editing task**: simple video editing, such as clipping and splicing.
1) Edit a file to generate a new video.
2) Splice multiple files to generate a new video.
3) Edit multiple files and then splice them to generate a new video.
2. **Compositing task**: Generate a new video by describing information through APIs.
1) Multi-track (video, audio, and subtitles) and multi-type elements (video, image, audio, text, and empty).
2) Image level: mapping, zoom in/out, arbitrary rotation, mirroring, and more.
3) Audio level: volume control, fade in/out, mixing, and more.
4) Video level: transition, playback speed adjustment, splicing, clipping, subtitles, picture-in-picture, audio-video separation, entrance and exit animations, and more.
error code that may be returned:
FAILEDOPERATION_GENERATERESOURCE = "FailedOperation.GenerateResource" 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 to generate a new one. Editing features include:
1. **Editing task**: simple video editing, such as clipping and splicing.
1) Edit a file to generate a new video.
2) Splice multiple files to generate a new video.
3) Edit multiple files and then splice them to generate a new video.
2. **Compositing task**: Generate a new video by describing information through APIs.
1) Multi-track (video, audio, and subtitles) and multi-type elements (video, image, audio, text, and empty).
2) Image level: mapping, zoom in/out, arbitrary rotation, mirroring, and more.
3) Audio level: volume control, fade in/out, mixing, and more.
4) Video level: transition, playback speed adjustment, splicing, clipping, subtitles, picture-in-picture, audio-video separation, entrance and exit animations, and more.
error code that may be returned:
FAILEDOPERATION_GENERATERESOURCE = "FailedOperation.GenerateResource" 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 = "FailedOperation" FAILEDOPERATION_BUCKETNOTIFYALREADYEXIST = "FailedOperation.BucketNotifyAlreadyExist" FAILEDOPERATION_COSSTATUSINAVLID = "FailedOperation.CosStatusInavlid" FAILEDOPERATION_GENERATERESOURCE = "FailedOperation.GenerateResource" 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 = "FailedOperation" FAILEDOPERATION_BUCKETNOTIFYALREADYEXIST = "FailedOperation.BucketNotifyAlreadyExist" FAILEDOPERATION_COSSTATUSINAVLID = "FailedOperation.CosStatusInavlid" FAILEDOPERATION_GENERATERESOURCE = "FailedOperation.GenerateResource" 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_SOURCELANGUAGE = "InvalidParameterValue.SourceLanguage" 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_SOURCELANGUAGE = "InvalidParameterValue.SourceLanguage" 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) ModifyQualityControlTemplate ¶
func (c *Client) ModifyQualityControlTemplate(request *ModifyQualityControlTemplateRequest) (response *ModifyQualityControlTemplateResponse, err error)
ModifyQualityControlTemplate This API is used to modify a media quality inspection 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) ModifyQualityControlTemplateWithContext ¶
func (c *Client) ModifyQualityControlTemplateWithContext(ctx context.Context, request *ModifyQualityControlTemplateRequest) (response *ModifyQualityControlTemplateResponse, err error)
ModifyQualityControlTemplate This API is used to modify a media quality inspection 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) 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_GENERATERESOURCE = "FailedOperation.GenerateResource" 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_GENERATERESOURCE = "FailedOperation.GenerateResource" 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, full speech, speech keyword, real-time speech translation, object recognition, game event tracking)
* Intelligent content analysis (real-time news splitting)
* Quality control, including recognizing live stream format, checking audio/video content for flickering, blur, low light, overexposure, black bars, white bars, black screen, white screen, noise, pixelation, QR code, etc., and no-reference scoring.
* Recording
HTTP callbacks are supported for live stream processing events. Notifications can also be written in real time to and read from a CMQ queue. The output files of processing tasks are saved to the storage you specify.
error code that may be returned:
FAILEDOPERATION_GENERATERESOURCE = "FailedOperation.GenerateResource" 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, full speech, speech keyword, real-time speech translation, object recognition, game event tracking)
* Intelligent content analysis (real-time news splitting)
* Quality control, including recognizing live stream format, checking audio/video content for flickering, blur, low light, overexposure, black bars, white bars, black screen, white screen, noise, pixelation, QR code, etc., and no-reference scoring.
* Recording
HTTP callbacks are supported for live stream processing events. Notifications can also be written in real time to and read from a CMQ queue. The output files of processing tasks are saved to the storage you specify.
error code that may be returned:
FAILEDOPERATION_GENERATERESOURCE = "FailedOperation.GenerateResource" 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 a processing task for video URLs or media files in Cloud Object Storage (COS). Features include:
1. Video transcoding (standard transcoding, TSC transcoding, and audio/video enhancement);
2. Animated image generating;
3. Screenshot taking at specified time points;
4. Sampled screenshot taking;
5. Sprite screenshot taking;
6. Transcoding to adaptive bitrate streaming;
7. Intelligent auditing (porn detection and sensitive information detection);
8. Intelligent analysis (tagging, classification, thumbnail generating, frame-by-frame tagging, video splitting, highlights generating, opening and closing segments recognition, and game timestamping);
9. Intelligent identification (face, full text, text keyword, full speech, speech keyword, speech translation, and object recognition);
10. Media quality inspection (live stream format diagnosis, audio and video content detection (jitter, blur, low light, overexposure, black and white edges, black and white screens, screen glitch, noise, mosaic, QR code, and more), and no-reference scoring).
error code that may be returned:
FAILEDOPERATION_GENERATERESOURCE = "FailedOperation.GenerateResource" 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 a processing task for video URLs or media files in Cloud Object Storage (COS). Features include:
1. Video transcoding (standard transcoding, TSC transcoding, and audio/video enhancement);
2. Animated image generating;
3. Screenshot taking at specified time points;
4. Sampled screenshot taking;
5. Sprite screenshot taking;
6. Transcoding to adaptive bitrate streaming;
7. Intelligent auditing (porn detection and sensitive information detection);
8. Intelligent analysis (tagging, classification, thumbnail generating, frame-by-frame tagging, video splitting, highlights generating, opening and closing segments recognition, and game timestamping);
9. Intelligent identification (face, full text, text keyword, full speech, speech keyword, speech translation, and object recognition);
10. Media quality inspection (live stream format diagnosis, audio and video content detection (jitter, blur, low light, overexposure, black and white edges, black and white screens, screen glitch, noise, mosaic, QR code, and more), and no-reference scoring).
error code that may be returned:
FAILEDOPERATION_GENERATERESOURCE = "FailedOperation.GenerateResource" 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,omitempty" 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,omitempty" name:"Type"` }
type ComposeAudioItem ¶
type ComposeAudioItem struct { // The media information of the element. SourceMedia *ComposeSourceMedia `json:"SourceMedia,omitnil,omitempty" name:"SourceMedia"` // The time of the element in the timeline. If this is not specified, the element will follow the previous element. TrackTime *ComposeTrackTime `json:"TrackTime,omitnil,omitempty" name:"TrackTime"` // The operations performed, such as muting. AudioOperations []*ComposeAudioOperation `json:"AudioOperations,omitnil,omitempty" name:"AudioOperations"` }
type ComposeAudioOperation ¶
type ComposeAudioOperation struct { // The operation type. Valid values: // <li>`Volume`: Volume adjustment. </li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // The volume level. This parameter is valid if `Type` is `Volume`. Value range: 0–5. // <li>If the parameter value is `0`, the video will be muted. </li> // <li>If the parameter value is smaller than 1, the volume will be reduced. </li> // <li>If the parameter value is `1`, the original volume will be kept. </li> // <li>If the parameter value is greater than 1, the volume will be increased. </li> Volume *float64 `json:"Volume,omitnil,omitempty" name:"Volume"` }
type ComposeAudioStream ¶
type ComposeAudioStream struct { // The codec of the audio stream. Valid values: // <li>`AAC`: AAC (default), which is used for the MP4 container. </li> // <li>`MP3`: MP3 codec, which is used for the MP3 container. </li> Codec *string `json:"Codec,omitnil,omitempty" name:"Codec"` // The sample rate (Hz) of the audio stream. // <li>16000 (default)</li> // <li>32000</li> // <li>44100</li> // <li>48000</li> SampleRate *int64 `json:"SampleRate,omitnil,omitempty" name:"SampleRate"` // The number of sound channels. Valid values: // u200c<li>`1`: Mono. </li> // <li>`2`: Dual (default). </li> AudioChannel *int64 `json:"AudioChannel,omitnil,omitempty" name:"AudioChannel"` // Reference bitrate, in kbps. Value range: 26-10000. // If set, the encoder will try to encode at this bitrate. // If not set, the service will automatically adopt a suitable bitrate based on audio parameters. Bitrate *int64 `json:"Bitrate,omitnil,omitempty" name:"Bitrate"` }
type ComposeCanvas ¶
type ComposeCanvas struct { // The RGB value of the background color. The format is #RRGGBB, such as `#F0F0F0`. // Default value: `#000000` (black). Color *string `json:"Color,omitnil,omitempty" name:"Color"` // The canvas width (px), which is the width of the output video. Value range: 0–3840. // The default value is `0`, which means that the canvas is as wide as the first video. Width *int64 `json:"Width,omitnil,omitempty" name:"Width"` // The canvas height (px), which is the height of the output video. Value range: 0–3840. // The default value is `0`, which means that the canvas is as high as the first video. Height *int64 `json:"Height,omitnil,omitempty" name:"Height"` }
type ComposeEmptyItem ¶
type ComposeEmptyItem struct { // The element duration. // <li>The value of this parameter ends with `s`, which means seconds. For example, `3.5s` indicates 3.5 seconds. </li> Duration *string `json:"Duration,omitnil,omitempty" name:"Duration"` }
type ComposeImageItem ¶
type ComposeImageItem struct { // The media information of the element. SourceMedia *ComposeSourceMedia `json:"SourceMedia,omitnil,omitempty" name:"SourceMedia"` // The time of the element in the timeline. If this is not specified, the element will follow the previous element. TrackTime *ComposeTrackTime `json:"TrackTime,omitnil,omitempty" name:"TrackTime"` // The horizontal distance of the element's center from the canvas origin. Two formats are supported: // <li>If the value ends with %, it specifies the distance as a percentage of the canvas width. For example, `10%` means that the distance is 10% of the canvas width. </li> // u200c<li>If the value ends with px, it specifies the distance in pixels. For example, `100px` means that the distance is 100 pixels. </li> // Default value: `50%`. XPos *string `json:"XPos,omitnil,omitempty" name:"XPos"` // The vertical distance of the element's center from the canvas origin. Two formats are supported: // u200c<li>If the value ends with %, it specifies the distance as a percentage of the canvas height. For example, `10%` means that the distance is 10% of the canvas height. </li> // u200c<li>If the value ends with px, it specifies the distance in pixels. For example, `100px` means that the distance is 100 pixels. </li> // Default value: `50%`. YPos *string `json:"YPos,omitnil,omitempty" name:"YPos"` // The width of the video segment. Two formats are supported: // u200c<li>If the value ends with %, it specifies the width as a percentage of the canvas width. For example, `10%` means that the video width is 10% of the canvas width. </li> // u200c<li>If the value ends with px, it specifies the width in pixels. For example, `100px` means that the video width is 100 pixels. </li> // If one or both parameters are empty or set to `0`: // <li>If both `Width` and `Height` are empty, the original width and height of the element will be kept. </li> // <li>If `Width` is empty and `Height` is not, the width will be auto scaled. </li> // <li>If `Width` is not empty and `Height` is, the height will be auto scaled. </li> Width *string `json:"Width,omitnil,omitempty" name:"Width"` // The height of the element. Two formats are supported: // u200c<li>If the value ends with %, it specifies the height as a percentage of the canvas height. For example, `10%` means that the height is 10% of the canvas height. </li> // u200c<li>If the value ends with px, it specifies the height in pixels. For example, `100px` means that the height is 100 pixels. </li> // If one or both parameters are empty or set to `0`: // <li>If both `Width` and `Height` are empty, the original width and height of the video will be kept. </li> // <li>If `Width` is empty and `Height` is not, the width will be auto scaled. </li> // <li>If `Width` is not empty and `Height` is, the height will be auto scaled. </li> Height *string `json:"Height,omitnil,omitempty" name:"Height"` // The image operations, such as image rotation. ImageOperations []*ComposeImageOperation `json:"ImageOperations,omitnil,omitempty" name:"ImageOperations"` }
type ComposeImageOperation ¶
type ComposeImageOperation struct { // The type. Valid values: // u200c<li>`Rotate`: Image rotation. </li> // <li>`Flip`: Image flipping. </li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // This is valid if `Type` is `Rotate`. The angle of rotation around the image center. Value range: 0–360. RotateAngle *float64 `json:"RotateAngle,omitnil,omitempty" name:"RotateAngle"` // This is valid if `Type` is `Flip`. How to flip the image. Valid values:xa0 // u200c<li>`Horizental`: Flip horizontally. </li> // <li>`Vertical`: Flip vertically. </li> FlipType *string `json:"FlipType,omitnil,omitempty" name:"FlipType"` }
type ComposeMediaConfig ¶
type ComposeMediaConfig struct { // The information of the output video. TargetInfo *ComposeTargetInfo `json:"TargetInfo,omitnil,omitempty" name:"TargetInfo"` // The canvas information of the output video. Canvas *ComposeCanvas `json:"Canvas,omitnil,omitempty" name:"Canvas"` // The global styles. This parameter is used together with `Tracks` to specify styles, such as the subtitle style. Styles []*ComposeStyles `json:"Styles,omitnil,omitempty" name:"Styles"` // The information of media tracks (consisting of video, audio, image, and text elements) used to composite the video. About tracks and the timeline: // <ul><li>The timeline of a track is the same as the timeline of the output video. </li><li>The elements of different tracks are overlaid at the same time point in the timeline.</li><ul><li>Video, image, and text elements are overlaid according to their track number, with the first track on top. </li><li>Audio elements are mixed. </li></ul></ul>Note: The different elements of the same track cannot be overlaid (except subtitles). Tracks []*ComposeMediaTrack `json:"Tracks,omitnil,omitempty" name:"Tracks"` }
type ComposeMediaItem ¶
type ComposeMediaItem struct { // The element type. Valid values: // <li>`Video` </li> // <li>`Audio` </li> // <li>`Image` </li> // <li>`Transition` </li> // <li>`Subtitle` </li> // <li>`Empty` </li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // The information of the video element, which is valid if `Type` is `Video`. Video *ComposeVideoItem `json:"Video,omitnil,omitempty" name:"Video"` // The information of the audio element, which is valid if `Type` is `Audio`. Audio *ComposeAudioItem `json:"Audio,omitnil,omitempty" name:"Audio"` // The information of the image element, which is valid if `Type` is `Image`. Image *ComposeImageItem `json:"Image,omitnil,omitempty" name:"Image"` // The information of the transition element, which is valid if `Type` is `Transition`. Transition *ComposeTransitionItem `json:"Transition,omitnil,omitempty" name:"Transition"` // The information of the subtitle element, which is valid if `Type` is `Subtitle`. Subtitle *ComposeSubtitleItem `json:"Subtitle,omitnil,omitempty" name:"Subtitle"` // The information of the empty element, which is valid if `Type` is `Empty`. An empty element is used as a placeholder in the timeline. Empty *ComposeEmptyItem `json:"Empty,omitnil,omitempty" name:"Empty"` }
type ComposeMediaTrack ¶
type ComposeMediaTrack struct { // The track type. Valid values:<ul><li>`Video`: Video track. A video track can consist of the following elements:</li><ul><li>Video</li><li>Image</li><li>Transition</li><li>Empty</li></ul><li>`Audio`: Audio track. An audio track can consist of the following elements:</li><ul><li>Audio</li><li>Transition</li><li>Empty</li></ul><li>`Title`: Text track. A text track can consist of the following elements: </li><ul><li>Subtitle</li></ul> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // The elements of a track. Items []*ComposeMediaItem `json:"Items,omitnil,omitempty" name:"Items"` }
type ComposeSourceMedia ¶
type ComposeSourceMedia struct { // The material ID, which can be found in `FileInfos`. FileId *string `json:"FileId,omitnil,omitempty" name:"FileId"` // The start time of the material. The following two formats are supported. // <li>If the value of this parameter ends with `s`, it specifies the time in seconds. For example, `3.5s` indicates the time when 3.5 seconds of the material elapses.</li> // u200c<li>If the value of this parameter ends with `%`, it specifies the time as a percentage of the material's duration. For example, `10%` indicates the time when 10% of the material's duration elapses. </li> // Default value: `0s`. StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // The end time of the material. This parameter and `StartTime` determine which time segment of the material is used. The following two formats are supported: // <li>If the value of this parameter ends with `s`, it specifies the time in seconds. For example, `3.5s` indicates the time when 3.5 seconds of the material elapses.</li> // u200c<li>If the value of this parameter ends with `%`, it specifies the time as a percentage of the material's duration. For example, `10%` indicates the time when 10% of the material's duration elapses. </li> // If the track duration is set, the default value is `StartTime` plus the track duration. If not, the default value is `StartTime` plus 1 second. // Note: `EndTime` must be at least 0.02 seconds later than `StartTime`. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` }
type ComposeStyles ¶
type ComposeStyles struct { // The style ID, which identifies an element style. // Note: The style ID can be up to 32 characters long and can contain letters, digits, and special characters -_ Id *string `json:"Id,omitnil,omitempty" name:"Id"` // The type. Valid values: // <li>`Subtitle`: The subtitle style. </li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // The subtitle style details. This parameter is valid if `Type` is `Subtitle`. Subtitle *ComposeSubtitleStyle `json:"Subtitle,omitnil,omitempty" name:"Subtitle"` }
type ComposeSubtitleItem ¶
type ComposeSubtitleItem struct { // The subtitle style ID, which corresponds to the `Id` field of `ComposeStyles`. StyleId *string `json:"StyleId,omitnil,omitempty" name:"StyleId"` // The subtitle text. Text *string `json:"Text,omitnil,omitempty" name:"Text"` // The time of the element in the timeline. If this is not specified, the element will follow the previous element. TrackTime *ComposeTrackTime `json:"TrackTime,omitnil,omitempty" name:"TrackTime"` }
type ComposeSubtitleStyle ¶
type ComposeSubtitleStyle struct { // The subtitle height. Two formats are supported: // u200c<li>If the value ends with %, it specifies the height as a percentage of the canvas height. For example, `10%` means that the height is 10% of the canvas height. </li> // u200c<li>If the value ends with px, it specifies the height in pixels. For example, `100px` means that the height is 100 pixels. </li> // The default value is the value of `FontSize`. Height *string `json:"Height,omitnil,omitempty" name:"Height"` // The bottom margin. Two formats are supported: // u200c<li>If the value ends with %, it specifies the margin as a percentage of the canvas height. For example, `10%` means that the margin is 10% of the canvas height. </li> // u200c<li>If the value ends with px, it specifies the margin in pixels. For example, `100px` means that the margin is 100 pixels. </li> // Default value: `0px`. MarginBottom *string `json:"MarginBottom,omitnil,omitempty" name:"MarginBottom"` // The font type. Valid values: // <li>`SimHei`(default): Chinese font Heiti. </li> // <Li>`SimSun`: Chinese font Songti. </li> FontType *string `json:"FontType,omitnil,omitempty" name:"FontType"` // The font size. Two formats are supported: // u200c<li>If the value ends with %, it specifies the size as a percentage of the canvas height. For example, `10%` means that the size is 10% of the canvas height. </li> // u200c<li>If the value ends with px, it specifies the size in pixels. For example, `100px` means that the size is 100 pixels. </li> // Default value: `2%`. FontSize *string `json:"FontSize,omitnil,omitempty" name:"FontSize"` // Whether to bold the text (some fonts may not support bold). Valid values: // <li>`0` (default): No. </li> // <li>`1`: Yes. </li> FontBold *int64 `json:"FontBold,omitnil,omitempty" name:"FontBold"` // Whether to italicize the text (some fonts may not support italics). Valid values: // <li>`0` (default): No. </li> // <li>`1`: Yes. </li> FontItalic *int64 `json:"FontItalic,omitnil,omitempty" name:"FontItalic"` // The font color (#RRGGBBAA). // Default value: `0x000000FF` (black). // Note: `AA` in the color notation defines the opacity of the color. It's optional. FontColor *string `json:"FontColor,omitnil,omitempty" name:"FontColor"` // The text alignment. Valid values: // <li>`Center`(default) </li> // <li>`Left` </li> // <li>`Right` </li> FontAlign *string `json:"FontAlign,omitnil,omitempty" name:"FontAlign"` // The margin for left/right align. // <li>If `FontAlign` is `Left`, this parameter specifies the left margin of the subtitles. </li> // <li>If `FontAlign` is `Right`, this parameter specifies the right margin of the subtitles. </li> // Two formats are supported: // u200c<li>If the value ends with %, it specifies the margin as a percentage of the canvas width. For example, `10%` means that the margin is 10% of the canvas width. </li> // u200c<li>If the value ends with px, it specifies the margin in pixels. For example, `100px` means that the margin is 100 pixels. </li> FontAlignMargin *string `json:"FontAlignMargin,omitnil,omitempty" name:"FontAlignMargin"` // The subtitle border width. Two formats are supported: // u200c<li>If the value ends with %, it specifies the width as a percentage of the canvas height. For example, `10%` means that the width is 10% of the canvas height. </li> // u200c<li>If the value ends with px, it specifies the width in pixels. For example, `100px` means that the width is 100 pixels. </li> // The default value is `0`, which means the subtitles will have no borders. BorderWidth *string `json:"BorderWidth,omitnil,omitempty" name:"BorderWidth"` // The border color, whose format is the same as that for `FontColor`. This parameter is valid if `BorderWidth` is not `0`. BorderColor *string `json:"BorderColor,omitnil,omitempty" name:"BorderColor"` // The text background color, whose format is the same as that for `FontColor`. // The default value is an empty string, which means the subtitles will not have a background color. BottomColor *string `json:"BottomColor,omitnil,omitempty" name:"BottomColor"` }
type ComposeTargetInfo ¶
type ComposeTargetInfo struct { // The container. Valid values: // <li>`mp4` (default), for video files. </li> // <li>`mp3`, for audio files. </li> Container *string `json:"Container,omitnil,omitempty" name:"Container"` // Whether to remove video data. Valid values: // <li>`0` (default): No. </li> // <li>`1`: Yes. </li> RemoveVideo *int64 `json:"RemoveVideo,omitnil,omitempty" name:"RemoveVideo"` // Whether to remove audio data. Valid values: // <li>`0` (default): No. </li> // <li>`1`: Yes. </li> RemoveAudio *int64 `json:"RemoveAudio,omitnil,omitempty" name:"RemoveAudio"` // The information of the output video stream. VideoStream *ComposeVideoStream `json:"VideoStream,omitnil,omitempty" name:"VideoStream"` // The information of the output audio stream. AudioStream *ComposeAudioStream `json:"AudioStream,omitnil,omitempty" name:"AudioStream"` }
type ComposeTrackTime ¶
type ComposeTrackTime struct { // The time when the element starts on the track. // <li>The value of this parameter ends with `s`, which means seconds. For example, `3.5s` indicates the time when 3.5 seconds of the video elapses.</li> // Note: If this parameter is not specified, the start time will be the end time of the previous element. Therefore, you can also use the placeholder parameter `ComposeEmptyItem` to configure the start time. Start *string `json:"Start,omitnil,omitempty" name:"Start"` // The element duration. // <li>The value of this parameter ends with `s`, which means seconds. For example, `3.5s` means 3.5 seconds.</li> // The default value is the material duration, which is determined by `EndTime` and `StartTime` of `ComposeSourceMedia`. If `ComposeSourceMedia` is not specified, the duration will be 1 second. Duration *string `json:"Duration,omitnil,omitempty" name:"Duration"` }
type ComposeTransitionItem ¶
type ComposeTransitionItem struct { // The element duration. <li>The value of this parameter ends with `s`, which means seconds. For example, `3s` indicates 3 seconds. </li> // Default value: `1s`. // Note // <li>The number before `s` must be an integer. Non-integers will be rounded down to the nearest integer. </li> // <li>The transition element must be between two non-empty elements. </li> // <li>The duration of the transition element must be shorter than that of the preceding element and the following element. </li> // u200c<li>The start time of the following element on the track will be automatically changed to the end time of the preceding element minus the duration of the transition element. </li> Duration *string `json:"Duration,omitnil,omitempty" name:"Duration"` // The transition effects. // The default transition effect is fade. // Note: You can add at most one image transition and one audio transition. Transitions []*ComposeTransitionOperation `json:"Transitions,omitnil,omitempty" name:"Transitions"` }
type ComposeTransitionOperation ¶
type ComposeTransitionOperation struct { // The transition type. // // The image transition, which connects two video segments. // <li>`ImageFadeInFadeOut` </li> // u200c<li>`BowTieHorizontal` </li> // u200c<li>`BowTieVertical` </li> // u200c<li>`ButterflyWaveScrawler` </li> // <li>`Cannabisleaf` </li> // <li>`Circle` </li> // <li>`CircleCrop` </li> // u200c<li>`Circleopen` </li> // <li>`Crosswarp` </li> // <li>`Cube` </li> // <li>`DoomScreenTransition` </li> // <li>`Doorway` </li> // <li>`Dreamy` </li> // <li>`DreamyZoom` </li> // <li>`FilmBurn` </li> // <li>`GlitchMemories` </li> // <li>`Heart` </li> // <li>`InvertedPageCurl` </li> // <li>`Luma` </li> // <li>`Mosaic` </li> // <li>`Pinwheel` </li> // <li>`PolarFunction` </li> // <li>`PolkaDotsCurtain` </li> // <li>`Radial` </li> // <li>`RotateScaleFade` </li> // <li>`Squeeze` </li> // <li>`Swap` </li> // <li>`Swirl` </li> // <li>`UndulatingBurnOutSwirl` </li> // <li>`Windowblinds` </li> // <li>`WipeDown` </li> // <li>`WipeLeft` </li> // <li>`WipeRight` </li> // <li>`WipeUp` </li> // <li>`ZoomInCircles` </li> // The audio transition, which connects two audio segments. // <li>`AudioFadeInFadeOut` </li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` }
type ComposeVideoItem ¶
type ComposeVideoItem struct { // The media information of the element. SourceMedia *ComposeSourceMedia `json:"SourceMedia,omitnil,omitempty" name:"SourceMedia"` // The time of the element in the timeline. If this is not specified, the element will follow the previous element. TrackTime *ComposeTrackTime `json:"TrackTime,omitnil,omitempty" name:"TrackTime"` // The horizontal distance of the element's center from the canvas origin. Two formats are supported: // <li>If the value ends with %, it specifies the distance as a percentage of the canvas width. For example, `10%` means that the distance is 10% of the canvas width. </li> // u200c<li>If the value ends with px, it specifies the distance in pixels. For example, `100px` means that the distance is 100 pixels. </li> // Default value: `50%`. XPos *string `json:"XPos,omitnil,omitempty" name:"XPos"` // The vertical distance of the element's center from the canvas origin. Two formats are supported: // u200c<li>If the value ends with %, it specifies the distance as a percentage of the canvas height. For example, `10%` means that the distance is 10% of the canvas height. </li> // u200c<li>If the value ends with px, it specifies the distance in pixels. For example, `100px` means that the distance is 100 pixels. </li> // Default value: `50%`. YPos *string `json:"YPos,omitnil,omitempty" name:"YPos"` // The width of the video segment. Two formats are supported: // u200c<li>If the value ends with %, it specifies the width as a percentage of the canvas width. For example, `10%` means that the video width is 10% of the canvas width. </li> // u200c<li>If the value ends with px, it specifies the width in pixels. For example, `100px` means that the video width is 100 pixels. </li> // If one or both parameters are empty or set to `0`: // <li>If both `Width` and `Height` are empty, the original width and height of the element will be kept. </li> // <li>If `Width` is empty and `Height` is not, the width will be auto scaled. </li> // <li>If `Width` is not empty and `Height` is, the height will be auto scaled. </li> Width *string `json:"Width,omitnil,omitempty" name:"Width"` // The height of the element. Two formats are supported: // u200c<li>If the value ends with %, it specifies the height as a percentage of the canvas height. For example, `10%` means that the height is 10% of the canvas height. </li> // u200c<li>If the value ends with px, it specifies the height in pixels. For example, `100px` means that the height is 100 pixels. </li> // If one or both parameters are empty or set to `0`: // <li>If both `Width` and `Height` are empty, the original width and height of the element will be kept. </li> // <li>If `Width` is empty and `Height` is not, the width will be auto scaled. </li> // <li>If `Width` is not empty and `Height` is, the height will be auto scaled. </li> Height *string `json:"Height,omitnil,omitempty" name:"Height"` // The image operations, such as image rotation. ImageOperations []*ComposeImageOperation `json:"ImageOperations,omitnil,omitempty" name:"ImageOperations"` // The audio operations, such as muting. AudioOperations []*ComposeAudioOperation `json:"AudioOperations,omitnil,omitempty" name:"AudioOperations"` }
type ComposeVideoStream ¶
type ComposeVideoStream struct { // The codec. Valid values: // <li>`H.264` (default) </li> Codec *string `json:"Codec,omitnil,omitempty" name:"Codec"` // The video frame rate (Hz). Value range: 0–60. // The default value is `0`, which means that the frame rate will be the same as that of the first video. Fps *int64 `json:"Fps,omitnil,omitempty" name:"Fps"` // Reference bitrate, in kbps. Value range: 50-35000. // If set, the encoder will try to encode at this bitrate. // If not set, the service will automatically adopt a suitable bitrate based on the complexity of an image. Bitrate *int64 `json:"Bitrate,omitnil,omitempty" name:"Bitrate"` }
type ContainerDiagnoseResultItem ¶
type ContainerDiagnoseResultItem struct { // Diagnosed exception category. Valid values: // DecodeParamException: decoding parameter exception. // TimeStampException: timestamp exception. // FrameException: frame rate exception. // StreamStatusException: stream status exception. // StreamInfo: stream information exception. // StreamAbnormalCharacteristics: stream characteristics exception. // DecodeException: decoding exception. // HLSRequirements: HLS format exception. // Note: This field may return null, indicating that no valid values can be obtained. Category *string `json:"Category,omitnil,omitempty" name:"Category"` // Diagnosed specific exception type. Valid values: // // VideoResolutionChanged: video resolution change. // AudioSampleRateChanged: audio sample rate change. // AudioChannelsChanged: audio channel quantity change. // ParameterSetsChanged: stream parameter set information change. // DarOrSarInvalid: video aspect ratio exception. // TimestampFallback: DTS timestamp rollback. // DtsJitter: DTS jitter too high. // PtsJitter: PTS jitter too high. // AACDurationDeviation: improper AAC frame timestamp interval. // AudioDroppingFrames: audio frame dropping. // VideoDroppingFrames: video frame dropping. // AVTimestampInterleave: improper audio-video interleaving. // PtsLessThanDts: PTS less than DTS for media streams. // ReceiveFpsJitter: significant jitter in the network receive frame rate. // ReceiveFpsTooSmall: network receive video frame rate too low. // FpsJitter: significant jitter in the stream frame rate calculated via PTS. // StreamOpenFailed: stream open failure. // StreamEnd: stream end. // StreamParseFailed: stream parsing failure. // VideoFirstFrameNotIdr: first frame not an IDR frame. // StreamNALUError: NALU start code error. // TsStreamNoAud: no AUD NALU in the H26x stream of MPEG-TS. // AudioStreamLack: no audio stream. // VideoStreamLack: no video stream. // LackAudioRecover: missing audio stream recovery. // LackVideoRecover: missing video stream recovery. // VideoBitrateOutofRange: video stream bitrate (kbps) out of range. // AudioBitrateOutofRange: audio stream bitrate (kbps) out of range. // VideoDecodeFailed: video decoding error. // AudioDecodeFailed: audio decoding error. // AudioOutOfPhase: opposite phase in dual-channel audio. // VideoDuplicatedFrame: duplicate frames in video streams. // AudioDuplicatedFrame: duplicate frames in audio streams. // VideoRotation: video rotation. // TsMultiPrograms: multiple programs in MPEG2-TS streams // Mp4InvalidCodecFourcc: codec FourCC in MP4 not meeting Apple HLS requirements. // HLSBadM3u8Format: invalid M3U8 file. // HLSInvalidMasterM3u8: invalid main M3U8 file. // HLSInvalidMediaM3u8: invalid media M3U8 file. // HLSMasterM3u8Recommended: parameters recommended by standards missing in main M3U8. // HLSMediaM3u8Recommended: parameters recommended by standards missing in media M3U8. // HLSMediaM3u8DiscontinuityExist: EXT-X-DISCONTINUITY in media M3U8. // HLSMediaSegmentsStreamNumChange: changed number of streams in segments. // HLSMediaSegmentsPTSJitterDeviation: PTS jumps between segments without EXT-X-DISCONTINUITY. // HLSMediaSegmentsDTSJitterDeviation: DTS jumps between segments without EXT-X-DISCONTINUITY. // TimecodeTrackExist: TMCD track in MP4. // Note: This field may return null, indicating that no valid values can be obtained. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Diagnosed exception level. Valid values: // Fatal: affecting subsequent playback and parsing. // Error: may affect playback. // Warning: potential risk, which may not necessarily affect playback. // Notice: important stream information. // Info: general stream information. // Note: This field may return null, indicating that no valid values can be obtained. SeverityLevel *string `json:"SeverityLevel,omitnil,omitempty" name:"SeverityLevel"` // Timestamp of warning, in the format of 2022-12-25T13:14:16Z. // Note: This field may return null, indicating that no valid values can be obtained. DateTimeSet []*string `json:"DateTimeSet,omitnil,omitempty" name:"DateTimeSet"` // Timestamp. // // Note: This field may return null, indicating that no valid values can be obtained. TimestampSet []*float64 `json:"TimestampSet,omitnil,omitempty" name:"TimestampSet"` }
type ContentReviewTemplateItem ¶
type ContentReviewTemplateItem struct { // Unique ID of a content audit template. Definition *int64 `json:"Definition,omitnil,omitempty" name:"Definition"` // Name of a content audit template. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Description of a content audit template. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"Bucket"` // Region of the COS bucket bound to a workflow, such as `ap-chongiqng`. Region *string `json:"Region,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Formats"` }
type CosInputInfo ¶
type CosInputInfo struct { // The COS bucket of the object to process, such as `TopRankVideo-125xxx88`. Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // The region of the COS bucket, such as `ap-chongqing`. Region *string `json:"Region,omitnil,omitempty" name:"Region"` // The path of the object to process, such as `/movie/201907/WildAnimal.mov`. Object *string `json:"Object,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"Switch"` }
type CreateAIAnalysisTemplateRequest ¶
type CreateAIAnalysisTemplateRequest struct { *tchttp.BaseRequest // Video content analysis template name. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Video content analysis template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // Control parameter of intelligent categorization task. ClassificationConfigure *ClassificationConfigureInfo `json:"ClassificationConfigure,omitnil,omitempty" name:"ClassificationConfigure"` // Control parameter of intelligent tagging task. TagConfigure *TagConfigureInfo `json:"TagConfigure,omitnil,omitempty" name:"TagConfigure"` // Control parameter of intelligent cover generating task. CoverConfigure *CoverConfigureInfo `json:"CoverConfigure,omitnil,omitempty" name:"CoverConfigure"` // Control parameter of intelligent frame-specific tagging task. FrameTagConfigure *FrameTagConfigureInfo `json:"FrameTagConfigure,omitnil,omitempty" 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,omitempty" name:"Name"` // Video content analysis template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // Control parameter of intelligent categorization task. ClassificationConfigure *ClassificationConfigureInfo `json:"ClassificationConfigure,omitnil,omitempty" name:"ClassificationConfigure"` // Control parameter of intelligent tagging task. TagConfigure *TagConfigureInfo `json:"TagConfigure,omitnil,omitempty" name:"TagConfigure"` // Control parameter of intelligent cover generating task. CoverConfigure *CoverConfigureInfo `json:"CoverConfigure,omitnil,omitempty" name:"CoverConfigure"` // Control parameter of intelligent frame-specific tagging task. FrameTagConfigure *FrameTagConfigureInfo `json:"FrameTagConfigure,omitnil,omitempty" 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,omitempty" name:"Definition"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Name"` // Description of a video content recognition template. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // Face recognition control parameter. FaceConfigure *FaceConfigureInfo `json:"FaceConfigure,omitnil,omitempty" name:"FaceConfigure"` // Full text recognition control parameter. OcrFullTextConfigure *OcrFullTextConfigureInfo `json:"OcrFullTextConfigure,omitnil,omitempty" name:"OcrFullTextConfigure"` // Text keyword recognition control parameter. OcrWordsConfigure *OcrWordsConfigureInfo `json:"OcrWordsConfigure,omitnil,omitempty" name:"OcrWordsConfigure"` // Full speech recognition control parameter. AsrFullTextConfigure *AsrFullTextConfigureInfo `json:"AsrFullTextConfigure,omitnil,omitempty" name:"AsrFullTextConfigure"` // Speech keyword recognition control parameter. AsrWordsConfigure *AsrWordsConfigureInfo `json:"AsrWordsConfigure,omitnil,omitempty" 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,omitempty" name:"Name"` // Description of a video content recognition template. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // Face recognition control parameter. FaceConfigure *FaceConfigureInfo `json:"FaceConfigure,omitnil,omitempty" name:"FaceConfigure"` // Full text recognition control parameter. OcrFullTextConfigure *OcrFullTextConfigureInfo `json:"OcrFullTextConfigure,omitnil,omitempty" name:"OcrFullTextConfigure"` // Text keyword recognition control parameter. OcrWordsConfigure *OcrWordsConfigureInfo `json:"OcrWordsConfigure,omitnil,omitempty" name:"OcrWordsConfigure"` // Full speech recognition control parameter. AsrFullTextConfigure *AsrFullTextConfigureInfo `json:"AsrFullTextConfigure,omitnil,omitempty" name:"AsrFullTextConfigure"` // Speech keyword recognition control parameter. AsrWordsConfigure *AsrWordsConfigureInfo `json:"AsrWordsConfigure,omitnil,omitempty" 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,omitempty" name:"Definition"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"StreamInfos"` // Template name. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"DisableHigherVideoResolution"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // Whether it is an audio-only template. 0: video template. 1: audio-only template.When the value is 1: // 1. StreamInfos.N.RemoveVideo=1 // 2. StreamInfos.N.RemoveAudio=0 // 3. StreamInfos.N.Video.Codec=copy // // When the value is 0: // // 1. StreamInfos.N.Video.Codec cannot be copy. // 2. StreamInfos.N.Video.Fps cannot be null. PureAudio *uint64 `json:"PureAudio,omitnil,omitempty" name:"PureAudio"` // HLS segment type. Valid values: <li>ts-segment: HLS+TS segment.</li> <li>ts-byterange: HLS+TS byte range.</li> <li>mp4-segment: HLS+MP4 segment.</li> <li>mp4-byterange: HLS+MP4 byte range.</li> <li>ts-packed-audio: TS+Packed audio.</li> <li>mp4-packed-audio: MP4+Packed audio.</li> Default value: ts-segment. // Note: The HLS segment format for adaptive bitrate streaming is based on this field. SegmentType *string `json:"SegmentType,omitnil,omitempty" name:"SegmentType"` }
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,omitempty" 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,omitempty" name:"StreamInfos"` // Template name. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"DisableHigherVideoResolution"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // Whether it is an audio-only template. 0: video template. 1: audio-only template.When the value is 1: // 1. StreamInfos.N.RemoveVideo=1 // 2. StreamInfos.N.RemoveAudio=0 // 3. StreamInfos.N.Video.Codec=copy // // When the value is 0: // // 1. StreamInfos.N.Video.Codec cannot be copy. // 2. StreamInfos.N.Video.Fps cannot be null. PureAudio *uint64 `json:"PureAudio,omitnil,omitempty" name:"PureAudio"` // HLS segment type. Valid values: <li>ts-segment: HLS+TS segment.</li> <li>ts-byterange: HLS+TS byte range.</li> <li>mp4-segment: HLS+MP4 segment.</li> <li>mp4-byterange: HLS+MP4 byte range.</li> <li>ts-packed-audio: TS+Packed audio.</li> <li>mp4-packed-audio: MP4+Packed audio.</li> Default value: ts-segment. // Note: The HLS segment format for adaptive bitrate streaming is based on this field. SegmentType *string `json:"SegmentType,omitnil,omitempty" name:"SegmentType"` }
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,omitempty" name:"Definition"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"ResolutionAdaptive"` // Animated image format. Valid values: gif; webp. Default value: gif. Format *string `json:"Format,omitnil,omitempty" name:"Format"` // Image quality. Value range: [1, 100]. Default value: 75. Quality *float64 `json:"Quality,omitnil,omitempty" name:"Quality"` // Name of an animated image generating template. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"ResolutionAdaptive"` // Animated image format. Valid values: gif; webp. Default value: gif. Format *string `json:"Format,omitnil,omitempty" name:"Format"` // Image quality. Value range: [1, 100]. Default value: 75. Quality *float64 `json:"Quality,omitnil,omitempty" name:"Quality"` // Name of an animated image generating template. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" 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,omitempty" name:"Definition"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Name"` // The template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // Control parameter for porn information PornConfigure *PornConfigureInfo `json:"PornConfigure,omitnil,omitempty" name:"PornConfigure"` // Control parameter for terrorism information TerrorismConfigure *TerrorismConfigureInfo `json:"TerrorismConfigure,omitnil,omitempty" name:"TerrorismConfigure"` // Control parameter for politically sensitive information PoliticalConfigure *PoliticalConfigureInfo `json:"PoliticalConfigure,omitnil,omitempty" 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,omitempty" name:"ProhibitedConfigure"` // Custom content moderation parameters. UserDefineConfigure *UserDefineConfigureInfo `json:"UserDefineConfigure,omitnil,omitempty" 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,omitempty" name:"Name"` // The template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // Control parameter for porn information PornConfigure *PornConfigureInfo `json:"PornConfigure,omitnil,omitempty" name:"PornConfigure"` // Control parameter for terrorism information TerrorismConfigure *TerrorismConfigureInfo `json:"TerrorismConfigure,omitnil,omitempty" name:"TerrorismConfigure"` // Control parameter for politically sensitive information PoliticalConfigure *PoliticalConfigureInfo `json:"PoliticalConfigure,omitnil,omitempty" 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,omitempty" name:"ProhibitedConfigure"` // Custom content moderation parameters. UserDefineConfigure *UserDefineConfigureInfo `json:"UserDefineConfigure,omitnil,omitempty" 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,omitempty" name:"Definition"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"SampleInterval"` // Subimage row count of an image sprite. RowCount *uint64 `json:"RowCount,omitnil,omitempty" name:"RowCount"` // Subimage column count of an image sprite. ColumnCount *uint64 `json:"ColumnCount,omitnil,omitempty" name:"ColumnCount"` // Name of an image sprite generating template. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Subimage width of an image sprite in px. Value range: [128, 4,096]. Width *uint64 `json:"Width,omitnil,omitempty" name:"Width"` // Subimage height of an image sprite in px. Value range: [128, 4,096]. Height *uint64 `json:"Height,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"FillType"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // The image format. Valid values: jpg (default), png, webp. Format *string `json:"Format,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"SampleInterval"` // Subimage row count of an image sprite. RowCount *uint64 `json:"RowCount,omitnil,omitempty" name:"RowCount"` // Subimage column count of an image sprite. ColumnCount *uint64 `json:"ColumnCount,omitnil,omitempty" name:"ColumnCount"` // Name of an image sprite generating template. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Subimage width of an image sprite in px. Value range: [128, 4,096]. Width *uint64 `json:"Width,omitnil,omitempty" name:"Width"` // Subimage height of an image sprite in px. Value range: [128, 4,096]. Height *uint64 `json:"Height,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"FillType"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // The image format. Valid values: jpg (default), png, webp. Format *string `json:"Format,omitnil,omitempty" 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,omitempty" name:"Definition"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Usages"` // Image description. Length limit: 1,024 characters Description *string `json:"Description,omitnil,omitempty" 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,omitempty" name:"FaceContents"` // Image tag // <li>Array length limit: 20 tags</li> // <li>Tag length limit: 128 characters</li> Tags []*string `json:"Tags,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Usages"` // Image description. Length limit: 1,024 characters Description *string `json:"Description,omitnil,omitempty" 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,omitempty" name:"FaceContents"` // Image tag // <li>Array length limit: 20 tags</li> // <li>Tag length limit: 128 characters</li> Tags []*string `json:"Tags,omitnil,omitempty" 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,omitempty" name:"Person"` // Information of images that failed the verification by facial feature positioning FailFaceInfoSet []*AiSampleFailFaceInfo `json:"FailFaceInfoSet,omitnil,omitempty" name:"FailFaceInfoSet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateQualityControlTemplateRequest ¶
type CreateQualityControlTemplateRequest struct { *tchttp.BaseRequest // Media quality inspection template name, with a length limit of 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Media quality inspection control parameters. QualityControlItemSet []*QualityControlItemConfig `json:"QualityControlItemSet,omitnil,omitempty" name:"QualityControlItemSet"` // Media quality inspection template description, with a length limit of 256 characters. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` }
func NewCreateQualityControlTemplateRequest ¶
func NewCreateQualityControlTemplateRequest() (request *CreateQualityControlTemplateRequest)
func (*CreateQualityControlTemplateRequest) FromJsonString ¶
func (r *CreateQualityControlTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateQualityControlTemplateRequest) ToJsonString ¶
func (r *CreateQualityControlTemplateRequest) ToJsonString() string
type CreateQualityControlTemplateRequestParams ¶
type CreateQualityControlTemplateRequestParams struct { // Media quality inspection template name, with a length limit of 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Media quality inspection control parameters. QualityControlItemSet []*QualityControlItemConfig `json:"QualityControlItemSet,omitnil,omitempty" name:"QualityControlItemSet"` // Media quality inspection template description, with a length limit of 256 characters. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` }
Predefined struct for user
type CreateQualityControlTemplateResponse ¶
type CreateQualityControlTemplateResponse struct { *tchttp.BaseResponse Response *CreateQualityControlTemplateResponseParams `json:"Response"` }
func NewCreateQualityControlTemplateResponse ¶
func NewCreateQualityControlTemplateResponse() (response *CreateQualityControlTemplateResponse)
func (*CreateQualityControlTemplateResponse) FromJsonString ¶
func (r *CreateQualityControlTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateQualityControlTemplateResponse) ToJsonString ¶
func (r *CreateQualityControlTemplateResponse) ToJsonString() string
type CreateQualityControlTemplateResponseParams ¶
type CreateQualityControlTemplateResponseParams struct { // Unique identifier of a media quality inspection template. Definition *int64 `json:"Definition,omitnil,omitempty" name:"Definition"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"SampleInterval"` // Name of a sampled screencapturing template. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Image width in px. Value range: [128, 4,096]. Width *uint64 `json:"Width,omitnil,omitempty" name:"Width"` // Image height in px. Value range: [128, 4,096]. Height *uint64 `json:"Height,omitnil,omitempty" 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,omitempty" name:"ResolutionAdaptive"` // The image format. Valid values: jpg (default), png, webp. Format *string `json:"Format,omitnil,omitempty" name:"Format"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"SampleInterval"` // Name of a sampled screencapturing template. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Image width in px. Value range: [128, 4,096]. Width *uint64 `json:"Width,omitnil,omitempty" name:"Width"` // Image height in px. Value range: [128, 4,096]. Height *uint64 `json:"Height,omitnil,omitempty" 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,omitempty" name:"ResolutionAdaptive"` // The image format. Valid values: jpg (default), png, webp. Format *string `json:"Format,omitnil,omitempty" name:"Format"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Definition"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Trigger"` // The subtasks of the scheme. Activities []*Activity `json:"Activities,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"OutputDir"` // The notification configuration. If you do not specify this parameter, notifications will not be sent. TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitnil,omitempty" name:"TaskNotifyConfig"` // Resource ID. Ensure the corresponding resource is in the enabled state. The default value is an account's primary resource ID. ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"` }
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,omitempty" 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,omitempty" name:"Trigger"` // The subtasks of the scheme. Activities []*Activity `json:"Activities,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"OutputDir"` // The notification configuration. If you do not specify this parameter, notifications will not be sent. TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitnil,omitempty" name:"TaskNotifyConfig"` // Resource ID. Ensure the corresponding resource is in the enabled state. The default value is an account's primary resource ID. ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"` }
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,omitempty" name:"ScheduleId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Name"` // Image width in px. Value range: [128, 4,096]. Width *uint64 `json:"Width,omitnil,omitempty" name:"Width"` // Image height in px. Value range: [128, 4,096]. Height *uint64 `json:"Height,omitnil,omitempty" 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,omitempty" name:"ResolutionAdaptive"` // The image format. Valid values: jpg (default), png, webp. Format *string `json:"Format,omitnil,omitempty" name:"Format"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Name"` // Image width in px. Value range: [128, 4,096]. Width *uint64 `json:"Width,omitnil,omitempty" name:"Width"` // Image height in px. Value range: [128, 4,096]. Height *uint64 `json:"Height,omitnil,omitempty" 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,omitempty" name:"ResolutionAdaptive"` // The image format. Valid values: jpg (default), png, webp. Format *string `json:"Format,omitnil,omitempty" name:"Format"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Definition"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateTranscodeTemplateRequest ¶
type CreateTranscodeTemplateRequest struct { *tchttp.BaseRequest // Container format. Valid values: mp4, flv, hls, ts, webm, mkv, mxf, mov, mp3, flac, ogg, and m4a. Among them, mp3, flac, ogg, and m4a are for audio-only files. Container *string `json:"Container,omitnil,omitempty" name:"Container"` // Name of a transcoding template. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"RemoveAudio"` // Video stream configuration parameter. This field is required when `RemoveVideo` is 0. VideoTemplate *VideoTemplateInfo `json:"VideoTemplate,omitnil,omitempty" name:"VideoTemplate"` // Audio stream configuration parameter. This field is required when `RemoveAudio` is 0. AudioTemplate *AudioTemplateInfo `json:"AudioTemplate,omitnil,omitempty" name:"AudioTemplate"` // TESHD transcoding parameter. To enable it, please contact your Tencent Cloud sales rep. TEHDConfig *TEHDConfig `json:"TEHDConfig,omitnil,omitempty" name:"TEHDConfig"` // Audio/Video enhancement configuration. EnhanceConfig *EnhanceConfig `json:"EnhanceConfig,omitnil,omitempty" 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, ts, webm, mkv, mxf, mov, mp3, flac, ogg, and m4a. Among them, mp3, flac, ogg, and m4a are for audio-only files. Container *string `json:"Container,omitnil,omitempty" name:"Container"` // Name of a transcoding template. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"RemoveAudio"` // Video stream configuration parameter. This field is required when `RemoveVideo` is 0. VideoTemplate *VideoTemplateInfo `json:"VideoTemplate,omitnil,omitempty" name:"VideoTemplate"` // Audio stream configuration parameter. This field is required when `RemoveAudio` is 0. AudioTemplate *AudioTemplateInfo `json:"AudioTemplate,omitnil,omitempty" name:"AudioTemplate"` // TESHD transcoding parameter. To enable it, please contact your Tencent Cloud sales rep. TEHDConfig *TEHDConfig `json:"TEHDConfig,omitnil,omitempty" name:"TEHDConfig"` // Audio/Video enhancement configuration. EnhanceConfig *EnhanceConfig `json:"EnhanceConfig,omitnil,omitempty" 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,omitempty" name:"Definition"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Type"` // Watermarking template name. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"YPos"` // Image watermarking template. This field is required and valid only when `Type` is `image`. ImageTemplate *ImageWatermarkInput `json:"ImageTemplate,omitnil,omitempty" name:"ImageTemplate"` // Text watermarking template. This field is required and valid only when `Type` is `text`. TextTemplate *TextWatermarkTemplateInput `json:"TextTemplate,omitnil,omitempty" name:"TextTemplate"` // SVG watermarking template. This field is required and valid only when `Type` is `svg`. SvgTemplate *SvgWatermarkInput `json:"SvgTemplate,omitnil,omitempty" 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,omitempty" name:"Type"` // Watermarking template name. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"YPos"` // Image watermarking template. This field is required and valid only when `Type` is `image`. ImageTemplate *ImageWatermarkInput `json:"ImageTemplate,omitnil,omitempty" name:"ImageTemplate"` // Text watermarking template. This field is required and valid only when `Type` is `text`. TextTemplate *TextWatermarkTemplateInput `json:"TextTemplate,omitnil,omitempty" name:"TextTemplate"` // SVG watermarking template. This field is required and valid only when `Type` is `svg`. SvgTemplate *SvgWatermarkInput `json:"SvgTemplate,omitnil,omitempty" 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,omitempty" name:"Definition"` // Watermark image address. This field is valid only when `Type` is `image`. ImageUrl *string `json:"ImageUrl,omitnil,omitempty" name:"ImageUrl"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Usages"` // Keyword. Array length limit: 100. Words []*AiSampleWordInfo `json:"Words,omitnil,omitempty" 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,omitempty" name:"Usages"` // Keyword. Array length limit: 100. Words []*AiSampleWordInfo `json:"Words,omitnil,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"OutputDir"` // The media processing parameters to use. MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitnil,omitempty" name:"MediaProcessTask"` // Type parameter of a video content audit task. AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitnil,omitempty" name:"AiContentReviewTask"` // Video content analysis task parameter. AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitnil,omitempty" name:"AiAnalysisTask"` // Type parameter of a video content recognition task. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"OutputDir"` // The media processing parameters to use. MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitnil,omitempty" name:"MediaProcessTask"` // Type parameter of a video content audit task. AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitnil,omitempty" name:"AiContentReviewTask"` // Video content analysis task parameter. AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitnil,omitempty" name:"AiAnalysisTask"` // Type parameter of a video content recognition task. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"WorkflowId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeletePersonSampleRequest ¶
type DeletePersonSampleRequest struct { *tchttp.BaseRequest // Image ID PersonId *string `json:"PersonId,omitnil,omitempty" 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,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteQualityControlTemplateRequest ¶
type DeleteQualityControlTemplateRequest struct { *tchttp.BaseRequest // Unique identifier of a media quality inspection template. Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` }
func NewDeleteQualityControlTemplateRequest ¶
func NewDeleteQualityControlTemplateRequest() (request *DeleteQualityControlTemplateRequest)
func (*DeleteQualityControlTemplateRequest) FromJsonString ¶
func (r *DeleteQualityControlTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteQualityControlTemplateRequest) ToJsonString ¶
func (r *DeleteQualityControlTemplateRequest) ToJsonString() string
type DeleteQualityControlTemplateRequestParams ¶
type DeleteQualityControlTemplateRequestParams struct { // Unique identifier of a media quality inspection template. Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` }
Predefined struct for user
type DeleteQualityControlTemplateResponse ¶
type DeleteQualityControlTemplateResponse struct { *tchttp.BaseResponse Response *DeleteQualityControlTemplateResponseParams `json:"Response"` }
func NewDeleteQualityControlTemplateResponse ¶
func NewDeleteQualityControlTemplateResponse() (response *DeleteQualityControlTemplateResponse)
func (*DeleteQualityControlTemplateResponse) FromJsonString ¶
func (r *DeleteQualityControlTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteQualityControlTemplateResponse) ToJsonString ¶
func (r *DeleteQualityControlTemplateResponse) ToJsonString() string
type DeleteQualityControlTemplateResponseParams ¶
type DeleteQualityControlTemplateResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteScheduleRequest ¶
type DeleteScheduleRequest struct { *tchttp.BaseRequest // The scheme ID. ScheduleId *int64 `json:"ScheduleId,omitnil,omitempty" 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,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteTranscodeTemplateRequest ¶
type DeleteTranscodeTemplateRequest struct { *tchttp.BaseRequest // Unique ID of a transcoding template. Definition *int64 `json:"Definition,omitnil,omitempty" 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,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteWatermarkTemplateRequest ¶
type DeleteWatermarkTemplateRequest struct { *tchttp.BaseRequest // Unique ID of a watermarking template. Definition *int64 `json:"Definition,omitnil,omitempty" 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,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteWordSamplesRequest ¶
type DeleteWordSamplesRequest struct { *tchttp.BaseRequest // Keyword. Array length limit: 100 words. Keywords []*string `json:"Keywords,omitnil,omitempty" 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,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteWorkflowRequest ¶
type DeleteWorkflowRequest struct { *tchttp.BaseRequest // Workflow ID. WorkflowId *int64 `json:"WorkflowId,omitnil,omitempty" 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,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Definitions"` // Pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" 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,omitempty" name:"Type"` // Filter condition for video analysis template identifiers, with a length limit of 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
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,omitempty" name:"Definitions"` // Pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" 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,omitempty" name:"Type"` // Filter condition for video analysis template identifiers, with a length limit of 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
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,omitempty" name:"TotalCount"` // List of video content analysis template details. AIAnalysisTemplateSet []*AIAnalysisTemplateItem `json:"AIAnalysisTemplateSet,omitnil,omitempty" name:"AIAnalysisTemplateSet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Definitions"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 50. Limit *uint64 `json:"Limit,omitnil,omitempty" 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,omitempty" name:"Type"` // Filter condition for video recognition template identifiers, with a length limit of 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
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,omitempty" name:"Definitions"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 50. Limit *uint64 `json:"Limit,omitnil,omitempty" 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,omitempty" name:"Type"` // Filter condition for video recognition template identifiers, with a length limit of 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
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,omitempty" name:"TotalCount"` // List of video content recognition template details. AIRecognitionTemplateSet []*AIRecognitionTemplateItem `json:"AIRecognitionTemplateSet,omitnil,omitempty" name:"AIRecognitionTemplateSet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Definitions"` // Pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Template type filter. Valid values: // <li>Preset: preset template;</li> // <li>Custom: custom template.</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Whether it is an audio-only template. 0: video template. 1: audio-only template. PureAudio *uint64 `json:"PureAudio,omitnil,omitempty" name:"PureAudio"` // Filter condition for adaptive transcoding template identifiers, with a length limit of 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
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,omitempty" name:"Definitions"` // Pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Template type filter. Valid values: // <li>Preset: preset template;</li> // <li>Custom: custom template.</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Whether it is an audio-only template. 0: video template. 1: audio-only template. PureAudio *uint64 `json:"PureAudio,omitnil,omitempty" name:"PureAudio"` // Filter condition for adaptive transcoding template identifiers, with a length limit of 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
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,omitempty" name:"TotalCount"` // List of adaptive bitrate streaming template details. AdaptiveDynamicStreamingTemplateSet []*AdaptiveDynamicStreamingTemplate `json:"AdaptiveDynamicStreamingTemplateSet,omitnil,omitempty" name:"AdaptiveDynamicStreamingTemplateSet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Definitions"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Template type filter. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Filter condition for animated image generating template identifiers, with a length limit of 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
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,omitempty" name:"Definitions"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Template type filter. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Filter condition for animated image generating template identifiers, with a length limit of 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
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,omitempty" name:"TotalCount"` // List of animated image generating template details. AnimatedGraphicsTemplateSet []*AnimatedGraphicsTemplate `json:"AnimatedGraphicsTemplateSet,omitnil,omitempty" name:"AnimatedGraphicsTemplateSet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Definitions"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 50. Limit *uint64 `json:"Limit,omitnil,omitempty" 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,omitempty" name:"Type"` // Filter condition for intelligent auditing template identifiers, with a length limit of 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
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,omitempty" name:"Definitions"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 50. Limit *uint64 `json:"Limit,omitnil,omitempty" 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,omitempty" name:"Type"` // Filter condition for intelligent auditing template identifiers, with a length limit of 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
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,omitempty" name:"TotalCount"` // List of content audit template details. ContentReviewTemplateSet []*ContentReviewTemplateItem `json:"ContentReviewTemplateSet,omitnil,omitempty" name:"ContentReviewTemplateSet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Definitions"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Template type filter. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Filter condition for sprite template identifiers, with a length limit of 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
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,omitempty" name:"Definitions"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Template type filter. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Filter condition for sprite template identifiers, with a length limit of 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
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,omitempty" name:"TotalCount"` // List of image sprite generating template details. ImageSpriteTemplateSet []*ImageSpriteTemplate `json:"ImageSpriteTemplateSet,omitnil,omitempty" name:"ImageSpriteTemplateSet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"MetaData"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Type"` // Image ID. Array length limit: 100 PersonIds []*string `json:"PersonIds,omitnil,omitempty" name:"PersonIds"` // Image name. Array length limit: 20 Names []*string `json:"Names,omitnil,omitempty" name:"Names"` // Image tag. Array length limit: 20 Tags []*string `json:"Tags,omitnil,omitempty" name:"Tags"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries. Default value: 100. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" 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,omitempty" name:"Type"` // Image ID. Array length limit: 100 PersonIds []*string `json:"PersonIds,omitnil,omitempty" name:"PersonIds"` // Image name. Array length limit: 20 Names []*string `json:"Names,omitnil,omitempty" name:"Names"` // Image tag. Array length limit: 20 Tags []*string `json:"Tags,omitnil,omitempty" name:"Tags"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries. Default value: 100. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" 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,omitempty" name:"TotalCount"` // Image information PersonSet []*AiSamplePerson `json:"PersonSet,omitnil,omitempty" name:"PersonSet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeQualityControlTemplatesRequest ¶
type DescribeQualityControlTemplatesRequest struct { *tchttp.BaseRequest // Filter condition for media quality inspection template unique identifiers, with an array length limit of 100. Definitions []*int64 `json:"Definitions,omitnil,omitempty" name:"Definitions"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries. // // <li>Default value: 10.</li> // <li>Maximum value: 100.</li> Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Preset: preset template. Custom: custom template. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Filter condition for media quality inspection template identifiers, with a length limit of 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
func NewDescribeQualityControlTemplatesRequest ¶
func NewDescribeQualityControlTemplatesRequest() (request *DescribeQualityControlTemplatesRequest)
func (*DescribeQualityControlTemplatesRequest) FromJsonString ¶
func (r *DescribeQualityControlTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeQualityControlTemplatesRequest) ToJsonString ¶
func (r *DescribeQualityControlTemplatesRequest) ToJsonString() string
type DescribeQualityControlTemplatesRequestParams ¶
type DescribeQualityControlTemplatesRequestParams struct { // Filter condition for media quality inspection template unique identifiers, with an array length limit of 100. Definitions []*int64 `json:"Definitions,omitnil,omitempty" name:"Definitions"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries. // // <li>Default value: 10.</li> // <li>Maximum value: 100.</li> Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Preset: preset template. Custom: custom template. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Filter condition for media quality inspection template identifiers, with a length limit of 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
Predefined struct for user
type DescribeQualityControlTemplatesResponse ¶
type DescribeQualityControlTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeQualityControlTemplatesResponseParams `json:"Response"` }
func NewDescribeQualityControlTemplatesResponse ¶
func NewDescribeQualityControlTemplatesResponse() (response *DescribeQualityControlTemplatesResponse)
func (*DescribeQualityControlTemplatesResponse) FromJsonString ¶
func (r *DescribeQualityControlTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeQualityControlTemplatesResponse) ToJsonString ¶
func (r *DescribeQualityControlTemplatesResponse) ToJsonString() string
type DescribeQualityControlTemplatesResponseParams ¶
type DescribeQualityControlTemplatesResponseParams struct { // Total number of records that meet filter conditions. TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Media quality inspection template details list. // Note: This field may return null, indicating that no valid values can be obtained. QualityControlTemplateSet []*QualityControlTemplate `json:"QualityControlTemplateSet,omitnil,omitempty" name:"QualityControlTemplateSet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Definitions"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Template type filter. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Filter condition for sampled screenshot template identifiers, with a length limit of 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
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,omitempty" name:"Definitions"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Template type filter. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Filter condition for sampled screenshot template identifiers, with a length limit of 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
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,omitempty" name:"TotalCount"` // List of sampled screencapturing template details. SampleSnapshotTemplateSet []*SampleSnapshotTemplate `json:"SampleSnapshotTemplateSet,omitnil,omitempty" name:"SampleSnapshotTemplateSet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"Status"` // The pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // The maximum number of records to return. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"Status"` // The pagination offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // The maximum number of records to return. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" 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,omitempty" name:"TotalCount"` // The information of the schemes. ScheduleInfoSet []*SchedulesInfo `json:"ScheduleInfoSet,omitnil,omitempty" name:"ScheduleInfoSet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Definitions"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Template type filter. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Filter condition for time point screenshot template identifiers, with a length limit of 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
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,omitempty" name:"Definitions"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Template type filter. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Filter condition for time point screenshot template identifiers, with a length limit of 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
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,omitempty" name:"TotalCount"` // List of time point screencapturing template details. SnapshotByTimeOffsetTemplateSet []*SnapshotByTimeOffsetTemplate `json:"SnapshotByTimeOffsetTemplateSet,omitnil,omitempty" name:"SnapshotByTimeOffsetTemplateSet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTaskDetailRequest ¶
type DescribeTaskDetailRequest struct { *tchttp.BaseRequest // Video processing task ID. TaskId *string `json:"TaskId,omitnil,omitempty" 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,omitempty" 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 { // Task type. Valid values:<li>WorkflowTask: video workflow processing task.</li><li>EditMediaTask: video editing task.</li><li>LiveStreamProcessTask: live stream processing task.</li><li>ScheduleTask: orchestration processing task.</li><li>EvaluationTask: evaluation task.</li> TaskType *string `json:"TaskType,omitnil,omitempty" name:"TaskType"` // Task status. Valid values: // <li>WAITING: Waiting;</li> // <li>PROCESSING: Processing;</li> // <li>FINISH: Completed.</li> Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"FinishTime"` // Video editing task information. This field has a value only when `TaskType` is `EditMediaTask`. EditMediaTask *EditMediaTask `json:"EditMediaTask,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"TaskNotifyConfig"` // Task flow priority. Value range: [-10, 10]. TasksPriority *int64 `json:"TasksPriority,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"SessionContext"` // Extended information field, used in specific scenarios. ExtInfo *string `json:"ExtInfo,omitnil,omitempty" 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,omitempty" name:"ScheduleTask"` // The information of a live scheme. This parameter is valid only if `TaskType` is `LiveScheduleTask`. // Note: This field may return·null, indicating that no valid values can be obtained. LiveScheduleTask *LiveScheduleTask `json:"LiveScheduleTask,omitnil,omitempty" name:"LiveScheduleTask"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Status"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Status"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"ScrollToken"` // The total number of records that meet the conditions. TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Definitions"` // Template type filter. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"TEHDType"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" 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,omitempty" name:"TranscodeType"` // Filter condition for transcoding template identifiers, with a length limit of 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
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,omitempty" name:"Definitions"` // Template type filter. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"TEHDType"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" 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,omitempty" name:"TranscodeType"` // Filter condition for transcoding template identifiers, with a length limit of 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
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,omitempty" name:"TotalCount"` // List of transcoding template details. TranscodeTemplateSet []*TranscodeTemplate `json:"TranscodeTemplateSet,omitnil,omitempty" name:"TranscodeTemplateSet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Definitions"` // Watermark type filter. Valid values: // <li>image: Image watermark;</li> // <li>text: Text watermark.</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries // <li>Default value: 10;</li> // <li>Maximum value: 100.</li> Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Filter condition for watermark template identifiers, with a length limit of 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
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,omitempty" name:"Definitions"` // Watermark type filter. Valid values: // <li>image: Image watermark;</li> // <li>text: Text watermark.</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries // <li>Default value: 10;</li> // <li>Maximum value: 100.</li> Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Filter condition for watermark template identifiers, with a length limit of 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
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,omitempty" name:"TotalCount"` // List of watermarking template details. WatermarkTemplateSet []*WatermarkTemplate `json:"WatermarkTemplateSet,omitnil,omitempty" name:"WatermarkTemplateSet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Usages"` // Tag filter. Array length limit: 20 words. Tags []*string `json:"Tags,omitnil,omitempty" name:"Tags"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries. Default value: 100. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Usages"` // Tag filter. Array length limit: 20 words. Tags []*string `json:"Tags,omitnil,omitempty" name:"Tags"` // Paging offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries. Default value: 100. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" 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,omitempty" name:"TotalCount"` // Keyword information. // Note: This field may return null, indicating that no valid values can be obtained. WordSet []*AiSampleWord `json:"WordSet,omitnil,omitempty" name:"WordSet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Status"` // Paging offset. Default value: 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *int64 `json:"Limit,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Status"` // Paging offset. Default value: 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned entries. Default value: 10. Maximum value: 100. Limit *int64 `json:"Limit,omitnil,omitempty" 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,omitempty" name:"TotalCount"` // Workflow information array. WorkflowInfoSet []*WorkflowInfo `json:"WorkflowInfoSet,omitnil,omitempty" name:"WorkflowInfoSet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DiagnoseResult ¶
type DiagnoseResult struct { // Diagnosed exception category. Valid values: // DecodeParamException: decoding parameter exception. // TimeStampException: timestamp exception. // FrameException: frame rate exception. // StreamStatusException: stream status exception. // StreamInfo: stream information exception. // StreamAbnormalCharacteristics: stream characteristics exception. // DecodeException: decoding exception. // HLSRequirements: HLS format exception. // Note: This field may return null, indicating that no valid values can be obtained. Category *string `json:"Category,omitnil,omitempty" name:"Category"` // Diagnosed specific exception type. Valid values: // // VideoResolutionChanged: video resolution change. // AudioSampleRateChanged: audio sample rate change. // AudioChannelsChanged: audio channel quantity change.ParameterSetsChanged: stream parameter set information change. // DarOrSarInvalid: video aspect ratio exception. // TimestampFallback: DTS timestamp rollback.DtsJitter: DTS jitter too high. // PtsJitter: PTS jitter too high. // AACDurationDeviation: improper AAC frame timestamp interval. // AudioDroppingFrames: audio frame dropping. // VideoDroppingFrames: video frame dropping. // AVTimestampInterleave: improper audio-video interleaving. // PtsLessThanDts: PTS less than DTS for media streams. // ReceiveFpsJitter: significant jitter in the network receive frame rate.ReceiveFpsTooSmall: network receive video frame rate too low.FpsJitter: significant jitter in the stream frame rate calculated via PTS.StreamOpenFailed: stream open failure. // StreamEnd: stream end. // StreamParseFailed: stream parsing failure. // VideoFirstFrameNotIdr: first frame not an IDR frame. // StreamNALUError: NALU start code error. // TsStreamNoAud: no AUD NALU in the H26x stream of MPEG-TS.AudioStreamLack: no audio stream. // VideoStreamLack: no video stream. // LackAudioRecover: missing audio stream recovery. // LackVideoRecover: missing video stream recovery. // VideoBitrateOutofRange: video stream bitrate (kbps) out of range. // AudioBitrateOutofRange: audio stream bitrate (kbps) out of range. // VideoDecodeFailed: video decoding error. // AudioDecodeFailed: audio decoding error. // AudioOutOfPhase: opposite phase in dual-channel audio. // VideoDuplicatedFrame: duplicate frames in video streams. // AudioDuplicatedFrame: duplicate frames in audio streams. // VideoRotation: video rotation. // TsMultiPrograms: multiple programs in MPEG2-TS streams.Mp4InvalidCodecFourcc: codec FourCC in MP4 not meeting Apple HLS requirements. // HLSBadM3u8Format: invalid M3U8 file. // HLSInvalidMasterM3u8: invalid main M3U8 file. // HLSInvalidMediaM3u8: invalid media M3U8 file. // HLSMasterM3u8Recommended: parameters recommended by standards missing in main M3U8. // HLSMediaM3u8Recommended: parameters recommended by standards missing in media M3U8. // HLSMediaM3u8DiscontinuityExist: EXT-X-DISCONTINUITY in media M3U8. // HLSMediaSegmentsStreamNumChange: changed number of streams in segments. // HLSMediaSegmentsPTSJitterDeviation: PTS jumps between segments without EXT-X-DISCONTINUITY. // HLSMediaSegmentsDTSJitterDeviation: DTS jumps between segments without EXT-X-DISCONTINUITY. // TimecodeTrackExist: TMCD track in MP4. // Note: This field may return null, indicating that no valid values can be obtained. Type *string `json:"Type,omitnil,omitempty" name:"Type"` Timestamp *float64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"` Description *string `json:"Description,omitnil,omitempty" name:"Description"` DateTime *string `json:"DateTime,omitnil,omitempty" name:"DateTime"` // Diagnosed exception level. Valid values: // Fatal: affecting subsequent playback and parsing. // Error: may affect playback. // Warning: potential risk, which may not necessarily affect playback. // Notice: important stream information. // Info: general stream information. // Note: This field may return null, indicating that no valid values can be obtained. SeverityLevel *string `json:"SeverityLevel,omitnil,omitempty" name:"SeverityLevel"` }
type DisableScheduleRequest ¶
type DisableScheduleRequest struct { *tchttp.BaseRequest // The scheme ID. ScheduleId *int64 `json:"ScheduleId,omitnil,omitempty" 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,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DisableWorkflowRequest ¶
type DisableWorkflowRequest struct { *tchttp.BaseRequest // Workflow ID. WorkflowId *int64 `json:"WorkflowId,omitnil,omitempty" 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,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DrmInfo ¶
type DrmInfo struct { // The encryption type. // <li>`simpleaes`: AES-128 encryption.</li> // Note: This field may return·null, indicating that no valid values can be obtained. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // The AES-128 encryption details. // Note: This field may return·null, indicating that no valid values can be obtained. SimpleAesDrm *SimpleAesDrm `json:"SimpleAesDrm,omitnil,omitempty" name:"SimpleAesDrm"` }
type EditMediaFileInfo ¶
type EditMediaFileInfo struct { // Video input information. InputInfo *MediaInputInfo `json:"InputInfo,omitnil,omitempty" name:"InputInfo"` // The start offset (seconds) for video clipping. This parameter is valid for video clipping tasks. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil,omitempty" name:"StartTimeOffset"` // The end offset (seconds) for video clipping. This parameter is valid for video clipping tasks. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil,omitempty" name:"EndTimeOffset"` // The ID of the material associated with an element. This parameter is required for video compositing tasks. // // Note: The ID can be up to 32 characters long and can contain letters, digits, and special characters -_ // Note: This field may return·null, indicating that no valid values can be obtained. Id *string `json:"Id,omitnil,omitempty" name:"Id"` }
type EditMediaOutputConfig ¶
type EditMediaOutputConfig struct { // The container. Valid values: `mp4` (default), `hls`, `mov`, `flv`, `avi`. // Note: This field may return·null, indicating that no valid values can be obtained. Container *string `json:"Container,omitnil,omitempty" name:"Container"` // The clip mode. Valid values: `normal` (default), `fast`. // Note: This field may return·null, indicating that no valid values can be obtained. Type *string `json:"Type,omitnil,omitempty" name:"Type"` }
type EditMediaRequest ¶
type EditMediaRequest struct { *tchttp.BaseRequest // Information of input video file. FileInfos []*EditMediaFileInfo `json:"FileInfos,omitnil,omitempty" name:"FileInfos"` // The storage location of the media processing output file. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil,omitempty" name:"OutputStorage"` // The path to save the media processing output file. // // Note: For complex compositing tasks, the filename can be up to 64 characters long and can only contain digits, letters, and special characters -_ OutputObjectPath *string `json:"OutputObjectPath,omitnil,omitempty" name:"OutputObjectPath"` // The output settings for a video clipping task. OutputConfig *EditMediaOutputConfig `json:"OutputConfig,omitnil,omitempty" name:"OutputConfig"` // The settings for a video compositing task. // // Note: If this parameter is not empty, the task is a video compositing task. Otherwise, the task is a video clipping task. ComposeConfig *ComposeMediaConfig `json:"ComposeConfig,omitnil,omitempty" name:"ComposeConfig"` // Event notification information of task. If this parameter is left empty, no event notifications will be obtained. TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"FileInfos"` // The storage location of the media processing output file. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil,omitempty" name:"OutputStorage"` // The path to save the media processing output file. // // Note: For complex compositing tasks, the filename can be up to 64 characters long and can only contain digits, letters, and special characters -_ OutputObjectPath *string `json:"OutputObjectPath,omitnil,omitempty" name:"OutputObjectPath"` // The output settings for a video clipping task. OutputConfig *EditMediaOutputConfig `json:"OutputConfig,omitnil,omitempty" name:"OutputConfig"` // The settings for a video compositing task. // // Note: If this parameter is not empty, the task is a video compositing task. Otherwise, the task is a video clipping task. ComposeConfig *ComposeMediaConfig `json:"ComposeConfig,omitnil,omitempty" name:"ComposeConfig"` // Event notification information of task. If this parameter is left empty, no event notifications will be obtained. TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"TaskId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type EditMediaTask ¶
type EditMediaTask struct { // Task ID. TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // Task status. Valid values: // <li>PROCESSING: processing;</li> // <li>FINISH: completed.</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Error code // <li>0: success;</li> // <li>Other values: failure.</li> ErrCode *int64 `json:"ErrCode,omitnil,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Input of video editing task. Input *EditMediaTaskInput `json:"Input,omitnil,omitempty" name:"Input"` // Output of video editing task. Output *EditMediaTaskOutput `json:"Output,omitnil,omitempty" name:"Output"` }
type EditMediaTaskInput ¶
type EditMediaTaskInput struct { // Information of input video file. FileInfoSet []*EditMediaFileInfo `json:"FileInfoSet,omitnil,omitempty" name:"FileInfoSet"` }
type EditMediaTaskOutput ¶
type EditMediaTaskOutput struct { // Target storage of edited file. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil,omitempty" name:"OutputStorage"` // Path of edited video file. Path *string `json:"Path,omitnil,omitempty" name:"Path"` }
type EnableScheduleRequest ¶
type EnableScheduleRequest struct { *tchttp.BaseRequest // The scheme ID. ScheduleId *int64 `json:"ScheduleId,omitnil,omitempty" 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,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type EnableWorkflowRequest ¶
type EnableWorkflowRequest struct { *tchttp.BaseRequest // Workflow ID. WorkflowId *int64 `json:"WorkflowId,omitnil,omitempty" 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,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"VideoEnhance"` // The audio enhancement configuration. // Note: This field may return·null, indicating that no valid values can be obtained. AudioEnhance *AudioEnhanceConfig `json:"AudioEnhance,omitnil,omitempty" name:"AudioEnhance"` }
type ExecuteFunctionRequest ¶
type ExecuteFunctionRequest struct { *tchttp.BaseRequest // Name of called backend API. FunctionName *string `json:"FunctionName,omitnil,omitempty" name:"FunctionName"` // API parameter. Parameter format will depend on the actual function definition. FunctionArg *string `json:"FunctionArg,omitnil,omitempty" 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,omitempty" name:"FunctionName"` // API parameter. Parameter format will depend on the actual function definition. FunctionArg *string `json:"FunctionArg,omitnil,omitempty" 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,omitempty" name:"Result"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"Switch"` // Type. Valid values: // <li>HDR10</li> // <li>HLG</li> // Default Value: HDR10. // Note: The video encoding method should be H.265. // Note: The video encoding bit depth is 10. // Note: This field may return null, indicating that no valid values can be obtained. Type *string `json:"Type,omitnil,omitempty" name:"Type"` }
type HeadTailParameter ¶
type HeadTailParameter struct { // The opening segments. // Note: This field may return·null, indicating that no valid values can be obtained. HeadSet []*MediaInputInfo `json:"HeadSet,omitnil,omitempty" name:"HeadSet"` // The closing segments. // Note: This field may return·null, indicating that no valid values can be obtained. TailSet []*MediaInputInfo `json:"TailSet,omitnil,omitempty" name:"TailSet"` }
type HighlightSegmentItem ¶
type HighlightSegmentItem struct { // The confidence score. Confidence *float64 `json:"Confidence,omitnil,omitempty" name:"Confidence"` // The start time offset of the segment. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil,omitempty" name:"StartTimeOffset"` // The end time offset of the segment. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil,omitempty" name:"EndTimeOffset"` // Segment tag. // Note: This field may return null, indicating that no valid values can be obtained. SegmentTags []*string `json:"SegmentTags,omitnil,omitempty" name:"SegmentTags"` }
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,omitempty" 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,omitempty" name:"Type"` }
type ImageSpriteTaskInput ¶
type ImageSpriteTaskInput struct { // ID of an image sprite generating template. Definition *uint64 `json:"Definition,omitnil,omitempty" 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,omitempty" name:"OutputStorage"` // Output path of a captured sprite image file, which can be a relative or absolute path. // If you need to define an output path, the path must end with `.{format}`. For variable names, refer to [Filename Variable](https://intl.cloud.tencent.com/document/product/862/37039?from_cn_redirect=1).Relative path example: // <li>Filename_{Variable name}.{format}.</li> // <li>Filename.{format}.</li> // Absolute path example: // <li>/Custom path/Filename_{Variable name}.{format}.</li> // If left empty, a relative path is used by default: `{inputName}_imageSprite_{definition}_{number}.{format}`. OutputObjectPath *string `json:"OutputObjectPath,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ObjectNumberFormat"` }
type ImageSpriteTemplate ¶
type ImageSpriteTemplate struct { // Unique ID of an image sprite generating template. Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` // Template type. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Name of an image sprite generating template. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Subimage width of an image sprite. Width *uint64 `json:"Width,omitnil,omitempty" name:"Width"` // Subimage height of an image sprite. Height *uint64 `json:"Height,omitnil,omitempty" 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,omitempty" name:"ResolutionAdaptive"` // Sampling type. SampleType *string `json:"SampleType,omitnil,omitempty" name:"SampleType"` // Sampling interval. SampleInterval *uint64 `json:"SampleInterval,omitnil,omitempty" name:"SampleInterval"` // Subimage row count of an image sprite. RowCount *uint64 `json:"RowCount,omitnil,omitempty" name:"RowCount"` // Subimage column count of an image sprite. ColumnCount *uint64 `json:"ColumnCount,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"FillType"` // Template description. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // The image format. Format *string `json:"Format,omitnil,omitempty" 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,omitempty" name:"ImageContent"` // Width of a watermark, supporting two formats: % and px. // <li>If a string ends with %, it indicates that the `Width` of a watermark is a percentage of a video's width. For example, `10%` means that `Width` is 10% of a video's width.</li> // <li>If a string ends with px, the `Width` of a watermark will be in pixels. For example, `100px` means that `Width` is 100 pixels. Value range: [8, 4096].</li> // // When width and height are not specified or set to 0, the default value is 10%. Width *string `json:"Width,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"Width"` // Height of a watermark, supporting two formats: % and px. // <li>If a string ends with %, it indicates that the `Height` of a watermark is a percentage of a video's height. For example, `10%` means that `Height` is 10% of a video's height.</li> // <li>If a string ends with px, the `Height` of a watermark will be in pixels. For example, `100px` means that `Height` is 100 pixels. Value range: 0 or [8, 4096].</li> // Height *string `json:"Height,omitnil,omitempty" 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,omitempty" name:"RepeatType"` }
type ImageWatermarkTemplate ¶
type ImageWatermarkTemplate struct { // Watermark image address. ImageUrl *string `json:"ImageUrl,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"RepeatType"` }
type LiveActivityResItem ¶
type LiveActivityResItem struct { // The output of a live recording task. // Note: This field may return·null, indicating that no valid values can be obtained. LiveRecordTask *LiveScheduleLiveRecordTaskResult `json:"LiveRecordTask,omitnil,omitempty" name:"LiveRecordTask"` // Media quality inspection task output. // Note: This field may return null, indicating that no valid values can be obtained. LiveQualityControlTask *ScheduleQualityControlTaskResult `json:"LiveQualityControlTask,omitnil,omitempty" name:"LiveQualityControlTask"` }
type LiveActivityResult ¶
type LiveActivityResult struct { // Atomic task type. // <li>LiveRecord: live recording.</li> // <li>AiQualityControl: media quality inspection.</li> // Note: This field may return null, indicating that no valid values can be obtained. ActivityType *string `json:"ActivityType,omitnil,omitempty" name:"ActivityType"` // The task output. // Note: This field may return·null, indicating that no valid values can be obtained. LiveActivityResItem *LiveActivityResItem `json:"LiveActivityResItem,omitnil,omitempty" name:"LiveActivityResItem"` }
type LiveRecordFile ¶
type LiveRecordFile struct { // The URL of the recording file. // Note: This field may return·null, indicating that no valid values can be obtained. Url *string `json:"Url,omitnil,omitempty" name:"Url"` // The size of the recording file. // Note: This field may return·null, indicating that no valid values can be obtained. Size *int64 `json:"Size,omitnil,omitempty" name:"Size"` // The duration of the recording file. // Note: This field may return·null, indicating that no valid values can be obtained. Duration *int64 `json:"Duration,omitnil,omitempty" name:"Duration"` // The recording start 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. StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // The recording end 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. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` }
type LiveRecordResult ¶
type LiveRecordResult struct { // The storage of the recording file. // Note: This field may return·null, indicating that no valid values can be obtained. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil,omitempty" name:"OutputStorage"` // The recording segments. // Note: This field may return·null, indicating that no valid values can be obtained. FileList []*LiveRecordFile `json:"FileList,omitnil,omitempty" name:"FileList"` }
type LiveRecordTaskInput ¶
type LiveRecordTaskInput struct { // The live recording template ID. Definition *int64 `json:"Definition,omitnil,omitempty" name:"Definition"` // The storage of the recording file. If this parameter is left empty, the `OutputStorage` value of the parent folder will be inherited. // Note: This field may return·null, indicating that no valid values can be obtained. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil,omitempty" name:"OutputStorage"` // The output path of the recording file. // Note: This field may return·null, indicating that no valid values can be obtained. OutputObjectPath *string `json:"OutputObjectPath,omitnil,omitempty" name:"OutputObjectPath"` }
type LiveScheduleLiveRecordTaskResult ¶
type LiveScheduleLiveRecordTaskResult struct { // The task status. Valid values: `PROCESSING`, `SUCCESS`, `FAIL`. Status *string `json:"Status,omitnil,omitempty" 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). // Note: This field may return·null, indicating that no valid values can be obtained. ErrCodeExt *string `json:"ErrCodeExt,omitnil,omitempty" 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. // Note: This field may return·null, indicating that no valid values can be obtained. ErrCode *int64 `json:"ErrCode,omitnil,omitempty" name:"ErrCode"` // The error message. // Note: This field may return·null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The input of a live recording task. // Note: This field may return·null, indicating that no valid values can be obtained. Input *LiveRecordTaskInput `json:"Input,omitnil,omitempty" name:"Input"` // The output of a live recording task. // Note: This field may return·null, indicating that no valid values can be obtained. Output *LiveRecordResult `json:"Output,omitnil,omitempty" name:"Output"` // The time when the task was started, 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. BeginProcessTime *string `json:"BeginProcessTime,omitnil,omitempty" name:"BeginProcessTime"` // The time when the task was completed, 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. FinishTime *string `json:"FinishTime,omitnil,omitempty" name:"FinishTime"` }
type LiveScheduleTask ¶
type LiveScheduleTask struct { // The ID of a live scheme subtask. // Note: This field may return·null, indicating that no valid values can be obtained. TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // The task status. Valid values: // <li>`PROCESSING`</li> // <li>`FINISH` </li> // Note: This field may return·null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" 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. // Note: This field may return·null, indicating that no valid values can be obtained. ErrCode *int64 `json:"ErrCode,omitnil,omitempty" 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. // Note: This field may return·null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The URL of the live stream. // Note: This field may return·null, indicating that no valid values can be obtained. Url *string `json:"Url,omitnil,omitempty" name:"Url"` // The task output. // Note: This field may return·null, indicating that no valid values can be obtained. LiveActivityResultSet []*LiveActivityResult `json:"LiveActivityResultSet,omitnil,omitempty" name:"LiveActivityResultSet"` }
type LiveStreamAiAnalysisResultInfo ¶
type LiveStreamAiAnalysisResultInfo struct {
ResultSet []*LiveStreamAiAnalysisResultItem `json:"ResultSet,omitnil,omitempty" name:"ResultSet"`
}
type LiveStreamAiAnalysisResultItem ¶
type LiveStreamAiAnalysisResultItem struct { Type *string `json:"Type,omitnil,omitempty" name:"Type"` SegmentResultSet []*SegmentRecognitionItem `json:"SegmentResultSet,omitnil,omitempty" name:"SegmentResultSet"` }
type LiveStreamAiQualityControlResultInfo ¶
type LiveStreamAiQualityControlResultInfo struct { // Content quality inspection result list. // Note: This field may return null, indicating that no valid values can be obtained. // // Deprecated: QualityControlResults is deprecated. QualityControlResults []*QualityControlResult `json:"QualityControlResults,omitnil,omitempty" name:"QualityControlResults"` // // Deprecated: DiagnoseResults is deprecated. DiagnoseResults []*DiagnoseResult `json:"DiagnoseResults,omitnil,omitempty" name:"DiagnoseResults"` // Content quality inspection result list. // Note: This field may return null, indicating that no valid values can be obtained. QualityControlResultSet []*QualityControlResult `json:"QualityControlResultSet,omitnil,omitempty" name:"QualityControlResultSet"` // Format diagnostic result list. // Note: This field may return null, indicating that no valid values can be obtained. DiagnoseResultSet []*DiagnoseResult `json:"DiagnoseResultSet,omitnil,omitempty" name:"DiagnoseResultSet"` }
type LiveStreamAiRecognitionResultInfo ¶
type LiveStreamAiRecognitionResultInfo struct { // Content recognition result list. ResultSet []*LiveStreamAiRecognitionResultItem `json:"ResultSet,omitnil,omitempty" name:"ResultSet"` }
type LiveStreamAiRecognitionResultItem ¶
type LiveStreamAiRecognitionResultItem struct { // 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> // // <li>ObjectRecognition: object recognition.</li> // <li>TagRecognition: highlights marking.</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Face recognition result, which is valid when `Type` is // `FaceRecognition`. FaceRecognitionResultSet []*LiveStreamFaceRecognitionResult `json:"FaceRecognitionResultSet,omitnil,omitempty" name:"FaceRecognitionResultSet"` // Speech keyword recognition result, which is valid when `Type` is // `AsrWordsRecognition`. AsrWordsRecognitionResultSet []*LiveStreamAsrWordsRecognitionResult `json:"AsrWordsRecognitionResultSet,omitnil,omitempty" name:"AsrWordsRecognitionResultSet"` // Text keyword recognition result, which is valid when `Type` is // `OcrWordsRecognition`. OcrWordsRecognitionResultSet []*LiveStreamOcrWordsRecognitionResult `json:"OcrWordsRecognitionResultSet,omitnil,omitempty" name:"OcrWordsRecognitionResultSet"` // Full speech recognition result, which is valid when `Type` is // `AsrFullTextRecognition`. AsrFullTextRecognitionResultSet []*LiveStreamAsrFullTextRecognitionResult `json:"AsrFullTextRecognitionResultSet,omitnil,omitempty" name:"AsrFullTextRecognitionResultSet"` // Full text recognition result, which is valid when `Type` is // `OcrFullTextRecognition`. OcrFullTextRecognitionResultSet []*LiveStreamOcrFullTextRecognitionResult `json:"OcrFullTextRecognitionResultSet,omitnil,omitempty" name:"OcrFullTextRecognitionResultSet"` // The translation result. This parameter is valid only if `Type` is `TransTextRecognition`. TransTextRecognitionResultSet []*LiveStreamTransTextRecognitionResult `json:"TransTextRecognitionResultSet,omitnil,omitempty" name:"TransTextRecognitionResultSet"` // Object recognition result, which is valid when Type is ObjectRecognition. ObjectRecognitionResultSet []*LiveStreamObjectRecognitionResult `json:"ObjectRecognitionResultSet,omitnil,omitempty" name:"ObjectRecognitionResultSet"` TagRecognitionResultSet []*LiveStreamTagRecognitionResult `json:"TagRecognitionResultSet,omitnil,omitempty" name:"TagRecognitionResultSet"` }
type LiveStreamAiReviewImagePoliticalResult ¶
type LiveStreamAiReviewImagePoliticalResult struct { // Start PTS time of a suspected segment in seconds. StartPtsTime *float64 `json:"StartPtsTime,omitnil,omitempty" name:"StartPtsTime"` // End PTS time of a suspected segment in seconds. EndPtsTime *float64 `json:"EndPtsTime,omitnil,omitempty" name:"EndPtsTime"` // The confidence score for the detected sensitive segments. Confidence *float64 `json:"Confidence,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Label"` // The name of a sensitive person or banned icon. Name *string `json:"Name,omitnil,omitempty" 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,omitempty" name:"AreaCoordSet"` // URL of a suspected image (which will not be permanently stored // and will be deleted after `PicUrlExpireTime`). Url *string `json:"Url,omitnil,omitempty" 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,omitempty" name:"PicUrlExpireTime"` }
type LiveStreamAiReviewImagePornResult ¶
type LiveStreamAiReviewImagePornResult struct { // Start PTS time of a suspected segment in seconds. StartPtsTime *float64 `json:"StartPtsTime,omitnil,omitempty" name:"StartPtsTime"` // End PTS time of a suspected segment in seconds. EndPtsTime *float64 `json:"EndPtsTime,omitnil,omitempty" name:"EndPtsTime"` // Score of a suspected porn segment. Confidence *float64 `json:"Confidence,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Label"` // URL of a suspected image (which will not be permanently stored // and will be deleted after `PicUrlExpireTime`). Url *string `json:"Url,omitnil,omitempty" 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,omitempty" name:"PicUrlExpireTime"` }
type LiveStreamAiReviewImageTerrorismResult ¶
type LiveStreamAiReviewImageTerrorismResult struct { // Start PTS time of a suspected segment in seconds. StartPtsTime *float64 `json:"StartPtsTime,omitnil,omitempty" name:"StartPtsTime"` // End PTS time of a suspected segment in seconds. EndPtsTime *float64 `json:"EndPtsTime,omitnil,omitempty" name:"EndPtsTime"` // The confidence score for the detected sensitive segments. Confidence *float64 `json:"Confidence,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Label"` // URL of a suspected image (which will not be permanently stored // and will be deleted after `PicUrlExpireTime`). Url *string `json:"Url,omitnil,omitempty" 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,omitempty" name:"PicUrlExpireTime"` }
type LiveStreamAiReviewResultInfo ¶
type LiveStreamAiReviewResultInfo struct { // List of content audit results. ResultSet []*LiveStreamAiReviewResultItem `json:"ResultSet,omitnil,omitempty" 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,omitempty" name:"Type"` // Result of porn information detection in image, which is valid when `Type` is `ImagePorn`. ImagePornResultSet []*LiveStreamAiReviewImagePornResult `json:"ImagePornResultSet,omitnil,omitempty" name:"ImagePornResultSet"` // The result of detecting sensitive information in images, which is valid if `Type` is `ImageTerrorism`. ImageTerrorismResultSet []*LiveStreamAiReviewImageTerrorismResult `json:"ImageTerrorismResultSet,omitnil,omitempty" name:"ImageTerrorismResultSet"` // The result of detecting sensitive information in images, which is valid if `Type` is `ImagePolitical`. ImagePoliticalResultSet []*LiveStreamAiReviewImagePoliticalResult `json:"ImagePoliticalResultSet,omitnil,omitempty" name:"ImagePoliticalResultSet"` // The result for moderation of pornographic content in audio. This parameter is valid if `Type` is `VoicePorn`. VoicePornResultSet []*LiveStreamAiReviewVoicePornResult `json:"VoicePornResultSet,omitnil,omitempty" name:"VoicePornResultSet"` }
type LiveStreamAiReviewVoicePornResult ¶
type LiveStreamAiReviewVoicePornResult struct { // Start PTS time of a suspected segment in seconds. StartPtsTime *float64 `json:"StartPtsTime,omitnil,omitempty" name:"StartPtsTime"` // End PTS time of a suspected segment in seconds. EndPtsTime *float64 `json:"EndPtsTime,omitnil,omitempty" name:"EndPtsTime"` // Score of a suspected porn segment. Confidence *float64 `json:"Confidence,omitnil,omitempty" 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,omitempty" name:"Suggestion"` // Tag of the detected porn information in video. Valid values: // <li>sexual_moan: Sexual moans.</li> Label *string `json:"Label,omitnil,omitempty" name:"Label"` }
type LiveStreamAsrFullTextRecognitionResult ¶
type LiveStreamAsrFullTextRecognitionResult struct { // Recognized text. Text *string `json:"Text,omitnil,omitempty" name:"Text"` // Start PTS time of recognized segment in seconds. StartPtsTime *float64 `json:"StartPtsTime,omitnil,omitempty" name:"StartPtsTime"` // End PTS time of recognized segment in seconds. EndPtsTime *float64 `json:"EndPtsTime,omitnil,omitempty" name:"EndPtsTime"` // Confidence of recognized segment. Value range: 0–100. Confidence *float64 `json:"Confidence,omitnil,omitempty" name:"Confidence"` }
type LiveStreamAsrWordsRecognitionResult ¶
type LiveStreamAsrWordsRecognitionResult struct { // Speech keyword. Word *string `json:"Word,omitnil,omitempty" name:"Word"` // Start PTS time of recognized segment in seconds. StartPtsTime *float64 `json:"StartPtsTime,omitnil,omitempty" name:"StartPtsTime"` // End PTS time of recognized segment in seconds. EndPtsTime *float64 `json:"EndPtsTime,omitnil,omitempty" name:"EndPtsTime"` // Confidence of recognized segment. Value range: 0–100. Confidence *float64 `json:"Confidence,omitnil,omitempty" name:"Confidence"` }
type LiveStreamFaceRecognitionResult ¶
type LiveStreamFaceRecognitionResult struct { // Unique ID of figure. Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Figure name. Name *string `json:"Name,omitnil,omitempty" 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,omitempty" name:"Type"` // Start PTS time of recognized segment in seconds. StartPtsTime *float64 `json:"StartPtsTime,omitnil,omitempty" name:"StartPtsTime"` // End PTS time of recognized segment in seconds. EndPtsTime *float64 `json:"EndPtsTime,omitnil,omitempty" name:"EndPtsTime"` // Confidence of recognized segment. Value range: 0–100. Confidence *float64 `json:"Confidence,omitnil,omitempty" 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,omitempty" name:"AreaCoordSet"` }
type LiveStreamObjectRecognitionResult ¶
type LiveStreamObjectRecognitionResult struct { // Name of a recognized object. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Start PTS time of a recognized segment, in seconds. StartPtsOffset *float64 `json:"StartPtsOffset,omitnil,omitempty" name:"StartPtsOffset"` // End PTS time of a recognized segment, in seconds. EndPtsOffset *float64 `json:"EndPtsOffset,omitnil,omitempty" name:"EndPtsOffset"` // Confidence of a recognized segment. Value range: 0-100. Confidence *float64 `json:"Confidence,omitnil,omitempty" name:"Confidence"` // Zone coordinates of the recognition result. An array contains four elements: [x1, y1, x2, y2], representing the horizontal and vertical coordinates of the top-left and bottom-right corners, respectively. AreaCoordSet []*int64 `json:"AreaCoordSet,omitnil,omitempty" name:"AreaCoordSet"` // Screenshot link. // Note: This field may return null, indicating that no valid values can be obtained. Url *string `json:"Url,omitnil,omitempty" name:"Url"` }
type LiveStreamOcrFullTextRecognitionResult ¶
type LiveStreamOcrFullTextRecognitionResult struct { // Speech text. Text *string `json:"Text,omitnil,omitempty" name:"Text"` // Start PTS time of recognized segment in seconds. StartPtsTime *float64 `json:"StartPtsTime,omitnil,omitempty" name:"StartPtsTime"` // End PTS time of recognized segment in seconds. EndPtsTime *float64 `json:"EndPtsTime,omitnil,omitempty" name:"EndPtsTime"` // Confidence of recognized segment. Value range: 0–100. Confidence *float64 `json:"Confidence,omitnil,omitempty" 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,omitempty" name:"AreaCoordSet"` }
type LiveStreamOcrWordsRecognitionResult ¶
type LiveStreamOcrWordsRecognitionResult struct { // Text keyword. Word *string `json:"Word,omitnil,omitempty" name:"Word"` // Start PTS time of recognized segment in seconds. StartPtsTime *float64 `json:"StartPtsTime,omitnil,omitempty" name:"StartPtsTime"` // End PTS time of recognized segment in seconds. EndPtsTime *float64 `json:"EndPtsTime,omitnil,omitempty" name:"EndPtsTime"` // Confidence of recognized segment. Value range: 0–100. Confidence *float64 `json:"Confidence,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` }
type LiveStreamProcessTask ¶
type LiveStreamProcessTask struct { // The media processing task ID. TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // Task flow status. Valid values: // <li>PROCESSING: Processing;</li> // <li>FINISH: Completed.</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Error code. 0: success; other values: failure. ErrCode *int64 `json:"ErrCode,omitnil,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Live stream URL. Url *string `json:"Url,omitnil,omitempty" name:"Url"` }
type LiveStreamRecordResultInfo ¶
type LiveStreamRecordResultInfo struct { // Whether recording ends. // 0: Recording does not end, returning a single file. // 1: Recording ends, returning all recording files. // Note: This field may return null, indicating that no valid values can be obtained. RecordOver *uint64 `json:"RecordOver,omitnil,omitempty" name:"RecordOver"` // File list. // // Note: This field may return null, indicating that no valid values can be obtained. FileResults []*LiveRecordFile `json:"FileResults,omitnil,omitempty" name:"FileResults"` }
type LiveStreamTagRecognitionResult ¶
type LiveStreamTagRecognitionResult struct { Id *string `json:"Id,omitnil,omitempty" name:"Id"` StartPtsTime *float64 `json:"StartPtsTime,omitnil,omitempty" name:"StartPtsTime"` EndPtsTime *float64 `json:"EndPtsTime,omitnil,omitempty" name:"EndPtsTime"` Confidence *float64 `json:"Confidence,omitnil,omitempty" name:"Confidence"` }
type LiveStreamTaskNotifyConfig ¶
type LiveStreamTaskNotifyConfig struct { // 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,omitempty" name:"NotifyType"` // CMQ model. There are two types: `Queue` and `Topic`. Currently, only `Queue` is supported. CmqModel *string `json:"CmqModel,omitnil,omitempty" name:"CmqModel"` // CMQ region, such as `sh` and `bj`. CmqRegion *string `json:"CmqRegion,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"TopicName"` // HTTP callback URL, required if `NotifyType` is set to `URL` NotifyUrl *string `json:"NotifyUrl,omitnil,omitempty" name:"NotifyUrl"` // Key used to generate a callback signature. // Note: This field may return null, indicating that no valid values can be obtained. NotifyKey *string `json:"NotifyKey,omitnil,omitempty" name:"NotifyKey"` }
type LiveStreamTransTextRecognitionResult ¶
type LiveStreamTransTextRecognitionResult struct { // The text transcript. Text *string `json:"Text,omitnil,omitempty" name:"Text"` // The PTS (seconds) of the start of a segment. StartPtsTime *float64 `json:"StartPtsTime,omitnil,omitempty" name:"StartPtsTime"` // The PTS (seconds) of the end of a segment. EndPtsTime *float64 `json:"EndPtsTime,omitnil,omitempty" name:"EndPtsTime"` // The confidence score for a segment. Value range: 0-100. Confidence *float64 `json:"Confidence,omitnil,omitempty" name:"Confidence"` // The translation. Trans *string `json:"Trans,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"OperationType"` // Video processing task ID. TaskId *string `json:"TaskId,omitnil,omitempty" 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,omitempty" name:"OperationType"` // Video processing task ID. TaskId *string `json:"TaskId,omitnil,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type MediaAiAnalysisClassificationItem ¶
type MediaAiAnalysisClassificationItem struct { // Name of intelligently generated category. Classification *string `json:"Classification,omitnil,omitempty" name:"Classification"` // Confidence of intelligently generated category between 0 and 100. Confidence *float64 `json:"Confidence,omitnil,omitempty" name:"Confidence"` }
type MediaAiAnalysisCoverItem ¶
type MediaAiAnalysisCoverItem struct { // Storage path of intelligently generated cover. CoverPath *string `json:"CoverPath,omitnil,omitempty" name:"CoverPath"` // Confidence of intelligently generated cover between 0 and 100. Confidence *float64 `json:"Confidence,omitnil,omitempty" name:"Confidence"` }
type MediaAiAnalysisDescriptionItem ¶
type MediaAiAnalysisDescriptionItem struct { // Intelligent description. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Confidence of the intelligent description, with a value range from 0 to 100. Confidence *float64 `json:"Confidence,omitnil,omitempty" name:"Confidence"` // Segmentation result. // Note: This field may return null, indicating that no valid values can be obtained. Paragraphs []*AiParagraphInfo `json:"Paragraphs,omitnil,omitempty" name:"Paragraphs"` }
type MediaAiAnalysisFrameTagItem ¶
type MediaAiAnalysisFrameTagItem struct { // Frame-specific tag name. Tag *string `json:"Tag,omitnil,omitempty" name:"Tag"` CategorySet []*string `json:"CategorySet,omitnil,omitempty" name:"CategorySet"` // Confidence of intelligently generated frame-specific tag between 0 and 100. Confidence *float64 `json:"Confidence,omitnil,omitempty" name:"Confidence"` }
type MediaAiAnalysisFrameTagSegmentItem ¶
type MediaAiAnalysisFrameTagSegmentItem struct { // Start time offset of frame-specific tag. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil,omitempty" name:"StartTimeOffset"` // End time offset of frame-specific tag. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil,omitempty" name:"EndTimeOffset"` // List of tags in time period. TagSet []*MediaAiAnalysisFrameTagItem `json:"TagSet,omitnil,omitempty" name:"TagSet"` }
type MediaAiAnalysisHighlightItem ¶
type MediaAiAnalysisHighlightItem struct { // The URL of the highlight segments. HighlightPath *string `json:"HighlightPath,omitnil,omitempty" name:"HighlightPath"` // The URL of the thumbnail. CovImgPath *string `json:"CovImgPath,omitnil,omitempty" name:"CovImgPath"` // The confidence score. Value range: 0-100. Confidence *float64 `json:"Confidence,omitnil,omitempty" name:"Confidence"` // The duration of the highlights. Duration *float64 `json:"Duration,omitnil,omitempty" name:"Duration"` // A list of the highlight segments. SegmentSet []*HighlightSegmentItem `json:"SegmentSet,omitnil,omitempty" name:"SegmentSet"` }
type MediaAiAnalysisTagItem ¶
type MediaAnimatedGraphicsItem ¶
type MediaAnimatedGraphicsItem struct { // Storage location of a generated animated image file. Storage *TaskOutputStorage `json:"Storage,omitnil,omitempty" name:"Storage"` // Path to a generated animated image file. Path *string `json:"Path,omitnil,omitempty" 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,omitempty" name:"Definition"` // Animated image format, such as gif. Container *string `json:"Container,omitnil,omitempty" name:"Container"` // Height of an animated image in px. Height *int64 `json:"Height,omitnil,omitempty" name:"Height"` // Width of an animated image in px. Width *int64 `json:"Width,omitnil,omitempty" name:"Width"` // Bitrate of an animated image in bps. Bitrate *int64 `json:"Bitrate,omitnil,omitempty" name:"Bitrate"` // Size of an animated image in bytes. Size *int64 `json:"Size,omitnil,omitempty" name:"Size"` // MD5 value of an animated image. Md5 *string `json:"Md5,omitnil,omitempty" name:"Md5"` // Start time offset of an animated image in the video in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil,omitempty" name:"StartTimeOffset"` // End time offset of an animated image in the video in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"Channel"` }
type MediaContentReviewAsrTextSegmentItem ¶
type MediaContentReviewAsrTextSegmentItem struct { // Start time offset of a suspected segment in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil,omitempty" name:"StartTimeOffset"` // End time offset of a suspected segment in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil,omitempty" name:"EndTimeOffset"` // Confidence of a suspected segment. Confidence *float64 `json:"Confidence,omitnil,omitempty" name:"Confidence"` // Suggestion for suspected segment audit. Valid values: // <li>pass.</li> // <li>review.</li> // <li>block.</li> Suggestion *string `json:"Suggestion,omitnil,omitempty" name:"Suggestion"` // List of suspected keywords. KeywordSet []*string `json:"KeywordSet,omitnil,omitempty" name:"KeywordSet"` }
type MediaContentReviewOcrTextSegmentItem ¶
type MediaContentReviewOcrTextSegmentItem struct { // Start time offset of a suspected segment in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil,omitempty" name:"StartTimeOffset"` // End time offset of a suspected segment in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil,omitempty" name:"EndTimeOffset"` // Confidence of a suspected segment. Confidence *float64 `json:"Confidence,omitnil,omitempty" name:"Confidence"` // Suggestion for suspected segment audit. Valid values: // <li>pass.</li> // <li>review.</li> // <li>block.</li> Suggestion *string `json:"Suggestion,omitnil,omitempty" name:"Suggestion"` // List of suspected keywords. KeywordSet []*string `json:"KeywordSet,omitnil,omitempty" 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,omitempty" name:"AreaCoordSet"` // URL of a suspected image (which will not be permanently stored // and will be deleted after `PicUrlExpireTime`). Url *string `json:"Url,omitnil,omitempty" 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,omitempty" name:"PicUrlExpireTime"` }
type MediaContentReviewPoliticalSegmentItem ¶
type MediaContentReviewPoliticalSegmentItem struct { // Start time offset of a suspected segment in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil,omitempty" name:"StartTimeOffset"` // End time offset of a suspected segment in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil,omitempty" name:"EndTimeOffset"` // The confidence score for the detected sensitive segments. Confidence *float64 `json:"Confidence,omitnil,omitempty" 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,omitempty" name:"Suggestion"` // The name of a sensitive person or banned icon. Name *string `json:"Name,omitnil,omitempty" 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,omitempty" name:"Label"` // URL of a suspected image (which will not be permanently stored // and will be deleted after `PicUrlExpireTime`). Url *string `json:"Url,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"PicUrlExpireTime"` }
type MediaContentReviewSegmentItem ¶
type MediaContentReviewSegmentItem struct { // Start time offset of a suspected segment in seconds. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil,omitempty" name:"StartTimeOffset"` // End time offset of a suspected segment in seconds. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil,omitempty" name:"EndTimeOffset"` // Score of a suspected porn segment. Confidence *float64 `json:"Confidence,omitnil,omitempty" name:"Confidence"` // Tag of porn information detection result of a suspected segment. Label *string `json:"Label,omitnil,omitempty" 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,omitempty" name:"Suggestion"` // URL of a suspected image (which will not be permanently stored // and will be deleted after `PicUrlExpireTime`). Url *string `json:"Url,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Definition"` // Subimage height of an image sprite. Height *int64 `json:"Height,omitnil,omitempty" name:"Height"` // Subimage width of an image sprite. Width *int64 `json:"Width,omitnil,omitempty" name:"Width"` // Total number of subimages in each image sprite. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Path to each image sprite. ImagePathSet []*string `json:"ImagePathSet,omitnil,omitempty" 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,omitempty" name:"WebVttPath"` // Storage location of an image sprite file. Storage *TaskOutputStorage `json:"Storage,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"Rotate"` // Video stream information. // Note: This field may return null, indicating that no valid values can be obtained. VideoStreamSet []*MediaVideoStreamItem `json:"VideoStreamSet,omitnil,omitempty" name:"VideoStreamSet"` // Audio stream information. // Note: This field may return null, indicating that no valid values can be obtained. AudioStreamSet []*MediaAudioStreamItem `json:"AudioStreamSet,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"AudioDuration"` }
type MediaProcessTaskAdaptiveDynamicStreamingResult ¶
type MediaProcessTaskAdaptiveDynamicStreamingResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Input of an adaptive bitrate streaming task. Input *AdaptiveDynamicStreamingTaskInput `json:"Input,omitnil,omitempty" 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,omitempty" name:"Output"` }
type MediaProcessTaskAnimatedGraphicResult ¶
type MediaProcessTaskAnimatedGraphicResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Input for an animated image generating task. Input *AnimatedGraphicTaskInput `json:"Input,omitnil,omitempty" 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,omitempty" name:"Output"` }
type MediaProcessTaskImageSpriteResult ¶
type MediaProcessTaskImageSpriteResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Input for an image sprite generating task. Input *ImageSpriteTaskInput `json:"Input,omitnil,omitempty" 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,omitempty" name:"Output"` }
type MediaProcessTaskInput ¶
type MediaProcessTaskInput struct { // List of transcoding tasks. TranscodeTaskSet []*TranscodeTaskInput `json:"TranscodeTaskSet,omitnil,omitempty" name:"TranscodeTaskSet"` // List of animated image generating tasks. AnimatedGraphicTaskSet []*AnimatedGraphicTaskInput `json:"AnimatedGraphicTaskSet,omitnil,omitempty" name:"AnimatedGraphicTaskSet"` // List of time point screencapturing tasks. SnapshotByTimeOffsetTaskSet []*SnapshotByTimeOffsetTaskInput `json:"SnapshotByTimeOffsetTaskSet,omitnil,omitempty" name:"SnapshotByTimeOffsetTaskSet"` // List of sampled screencapturing tasks. SampleSnapshotTaskSet []*SampleSnapshotTaskInput `json:"SampleSnapshotTaskSet,omitnil,omitempty" name:"SampleSnapshotTaskSet"` // List of image sprite generating tasks. ImageSpriteTaskSet []*ImageSpriteTaskInput `json:"ImageSpriteTaskSet,omitnil,omitempty" name:"ImageSpriteTaskSet"` // List of adaptive bitrate streaming tasks. AdaptiveDynamicStreamingTaskSet []*AdaptiveDynamicStreamingTaskInput `json:"AdaptiveDynamicStreamingTaskSet,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"AdaptiveDynamicStreamingTask"` }
type MediaProcessTaskSampleSnapshotResult ¶
type MediaProcessTaskSampleSnapshotResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // Error message. // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Input for a sampled screencapturing task. Input *SampleSnapshotTaskInput `json:"Input,omitnil,omitempty" 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,omitempty" name:"Output"` }
type MediaProcessTaskSnapshotByTimeOffsetResult ¶
type MediaProcessTaskSnapshotByTimeOffsetResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Input for a time point screencapturing task. Input *SnapshotByTimeOffsetTaskInput `json:"Input,omitnil,omitempty" 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,omitempty" name:"Output"` }
type MediaProcessTaskTranscodeResult ¶
type MediaProcessTaskTranscodeResult struct { // Task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // Error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Input for a transcoding task. Input *TranscodeTaskInput `json:"Input,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"Interval"` // Storage location of a generated screenshot file. Storage *TaskOutputStorage `json:"Storage,omitnil,omitempty" name:"Storage"` // List of paths to generated screenshots. ImagePathSet []*string `json:"ImagePathSet,omitnil,omitempty" name:"ImagePathSet"` // List of watermarking template IDs if the screenshots are watermarked. WaterMarkDefinition []*int64 `json:"WaterMarkDefinition,omitnil,omitempty" 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,omitempty" name:"Definition"` // Information set of screenshots of the same specification. Each element represents a screenshot. PicInfoSet []*MediaSnapshotByTimePicInfoItem `json:"PicInfoSet,omitnil,omitempty" name:"PicInfoSet"` // Location of a time point screenshot file. Storage *TaskOutputStorage `json:"Storage,omitnil,omitempty" name:"Storage"` }
type MediaSnapshotByTimePicInfoItem ¶
type MediaSnapshotByTimePicInfoItem struct { // The timestamp (seconds) of the screenshot. TimeOffset *float64 `json:"TimeOffset,omitnil,omitempty" name:"TimeOffset"` // Path to the screenshot. Path *string `json:"Path,omitnil,omitempty" name:"Path"` // List of watermarking template IDs if the screenshots are watermarked. WaterMarkDefinition []*int64 `json:"WaterMarkDefinition,omitnil,omitempty" name:"WaterMarkDefinition"` }
type MediaTranscodeItem ¶
type MediaTranscodeItem struct { // Target bucket of an output file. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil,omitempty" name:"OutputStorage"` // Path to an output video file. Path *string `json:"Path,omitnil,omitempty" 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,omitempty" name:"Definition"` // Sum of the average bitrate of a video stream and that of an audio stream in bps. Bitrate *int64 `json:"Bitrate,omitnil,omitempty" name:"Bitrate"` // Maximum value of the height of a video stream in px. Height *int64 `json:"Height,omitnil,omitempty" name:"Height"` // Maximum value of the width of a video stream in px. Width *int64 `json:"Width,omitnil,omitempty" 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,omitempty" name:"Size"` // Video duration in seconds. Duration *float64 `json:"Duration,omitnil,omitempty" name:"Duration"` // Container, such as m4a and mp4. Container *string `json:"Container,omitnil,omitempty" name:"Container"` // MD5 value of a video. Md5 *string `json:"Md5,omitnil,omitempty" name:"Md5"` // Audio stream information. // Note: This field may return null, indicating that no valid values can be obtained. AudioStreamSet []*MediaAudioStreamItem `json:"AudioStreamSet,omitnil,omitempty" name:"AudioStreamSet"` // Video stream information. // Note: This field may return null, indicating that no valid values can be obtained. VideoStreamSet []*MediaVideoStreamItem `json:"VideoStreamSet,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"Fps"` // Color primaries // Note: this field may return `null`, indicating that no valid value was found. ColorPrimaries *string `json:"ColorPrimaries,omitnil,omitempty" name:"ColorPrimaries"` // Color space // Note: this field may return `null`, indicating that no valid value was found. ColorSpace *string `json:"ColorSpace,omitnil,omitempty" name:"ColorSpace"` // Color transfer // Note: this field may return `null`, indicating that no valid value was found. ColorTransfer *string `json:"ColorTransfer,omitnil,omitempty" name:"ColorTransfer"` // HDR type // Note: This field may return `null`, indicating that no valid value was found. HdrType *string `json:"HdrType,omitnil,omitempty" name:"HdrType"` Codecs *string `json:"Codecs,omitnil,omitempty" name:"Codecs"` // Numerator of the frame rate. // Note: This field may return null, indicating that no valid values can be obtained. FpsNumerator *int64 `json:"FpsNumerator,omitnil,omitempty" name:"FpsNumerator"` // Denominator of the frame rate. // Note: This field may return null, indicating that no valid values can be obtained. FpsDenominator *int64 `json:"FpsDenominator,omitnil,omitempty" name:"FpsDenominator"` }
type ModifyAIAnalysisTemplateRequest ¶
type ModifyAIAnalysisTemplateRequest struct { *tchttp.BaseRequest // Unique ID of video content analysis template. Definition *int64 `json:"Definition,omitnil,omitempty" name:"Definition"` // Video content analysis template name. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Video content analysis template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // Control parameter of intelligent categorization task. ClassificationConfigure *ClassificationConfigureInfoForUpdate `json:"ClassificationConfigure,omitnil,omitempty" name:"ClassificationConfigure"` // Control parameter of intelligent tagging task. TagConfigure *TagConfigureInfoForUpdate `json:"TagConfigure,omitnil,omitempty" name:"TagConfigure"` // Control parameter of intelligent cover generating task. CoverConfigure *CoverConfigureInfoForUpdate `json:"CoverConfigure,omitnil,omitempty" name:"CoverConfigure"` // Control parameter of intelligent frame-specific tagging task. FrameTagConfigure *FrameTagConfigureInfoForUpdate `json:"FrameTagConfigure,omitnil,omitempty" 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,omitempty" name:"Definition"` // Video content analysis template name. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Video content analysis template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // Control parameter of intelligent categorization task. ClassificationConfigure *ClassificationConfigureInfoForUpdate `json:"ClassificationConfigure,omitnil,omitempty" name:"ClassificationConfigure"` // Control parameter of intelligent tagging task. TagConfigure *TagConfigureInfoForUpdate `json:"TagConfigure,omitnil,omitempty" name:"TagConfigure"` // Control parameter of intelligent cover generating task. CoverConfigure *CoverConfigureInfoForUpdate `json:"CoverConfigure,omitnil,omitempty" name:"CoverConfigure"` // Control parameter of intelligent frame-specific tagging task. FrameTagConfigure *FrameTagConfigureInfoForUpdate `json:"FrameTagConfigure,omitnil,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Definition"` // Name of a video content recognition template. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Description of a video content recognition template. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // Face recognition control parameter. FaceConfigure *FaceConfigureInfoForUpdate `json:"FaceConfigure,omitnil,omitempty" name:"FaceConfigure"` // Full text recognition control parameter. OcrFullTextConfigure *OcrFullTextConfigureInfoForUpdate `json:"OcrFullTextConfigure,omitnil,omitempty" name:"OcrFullTextConfigure"` // Text keyword recognition control parameter. OcrWordsConfigure *OcrWordsConfigureInfoForUpdate `json:"OcrWordsConfigure,omitnil,omitempty" name:"OcrWordsConfigure"` // Full speech recognition control parameter. AsrFullTextConfigure *AsrFullTextConfigureInfoForUpdate `json:"AsrFullTextConfigure,omitnil,omitempty" name:"AsrFullTextConfigure"` // Speech keyword recognition control parameter. AsrWordsConfigure *AsrWordsConfigureInfoForUpdate `json:"AsrWordsConfigure,omitnil,omitempty" 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,omitempty" name:"Definition"` // Name of a video content recognition template. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Description of a video content recognition template. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // Face recognition control parameter. FaceConfigure *FaceConfigureInfoForUpdate `json:"FaceConfigure,omitnil,omitempty" name:"FaceConfigure"` // Full text recognition control parameter. OcrFullTextConfigure *OcrFullTextConfigureInfoForUpdate `json:"OcrFullTextConfigure,omitnil,omitempty" name:"OcrFullTextConfigure"` // Text keyword recognition control parameter. OcrWordsConfigure *OcrWordsConfigureInfoForUpdate `json:"OcrWordsConfigure,omitnil,omitempty" name:"OcrWordsConfigure"` // Full speech recognition control parameter. AsrFullTextConfigure *AsrFullTextConfigureInfoForUpdate `json:"AsrFullTextConfigure,omitnil,omitempty" name:"AsrFullTextConfigure"` // Speech keyword recognition control parameter. AsrWordsConfigure *AsrWordsConfigureInfoForUpdate `json:"AsrWordsConfigure,omitnil,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Definition"` // Template name. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Adaptive bitrate streaming format. Valid values: // <li>HLS,</li> // <li>MPEG-DASH.</li> Format *string `json:"Format,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"StreamInfos"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // Whether it is an audio-only template. 0: video template. 1: audio-only template.When the value is 1: // 1. StreamInfos.N.RemoveVideo=1 // 2. StreamInfos.N.RemoveAudio=0 // 3. StreamInfos.N.Video.Codec=copy // // When the value is 0: // // 1. StreamInfos.N.Video.Codec cannot be copy. // 2. StreamInfos.N.Video.Fps cannot be null. PureAudio *uint64 `json:"PureAudio,omitnil,omitempty" name:"PureAudio"` // HLS segment type. Valid values: <li>ts-segment: HLS+TS segment.</li> <li>ts-byterange: HLS+TS byte range.</li> <li>mp4-segment: HLS+MP4 segment.</li> <li>mp4-byterange: HLS+MP4 byte range.</li> <li>ts-packed-audio: TS+Packed audio.</li> <li>mp4-packed-audio: MP4+Packed audio.</li> Default value: ts-segment. // Note: The HLS segment format for adaptive bitrate streaming is based on this field. SegmentType *string `json:"SegmentType,omitnil,omitempty" name:"SegmentType"` }
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,omitempty" name:"Definition"` // Template name. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Adaptive bitrate streaming format. Valid values: // <li>HLS,</li> // <li>MPEG-DASH.</li> Format *string `json:"Format,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"StreamInfos"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // Whether it is an audio-only template. 0: video template. 1: audio-only template.When the value is 1: // 1. StreamInfos.N.RemoveVideo=1 // 2. StreamInfos.N.RemoveAudio=0 // 3. StreamInfos.N.Video.Codec=copy // // When the value is 0: // // 1. StreamInfos.N.Video.Codec cannot be copy. // 2. StreamInfos.N.Video.Fps cannot be null. PureAudio *uint64 `json:"PureAudio,omitnil,omitempty" name:"PureAudio"` // HLS segment type. Valid values: <li>ts-segment: HLS+TS segment.</li> <li>ts-byterange: HLS+TS byte range.</li> <li>mp4-segment: HLS+MP4 segment.</li> <li>mp4-byterange: HLS+MP4 byte range.</li> <li>ts-packed-audio: TS+Packed audio.</li> <li>mp4-packed-audio: MP4+Packed audio.</li> Default value: ts-segment. // Note: The HLS segment format for adaptive bitrate streaming is based on this field. SegmentType *string `json:"SegmentType,omitnil,omitempty" name:"SegmentType"` }
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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Definition"` // Name of an animated image generating template. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"ResolutionAdaptive"` // Animated image format. Valid values: gif, webp. Format *string `json:"Format,omitnil,omitempty" name:"Format"` // Video frame rate in Hz. Value range: [1, 30]. Fps *uint64 `json:"Fps,omitnil,omitempty" name:"Fps"` // Image quality. Value range: [1, 100]. Default value: 75. Quality *float64 `json:"Quality,omitnil,omitempty" name:"Quality"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" 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,omitempty" name:"Definition"` // Name of an animated image generating template. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"ResolutionAdaptive"` // Animated image format. Valid values: gif, webp. Format *string `json:"Format,omitnil,omitempty" name:"Format"` // Video frame rate in Hz. Value range: [1, 30]. Fps *uint64 `json:"Fps,omitnil,omitempty" name:"Fps"` // Image quality. Value range: [1, 100]. Default value: 75. Quality *float64 `json:"Quality,omitnil,omitempty" name:"Quality"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Definition"` // The name of the content moderation template. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // The template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // Control parameter for porn information PornConfigure *PornConfigureInfoForUpdate `json:"PornConfigure,omitnil,omitempty" name:"PornConfigure"` // Control parameter for terrorism information TerrorismConfigure *TerrorismConfigureInfoForUpdate `json:"TerrorismConfigure,omitnil,omitempty" name:"TerrorismConfigure"` // Control parameter for politically sensitive information PoliticalConfigure *PoliticalConfigureInfoForUpdate `json:"PoliticalConfigure,omitnil,omitempty" 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,omitempty" name:"ProhibitedConfigure"` // Custom content moderation parameters. UserDefineConfigure *UserDefineConfigureInfoForUpdate `json:"UserDefineConfigure,omitnil,omitempty" 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,omitempty" name:"Definition"` // The name of the content moderation template. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // The template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // Control parameter for porn information PornConfigure *PornConfigureInfoForUpdate `json:"PornConfigure,omitnil,omitempty" name:"PornConfigure"` // Control parameter for terrorism information TerrorismConfigure *TerrorismConfigureInfoForUpdate `json:"TerrorismConfigure,omitnil,omitempty" name:"TerrorismConfigure"` // Control parameter for politically sensitive information PoliticalConfigure *PoliticalConfigureInfoForUpdate `json:"PoliticalConfigure,omitnil,omitempty" 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,omitempty" name:"ProhibitedConfigure"` // Custom content moderation parameters. UserDefineConfigure *UserDefineConfigureInfoForUpdate `json:"UserDefineConfigure,omitnil,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Definition"` // Name of an image sprite generating template. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Subimage width of an image sprite in px. Value range: [128, 4,096]. Width *uint64 `json:"Width,omitnil,omitempty" name:"Width"` // Subimage height of an image sprite in px. Value range: [128, 4,096]. Height *uint64 `json:"Height,omitnil,omitempty" 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,omitempty" name:"ResolutionAdaptive"` // Sampling type. Valid values: // <li>Percent: By percent.</li> // <li>Time: By time interval.</li> SampleType *string `json:"SampleType,omitnil,omitempty" 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,omitempty" name:"SampleInterval"` // Subimage row count of an image sprite. RowCount *uint64 `json:"RowCount,omitnil,omitempty" name:"RowCount"` // Subimage column count of an image sprite. ColumnCount *uint64 `json:"ColumnCount,omitnil,omitempty" 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,omitempty" name:"FillType"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // The image format. Valid values: jpg, png, webp. Format *string `json:"Format,omitnil,omitempty" 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,omitempty" name:"Definition"` // Name of an image sprite generating template. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Subimage width of an image sprite in px. Value range: [128, 4,096]. Width *uint64 `json:"Width,omitnil,omitempty" name:"Width"` // Subimage height of an image sprite in px. Value range: [128, 4,096]. Height *uint64 `json:"Height,omitnil,omitempty" 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,omitempty" name:"ResolutionAdaptive"` // Sampling type. Valid values: // <li>Percent: By percent.</li> // <li>Time: By time interval.</li> SampleType *string `json:"SampleType,omitnil,omitempty" 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,omitempty" name:"SampleInterval"` // Subimage row count of an image sprite. RowCount *uint64 `json:"RowCount,omitnil,omitempty" name:"RowCount"` // Subimage column count of an image sprite. ColumnCount *uint64 `json:"ColumnCount,omitnil,omitempty" 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,omitempty" name:"FillType"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // The image format. Valid values: jpg, png, webp. Format *string `json:"Format,omitnil,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyPersonSampleRequest ¶
type ModifyPersonSampleRequest struct { *tchttp.BaseRequest // Image ID PersonId *string `json:"PersonId,omitnil,omitempty" name:"PersonId"` // Name. Length limit: 128 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Description. Length limit: 1,024 characters. Description *string `json:"Description,omitnil,omitempty" 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,omitempty" name:"Usages"` // Information of operations on facial features FaceOperationInfo *AiSampleFaceOperation `json:"FaceOperationInfo,omitnil,omitempty" name:"FaceOperationInfo"` // Tag operation information. TagOperationInfo *AiSampleTagOperation `json:"TagOperationInfo,omitnil,omitempty" 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,omitempty" name:"PersonId"` // Name. Length limit: 128 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Description. Length limit: 1,024 characters. Description *string `json:"Description,omitnil,omitempty" 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,omitempty" name:"Usages"` // Information of operations on facial features FaceOperationInfo *AiSampleFaceOperation `json:"FaceOperationInfo,omitnil,omitempty" name:"FaceOperationInfo"` // Tag operation information. TagOperationInfo *AiSampleTagOperation `json:"TagOperationInfo,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"FailFaceInfoSet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyQualityControlTemplateRequest ¶
type ModifyQualityControlTemplateRequest struct { *tchttp.BaseRequest // Unique identifier of a media quality inspection template. Definition *int64 `json:"Definition,omitnil,omitempty" name:"Definition"` // Media quality inspection template name, with a length limit of 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Template description, with a length limit of 256 characters. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // Media quality inspection configuration parameters. QualityControlItemSet []*QualityControlItemConfig `json:"QualityControlItemSet,omitnil,omitempty" name:"QualityControlItemSet"` }
func NewModifyQualityControlTemplateRequest ¶
func NewModifyQualityControlTemplateRequest() (request *ModifyQualityControlTemplateRequest)
func (*ModifyQualityControlTemplateRequest) FromJsonString ¶
func (r *ModifyQualityControlTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyQualityControlTemplateRequest) ToJsonString ¶
func (r *ModifyQualityControlTemplateRequest) ToJsonString() string
type ModifyQualityControlTemplateRequestParams ¶
type ModifyQualityControlTemplateRequestParams struct { // Unique identifier of a media quality inspection template. Definition *int64 `json:"Definition,omitnil,omitempty" name:"Definition"` // Media quality inspection template name, with a length limit of 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Template description, with a length limit of 256 characters. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // Media quality inspection configuration parameters. QualityControlItemSet []*QualityControlItemConfig `json:"QualityControlItemSet,omitnil,omitempty" name:"QualityControlItemSet"` }
Predefined struct for user
type ModifyQualityControlTemplateResponse ¶
type ModifyQualityControlTemplateResponse struct { *tchttp.BaseResponse Response *ModifyQualityControlTemplateResponseParams `json:"Response"` }
func NewModifyQualityControlTemplateResponse ¶
func NewModifyQualityControlTemplateResponse() (response *ModifyQualityControlTemplateResponse)
func (*ModifyQualityControlTemplateResponse) FromJsonString ¶
func (r *ModifyQualityControlTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyQualityControlTemplateResponse) ToJsonString ¶
func (r *ModifyQualityControlTemplateResponse) ToJsonString() string
type ModifyQualityControlTemplateResponseParams ¶
type ModifyQualityControlTemplateResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Definition"` // Name of a sampled screencapturing template. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Image width in px. Value range: [128, 4,096]. Width *uint64 `json:"Width,omitnil,omitempty" name:"Width"` // Image height in px. Value range: [128, 4,096]. Height *uint64 `json:"Height,omitnil,omitempty" 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,omitempty" name:"ResolutionAdaptive"` // Sampled screencapturing type. Valid values: // <li>Percent: By percent.</li> // <li>Time: By time interval.</li> SampleType *string `json:"SampleType,omitnil,omitempty" 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,omitempty" name:"SampleInterval"` // The image format. Valid values: jpg, png, webp. Format *string `json:"Format,omitnil,omitempty" name:"Format"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Definition"` // Name of a sampled screencapturing template. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Image width in px. Value range: [128, 4,096]. Width *uint64 `json:"Width,omitnil,omitempty" name:"Width"` // Image height in px. Value range: [128, 4,096]. Height *uint64 `json:"Height,omitnil,omitempty" 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,omitempty" name:"ResolutionAdaptive"` // Sampled screencapturing type. Valid values: // <li>Percent: By percent.</li> // <li>Time: By time interval.</li> SampleType *string `json:"SampleType,omitnil,omitempty" 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,omitempty" name:"SampleInterval"` // The image format. Valid values: jpg, png, webp. Format *string `json:"Format,omitnil,omitempty" name:"Format"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" 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,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyScheduleRequest ¶
type ModifyScheduleRequest struct { *tchttp.BaseRequest // The scheme ID. ScheduleId *int64 `json:"ScheduleId,omitnil,omitempty" name:"ScheduleId"` // The scheme name. ScheduleName *string `json:"ScheduleName,omitnil,omitempty" name:"ScheduleName"` // The trigger of the scheme. Trigger *WorkflowTrigger `json:"Trigger,omitnil,omitempty" 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,omitempty" name:"Activities"` // The bucket to save the output file. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil,omitempty" 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,omitempty" name:"OutputDir"` // The notification configuration. TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitnil,omitempty" name:"TaskNotifyConfig"` // Resource ID. Ensure the corresponding resource is in the enabled state. ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"` }
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,omitempty" name:"ScheduleId"` // The scheme name. ScheduleName *string `json:"ScheduleName,omitnil,omitempty" name:"ScheduleName"` // The trigger of the scheme. Trigger *WorkflowTrigger `json:"Trigger,omitnil,omitempty" 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,omitempty" name:"Activities"` // The bucket to save the output file. OutputStorage *TaskOutputStorage `json:"OutputStorage,omitnil,omitempty" 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,omitempty" name:"OutputDir"` // The notification configuration. TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitnil,omitempty" name:"TaskNotifyConfig"` // Resource ID. Ensure the corresponding resource is in the enabled state. ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"` }
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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Definition"` // Name of a time point screencapturing template. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Image width in px. Value range: [128, 4,096]. Width *uint64 `json:"Width,omitnil,omitempty" name:"Width"` // Image height in px. Value range: [128, 4,096]. Height *uint64 `json:"Height,omitnil,omitempty" 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,omitempty" name:"ResolutionAdaptive"` // The image format. Valid values: jpg, png, webp. Format *string `json:"Format,omitnil,omitempty" name:"Format"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Definition"` // Name of a time point screencapturing template. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Image width in px. Value range: [128, 4,096]. Width *uint64 `json:"Width,omitnil,omitempty" name:"Width"` // Image height in px. Value range: [128, 4,096]. Height *uint64 `json:"Height,omitnil,omitempty" 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,omitempty" name:"ResolutionAdaptive"` // The image format. Valid values: jpg, png, webp. Format *string `json:"Format,omitnil,omitempty" name:"Format"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" 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,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyTranscodeTemplateRequest ¶
type ModifyTranscodeTemplateRequest struct { *tchttp.BaseRequest // Unique ID of a transcoding template. Definition *int64 `json:"Definition,omitnil,omitempty" 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,omitempty" name:"Container"` // Name of a transcoding template. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // Whether to remove video data. Valid values: // <li>0: Retain</li> // <li>1: Remove</li> RemoveVideo *int64 `json:"RemoveVideo,omitnil,omitempty" name:"RemoveVideo"` // Whether to remove audio data. Valid values: // <li>0: Retain</li> // <li>1: Remove</li> RemoveAudio *int64 `json:"RemoveAudio,omitnil,omitempty" name:"RemoveAudio"` // Video stream configuration parameter. VideoTemplate *VideoTemplateInfoForUpdate `json:"VideoTemplate,omitnil,omitempty" name:"VideoTemplate"` // Audio stream configuration parameter. AudioTemplate *AudioTemplateInfoForUpdate `json:"AudioTemplate,omitnil,omitempty" name:"AudioTemplate"` // TESHD transcoding parameter. To enable it, please contact your Tencent Cloud sales rep. TEHDConfig *TEHDConfigForUpdate `json:"TEHDConfig,omitnil,omitempty" name:"TEHDConfig"` // Audio/Video enhancement settings. EnhanceConfig *EnhanceConfig `json:"EnhanceConfig,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Container"` // Name of a transcoding template. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // Whether to remove video data. Valid values: // <li>0: Retain</li> // <li>1: Remove</li> RemoveVideo *int64 `json:"RemoveVideo,omitnil,omitempty" name:"RemoveVideo"` // Whether to remove audio data. Valid values: // <li>0: Retain</li> // <li>1: Remove</li> RemoveAudio *int64 `json:"RemoveAudio,omitnil,omitempty" name:"RemoveAudio"` // Video stream configuration parameter. VideoTemplate *VideoTemplateInfoForUpdate `json:"VideoTemplate,omitnil,omitempty" name:"VideoTemplate"` // Audio stream configuration parameter. AudioTemplate *AudioTemplateInfoForUpdate `json:"AudioTemplate,omitnil,omitempty" name:"AudioTemplate"` // TESHD transcoding parameter. To enable it, please contact your Tencent Cloud sales rep. TEHDConfig *TEHDConfigForUpdate `json:"TEHDConfig,omitnil,omitempty" name:"TEHDConfig"` // Audio/Video enhancement settings. EnhanceConfig *EnhanceConfig `json:"EnhanceConfig,omitnil,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyWatermarkTemplateRequest ¶
type ModifyWatermarkTemplateRequest struct { *tchttp.BaseRequest // Unique ID of a watermarking template. Definition *int64 `json:"Definition,omitnil,omitempty" name:"Definition"` // Watermarking template name. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"YPos"` // Image watermarking template. This field is valid only for image watermarking templates. ImageTemplate *ImageWatermarkInputForUpdate `json:"ImageTemplate,omitnil,omitempty" name:"ImageTemplate"` // Text watermarking template. This field is valid only for text watermarking templates. TextTemplate *TextWatermarkTemplateInputForUpdate `json:"TextTemplate,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Definition"` // Watermarking template name. Length limit: 64 characters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Template description. Length limit: 256 characters. Comment *string `json:"Comment,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"YPos"` // Image watermarking template. This field is valid only for image watermarking templates. ImageTemplate *ImageWatermarkInputForUpdate `json:"ImageTemplate,omitnil,omitempty" name:"ImageTemplate"` // Text watermarking template. This field is valid only for text watermarking templates. TextTemplate *TextWatermarkTemplateInputForUpdate `json:"TextTemplate,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ImageUrl"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyWordSampleRequest ¶
type ModifyWordSampleRequest struct { *tchttp.BaseRequest // Keyword. Length limit: 128 characters. Keyword *string `json:"Keyword,omitnil,omitempty" 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,omitempty" name:"Usages"` // Tag operation information. TagOperationInfo *AiSampleTagOperation `json:"TagOperationInfo,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Usages"` // Tag operation information. TagOperationInfo *AiSampleTagOperation `json:"TagOperationInfo,omitnil,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"EndTimeOffset"` }
type NumberFormat ¶
type NumberFormat struct { // Start value of the `{number}` variable. Default value: 0. InitialValue *uint64 `json:"InitialValue,omitnil,omitempty" name:"InitialValue"` // Increment of the `{number}` variable. Default value: 1. Increment *uint64 `json:"Increment,omitnil,omitempty" 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,omitempty" name:"MinLength"` // Placeholder used when the `{number}` variable length is below the minimum requirement. Default value: 0. PlaceHolder *string `json:"PlaceHolder,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"Container"` // Whether to remove video data. Valid values: // <li>0: retain</li> // <li>1: remove</li> RemoveVideo *uint64 `json:"RemoveVideo,omitnil,omitempty" name:"RemoveVideo"` // Whether to remove audio data. Valid values: // <li>0: retain</li> // <li>1: remove</li> RemoveAudio *uint64 `json:"RemoveAudio,omitnil,omitempty" name:"RemoveAudio"` // Video stream configuration parameter. VideoTemplate *VideoTemplateInfoForUpdate `json:"VideoTemplate,omitnil,omitempty" name:"VideoTemplate"` // Audio stream configuration parameter. AudioTemplate *AudioTemplateInfoForUpdate `json:"AudioTemplate,omitnil,omitempty" 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,omitempty" name:"TEHDConfig"` // The subtitle settings. // Note: This field may return null, indicating that no valid values can be obtained. SubtitleTemplate *SubtitleTemplate `json:"SubtitleTemplate,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"AddOnSubtitles"` }
type ParseLiveStreamProcessNotificationRequest ¶
type ParseLiveStreamProcessNotificationRequest struct { *tchttp.BaseRequest // Live stream event notification obtained from CMQ. Content *string `json:"Content,omitnil,omitempty" 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,omitempty" 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 { // Live stream processing result type, including: // <li>AiReviewResult: content moderation result;</li> // <li>AiRecognitionResult: content recognition result;</li> // <li>LiveRecordResult: live recording result;</li> // <li>ProcessEof: live stream processing result.</li> NotificationType *string `json:"NotificationType,omitnil,omitempty" name:"NotificationType"` // Video processing task ID. TaskId *string `json:"TaskId,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"AiReviewResultInfo"` // Content recognition result, which is valid if `NotificationType` is `AiRecognitionResult`. AiRecognitionResultInfo *LiveStreamAiRecognitionResultInfo `json:"AiRecognitionResultInfo,omitnil,omitempty" name:"AiRecognitionResultInfo"` AiAnalysisResultInfo *LiveStreamAiAnalysisResultInfo `json:"AiAnalysisResultInfo,omitnil,omitempty" name:"AiAnalysisResultInfo"` AiQualityControlResultInfo *LiveStreamAiQualityControlResultInfo `json:"AiQualityControlResultInfo,omitnil,omitempty" name:"AiQualityControlResultInfo"` // Live recording result is valid when NotificationType is LiveRecordResult. // Note: This field may return null, indicating that no valid values can be obtained. LiveRecordResultInfo *LiveStreamRecordResultInfo `json:"LiveRecordResultInfo,omitnil,omitempty" name:"LiveRecordResultInfo"` // 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,omitempty" 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,omitempty" name:"SessionContext"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ParseNotificationRequest ¶
type ParseNotificationRequest struct { *tchttp.BaseRequest // Event notification obtained from CMQ. Content *string `json:"Content,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"ScheduleTaskEvent"` // - The expiration time (Unix timestamp) of the notification's signature. // - By default, notifications sent by MPS expire after 10 minutes. If the expiration time specified has elapsed, a notification will be considered invalid. This can prevent replay attacks. // - The format of this parameter is a decimal Unix timestamp, i.e., the number of seconds that have elapsed since 00:00 (UTC/GMT time) on January 1, 1970. Timestamp *int64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"` // Event notification security signature. Sign = MD5 (Timestamp + NotifyKey). Note: Media Processing Service concatenates Timestamp and NotifyKey from TaskNotifyConfig as a string and calculates the Sign value through MD5. This value is included in the notification message. Your backend server can verify whether the Sign is correct using the same algorithm, to confirm whether the message is indeed from the Media Processing Service backend. Sign *string `json:"Sign,omitnil,omitempty" name:"Sign"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"ReviewConfidence"` }
type PoliticalConfigureInfo ¶
type PoliticalConfigureInfo struct { // The parameters for detecting sensitive information in images. ImgReviewInfo *PoliticalImgReviewTemplateInfo `json:"ImgReviewInfo,omitnil,omitempty" name:"ImgReviewInfo"` // The parameters for detecting sensitive information based on ASR. AsrReviewInfo *PoliticalAsrReviewTemplateInfo `json:"AsrReviewInfo,omitnil,omitempty" name:"AsrReviewInfo"` // The parameters for detecting sensitive information based on OCR. OcrReviewInfo *PoliticalOcrReviewTemplateInfo `json:"OcrReviewInfo,omitnil,omitempty" name:"OcrReviewInfo"` }
type PoliticalConfigureInfoForUpdate ¶
type PoliticalConfigureInfoForUpdate struct { // The parameters for detecting sensitive information in images. ImgReviewInfo *PoliticalImgReviewTemplateInfoForUpdate `json:"ImgReviewInfo,omitnil,omitempty" name:"ImgReviewInfo"` // The parameters for detecting sensitive information based on ASR. AsrReviewInfo *PoliticalAsrReviewTemplateInfoForUpdate `json:"AsrReviewInfo,omitnil,omitempty" name:"AsrReviewInfo"` // The parameters for detecting sensitive information based on OCR. OcrReviewInfo *PoliticalOcrReviewTemplateInfoForUpdate `json:"OcrReviewInfo,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"OcrReviewInfo"` }
type PornConfigureInfoForUpdate ¶
type PornConfigureInfoForUpdate struct { // Control parameter of porn information detection in image. ImgReviewInfo *PornImgReviewTemplateInfoForUpdate `json:"ImgReviewInfo,omitnil,omitempty" name:"ImgReviewInfo"` // Control parameter of porn information detection in speech. AsrReviewInfo *PornAsrReviewTemplateInfoForUpdate `json:"AsrReviewInfo,omitnil,omitempty" name:"AsrReviewInfo"` // Control parameter of porn information detection in text. OcrReviewInfo *PornOcrReviewTemplateInfoForUpdate `json:"OcrReviewInfo,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"Url"` // Event notification information of a task, which is used to specify the live stream processing result. TaskNotifyConfig *LiveStreamTaskNotifyConfig `json:"TaskNotifyConfig,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"OutputDir"` // Type parameter of a video content audit task. AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitnil,omitempty" name:"AiContentReviewTask"` // Type parameter of video content recognition task. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitnil,omitempty" name:"AiRecognitionTask"` AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitnil,omitempty" name:"AiAnalysisTask"` // Media quality inspection type task parameters. AiQualityControlTask *AiQualityControlTaskInput `json:"AiQualityControlTask,omitnil,omitempty" name:"AiQualityControlTask"` // 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,omitempty" 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,omitempty" name:"SessionContext"` // The live scheme ID. // Note 1: // <li>If an output storage (`OutputStorage`) and directory (`OutputDir`) are specified for a subtask of the scheme, those output settings will be applied. </li> // u200c<li>If an output storage (`OutputStorage`) and directory (`OutputDir`) are not specified for a subtask of the scheme, the output parameters specified for `ProcessLiveStream` (if any) will be applied. </li> // Note 2: If `TaskNotifyConfig` is specified when `ProcessLiveStream` is called, the specified settings will be applied instead of the default callback settings of the scheme. ScheduleId *int64 `json:"ScheduleId,omitnil,omitempty" name:"ScheduleId"` }
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,omitempty" name:"Url"` // Event notification information of a task, which is used to specify the live stream processing result. TaskNotifyConfig *LiveStreamTaskNotifyConfig `json:"TaskNotifyConfig,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"OutputDir"` // Type parameter of a video content audit task. AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitnil,omitempty" name:"AiContentReviewTask"` // Type parameter of video content recognition task. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitnil,omitempty" name:"AiRecognitionTask"` AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitnil,omitempty" name:"AiAnalysisTask"` // Media quality inspection type task parameters. AiQualityControlTask *AiQualityControlTaskInput `json:"AiQualityControlTask,omitnil,omitempty" name:"AiQualityControlTask"` // 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,omitempty" 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,omitempty" name:"SessionContext"` // The live scheme ID. // Note 1: // <li>If an output storage (`OutputStorage`) and directory (`OutputDir`) are specified for a subtask of the scheme, those output settings will be applied. </li> // u200c<li>If an output storage (`OutputStorage`) and directory (`OutputDir`) are not specified for a subtask of the scheme, the output parameters specified for `ProcessLiveStream` (if any) will be applied. </li> // Note 2: If `TaskNotifyConfig` is specified when `ProcessLiveStream` is called, the specified settings will be applied instead of the default callback settings of the scheme. ScheduleId *int64 `json:"ScheduleId,omitnil,omitempty" name:"ScheduleId"` }
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,omitempty" name:"TaskId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"OutputDir"` // Orchestration ID. // Note 1: For parameters OutputStorage and OutputDir: // <li>When a sub-task node in service orchestration has OutputStorage and OutputDir configured, the output configured in this sub-task node is used as the output of the sub-task.</li> // <li>When a sub-task node in service orchestration does not have OutputStorage and OutputDir configured, if the task creation API (ProcessMedia) has specified an output, it will override the default output of the original orchestration.</li> // <li>The priority of output settings is: Orchestration sub-task node > Output specified by the task API > Corresponding configuration within an orchestration.</li> // Note 2: For the TaskNotifyConfig parameter, if the task creation API (ProcessMedia) has set this parameter, it will override the default callback of the original orchestration. // // Note 3: The trigger configured for an orchestration is for automatically starting the orchestration. It stops working when you manually call this API to start an orchestration. ScheduleId *int64 `json:"ScheduleId,omitnil,omitempty" name:"ScheduleId"` // The media processing parameters to use. MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitnil,omitempty" name:"MediaProcessTask"` // Type parameter of a video content audit task. AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitnil,omitempty" name:"AiContentReviewTask"` // Video content analysis task parameter. AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitnil,omitempty" name:"AiAnalysisTask"` // Type parameter of a video content recognition task. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitnil,omitempty" name:"AiRecognitionTask"` // Media quality inspection type task parameters. AiQualityControlTask *AiQualityControlTaskInput `json:"AiQualityControlTask,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"TasksPriority"` // Identification code for deduplication, up to 50 characters. If a request with the same identification code was made within the past 3 days, an error will be returned for the current request. If this parameter is not provided or is an empty string, deduplication will not be performed for this request. SessionId *string `json:"SessionId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"OutputDir"` // Orchestration ID. // Note 1: For parameters OutputStorage and OutputDir: // <li>When a sub-task node in service orchestration has OutputStorage and OutputDir configured, the output configured in this sub-task node is used as the output of the sub-task.</li> // <li>When a sub-task node in service orchestration does not have OutputStorage and OutputDir configured, if the task creation API (ProcessMedia) has specified an output, it will override the default output of the original orchestration.</li> // <li>The priority of output settings is: Orchestration sub-task node > Output specified by the task API > Corresponding configuration within an orchestration.</li> // Note 2: For the TaskNotifyConfig parameter, if the task creation API (ProcessMedia) has set this parameter, it will override the default callback of the original orchestration. // // Note 3: The trigger configured for an orchestration is for automatically starting the orchestration. It stops working when you manually call this API to start an orchestration. ScheduleId *int64 `json:"ScheduleId,omitnil,omitempty" name:"ScheduleId"` // The media processing parameters to use. MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitnil,omitempty" name:"MediaProcessTask"` // Type parameter of a video content audit task. AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitnil,omitempty" name:"AiContentReviewTask"` // Video content analysis task parameter. AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitnil,omitempty" name:"AiAnalysisTask"` // Type parameter of a video content recognition task. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitnil,omitempty" name:"AiRecognitionTask"` // Media quality inspection type task parameters. AiQualityControlTask *AiQualityControlTaskInput `json:"AiQualityControlTask,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"TasksPriority"` // Identification code for deduplication, up to 50 characters. If a request with the same identification code was made within the past 3 days, an error will be returned for the current request. If this parameter is not provided or is an empty string, deduplication will not be performed for this request. SessionId *string `json:"SessionId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"TaskId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"ReviewConfidence"` }
type ProhibitedConfigureInfo ¶
type ProhibitedConfigureInfo struct { // Control parameter of prohibited information detection in speech. AsrReviewInfo *ProhibitedAsrReviewTemplateInfo `json:"AsrReviewInfo,omitnil,omitempty" name:"AsrReviewInfo"` // Control parameter of prohibited information detection in text. OcrReviewInfo *ProhibitedOcrReviewTemplateInfo `json:"OcrReviewInfo,omitnil,omitempty" name:"OcrReviewInfo"` }
type ProhibitedConfigureInfoForUpdate ¶
type ProhibitedConfigureInfoForUpdate struct { // Control parameter of prohibited information detection in speech. AsrReviewInfo *ProhibitedAsrReviewTemplateInfoForUpdate `json:"AsrReviewInfo,omitnil,omitempty" name:"AsrReviewInfo"` // Control parameter of prohibited information detection in text. OcrReviewInfo *ProhibitedOcrReviewTemplateInfoForUpdate `json:"OcrReviewInfo,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"QualityEvaluationScore"` // Exception items detected in content quality inspection. // Note: This field may return null, indicating that no valid values can be obtained. QualityControlResultSet []*QualityControlResult `json:"QualityControlResultSet,omitnil,omitempty" name:"QualityControlResultSet"` // Exception items detected in format diagnosis. // Note: This field may return null, indicating that no valid values can be obtained. ContainerDiagnoseResultSet []*ContainerDiagnoseResultItem `json:"ContainerDiagnoseResultSet,omitnil,omitempty" name:"ContainerDiagnoseResultSet"` }
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,omitempty" name:"Confidence"` // The start timestamp (second) of the segment. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil,omitempty" name:"StartTimeOffset"` // The end timestamp (second) of the segment. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil,omitempty" 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,omitempty" name:"AreaCoordSet"` }
type QualityControlItemConfig ¶
type QualityControlItemConfig struct { // Quality inspection item name. Valid values: // <li>LowEvaluation: no-reference scoring.</li> // <li>Mosaic: mosaic detection.</li> // <li>CrashScreen: screen glitch detection.</li> // <li>VideoFreezedFrame: video freezing.</li> // <li>Blur: blur detection.</li> // <li>BlackWhiteEdge: black and white edges detection.</li> // <li>SolidColorScreen: solid color screen detection.</li> // <li>LowLighting: low light.</li> // <li>HighLighting: overexposure.</li> // <li>NoVoice: no voice detection.</li> // <li>LowVoice: low voice detection.</li> // <li>HighVoice: high voice detection.</li> // <li>Jitter: jitter detection.</li> // <li>Noise: noise detection.</li> // <li>QRCode: QR code detection.</li> // <li>BarCode: barcode detection.</li> // <li>AppletCode: mini program code detection.</li> // <li>VideoResolutionChanged: video resolution change.</li> // <li>AudioSampleRateChanged: audio sample rate change.</li> // <li>AudioChannelsChanged: audio channel quantity change.</li> // <li>ParameterSetsChanged: stream parameter set information change.</li> // <li>DarOrSarInvalid: video aspect ratio exception.</li> // <li>TimestampFallback: DTS timestamp rollback.</li> // <li>DtsJitter: DTS jitter too high.</li> // <li>PtsJitter: PTS jitter too high.</li> // <li>AACDurationDeviation: improper AAC frame timestamp interval.</li> // <li>AudioDroppingFrames: audio frame dropping.</li> // <li>VideoDroppingFrames: video frame dropping.</li> // <li>AVTimestampInterleave: improper audio-video interleaving.</li> // <li>PtsLessThanDts: PTS less than DTS for media streams.</li> // <li>ReceiveFpsJitter: significant jitter in the network receive frame rate.</li> // <li>ReceiveFpsTooSmall: network receive video frame rate too low.</li> // <li>FpsJitter: significant jitter in the stream frame rate calculated via PTS.</li> // <li>StreamOpenFailed: stream open failure.</li> // <li>StreamEnd: stream end.</li> // <li>StreamParseFailed: stream parsing failure.</li> // <li>VideoFirstFrameNotIdr: first frame not an IDR frame.</li> // <li>StreamNALUError: NALU start code error.</li> // <li>TsStreamNoAud: no AUD NALU in the H26x stream of MPEG-TS.</li> // <li>AudioStreamLack: no audio stream.</li> // <li>VideoStreamLack: no video stream.</li> // <li>LackAudioRecover: missing audio stream recovery.</li> // <li>LackVideoRecover: missing video stream recovery.</li> // <li>VideoBitrateOutofRange: video stream bitrate (kbps) out of range.</li> // <li>AudioBitrateOutofRange: audio stream bitrate (kbps) out of range.</li> // <li>VideoDecodeFailed: video decoding error.</li> // <li>AudioDecodeFailed: audio decoding error.</li> // <li>AudioOutOfPhase: opposite phase in dual-channel audio.</li> // <li>VideoDuplicatedFrame: duplicate frames in video streams.</li> // <li>AudioDuplicatedFrame: duplicate frames in audio streams.</li> // <li>VideoRotation: video rotation.</li> // <li>TsMultiPrograms: multiple programs in MPEG2-TS streams.</li> // <li>Mp4InvalidCodecFourcc: codec FourCC in MP4 not meeting Apple HLS requirements.</li> // <li>HLSBadM3u8Format: invalid M3U8 file.</li> // <li>HLSInvalidMasterM3u8: invalid main M3U8 file.</li> // <li>HLSInvalidMediaM3u8: invalid media M3U8 file.</li> // <li>HLSMasterM3u8Recommended: parameters recommended by standards missing in main M3U8.</li> // <li>HLSMediaM3u8Recommended: parameters recommended by standards missing in media M3U8.</li> // <li>HLSMediaM3u8DiscontinuityExist: EXT-X-DISCONTINUITY in media M3U8.</li> // <li>HLSMediaSegmentsStreamNumChange: changed number of streams in segments.</li> // <li>HLSMediaSegmentsPTSJitterDeviation: PTS jumps between segments without EXT-X-DISCONTINUITY.</li> // <li>HLSMediaSegmentsDTSJitterDeviation: DTS jumps between segments without EXT-X-DISCONTINUITY.</li> // <li>TimecodeTrackExist: TMCD track in MP4.</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Capability configuration switch. Valid values: // <li>ON: enabled;</li> // <li>OFF: disabled.</li> // // Default value: ON. // // Note: This field may return null, indicating that no valid values can be obtained. Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // Sampling method, Valid value: // - Time: sampling based on time interval. // Note: This field may return null, indicating that no valid values can be obtained. Sampling *string `json:"Sampling,omitnil,omitempty" name:"Sampling"` // Sampling interval time, in ms. // Note: This field may return null, indicating that no valid values can be obtained. IntervalTime *uint64 `json:"IntervalTime,omitnil,omitempty" name:"IntervalTime"` // Duration of abnormality, in ms. // Note: This field may return null, indicating that no valid values can be obtained. Duration *uint64 `json:"Duration,omitnil,omitempty" name:"Duration"` // Threshold of a detection item. Different detection items have different thresholds. // Note: This field may return null, indicating that no valid values can be obtained. Threshold *string `json:"Threshold,omitnil,omitempty" name:"Threshold"` }
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,omitempty" name:"Type"` // The information of a checked segment in quality control. QualityControlItems []*QualityControlItem `json:"QualityControlItems,omitnil,omitempty" name:"QualityControlItems"` }
type QualityControlTemplate ¶
type QualityControlTemplate struct { // Unique identifier of a media quality inspection template. Definition *int64 `json:"Definition,omitnil,omitempty" name:"Definition"` // Media quality inspection template name. // Note: This field may return null, indicating that no valid values can be obtained. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Template description. // // // Note: This field may return null, indicating that no valid values can be obtained. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // Template type. Valid values: // <li>Preset: system preset template;</li> // <li>Custom: custom template.</li> // // Note: This field may return null, indicating that no valid values can be obtained. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Media quality inspection configuration parameters. // Note: This field may return null, indicating that no valid values can be obtained. QualityControlItemSet []*QualityControlItemConfig `json:"QualityControlItemSet,omitnil,omitempty" name:"QualityControlItemSet"` // 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). // // Note: This field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil,omitempty" 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). // // Note: This field may return null, indicating that no valid values can be obtained. UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` }
type RawImageWatermarkInput ¶
type RawImageWatermarkInput struct { // Input content of watermark image. JPEG and PNG images are supported. ImageContent *MediaInputInfo `json:"ImageContent,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"RemoveAudio"` // Video stream configuration parameter. This field is required when `RemoveVideo` is 0. VideoTemplate *VideoTemplateInfo `json:"VideoTemplate,omitnil,omitempty" name:"VideoTemplate"` // Audio stream configuration parameter. This field is required when `RemoveAudio` is 0. AudioTemplate *AudioTemplateInfo `json:"AudioTemplate,omitnil,omitempty" name:"AudioTemplate"` // TESHD transcoding parameter. TEHDConfig *TEHDConfig `json:"TEHDConfig,omitnil,omitempty" name:"TEHDConfig"` }
type RawWatermarkParameter ¶
type RawWatermarkParameter struct { // Watermark type. Valid values: // <li>image: image watermark.</li> Type *string `json:"Type,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"ImageTemplate"` }
type ResetWorkflowRequest ¶
type ResetWorkflowRequest struct { *tchttp.BaseRequest // Workflow ID. WorkflowId *int64 `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"` // Workflow name of up to 128 characters, which must be unique for the same user. WorkflowName *string `json:"WorkflowName,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"OutputStorage"` // The target directory for the output files generated by video processing. It must start and end with a slash (/), such as `/movie/201907/`. // If left empty, it is the same as the directory of the trigger file, that is, `{inputDir}`. OutputDir *string `json:"OutputDir,omitnil,omitempty" name:"OutputDir"` // Parameter of a video processing task. MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitnil,omitempty" name:"MediaProcessTask"` // Type parameter of a video content audit task. AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitnil,omitempty" name:"AiContentReviewTask"` // Video content analysis task parameter. AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitnil,omitempty" name:"AiAnalysisTask"` // Type parameter of a video content recognition task. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"WorkflowId"` // Workflow name of up to 128 characters, which must be unique for the same user. WorkflowName *string `json:"WorkflowName,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"OutputStorage"` // The target directory for the output files generated by video processing. It must start and end with a slash (/), such as `/movie/201907/`. // If left empty, it is the same as the directory of the trigger file, that is, `{inputDir}`. OutputDir *string `json:"OutputDir,omitnil,omitempty" name:"OutputDir"` // Parameter of a video processing task. MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitnil,omitempty" name:"MediaProcessTask"` // Type parameter of a video content audit task. AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitnil,omitempty" name:"AiContentReviewTask"` // Video content analysis task parameter. AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitnil,omitempty" name:"AiAnalysisTask"` // Type parameter of a video content recognition task. AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitnil,omitempty" 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,omitempty" 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,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type S3InputInfo ¶
type S3InputInfo struct { // The AWS S3 bucket. S3Bucket *string `json:"S3Bucket,omitnil,omitempty" name:"S3Bucket"` // The region of the AWS S3 bucket. S3Region *string `json:"S3Region,omitnil,omitempty" name:"S3Region"` // The path of the AWS S3 object. S3Object *string `json:"S3Object,omitnil,omitempty" name:"S3Object"` // The key ID required to access the AWS S3 object. S3SecretId *string `json:"S3SecretId,omitnil,omitempty" name:"S3SecretId"` // The key required to access the AWS S3 object. S3SecretKey *string `json:"S3SecretKey,omitnil,omitempty" name:"S3SecretKey"` }
type S3OutputStorage ¶
type S3OutputStorage struct { // The AWS S3 bucket. S3Bucket *string `json:"S3Bucket,omitnil,omitempty" name:"S3Bucket"` // The region of the AWS S3 bucket. S3Region *string `json:"S3Region,omitnil,omitempty" name:"S3Region"` // The key ID required to upload files to the AWS S3 object. S3SecretId *string `json:"S3SecretId,omitnil,omitempty" name:"S3SecretId"` // The key required to upload files to the AWS S3 object. S3SecretKey *string `json:"S3SecretKey,omitnil,omitempty" name:"S3SecretKey"` }
type SampleSnapshotTaskInput ¶
type SampleSnapshotTaskInput struct { // Sampled screencapturing template ID. Definition *uint64 `json:"Definition,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"OutputStorage"` // Output path of an image file after sampled screenshot taking, which can be a relative or absolute path. // If you need to define an output path, the path must end with `.{format}`. For variable names, refer to [Filename Variable](https://intl.cloud.tencent.com/document/product/862/37039?from_cn_redirect=1).Relative path example: // <li>Filename_{Variable name}.{format}.</li> // <li>Filename.{format}.</li> // Absolute path example: // <li>/Custom path/Filename_{Variable name}.{format}.</li> // If left empty, a relative path is used by default: `{inputName}_sampleSnapshot_{definition}_{number}.{format}`. OutputObjectPath *string `json:"OutputObjectPath,omitnil,omitempty" 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,omitempty" name:"ObjectNumberFormat"` }
type SampleSnapshotTemplate ¶
type SampleSnapshotTemplate struct { // Unique ID of a sampled screencapturing template. Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` // Template type. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Name of a sampled screencapturing template. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Template description. Comment *string `json:"Comment,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"ResolutionAdaptive"` // Image format. Format *string `json:"Format,omitnil,omitempty" name:"Format"` // Sampled screencapturing type. SampleType *string `json:"SampleType,omitnil,omitempty" name:"SampleType"` // Sampling interval. SampleInterval *uint64 `json:"SampleInterval,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"FillType"` }
type ScheduleAnalysisTaskResult ¶
type ScheduleAnalysisTaskResult struct { // The task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // The error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The input of the content analysis task. Input *AiAnalysisTaskInput `json:"Input,omitnil,omitempty" 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,omitempty" name:"Output"` }
type ScheduleQualityControlTaskResult ¶
type ScheduleQualityControlTaskResult struct { // The task status. Valid values: `PROCESSING`, `SUCCESS`, `FAIL`. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // The error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Media quality inspection task input. Input *AiQualityControlTaskInput `json:"Input,omitnil,omitempty" name:"Input"` // Media quality inspection task output.Note: This field may return null, indicating that no valid values can be obtained. Output *QualityControlData `json:"Output,omitnil,omitempty" name:"Output"` }
type ScheduleRecognitionTaskResult ¶
type ScheduleRecognitionTaskResult struct { // The task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // The error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The input of the content recognition task. Input *AiRecognitionTaskInput `json:"Input,omitnil,omitempty" 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,omitempty" name:"Output"` }
type ScheduleReviewTaskResult ¶
type ScheduleReviewTaskResult struct { // The task status. Valid values: PROCESSING, SUCCESS, FAIL. Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ErrCode"` // The error message. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The input of the content moderation task. Input *AiContentReviewTaskInput `json:"Input,omitnil,omitempty" 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,omitempty" name:"Output"` }
type ScheduleTask ¶
type ScheduleTask struct { // The scheme ID. TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // The scheme status. Valid values: // <li>PROCESSING</li> // <li>FINISH</li> Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"ActivityResultSet"` }
type SchedulesInfo ¶
type SchedulesInfo struct { // The scheme ID. ScheduleId *int64 `json:"ScheduleId,omitnil,omitempty" name:"ScheduleId"` // The scheme name. // Note: This field may return null, indicating that no valid values can be obtained. ScheduleName *string `json:"ScheduleName,omitnil,omitempty" name:"ScheduleName"` // The scheme type. Valid values: // <li>`Preset`</li> // <li>`Custom` </li> // Note: This field may return·null, indicating that no valid values can be obtained. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"OutputDir"` // The notification configuration. // Note: This field may return null, indicating that no valid values can be obtained. TaskNotifyConfig *TaskNotifyConfig `json:"TaskNotifyConfig,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"UpdateTime"` // Resource ID. For those without an associated resource ID, fill in with an account's primary resource ID. // Note: This field may return null, indicating that no valid values can be obtained. ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"` }
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,omitempty" 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,omitempty" name:"Intensity"` }
type SegmentRecognitionItem ¶
type SegmentRecognitionItem struct { Confidence *float64 `json:"Confidence,omitnil,omitempty" name:"Confidence"` StartTimeOffset *float64 `json:"StartTimeOffset,omitnil,omitempty" name:"StartTimeOffset"` EndTimeOffset *float64 `json:"EndTimeOffset,omitnil,omitempty" name:"EndTimeOffset"` SegmentUrl *string `json:"SegmentUrl,omitnil,omitempty" name:"SegmentUrl"` // Segment title. // Note: This field may return null, indicating that no valid values can be obtained. Title *string `json:"Title,omitnil,omitempty" name:"Title"` // Segment summary. // Note: This field may return null, indicating that no valid values can be obtained. Summary *string `json:"Summary,omitnil,omitempty" name:"Summary"` }
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,omitempty" 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,omitempty" name:"Intensity"` }
type SimpleAesDrm ¶
type SimpleAesDrm struct { // The URI of decryption key. // Note: This field may return·null, indicating that no valid values can be obtained. Uri *string `json:"Uri,omitnil,omitempty" name:"Uri"` // The encryption key (a 32-byte string). // Note: This field may return·null, indicating that no valid values can be obtained. Key *string `json:"Key,omitnil,omitempty" name:"Key"` // The initialization vector for encryption (a 32-byte string). // Note: This field may return·null, indicating that no valid values can be obtained. Vector *string `json:"Vector,omitnil,omitempty" name:"Vector"` }
type SnapshotByTimeOffsetTaskInput ¶
type SnapshotByTimeOffsetTaskInput struct { // ID of a time point screencapturing template. Definition *uint64 `json:"Definition,omitnil,omitempty" 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,omitempty" name:"ExtTimeOffsetSet"` // List of time points of screenshots in <font color=red>seconds</font>. TimeOffsetSet []*float64 `json:"TimeOffsetSet,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"OutputStorage"` // Output path for an image file of screenshots taken at specific time points, which can be a relative or absolute path. // If you need to define an output path, the path must end with `.{format}`. For variable names, refer to [Filename Variable](https://intl.cloud.tencent.com/document/product/862/37039?from_cn_redirect=1). // Relative path example: // <li>Filename_{Variable name}.{format}.</li> // <li>Filename.{format}.</li> // Absolute path example: // <li>/Custom path/Filename_{Variable name}.{format}.</li> // If left empty, a relative path is used by default: `{inputName}_snapshotByTimeOffset_{definition}_{number}.{format}`. OutputObjectPath *string `json:"OutputObjectPath,omitnil,omitempty" 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,omitempty" name:"ObjectNumberFormat"` }
type SnapshotByTimeOffsetTemplate ¶
type SnapshotByTimeOffsetTemplate struct { // Unique ID of a time point screencapturing template. Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` // Template type. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Name of a time point screencapturing template. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Template description. Comment *string `json:"Comment,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"ResolutionAdaptive"` // Image format. Format *string `json:"Format,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"Switch"` }
type TaskNotifyConfig ¶
type TaskNotifyConfig struct { // 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,omitempty" name:"NotifyType"` // Workflow notification method. Valid values: Finish, Change. If this parameter is left empty, `Finish` will be used. NotifyMode *string `json:"NotifyMode,omitnil,omitempty" name:"NotifyMode"` // HTTP callback URL, required if `NotifyType` is set to `URL` NotifyUrl *string `json:"NotifyUrl,omitnil,omitempty" name:"NotifyUrl"` // The CMQ or TDMQ-CMQ model. Valid values: Queue, Topic. CmqModel *string `json:"CmqModel,omitnil,omitempty" name:"CmqModel"` // The CMQ or TDMQ-CMQ region, such as `sh` (Shanghai) or `bj` (Beijing). CmqRegion *string `json:"CmqRegion,omitnil,omitempty" name:"CmqRegion"` // The CMQ or TDMQ-CMQ topic to receive notifications. This parameter is valid when `CmqModel` is `Topic`. TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // The CMQ or TDMQ-CMQ queue to receive notifications. This parameter is valid when `CmqModel` is `Queue`. QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"` // 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,omitempty" name:"AwsSQS"` // The key used to generate the callback signature. // Note: This field may return·null, indicating that no valid values can be obtained. NotifyKey *string `json:"NotifyKey,omitnil,omitempty" name:"NotifyKey"` }
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,omitempty" 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,omitempty" 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,omitempty" name:"S3OutputStorage"` }
type TaskSimpleInfo ¶
type TaskSimpleInfo struct { // Task ID. TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // Task type. Valid values: // <li> WorkflowTask: Workflow processing task;</li> // <li> LiveProcessTask: Live stream processing task.</li> TaskType *string `json:"TaskType,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"FinishTime"` // The subtask type. SubTaskTypes []*string `json:"SubTaskTypes,omitnil,omitempty" name:"SubTaskTypes"` }
type TerrorismConfigureInfo ¶
type TerrorismConfigureInfo struct { // The parameters for detecting sensitive information based on OCR. OcrReviewInfo *TerrorismOcrReviewTemplateInfo `json:"OcrReviewInfo,omitnil,omitempty" name:"OcrReviewInfo"` // The parameters for detecting sensitive information in images. ImgReviewInfo *TerrorismImgReviewTemplateInfo `json:"ImgReviewInfo,omitnil,omitempty" name:"ImgReviewInfo"` }
type TerrorismConfigureInfoForUpdate ¶
type TerrorismConfigureInfoForUpdate struct { // The parameters for detecting sensitive information in images. ImgReviewInfo *TerrorismImgReviewTemplateInfoForUpdate `json:"ImgReviewInfo,omitnil,omitempty" name:"ImgReviewInfo"` // The parameters for detecting sensitive information based on OCR. OcrReviewInfo *TerrorismOcrReviewTemplateInfoForUpdate `json:"OcrReviewInfo,omitnil,omitempty" 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,omitempty" name:"Switch"` // Sensitive content filter tags. The auditing results including the selected tags are returned. If the filter tag is empty, all auditing results will be returned. Valid values: // <li>guns: weapons and guns;</li> // <li>crowd: crowd gathering;</li> // <li>bloody: bloodiness;</li> // <li>police: police force;</li> // <li>banners: sensitive flags;</li> // <li>militant: militants;</li> // <li>explosion: explosions and fires;</li> // <li>terrorists: sensitive persons.</li> LabelSet []*string `json:"LabelSet,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"Switch"` // Sensitive content filter tags. The auditing results including the selected tags are returned. If the filter tag is empty, all auditing results will be returned. Valid values: // <li>guns: weapons and guns;</li> // <li>crowd: crowd gathering;</li> // <li>bloody: bloodiness;</li> // <li>police: police force;</li> // <li>banners: sensitive flags;</li> // <li>militant: militants;</li> // <li>explosion: explosions and fires;</li> // <li>terrorists: sensitive persons.</li> LabelSet []*string `json:"LabelSet,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"FontType"` // Font size, in the format of Npx. N is a numerical value with a value range of [0, 1] or [8, 4096]. FontSize *string `json:"FontSize,omitnil,omitempty" name:"FontSize"` // Font color in 0xRRGGBB format. Default value: 0xFFFFFF (white). FontColor *string `json:"FontColor,omitnil,omitempty" 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,omitempty" name:"FontAlpha"` // Text content, up to 100 characters. // Note: This field may return null, indicating that no valid values can be obtained. TextContent *string `json:"TextContent,omitnil,omitempty" name:"TextContent"` }
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,omitempty" name:"FontType"` // Font size, in the format of Npx. N is a numerical value with a value range of [0, 1] or [8, 4096]. FontSize *string `json:"FontSize,omitnil,omitempty" name:"FontSize"` // Font color in 0xRRGGBB format. Default value: 0xFFFFFF (white). FontColor *string `json:"FontColor,omitnil,omitempty" name:"FontColor"` // Text transparency. Value range: (0, 1] // <li>0: Completely transparent</li> // <li>1: Completely opaque</li> FontAlpha *float64 `json:"FontAlpha,omitnil,omitempty" name:"FontAlpha"` // Text content, up to 100 characters. TextContent *string `json:"TextContent,omitnil,omitempty" name:"TextContent"` }
type TranscodeTaskInput ¶
type TranscodeTaskInput struct { // ID of a video transcoding template. Definition *uint64 `json:"Definition,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"WatermarkSet"` // List of blurs. Up to 10 ones can be supported. MosaicSet []*MosaicInput `json:"MosaicSet,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"OutputStorage"` // Output path of the main file after transcoding, which can be a relative or absolute path. // If you need to define an output path, the path must end with `.{format}`. For variable names, refer to [Filename Variable](https://intl.cloud.tencent.com/document/product/862/37039?from_cn_redirect=1).Relative path example: // <li>Filename_{Variable name}.{format}.</li> // <li>Filename.{format}.</li> // Absolute path example: // <li>/Custom path/Filename_{Variable name}.{format}.</li> // If left empty, a relative path is used by default: `{inputName}_transcode_{definition}.{format}`. OutputObjectPath *string `json:"OutputObjectPath,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"HeadTailParameter"` }
type TranscodeTemplate ¶
type TranscodeTemplate struct { // Unique ID of a transcoding template. Definition *string `json:"Definition,omitnil,omitempty" name:"Definition"` // Container format. Valid values: mp4, flv, hls, mp3, flac, ogg. Container *string `json:"Container,omitnil,omitempty" 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,omitempty" name:"Name"` // Template description. // Note: This field may return null, indicating that no valid values can be obtained. Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"` // Template type. Valid values: // <li>Preset: Preset template;</li> // <li>Custom: Custom template.</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Whether to remove video data. Valid values: // <li>0: Retain;</li> // <li>1: Remove.</li> RemoveVideo *int64 `json:"RemoveVideo,omitnil,omitempty" name:"RemoveVideo"` // Whether to remove audio data. Valid values: // <li>0: Retain;</li> // <li>1: Remove.</li> RemoveAudio *int64 `json:"RemoveAudio,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"EnhanceConfig"` }
type TranslateConfigureInfo ¶
type TranslateConfigureInfo 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,omitempty" name:"Switch"` SourceLanguage *string `json:"SourceLanguage,omitnil,omitempty" name:"SourceLanguage"` DestinationLanguage *string `json:"DestinationLanguage,omitnil,omitempty" name:"DestinationLanguage"` // Generated subtitle file format. Leaving it as an empty string means no subtitle file will be generated. Valid value: // <li>vtt: Generate a WebVTT subtitle file.</li> // // Note: This field may return null, indicating that no valid values can be obtained. SubtitleFormat *string `json:"SubtitleFormat,omitnil,omitempty" name:"SubtitleFormat"` }
type UrlInputInfo ¶
type UrlInputInfo struct { // URL of a video. Url *string `json:"Url,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"OcrReviewInfo"` }
type UserDefineConfigureInfoForUpdate ¶
type UserDefineConfigureInfoForUpdate struct { // Control parameter of custom figure audit. FaceReviewInfo *UserDefineFaceReviewTemplateInfoForUpdate `json:"FaceReviewInfo,omitnil,omitempty" name:"FaceReviewInfo"` // Control parameter of custom speech audit. AsrReviewInfo *UserDefineAsrTextReviewTemplateInfoForUpdate `json:"AsrReviewInfo,omitnil,omitempty" name:"AsrReviewInfo"` // Control parameter of custom text audit. OcrReviewInfo *UserDefineOcrTextReviewTemplateInfoForUpdate `json:"OcrReviewInfo,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"FrameRate"` // Super resolution configuration. // Note: This field may return null, indicating that no valid values can be obtained. SuperResolution *SuperResolutionConfig `json:"SuperResolution,omitnil,omitempty" name:"SuperResolution"` // HDR configuration. // Note: This field may return null, indicating that no valid values can be obtained. Hdr *HdrConfig `json:"Hdr,omitnil,omitempty" 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,omitempty" name:"Denoise"` // Overall enhancement configuration. // Note: This field may return null, indicating that no valid values can be obtained. ImageQualityEnhance *ImageQualityEnhanceConfig `json:"ImageQualityEnhance,omitnil,omitempty" name:"ImageQualityEnhance"` // Color enhancement configuration. // Note: This field may return null, indicating that no valid values can be obtained. ColorEnhance *ColorEnhanceConfig `json:"ColorEnhance,omitnil,omitempty" name:"ColorEnhance"` // Detail enhancement configuration. // Note: This field may return null, indicating that no valid values can be obtained. SharpEnhance *SharpEnhanceConfig `json:"SharpEnhance,omitnil,omitempty" name:"SharpEnhance"` // Face enhancement configuration. // Note: This field may return null, indicating that no valid values can be obtained. FaceEnhance *FaceEnhanceConfig `json:"FaceEnhance,omitnil,omitempty" 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,omitempty" name:"LowLightEnhance"` // Banding removal configuration. // Note: This field may return null, indicating that no valid values can be obtained. ScratchRepair *ScratchRepairConfig `json:"ScratchRepair,omitnil,omitempty" 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,omitempty" name:"ArtifactRepair"` }
type VideoTemplateInfo ¶
type VideoTemplateInfo struct { // Video stream encoding format. Valid values: // <li>h264: H.264 encoding.</li> // <li>h265: H.265 encoding.</li> // <li>h266: H.266 encoding.</li> // <li>av1: AOMedia Video 1 encoding.</li> // <li>vp8: VP8 encoding.</li> // <li>vp9: VP9 encoding.</li> // <li>mpeg2: MPEG2 encoding.</li> // <li>dnxhd: DNxHD encoding.</li> // <li>mv-hevc: MV-HEVC encoding.</li> // Note: A resolution within 640x480 should be specified for H.265 encoding. // // Note: AV1 encoding containers only support mp4, webm, and mkv. // Note: H.266 encoding containers only support mp4, hls, ts, and mov. // Note: VP8 and VP9 encoding containers only support webm and mkv. // Note: MPEG2 and DNxHD encoding containers only support mxf. // Note: MV-HEVC encoding containers only support mp4, hls, and mov. Among them, the hls format only supports mp4 segmentation format. Codec *string `json:"Codec,omitnil,omitempty" name:"Codec"` // Video frame rate. Value range: // When FpsDenominator is empty, the range is [0, 120], in Hz. // When FpsDenominator is not empty, the Fps/FpsDenominator range is [0, 120]. // If the value is 0, the frame rate will be the same as that of the source video. Fps *int64 `json:"Fps,omitnil,omitempty" name:"Fps"` // Bitrate of a video stream, in kbps. Value range: 0 and [128, 100000].If the value is 0, the bitrate of the video will be the same as that of the source video. Bitrate *int64 `json:"Bitrate,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"Height"` // Interval between I-frames, in frames. Value range: 0 and [1, 100000]. When it is set to 0 or not set, the system will automatically set the gop length. Gop *uint64 `json:"Gop,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Vcrf"` // HLS segment type. Valid values: // <li>0: HLS+TS segment.</li> // <li>2: HLS+TS byte range.</li> // <li>7: HLS+MP4 segment.</li> // <li>5: HLS+MP4 byte range.</li> // Default value: 0 // // Note: This field may return null, indicating that no valid values can be obtained. SegmentType *int64 `json:"SegmentType,omitnil,omitempty" name:"SegmentType"` // Denominator of the frame rate. // Note: The value must be greater than 0. // Note: This field may return null, indicating that no valid values can be obtained. FpsDenominator *int64 `json:"FpsDenominator,omitnil,omitempty" name:"FpsDenominator"` // 3D video splicing mode, which is only valid for MV-HEVC 3D videos. Valid values: // <li>side_by_side: side-by-side view.</li> // <li>top_bottom: top-bottom view.</li> // Default value: side_by_side. // Note: This field may return null, indicating that no valid values can be obtained. Stereo3dType *string `json:"Stereo3dType,omitnil,omitempty" name:"Stereo3dType"` }
type VideoTemplateInfoForUpdate ¶
type VideoTemplateInfoForUpdate struct { // Video stream encoding format. Valid values: // <li>h264: H.264 encoding.</li> // <li>h265: H.265 encoding.</li> // <li>h266: H.266 encoding.</li> // <li>av1: AOMedia Video 1 encoding.</li> // <li>vp8: VP8 encoding.</li> // <li>vp9: VP9 encoding.</li> // <li>mpeg2: MPEG2 encoding.</li> // <li>dnxhd: DNxHD encoding.</li> // <li>mv-hevc: MV-HEVC encoding.</li> // Note: A resolution within 640x480 should be specified for H.265 encoding. // // Note: AV1 encoding containers only support mp4, webm, and mkv. // Note: H.266 encoding containers only support mp4, hls, ts, and mov. // Note: VP8 and VP9 encoding containers only support webm and mkv. // Note: MPEG2 and DNxHD encoding containers only support mxf. // Note: MV-HEVC encoding containers only support mp4, hls, and mov. Among them, the hls format only supports mp4 segmentation format.Note: This field may return null, indicating that no valid values can be obtained. Codec *string `json:"Codec,omitnil,omitempty" name:"Codec"` // Video frame rate. Value range: // When FpsDenominator is empty, the range is [0, 120], in Hz. // When FpsDenominator is not empty, the Fps/FpsDenominator range is [0, 120]. // If the value is 0, the frame rate will be the same as that of the source video.Note: This field may return null, indicating that no valid values can be obtained. Fps *int64 `json:"Fps,omitnil,omitempty" name:"Fps"` // Bitrate of a video stream, in kbps. Value range: 0 and [128, 100000].If the value is 0, the bitrate of the video will be the same as that of the source video.Note: This field may return null, indicating that no valid values can be obtained. Bitrate *int64 `json:"Bitrate,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"ContentAdaptStream"` // HLS segment type. Valid values: // <li>0: HLS+TS segment.</li> // <li>2: HLS+TS byte range.</li> // <li>7: HLS+MP4 segment.</li> // <li>5: HLS+MP4 byte range.</li> // Default value: 0 // // Note: This field may return null, indicating that no valid values can be obtained. SegmentType *int64 `json:"SegmentType,omitnil,omitempty" name:"SegmentType"` // Denominator of the frame rate. // Note: The value must be greater than 0. // Note: This field may return null, indicating that no valid values can be obtained. FpsDenominator *int64 `json:"FpsDenominator,omitnil,omitempty" name:"FpsDenominator"` // 3D video splicing mode, which is only valid for MV-HEVC 3D videos. Valid values: // <li>side_by_side: side-by-side view.</li> // <li>top_bottom: top-bottom view.</li> // Default value: side_by_side. // Note: This field may return null, indicating that no valid values can be obtained. Stereo3dType *string `json:"Stereo3dType,omitnil,omitempty" name:"Stereo3dType"` }
type VolumeBalanceConfig ¶
type VolumeBalanceConfig struct { // Whether to enable the feature. Valid values: // <li>`ON`</li> // <li>`OFF` </li> // Default value: `ON`. Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // The type. Valid values: // <li>`loudNorm`: Loudness normalization.</li> // <li>`gainControl`: Volume leveling.</li> // Default value: `loudNorm`. // Note: This field may return·null, indicating that no valid values can be obtained. Type *string `json:"Type,omitnil,omitempty" name:"Type"` }
type WatermarkInput ¶
type WatermarkInput struct { // ID of a watermarking template. Definition *uint64 `json:"Definition,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"SvgContent"` // Start time offset of a watermark, in seconds. If not set or set to 0, a watermark starts appearing when a video starts. // <li>If not set or set to 0, a watermark starts appearing when a video starts.</li> // <li>If the value is greater than 0 (for example, n), a watermark will appear at second n of a video.</li> // <li>If the value is less than 0 (for example, -n), a watermark will appear n seconds before the end of a video.</li> // // Note: It is only used for video scenarios. Screenshots are not supported. StartTimeOffset *float64 `json:"StartTimeOffset,omitnil,omitempty" name:"StartTimeOffset"` // End time offset of a watermark, in seconds. // <li>If not set or set to 0, a watermark will last until the end of a video.</li> // <li>If the value is greater than 0 (for example, n), a watermark will disappear at second n.</li> // <li>If the value is less than 0 (for example, -n), a watermark will disappear n seconds before the end of a video.</li> // // Note: It is only used for video scenarios. Screenshots are not supported. EndTimeOffset *float64 `json:"EndTimeOffset,omitnil,omitempty" name:"EndTimeOffset"` }
type WatermarkTemplate ¶
type WatermarkTemplate struct { // Unique ID of a watermarking template. Definition *int64 `json:"Definition,omitnil,omitempty" name:"Definition"` // Watermark type. Valid values: // <li>image: Image watermark;</li> // <li>text: Text watermark.</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Name of a watermarking template. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Template description. Comment *string `json:"Comment,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"CoordinateOrigin"` }
type WorkflowInfo ¶
type WorkflowInfo struct { // Workflow ID. WorkflowId *int64 `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"` // Workflow name. WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"` // Workflow status. Valid values: // <li>Enabled: Enabled,</li> // <li>Disabled: Disabled.</li> Status *string `json:"Status,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"AiContentReviewTask"` // Video content analysis task parameter. AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"TaskPriority"` // The directory to save the media processing output file, such as `/movie/201907/`. OutputDir *string `json:"OutputDir,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"UpdateTime"` }
type WorkflowTask ¶
type WorkflowTask struct { // The media processing task ID. TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // Task flow status. Valid values: // <li>PROCESSING: Processing;</li> // <li>FINISH: Completed.</li> Status *string `json:"Status,omitnil,omitempty" 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,omitempty" name:"ErrCode"` // Except those for source errors, error messages vary with task type. Message *string `json:"Message,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"MetaData"` // The execution status and result of the media processing task. MediaProcessResultSet []*MediaProcessTaskResult `json:"MediaProcessResultSet,omitnil,omitempty" name:"MediaProcessResultSet"` // Execution status and result of a video content audit task. AiContentReviewResultSet []*AiContentReviewResult `json:"AiContentReviewResultSet,omitnil,omitempty" name:"AiContentReviewResultSet"` // Execution status and result of video content analysis task. AiAnalysisResultSet []*AiAnalysisResult `json:"AiAnalysisResultSet,omitnil,omitempty" name:"AiAnalysisResultSet"` // Execution status and result of a video content recognition task. AiRecognitionResultSet []*AiRecognitionResult `json:"AiRecognitionResultSet,omitnil,omitempty" name:"AiRecognitionResultSet"` // Execution status and results of a media quality inspection task. // Note: This field may return null, indicating that no valid values can be obtained. AiQualityControlTaskResult *ScheduleQualityControlTaskResult `json:"AiQualityControlTaskResult,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"AwsS3FileUploadTrigger"` }