tccli 3.0.1218.1__py2.py3-none-any.whl → 3.0.1220.1__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +3 -0
  3. tccli/services/af/v20200226/api.json +2 -2
  4. tccli/services/autoscaling/v20180419/api.json +1 -1
  5. tccli/services/billing/v20180709/api.json +176 -181
  6. tccli/services/billing/v20180709/examples.json +7 -7
  7. tccli/services/cdwch/cdwch_client.py +53 -0
  8. tccli/services/cdwch/v20200915/api.json +100 -0
  9. tccli/services/cdwch/v20200915/examples.json +8 -0
  10. tccli/services/ckafka/v20190819/api.json +7 -7
  11. tccli/services/clb/v20180317/api.json +12 -12
  12. tccli/services/cwp/v20180228/api.json +1 -1
  13. tccli/services/cynosdb/v20190107/api.json +12 -2
  14. tccli/services/es/v20180416/examples.json +2 -2
  15. tccli/services/ess/v20201111/api.json +19 -1
  16. tccli/services/essbasic/v20210526/api.json +28 -1
  17. tccli/services/faceid/v20180301/api.json +2 -2
  18. tccli/services/iai/v20180301/api.json +17 -13
  19. tccli/services/iai/v20200303/examples.json +200 -200
  20. tccli/services/iap/__init__.py +4 -0
  21. tccli/services/iap/iap_client.py +472 -0
  22. tccli/services/iap/v20240713/api.json +471 -0
  23. tccli/services/iap/v20240713/examples.json +59 -0
  24. tccli/services/lcic/v20220817/api.json +3 -3
  25. tccli/services/live/live_client.py +428 -4
  26. tccli/services/live/v20180801/api.json +1070 -68
  27. tccli/services/live/v20180801/examples.json +64 -0
  28. tccli/services/market/v20191010/api.json +7 -7
  29. tccli/services/market/v20191010/examples.json +2 -2
  30. tccli/services/mps/mps_client.py +53 -0
  31. tccli/services/mps/v20190612/api.json +164 -0
  32. tccli/services/mps/v20190612/examples.json +8 -0
  33. tccli/services/partners/v20180321/api.json +4 -4
  34. tccli/services/pts/v20210728/api.json +3 -0
  35. tccli/services/redis/v20180412/api.json +169 -163
  36. tccli/services/redis/v20180412/examples.json +3 -3
  37. tccli/services/svp/v20240125/api.json +29 -29
  38. tccli/services/svp/v20240125/examples.json +1 -1
  39. tccli/services/tat/v20201028/api.json +5 -5
  40. tccli/services/tdmq/v20200217/api.json +1 -1
  41. tccli/services/tke/v20220501/api.json +2 -2
  42. tccli/services/tse/v20201207/api.json +199 -12
  43. tccli/services/tse/v20201207/examples.json +4 -4
  44. tccli/services/vcg/v20240404/api.json +1 -1
  45. tccli/services/vcg/v20240404/examples.json +4 -4
  46. tccli/services/vpc/v20170312/api.json +492 -66
  47. tccli/services/vpc/v20170312/examples.json +59 -21
  48. tccli/services/vpc/vpc_client.py +212 -0
  49. tccli/services/wedata/v20210820/api.json +47 -2
  50. tccli/services/wedata/v20210820/examples.json +1 -1
  51. {tccli-3.0.1218.1.dist-info → tccli-3.0.1220.1.dist-info}/METADATA +2 -2
  52. {tccli-3.0.1218.1.dist-info → tccli-3.0.1220.1.dist-info}/RECORD +55 -51
  53. {tccli-3.0.1218.1.dist-info → tccli-3.0.1220.1.dist-info}/WHEEL +0 -0
  54. {tccli-3.0.1218.1.dist-info → tccli-3.0.1220.1.dist-info}/entry_points.txt +0 -0
  55. {tccli-3.0.1218.1.dist-info → tccli-3.0.1220.1.dist-info}/license_files/LICENSE +0 -0
@@ -40,6 +40,22 @@
40
40
  "title": "取消示例"
41
41
  }
42
42
  ],
