tccli 3.0.1140.1__py2.py3-none-any.whl → 3.0.1142.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/csip/v20221121/api.json +158 -159
  3. tccli/services/csip/v20221121/examples.json +12 -12
  4. tccli/services/cynosdb/v20190107/api.json +113 -33
  5. tccli/services/cynosdb/v20190107/examples.json +3 -3
  6. tccli/services/dcdb/v20180411/api.json +21 -11
  7. tccli/services/domain/v20180808/api.json +30 -30
  8. tccli/services/dts/v20211206/api.json +11 -0
  9. tccli/services/emr/v20190103/api.json +2 -2
  10. tccli/services/ess/v20201111/api.json +13 -4
  11. tccli/services/ess/v20201111/examples.json +2 -2
  12. tccli/services/essbasic/v20210526/api.json +1 -1
  13. tccli/services/gaap/gaap_client.py +61 -8
  14. tccli/services/gaap/v20180529/api.json +52 -0
  15. tccli/services/gaap/v20180529/examples.json +8 -0
  16. tccli/services/ims/v20201229/api.json +2 -2
  17. tccli/services/mariadb/v20170312/api.json +21 -11
  18. tccli/services/mmps/v20200710/api.json +3 -3
  19. tccli/services/monitor/v20180724/api.json +10 -1
  20. tccli/services/ocr/v20181119/api.json +41 -4
  21. tccli/services/ocr/v20181119/examples.json +2 -2
  22. tccli/services/organization/v20210331/api.json +2 -2
  23. tccli/services/scf/v20180416/api.json +10 -11
  24. tccli/services/scf/v20180416/examples.json +1 -1
  25. tccli/services/ssl/v20191205/api.json +63 -22
  26. tccli/services/ssl/v20191205/examples.json +4 -4
  27. tccli/services/tdmq/v20200217/api.json +22 -3
  28. tccli/services/tdmq/v20200217/examples.json +2 -2
  29. tccli/services/teo/v20220901/api.json +61 -6
  30. tccli/services/teo/v20220901/examples.json +6 -0
  31. tccli/services/vpc/v20170312/api.json +2164 -214
  32. tccli/services/vpc/v20170312/examples.json +154 -4
  33. tccli/services/vpc/vpc_client.py +1180 -226
  34. tccli/services/waf/v20180125/api.json +51 -91
  35. tccli/services/waf/v20180125/examples.json +0 -8
  36. tccli/services/waf/waf_client.py +0 -53
  37. tccli/services/wedata/v20210820/api.json +360 -0
  38. tccli/services/wedata/v20210820/examples.json +28 -0
  39. tccli/services/wedata/wedata_client.py +114 -8
  40. {tccli-3.0.1140.1.dist-info → tccli-3.0.1142.1.dist-info}/METADATA +2 -2
  41. {tccli-3.0.1140.1.dist-info → tccli-3.0.1142.1.dist-info}/RECORD +44 -44
  42. {tccli-3.0.1140.1.dist-info → tccli-3.0.1142.1.dist-info}/WHEEL +0 -0
  43. {tccli-3.0.1140.1.dist-info → tccli-3.0.1142.1.dist-info}/entry_points.txt +0 -0
  44. {tccli-3.0.1140.1.dist-info → tccli-3.0.1142.1.dist-info}/license_files/LICENSE +0 -0
@@ -901,6 +901,58 @@ def doDescribeDestRegions(args, parsed_globals):
901
901
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
902
902
 
903
903
 
904
+ def doSetTlsVersion(args, parsed_globals):
905
+ g_param = parse_global_arg(parsed_globals)
906
+
907
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
908
+ cred = credential.CVMRoleCredential()
909
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
910
+ cred = credential.STSAssumeRoleCredential(
911
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
912
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
913
+ )
914
+ 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):
915
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
916
+ else:
917
+ cred = credential.Credential(
918
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
919
+ )
920
+ http_profile = HttpProfile(
921
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
922
+ reqMethod="POST",
923
+ endpoint=g_param[OptionsDefine.Endpoint],
924
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
925
+ )
926
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
927
+ if g_param[OptionsDefine.Language]:
928
+ profile.language = g_param[OptionsDefine.Language]
929
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
930
+ client = mod.GaapClient(cred, g_param[OptionsDefine.Region], profile)
931
+ client._sdkVersion += ("_CLI_" + __version__)
932
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
933
+ model = models.SetTlsVersionRequest()
934
+ model.from_json_string(json.dumps(args))
935
+ start_time = time.time()
936
+ while True:
937
+ rsp = client.SetTlsVersion(model)
938
+ result = rsp.to_json_string()
939
+ try:
940
+ json_obj = json.loads(result)
941
+ except TypeError as e:
942
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
943
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
944
+ break
945
+ cur_time = time.time()
946
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
947
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
948
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
949
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
950
+ else:
951
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
952
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
953
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
954
+
955
+
904
956
  def doCreateUDPListeners(args, parsed_globals):
905
957
  g_param = parse_global_arg(parsed_globals)
906
958
 
@@ -2669,7 +2721,7 @@ def doDescribeCustomHeader(args, parsed_globals):
2669
2721
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2670
2722
 
2671
2723
 
2672
- def doModifyProxiesAttribute(args, parsed_globals):
2724
+ def doDeleteGlobalDomainDns(args, parsed_globals):
2673
2725
  g_param = parse_global_arg(parsed_globals)
2674
2726
 
2675
2727
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2698,11 +2750,11 @@ def doModifyProxiesAttribute(args, parsed_globals):
2698
2750
  client = mod.GaapClient(cred, g_param[OptionsDefine.Region], profile)
2699
2751
  client._sdkVersion += ("_CLI_" + __version__)
2700
2752
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2701
- model = models.ModifyProxiesAttributeRequest()
2753
+ model = models.DeleteGlobalDomainDnsRequest()
2702
2754
  model.from_json_string(json.dumps(args))
2703
2755
  start_time = time.time()
2704
2756
  while True:
2705
- rsp = client.ModifyProxiesAttribute(model)
2757
+ rsp = client.DeleteGlobalDomainDns(model)
2706
2758
  result = rsp.to_json_string()
2707
2759
  try:
2708
2760
  json_obj = json.loads(result)
@@ -4437,7 +4489,7 @@ def doDescribeGroupDomainConfig(args, parsed_globals):
4437
4489
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4438
4490
 
4439
4491
 
4440
- def doDeleteGlobalDomainDns(args, parsed_globals):
4492
+ def doModifyProxiesAttribute(args, parsed_globals):
4441
4493
  g_param = parse_global_arg(parsed_globals)
4442
4494
 
4443
4495
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -4466,11 +4518,11 @@ def doDeleteGlobalDomainDns(args, parsed_globals):
4466
4518
  client = mod.GaapClient(cred, g_param[OptionsDefine.Region], profile)
4467
4519
  client._sdkVersion += ("_CLI_" + __version__)
4468
4520
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
4469
- model = models.DeleteGlobalDomainDnsRequest()
4521
+ model = models.ModifyProxiesAttributeRequest()
4470
4522
  model.from_json_string(json.dumps(args))
4471
4523
  start_time = time.time()
4472
4524
  while True:
4473
- rsp = client.DeleteGlobalDomainDns(model)
4525
+ rsp = client.ModifyProxiesAttribute(model)
4474
4526
  result = rsp.to_json_string()
4475
4527
  try:
4476
4528
  json_obj = json.loads(result)
@@ -5401,6 +5453,7 @@ ACTION_MAP = {
5401
5453
  "CloseSecurityPolicy": doCloseSecurityPolicy,
5402
5454
  "CreateProxyGroupDomain": doCreateProxyGroupDomain,
5403
5455
  "DescribeDestRegions": doDescribeDestRegions,
5456
+ "SetTlsVersion": doSetTlsVersion,
5404
5457
  "CreateUDPListeners": doCreateUDPListeners,
5405
5458
  "DescribeProxyDetail": doDescribeProxyDetail,
5406
5459
  "DescribeRuleRealServers": doDescribeRuleRealServers,
@@ -5435,7 +5488,7 @@ ACTION_MAP = {
5435
5488
  "CreateProxyGroup": doCreateProxyGroup,
5436
5489
  "CreateCertificate": doCreateCertificate,
5437
5490
  "DescribeCustomHeader": doDescribeCustomHeader,
5438
- "ModifyProxiesAttribute": doModifyProxiesAttribute,
5491
+ "DeleteGlobalDomainDns": doDeleteGlobalDomainDns,
5439
5492
  "CreateProxy": doCreateProxy,
5440
5493
  "DeleteDomain": doDeleteDomain,
5441
5494
  "DescribeSecurityPolicyDetail": doDescribeSecurityPolicyDetail,
@@ -5469,7 +5522,7 @@ ACTION_MAP = {
5469
5522
  "DescribeAccessRegions": doDescribeAccessRegions,
5470
5523
  "ModifyRuleAttribute": doModifyRuleAttribute,
5471
5524
  "DescribeGroupDomainConfig": doDescribeGroupDomainConfig,
5472
- "DeleteGlobalDomainDns": doDeleteGlobalDomainDns,
5525
+ "ModifyProxiesAttribute": doModifyProxiesAttribute,
5473
5526
  "ModifyHTTPSListenerAttribute": doModifyHTTPSListenerAttribute,
5474
5527
  "DescribeListenerStatistics": doDescribeListenerStatistics,
5475
5528
  "DeleteListeners": doDeleteListeners,
@@ -720,6 +720,13 @@
720
720
  "name": "认证高级配置",
721
721
  "output": "SetAuthenticationResponse",
722
722
  "status": "online"
723
+ },
724
+ "SetTlsVersion": {
725
+ "document": "设置监听器TLS配置",
726
+ "input": "SetTlsVersionRequest",
727
+ "name": "设置监听器TLS配置",
728
+ "output": "SetTlsVersionResponse",
729
+ "status": "online"
723
730
  }
724
731
  },
725
732
  "metadata": {
@@ -10783,6 +10790,51 @@
10783
10790
  ],
10784
10791
  "type": "object"
10785
10792
  },
