tencentcloud-sdk-mps 3.0.524 → 3.0.526

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3600ba3bf8d690acdbaf4b412cd31b6eb13fcf18
4
- data.tar.gz: 799534bafea7616cbc3c25d8af3884df8eeb7d5e
3
+ metadata.gz: 5f8780f9e167a9b82c51ddcef8c64f58bfe6f277
4
+ data.tar.gz: 5c0f4f10d87ca6b1d2c6bcb9d5040f50a1720a71
5
5
  SHA512:
6
- metadata.gz: 78386b71c7c8e6a4f5183272f15838d6cb7ab63293f6e35e1a1efb4a207638253d72e9108c241697eeb98075179911b2cac3580525e5d97b6b0910b2475d249b
7
- data.tar.gz: 002b912a4b8c84f720c27089445e28c271bd6090c1c6fb0ec2df5b5ce8612392c785ca0457ff3619c52bb0b9fba5b8d639f3eebf3df3d0b966350b346ec29496
6
+ metadata.gz: 0627378555e8be47111b8bd94832c5587127a64838ab9a6a04c2d7a5ef5c5fe13b4c0f0135f9705ec39c2ecc88c5900ac7a0cd2647733cdfa94475f0e70c9d2e
7
+ data.tar.gz: 869400c74bdb22ca1a13f53790006984c43c9f18395fc7b3720b2594907a93ce6e330c4d25b9043febe30dff6f5ef9c8ec76953bacf59bc53adfc925ba75dea3
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.524
1
+ 3.0.526
@@ -221,6 +221,41 @@ module TencentCloud
221
221
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
222
  end
223
223
 
224
+ # 对 COS 中指定 Bucket 的目录下上传的媒体文件,设置处理规则,包括:
225
+ # 1. 视频转码(带水印);
226
+ # 2. 视频转动图;
227
+ # 3. 对视频按指定时间点截图;
228
+ # 4. 对视频采样截图;
229
+ # 5. 对视频截图雪碧图;
230
+ # 6. 对视频转自适应码流;
231
+ # 7. 智能内容审核(鉴黄、敏感信息检测);
232
+ # 8. 智能内容分析(标签、分类、封面、按帧标签);
233
+ # 9. 智能内容识别(人脸、文本全文、文本关键词、语音全文、语音关键词)。
234
+
235
+ # 注意:创建编排成功后是禁用状态,需要手动启用。
236
+
237
+ # @param request: Request instance for CreateSchedule.
238
+ # @type request: :class:`Tencentcloud::mps::V20190612::CreateScheduleRequest`
239
+ # @rtype: :class:`Tencentcloud::mps::V20190612::CreateScheduleResponse`
240
+ def CreateSchedule(request)
241
+ body = send_request('CreateSchedule', request.serialize)
242
+ response = JSON.parse(body)
243
+ if response['Response'].key?('Error') == false
244
+ model = CreateScheduleResponse.new
245
+ model.deserialize(response['Response'])
246
+ model
247
+ else
248
+ code = response['Response']['Error']['Code']
249
+ message = response['Response']['Error']['Message']
250
+ reqid = response['Response']['RequestId']
251
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
252
+ end
253
+ rescue TencentCloud::Common::TencentCloudSDKException => e
254
+ raise e
255
+ rescue StandardError => e
256
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
257
+ end
258
+
224
259
  # 创建用户自定义指定时间点截图模板,数量上限:16。
225
260
 
226
261
  # @param request: Request instance for CreateSnapshotByTimeOffsetTemplate.
@@ -594,6 +629,30 @@ module TencentCloud
594
629
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
595
630
  end
596
631
 
632
+ # 删除编排
633
+
634
+ # @param request: Request instance for DeleteSchedule.
635
+ # @type request: :class:`Tencentcloud::mps::V20190612::DeleteScheduleRequest`
636
+ # @rtype: :class:`Tencentcloud::mps::V20190612::DeleteScheduleResponse`
637
+ def DeleteSchedule(request)
638
+ body = send_request('DeleteSchedule', request.serialize)
639
+ response = JSON.parse(body)
640
+ if response['Response'].key?('Error') == false
641
+ model = DeleteScheduleResponse.new
642
+ model.deserialize(response['Response'])
643
+ model
644
+ else
645
+ code = response['Response']['Error']['Code']
646
+ message = response['Response']['Error']['Message']
647
+ reqid = response['Response']['RequestId']
648
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
649
+ end
650
+ rescue TencentCloud::Common::TencentCloudSDKException => e
651
+ raise e
652
+ rescue StandardError => e
653
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
654
+ end
655
+
597
656
  # 删除用户自定义指定时间点截图模板。
598
657
 
599
658
  # @param request: Request instance for DeleteSnapshotByTimeOffsetTemplate.
@@ -978,6 +1037,30 @@ module TencentCloud
978
1037
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
979
1038
  end
980
1039
 
1040
+ # 查询编排。
1041
+
1042
+ # @param request: Request instance for DescribeSchedules.
1043
+ # @type request: :class:`Tencentcloud::mps::V20190612::DescribeSchedulesRequest`
1044
+ # @rtype: :class:`Tencentcloud::mps::V20190612::DescribeSchedulesResponse`
1045
+ def DescribeSchedules(request)
1046
+ body = send_request('DescribeSchedules', request.serialize)
1047
+ response = JSON.parse(body)
1048
+ if response['Response'].key?('Error') == false
1049
+ model = DescribeSchedulesResponse.new
1050
+ model.deserialize(response['Response'])
1051
+ model
1052
+ else
1053
+ code = response['Response']['Error']['Code']
1054
+ message = response['Response']['Error']['Message']
1055
+ reqid = response['Response']['RequestId']
1056
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1057
+ end
1058
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1059
+ raise e
1060
+ rescue StandardError => e
1061
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1062
+ end
1063
+
981
1064
  # 查询指定时间点截图模板,支持根据条件,分页查询。
982
1065
 
983
1066
  # @param request: Request instance for DescribeSnapshotByTimeOffsetTemplates.
@@ -1364,6 +1447,30 @@ module TencentCloud
1364
1447
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1365
1448
  end
1366
1449
 
1450
+ # 禁用自动化触发编排任务。
1451
+
1452
+ # @param request: Request instance for DisableSchedule.
1453
+ # @type request: :class:`Tencentcloud::mps::V20190612::DisableScheduleRequest`
1454
+ # @rtype: :class:`Tencentcloud::mps::V20190612::DisableScheduleResponse`
1455
+ def DisableSchedule(request)
1456
+ body = send_request('DisableSchedule', request.serialize)
1457
+ response = JSON.parse(body)
1458
+ if response['Response'].key?('Error') == false
1459
+ model = DisableScheduleResponse.new
1460
+ model.deserialize(response['Response'])
1461
+ model
1462
+ else
1463
+ code = response['Response']['Error']['Code']
1464
+ message = response['Response']['Error']['Message']
1465
+ reqid = response['Response']['RequestId']
1466
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1467
+ end
1468
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1469
+ raise e
1470
+ rescue StandardError => e
1471
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1472
+ end
1473
+
1367
1474
  # 禁用工作流。
1368
1475
 
1369
1476
  # @param request: Request instance for DisableWorkflow.
@@ -1416,6 +1523,30 @@ module TencentCloud
1416
1523
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1417
1524
  end
1418
1525
 
1526
+ # 启用自动化触发编排任务。
1527
+
1528
+ # @param request: Request instance for EnableSchedule.
1529
+ # @type request: :class:`Tencentcloud::mps::V20190612::EnableScheduleRequest`
1530
+ # @rtype: :class:`Tencentcloud::mps::V20190612::EnableScheduleResponse`
1531
+ def EnableSchedule(request)
1532
+ body = send_request('EnableSchedule', request.serialize)
1533
+ response = JSON.parse(body)
1534
+ if response['Response'].key?('Error') == false
1535
+ model = EnableScheduleResponse.new
1536
+ model.deserialize(response['Response'])
1537
+ model
1538
+ else
1539
+ code = response['Response']['Error']['Code']
1540
+ message = response['Response']['Error']['Message']
1541
+ reqid = response['Response']['RequestId']
1542
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1543
+ end
1544
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1545
+ raise e
1546
+ rescue StandardError => e
1547
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1548
+ end
1549
+
1419
1550
  # 启用工作流。
1420
1551
 
1421
1552
  # @param request: Request instance for EnableWorkflow.
@@ -1682,6 +1813,30 @@ module TencentCloud
1682
1813
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1683
1814
  end
1684
1815
 
1816
+ # 修改编排
1817
+
1818
+ # @param request: Request instance for ModifySchedule.
1819
+ # @type request: :class:`Tencentcloud::mps::V20190612::ModifyScheduleRequest`
1820
+ # @rtype: :class:`Tencentcloud::mps::V20190612::ModifyScheduleResponse`
1821
+ def ModifySchedule(request)
1822
+ body = send_request('ModifySchedule', request.serialize)
1823
+ response = JSON.parse(body)
1824
+ if response['Response'].key?('Error') == false
1825
+ model = ModifyScheduleResponse.new
1826
+ model.deserialize(response['Response'])
1827
+ model
1828
+ else
1829
+ code = response['Response']['Error']['Code']
1830
+ message = response['Response']['Error']['Message']
1831
+ reqid = response['Response']['RequestId']
1832
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1833
+ end
1834
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1835
+ raise e
1836
+ rescue StandardError => e
1837
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1838
+ end
1839
+
1685
1840
  # 修改用户自定义指定时间点截图模板。
1686
1841
 
1687
1842
  # @param request: Request instance for ModifySnapshotByTimeOffsetTemplate.
@@ -2058,6 +2213,30 @@ module TencentCloud
2058
2213
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2059
2214
  end
2060
2215
 
2216
+ # 提取视频中的盲水印。
2217
+
2218
+ # @param request: Request instance for WithdrawsWatermark.
2219
+ # @type request: :class:`Tencentcloud::mps::V20190612::WithdrawsWatermarkRequest`
2220
+ # @rtype: :class:`Tencentcloud::mps::V20190612::WithdrawsWatermarkResponse`
2221
+ def WithdrawsWatermark(request)
2222
+ body = send_request('WithdrawsWatermark', request.serialize)
2223
+ response = JSON.parse(body)
2224
+ if response['Response'].key?('Error') == false
2225
+ model = WithdrawsWatermarkResponse.new
2226
+ model.deserialize(response['Response'])
2227
+ model
2228
+ else
2229
+ code = response['Response']['Error']['Code']
2230
+ message = response['Response']['Error']['Message']
2231
+ reqid = response['Response']['RequestId']
2232
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2233
+ end
2234
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2235
+ raise e
2236
+ rescue StandardError => e
2237
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2238
+ end
2239
+
2061
2240
 
2062
2241
  end
2063
2242
  end
@@ -180,6 +180,119 @@ module TencentCloud
180
180
  end
181
181
  end
182
182
 
183
+ # 编排原子任务
184
+ class Activity < TencentCloud::Common::AbstractModel
185
+ # @param ActivityType: 原子任务类型:
186
+ # <li>input: 起始节点</li>
187
+ # <li>output:终止节点</li>
188
+ # <li>action-trans:转码</li>
189
+ # <li>action-samplesnapshot:采样截图</li>
190
+ # <li>action-AIAnalysis: 分析</li>
191
+ # <li>action-AIRecognition:识别</li>
192
+ # <li>action-aiReview:审核</li>
193
+ # <li>action-animated-graphics:转动图</li>
194
+ # <li>action-image-sprite:雪碧图</li>
195
+ # <li>action-snapshotByTimeOffset: 时间点截图</li>
196
+ # <li>action-adaptive-substream:自适应码流</li>
197
+ # @type ActivityType: String
198
+ # @param ReardriveIndex: 后驱节点索引数组
199
+ # @type ReardriveIndex: Array
200
+ # @param ActivityPara: 原子任务参数
201
+ # @type ActivityPara: :class:`Tencentcloud::Mps.v20190612.models.ActivityPara`
202
+
203
+ attr_accessor :ActivityType, :ReardriveIndex, :ActivityPara
204
+
205
+ def initialize(activitytype=nil, reardriveindex=nil, activitypara=nil)
206
+ @ActivityType = activitytype
207
+ @ReardriveIndex = reardriveindex
208
+ @ActivityPara = activitypara
209
+ end
210
+
211
+ def deserialize(params)
212
+ @ActivityType = params['ActivityType']
213
+ @ReardriveIndex = params['ReardriveIndex']
214
+ unless params['ActivityPara'].nil?
215
+ @ActivityPara = ActivityPara.new
216
+ @ActivityPara.deserialize(params['ActivityPara'])
217
+ end
218
+ end
219
+ end
220
+
221
+ # 编排原子任务
222
+ class ActivityPara < TencentCloud::Common::AbstractModel
223
+ # @param TranscodeTask: 视频转码任务
224
+ # @type TranscodeTask: :class:`Tencentcloud::Mps.v20190612.models.TranscodeTaskInput`
225
+ # @param AnimatedGraphicTask: 视频转动图任务
226
+ # @type AnimatedGraphicTask: :class:`Tencentcloud::Mps.v20190612.models.AnimatedGraphicTaskInput`
227
+ # @param SnapshotByTimeOffsetTask: 视频按时间点截图任务
228
+ # @type SnapshotByTimeOffsetTask: :class:`Tencentcloud::Mps.v20190612.models.SnapshotByTimeOffsetTaskInput`
229
+ # @param SampleSnapshotTask: 视频采样截图任务
230
+ # @type SampleSnapshotTask: :class:`Tencentcloud::Mps.v20190612.models.SampleSnapshotTaskInput`
231
+ # @param ImageSpriteTask: 视频截雪碧图任务
232
+ # @type ImageSpriteTask: :class:`Tencentcloud::Mps.v20190612.models.ImageSpriteTaskInput`
233
+ # @param AdaptiveDynamicStreamingTask: 转自适应码流任务
234
+ # @type AdaptiveDynamicStreamingTask: :class:`Tencentcloud::Mps.v20190612.models.AdaptiveDynamicStreamingTaskInput`
235
+ # @param AiContentReviewTask: 视频内容审核类型任务
236
+ # @type AiContentReviewTask: :class:`Tencentcloud::Mps.v20190612.models.AiContentReviewTaskInput`
237
+ # @param AiAnalysisTask: 视频内容分析类型任务
238
+ # @type AiAnalysisTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskInput`
239
+ # @param AiRecognitionTask: 视频内容识别类型任务
240
+ # @type AiRecognitionTask: :class:`Tencentcloud::Mps.v20190612.models.AiRecognitionTaskInput`
241
+
242
+ attr_accessor :TranscodeTask, :AnimatedGraphicTask, :SnapshotByTimeOffsetTask, :SampleSnapshotTask, :ImageSpriteTask, :AdaptiveDynamicStreamingTask, :AiContentReviewTask, :AiAnalysisTask, :AiRecognitionTask
243
+
244
+ def initialize(transcodetask=nil, animatedgraphictask=nil, snapshotbytimeoffsettask=nil, samplesnapshottask=nil, imagespritetask=nil, adaptivedynamicstreamingtask=nil, aicontentreviewtask=nil, aianalysistask=nil, airecognitiontask=nil)
245
+ @TranscodeTask = transcodetask
246
+ @AnimatedGraphicTask = animatedgraphictask
247
+ @SnapshotByTimeOffsetTask = snapshotbytimeoffsettask
248
+ @SampleSnapshotTask = samplesnapshottask
249
+ @ImageSpriteTask = imagespritetask
250
+ @AdaptiveDynamicStreamingTask = adaptivedynamicstreamingtask
251
+ @AiContentReviewTask = aicontentreviewtask
252
+ @AiAnalysisTask = aianalysistask
253
+ @AiRecognitionTask = airecognitiontask
254
+ end
255
+
256
+ def deserialize(params)
257
+ unless params['TranscodeTask'].nil?
258
+ @TranscodeTask = TranscodeTaskInput.new
259
+ @TranscodeTask.deserialize(params['TranscodeTask'])
260
+ end
261
+ unless params['AnimatedGraphicTask'].nil?
262
+ @AnimatedGraphicTask = AnimatedGraphicTaskInput.new
263
+ @AnimatedGraphicTask.deserialize(params['AnimatedGraphicTask'])
264
+ end
265
+ unless params['SnapshotByTimeOffsetTask'].nil?
266
+ @SnapshotByTimeOffsetTask = SnapshotByTimeOffsetTaskInput.new
267
+ @SnapshotByTimeOffsetTask.deserialize(params['SnapshotByTimeOffsetTask'])
268
+ end
269
+ unless params['SampleSnapshotTask'].nil?
270
+ @SampleSnapshotTask = SampleSnapshotTaskInput.new
271
+ @SampleSnapshotTask.deserialize(params['SampleSnapshotTask'])
272
+ end
273
+ unless params['ImageSpriteTask'].nil?
274
+ @ImageSpriteTask = ImageSpriteTaskInput.new
275
+ @ImageSpriteTask.deserialize(params['ImageSpriteTask'])
276
+ end
277
+ unless params['AdaptiveDynamicStreamingTask'].nil?
278
+ @AdaptiveDynamicStreamingTask = AdaptiveDynamicStreamingTaskInput.new
279
+ @AdaptiveDynamicStreamingTask.deserialize(params['AdaptiveDynamicStreamingTask'])
280
+ end
281
+ unless params['AiContentReviewTask'].nil?
282
+ @AiContentReviewTask = AiContentReviewTaskInput.new
283
+ @AiContentReviewTask.deserialize(params['AiContentReviewTask'])
284
+ end
285
+ unless params['AiAnalysisTask'].nil?
286
+ @AiAnalysisTask = AiAnalysisTaskInput.new
287
+ @AiAnalysisTask.deserialize(params['AiAnalysisTask'])
288
+ end
289
+ unless params['AiRecognitionTask'].nil?
290
+ @AiRecognitionTask = AiRecognitionTaskInput.new
291
+ @AiRecognitionTask.deserialize(params['AiRecognitionTask'])
292
+ end
293
+ end
294
+ end
295
+
183
296
  # 编排子任务输出