43
+ "CopyCaster": [
44
+ {
45
+ "document": "",
46
+ "input": "POST / HTTP/1.1\nHost: live.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CopyCaster\n<公共请求参数>\n\n{\n \"CasterId\": \"1234\",\n \"OutputStreamId\": \"copy_output_example\",\n \"CasterName\": \"copy_example\"\n}",
47
+ "output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\",\n \"CasterId\": 1235\n }\n}",
48
+ "title": "请求示例"
49
+ }
50
+ ],
51
+ "CreateCaster": [
52
+ {
53
+ "document": "请求创建导播台",
54
+ "input": "POST / HTTP/1.1\nHost: live.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCaster\n<公共请求参数>\n\n{\n \"CasterName\": \"example\"\n}",
55
+ "output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\",\n \"CasterId\": 1234\n }\n}",
56
+ "title": "请求示例"
57
+ }
58
+ ],
43
59
  "CreateCommonMixStream": [
44
60
  {
45
61
  "document": "使用混流预置模板混流。",
@@ -224,6 +240,14 @@
224
240
  "title": "示例"
225
241
  }
226
242
  ],
243
+ "DeleteCaster": [
244
+ {
245
+ "document": "删除导播台",
246
+ "input": "POST / HTTP/1.1\nHost: live.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteCaster\n<公共请求参数>\n\n{\n \"CasterId\": \"1234\"\n}",
247
+ "output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
248
+ "title": "请求示例"
249
+ }
250
+ ],
227
251
  "DeleteLiveCallbackRule": [
228
252
  {
229
253
  "document": "删除直播回调规则。",
@@ -432,6 +456,22 @@
432
456
  "title": "请求示例"
433
457
  }
434
458
  ],
459
+ "DescribeCaster": [
460
+ {
461
+ "document": "当需要查询一个导播台的信息时,可以按如下调用。",
462
+ "input": "POST / HTTP/1.1\nHost: live.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCaster\n<公共请求参数>\n\n{\n \"CasterId\": \"1234\"\n}",
463
+ "output": "{\n \"Response\": {\n \"CasterInfo\": {\n \"CasterId\": 1234,\n \"CasterName\": \"example\",\n \"StartLiveTime\": 0,\n \"Description\": \"\",\n \"CreateTime\": 1603158528,\n \"Status\": 0,\n \"ExpireTime\": -1,\n \"DelayTime\": 0,\n \"PgmWidth\": 0,\n \"PgmHeight\": 0,\n \"PgmFps\": 0,\n \"PgmBitRate\": 0,\n \"PgmAudioBitRate\": 256,\n \"FeeType\": 0,\n \"RecordTemplateId\": 0,\n \"RecordStatus\": 0,\n \"RecordTaskId\": \"\"\n },\n \"RequestId\": \"bebdd4e4-4087-411b-ab2e-3692dcfba4c3\"\n }\n}",
464
+ "title": "请求示例"
465
+ }
466
+ ],
467
+ "DescribeCasterDisplayInfo": [
468
+ {
469
+ "document": "",
470
+ "input": "POST / HTTP/1.1\nHost: live.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCasterDisplayInfo\n<公共请求参数>\n\n{\n \"CasterId\": 130\n}",
471
+ "output": "{\n \"Response\": {\n \"PvwDisplayInfo\": {\n \"LayoutIndex\": 0,\n \"MarkPicIndexList\": [],\n \"MarkWordIndexList\": [],\n \"TransitionType\": \"\",\n \"AudioIndexList\": []\n },\n \"PgmDisplayInfo\": {\n \"LayoutIndex\": 0,\n \"MarkPicIndexList\": [],\n \"MarkWordIndexList\": [],\n \"TransitionType\": \"\",\n \"AudioIndexList\": []\n },\n \"Status\": 0,\n \"RequestId\": \"uuid\",\n \"StartLiveTime\": 1670309219\n }\n}",
472
+ "title": "查询导播台展示信息"
473
+ }
474
+ ],
435
475
  "DescribeCasterList": [
436
476
  {
437
477
  "document": "获取某个账号下的所有导播台列表",
@@ -440,6 +480,14 @@
440
480
  "title": "请求示例"
441
481
  }
442
482
  ],