10793
+ "SetTlsVersionRequest": {
10794
+ "document": "SetTlsVersion请求参数结构体",
10795
+ "members": [
10796
+ {
10797
+ "disabled": false,
10798
+ "document": "监听器ID",
10799
+ "example": "listener-dsdd",
10800
+ "member": "string",
10801
+ "name": "ListenerId",
10802
+ "required": true,
10803
+ "type": "string"
10804
+ },
10805
+ {
10806
+ "disabled": false,
10807
+ "document": "TLS版本",
10808
+ "example": "[\"TLSv1.2\", \"TLSv1.3\"]",
10809
+ "member": "string",
10810
+ "name": "TLSSupportVersion",
10811
+ "required": true,
10812
+ "type": "list"
10813
+ },
10814
+ {
10815
+ "disabled": false,
10816
+ "document": "密码套件包",
10817
+ "example": "GAAP_TLS_CIPHERS_GENERAL",
10818
+ "member": "string",
10819
+ "name": "TLSCiphers",
10820
+ "required": true,
10821
+ "type": "string"
10822
+ }
10823
+ ],
10824
+ "type": "object"
10825
+ },
10826
+ "SetTlsVersionResponse": {
10827
+ "document": "SetTlsVersion返回参数结构体",
10828
+ "members": [
10829
+ {
10830
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
10831
+ "member": "string",
10832
+ "name": "RequestId",
10833
+ "type": "string"
10834
+ }
10835
+ ],
10836
+ "type": "object"
10837
+ },
10786
10838
  "SrcAddressInfo": {
10787
10839
  "document": "网络加速的原地址信息",
10788
10840
  "members": [
@@ -883,6 +883,14 @@
883
883
  "output": "{\n \"Response\": {\n \"RequestId\": \"c7bfcad5-3f20-472f-9afc-13a66faebad8\"\n }\n}",
884
884
  "title": "认证高级配置"
885
885
  }
886
+ ],
887
+ "SetTlsVersion": [
888
+ {
889
+ "document": "",
890
+ "input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SetTlsVersion\n<公共请求参数>\n\n{\n \"ListenerId\": \"abc\",\n \"TLSSupportVersion\": [\n \"TLSv1.2\"\n ],\n \"TLSCiphers\": \"GAAP_TLS_CIPHERS_GENERAL\"\n}",
891
+ "output": "{\n \"Response\": {\n \"RequestId\": \"wqdcasdca-da-wedqfc\"\n }\n}",
892
+ "title": "setTls示例"
893
+ }
886
894
  ]
887
895
  },
888
896
  "version": "1.0"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "actions": {
3
3
  "CreateImageModerationAsyncTask": {
4
- "document": "本接口用于提交图片文件进行异步智能审核任务。使用前请您使用腾讯云主账号登录控制台 [开通图片内容安全服务](https://console.cloud.tencent.com/cms/image/package) 并调整好对应的业务配置。\n### 接口使用说明:\n- 前往“[内容安全控制台-图片内容安全](https://console.cloud.tencent.com/cms/image/package)”开启使用图片内容安全服务,首次开通服务的用户可免费领用试用套餐包,包含**3000张图片**识别额度,有效期为15天。\n- 该接口为收费接口,计费方式敬请参见 [腾讯云图片内容安全定价](https://cloud.tencent.com/product/ims/pricing)。\n\n### 接口功能说明:\n- 支持对图片文件或链接进行检测,通过深度学习技术,识别可能令人反感、不安全或不适宜的违规图片内容;\n- 支持对GIF图/长图进行截帧或拆分检测;\n- 支持识别多种违规场景,包括:低俗、违法违规、色情、广告等场景;\n- 支持多种物体检测(实体、广告台标、二维码等)及图片中文本的OCR文本识别;\n- 支持根据不同的业务场景配置自定义的审核策略;\n- 支持用户自定义选择图片风险库,打击自定义识别类型的违规图片(目前仅支持黑名单配置);\n- 支持在审核图片内容时同时关联账号或设备信息,可识别违规风险账号或设备。\n### 接口调用说明:\n- 图片文件大小限制:**Base64编码内容应小于10MB**;**图片资源应小于100MB**\n- 图片尺寸支持:**长和宽 需>50分辨率且<40000分辨率,并且图片长宽比<90:1;**\n- 图片文件分辨率支持:建议**分辨率大于256x256**,否则可能会影响识别效果;\n- 图片文件支持格式:PNG、JPG、JPEG、BMP、GIF、WEBP格式;\n- 图片文件链接支持的传输协议:HTTP、HTTPS;\n- 若传入图片文件的访问链接,则需要注意**图片下载时间限制为3秒**,为保障被检测图片的稳定性和可靠性,建议您使用腾讯云COS存储或者CDN缓存等;\n- 默认接口请求频率限制:**20次/秒**,超过此调用频率则会报错。",
4
+ "document": "本接口用于提交图片文件进行异步智能审核任务。使用前请您使用腾讯云主账号登录控制台 [开通图片内容安全服务](https://console.cloud.tencent.com/cms/image/package) 并调整好对应的业务配置。\n### 接口使用说明:\n- 前往“[内容安全控制台-图片内容安全](https://console.cloud.tencent.com/cms/image/package)”开启使用图片内容安全服务,首次开通服务的用户可免费领用试用套餐包,包含**3000张图片**识别额度,有效期为15天。\n- 该接口为收费接口,计费方式敬请参见 [腾讯云图片内容安全定价](https://cloud.tencent.com/product/ims/pricing)。\n\n### 接口功能说明:\n- 支持对图片文件或链接进行检测,通过深度学习技术,识别可能令人反感、不安全或不适宜的违规图片内容;\n- 支持对GIF图/长图进行截帧或拆分检测;\n- 支持识别多种违规场景,包括:低俗、违法违规、色情、广告等场景;\n- 支持多种物体检测(实体、广告台标、二维码等)及图片中文本的OCR文本识别;\n- 支持根据不同的业务场景配置自定义的审核策略;\n- 支持用户自定义选择图片风险库,打击自定义识别类型的违规图片(目前仅支持黑名单配置);\n- 支持在审核图片内容时同时关联账号或设备信息,可识别违规风险账号或设备。\n### 接口调用说明:\n- 图片文件大小限制:**Base64编码内容应小于10MB**;**图片资源应小于100MB**\n- 图片尺寸支持:**长和宽 需>50分辨率且<40000分辨率,并且图片长宽比<90:1;**\n- 图片文件分辨率支持:建议**分辨率大于256x256**,否则可能会影响识别效果;\n- 图片文件支持格式:PNG、JPG、JPEG、BMP、GIF、WEBP格式;\n- 图片文件链接支持的传输协议:HTTP、HTTPS;\n- 若传入图片文件的访问链接,则需要注意**图片下载时间限制为3秒**,为保障被检测图片的稳定性和可靠性,建议您使用腾讯云COS存储或者CDN缓存等;\n- 默认接口请求频率限制:**20次/秒**,超过此调用频率则会报错。\n- ### 接口回调格式:\n- 图片异步检测接口回调格式同[图片同步检测接口输出参数](https://cloud.tencent.com/document/product/1125/53273#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)",
5
5
  "input": "CreateImageModerationAsyncTaskRequest",
6
6
  "name": "图片异步检测",
7
7
  "output": "CreateImageModerationAsyncTaskResponse",
@@ -54,7 +54,7 @@
54
54
  },
55
55
  {
56
56
  "disabled": false,
57
- "document": "该字段表示待检测图片文件内容的Base64编码,图片**大小不超过5MB**,建议**分辨率不低于256x256**,否则可能会影响识别效果。<br>备注: **该字段与FileUrl必须选择输入其中一个**。",
57
+ "document": "该字段表示待检测图片文件内容的Base64编码,图片**大小不超过30MB**,建议**分辨率不低于256x256**,否则可能会影响识别效果。<br>备注: **该字段与FileUrl必须选择输入其中一个**。",
58
58
  "example": "aHR0cDovL2lubmVycG9ybnNjcmVlbnNob3QtMTI1MjgxMzg1MC5jb3MuYXAtZ3Vh",
59
59
  "member": "string",
60
60
  "name": "FileContent",
@@ -5985,7 +5985,7 @@
5985
5985
  "example": "tdsql-xxx",
5986
5986
  "member": "string",
5987
5987
  "name": "InstanceId",
5988
- "required": true,
5988
+ "output_required": true,
5989
5989
  "type": "string",
5990
5990
  "value_allowed_null": false
5991
5991
  },
@@ -5995,7 +5995,7 @@
5995
5995
  "example": "tdsql-xxx",
5996
5996
  "member": "string",
5997
5997
  "name": "InstanceName",
5998
- "required": true,
5998
+ "output_required": true,
5999
5999
  "type": "string",
6000
6000
  "value_allowed_null": false
6001
6001
  },
@@ -6005,7 +6005,7 @@
6005
6005
  "example": "2",
6006
6006
  "member": "int64",
6007
6007
  "name": "InstanceStatus",
6008
- "required": true,
6008
+ "output_required": true,
6009
6009
  "type": "int",
6010
6010
  "value_allowed_null": false
6011
6011
  },
@@ -6015,7 +6015,7 @@
6015
6015
  "example": "无",
6016
6016
  "member": "string",
6017
6017
  "name": "ShardId",
6018
- "required": true,
6018
+ "output_required": true,
6019
6019
  "type": "string",
6020
6020
  "value_allowed_null": true
6021
6021
  },
@@ -6025,7 +6025,7 @@
6025
6025
  "example": "/backup/xxx.lz4",
6026
6026
  "member": "string",
6027
6027
  "name": "FilePath",
6028
- "required": true,
6028
+ "output_required": true,
6029
6029
  "type": "string",
6030
6030
  "value_allowed_null": false
6031
6031
  },
@@ -6035,7 +6035,7 @@
6035
6035
  "example": "xxx.lz4",
6036
6036
  "member": "string",
6037
6037
  "name": "FileName",
6038
- "required": true,
6038
+ "output_required": true,
6039
6039
  "type": "string",
6040
6040
  "value_allowed_null": false
6041
6041
  },
@@ -6045,7 +6045,7 @@
6045
6045
  "example": "1",
6046
6046
  "member": "int64",
6047
6047
  "name": "FileSize",
6048
- "required": true,
6048
+ "output_required": true,
6049
6049
  "type": "int",
6050
6050
  "value_allowed_null": false
6051
6051
  },
@@ -6055,7 +6055,7 @@
6055
6055
  "example": "Binlog",
6056
6056
  "member": "string",
6057
6057
  "name": "BackupType",
6058
- "required": true,
6058
+ "output_required": true,
6059
6059
  "type": "string",
6060
6060
  "value_allowed_null": false
6061
6061
  },
@@ -6065,7 +6065,7 @@
6065
6065
  "example": "0",
6066
6066
  "member": "int64",
6067
6067
  "name": "ManualBackup",
6068
- "required": true,
6068
+ "output_required": true,
6069
6069
  "type": "int",
6070
6070
  "value_allowed_null": false
6071
6071
  },
@@ -6075,7 +6075,7 @@
6075
6075
  "example": "2022-05-10 12:00:00",
6076
6076
  "member": "string",
6077
6077
  "name": "StartTime",
6078
- "required": true,
6078
+ "output_required": true,
6079
6079
  "type": "string",
6080
6080
  "value_allowed_null": false
6081
6081
  },
@@ -6085,7 +6085,17 @@
6085
6085
  "example": "2022-05-10 12:00:00",
6086
6086
  "member": "string",
6087
6087
  "name": "EndTime",
6088
- "required": true,
6088
+ "output_required": true,
6089
+ "type": "string",
6090
+ "value_allowed_null": false
6091
+ },
6092
+ {
6093
+ "disabled": false,
6094
+ "document": "对象的存储类型,枚举值:STANDARD(标准存储)、ARCHIVE(归档存储)。",
6095
+ "example": "STANDARD",
6096
+ "member": "string",
6097
+ "name": "StorageClass",
6098
+ "output_required": true,
6089
6099
  "type": "string",
6090
6100
  "value_allowed_null": false
6091
6101
  }
@@ -1362,7 +1362,7 @@
1362
1362
  "example": "0",