184
297
  class ActivityResItem < TencentCloud::Common::AbstractModel
185
298
  # @param TranscodeTask: 转码任务输出
@@ -3456,6 +3569,81 @@ module TencentCloud
3456
3569
  end
3457
3570
  end
3458
3571
 
3572
+ # AWS S3 文件是上传触发器。
3573
+ class AwsS3FileUploadTrigger < TencentCloud::Common::AbstractModel
3574
+ # @param S3Bucket: 工作流绑定的 AWS S3 存储桶。
3575
+ # @type S3Bucket: String
3576
+ # @param S3Region: 工作流绑定的桶所在 AWS 区域。
3577
+ # @type S3Region: String
3578
+ # @param Dir: 工作流绑定的输入路径目录,必须为绝对路径,即以 `/` 开头和结尾。如`/movie/201907/`,不填代表根目录`/`。
3579
+ # @type Dir: String
3580
+ # @param Formats: 工作流允许触发的文件格式列表,如 ["mp4", "flv", "mov"]。不填代表所有格式的文件都可以触发工作流。
3581
+ # @type Formats: Array
3582
+ # @param S3SecretId: 工作流绑定的 AWS S3 存储桶的秘钥ID。
3583
+ # 注意:此字段可能返回 null,表示取不到有效值。
3584
+ # @type S3SecretId: String
3585
+ # @param S3SecretKey: 工作流绑定的 AWS S3 存储桶的秘钥Key。
3586
+ # 注意:此字段可能返回 null,表示取不到有效值。
3587
+ # @type S3SecretKey: String
3588
+ # @param AwsSQS: 工作流绑定的 AWS S3 存储桶对应的 SQS事件队列。
3589
+ # 注意:队列和桶需要在同一区域。
3590
+ # 注意:此字段可能返回 null,表示取不到有效值。
3591
+ # @type AwsSQS: :class:`Tencentcloud::Mps.v20190612.models.AwsSQS`
3592
+
3593
+ attr_accessor :S3Bucket, :S3Region, :Dir, :Formats, :S3SecretId, :S3SecretKey, :AwsSQS
3594
+
3595
+ def initialize(s3bucket=nil, s3region=nil, dir=nil, formats=nil, s3secretid=nil, s3secretkey=nil, awssqs=nil)
3596
+ @S3Bucket = s3bucket
3597
+ @S3Region = s3region
3598
+ @Dir = dir
3599
+ @Formats = formats
3600
+ @S3SecretId = s3secretid
3601
+ @S3SecretKey = s3secretkey
3602
+ @AwsSQS = awssqs
3603
+ end
3604
+
3605
+ def deserialize(params)
3606
+ @S3Bucket = params['S3Bucket']
3607
+ @S3Region = params['S3Region']
3608
+ @Dir = params['Dir']
3609
+ @Formats = params['Formats']
3610
+ @S3SecretId = params['S3SecretId']
3611
+ @S3SecretKey = params['S3SecretKey']
3612
+ unless params['AwsSQS'].nil?
3613
+ @AwsSQS = AwsSQS.new
3614
+ @AwsSQS.deserialize(params['AwsSQS'])
3615
+ end
3616
+ end
3617
+ end
3618
+
3619
+ # Aws SQS 队列信息
3620
+ class AwsSQS < TencentCloud::Common::AbstractModel
3621
+ # @param SQSRegion: SQS 队列区域。
3622
+ # @type SQSRegion: String
3623
+ # @param SQSQueueName: SQS 队列名称。
3624
+ # @type SQSQueueName: String
3625
+ # @param S3SecretId: 读写SQS的秘钥id。
3626
+ # @type S3SecretId: String
3627
+ # @param S3SecretKey: 读写SQS的秘钥key。
3628
+ # @type S3SecretKey: String
3629
+
3630
+ attr_accessor :SQSRegion, :SQSQueueName, :S3SecretId, :S3SecretKey
3631
+
3632
+ def initialize(sqsregion=nil, sqsqueuename=nil, s3secretid=nil, s3secretkey=nil)
3633
+ @SQSRegion = sqsregion
3634
+ @SQSQueueName = sqsqueuename
3635
+ @S3SecretId = s3secretid
3636
+ @S3SecretKey = s3secretkey
3637
+ end
3638
+
3639
+ def deserialize(params)
3640
+ @SQSRegion = params['SQSRegion']
3641
+ @SQSQueueName = params['SQSQueueName']
3642
+ @S3SecretId = params['S3SecretId']
3643
+ @S3SecretKey = params['S3SecretKey']
3644
+ end
3645
+ end
3646
+
3459
3647
  # 智能分类任务控制参数
3460
3648
  class ClassificationConfigureInfo < TencentCloud::Common::AbstractModel
3461
3649
  # @param Switch: 智能分类任务开关,可选值:
@@ -4782,6 +4970,78 @@ module TencentCloud
4782
4970
  end
4783
4971
  end
4784
4972
 
4973
+ # CreateSchedule请求参数结构体
4974
+ class CreateScheduleRequest < TencentCloud::Common::AbstractModel
4975
+ # @param ScheduleName: 编排名称,最多128字符。同一个用户该名称唯一。
4976
+ # @type ScheduleName: String
4977
+ # @param Trigger: 编排绑定的触发规则,当上传视频命中该规则到该对象时即触发工作流。
4978
+ # @type Trigger: :class:`Tencentcloud::Mps.v20190612.models.WorkflowTrigger`
4979
+ # @param Activities: 编排任务列表。
4980
+ # @type Activities: Array
4981
+ # @param OutputStorage: 媒体处理的文件输出存储位置。不填则继承 Trigger 中的存储位置。
4982
+ # @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
4983
+ # @param OutputDir: 媒体处理生成的文件输出的目标目录,如`/movie/201907/`。如果不填,表示与触发文件所在的目录一致。
4984
+ # @type OutputDir: String
4985
+ # @param TaskNotifyConfig: 任务的事件通知配置,不填代表不获取事件通知。
4986
+ # @type TaskNotifyConfig: :class:`Tencentcloud::Mps.v20190612.models.TaskNotifyConfig`
4987
+
4988
+ attr_accessor :ScheduleName, :Trigger, :Activities, :OutputStorage, :OutputDir, :TaskNotifyConfig
4989
+
4990
+ def initialize(schedulename=nil, trigger=nil, activities=nil, outputstorage=nil, outputdir=nil, tasknotifyconfig=nil)
4991
+ @ScheduleName = schedulename
4992
+ @Trigger = trigger
4993
+ @Activities = activities
4994
+ @OutputStorage = outputstorage
4995
+ @OutputDir = outputdir
4996
+ @TaskNotifyConfig = tasknotifyconfig
4997
+ end
4998
+
4999
+ def deserialize(params)
5000
+ @ScheduleName = params['ScheduleName']
5001
+ unless params['Trigger'].nil?
5002
+ @Trigger = WorkflowTrigger.new
5003
+ @Trigger.deserialize(params['Trigger'])
5004
+ end
5005
+ unless params['Activities'].nil?
5006
+ @Activities = []
5007
+ params['Activities'].each do |i|
5008
+ activity_tmp = Activity.new
5009
+ activity_tmp.deserialize(i)
5010
+ @Activities << activity_tmp
5011
+ end
5012
+ end
5013
+ unless params['OutputStorage'].nil?
5014
+ @OutputStorage = TaskOutputStorage.new
5015
+ @OutputStorage.deserialize(params['OutputStorage'])
5016
+ end
5017
+ @OutputDir = params['OutputDir']
5018
+ unless params['TaskNotifyConfig'].nil?
5019
+ @TaskNotifyConfig = TaskNotifyConfig.new
5020
+ @TaskNotifyConfig.deserialize(params['TaskNotifyConfig'])
5021
+ end
5022
+ end
5023
+ end
5024
+
5025
+ # CreateSchedule返回参数结构体
5026
+ class CreateScheduleResponse < TencentCloud::Common::AbstractModel
5027
+ # @param ScheduleId: 编排 ID。
5028
+ # @type ScheduleId: Integer
5029
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5030
+ # @type RequestId: String
5031
+
5032
+ attr_accessor :ScheduleId, :RequestId
5033
+
5034
+ def initialize(scheduleid=nil, requestid=nil)
5035
+ @ScheduleId = scheduleid
5036
+ @RequestId = requestid
5037
+ end
5038
+
5039
+ def deserialize(params)
5040
+ @ScheduleId = params['ScheduleId']
5041
+ @RequestId = params['RequestId']
5042
+ end
5043
+ end
5044
+
4785
5045
  # CreateSnapshotByTimeOffsetTemplate请求参数结构体
4786
5046
  class CreateSnapshotByTimeOffsetTemplateRequest < TencentCloud::Common::AbstractModel
4787
5047
  # @param Name: 指定时间点截图模板名称,长度限制:64 个字符。
@@ -5545,6 +5805,38 @@ module TencentCloud
5545
5805
  end
5546
5806
  end
5547
5807
 
5808
+ # DeleteSchedule请求参数结构体
5809
+ class DeleteScheduleRequest < TencentCloud::Common::AbstractModel
5810
+ # @param ScheduleId: 编排唯一标识。
5811
+ # @type ScheduleId: Integer
5812
+
5813
+ attr_accessor :ScheduleId
5814
+
5815
+ def initialize(scheduleid=nil)
5816
+ @ScheduleId = scheduleid
5817
+ end
5818
+
5819
+ def deserialize(params)
5820
+ @ScheduleId = params['ScheduleId']
5821
+ end
5822
+ end
5823
+
5824
+ # DeleteSchedule返回参数结构体
5825
+ class DeleteScheduleResponse < TencentCloud::Common::AbstractModel
5826
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5827
+ # @type RequestId: String
5828
+
5829
+ attr_accessor :RequestId
5830
+
5831
+ def initialize(requestid=nil)
5832
+ @RequestId = requestid
5833
+ end
5834
+
5835
+ def deserialize(params)
5836
+ @RequestId = params['RequestId']
5837
+ end
5838
+ end
5839
+
5548
5840
  # DeleteSnapshotByTimeOffsetTemplate请求参数结构体
5549
5841
  class DeleteSnapshotByTimeOffsetTemplateRequest < TencentCloud::Common::AbstractModel
5550
5842
  # @param Definition: 指定时间点截图模板唯一标识。
@@ -7076,6 +7368,68 @@ module TencentCloud
7076
7368
  end
7077
7369
  end
7078
7370
 
7371
+ # DescribeSchedules请求参数结构体
7372
+ class DescribeSchedulesRequest < TencentCloud::Common::AbstractModel
7373
+ # @param ScheduleIds: 编排 ID 过滤条件,数组长度限制:100。
7374
+ # @type ScheduleIds: Array
7375
+ # @param Status: 状态,取值范围:
7376
+ # <li>Enabled:已启用,</li>
7377
+ # <li>Disabled:已禁用。</li>
7378
+ # 不填此参数,则不区分工作流状态。
7379
+ # @type Status: String
7380
+ # @param Offset: 分页偏移量,默认值:0。
7381
+ # @type Offset: Integer
7382
+ # @param Limit: 返回记录条数,默认值:10,最大值:100。
7383
+ # @type Limit: Integer
7384
+
7385
+ attr_accessor :ScheduleIds, :Status, :Offset, :Limit
7386
+
7387
+ def initialize(scheduleids=nil, status=nil, offset=nil, limit=nil)
7388
+ @ScheduleIds = scheduleids
7389
+ @Status = status
7390
+ @Offset = offset
7391
+ @Limit = limit
7392
+ end
7393
+
7394
+ def deserialize(params)
7395
+ @ScheduleIds = params['ScheduleIds']
7396
+ @Status = params['Status']
7397
+ @Offset = params['Offset']
7398
+ @Limit = params['Limit']
7399
+ end
7400
+ end
7401
+
7402
+ # DescribeSchedules返回参数结构体
7403
+ class DescribeSchedulesResponse < TencentCloud::Common::AbstractModel
7404
+ # @param TotalCount: 符合过滤条件的记录总数。
7405
+ # @type TotalCount: Integer
7406
+ # @param ScheduleInfoSet: 编排信息数组。
7407
+ # @type ScheduleInfoSet: Array
7408
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7409
+ # @type RequestId: String
7410
+
7411
+ attr_accessor :TotalCount, :ScheduleInfoSet, :RequestId
7412
+
7413
+ def initialize(totalcount=nil, scheduleinfoset=nil, requestid=nil)
7414
+ @TotalCount = totalcount
7415
+ @ScheduleInfoSet = scheduleinfoset
7416
+ @RequestId = requestid
7417
+ end
7418
+
7419
+ def deserialize(params)
7420
+ @TotalCount = params['TotalCount']
7421
+ unless params['ScheduleInfoSet'].nil?
7422
+ @ScheduleInfoSet = []
7423
+ params['ScheduleInfoSet'].each do |i|
7424
+ schedulesinfo_tmp = SchedulesInfo.new
7425
+ schedulesinfo_tmp.deserialize(i)
7426
+ @ScheduleInfoSet << schedulesinfo_tmp
7427
+ end
7428
+ end
7429
+ @RequestId = params['RequestId']
7430
+ end
7431
+ end
7432
+
7079
7433
  # DescribeSnapshotByTimeOffsetTemplates请求参数结构体
7080
7434
  class DescribeSnapshotByTimeOffsetTemplatesRequest < TencentCloud::Common::AbstractModel
7081
7435
  # @param Definitions: 指定时间点截图模板唯一标识过滤条件,数组长度限制:100。
@@ -8108,6 +8462,38 @@ module TencentCloud
8108
8462
  end
8109
8463
  end
8110
8464
 
8465
+ # DisableSchedule请求参数结构体
8466
+ class DisableScheduleRequest < TencentCloud::Common::AbstractModel
8467
+ # @param ScheduleId: 编排唯一表示。
8468
+ # @type ScheduleId: Integer
8469
+
8470
+ attr_accessor :ScheduleId
8471
+
8472
+ def initialize(scheduleid=nil)
8473
+ @ScheduleId = scheduleid
8474
+ end
8475
+
8476
+ def deserialize(params)
8477
+ @ScheduleId = params['ScheduleId']
8478
+ end
8479
+ end
8480
+
8481
+ # DisableSchedule返回参数结构体
8482
+ class DisableScheduleResponse < TencentCloud::Common::AbstractModel
8483
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8484
+ # @type RequestId: String
8485
+
8486
+ attr_accessor :RequestId
8487
+
8488
+ def initialize(requestid=nil)
8489
+ @RequestId = requestid
8490
+ end
8491
+
8492
+ def deserialize(params)
8493
+ @RequestId = params['RequestId']
8494
+ end
8495
+ end
8496
+
8111
8497
  # DisableWorkflow请求参数结构体
8112
8498
  class DisableWorkflowRequest < TencentCloud::Common::AbstractModel
8113
8499
  # @param WorkflowId: 工作流 ID。
@@ -8360,6 +8746,38 @@ module TencentCloud
8360
8746
  end
8361
8747
  end
8362
8748
 
8749
+ # EnableSchedule请求参数结构体
8750
+ class EnableScheduleRequest < TencentCloud::Common::AbstractModel
8751
+ # @param ScheduleId: 编排唯一标识。
8752
+ # @type ScheduleId: Integer
8753
+
8754
+ attr_accessor :ScheduleId
8755
+
8756
+ def initialize(scheduleid=nil)
8757
+ @ScheduleId = scheduleid
8758
+ end
8759
+
8760
+ def deserialize(params)
8761
+ @ScheduleId = params['ScheduleId']
8762
+ end
8763
+ end
8764
+
8765
+ # EnableSchedule返回参数结构体
8766
+ class EnableScheduleResponse < TencentCloud::Common::AbstractModel
8767
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8768
+ # @type RequestId: String
8769
+
8770
+ attr_accessor :RequestId
8771
+
8772
+ def initialize(requestid=nil)
8773
+ @RequestId = requestid
8774
+ end
8775
+
8776
+ def deserialize(params)
8777
+ @RequestId = params['RequestId']
8778
+ end
8779
+ end
8780
+
8363
8781
  # EnableWorkflow请求参数结构体
8364
8782
  class EnableWorkflowRequest < TencentCloud::Common::AbstractModel
8365
8783
  # @param WorkflowId: 工作流 ID。
@@ -10706,20 +11124,27 @@ module TencentCloud
10706
11124
 
10707
11125
  # 媒体处理的输入对象信息。
10708
11126
  class MediaInputInfo < TencentCloud::Common::AbstractModel
10709
- # @param Type: 输入来源对象的类型,支持 COS、URL 两种。
11127
+ # @param Type: 输入来源对象的类型,支持:
11128
+ # <li> COS:COS源</li>
11129
+ # <li> URL:URL源</li>
11130
+ # <li> AWS-S3:AWS 源,目前只支持转码任务 </li>
10710
11131
  # @type Type: String
10711
11132
  # @param CosInputInfo: 当 Type 为 COS 时有效,则该项为必填,表示媒体处理 COS 对象信息。
10712
11133
  # @type CosInputInfo: :class:`Tencentcloud::Mps.v20190612.models.CosInputInfo`
10713
11134
  # @param UrlInputInfo: 当 Type 为 URL 时有效,则该项为必填,表示媒体处理 URL 对象信息。
10714
11135
  # 注意:此字段可能返回 null,表示取不到有效值。
10715
11136
  # @type UrlInputInfo: :class:`Tencentcloud::Mps.v20190612.models.UrlInputInfo`
11137
+ # @param S3InputInfo: 当 Type 为 AWS-S3 时有效,则该项为必填,表示媒体处理 AWS S3 对象信息。
11138
+ # 注意:此字段可能返回 null,表示取不到有效值。
11139
+ # @type S3InputInfo: :class:`Tencentcloud::Mps.v20190612.models.S3InputInfo`
10716
11140
 
10717
- attr_accessor :Type, :CosInputInfo, :UrlInputInfo
11141
+ attr_accessor :Type, :CosInputInfo, :UrlInputInfo, :S3InputInfo
10718
11142
 
10719
- def initialize(type=nil, cosinputinfo=nil, urlinputinfo=nil)
11143
+ def initialize(type=nil, cosinputinfo=nil, urlinputinfo=nil, s3inputinfo=nil)
10720
11144
  @Type = type
10721
11145
  @CosInputInfo = cosinputinfo
10722
11146
  @UrlInputInfo = urlinputinfo
11147
+ @S3InputInfo = s3inputinfo
10723
11148
  end
10724
11149
 
10725
11150
  def deserialize(params)
@@ -10732,6 +11157,10 @@ module TencentCloud
10732
11157
  @UrlInputInfo = UrlInputInfo.new
10733
11158
  @UrlInputInfo.deserialize(params['UrlInputInfo'])
10734
11159
  end
11160
+ unless params['S3InputInfo'].nil?
11161
+ @S3InputInfo = S3InputInfo.new
11162
+ @S3InputInfo.deserialize(params['S3InputInfo'])
11163
+ end
10735
11164
  end
10736
11165
  end
10737
11166
 
@@ -12216,6 +12645,80 @@ module TencentCloud
12216
12645
  end
12217
12646
  end
12218
12647
 
12648
+ # ModifySchedule请求参数结构体
12649
+ class ModifyScheduleRequest < TencentCloud::Common::AbstractModel
12650
+ # @param ScheduleId: 编排唯一标识。
12651
+ # @type ScheduleId: Integer
12652
+ # @param ScheduleName: 编排名称。
12653
+ # @type ScheduleName: String
12654
+ # @param Trigger: 编排绑定的触发规则。
12655
+ # @type Trigger: :class:`Tencentcloud::Mps.v20190612.models.WorkflowTrigger`
12656
+ # @param Activities: 编排任务列表。
12657
+ # 注意:内部不允许部分更新,如果需要更新需全量提交编排任务列表。
12658
+ # @type Activities: Array
12659
+ # @param OutputStorage: 媒体处理的文件输出存储位置。
12660
+ # @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
12661
+ # @param OutputDir: 媒体处理生成的文件输出的目标目录。
12662
+ # 注意:如果设置为空,则表示取消老配置的OutputDir值。
12663
+ # @type OutputDir: String
12664
+ # @param TaskNotifyConfig: 任务的事件通知配置。
12665
+ # @type TaskNotifyConfig: :class:`Tencentcloud::Mps.v20190612.models.TaskNotifyConfig`
12666
+
12667
+ attr_accessor :ScheduleId, :ScheduleName, :Trigger, :Activities, :OutputStorage, :OutputDir, :TaskNotifyConfig
12668
+
12669
+ def initialize(scheduleid=nil, schedulename=nil, trigger=nil, activities=nil, outputstorage=nil, outputdir=nil, tasknotifyconfig=nil)
12670
+ @ScheduleId = scheduleid
12671
+ @ScheduleName = schedulename
12672
+ @Trigger = trigger
12673
+ @Activities = activities
12674
+ @OutputStorage = outputstorage
12675
+ @OutputDir = outputdir
12676
+ @TaskNotifyConfig = tasknotifyconfig
12677
+ end
12678
+
12679
+ def deserialize(params)
12680
+ @ScheduleId = params['ScheduleId']
12681
+ @ScheduleName = params['ScheduleName']
12682
+ unless params['Trigger'].nil?
12683
+ @Trigger = WorkflowTrigger.new
12684
+ @Trigger.deserialize(params['Trigger'])
12685
+ end
12686
+ unless params['Activities'].nil?
12687
+ @Activities = []
12688
+ params['Activities'].each do |i|
12689
+ activity_tmp = Activity.new
12690
+ activity_tmp.deserialize(i)
12691
+ @Activities << activity_tmp
12692
+ end
12693
+ end
12694
+ unless params['OutputStorage'].nil?
12695
+ @OutputStorage = TaskOutputStorage.new
12696
+ @OutputStorage.deserialize(params['OutputStorage'])
12697
+ end
12698
+ @OutputDir = params['OutputDir']
12699
+ unless params['TaskNotifyConfig'].nil?
12700
+ @TaskNotifyConfig = TaskNotifyConfig.new
12701
+ @TaskNotifyConfig.deserialize(params['TaskNotifyConfig'])
12702
+ end
12703
+ end
12704
+ end
12705
+
12706
+ # ModifySchedule返回参数结构体
12707
+ class ModifyScheduleResponse < TencentCloud::Common::AbstractModel
12708
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
12709
+ # @type RequestId: String
12710
+
12711
+ attr_accessor :RequestId
12712
+
12713
+ def initialize(requestid=nil)
12714
+ @RequestId = requestid
12715
+ end
12716
+
12717
+ def deserialize(params)
12718
+ @RequestId = params['RequestId']
12719
+ end
12720
+ end
12721
+
12219
12722
  # ModifySnapshotByTimeOffsetTemplate请求参数结构体
12220
12723
  class ModifySnapshotByTimeOffsetTemplateRequest < TencentCloud::Common::AbstractModel
12221
12724
  # @param Definition: 指定时间点截图模板唯一标识。
@@ -14276,6 +14779,66 @@ module TencentCloud
14276
14779
  end
14277
14780
  end
14278
14781
 
14782
+ # AWS S3存储输入
14783
+ class S3InputInfo < TencentCloud::Common::AbstractModel
14784
+ # @param S3Bucket: S3 bucket。
14785
+ # @type S3Bucket: String
14786
+ # @param S3Region: S3 bucket 对应的区域。
14787
+ # @type S3Region: String
14788
+ # @param S3Object: S3 bucket 中的媒体资源路径。
14789
+ # @type S3Object: String
14790
+ # @param S3SecretId: AWS 内网访问 媒体资源的秘钥id。
14791
+ # @type S3SecretId: String
14792
+ # @param S3SecretKey: AWS 内网访问 媒体资源的秘钥key。
14793
+ # @type S3SecretKey: String
14794
+
14795
+ attr_accessor :S3Bucket, :S3Region, :S3Object, :S3SecretId, :S3SecretKey
14796
+
14797
+ def initialize(s3bucket=nil, s3region=nil, s3object=nil, s3secretid=nil, s3secretkey=nil)
14798
+ @S3Bucket = s3bucket
14799
+ @S3Region = s3region
14800
+ @S3Object = s3object
14801
+ @S3SecretId = s3secretid
14802
+ @S3SecretKey = s3secretkey
14803
+ end
14804
+
14805
+ def deserialize(params)
14806
+ @S3Bucket = params['S3Bucket']
14807
+ @S3Region = params['S3Region']
14808
+ @S3Object = params['S3Object']
14809
+ @S3SecretId = params['S3SecretId']
14810
+ @S3SecretKey = params['S3SecretKey']
14811
+ end
14812
+ end
14813
+
14814
+ # AWS S3 输出位置
14815
+ class S3OutputStorage < TencentCloud::Common::AbstractModel
14816
+ # @param S3Bucket: S3 bucket。
14817
+ # @type S3Bucket: String
14818
+ # @param S3Region: S3 bucket 对应的区域。
14819
+ # @type S3Region: String
14820
+ # @param S3SecretId: AWS 内网上传 媒体资源的秘钥id。
14821
+ # @type S3SecretId: String
14822
+ # @param S3SecretKey: AWS 内网上传 媒体资源的秘钥key。
14823
+ # @type S3SecretKey: String
14824
+
14825
+ attr_accessor :S3Bucket, :S3Region, :S3SecretId, :S3SecretKey
14826
+
14827
+ def initialize(s3bucket=nil, s3region=nil, s3secretid=nil, s3secretkey=nil)
14828
+ @S3Bucket = s3bucket
14829
+ @S3Region = s3region
14830
+ @S3SecretId = s3secretid
14831
+ @S3SecretKey = s3secretkey
14832
+ end
14833
+
14834
+ def deserialize(params)
14835
+ @S3Bucket = params['S3Bucket']
14836
+ @S3Region = params['S3Region']
14837
+ @S3SecretId = params['S3SecretId']
14838
+ @S3SecretKey = params['S3SecretKey']
14839
+ end
14840
+ end
14841
+
14279
14842
  # 转推的目标地址信息。
14280
14843
  class SRTAddressDestination < TencentCloud::Common::AbstractModel
14281
14844
  # @param Ip: 目标地址的IP。
@@ -14658,6 +15221,85 @@ module TencentCloud
14658
15221
  end
14659
15222
  end
14660
15223
 
15224
+ # 编排详情。
15225
+ class SchedulesInfo < TencentCloud::Common::AbstractModel
15226
+ # @param ScheduleId: 编排唯一标识。
15227
+ # @type ScheduleId: Integer
15228
+ # @param ScheduleName: 编排名称。
15229
+ # 注意:此字段可能返回 null,表示取不到有效值。
15230
+ # @type ScheduleName: String
15231
+ # @param Status: 编排状态,取值范围:
15232
+ # Enabled:已启用,
15233
+ # Disabled:已禁用。
15234
+ # 注意:此字段可能返回 null,表示取不到有效值。
15235
+ # @type Status: Array
15236
+ # @param Trigger: 编排绑定的触发规则。
15237
+ # 注意:此字段可能返回 null,表示取不到有效值。
15238
+ # @type Trigger: :class:`Tencentcloud::Mps.v20190612.models.WorkflowTrigger`
15239
+ # @param Activities: 编排任务列表。
15240
+ # 注意:此字段可能返回 null,表示取不到有效值。
15241
+ # @type Activities: Array
15242
+ # @param OutputStorage: 媒体处理的文件输出存储位置。
15243
+ # 注意:此字段可能返回 null,表示取不到有效值。
15244
+ # @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
15245
+ # @param OutputDir: 媒体处理生成的文件输出的目标目录。
15246
+ # 注意:此字段可能返回 null,表示取不到有效值。
15247
+ # @type OutputDir: String
15248
+ # @param TaskNotifyConfig: 任务的事件通知配置。
15249
+ # 注意:此字段可能返回 null,表示取不到有效值。
15250
+ # @type TaskNotifyConfig: :class:`Tencentcloud::Mps.v20190612.models.TaskNotifyConfig`
15251
+ # @param CreateTime: 创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
15252
+ # 注意:此字段可能返回 null,表示取不到有效值。
15253
+ # @type CreateTime: String
15254
+ # @param UpdateTime: 最后编辑时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
15255
+ # 注意:此字段可能返回 null,表示取不到有效值。
15256
+ # @type UpdateTime: String
15257
+
15258
+ attr_accessor :ScheduleId, :ScheduleName, :Status, :Trigger, :Activities, :OutputStorage, :OutputDir, :TaskNotifyConfig, :CreateTime, :UpdateTime
15259
+
15260
+ def initialize(scheduleid=nil, schedulename=nil, status=nil, trigger=nil, activities=nil, outputstorage=nil, outputdir=nil, tasknotifyconfig=nil, createtime=nil, updatetime=nil)
15261
+ @ScheduleId = scheduleid
15262
+ @ScheduleName = schedulename
15263
+ @Status = status
15264
+ @Trigger = trigger
15265
+ @Activities = activities
15266
+ @OutputStorage = outputstorage
15267
+ @OutputDir = outputdir
15268
+ @TaskNotifyConfig = tasknotifyconfig
15269
+ @CreateTime = createtime
15270
+ @UpdateTime = updatetime
15271
+ end
15272
+
15273
+ def deserialize(params)
15274
+ @ScheduleId = params['ScheduleId']
15275
+ @ScheduleName = params['ScheduleName']
15276
+ @Status = params['Status']
15277
+ unless params['Trigger'].nil?
15278
+ @Trigger = WorkflowTrigger.new
15279
+ @Trigger.deserialize(params['Trigger'])
15280
+ end
15281
+ unless params['Activities'].nil?
15282
+ @Activities = []
15283
+ params['Activities'].each do |i|
15284
+ activity_tmp = Activity.new
15285
+ activity_tmp.deserialize(i)
15286
+ @Activities << activity_tmp
15287
+ end
15288
+ end
15289
+ unless params['OutputStorage'].nil?
15290
+ @OutputStorage = TaskOutputStorage.new
15291
+ @OutputStorage.deserialize(params['OutputStorage'])
15292
+ end
15293
+ @OutputDir = params['OutputDir']
15294
+ unless params['TaskNotifyConfig'].nil?
15295
+ @TaskNotifyConfig = TaskNotifyConfig.new
15296
+ @TaskNotifyConfig.deserialize(params['TaskNotifyConfig'])
15297
+ end
15298
+ @CreateTime = params['CreateTime']
15299
+ @UpdateTime = params['UpdateTime']
15300
+ end
15301
+ end
15302
+
14661
15303
  # 去划痕配置
14662
15304
  class ScratchRepairConfig < TencentCloud::Common::AbstractModel
14663
15305
  # @param Switch: 能力配置开关,可选值:
@@ -15176,14 +15818,19 @@ module TencentCloud
15176
15818
  # <li>TDMQ-CMQ:消息队列</li>
15177
15819
  # <li>URL:指定URL时HTTP回调推送到 NotifyUrl 指定的地址,回调协议http+json,包体内容同解析事件通知接口的输出参数 </li>
15178
15820
  # <li>SCF:不推荐使用,需要在控制台额外配置SCF</li>
15821
+ # <li>AWS-SQS:AWS 队列,只适用于 AWS 任务,且要求同区域</li>
15179
15822
  # <font color="red"> 注:不填或为空时默认 CMQ,如需采用其他类型需填写对应类型值。 </font>
15180
15823
  # @type NotifyType: String
15181
15824
  # @param NotifyUrl: HTTP回调地址,NotifyType为URL时必填。
15182
15825
  # @type NotifyUrl: String
15826
+ # @param AwsSQS: AWS SQS 回调,NotifyType为 AWS-SQS 时必填。
15183
15827
 
15184
- attr_accessor :CmqModel, :CmqRegion, :TopicName, :QueueName, :NotifyMode, :NotifyType, :NotifyUrl
15828
+ # 注意:此字段可能返回 null,表示取不到有效值。
15829
+ # @type AwsSQS: :class:`Tencentcloud::Mps.v20190612.models.AwsSQS`
15830
+
15831
+ attr_accessor :CmqModel, :CmqRegion, :TopicName, :QueueName, :NotifyMode, :NotifyType, :NotifyUrl, :AwsSQS
15185
15832
 
15186
- def initialize(cmqmodel=nil, cmqregion=nil, topicname=nil, queuename=nil, notifymode=nil, notifytype=nil, notifyurl=nil)
15833
+ def initialize(cmqmodel=nil, cmqregion=nil, topicname=nil, queuename=nil, notifymode=nil, notifytype=nil, notifyurl=nil, awssqs=nil)
15187
15834
  @CmqModel = cmqmodel
15188
15835
  @CmqRegion = cmqregion
15189
15836
  @TopicName = topicname
@@ -15191,6 +15838,7 @@ module TencentCloud
15191
15838
  @NotifyMode = notifymode
15192
15839
  @NotifyType = notifytype
15193
15840
  @NotifyUrl = notifyurl
15841
+ @AwsSQS = awssqs
15194
15842
  end
15195
15843
 
15196
15844
  def deserialize(params)
@@ -15201,22 +15849,32 @@ module TencentCloud
15201
15849
  @NotifyMode = params['NotifyMode']
15202
15850
  @NotifyType = params['NotifyType']
15203
15851
  @NotifyUrl = params['NotifyUrl']
15852
+ unless params['AwsSQS'].nil?
15853
+ @AwsSQS = AwsSQS.new
15854
+ @AwsSQS.deserialize(params['AwsSQS'])
15855
+ end
15204
15856
  end
15205
15857
  end
15206
15858
 
15207
15859
  # 媒体处理输出对象信息。
15208
15860
  class TaskOutputStorage < TencentCloud::Common::AbstractModel
15209
- # @param Type: 媒体处理输出对象存储位置的类型,现在仅支持 COS。
15861
+ # @param Type: 媒体处理输出对象存储位置的类型,支持:
15862
+ # <li>COS:COS存储</li>
15863
+ # <li>AWS-S3:AWS 存储,只适用于AWS任务,且要求同区域</li>
15210
15864
  # @type Type: String
15211
15865
  # @param CosOutputStorage: 当 Type 为 COS 时有效,则该项为必填,表示媒体处理 COS 输出位置。
15212
15866
  # 注意:此字段可能返回 null,表示取不到有效值。
15213
15867
  # @type CosOutputStorage: :class:`Tencentcloud::Mps.v20190612.models.CosOutputStorage`
15868
+ # @param S3OutputStorage: 当 Type 为 AWS-S3 时有效,则该项为必填,表示媒体处理 AWS S3 输出位置。
15869
+ # 注意:此字段可能返回 null,表示取不到有效值。
15870
+ # @type S3OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.S3OutputStorage`
15214
15871
 
15215
- attr_accessor :Type, :CosOutputStorage
15872
+ attr_accessor :Type, :CosOutputStorage, :S3OutputStorage
15216
15873
 
15217
- def initialize(type=nil, cosoutputstorage=nil)
15874
+ def initialize(type=nil, cosoutputstorage=nil, s3outputstorage=nil)
15218
15875
  @Type = type
15219
15876
  @CosOutputStorage = cosoutputstorage
15877
+ @S3OutputStorage = s3outputstorage
15220
15878
  end
15221
15879
 
15222
15880
  def deserialize(params)
@@ -15225,6 +15883,10 @@ module TencentCloud
15225
15883
  @CosOutputStorage = CosOutputStorage.new
15226
15884
  @CosOutputStorage.deserialize(params['CosOutputStorage'])
15227
15885
  end
15886
+ unless params['S3OutputStorage'].nil?
15887
+ @S3OutputStorage = S3OutputStorage.new
15888
+ @S3OutputStorage.deserialize(params['S3OutputStorage'])
15889
+ end
15228
15890
  end
15229
15891
  end
15230
15892
 
@@ -16387,6 +17049,56 @@ module TencentCloud
16387
17049
  end
16388
17050
  end
16389
17051
 
17052
+ # WithdrawsWatermark请求参数结构体
17053
+ class WithdrawsWatermarkRequest < TencentCloud::Common::AbstractModel
17054
+ # @param InputInfo: 输入媒体文件存储信息。
17055
+ # @type InputInfo: :class:`Tencentcloud::Mps.v20190612.models.MediaInputInfo`
17056
+ # @param TaskNotifyConfig: 任务的事件通知信息,不填代表不获取事件通知。
17057
+ # @type TaskNotifyConfig: :class:`Tencentcloud::Mps.v20190612.models.TaskNotifyConfig`
17058
+ # @param SessionContext: 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
17059
+ # @type SessionContext: String
17060
+
17061
+ attr_accessor :InputInfo, :TaskNotifyConfig, :SessionContext
17062
+
17063
+ def initialize(inputinfo=nil, tasknotifyconfig=nil, sessioncontext=nil)
17064
+ @InputInfo = inputinfo
17065
+ @TaskNotifyConfig = tasknotifyconfig
17066
+ @SessionContext = sessioncontext
17067
+ end
17068
+
17069
+ def deserialize(params)
17070
+ unless params['InputInfo'].nil?
17071
+ @InputInfo = MediaInputInfo.new
17072
+ @InputInfo.deserialize(params['InputInfo'])
17073
+ end
17074
+ unless params['TaskNotifyConfig'].nil?
17075
+ @TaskNotifyConfig = TaskNotifyConfig.new
17076
+ @TaskNotifyConfig.deserialize(params['TaskNotifyConfig'])
17077
+ end
17078
+ @SessionContext = params['SessionContext']
17079
+ end
17080
+ end
17081
+
17082
+ # WithdrawsWatermark返回参数结构体
17083
+ class WithdrawsWatermarkResponse < TencentCloud::Common::AbstractModel
17084
+ # @param TaskId: 任务 ID,可以通过该 ID 查询任务状态和结果。
17085
+ # @type TaskId: String
17086
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
17087
+ # @type RequestId: String
17088
+
17089
+ attr_accessor :TaskId, :RequestId
17090
+
17091
+ def initialize(taskid=nil, requestid=nil)
17092
+ @TaskId = taskid
17093
+ @RequestId = requestid
17094
+ end
17095
+
17096
+ def deserialize(params)
17097
+ @TaskId = params['TaskId']
17098
+ @RequestId = params['RequestId']
17099
+ end
17100
+ end
17101
+
16390
17102
  # 工作流信息详情。
16391
17103
  class WorkflowInfo < TencentCloud::Common::AbstractModel
16392
17104
  # @param WorkflowId: 工作流 ID。
@@ -16576,17 +17288,26 @@ module TencentCloud
16576
17288
 
16577
17289
  # 输入规则,当上传视频命中该规则时,即触发工作流。
16578
17290
  class WorkflowTrigger < TencentCloud::Common::AbstractModel
16579
- # @param Type: 触发器的类型,目前仅支持 CosFileUpload。
17291
+ # @param Type: 触发器的类型,可选值:
17292
+ # <li>CosFileUpload:COS触发</li>
17293
+ # <li>AwsS3FileUpload:AWS触发,目前只支持转码任务。只有编排支持,工作流不支持。 </li>
17294
+
16580
17295
  # @type Type: String
16581
17296
  # @param CosFileUploadTrigger: 当 Type 为 CosFileUpload 时必填且有效,为 COS 触发规则。
16582
17297
  # 注意:此字段可能返回 null,表示取不到有效值。
16583
17298
  # @type CosFileUploadTrigger: :class:`Tencentcloud::Mps.v20190612.models.CosFileUploadTrigger`
17299
+ # @param AwsS3FileUploadTrigger: 当 Type 为 AwsS3FileUpload 时必填且有效,为 AWS S3 触发规则。
16584
17300
 
16585
- attr_accessor :Type, :CosFileUploadTrigger
17301
+ # 注意:目前AWS的S3、对应触发队列SQS、回调队列SQS的秘钥需要一致。
17302
+ # 注意:此字段可能返回 null,表示取不到有效值。
17303
+ # @type AwsS3FileUploadTrigger: :class:`Tencentcloud::Mps.v20190612.models.AwsS3FileUploadTrigger`
17304
+
17305
+ attr_accessor :Type, :CosFileUploadTrigger, :AwsS3FileUploadTrigger
16586
17306
 
16587
- def initialize(type=nil, cosfileuploadtrigger=nil)
17307
+ def initialize(type=nil, cosfileuploadtrigger=nil, awss3fileuploadtrigger=nil)
16588
17308
  @Type = type
16589
17309
  @CosFileUploadTrigger = cosfileuploadtrigger
17310
+ @AwsS3FileUploadTrigger = awss3fileuploadtrigger
16590
17311
  end
16591
17312
 
16592
17313
  def deserialize(params)
@@ -16595,6 +17316,10 @@ module TencentCloud
16595
17316
  @CosFileUploadTrigger = CosFileUploadTrigger.new
16596
17317
  @CosFileUploadTrigger.deserialize(params['CosFileUploadTrigger'])
16597
17318
  end
17319
+ unless params['AwsS3FileUploadTrigger'].nil?
17320
+ @AwsS3FileUploadTrigger = AwsS3FileUploadTrigger.new
17321
+ @AwsS3FileUploadTrigger.deserialize(params['AwsS3FileUploadTrigger'])
17322
+ end
16598
17323
  end
16599
17324
  end
16600
17325
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mps
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.524
4
+ version: 3.0.526
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-08 00:00:00.000000000 Z
11
+ date: 2023-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common