483
+ "DescribeCasterPlayUrl": [
484
+ {
485
+ "document": "获取某个输入或者预监、主监的播放地址",
486
+ "input": "POST / HTTP/1.1\nHost: live.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCasterPlayUrl\n<公共请求参数>\n\n{\n \"PlayUrlType\": \"1\",\n \"CasterId\": \"10\",\n \"PlayUrlIndex\": \"1\"\n}",
487
+ "output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\",\n \"PlayUrl\": \"http://domain/live/test.flv\",\n \"WebRTCPlayUrl\": \"webrtc://webrtc.domain.com/live/test\"\n }\n}",
488
+ "title": "请求示例"
489
+ }
490
+ ],
443
491
  "DescribeCasterTransitionTypes": [
444
492
  {
445
493
  "document": "",
@@ -800,6 +848,14 @@
800
848
  "title": "请求示例"
801
849
  }
802
850
  ],
851
+ "DescribeLiveTimeShiftWriteSizeInfoList": [
852
+ {
853
+ "document": "",
854
+ "input": "POST / HTTP/1.1\nHost: live.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLiveTimeShiftWriteSizeInfoList\n<公共请求参数>\n\n{\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\",\n \"DomainNames\": [\n \"abc\"\n ],\n \"Dimensions\": [\n \"abc\"\n ],\n \"StorageDays\": [\n 0\n ],\n \"Granularity\": 0,\n \"MainlandOrOversea\": \"abc\"\n}",
855
+ "output": "{\n \"Response\": {\n \"DataInfoList\": [\n {\n \"Area\": \"abc\",\n \"Time\": \"abc\",\n \"WriteSize\": 0,\n \"Domain\": \"abc\",\n \"StorageDays\": 0\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
856
+ "title": "请求示例"
857
+ }
858
+ ],
803
859
  "DescribeLiveTranscodeDetailInfo": [
804
860
  {
805
861
  "document": "",
@@ -1080,6 +1136,14 @@
1080
1136
  "title": "请求示例"
1081
1137
  }
1082
1138
  ],
1139
+ "ModifyCaster": [
1140
+ {
1141
+ "document": "请求修改导播台信息",
1142
+ "input": "POST / HTTP/1.1\nHost: live.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyCaster\n<公共请求参数>\n\n{\n \"RecordStatus\": \"1\",\n \"RecordTemplateId\": \"1\",\n \"CasterId\": \"10\",\n \"CasterName\": \"Modify Caster\"\n}",
1143
+ "output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
1144
+ "title": "请求示例"
1145
+ }
1146
+ ],
1083
1147
  "ModifyLiveCallbackTemplate": [
1084
1148
  {
1085
1149
  "document": "请求示例",
@@ -8,7 +8,7 @@
8
8
  "status": "online"
9
9
  },
10
10
  "GetUsagePlanUsageAmount": {
11
- "document": "该接口可以根据InstanceId查询实例的api的使用情况。\n",
11
+ "document": "该接口可以根据InstanceId查询实例的api的使用情况。",
12
12
  "input": "GetUsagePlanUsageAmountRequest",
13
13
  "name": "查询使用计划使用量",
14
14
  "output": "GetUsagePlanUsageAmountResponse",
@@ -107,13 +107,13 @@
107
107
  },
108
108
  {
109
109
  "disabled": false,
110
- "document": "消息\n注意:此字段可能返回 null,表示取不到有效值。",
111
- "example": "",
110
+ "document": "消息",
111
+ "example": "流量已经用尽",
112
112
  "member": "string",
113
113
  "name": "Info",
114
114
  "output_required": true,
115
115
  "type": "string",
116
- "value_allowed_null": true
116
+ "value_allowed_null": false
117
117
  },
118
118
  {
119
119
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
@@ -148,7 +148,7 @@
148
148
  "example": "1000",
149
149
  "member": "int64",
150
150
  "name": "MaxRequestNum",
151
- "required": true,
151
+ "output_required": true,
152
152
  "type": "int",
153
153
  "value_allowed_null": false
154
154
  },
@@ -158,7 +158,7 @@
158
158
  "example": "500",
159
159
  "member": "int64",
160
160
  "name": "InUseRequestNum",
161
- "required": true,
161
+ "output_required": true,
162
162
  "type": "int",
163
163
  "value_allowed_null": false
164
164
  },
@@ -168,7 +168,7 @@
168
168
  "example": "500",
169
169
  "member": "int64",
170
170
  "name": "RemainingRequestNum",
171
- "required": true,
171
+ "output_required": true,
172
172
  "type": "int",
173
173
  "value_allowed_null": false
174
174
  },
@@ -11,8 +11,8 @@
11
11
  "GetUsagePlanUsageAmount": [
12
12
  {
13
13
  "document": "",
14
- "input": "POST / HTTP/1.1\nHost: market.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetUsagePlanUsageAmount\n<公共请求参数>\n\n{\n \"InstanceId\": \"123456789\"\n}",
15
- "output": "{\n \"Response\": {\n \"MaxRequestNum\": 1000,\n \"InUseRequestNum\": 500,\n \"RemainingRequestNum\": 500,\n \"RequestId\": \"xx\"\n }\n}",
14
+ "input": "POST / HTTP/1.1\nHost: market.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetUsagePlanUsageAmount\n<公共请求参数>\n\n{\n \"InstanceId\": \"45419893\"\n}",
15
+ "output": "{\n \"Response\": {\n \"MaxRequestNum\": 1000,\n \"InUseRequestNum\": 500,\n \"RemainingRequestNum\": 500,\n \"RequestId\": \"f598b754-b814-47e7-9052-5848cf9a8862\"\n }\n}",
16
16
  "title": "查询使用计划使用量"
17
17
  }
18
18
  ]
@@ -2357,6 +2357,58 @@ def doStartStreamLinkFlow(args, parsed_globals):
2357
2357
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2358
2358
 
2359
2359
 
2360
+ def doProcessImage(args, parsed_globals):
2361
+ g_param = parse_global_arg(parsed_globals)
2362
+
2363
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2364
+ cred = credential.CVMRoleCredential()
2365
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2366
+ cred = credential.STSAssumeRoleCredential(
2367
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2368
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2369
+ )
2370
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
2371
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2372
+ else:
2373
+ cred = credential.Credential(
2374
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2375
+ )
2376
+ http_profile = HttpProfile(
2377
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2378
+ reqMethod="POST",
2379
+ endpoint=g_param[OptionsDefine.Endpoint],
2380
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2381
+ )
2382
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2383
+ if g_param[OptionsDefine.Language]:
2384
+ profile.language = g_param[OptionsDefine.Language]
2385
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2386
+ client = mod.MpsClient(cred, g_param[OptionsDefine.Region], profile)
2387
+ client._sdkVersion += ("_CLI_" + __version__)
2388
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2389
+ model = models.ProcessImageRequest()
2390
+ model.from_json_string(json.dumps(args))
2391
+ start_time = time.time()
2392
+ while True:
2393
+ rsp = client.ProcessImage(model)
2394
+ result = rsp.to_json_string()
2395
+ try:
2396
+ json_obj = json.loads(result)
2397
+ except TypeError as e:
2398
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2399
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2400
+ break
2401
+ cur_time = time.time()
2402
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2403
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2404
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2405
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2406
+ else:
2407
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2408
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2409
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2410
+
2411
+
2360
2412
  def doModifyStreamLinkInput(args, parsed_globals):
2361
2413
  g_param = parse_global_arg(parsed_globals)
2362
2414
 
@@ -5689,6 +5741,7 @@ ACTION_MAP = {
5689
5741
  "DescribeTranscodeTemplates": doDescribeTranscodeTemplates,
5690
5742
  "DeleteStreamLinkFlow": doDeleteStreamLinkFlow,
5691
5743
  "StartStreamLinkFlow": doStartStreamLinkFlow,
5744
+ "ProcessImage": doProcessImage,
5692
5745
  "ModifyStreamLinkInput": doModifyStreamLinkInput,
5693
5746
  "DescribeStreamLinkRegions": doDescribeStreamLinkRegions,
5694
5747
  "DescribeSchedules": doDescribeSchedules,
@@ -707,6 +707,13 @@
707
707
  "output": "ParseNotificationResponse",
708
708
  "status": "online"
709
709
  },
710
+ "ProcessImage": {
711
+ "document": "发起图片处理,功能包括:\n1. 格式转换;\n2. 图像增强;",
712
+ "input": "ProcessImageRequest",
713
+ "name": "发起图片处理",
714
+ "output": "ProcessImageResponse",
715
+ "status": "online"
716
+ },
710
717
  "ProcessLiveStream": {
711
718
  "document": "对直播流媒体发起处理任务,功能包括:\n\n* 智能内容审核(画面鉴黄、敏感信息检测、声音鉴黄);\n* 智能内容识别(人脸、文本全文、文本关键词、语音全文、语音关键词、语音实时翻译、物体识别、游戏打点)。\n* 智能内容分析(新闻实时拆条)。\n* 质检(直播流格式诊断、音画内容检测(抖动、模糊、低光照、过曝光、黑边、白边、黑屏、白屏、花屏、噪点、马赛克、二维码等)、无参考打分)。\n* 录制\n\n直播流处理事件通知支持HTTP回调,也支持实时写入用户指定的消息队列 CMQ 中,用户从消息队列 CMQ 中获取事件通知结果,同时处理过程中存在输出文件的,会写入用户指定的输出文件的目标存储中。",
712
719
  "input": "ProcessLiveStreamRequest",
@@ -16239,6 +16246,51 @@
16239
16246
  ],
16240
16247
  "usage": "out"
16241
16248
  },
16249
+ "ImageEncodeConfig": {
16250
+ "document": "图片编码格式参数",
16251
+ "members": [
16252
+ {
16253
+ "disabled": false,
16254
+ "document": "图片格式,取值范围:JPG、BMP、GIF、PNG、WebP,缺省为原图格式。\n注意:此字段可能返回 null,表示取不到有效值。",
16255
+ "example": "JPEG",
16256
+ "member": "string",
16257
+ "name": "Format",
16258
+ "output_required": false,
16259
+ "required": false,
16260
+ "type": "string",
16261
+ "value_allowed_null": true
16262
+ },
16263
+ {
16264
+ "disabled": false,
16265
+ "document": "图片的相对质量,取值范围:1 - 100,数值以原图质量为标准,缺省为原图质量。\n注意:此字段可能返回 null,表示取不到有效值。",
16266
+ "example": "50",
16267
+ "member": "int64",
16268
+ "name": "Quality",
16269
+ "output_required": false,
16270
+ "required": false,
16271
+ "type": "int",
16272
+ "value_allowed_null": true
16273
+ }
16274
+ ],
16275
+ "usage": "both"
16276
+ },
16277
+ "ImageEnhanceConfig": {
16278
+ "document": "图片增强参数",
16279
+ "members": [
16280
+ {
16281
+ "disabled": false,
16282
+ "document": "超分配置。\n注意:此字段可能返回 null,表示取不到有效值。",
16283
+ "example": "无",
16284
+ "member": "SuperResolutionConfig",
16285
+ "name": "SuperResolution",
16286
+ "output_required": false,
16287
+ "required": false,
16288
+ "type": "object",
16289
+ "value_allowed_null": true
16290
+ }
16291
+ ],
16292
+ "usage": "both"
16293
+ },
16242
16294
  "ImageQualityEnhanceConfig": {
16243
16295
  "document": "综合增强配置",
16244
16296
  "members": [
@@ -16482,6 +16534,34 @@
16482
16534
  ],
16483
16535
  "usage": "out"
16484
16536
  },
16537
+ "ImageTaskInput": {
16538
+ "document": "图片任务输入参数",
16539
+ "members": [
16540
+ {
16541
+ "disabled": false,
16542
+ "document": "图片编码配置。\n注意:此字段可能返回 null,表示取不到有效值。",
16543
+ "example": "无",
16544
+ "member": "ImageEncodeConfig",
16545
+ "name": "EncodeConfig",
16546
+ "output_required": false,
16547
+ "required": false,
16548
+ "type": "object",
16549
+ "value_allowed_null": true
16550
+ },
16551
+ {
16552
+ "disabled": false,
16553
+ "document": "图片增强配置。\n注意:此字段可能返回 null,表示取不到有效值。",
16554
+ "example": "无",
16555
+ "member": "ImageEnhanceConfig",
16556
+ "name": "EnhanceConfig",
16557
+ "output_required": false,
16558
+ "required": false,
16559
+ "type": "object",
16560
+ "value_allowed_null": true
16561
+ }
16562
+ ],
16563
+ "usage": "both"
16564
+ },
16485
16565
  "ImageWatermarkInput": {
16486
16566
  "document": "图片水印模板输入参数",
16487
16567
  "members": [
@@ -23283,6 +23363,70 @@
23283
23363
  ],
23284
23364
  "usage": "in"
23285
23365
  },
23366
+ "ProcessImageRequest": {
23367
+ "document": "ProcessImage请求参数结构体",
23368
+ "members": [
23369
+ {
23370
+ "disabled": false,
23371
+ "document": "图片处理的文件输入信息。",
23372
+ "example": "无",
23373
+ "member": "MediaInputInfo",
23374
+ "name": "InputInfo",
23375
+ "required": true,
23376
+ "type": "object"
23377
+ },
23378
+ {
23379
+ "disabled": false,
23380
+ "document": "图片处理输出文件的目标存储。不填则继承 InputInfo 中的存储位置。",
23381
+ "example": "无",
23382
+ "member": "TaskOutputStorage",
23383
+ "name": "OutputStorage",
23384
+ "required": false,
23385
+ "type": "object"
23386
+ },
23387
+ {
23388
+ "disabled": false,
23389
+ "document": "图片处理生成的文件输出的路径。如果不填表示与 InputInfo 中文件所在的目录一致。如果是目录,如`/image/201907/`,表示继承原文件名输出到该目录。",
23390
+ "example": "无",
23391
+ "member": "string",
23392
+ "name": "OutputDir",
23393
+ "required": false,
23394
+ "type": "string"
23395
+ },
23396
+ {
23397
+ "disabled": false,
23398
+ "document": "图片处理参数。",
23399
+ "example": "无",
23400
+ "member": "ImageTaskInput",
23401
+ "name": "ImageTask",
23402
+ "required": false,
23403
+ "type": "object"
23404
+ }
23405
+ ],
23406
+ "type": "object"
23407
+ },
23408
+ "ProcessImageResponse": {
23409
+ "document": "ProcessImage返回参数结构体",
23410
+ "members": [
23411
+ {
23412
+ "disabled": false,
23413
+ "document": "任务 ID。",
23414
+ "example": "125xxx65-procedurev2-bffb15f07530b57bc1aabb01fac74bca",
23415
+ "member": "string",
23416
+ "name": "TaskId",
23417
+ "output_required": true,
23418
+ "type": "string",
23419
+ "value_allowed_null": false
23420
+ },
23421
+ {
23422
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
23423
+ "member": "string",
23424
+ "name": "RequestId",
23425
+ "type": "string"
23426
+ }
23427
+ ],
23428
+ "type": "object"
23429
+ },
23286
23430
  "ProcessLiveStreamRequest": {
23287
23431
  "document": "ProcessLiveStream请求参数结构体",
23288
23432
  "members": [
@@ -25553,6 +25697,16 @@
25553
25697
  "type": "string",
25554
25698
  "value_allowed_null": true
25555
25699
  },
25700
+ {
25701
+ "disabled": false,
25702
+ "document": "拆条片段封面。\n注意:此字段可能返回 null,表示取不到有效值。",
25703
+ "example": "无",
25704
+ "member": "string",
25705
+ "name": "CovImgUrl",
25706
+ "output_required": true,
25707
+ "type": "string",
25708
+ "value_allowed_null": true
25709
+ },
25556
25710
  {
25557
25711
  "disabled": false,
25558
25712
  "document": "分段标题。\n注意:此字段可能返回 null,表示取不到有效值。",
@@ -25573,6 +25727,16 @@
25573
25727
  "type": "string",
25574
25728
  "value_allowed_null": true
25575
25729
  },
25730
+ {
25731
+ "disabled": false,
25732
+ "document": "分段关键词。",
25733
+ "example": "无",
25734
+ "member": "string",
25735
+ "name": "Keywords",
25736
+ "output_required": false,
25737
+ "type": "list",
25738
+ "value_allowed_null": false
25739
+ },
25576
25740
  {
25577
25741
  "disabled": false,
25578
25742
  "document": "直播切片对应直播起始时间点,采用 ISO 日期格式。\n注意:此字段可能返回 null,表示取不到有效值。",
@@ -988,6 +988,14 @@
988
988
  "title": "解析事件通知内容"
989
989
  }
990
990
  ],
991
+ "ProcessImage": [
992
+ {
993
+ "document": "发起图片增强",
994
+ "input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ProcessImage\n<公共请求参数>\n\n{\n \"InputInfo\": {\n \"Type\": \"COS\",\n \"CosInputInfo\": {\n \"Bucket\": \"bucket-test\",\n \"Region\": \"ap-shanghai\",\n \"Object\": \"/image/test.png\"\n }\n },\n \"OutputStorage\": {\n \"Type\": \"COS\",\n \"CosOutputStorage\": {\n \"Bucket\": \"bucket-test\",\n \"Region\": \"ap-shanghai\"\n }\n },\n \"ImageTask\": {\n \"EncodeConfig\": {\n \"Format\": \"jpeg\",\n \"Quality\": 75\n },\n \"EnhanceConfig\": {\n \"SuperResolution\": {\n \"Switch\": \"ON\"\n }\n }\n }\n}",
995
+ "output": "{\n \"Response\": {\n \"RequestId\": \"03b25aab-8883-497e-838f-d760c3e220f6\",\n \"TaskId\": \"3pg2p4jEfbFHYo2rgB0Kzl0esg4NeBItcZyllxO4HNJXdNeRUhk9GjDMjCj1auPv\"\n }\n}",
996
+ "title": "发起图片增强"
997
+ }
998
+ ],
991
999
  "ProcessLiveStream": [
992
1000
  {
993
1001
  "document": "对 URL 为 http://www.abc.com/abc.m3u8 的直播流发起内容识别任务。",
@@ -582,7 +582,7 @@
582
582
  {
583
583
  "disabled": false,
584
584
  "document": "订单自增 ID【请勿依赖该字段作为唯一标识】",
585
- "example": "202008124664564",
585
+ "example": "20200812123456",
586
586
  "member": "string",
587
587
  "name": "DealId",
588
588
  "output_required": true,
@@ -592,7 +592,7 @@
592
592
  {
593
593
  "disabled": false,
594
594
  "document": "订单号【订单唯一键】",
595
- "example": "202008124664564",
595
+ "example": "20200812123456",
596
596
  "member": "string",
597
597
  "name": "DealName",
598
598
  "output_required": true,
@@ -762,7 +762,7 @@
762
762
  {
763
763
  "disabled": false,
764
764
  "document": "大订单号",
765
- "example": "202008124664564",
765
+ "example": "20200812123456",
766
766
  "member": "string",
767
767
  "name": "BigDealId",
768
768
  "output_required": true,
@@ -872,7 +872,7 @@
872
872
  {
873
873
  "disabled": false,
874
874
  "document": "退款单的原订单信息。当前仅 DescribeClientDealsByCache 接口会返回该字段",
875
- "example": "[{\"DealName\":\"test\",\"RefundAmount\":10001}]",
875
+ "example": "[{\"DealName\":\"demo\",\"RefundAmount\":10001}]",
876
876
  "member": "RefundMap",
877
877
  "name": "RefundMap",
878
878
  "output_required": false,
@@ -5314,6 +5314,7 @@
5314
5314
  "example": "无",
5315
5315
  "member": "Concurrency",
5316
5316
  "name": "Concurrency",
5317
+ "output_required": true,
5317
5318
  "required": false,
5318
5319
  "type": "object",
5319
5320
  "value_allowed_null": true
@@ -5324,6 +5325,7 @@
5324
5325
  "example": "无",
5325
5326
  "member": "RequestsPerSecond",
5326
5327
  "name": "RequestsPerSecond",
5328
+ "output_required": true,
5327
5329
  "required": false,
5328
5330
  "type": "object",
5329
5331
  "value_allowed_null": true
@@ -5334,6 +5336,7 @@
5334
5336
  "example": "无",
5335
5337
  "member": "ScriptOrigin",
5336
5338
  "name": "ScriptOrigin",
5339
+ "output_required": true,
5337
5340
  "required": false,
5338
5341
  "type": "object",
5339
5342
  "value_allowed_null": true