1363
1363
  "member": "int64",
1364
1364
  "name": "Ret",
1365
- "required": true,
1365
+ "output_required": true,
1366
1366
  "type": "int",
1367
1367
  "value_allowed_null": false
1368
1368
  },
@@ -1372,7 +1372,7 @@
1372
1372
  "example": "无",
1373
1373
  "member": "ResourceUsageInfoData",
1374
1374
  "name": "Data",
1375
- "required": true,
1375
+ "output_required": true,
1376
1376
  "type": "list",
1377
1377
  "value_allowed_null": false
1378
1378
  },
@@ -1382,7 +1382,7 @@
1382
1382
  "example": "1",
1383
1383
  "member": "int64",
1384
1384
  "name": "Total",
1385
- "required": true,
1385
+ "output_required": true,
1386
1386
  "type": "int",
1387
1387
  "value_allowed_null": false
1388
1388
  },
@@ -6264,6 +6264,15 @@
6264
6264
  "name": "AlarmLevels",
6265
6265
  "required": false,
6266
6266
  "type": "list"
6267
+ },
6268
+ {
6269
+ "disabled": false,
6270
+ "document": "收敛历史的唯一id",
6271
+ "example": "112344",
6272
+ "member": "string",
6273
+ "name": "ConvergenceHistoryIDs",
6274
+ "required": false,
6275
+ "type": "list"
6267
6276
  }
6268
6277
  ],
6269
6278
  "type": "object"
@@ -7257,7 +7266,7 @@
7257
7266
  "example": "无",
7258
7267
  "member": "MetricSet",
7259
7268
  "name": "MetricSet",
7260
- "required": true,
7269
+ "output_required": true,
7261
7270
  "type": "list",
7262
7271
  "value_allowed_null": false
7263
7272
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "actions": {
3
3
  "AdvertiseOCR": {
4
- "document": "本接口支持广告商品图片内文字的检测和识别,返回文本框位置与文字内容。\n\n产品优势:针对广告商品图片普遍存在较多繁体字、艺术字的特点,进行了识别能力的增强。支持中英文、横排、竖排以及倾斜场景文字识别。文字识别的召回率和准确率能达到96%以上。",
4
+ "document": "本接口支持广告商品图片内文字的检测和识别,返回文本框位置与文字内容。\n\n产品优势:针对广告商品图片普遍存在较多繁体字、艺术字的特点,进行了识别能力的增强。支持中英文、横排、竖排以及倾斜场景文字识别。文字识别的召回率和准确率能达到96%以上。\n\n默认接口请求频率限制:20次/秒。",
5
5
  "input": "AdvertiseOCRRequest",
6
6
  "name": "广告文字识别",
7
7
  "output": "AdvertiseOCRResponse",
@@ -609,7 +609,7 @@
609
609
  {
610
610
  "disabled": false,
611
611
  "document": "图片的 Base64 值。\n要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。\n图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。",
612
- "example": "",
612
+ "example": "",
613
613
  "member": "string",
614
614
  "name": "ImageBase64",
615
615
  "required": false,
@@ -618,7 +618,7 @@
618
618
  {
619
619
  "disabled": false,
620
620
  "document": "图片的 Url 地址。\n要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。\n图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。",
621
- "example": "",
621
+ "example": "https://xx/a.jpg",
622
622
  "member": "string",
623
623
  "name": "ImageUrl",
624
624
  "required": false,
@@ -633,12 +633,23 @@
633
633
  {
634
634
  "disabled": false,
635
635
  "document": "检测到的文本信息,包括文本行内容、置信度、文本行坐标以及文本行旋转纠正后的坐标,具体内容请点击左侧链接。",
636
- "example": "",
636
+ "example": "",
637
637
  "member": "AdvertiseTextDetection",
638
638
  "name": "TextDetections",
639
+ "output_required": true,
639
640
  "type": "list",
640
641
  "value_allowed_null": false
641
642
  },
643
+ {
644
+ "disabled": false,
645
+ "document": "图片分辨率信息,单位 px",
646
+ "example": "无",
647
+ "member": "ImageSize",
648
+ "name": "ImageSize",
649
+ "output_required": true,
650
+ "type": "object",
651
+ "value_allowed_null": false
652
+ },
642
653
  {
643
654
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
644
655
  "member": "string",
@@ -6819,6 +6830,32 @@
6819
6830
  ],
6820
6831
  "type": "object"
6821
6832
  },
6833
+ "ImageSize": {
6834
+ "document": "图片分辨率信息",
6835
+ "members": [
6836
+ {
6837
+ "disabled": false,
6838
+ "document": "图片的宽,单位像素\n注意:此字段可能返回 null,表示取不到有效值。",
6839
+ "example": "100",
6840
+ "member": "int64",
6841
+ "name": "Width",
6842
+ "required": false,
6843
+ "type": "int",
6844
+ "value_allowed_null": true
6845
+ },
6846
+ {
6847
+ "disabled": false,
6848
+ "document": "图片的高,单位像素\n注意:此字段可能返回 null,表示取不到有效值。",
6849
+ "example": "100",
6850
+ "member": "int64",
6851
+ "name": "Height",
6852
+ "required": false,
6853
+ "type": "int",
6854
+ "value_allowed_null": true
6855
+ }
6856
+ ],
6857
+ "usage": "out"
6858
+ },
6822
6859
  "InstitutionOCRRequest": {
6823
6860
  "document": "InstitutionOCR请求参数结构体",
6824
6861
  "members": [
@@ -3,8 +3,8 @@
3
3
  "AdvertiseOCR": [
4
4
  {
5
5
  "document": "",
6
- "input": "https://ocr.tencentcloudapi.com/?Action=AdvertiseOCR\n&ImageUrl=https://xx/a.jpg\n&<公共请求参数>",
7
- "output": "{\n \"Response\": {\n \"TextDetections\": [\n {\n \"DetectedText\": \"Confetteria\",\n \"Confidence\": 99,\n \"Polygon\": [\n {\n \"X\": 450,\n \"Y\": 211\n },\n {\n \"X\": 560,\n \"Y\": 223\n },\n {\n \"X\": 558,\n \"Y\": 244\n },\n {\n \"X\": 448,\n \"Y\": 232\n }\n ],\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":1}}\"\n },\n {\n \"DetectedText\": \"Raffaello\",\n \"Confidence\": 99,\n \"Polygon\": [\n {\n \"X\": 370,\n \"Y\": 233\n },\n {\n \"X\": 649,\n \"Y\": 265\n },\n {\n \"X\": 642,\n \"Y\": 331\n },\n {\n \"X\": 362,\n \"Y\": 299\n }\n ],\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":2}}\"\n },\n {\n \"DetectedText\": \"费列罗臻点坊\",\n \"Confidence\": 99,\n \"Polygon\": [\n {\n \"X\": 402,\n \"Y\": 318\n },\n {\n \"X\": 587,\n \"Y\": 339\n },\n {\n \"X\": 584,\n \"Y\": 370\n },\n {\n \"X\": 398,\n \"Y\": 349\n }\n ],\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":3}}\"\n },\n {\n \"DetectedText\": \"拉斐尔脆雪柔\",\n \"Confidence\": 99,\n \"Polygon\": [\n {\n \"X\": 386,\n \"Y\": 366\n },\n {\n \"X\": 591,\n \"Y\": 390\n },\n {\n \"X\": 587,\n \"Y\": 423\n },\n {\n \"X\": 382,\n \"Y\": 399\n }\n ],\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":3}}\"\n }\n ],\n \"RequestId\": \"03e66873-5209-4d26-abee-c4acd66fab91\"\n }\n}",
6
+ "input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AdvertiseOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg\"\n}",
7
+ "output": "{\n \"Response\": {\n \"TextDetections\": [\n {\n \"DetectedText\": \"abc\",\n \"Confidence\": 0,\n \"Polygon\": [\n {\n \"X\": 0,\n \"Y\": 0\n }\n ],\n \"AdvancedInfo\": \"abc\"\n }\n ],\n \"ImageSize\": {\n \"Width\": 0,\n \"Height\": 0\n },\n \"RequestId\": \"abc\"\n }\n}",
8
8
  "title": "通用印刷体识别示例代码 [ 前往调试工具](https://console.cloud.tencent.com/api/explorer?Product=ocr&Action=AdvertiseOCR)"
9
9
  }
10
10
  ],
@@ -148,9 +148,9 @@
148
148
  "status": "online"
149
149
  },
150
150
  "DeleteOrganizationMembers": {
151
- "document": "批量删除企业组织成员",
151
+ "document": "从组织中移除成员账号,不会删除账号。",
152
152
  "input": "DeleteOrganizationMembersRequest",
153
- "name": "批量删除企业组织成员",
153
+ "name": "批量移除企业组织成员",
154
154
  "output": "DeleteOrganizationMembersResponse",
155
155
  "status": "online"
156
156
  },
@@ -169,7 +169,7 @@
169
169
  "status": "online"
170
170
  },
171
171
  "InvokeFunction": {
172
- "document": " SCF同步调用函数接口",
172
+ "document": "SCF同步调用函数接口。",
173
173
  "input": "InvokeFunctionRequest",
174
174
  "name": "同步Invoke调用接口",
175
175
  "output": "InvokeFunctionResponse",
@@ -3775,7 +3775,7 @@
3775
3775
  "example": "无",
3776
3776
  "member": "Result",
3777
3777
  "name": "Result",
3778
- "required": true,
3778
+ "output_required": true,
3779
3779
  "type": "object",
3780
3780
  "value_allowed_null": false
3781
3781
  },
@@ -3866,7 +3866,6 @@
3866
3866
  "example": "无",
3867
3867
  "member": "Result",
3868
3868
  "name": "Result",
3869
- "required": true,
3870
3869
  "type": "object",
3871
3870
  "value_allowed_null": false
3872
3871
  },
@@ -5776,7 +5775,7 @@
5776
5775
  "example": "\"\"",
5777
5776
  "member": "string",
5778
5777
  "name": "Log",
5779
- "required": true,
5778
+ "output_required": true,
5780
5779
  "type": "string",
5781
5780
  "value_allowed_null": false
5782
5781
  },
@@ -5786,7 +5785,7 @@
5786
5785
  "example": "\"hello from scf\"",
5787
5786
  "member": "string",
5788
5787
  "name": "RetMsg",
5789
- "required": true,
5788
+ "output_required": true,
5790
5789
  "type": "string",
5791
5790
  "value_allowed_null": false
5792
5791
  },
@@ -5796,7 +5795,7 @@
5796
5795
  "example": "\" \"",
5797
5796
  "member": "string",
5798
5797
  "name": "ErrMsg",
5799
- "required": true,
5798
+ "output_required": true,
5800
5799
  "type": "string",
5801
5800
  "value_allowed_null": false
5802
5801
  },
@@ -5806,7 +5805,7 @@
5806
5805
  "example": "32",
5807
5806
  "member": "int64",
5808
5807
  "name": "MemUsage",
5809
- "required": true,
5808
+ "output_required": true,
5810
5809
  "type": "int",
5811
5810
  "value_allowed_null": false
5812
5811
  },
@@ -5816,7 +5815,7 @@
5816
5815
  "example": "100",
5817
5816
  "member": "float",
5818
5817
  "name": "Duration",
5819
- "required": true,
5818
+ "output_required": true,
5820
5819
  "type": "float",
5821
5820
  "value_allowed_null": false
5822
5821
  },
@@ -5826,7 +5825,7 @@
5826
5825
  "example": "100",
5827
5826
  "member": "int64",
5828
5827
  "name": "BillDuration",
5829
- "required": true,
5828
+ "output_required": true,
5830
5829
  "type": "int",
5831
5830
  "value_allowed_null": false
5832
5831
  },
@@ -5836,7 +5835,7 @@
5836
5835
  "example": "c2af8a64-c922-4d55-aee0-bd86a5c2cd12",
5837
5836
  "member": "string",
5838
5837
  "name": "FunctionRequestId",
5839
- "required": true,
5838
+ "output_required": true,
5840
5839
  "type": "string",
5841
5840
  "value_allowed_null": false
5842
5841
  },
@@ -5846,7 +5845,7 @@
5846
5845
  "example": "200",
5847
5846
  "member": "int64",
5848
5847
  "name": "InvokeResult",
5849
- "required": true,
5848
+ "output_required": true,
5850
5849
  "type": "int",
5851
5850
  "value_allowed_null": false
5852
5851
  }
@@ -186,7 +186,7 @@
186
186
  ],
187
187
  "Invoke": [
188
188
  {
189
- "document": "",
189
+ "document": "运行函数",
190
190
  "input": "https://scf.tencentcloudapi.com/?Action=Invoke\n&FunctionName=xxxx\n&<公共请求参数>",
191
191
  "output": "{\n \"Response\": {\n \"Result\": {\n \"MemUsage\": 3207168,\n \"Log\": \"\",\n \"RetMsg\": \"hello from scf\",\n \"BillDuration\": 100,\n \"FunctionRequestId\": \"6add56fa-58f1-11e8-89a9-5254005d5fdb\",\n \"Duration\": 0.826,\n \"ErrMsg\": \"\",\n \"InvokeResult\": 0\n },\n \"RequestId\": \"c2af8a64-c922-4d55-aee0-bd86a5c2cd12\"\n }\n}",
192
192
  "title": "运行函数"