Class: TencentCloud::Mps::V20190612::Client
- Inherits:
-
Common::AbstractClient
- Object
- Common::AbstractClient
- TencentCloud::Mps::V20190612::Client
- Defined in:
- lib/v20190612/client.rb
Instance Method Summary collapse
-
#BatchDeleteStreamLinkFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::BatchDeleteStreamLinkFlowResponse`.
-
#BatchProcessMedia(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::BatchProcessMediaResponse`.
-
#BatchStartStreamLinkFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::BatchStartStreamLinkFlowResponse`.
-
#BatchStopStreamLinkFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::BatchStopStreamLinkFlowResponse`.
-
#CreateAdaptiveDynamicStreamingTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateAdaptiveDynamicStreamingTemplateResponse`.
-
#CreateAIAnalysisTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateAIAnalysisTemplateResponse`.
-
#CreateAIRecognitionTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateAIRecognitionTemplateResponse`.
-
#CreateAnimatedGraphicsTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateAnimatedGraphicsTemplateResponse`.
-
#CreateAsrHotwords(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateAsrHotwordsResponse`.
-
#CreateContentReviewTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateContentReviewTemplateResponse`.
-
#CreateImageSpriteTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateImageSpriteTemplateResponse`.
-
#CreateLiveRecordTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateLiveRecordTemplateResponse`.
-
#CreateMediaEvaluation(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateMediaEvaluationResponse`.
-
#CreatePersonSample(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreatePersonSampleResponse`.
-
#CreateQualityControlTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateQualityControlTemplateResponse`.
-
#CreateSampleSnapshotTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateSampleSnapshotTemplateResponse`.
-
#CreateSchedule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateScheduleResponse`.
-
#CreateSmartSubtitleTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateSmartSubtitleTemplateResponse`.
-
#CreateSnapshotByTimeOffsetTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateSnapshotByTimeOffsetTemplateResponse`.
-
#CreateStreamLinkEvent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateStreamLinkEventResponse`.
-
#CreateStreamLinkFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateStreamLinkFlowResponse`.
-
#CreateStreamLinkInput(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateStreamLinkInputResponse`.
-
#CreateStreamLinkOutputInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateStreamLinkOutputInfoResponse`.
-
#CreateStreamLinkSecurityGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateStreamLinkSecurityGroupResponse`.
-
#CreateTranscodeTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateTranscodeTemplateResponse`.
-
#CreateVideoDatabaseEntryTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateVideoDatabaseEntryTaskResponse`.
-
#CreateVideoSearchTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateVideoSearchTaskResponse`.
-
#CreateWatermarkTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateWatermarkTemplateResponse`.
-
#CreateWordSamples(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateWordSamplesResponse`.
-
#CreateWorkflow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateWorkflowResponse`.
-
#DeleteAdaptiveDynamicStreamingTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteAdaptiveDynamicStreamingTemplateResponse`.
-
#DeleteAIAnalysisTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteAIAnalysisTemplateResponse`.
-
#DeleteAIRecognitionTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteAIRecognitionTemplateResponse`.
-
#DeleteAnimatedGraphicsTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteAnimatedGraphicsTemplateResponse`.
-
#DeleteAsrHotwords(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteAsrHotwordsResponse`.
-
#DeleteContentReviewTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteContentReviewTemplateResponse`.
-
#DeleteImageSpriteTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteImageSpriteTemplateResponse`.
-
#DeleteLiveRecordTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteLiveRecordTemplateResponse`.
-
#DeletePersonSample(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeletePersonSampleResponse`.
-
#DeleteQualityControlTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteQualityControlTemplateResponse`.
-
#DeleteSampleSnapshotTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteSampleSnapshotTemplateResponse`.
-
#DeleteSchedule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteScheduleResponse`.
-
#DeleteSmartSubtitleTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteSmartSubtitleTemplateResponse`.
-
#DeleteSnapshotByTimeOffsetTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteSnapshotByTimeOffsetTemplateResponse`.
-
#DeleteStreamLinkEvent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteStreamLinkEventResponse`.
-
#DeleteStreamLinkFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteStreamLinkFlowResponse`.
-
#DeleteStreamLinkOutput(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteStreamLinkOutputResponse`.
-
#DeleteStreamLinkSecurityGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteStreamLinkSecurityGroupResponse`.
-
#DeleteTranscodeTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteTranscodeTemplateResponse`.
-
#DeleteWatermarkTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteWatermarkTemplateResponse`.
-
#DeleteWordSamples(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteWordSamplesResponse`.
-
#DeleteWorkflow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteWorkflowResponse`.
-
#DescribeAdaptiveDynamicStreamingTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeAdaptiveDynamicStreamingTemplatesResponse`.
-
#DescribeAIAnalysisTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeAIAnalysisTemplatesResponse`.
-
#DescribeAIRecognitionTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeAIRecognitionTemplatesResponse`.
-
#DescribeAnimatedGraphicsTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeAnimatedGraphicsTemplatesResponse`.
-
#DescribeAsrHotwords(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeAsrHotwordsResponse`.
-
#DescribeAsrHotwordsList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeAsrHotwordsListResponse`.
-
#DescribeBatchTaskDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeBatchTaskDetailResponse`.
-
#DescribeContentReviewTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeContentReviewTemplatesResponse`.
-
#DescribeGroupAttachFlowsById(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeGroupAttachFlowsByIdResponse`.
-
#DescribeImageSpriteTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeImageSpriteTemplatesResponse`.
-
#DescribeImageTaskDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeImageTaskDetailResponse`.
-
#DescribeLiveRecordTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeLiveRecordTemplatesResponse`.
-
#DescribeMediaMetaData(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeMediaMetaDataResponse`.
-
#DescribePersonSamples(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribePersonSamplesResponse`.
-
#DescribeQualityControlTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeQualityControlTemplatesResponse`.
-
#DescribeSampleSnapshotTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeSampleSnapshotTemplatesResponse`.
-
#DescribeSchedules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeSchedulesResponse`.
-
#DescribeSmartSubtitleTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeSmartSubtitleTemplatesResponse`.
-
#DescribeSnapshotByTimeOffsetTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeSnapshotByTimeOffsetTemplatesResponse`.
-
#DescribeStreamLinkActivateState(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeStreamLinkActivateStateResponse`.
-
#DescribeStreamLinkEvent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeStreamLinkEventResponse`.
-
#DescribeStreamLinkEventAttachedFlows(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeStreamLinkEventAttachedFlowsResponse`.
-
#DescribeStreamLinkEvents(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeStreamLinkEventsResponse`.
-
#DescribeStreamLinkFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeStreamLinkFlowResponse`.
-
#DescribeStreamLinkFlowLogs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeStreamLinkFlowLogsResponse`.
-
#DescribeStreamLinkFlowMediaStatistics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeStreamLinkFlowMediaStatisticsResponse`.
-
#DescribeStreamLinkFlowRealtimeStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeStreamLinkFlowRealtimeStatusResponse`.
-
#DescribeStreamLinkFlows(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeStreamLinkFlowsResponse`.
-
#DescribeStreamLinkFlowSRTStatistics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeStreamLinkFlowSRTStatisticsResponse`.
-
#DescribeStreamLinkFlowStatistics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeStreamLinkFlowStatisticsResponse`.
-
#DescribeStreamLinkRegions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeStreamLinkRegionsResponse`.
-
#DescribeStreamLinkSecurityGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeStreamLinkSecurityGroupsResponse`.
-
#DescribeTaskDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeTaskDetailResponse`.
-
#DescribeTasks(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeTasksResponse`.
-
#DescribeTranscodeTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeTranscodeTemplatesResponse`.
-
#DescribeVideoDatabaseEntryTaskDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeVideoDatabaseEntryTaskDetailResponse`.
-
#DescribeVideoSearchTaskDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeVideoSearchTaskDetailResponse`.
-
#DescribeWatermarkTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeWatermarkTemplatesResponse`.
-
#DescribeWordSamples(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeWordSamplesResponse`.
-
#DescribeWorkflows(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeWorkflowsResponse`.
-
#DisableSchedule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DisableScheduleResponse`.
-
#DisableWorkflow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DisableWorkflowResponse`.
-
#DisassociateSecurityGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DisassociateSecurityGroupResponse`.
-
#EditMedia(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::EditMediaResponse`.
-
#EnableSchedule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::EnableScheduleResponse`.
-
#EnableWorkflow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::EnableWorkflowResponse`.
-
#ExecuteFunction(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ExecuteFunctionResponse`.
-
#initialize(credential, region, profile = nil) ⇒ Client
constructor
A new instance of Client.
-
#ManageTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ManageTaskResponse`.
-
#ModifyAdaptiveDynamicStreamingTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyAdaptiveDynamicStreamingTemplateResponse`.
-
#ModifyAIAnalysisTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyAIAnalysisTemplateResponse`.
-
#ModifyAIRecognitionTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyAIRecognitionTemplateResponse`.
-
#ModifyAnimatedGraphicsTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyAnimatedGraphicsTemplateResponse`.
-
#ModifyAsrHotwords(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyAsrHotwordsResponse`.
-
#ModifyContentReviewTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyContentReviewTemplateResponse`.
-
#ModifyImageSpriteTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyImageSpriteTemplateResponse`.
-
#ModifyLiveRecordTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyLiveRecordTemplateResponse`.
-
#ModifyPersonSample(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyPersonSampleResponse`.
-
#ModifyQualityControlTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyQualityControlTemplateResponse`.
-
#ModifySampleSnapshotTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifySampleSnapshotTemplateResponse`.
-
#ModifySchedule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyScheduleResponse`.
-
#ModifySmartSubtitleTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifySmartSubtitleTemplateResponse`.
-
#ModifySnapshotByTimeOffsetTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifySnapshotByTimeOffsetTemplateResponse`.
-
#ModifyStreamLinkEvent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyStreamLinkEventResponse`.
-
#ModifyStreamLinkFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyStreamLinkFlowResponse`.
-
#ModifyStreamLinkInput(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyStreamLinkInputResponse`.
-
#ModifyStreamLinkOutputInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyStreamLinkOutputInfoResponse`.
-
#ModifyStreamLinkSecurityGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyStreamLinkSecurityGroupResponse`.
-
#ModifyTranscodeTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyTranscodeTemplateResponse`.
-
#ModifyWatermarkTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyWatermarkTemplateResponse`.
-
#ModifyWordSample(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyWordSampleResponse`.
-
#ParseLiveStreamProcessNotification(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ParseLiveStreamProcessNotificationResponse`.
-
#ParseNotification(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ParseNotificationResponse`.
-
#ProcessImage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ProcessImageResponse`.
-
#ProcessLiveStream(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ProcessLiveStreamResponse`.
-
#ProcessMedia(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ProcessMediaResponse`.
-
#RecognizeMediaForZhiXue(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::RecognizeMediaForZhiXueResponse`.
-
#ResetWorkflow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ResetWorkflowResponse`.
-
#StartStreamLinkFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::StartStreamLinkFlowResponse`.
-
#StopStreamLinkFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::StopStreamLinkFlowResponse`.
-
#WithdrawsWatermark(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::WithdrawsWatermarkResponse`.
Constructor Details
#initialize(credential, region, profile = nil) ⇒ Client
Returns a new instance of Client.
24 25 26 27 28 29 |
# File 'lib/v20190612/client.rb', line 24 def initialize(credential, region, profile = nil) api_version = '2019-06-12' api_endpoint = 'mps.tencentcloudapi.com' sdk_version = 'MPS_' + File.read(File.('../VERSION', __dir__)).strip super(credential, region, api_version, api_endpoint, sdk_version, profile) end |
Instance Method Details
#BatchDeleteStreamLinkFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::BatchDeleteStreamLinkFlowResponse`
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/v20190612/client.rb', line 37 def BatchDeleteStreamLinkFlow(request) body = send_request('BatchDeleteStreamLinkFlow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BatchDeleteStreamLinkFlowResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#BatchProcessMedia(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::BatchProcessMediaResponse`
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
# File 'lib/v20190612/client.rb', line 62 def BatchProcessMedia(request) body = send_request('BatchProcessMedia', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BatchProcessMediaResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#BatchStartStreamLinkFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::BatchStartStreamLinkFlowResponse`
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
# File 'lib/v20190612/client.rb', line 86 def BatchStartStreamLinkFlow(request) body = send_request('BatchStartStreamLinkFlow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BatchStartStreamLinkFlowResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#BatchStopStreamLinkFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::BatchStopStreamLinkFlowResponse`
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
# File 'lib/v20190612/client.rb', line 110 def BatchStopStreamLinkFlow(request) body = send_request('BatchStopStreamLinkFlow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BatchStopStreamLinkFlowResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateAdaptiveDynamicStreamingTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateAdaptiveDynamicStreamingTemplateResponse`
182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 |
# File 'lib/v20190612/client.rb', line 182 def CreateAdaptiveDynamicStreamingTemplate(request) body = send_request('CreateAdaptiveDynamicStreamingTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateAdaptiveDynamicStreamingTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateAIAnalysisTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateAIAnalysisTemplateResponse`
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'lib/v20190612/client.rb', line 134 def CreateAIAnalysisTemplate(request) body = send_request('CreateAIAnalysisTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateAIAnalysisTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateAIRecognitionTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateAIRecognitionTemplateResponse`
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 |
# File 'lib/v20190612/client.rb', line 158 def CreateAIRecognitionTemplate(request) body = send_request('CreateAIRecognitionTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateAIRecognitionTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateAnimatedGraphicsTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateAnimatedGraphicsTemplateResponse`
206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 |
# File 'lib/v20190612/client.rb', line 206 def CreateAnimatedGraphicsTemplate(request) body = send_request('CreateAnimatedGraphicsTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateAnimatedGraphicsTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateAsrHotwords(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateAsrHotwordsResponse`
230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 |
# File 'lib/v20190612/client.rb', line 230 def CreateAsrHotwords(request) body = send_request('CreateAsrHotwords', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateAsrHotwordsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateContentReviewTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateContentReviewTemplateResponse`
254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 |
# File 'lib/v20190612/client.rb', line 254 def CreateContentReviewTemplate(request) body = send_request('CreateContentReviewTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateContentReviewTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateImageSpriteTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateImageSpriteTemplateResponse`
278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 |
# File 'lib/v20190612/client.rb', line 278 def CreateImageSpriteTemplate(request) body = send_request('CreateImageSpriteTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateImageSpriteTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateLiveRecordTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateLiveRecordTemplateResponse`
302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 |
# File 'lib/v20190612/client.rb', line 302 def CreateLiveRecordTemplate(request) body = send_request('CreateLiveRecordTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateLiveRecordTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateMediaEvaluation(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateMediaEvaluationResponse`
329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 |
# File 'lib/v20190612/client.rb', line 329 def CreateMediaEvaluation(request) body = send_request('CreateMediaEvaluation', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateMediaEvaluationResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreatePersonSample(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreatePersonSampleResponse`
353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 |
# File 'lib/v20190612/client.rb', line 353 def CreatePersonSample(request) body = send_request('CreatePersonSample', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreatePersonSampleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateQualityControlTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateQualityControlTemplateResponse`
377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 |
# File 'lib/v20190612/client.rb', line 377 def CreateQualityControlTemplate(request) body = send_request('CreateQualityControlTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateQualityControlTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateSampleSnapshotTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateSampleSnapshotTemplateResponse`
401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 |
# File 'lib/v20190612/client.rb', line 401 def CreateSampleSnapshotTemplate(request) body = send_request('CreateSampleSnapshotTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateSampleSnapshotTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateSchedule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateScheduleResponse`
439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'lib/v20190612/client.rb', line 439 def CreateSchedule(request) body = send_request('CreateSchedule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateScheduleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateSmartSubtitleTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateSmartSubtitleTemplateResponse`
463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 |
# File 'lib/v20190612/client.rb', line 463 def CreateSmartSubtitleTemplate(request) body = send_request('CreateSmartSubtitleTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateSmartSubtitleTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateSnapshotByTimeOffsetTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateSnapshotByTimeOffsetTemplateResponse`
487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 |
# File 'lib/v20190612/client.rb', line 487 def CreateSnapshotByTimeOffsetTemplate(request) body = send_request('CreateSnapshotByTimeOffsetTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateSnapshotByTimeOffsetTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateStreamLinkEvent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateStreamLinkEventResponse`
511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 |
# File 'lib/v20190612/client.rb', line 511 def CreateStreamLinkEvent(request) body = send_request('CreateStreamLinkEvent', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateStreamLinkEventResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateStreamLinkFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateStreamLinkFlowResponse`
535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 |
# File 'lib/v20190612/client.rb', line 535 def CreateStreamLinkFlow(request) body = send_request('CreateStreamLinkFlow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateStreamLinkFlowResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateStreamLinkInput(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateStreamLinkInputResponse`
559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 |
# File 'lib/v20190612/client.rb', line 559 def CreateStreamLinkInput(request) body = send_request('CreateStreamLinkInput', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateStreamLinkInputResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateStreamLinkOutputInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateStreamLinkOutputInfoResponse`
583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 |
# File 'lib/v20190612/client.rb', line 583 def CreateStreamLinkOutputInfo(request) body = send_request('CreateStreamLinkOutputInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateStreamLinkOutputInfoResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateStreamLinkSecurityGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateStreamLinkSecurityGroupResponse`
607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 |
# File 'lib/v20190612/client.rb', line 607 def CreateStreamLinkSecurityGroup(request) body = send_request('CreateStreamLinkSecurityGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateStreamLinkSecurityGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateTranscodeTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateTranscodeTemplateResponse`
631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 |
# File 'lib/v20190612/client.rb', line 631 def CreateTranscodeTemplate(request) body = send_request('CreateTranscodeTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateTranscodeTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateVideoDatabaseEntryTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateVideoDatabaseEntryTaskResponse`
656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 |
# File 'lib/v20190612/client.rb', line 656 def CreateVideoDatabaseEntryTask(request) body = send_request('CreateVideoDatabaseEntryTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateVideoDatabaseEntryTaskResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateVideoSearchTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateVideoSearchTaskResponse`
680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 |
# File 'lib/v20190612/client.rb', line 680 def CreateVideoSearchTask(request) body = send_request('CreateVideoSearchTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateVideoSearchTaskResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateWatermarkTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateWatermarkTemplateResponse`
704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 |
# File 'lib/v20190612/client.rb', line 704 def CreateWatermarkTemplate(request) body = send_request('CreateWatermarkTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateWatermarkTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateWordSamples(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateWordSamplesResponse`
728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 |
# File 'lib/v20190612/client.rb', line 728 def CreateWordSamples(request) body = send_request('CreateWordSamples', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateWordSamplesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateWorkflow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::CreateWorkflowResponse`
763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 |
# File 'lib/v20190612/client.rb', line 763 def CreateWorkflow(request) body = send_request('CreateWorkflow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateWorkflowResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteAdaptiveDynamicStreamingTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteAdaptiveDynamicStreamingTemplateResponse`
837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 |
# File 'lib/v20190612/client.rb', line 837 def DeleteAdaptiveDynamicStreamingTemplate(request) body = send_request('DeleteAdaptiveDynamicStreamingTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteAdaptiveDynamicStreamingTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteAIAnalysisTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteAIAnalysisTemplateResponse`
789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 |
# File 'lib/v20190612/client.rb', line 789 def DeleteAIAnalysisTemplate(request) body = send_request('DeleteAIAnalysisTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteAIAnalysisTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteAIRecognitionTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteAIRecognitionTemplateResponse`
813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 |
# File 'lib/v20190612/client.rb', line 813 def DeleteAIRecognitionTemplate(request) body = send_request('DeleteAIRecognitionTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteAIRecognitionTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteAnimatedGraphicsTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteAnimatedGraphicsTemplateResponse`
861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 |
# File 'lib/v20190612/client.rb', line 861 def DeleteAnimatedGraphicsTemplate(request) body = send_request('DeleteAnimatedGraphicsTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteAnimatedGraphicsTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteAsrHotwords(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteAsrHotwordsResponse`
885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 |
# File 'lib/v20190612/client.rb', line 885 def DeleteAsrHotwords(request) body = send_request('DeleteAsrHotwords', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteAsrHotwordsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteContentReviewTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteContentReviewTemplateResponse`
909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 |
# File 'lib/v20190612/client.rb', line 909 def DeleteContentReviewTemplate(request) body = send_request('DeleteContentReviewTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteContentReviewTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteImageSpriteTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteImageSpriteTemplateResponse`
933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 |
# File 'lib/v20190612/client.rb', line 933 def DeleteImageSpriteTemplate(request) body = send_request('DeleteImageSpriteTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteImageSpriteTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteLiveRecordTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteLiveRecordTemplateResponse`
957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 |
# File 'lib/v20190612/client.rb', line 957 def DeleteLiveRecordTemplate(request) body = send_request('DeleteLiveRecordTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteLiveRecordTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeletePersonSample(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeletePersonSampleResponse`
981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 |
# File 'lib/v20190612/client.rb', line 981 def DeletePersonSample(request) body = send_request('DeletePersonSample', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeletePersonSampleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteQualityControlTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteQualityControlTemplateResponse`
1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 |
# File 'lib/v20190612/client.rb', line 1005 def DeleteQualityControlTemplate(request) body = send_request('DeleteQualityControlTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteQualityControlTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteSampleSnapshotTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteSampleSnapshotTemplateResponse`
1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 |
# File 'lib/v20190612/client.rb', line 1029 def DeleteSampleSnapshotTemplate(request) body = send_request('DeleteSampleSnapshotTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteSampleSnapshotTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteSchedule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteScheduleResponse`
1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 |
# File 'lib/v20190612/client.rb', line 1053 def DeleteSchedule(request) body = send_request('DeleteSchedule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteScheduleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteSmartSubtitleTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteSmartSubtitleTemplateResponse`
1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 |
# File 'lib/v20190612/client.rb', line 1077 def DeleteSmartSubtitleTemplate(request) body = send_request('DeleteSmartSubtitleTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteSmartSubtitleTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteSnapshotByTimeOffsetTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteSnapshotByTimeOffsetTemplateResponse`
1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 |
# File 'lib/v20190612/client.rb', line 1101 def DeleteSnapshotByTimeOffsetTemplate(request) body = send_request('DeleteSnapshotByTimeOffsetTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteSnapshotByTimeOffsetTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteStreamLinkEvent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteStreamLinkEventResponse`
1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 |
# File 'lib/v20190612/client.rb', line 1125 def DeleteStreamLinkEvent(request) body = send_request('DeleteStreamLinkEvent', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteStreamLinkEventResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteStreamLinkFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteStreamLinkFlowResponse`
1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 |
# File 'lib/v20190612/client.rb', line 1149 def DeleteStreamLinkFlow(request) body = send_request('DeleteStreamLinkFlow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteStreamLinkFlowResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteStreamLinkOutput(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteStreamLinkOutputResponse`
1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 |
# File 'lib/v20190612/client.rb', line 1173 def DeleteStreamLinkOutput(request) body = send_request('DeleteStreamLinkOutput', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteStreamLinkOutputResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteStreamLinkSecurityGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteStreamLinkSecurityGroupResponse`
1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 |
# File 'lib/v20190612/client.rb', line 1197 def DeleteStreamLinkSecurityGroup(request) body = send_request('DeleteStreamLinkSecurityGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteStreamLinkSecurityGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteTranscodeTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteTranscodeTemplateResponse`
1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 |
# File 'lib/v20190612/client.rb', line 1221 def DeleteTranscodeTemplate(request) body = send_request('DeleteTranscodeTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteTranscodeTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteWatermarkTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteWatermarkTemplateResponse`
1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 |
# File 'lib/v20190612/client.rb', line 1245 def DeleteWatermarkTemplate(request) body = send_request('DeleteWatermarkTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteWatermarkTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteWordSamples(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteWordSamplesResponse`
1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 |
# File 'lib/v20190612/client.rb', line 1269 def DeleteWordSamples(request) body = send_request('DeleteWordSamples', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteWordSamplesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteWorkflow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DeleteWorkflowResponse`
1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 |
# File 'lib/v20190612/client.rb', line 1293 def DeleteWorkflow(request) body = send_request('DeleteWorkflow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteWorkflowResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAdaptiveDynamicStreamingTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeAdaptiveDynamicStreamingTemplatesResponse`
1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 |
# File 'lib/v20190612/client.rb', line 1365 def DescribeAdaptiveDynamicStreamingTemplates(request) body = send_request('DescribeAdaptiveDynamicStreamingTemplates', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAdaptiveDynamicStreamingTemplatesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAIAnalysisTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeAIAnalysisTemplatesResponse`
1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 |
# File 'lib/v20190612/client.rb', line 1317 def DescribeAIAnalysisTemplates(request) body = send_request('DescribeAIAnalysisTemplates', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAIAnalysisTemplatesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAIRecognitionTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeAIRecognitionTemplatesResponse`
1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 |
# File 'lib/v20190612/client.rb', line 1341 def DescribeAIRecognitionTemplates(request) body = send_request('DescribeAIRecognitionTemplates', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAIRecognitionTemplatesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAnimatedGraphicsTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeAnimatedGraphicsTemplatesResponse`
1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 |
# File 'lib/v20190612/client.rb', line 1389 def DescribeAnimatedGraphicsTemplates(request) body = send_request('DescribeAnimatedGraphicsTemplates', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAnimatedGraphicsTemplatesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAsrHotwords(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeAsrHotwordsResponse`
1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 |
# File 'lib/v20190612/client.rb', line 1413 def DescribeAsrHotwords(request) body = send_request('DescribeAsrHotwords', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAsrHotwordsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAsrHotwordsList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeAsrHotwordsListResponse`
1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 |
# File 'lib/v20190612/client.rb', line 1437 def DescribeAsrHotwordsList(request) body = send_request('DescribeAsrHotwordsList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAsrHotwordsListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeBatchTaskDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeBatchTaskDetailResponse`
1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 |
# File 'lib/v20190612/client.rb', line 1461 def DescribeBatchTaskDetail(request) body = send_request('DescribeBatchTaskDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBatchTaskDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeContentReviewTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeContentReviewTemplatesResponse`
1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 |
# File 'lib/v20190612/client.rb', line 1485 def DescribeContentReviewTemplates(request) body = send_request('DescribeContentReviewTemplates', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeContentReviewTemplatesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeGroupAttachFlowsById(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeGroupAttachFlowsByIdResponse`
1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 |
# File 'lib/v20190612/client.rb', line 1509 def DescribeGroupAttachFlowsById(request) body = send_request('DescribeGroupAttachFlowsById', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeGroupAttachFlowsByIdResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeImageSpriteTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeImageSpriteTemplatesResponse`
1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 |
# File 'lib/v20190612/client.rb', line 1533 def DescribeImageSpriteTemplates(request) body = send_request('DescribeImageSpriteTemplates', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeImageSpriteTemplatesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeImageTaskDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeImageTaskDetailResponse`
1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 |
# File 'lib/v20190612/client.rb', line 1557 def DescribeImageTaskDetail(request) body = send_request('DescribeImageTaskDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeImageTaskDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeLiveRecordTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeLiveRecordTemplatesResponse`
1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 |
# File 'lib/v20190612/client.rb', line 1581 def DescribeLiveRecordTemplates(request) body = send_request('DescribeLiveRecordTemplates', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeLiveRecordTemplatesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeMediaMetaData(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeMediaMetaDataResponse`
1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 |
# File 'lib/v20190612/client.rb', line 1605 def DescribeMediaMetaData(request) body = send_request('DescribeMediaMetaData', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeMediaMetaDataResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePersonSamples(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribePersonSamplesResponse`
1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 |
# File 'lib/v20190612/client.rb', line 1629 def DescribePersonSamples(request) body = send_request('DescribePersonSamples', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePersonSamplesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeQualityControlTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeQualityControlTemplatesResponse`
1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 |
# File 'lib/v20190612/client.rb', line 1653 def DescribeQualityControlTemplates(request) body = send_request('DescribeQualityControlTemplates', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeQualityControlTemplatesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeSampleSnapshotTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeSampleSnapshotTemplatesResponse`
1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 |
# File 'lib/v20190612/client.rb', line 1677 def DescribeSampleSnapshotTemplates(request) body = send_request('DescribeSampleSnapshotTemplates', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSampleSnapshotTemplatesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeSchedules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeSchedulesResponse`
1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 |
# File 'lib/v20190612/client.rb', line 1701 def DescribeSchedules(request) body = send_request('DescribeSchedules', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSchedulesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeSmartSubtitleTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeSmartSubtitleTemplatesResponse`
1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 |
# File 'lib/v20190612/client.rb', line 1725 def DescribeSmartSubtitleTemplates(request) body = send_request('DescribeSmartSubtitleTemplates', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSmartSubtitleTemplatesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeSnapshotByTimeOffsetTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeSnapshotByTimeOffsetTemplatesResponse`
1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 |
# File 'lib/v20190612/client.rb', line 1749 def DescribeSnapshotByTimeOffsetTemplates(request) body = send_request('DescribeSnapshotByTimeOffsetTemplates', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSnapshotByTimeOffsetTemplatesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeStreamLinkActivateState(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeStreamLinkActivateStateResponse`
1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 |
# File 'lib/v20190612/client.rb', line 1773 def DescribeStreamLinkActivateState(request) body = send_request('DescribeStreamLinkActivateState', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeStreamLinkActivateStateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeStreamLinkEvent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeStreamLinkEventResponse`
1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 |
# File 'lib/v20190612/client.rb', line 1797 def DescribeStreamLinkEvent(request) body = send_request('DescribeStreamLinkEvent', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeStreamLinkEventResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeStreamLinkEventAttachedFlows(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeStreamLinkEventAttachedFlowsResponse`
1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 |
# File 'lib/v20190612/client.rb', line 1821 def DescribeStreamLinkEventAttachedFlows(request) body = send_request('DescribeStreamLinkEventAttachedFlows', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeStreamLinkEventAttachedFlowsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeStreamLinkEvents(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeStreamLinkEventsResponse`
1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 |
# File 'lib/v20190612/client.rb', line 1845 def DescribeStreamLinkEvents(request) body = send_request('DescribeStreamLinkEvents', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeStreamLinkEventsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeStreamLinkFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeStreamLinkFlowResponse`
1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 |
# File 'lib/v20190612/client.rb', line 1869 def DescribeStreamLinkFlow(request) body = send_request('DescribeStreamLinkFlow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeStreamLinkFlowResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeStreamLinkFlowLogs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeStreamLinkFlowLogsResponse`
1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 |
# File 'lib/v20190612/client.rb', line 1893 def DescribeStreamLinkFlowLogs(request) body = send_request('DescribeStreamLinkFlowLogs', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeStreamLinkFlowLogsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeStreamLinkFlowMediaStatistics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeStreamLinkFlowMediaStatisticsResponse`
1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 |
# File 'lib/v20190612/client.rb', line 1917 def DescribeStreamLinkFlowMediaStatistics(request) body = send_request('DescribeStreamLinkFlowMediaStatistics', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeStreamLinkFlowMediaStatisticsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeStreamLinkFlowRealtimeStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeStreamLinkFlowRealtimeStatusResponse`
1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 |
# File 'lib/v20190612/client.rb', line 1941 def DescribeStreamLinkFlowRealtimeStatus(request) body = send_request('DescribeStreamLinkFlowRealtimeStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeStreamLinkFlowRealtimeStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeStreamLinkFlows(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeStreamLinkFlowsResponse`
2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 |
# File 'lib/v20190612/client.rb', line 2013 def DescribeStreamLinkFlows(request) body = send_request('DescribeStreamLinkFlows', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeStreamLinkFlowsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeStreamLinkFlowSRTStatistics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeStreamLinkFlowSRTStatisticsResponse`
1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 |
# File 'lib/v20190612/client.rb', line 1965 def DescribeStreamLinkFlowSRTStatistics(request) body = send_request('DescribeStreamLinkFlowSRTStatistics', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeStreamLinkFlowSRTStatisticsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeStreamLinkFlowStatistics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeStreamLinkFlowStatisticsResponse`
1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 |
# File 'lib/v20190612/client.rb', line 1989 def DescribeStreamLinkFlowStatistics(request) body = send_request('DescribeStreamLinkFlowStatistics', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeStreamLinkFlowStatisticsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeStreamLinkRegions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeStreamLinkRegionsResponse`
2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 |
# File 'lib/v20190612/client.rb', line 2037 def DescribeStreamLinkRegions(request) body = send_request('DescribeStreamLinkRegions', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeStreamLinkRegionsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeStreamLinkSecurityGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeStreamLinkSecurityGroupsResponse`
2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 |
# File 'lib/v20190612/client.rb', line 2061 def DescribeStreamLinkSecurityGroups(request) body = send_request('DescribeStreamLinkSecurityGroups', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeStreamLinkSecurityGroupsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTaskDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeTaskDetailResponse`
2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 |
# File 'lib/v20190612/client.rb', line 2085 def DescribeTaskDetail(request) body = send_request('DescribeTaskDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTaskDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTasks(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeTasksResponse`
2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 |
# File 'lib/v20190612/client.rb', line 2111 def DescribeTasks(request) body = send_request('DescribeTasks', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTasksResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTranscodeTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeTranscodeTemplatesResponse`
2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 |
# File 'lib/v20190612/client.rb', line 2135 def DescribeTranscodeTemplates(request) body = send_request('DescribeTranscodeTemplates', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTranscodeTemplatesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeVideoDatabaseEntryTaskDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeVideoDatabaseEntryTaskDetailResponse`
2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 |
# File 'lib/v20190612/client.rb', line 2159 def DescribeVideoDatabaseEntryTaskDetail(request) body = send_request('DescribeVideoDatabaseEntryTaskDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeVideoDatabaseEntryTaskDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeVideoSearchTaskDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeVideoSearchTaskDetailResponse`
2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 |
# File 'lib/v20190612/client.rb', line 2183 def DescribeVideoSearchTaskDetail(request) body = send_request('DescribeVideoSearchTaskDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeVideoSearchTaskDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeWatermarkTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeWatermarkTemplatesResponse`
2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 |
# File 'lib/v20190612/client.rb', line 2207 def DescribeWatermarkTemplates(request) body = send_request('DescribeWatermarkTemplates', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeWatermarkTemplatesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeWordSamples(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeWordSamplesResponse`
2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 |
# File 'lib/v20190612/client.rb', line 2231 def DescribeWordSamples(request) body = send_request('DescribeWordSamples', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeWordSamplesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeWorkflows(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DescribeWorkflowsResponse`
2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 |
# File 'lib/v20190612/client.rb', line 2255 def DescribeWorkflows(request) body = send_request('DescribeWorkflows', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeWorkflowsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DisableSchedule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DisableScheduleResponse`
2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 |
# File 'lib/v20190612/client.rb', line 2279 def DisableSchedule(request) body = send_request('DisableSchedule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DisableScheduleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DisableWorkflow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DisableWorkflowResponse`
2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 |
# File 'lib/v20190612/client.rb', line 2303 def DisableWorkflow(request) body = send_request('DisableWorkflow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DisableWorkflowResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DisassociateSecurityGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::DisassociateSecurityGroupResponse`
2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 |
# File 'lib/v20190612/client.rb', line 2327 def DisassociateSecurityGroup(request) body = send_request('DisassociateSecurityGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DisassociateSecurityGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#EditMedia(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::EditMediaResponse`
2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 |
# File 'lib/v20190612/client.rb', line 2363 def EditMedia(request) body = send_request('EditMedia', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = EditMediaResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#EnableSchedule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::EnableScheduleResponse`
2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 |
# File 'lib/v20190612/client.rb', line 2387 def EnableSchedule(request) body = send_request('EnableSchedule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = EnableScheduleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#EnableWorkflow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::EnableWorkflowResponse`
2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 |
# File 'lib/v20190612/client.rb', line 2411 def EnableWorkflow(request) body = send_request('EnableWorkflow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = EnableWorkflowResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ExecuteFunction(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ExecuteFunctionResponse`
2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 |
# File 'lib/v20190612/client.rb', line 2435 def ExecuteFunction(request) body = send_request('ExecuteFunction', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ExecuteFunctionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ManageTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ManageTaskResponse`
2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 |
# File 'lib/v20190612/client.rb', line 2459 def ManageTask(request) body = send_request('ManageTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ManageTaskResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyAdaptiveDynamicStreamingTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyAdaptiveDynamicStreamingTemplateResponse`
2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 |
# File 'lib/v20190612/client.rb', line 2533 def ModifyAdaptiveDynamicStreamingTemplate(request) body = send_request('ModifyAdaptiveDynamicStreamingTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyAdaptiveDynamicStreamingTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyAIAnalysisTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyAIAnalysisTemplateResponse`
2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 |
# File 'lib/v20190612/client.rb', line 2485 def ModifyAIAnalysisTemplate(request) body = send_request('ModifyAIAnalysisTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyAIAnalysisTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyAIRecognitionTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyAIRecognitionTemplateResponse`
2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 |
# File 'lib/v20190612/client.rb', line 2509 def ModifyAIRecognitionTemplate(request) body = send_request('ModifyAIRecognitionTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyAIRecognitionTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyAnimatedGraphicsTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyAnimatedGraphicsTemplateResponse`
2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 |
# File 'lib/v20190612/client.rb', line 2557 def ModifyAnimatedGraphicsTemplate(request) body = send_request('ModifyAnimatedGraphicsTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyAnimatedGraphicsTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyAsrHotwords(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyAsrHotwordsResponse`
2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 |
# File 'lib/v20190612/client.rb', line 2581 def ModifyAsrHotwords(request) body = send_request('ModifyAsrHotwords', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyAsrHotwordsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyContentReviewTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyContentReviewTemplateResponse`
2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 |
# File 'lib/v20190612/client.rb', line 2605 def ModifyContentReviewTemplate(request) body = send_request('ModifyContentReviewTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyContentReviewTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyImageSpriteTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyImageSpriteTemplateResponse`
2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 |
# File 'lib/v20190612/client.rb', line 2629 def ModifyImageSpriteTemplate(request) body = send_request('ModifyImageSpriteTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyImageSpriteTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyLiveRecordTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyLiveRecordTemplateResponse`
2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 |
# File 'lib/v20190612/client.rb', line 2653 def ModifyLiveRecordTemplate(request) body = send_request('ModifyLiveRecordTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyLiveRecordTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyPersonSample(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyPersonSampleResponse`
2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 |
# File 'lib/v20190612/client.rb', line 2677 def ModifyPersonSample(request) body = send_request('ModifyPersonSample', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyPersonSampleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyQualityControlTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyQualityControlTemplateResponse`
2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 |
# File 'lib/v20190612/client.rb', line 2701 def ModifyQualityControlTemplate(request) body = send_request('ModifyQualityControlTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyQualityControlTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifySampleSnapshotTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifySampleSnapshotTemplateResponse`
2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 |
# File 'lib/v20190612/client.rb', line 2725 def ModifySampleSnapshotTemplate(request) body = send_request('ModifySampleSnapshotTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifySampleSnapshotTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifySchedule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyScheduleResponse`
2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 |
# File 'lib/v20190612/client.rb', line 2749 def ModifySchedule(request) body = send_request('ModifySchedule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyScheduleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifySmartSubtitleTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifySmartSubtitleTemplateResponse`
2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 |
# File 'lib/v20190612/client.rb', line 2773 def ModifySmartSubtitleTemplate(request) body = send_request('ModifySmartSubtitleTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifySmartSubtitleTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifySnapshotByTimeOffsetTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifySnapshotByTimeOffsetTemplateResponse`
2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 |
# File 'lib/v20190612/client.rb', line 2797 def ModifySnapshotByTimeOffsetTemplate(request) body = send_request('ModifySnapshotByTimeOffsetTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifySnapshotByTimeOffsetTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyStreamLinkEvent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyStreamLinkEventResponse`
2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 |
# File 'lib/v20190612/client.rb', line 2821 def ModifyStreamLinkEvent(request) body = send_request('ModifyStreamLinkEvent', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyStreamLinkEventResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyStreamLinkFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyStreamLinkFlowResponse`
2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 |
# File 'lib/v20190612/client.rb', line 2845 def ModifyStreamLinkFlow(request) body = send_request('ModifyStreamLinkFlow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyStreamLinkFlowResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyStreamLinkInput(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyStreamLinkInputResponse`
2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 |
# File 'lib/v20190612/client.rb', line 2869 def ModifyStreamLinkInput(request) body = send_request('ModifyStreamLinkInput', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyStreamLinkInputResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyStreamLinkOutputInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyStreamLinkOutputInfoResponse`
2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 |
# File 'lib/v20190612/client.rb', line 2893 def ModifyStreamLinkOutputInfo(request) body = send_request('ModifyStreamLinkOutputInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyStreamLinkOutputInfoResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyStreamLinkSecurityGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyStreamLinkSecurityGroupResponse`
2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 |
# File 'lib/v20190612/client.rb', line 2917 def ModifyStreamLinkSecurityGroup(request) body = send_request('ModifyStreamLinkSecurityGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyStreamLinkSecurityGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyTranscodeTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyTranscodeTemplateResponse`
2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 |
# File 'lib/v20190612/client.rb', line 2941 def ModifyTranscodeTemplate(request) body = send_request('ModifyTranscodeTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyTranscodeTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyWatermarkTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyWatermarkTemplateResponse`
2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 |
# File 'lib/v20190612/client.rb', line 2965 def ModifyWatermarkTemplate(request) body = send_request('ModifyWatermarkTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyWatermarkTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyWordSample(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ModifyWordSampleResponse`
2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 |
# File 'lib/v20190612/client.rb', line 2989 def ModifyWordSample(request) body = send_request('ModifyWordSample', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyWordSampleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ParseLiveStreamProcessNotification(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ParseLiveStreamProcessNotificationResponse`
3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 |
# File 'lib/v20190612/client.rb', line 3014 def ParseLiveStreamProcessNotification(request) body = send_request('ParseLiveStreamProcessNotification', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ParseLiveStreamProcessNotificationResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ParseNotification(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ParseNotificationResponse`
3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 |
# File 'lib/v20190612/client.rb', line 3039 def ParseNotification(request) body = send_request('ParseNotification', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ParseNotificationResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ProcessImage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ProcessImageResponse`
3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 |
# File 'lib/v20190612/client.rb', line 3066 def ProcessImage(request) body = send_request('ProcessImage', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ProcessImageResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ProcessLiveStream(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ProcessLiveStreamResponse`
3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 |
# File 'lib/v20190612/client.rb', line 3098 def ProcessLiveStream(request) body = send_request('ProcessLiveStream', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ProcessLiveStreamResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ProcessMedia(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ProcessMediaResponse`
3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 |
# File 'lib/v20190612/client.rb', line 3134 def ProcessMedia(request) body = send_request('ProcessMedia', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ProcessMediaResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#RecognizeMediaForZhiXue(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::RecognizeMediaForZhiXueResponse`
3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 |
# File 'lib/v20190612/client.rb', line 3158 def RecognizeMediaForZhiXue(request) body = send_request('RecognizeMediaForZhiXue', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = RecognizeMediaForZhiXueResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ResetWorkflow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::ResetWorkflowResponse`
3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 |
# File 'lib/v20190612/client.rb', line 3182 def ResetWorkflow(request) body = send_request('ResetWorkflow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ResetWorkflowResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#StartStreamLinkFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::StartStreamLinkFlowResponse`
3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 |
# File 'lib/v20190612/client.rb', line 3206 def StartStreamLinkFlow(request) body = send_request('StartStreamLinkFlow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = StartStreamLinkFlowResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#StopStreamLinkFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::StopStreamLinkFlowResponse`
3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 |
# File 'lib/v20190612/client.rb', line 3230 def StopStreamLinkFlow(request) body = send_request('StopStreamLinkFlow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = StopStreamLinkFlowResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#WithdrawsWatermark(request) ⇒ Object
@rtype: :class:‘Tencentcloud::mps::V20190612::WithdrawsWatermarkResponse`
3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 |
# File 'lib/v20190612/client.rb', line 3254 def WithdrawsWatermark(request) body = send_request('WithdrawsWatermark', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = WithdrawsWatermarkResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |