tencentcloud-sdk-mps 3.0.589 → 3.0.591

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: 4a9d637989b7f0258dd6a466deb062b777faf609
4
- data.tar.gz: 30be51bd94c17da488ae57595be98c22caaf4c38
3
+ metadata.gz: 1dad4a8d9529f135ece8ee30b691ff27fc0b6b8f
4
+ data.tar.gz: cbb7205846d0fc53f60b30cf3a011500346225c8
5
5
  SHA512:
6
- metadata.gz: c23734963db41d7fa81eac9b554534f4df0fb5d91812bc27a978eb29a6f3ada2a759a0abc32eaad3a9b320a339299c66dcbcb176f6318e238e6e05299f9077f5
7
- data.tar.gz: d55a8153cfef8a9b2d52c1e20e9ea160897d25756d2054c6561c6d12299bc609ea41822f3fbebe26fe082d06389b30e2ae26582bd7f118ce92d7cf99f0691557
6
+ metadata.gz: 8ce29ff32faea88cfeae0dc8eb3c3ac1fa08f80cddd152cd07b9d58994d2c09148716ac7b34924ffc56b48fa60c3381172a4552f39372fea9e5dd071f6a8cfb9
7
+ data.tar.gz: e03510731e2530b4fea50b104c3934b99cde3ee3020e8ee28dbd1e6762bf699ea2d450f22ac9334282b8bed5c2967f4f602b2e4aa9ef645ffa5320e2456f3852
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.589
1
+ 3.0.591
@@ -29,6 +29,78 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 批量删除媒体传输流。
33
+
34
+ # @param request: Request instance for BatchDeleteStreamLinkFlow.
35
+ # @type request: :class:`Tencentcloud::mps::V20190612::BatchDeleteStreamLinkFlowRequest`
36
+ # @rtype: :class:`Tencentcloud::mps::V20190612::BatchDeleteStreamLinkFlowResponse`
37
+ def BatchDeleteStreamLinkFlow(request)
38
+ body = send_request('BatchDeleteStreamLinkFlow', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = BatchDeleteStreamLinkFlowResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
56
+ # 批量启动媒体传输流。
57
+
58
+ # @param request: Request instance for BatchStartStreamLinkFlow.
59
+ # @type request: :class:`Tencentcloud::mps::V20190612::BatchStartStreamLinkFlowRequest`
60
+ # @rtype: :class:`Tencentcloud::mps::V20190612::BatchStartStreamLinkFlowResponse`
61
+ def BatchStartStreamLinkFlow(request)
62
+ body = send_request('BatchStartStreamLinkFlow', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = BatchStartStreamLinkFlowResponse.new
66
+ model.deserialize(response['Response'])
67
+ model
68
+ else
69
+ code = response['Response']['Error']['Code']
70
+ message = response['Response']['Error']['Message']
71
+ reqid = response['Response']['RequestId']
72
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
+ end
74
+ rescue TencentCloud::Common::TencentCloudSDKException => e
75
+ raise e
76
+ rescue StandardError => e
77
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
+ end
79
+
80
+ # 批量停止媒体传输流。
81
+
82
+ # @param request: Request instance for BatchStopStreamLinkFlow.
83
+ # @type request: :class:`Tencentcloud::mps::V20190612::BatchStopStreamLinkFlowRequest`
84
+ # @rtype: :class:`Tencentcloud::mps::V20190612::BatchStopStreamLinkFlowResponse`
85
+ def BatchStopStreamLinkFlow(request)
86
+ body = send_request('BatchStopStreamLinkFlow', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = BatchStopStreamLinkFlowResponse.new
90
+ model.deserialize(response['Response'])
91
+ model
92
+ else
93
+ code = response['Response']['Error']['Code']
94
+ message = response['Response']['Error']['Message']
95
+ reqid = response['Response']['RequestId']
96
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
97
+ end
98
+ rescue TencentCloud::Common::TencentCloudSDKException => e
99
+ raise e
100
+ rescue StandardError => e
101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
+ end
103
+
32
104
  # 创建用户自定义内容分析模板,数量上限:50。
33
105
 
34
106
  # @param request: Request instance for CreateAIAnalysisTemplate.
@@ -280,6 +352,30 @@ module TencentCloud
280
352
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
281
353
  end
282
354
 
355
+ # 创建媒体传输的事件Event。
356
+
357
+ # @param request: Request instance for CreateStreamLinkEvent.
358
+ # @type request: :class:`Tencentcloud::mps::V20190612::CreateStreamLinkEventRequest`
359
+ # @rtype: :class:`Tencentcloud::mps::V20190612::CreateStreamLinkEventResponse`
360
+ def CreateStreamLinkEvent(request)
361
+ body = send_request('CreateStreamLinkEvent', request.serialize)
362
+ response = JSON.parse(body)
363
+ if response['Response'].key?('Error') == false
364
+ model = CreateStreamLinkEventResponse.new
365
+ model.deserialize(response['Response'])
366
+ model
367
+ else
368
+ code = response['Response']['Error']['Code']
369
+ message = response['Response']['Error']['Message']
370
+ reqid = response['Response']['RequestId']
371
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
372
+ end
373
+ rescue TencentCloud::Common::TencentCloudSDKException => e
374
+ raise e
375
+ rescue StandardError => e
376
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
377
+ end
378
+
283
379
  # 创建媒体传输的传输流配置。
284
380
 
285
381
  # @param request: Request instance for CreateStreamLinkFlow.
@@ -701,6 +797,30 @@ module TencentCloud
701
797
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
702
798
  end
703
799
 
800
+ # 删除媒体传输的事件配置。
801
+
802
+ # @param request: Request instance for DeleteStreamLinkEvent.
803
+ # @type request: :class:`Tencentcloud::mps::V20190612::DeleteStreamLinkEventRequest`
804
+ # @rtype: :class:`Tencentcloud::mps::V20190612::DeleteStreamLinkEventResponse`
805
+ def DeleteStreamLinkEvent(request)
806
+ body = send_request('DeleteStreamLinkEvent', request.serialize)
807
+ response = JSON.parse(body)
808
+ if response['Response'].key?('Error') == false
809
+ model = DeleteStreamLinkEventResponse.new
810
+ model.deserialize(response['Response'])
811
+ model
812
+ else
813
+ code = response['Response']['Error']['Code']
814
+ message = response['Response']['Error']['Message']
815
+ reqid = response['Response']['RequestId']
816
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
817
+ end
818
+ rescue TencentCloud::Common::TencentCloudSDKException => e
819
+ raise e
820
+ rescue StandardError => e
821
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
822
+ end
823
+
704
824
  # 删除媒体传输的传输流配置。
705
825
 
706
826
  # @param request: Request instance for DeleteStreamLinkFlow.
@@ -1133,6 +1253,78 @@ module TencentCloud
1133
1253
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1134
1254
  end
1135
1255
 
1256
+ # 查询媒体传输事件的配置信息。
1257
+
1258
+ # @param request: Request instance for DescribeStreamLinkEvent.
1259
+ # @type request: :class:`Tencentcloud::mps::V20190612::DescribeStreamLinkEventRequest`
1260
+ # @rtype: :class:`Tencentcloud::mps::V20190612::DescribeStreamLinkEventResponse`
1261
+ def DescribeStreamLinkEvent(request)
1262
+ body = send_request('DescribeStreamLinkEvent', request.serialize)
1263
+ response = JSON.parse(body)
1264
+ if response['Response'].key?('Error') == false
1265
+ model = DescribeStreamLinkEventResponse.new
1266
+ model.deserialize(response['Response'])
1267
+ model
1268
+ else
1269
+ code = response['Response']['Error']['Code']
1270
+ message = response['Response']['Error']['Message']
1271
+ reqid = response['Response']['RequestId']
1272
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1273
+ end
1274
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1275
+ raise e
1276
+ rescue StandardError => e
1277
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1278
+ end
1279
+
1280
+ # 查询媒体传输事件关联的所有媒体输入流的配置信息。
1281
+
1282
+ # @param request: Request instance for DescribeStreamLinkEventAttachedFlows.
1283
+ # @type request: :class:`Tencentcloud::mps::V20190612::DescribeStreamLinkEventAttachedFlowsRequest`
1284
+ # @rtype: :class:`Tencentcloud::mps::V20190612::DescribeStreamLinkEventAttachedFlowsResponse`
1285
+ def DescribeStreamLinkEventAttachedFlows(request)
1286
+ body = send_request('DescribeStreamLinkEventAttachedFlows', request.serialize)
1287
+ response = JSON.parse(body)
1288
+ if response['Response'].key?('Error') == false
1289
+ model = DescribeStreamLinkEventAttachedFlowsResponse.new
1290
+ model.deserialize(response['Response'])
1291
+ model
1292
+ else
1293
+ code = response['Response']['Error']['Code']
1294
+ message = response['Response']['Error']['Message']
1295
+ reqid = response['Response']['RequestId']
1296
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1297
+ end
1298
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1299
+ raise e
1300
+ rescue StandardError => e
1301
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1302
+ end
1303
+
1304
+ # 批量查询媒体传输事件的配置信息。
1305
+
1306
+ # @param request: Request instance for DescribeStreamLinkEvents.
1307
+ # @type request: :class:`Tencentcloud::mps::V20190612::DescribeStreamLinkEventsRequest`
1308
+ # @rtype: :class:`Tencentcloud::mps::V20190612::DescribeStreamLinkEventsResponse`
1309
+ def DescribeStreamLinkEvents(request)
1310
+ body = send_request('DescribeStreamLinkEvents', request.serialize)
1311
+ response = JSON.parse(body)
1312
+ if response['Response'].key?('Error') == false
1313
+ model = DescribeStreamLinkEventsResponse.new
1314
+ model.deserialize(response['Response'])
1315
+ model
1316
+ else
1317
+ code = response['Response']['Error']['Code']
1318
+ message = response['Response']['Error']['Message']
1319
+ reqid = response['Response']['RequestId']
1320
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1321
+ end
1322
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1323
+ raise e
1324
+ rescue StandardError => e
1325
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1326
+ end
1327
+
1136
1328
  # 查询媒体输入流的配置信息。
1137
1329
 
1138
1330
  # @param request: Request instance for DescribeStreamLinkFlow.
@@ -1885,6 +2077,30 @@ module TencentCloud
1885
2077
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1886
2078
  end
1887
2079
 
2080
+ # 修改媒体传输的事件配置信息。
2081
+
2082
+ # @param request: Request instance for ModifyStreamLinkEvent.
2083
+ # @type request: :class:`Tencentcloud::mps::V20190612::ModifyStreamLinkEventRequest`
2084
+ # @rtype: :class:`Tencentcloud::mps::V20190612::ModifyStreamLinkEventResponse`
2085
+ def ModifyStreamLinkEvent(request)
2086
+ body = send_request('ModifyStreamLinkEvent', request.serialize)
2087
+ response = JSON.parse(body)
2088
+ if response['Response'].key?('Error') == false
2089
+ model = ModifyStreamLinkEventResponse.new
2090
+ model.deserialize(response['Response'])
2091
+ model
2092
+ else
2093
+ code = response['Response']['Error']['Code']
2094
+ message = response['Response']['Error']['Message']
2095
+ reqid = response['Response']['RequestId']
2096
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2097
+ end
2098
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2099
+ raise e
2100
+ rescue StandardError => e
2101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2102
+ end
2103
+
1888
2104
  # 修改媒体传输的传输流配置信息。
1889
2105
 
1890
2106
  # @param request: Request instance for ModifyStreamLinkFlow.